wxr
2022-11-21 af224fed5dea064e306a0591dcd080655e38ec18
HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs
@@ -96,6 +96,8 @@
        /// </summary>
        public static void UpdateAcstParentInfo(Function temp)
        {
            try
            {
            if (basePage == null)
            {
                return;
@@ -165,6 +167,10 @@
                }
                basePage.btnModeControl.IsSelected = basePage.btnWorkSceneControl.IsSelected = basePage.btnPowerControl.IsSelected = temp.GetAttrState("on_off") == "on";
            });
            }catch (Exception ex)
            {
                MainPage.Log("科技系统更新数据失败");
            }
        }
@@ -174,11 +180,14 @@
        /// <param name="temp"></param>
        public static void UpdateAcstSubInfo(Function temp)
        {
            try
            {
            if(basePage == null)
            {
                return;
            }
            Application.RunOnMainThread(() => {
                Application.RunOnMainThread(() =>
                {
                var view = basePage.subViewList[temp.sid];
                if(view!= null)
                {
@@ -188,6 +197,11 @@
                }
            });
        }
            catch (Exception ex)
            {
                MainPage.Log("科技系统更新异常11");
            }
        }
        public void LoadPage()
        {