AMX RMS Información técnica Pagina 40

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 220
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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, '**************************************';
}
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 219 220

Comentarios a estos manuales

Sin comentarios