AMX RMS Informacje Techniczne Strona 90

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 220
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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);
}
Przeglądanie stron 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 219 220

Komentarze do niniejszej Instrukcji

Brak uwag