中控操作逻辑修复
This commit is contained in:
commit
77288bdf85
3 files changed
+64
-25
No files matched your search
@@ -247,14 +247,15 @@ namespace DyeingComputer.UserClass
|
||||
}
|
||||
else if (dat_821.GetValue("INSTRUCTION").ToString() == "CONTINUE")
|
||||
{
|
||||
|
||||
MainWindowViewModel.errTabler.Clear();
|
||||
MainWindowViewModel.WORK_RUN = 2;//
|
||||
//
|
||||
client.SendAsync("SC821" + SYSKEY + SYSDAT);
|
||||
}//运行
|
||||
else if (dat_821.GetValue("INSTRUCTION").ToString() == "JUMP")
|
||||
{
|
||||
MainWindowViewModel.RUN_DATATABLE = MainWindowViewModel.dt_TP;//缓存表
|
||||
MainWindowViewModel.RUN_STEPID = Convert.ToInt16(dat_821.GetValue("ID").ToString());//插入步骤号
|
||||
MainWindowViewModel.RUN_STEPID = Convert.ToInt16(dat_821.GetValue("ID"));//步骤号
|
||||
MainWindowViewModel.STEP_START(dat_821.GetValue("Numder").ToString(), Convert.ToDouble(dat_821.GetValue("P1")),
|
||||
Convert.ToDouble(dat_821.GetValue("P2")), Convert.ToDouble(dat_821.GetValue("P3")),
|
||||
Convert.ToDouble(dat_821.GetValue("P4")), Convert.ToDouble(dat_821.GetValue("P5")));
|
||||
|
||||
Reference in new issue
Block a user