foamRearStore
liuwf 7 months ago
parent bf5a85dd5c
commit 8f79ff027d

Binary file not shown.

@ -147,7 +147,7 @@ namespace Aucma.Scada.Business
if (_plcDictionary.Count > 0)
{
IPlc _plc = _plcDictionary[appConfig.foamStoreCode];
if (_plc != null && _plc.IsConnected)
if (_plc != null)
{
List<RealTaskInfo> taskList = _taskInfoService.GetTaskInfosForInstore(appConfig.foamStoreCode, appConfig.instoreTaskType, 2);
@ -402,8 +402,7 @@ namespace Aucma.Scada.Business
// {
// if (_plc != null)
// {
// if (_plc.IsConnected)
// {
//
// do
// {
// //读取PLC入库任务完成
@ -420,11 +419,7 @@ namespace Aucma.Scada.Business
// Thread.Sleep(1000);
// } while (isFlag);
// }
// else
// {
// logHelper.Info($"仓库{appConfig.foamStoreCode}PLC未连接");
// }
//
// }
// else
// {

@ -288,8 +288,7 @@ namespace Aucma.Scada.Business
// {
// if (_plc != null)
// {
// if (_plc.IsConnected)
// {
//
// do
// {
// //读取PLC出库任务完成
@ -305,11 +304,7 @@ namespace Aucma.Scada.Business
// Thread.Sleep(1000);
// } while (isFlag);
// }
// else
// {
// logHelper.Info($"仓库{appConfig.foamStoreCode}PLC未连接");
// }
//
// }
// else
// {

Loading…
Cancel
Save