old mode 100644
new mode 100755
| | |
| | | /// <summary> |
| | | /// 多功能面板中被绑定的目标 |
| | | /// </summary> |
| | | [Newtonsoft.Json.JsonIgnore] |
| | | public System.Collections.Generic.Dictionary<string, List<BindListAllInfo>> bindTargetsFromMutilfunctionPanelList = new System.Collections.Generic.Dictionary<string, List<BindListAllInfo>>(); |
| | | /// <summary> |
| | | /// 按键模式(私有功能) |
| | |
| | | |
| | | try |
| | | { |
| | | var passData = CorrectTemperatureData(correctValue, direction, type); |
| | | var passData = CorrectTemperatureData(correctValue,direction, type); |
| | | var jObject = new JObject { { "DeviceAddr", DeviceAddr }, { "Epoint", 200 }, { "Cluster_ID", 64513 }, { "Command", 0 } }; |
| | | var data = new JObject { { "PassData", passData } }; |
| | | jObject.Add("Data", data); |
| | |
| | | /// </summary> |
| | | /// <param name="correctValue">校正温度值</param> |
| | | /// <returns></returns> |
| | | string CorrectTemperatureData(double correctValue, int direction = 0, int type = 0) |
| | | string CorrectTemperatureData(double correctValue,int direction=0, int type = 0) |
| | | { |
| | | string data = ""; |
| | | string dataLength = "09"; |
| | |
| | | /// </summary> |
| | | public ErrorResponData errorResponData; |
| | | /// <summary> |
| | | ///按键开状态(指示)亮度(这个是点击后的值) |
| | | ///按键开状态(指示)亮度(这个是点击后的值,或者 1-6干接点的背光灯) |
| | | /// </summary> |
| | | public int panelDirectionsLevel = -1; |
| | | |
| | | /// <summary> |
| | | /// 按键关状态(背光)亮度(这个是点击前的值) |
| | | /// 按键关状态(背光)亮度(这个是点击前的值,或者 第七干接点的背光灯) |
| | | /// </summary> |
| | | public int panelBacklightLevel = -1; |
| | | } |
| | |
| | | /// 传感器使能 |
| | | ///false-disable true-enable |
| | | /// </summary> |
| | | public bool enable; |
| | | public bool enable= false; |
| | | |
| | | /// <summary> |
| | | ///传感器距离 |