This commit is contained in:
gongxh
2022-01-13 10:43:45 +08:00
parent 7321539b72
commit a78a6bd334
66 changed files with 1502 additions and 1676 deletions

View File

@@ -1,60 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <TargetFramework>net48</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6891D010-F826-49C9-A087-2717A264BC16}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>CleanMachine.Control</RootNamespace>
<AssemblyName>CleanMachine.Control</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" /> <Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Include="AnimateBase.cs" /> </Project>
<Compile Include="CircleButton.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="LEaseMode.cs" />
<Compile Include="LEaseType.cs" />
<Compile Include="LEnum.cs" />
<Compile Include="LEventArgs.cs" />
<Compile Include="LSwitchButton.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CleanMachine.Control")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CleanMachine.Control")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("6891d010-f826-49c9-a087-2717a264bc16")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net45</TargetFramework> <TargetFramework>net48</TargetFramework>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@@ -1,99 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <TargetFramework>net48</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F7AF907B-5DDC-469F-956C-08C5FD110448}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CleanMachineHMI.Domain</RootNamespace>
<AssemblyName>CleanMachineHMI.Domain</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="ComponentFactory.Krypton.Toolkit, Version=4.6.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL"> <Folder Include="Properties\" />
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\ComponentFactory.Krypton.Toolkit.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Include="Enums\EnumFormType.cs" /> </Project>
<Compile Include="Enums\EnumOperateType.cs" />
<Compile Include="Models\ViewModels\FormModel.cs" />
<Compile Include="Models\ViewModels\UserInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Models\ConditionModels\" />
<Folder Include="Models\ResultModels\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -1,10 +1,10 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using ComponentFactory.Krypton.Toolkit;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms;
namespace CleanMachineHMI.Domain.Models.ViewModels namespace CleanMachineHMI.Domain.Models.ViewModels
{ {

View File

@@ -1,4 +1,4 @@
using ComponentFactory.Krypton.Toolkit;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

View File

@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CleanMachineHMI.Domain")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CleanMachineHMI.Domain")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("f7af907b-5ddc-469f-956c-08c5fd110448")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148 VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CleanMachineHMI", "CleanMachineHMI\CleanMachineHMI.csproj", "{9CF77369-B471-4476-9F42-779945113EA5}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachineHMI", "CleanMachineHMI\CleanMachineHMI.csproj", "{9CF77369-B471-4476-9F42-779945113EA5}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CleanMachineHMI.Domain", "CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj", "{F7AF907B-5DDC-469F-956C-08C5FD110448}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachineHMI.Domain", "CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj", "{F7AF907B-5DDC-469F-956C-08C5FD110448}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LeadDataBaseUtility", "LeadDataBaseUtility\LeadDataBaseUtility.csproj", "{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LeadDataBaseUtility", "LeadDataBaseUtility\LeadDataBaseUtility.csproj", "{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NX_LogUtility", "NX_LogUtility\NX_LogUtility.csproj", "{925057D8-7EE8-42ED-8AA0-628AF82F10B2}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NX_LogUtility", "NX_LogUtility\NX_LogUtility.csproj", "{925057D8-7EE8-42ED-8AA0-628AF82F10B2}"
EndProject EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CleanMachineSoftware_Setup", "CleanMachineSoftware_Setup\CleanMachineSoftware_Setup.vdproj", "{497A7E73-E2E8-4134-93CA-8F6A5B72D992}" Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CleanMachineSoftware_Setup", "CleanMachineSoftware_Setup\CleanMachineSoftware_Setup.vdproj", "{497A7E73-E2E8-4134-93CA-8F6A5B72D992}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CleanMachine.Control", "CleanMachine.Control\CleanMachine.Control.csproj", "{6891D010-F826-49C9-A087-2717A264BC16}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachine.Control", "CleanMachine.Control\CleanMachine.Control.csproj", "{6891D010-F826-49C9-A087-2717A264BC16}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachine.Model", "CleanMachine.Model\CleanMachine.Model.csproj", "{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CleanMachine.Model", "CleanMachine.Model\CleanMachine.Model.csproj", "{BC0DA19C-0C89-4D3D-9DEE-1673D465A688}"
EndProject EndProject
@@ -29,58 +29,52 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU {9CF77369-B471-4476-9F42-779945113EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.ActiveCfg = Debug|x64 {9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.ActiveCfg = Debug|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.Build.0 = Debug|x64 {9CF77369-B471-4476-9F42-779945113EA5}.Debug|x64.Build.0 = Debug|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.ActiveCfg = Debug|x86 {9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.ActiveCfg = Debug|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.Build.0 = Debug|x86 {9CF77369-B471-4476-9F42-779945113EA5}.Debug|x86.Build.0 = Debug|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.ActiveCfg = Release|Any CPU {9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.Build.0 = Release|Any CPU {9CF77369-B471-4476-9F42-779945113EA5}.Release|Any CPU.Build.0 = Release|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.ActiveCfg = Release|Any CPU {9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.ActiveCfg = Release|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.Build.0 = Release|Any CPU {9CF77369-B471-4476-9F42-779945113EA5}.Release|x64.Build.0 = Release|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.ActiveCfg = Release|x86 {9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.ActiveCfg = Release|Any CPU
{9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.Build.0 = Release|x86 {9CF77369-B471-4476-9F42-779945113EA5}.Release|x86.Build.0 = Release|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.Build.0 = Debug|Any CPU {F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.ActiveCfg = Debug|x64 {F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.ActiveCfg = Debug|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.Build.0 = Debug|x64 {F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x64.Build.0 = Debug|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.ActiveCfg = Debug|x86 {F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.ActiveCfg = Debug|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.Build.0 = Debug|x86 {F7AF907B-5DDC-469F-956C-08C5FD110448}.Debug|x86.Build.0 = Debug|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.ActiveCfg = Release|Any CPU {F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.Build.0 = Release|Any CPU {F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|Any CPU.Build.0 = Release|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.ActiveCfg = Release|Any CPU {F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.ActiveCfg = Release|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.Build.0 = Release|Any CPU {F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x64.Build.0 = Release|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.ActiveCfg = Release|x86 {F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.ActiveCfg = Release|Any CPU
{F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.Build.0 = Release|x86 {F7AF907B-5DDC-469F-956C-08C5FD110448}.Release|x86.Build.0 = Release|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.ActiveCfg = Debug|x64 {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.ActiveCfg = Debug|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.Build.0 = Debug|x64 {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x64.Build.0 = Debug|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.ActiveCfg = Debug|x86 {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.ActiveCfg = Debug|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.Build.0 = Debug|x86 {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Debug|x86.Build.0 = Debug|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.Build.0 = Release|Any CPU {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|Any CPU.Build.0 = Release|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.ActiveCfg = Release|Any CPU {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.ActiveCfg = Release|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.Build.0 = Release|Any CPU {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x64.Build.0 = Release|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.ActiveCfg = Release|x86 {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.ActiveCfg = Release|Any CPU
{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.Build.0 = Release|x86 {824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}.Release|x86.Build.0 = Release|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.Build.0 = Debug|Any CPU {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.ActiveCfg = Debug|x64 {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.ActiveCfg = Debug|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.Build.0 = Debug|x64 {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x64.Build.0 = Debug|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.ActiveCfg = Debug|x86 {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.ActiveCfg = Debug|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.Build.0 = Debug|x86 {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Debug|x86.Build.0 = Debug|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.ActiveCfg = Release|Any CPU {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.Build.0 = Release|Any CPU {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|Any CPU.Build.0 = Release|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.ActiveCfg = Release|Any CPU {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.ActiveCfg = Release|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.Build.0 = Release|Any CPU {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x64.Build.0 = Release|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.ActiveCfg = Release|x86 {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.ActiveCfg = Release|Any CPU
{925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.Build.0 = Release|x86 {925057D8-7EE8-42ED-8AA0-628AF82F10B2}.Release|x86.Build.0 = Release|Any CPU
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Debug|Any CPU.ActiveCfg = Debug
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Debug|x64.ActiveCfg = Debug
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Debug|x86.ActiveCfg = Debug
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Release|Any CPU.ActiveCfg = Release
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Release|x64.ActiveCfg = Release
{497A7E73-E2E8-4134-93CA-8F6A5B72D992}.Release|x86.ActiveCfg = Release
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6891D010-F826-49C9-A087-2717A264BC16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|Any CPU.Build.0 = Debug|Any CPU {6891D010-F826-49C9-A087-2717A264BC16}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6891D010-F826-49C9-A087-2717A264BC16}.Debug|x64.ActiveCfg = Debug|Any CPU {6891D010-F826-49C9-A087-2717A264BC16}.Debug|x64.ActiveCfg = Debug|Any CPU

View File

@@ -2,63 +2,63 @@
<configuration> <configuration>
<configSections> <configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <!-- 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" /> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections> </configSections>
<connectionStrings> <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="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" /> <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> </connectionStrings>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup> </startup>
<appSettings> <appSettings>
<add key="GlobalPaletteMode" value="Professionaloffice2003" /> <add key="GlobalPaletteMode" value="Professionaloffice2003"/>
<!--<add key="LanguageCode" value="Chinese"/>--> <!--<add key="LanguageCode" value="Chinese"/>-->
<add key="LanguageCode" value="English" /> <add key="LanguageCode" value="English"/>
<add key="sqlmapConfigPath" value="Config/sqlmap.config" /> <add key="sqlmapConfigPath" value="Config/sqlmap.config"/>
<!--MySql数据库连接字符串--> <!--MySql数据库连接字符串-->
<add key="LeadMySql" value="Data Source = localhost; Port=3306;Initial Catalog = testasrs; Persist Security Info=True;User ID = root; Password=sa1234567;" /> <add key="LeadMySql" value="Data Source = localhost; Port=3306;Initial Catalog = testasrs; Persist Security Info=True;User ID = root; Password=sa1234567;"/>
<!--SqlServer数据库连接字符串--> <!--SqlServer数据库连接字符串-->
<add key="LeadSqlServer" value="Data Source =localhost;Initial Catalog =NX_CLEAR_MAC;User Id = sa;Password =syl.syl503601;" /> <add key="LeadSqlServer" value="Data Source =localhost;Initial Catalog =NX_CLEAR_MAC;User Id = sa;Password =syl.syl503601;"/>
<!--Oracle数据库连接字符串--> <!--Oracle数据库连接字符串-->
<add key="LeadOracle" value="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL)));User Id=LEADASRS; Password=LEADASRS;" /> <add key="LeadOracle" value="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL)));User Id=LEADASRS; Password=LEADASRS;"/>
<!--SQLite数据库连接字符串--> <!--SQLite数据库连接字符串-->
<!--<add key="LeadSQLite" value="Data Source=|DataDirectory|\\clearMac.db;Pooling=true;FailIfMissing=false"/>--> <!--<add key="LeadSQLite" value="Data Source=|DataDirectory|\\clearMac.db;Pooling=true;FailIfMissing=false"/>-->
<add key="LeadSQLite" value="Data Source=DataBase/clearMac.db" /> <add key="LeadSQLite" value="Data Source=DataBase/clearMac.db"/>
<!--串口名称--> <!--串口名称-->
<add key="PortName" value="COM3" /> <add key="PortName" value="COM3"/>
<!--串口波特率--> <!--串口波特率-->
<add key="BaudRate" value="9600" /> <add key="BaudRate" value="9600"/>
<!--串口数据位--> <!--串口数据位-->
<add key="DataBits" value="8" /> <add key="DataBits" value="8"/>
<!--停止位。 0:不使用停止位;1:使用一个停止位;2:使用两个停止位;3:使用 1.5 个停止位。--> <!--停止位。 0:不使用停止位;1:使用一个停止位;2:使用两个停止位;3:使用 1.5 个停止位。-->
<add key="StopBits" value="1" /> <add key="StopBits" value="1"/>
<!--奇偶校验。0:无校验;1:奇校验;2:偶校验;--> <!--奇偶校验。0:无校验;1:奇校验;2:偶校验;-->
<add key="ParityMsg" value="2" /> <add key="ParityMsg" value="2"/>
<!--托盘序列号前缀--> <!--托盘序列号前缀-->
<add key="PalletIndexPrefix" value="Pallet" /> <add key="PalletIndexPrefix" value="Pallet"/>
<!--托盘序列号生成日期--> <!--托盘序列号生成日期-->
<add key="PalletIndexDateMsg" value="20201107" /> <add key="PalletIndexDateMsg" value="20201107"/>
<!--托盘序列号长度--> <!--托盘序列号长度-->
<add key="PalletIndexLen" value="6" /> <add key="PalletIndexLen" value="6"/>
<!--当前托盘序列号值--> <!--当前托盘序列号值-->
<add key="PalletIndexValue" value="1" /> <add key="PalletIndexValue" value="1"/>
<!--记录上一次登录用户名--> <!--记录上一次登录用户名-->
<add key="LastTimeUserCode" value="" /> <add key="LastTimeUserCode" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value="" /> <add key="ClientSettingsProvider.ServiceUri" value=""/>
</appSettings> </appSettings>
<system.web> <system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider"> <membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers> <providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" /> <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
</providers> </providers>
</membership> </membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true"> <roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers> <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" /> <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> </providers>
</roleManager> </roleManager>
</system.web> </system.web>
</configuration> </configuration>

View File

@@ -1,636 +1,40 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <OutputType>WinExe</OutputType>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <TargetFramework>net48</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9CF77369-B471-4476-9F42-779945113EA5}</ProjectGuid> <UseWindowsForms>true</UseWindowsForms>
<OutputType>WinExe</OutputType> </PropertyGroup>
<RootNamespace>CleanMachineHMI</RootNamespace>
<AssemblyName>CleanMachineHMI</AssemblyName> <ItemGroup>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <PackageReference Include="Krypton.Navigator" Version="6.2201.4" />
<FileAlignment>512</FileAlignment> <PackageReference Include="Krypton.Toolkit" Version="6.2201.4" />
<Deterministic>true</Deterministic> <PackageReference Include="NModbus" Version="3.0.66" />
<TargetFrameworkProfile /> <PackageReference Include="NModbus.Serial" Version="3.0.62" />
<PublishUrl>publish\</PublishUrl> </ItemGroup>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom> <ItemGroup>
<UpdateEnabled>false</UpdateEnabled> <ProjectReference Include="..\CleanMachine.Control\CleanMachine.Control.csproj" />
<UpdateMode>Foreground</UpdateMode> <ProjectReference Include="..\CleanMachine.Model\CleanMachine.Model.csproj" />
<UpdateInterval>7</UpdateInterval> <ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj" />
<UpdateIntervalUnits>Days</UpdateIntervalUnits> <ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj" />
<UpdatePeriodically>false</UpdatePeriodically> <ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj" />
<UpdateRequired>false</UpdateRequired> </ItemGroup>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision> <ItemGroup>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> <Reference Include="FastReport">
<IsWebBootstrapper>false</IsWebBootstrapper> <HintPath>..\public\FastReport.dll</HintPath>
<UseApplicationTrust>false</UseApplicationTrust> </Reference>
<BootstrapperEnabled>true</BootstrapperEnabled> <Reference Include="FastReport.Editor">
</PropertyGroup> <HintPath>..\public\FastReport.Editor.dll</HintPath>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> </Reference>
<PlatformTarget>AnyCPU</PlatformTarget> <Reference Include="FastReport.Install">
<DebugSymbols>true</DebugSymbols> <HintPath>..\public\FastReport.Install.dll</HintPath>
<DebugType>full</DebugType> </Reference>
<Optimize>false</Optimize> <Reference Include="FastReport.Service">
<OutputPath>bin\Debug\</OutputPath> <HintPath>..\public\FastReport.Service.dll</HintPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> </Reference>
<ErrorReport>prompt</ErrorReport> </ItemGroup>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\cleaner_128px_1238161_easyicon.net.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="FastReport, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\FastReport.dll</HintPath>
</Reference>
<Reference Include="FastReport.Bars, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\FastReport.Bars.dll</HintPath>
</Reference>
<Reference Include="FastReport.Editor, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\FastReport.Editor.dll</HintPath>
</Reference>
<Reference Include="FastReport.Install, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\FastReport.Install.dll</HintPath>
</Reference>
<Reference Include="FastReport.Service, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\FastReport.Service.dll</HintPath>
</Reference>
<Reference Include="FastReport.Web, Version=2014.4.8.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\FastReport.Web.dll</HintPath>
</Reference>
<Reference Include="Krypton.Navigator, Version=5.550.2108.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Krypton.Navigator.5.550.2108.1\lib\net45\Krypton.Navigator.dll</HintPath>
</Reference>
<Reference Include="Krypton.Toolkit, Version=5.550.2108.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Krypton.Toolkit.5.550.2108.1\lib\net45\Krypton.Toolkit.dll</HintPath>
</Reference>
<Reference Include="NModbus4, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NModbus4.2.1.0\lib\net40\NModbus4.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="frmChild\frmPopupWarningMsg.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmPopupWarningMsg.Designer.cs">
<DependentUpon>frmPopupWarningMsg.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmSwitchRunDirection.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmSwitchRunDirection.Designer.cs">
<DependentUpon>frmSwitchRunDirection.cs</DependentUpon>
</Compile>
<Compile Include="frmIoMonitorNew.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmIoMonitorNew.Designer.cs">
<DependentUpon>frmIoMonitorNew.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmMainDetail.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmMainDetail.Designer.cs">
<DependentUpon>frmMainDetail.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmMaintenance.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmMaintenance.Designer.cs">
<DependentUpon>frmMaintenance.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmMechineCheck.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmMechineCheck.Designer.cs">
<DependentUpon>frmMechineCheck.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmPrinterMain.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmPrinterMain.Designer.cs">
<DependentUpon>frmPrinterMain.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmPlcItemConfig.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmPlcItemConfig.Designer.cs">
<DependentUpon>frmPlcItemConfig.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmPlcAlarmLog.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmPlcAlarmLog.Designer.cs">
<DependentUpon>frmPlcAlarmLog.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmManual.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmManual.Designer.cs">
<DependentUpon>frmManual.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmIOMonitor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmIOMonitor.Designer.cs">
<DependentUpon>frmIOMonitor.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmCurrWorkingIrMsg.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmCurrWorkingIrMsg.Designer.cs">
<DependentUpon>frmCurrWorkingIrMsg.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmCleanMode.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmCleanMode.Designer.cs">
<DependentUpon>frmCleanMode.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmContaminationDTL.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmContaminationDTL.Designer.cs">
<DependentUpon>frmContaminationDTL.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmContaminationType.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmContaminationType.Designer.cs">
<DependentUpon>frmContaminationType.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\frmParamater.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\frmParamater.Designer.cs">
<DependentUpon>frmParamater.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmRole.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmRole.Designer.cs">
<DependentUpon>frmRole.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmSheetType.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmSheetType.Designer.cs">
<DependentUpon>frmSheetType.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmUser.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmUser.Designer.cs">
<DependentUpon>frmUser.cs</DependentUpon>
</Compile>
<Compile Include="FrmUserControl\Base\frmWarning.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="FrmUserControl\Base\frmWarning.Designer.cs">
<DependentUpon>frmWarning.cs</DependentUpon>
</Compile>
<Compile Include="ListItem.cs" />
<Compile Include="Utils\GlobalHelper.cs" />
<Compile Include="Model\BasCleanTypeMsg.cs" />
<Compile Include="Model\BasPlcItemMd.cs" />
<Compile Include="Model\Bas_WarningMd.cs" />
<Compile Include="frmSysExitAlarm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmSysExitAlarm.Designer.cs">
<DependentUpon>frmSysExitAlarm.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddRole.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddRole.Designer.cs">
<DependentUpon>frmAddRole.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditRole.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditRole.Designer.cs">
<DependentUpon>frmEditRole.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditWorkingPalletData.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditWorkingPalletData.Designer.cs">
<DependentUpon>frmEditWorkingPalletData.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmSetRoleMenuPermission.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmSetRoleMenuPermission.Designer.cs">
<DependentUpon>frmSetRoleMenuPermission.cs</DependentUpon>
</Compile>
<Compile Include="frmBase.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmBase.Designer.cs">
<DependentUpon>frmBase.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddCleanCode.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddCleanCode.Designer.cs">
<DependentUpon>frmAddCleanCode.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditCleanCode.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditCleanCode.Designer.cs">
<DependentUpon>frmEditCleanCode.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddContaminationType.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddContaminationType.Designer.cs">
<DependentUpon>frmAddContaminationType.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditContaminationType.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditContaminationType.Designer.cs">
<DependentUpon>frmEditContaminationType.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddContaminationDtl.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddContaminationDtl.Designer.cs">
<DependentUpon>frmAddContaminationDtl.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditContaminationDtl.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditContaminationDtl.Designer.cs">
<DependentUpon>frmEditContaminationDtl.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddWaringMsg.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddWaringMsg.Designer.cs">
<DependentUpon>frmAddWaringMsg.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditParamater.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditParamater.Designer.cs">
<DependentUpon>frmEditParamater.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditWaringMsg.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditWaringMsg.Designer.cs">
<DependentUpon>frmEditWaringMsg.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddSheetType.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddSheetType.Designer.cs">
<DependentUpon>frmAddSheetType.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditSheetType.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditSheetType.Designer.cs">
<DependentUpon>frmEditSheetType.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditUser.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditUser.Designer.cs">
<DependentUpon>frmEditUser.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddPlcItem.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddPlcItem.Designer.cs">
<DependentUpon>frmAddPlcItem.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmAddUser.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmAddUser.Designer.cs">
<DependentUpon>frmAddUser.cs</DependentUpon>
</Compile>
<Compile Include="frmChild\frmEditPlcItem.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmChild\frmEditPlcItem.Designer.cs">
<DependentUpon>frmEditPlcItem.cs</DependentUpon>
</Compile>
<Compile Include="frmIOMonitor_Old.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmIOMonitor_Old.Designer.cs">
<DependentUpon>frmIOMonitor_Old.cs</DependentUpon>
</Compile>
<Compile Include="frmLogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmLogin.Designer.cs">
<DependentUpon>frmLogin.cs</DependentUpon>
</Compile>
<Compile Include="frmMainNew.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmMainNew.Designer.cs">
<DependentUpon>frmMainNew.cs</DependentUpon>
</Compile>
<Compile Include="Utils\KeyboardTextBox.cs" />
<Compile Include="Utils\KeyboardTextBox.Designer.cs">
<DependentUpon>KeyboardTextBox.cs</DependentUpon>
</Compile>
<Compile Include="Utils\PlcOperationHelper.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utils\KeyboardAutoPopUp.cs" />
<Compile Include="Utils\AppConfigHelper.cs" />
<Compile Include="Utils\FormTypeAttribute.cs" />
<Compile Include="Utils\frmUtil.cs" />
<EmbeddedResource Include="frmChild\frmPopupWarningMsg.resx">
<DependentUpon>frmPopupWarningMsg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmSwitchRunDirection.resx">
<DependentUpon>frmSwitchRunDirection.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmIoMonitorNew.resx">
<DependentUpon>frmIoMonitorNew.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmSysExitAlarm.resx">
<DependentUpon>frmSysExitAlarm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddRole.resx">
<DependentUpon>frmAddRole.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditRole.resx">
<DependentUpon>frmEditRole.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditWorkingPalletData.resx">
<DependentUpon>frmEditWorkingPalletData.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmSetRoleMenuPermission.resx">
<DependentUpon>frmSetRoleMenuPermission.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddCleanCode.resx">
<DependentUpon>frmAddCleanCode.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddContaminationDtl.resx">
<DependentUpon>frmAddContaminationDtl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddContaminationType.resx">
<DependentUpon>frmAddContaminationType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddWaringMsg.resx">
<DependentUpon>frmAddWaringMsg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditCleanCode.resx">
<DependentUpon>frmEditCleanCode.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditContaminationDtl.resx">
<DependentUpon>frmEditContaminationDtl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditContaminationType.resx">
<DependentUpon>frmEditContaminationType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditParamater.resx">
<DependentUpon>frmEditParamater.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditWaringMsg.resx">
<DependentUpon>frmEditWaringMsg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddSheetType.resx">
<DependentUpon>frmAddSheetType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddUser.resx">
<DependentUpon>frmAddUser.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditSheetType.resx">
<DependentUpon>frmEditSheetType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditUser.resx">
<DependentUpon>frmEditUser.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmIOMonitor_Old.resx">
<DependentUpon>frmIOMonitor_Old.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmLogin.resx">
<DependentUpon>frmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmMainNew.resx">
<DependentUpon>frmMainNew.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmBase.resx">
<DependentUpon>frmBase.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmAddPlcItem.resx">
<DependentUpon>frmAddPlcItem.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmChild\frmEditPlcItem.resx">
<DependentUpon>frmEditPlcItem.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmCleanMode.resx">
<DependentUpon>frmCleanMode.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmContaminationDTL.resx">
<DependentUpon>frmContaminationDTL.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmContaminationType.resx">
<DependentUpon>frmContaminationType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmRole.resx">
<DependentUpon>frmRole.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmSheetType.resx">
<DependentUpon>frmSheetType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmUser.resx">
<DependentUpon>frmUser.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\Base\frmWarning.resx">
<DependentUpon>frmWarning.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmCurrWorkingIrMsg.resx">
<DependentUpon>frmCurrWorkingIrMsg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmIOMonitor.resx">
<DependentUpon>frmIOMonitor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmMainDetail.resx">
<DependentUpon>frmMainDetail.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmMaintenance.resx">
<DependentUpon>frmMaintenance.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmManual.resx">
<DependentUpon>frmManual.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmMechineCheck.resx">
<DependentUpon>frmMechineCheck.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmParamater.resx">
<DependentUpon>frmParamater.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmPlcAlarmLog.resx">
<DependentUpon>frmPlcAlarmLog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmPlcItemConfig.resx">
<DependentUpon>frmPlcItemConfig.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmUserControl\frmPrinterMain.resx">
<DependentUpon>frmPrinterMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="App.config" />
<None Include="DataBase\clearMac.db">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="ReportMd\CleanMac_IRMsg_PrintMd.frd">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="ReportMd\CleanMac_IRMsg_PrintMd.frx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="Resources\cleaner_128px_1238161_easyicon.net.ico" />
<Content Include="Resources\cleaning_spray.ico" />
<Content Include="Resources\favicon.ico" />
<Content Include="Resources\add.png" />
<Content Include="Resources\conn.png" />
<None Include="Resources\上升.png" />
<None Include="Resources\下降.png" />
<None Include="Resources\下降_1.png" />
<None Include="Resources\上升_1.png" />
<Content Include="Resources\客情维护.png" />
<Content Include="Resources\报警 %281%29.png" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CleanMachine.Control\CleanMachine.Control.csproj">
<Project>{6891d010-f826-49c9-a087-2717a264bc16}</Project>
<Name>CleanMachine.Control</Name>
</ProjectReference>
<ProjectReference Include="..\CleanMachine.Model\CleanMachine.Model.csproj">
<Project>{bc0da19c-0c89-4d3d-9dee-1673d465a688}</Project>
<Name>CleanMachine.Model</Name>
</ProjectReference>
<ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj">
<Project>{f7af907b-5ddc-469f-956c-08c5fd110448}</Project>
<Name>CleanMachineHMI.Domain</Name>
</ProjectReference>
<ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj">
<Project>{824348a6-ffff-4c1b-bbf5-8b507a8c8ce5}</Project>
<Name>LeadDataBaseUtility</Name>
</ProjectReference>
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj">
<Project>{925057d8-7ee8-42ed-8aa0-628af82f10b2}</Project>
<Name>NX_LogUtility</Name>
</ProjectReference>
</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> </Project>

View File

@@ -0,0 +1,44 @@
namespace CleanMachineHMI.FrmUserControl.Base
{
partial class UserControl1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// UserControl1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Name = "UserControl1";
this.ResumeLayout(false);
}
#endregion
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CleanMachineHMI.FrmUserControl.Base
{
public partial class UserControl1 : UserControl
{
public UserControl1()
{
InitializeComponent();
}
}
}

View File

@@ -1,7 +1,7 @@
namespace CleanMachineHMI.FrmUserControl namespace CleanMachineHMI.FrmUserControl
{ {
partial class frmCleanMode public partial class frmCleanMode
{ {
/// <summary> /// <summary>
/// 必需的设计器变量。 /// 必需的设计器变量。

View File

@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CleanMachineHMI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CleanMachineHMI")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("9cf77369-b471-4476-9f42-779945113ea5")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.35")]
[assembly: AssemblyFileVersion("1.0.0.35")]

View File

@@ -19,7 +19,7 @@ namespace CleanMachineHMI.Properties {
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。 // (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources { internal class Resources {

View File

@@ -12,7 +12,7 @@ namespace CleanMachineHMI.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.7.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.3.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));

View File

@@ -2,7 +2,8 @@
using CleanMachine.Model; using CleanMachine.Model;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using Modbus.Device;
using NModbus;
using NX_LogUtility; using NX_LogUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -67,6 +68,7 @@ namespace CleanMachineHMI
set { this._isConn = value; } set { this._isConn = value; }
} }
private static IModbusMaster master; private static IModbusMaster master;
//NModbus.IO.IStreamResource port;
#if USE_LOCAL_TCP_DEBUG #if USE_LOCAL_TCP_DEBUG
private static System.Net.Sockets.TcpClient port; private static System.Net.Sockets.TcpClient port;
#else #else
@@ -88,23 +90,29 @@ namespace CleanMachineHMI
int modbusPattern = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ModbusPattern'")[0]["PARAMETER_VALUE"]); int modbusPattern = Convert.ToInt32(GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'ModbusPattern'")[0]["PARAMETER_VALUE"]);
#if USE_LOCAL_TCP_DEBUG #if USE_LOCAL_TCP_DEBUG
port = new System.Net.Sockets.TcpClient(); port = new System.Net.Sockets.TcpClient();
var adaptet = new NModbus.IO.TcpClientAdapter(port);
#else #else
port = new SerialPort(portname, baudrate, paritymsg, databits, stopbis); var SerialPort=new SerialPort(portname, baudrate, paritymsg, databits, stopbis);
port = new NModbus.Serial.SerialPortAdapter(SerialPort);
#endif #endif
var factory = new ModbusFactory();
if (modbusPattern == 0) if (modbusPattern == 0)
{ {
master = ModbusSerialMaster.CreateRtu(port);
master = factory.CreateRtuMaster(adaptet);
} }
else else
{ {
master = ModbusSerialMaster.CreateAscii(port); master = factory.CreateAsciiMaster(adaptet);
} }
#if USE_LOCAL_TCP_DEBUG #if USE_LOCAL_TCP_DEBUG
port.Connect("127.0.0.1", 5002); port.Connect("127.0.0.1", 5002);
this._isConn = true; this._isConn = true;
#else #else
port.Open();
SerialPort.Open();
#endif #endif
return true; return true;
@@ -826,19 +834,19 @@ namespace CleanMachineHMI
#if USE_LOCAL_TCP_DEBUG #if USE_LOCAL_TCP_DEBUG
#else #else
if (DateTime.Now > HeartbeatTime.AddSeconds(5))//心跳超时 if (DateTime.Now > HeartbeatTime.AddSeconds(5))//心跳超时
{ {
isConn = false; isConn = false;
//报警处理。 //报警处理。
frmMainNew.Show_Plc_Alarm("PLC heartbeat data is abnormal, PLC loses connection!"); frmMainNew.Show_Plc_Alarm("PLC heartbeat data is abnormal, PLC loses connection!");
if (ReConnNum % 5 == 0) if (ReConnNum % 5 == 0)
{ {
ClosePlcConn(); ClosePlcConn();
PlcInit(); PlcInit();
} }
ReConnNum++; ReConnNum++;
} }
#endif #endif
} }
catch catch

View File

@@ -28,25 +28,25 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.ktb_CleanModeCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_CleanModeCode = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.ktb_CleanModeName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_CleanModeName = new Krypton.Toolkit.KryptonTextBox();
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
this.kryptonGroupBox1.Panel.SuspendLayout(); this.kryptonGroupBox1.Panel.SuspendLayout();
@@ -274,7 +274,7 @@
// //
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox2.CaptionOverlap = 0D; this.kryptonGroupBox2.CaptionOverlap = 0D;
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131); this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
this.kryptonGroupBox2.Name = "kryptonGroupBox2"; this.kryptonGroupBox2.Name = "kryptonGroupBox2";
@@ -295,7 +295,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -334,24 +334,24 @@
} }
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1; private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_CleanModeCode; private Krypton.Toolkit.KryptonTextBox ktb_CleanModeCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_CleanModeName; private Krypton.Toolkit.KryptonTextBox ktb_CleanModeName;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -28,27 +28,27 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.ktb_ContaminationDtlMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_ContaminationDtlMsg = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.kcmb_ContaminationType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kcmb_ContaminationType = new Krypton.Toolkit.KryptonComboBox();
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
this.kryptonGroupBox1.Panel.SuspendLayout(); this.kryptonGroupBox1.Panel.SuspendLayout();
@@ -282,7 +282,7 @@
// //
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox2.CaptionOverlap = 0D; this.kryptonGroupBox2.CaptionOverlap = 0D;
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131); this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 131);
this.kryptonGroupBox2.Name = "kryptonGroupBox2"; this.kryptonGroupBox2.Name = "kryptonGroupBox2";
@@ -303,7 +303,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -365,26 +365,26 @@
} }
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2; private Krypton.Toolkit.KryptonPanel kryptonPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1; private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3; private Krypton.Toolkit.KryptonPanel kryptonPanel3;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ContaminationDtlMsg; private Krypton.Toolkit.KryptonTextBox ktb_ContaminationDtlMsg;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_ContaminationType; private Krypton.Toolkit.KryptonComboBox kcmb_ContaminationType;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -11,7 +11,7 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web.UI.WebControls;
using System.Windows.Forms; using System.Windows.Forms;
namespace CleanMachineHMI.forms namespace CleanMachineHMI.forms

View File

@@ -28,27 +28,27 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.ktb_ContaminationTypeMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_ContaminationTypeMsg = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.kcmb_CleanMode = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kcmb_CleanMode = new Krypton.Toolkit.KryptonComboBox();
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
this.kryptonPanel3.SuspendLayout(); this.kryptonPanel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
@@ -92,7 +92,7 @@
// //
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox2.CaptionOverlap = 0D; this.kryptonGroupBox2.CaptionOverlap = 0D;
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129); this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
this.kryptonGroupBox2.Name = "kryptonGroupBox2"; this.kryptonGroupBox2.Name = "kryptonGroupBox2";
@@ -113,7 +113,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -365,26 +365,26 @@
} }
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3; private Krypton.Toolkit.KryptonPanel kryptonPanel3;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1; private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2; private Krypton.Toolkit.KryptonPanel kryptonPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ContaminationTypeMsg; private Krypton.Toolkit.KryptonTextBox ktb_ContaminationTypeMsg;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_CleanMode; private Krypton.Toolkit.KryptonComboBox kcmb_CleanMode;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -11,7 +11,7 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web.UI.WebControls;
using System.Windows.Forms; using System.Windows.Forms;
namespace CleanMachineHMI.forms namespace CleanMachineHMI.forms

View File

@@ -28,9 +28,9 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.btnWork = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnWork = new Krypton.Toolkit.KryptonButton();
this.navigatorMain = new ComponentFactory.Krypton.Navigator.KryptonNavigator(); this.navigatorMain = new Krypton.Navigator.KryptonNavigator();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
this.kryptonPanel1.SuspendLayout(); this.kryptonPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.navigatorMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navigatorMain)).BeginInit();
@@ -59,16 +59,16 @@
// //
// navigatorMain // navigatorMain
// //
this.navigatorMain.Bar.ItemAlignment = ComponentFactory.Krypton.Toolkit.RelativePositionAlign.Center; this.navigatorMain.Bar.ItemAlignment = Krypton.Toolkit.RelativePositionAlign.Center;
this.navigatorMain.Bar.ItemSizing = ComponentFactory.Krypton.Navigator.BarItemSizing.Individual; this.navigatorMain.Bar.ItemSizing = Krypton.Navigator.BarItemSizing.Individual;
this.navigatorMain.Button.ButtonDisplayLogic = ComponentFactory.Krypton.Navigator.ButtonDisplayLogic.None; this.navigatorMain.Button.ButtonDisplayLogic = Krypton.Navigator.ButtonDisplayLogic.None;
this.navigatorMain.Button.CloseButtonAction = ComponentFactory.Krypton.Navigator.CloseButtonAction.None; this.navigatorMain.Button.CloseButtonAction = Krypton.Navigator.CloseButtonAction.None;
this.navigatorMain.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide; this.navigatorMain.Button.CloseButtonDisplay = Krypton.Navigator.ButtonDisplay.Hide;
this.navigatorMain.Dock = System.Windows.Forms.DockStyle.Fill; this.navigatorMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.navigatorMain.Location = new System.Drawing.Point(321, 0); this.navigatorMain.Location = new System.Drawing.Point(321, 0);
this.navigatorMain.Name = "navigatorMain"; this.navigatorMain.Name = "navigatorMain";
this.navigatorMain.NavigatorMode = ComponentFactory.Krypton.Navigator.NavigatorMode.Group; this.navigatorMain.NavigatorMode = Krypton.Navigator.NavigatorMode.Group;
this.navigatorMain.PageBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient; this.navigatorMain.PageBackStyle = Krypton.Toolkit.PaletteBackStyle.PanelClient;
this.navigatorMain.Size = new System.Drawing.Size(837, 715); this.navigatorMain.Size = new System.Drawing.Size(837, 715);
this.navigatorMain.TabIndex = 6; this.navigatorMain.TabIndex = 6;
this.navigatorMain.Text = "kryptonNavigator1"; this.navigatorMain.Text = "kryptonNavigator1";
@@ -93,8 +93,8 @@
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1; private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnWork; private Krypton.Toolkit.KryptonButton btnWork;
public ComponentFactory.Krypton.Navigator.KryptonNavigator navigatorMain; public Krypton.Navigator.KryptonNavigator navigatorMain;
} }
} }

View File

@@ -1,5 +1,5 @@
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;

View File

@@ -28,23 +28,23 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.ktb_ParamaterCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_ParamaterCode = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.ktb_ParamaterName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_ParamaterName = new Krypton.Toolkit.KryptonTextBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonGroupBox3 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox4 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
@@ -224,7 +224,7 @@
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -239,7 +239,7 @@
// //
this.kryptonGroupBox3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox3.CaptionOverlap = 0D; this.kryptonGroupBox3.CaptionOverlap = 0D;
this.kryptonGroupBox3.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox3.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox3.Location = new System.Drawing.Point(0, 131); this.kryptonGroupBox3.Location = new System.Drawing.Point(0, 131);
this.kryptonGroupBox3.Name = "kryptonGroupBox3"; this.kryptonGroupBox3.Name = "kryptonGroupBox3";
@@ -304,22 +304,22 @@
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ParamaterCode; private Krypton.Toolkit.KryptonTextBox ktb_ParamaterCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_ParamaterName; private Krypton.Toolkit.KryptonTextBox ktb_ParamaterName;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox3;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2; private Krypton.Toolkit.KryptonPanel kryptonPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox4;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -33,25 +33,25 @@
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kcmb_roleGrade = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kcmb_roleGrade = new Krypton.Toolkit.KryptonComboBox();
this.ktb_roleMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_roleMsg = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.ktb_setRoleMenuPermission = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.ktb_setRoleMenuPermission = new Krypton.Toolkit.KryptonButton();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kcmb_roleGrade)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmb_roleGrade)).BeginInit();
this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout();
@@ -312,7 +312,7 @@
// //
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox1.CaptionOverlap = 0D; this.kryptonGroupBox1.CaptionOverlap = 0D;
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129); this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129);
this.kryptonGroupBox1.Name = "kryptonGroupBox1"; this.kryptonGroupBox1.Name = "kryptonGroupBox1";
@@ -333,7 +333,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -390,24 +390,24 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_roleGrade; private Krypton.Toolkit.KryptonComboBox kcmb_roleGrade;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_roleMsg; private Krypton.Toolkit.KryptonTextBox ktb_roleMsg;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6; private Krypton.Toolkit.KryptonPanel kryptonPanel6;
private ComponentFactory.Krypton.Toolkit.KryptonButton ktb_setRoleMenuPermission; private Krypton.Toolkit.KryptonButton ktb_setRoleMenuPermission;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -28,23 +28,23 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.mTxtEndTime = new ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox(); this.mTxtEndTime = new Krypton.Toolkit.KryptonMaskedTextBox();
this.mTxtBeginTime = new ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox(); this.mTxtBeginTime = new Krypton.Toolkit.KryptonMaskedTextBox();
this.lbEnd = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbEnd = new Krypton.Toolkit.KryptonLabel();
this.lbBegin = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbBegin = new Krypton.Toolkit.KryptonLabel();
this.btnDeleted = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnDeleted = new Krypton.Toolkit.KryptonButton();
this.btnSave = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnSave = new Krypton.Toolkit.KryptonButton();
this.btnEdit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnEdit = new Krypton.Toolkit.KryptonButton();
this.btnAdd = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnAdd = new Krypton.Toolkit.KryptonButton();
this.txtScheduleName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.txtScheduleName = new Krypton.Toolkit.KryptonTextBox();
this.lbScheduleName = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbScheduleName = new Krypton.Toolkit.KryptonLabel();
this.txtScheduleCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.txtScheduleCode = new Krypton.Toolkit.KryptonTextBox();
this.lbScheduleCode = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbScheduleCode = new Krypton.Toolkit.KryptonLabel();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
this.kryptonPanel1.SuspendLayout(); this.kryptonPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
@@ -88,7 +88,7 @@
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView.ColumnHeadersHeight = 50; this.dataGridView.ColumnHeadersHeight = 50;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(7, 9); this.dataGridView.Location = new System.Drawing.Point(7, 9);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -97,7 +97,7 @@
this.dataGridView.RowHeadersWidth = 100; this.dataGridView.RowHeadersWidth = 100;
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView.Size = new System.Drawing.Size(632, 780); this.dataGridView.Size = new System.Drawing.Size(632, 780);
this.dataGridView.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.dataGridView.StateCommon.BackStyle = Krypton.Toolkit.PaletteBackStyle.GridBackgroundList;
this.dataGridView.StateCommon.DataCell.Content.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dataGridView.StateCommon.DataCell.Content.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dataGridView.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dataGridView.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dataGridView.StateCommon.HeaderRow.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dataGridView.StateCommon.HeaderRow.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -157,7 +157,7 @@
// //
// lbEnd // lbEnd
// //
this.lbEnd.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.lbEnd.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.lbEnd.Location = new System.Drawing.Point(20, 271); this.lbEnd.Location = new System.Drawing.Point(20, 271);
this.lbEnd.Name = "lbEnd"; this.lbEnd.Name = "lbEnd";
this.lbEnd.Size = new System.Drawing.Size(82, 26); this.lbEnd.Size = new System.Drawing.Size(82, 26);
@@ -167,7 +167,7 @@
// //
// lbBegin // lbBegin
// //
this.lbBegin.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.lbBegin.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.lbBegin.Location = new System.Drawing.Point(20, 192); this.lbBegin.Location = new System.Drawing.Point(20, 192);
this.lbBegin.Name = "lbBegin"; this.lbBegin.Name = "lbBegin";
this.lbBegin.Size = new System.Drawing.Size(82, 26); this.lbBegin.Size = new System.Drawing.Size(82, 26);
@@ -224,16 +224,16 @@
this.txtScheduleName.AlwaysActive = false; this.txtScheduleName.AlwaysActive = false;
this.txtScheduleName.Location = new System.Drawing.Point(20, 143); this.txtScheduleName.Location = new System.Drawing.Point(20, 143);
this.txtScheduleName.Name = "txtScheduleName"; this.txtScheduleName.Name = "txtScheduleName";
this.txtScheduleName.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.txtScheduleName.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.txtScheduleName.Size = new System.Drawing.Size(421, 35); this.txtScheduleName.Size = new System.Drawing.Size(421, 35);
this.txtScheduleName.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.txtScheduleName.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.txtScheduleName.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.txtScheduleName.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleName.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.txtScheduleName.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleName.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias; this.txtScheduleName.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.txtScheduleName.StateCommon.Border.Rounding = 4; this.txtScheduleName.StateCommon.Border.Rounding = 4;
this.txtScheduleName.StateCommon.Border.Width = 2; this.txtScheduleName.StateCommon.Border.Width = 2;
this.txtScheduleName.StateCommon.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtScheduleName.StateCommon.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -241,7 +241,7 @@
// //
// lbScheduleName // lbScheduleName
// //
this.lbScheduleName.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.lbScheduleName.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.lbScheduleName.Location = new System.Drawing.Point(20, 116); this.lbScheduleName.Location = new System.Drawing.Point(20, 116);
this.lbScheduleName.Name = "lbScheduleName"; this.lbScheduleName.Name = "lbScheduleName";
this.lbScheduleName.Size = new System.Drawing.Size(82, 26); this.lbScheduleName.Size = new System.Drawing.Size(82, 26);
@@ -254,16 +254,16 @@
this.txtScheduleCode.AlwaysActive = false; this.txtScheduleCode.AlwaysActive = false;
this.txtScheduleCode.Location = new System.Drawing.Point(20, 72); this.txtScheduleCode.Location = new System.Drawing.Point(20, 72);
this.txtScheduleCode.Name = "txtScheduleCode"; this.txtScheduleCode.Name = "txtScheduleCode";
this.txtScheduleCode.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.txtScheduleCode.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.txtScheduleCode.Size = new System.Drawing.Size(421, 35); this.txtScheduleCode.Size = new System.Drawing.Size(421, 35);
this.txtScheduleCode.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.txtScheduleCode.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.txtScheduleCode.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.txtScheduleCode.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleCode.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.txtScheduleCode.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleCode.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias; this.txtScheduleCode.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.txtScheduleCode.StateCommon.Border.Rounding = 4; this.txtScheduleCode.StateCommon.Border.Rounding = 4;
this.txtScheduleCode.StateCommon.Border.Width = 2; this.txtScheduleCode.StateCommon.Border.Width = 2;
this.txtScheduleCode.StateCommon.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtScheduleCode.StateCommon.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -271,7 +271,7 @@
// //
// lbScheduleCode // lbScheduleCode
// //
this.lbScheduleCode.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.lbScheduleCode.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.lbScheduleCode.Location = new System.Drawing.Point(20, 45); this.lbScheduleCode.Location = new System.Drawing.Point(20, 45);
this.lbScheduleCode.Name = "lbScheduleCode"; this.lbScheduleCode.Name = "lbScheduleCode";
this.lbScheduleCode.Size = new System.Drawing.Size(82, 26); this.lbScheduleCode.Size = new System.Drawing.Size(82, 26);
@@ -305,22 +305,22 @@
} }
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1; private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2; private Krypton.Toolkit.KryptonPanel kryptonPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnDeleted; private Krypton.Toolkit.KryptonButton btnDeleted;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnSave; private Krypton.Toolkit.KryptonButton btnSave;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnEdit; private Krypton.Toolkit.KryptonButton btnEdit;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnAdd; private Krypton.Toolkit.KryptonButton btnAdd;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox txtScheduleName; private Krypton.Toolkit.KryptonTextBox txtScheduleName;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbScheduleName; private Krypton.Toolkit.KryptonLabel lbScheduleName;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox txtScheduleCode; private Krypton.Toolkit.KryptonTextBox txtScheduleCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbScheduleCode; private Krypton.Toolkit.KryptonLabel lbScheduleCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbBegin; private Krypton.Toolkit.KryptonLabel lbBegin;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbEnd; private Krypton.Toolkit.KryptonLabel lbEnd;
private ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox mTxtEndTime; private Krypton.Toolkit.KryptonMaskedTextBox mTxtEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox mTxtBeginTime; private Krypton.Toolkit.KryptonMaskedTextBox mTxtBeginTime;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3; private Krypton.Toolkit.KryptonPanel kryptonPanel3;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
} }
} }

View File

@@ -1,6 +1,6 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -159,7 +159,7 @@ namespace CleanMachineHMI.forms
case EnumOperateType.Add: case EnumOperateType.Add:
sql = $@"INSERT INTO SYS_SCHEDULE_DTL(SCHEDULE_CODE,SCHEDULE_NAME,BEGIN_TIME,END_TIME,CREATE_BY,UPDATE_BY) " + sql = $@"INSERT INTO SYS_SCHEDULE_DTL(SCHEDULE_CODE,SCHEDULE_NAME,BEGIN_TIME,END_TIME,CREATE_BY,UPDATE_BY) " +
$@"VALUES('{txtScheduleCode.Text}','{txtScheduleName.Text}', $@"VALUES('{txtScheduleCode.Text}','{txtScheduleName.Text}',
'{mTxtBeginTime.Text}','{mTxtEndTime.Text}',{GlobalHelper.UserInfo.USER_ID},{GlobalHelper.UserInfo.USER_ID})"; '{mTxtBeginTime.Text}','{mTxtEndTime.Text}',{GlobalHelper.UserInfo.UserId},{GlobalHelper.UserInfo.UserId})";
affterRow = LeadDbHelperSQLite.ExecuteSql(sql); affterRow = LeadDbHelperSQLite.ExecuteSql(sql);
if (affterRow == 1) if (affterRow == 1)
{ {
@@ -171,7 +171,7 @@ namespace CleanMachineHMI.forms
sql = $@"UPDATE SYS_SCHEDULE_DTL SET SCHEDULE_NAME='{txtScheduleName.Text}', sql = $@"UPDATE SYS_SCHEDULE_DTL SET SCHEDULE_NAME='{txtScheduleName.Text}',
BEGIN_TIME='{mTxtBeginTime.Text}', BEGIN_TIME='{mTxtBeginTime.Text}',
END_TIME='{mTxtEndTime.Text}', END_TIME='{mTxtEndTime.Text}',
UPDATE_BY='{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME='{now}'" + UPDATE_BY='{GlobalHelper.UserInfo.UserId}',UPDATE_TIME='{now}'" +
$"WHERE SCHEDULE_CODE='{txtScheduleCode.Text}'"; $"WHERE SCHEDULE_CODE='{txtScheduleCode.Text}'";
affterRow = LeadDbHelperSQLite.ExecuteSql(sql); affterRow = LeadDbHelperSQLite.ExecuteSql(sql);
if (affterRow == 1) if (affterRow == 1)
@@ -181,7 +181,7 @@ namespace CleanMachineHMI.forms
} }
break; break;
case EnumOperateType.Deleted: case EnumOperateType.Deleted:
sql = $@"UPDATE SYS_SCHEDULE_DTL SET DEL_FLAG='1',UPDATE_BY='{GlobalHelper.UserInfo.USER_ID}',UPDATE_TIME='{now}'" + sql = $@"UPDATE SYS_SCHEDULE_DTL SET DEL_FLAG='1',UPDATE_BY='{GlobalHelper.UserInfo.UserId}',UPDATE_TIME='{now}'" +
$"WHERE SCHEDULE_CODE='{txtScheduleCode.Text}'"; $"WHERE SCHEDULE_CODE='{txtScheduleCode.Text}'";
affterRow = LeadDbHelperSQLite.ExecuteSql(sql); affterRow = LeadDbHelperSQLite.ExecuteSql(sql);
if (affterRow == 1) if (affterRow == 1)

View File

@@ -28,25 +28,25 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.ktb_SheetTypeCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_SheetTypeCode = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.ktb_SheetTypeName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_SheetTypeName = new Krypton.Toolkit.KryptonTextBox();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
this.kryptonPanel1.SuspendLayout(); this.kryptonPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
@@ -76,7 +76,7 @@
// //
this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox2.CaptionOverlap = 0D; this.kryptonGroupBox2.CaptionOverlap = 0D;
this.kryptonGroupBox2.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox2.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129); this.kryptonGroupBox2.Location = new System.Drawing.Point(0, 129);
this.kryptonGroupBox2.Name = "kryptonGroupBox2"; this.kryptonGroupBox2.Name = "kryptonGroupBox2";
@@ -97,7 +97,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -335,24 +335,24 @@
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1; private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_SheetTypeCode; private Krypton.Toolkit.KryptonTextBox ktb_SheetTypeCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_SheetTypeName; private Krypton.Toolkit.KryptonTextBox ktb_SheetTypeName;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -28,25 +28,25 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kcmb_gender = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kcmb_gender = new Krypton.Toolkit.KryptonComboBox();
this.ktb_userMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_userMsg = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -82,7 +82,7 @@
// //
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox1.CaptionOverlap = 0D; this.kryptonGroupBox1.CaptionOverlap = 0D;
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129); this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 129);
this.kryptonGroupBox1.Name = "kryptonGroupBox1"; this.kryptonGroupBox1.Name = "kryptonGroupBox1";
@@ -103,7 +103,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -370,28 +370,28 @@
} }
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6; private Krypton.Toolkit.KryptonPanel kryptonPanel6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_gender; private Krypton.Toolkit.KryptonComboBox kcmb_gender;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_userMsg; private Krypton.Toolkit.KryptonTextBox ktb_userMsg;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -47,9 +47,9 @@ namespace CleanMachineHMI.forms
{ {
sql += $" AND CREATE_TIME <= '{kdtp_CreateEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss")}'"; sql += $" AND CREATE_TIME <= '{kdtp_CreateEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss")}'";
} }
if (GlobalHelper.UserInfo.ROLE_GRADE != 100) if (GlobalHelper.UserInfo.RoleGrade != 100)
{ {
sql += $" AND USER_ID = '{GlobalHelper.UserInfo.USER_ID}'"; sql += $" AND USER_ID = '{GlobalHelper.UserInfo.UserId}'";
} }
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0]; DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];

