修改项目结构

This commit is contained in:
gongxh
2022-03-18 09:23:20 +08:00
parent eceea6f5ba
commit 5b47fd6d1a
19 changed files with 553 additions and 79 deletions

View File

@@ -1,13 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="NX_CLEAR_MAC_20200915Entities" connectionString="metadata=res://*/Entitys.Model1.csdl|res://*/Entitys.Model1.ssdl|res://*/Entitys.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=NX_CLEAR_MAC_20200915;persist security info=True;user id=sa;password=1q2w3e4r!@;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
<add name="CleanMachineHMI.Properties.Settings.NX_CLEAR_MAC_20200915ConnectionString" connectionString="Data Source=.;Initial Catalog=NX_CLEAR_MAC_20200915;Persist Security Info=True;User ID=sa;Password=1q2w3e4r!@" providerName="System.Data.SqlClient"/>
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
@@ -49,16 +42,6 @@
<add key="LastTimeUserCode" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
</providers>
</roleManager>
</system.web>
</configuration>

View File

@@ -1,63 +1,50 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net472</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net472</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<Compile Remove="forms\**" />
<EmbeddedResource Remove="forms\**" />
<None Remove="forms\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="forms\**" />
<EmbeddedResource Remove="forms\**" />
<None Remove="forms\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Krypton.Navigator" Version="5.550.2108.1" />
<PackageReference Include="Krypton.Toolkit" Version="5.550.2108.1" />
<PackageReference Include="NModbus" Version="3.0.66" />
<PackageReference Include="NModbus.Serial" Version="3.0.62" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Krypton.Navigator" Version="60.22.2.32" />
<PackageReference Include="Krypton.Toolkit" Version="60.22.2.32" />
<PackageReference Include="NModbus" Version="3.0.72" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CleanMachine.Control\CleanMachine.Control.csproj" />
<ProjectReference Include="..\CleanMachine.Model\CleanMachine.Model.csproj" />
<ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj" />
<ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj" />
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CleanMachine.Control\CleanMachine.Control.csproj" />
<ProjectReference Include="..\CleanMachine.Model\CleanMachine.Model.csproj" />
<ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj" />
<ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj" />
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="FastReport">
<HintPath>..\public\FastReport.dll</HintPath>
</Reference>
<Reference Include="FastReport.Editor">
<HintPath>..\public\FastReport.Editor.dll</HintPath>
</Reference>
<Reference Include="FastReport.Install">
<HintPath>..\public\FastReport.Install.dll</HintPath>
</Reference>
<Reference Include="FastReport.Service">
<HintPath>..\public\FastReport.Service.dll</HintPath>
</Reference>
<Reference Include="System.Management" />
</ItemGroup>
<ItemGroup>
<Reference Include="ComponentFactory.Krypton.Navigator">
<HintPath>..\public\ComponentFactory.Krypton.Navigator.dll</HintPath>
</Reference>
<Reference Include="ComponentFactory.Krypton.Toolkit">
<HintPath>..\public\ComponentFactory.Krypton.Toolkit.dll</HintPath>
</Reference>
<Reference Include="FastReport">
<HintPath>..\public\FastReport.dll</HintPath>
</Reference>
<Reference Include="System.Management" />
</ItemGroup>
<ItemGroup>
<Folder Include="forms\" />
</ItemGroup>
<ItemGroup>
<None Update="DataBase\clearMac.db">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ReportMd\CleanMac_IRMsg_PrintMd.frd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ReportMd\CleanMac_IRMsg_PrintMd.frx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="DataBase\clearMac.db">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

View File

@@ -1,4 +0,0 @@
[ViewState]
Mode=
Vid=
FolderType=Generic

View File

@@ -1,4 +1,5 @@
namespace CleanMachineHMI
namespace CleanMachineHMI
{
partial class frmLogin
{