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 |
type |
Type: TcHmiSrv.Core.AlarmChangeType |
alarm |
Type: TcHmiSrv.Core.Alarm |
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.