|
|
@ -198,6 +198,15 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass |
|
|
|
Product_.Add("Amount", newRow.Field<object>("Amount")); |
|
|
|
Product_.Add("DispenseEndTime", newRow.Field<object>("DispenseEndTime")); |
|
|
|
|
|
|
|
newRow.BeginEdit(); |
|
|
|
newRow["State"] = 202; |
|
|
|
newRow.EndEdit(); |
|
|
|
|
|
|
|
SQLiteHelpers = new SQLiteHelper(DBAddress); //数据库连接路径
|
|
|
|
SQLiteHelpers.Open(); //打开数据库
|
|
|
|
SQLiteHelpers.InsertData("DyelotHistory", SQLiteHelpers.ToDictionary(newRow));// 执行插入
|
|
|
|
SQLiteHelpers.Close(); |
|
|
|
|
|
|
|
MainWindowViewModel.stringQueue.Enqueue(new MainWindowViewModel.QueueString |
|
|
|
{ |
|
|
|
ID = Convert.ToInt16(MainWindowViewModel.Selet_Machines(MainWindowViewModel.Machines, |
|
|
@ -208,7 +217,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass |
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception ex) { LogGing.LogGingDATA("[ERR='" + ex + "']=Exception"); MainWindowViewModel.ERR_c++; } |
|
|
|
}//呼叫领料单
|
|
|
|
}//获取呼叫领料单
|
|
|
|
else if (SYSAPI == "SC830") |
|
|
|
{ |
|
|
|
try |
|
|
|