AMX RMS Informations techniques Page 118

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 220
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 117
Programming - Asset Management
100
RMS Enterprise - NetLinx Programmer’s Guide
Asset Control Methods Registration Functions (Cont.)
RmsAssetControlMethod
ArgumentEnum
Description: This function is used to add an asset control method argument to an asset control method registration that is
currently in queue and has not yet been submitted to the RMS server.
The asset control method argument being added is of type: ENUMERATION. Enumeration is
provided as a pipe '|' separated list of strings.
Arguments: see method signature below
Returns: 1 if call was successful; 0 if call was unsuccessful
Syntax:
DEFINE_FUNCTION CHAR RmsAssetControlMethodArgumentEnum(CHAR assetClientKey[],
CHAR methodKey[],
INTEGER argumentOrdinal,
CHAR argumentName[],
CHAR argumentDescription[],
CHAR argumentDefaultValue[],
CHAR argumentEnumerationValues[])
{
STACK_VAR CHAR rmsCommand[RMS_MAX_CMD_LEN];
INTEGER index;
// ensure an asset client key has been provided
IF(assetClientKey == '')
{
SEND_STRING 0, '>>>> RMS API ERROR <RmsAssetControlMethodArgumentEnum> :: missing asset client
key';
RETURN FALSE;
}
// ensure a control method key has been provided
IF(methodKey == '')
{
SEND_STRING 0, '>>>> RMS API ERROR <RmsAssetControlMethodArgumentEnum> :: missing control method
key';
RETURN FALSE;
}
// ensure a control method argument has been provided
IF(
argumentName == '')
{
SEND_STRING 0, '>>>> RMS API ERROR <RmsAssetControlMethodArgumentEnum> :: missing control method
argument name';
RETURN FALSE;
}
// submit the asset registration now
rmsCommand = RmsPackCmdHeader('ASSET.METHOD.ARGUMENT.ENUM');
rmsCommand = RmsPackCmdParam(rmsCommand,assetClientKey);
rmsCommand = RmsPackCmdParam(rmsCommand,methodKey);
rmsCommand = RmsPackCmdParam(rmsCommand,ITOA(argumentOrdinal));
rmsCommand = RmsPackCmdParam(rmsCommand,argumentName);
rmsCommand = RmsPackCmdParam(rmsCommand,argumentDescription);
rmsCommand = RmsPackCmdParam(rmsCommand,argumentDefaultValue);
rmsCommand = RmsPackCmdParam(rmsCommand,argumentEnumerationValues);
SEND_COMMAND vdvRMS, rmsCommand;
RETURN TRUE;
}
Vue de la page 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 219 220

Commentaires sur ces manuels

Pas de commentaire

Quantum Karty sieciowe podręczniki użytkownika

Lista Quantum Karty sieciowe produkty zawierają 1 instrukcje obsługi do modeli 1. Wszystkie podręczniki użytkownika w formacie pdf są dostępne do pobrania lub obejrzenia online.

Kliknij na poniższy alfabet, aby przejść do pełnej listy modeli zaczynających się od tej litery

Modele Rodzaj dokumentu
SuperLoader 3
Przewodnik Szybki Start   Quantum superloader 3 Quick Start Guide, 18 strony