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

@@ -2,63 +2,63 @@
<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" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="NX_CLEAR_MAC_20200915Entities" connectionString="metadata=res://*/Entitys.Model1.csdl|res://*/Entitys.Model1.ssdl|res://*/Entitys.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=NX_CLEAR_MAC_20200915;persist security info=True;user id=sa;password=1q2w3e4r!@;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
<add name="CleanMachineHMI.Properties.Settings.NX_CLEAR_MAC_20200915ConnectionString" connectionString="Data Source=.;Initial Catalog=NX_CLEAR_MAC_20200915;Persist Security Info=True;User ID=sa;Password=1q2w3e4r!@" providerName="System.Data.SqlClient" />
<add name="NX_CLEAR_MAC_20200915Entities" connectionString="metadata=res://*/Entitys.Model1.csdl|res://*/Entitys.Model1.ssdl|res://*/Entitys.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=NX_CLEAR_MAC_20200915;persist security info=True;user id=sa;password=1q2w3e4r!@;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
<add name="CleanMachineHMI.Properties.Settings.NX_CLEAR_MAC_20200915ConnectionString" connectionString="Data Source=.;Initial Catalog=NX_CLEAR_MAC_20200915;Persist Security Info=True;User ID=sa;Password=1q2w3e4r!@" providerName="System.Data.SqlClient"/>
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<appSettings>
<add key="GlobalPaletteMode" value="Professionaloffice2003" />
<add key="GlobalPaletteMode" value="Professionaloffice2003"/>
<!--<add key="LanguageCode" value="Chinese"/>-->
<add key="LanguageCode" value="English" />
<add key="sqlmapConfigPath" value="Config/sqlmap.config" />
<add key="LanguageCode" value="English"/>
<add key="sqlmapConfigPath" value="Config/sqlmap.config"/>
<!--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数据库连接字符串-->
<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数据库连接字符串-->
<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数据库连接字符串-->
<!--<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 个停止位。-->
<add key="StopBits" value="1" />
<add key="StopBits" value="1"/>
<!--奇偶校验。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="ClientSettingsProvider.ServiceUri" value="" />
<add key="LastTimeUserCode" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
</providers>
</roleManager>
</system.web>
</configuration>
</configuration>

View File

