Xentara v2.0.4
User Manual
|
Registers are skill data points that store a settable value. The register is initialized with a default value, and can be modified by writing to its “value” attribute.
Registers can be used if a value that is written by some external source, like the Xentara Web Service, needs to be accessed later by other components. The value can then be stored in a register, and read back as needed.
Registers have the following members:
key | The register’s primary key. |
name | The register’s name. The name is the last component of the primary key. |
UUID | The unique UUID of the register. |
type | The register’s element type. For registers, this is always “register”. |
category | The register’s category. For registers, this is always “data point”. |
value | The current value of the register. This attribute can be written to to change the stored value. |
updateTime | The last time a value was written to the register. This attribute is always the same as the writeTime attribute. |
writeTime | The last time a value was written to the register. This attribute is always the same as the updateTime attribute. |
quality | The quality of the register value. The quality of a register is always “good” and never changes. |
changeTime | The last time the value changed. Contrary to the writeTime and updateTime attribute, this time stamp is not updated if the same value is written multiple times. |
written | This event is raised whenever the value is written, whether it changed or not. |
changed | This event would normally be raised when either the value or the quality changes. Since the quality of a register is always “good”, and never changes, this event is equivalent to the value event. |