From c9c91ad3e3ac218d81c86809c93a35622b51a686 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 17 9月 2025 16:05:05 +0800 Subject: [PATCH] 初步 增加 推送线程 --- DEmon/iWareCc/iWareCc.csproj | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 54 insertions(+), 3 deletions(-) diff --git a/DEmon/iWareCc/iWareCc.csproj b/DEmon/iWareCc/iWareCc.csproj index 31c81e2..62393d7 100644 --- a/DEmon/iWareCc/iWareCc.csproj +++ b/DEmon/iWareCc/iWareCc.csproj @@ -9,10 +9,25 @@ <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>iWareCc</RootNamespace> <AssemblyName>iWareCc</AssemblyName> - <TargetFrameworkVersion>v4.8</TargetFrameworkVersion> + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <NuGetPackageImportStamp>bb4a7afd</NuGetPackageImportStamp> - <TargetFrameworkProfile /> + <IsWebBootstrapper>false</IsWebBootstrapper> + <PublishUrl>C:\Users\Administrator\Desktop\cc\</PublishUrl> + <Install>true</Install> + <InstallFrom>Disk</InstallFrom> + <UpdateEnabled>false</UpdateEnabled> + <UpdateMode>Foreground</UpdateMode> + <UpdateInterval>7</UpdateInterval> + <UpdateIntervalUnits>Days</UpdateIntervalUnits> + <UpdatePeriodically>false</UpdatePeriodically> + <UpdateRequired>false</UpdateRequired> + <MapFileExtensions>true</MapFileExtensions> + <ApplicationRevision>1</ApplicationRevision> + <ApplicationVersion>1.0.0.%2a</ApplicationVersion> + <UseApplicationTrust>false</UseApplicationTrust> + <PublishWizardCompleted>true</PublishWizardCompleted> + <BootstrapperEnabled>true</BootstrapperEnabled> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -33,6 +48,18 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup> + <ManifestCertificateThumbprint>2AA58B38C4B9A0329AA56966E32AA2D70E3A3BEB</ManifestCertificateThumbprint> + </PropertyGroup> + <PropertyGroup> + <ManifestKeyFile>iWareCc_TemporaryKey.pfx</ManifestKeyFile> + </PropertyGroup> + <PropertyGroup> + <GenerateManifests>true</GenerateManifests> + </PropertyGroup> + <PropertyGroup> + <SignManifests>false</SignManifests> </PropertyGroup> <ItemGroup> <Reference Include="Autofac"> @@ -67,6 +94,7 @@ <Reference Include="System.Core" /> <Reference Include="System.Drawing" /> <Reference Include="System.Management" /> + <Reference Include="System.Net.Http" /> <Reference Include="System.Runtime.Serialization" /> <Reference Include="System.ServiceModel" /> <Reference Include="System.Xml.Linq" /> @@ -168,6 +196,12 @@ <Compile Include="Srm\EnumType\ESrmAlarm1.cs" /> <Compile Include="Srm\Strategy\鎺ㄩ�佸爢鍨涙満鍛婅鐘舵��.cs" /> <Compile Include="Srm\Strategy\鎺ㄩ�佸爢鍨涙満鐘舵��.cs" /> + <Compile Include="SystemInteraction\dto\ApiResponse.cs" /> + <Compile Include="SystemInteraction\dto\InboundStockInfoToMes.cs" /> + <Compile Include="SystemInteraction\dto\MesRequest.cs" /> + <Compile Include="SystemInteraction\HTTPService.cs" /> + <Compile Include="SystemInteraction\mesDataTranfficForRealMes.cs" /> + <Compile Include="SystemInteraction\PushMesHandler.cs" /> <Compile Include="Task\Service\TaskService.cs" /> <Compile Include="Util\OPCHelper.cs" /> <Compile Include="Util\SocketClient.cs" /> @@ -190,6 +224,7 @@ <None Include="App.config"> <SubType>Designer</SubType> </None> + <None Include="iWareCc_TemporaryKey.pfx" /> <None Include="Note\WindowsServiceInstall.tt"> <Generator>TextTemplatingFileGenerator</Generator> <LastGenOutput>WindowsServiceInstall.txt</LastGenOutput> @@ -253,7 +288,23 @@ <ItemGroup> <WCFMetadataStorage Include="Service References\OpcWcfService\" /> </ItemGroup> - <ItemGroup /> + <ItemGroup> + <BootstrapperPackage Include=".NETFramework,Version=v4.5"> + <Visible>False</Visible> + <ProductName>Microsoft .NET Framework 4.5 %28x86 鍜� x64%29</ProductName> + <Install>true</Install> + </BootstrapperPackage> + <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> + <Visible>False</Visible> + <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> + <Install>false</Install> + </BootstrapperPackage> + <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> + <Visible>False</Visible> + <ProductName>.NET Framework 3.5 SP1</ProductName> + <Install>false</Install> + </BootstrapperPackage> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. -- Gitblit v1.9.3