acknowledgeEvent method
Future<void>
acknowledgeEvent(
- EventNotificationEvent notification, {
- required String source,
- DateTime? time,
- Duration? timeout,
override
Acknowledges the transition notification reported.
client.eventNotifications
.where((alarm) => alarm.ackRequired)
.listen((alarm) => client.acknowledgeEvent(alarm, source: 'operator'));
Implementation
@override
Future<void> acknowledgeEvent(
EventNotificationEvent notification, {
required String source,
DateTime? time,
Duration? timeout,
}) => acknowledgeAlarm(
notification.deviceId,
notification.object,
notification.toState,
notification.timeStamp,
source: source,
processId: notification.processId,
time: time,
);