@@ -1,636 +1,40 @@
<?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>{9CF77369-B471-4476-9F42-779945113EA5}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>CleanMachineHMI</RootNamespace>
<AssemblyName>CleanMachineHMI</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<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>
<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 Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net48</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Krypton.Navigator" Version="6.2201.4" />
<PackageReference Include="Krypton.Toolkit" Version="6.2201.4" />
<PackageReference Include="NModbus" Version="3.0.66" />
<PackageReference Include="NModbus.Serial" Version="3.0.62" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CleanMachine.Control\CleanMachine.Control.csproj" />
<ProjectReference Include="..\CleanMachine.Model\CleanMachine.Model.csproj" />
<ProjectReference Include="..\CleanMachineHMI.Model\CleanMachineHMI.Domain.csproj" />
<ProjectReference Include="..\LeadDataBaseUtility\LeadDataBaseUtility.csproj" />
<ProjectReference Include="..\NX_LogUtility\NX_LogUtility.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="FastReport">
<HintPath>..\public\FastReport.dll</HintPath>
</Reference>
<Reference Include="FastReport.Editor">
<HintPath>..\public\FastReport.Editor.dll</HintPath>
</Reference>
<Reference Include="FastReport.Install">
<HintPath>..\public\FastReport.Install.dll</HintPath>
</Reference>
<Reference Include="FastReport.Service">
<HintPath>..\public\FastReport.Service.dll</HintPath>
</Reference>
</ItemGroup>
</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
{
partial class frmCleanMode
public partial class frmCleanMode
{
/// <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 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /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.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {

View File

@@ -12,7 +12,7 @@ namespace CleanMachineHMI.Properties {
[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 {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -28,23 +28,23 @@
/// </summary>
private void InitializeComponent()
{
this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
this.kryptonPanel3 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
this.mTxtEndTime = new ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox();
this.mTxtBeginTime = new ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox();
this.lbEnd = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.lbBegin = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.btnDeleted = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnSave = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnEdit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnAdd = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.txtScheduleName = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
this.lbScheduleName = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.txtScheduleCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
this.lbScheduleCode = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
this.kryptonPanel3 = new Krypton.Toolkit.KryptonPanel();
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.mTxtEndTime = new Krypton.Toolkit.KryptonMaskedTextBox();
this.mTxtBeginTime = new Krypton.Toolkit.KryptonMaskedTextBox();
this.lbEnd = new Krypton.Toolkit.KryptonLabel();
this.lbBegin = new Krypton.Toolkit.KryptonLabel();
this.btnDeleted = new Krypton.Toolkit.KryptonButton();
this.btnSave = new Krypton.Toolkit.KryptonButton();
this.btnEdit = new Krypton.Toolkit.KryptonButton();
this.btnAdd = new Krypton.Toolkit.KryptonButton();
this.txtScheduleName = new Krypton.Toolkit.KryptonTextBox();
this.lbScheduleName = new Krypton.Toolkit.KryptonLabel();
this.txtScheduleCode = new Krypton.Toolkit.KryptonTextBox();
this.lbScheduleCode = new Krypton.Toolkit.KryptonLabel();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
this.kryptonPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
@@ -88,7 +88,7 @@
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView.ColumnHeadersHeight = 50;
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.MultiSelect = false;
this.dataGridView.Name = "dataGridView";
@@ -97,7 +97,7 @@
this.dataGridView.RowHeadersWidth = 100;
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
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.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)));
@@ -157,7 +157,7 @@
//
// 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.Name = "lbEnd";
this.lbEnd.Size = new System.Drawing.Size(82, 26);
@@ -167,7 +167,7 @@
//
// 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.Name = "lbBegin";
this.lbBegin.Size = new System.Drawing.Size(82, 26);
@@ -224,16 +224,16 @@
this.txtScheduleName.AlwaysActive = false;
this.txtScheduleName.Location = new System.Drawing.Point(20, 143);
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.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)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleName.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleName.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.txtScheduleName.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleName.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleName.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.txtScheduleName.StateCommon.Border.Rounding = 4;
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)));
@@ -241,7 +241,7 @@
//
// 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.Name = "lbScheduleName";
this.lbScheduleName.Size = new System.Drawing.Size(82, 26);
@@ -254,16 +254,16 @@
this.txtScheduleCode.AlwaysActive = false;
this.txtScheduleCode.Location = new System.Drawing.Point(20, 72);
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.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)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleCode.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleCode.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.txtScheduleCode.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleCode.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.txtScheduleCode.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.txtScheduleCode.StateCommon.Border.Rounding = 4;
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)));
@@ -271,7 +271,7 @@
//
// 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.Name = "lbScheduleCode";
this.lbScheduleCode.Size = new System.Drawing.Size(82, 26);
@@ -305,22 +305,22 @@
}
#endregion
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel1;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel2;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnDeleted;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnSave;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnEdit;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnAdd;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox txtScheduleName;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbScheduleName;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox txtScheduleCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbScheduleCode;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbBegin;
private ComponentFactory.Krypton.Toolkit.KryptonLabel lbEnd;
private ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox mTxtEndTime;
private ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox mTxtBeginTime;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel3;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
private Krypton.Toolkit.KryptonPanel kryptonPanel2;
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox1;
private Krypton.Toolkit.KryptonButton btnDeleted;
private Krypton.Toolkit.KryptonButton btnSave;
private Krypton.Toolkit.KryptonButton btnEdit;
private Krypton.Toolkit.KryptonButton btnAdd;
private Krypton.Toolkit.KryptonTextBox txtScheduleName;
private Krypton.Toolkit.KryptonLabel lbScheduleName;
private Krypton.Toolkit.KryptonTextBox txtScheduleCode;
private Krypton.Toolkit.KryptonLabel lbScheduleCode;
private Krypton.Toolkit.KryptonLabel lbBegin;
private Krypton.Toolkit.KryptonLabel lbEnd;
private Krypton.Toolkit.KryptonMaskedTextBox mTxtEndTime;
private Krypton.Toolkit.KryptonMaskedTextBox mTxtBeginTime;
private Krypton.Toolkit.KryptonPanel kryptonPanel3;
private Krypton.Toolkit.KryptonDataGridView dataGridView;
}
}

View File

