Quellcode durchsuchen

1. 自动更新工具新增自动打包,一键式完整发布流程
2. 工具主界面修改,性能优化,更友好的交互
3. 采集协议、传输协议工具开发,正在进行中

Shun vor 2 Jahren
Ursprung
Commit
e3a75d3680

+ 5 - 0
README.md

@@ -534,3 +534,8 @@ while(true)
 1. 新增版本自动更新工具
 1. 新增版本自动更新工具
 2. 新增目标框架自动更新工具
 2. 新增目标框架自动更新工具
 3. 依赖库更新
 3. 依赖库更新
+
+#### 2023-12-13
+1. 自动更新工具新增自动打包,一键式完整发布流程
+2. 工具主界面修改,性能优化,更友好的交互
+3. 采集协议、传输协议工具开发,正在进行中

+ 2 - 2
src/YSAI.AllenBradley/YSAI.AllenBradley.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6811</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -16,6 +16,6 @@
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Beckhoff/YSAI.Beckhoff.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="Beckhoff.TwinCAT.Ads" Version="6.1.154" />
     <PackageReference Include="Beckhoff.TwinCAT.Ads" Version="6.1.154" />
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Can/YSAI.Can.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -16,7 +16,7 @@
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <Reference Include="Kvaser.CanLib">
     <Reference Include="Kvaser.CanLib">

+ 2 - 2
src/YSAI.Core/YSAI.Core.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21128</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,7 +17,7 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="System.IO.Ports" Version="8.0.0" />
     <PackageReference Include="System.IO.Ports" Version="8.0.0" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
     <PackageReference Include="Microsoft.ClearScript" Version="7.4.4" />
     <PackageReference Include="Microsoft.ClearScript" Version="7.4.4" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.DB/YSAI.DB.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -21,6 +21,6 @@
     <PackageReference Include="System.Data.OracleClient" Version="1.0.8" />
     <PackageReference Include="System.Data.OracleClient" Version="1.0.8" />
     <PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
     <PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
     <PackageReference Include="System.Data.SQLite" Version="1.0.118" />
     <PackageReference Include="System.Data.SQLite" Version="1.0.118" />
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Kafka/YSAI.Kafka.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="Confluent.Kafka" Version="2.3.0" />
     <PackageReference Include="Confluent.Kafka" Version="2.3.0" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 1 - 1
src/YSAI.Langs/YSAI.Langs.csproj

@@ -7,7 +7,7 @@
   </PropertyGroup>
   </PropertyGroup>
 	<ItemGroup>
 	<ItemGroup>
 		<PackageReference Include="WPFLocalizeExtension" Version="3.10.0" />
 		<PackageReference Include="WPFLocalizeExtension" Version="3.10.0" />
-		<PackageReference Include="YSAI.Log" Version="23.333.10146" />
+		<PackageReference Include="YSAI.Log" Version="23.347.20192" />
 	</ItemGroup>
 	</ItemGroup>
 
 
 	<ItemGroup>
 	<ItemGroup>

+ 1 - 1
src/YSAI.Log/YSAI.Log.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.7111</Version>
+    <Version>23.347.20192</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>

