diff --git a/.vs/HighWayIot/FileContentIndex/0aeb8ea8-e984-4282-ba81-2b9a6206fe23.vsidx b/.vs/HighWayIot/FileContentIndex/6b057eb9-b33f-449d-9787-a24cca2e6682.vsidx similarity index 57% rename from .vs/HighWayIot/FileContentIndex/0aeb8ea8-e984-4282-ba81-2b9a6206fe23.vsidx rename to .vs/HighWayIot/FileContentIndex/6b057eb9-b33f-449d-9787-a24cca2e6682.vsidx index aa41ecc0..0bef7fdb 100644 Binary files a/.vs/HighWayIot/FileContentIndex/0aeb8ea8-e984-4282-ba81-2b9a6206fe23.vsidx and b/.vs/HighWayIot/FileContentIndex/6b057eb9-b33f-449d-9787-a24cca2e6682.vsidx differ diff --git a/.vs/HighWayIot/FileContentIndex/890d36a3-c193-4179-9302-10a4b1ea1e87.vsidx b/.vs/HighWayIot/FileContentIndex/890d36a3-c193-4179-9302-10a4b1ea1e87.vsidx deleted file mode 100644 index 06ae2fc9..00000000 Binary files a/.vs/HighWayIot/FileContentIndex/890d36a3-c193-4179-9302-10a4b1ea1e87.vsidx and /dev/null differ diff --git a/.vs/HighWayIot/v17/.suo b/.vs/HighWayIot/v17/.suo index 1ff4df6d..b40aa314 100644 Binary files a/.vs/HighWayIot/v17/.suo and b/.vs/HighWayIot/v17/.suo differ diff --git a/Aucma.Scada.Business/InStoreTaskHandle.cs b/Aucma.Scada.Business/InStoreTaskHandle.cs index b3b63159..478b8f48 100644 --- a/Aucma.Scada.Business/InStoreTaskHandle.cs +++ b/Aucma.Scada.Business/InStoreTaskHandle.cs @@ -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 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 // { diff --git a/Aucma.Scada.Business/OutStoreTaskHandle.cs b/Aucma.Scada.Business/OutStoreTaskHandle.cs index fe35a50e..3aa9e620 100644 --- a/Aucma.Scada.Business/OutStoreTaskHandle.cs +++ b/Aucma.Scada.Business/OutStoreTaskHandle.cs @@ -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 // {