{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "model":"307D",
        "vendor":"GEKONG",
        "compatible":"5.312.0000",
        "version":"0.0.0-alpha",
        "type":"OTHERS"
    },
    "poll_list":[
        {"scan_rate":1000,  "prot":[3,      "0x0032",  8]},
        {"scan_rate":1000,   "prot":[2,     "0x0000",  8]}
    ],
    "read_reg":[
        {"tag":"AI1", "name":"通道1", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x32", "uint", "AB", 0, 1, 0]},
        {"tag":"AI2", "name":"通道2", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x33", "uint", "AB", 0, 1, 0]},
        {"tag":"AI3", "name":"通道3", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x34", "uint", "AB", 0, 1, 0]},
        {"tag":"AI4", "name":"通道4", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x35", "uint", "AB", 0, 1, 0]},
        {"tag":"AI5", "name":"通道5", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x36", "uint", "AB", 0, 1, 0]},
        {"tag":"AI6", "name":"通道6", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x37", "uint", "AB", 0, 1, 0]},
        {"tag":"AI7", "name":"通道7", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x38", "uint", "AB", 0, 1, 1]},
        {"tag":"AI8", "name":"通道8", "desc":"", "property":"realdata",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[3, "0x39", "uint", "AB", 0, 1, 1]}, 

        {"tag":"DI1", "name":"水浸",      "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x00", "bool", "A", 0, 1, 0]},
        {"tag":"DI2", "name":"烟感",      "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x01", "bool", "A", 0, 1, 0]},
        {"tag":"DI3", "name":"灭火装置",  "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x02", "bool", "A", 0, 1, 0]},
        {"tag":"DI4", "name":"浪涌SPD",   "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x03", "bool", "A", 0, 1, 0]},
        {"tag":"DI5", "name":"门禁",      "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x04", "bool", "A", 0, 1, 0]},
        {"tag":"DI6", "name":"可燃气体",  "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x05", "bool", "A", 0, 1, 0]},
        {"tag":"DI7", "name":"急停开关",  "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x06", "bool", "A", 0, 1, 1]},
        {"tag":"DI8", "name":"DI8",  "desc":"", "property":"alarm",  "history":"both",  "type":"int",   "offset":0,   "scale":1,  "prot":[2, "0x07", "bool", "A", 0, 1, 1]}
    ],
    "write_reg":[
        {"tag":"DO1", "name":"消防分阀1"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,  "prot":[1, "0x00", "bool",  "A"]},
        {"tag":"DO2", "name":"消防分阀2"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,  "prot":[1, "0x01", "bool",  "A"]},
        {"tag":"DO3", "name":"消防分阀3"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,  "prot":[1, "0x02", "bool",  "A"]},
        {"tag":"DO4", "name":"消防分阀4"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,       "prot":[1, "0x03", "bool",  "A"]},
        {"tag":"DO5", "name":"消防分阀5"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,       "prot":[1, "0x04", "bool",  "A"]},
        {"tag":"DO6", "name":"消防分阀6"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,       "prot":[1, "0x05", "bool",  "A"]},
        {"tag":"DO7", "name":"消防分阀7"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,       "prot":[1, "0x06", "bool",  "A"]},
        {"tag":"DO8", "name":"消防分阀8"    ,  "desc":"", "property":"realdata", "history":"both",  "type":"int", "offset":0,  "scale":1, "no_fetch":0,  "prot":[1, "0x07", "bool",  "A"]}
    ]
}