+ 2 - 2
src/YSAI.Mewtocol/YSAI.Mewtocol.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="Mewtocol.NET" Version="0.8.1" />
     <PackageReference Include="Mewtocol.NET" Version="0.8.1" />
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Mitsubishi/YSAI.Mitsubishi.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -16,6 +16,6 @@
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Modbus/YSAI.Modbus.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -18,6 +18,6 @@
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="NModbus" Version="3.0.81" />
     <PackageReference Include="NModbus" Version="3.0.81" />
     <PackageReference Include="NModbus.Serial" Version="3.0.81" />
     <PackageReference Include="NModbus.Serial" Version="3.0.81" />
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 3 - 3
src/YSAI.Model/YSAI.Model.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.20747</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -16,7 +16,7 @@
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="YSAI.Log" Version="23.333.10146" />
-    <PackageReference Include="YSAI.Unility" Version="23.347.6737" />
+    <PackageReference Include="YSAI.Log" Version="23.347.20192" />
+    <PackageReference Include="YSAI.Unility" Version="23.347.20192" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Mqtt/YSAI.Mqtt.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -18,6 +18,6 @@
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="MQTTnet" Version="4.3.3.952" />
     <PackageReference Include="MQTTnet" Version="4.3.3.952" />
     <PackageReference Include="MQTTnet.AspNetCore" Version="4.3.3.952" />
     <PackageReference Include="MQTTnet.AspNetCore" Version="4.3.3.952" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.NetMQ/YSAI.NetMQ.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="NetMQ" Version="4.0.1.13" />
     <PackageReference Include="NetMQ" Version="4.0.1.13" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Netty/YSAI.Netty.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -18,6 +18,6 @@
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="DotNetty.Handlers" Version="0.7.5" />
     <PackageReference Include="DotNetty.Handlers" Version="0.7.5" />
     <PackageReference Include="DotNetty.Transport" Version="0.7.5" />
     <PackageReference Include="DotNetty.Transport" Version="0.7.5" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Omron/YSAI.Omron.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -16,6 +16,6 @@
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
     <Description>$(DescriptionType):$(DescriptionName) ( $(DescriptionDetails) )</Description>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Opc/YSAI.Opc.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="OPCFoundation.NetStandard.Opc.Ua" Version="1.4.372.76" />
     <PackageReference Include="OPCFoundation.NetStandard.Opc.Ua" Version="1.4.372.76" />
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.RabbitMQ/YSAI.RabbitMQ.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="RabbitMQ.Client" Version="6.8.1" />
     <PackageReference Include="RabbitMQ.Client" Version="6.8.1" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Redis/YSAI.Redis.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="StackExchange.Redis" Version="2.7.10" />
     <PackageReference Include="StackExchange.Redis" Version="2.7.10" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Rpc/YSAI.Rpc.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -18,6 +18,6 @@
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="DotNetty.Codecs" Version="0.7.5" />
     <PackageReference Include="DotNetty.Codecs" Version="0.7.5" />
     <PackageReference Include="ImpromptuInterface" Version="8.0.4" />
     <PackageReference Include="ImpromptuInterface" Version="8.0.4" />
-    <PackageReference Include="YSAI.Model" Version="23.342.7875" />
+    <PackageReference Include="YSAI.Model" Version="23.347.20747" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 2 - 2
src/YSAI.Siemens/YSAI.Siemens.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.6812</Version>
+    <Version>23.347.21444</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>
@@ -17,6 +17,6 @@
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <PackageReference Include="S7netplus" Version="0.20.0" />
     <PackageReference Include="S7netplus" Version="0.20.0" />
-    <PackageReference Include="YSAI.Core" Version="23.345.6519" />
+    <PackageReference Include="YSAI.Core" Version="23.347.21128" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 1 - 1
src/YSAI.Tests/Program.cs