View File

@@ -28,29 +28,29 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
this.kbt_Edit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Edit = new Krypton.Toolkit.KryptonButton();
this.kbt_Delete = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Delete = new Krypton.Toolkit.KryptonButton();
this.kbt_Query = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Query = new Krypton.Toolkit.KryptonButton();
this.kbt_Add = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbt_Add = new Krypton.Toolkit.KryptonButton();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.kdtp_CreateEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kdtp_CreateStartTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.ktb_WarningMsg = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ktb_WarningMsg = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
this.kcmb_WarningType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kcmb_WarningType = new Krypton.Toolkit.KryptonComboBox();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2.Panel)).BeginInit();
this.kryptonGroupBox2.Panel.SuspendLayout(); this.kryptonGroupBox2.Panel.SuspendLayout();
@@ -308,7 +308,7 @@
// //
this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.kryptonGroupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
this.kryptonGroupBox1.CaptionOverlap = 0D; this.kryptonGroupBox1.CaptionOverlap = 0D;
this.kryptonGroupBox1.CaptionStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl; this.kryptonGroupBox1.CaptionStyle = Krypton.Toolkit.LabelStyle.NormalControl;
this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 128); this.kryptonGroupBox1.Location = new System.Drawing.Point(0, 128);
this.kryptonGroupBox1.Name = "kryptonGroupBox1"; this.kryptonGroupBox1.Name = "kryptonGroupBox1";
@@ -329,7 +329,7 @@
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(0, 0); this.dataGridView.Location = new System.Drawing.Point(0, 0);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -369,28 +369,28 @@
} }
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6; private Krypton.Toolkit.KryptonPanel kryptonPanel6;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Query; private Krypton.Toolkit.KryptonButton kbt_Query;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Reset; private Krypton.Toolkit.KryptonButton kbt_Reset;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Add; private Krypton.Toolkit.KryptonButton kbt_Add;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Edit; private Krypton.Toolkit.KryptonButton kbt_Edit;
private ComponentFactory.Krypton.Toolkit.KryptonButton kbt_Delete; private Krypton.Toolkit.KryptonButton kbt_Delete;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime; private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel2; private Krypton.Toolkit.KryptonLabel kryptonLabel2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox ktb_WarningMsg; private Krypton.Toolkit.KryptonTextBox ktb_WarningMsg;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel3; private Krypton.Toolkit.KryptonLabel kryptonLabel3;
private ComponentFactory.Krypton.Toolkit.KryptonComboBox kcmb_WarningType; private Krypton.Toolkit.KryptonComboBox kcmb_WarningType;
} }
} }

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild; using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -28,21 +28,21 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.kryptonPanel5 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel5 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.lbStatus = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbStatus = new Krypton.Toolkit.KryptonLabel();
this.lbCode = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbCode = new Krypton.Toolkit.KryptonLabel();
this.txtCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.txtCode = new Krypton.Toolkit.KryptonTextBox();
this.lbBeginTime = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbBeginTime = new Krypton.Toolkit.KryptonLabel();
this.lbEndTime = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lbEndTime = new Krypton.Toolkit.KryptonLabel();
this.dtpBeginTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.dtpBeginTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.dtpEndTime = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.dtpEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.btnSearch = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnSearch = new Krypton.Toolkit.KryptonButton();
this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
this.cmbStatus = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.cmbStatus = new Krypton.Toolkit.KryptonComboBox();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel5)).BeginInit();
this.kryptonPanel5.SuspendLayout(); this.kryptonPanel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox2)).BeginInit();
@@ -91,7 +91,7 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(10, 8); this.dataGridView.Location = new System.Drawing.Point(10, 8);
this.dataGridView.MultiSelect = false; this.dataGridView.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
@@ -169,15 +169,15 @@
this.txtCode.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtCode.Anchor = System.Windows.Forms.AnchorStyles.None;
this.txtCode.Location = new System.Drawing.Point(175, 5); this.txtCode.Location = new System.Drawing.Point(175, 5);
this.txtCode.Name = "txtCode"; this.txtCode.Name = "txtCode";
this.txtCode.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.txtCode.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.txtCode.Size = new System.Drawing.Size(261, 25); this.txtCode.Size = new System.Drawing.Size(261, 25);
this.txtCode.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.txtCode.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.txtCode.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.txtCode.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtCode.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.txtCode.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtCode.StateCommon.Border.Rounding = 4; this.txtCode.StateCommon.Border.Rounding = 4;
this.txtCode.StateCommon.Border.Width = 1; this.txtCode.StateCommon.Border.Width = 1;
this.txtCode.TabIndex = 10; this.txtCode.TabIndex = 10;
@@ -281,20 +281,20 @@
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel5; private Krypton.Toolkit.KryptonPanel kryptonPanel5;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbCode; private Krypton.Toolkit.KryptonLabel lbCode;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox txtCode; private Krypton.Toolkit.KryptonTextBox txtCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbStatus; private Krypton.Toolkit.KryptonLabel lbStatus;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbBeginTime; private Krypton.Toolkit.KryptonLabel lbBeginTime;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbEndTime; private Krypton.Toolkit.KryptonLabel lbEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker dtpBeginTime; private Krypton.Toolkit.KryptonDateTimePicker dtpBeginTime;
private ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker dtpEndTime; private Krypton.Toolkit.KryptonDateTimePicker dtpEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnSearch; private Krypton.Toolkit.KryptonButton btnSearch;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private ComponentFactory.Krypton.Toolkit.KryptonButton kryptonButton1; private Krypton.Toolkit.KryptonButton kryptonButton1;
private ComponentFactory.Krypton.Toolkit.KryptonComboBox cmbStatus; private Krypton.Toolkit.KryptonComboBox cmbStatus;
} }
} }

View File

@@ -1,6 +1,6 @@
using CleanMachineHMI.Domain.Enums; using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -145,7 +145,7 @@ namespace CleanMachineHMI.frmChild
if (row > 0) if (row > 0)
{ {
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("新增污染类型数据成功!", "AddSuccessInfo")); KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("新增污染类型数据成功!", "AddSuccessInfo"));
frmContaminationType.RefreshFrmHost(); frmContaminationType.RefreshFrmHost();
this.Close(); this.Close();
} }
else else

View File

@@ -84,6 +84,7 @@ namespace CleanMachineHMI.frmChild
{ {
//KryptonMessageBox.Show("修改清洗方式数据成功!"); //KryptonMessageBox.Show("修改清洗方式数据成功!");
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("编辑清洗方式数据成功!", "EditSuccessInfo")); KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("编辑清洗方式数据成功!", "EditSuccessInfo"));
frmCleanMode.RefreshFrmHost(); frmCleanMode.RefreshFrmHost();
this.Close(); this.Close();
} }

View File

@@ -28,29 +28,29 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.btnDeleted = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnDeleted = new Krypton.Toolkit.KryptonButton();
this.btnSave = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnSave = new Krypton.Toolkit.KryptonButton();
this.btnEdit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnEdit = new Krypton.Toolkit.KryptonButton();
this.btnExit = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnExit = new Krypton.Toolkit.KryptonButton();
this.btnAdd = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnAdd = new Krypton.Toolkit.KryptonButton();
this.kryptonTextBox4 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonTextBox4 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox5 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonTextBox5 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox6 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonTextBox6 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox7 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonTextBox7 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonPanel4 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel4 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel7 = new Krypton.Toolkit.KryptonLabel();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.kryptonDataGridView2 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.kryptonDataGridView2 = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
this.kryptonPanel5 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonPanel5 = new Krypton.Toolkit.KryptonPanel();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.报警名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.报警名称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -126,23 +126,23 @@
this.kryptonTextBox4.AlwaysActive = false; this.kryptonTextBox4.AlwaysActive = false;
this.kryptonTextBox4.Location = new System.Drawing.Point(148, 258); this.kryptonTextBox4.Location = new System.Drawing.Point(148, 258);
this.kryptonTextBox4.Name = "kryptonTextBox4"; this.kryptonTextBox4.Name = "kryptonTextBox4";
this.kryptonTextBox4.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.kryptonTextBox4.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.kryptonTextBox4.Size = new System.Drawing.Size(260, 29); this.kryptonTextBox4.Size = new System.Drawing.Size(260, 29);
this.kryptonTextBox4.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.kryptonTextBox4.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.kryptonTextBox4.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox4.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox4.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox4.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox4.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias; this.kryptonTextBox4.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox4.StateCommon.Border.Rounding = 4; this.kryptonTextBox4.StateCommon.Border.Rounding = 4;
this.kryptonTextBox4.StateCommon.Border.Width = 2; this.kryptonTextBox4.StateCommon.Border.Width = 2;
this.kryptonTextBox4.TabIndex = 8; this.kryptonTextBox4.TabIndex = 8;
// //
// kryptonLabel4 // kryptonLabel4
// //
this.kryptonLabel4.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.kryptonLabel4.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonLabel4.Location = new System.Drawing.Point(35, 259); this.kryptonLabel4.Location = new System.Drawing.Point(35, 259);
this.kryptonLabel4.Name = "kryptonLabel4"; this.kryptonLabel4.Name = "kryptonLabel4";
this.kryptonLabel4.Size = new System.Drawing.Size(95, 29); this.kryptonLabel4.Size = new System.Drawing.Size(95, 29);
@@ -154,23 +154,23 @@
this.kryptonTextBox5.AlwaysActive = false; this.kryptonTextBox5.AlwaysActive = false;
this.kryptonTextBox5.Location = new System.Drawing.Point(148, 183); this.kryptonTextBox5.Location = new System.Drawing.Point(148, 183);
this.kryptonTextBox5.Name = "kryptonTextBox5"; this.kryptonTextBox5.Name = "kryptonTextBox5";
this.kryptonTextBox5.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.kryptonTextBox5.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.kryptonTextBox5.Size = new System.Drawing.Size(260, 29); this.kryptonTextBox5.Size = new System.Drawing.Size(260, 29);
this.kryptonTextBox5.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.kryptonTextBox5.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.kryptonTextBox5.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox5.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox5.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox5.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox5.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias; this.kryptonTextBox5.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox5.StateCommon.Border.Rounding = 4; this.kryptonTextBox5.StateCommon.Border.Rounding = 4;
this.kryptonTextBox5.StateCommon.Border.Width = 2; this.kryptonTextBox5.StateCommon.Border.Width = 2;
this.kryptonTextBox5.TabIndex = 6; this.kryptonTextBox5.TabIndex = 6;
// //
// kryptonLabel5 // kryptonLabel5
// //
this.kryptonLabel5.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.kryptonLabel5.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonLabel5.Location = new System.Drawing.Point(35, 184); this.kryptonLabel5.Location = new System.Drawing.Point(35, 184);
this.kryptonLabel5.Name = "kryptonLabel5"; this.kryptonLabel5.Name = "kryptonLabel5";
this.kryptonLabel5.Size = new System.Drawing.Size(95, 29); this.kryptonLabel5.Size = new System.Drawing.Size(95, 29);
@@ -182,23 +182,23 @@
this.kryptonTextBox6.AlwaysActive = false; this.kryptonTextBox6.AlwaysActive = false;
this.kryptonTextBox6.Location = new System.Drawing.Point(148, 108); this.kryptonTextBox6.Location = new System.Drawing.Point(148, 108);
this.kryptonTextBox6.Name = "kryptonTextBox6"; this.kryptonTextBox6.Name = "kryptonTextBox6";
this.kryptonTextBox6.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.kryptonTextBox6.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.kryptonTextBox6.Size = new System.Drawing.Size(260, 29); this.kryptonTextBox6.Size = new System.Drawing.Size(260, 29);
this.kryptonTextBox6.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.kryptonTextBox6.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.kryptonTextBox6.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox6.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox6.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox6.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox6.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias; this.kryptonTextBox6.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox6.StateCommon.Border.Rounding = 4; this.kryptonTextBox6.StateCommon.Border.Rounding = 4;
this.kryptonTextBox6.StateCommon.Border.Width = 2; this.kryptonTextBox6.StateCommon.Border.Width = 2;
this.kryptonTextBox6.TabIndex = 4; this.kryptonTextBox6.TabIndex = 4;
// //
// kryptonLabel6 // kryptonLabel6
// //
this.kryptonLabel6.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.kryptonLabel6.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonLabel6.Location = new System.Drawing.Point(35, 109); this.kryptonLabel6.Location = new System.Drawing.Point(35, 109);
this.kryptonLabel6.Name = "kryptonLabel6"; this.kryptonLabel6.Name = "kryptonLabel6";
this.kryptonLabel6.Size = new System.Drawing.Size(95, 29); this.kryptonLabel6.Size = new System.Drawing.Size(95, 29);
@@ -210,16 +210,16 @@
this.kryptonTextBox7.AlwaysActive = false; this.kryptonTextBox7.AlwaysActive = false;
this.kryptonTextBox7.Location = new System.Drawing.Point(148, 42); this.kryptonTextBox7.Location = new System.Drawing.Point(148, 42);
this.kryptonTextBox7.Name = "kryptonTextBox7"; this.kryptonTextBox7.Name = "kryptonTextBox7";
this.kryptonTextBox7.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.ProfessionalOffice2003; this.kryptonTextBox7.PaletteMode = Krypton.Toolkit.PaletteMode.ProfessionalOffice2003;
this.kryptonTextBox7.Size = new System.Drawing.Size(260, 29); this.kryptonTextBox7.Size = new System.Drawing.Size(260, 29);
this.kryptonTextBox7.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.kryptonTextBox7.StateActive.Border.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.kryptonTextBox7.StateActive.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox7.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox7.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) this.kryptonTextBox7.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); | Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox7.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias; this.kryptonTextBox7.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox7.StateCommon.Border.Rounding = 4; this.kryptonTextBox7.StateCommon.Border.Rounding = 4;
this.kryptonTextBox7.StateCommon.Border.Width = 2; this.kryptonTextBox7.StateCommon.Border.Width = 2;
this.kryptonTextBox7.TabIndex = 2; this.kryptonTextBox7.TabIndex = 2;
@@ -261,7 +261,7 @@
// //
// kryptonLabel7 // kryptonLabel7
// //
this.kryptonLabel7.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.TitleControl; this.kryptonLabel7.LabelStyle = Krypton.Toolkit.LabelStyle.TitleControl;
this.kryptonLabel7.Location = new System.Drawing.Point(35, 43); this.kryptonLabel7.Location = new System.Drawing.Point(35, 43);
this.kryptonLabel7.Name = "kryptonLabel7"; this.kryptonLabel7.Name = "kryptonLabel7";
this.kryptonLabel7.Size = new System.Drawing.Size(95, 29); this.kryptonLabel7.Size = new System.Drawing.Size(95, 29);
@@ -302,14 +302,14 @@
this.kryptonDataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.kryptonDataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.kryptonDataGridView2.ColumnHeadersHeight = 50; this.kryptonDataGridView2.ColumnHeadersHeight = 50;
this.kryptonDataGridView2.DataMember = "TestData"; this.kryptonDataGridView2.DataMember = "TestData";
this.kryptonDataGridView2.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.kryptonDataGridView2.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.kryptonDataGridView2.Location = new System.Drawing.Point(9, 9); this.kryptonDataGridView2.Location = new System.Drawing.Point(9, 9);
this.kryptonDataGridView2.Name = "kryptonDataGridView2"; this.kryptonDataGridView2.Name = "kryptonDataGridView2";
this.kryptonDataGridView2.ReadOnly = true; this.kryptonDataGridView2.ReadOnly = true;
this.kryptonDataGridView2.RowHeadersVisible = false; this.kryptonDataGridView2.RowHeadersVisible = false;
this.kryptonDataGridView2.RowHeadersWidth = 100; this.kryptonDataGridView2.RowHeadersWidth = 100;
this.kryptonDataGridView2.Size = new System.Drawing.Size(190, 801); this.kryptonDataGridView2.Size = new System.Drawing.Size(190, 801);
this.kryptonDataGridView2.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.kryptonDataGridView2.StateCommon.BackStyle = Krypton.Toolkit.PaletteBackStyle.GridBackgroundList;
this.kryptonDataGridView2.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.kryptonDataGridView2.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonDataGridView2.TabIndex = 1; this.kryptonDataGridView2.TabIndex = 1;
// //
@@ -349,14 +349,14 @@
this.Column3, this.Column3,
this.Column4}); this.Column4});
this.dataGridView.DataMember = "TestData"; this.dataGridView.DataMember = "TestData";
this.dataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridView.GridStyles.Style = Krypton.Toolkit.DataGridViewStyle.Mixed;
this.dataGridView.Location = new System.Drawing.Point(9, 9); this.dataGridView.Location = new System.Drawing.Point(9, 9);
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
this.dataGridView.ReadOnly = true; this.dataGridView.ReadOnly = true;
this.dataGridView.RowHeadersVisible = false; this.dataGridView.RowHeadersVisible = false;
this.dataGridView.RowHeadersWidth = 100; this.dataGridView.RowHeadersWidth = 100;
this.dataGridView.Size = new System.Drawing.Size(676, 801); this.dataGridView.Size = new System.Drawing.Size(676, 801);
this.dataGridView.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.dataGridView.StateCommon.BackStyle = Krypton.Toolkit.PaletteBackStyle.GridBackgroundList;
this.dataGridView.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dataGridView.StateCommon.HeaderColumn.Content.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dataGridView.TabIndex = 2; this.dataGridView.TabIndex = 2;
// //
@@ -417,29 +417,29 @@
#endregion #endregion
private ComponentFactory.Krypton.Toolkit.KryptonButton btnDeleted; private Krypton.Toolkit.KryptonButton btnDeleted;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnSave; private Krypton.Toolkit.KryptonButton btnSave;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnEdit; private Krypton.Toolkit.KryptonButton btnEdit;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnExit; private Krypton.Toolkit.KryptonButton btnExit;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnAdd; private Krypton.Toolkit.KryptonButton btnAdd;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox4; private Krypton.Toolkit.KryptonTextBox kryptonTextBox4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4; private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox5; private Krypton.Toolkit.KryptonTextBox kryptonTextBox5;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5; private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox6; private Krypton.Toolkit.KryptonTextBox kryptonTextBox6;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel6; private Krypton.Toolkit.KryptonLabel kryptonLabel6;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox7; private Krypton.Toolkit.KryptonTextBox kryptonTextBox7;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel4; private Krypton.Toolkit.KryptonPanel kryptonPanel4;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2; private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel7; private Krypton.Toolkit.KryptonLabel kryptonLabel7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView2; private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView2;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6; private Krypton.Toolkit.KryptonPanel kryptonPanel6;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel5; private Krypton.Toolkit.KryptonPanel kryptonPanel5;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView; private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn 报警名称; private System.Windows.Forms.DataGridViewTextBoxColumn 报警名称;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1; private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2; private System.Windows.Forms.DataGridViewTextBoxColumn Column2;

