old mode 100644
new mode 100755
File was renamed from ZigbeeApp20200828/Shared/Phone/ZigBee/Device/Panel.cs |
| | |
| | | /// <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"; |