ITcHmiSrvExtAsyncHost.NotifyListenerAsync Method

Sends a notification if an Alarm has changed as an asynchronous operation.

Namespace:  TcHmiSrv.Core
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

Task<ErrorValue> NotifyListenerAsync(
    Context context,
    AlarmChangeType type,
    Alarm alarm
)

Parameters

context

Type: TcHmiSrv.Core.Context
The Context under which the alarm has changed.

type

Type: TcHmiSrv.Core.AlarmChangeType
The AlarmChangeType.

alarm

Type: TcHmiSrv.Core.Alarm
The Alarm that has changed.

Return Value

Type: Task.ErrorValue.
A Task.TResult. that represents the asynchronous operation. The Result of the Task.TResult. returns HMI_SUCCESS if sending the notification succeeded; otherwise, any ErrorValue that best describes which error has occurred.

Reference

ITcHmiSrvExtAsyncHost Interface

TcHmiSrv.Core Namespace