StatusAndChanged
- class c104.StatusAndChanged
This class represents all specific packed status point information with change detection
- __init__(self: c104.StatusAndChanged, status: c104.PackedSingle, changed: c104.PackedSingle, quality: c104.Quality = c104.Quality(), recorded_at: Optional[datetime.datetime] = None) None
create a new event info raised by protection equipment
- Parameters:
status (c104.PackedSingle) – Set of current single values
changed (c104.PackedSingle) – Set of changed single values
quality (c104.Quality) – Quality information
recorded_at (Optional[datetime.datetime]) – Timestamp contained in the protocol message, or None if the protocol message type does not contain a timestamp.
Example
>>> status_and_changed = c104.StatusAndChanged(status=c104.PackedSingle.I0|c104.PackedSingle.I5, changed=c104.PackedSingle(15), quality=c104.Quality.Invalid, recorded_at=datetime.datetime.utcnow())
- property changed
the changed information (read-only)
- Type:
- property processed_at
timestamp with milliseconds of last local information processing (read-only)
- Type:
- property quality
the quality (read-only). The setter is available via point.quality=xyz
- Type:
- property recorded_at
timestamp with milliseconds transported with the value itself or None (read-only)
- property status
the current status (read-only)
- Type:
- property value
maps to property
status(read-only). The setter is available via point.value=xyz- Type: