AMX RMS Informações Técnicas Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 220
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 86
Programming - Asset Management
69
RMS Enterprise - NetLinx Programmer’s Guide
Asset Parameter Set Value Functions (Cont.)
RmsAssetParameter
SetValueNumber
Description: This function is used to set a new asset parameter value to the RMS server immediately.
This function will set an asset parameter of data type: NUMBER
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 RmsAssetParameterSetValueNumber(CHAR assetClientKey[],
CHAR parameterKey[],
SLONG parameterValue)
{
RETURN RmsAssetParameterSetValue(assetClientKey,
parameterKey,
ITOA(parameterValue));
}
RmsAssetParameter
SetValueDecimal
Description: This function is used to set a new asset parameter value to the RMS server immediately.
This function will set an asset parameter of data type: DECIMAL
Arguments:
CHAR assetClientKey[] - asset client key
CHAR parameterKey[] - monitored parameter key
DOUBLE parameterValue - monitored parameter value
Returns: 1 if call was successful; 0 if call was unsuccessful
Syntax:
DEFINE_FUNCTION CHAR RmsAssetParameterSetValueDecimal(CHAR assetClientKey[],
CHAR parameterKey[],
DOUBLE parameterValue)
{
RETURN RmsAssetParameterSetValue(assetClientKey,
parameterKey,
FTOA(parameterValue));
}
RmsAssetParameter
SetValueLevel
Description: This function is used to set a new asset parameter value to the RMS server immediately.
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 RmsAssetParameterSetValueLevel (CHAR assetClientKey[],
CHAR parameterKey[],
SLONG parameterValue)
{
RETURN RmsAssetParameterSetValue(assetClientKey,
parameterKey,
ITOA(parameterValue));
}
Vista de página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 219 220

Comentários a estes Manuais

Sem comentários