View File

@@ -1,5 +1,5 @@
using CleanMachineHMI.Utils; using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit; using Krypton.Toolkit;
using LeadDataBaseUtility; using LeadDataBaseUtility;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -24,7 +24,7 @@ namespace CleanMachineHMI
public void Init() public void Init()
{ {
var sql = "select * from BAS_WARNING"; var sql = "select * from BAS_WARNING";
DataTable dt = LeadDbHelperSQLServer.Query(sql).Tables[0]; DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
dataGridView.Rows.Clear(); dataGridView.Rows.Clear();
dataGridView.Columns.Clear(); dataGridView.Columns.Clear();
dataGridView.DataSource = dt; dataGridView.DataSource = dt;
@@ -42,7 +42,7 @@ namespace CleanMachineHMI
private void btnExit_Click(object sender, EventArgs e) private void btnExit_Click(object sender, EventArgs e)
{ {
AppConfig.MainForm.navigatorMain.SetNavPage(Domain.Enums.EnumFormType.Main); // this.navigatorMain.SetNavPage(Domain.Enums.EnumFormType.Main);
} }
} }
} }

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Krypton.Navigator" version="5.550.2108.1" targetFramework="net45" /> <package id="Krypton.Navigator" version="5.550.2108.1" targetFramework="net45" requireReinstallation="true" />
<package id="Krypton.Toolkit" version="5.550.2108.1" targetFramework="net45" /> <package id="Krypton.Toolkit" version="5.550.2108.1" targetFramework="net45" requireReinstallation="true" />
<package id="Microsoft.ReportingServices.ReportViewerControl.Winforms" version="140.1000.523" targetFramework="net45" /> <package id="Microsoft.ReportingServices.ReportViewerControl.Winforms" version="140.1000.523" targetFramework="net45" />
<package id="Microsoft.SqlServer.Types" version="14.0.314.76" targetFramework="net45" /> <package id="Microsoft.SqlServer.Types" version="14.0.314.76" targetFramework="net45" />
<package id="NModbus4" version="2.1.0" targetFramework="net45" /> <package id="NModbus4" version="2.1.0" targetFramework="net45" />

View File

@@ -1,120 +1,26 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <TargetFramework>net48</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>LeadDataBaseUtility</RootNamespace>
<AssemblyName>LeadDataBaseUtility</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"> <Compile Remove="LeadDbHelperMySQL.cs" />
<SpecificVersion>False</SpecificVersion> <Compile Remove="LeadDbHelperOracle.cs" />
<HintPath>..\public\MySql.Data.dll</HintPath> <Compile Remove="LeadDbHelperSQLServer.cs" />
</Reference>
<Reference Include="Oracle.ManagedDataAccess, Version=4.122.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\Oracle.ManagedDataAccess.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Data.SQLite, Version=1.0.113.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\public\System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="LeadConfigureConnectionString.cs" /> <PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
<Compile Include="LeadDbHelperMySQL.cs" /> <PackageReference Include="System.Data.SQLite.Core" Version="1.0.115.5" />
<Compile Include="LeadDbHelperOracle.cs" />
<Compile Include="LeadDbHelperSQLite.cs" />
<Compile Include="LeadDbHelperSQLServer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj"> <ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj" />
<Project>{925057D8-7EE8-42ED-8AA0-628AF82F10B2}</Project>
<Name>NX_LogUtility</Name>
</ProjectReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <ItemGroup>
Other similar extension points exist, see Microsoft.Common.targets. <Folder Include="Properties\" />
<Target Name="BeforeBuild"> </ItemGroup>
</Target>
<Target Name="AfterBuild"> </Project>
</Target>
-->
</Project>

View File

@@ -0,0 +1,19 @@
<?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>
<entityFramework>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
</system.data>
</configuration>

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeadDataBaseUtility
{
/// <summary>
/// 获取配置文件中的连接字符串
/// </summary>
public class LeadConfigureConnectionString
{
/// <summary>
/// 获取配置文件中的连接字符串
/// </summary>
/// <param name="connStrType">数据库连接字符串类型</param>
/// <returns></returns>
public static string getConnectionString(string connStrType)
{
string _connectionString = ConfigurationManager.AppSettings[connStrType];
return _connectionString;
}
}
}

View File

@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{824348A6-FFFF-4C1B-BBF5-8B507A8C8CE5}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>LeadDataBaseUtility</RootNamespace>
<AssemblyName>LeadDataBaseUtility</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Data.SQLite, Version=1.0.115.5, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\lib\net46\System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="LeadConfigureConnectionString.cs" />
<Compile Include="LeadDbHelperMySQL.cs" />
<Compile Include="LeadDbHelperOracle.cs" />
<Compile Include="LeadDbHelperSQLite.cs" />
<Compile Include="LeadDbHelperSQLServer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj">
<Project>{925057D8-7EE8-42ED-8AA0-628AF82F10B2}</Project>
<Name>NX_LogUtility</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.props'))" />
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
<Error Condition="!Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets'))" />
</Target>
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
<Import Project="..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets" Condition="Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.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.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,112 @@
using NX_LogUtility;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeadDataBaseUtility
{
/// <summary>
/// Copyright20181102 (C) sunyalong
/// 数据访问抽象基础类(基于SQLite)
/// 允许修改、添加满足自己项目的需要。
/// 添加、修改后请详细注释。违者会强制删除不予采用。
/// </summary>
public abstract class LeadDbHelperSQLite
{
public static string connectionString = LeadConfigureConnectionString.getConnectionString("LeadSQLite");
/// <summary>
/// 对SQLite数据库执行增删改操作,返回受影响的行数。
/// </summary>
/// <param name="sql">要执行的增删改的SQL语句</param>
/// <returns></returns>
public static int ExecuteSql(string sql)
{
int affectedRows = 0;
try
{
using (SQLiteConnection conn = new SQLiteConnection(connectionString))
{
conn.Open();
using (SQLiteCommand cmd = new SQLiteCommand(conn))
{
cmd.CommandText = sql;
affectedRows = cmd.ExecuteNonQuery();
}
conn.Close();
}
}
catch (Exception e)
{
LogHelper.WriteLog($"数据库运行异常:【{e.Message}】。SQL语句:【{sql}】。", LogTypeEum.DbErr);
}
return affectedRows;
}
/// <summary>
/// 执行查询语句,返回DataSet
/// </summary>
/// <param name="SQLString">查询语句</param>
/// <returns>DataSet</returns>
public static DataSet Query(string SQLString)
{
using (SQLiteConnection connection = new SQLiteConnection(connectionString))
{
DataSet ds = new DataSet();
try
{
connection.Open();
SQLiteDataAdapter command = new SQLiteDataAdapter(SQLString, connection);
command.Fill(ds, "ds");
connection.Close();
}
catch (Exception e)
{
LogHelper.WriteLog($"数据库运行异常:【{e.Message}】。SQL语句:【{SQLString}】。", LogTypeEum.DbErr);
}
return ds;
}
}
/// <summary>
/// 执行一条计算查询结果语句,返回查询结果(object)。
/// </summary>
/// <param name="SQLString">计算查询结果语句</param>
/// <returns>查询结果(object)</returns>
public static object GetSingle(string SQLString)
{
using (SQLiteConnection connection = new SQLiteConnection(connectionString))
{
using (SQLiteCommand cmd = new SQLiteCommand(SQLString, connection))
{
try
{
connection.Open();
object obj = cmd.ExecuteScalar();
if ((Equals(obj, null)) || (Equals(obj, System.DBNull.Value)))
{
connection.Close();
return null;
}
else
{
connection.Close();
return obj;
}
}
catch (System.Data.SqlClient.SqlException e)
{
connection.Close();
LogHelper.WriteLog($"数据库运行异常:【{e.Message}】。SQL语句:【{SQLString}】。", LogTypeEum.DbErr);
return null;
}
}
}
}
}
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="6.4.4" targetFramework="net472" />
<package id="Stub.System.Data.SQLite.Core.NetFramework" version="1.0.115.5" targetFramework="net472" />
<package id="System.Data.SQLite" version="1.0.115.5" targetFramework="net472" />
<package id="System.Data.SQLite.Core" version="1.0.115.5" targetFramework="net472" />
<package id="System.Data.SQLite.EF6" version="1.0.115.5" targetFramework="net472" />
<package id="System.Data.SQLite.Linq" version="1.0.115.5" targetFramework="net472" />
</packages>

View File

@@ -1,85 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <TargetFramework>net48</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{925057D8-7EE8-42ED-8AA0-628AF82F10B2}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NX_LogUtility</RootNamespace>
<AssemblyName>NX_LogUtility</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Folder Include="Properties\" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Include="LogHelper.cs" /> </Project>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

39
WinFormsApp1/Form1.Designer.cs generated Normal file
View File

@@ -0,0 +1,39 @@
namespace WinFormsApp1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
}
#endregion
}
}

