DoubleInfo
- class c104.DoubleInfo
This class represents all specific double point information
- __init__(self: c104.DoubleInfo, state: c104.Double, quality: c104.Quality = c104.Quality(), recorded_at: Optional[datetime.datetime] = None) None
create a new double info
- Parameters:
state (c104.Double) – Double point status value
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
>>> double_info = c104.DoubleInfo(state=c104.Double.ON, quality=c104.Quality.Invalid, recorded_at=datetime.datetime.utcnow())
- 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 state
the value (read-only)
- Type:
- property value
maps to property
state(read-only). The setter is available via point.value=xyz- Type: