Explorar o código

离线ip
日志

zhuhao %!s(int64=2) %!d(string=hai) anos
pai
achega
8fe54b9e0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      IMCS_CCS/Service/Impl/TaskJobService.cs

+ 1 - 1
IMCS_CCS/Service/Impl/TaskJobService.cs

@@ -266,7 +266,7 @@ namespace IMCS.CCS.Service.Impl
                             device.State = false;
                             await _deviceService.UpdateDevice(device);
                             s7.ConnectClose();
-                            Log.Instance.WriteLogAdd("S7采集异常,plc连不上", LOG_TITLE_S7);
+                            Log.Instance.WriteLogAdd("S7采集异常,plc连不上==>"+ device.ServerUrl, LOG_TITLE_S7);
                             return "采集失败,plc连不上";
                         }
                         else