Browse Source

修改 VitrualRedisPLC 构造函数参数

在 `PLCAccessorsCreater.cs` 文件中,`VitrualRedisPLC` 的构造函数参数从 `database=1` 和 `prefix=Sorting:` 修改为 `database=2`,去掉了 `prefix` 参数。
林豪 左 7 months ago
parent
commit
3594a1e747
1 changed files with 1 additions and 1 deletions
  1. 1 1
      WCS.Service/PLCAccessors/PLCAccessorsCreater.cs

+ 1 - 1
WCS.Service/PLCAccessors/PLCAccessorsCreater.cs

@@ -22,7 +22,7 @@ namespace WCS.Service.PLCAccessors
                     return new SiemensS7PLC(data.IP, data.Port, data.Rack, data.Slot);
                     return new SiemensS7PLC(data.IP, data.Port, data.Rack, data.Slot);
 
 
                 default:
                 default:
-                    return new VitrualRedisPLC(data, "127.0.0.1,database=1,prefix=Sorting:");
+                    return new VitrualRedisPLC(data, "127.0.0.1,database=2");
             }
             }
         }
         }
     }
     }