From a71757967fbaf9d300c81e7502ff455d4a482564 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期五, 29 十二月 2023 16:57:30 +0800 Subject: [PATCH] 增加csv格式读取 --- WFormSynchronizeData_SMR/WFormReadData_SMR/WFormReadData_SMR.csproj | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --git a/WFormSynchronizeData_SMR/WFormReadData_SMR/WFormReadData_SMR.csproj b/WFormSynchronizeData_SMR/WFormReadData_SMR/WFormReadData_SMR.csproj index 28b2a8c..a0febe3 100644 --- a/WFormSynchronizeData_SMR/WFormReadData_SMR/WFormReadData_SMR.csproj +++ b/WFormSynchronizeData_SMR/WFormReadData_SMR/WFormReadData_SMR.csproj @@ -11,6 +11,21 @@ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <Deterministic>true</Deterministic> + <PublishUrl>publish\</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>0</ApplicationRevision> + <ApplicationVersion>1.0.0.%2a</ApplicationVersion> + <IsWebBootstrapper>false</IsWebBootstrapper> + <UseApplicationTrust>false</UseApplicationTrust> + <BootstrapperEnabled>true</BootstrapperEnabled> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -32,8 +47,12 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> - <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> - <HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath> + <Reference Include="HslCommunication, Version=11.7.0.0, Culture=neutral, PublicKeyToken=3d72ad3b6b5ec0e3, processorArchitecture=MSIL"> + <HintPath>..\packages\HslCommunication.11.7.0\lib\net35\HslCommunication.dll</HintPath> + </Reference> + <Reference Include="Microsoft.VisualBasic" /> + <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Core" /> @@ -49,6 +68,12 @@ </ItemGroup> <ItemGroup> <Compile Include="DBHelper.cs" /> + <Compile Include="ReadCSV.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="ReadCSV.Designer.cs"> + <DependentUpon>ReadCSV.cs</DependentUpon> + </Compile> <Compile Include="ReadyDataForm.cs"> <SubType>Form</SubType> </Compile> @@ -66,6 +91,9 @@ <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> </Compile> + <EmbeddedResource Include="ReadCSV.resx"> + <DependentUpon>ReadCSV.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="ReadyDataForm.resx"> <DependentUpon>ReadyDataForm.cs</DependentUpon> </EmbeddedResource> @@ -83,5 +111,12 @@ <ItemGroup> <None Include="App.config" /> </ItemGroup> + <ItemGroup> + <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" /> </Project> \ No newline at end of file -- Gitblit v1.9.1