wxr
2022-11-21 af224fed5dea064e306a0591dcd080655e38ec18
HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/MechanicalArmPage.cs
@@ -132,10 +132,17 @@
            //    }.Show(MainPage.BaseView);
            //    return;
            //}
            string statu = this.btnSwitch.IsSelected == true ? "off" : "on";
            string tipMsg = "确定打开?";
            if (this.btnSwitch.IsSelected)
            {
                tipMsg = "确定关闭?";
            }
            Action action = () => {
            this.btnPictrue.CanClick = false;
            this.btnSwitch.CanClick = false;
            string statu = this.btnSwitch.IsSelected == true ? "off" : "on";
            HdlThreadLogic.Current.RunThread(() =>
            {
                var dic = new Dictionary<string, string>();
@@ -147,6 +154,9 @@
                    this.btnSwitch.CanClick = true;
                });
            });
            };
            new PublicAssmebly().TipOptionMsg(StringId.EmptyString, tipMsg, action);
        }
        #endregion