| | |
| | | TextColor = CSS_Color.PromptingColor2, |
| | | SelectedTextColor = CSS_Color.MainColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = DateTime.Now.Month.ToString() + Language.StringByID(StringId.month), |
| | | Text = Language.StringByID(StringId.month),//DateTime.Now.Month.ToString() + |
| | | }; |
| | | showDataTypeView.AddChidren(btnShowHistroyData_Month); |
| | | #endregion |
| | |
| | | |
| | | bool initTitleButton = true; |
| | | |
| | | |
| | | int index = 1; |
| | | foreach (var tempSensor in sensorList) |
| | | { |
| | | if (tempSensor.sid == function.sid) |
| | |
| | | Y = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(12), |
| | | Height = Application.GetRealWidth(12), |
| | | BackgroundColor = tipColorList[0], |
| | | BackgroundColor = tipColorList[index++], |
| | | Radius = (uint)Application.GetRealWidth(2), |
| | | BorderWidth = 0, |
| | | BorderColor = 0x00000000, |
| | |
| | | |
| | | var sensorType = sr.spk.Split(".")[1]; |
| | | var queryType = sr.GetAttrState("spk").ToString(); |
| | | if(queryType == "0") |
| | | { |
| | | queryType = "value"; |
| | | } |
| | | |
| | | var revertObj = new HttpServerRequest().GetSensorHistory(curQueryType, sr.deviceId, queryType); |
| | | if (revertObj != null) |