Merge branch 'master' of http://www.scserverddns.top:13000/sc/DyeingComputer
This commit is contained in:
commit
55d5121292
5 files changed
+17
-7
No files matched your search
@@ -339,6 +339,8 @@ namespace DyeingComputer.UserClass
|
||||
Chart_new.Add("Machine", MainWindowViewModel.S01);
|
||||
Chart_new.Add("WorkNumder", MainWindowViewModel.WorkNumder);
|
||||
Chart_new.Add("Time", MainWindowViewModel.SYSTime);
|
||||
Chart_new.Add("Process", MainWindowViewModel.ProgramName);
|
||||
Chart_new.Add("Step", MainWindowViewModel.Process_step);
|
||||
Chart_new.Add("MST", MainWindowViewModel.TEMP_co);
|
||||
Chart_new.Add("MTT", MainWindowViewModel.Selet_dtm("1010"));
|
||||
Chart_new.Add("MTL", MainWindowViewModel.Selet_dtm("1015"));
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace DyeingComputer.UserClass
|
||||
string sql_script = "select * from WorkorderSteps where ProgramID = '" + workName + "'";
|
||||
if (TechnologicalProcessView.sql != null) TechnologicalProcessView.sql.Clear(); //清空缓存
|
||||
TechnologicalProcessView.sql = SQLiteHelpers.ExecuteDataSet(sql_script, null); //读取表写入缓存
|
||||
TechnologicalProcessView.Program_Name = SQLiteHelpers.ExecuteScalar("select ProgramName from Workorder where ProgramID = '" + workName + "'", null).ToString();
|
||||
MainWindowViewModel.ProgramName = SQLiteHelpers.ExecuteScalar("select ProgramName from Workorder where ProgramID = '" + workName + "'", null).ToString();
|
||||
|
||||
SQLiteHelpers.Delete("RUN", null, null); //删除run信息
|
||||
DataTable data_t = new DataTable();
|
||||
|
||||
Reference in new issue
Block a user