| | |
| | | { |
| | | new System.Threading.Thread(() => |
| | | { |
| | | |
| | | foreach (var tempSensor in sensorList) |
| | | { |
| | | if (index >= 6) |
| | | { |
| | | break; |
| | | } |
| | | |
| | | if (tempSensor.sid == function.sid) |
| | | { |
| | | continue; |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = function.name, |
| | | Text = tempSensor.name, |
| | | IsBold = true, |
| | | }; |
| | | otherInfoView.AddChidren(btnSensorName); |
| | |
| | | }); |
| | | System.Threading.Thread.Sleep(50); |
| | | } |
| | | Application.RunOnMainThread(() => { |
| | | if (index > 1) |
| | | { |
| | | contentView.ScrollEnabled = true; |
| | | } |
| | | }); |
| | | }).Start(); |
| | | } |
| | | catch(Exception ex) |
| | |
| | | LoadMothed_GetSensorHistoryData(); |
| | | LoadEvent_ChangeSensorHistoryShowType(); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | ebl.InitXdataText(vs); |
| | | } |
| | | yDataString += ebl.InitYdataText(sr.name, revertData, tipColorStringList[i]); |
| | | yDataString += ebl.InitYdataText("", revertData, tipColorStringList[i]); |
| | | } |
| | | } |
| | | i++; |
| | |
| | | |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | ebl.xTitle = ""; |
| | | ebl.yTitle = ""; |
| | | myEchartsView.ShowWithOption(ebl.InitOption()); |
| | | }); |
| | | |