aes70
Version:
A controller library for the AES70 protocol.
24 lines (22 loc) • 765 B
JavaScript
/*
* This file has been generated.
*/
export class OcaObservationEventData {
/**
* Notification data supplied by event **OcaNumericObserver.Observation**.
* Note: due to an error in AES70-2015, this class was not made a subclass of
* **OcaEventData**. Therefore, this class explicitly defines the **Event**
* property explicitly, rather than inheriting it from **OcaEventData,** as
* other event data classes do. However, the effect is the same as for all
* event data classes: the first property in the data structure is an
* **OcaEvent** value.
* @class OcaObservationEventData
*/
constructor(Reading) {
/**
* The observed value that the event is reporting.
* @type number
*/
this.Reading = Reading;
}
}