ProtectionStartInfo
- class c104.ProtectionStartInfo
This class represents all specific protection equipment packed start events point information
- __init__(self: c104.ProtectionStartInfo, events: c104.StartEvents, relay_duration_ms: c104.UInt16, quality: c104.Quality = c104.Quality(), recorded_at: Optional[datetime.datetime] = None) None
create a new packed event start info raised by protection equipment
- Parameters:
events (c104.StartEvents) – Set of start events
relay_duration_ms (c104.UInt16) – Time in milliseconds of relay duration
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
>>> start_events = c104.ProtectionStartInfo(events=c104.StartEvents.ON, relay_duration_ms=c104.UInt16(35000), quality=c104.Quality.Invalid, recorded_at=datetime.datetime.utcnow())
- property events
the started events (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 value
maps to property
events(read-only). The setter is available via point.value=xyz- Type: