{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "type":"TMS",
        "vendor":"英维克",
        "model":"EMW50HFNC1A",
        "version":"0.0.0",
        "compatible":"5.312.0000",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAgmhk1dUt"
    },
    "adapter":[
        {
            "function": "set_heat",
            "tagname": "Write_9"
        },
        {
            "function": "set_cool",
            "tagname": "Write_8"
        },
        {
            "function": "set_mode",
            "value_maps":[
                {"map_in": 0,"tagname": "Write_2","map_out": 0},
                {"map_in": 1,"tagname": "Write_1","map_out": 1},
                {"map_in": 1,"tagname": "Write_2","map_out": 2},
                {"map_in": 2,"tagname": "Write_1","map_out": 1},
                {"map_in": 2,"tagname": "Write_2","map_out": 3},
                {"map_in": 3,"tagname": "Write_1","map_out": 1},
                {"map_in": 3,"tagname": "Write_2","map_out": 1}
            ]
        }
    ],
    "poll_list":[
        {"scan_rate":2000, "prot":[3,	"0x0400",	3]},
        {"scan_rate":2000, "prot":[3,	"0xA30B",	4]},
        {"scan_rate":2000, "prot":[3,	"0xE600",	22]},
        {"scan_rate":2000, "prot":[3,	"0xE700",	50]}
    ],
    "read_reg":[
        {"tag":"Read_1",				"name":"出水温度(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE700",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_2",				"name":"回水温度(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE701",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_3",				"name":"排气温度(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE702",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_4",				"name":"环境温度(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE703",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_5",				"name":"进水压力(Bar)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.01,	"prot":[3,	"0xE704",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_6",				"name":"出水压力(Bar)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.01,	"prot":[3,	"0xE705",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_1",				"name":"出水高温",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE706",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_2",				"name":"出水低温",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE707",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_3",				"name":"出水温感故障",			"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE708",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_4",				"name":"回水温感故障",			"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE709",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_5",				"name":"变频器通讯故障",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70B",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_6",				"name":"系统高压锁定",			"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70C",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_7",				"name":"系统低压锁定",			"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70D",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_8",				"name":"排气温度过高锁定",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70E",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_9",				"name":"变频器过流锁定",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE70F",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_10",				"name":"变频器过温锁定",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE710",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_11",				"name":"变频器过压锁定",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE711",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_12",				"name":"变频器欠压锁定",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE712",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_13",				"name":"变频器欠压锁定",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE713",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Alarm_14",				"name":"变频器其他故障锁定",	"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE714",	"uint",	"AB",	0,	1,	0],"desc":"0:正常;1:锁定"},
        {"tag":"Read_7",				"name":"当前告警最高等级",		"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE715",	"uint",	"AB",	0,	1,	0],"desc":"0:无告警;1:严重告警;2:中等告警;3:一般告警"},
        {"tag":"Alarm_15",				"name":"补水告警",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE717",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_16",				"name":"系统压力过高告警",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE718",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Alarm_17",				"name":"出水压力过高告警",		"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE719",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_8",				"name":"水泵当前转速",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"0xE71A",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_9",				"name":"水泵状态",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71B",	"uint",	"AB",	0,	1,	0],"desc":"0:关闭;1:开启"},
        {"tag":"Read_10",				"name":"心跳",					"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71C",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_11",				"name":"压缩机状态",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71D",	"uint",	"AB",	0,	1,	0],"desc":"0:关闭;1:开启"},
        {"tag":"Read_12",				"name":"软件编码",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71E",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_13",				"name":"软件版本",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE71F",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"Read_14",				"name":"压缩机总运行时间",      "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE720",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_15",				"name":"压缩机开启次数",	    "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE722",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_16",				"name":"电加热总运行时间",      "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE724",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_17",				"name":"电加热开启次数",	    "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE726",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_18",				"name":"水泵总运行时间",	    "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE728",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_19",				"name":"水泵开启次数",	        "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE72A",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_20",				"name":"外风机总运行时间",      "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE72C",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_21",				"name":"外风机开启次数",	    "property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE72E",	"uint",	"CDAB",	0,	1,	0],"desc":""},
        {"tag":"Read_22",				"name":"当前系统模式",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE730",	"uint",	"AB",	0,	1,	0],"desc":"0:停止;1:内循环;2:制冷;3:加热;4:全自动"},
        {"tag":"Read_23",				"name":"当前协议控制模",		"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"0xE731",	"uint",	"AB",	0,	1,	0],"desc":"0:modbus模式;1:can模式"}	
    ],	
    "write_reg":[	
        {"tag":"Write_1",				"name":"系统开关机",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0x0400",	"uint",	"AB"],"desc":"0:关机;1:开机"},
        {"tag":"Write_2",				"name":"模式设置",					"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0x0401",	"uint",	"AB"],"desc":"0:停止;1:内循环;2:制冷;3:加热;4:全自动"},
        {"tag":"Write_3",				"name":"控制温度选择",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0x0402",	"uint",	"AB"],"desc":"0:电芯平均温度;1:出水温度;2:回水温度;3:电芯权重温度"},
        {"tag":"Write_4",				"name":"电芯最大温度",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xA30B",	"uint",	"AB"],"desc":""},
        {"tag":"Write_5",				"name":"电芯最小温度",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xA30C",	"uint",	"AB"],"desc":""},
        {"tag":"Write_6",				"name":"电芯平均温度",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xA30D",	"uint",	"AB"],"desc":""},
        {"tag":"Write_7",				"name":"电池运行状态",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xA30E",	"uint",	"AB"],"desc":"0:未运行;1:运行"},
        {"tag":"Write_8",				"name":"水温制冷点(℃)",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE600",	"uint",	"AB"],"desc":""},
        {"tag":"Write_9",				"name":"水温加热点(℃)",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE601",	"uint",	"AB"],"desc":""},
        {"tag":"Write_10",				"name":"制冷回差(℃)",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE602",	"uint",	"AB"],"desc":""},
        {"tag":"Write_11",				"name":"加热回差(℃)",				"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE603",	"uint",	"AB"],"desc":""},
        {"tag":"Write_12",				"name":"水泵档位选择",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE604",	"uint",	"AB"],"desc":"0:默认档;1:一档;2:二档;3:三档"},
        {"tag":"Write_13",				"name":"ID",						"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE605",	"uint",	"AB"],"desc":""},
        {"tag":"Write_14",				"name":"波特率",					"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE606",	"uint",	"AB"],"desc":"2:4800;3:9600;4:19200;5:38400;6:57600"},
        {"tag":"Write_15",				"name":"压缩机档位选择",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE608",	"uint",	"AB"],"desc":"0:默认档;1:一档;2:二档;3:三档"},
        {"tag":"Write_16",				"name":"协议控制模式选",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE60A",	"uint",	"AB"],"desc":"0:modbus模式;1:can模式"},
        {"tag":"Write_17",				"name":"电芯运行温度制冷点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE60C",	"uint",	"AB"],"desc":""},
        {"tag":"Write_18",				"name":"电芯温度制冷停止点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE60D",	"uint",	"AB"],"desc":""},
        {"tag":"Write_19",				"name":"电芯运行温度制热点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE60E",	"uint",	"AB"],"desc":""},
        {"tag":"Write_20",				"name":"电芯温度制热停止点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE60F",	"uint",	"AB"],"desc":""},
        {"tag":"Write_21",				"name":"电池静置温度制冷点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE610",	"uint",	"AB"],"desc":""},
        {"tag":"Write_22",				"name":"电芯温度自循环启动差(℃)",	"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE611",	"uint",	"AB"],"desc":""},
        {"tag":"Write_23",				"name":"电芯温度自循环停止差(℃)",	"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE612",	"uint",	"AB"],"desc":""},
        {"tag":"Write_24",				"name":"电芯允许最低温(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE613",	"uint",	"AB"],"desc":""},
        {"tag":"Write_25",				"name":"电芯允许最高温(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"0xE614",	"uint",	"AB"],"desc":""},
        {"tag":"Write_26",				"name":"静音模式使能开",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE615",	"uint",	"AB"],"desc":"0:关闭;1:开启"},
        {"tag":"Write_27",				"name":"静音模式外风机转速上限(%)",	"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0xE616",	"uint",	"AB"],"desc":""}

    ]
}
