林豪 左 2 years ago
parent
commit
8fbb74455e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      WCS.Core/DataTrans/DataBlock.cs

+ 1 - 1
WCS.Core/DataTrans/DataBlock.cs

@@ -66,7 +66,7 @@ namespace WCS.Core
                     }
                     catch (Exception ex)
                     {
-                        Console.WriteLine($"{Entity.PLC.NAME}{Entity.PLC.IP}{Entity.NO}");
+                        Console.WriteLine($"{Entity.PLC.NAME}{Entity.PLC.IP}{Entity.NO}:{ex.Message}--DataBlock69");
                         Console.ResetColor();
                     }
                 }