NormalizedCmd

class c104.NormalizedCmd

This class represents all specific normalized set point command information

__init__(self: c104.NormalizedCmd, target: c104.NormalizedFloat, qualifier: c104.UInt7 = c104.UInt7(0), recorded_at: Optional[datetime.datetime] = None) None

create a new normalized set point command

Parameters:
  • target (c104.NormalizedFloat) – Target set-point value [-1.f, 1.f]

  • qualifier (c104.UInt7) – Qualifier of set-point command

  • recorded_at (Optional[datetime.datetime]) – Timestamp contained in the protocol message, or None if the protocol message type does not contain a timestamp.

Example

>>> normalized_cmd = c104.NormalizedCmd(target=c104.NormalizedFloat(23.45), qualifier=c104.UInt7(123), recorded_at=datetime.datetime.utcnow())
property processed_at

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

Type:

datetime.datetime

property qualifier

the command qualifier information (read-only)

Type:

c104.UInt7

property quality

This information does not contain quality information.

Type:

None

property recorded_at

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

Type:

Optional[int]

property target

the value (read-only)

Type:

c104.NormalizedFloat

property value

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

Type:

c104.NormalizedFloat