10
WinFormsApp1/Form1.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace WinFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

17
WinFormsApp1/Program.cs Normal file
View File

@@ -0,0 +1,17 @@
namespace WinFormsApp1
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
}
}

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

40
WindowsFormsApp1/Form1.Designer.cs generated Normal file
View File

@@ -0,0 +1,40 @@
namespace WindowsFormsApp1
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
}
#endregion
}
}

20
WindowsFormsApp1/Form1.cs Normal file
View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
internal static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下 // 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改 // 控制。更改这些特性值可修改
// 与程序集关联的信息。 // 与程序集关联的信息。
[assembly: AssemblyTitle("NX_LogUtility")] [assembly: AssemblyTitle("WindowsFormsApp1")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NX_LogUtility")] [assembly: AssemblyProduct("WindowsFormsApp1")]
[assembly: AssemblyCopyright("Copyright © 2020")] [assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@@ -20,7 +20,7 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("925057d8-7ee8-42ed-8aa0-628af82f10b2")] [assembly: Guid("6e90bd78-3858-43ad-ab75-a37350b30d6e")]
// 程序集的版本信息由下列四个值组成: // 程序集的版本信息由下列四个值组成:
// //

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace WindowsFormsApp1.Properties
{
/// <summary>
/// 强类型资源类,用于查找本地化字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WindowsFormsApp1.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6E90BD78-3858-43AD-AB75-A37350B30D6E}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>WindowsFormsApp1</RootNamespace>
<AssemblyName>WindowsFormsApp1</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>