ITcHmiSrvExtHost.notify_listener Method

Sends a notification if an Alarm type changed.

Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

ErrorValue notify_listener(
    Context ctx,
    AlarmChangeType type,
    Alarm alm
)

Parameters

ctx

Type: TcHmiSrv.Context
The Context under which the Alarm changed.

type

Type: TcHmiSrv.AlarmChangeType
Contains the type of the change.

alm

Type: TcHmiSrv.Alarm
The Alarm that has changed.

Return Value

Type: ErrorValue
HMI_SUCCESS if sending the notification succeeded; otherwise, any ErrorValue that best describes which error has occurred.

Reference

ITcHmiSrvExtHost Interface

TcHmiSrv Namespace