Administrator 2 éve
szülő
commit
cb2a1ddfe4

+ 2 - 2
Projects/永冠OPP/WCS.Service/Extensions/DeviceExtension.cs

@@ -529,8 +529,8 @@ namespace WCS.Service.Extensions
             return LocationList.Where(v => v.Entity.Is(DF.涂布RGV取货设备组) || v.Entity.Is(DF.涂布RGV放货设备组) || v.Entity.Is(DF.BOPPRGV取货设备组) || v.Entity.Is(DF.BOPPRGV放货设备组)).Where(v =>
                 {
                     //RGV与站台距离误差为 正负50500
-                    var max = v.Position + 500;
-                    var min = v.Position - 500;
+                    var max = v.Position + 100;
+                    var min = v.Position - 100;
                     return Data2.Position < max && Data2.Position > min;
                 }).FirstOrDefault();
         }

+ 4 - 0
Projects/永冠OPP/WCS.Service/Works/Station/合流入库.cs

@@ -43,6 +43,10 @@ namespace WCS.Service.Works.Station
                     dev.Data.Goodsend = Device.Find(task.ADDRNEXT).GetPath("SRM").CODE.ToShort();
                 }
                 dev.Data.VoucherNo++;
+                if (dev.Entity.CODE == "3163")
+                {
+                    InfoLog.INFO_INFO($"[{dev.Entity.CODE}]写入信息:[{dev.Data2.Tasknum}]-[{dev.Data.VoucherNo}]");
+                }
             });
         }
         protected override bool SelectDevice(WCS_DEVICE dev)

+ 1 - 1
WCS.Core/WCS.Core.csproj

@@ -9,7 +9,7 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="FreeRedis" Version="1.0.8" />
+    <PackageReference Include="FreeRedis" Version="0.3.5" />
   </ItemGroup>
 
   <ItemGroup>