parseServerEvent

[ Function ]

public static parseServerEvent(
    rawEvent: TcHmi.Server.Events.RawServerEvent
): TcHmi.Server.Events.Message | TcHmi.Server.Events.Alarm| TcHmi.Server.Events.PayloadEvent;

Parses a raw server event and returns an object for use by control elements, etc.

Parameter

Name

Type

Description

rawEvent

TcHmi.Server.Events.RawServerEvent

The event that is to be parsed.

Return value

Type

Description

TcHmi.Server.Events.Message | TcHmi.Server.Events.Alarm | TcHmi.Server.Events.PayloadEvent

No return value

parseServerEvent 1:

Available from version 1.12