{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "type":"AC",
		"vendor":"BLACKSHIELDS",
		"model":"AC-P",
		"compatible":"5.312.0000",
		"version":"1.0.0-alpha",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAgMTs50VE"
    },
    "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",	40]}
    ],
    "read_reg":[
        {"tag":"IndoorTemp",		"name":"柜内当前温度(℃)",		"property":"realdata",		"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x010B",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"IndoorHum",	        "name":"柜内当前湿度(%)",		"property":"realdata",		"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x010C",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"SensorFault",		"name":"传感器故障",			"property":"alarm",			"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x010D",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"HighLowVolAlarm",	"name":"高低电压告警",			"property":"alarm",			"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x010E",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"HighLowTempAlarm",	"name":"高低温告警",			"property":"alarm",			"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x010F",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"HighLowPreAlarm",	"name":"高低压告警",			"property":"alarm",			"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x0110",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"CompressorAlarm",	"name":"压缩机告警",			"property":"alarm",			"history":"both",	"type":"float",	"offset":0,	"scale":0.1,		"prot":[3,	"0x0111",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"UnitState",			"name":"机组状态",				"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0116",	"int",	"AB",	0,	1,	0], "desc":"0:关机;1:送风;2:制冷;3:加热;4:除湿"},        
        {"tag":"Voltage",		    "name":"电压值(V)",				"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0117",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"SoftwareName",		"name":"软件名",				"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0118",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"SoftwareVersion",	"name":"软件版本",				"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0119",	"int",	"AB",	0,	1,	0], "desc":"1:A;2:B"},        
        {"tag":"DoorAlarm",			"name":"门禁告警",				"property":"alarm",			"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x011A",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"HeaterAlarm",		"name":"加热器告警",			"property":"alarm",			"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x011B",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"RefState",			"name":"制冷状态",				"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x011C",	"int",	"AB",	0,	1,	0], "desc":"0:关闭;1:开启"},        
        {"tag":"HeatState",			"name":"制热状态",				"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x011D",	"int",	"AB",	0,	1,	0], "desc":"0:关闭;1:开启"},        
        {"tag":"InFanState",		"name":"内风机状态",			"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x011E",	"int",	"AB",	0,	1,	0], "desc":"0:关闭;1:开启"},        
        {"tag":"OutFanState",		"name":"外风机状态",			"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x011F",	"int",	"AB",	0,	1,	0], "desc":"0:关闭;1:开启"},        
        {"tag":"IntFanSpeed",		"name":"内风机转速",			"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0120",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"OutFanSpeed",		"name":"外风机转速",			"property":"realdata",		"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0121",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"IntFanAlarm",		"name":"内风机告警",			"property":"alarm",			"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0122",	"int",	"AB",	0,	1,	0], "desc":""},        
        {"tag":"OutFanAlarm",		"name":"外风机告警",			"property":"alarm",			"history":"both",	"type":"int",	"offset":0,	"scale":1,			"prot":[3,	"0x0123",	"int",	"AB",	0,	1,	0], "desc":""}
    ],
    "write_reg":[	
        {"tag":"RefrigerationPoint","name":"制冷设定点(℃)",			"property":"realdata", 	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0100",	"int",  "AB"], "desc":""},
        {"tag":"RefrigerationBand",	"name":"制冷偏差(℃)",			"property":"realdata", 	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0101",	"int",  "AB"], "desc":""},
        {"tag":"HighTempAlarmValue","name":"高温告警值(℃)",			"property":"realdata", 	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0102",	"int",  "AB"], "desc":""},
        {"tag":"LowTempAlarmValue",	"name":"低温告警值(℃)",			"property":"realdata", 	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0103",	"int",  "AB"], "desc":""},
        {"tag":"HeatingPoint",		"name":"加热设定点(℃)",			"property":"realdata", 	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0104",	"int",  "AB"], "desc":""},
        {"tag":"HeatingBand",		"name":"加热偏差(℃)",			"property":"realdata", 	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0105",	"int",  "AB"], "desc":""},
        {"tag":"OnOff",				"name":"开关机",				"property":"realdata", 	"history":"change",		"type":"int",   	"offset":0,	"scale":1,			"no_fetch":0,	"prot":[3,	"0x0106",	"int",  "AB"], "desc":"0:关机;1:开机"},
        {"tag":"StartRefCommand",	"name":"启动制冷指令",			"property":"realdata", 	"history":"change",		"type":"int",   	"offset":0,	"scale":1,			"no_fetch":0,	"prot":[3,	"0x0107",	"int",  "AB"], "desc":"0:关闭;1:开启"},
        {"tag":"StartBlowCommand",	"name":"启动送风指令",			"property":"realdata", 	"history":"change",		"type":"int",   	"offset":0,	"scale":1,			"no_fetch":0,	"prot":[3,	"0x0108",	"int",  "AB"], "desc":"0:关闭;1:开启"},
        {"tag":"StartStandCommand",	"name":"启动待机指令",			"property":"realdata", 	"history":"change",		"type":"int",   	"offset":0,	"scale":1,			"no_fetch":0,	"prot":[3,	"0x0109",	"int",  "AB"], "desc":"0:关闭;1:开启"},
        {"tag":"StartHeatCommand",	"name":"启动加热指令",			"property":"realdata", 	"history":"change",		"type":"int",   	"offset":0,	"scale":1,			"no_fetch":0,	"prot":[3,	"0x010A",	"int",  "AB"], "desc":"0:关闭;1:开启"},
        {"tag":"DehStartTemp",		"name":"除湿开启温度(℃)",		"property":"realdata",	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0112",	"int",	"AB"], "desc":""},        
        {"tag":"DehStopTemp",		"name":"除湿停止温度(℃)",		"property":"realdata",	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0113",	"int",	"AB"], "desc":""},        
        {"tag":"DehStartHum",		"name":"除湿开启湿度(℃)",		"property":"realdata",	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0114",	"int",	"AB"], "desc":""},        
        {"tag":"DehStopHum",		"name":"除湿停止湿度(℃)",		"property":"realdata",	"history":"change",		"type":"float",		"offset":0,	"scale":0.1,		"no_fetch":0,	"prot":[3,	"0x0115",	"int",	"AB"], "desc":""}
 ]
}
