StepInfo

class c104.StepInfo

This class represents all specific step point information

__init__(self: c104.StepInfo, position: c104.Int7, transient: bool, quality: c104.Quality = c104.Quality(), recorded_at: Optional[datetime.datetime] = None) None

create a new step info

Parameters:
  • position (c104.Int7) – Current transformer step position value

  • transient (bool) – Indicator, if transformer is currently in step change procedure

  • 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

>>> step_info = c104.StepInfo(position=c104.Int7(2), transient=False, quality=c104.Quality.Invalid, recorded_at=datetime.datetime.utcnow())
property position

the value (read-only)

Type:

c104.Int7

property processed_at

timestamp with milliseconds of last local information processing (read-only)

Type:

datetime.datetime

property quality

the quality (read-only). The setter is available via point.quality=xyz

Type:

c104.Quality

property recorded_at

timestamp with milliseconds transported with the value itself or None (read-only)

Type:

Optional[int]

property transient

if the position is transient (read-only)

Type:

bool

property value

maps to property position (read-only). The setter is available via point.value=xyz

Type:

c104.Int7