Merge branch 'master' of http://www.scserverddns.top:13000/sc/DyeingComputer
This commit is contained in:
commit
779208046a
3 files changed
+13
-7
No files matched your search
@@ -250,7 +250,9 @@ namespace DyeingComputer.UserClass
|
||||
|
||||
TechnologicalProcessView.SQLiteHelpers.InsertData("RUN", TechnologicalProcessView.SQLiteHelpers.DataTableToDictionary(data_t));//行插入
|
||||
}
|
||||
TechnologicalProcessView.SQLiteHelpers.Close(); //关闭连接
|
||||
TechnologicalProcessView.SQLiteHelpers.Close(); //关闭连接
|
||||
|
||||
client.SendAsync("SC831" + "[" + MainWindowViewModel.S01 + "]" +MainWindowViewModel.dt_TP.ToJsonString());
|
||||
}//插入
|
||||
else if (dat_821.GetValue("INSTRUCTION").ToString() == "EDIT")
|
||||
{
|
||||
@@ -293,7 +295,9 @@ namespace DyeingComputer.UserClass
|
||||
|
||||
TechnologicalProcessView.SQLiteHelpers.InsertData("RUN", TechnologicalProcessView.SQLiteHelpers.DataTableToDictionary(data_t));//行插入
|
||||
}
|
||||
TechnologicalProcessView.SQLiteHelpers.Close(); //关闭连接
|
||||
TechnologicalProcessView.SQLiteHelpers.Close(); //关闭连接
|
||||
|
||||
client.SendAsync("SC831" + "[" + MainWindowViewModel.S01 + "]" + MainWindowViewModel.dt_TP.ToJsonString());
|
||||
}//编辑
|
||||
else if (dat_821.GetValue("INSTRUCTION").ToString() == "DELETE")
|
||||
{
|
||||
@@ -314,6 +318,8 @@ namespace DyeingComputer.UserClass
|
||||
var _TechnologicalProcessView = Application.Current.Windows.Cast<UserControl>().FirstOrDefault(window => window is TechnologicalProcessView) as TechnologicalProcessView;//跨页面
|
||||
_TechnologicalProcessView.Grid.ItemsSource = TechnologicalProcessView.sql.Tables[0].DefaultView; //转换显示计划表
|
||||
}
|
||||
|
||||
client.SendAsync("SC831" + "[" + MainWindowViewModel.S01 + "]" + MainWindowViewModel.dt_TP.ToJsonString());
|
||||
}
|
||||
client.SendAsync("SC821" + SYSKEY + SYSDAT);
|
||||
}
|
||||
@@ -348,7 +354,6 @@ namespace DyeingComputer.UserClass
|
||||
{
|
||||
if (SYSKEY == MainWindowViewModel.SYSKEY)
|
||||
{
|
||||
|
||||
client.SendAsync("SC831" + "[" + MainWindowViewModel.S01 + "]" +MainWindowViewModel.dt_TP.ToJsonString());
|
||||
}
|
||||
else { client.SendAsync("SC999"); }
|
||||
|
||||
Reference in new issue
Block a user