wxr
2024-07-16 cbc156bc38d8b8eae7aef60cb186ab2b52fa701f
HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSensorPage.cs
@@ -661,12 +661,14 @@
            {
                new System.Threading.Thread(() =>
                {
                    foreach (var tempSensor in sensorList)
                    {
                        if (index >= 6)
                        {
                            break;
                        }
                        if (tempSensor.sid == function.sid)
                        {
                            continue;
@@ -729,7 +731,7 @@
                                TextAlignment = TextAlignment.CenterLeft,
                                TextColor = CSS_Color.FirstLevelTitleColor,
                                TextSize = CSS_FontSize.TextFontSize,
                                Text = function.name,
                                Text = tempSensor.name,
                                IsBold = true,
                            };
                            otherInfoView.AddChidren(btnSensorName);
@@ -824,6 +826,12 @@
                        });
                        System.Threading.Thread.Sleep(50);
                    }
                    Application.RunOnMainThread(() => {
                        if (index > 1)
                        {
                            contentView.ScrollEnabled = true;
                        }
                    });
                }).Start();
            }
            catch(Exception ex)
@@ -836,6 +844,7 @@
            LoadMothed_GetSensorHistoryData();
            LoadEvent_ChangeSensorHistoryShowType();
        }
    }
@@ -900,7 +909,7 @@
                                    }
                                    ebl.InitXdataText(vs);
                                }
                                yDataString += ebl.InitYdataText(sr.name, revertData, tipColorStringList[i]);
                                yDataString += ebl.InitYdataText("", revertData, tipColorStringList[i]);
                            }
                        }
                        i++;
@@ -909,6 +918,8 @@
                    Application.RunOnMainThread(() =>
                    {
                        ebl.xTitle = "";
                        ebl.yTitle = "";
                        myEchartsView.ShowWithOption(ebl.InitOption());
                    });