| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | }; |
| | | controlView.AddChidren(btnRunStatus); |
| | | //controlView.AddChidren(btnRunStatus); //状态无法测试,暂时隐藏--2021-10-14 13:58:48 董泽斌 |
| | | UpdataRunStatus(); |
| | | } |
| | | |
| | |
| | | if (updataTemp.spk == bodyView.function.spk && updataTemp.sid == bodyView.function.sid) |
| | | { |
| | | bodyView.btnSwitch.IsSelected = bodyView.btnSwitchIcon.IsSelected = updataTemp.trait_on_off.curValue.ToString() == "on"; |
| | | } |
| | | if(updataTemp.GetAttribute("run_status")!=null) |
| | | { |
| | | bodyView.UpdataRunStatus(); |
| | | |
| | | if (updataTemp.GetAttribute("run_status") != null) |
| | | { |
| | | bodyView.UpdataRunStatus(); |
| | | } |
| | | } |
| | | } |
| | | catch (Exception ex) |