Class GetModbusProtocolResponse


  • public class GetModbusProtocolResponse
    extends JsonrpcResponseSuccess
    Wraps a JSON-RPC Response to "getModbusProtocol" Request.

     {
       "jsonrpc": "2.0",
       "id": "UUID",
       "result": {
         "table": [{
           "ref": number // start address of the Modbus Record
           "name": string,
           "value": string, // value description
           "unit": string,
           "type" string
         }]
       }
     }
     
    • Constructor Detail

      • GetModbusProtocolResponse

        public GetModbusProtocolResponse​(java.util.UUID id,
                                         java.util.TreeMap<java.lang.Integer,​ModbusRecord> records)