Class WriteRequestJsonUtilities

java.lang.Object
org.openhab.core.io.transport.modbus.json.WriteRequestJsonUtilities

@NonNullByDefault public final class WriteRequestJsonUtilities extends Object
Utilities for converting JSON to ModbusWriteRequestBlueprint
Author:
Sami Salonen - Initial contribution
  • Field Details

    • JSON_FUNCTION_CODE

      public static final String JSON_FUNCTION_CODE
      Constant for the function code key in the JSON
      See Also:
    • JSON_ADDRESS

      public static final String JSON_ADDRESS
      Constant for the write address key in the JSON
      See Also:
    • JSON_VALUE

      public static final String JSON_VALUE
      Constant for the value key in the JSON
      See Also:
    • JSON_MAX_TRIES

      public static final String JSON_MAX_TRIES
      Constant for the maxTries key in the JSON
      See Also:
    • DEFAULT_MAX_TRIES

      public static final int DEFAULT_MAX_TRIES
      Default maxTries when it has not been specified
      See Also:
  • Method Details