Template class that defines the event data parameter for events that return property values, such as the PropertyChanged event defined in OcaRoot, and the PeriodicObservation event define in OcaNumericObserver. The template parameter is the datatype of the changed property.
The property ID of the property that has changed.
DataType
PropertyValue
New value of property. Type of property value parameter is defined by template parameter DataType. In the case of list and map properties with datatypes such as OcaList, OcaList2D, OcaMap, and OcaMultiMap, the entire list or map shall be returned when any of its elements changes.
Type of change : Current value, Min, Max, Item changed, Item added, Item deleted
OCP.1 Encoding
Field | Basic type | Byte Length |
Event.EmitterONo.ONo | OcaUint32 | 4 |
Event.EventID.DefLevel | OcaUint16 | 2 |
Event.EventID.EventIndex | OcaUint16 | 2 |
PropertyID.DefLevel | OcaUint16 | 2 |
PropertyID.PropertyIndex | OcaUint16 | 2 |
PropertyValue | DataType | variable |
ChangeType | OcaEnumItem | 1 |