| | |
| | | /// </summary> |
| | | public static void UpdateAcstParentInfo(Function temp) |
| | | { |
| | | try |
| | | { |
| | | if (basePage == null) |
| | | { |
| | | return; |
| | |
| | | } |
| | | basePage.btnModeControl.IsSelected = basePage.btnWorkSceneControl.IsSelected = basePage.btnPowerControl.IsSelected = temp.GetAttrState("on_off") == "on"; |
| | | }); |
| | | }catch (Exception ex) |
| | | { |
| | | MainPage.Log("科技系统更新数据失败"); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | /// <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) |
| | | { |
| | |
| | | } |
| | | }); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MainPage.Log("科技系统更新异常11"); |
| | | } |
| | | } |
| | | |
| | | public void LoadPage() |
| | | { |