Class DeviceFormatters.Hex
A whole number in uppercase hexadecimal: 255 is FF.
public sealed class DeviceFormatters.Hex : IDeviceFieldFormatter<int>
- Inheritance
-
DeviceFormatters.Hex
- Implements
- Inherited Members
- Extension Methods
Methods
Format(int)
Writes the value as the device sends it.
public string Format(int value)
Parameters
valueint
Returns
Parse(string)
Reads the device's text; throws FormatException when it is not a value.
public int Parse(string text)
Parameters
textstring