{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "type":"TMS",
        "vendor":"秣蓝",
        "model":"0126",
        "version":"1.0.0",
        "compatible":"5.312.0000",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAgm2J9jD0"
    },
    "adapter":[
        {
            "function": "set_heat",
            "tagname": "RefHeatTemp"
        },
        {
            "function": "set_cool",
            "tagname": "RefCoolTemp"
        },
        {
            "function": "set_mode",
            "value_maps":[
                {"map_in": 0,"tagname": "WorkMode","map_out": 0},
                {"map_in": 1,"tagname": "OnOff","map_out": 1},
                {"map_in": 1,"tagname": "WorkMode","map_out": 2},
                {"map_in": 2,"tagname": "OnOff","map_out": 1},
                {"map_in": 2,"tagname": "WorkMode","map_out": 3},
                {"map_in": 3,"tagname": "OnOff","map_out": 1},
                {"map_in": 3,"tagname": "WorkMode","map_out": 1}
            ]
        }
    ],    
    "poll_list":[
		{"scan_rate":3000,"prot":[3,"0xE700",63]},
		{"scan_rate":3000,"prot":[3,"0x0400",4]},
        {"scan_rate":3000,"prot":[3,"0xE600",20]},
        {"scan_rate":3000,"prot":[3,"0x0404",1]}				
    ],
    "read_reg":[
        {"tag":"Read_1",    "name":"出水温度(℃)",   "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE700",	"int",	"AB",	0,	1,	0], "desc":"32767:故障;"},
        {"tag":"Read_2",    "name":"回水温度(℃)",   "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE701",	"int",	"AB",	0,	1,	0], "desc":"32767:故障;"},
        {"tag":"Read_3",    "name":"环境温度(℃)",   "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE703",	"int",	"AB",	0,	1,	0], "desc":"32767:故障;"},
        {"tag":"Read_4",    "name":"进水压力(Bar)", "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.01,		"prot":[3,	"0xE704",	"int",	"AB",	0,	1,	0], "desc":"32767:故障;"},
        {"tag":"Read_5",    "name":"出水压力(Bar)", "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.01,		"prot":[3,	"0xE705",	"int",	"AB",	0,	1,	0], "desc":"32767:故障;"},
        {"tag":"Read_6",    "name":"系统高压",      "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.01,		"prot":[3,	"0xE706",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_7",    "name":"系统低压",      "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.01,		"prot":[3,	"0xE707",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Alarm_1",   "name":"BMS通讯故障",       "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE708",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_2",   "name":"K1高压接触器故障",  "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE709",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_3",   "name":"K2接触器故障",      "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70B",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_4",   "name":"ACDC_A_过欠压故障", "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70C",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_5",   "name":"缺液故障",          "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70D",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_6",   "name":"环境温度传感器故障", "property":"alarm","history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70E",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_7",   "name":"风机故障",          "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70F",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_8",   "name":"高压传感器故障",    "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE710",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_9",   "name":"高压过高",          "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE711",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_10",  "name":"低压传感器故障",    "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE712",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_11",  "name":"PTC过温故障",       "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE713",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_12",  "name":"低压过低",          "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE714",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_13",  "name":"当前告警最高等级",  "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE715",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_14",  "name":"压缩机转速",        "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE716",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_15",  "name":"AC通讯故障",        "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE717",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_16",  "name":"AC控制器故障",      "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE718",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Alarm_17",  "name":"水泵故障",          "property":"alarm",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE719",	"uint",	"AB",	0,	1,	0], "desc":"0:正常;1:告警;255:告警未使能;"},
        {"tag":"Read_8",    "name":"水泵当前转速",      "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE71A",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_9",    "name":"水泵状态",          "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71B",	"uint",	"AB",	0,	1,	0], "desc":"0:关闭;1:开启;"},
        {"tag":"Read_10",   "name":"压缩机状态",         "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71D",	"uint",	"AB",	0,	1,	0], "desc":"0:关闭;1:开启;"},
        {"tag":"Read_11",   "name":"当前系统模式",      "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE730",	"uint",	"AB",	0,	1,	0], "desc":"0:停止;1:内循环;2:制冷;3:加热;"},
        {"tag":"Read_12",   "name":"故障码",            "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE732",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_13",   "name":"风机PWM(%)",        "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE733",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_14",   "name":"压缩机电压(V)",      "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE734",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_15",   "name":"压缩机电流(A)",      "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE735",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_16",   "name":"柜内温度(℃)",       "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE737",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_17",   "name":"柜内湿度(%)",       "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE738",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_18",   "name":"露点温度(℃)",       "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE739",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_19",   "name":"手动/自动除湿状态", "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE73A",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_20",   "name":"压缩机当前转速",    "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0xE73B",	"uint",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_21",   "name":"供电总电压(V)",     "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE73C",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_22",   "name":"供电总电流(A)",     "property":"realdata",	"history":"period",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE73D",	"int",	"AB",	0,	1,	0], "desc":""},
        {"tag":"Read_23",   "name":"故障类别区分",      "property":"realdata",	"history":"period",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE73E",	"uint",	"AB",	0,	1,	0], "desc":""}
    ],
    "write_reg":[
        {"tag":"OnOff",             "name":"开关机",        "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,	    "no_fetch":0,	"prot":[3,	"0x0400",	"uint",	"AB"], "desc":"0:关机;1:开机;"},
        {"tag":"WorkMode",          "name":"模式设置",      "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,	    "no_fetch":0,	"prot":[3,	"0x0401",	"uint",	"AB"], "desc":"0:停止;1:内循环;2:制冷;3:加热;"},
        {"tag":"TempCtrl",          "name":"控制温度选择",  "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,	    "no_fetch":0,	"prot":[3,	"0x0402",	"uint",	"AB"], "desc":"0:电芯温度;1:出水温度;2:回水温度;"},
        {"tag":"DehumMode",         "name":"手动/自动除湿", "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,	    "no_fetch":0,	"prot":[3,	"0x0403",	"uint",	"AB"], "desc":"0:自动;1:手动;"},
        {"tag":"RefCoolTemp",       "name":"水温制冷点(℃)","property":"realdata",	"history":"change",	"type":"float",	"offset":0,	"scale":0.1,    "no_fetch":0,	"prot":[3,	"0xE600",	"int",	"AB"], "desc":""},
        {"tag":"RefHeatTemp",       "name":"水温加热点(℃)","property":"realdata",	"history":"change",	"type":"float",	"offset":0,	"scale":0.1,    "no_fetch":0,	"prot":[3,	"0xE601",	"int",	"AB"], "desc":""},
        {"tag":"RefCoolTempBand",   "name":"制冷回差(℃)",  "property":"realdata",	"history":"change",	"type":"float",	"offset":0,	"scale":0.1,    "no_fetch":0,	"prot":[3,	"0xE602",	"int",	"AB"], "desc":""},
        {"tag":"RefHeatTempBand",   "name":"加热回差(℃)",  "property":"realdata",	"history":"change",	"type":"float",	"offset":0,	"scale":0.1,    "no_fetch":0,	"prot":[3,	"0xE603",	"int",	"AB"], "desc":""},
        {"tag":"MaxRackTempSet",    "name":"电池最高温(℃)","property":"realdata",	"history":"change",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE613",	"int",	"AB"], "desc":""},
        {"tag":"MinRackTempSet",    "name":"电池最低温(℃)","property":"realdata",	"history":"change",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE613",	"int",	"AB"], "desc":""},
        {"tag":"WaterMode",         "name":"注液模式",      "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,	    "no_fetch":0,	"prot":[3,	"0x0404",	"int",	"AB"], "desc":"0:非注液模式;1:注液模式;"}
    ]
}
