encode method

Implementation

String encode(MetricModbusNumberDataTypeEnum data) => data.value;