Skip to main content

GET

  • Getter: public

Code

Implementation

// just a simple mapping because both enums are strict
CASE THIS^.myAlarm.eConfirmationState OF
Global.TcEventConfirmationState.NotSupported:
state := CNM_MessageInterfaces.MessageConfirmationState.NotSupported;
Global.TcEventConfirmationState.NotRequired:
state := CNM_MessageInterfaces.MessageConfirmationState.NotRequired;
Global.TcEventConfirmationState.WaitForConfirmation:
state := CNM_MessageInterfaces.MessageConfirmationState.WaitForConfirmation;
Global.TcEventConfirmationState.Confirmed:
state := CNM_MessageInterfaces.MessageConfirmationState.Confirmed;
Global.TcEventConfirmationState.Reset:
state := CNM_MessageInterfaces.MessageConfirmationState.Reset;
END_CASE