old mode 100644
new mode 100755
| | |
| | | var middle = new VerticalScrolViewLayout |
| | | { |
| | | Y = view.topRowLayout.Bottom, |
| | | Height = Application.GetRealHeight(1920 - 184-180), |
| | | Height = Application.GetRealHeight(Method.H - 184-180), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | }; |
| | | this.AddChidren(middle); |
| | |
| | | s = "≤"; |
| | | } |
| | | break; |
| | | } |
| | | }
|
| | | ///转换温度值/100
|
| | | string srtValue = (int.Parse(conditions["AttriButeData1"]) / 100).ToString(); |
| | | if (conditions["Cluster_ID"] == "1026") |
| | | { |
| | | icon = "ZigeeLogic/temperature.png"; |
| | | state = s + conditions["AttriButeData1"] + "℃"; |
| | | state = s + srtValue + "℃"; |
| | | } |
| | | else |
| | | { |
| | | icon = "ZigeeLogic/humidity.png"; |
| | | state = s + conditions["AttriButeData1"] + "%"; |
| | | state = s + srtValue + "%"; |
| | | } |
| | | break; |
| | | |