API 9.4 Enums 9.4.1 TcEventClass This enum describes the event class. The event class can be set on issuing an alarm and can be used by the clients to distinguish different alarm classes. For e.g. the formatter displays for the different alarm class different icons. enum TcEventClass { TCEVENTCLASS_NONE =0, TCEVENTCLASS_MAINTENANCE =1, TCEVENTCLASS_MESSAGE =2, TCEVENTCLASS_HINT =3, TCEVENTCLASS_STATEINFO =4, TCEVENTCLASS_INSTRUCTION =5, TCEVENTCLASS_WARNING =6, TCEVENTCLASS_ALARM =7, TCEVENTCLASS_PARAMERROR =8, TCEVENTCLASS_MAX }; Table 25: Parameters 9.4.2 TcEventConCodes This enum describes the event confirmation codes.
The confirm code is used to describe how the the event is confirmed enum TcEventConCodes { TCEVENTCON_OK =0, TCEVENTCON_ABORT =1, TCEVENTCON_IGNORE =2, TCEVENTCON_RETRY =3 }; Table 26: Parameters TcEventLogger 179 Version:
1.1 Item Description TCEVENTCLASS NONE _ No special event class TCEVENTCLASS MAINTENANCE _ The event is classified as an MAINTENANCE alarm TCEVENTCLASS MESSAGE _ The event is classified as a message TCEVENTCLASS HINT _ The event is classified as a hint TCEVENTCLASS STATEINFO _ The event is classified as a state information TCEVENTCLASS INSTRUCTION _ The event is classified as an instruction TCEVENTCLASS WARNING _ The event is classified a warning TCEVENTCLASS PARAMERROR _ The event is classified a parameter error TCEVENTCLASS MAX _ The event class max is not used as classifier it just describes the max value of the enum Item Description TCEVENTCON OK _ The confirmation was ok TCEVENTCON ABORT _ The confirmation was aborted TCEVENTCON IGNORE _ The confirmation was ignored TCEVENTCON RETRY _ The confirmation was retried