From 99df058a665ea04065a23e729ec79a2f23f79881 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期二, 20 五月 2025 16:59:43 +0800
Subject: [PATCH] 优化

---
 WPFProject/WPFProject.csproj |   49 ++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 44 insertions(+), 5 deletions(-)

diff --git a/WPFProject/WPFProject.csproj b/WPFProject/WPFProject.csproj
index 4be10ba..89e92ba 100644
--- a/WPFProject/WPFProject.csproj
+++ b/WPFProject/WPFProject.csproj
@@ -64,7 +64,7 @@
     <Prefer32Bit>true</Prefer32Bit>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
-    <OutputPath>bin\x64\Release\</OutputPath>
+    <OutputPath>bin\x64\HMI\</OutputPath>
     <DefineConstants>TRACE</DefineConstants>
     <Optimize>true</Optimize>
     <DebugType>none</DebugType>
@@ -123,6 +123,7 @@
     <Reference Include="System.Configuration" />
     <Reference Include="System.Data" />
     <Reference Include="System.Drawing" />
+    <Reference Include="System.Management" />
     <Reference Include="System.Web" />
     <Reference Include="System.Web.Extensions" />
     <Reference Include="System.Windows.Forms" />
@@ -275,13 +276,19 @@
       <DependentUpon>Settings.settings</DependentUpon>
       <DesignTimeSharedInput>True</DesignTimeSharedInput>
     </Compile>
+    <Content Include="Api\Api.txt">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
     <Content Include="Config\Put Your Config Here.txt">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Libs\Static\Static Resource.txt">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
     <Content Include="x64\SQLite.Interop.dll">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
-    <Content Include="Libs\SuperSocket.SocketEngine.dll">
+    <Content Include="SuperSocket.SocketEngine.dll">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
     <Resource Include="Icon\b1.jpg" />
@@ -294,7 +301,7 @@
     <Content Include="Icon\JingCeLogo2.png">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
-    <Resource Include="BuildCmd.txt" />
+    <None Include="BuildCmd.bat" />
     <Resource Include="JingCeLogo2.ico" />
     <Resource Include="Icon\t1.png" />
     <Resource Include="Icon\t2.png" />
@@ -382,6 +389,12 @@
     <Content Include="Lang\en-US\LogViewer.json">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
+    <Content Include="Lang\zh-CN\DataBoard.json">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Lang\en-US\DataBoard.json">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
     <None Include="packages.config" />
     <None Include="Properties\app.manifest" />
     <None Include="Properties\Settings.settings">
@@ -433,9 +446,17 @@
       <Project>{de4205c6-5923-46fd-a4b9-65169bf61c75}</Project>
       <Name>HMI.MenuManage</Name>
     </ProjectReference>
+    <ProjectReference Include="..\Plugin.DataBoard\Plugin.DataBoard.csproj">
+      <Project>{be42ab26-3270-43e1-84b8-6929d862ff8d}</Project>
+      <Name>Plugin.DataBoard</Name>
+    </ProjectReference>
     <ProjectReference Include="..\Plugin.DOControl\Plugin.DOControl.csproj">
       <Project>{306a83dc-a7db-4057-baa7-477d8756f5d9}</Project>
       <Name>Plugin.DOControl</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\Plugin.JarUI\Plugin.JarUI.csproj">
+      <Project>{968fe602-22d6-42bd-981c-601ad518a896}</Project>
+      <Name>Plugin.JarUI</Name>
     </ProjectReference>
     <ProjectReference Include="..\Plugin.ServoManage\Plugin.ServoManage.csproj">
       <Project>{1853e00f-6865-4bc6-974b-6a5e1c00bafe}</Project>
@@ -452,6 +473,18 @@
     <ProjectReference Include="..\Plugin.TsExecution\Plugin.TsExecution.csproj">
       <Project>{202d9a7b-96b3-4ad4-9977-fc4263207a02}</Project>
       <Name>Plugin.TsExecution</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\SimpleUtil\HMI.LogUtil\HMI.LogUtil.csproj">
