Variable unitConvertersConst

unitConverters: UnitConverters = ...

Represents an instance of a unit converters. Each unit type has dedicated formatter and parser functions:

  • Formatter: Converts the original value to the desired unit, used for display purposes.
  • Parser: Converts the value back to the original unit, used for transmitting values to devices in their original unit (e.g., position increments).

Options allow selection of the desired unit. Some formatter functions may require additional data, such as motor rated current, for accurate conversion.

Generated using TypeDoc