@@ -367,7 +367,7 @@ void OpcUaClientOperate_OnEvent(object? sender, EventResult e)
             {
             {
                 if (item.Value.AddressName.Equals("ns=2;s=6022.6022.LAP5_DP2112_STATE_RUN") || item.Value.AddressName.Equals("ns=2;s=6022.6022.LAP5_DP2113_AUTO"))
                 if (item.Value.AddressName.Equals("ns=2;s=6022.6022.LAP5_DP2112_STATE_RUN") || item.Value.AddressName.Equals("ns=2;s=6022.6022.LAP5_DP2113_AUTO"))
                 {
                 {
-                    String str = String.Format("{0,-100}{1,-100}", item.Key, item.Value.Value);
+                    String str = string.Format("{0,-100}{1,-100}", item.Key, item.Value.Value);
                     LogHelper.Warning(item.Value.Quality.ToString());
                     LogHelper.Warning(item.Value.Quality.ToString());
                     LogHelper.Warning(item.Value.OriginalValue.GetType().Name);
                     LogHelper.Warning(item.Value.OriginalValue.GetType().Name);
                     LogHelper.Verbose(str);
                     LogHelper.Verbose(str);

+ 2 - 2
src/YSAI.Unility.Windows/YSAI.Unility.Windows.csproj

@@ -12,7 +12,7 @@
 		<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
 		<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
 		<PackageReference Include="NPOI" Version="2.6.2" />
 		<PackageReference Include="NPOI" Version="2.6.2" />
 		<PackageReference Include="System.Speech" Version="8.0.0" />
 		<PackageReference Include="System.Speech" Version="8.0.0" />
-		<PackageReference Include="YSAI.Log" Version="23.333.10146" />
-		<PackageReference Include="YSAI.Unility" Version="23.347.6737" />
+		<PackageReference Include="YSAI.Log" Version="23.347.20192" />
+		<PackageReference Include="YSAI.Unility" Version="23.347.20192" />
 	</ItemGroup>
 	</ItemGroup>
 </Project>
 </Project>

+ 1 - 1
src/YSAI.Unility/YSAI.Unility.csproj

@@ -3,7 +3,7 @@
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <TargetFrameworks>net6.0;net8.0</TargetFrameworks>
     <ImplicitUsings>enable</ImplicitUsings>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
     <Nullable>enable</Nullable>
-    <Version>23.347.7111</Version>
+    <Version>23.347.20192</Version>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Release'">../YSAI.Publish/Release</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <PackageOutputPath Condition="'$(Configuration)' == 'Debug'">../YSAI.Publish/Debug</PackageOutputPath>
     <Authors>Shun</Authors>
     <Authors>Shun</Authors>

+ 96 - 4
src/YSAI.Ver.Manage.Tool/Program.cs

@@ -1,5 +1,22 @@
-using YSAI.Log;
+using System.Diagnostics;
+using System.Text;
+using YSAI.Log;
 using YSAI.Unility;
 using YSAI.Unility;
+
+
+
+LogHelper.Info(@"
+  ██╗     ██╗  ████████╗        ██╗        ████████╗
+   ██╗   ██╔╝  ██╔═══██║       ████╗       ╚══██╔══╝
+    ██╗ ██╔╝   ██║   ╚═╝      ██╝ ██╗         ██║
+     ████╔╝    ████████╗     ██╝   ██╗        ██║
+      ██╔╝           ██║    ██████████╗       ██║
+      ██║      ██    ██║   ██╔═══════██╗      ██║
+      ██║      ████████║  ██╔╝       ╚██╗  ████████╗
+      ╚═╝      ╚═══════╝  ╚═╝         ╚═╝  ╚═══════╝
+");
+
+
 //版本工具
 //版本工具
 //需要版本更新的库
 //需要版本更新的库
 //【注意:更新完后请注释掉】
 //【注意:更新完后请注释掉】
@@ -32,7 +49,6 @@ List<string> strings = new List<string>
     //"YSAI.Omron",
     //"YSAI.Omron",
     //"YSAI.Opc",
     //"YSAI.Opc",
     //"YSAI.Siemens",
     //"YSAI.Siemens",
-
 #endif
 #endif
 };
 };
 
 
@@ -79,11 +95,87 @@ foreach (var lib in libs)
     }
     }
 }
 }
 
 
