HoldingHandler constructor

HoldingHandler(
  1. String code,
  2. String units
)

Constructor for the handler with a specified code and unit.

Implementation

HoldingHandler(String code, String units)
    : _code = code,
      _units = units,
      _value = UcumDecimal.one();