gkj 2 年之前
父節點
當前提交
6df4312f64
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      WCS.Service/appsettings.json
  2. 1 1
      WCS.WorkEngineering/Extensions/DeviceExtension.cs

+ 1 - 1
WCS.Service/appsettings.json

@@ -7,6 +7,6 @@
     }
   },
   "ConnectionStrings": {
-    "Redis": "127.0.0.1,database=0,prefix=Sorting:"
+    "Redis": "127.0.0.1,database=0,password=7166766,prefix=Alloy:"
   }
 }

+ 1 - 1
WCS.WorkEngineering/Extensions/DeviceExtension.cs

@@ -54,7 +54,7 @@ namespace WCS.WorkEngineering.Extensions
                         Port = 102,
                         Rack = 0,
                         Slot = 1,
-                        //Type = PLCType.Siemens
+                        Type = PLCType.Siemens
                     }
                 }
             };