{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "model":"SL1830",
        "compatible":"5.312.0000",
        "vendor":"威曼",
        "action":"action1",
        "version":"1.0.0",
        "type":"TMS",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAgfG257T1"
    },
    "adapter":[
        {
            "function": "set_heat",
            "tagname": "UnitHeatPoint"
        },
        {
            "function": "set_cool",
            "tagname": "UnitCoolPoint"
        },
        {
            "function": "set_mode",
            "value_maps":[
                {"map_in": 0,"tagname": "ForceControlMode","map_out": 4},
                {"map_in": 1,"tagname": "OnOff","map_out": 1},
                {"map_in": 1,"tagname": "ForceControlMode","map_out": 1},
                {"map_in": 2,"tagname": "OnOff","map_out": 1},
                {"map_in": 2,"tagname": "ForceControlMode","map_out": 2},
                {"map_in": 3,"tagname": "OnOff","map_out": 1},
                {"map_in": 3,"tagname": "ForceControlMode","map_out": 3}
            ]
        }
    ],    
    "poll_list":[
		{"scan_rate":2000,"prot":[3,      "38",		11]},
		{"scan_rate":2000,"prot":[3,      "100",	2]},
        {"scan_rate":2000,"prot":[3,      "149",    1]},
		{"scan_rate":2000,"prot":[3,      "207",    2]},
		{"scan_rate":2000,"prot":[3,      "5176",	4]},
		{"scan_rate":2000,"prot":[3,      "8702",	9]},
		{"scan_rate":2000,"prot":[3,      "8727",	4]},
		{"scan_rate":2000,"prot":[3,      "8738",	1]},
		{"scan_rate":2000,"prot":[3,      "10033",	1]},
		{"scan_rate":2000,"prot":[3,      "20000",	11]}		
    ],
    "read_reg":[
        {"tag":"UnitSta",				"name":"整机状态",				"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"5176",	"uint",	"AB",	0,	0,	0], "desc":"0:停机;1:运行;2:停机中;3:故障停机"},
        {"tag":"Pump",					"name":"水泵状态",				"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"5179",	"uint",	"AB",	0,	0,	0], "desc":"0:待机;1:制冷;2:加热;3:除雪;4:强制制冷;5:强制制热;6:强制循环;7:强制待机;8:压差不平衡;9:自然冷模式"},
        {"tag":"CurTempControl",		"name":"当前温度控制",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"8727",	"uint",	"AB",	0,	0,	0], "desc":"0:供水;1:回水"},
        {"tag":"RefDemand",				"name":"制冷需求",				"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"prot":[3,	"8730",	"uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"CirWatPumpWorkSta",		"name":"循环水泵工作状态",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"20000","uint",	"AB",	0,	0,	0], "desc":"0:停止;1:运行"},
        {"tag":"CirWatPumpTarSpeed",	"name":"循环水泵目标转速(rpm)",	"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"20010","uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"CirPumpFeeSpeed",		"name":"循环泵反馈转速(rpm)",	"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"10033","uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"HeaterSta",				"name":"电加热状态",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"20003","uint",	"AB",	0,	0,	0], "desc":"0:停止;1:运行"},
        {"tag":"WaterPumpRunStatus",	"name":"补水泵运行状态",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"20006","uint",	"AB",	0,	0,	0], "desc":"0:停止;1:运行"},
        {"tag":"NatCoolSolValRunStatus","name":"自然冷电磁阀工作状态",	"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"20007","uint",	"AB",	0,	0,	0], "desc":"0:停止;1:运行"},
        {"tag":"CompressorSta",			"name":"压缩机状态",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"8738",	"uint",	"AB",	0,	0,	0], "desc":"0:停止;1:手动;2:压差升频;3:回油;4:高压降频;5:低吸气降频;6:高吸气升频;7:电流降频;8:强制制冷;9:正常控制;10:启动过程;11:电流限频;12:高压限频;13:压差限频;14:防凝露降频;15:关机过程;16:高排温限频;17:高排温降频;18:低吸气限升频;19:高吸气限降频"},
        {"tag":"BackWaterPre",			"name":"回水压力(Pa)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.01,	"prot":[3,	"8702",	"uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"WaterSupPre",			"name":"供水压力(Pa)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.01,	"prot":[3,	"8703",	"uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"InflowTemp",			"name":"入水温度(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"prot":[3,	"8704",	"uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"EffluentTemp",			"name":"出水温度(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"prot":[3,	"8705",	"uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"OutdoorTemp",			"name":"环境温度(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"prot":[3,	"8709",	"uint",	"AB",	0,	0,	0], "desc":""},
        {"tag":"OutdoorHum",			"name":"环境湿度(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"prot":[3,	"8710",	"uint",	"AB",	0,	0,	0], "desc":""}
 ],
    "write_reg":[
        {"tag":"UpperCoolLimit",		"name":"制冷上限(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"38",	"uint",	"AB"], "desc":""},
        {"tag":"DownCoolLimit",			"name":"制冷下限(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"39",	"uint",	"AB"], "desc":""},
        {"tag":"UpperHotLimit",			"name":"制热上限(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"40",	"uint",	"AB"], "desc":""},
        {"tag":"DownHotLimit",			"name":"制热下限(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"41",	"uint",	"AB"], "desc":""},
        {"tag":"TempDeadZone",			"name":"温度死区(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"42",	"uint",	"AB"], "desc":""},
        {"tag":"PIDAdjustP",			"name":"PID调节P",				"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"100",	"uint",	"AB"], "desc":""},
        {"tag":"PIDAdjustI",			"name":"PID调节I",				"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"101",	"uint",	"AB"], "desc":""},
        {"tag":"RehWaterPre",			"name":"补液水压(Bar)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.01,	"no_fetch":0,	"prot":[3,	"207",	"uint",	"AB"], "desc":""},
        {"tag":"StopWaterPre",			"name":"停液水压(Bar)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.01,	"no_fetch":0,	"prot":[3,	"208",	"uint",	"AB"], "desc":""},
        {"tag":"LowPreRange",			"name":"低压压力量程(Bar)",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"45",	"uint",	"AB"], "desc":""},
        {"tag":"HighPreRange",			"name":"高压压力量程(Bar)",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"46",	"uint",	"AB"], "desc":""},
        {"tag":"WaterPreRange",			"name":"水压压力量程(Bar)",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.01,	"no_fetch":0,	"prot":[3,	"47",	"uint",	"AB"], "desc":""},
        {"tag":"HeatWaterTempConEn",	"name":"制热水温控制使能",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"149",	"uint",	"AB"], "desc":"0:禁用;1:启用"},
        {"tag":"HeatBeltStaEnvTemp",	"name":"加热带启动环温(℃)",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"44",	"int",	"AB"], "desc":""},
        {"tag":"HeatBeltCloEnvTemp",	"name":"加热带关闭环温(℃)",		"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"48",	"int",	"AB"], "desc":""},
        {"tag":"ForceControlMode",		"name":"强制控制模式",		    "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.01,	"no_fetch":0,	"prot":[3,	"600",	"uint",	"AB"], "desc":"0:自动模式;1:强制制冷;2:强制制热;3:强制循环;4:强制待机"},
        {"tag":"OnOff",	                "name":"开关机控制",		    "property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":1,		"no_fetch":0,	"prot":[3,	"0",	"uint",	"AB"], "desc":"0:关机;1:开机"},
        {"tag":"UnitCoolPoint ",		"name":"机组制冷点(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"5200",	"uint",	"AB"], "desc":""},
        {"tag":"UnitHeatPoint",			"name":"机组制热点(℃)",			"property":"realdata",	"history":"change",	"type":"int",	"offset":0,	"scale":0.1,	"no_fetch":0,	"prot":[3,	"10",	"uint",	"AB"], "desc":""}
    ]
}
