|
|
@ -251,7 +251,7 @@ namespace DyeingComputer.UserClass |
|
|
|
MainWindowViewModel.WORK_RUN = 2;//
|
|
|
|
//
|
|
|
|
client.SendAsync("SC821" + SYSKEY + SYSDAT); |
|
|
|
} |
|
|
|
}//运行
|
|
|
|
else if (dat_821.GetValue("INSTRUCTION").ToString() == "JUMP") |
|
|
|
{ |
|
|
|
MainWindowViewModel.RUN_DATATABLE = MainWindowViewModel.dt_TP;//缓存表
|
|
|
@ -259,7 +259,7 @@ namespace DyeingComputer.UserClass |
|
|
|
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"))); |
|
|
|
} |
|
|
|
}//跳步
|
|
|
|
else if (dat_821.GetValue("INSTRUCTION").ToString() == "INSERT") |
|
|
|
{ |
|
|
|
int d = Convert.ToInt16(dat_821.GetValue("ID")); |
|
|
@ -433,6 +433,7 @@ namespace DyeingComputer.UserClass |
|
|
|
try |
|
|
|
{ |
|
|
|
Dictionary<string, object> Chart_new = new Dictionary<string, object>();//缓存函数
|
|
|
|
Chart_new.Add("ERR", MainWindowViewModel.ERR_JOG); |
|
|
|
Chart_new.Add("UserButton", MainWindowViewModel._UserButton); |
|
|
|
Chart_new.Add("WORK_RUN", MainWindowViewModel.WORK_RUN); |
|
|
|
Chart_new.Add("RUN_STEPID", MainWindowViewModel.RUN_STEPID); |
|
|
|