提交设备状态
This commit is contained in:
@ -67,6 +67,8 @@ namespace DHSoftware
|
||||
catch (Exception ex)
|
||||
{
|
||||
SystemModel.CurrentStatus = EnumStatus.异常;
|
||||
MainWindow.Instance.tagMachineStatus.Type = TTypeMini.Error;
|
||||
MainWindow.Instance.tagMachineStatus.Text = "异常";
|
||||
Modal.open(WelcomeWindow.Instance, "错误!", ex.ToString(), TType.Error);
|
||||
}
|
||||
|
||||
@ -99,6 +101,8 @@ namespace DHSoftware
|
||||
catch (Exception ex)
|
||||
{
|
||||
SystemModel.CurrentStatus = EnumStatus.异常;
|
||||
MainWindow.Instance.tagMachineStatus.Type = TTypeMini.Error;
|
||||
MainWindow.Instance.tagMachineStatus.Text = "异常";
|
||||
Modal.open(WelcomeWindow.Instance, "错误!", ex.ToString(), TType.Error);
|
||||
}
|
||||
UpdateStep(80, "正在加载算法模型", true);
|
||||
@ -109,6 +113,8 @@ namespace DHSoftware
|
||||
catch (Exception ex)
|
||||
{
|
||||
SystemModel.CurrentStatus = EnumStatus.异常;
|
||||
MainWindow.Instance.tagMachineStatus.Type = TTypeMini.Error;
|
||||
MainWindow.Instance.tagMachineStatus.Text = "异常";
|
||||
Modal.open(WelcomeWindow.Instance, "错误!", ex.ToString(), TType.Error);
|
||||
}
|
||||
UpdateStep(100, "程序初始化完成", true);
|
||||
|
Reference in New Issue
Block a user