添加参数信息传入
This commit is contained in:
commit
a689ff0ad0
3 files changed
+12
-4
No files matched your search
@@ -14,6 +14,7 @@ using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder;
|
||||
using System.Diagnostics.Eventing.Reader;
|
||||
using System.Drawing;
|
||||
@@ -80,6 +81,7 @@ namespace DyeingComputer.ViewModel
|
||||
private PID pid = new PID();
|
||||
public static DataTable errTabler = new DataTable();//错误表
|
||||
// public static DataTable RUN_DATATABLE = new DataTable();//缓存工作表
|
||||
public static DataTable DT_Set = new DataTable();//cssd
|
||||
public static DataTable Dyelot_dat = new DataTable();//物料表
|
||||
public static string Dyelot; //领料单号
|
||||
public static int RUN_STEPID;//当前步骤
|
||||
@@ -242,6 +244,8 @@ namespace DyeingComputer.ViewModel
|
||||
WORK_RUN = 2;
|
||||
//SQLiteHelpers = new SQLiteHelper(DBAddress);
|
||||
//SQLiteHelpers.Open();
|
||||
DT_Set = MainWindow.SQLiteHelpers.ExecuteDataSet("select * from WorkOrderSet where WorkOrder = '" +
|
||||
drEmployee.Field<string>("WorkOrder") + "'", null).Tables[0];
|
||||
Dyelot_dat = MainWindow.SQLiteHelpers.ExecuteDataSet("select * from Dyelot where WorkOrder = '" +
|
||||
drEmployee.Field<string>("WorkOrder") + "'", null).Tables[0];
|
||||
//SQLiteHelpers.Close();
|
||||
|
||||
Reference in new issue
Block a user