Compare commits

...

2 Commits

Author SHA1 Message Date
CaesarBao 2649703dbd 涂布修改B面开始接口activity、modeProcessSfc参数 3 weeks ago
CaesarBao 9ef59dfa34 1.涂布放卷MES接口参数配置修改
2.涂布放卷心跳D9828写入
3 weeks ago

@ -249,6 +249,7 @@ namespace MaterialTraceability.Business
lock (string.Empty) lock (string.Empty)
{ {
//写入心跳 //写入心跳
plcInstance.writeInt32ByAddress("D9828", 1);
plcInstance.writeInt32ByAddress(appConfig.TbAddress., 1); plcInstance.writeInt32ByAddress(appConfig.TbAddress., 1);
LogHelper.PlcLog("RFID系统写入心跳D9628"); LogHelper.PlcLog("RFID系统写入心跳D9628");
Thread.Sleep(200); Thread.Sleep(200);

@ -692,8 +692,8 @@ namespace MaterialTraceabilityUI
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
}; };
DateTime beginTime = DateTime.Now; DateTime beginTime = DateTime.Now;
try try
@ -922,8 +922,8 @@ namespace MaterialTraceabilityUI
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
}; };
DateTime beginTime = DateTime.Now; DateTime beginTime = DateTime.Now;
try try

@ -527,8 +527,8 @@ namespace MaterialTraceabilityUI
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
}; };
try try
{ {
@ -576,8 +576,8 @@ namespace MaterialTraceabilityUI
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
}; };
try try
{ {
@ -777,8 +777,8 @@ namespace MaterialTraceabilityUI
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
}; };
DateTime beginTime = DateTime.Now; DateTime beginTime = DateTime.Now;
try try
@ -825,8 +825,8 @@ namespace MaterialTraceabilityUI
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
}; };
DateTime beginTime = DateTime.Now; DateTime beginTime = DateTime.Now;
try try

Loading…
Cancel
Save