{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "model":"ECA-32HR-01CSZ-1227",
        "compatible":"5.312.0000",
        "vendor":"同飞",
        "version":"1.0.0",
        "type":"AC",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAghkObhv8"
    },
    "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",    10]},
        {"scan_rate":2000,"prot":[3,      "0x0801",    2]},
        {"scan_rate":2000,"prot":[3,      "0x070F",    2]},
        {"scan_rate":2000,"prot":[3,      "0x0600",    15]},
        {"scan_rate":2000,"prot":[3,      "0x0509",    2]},
        {"scan_rate":2000,"prot":[3,      "0x0700",    9]}
    ],
    "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:运行;"},
        {"tag":"IntFanSta",         "name":"室内风机状态",		"property":"realdata",	"history":"period", 	"type":"int",   	"offset":0, 	"scale":1,  	"prot":[3, "0x0101", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;"},
        {"tag":"OutFanSta",         "name":"室外风机状态",		"property":"realdata",	"history":"period", 	"type":"int",   	"offset":0, 	"scale":1,  	"prot":[3, "0x0102", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;"},
        {"tag":"CompressorSta",     "name":"压缩机状态",		"property":"realdata",	"history":"period", 	"type":"int",   	"offset":0, 	"scale":1,  	"prot":[3, "0x0103", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;"},
        {"tag":"HeaterSta",         "name":"电加热状态",		"property":"realdata",	"history":"period", 	"type":"int",   	"offset":0, 	"scale":1,  	"prot":[3, "0x0104", "uint", "AB",   0, 1, 0], "desc":"0:停止;1:运行;"},
        {"tag":"MeltTemp",          "name":"容霜温度(℃)",		"property":"realdata",	"history":"period", 	"type":"float", 	"offset":0, 	"scale":0.1,	"prot":[3, "0x0500", "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":"IndoorHum",     	"name":"柜内湿度(℃)",		"property":"realdata",	"history":"period", 	"type":"int",   	"offset":0, 	"scale":1,		"prot":[3, "0x0504", "uint", "AB",   0, 1, 0], "desc":""},
        {"tag":"Read_1",     		"name":"出风温度(℃)",		"property":"realdata",	"history":"period", 	"type":"float", 	"offset":0, 	"scale":0.1,	"prot":[3, "0x0505", "uint", "AB",   0, 1, 0], "desc":""},
						
        {"tag":"Alarm_1",           "name":"柜内温度过高",		"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0600", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_2",           "name":"柜内温度过低",		"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0601", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_3",           "name":"湿度过高",			"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0602", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_4",           "name":"湿度过低",			"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0603", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_5",           "name":"盘管防冻",			"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0604", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_6",           "name":"融霜探头故障",		"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0606", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_7",           "name":"冷凝温度探头故障",	"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0608", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_8",           "name":"柜内温度探头故障",	"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0609", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_9",           "name":"出风温度探头故障",	"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x060A", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_10",          "name":"湿度探头故障",		"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x060B", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_11",          "name":"内风机故障",		"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x060C", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_12",          "name":"压缩机故障",		"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x060E", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_13",          "name":"高压告警",			"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0611", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"},
        {"tag":"Alarm_14",          "name":"低压告警",			"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x0612", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"}, 
        {"tag":"Alarm_15",          "name":"相序报警",			"property":"realdata",		"history":"period", 	"type":"int", 		"offset":0, 	"scale":1, 		"prot":[3, "0x061E", "uint",  "AB",  0, 1, 0], "desc":"0:正常;1:报警;"}
		
    ],
    "write_reg":[
		{"tag":"Write_1", 			"name":"上位机温度(℃)",		"property":"realdata",	"history":"change", 	"type":"float", 	"offset":0 , 	"scale":0.1, 	"no_fetch":0, 	"prot":[3, "0x0509", "uint",  "AB"],"desc":""},
		{"tag":"Write_2", 			"name":"上位机湿度(℃)",		"property":"realdata",	"history":"change", 	"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x050A", "uint",  "AB"],"desc":""},

		{"tag":"Write_3", 			"name":"制冷设定温度(℃)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0700", "uint",  "AB"],"desc":""},
        {"tag":"Write_4",  			"name":"制冷控制回差(℃)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0701", "uint",  "AB"],"desc":""},
        {"tag":"Write_5",       	"name":"加热设定温度(℃)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0702", "uint",  "AB"],"desc":""},
        {"tag":"Write_6",        	"name":"加热控制回差(℃)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0703", "uint",  "AB"],"desc":""},
        {"tag":"Write_7",   		"name":"湿度设定值(%)",		"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0704", "uint",  "AB"],"desc":""},
        {"tag":"Write_8",     		"name":"控制湿度回差(%)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0705", "uint",  "AB"],"desc":""},
        {"tag":"HighTempPoint",      "name":"柜内温度过高点(℃)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0706", "uint",  "AB"],"desc":""},
        {"tag":"LowTempPoint",       "name":"柜内温度过低点(℃)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0707", "uint",  "AB"],"desc":""},
        {"tag":"Write_11",  		"name":"柜内湿度过高点(%)",	"property":"realdata",	"history":"change",		"type":"int", 		"offset":0 , 	"scale":1, 		"no_fetch":0, 	"prot":[3, "0x0708", "uint",  "AB"],"desc":""},
		
		{"tag":"Write_14",    		"name":"通讯地址",			"property":"realdata",	"history":"change", 	"type":"int", 		"offset":0, 	"scale":1,  	"no_fetch":0,	"prot":[3, "0x070F", "int",  "AB"], "desc":""},
        {"tag":"Baud",           	"name":"波特率",			"property":"realdata",	"history":"change", 	"type":"int", 		"offset":0, 	"scale":1,  	"no_fetch":0,	"prot":[3, "0x0710", "uint", "AB"], "desc":"0:9600;1:19200;2:115200;"},


        {"tag":"OnOff",				"name":"监控开关机",		"property":"realdata",	"history":"change", 	"type":"int", 		"offset":0, 	"scale":1,  	"no_fetch":0,	"prot":[3, "0x0801", "uint",  "AB"],"desc":"0:关机;1:开机;"},
		{"tag":"Write_13",			"name":"强制模式",			"property":"realdata",	"history":"change", 	"type":"int", 		"offset":0, 	"scale":1,  	"no_fetch":0,	"prot":[3, "0x0323", "uint",  "AB"],"desc":"0:自动;1:强制制冷;2:强制制热;3:强制送风;4:强制待机;"}
	]
}
