{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "model":"U3EC",
        "compatible":"5.312.0000",
        "vendor":"ENCICOOL",
        "action":"action1",
        "version":"0.0.0-alpha",
        "type":"AC",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAgwlWzGPi"
    },
    "adapter":[
        {
            "function": "set_onoff",
            "value_maps": [
                {"map_in": 0,"tagname": "OnOff","map_out": 0},
                {"map_in": 1,"tagname": "OnOff","map_out": 1}
            ]
        }
    ],
    "poll_list":[
        {"scan_rate":2000,"prot":[3,      "0x0100",    6 ]},
        {"scan_rate":2000,"prot":[3,      "0x0500",    9 ]},
        {"scan_rate":2000,"prot":[3,      "0x0700",    11]},
        {"scan_rate":2000,"prot":[3,      "0x0801",    1 ]}
    ],
    "read_reg":[
        {"tag":"UnitSta",           "name":"整机状态",		"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0100", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;2:为选配;"},
        {"tag":"IntFanSta",         "name":"内风机状态",	"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0101", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;2:为选配;"},
        {"tag":"OutFanSta",         "name":"外风机状态",	"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0102", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;2:为选配;"},
        {"tag":"CompressorSta",     "name":"压缩机状态",	"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0103", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;2:为选配;"},
        {"tag":"HeaterSta",         "name":"电加热状态",	"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0104", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;2:为选配;"},
        {"tag":"CphaseVoltage",     "name":"应急风机状态",	"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0105", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;2:为选配;"},
        {"tag":"EvaporatorTemp",    "name":"盘管温度(℃)",	"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.1,   "prot":[3, "0x0500", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"OutdoorTemp",       "name":"室外温度(℃)",	"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.1,   "prot":[3, "0x0501", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"CondenserTemp",     "name":"冷凝温度(℃)",	"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.1,   "prot":[3, "0x0502", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"IndoorTemp",        "name":"室内温度(℃)",	"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.1,   "prot":[3, "0x0503", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"Humidity",          "name":"湿度(%)",		"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0504", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"DischargeTemp",     "name":"排气温度(℃)",	"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.1,   "prot":[3, "0x0505", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"AcCurrent",         "name":"电流(A)",		"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.001, "prot":[3, "0x0506", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"AcVoltage",         "name":"交流电压(V)",	"property":"realdata","history":"period", "type":"int",   "offset":0, "scale":1,     "prot":[3, "0x0507", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"DcVoltage",         "name":"直流电压(V)",	"property":"realdata","history":"period", "type":"float", "offset":0, "scale":0.1,   "prot":[3, "0x0508", "uint", "AB",   0, 1, 0], "desc":""}
    ],
    "write_reg":[
        {"tag":"RefrigerationPoint", "name":"制冷点(℃)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0700", "uint",  "AB"]},
        {"tag":"RefrigerationBand",  "name":"制冷回差(℃)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0701", "uint",  "AB"]},
        {"tag":"HeatingPoint",       "name":"加热点(℃)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0702", "int",   "AB"]},
        {"tag":"HeatingBand",        "name":"加回差(℃)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0703", "uint",  "AB"]},
        {"tag":"DehumanizePoint",    "name":"除湿点(%)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0704", "uint",  "AB"]},
        {"tag":"DehumanizeBand",     "name":"除湿回差(%)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0705", "uint",  "AB"]},
        {"tag":"HighTempPoint",      "name":"高温点(℃)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0706", "uint",  "AB"]},
        {"tag":"LowTempPoint",       "name":"低温点(℃)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0707", "int",   "AB"]},
        {"tag":"HighGumidityPoint",  "name":"高湿点(%)",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0708", "uint",  "AB"]},
        {"tag":"IntFanStopPoint",    "name":"内风机停止点",	"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x070a", "int",   "AB"]},
        {"tag":"OnOff",              "name":"开关机",		"desc":"","property":"realdata","history":"period", "type":"int", "offset":0 , "scale":1, "no_fetch":0, "prot":[3, "0x0801", "uint",  "AB"]}
    ]
}