+      <Project>{6d0aab08-0f3e-48ce-b755-9d29bc8f1225}</Project>
+      <Name>HMI.LogUtil</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\SimpleUtil\HMI.SerialData.Util\HMI.SerialData.Util.csproj">
+      <Project>{6735fdb8-b471-41c3-93cb-e8adbd0989f0}</Project>
+      <Name>HMI.SerialData.Util</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\SimpleUtil\HMI.Simple.Util\HMI.Simple.Util.csproj">
+      <Project>{cf5bebe9-2803-49c3-b773-73d082e0984a}</Project>
+      <Name>HMI.Simple.Util</Name>
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>
@@ -477,6 +510,8 @@
     <PostBuildEvent>move /y "$(TargeDir)HMI.Core.dll" $(TargeDir)Libs\HMI.Core.dll"
 move /y "$(TargeDir)HMI.Base.dll" $(TargeDir)Libs\HMI.Base.dll"
 move /y "$(TargeDir)HMI.UI.dll" $(TargeDir)Libs\HMI.UI.dll"
+move /y "$(TargeDir)HMI.Util.dll" $(TargeDir)Libs\HMI.Util.dll"
+move /y "$(TargeDir)ConnectionUtil.dll" $(TargeDir)Libs\ConnectionUtil.dll"
 
 move /y "$(TargeDir)HMI.AlarmInfoManage.dll" $(TargeDir)Plugin\HMI.AlarmInfoManage.dll"
 move /y "$(TargeDir)HMI.DataViewer.dll" $(TargeDir)Plugin\HMI.DataViewer.dll"
@@ -490,6 +525,8 @@
 move /y "$(TargeDir)Plugin.ServoManage.dll" $(TargeDir)Plugin\Plugin.ServoManage.dll"
 move /y "$(TargeDir)Plugin.DOControl.dll" $(TargeDir)Plugin\Plugin.DOControl.dll"
 move /y "$(TargeDir)Plugin.TestBuilder.dll" $(TargeDir)Plugin\Plugin.TestBuilder.dll"
+move /y "$(TargeDir)Plugin.DataBoard.dll" $(TargeDir)Plugin\Plugin.DataBoard.dll"
+move /y "$(TargeDir)Plugin.JarUI.dll" $(TargeDir)Plugin\Plugin.JarUI.dll"
 
 setlocal enabledelayedexpansion
 
@@ -500,7 +537,7 @@
 mkdir "%25destination_folder%25"
 
 for /d %25%25D in ("%25source_folder%25\*") do (
-    if /I not "%25%25~nxD"=="Config" if /I not "%25%25~nxD"=="Icon" if /I not "%25%25~nxD"=="Lang" if /I not "%25%25~nxD"=="Libs" if /I not "%25%25~nxD"=="Log" if /I not "%25%25~nxD"=="Plugin" (
+    if /I not "%25%25~nxD"=="Api" if /I not "%25%25~nxD"=="Config" if /I not "%25%25~nxD"=="Icon" if /I not "%25%25~nxD"=="Lang" if /I not "%25%25~nxD"=="Libs" if /I not "%25%25~nxD"=="Log" if /I not "%25%25~nxD"=="Plugin" if /I not "%25%25~nxD"=="TestPlatform.exe.WebView2" (
         move /Y "%25%25D" "%25destination_folder%25"
     )
 )
@@ -509,7 +546,9 @@
     if /I not "%25%25~nxF"=="$(TargetFileName)" if /I not "%25%25~nxF"=="$(TargetFileName).config" if /I not "%25%25~nxF"=="$(TargetName).pdb" if /I not "%25%25~nxF"=="clear.bat" (
         move /Y "%25%25F" "%25destination_folder%25"
     )
-)</PostBuildEvent>
+)
+
+del /s /q "%25source_folder%25\*.pdb"</PostBuildEvent>
   </PropertyGroup>
   <ProjectExtensions>
     <VisualStudio>

--
Gitblit v1.9.1