@@ -1,6 +1,6 @@
using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit;
using Krypton.Toolkit;
using LeadDataBaseUtility;
using System;
using System.Collections.Generic;
@@ -159,7 +159,7 @@ namespace CleanMachineHMI.forms
case EnumOperateType.Add:
sql = $@"INSERT INTO SYS_SCHEDULE_DTL(SCHEDULE_CODE,SCHEDULE_NAME,BEGIN_TIME,END_TIME,CREATE_BY,UPDATE_BY) " +
$@"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);
if (affterRow == 1)
{
@@ -171,7 +171,7 @@ namespace CleanMachineHMI.forms
sql = $@"UPDATE SYS_SCHEDULE_DTL SET SCHEDULE_NAME='{txtScheduleName.Text}',
BEGIN_TIME='{mTxtBeginTime.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}'";
affterRow = LeadDbHelperSQLite.ExecuteSql(sql);
if (affterRow == 1)
@@ -181,7 +181,7 @@ namespace CleanMachineHMI.forms
}
break;
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}'";
affterRow = LeadDbHelperSQLite.ExecuteSql(sql);
if (affterRow == 1)

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
using CleanMachineHMI.Domain.Enums;
using CleanMachineHMI.frmChild;
using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit;
using Krypton.Toolkit;
using LeadDataBaseUtility;
using System;
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")}'";
}
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];

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -28,29 +28,29 @@
/// </summary>
private void InitializeComponent()
{
this.btnDeleted = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnSave = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnEdit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnExit = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.btnAdd = new ComponentFactory.Krypton.Toolkit.KryptonButton();
this.kryptonTextBox4 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox5 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox6 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox7 = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
this.kryptonPanel4 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
this.btnDeleted = new Krypton.Toolkit.KryptonButton();
this.btnSave = new Krypton.Toolkit.KryptonButton();
this.btnEdit = new Krypton.Toolkit.KryptonButton();
this.btnExit = new Krypton.Toolkit.KryptonButton();
this.btnAdd = new Krypton.Toolkit.KryptonButton();
this.kryptonTextBox4 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox5 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox6 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
this.kryptonTextBox7 = new Krypton.Toolkit.KryptonTextBox();
this.kryptonPanel4 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox2 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonLabel7 = new Krypton.Toolkit.KryptonLabel();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.kryptonDataGridView2 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel6 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
this.kryptonPanel5 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
this.dataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
this.kryptonDataGridView2 = new Krypton.Toolkit.KryptonDataGridView();
this.kryptonPanel6 = new Krypton.Toolkit.KryptonPanel();
this.kryptonPanel5 = new Krypton.Toolkit.KryptonPanel();
this.dataGridView = new Krypton.Toolkit.KryptonDataGridView();
this.报警名称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -126,23 +126,23 @@
this.kryptonTextBox4.AlwaysActive = false;
this.kryptonTextBox4.Location = new System.Drawing.Point(148, 258);
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.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)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox4.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox4.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox4.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox4.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox4.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox4.StateCommon.Border.Rounding = 4;
this.kryptonTextBox4.StateCommon.Border.Width = 2;
this.kryptonTextBox4.TabIndex = 8;
//
// 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.Name = "kryptonLabel4";
this.kryptonLabel4.Size = new System.Drawing.Size(95, 29);
@@ -154,23 +154,23 @@
this.kryptonTextBox5.AlwaysActive = false;
this.kryptonTextBox5.Location = new System.Drawing.Point(148, 183);
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.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)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox5.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox5.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox5.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox5.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox5.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox5.StateCommon.Border.Rounding = 4;
this.kryptonTextBox5.StateCommon.Border.Width = 2;
this.kryptonTextBox5.TabIndex = 6;
//
// 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.Name = "kryptonLabel5";
this.kryptonLabel5.Size = new System.Drawing.Size(95, 29);
@@ -182,23 +182,23 @@
this.kryptonTextBox6.AlwaysActive = false;
this.kryptonTextBox6.Location = new System.Drawing.Point(148, 108);
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.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)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox6.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox6.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox6.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox6.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox6.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox6.StateCommon.Border.Rounding = 4;
this.kryptonTextBox6.StateCommon.Border.Width = 2;
this.kryptonTextBox6.TabIndex = 4;
//
// 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.Name = "kryptonLabel6";
this.kryptonLabel6.Size = new System.Drawing.Size(95, 29);
@@ -210,16 +210,16 @@
this.kryptonTextBox7.AlwaysActive = false;
this.kryptonTextBox7.Location = new System.Drawing.Point(148, 42);
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.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)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox7.StateCommon.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left)
| ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox7.StateCommon.Border.GraphicsHint = ComponentFactory.Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox7.StateActive.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox7.StateCommon.Border.DrawBorders = ((Krypton.Toolkit.PaletteDrawBorders)((((Krypton.Toolkit.PaletteDrawBorders.Top | Krypton.Toolkit.PaletteDrawBorders.Bottom)
| Krypton.Toolkit.PaletteDrawBorders.Left)
| Krypton.Toolkit.PaletteDrawBorders.Right)));
this.kryptonTextBox7.StateCommon.Border.GraphicsHint = Krypton.Toolkit.PaletteGraphicsHint.AntiAlias;
this.kryptonTextBox7.StateCommon.Border.Rounding = 4;
this.kryptonTextBox7.StateCommon.Border.Width = 2;
this.kryptonTextBox7.TabIndex = 2;
@@ -261,7 +261,7 @@
//
// 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.Name = "kryptonLabel7";
this.kryptonLabel7.Size = new System.Drawing.Size(95, 29);
@@ -302,14 +302,14 @@
this.kryptonDataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.kryptonDataGridView2.ColumnHeadersHeight = 50;
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.Name = "kryptonDataGridView2";
this.kryptonDataGridView2.ReadOnly = true;
this.kryptonDataGridView2.RowHeadersVisible = false;
this.kryptonDataGridView2.RowHeadersWidth = 100;
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.TabIndex = 1;
//
@@ -349,14 +349,14 @@
this.Column3,
this.Column4});
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.Name = "dataGridView";
this.dataGridView.ReadOnly = true;
this.dataGridView.RowHeadersVisible = false;
this.dataGridView.RowHeadersWidth = 100;
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.TabIndex = 2;
//
@@ -417,29 +417,29 @@
#endregion
private ComponentFactory.Krypton.Toolkit.KryptonButton btnDeleted;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnSave;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnEdit;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnExit;
private ComponentFactory.Krypton.Toolkit.KryptonButton btnAdd;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox4;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel4;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox5;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel5;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox6;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel6;
private ComponentFactory.Krypton.Toolkit.KryptonTextBox kryptonTextBox7;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel4;
private ComponentFactory.Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private ComponentFactory.Krypton.Toolkit.KryptonLabel kryptonLabel7;
private Krypton.Toolkit.KryptonButton btnDeleted;
private Krypton.Toolkit.KryptonButton btnSave;
private Krypton.Toolkit.KryptonButton btnEdit;
private Krypton.Toolkit.KryptonButton btnExit;
private Krypton.Toolkit.KryptonButton btnAdd;
private Krypton.Toolkit.KryptonTextBox kryptonTextBox4;
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
private Krypton.Toolkit.KryptonTextBox kryptonTextBox5;
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private Krypton.Toolkit.KryptonTextBox kryptonTextBox6;
private Krypton.Toolkit.KryptonLabel kryptonLabel6;
private Krypton.Toolkit.KryptonTextBox kryptonTextBox7;
private Krypton.Toolkit.KryptonPanel kryptonPanel4;
private Krypton.Toolkit.KryptonGroupBox kryptonGroupBox2;
private Krypton.Toolkit.KryptonLabel kryptonLabel7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView2;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel6;
private ComponentFactory.Krypton.Toolkit.KryptonPanel kryptonPanel5;
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView dataGridView;
private Krypton.Toolkit.KryptonDataGridView kryptonDataGridView2;
private Krypton.Toolkit.KryptonPanel kryptonPanel6;
private Krypton.Toolkit.KryptonPanel kryptonPanel5;
private Krypton.Toolkit.KryptonDataGridView dataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn 报警名称;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;

View File

@@ -1,5 +1,5 @@
using CleanMachineHMI.Utils;
using ComponentFactory.Krypton.Toolkit;
using Krypton.Toolkit;
using LeadDataBaseUtility;
using System;
using System.Collections.Generic;
@@ -24,7 +24,7 @@ namespace CleanMachineHMI
public void Init()
{
var sql = "select * from BAS_WARNING";
DataTable dt = LeadDbHelperSQLServer.Query(sql).Tables[0];
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
dataGridView.Rows.Clear();
dataGridView.Columns.Clear();
dataGridView.DataSource = dt;
@@ -42,7 +42,7 @@ namespace CleanMachineHMI
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"?>
<packages>
<package id="Krypton.Navigator" version="5.550.2108.1" targetFramework="net45" />
<package id="Krypton.Toolkit" 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" requireReinstallation="true" />
<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="NModbus4" version="2.1.0" targetFramework="net45" />