Technical information

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, '**************************************';
}