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
                     }
                 }
             };