SC821修改指令

This commit is contained in:
sc committed 2025-09-24 21:45:05 +08:00
commit 7bd4fca576
1 file changed
+42 -1
+42 -1
View File
@@ -325,7 +325,27 @@ namespace DyeingComputer.UserClass
drtt["Parameter3"] = dat_821.GetValue("Parameter3").ToString();
drtt["Parameter4"] = dat_821.GetValue("Parameter4").ToString();
drtt["Parameter5"] = dat_821.GetValue("Parameter5").ToString();
drtt["Parameter1_S1"] = dat_821.GetValue("Parameter1_S1").ToString();
drtt["Parameter2_S1"] = dat_821.GetValue("Parameter2_S1").ToString();
drtt["Parameter3_S1"] = dat_821.GetValue("Parameter3_S1").ToString();
drtt["Parameter4_S1"] = dat_821.GetValue("Parameter4_S1").ToString();
drtt["Parameter5_S1"] = dat_821.GetValue("Parameter5_S1").ToString();
drtt["Parameter1_S2"] = dat_821.GetValue("Parameter1_S2").ToString();
drtt["Parameter2_S2"] = dat_821.GetValue("Parameter2_S2").ToString();
drtt["Parameter3_S2"] = dat_821.GetValue("Parameter3_S2").ToString();
drtt["Parameter4_S2"] = dat_821.GetValue("Parameter4_S2").ToString();
drtt["Parameter5_S2"] = dat_821.GetValue("Parameter5_S2").ToString();
drtt["Parameter1_S3"] = dat_821.GetValue("Parameter1_S3").ToString();
drtt["Parameter2_S3"] = dat_821.GetValue("Parameter2_S3").ToString();
drtt["Parameter3_S3"] = dat_821.GetValue("Parameter3_S3").ToString();
drtt["Parameter4_S3"] = dat_821.GetValue("Parameter4_S3").ToString();
drtt["Parameter5_S3"] = dat_821.GetValue("Parameter5_S3").ToString();
drtt["StepName_S1"] = dat_821.GetValue("StepName_S1").ToString();
drtt["StepName_S2"] = dat_821.GetValue("StepName_S2").ToString();
drtt["StepName_S3"] = dat_821.GetValue("StepName_S3").ToString();
drtt["StepID_S1"] = dat_821.GetValue("StepID_S1").ToString();
drtt["StepID_S2"] = dat_821.GetValue("StepID_S2").ToString();
drtt["StepID_S3"] = dat_821.GetValue("StepID_S3").ToString();
drtt["RUN"] = "0";
drtt["DYELOT"] = MainWindowViewModel.WorkNumder;
drtt.EndEdit();
@@ -366,6 +386,27 @@ namespace DyeingComputer.UserClass
dr["Parameter3"] = dat_821.GetValue("Parameter3").ToString();
dr["Parameter4"] = dat_821.GetValue("Parameter4").ToString();
dr["Parameter5"] = dat_821.GetValue("Parameter5").ToString();
dr["Parameter1_S1"] = dat_821.GetValue("Parameter1_S1").ToString();
dr["Parameter2_S1"] = dat_821.GetValue("Parameter2_S1").ToString();
dr["Parameter3_S1"] = dat_821.GetValue("Parameter3_S1").ToString();
dr["Parameter4_S1"] = dat_821.GetValue("Parameter4_S1").ToString();
dr["Parameter5_S1"] = dat_821.GetValue("Parameter5_S1").ToString();
dr["Parameter1_S2"] = dat_821.GetValue("Parameter1_S2").ToString();
dr["Parameter2_S2"] = dat_821.GetValue("Parameter2_S2").ToString();
dr["Parameter3_S2"] = dat_821.GetValue("Parameter3_S2").ToString();
dr["Parameter4_S2"] = dat_821.GetValue("Parameter4_S2").ToString();
dr["Parameter5_S2"] = dat_821.GetValue("Parameter5_S2").ToString();
dr["Parameter1_S3"] = dat_821.GetValue("Parameter1_S3").ToString();
dr["Parameter2_S3"] = dat_821.GetValue("Parameter2_S3").ToString();
dr["Parameter3_S3"] = dat_821.GetValue("Parameter3_S3").ToString();
dr["Parameter4_S3"] = dat_821.GetValue("Parameter4_S3").ToString();
dr["Parameter5_S3"] = dat_821.GetValue("Parameter5_S3").ToString();
dr["StepName_S1"] = dat_821.GetValue("StepName_S1").ToString();
dr["StepName_S2"] = dat_821.GetValue("StepName_S2").ToString();
dr["StepName_S3"] = dat_821.GetValue("StepName_S3").ToString();
dr["StepID_S1"] = dat_821.GetValue("StepID_S1").ToString();
dr["StepID_S2"] = dat_821.GetValue("StepID_S2").ToString();
dr["StepID_S3"] = dat_821.GetValue("StepID_S3").ToString();
dr.EndEdit();
var _TechnologicalProcessView = Application.Current.Windows.Cast<UserControl>().FirstOrDefault(window => window is TechnologicalProcessView) as TechnologicalProcessView;//跨页面