AMX RMS Información técnica Pagina 90

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 220
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 89
Programming - Asset Management
72
RMS Enterprise - NetLinx Programmer’s Guide
Asset Parameter Set Value Functions via Update Queue (Cont.)
RmsAssetParameter
EnqueueSetValueLevel
Description: This function is used to set a new asset parameter value to the RMS server. The update is not sent
immediately, but rather placed in an update queue waiting for a submission call.
This function will set an asset parameter of data type: LEVEL
Arguments:
CHAR assetClientKey[] - asset client key
CHAR parameterKey[] - monitored parameter key
SLONG parameterValue - monitored parameter value
Returns: 1 if call was successful; 0 if call was unsuccessful
Syntax:
DEFINE_FUNCTION CHAR RmsAssetParameterEnqueueSetValueLevel(CHAR assetClientKey[],
CHAR parameterKey[],
SLONG parameterValue)
{
// enqueue the asset parameter update
RETURN RmsAssetParameterEnqueueSetValue(assetClientKey,
parameterKey,
ITOA(parameterValue));
}
RmsAssetParameter
EnqueueSetValue
Description: This function is used to set a new asset parameter value to the RMS server. The update is not sent
immediately, but rather placed in an update queue waiting for a submission call.
This function will set an asset parameter of data type: STRING
Arguments:
CHAR assetClientKey[] - asset client key
CHAR parameterKey[] - monitored parameter key
CHAR parameterValue[] - monitored parameter value
Returns: 1 if call was successful; 0 if call was unsuccessful
Syntax:
DEFINE_FUNCTION CHAR RmsAssetParameterEnqueueSetValue(CHAR assetClientKey[],
CHAR parameterKey[],
CHAR parameterValue[])
{
// enqueue the asset parameter update
RETURN RmsAssetParameterEnqueueUpdateValue(assetClientKey,
parameterKey,
RMS_ASSET_PARAM_UPDATE_OPERATION_SET,
parameterValue);
}
Vista de pagina 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 219 220

Comentarios a estos manuales

Sin comentarios