+int index = 0;
+//修改此文件的中的版本号
 foreach (var var in paths)
 foreach (var var in paths)
 {
 {
+    if (index == 0)
+    {
+        LogHelper.Info("╔═══════════════════════════════════╦═══════════════════════════════╗");
+    }
+    else
+    {
+        LogHelper.Info("╠═══════════════════════════════════╬═══════════════════════════════╣");
+    }
     string ver = $"{DateTime.UtcNow.ToString("yy")}.{DateTime.UtcNow.DayOfYear.ToString("0")}.{DateTime.UtcNow.TimeOfDay.TotalSeconds.ToString("0")}";
     string ver = $"{DateTime.UtcNow.ToString("yy")}.{DateTime.UtcNow.DayOfYear.ToString("0")}.{DateTime.UtcNow.TimeOfDay.TotalSeconds.ToString("0")}";
-    LogHelper.Info($"{var.name} - Ver:{ver}");
+    LogHelper.Info(string.Format("║{0,-10}{1,-20}{2,-5}║{3,-10}{4,-21}║", string.Empty, var.name, string.Empty, string.Empty, ver));
     XmlTool.Update(var.path, xmlPath, string.Empty, ver);
     XmlTool.Update(var.path, xmlPath, string.Empty, ver);
+    index++;
 }
 }
+index = 0;
+LogHelper.Info("╠═══════════════════════════════════╩═══════════════════════════════╣");
+LogHelper.Info(string.Format("║{0,-10}{1}{2,-20}║", string.Empty, "版本更新已完成,正在打包中,请等待...", string.Empty));
+
+
+//执行生成包
+foreach (var item in paths)
+{
+    using (Process process = new Process())
+    {
+        //设置要启动的应用程序
+        process.StartInfo.FileName = "cmd.exe";
+        process.StartInfo.StandardOutputEncoding = Encoding.UTF8;
+        //是否使用操作系统shell启动
+        process.StartInfo.UseShellExecute = false;
+        // 接受来自调用程序的输入信息
+        process.StartInfo.RedirectStandardInput = true;
+        //输出信息
+        process.StartInfo.RedirectStandardOutput = true;
+        // 输出错误
+        process.StartInfo.RedirectStandardError = true;
+        //不显示程序窗口
+        process.StartInfo.CreateNoWindow = true;
+        process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
+        //显示信息
+        process.OutputDataReceived += delegate (object sender, DataReceivedEventArgs e)
+        {
+            //LogHelper.Verbose(e.Data);
+        };
+        //显示异常信息
+        process.ErrorDataReceived += delegate (object sender, DataReceivedEventArgs e)
+        {
+            //LogHelper.Verbose(e.Data);
+        };
+        //启动程序
+        process.Start();
+        //写入命令
+        process.StandardInput.WriteLine($"dotnet pack {item.path} -c Release");
+        process.StandardInput.AutoFlush = true;
+
+        process.BeginErrorReadLine();
+        process.BeginOutputReadLine();
+
+        process.StandardInput.WriteLine("exit");
+
+        //等待程序执行完退出进程
+        process.WaitForExit();
+        process.Close();
+        if (index == 0)
+        {
+            LogHelper.Info("╠═══════════════════════════════════╦═══════════════════════════════╣");
+        }
+        else
+        {
+            LogHelper.Info("╠═══════════════════════════════════╬═══════════════════════════════╣");
+        }
+        LogHelper.Info(string.Format("║{0,-10}{1,-20}{2,-5}║{3,-10}{4,-17}║", string.Empty, item.name, string.Empty, string.Empty, "打包成功"));
+        index++;
+    }
+}
+LogHelper.Info("╚═══════════════════════════════════╩═══════════════════════════════╝");
+
+//包输出路基
+string outPath = Path.Combine(Directory.GetParent(Directory.GetParent(Directory.GetParent(Directory.GetParent(Environment.CurrentDirectory).FullName).FullName).FullName).FullName, "YSAI.Publish\\Release\\AAAAA.NuGet.Pack.Publish.bat");
 
 
-LogHelper.Info("~~~~~~~~~~版本更新完成~~~~~~~~~~");
+//打开文件夹,选中文件
+Process.Start("explorer.exe", $"/select,{outPath}");