Explorar el Código

更新依赖包和代码清理

移除了 `ServiceCenter.csproj` 中的 `PlcSiemens` 包引用。
移除了 `DevRunInfo.cs` 中的无用 `using static` 引用。
在 `DevRunInfo.cs` 中的 `WCS.Entity.Protocol.HUB` 命名空间中添加了 `FeedRate` 枚举值。
将 `WCS.Entity.Protocol.csproj` 中的 `SqlSugar` 包版本从 `1.0.0.3` 更新到 `5.1.4.167`。
林豪 左 hace 1 año
padre
commit
5eb9eda5dd

+ 0 - 4
ServiceCenter/ServiceCenter.csproj

@@ -22,10 +22,6 @@
     <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.8" />
     <PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="8.0.0" />
     <PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="8.0.0" />
-    <PackageReference Include="PlcSiemens" Version="1.0.2.1">
-      <PrivateAssets>all</PrivateAssets>
-      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
-    </PackageReference>
     <PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.7.3" />
     <PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.7.3" />
     <PackageReference Include="System.Text.Json" Version="8.0.4" />

+ 4 - 1
YWGC/FJK/WCS.Entity.Protocol/HUB/DevRunInfo.cs

@@ -2,7 +2,6 @@
 using SqlSugar;
 using System.Runtime.Serialization;
 using System.Data;
-using static Dm.net.buffer.ByteArrayBuffer;
 
 namespace WCS.Entity.Protocol.HUB
 {
@@ -117,5 +116,9 @@ namespace WCS.Entity.Protocol.HUB
         /// 桁架 任务执行数量
         /// </summary>
         TrussTaskSum = 8,
+        /// <summary>
+        /// 桁架 任务执行数量
+        /// </summary>
+        FeedRate = 9,
     }
 }

+ 1 - 1
YWGC/FJK/WCS.Entity.Protocol/WCS.Entity.Protocol.csproj

@@ -11,6 +11,6 @@
     <NoWarn>1701;1702;8602;8616;8618;8625;8600;8603;8714;1591</NoWarn>
   </PropertyGroup>
   <ItemGroup>
-    <PackageReference Include="SqlSugar" Version="1.0.0.3" />
+    <PackageReference Include="SqlSugar" Version="5.1.4.167" />
   </ItemGroup>
 </Project>