| | |
| | | if (revertObj.Code == StateCode.SUCCESS) |
| | | { |
| | | var revertData = Newtonsoft.Json.JsonConvert.DeserializeObject<List<EnvironmentalSensorHistor>>(revertObj.Data.ToString()); |
| | | if (revertData == null || revertData.Count == 0 || true) { |
| | | #if DEBUG |
| | | if (revertData == null || revertData.Count == 0) { |
| | | List<string> vs = new List<string>() { |
| | | "1","2","3","4", |
| | | "5","6","7","8", |
| | |
| | | } |
| | | device.SetAttrState("ydata", brokenLine.InitYdataText2(device.name, revertData, "#5C62FE", curQueryType == "year_month") + ", "); |
| | | |
| | | #endif |
| | | } |
| | | else |
| | | #endif |
| | | { |
| | | List<string> vs = new List<string>(); |
| | | if (brokenLine.YvalueText == "") |