getEventInformation method
Future<List<BacnetEventSummary> >
getEventInformation(
- int deviceId, {
- Duration? timeout,
- bool background = false,
- BacnetCancelToken? cancelToken,
override
Returns the objects of deviceId that are in an event state other
than normal or have unacknowledged transitions (GetEventInformation,
repeated while the device reports more).
Implementation
@override
Future<List<BacnetEventSummary>> getEventInformation(
int deviceId, {
Duration? timeout,
bool background = false,
BacnetCancelToken? cancelToken,
}) {
requests.add(FakeBacnetRequest('getEventInformation', deviceId: deviceId));
return _request(
BacnetConfirmedService.getEventInformation,
deviceId,
cancelToken,
(device) => List.unmodifiable(
device.objects.map((o) => o._eventSummary).nonNulls,
),
);
}