AMX RMS Informations techniques Page 40

  • 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 39
The RMS Enterprise SDK (v4)
22
RMS Enterprise - NetLinx Programmer’s Guide
RmsSystemEventHandler.axi - Functions (Cont.)
RmsEventSystemModeChangeRequest Description: RMS system mode change request notification.
• This callback method is invoked by the 'RmsEventListener.axi' Include File to
notify this program when the system operating mode has requested to be
changed.
• This method should not be invoked/called by any user implementation code.
Arguments:
• modeName - mode name for the requested system operating mode
Syntax:
DEFINE_FUNCTION RmsEventSystemModeChangeRequest(CHAR newMode[])
{
//
// (RMS SYSTEM MODE CHANGE REQUEST NOTIFICATION)
//
// upon receiving the system mode change request
// event notification from the RMS client
//
SEND_STRING 0, '************************************************';
SEND_STRING 0,"' SYSTEM MODE CHANGE REQUESTED [',newMode,']'";
SEND_STRING 0, '************************************************';
// call your own local function to perform the system mode change
ChangeMySystemMode(newMode);
}
RmsEventSystemModeChanged Description: RMS system mode change notification.
• This callback method is invoked by the 'RmsEventListener.axi' Include File to
notify this program when the system operating mode has changed.
• This method should not be invoked/called by any user implementation code.
Arguments:
• modeName - mode name for the newly applied system operating mode
Syntax:
DEFINE_FUNCTION RmsEventSystemModeChanged(CHAR modeName[])
{
//
// (RMS SYSTEM MODE CHANGE NOTIFICATION)
//
// upon receiving the system mode change event
// notification from the RMS client
//
SEND_STRING 0, '**************************************';
SEND_STRING 0,"' SYSTEM MODE CHANGE [',modeName,']'";
SEND_STRING 0, '**************************************';
}
Vue de la page 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 219 220

Commentaires sur ces manuels

Pas de commentaire