Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightCentralizedControlManagement
This commit is contained in:
commit
708ff4c9e0
2 files changed
+16
-3
No files matched your search
@@ -117,6 +117,11 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
|
|||||||
MonitorView.Sys_log = DAT.Substring(DAT.IndexOf("]") + 1);
|
MonitorView.Sys_log = DAT.Substring(DAT.IndexOf("]") + 1);
|
||||||
|
|
||||||
}//当前细节信息
|
}//当前细节信息
|
||||||
|
else if (SYSAPI == "SC833")
|
||||||
|
{
|
||||||
|
MonitorView.Sys_log = DAT.Substring(DAT.IndexOf("]") + 1);
|
||||||
|
|
||||||
|
}//当前领料单信息
|
||||||
else if (SYSAPI == "SC851")
|
else if (SYSAPI == "SC851")
|
||||||
{
|
{
|
||||||
DAT = DAT.Substring(DAT.IndexOf("]") + 1);
|
DAT = DAT.Substring(DAT.IndexOf("]") + 1);
|
||||||
|
|||||||
@@ -123,11 +123,19 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
|
|||||||
int State_ = Convert.ToInt16(drEmployee.Field<object>("State"));
|
int State_ = Convert.ToInt16(drEmployee.Field<object>("State"));
|
||||||
int index = Convert.ToInt16(drEmployee.Field<object>("ID"));
|
int index = Convert.ToInt16(drEmployee.Field<object>("ID"));
|
||||||
if ((State_ == 101) || (State_ == 201) || (State_ == 202) || (State_ == 309))//获得细节信息
|
if ((State_ == 101) || (State_ == 201) || (State_ == 202) || (State_ == 309))//获得细节信息
|
||||||
|
{
|
||||||
|
if (machines_info == 0)
|
||||||
{
|
{
|
||||||
MainWindowViewModel.MachiensTcpClient[index].SendAsync("SC832" + MainWindowViewModel.Selet_Machines(MainWindowViewModel.Machines, "SYSKEY", index));
|
MainWindowViewModel.MachiensTcpClient[index].SendAsync("SC832" + MainWindowViewModel.Selet_Machines(MainWindowViewModel.Machines, "SYSKEY", index));
|
||||||
if (machines_info == 0) { log.Text = Sys_log; }//信息
|
}//信息
|
||||||
else if (machines_info == 1) { }//输送状态
|
else if (machines_info == 1)
|
||||||
else if (machines_info == 2) { }//单据
|
{
|
||||||
|
}//输送状态
|
||||||
|
else if (machines_info == 2)
|
||||||
|
{
|
||||||
|
MainWindowViewModel.MachiensTcpClient[index].SendAsync("SC833" + MainWindowViewModel.Selet_Machines(MainWindowViewModel.Machines, "SYSKEY", index));
|
||||||
|
}//单据
|
||||||
|
log.Text = Sys_log;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user