#总装移交版本
@@ -0,0 +1,376 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7C83975D-A071-48E0-8A12-DAFD20525B66}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>NSAnalysis</RootNamespace>
|
||||
<AssemblyName>NSAnalysis</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<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|x86' ">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>HexagonTransparent.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Covert, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\x64\Debug\Covert.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DAL">
|
||||
<HintPath>..\DAL\bin\Debug\DAL.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HslCommunication, Version=5.3.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\x64\Debug\HslCommunication.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.3.3\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PLCModule">
|
||||
<HintPath>..\PLCModule\PLCModule\bin\Debug\PLCModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Telerik.WinControls, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL">
|
||||
<HintPath>..\lib\RCWF\2018.3.1016.40\Telerik.WinControls.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL">
|
||||
<HintPath>..\lib\RCWF\2018.3.1016.40\Telerik.WinControls.UI.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="TelerikCommon, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL">
|
||||
<HintPath>..\lib\RCWF\2018.3.1016.40\TelerikCommon.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AboutSoftwareInfo.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AboutSoftwareInfo.designer.cs">
|
||||
<DependentUpon>AboutSoftwareInfo.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BaseUnit\Base.cs" />
|
||||
<Compile Include="BaseUnit\ImageDfn.cs" />
|
||||
<Compile Include="BaseUnit\NetworkCopy.cs" />
|
||||
<Compile Include="BaseUnit\PlcObject.cs" />
|
||||
<Compile Include="BaseUnit\PlcSignalDfn.cs" />
|
||||
<Compile Include="BaseUnit\PlcWriteManager.cs" />
|
||||
<Compile Include="BaseUnit\RichTextUnit.cs" />
|
||||
<Compile Include="CarDataDisplayForm\FEH3LeftCarData.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEH3LeftCarData.designer.cs">
|
||||
<DependentUpon>FEH3LeftCarData.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEH3RightCarData.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEH3RightCarData.designer.cs">
|
||||
<DependentUpon>FEH3RightCarData.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CenterControl.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CenterControl.designer.cs">
|
||||
<DependentUpon>CenterControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Define\ConfigPlc.cs" />
|
||||
<Compile Include="Define\Define.cs" />
|
||||
<Compile Include="Define\MyExtensions.cs" />
|
||||
<Compile Include="Range\FAddRange.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Range\FAddRange.designer.cs">
|
||||
<DependentUpon>FAddRange.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Range\FEditRange.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Range\FEditRange.designer.cs">
|
||||
<DependentUpon>FEditRange.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Range\FRangeSetup.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Range\FRangeSetup.designer.cs">
|
||||
<DependentUpon>FRangeSetup.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tolerance\FAddTolerance.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tolerance\FAddTolerance.designer.cs">
|
||||
<DependentUpon>FAddTolerance.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tolerance\FEditTolerance.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tolerance\FEditTolerance.designer.cs">
|
||||
<DependentUpon>FEditTolerance.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TestPageView.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TestPageView.designer.cs">
|
||||
<DependentUpon>TestPageView.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEHYLeftCarData.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEHYLeftCarData.designer.cs">
|
||||
<DependentUpon>FEHYLeftCarData.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEHYRightCarData.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CarDataDisplayForm\FEHYRightCarData.designer.cs">
|
||||
<DependentUpon>FEHYRightCarData.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FSoftwareSetup.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FSoftwareSetup.designer.cs">
|
||||
<DependentUpon>FSoftwareSetup.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tolerance\FToleranceSetup.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tolerance\FToleranceSetup.designer.cs">
|
||||
<DependentUpon>FToleranceSetup.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ZSFDEMO.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ZSFDEMO.designer.cs">
|
||||
<DependentUpon>ZSFDEMO.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="AboutSoftwareInfo.resx">
|
||||
<DependentUpon>AboutSoftwareInfo.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="CarDataDisplayForm\FEH3LeftCarData.resx">
|
||||
<DependentUpon>FEH3LeftCarData.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="CarDataDisplayForm\FEH3RightCarData.resx">
|
||||
<DependentUpon>FEH3RightCarData.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="CenterControl.resx">
|
||||
<DependentUpon>CenterControl.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Range\FAddRange.resx">
|
||||
<DependentUpon>FAddRange.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Range\FEditRange.resx">
|
||||
<DependentUpon>FEditRange.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Range\FRangeSetup.resx">
|
||||
<DependentUpon>FRangeSetup.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tolerance\FAddTolerance.resx">
|
||||
<DependentUpon>FAddTolerance.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tolerance\FEditTolerance.resx">
|
||||
<DependentUpon>FEditTolerance.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TestPageView.resx">
|
||||
<DependentUpon>TestPageView.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="CarDataDisplayForm\FEHYLeftCarData.resx">
|
||||
<DependentUpon>FEHYLeftCarData.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="CarDataDisplayForm\FEHYRightCarData.resx">
|
||||
<DependentUpon>FEHYRightCarData.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FSoftwareSetup.resx">
|
||||
<DependentUpon>FSoftwareSetup.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tolerance\FToleranceSetup.resx">
|
||||
<DependentUpon>FToleranceSetup.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ZSFDEMO.resx">
|
||||
<DependentUpon>ZSFDEMO.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="NLog.config">
|
||||
<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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<!--sirinie -->
|
||||
<Content Include="HexagonTransparent.ico" />
|
||||
<Content Include="Images\1024B-2.png" />
|
||||
<Content Include="Images\cncmachine32.png" />
|
||||
<Content Include="Images\Dashboard.png" />
|
||||
<Content Include="Images\export.png" />
|
||||
<Content Include="Images\eyes32.png" />
|
||||
<Content Include="Images\FirstPage.png" />
|
||||
<Content Include="Images\LastPage.png" />
|
||||
<Content Include="Images\NextPage.png" />
|
||||
<Content Include="Images\PrevPage.png" />
|
||||
<Content Include="Images\Search32.png" />
|
||||
<Content Include="Images\setup32.png" />
|
||||
<Content Include="Images\wnull.png" />
|
||||
<None Include="Resources\Range.png" />
|
||||
<None Include="Resources\EH3L.png" />
|
||||
<None Include="Resources\EH3R.png" />
|
||||
<None Include="Resources\EHYR.jpg" />
|
||||
<None Include="Resources\EH3L.jpg" />
|
||||
<None Include="Resources\EHYL.jpg" />
|
||||
<None Include="Resources\EH3R.jpg" />
|
||||
<None Include="Resources\EHYL.png" />
|
||||
<None Include="Resources\ERYR.png" />
|
||||
<None Include="Resources\downloadCarType.png" />
|
||||
<None Include="Resources\EHYR.PNG" />
|
||||
<None Include="Resources\LOG.png" />
|
||||
<None Include="Resources\add_32.png" />
|
||||
<None Include="Resources\setupgreen32.png" />
|
||||
<None Include="Resources\HConfig.png" />
|
||||
<None Include="Resources\LeftCarImage.png" />
|
||||
<None Include="Resources\RightCarImage.png" />
|
||||
<None Include="Resources\Refresh128.png" />
|
||||
<None Include="Resources\Refresh64.png" />
|
||||
<None Include="Resources\showcardata.png" />
|
||||
<None Include="Resources\prevpage.png" />
|
||||
<None Include="Resources\nextpage.png" />
|
||||
<None Include="Resources\lastpage.png" />
|
||||
<None Include="Resources\firstpage.png" />
|
||||
<None Include="Resources\upload.png" />
|
||||
<None Include="Resources\hexagonlogotransparent.png" />
|
||||
<None Include="Resources\search16.png" />
|
||||
<None Include="Resources\plctest32.png" />
|
||||
<None Include="Resources\plcaddress32.png" />
|
||||
<None Include="Resources\about32.png" />
|
||||
<None Include="Resources\NG.png" />
|
||||
<None Include="Resources\OK.png" />
|
||||
<None Include="Resources\ResultNG.jpg" />
|
||||
<None Include="Resources\ResultOK.jpg" />
|
||||
<None Include="Resources\Waiting.png" />
|
||||
<None Include="Resources\Forbid.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\UserControlClass\3.UserControlClass.csproj">
|
||||
<Project>{128F6EA4-E5B5-4B32-8A4F-BD820B83398F}</Project>
|
||||
<Name>3.UserControlClass</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.7">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.7 %28x86 和 x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using BaseFunction;
|
||||
using Telerik.WinControls.UI;
|
||||
using System.Reflection;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class AboutSoftwareInfo : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
public AboutSoftwareInfo()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void AboutSoftwareInfo_Load(object sender, EventArgs e)
|
||||
{
|
||||
labelExpiryDateValue.Text = ConfigDfn.strExpiredTime;//ConfigDfn.strExpiredTime
|
||||
labVersion.Text = AssemblyFileVersion;
|
||||
//海克斯康制造智能技术(青岛)有限公司 / Hexagon Manufacturing Intelligence (Qingdao) Co., Ltd.
|
||||
//Please send the request file to Hexagon Manufacturing Intelligence (Qingdao) Co., Ltd.
|
||||
}
|
||||
|
||||
public string AssemblyVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
public string AssemblyFileVersion
|
||||
{
|
||||
get { return FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).FileVersion; }
|
||||
}
|
||||
|
||||
private void rbtnCreateRequest_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
SaveFileDialog fbd = new SaveFileDialog();
|
||||
fbd.DefaultExt = ".key";
|
||||
fbd.Filter = "KEY (*.key)|*.key";
|
||||
fbd.FileName = "Request.key";
|
||||
|
||||
if (fbd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
using (StreamWriter sw = new StreamWriter(fbd.FileName, false, Encoding.Default))
|
||||
{
|
||||
sw.WriteLine(Covert.GetSystemInfo.GetCode1() + Covert.GetSystemInfo.GetCode2());
|
||||
sw.Dispose();
|
||||
|
||||
MessageBox.Show("授权请求文件,保存成功!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
MyBase.TraceWriteLine("授权请求文件未生成——取消");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("授权请求文件生成出错:" + ex.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
#region RadButton鼠标事件
|
||||
|
||||
private void btn_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(0, 151, 186);
|
||||
}
|
||||
|
||||
private void btn_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(19, 46, 53);
|
||||
}
|
||||
|
||||
#endregion RadButton鼠标事件
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,354 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class AboutSoftwareInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutSoftwareInfo));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.gpBoxLicenceInfo = new Telerik.WinControls.UI.RadGroupBox();
|
||||
this.labLicenseInfo = new System.Windows.Forms.Label();
|
||||
this.rbtnCreateRequest = new Telerik.WinControls.UI.RadButton();
|
||||
this.labelExpiryDateValue = new System.Windows.Forms.Label();
|
||||
this.labelExpiryDate = new System.Windows.Forms.Label();
|
||||
this.gpBoxGeneralInfo = new Telerik.WinControls.UI.RadGroupBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.labCopyRight = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.labVersion = new System.Windows.Forms.Label();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.label_Version = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gpBoxLicenceInfo)).BeginInit();
|
||||
this.gpBoxLicenceInfo.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnCreateRequest)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gpBoxGeneralInfo)).BeginInit();
|
||||
this.gpBoxGeneralInfo.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(836, 40);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "DEMO12";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "DEMO12";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(334, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(20, 15, 20, 15);
|
||||
this.label2.Size = new System.Drawing.Size(40, 52);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(370, 8);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(88, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "关于软件";
|
||||
//
|
||||
// gpBoxLicenceInfo
|
||||
//
|
||||
this.gpBoxLicenceInfo.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
|
||||
this.gpBoxLicenceInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.gpBoxLicenceInfo.Controls.Add(this.labLicenseInfo);
|
||||
this.gpBoxLicenceInfo.Controls.Add(this.rbtnCreateRequest);
|
||||
this.gpBoxLicenceInfo.Controls.Add(this.labelExpiryDateValue);
|
||||
this.gpBoxLicenceInfo.Controls.Add(this.labelExpiryDate);
|
||||
this.gpBoxLicenceInfo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gpBoxLicenceInfo.ForeColor = System.Drawing.Color.White;
|
||||
this.gpBoxLicenceInfo.HeaderText = "授权信息";
|
||||
this.gpBoxLicenceInfo.Location = new System.Drawing.Point(22, 264);
|
||||
this.gpBoxLicenceInfo.Name = "gpBoxLicenceInfo";
|
||||
this.gpBoxLicenceInfo.Size = new System.Drawing.Size(790, 234);
|
||||
this.gpBoxLicenceInfo.TabIndex = 38;
|
||||
this.gpBoxLicenceInfo.Text = "授权信息";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(0).GetChildAt(0))).Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(81)))), ((int)(((byte)(95)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = "授权信息";
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).LineLimit = false;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Font = new System.Drawing.Font("Segoe UI", 11F);
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxLicenceInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labLicenseInfo
|
||||
//
|
||||
this.labLicenseInfo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labLicenseInfo.Location = new System.Drawing.Point(26, 99);
|
||||
this.labLicenseInfo.Name = "labLicenseInfo";
|
||||
this.labLicenseInfo.Size = new System.Drawing.Size(503, 21);
|
||||
this.labLicenseInfo.TabIndex = 9;
|
||||
this.labLicenseInfo.Text = "请将请求授权文件发送给海克斯康制造智能技术(青岛)有限公司";
|
||||
//
|
||||
// rbtnCreateRequest
|
||||
//
|
||||
this.rbtnCreateRequest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.rbtnCreateRequest.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.rbtnCreateRequest.ForeColor = System.Drawing.Color.White;
|
||||
this.rbtnCreateRequest.Location = new System.Drawing.Point(33, 151);
|
||||
this.rbtnCreateRequest.Name = "rbtnCreateRequest";
|
||||
this.rbtnCreateRequest.Size = new System.Drawing.Size(170, 55);
|
||||
this.rbtnCreateRequest.TabIndex = 13;
|
||||
this.rbtnCreateRequest.Text = "创建请求授权文件";
|
||||
this.rbtnCreateRequest.Click += new System.EventHandler(this.rbtnCreateRequest_Click);
|
||||
this.rbtnCreateRequest.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
|
||||
this.rbtnCreateRequest.MouseHover += new System.EventHandler(this.btn_MouseHover);
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnCreateRequest.GetChildAt(0))).Text = "创建请求授权文件";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCreateRequest.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCreateRequest.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
//
|
||||
// labelExpiryDateValue
|
||||
//
|
||||
this.labelExpiryDateValue.AutoSize = true;
|
||||
this.labelExpiryDateValue.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelExpiryDateValue.Location = new System.Drawing.Point(112, 49);
|
||||
this.labelExpiryDateValue.Name = "labelExpiryDateValue";
|
||||
this.labelExpiryDateValue.Size = new System.Drawing.Size(88, 21);
|
||||
this.labelExpiryDateValue.TabIndex = 0;
|
||||
this.labelExpiryDateValue.Text = "2017.04.20";
|
||||
//
|
||||
// labelExpiryDate
|
||||
//
|
||||
this.labelExpiryDate.AutoSize = true;
|
||||
this.labelExpiryDate.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelExpiryDate.Location = new System.Drawing.Point(26, 50);
|
||||
this.labelExpiryDate.Name = "labelExpiryDate";
|
||||
this.labelExpiryDate.Size = new System.Drawing.Size(95, 21);
|
||||
this.labelExpiryDate.TabIndex = 0;
|
||||
this.labelExpiryDate.Text = "到期时间:";
|
||||
//
|
||||
// gpBoxGeneralInfo
|
||||
//
|
||||
this.gpBoxGeneralInfo.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
|
||||
this.gpBoxGeneralInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.label4);
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.labCopyRight);
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.label5);
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.labVersion);
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.pictureBox2);
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.label_Version);
|
||||
this.gpBoxGeneralInfo.Controls.Add(this.label3);
|
||||
this.gpBoxGeneralInfo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.gpBoxGeneralInfo.ForeColor = System.Drawing.Color.White;
|
||||
this.gpBoxGeneralInfo.HeaderText = "基本信息";
|
||||
this.gpBoxGeneralInfo.Location = new System.Drawing.Point(22, 54);
|
||||
this.gpBoxGeneralInfo.Name = "gpBoxGeneralInfo";
|
||||
this.gpBoxGeneralInfo.Size = new System.Drawing.Size(790, 202);
|
||||
this.gpBoxGeneralInfo.TabIndex = 37;
|
||||
this.gpBoxGeneralInfo.Text = "基本信息";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(0).GetChildAt(0))).Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(81)))), ((int)(((byte)(95)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = "基本信息";
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).LineLimit = false;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Font = new System.Drawing.Font("Segoe UI", 11F);
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.gpBoxGeneralInfo.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label4.Location = new System.Drawing.Point(112, 43);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(316, 21);
|
||||
this.label4.TabIndex = 31;
|
||||
this.label4.Text = "海克斯康间隙面差分析系统";
|
||||
//
|
||||
// labCopyRight
|
||||
//
|
||||
this.labCopyRight.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.labCopyRight.Location = new System.Drawing.Point(112, 150);
|
||||
this.labCopyRight.Name = "labCopyRight";
|
||||
this.labCopyRight.Size = new System.Drawing.Size(316, 21);
|
||||
this.labCopyRight.TabIndex = 0;
|
||||
this.labCopyRight.Text = "海克斯康制造智能技术(青岛)有限公司";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label5.Location = new System.Drawing.Point(25, 43);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(95, 21);
|
||||
this.label5.TabIndex = 32;
|
||||
this.label5.Text = "软件名称:";
|
||||
//
|
||||
// labVersion
|
||||
//
|
||||
this.labVersion.AutoSize = true;
|
||||
this.labVersion.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.labVersion.Location = new System.Drawing.Point(112, 96);
|
||||
this.labVersion.Name = "labVersion";
|
||||
this.labVersion.Size = new System.Drawing.Size(65, 21);
|
||||
this.labVersion.TabIndex = 30;
|
||||
this.labVersion.Text = "V1.0.0.0";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox2.Image = global::NSAnalysis.Properties.Resources.hexagonlogotransparent;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(464, 31);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(304, 100);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox2.TabIndex = 29;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// label_Version
|
||||
//
|
||||
this.label_Version.AutoSize = true;
|
||||
this.label_Version.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label_Version.Location = new System.Drawing.Point(25, 95);
|
||||
this.label_Version.Name = "label_Version";
|
||||
this.label_Version.Size = new System.Drawing.Size(95, 21);
|
||||
this.label_Version.TabIndex = 0;
|
||||
this.label_Version.Text = "软件版本:";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label3.Location = new System.Drawing.Point(25, 150);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(95, 21);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "版权所有:";
|
||||
//
|
||||
// AboutSoftwareInfo
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(838, 517);
|
||||
this.Controls.Add(this.gpBoxLicenceInfo);
|
||||
this.Controls.Add(this.gpBoxGeneralInfo);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "AboutSoftwareInfo";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "DEMO12";
|
||||
this.Load += new System.EventHandler(this.AboutSoftwareInfo_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gpBoxLicenceInfo)).EndInit();
|
||||
this.gpBoxLicenceInfo.ResumeLayout(false);
|
||||
this.gpBoxLicenceInfo.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnCreateRequest)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gpBoxGeneralInfo)).EndInit();
|
||||
this.gpBoxGeneralInfo.ResumeLayout(false);
|
||||
this.gpBoxGeneralInfo.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private Telerik.WinControls.UI.RadGroupBox gpBoxLicenceInfo;
|
||||
private System.Windows.Forms.Label labelExpiryDate;
|
||||
private System.Windows.Forms.Label labLicenseInfo;
|
||||
private System.Windows.Forms.Label labelExpiryDateValue;
|
||||
private Telerik.WinControls.UI.RadGroupBox gpBoxGeneralInfo;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Label label_Version;
|
||||
private System.Windows.Forms.Label labCopyRight;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label labVersion;
|
||||
private Telerik.WinControls.UI.RadButton rbtnCreateRequest;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="label2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAABqdJREFUWEe1lnlQE1ccx61HPXEqFEdtx0GtZ1uPTq3V1mPafxjbomO1VVtrj1E7
|
||||
VfHgMOQggCggoAUUCEqCEIwElQAaslnIJrsBk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WKFgAon3/xnp3cjPKCDsamCTUelHG
|
||||
M5zL/kBDiUN9j/R9EOdzZ+k8yb/At2NlgydJjTKiVtSdVKk/m/kVANjAPs34ScEaMJfVMw3t6bm6s6lp
|
||||
qEc4R0mJ+26dgwn6qipE706fjsJ1VnvEI8VA/PC3/lOjX79/AdonQT85iOsDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAzO/jAbfp2C6J3MGShNu+h3zYujF52LkGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAACS3sYvgtq+anrYuquB2r22ftm7z4DZvKuL3MJWzvDkBM7w5AEAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAbtSzA3nXuWh82Lqnedi5rI7dxGaB2r3Hfdi734DZvbuf4sx4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||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="TelerikWinFormsThemeName" value="Fluent"/>
|
||||
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
||||
<providers>
|
||||
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
||||
<providers>
|
||||
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
||||
</providers>
|
||||
</roleManager>
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
using NSAnalysis.Properties;
|
||||
|
||||
namespace BaseFunction
|
||||
{
|
||||
public class ImageDfn
|
||||
{
|
||||
/// <summary> 程序图标</summary>
|
||||
//public static Image ImgSOK = Resources.accept16;
|
||||
//public static Image ImgSNG = Resources.delete16_2;
|
||||
//public static Image ImgNull = Resources.Null;
|
||||
//public static Image ImgNoData = Resources.NoData;
|
||||
//public static Image ImgRead = Resources.read16;
|
||||
//public static Image ImgTransparent = Resources.transparent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,275 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace BaseFunction
|
||||
{
|
||||
public class SharedTool : IDisposable
|
||||
{
|
||||
// obtains user token
|
||||
[DllImport("advapi32.dll", SetLastError = true)]
|
||||
static extern bool LogonUser(string pszUsername, string pszDomain, string pszPassword, int dwLogonType, int dwLogonProvider, ref IntPtr phToken);
|
||||
|
||||
// closes open handes returned by LogonUser
|
||||
[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
|
||||
extern static bool CloseHandle(IntPtr handle);
|
||||
|
||||
[DllImport("Advapi32.DLL")]
|
||||
static extern bool ImpersonateLoggedOnUser(IntPtr hToken);
|
||||
|
||||
[DllImport("Advapi32.DLL")]
|
||||
static extern bool RevertToSelf();
|
||||
const int LOGON32_PROVIDER_DEFAULT = 0;
|
||||
const int LOGON32_LOGON_NEWCREDENTIALS = 9;//域控中的需要用:Interactive = 2
|
||||
private bool disposed;
|
||||
|
||||
/// <summary>
|
||||
/// SharedTool函数
|
||||
/// </summary>
|
||||
/// <param name="ip">连接的电脑的IP</param>
|
||||
/// <param name="username">用户名</param>
|
||||
/// <param name="password">密码</param>
|
||||
public SharedTool(string ip, string username, string password)
|
||||
{
|
||||
// initialize tokens
|
||||
IntPtr pExistingTokenHandle = new IntPtr(0);
|
||||
IntPtr pDuplicateTokenHandle = new IntPtr(0);
|
||||
|
||||
try
|
||||
{
|
||||
// get handle to token
|
||||
bool bImpersonated = LogonUser(username, ip, password, LOGON32_LOGON_NEWCREDENTIALS, LOGON32_PROVIDER_DEFAULT, ref pExistingTokenHandle);
|
||||
|
||||
if (bImpersonated)
|
||||
{
|
||||
if (!ImpersonateLoggedOnUser(pExistingTokenHandle))
|
||||
{
|
||||
int nErrorCode = Marshal.GetLastWin32Error();
|
||||
throw new Exception("ImpersonateLoggedOnUser error;Code=" + nErrorCode);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
int nErrorCode = Marshal.GetLastWin32Error();
|
||||
throw new Exception("LogonUser error;Code=" + nErrorCode);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
// close handle(s)
|
||||
if (pExistingTokenHandle != IntPtr.Zero)
|
||||
CloseHandle(pExistingTokenHandle);
|
||||
if (pDuplicateTokenHandle != IntPtr.Zero)
|
||||
CloseHandle(pDuplicateTokenHandle);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposed)
|
||||
{
|
||||
RevertToSelf();
|
||||
disposed = true;
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
}
|
||||
|
||||
public class NetworkShareConnect
|
||||
{
|
||||
#region WNetUseConnection枚举参数
|
||||
//dwScope
|
||||
const int RESOURCE_CONNECTED = 0x00000001;
|
||||
const int RESOURCE_GLOBALNET = 0x00000002;
|
||||
const int RESOURCE_REMEMBERED = 0x00000003;
|
||||
|
||||
//dwType
|
||||
const int RESOURCETYPE_ANY = 0x00000000;
|
||||
const int RESOURCETYPE_DISK = 0x00000001;
|
||||
const int RESOURCETYPE_PRINT = 0x00000002;
|
||||
|
||||
//dwDisplayType
|
||||
const int RESOURCEDISPLAYTYPE_GENERIC = 0x00000000;
|
||||
const int RESOURCEDISPLAYTYPE_DOMAIN = 0x00000001;
|
||||
const int RESOURCEDISPLAYTYPE_SERVER = 0x00000002;
|
||||
const int RESOURCEDISPLAYTYPE_SHARE = 0x00000003;
|
||||
const int RESOURCEDISPLAYTYPE_FILE = 0x00000004;
|
||||
const int RESOURCEDISPLAYTYPE_GROUP = 0x00000005;
|
||||
|
||||
//dwUsage
|
||||
const int RESOURCEUSAGE_CONNECTABLE = 0x00000001;
|
||||
const int RESOURCEUSAGE_CONTAINER = 0x00000002;
|
||||
|
||||
//dwFlags
|
||||
const int CONNECT_INTERACTIVE = 0x00000008;
|
||||
const int CONNECT_PROMPT = 0x00000010;
|
||||
const int CONNECT_REDIRECT = 0x00000080;
|
||||
const int CONNECT_UPDATE_PROFILE = 0x00000001;
|
||||
const int CONNECT_COMMANDLINE = 0x00000800;
|
||||
const int CONNECT_CMD_SAVECRED = 0x00001000;
|
||||
|
||||
const int CONNECT_LOCALDRIVE = 0x00000100;
|
||||
#endregion
|
||||
|
||||
#region Errors参数
|
||||
const int NO_ERROR = 0;
|
||||
|
||||
const int ERROR_ACCESS_DENIED = 5;
|
||||
const int ERROR_ALREADY_ASSIGNED = 85;
|
||||
const int ERROR_BAD_DEVICE = 1200;
|
||||
const int ERROR_BAD_NET_NAME = 67;
|
||||
const int ERROR_BAD_PROVIDER = 1204;
|
||||
const int ERROR_CANCELLED = 1223;
|
||||
const int ERROR_EXTENDED_ERROR = 1208;
|
||||
const int ERROR_INVALID_ADDRESS = 487;
|
||||
const int ERROR_INVALID_PARAMETER = 87;
|
||||
const int ERROR_INVALID_PASSWORD = 1216;
|
||||
const int ERROR_MORE_DATA = 234;
|
||||
const int ERROR_NO_MORE_ITEMS = 259;
|
||||
const int ERROR_NO_NET_OR_BAD_PATH = 1203;
|
||||
const int ERROR_NO_NETWORK = 1222;
|
||||
|
||||
const int ERROR_BAD_PROFILE = 1206;
|
||||
const int ERROR_CANNOT_OPEN_PROFILE = 1205;
|
||||
const int ERROR_DEVICE_IN_USE = 2404;
|
||||
const int ERROR_NOT_CONNECTED = 2250;
|
||||
const int ERROR_OPEN_FILES = 2401;
|
||||
|
||||
private struct ErrorClass
|
||||
{
|
||||
//定义错误类结构体
|
||||
public int num;
|
||||
public string message;
|
||||
public ErrorClass(int num, string message)
|
||||
{
|
||||
this.num = num;
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//连接失败信息汇总
|
||||
private static ErrorClass[] ERROR_LIST = new ErrorClass[] {
|
||||
new ErrorClass(ERROR_ACCESS_DENIED, "Error: Access Denied"),
|
||||
new ErrorClass(ERROR_ALREADY_ASSIGNED, "Error: Already Assigned"),
|
||||
new ErrorClass(ERROR_BAD_DEVICE, "Error: Bad Device"),
|
||||
new ErrorClass(ERROR_BAD_NET_NAME, "Error: Bad Net Name"),
|
||||
new ErrorClass(ERROR_BAD_PROVIDER, "Error: Bad Provider"),
|
||||
new ErrorClass(ERROR_CANCELLED, "Error: Cancelled"),
|
||||
new ErrorClass(ERROR_EXTENDED_ERROR, "Error: Extended Error"),
|
||||
new ErrorClass(ERROR_INVALID_ADDRESS, "Error: Invalid Address"),
|
||||
new ErrorClass(ERROR_INVALID_PARAMETER, "Error: Invalid Parameter"),
|
||||
new ErrorClass(ERROR_INVALID_PASSWORD, "Error: Invalid Password"),
|
||||
new ErrorClass(ERROR_MORE_DATA, "Error: More Data"),
|
||||
new ErrorClass(ERROR_NO_MORE_ITEMS, "Error: No More Items"),
|
||||
new ErrorClass(ERROR_NO_NET_OR_BAD_PATH, "Error: No Net Or Bad Path"),
|
||||
new ErrorClass(ERROR_NO_NETWORK, "Error: No Network"),
|
||||
new ErrorClass(ERROR_BAD_PROFILE, "Error: Bad Profile"),
|
||||
new ErrorClass(ERROR_CANNOT_OPEN_PROFILE, "Error: Cannot Open Profile"),
|
||||
new ErrorClass(ERROR_DEVICE_IN_USE, "Error: Device In Use"),
|
||||
new ErrorClass(ERROR_EXTENDED_ERROR, "Error: Extended Error"),
|
||||
new ErrorClass(ERROR_NOT_CONNECTED, "Error: Not Connected"),
|
||||
new ErrorClass(ERROR_OPEN_FILES, "Error: Open Files"),
|
||||
};
|
||||
|
||||
private static string getErrorForNumber(int errNum)
|
||||
{
|
||||
//遍历获得错误代码
|
||||
foreach (ErrorClass er in ERROR_LIST)
|
||||
{
|
||||
if (er.num == errNum) return er.message;
|
||||
}
|
||||
return "Error: Unknown, " + errNum;
|
||||
}
|
||||
#endregion
|
||||
|
||||
//调用系统函数WNetUseConnection
|
||||
//用于连接共享
|
||||
[DllImport("Mpr.dll")]
|
||||
private static extern int WNetUseConnection(
|
||||
IntPtr hwndOwner,
|
||||
NETRESOURCE lpNetResource,
|
||||
string lpPassword,
|
||||
string lpUserID,
|
||||
int dwFlags,
|
||||
string lpAccessName,
|
||||
string lpBufferSize,
|
||||
string lpResult
|
||||
);
|
||||
//用于删除连接
|
||||
[DllImport("Mpr.dll")]
|
||||
private static extern int WNetCancelConnection2(
|
||||
string lpName,
|
||||
int dwFlags,
|
||||
bool fForce
|
||||
);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
private class NETRESOURCE
|
||||
{
|
||||
public int dwScope = 0;
|
||||
public int dwType = 0;
|
||||
public int dwDisplayType = 0;
|
||||
public int dwUsage = 0;
|
||||
public string lpLocalName = "";//映射到本地的盘符,如"Z:"。不做驱动器映射,可为空
|
||||
public string lpRemoteName = "";//共享的网络路径
|
||||
public string lpComment = "";
|
||||
public string lpProvider = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 连接共享
|
||||
/// </summary>
|
||||
/// <param name="remoteUNC">共享网络路径</param>
|
||||
/// <param name="username">登录用户名</param>
|
||||
/// <param name="password">密码</param>
|
||||
/// <returns></returns>
|
||||
public static string connectToShare(string remoteUNC, string username, string password)
|
||||
{
|
||||
return connectToRemote(remoteUNC, username, password, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 没用户密码连接
|
||||
/// </summary>
|
||||
/// <param name="remoteUNC">共享网络路径</param>
|
||||
/// <returns></returns>
|
||||
public static string connectToShare(string remoteUNC)
|
||||
{
|
||||
return connectToRemote(remoteUNC, "", "", true);
|
||||
}
|
||||
|
||||
private static string connectToRemote(string remoteUNC, string username, string password, bool promptUser)
|
||||
{
|
||||
NETRESOURCE nr = new NETRESOURCE
|
||||
{
|
||||
dwType = RESOURCETYPE_DISK,
|
||||
lpRemoteName = remoteUNC
|
||||
};
|
||||
|
||||
int ret;
|
||||
if (promptUser)
|
||||
ret = WNetUseConnection(IntPtr.Zero, nr, "", "", CONNECT_INTERACTIVE | CONNECT_PROMPT, null, null, null);
|
||||
else
|
||||
ret = WNetUseConnection(IntPtr.Zero, nr, password, username, 0, null, null, null);
|
||||
|
||||
if (ret == NO_ERROR) return null;
|
||||
return getErrorForNumber(ret);
|
||||
}
|
||||
|
||||
public static string disconnectRemote(string remoteUNC)
|
||||
{
|
||||
int ret = WNetCancelConnection2(remoteUNC, CONNECT_UPDATE_PROFILE, false);
|
||||
if (ret == NO_ERROR) return null;
|
||||
return getErrorForNumber(ret);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BaseFunction;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
internal class PlcSignalDfn
|
||||
{
|
||||
//=========================Write to PLC =================================
|
||||
public const string SoftLive = "SoftLive"; //10;
|
||||
|
||||
public const string CMMStatus = "CMMStatus"; //50; //10空闲,20忙碌
|
||||
public const string CmmError = "CmmError"; //52; //10报警, 0清除
|
||||
public const string CMMResult = "CMMResult"; //56; //10=OK, 20=NG
|
||||
public const string CMMResultClear = "CMMResultClear"; //56; //10=OK, 20=NG
|
||||
public const string CMMForceUnload = "CMMForceUnload"; //
|
||||
public const string CMMResultKField = "CMMResultKField"; //57; //10=OK, 20=NG
|
||||
|
||||
public const string CMMResultBits = "CMMResultBits"; //56; //10=OK, 20=NG
|
||||
public const string CMMResultDatas = "CMMResultDatas"; //58;
|
||||
|
||||
public const string Year = "Year"; //91
|
||||
public const string Mouth = "Mouth"; //92
|
||||
public const string Day = "Day"; //93
|
||||
public const string Hour = "Hour"; //94
|
||||
public const string Minute = "Minute"; //95
|
||||
public const string Second = "Second"; //96
|
||||
public const string Week = "Week"; //97
|
||||
|
||||
public const string CoordX = "CoordX"; //11-12 //坐标float,4字节,32位
|
||||
public const string CoordY = "CoordY"; //13-14
|
||||
public const string CoordZ = "CoordZ"; //15-16
|
||||
|
||||
public const string WCarType = "WCarType";
|
||||
public const string WCarColor = "WCarColor";
|
||||
public const string UnloadTray = "UnloadTray";
|
||||
public const string CancelUnloadTray = "CancelUnloadTray";
|
||||
public const string RFIDResult = "RFIDResult";
|
||||
public const string daoguienter = "daoguienter";
|
||||
public const string MeasureError = "MeasureError"; //10 :报警
|
||||
|
||||
//========================Read PLC Address==================================
|
||||
public const string StartAddr = "StartAddr"; //100;
|
||||
|
||||
public const string PlcLive = "PlcLive"; //110;
|
||||
public const string StartCmd = "StartCmd"; //131;
|
||||
public const string CmmHome = "CmmHome"; //132;
|
||||
public const string CmmPartOk = "CmmPartOk"; //133;
|
||||
public const string PlcMode = "PlcMode"; //151;
|
||||
public const string PlcAutoRunning = "PlcAutoRunning";
|
||||
|
||||
public const string PartID = "PartID";
|
||||
public const string MachineID = "MachineID";
|
||||
public const string ProgramCode = "ProgramCode";
|
||||
public const string CarType = "CarType";
|
||||
public const string NSStartMeasure = "NSStartMeasure";
|
||||
public const string ReadVINFinishFlag = "ReadVINFinishFlag";
|
||||
public const string LeaveFirstFlag = "LeaveFirstFlag";
|
||||
public const string LeaveSecondFlag = "LeaveSecondFlag";
|
||||
public const string CarPassFlag = "CarPassFlag";
|
||||
|
||||
public const string Speed1 = "Speed1";
|
||||
public const string Speed2 = "Speed2";
|
||||
public const string R01_Pules = "R01_Pules";
|
||||
public const string R02_Pules = "R02_Pules";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public class PlcWriteObj
|
||||
{
|
||||
public object WriteAddr;
|
||||
public object WriteValue;
|
||||
public int WriteLength; //长度,主要针对字符串
|
||||
/// <summary>
|
||||
/// 0=int, 1= float, 2=double, 3=string
|
||||
/// </summary>
|
||||
public int DataType = 0;
|
||||
|
||||
public PlcWriteObj()
|
||||
{
|
||||
WriteAddr = null;
|
||||
WriteValue = null;
|
||||
WriteLength = -1;
|
||||
}
|
||||
}
|
||||
|
||||
public class PlcWriteManager
|
||||
{
|
||||
private List<PlcWriteObj> LstPLcWrite = new List<PlcWriteObj>();
|
||||
private static readonly object sync = new object();
|
||||
private static PlcWriteManager _this = null;
|
||||
public static PlcWriteManager Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_this == null)
|
||||
{
|
||||
lock (sync)
|
||||
{
|
||||
if (_this == null)
|
||||
{
|
||||
_this = new PlcWriteManager();
|
||||
}
|
||||
}
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
}
|
||||
|
||||
public PlcWriteManager()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public PlcWriteObj OutQueue()
|
||||
{
|
||||
try
|
||||
{
|
||||
PlcWriteObj ccmdObj = null;
|
||||
lock (this)
|
||||
{
|
||||
if (LstPLcWrite != null && LstPLcWrite.Count > 0)
|
||||
{
|
||||
ccmdObj = new PlcWriteObj();
|
||||
ccmdObj = LstPLcWrite[0];
|
||||
LstPLcWrite.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
return ccmdObj;
|
||||
}
|
||||
catch
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
public void RemoveQueueTop()
|
||||
{
|
||||
if (LstPLcWrite != null && LstPLcWrite.Count > 0)
|
||||
{
|
||||
LstPLcWrite.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
public void InsertQueue(PlcWriteObj data)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
LstPLcWrite.Add(data);
|
||||
}
|
||||
}
|
||||
|
||||
public bool isExitData()
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
return LstPLcWrite.Count > 0;
|
||||
}
|
||||
}
|
||||
|
||||
public static void WritePlc(object Addr, object Value, int DataType)
|
||||
{
|
||||
PlcWriteObj m_DataObj = new PlcWriteObj();
|
||||
m_DataObj.WriteAddr = Addr;
|
||||
m_DataObj.WriteValue = Value;
|
||||
m_DataObj.DataType = DataType;
|
||||
Instance.InsertQueue(m_DataObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace BaseFunction
|
||||
{
|
||||
public class RichTextUnit
|
||||
{
|
||||
public static float m_Size = 16;
|
||||
public static void SetFont(RichTextBox m_RichTextBox, Color m_Color, bool bBold = false, float Size = 16)
|
||||
{
|
||||
m_RichTextBox.SelectionColor = m_Color;
|
||||
if (bBold)
|
||||
m_RichTextBox.SelectionFont = new System.Drawing.Font("微软雅黑", Size, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
|
||||
else
|
||||
m_RichTextBox.SelectionFont = new System.Drawing.Font("微软雅黑", Size, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
|
||||
}
|
||||
|
||||
public static void SetText(RichTextBox m_RichTextBox, string strText, Color m_Color, bool bBold = false, float Size = 16)
|
||||
{
|
||||
m_RichTextBox.Invoke(((EventHandler)delegate
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, m_Color, bBold, Size);
|
||||
m_RichTextBox.SelectedText = strText;
|
||||
}));
|
||||
}
|
||||
|
||||
public static void SetXmlText(RichTextBox m_RichTextBox, string strText, float Size = 16)
|
||||
{
|
||||
m_RichTextBox.Invoke(((EventHandler)delegate
|
||||
{
|
||||
int iFirstInx = strText.IndexOf("<?");
|
||||
int iSecondInx = strText.IndexOf("?>");
|
||||
|
||||
#region PARSE THROUGH TEXT DATA
|
||||
for (int i = 0; i < strText.Length; i++)
|
||||
{
|
||||
if (i >= iFirstInx && i <= iSecondInx + 1)
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Blue, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (strText[i])
|
||||
{
|
||||
case '<':
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Blue, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
if (strText[i + 1] == '/')
|
||||
{
|
||||
m_RichTextBox.SelectedText = strText[i + 1].ToString();
|
||||
i++;
|
||||
}
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.DarkRed, false, Size);
|
||||
}
|
||||
break;
|
||||
case '>':
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Blue, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Black, false, Size);
|
||||
}
|
||||
break;
|
||||
case '/':
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Blue, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
}
|
||||
break;
|
||||
case '=':
|
||||
{
|
||||
if (strText[i + 1] == '"')
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Black, true, Size);
|
||||
m_RichTextBox.SelectedText = "=" + '"'.ToString();
|
||||
i++;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case '"':
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Blue, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
if (strText[i - 1] == '=')
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Black, true, Size);
|
||||
else
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.DarkRed, false, Size);
|
||||
}
|
||||
break;
|
||||
case '!':
|
||||
{
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Green, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
}
|
||||
break;
|
||||
case '\r':
|
||||
{
|
||||
if (strText[i + 1] == '\n')
|
||||
{
|
||||
m_RichTextBox.SelectedText = "\r\n";
|
||||
i++;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
m_RichTextBox.SelectedText = Environment.NewLine;
|
||||
}));
|
||||
}
|
||||
|
||||
public static void SetCNCText(RichTextBox m_RichTextBox, string strText, float Size = 16)
|
||||
{
|
||||
m_RichTextBox.Invoke(((EventHandler)delegate
|
||||
{
|
||||
#region PARSE THROUGH TEXT DATA
|
||||
for (int i = 0; i < strText.Length; i++)
|
||||
{
|
||||
switch (strText[i])
|
||||
{
|
||||
case '%':
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.Red, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
break;
|
||||
case '0':
|
||||
case '1':
|
||||
case '2':
|
||||
case '3':
|
||||
case '4':
|
||||
case '5':
|
||||
case '6':
|
||||
case '7':
|
||||
case '8':
|
||||
case '9':
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.DeepSkyBlue, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
break;
|
||||
default:
|
||||
RichTextUnit.SetFont(m_RichTextBox, Color.White, false, Size);
|
||||
m_RichTextBox.SelectedText = strText[i].ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,319 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using UserControlClass;
|
||||
using BaseFunction;
|
||||
using DAL;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FEH3LeftCarData : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region 全局变量
|
||||
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
#endregion 全局变量
|
||||
|
||||
public FEH3LeftCarData(CenterControl cc)
|
||||
{
|
||||
InitializeComponent();
|
||||
gCC = cc;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 指定屏幕显示
|
||||
/// </summary>
|
||||
public void SpecifyScreenDisplay1()
|
||||
{
|
||||
try
|
||||
{
|
||||
Screen[] screens = Screen.AllScreens;
|
||||
// 指定显示在第二个显示器
|
||||
Screen secondScreen = screens[1]; //1
|
||||
|
||||
// 设置窗体位置和大小
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
this.Left = secondScreen.WorkingArea.Left;
|
||||
this.Top = secondScreen.WorkingArea.Top;
|
||||
this.Width = secondScreen.WorkingArea.Width;
|
||||
this.Height = secondScreen.WorkingArea.Height;
|
||||
this.Show();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
#region 初始化控件
|
||||
|
||||
|
||||
private void InitNextSenseControl()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 30; i++)
|
||||
{
|
||||
strNSName = "";//L0" + i.ToString();
|
||||
if(i<=9)
|
||||
strNSName = "L0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if(ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.White;
|
||||
ucns.tlpFBackColor = Color.White;
|
||||
ucns.tlpGBackColor = Color.White;
|
||||
ucns.labFVal = "";
|
||||
ucns.labFLowerUpper = "";
|
||||
ucns.labGVal = "";
|
||||
ucns.labGLowerUpper = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 初始化控件
|
||||
|
||||
private void FEH3LeftCarData_Load(object sender, EventArgs e)
|
||||
{
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1000;
|
||||
tmrRefreshData.Start();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
{
|
||||
string strSubVIN = strVIN;// strVIN.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh Button (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh Button (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmrRefreshData.Stop();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
{
|
||||
string strSubVIN = strVIN;
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count>0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0,17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
{
|
||||
Color colStatus = new Color();
|
||||
switch (strStatus.ToLower())
|
||||
{
|
||||
case "best":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "good":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "ng1":
|
||||
colStatus = Color.Yellow;
|
||||
break;
|
||||
|
||||
case "ng2":
|
||||
colStatus = Color.Red;
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
colStatus = Color.LightGray;
|
||||
break;
|
||||
}
|
||||
return colStatus;
|
||||
}
|
||||
|
||||
private void analysisTitleColor()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
if (i <= 9)
|
||||
strNSName = "L0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void refreshCarUIData(DataTable dtData)
|
||||
{
|
||||
string strNSName = "";
|
||||
string strFGName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 0; i < dtData.Rows.Count; i++)
|
||||
{
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString() ;
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FEH3LeftCarData_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
e.Cancel = true;
|
||||
this.Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,562 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FEH3LeftCarData
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FEH3LeftCarData));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.labVIN = new System.Windows.Forms.Label();
|
||||
this.tmrRefreshData = new System.Windows.Forms.Timer(this.components);
|
||||
this.L10 = new UserControlClass.UCVWNextSense();
|
||||
this.L03 = new UserControlClass.UCVWNextSense();
|
||||
this.L06 = new UserControlClass.UCVWNextSense();
|
||||
this.L04 = new UserControlClass.UCVWNextSense();
|
||||
this.L02 = new UserControlClass.UCVWNextSense();
|
||||
this.L13 = new UserControlClass.UCVWNextSense();
|
||||
this.L01 = new UserControlClass.UCVWNextSense();
|
||||
this.L08 = new UserControlClass.UCVWNextSense();
|
||||
this.L12 = new UserControlClass.UCVWNextSense();
|
||||
this.L21 = new UserControlClass.UCVWNextSense();
|
||||
this.L15 = new UserControlClass.UCVWNextSense();
|
||||
this.L18 = new UserControlClass.UCVWNextSense();
|
||||
this.L16 = new UserControlClass.UCVWNextSense();
|
||||
this.L22 = new UserControlClass.UCVWNextSense();
|
||||
this.L14 = new UserControlClass.UCVWNextSense();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pbLeftCar = new System.Windows.Forms.PictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLeftCar)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(1918, 37);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "左侧车身测量数据";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "左侧车身测量数据";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(875, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(20, 14, 20, 14);
|
||||
this.label2.Size = new System.Drawing.Size(40, 50);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(911, 7);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(164, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "左侧车身测量数据";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.label3.Location = new System.Drawing.Point(476, 970);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(253, 104);
|
||||
this.label3.TabIndex = 37;
|
||||
this.label3.Text = "VIN:";
|
||||
//
|
||||
// labVIN
|
||||
//
|
||||
this.labVIN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labVIN.AutoSize = true;
|
||||
this.labVIN.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.labVIN.Location = new System.Drawing.Point(735, 970);
|
||||
this.labVIN.Name = "labVIN";
|
||||
this.labVIN.Size = new System.Drawing.Size(838, 104);
|
||||
this.labVIN.TabIndex = 36;
|
||||
this.labVIN.Text = "LNNACDEBXRDA20251";
|
||||
//
|
||||
// tmrRefreshData
|
||||
//
|
||||
this.tmrRefreshData.Interval = 1000;
|
||||
this.tmrRefreshData.Tick += new System.EventHandler(this.tmrRefreshData_Tick);
|
||||
//
|
||||
// L10
|
||||
//
|
||||
this.L10.BackColor = System.Drawing.Color.White;
|
||||
this.L10.ForeColor = System.Drawing.Color.Black;
|
||||
this.L10.labFLowerUpper = "-2.0/2.0";
|
||||
this.L10.labFText = "F";
|
||||
this.L10.labFVal = "0.3";
|
||||
this.L10.labGLowerUpper = "1.0/6.0";
|
||||
this.L10.labGText = "G";
|
||||
this.L10.labGVal = "3.7";
|
||||
this.L10.labTitleText = "L-10";
|
||||
this.L10.Location = new System.Drawing.Point(794, 787);
|
||||
this.L10.Name = "L10";
|
||||
this.L10.Size = new System.Drawing.Size(220, 145);
|
||||
this.L10.TabIndex = 38;
|
||||
this.L10.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L10.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L10.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L10.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L03
|
||||
//
|
||||
this.L03.BackColor = System.Drawing.Color.White;
|
||||
this.L03.ForeColor = System.Drawing.Color.Black;
|
||||
this.L03.labFLowerUpper = "-3.0/2.0";
|
||||
this.L03.labFText = "F";
|
||||
this.L03.labFVal = "-0.6";
|
||||
this.L03.labGLowerUpper = "1.0/6.0";
|
||||
this.L03.labGText = "G";
|
||||
this.L03.labGVal = "3.9";
|
||||
this.L03.labTitleText = "L-03";
|
||||
this.L03.Location = new System.Drawing.Point(303, 91);
|
||||
this.L03.Name = "L03";
|
||||
this.L03.Size = new System.Drawing.Size(220, 145);
|
||||
this.L03.TabIndex = 40;
|
||||
this.L03.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L03.tlpFBackColor = System.Drawing.Color.Yellow;
|
||||
this.L03.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L03.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L06
|
||||
//
|
||||
this.L06.BackColor = System.Drawing.Color.White;
|
||||
this.L06.ForeColor = System.Drawing.Color.Black;
|
||||
this.L06.labFLowerUpper = "-2.0/2.0";
|
||||
this.L06.labFText = "F";
|
||||
this.L06.labFVal = "-0.1";
|
||||
this.L06.labGLowerUpper = "1.0/6.0";
|
||||
this.L06.labGText = "G";
|
||||
this.L06.labGVal = "3.4";
|
||||
this.L06.labTitleText = "L-06";
|
||||
this.L06.Location = new System.Drawing.Point(519, 787);
|
||||
this.L06.Name = "L06";
|
||||
this.L06.Size = new System.Drawing.Size(220, 145);
|
||||
this.L06.TabIndex = 42;
|
||||
this.L06.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L06.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L06.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L06.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L04
|
||||
//
|
||||
this.L04.BackColor = System.Drawing.Color.White;
|
||||
this.L04.ForeColor = System.Drawing.Color.Black;
|
||||
this.L04.labFLowerUpper = "-1.0/2.0";
|
||||
this.L04.labFText = "F";
|
||||
this.L04.labFVal = "-0.1mm";
|
||||
this.L04.labGLowerUpper = "1.0/6.0";
|
||||
this.L04.labGText = "G";
|
||||
this.L04.labGVal = "3.1mm";
|
||||
this.L04.labTitleText = "L-04";
|
||||
this.L04.Location = new System.Drawing.Point(551, 91);
|
||||
this.L04.Name = "L04";
|
||||
this.L04.Size = new System.Drawing.Size(220, 145);
|
||||
this.L04.TabIndex = 43;
|
||||
this.L04.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L04.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L04.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L04.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L02
|
||||
//
|
||||
this.L02.BackColor = System.Drawing.Color.White;
|
||||
this.L02.ForeColor = System.Drawing.Color.Black;
|
||||
this.L02.labFLowerUpper = "-3.0/2.0";
|
||||
this.L02.labFText = "F";
|
||||
this.L02.labFVal = "-0.2";
|
||||
this.L02.labGLowerUpper = "1.0/6.0";
|
||||
this.L02.labGText = "G";
|
||||
this.L02.labGVal = "4.4";
|
||||
this.L02.labTitleText = "L-02";
|
||||
this.L02.Location = new System.Drawing.Point(29, 91);
|
||||
this.L02.Name = "L02";
|
||||
this.L02.Size = new System.Drawing.Size(220, 145);
|
||||
this.L02.TabIndex = 44;
|
||||
this.L02.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L02.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L02.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L02.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L13
|
||||
//
|
||||
this.L13.BackColor = System.Drawing.Color.White;
|
||||
this.L13.ForeColor = System.Drawing.Color.Black;
|
||||
this.L13.labFLowerUpper = "-1.5/1.5";
|
||||
this.L13.labFText = "F";
|
||||
this.L13.labFVal = "0.6";
|
||||
this.L13.labGLowerUpper = "2.2/4.2";
|
||||
this.L13.labGText = "G";
|
||||
this.L13.labGVal = "4.3";
|
||||
this.L13.labTitleText = "L-13";
|
||||
this.L13.Location = new System.Drawing.Point(1068, 787);
|
||||
this.L13.Name = "L13";
|
||||
this.L13.Size = new System.Drawing.Size(220, 145);
|
||||
this.L13.TabIndex = 45;
|
||||
this.L13.tlpBackColor = System.Drawing.Color.Red;
|
||||
this.L13.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L13.tlpGBackColor = System.Drawing.Color.Red;
|
||||
this.L13.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L01
|
||||
//
|
||||
this.L01.BackColor = System.Drawing.Color.White;
|
||||
this.L01.ForeColor = System.Drawing.Color.Black;
|
||||
this.L01.labFLowerUpper = "-3.0/2.0";
|
||||
this.L01.labFText = "F";
|
||||
this.L01.labFVal = "0.7";
|
||||
this.L01.labGLowerUpper = "1.0/5.0";
|
||||
this.L01.labGText = "G";
|
||||
this.L01.labGVal = "4.1";
|
||||
this.L01.labTitleText = "L-01";
|
||||
this.L01.Location = new System.Drawing.Point(219, 787);
|
||||
this.L01.Name = "L01";
|
||||
this.L01.Size = new System.Drawing.Size(220, 145);
|
||||
this.L01.TabIndex = 46;
|
||||
this.L01.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L01.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L01.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L01.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L08
|
||||
//
|
||||
this.L08.BackColor = System.Drawing.Color.White;
|
||||
this.L08.ForeColor = System.Drawing.Color.Black;
|
||||
this.L08.labFLowerUpper = "-2.0/2.0";
|
||||
this.L08.labFText = "F";
|
||||
this.L08.labFVal = "0.3mm";
|
||||
this.L08.labGLowerUpper = "1.0/6.0";
|
||||
this.L08.labGText = "G";
|
||||
this.L08.labGVal = "3.1mm";
|
||||
this.L08.labTitleText = "L-08";
|
||||
this.L08.Location = new System.Drawing.Point(793, 86);
|
||||
this.L08.Name = "L08";
|
||||
this.L08.Size = new System.Drawing.Size(220, 145);
|
||||
this.L08.TabIndex = 48;
|
||||
this.L08.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L08.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L08.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L08.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L12
|
||||
//
|
||||
this.L12.BackColor = System.Drawing.Color.White;
|
||||
this.L12.ForeColor = System.Drawing.Color.Black;
|
||||
this.L12.labFLowerUpper = "-2.0/2.0";
|
||||
this.L12.labFText = "F";
|
||||
this.L12.labFVal = "-0.2mm";
|
||||
this.L12.labGLowerUpper = "1.0/6.0";
|
||||
this.L12.labGText = "G";
|
||||
this.L12.labGVal = "3.0mm";
|
||||
this.L12.labTitleText = "L-12";
|
||||
this.L12.Location = new System.Drawing.Point(1066, 85);
|
||||
this.L12.Name = "L12";
|
||||
this.L12.Size = new System.Drawing.Size(220, 145);
|
||||
this.L12.TabIndex = 49;
|
||||
this.L12.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L12.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L12.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L12.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L21
|
||||
//
|
||||
this.L21.BackColor = System.Drawing.Color.White;
|
||||
this.L21.ForeColor = System.Drawing.Color.Black;
|
||||
this.L21.labFLowerUpper = "-2.0/2.0";
|
||||
this.L21.labFText = "F";
|
||||
this.L21.labFVal = "-0.2";
|
||||
this.L21.labGLowerUpper = "1.0/6.0";
|
||||
this.L21.labGText = "G";
|
||||
this.L21.labGVal = "6.1";
|
||||
this.L21.labTitleText = "L-21";
|
||||
this.L21.Location = new System.Drawing.Point(1328, 787);
|
||||
this.L21.Name = "L21";
|
||||
this.L21.Size = new System.Drawing.Size(220, 145);
|
||||
this.L21.TabIndex = 50;
|
||||
this.L21.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L21.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L21.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L21.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L15
|
||||
//
|
||||
this.L15.BackColor = System.Drawing.Color.White;
|
||||
this.L15.ForeColor = System.Drawing.Color.Black;
|
||||
this.L15.labFLowerUpper = "-2.0/2.0";
|
||||
this.L15.labFText = "F";
|
||||
this.L15.labFVal = "-1.9mm";
|
||||
this.L15.labGLowerUpper = "1.0/6.0";
|
||||
this.L15.labGText = "G";
|
||||
this.L15.labGVal = "2.8mm";
|
||||
this.L15.labTitleText = "L-15";
|
||||
this.L15.Location = new System.Drawing.Point(1590, 91);
|
||||
this.L15.Name = "L15";
|
||||
this.L15.Size = new System.Drawing.Size(220, 145);
|
||||
this.L15.TabIndex = 56;
|
||||
this.L15.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L15.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L15.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L15.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L18
|
||||
//
|
||||
this.L18.BackColor = System.Drawing.Color.White;
|
||||
this.L18.ForeColor = System.Drawing.Color.Black;
|
||||
this.L18.labFLowerUpper = "0.0/4.0";
|
||||
this.L18.labFText = "F";
|
||||
this.L18.labFVal = "-2.7";
|
||||
this.L18.labGLowerUpper = "1.0/6.0";
|
||||
this.L18.labGText = "G";
|
||||
this.L18.labGVal = "2.7";
|
||||
this.L18.labTitleText = "L-18";
|
||||
this.L18.Location = new System.Drawing.Point(1696, 518);
|
||||
this.L18.Name = "L18";
|
||||
this.L18.Size = new System.Drawing.Size(220, 145);
|
||||
this.L18.TabIndex = 58;
|
||||
this.L18.tlpBackColor = System.Drawing.Color.Red;
|
||||
this.L18.tlpFBackColor = System.Drawing.Color.Red;
|
||||
this.L18.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L18.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L16
|
||||
//
|
||||
this.L16.BackColor = System.Drawing.Color.White;
|
||||
this.L16.ForeColor = System.Drawing.Color.Black;
|
||||
this.L16.labFLowerUpper = "-2.0/2.0";
|
||||
this.L16.labFText = "F";
|
||||
this.L16.labFVal = "-2.0mm";
|
||||
this.L16.labGLowerUpper = "1.0/6.0";
|
||||
this.L16.labGText = "G";
|
||||
this.L16.labGVal = "2.7mm";
|
||||
this.L16.labTitleText = "L-16";
|
||||
this.L16.Location = new System.Drawing.Point(1697, 277);
|
||||
this.L16.Name = "L16";
|
||||
this.L16.Size = new System.Drawing.Size(220, 145);
|
||||
this.L16.TabIndex = 59;
|
||||
this.L16.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L16.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L16.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L16.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L22
|
||||
//
|
||||
this.L22.BackColor = System.Drawing.Color.White;
|
||||
this.L22.ForeColor = System.Drawing.Color.Black;
|
||||
this.L22.labFLowerUpper = "-12.0/12.0";
|
||||
this.L22.labFText = "F";
|
||||
this.L22.labFVal = "-10.0";
|
||||
this.L22.labGLowerUpper = "1.0/6.0";
|
||||
this.L22.labGText = "G";
|
||||
this.L22.labGVal = "6.0";
|
||||
this.L22.labTitleText = "L-22";
|
||||
this.L22.Location = new System.Drawing.Point(1596, 787);
|
||||
this.L22.Name = "L22";
|
||||
this.L22.Size = new System.Drawing.Size(220, 145);
|
||||
this.L22.TabIndex = 60;
|
||||
this.L22.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L22.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L22.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L22.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L14
|
||||
//
|
||||
this.L14.BackColor = System.Drawing.Color.White;
|
||||
this.L14.ForeColor = System.Drawing.Color.Black;
|
||||
this.L14.labFLowerUpper = "-2.0/2.0";
|
||||
this.L14.labFText = "F";
|
||||
this.L14.labFVal = "-1.5mm";
|
||||
this.L14.labGLowerUpper = "1.0/6.0";
|
||||
this.L14.labGText = "G";
|
||||
this.L14.labGVal = "3.2mm";
|
||||
this.L14.labTitleText = "L-14";
|
||||
this.L14.Location = new System.Drawing.Point(1327, 91);
|
||||
this.L14.Name = "L14";
|
||||
this.L14.Size = new System.Drawing.Size(220, 145);
|
||||
this.L14.TabIndex = 61;
|
||||
this.L14.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L14.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L14.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L14.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnRefresh.Font = new System.Drawing.Font("宋体", 3F);
|
||||
this.btnRefresh.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.Image = global::NSAnalysis.Properties.Resources.Refresh64;
|
||||
this.btnRefresh.Location = new System.Drawing.Point(1695, 978);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(86, 92);
|
||||
this.btnRefresh.TabIndex = 35;
|
||||
this.btnRefresh.UseVisualStyleBackColor = false;
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.pictureBox2.Image = global::NSAnalysis.Properties.Resources.hexagonlogotransparent;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(89, 981);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(316, 83);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox2.TabIndex = 34;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pbLeftCar
|
||||
//
|
||||
this.pbLeftCar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pbLeftCar.Image = ((System.Drawing.Image)(resources.GetObject("pbLeftCar.Image")));
|
||||
this.pbLeftCar.Location = new System.Drawing.Point(3, 40);
|
||||
this.pbLeftCar.Name = "pbLeftCar";
|
||||
this.pbLeftCar.Size = new System.Drawing.Size(1916, 925);
|
||||
this.pbLeftCar.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLeftCar.TabIndex = 1;
|
||||
this.pbLeftCar.TabStop = false;
|
||||
//
|
||||
// FEH3LeftCarData
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Controls.Add(this.L14);
|
||||
this.Controls.Add(this.L22);
|
||||
this.Controls.Add(this.L16);
|
||||
this.Controls.Add(this.L18);
|
||||
this.Controls.Add(this.L15);
|
||||
this.Controls.Add(this.L21);
|
||||
this.Controls.Add(this.L12);
|
||||
this.Controls.Add(this.L08);
|
||||
this.Controls.Add(this.L01);
|
||||
this.Controls.Add(this.L13);
|
||||
this.Controls.Add(this.L03);
|
||||
this.Controls.Add(this.L02);
|
||||
this.Controls.Add(this.L04);
|
||||
this.Controls.Add(this.L06);
|
||||
this.Controls.Add(this.labVIN);
|
||||
this.Controls.Add(this.L10);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.btnRefresh);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pbLeftCar);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximumSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Name = "FEH3LeftCarData";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "左侧车身测量数据";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FEH3LeftCarData_FormClosing);
|
||||
this.Load += new System.EventHandler(this.FEH3LeftCarData_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLeftCar)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label labVIN;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Timer tmrRefreshData;
|
||||
private System.Windows.Forms.PictureBox pbLeftCar;
|
||||
private UserControlClass.UCVWNextSense L10;
|
||||
private UserControlClass.UCVWNextSense L03;
|
||||
private UserControlClass.UCVWNextSense L06;
|
||||
private UserControlClass.UCVWNextSense L04;
|
||||
private UserControlClass.UCVWNextSense L02;
|
||||
private UserControlClass.UCVWNextSense L13;
|
||||
private UserControlClass.UCVWNextSense L01;
|
||||
private UserControlClass.UCVWNextSense L08;
|
||||
private UserControlClass.UCVWNextSense L12;
|
||||
private UserControlClass.UCVWNextSense L21;
|
||||
private UserControlClass.UCVWNextSense L15;
|
||||
private UserControlClass.UCVWNextSense L18;
|
||||
private UserControlClass.UCVWNextSense L16;
|
||||
private UserControlClass.UCVWNextSense L22;
|
||||
private UserControlClass.UCVWNextSense L14;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,323 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using DAL;
|
||||
using UserControlClass;
|
||||
using BaseFunction;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FEH3RightCarData : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region 全局变量
|
||||
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
#endregion 全局变量
|
||||
|
||||
#region 初始化控件
|
||||
|
||||
#endregion 初始化控件
|
||||
|
||||
public FEH3RightCarData(CenterControl cc)
|
||||
{
|
||||
InitializeComponent();
|
||||
gCC = cc;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 指定屏幕显示
|
||||
/// </summary>
|
||||
public void SpecifyScreenDisplay1()
|
||||
{
|
||||
try
|
||||
{
|
||||
Screen[] screens = Screen.AllScreens;
|
||||
// 指定显示在第二个显示器
|
||||
Screen secondScreen = screens[1]; //1
|
||||
|
||||
// 设置窗体位置和大小
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
this.Left = secondScreen.WorkingArea.Left;
|
||||
this.Top = secondScreen.WorkingArea.Top;
|
||||
this.Width = secondScreen.WorkingArea.Width;
|
||||
this.Height = secondScreen.WorkingArea.Height;
|
||||
this.Show();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
#region 初始化控件
|
||||
|
||||
|
||||
private void InitNextSenseControl()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
strNSName = "";//L0" + i.ToString();
|
||||
if (i <= 9)
|
||||
strNSName = "R0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "R" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.White;
|
||||
ucns.tlpFBackColor = Color.White;
|
||||
ucns.tlpGBackColor = Color.White;
|
||||
ucns.labFVal = "";
|
||||
ucns.labFLowerUpper = "";
|
||||
ucns.labGVal = "";
|
||||
ucns.labGLowerUpper = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 初始化控件
|
||||
|
||||
private void FEH3RightCarData_Load(object sender, EventArgs e)
|
||||
{
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1100;
|
||||
tmrRefreshData.Start();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
{
|
||||
string strSubVIN = strVIN;// strVIN.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh Button (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, strVIN.Length - 4);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(strVIN.Length - 3, 3);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh Button (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmrRefreshData.Stop();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
{
|
||||
Color colStatus = new Color();
|
||||
switch (strStatus.ToLower())
|
||||
{
|
||||
case "best":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "good":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "ng1":
|
||||
colStatus = Color.Yellow;
|
||||
break;
|
||||
|
||||
case "ng2":
|
||||
colStatus = Color.Red;
|
||||
break;
|
||||
|
||||
default:
|
||||
colStatus = Color.LightGray;
|
||||
break;
|
||||
}
|
||||
return colStatus;
|
||||
}
|
||||
|
||||
private void analysisTitleColor()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
if (i <= 9)
|
||||
strNSName = "R0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "R" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void refreshCarUIData(DataTable dtData)
|
||||
{
|
||||
string strNSName = "";
|
||||
string strFGName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 0; i < dtData.Rows.Count; i++)
|
||||
{
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FEH3RightCarData_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
e.Cancel = true;
|
||||
this.Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,516 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FEH3RightCarData
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FEH3RightCarData));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.labVIN = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tmrRefreshData = new System.Windows.Forms.Timer(this.components);
|
||||
this.R14 = new UserControlClass.UCVWNextSense();
|
||||
this.R15 = new UserControlClass.UCVWNextSense();
|
||||
this.R16 = new UserControlClass.UCVWNextSense();
|
||||
this.R18 = new UserControlClass.UCVWNextSense();
|
||||
this.R10 = new UserControlClass.UCVWNextSense();
|
||||
this.R08 = new UserControlClass.UCVWNextSense();
|
||||
this.R12 = new UserControlClass.UCVWNextSense();
|
||||
this.R04 = new UserControlClass.UCVWNextSense();
|
||||
this.R02 = new UserControlClass.UCVWNextSense();
|
||||
this.R13 = new UserControlClass.UCVWNextSense();
|
||||
this.R01 = new UserControlClass.UCVWNextSense();
|
||||
this.R03 = new UserControlClass.UCVWNextSense();
|
||||
this.R06 = new UserControlClass.UCVWNextSense();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pbRightCar = new System.Windows.Forms.PictureBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbRightCar)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(1918, 37);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "右侧车身测量数据";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "右侧车身测量数据";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(911, 7);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(164, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "右侧车身测量数据";
|
||||
//
|
||||
// labVIN
|
||||
//
|
||||
this.labVIN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labVIN.AutoSize = true;
|
||||
this.labVIN.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.labVIN.Location = new System.Drawing.Point(755, 970);
|
||||
this.labVIN.Name = "labVIN";
|
||||
this.labVIN.Size = new System.Drawing.Size(838, 104);
|
||||
this.labVIN.TabIndex = 32;
|
||||
this.labVIN.Text = "LNNACDEBXRDA20251";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.label3.Location = new System.Drawing.Point(495, 969);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(253, 104);
|
||||
this.label3.TabIndex = 33;
|
||||
this.label3.Text = "VIN:";
|
||||
//
|
||||
// tmrRefreshData
|
||||
//
|
||||
this.tmrRefreshData.Interval = 1000;
|
||||
this.tmrRefreshData.Tick += new System.EventHandler(this.tmrRefreshData_Tick);
|
||||
//
|
||||
// R14
|
||||
//
|
||||
this.R14.BackColor = System.Drawing.Color.White;
|
||||
this.R14.ForeColor = System.Drawing.Color.Black;
|
||||
this.R14.labFLowerUpper = "-2.0/2.0";
|
||||
this.R14.labFText = "F";
|
||||
this.R14.labFVal = "-0.7";
|
||||
this.R14.labGLowerUpper = "1.0/6.0";
|
||||
this.R14.labGText = "G";
|
||||
this.R14.labGVal = "3.6";
|
||||
this.R14.labTitleText = "R-14";
|
||||
this.R14.Location = new System.Drawing.Point(354, 99);
|
||||
this.R14.Name = "R14";
|
||||
this.R14.Size = new System.Drawing.Size(220, 145);
|
||||
this.R14.TabIndex = 34;
|
||||
this.R14.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R14.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R14.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R14.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R15
|
||||
//
|
||||
this.R15.BackColor = System.Drawing.Color.White;
|
||||
this.R15.ForeColor = System.Drawing.Color.Black;
|
||||
this.R15.labFLowerUpper = "-2.0/2.0";
|
||||
this.R15.labFText = "F";
|
||||
this.R15.labFVal = "-1.4";
|
||||
this.R15.labGLowerUpper = "1.0/6.0";
|
||||
this.R15.labGText = "G";
|
||||
this.R15.labGVal = "4.2";
|
||||
this.R15.labTitleText = "R-15";
|
||||
this.R15.Location = new System.Drawing.Point(94, 100);
|
||||
this.R15.Name = "R15";
|
||||
this.R15.Size = new System.Drawing.Size(220, 145);
|
||||
this.R15.TabIndex = 35;
|
||||
this.R15.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R15.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R15.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R15.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R16
|
||||
//
|
||||
this.R16.BackColor = System.Drawing.Color.White;
|
||||
this.R16.ForeColor = System.Drawing.Color.Black;
|
||||
this.R16.labFLowerUpper = "-2.0/2.0";
|
||||
this.R16.labFText = "F";
|
||||
this.R16.labFVal = "-0.9mm";
|
||||
this.R16.labGLowerUpper = "1.0/6.0";
|
||||
this.R16.labGText = "G";
|
||||
this.R16.labGVal = "2.5mm";
|
||||
this.R16.labTitleText = "R-16";
|
||||
this.R16.Location = new System.Drawing.Point(3, 288);
|
||||
this.R16.Name = "R16";
|
||||
this.R16.Size = new System.Drawing.Size(220, 145);
|
||||
this.R16.TabIndex = 37;
|
||||
this.R16.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R16.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R16.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R16.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R18
|
||||
//
|
||||
this.R18.BackColor = System.Drawing.Color.White;
|
||||
this.R18.ForeColor = System.Drawing.Color.Black;
|
||||
this.R18.labFLowerUpper = "-2.0/2.0";
|
||||
this.R18.labFText = "F";
|
||||
this.R18.labFVal = "-2.0";
|
||||
this.R18.labGLowerUpper = "1.0/6.0";
|
||||
this.R18.labGText = "G";
|
||||
this.R18.labGVal = "3.8";
|
||||
this.R18.labTitleText = "R-18";
|
||||
this.R18.Location = new System.Drawing.Point(3, 608);
|
||||
this.R18.Name = "R18";
|
||||
this.R18.Size = new System.Drawing.Size(220, 145);
|
||||
this.R18.TabIndex = 38;
|
||||
this.R18.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R18.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R18.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R18.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R10
|
||||
//
|
||||
this.R10.BackColor = System.Drawing.Color.White;
|
||||
this.R10.ForeColor = System.Drawing.Color.Black;
|
||||
this.R10.labFLowerUpper = "-2.0/2.0";
|
||||
this.R10.labFText = "F";
|
||||
this.R10.labFVal = "0.2";
|
||||
this.R10.labGLowerUpper = "1.0/6.0";
|
||||
this.R10.labGText = "G";
|
||||
this.R10.labGVal = "2.9";
|
||||
this.R10.labTitleText = "R-10";
|
||||
this.R10.Location = new System.Drawing.Point(752, 795);
|
||||
this.R10.Name = "R10";
|
||||
this.R10.Size = new System.Drawing.Size(220, 145);
|
||||
this.R10.TabIndex = 42;
|
||||
this.R10.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R10.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R10.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R10.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R08
|
||||
//
|
||||
this.R08.BackColor = System.Drawing.Color.White;
|
||||
this.R08.ForeColor = System.Drawing.Color.Black;
|
||||
this.R08.labFLowerUpper = "-2.0/2.0";
|
||||
this.R08.labFText = "F";
|
||||
this.R08.labFVal = "0.1mm";
|
||||
this.R08.labGLowerUpper = "1.0/6.0";
|
||||
this.R08.labGText = "G";
|
||||
this.R08.labGVal = "2.8mm";
|
||||
this.R08.labTitleText = "R-08";
|
||||
this.R08.Location = new System.Drawing.Point(880, 95);
|
||||
this.R08.Name = "R08";
|
||||
this.R08.Size = new System.Drawing.Size(220, 145);
|
||||
this.R08.TabIndex = 44;
|
||||
this.R08.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R08.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R08.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R08.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R12
|
||||
//
|
||||
this.R12.BackColor = System.Drawing.Color.White;
|
||||
this.R12.ForeColor = System.Drawing.Color.Black;
|
||||
this.R12.labFLowerUpper = "-2.0/2.0";
|
||||
this.R12.labFText = "F";
|
||||
this.R12.labFVal = "0.2mm";
|
||||
this.R12.labGLowerUpper = "1.0/6.0";
|
||||
this.R12.labGText = "G";
|
||||
this.R12.labGVal = "3.5mm";
|
||||
this.R12.labTitleText = "R-12";
|
||||
this.R12.Location = new System.Drawing.Point(617, 92);
|
||||
this.R12.Name = "R12";
|
||||
this.R12.Size = new System.Drawing.Size(220, 145);
|
||||
this.R12.TabIndex = 46;
|
||||
this.R12.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R12.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R12.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R12.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R04
|
||||
//
|
||||
this.R04.BackColor = System.Drawing.Color.White;
|
||||
this.R04.ForeColor = System.Drawing.Color.Black;
|
||||
this.R04.labFLowerUpper = "-2.0/2.0";
|
||||
this.R04.labFText = "F";
|
||||
this.R04.labFVal = "0.5mm";
|
||||
this.R04.labGLowerUpper = "1.0/6.0";
|
||||
this.R04.labGText = "G";
|
||||
this.R04.labGVal = "3.5mm";
|
||||
this.R04.labTitleText = "R-04";
|
||||
this.R04.Location = new System.Drawing.Point(1133, 95);
|
||||
this.R04.Name = "R04";
|
||||
this.R04.Size = new System.Drawing.Size(220, 145);
|
||||
this.R04.TabIndex = 48;
|
||||
this.R04.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R04.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R04.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R04.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R02
|
||||
//
|
||||
this.R02.BackColor = System.Drawing.Color.White;
|
||||
this.R02.ForeColor = System.Drawing.Color.Black;
|
||||
this.R02.labFLowerUpper = "-2.0/2.0";
|
||||
this.R02.labFText = "F";
|
||||
this.R02.labFVal = "-0.5mm";
|
||||
this.R02.labGLowerUpper = "1.0/6.0";
|
||||
this.R02.labGText = "G";
|
||||
this.R02.labGVal = "4.0mm";
|
||||
this.R02.labTitleText = "R-02";
|
||||
this.R02.Location = new System.Drawing.Point(1662, 95);
|
||||
this.R02.Name = "R02";
|
||||
this.R02.Size = new System.Drawing.Size(220, 145);
|
||||
this.R02.TabIndex = 49;
|
||||
this.R02.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R02.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R02.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R02.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R13
|
||||
//
|
||||
this.R13.BackColor = System.Drawing.Color.White;
|
||||
this.R13.ForeColor = System.Drawing.Color.Black;
|
||||
this.R13.labFLowerUpper = "-2.0/2.0";
|
||||
this.R13.labFText = "F";
|
||||
this.R13.labFVal = "0.1";
|
||||
this.R13.labGLowerUpper = "1.0/6.0";
|
||||
this.R13.labGText = "G";
|
||||
this.R13.labGVal = "3.8";
|
||||
this.R13.labTitleText = "R-13";
|
||||
this.R13.Location = new System.Drawing.Point(399, 795);
|
||||
this.R13.Name = "R13";
|
||||
this.R13.Size = new System.Drawing.Size(220, 145);
|
||||
this.R13.TabIndex = 54;
|
||||
this.R13.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R13.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R13.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R13.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R01
|
||||
//
|
||||
this.R01.BackColor = System.Drawing.Color.White;
|
||||
this.R01.ForeColor = System.Drawing.Color.Black;
|
||||
this.R01.labFLowerUpper = "-2.0/2.0";
|
||||
this.R01.labFText = "F";
|
||||
this.R01.labFVal = "0.4mm";
|
||||
this.R01.labGLowerUpper = "1.0/6.0";
|
||||
this.R01.labGText = "G";
|
||||
this.R01.labGVal = "3.7mm";
|
||||
this.R01.labTitleText = "R-01";
|
||||
this.R01.Location = new System.Drawing.Point(1450, 790);
|
||||
this.R01.Name = "R01";
|
||||
this.R01.Size = new System.Drawing.Size(220, 145);
|
||||
this.R01.TabIndex = 55;
|
||||
this.R01.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R01.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R01.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R01.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R03
|
||||
//
|
||||
this.R03.BackColor = System.Drawing.Color.White;
|
||||
this.R03.ForeColor = System.Drawing.Color.Black;
|
||||
this.R03.labFLowerUpper = "-3.0/2.0";
|
||||
this.R03.labFText = "F";
|
||||
this.R03.labFVal = "0.5mm";
|
||||
this.R03.labGLowerUpper = "1.0/6.0";
|
||||
this.R03.labGText = "G";
|
||||
this.R03.labGVal = "3.2mm";
|
||||
this.R03.labTitleText = "R-03";
|
||||
this.R03.Location = new System.Drawing.Point(1398, 95);
|
||||
this.R03.Name = "R03";
|
||||
this.R03.Size = new System.Drawing.Size(220, 145);
|
||||
this.R03.TabIndex = 56;
|
||||
this.R03.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R03.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R03.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R03.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R06
|
||||
//
|
||||
this.R06.BackColor = System.Drawing.Color.White;
|
||||
this.R06.ForeColor = System.Drawing.Color.Black;
|
||||
this.R06.labFLowerUpper = "-2.0/2.0";
|
||||
this.R06.labFText = "F";
|
||||
this.R06.labFVal = "0.1mm";
|
||||
this.R06.labGLowerUpper = "1.0/6.0";
|
||||
this.R06.labGText = "G";
|
||||
this.R06.labGVal = "3.6mm";
|
||||
this.R06.labTitleText = "R-06";
|
||||
this.R06.Location = new System.Drawing.Point(1137, 795);
|
||||
this.R06.Name = "R06";
|
||||
this.R06.Size = new System.Drawing.Size(220, 145);
|
||||
this.R06.TabIndex = 57;
|
||||
this.R06.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R06.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R06.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R06.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnRefresh.Font = new System.Drawing.Font("宋体", 3F);
|
||||
this.btnRefresh.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.Image = global::NSAnalysis.Properties.Resources.Refresh64;
|
||||
this.btnRefresh.Location = new System.Drawing.Point(1705, 978);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(92, 97);
|
||||
this.btnRefresh.TabIndex = 31;
|
||||
this.btnRefresh.UseVisualStyleBackColor = false;
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.pictureBox2.Image = global::NSAnalysis.Properties.Resources.hexagonlogotransparent;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(92, 982);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(316, 83);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox2.TabIndex = 30;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pbRightCar
|
||||
//
|
||||
this.pbRightCar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pbRightCar.Image = ((System.Drawing.Image)(resources.GetObject("pbRightCar.Image")));
|
||||
this.pbRightCar.Location = new System.Drawing.Point(2, 40);
|
||||
this.pbRightCar.Name = "pbRightCar";
|
||||
this.pbRightCar.Size = new System.Drawing.Size(1916, 923);
|
||||
this.pbRightCar.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbRightCar.TabIndex = 2;
|
||||
this.pbRightCar.TabStop = false;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(875, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(20, 14, 20, 14);
|
||||
this.label2.Size = new System.Drawing.Size(40, 50);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// FEH3RightCarData
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Controls.Add(this.R02);
|
||||
this.Controls.Add(this.R06);
|
||||
this.Controls.Add(this.R03);
|
||||
this.Controls.Add(this.R01);
|
||||
this.Controls.Add(this.R13);
|
||||
this.Controls.Add(this.R04);
|
||||
this.Controls.Add(this.R12);
|
||||
this.Controls.Add(this.R08);
|
||||
this.Controls.Add(this.R10);
|
||||
this.Controls.Add(this.R18);
|
||||
this.Controls.Add(this.R16);
|
||||
this.Controls.Add(this.R15);
|
||||
this.Controls.Add(this.R14);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.labVIN);
|
||||
this.Controls.Add(this.btnRefresh);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pbRightCar);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximumSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Name = "FEH3RightCarData";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "右侧车身测量数据";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FEH3RightCarData_FormClosing);
|
||||
this.Load += new System.EventHandler(this.FEH3RightCarData_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbRightCar)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private System.Windows.Forms.PictureBox pbRightCar;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
private System.Windows.Forms.Label labVIN;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Timer tmrRefreshData;
|
||||
private UserControlClass.UCVWNextSense R14;
|
||||
private UserControlClass.UCVWNextSense R15;
|
||||
private UserControlClass.UCVWNextSense R16;
|
||||
private UserControlClass.UCVWNextSense R18;
|
||||
private UserControlClass.UCVWNextSense R10;
|
||||
private UserControlClass.UCVWNextSense R08;
|
||||
private UserControlClass.UCVWNextSense R12;
|
||||
private UserControlClass.UCVWNextSense R04;
|
||||
private UserControlClass.UCVWNextSense R02;
|
||||
private UserControlClass.UCVWNextSense R13;
|
||||
private UserControlClass.UCVWNextSense R01;
|
||||
private UserControlClass.UCVWNextSense R03;
|
||||
private UserControlClass.UCVWNextSense R06;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using UserControlClass;
|
||||
using BaseFunction;
|
||||
using DAL;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FEHYLeftCarData : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region 全局变量
|
||||
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
#endregion 全局变量
|
||||
|
||||
public FEHYLeftCarData(CenterControl cc)
|
||||
{
|
||||
InitializeComponent();
|
||||
gCC = cc;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 指定屏幕显示
|
||||
/// </summary>
|
||||
public void SpecifyScreenDisplay1()
|
||||
{
|
||||
try
|
||||
{
|
||||
Screen[] screens = Screen.AllScreens;
|
||||
// 指定显示在第二个显示器
|
||||
Screen secondScreen = screens[1]; //1
|
||||
|
||||
// 设置窗体位置和大小
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
this.Left = secondScreen.WorkingArea.Left;
|
||||
this.Top = secondScreen.WorkingArea.Top;
|
||||
this.Width = secondScreen.WorkingArea.Width;
|
||||
this.Height = secondScreen.WorkingArea.Height;
|
||||
this.Show();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
#region 初始化控件
|
||||
|
||||
|
||||
private void InitNextSenseControl()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
strNSName = "";//L0" + i.ToString();
|
||||
if (i <= 9)
|
||||
strNSName = "L0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.White;
|
||||
ucns.tlpFBackColor = Color.White;
|
||||
ucns.tlpGBackColor = Color.White;
|
||||
ucns.labFVal = "";
|
||||
ucns.labFLowerUpper = "";
|
||||
ucns.labGVal = "";
|
||||
ucns.labGLowerUpper = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 初始化控件
|
||||
|
||||
private void FEHYLeftCarData_Load(object sender, EventArgs e)
|
||||
{
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1000;
|
||||
tmrRefreshData.Start();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
{
|
||||
string strSubVIN = strVIN;// strVIN.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh Button (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN =strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh Button (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmrRefreshData.Stop();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
{
|
||||
Color colStatus = new Color();
|
||||
switch (strStatus.ToLower())
|
||||
{
|
||||
case "best":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "good":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "ng1":
|
||||
colStatus = Color.Yellow;
|
||||
break;
|
||||
|
||||
case "ng2":
|
||||
colStatus = Color.Red;
|
||||
break;
|
||||
|
||||
default:
|
||||
colStatus = Color.LightGray;
|
||||
break;
|
||||
}
|
||||
return colStatus;
|
||||
}
|
||||
|
||||
private void analysisTitleColor()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
if (i <= 9)
|
||||
strNSName = "L0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void refreshCarUIData(DataTable dtData)
|
||||
{
|
||||
string strNSName = "";
|
||||
string strFGName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 0; i < dtData.Rows.Count; i++)
|
||||
{
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FEHYLeftCarData_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
e.Cancel = true;
|
||||
this.Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,562 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FEHYLeftCarData
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FEHYLeftCarData));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.labVIN = new System.Windows.Forms.Label();
|
||||
this.tmrRefreshData = new System.Windows.Forms.Timer(this.components);
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pbLeftCar = new System.Windows.Forms.PictureBox();
|
||||
this.L13 = new UserControlClass.UCVWNextSense();
|
||||
this.L14 = new UserControlClass.UCVWNextSense();
|
||||
this.L22 = new UserControlClass.UCVWNextSense();
|
||||
this.L16 = new UserControlClass.UCVWNextSense();
|
||||
this.L18 = new UserControlClass.UCVWNextSense();
|
||||
this.L15 = new UserControlClass.UCVWNextSense();
|
||||
this.L21 = new UserControlClass.UCVWNextSense();
|
||||
this.L12 = new UserControlClass.UCVWNextSense();
|
||||
this.L08 = new UserControlClass.UCVWNextSense();
|
||||
this.L01 = new UserControlClass.UCVWNextSense();
|
||||
this.L03 = new UserControlClass.UCVWNextSense();
|
||||
this.L02 = new UserControlClass.UCVWNextSense();
|
||||
this.L04 = new UserControlClass.UCVWNextSense();
|
||||
this.L06 = new UserControlClass.UCVWNextSense();
|
||||
this.L10 = new UserControlClass.UCVWNextSense();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLeftCar)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(1918, 37);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "左侧车身测量数据";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "左侧车身测量数据";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(875, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(20, 14, 20, 14);
|
||||
this.label2.Size = new System.Drawing.Size(40, 50);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(911, 7);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(164, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "左侧车身测量数据";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.label3.Location = new System.Drawing.Point(502, 970);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(253, 104);
|
||||
this.label3.TabIndex = 37;
|
||||
this.label3.Text = "VIN:";
|
||||
//
|
||||
// labVIN
|
||||
//
|
||||
this.labVIN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labVIN.AutoSize = true;
|
||||
this.labVIN.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.labVIN.Location = new System.Drawing.Point(761, 970);
|
||||
this.labVIN.Name = "labVIN";
|
||||
this.labVIN.Size = new System.Drawing.Size(838, 104);
|
||||
this.labVIN.TabIndex = 36;
|
||||
this.labVIN.Text = "LNNACDEBXRDA20251";
|
||||
//
|
||||
// tmrRefreshData
|
||||
//
|
||||
this.tmrRefreshData.Interval = 1000;
|
||||
this.tmrRefreshData.Tick += new System.EventHandler(this.tmrRefreshData_Tick);
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnRefresh.Font = new System.Drawing.Font("宋体", 3F);
|
||||
this.btnRefresh.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.Image = global::NSAnalysis.Properties.Resources.Refresh64;
|
||||
this.btnRefresh.Location = new System.Drawing.Point(1695, 978);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(86, 92);
|
||||
this.btnRefresh.TabIndex = 35;
|
||||
this.btnRefresh.UseVisualStyleBackColor = false;
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.pictureBox2.Image = global::NSAnalysis.Properties.Resources.hexagonlogotransparent;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(100, 981);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(316, 83);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox2.TabIndex = 34;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pbLeftCar
|
||||
//
|
||||
this.pbLeftCar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pbLeftCar.Image = ((System.Drawing.Image)(resources.GetObject("pbLeftCar.Image")));
|
||||
this.pbLeftCar.Location = new System.Drawing.Point(3, 40);
|
||||
this.pbLeftCar.Name = "pbLeftCar";
|
||||
this.pbLeftCar.Size = new System.Drawing.Size(1916, 925);
|
||||
this.pbLeftCar.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLeftCar.TabIndex = 1;
|
||||
this.pbLeftCar.TabStop = false;
|
||||
//
|
||||
// L13
|
||||
//
|
||||
this.L13.BackColor = System.Drawing.Color.White;
|
||||
this.L13.ForeColor = System.Drawing.Color.Black;
|
||||
this.L13.labFLowerUpper = "-2.0/2.0";
|
||||
this.L13.labFText = "F";
|
||||
this.L13.labFVal = "0.3";
|
||||
this.L13.labGLowerUpper = "1.0/6.0";
|
||||
this.L13.labGText = "G";
|
||||
this.L13.labGVal = "3.7";
|
||||
this.L13.labTitleText = "L-13";
|
||||
this.L13.Location = new System.Drawing.Point(1023, 801);
|
||||
this.L13.Name = "L13";
|
||||
this.L13.Size = new System.Drawing.Size(220, 145);
|
||||
this.L13.TabIndex = 62;
|
||||
this.L13.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L13.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L13.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L13.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L14
|
||||
//
|
||||
this.L14.BackColor = System.Drawing.Color.White;
|
||||
this.L14.ForeColor = System.Drawing.Color.Black;
|
||||
this.L14.labFLowerUpper = "-2.0/2.0";
|
||||
this.L14.labFText = "F";
|
||||
this.L14.labFVal = "-1.5mm";
|
||||
this.L14.labGLowerUpper = "1.0/6.0";
|
||||
this.L14.labGText = "G";
|
||||
this.L14.labGVal = "3.2mm";
|
||||
this.L14.labTitleText = "L-14";
|
||||
this.L14.Location = new System.Drawing.Point(1508, 100);
|
||||
this.L14.Name = "L14";
|
||||
this.L14.Size = new System.Drawing.Size(220, 145);
|
||||
this.L14.TabIndex = 61;
|
||||
this.L14.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L14.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L14.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L14.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L22
|
||||
//
|
||||
this.L22.BackColor = System.Drawing.Color.White;
|
||||
this.L22.ForeColor = System.Drawing.Color.Black;
|
||||
this.L22.labFLowerUpper = "-2.0/2.0";
|
||||
this.L22.labFText = "F";
|
||||
this.L22.labFVal = "0.0";
|
||||
this.L22.labGLowerUpper = "1.0/6.0";
|
||||
this.L22.labGText = "G";
|
||||
this.L22.labGVal = "6.0";
|
||||
this.L22.labTitleText = "L-22";
|
||||
this.L22.Location = new System.Drawing.Point(1641, 801);
|
||||
this.L22.Name = "L22";
|
||||
this.L22.Size = new System.Drawing.Size(220, 145);
|
||||
this.L22.TabIndex = 60;
|
||||
this.L22.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L22.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L22.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L22.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L16
|
||||
//
|
||||
this.L16.BackColor = System.Drawing.Color.White;
|
||||
this.L16.ForeColor = System.Drawing.Color.Black;
|
||||
this.L16.labFLowerUpper = "-2.0/2.0";
|
||||
this.L16.labFText = "F";
|
||||
this.L16.labFVal = "-2.0mm";
|
||||
this.L16.labGLowerUpper = "1.0/6.0";
|
||||
this.L16.labGText = "G";
|
||||
this.L16.labGVal = "2.7mm";
|
||||
this.L16.labTitleText = "L-16";
|
||||
this.L16.Location = new System.Drawing.Point(1696, 413);
|
||||
this.L16.Name = "L16";
|
||||
this.L16.Size = new System.Drawing.Size(220, 145);
|
||||
this.L16.TabIndex = 59;
|
||||
this.L16.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L16.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L16.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L16.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L18
|
||||
//
|
||||
this.L18.BackColor = System.Drawing.Color.White;
|
||||
this.L18.ForeColor = System.Drawing.Color.Black;
|
||||
this.L18.labFLowerUpper = "0.0/4.0";
|
||||
this.L18.labFText = "F";
|
||||
this.L18.labFVal = "-2.7";
|
||||
this.L18.labGLowerUpper = "1.0/6.0";
|
||||
this.L18.labGText = "G";
|
||||
this.L18.labGVal = "2.7";
|
||||
this.L18.labTitleText = "L-18";
|
||||
this.L18.Location = new System.Drawing.Point(1694, 596);
|
||||
this.L18.Name = "L18";
|
||||
this.L18.Size = new System.Drawing.Size(220, 145);
|
||||
this.L18.TabIndex = 58;
|
||||
this.L18.tlpBackColor = System.Drawing.Color.Red;
|
||||
this.L18.tlpFBackColor = System.Drawing.Color.Red;
|
||||
this.L18.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L18.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L15
|
||||
//
|
||||
this.L15.BackColor = System.Drawing.Color.White;
|
||||
this.L15.ForeColor = System.Drawing.Color.Black;
|
||||
this.L15.labFLowerUpper = "-2.0/2.0";
|
||||
this.L15.labFText = "F";
|
||||
this.L15.labFVal = "-1.9mm";
|
||||
this.L15.labGLowerUpper = "1.0/6.0";
|
||||
this.L15.labGText = "G";
|
||||
this.L15.labGVal = "2.8mm";
|
||||
this.L15.labTitleText = "L-15";
|
||||
this.L15.Location = new System.Drawing.Point(1692, 255);
|
||||
this.L15.Name = "L15";
|
||||
this.L15.Size = new System.Drawing.Size(220, 145);
|
||||
this.L15.TabIndex = 56;
|
||||
this.L15.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L15.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L15.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L15.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L21
|
||||
//
|
||||
this.L21.BackColor = System.Drawing.Color.White;
|
||||
this.L21.ForeColor = System.Drawing.Color.Black;
|
||||
this.L21.labFLowerUpper = "-2.0/2.0";
|
||||
this.L21.labFText = "F";
|
||||
this.L21.labFVal = "-0.2mm";
|
||||
this.L21.labGLowerUpper = "1.0/6.0";
|
||||
this.L21.labGText = "G";
|
||||
this.L21.labGVal = "6.1mm";
|
||||
this.L21.labTitleText = "L-21";
|
||||
this.L21.Location = new System.Drawing.Point(1354, 801);
|
||||
this.L21.Name = "L21";
|
||||
this.L21.Size = new System.Drawing.Size(220, 145);
|
||||
this.L21.TabIndex = 50;
|
||||
this.L21.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L21.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L21.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L21.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L12
|
||||
//
|
||||
this.L12.BackColor = System.Drawing.Color.White;
|
||||
this.L12.ForeColor = System.Drawing.Color.Black;
|
||||
this.L12.labFLowerUpper = "-2.0/2.0";
|
||||
this.L12.labFText = "F";
|
||||
this.L12.labFVal = "-0.2mm";
|
||||
this.L12.labGLowerUpper = "1.0/6.0";
|
||||
this.L12.labGText = "G";
|
||||
this.L12.labGVal = "3.0mm";
|
||||
this.L12.labTitleText = "L-12";
|
||||
this.L12.Location = new System.Drawing.Point(1195, 105);
|
||||
this.L12.Name = "L12";
|
||||
this.L12.Size = new System.Drawing.Size(220, 145);
|
||||
this.L12.TabIndex = 49;
|
||||
this.L12.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L12.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L12.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L12.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L08
|
||||
//
|
||||
this.L08.BackColor = System.Drawing.Color.White;
|
||||
this.L08.ForeColor = System.Drawing.Color.Black;
|
||||
this.L08.labFLowerUpper = "-2.0/2.0";
|
||||
this.L08.labFText = "F";
|
||||
this.L08.labFVal = "0.3mm";
|
||||
this.L08.labGLowerUpper = "1.0/6.0";
|
||||
this.L08.labGText = "G";
|
||||
this.L08.labGVal = "3.1mm";
|
||||
this.L08.labTitleText = "L-08";
|
||||
this.L08.Location = new System.Drawing.Point(879, 103);
|
||||
this.L08.Name = "L08";
|
||||
this.L08.Size = new System.Drawing.Size(220, 145);
|
||||
this.L08.TabIndex = 48;
|
||||
this.L08.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L08.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L08.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L08.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L01
|
||||
//
|
||||
this.L01.BackColor = System.Drawing.Color.White;
|
||||
this.L01.ForeColor = System.Drawing.Color.Black;
|
||||
this.L01.labFLowerUpper = "-3.0/2.0";
|
||||
this.L01.labFText = "F";
|
||||
this.L01.labFVal = "0.7mm";
|
||||
this.L01.labGLowerUpper = "1.0/5.0";
|
||||
this.L01.labGText = "G";
|
||||
this.L01.labGVal = "4.1mm";
|
||||
this.L01.labTitleText = "L-01";
|
||||
this.L01.Location = new System.Drawing.Point(7, 581);
|
||||
this.L01.Name = "L01";
|
||||
this.L01.Size = new System.Drawing.Size(220, 145);
|
||||
this.L01.TabIndex = 46;
|
||||
this.L01.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L01.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L01.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L01.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L03
|
||||
//
|
||||
this.L03.BackColor = System.Drawing.Color.White;
|
||||
this.L03.ForeColor = System.Drawing.Color.Black;
|
||||
this.L03.labFLowerUpper = "-3.0/2.0";
|
||||
this.L03.labFText = "F";
|
||||
this.L03.labFVal = "-0.6";
|
||||
this.L03.labGLowerUpper = "1.0/6.0";
|
||||
this.L03.labGText = "G";
|
||||
this.L03.labGVal = "3.9";
|
||||
this.L03.labTitleText = "L-03";
|
||||
this.L03.Location = new System.Drawing.Point(323, 109);
|
||||
this.L03.Name = "L03";
|
||||
this.L03.Size = new System.Drawing.Size(220, 145);
|
||||
this.L03.TabIndex = 40;
|
||||
this.L03.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L03.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L03.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L03.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L02
|
||||
//
|
||||
this.L02.BackColor = System.Drawing.Color.White;
|
||||
this.L02.ForeColor = System.Drawing.Color.Black;
|
||||
this.L02.labFLowerUpper = "-3.0/2.0";
|
||||
this.L02.labFText = "F";
|
||||
this.L02.labFVal = "-0.2";
|
||||
this.L02.labGLowerUpper = "1.0/6.0";
|
||||
this.L02.labGText = "G";
|
||||
this.L02.labGVal = "4.4";
|
||||
this.L02.labTitleText = "L-02";
|
||||
this.L02.Location = new System.Drawing.Point(46, 109);
|
||||
this.L02.Name = "L02";
|
||||
this.L02.Size = new System.Drawing.Size(220, 145);
|
||||
this.L02.TabIndex = 44;
|
||||
this.L02.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L02.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L02.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L02.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L04
|
||||
//
|
||||
this.L04.BackColor = System.Drawing.Color.White;
|
||||
this.L04.ForeColor = System.Drawing.Color.Black;
|
||||
this.L04.labFLowerUpper = "-1.0/2.0";
|
||||
this.L04.labFText = "F";
|
||||
this.L04.labFVal = "-0.1";
|
||||
this.L04.labGLowerUpper = "1.0/6.0";
|
||||
this.L04.labGText = "G";
|
||||
this.L04.labGVal = "3.1";
|
||||
this.L04.labTitleText = "L-04";
|
||||
this.L04.Location = new System.Drawing.Point(604, 109);
|
||||
this.L04.Name = "L04";
|
||||
this.L04.Size = new System.Drawing.Size(220, 145);
|
||||
this.L04.TabIndex = 43;
|
||||
this.L04.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L04.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L04.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L04.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L06
|
||||
//
|
||||
this.L06.BackColor = System.Drawing.Color.White;
|
||||
this.L06.ForeColor = System.Drawing.Color.Black;
|
||||
this.L06.labFLowerUpper = "-2.0/2.0";
|
||||
this.L06.labFText = "F";
|
||||
this.L06.labFVal = "-0.1";
|
||||
this.L06.labGLowerUpper = "1.0/6.0";
|
||||
this.L06.labGText = "G";
|
||||
this.L06.labGVal = "3.4";
|
||||
this.L06.labTitleText = "L-06";
|
||||
this.L06.Location = new System.Drawing.Point(423, 801);
|
||||
this.L06.Name = "L06";
|
||||
this.L06.Size = new System.Drawing.Size(220, 145);
|
||||
this.L06.TabIndex = 42;
|
||||
this.L06.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L06.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L06.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L06.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// L10
|
||||
//
|
||||
this.L10.BackColor = System.Drawing.Color.White;
|
||||
this.L10.ForeColor = System.Drawing.Color.Black;
|
||||
this.L10.labFLowerUpper = "-2.0/2.0";
|
||||
this.L10.labFText = "F";
|
||||
this.L10.labFVal = "0.3";
|
||||
this.L10.labGLowerUpper = "1.0/6.0";
|
||||
this.L10.labGText = "G";
|
||||
this.L10.labGVal = "3.7";
|
||||
this.L10.labTitleText = "L-10";
|
||||
this.L10.Location = new System.Drawing.Point(715, 801);
|
||||
this.L10.Name = "L10";
|
||||
this.L10.Size = new System.Drawing.Size(220, 145);
|
||||
this.L10.TabIndex = 38;
|
||||
this.L10.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.L10.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.L10.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.L10.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// FEHYLeftCarData
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Controls.Add(this.L13);
|
||||
this.Controls.Add(this.L14);
|
||||
this.Controls.Add(this.L22);
|
||||
this.Controls.Add(this.L16);
|
||||
this.Controls.Add(this.L18);
|
||||
this.Controls.Add(this.L15);
|
||||
this.Controls.Add(this.L21);
|
||||
this.Controls.Add(this.L12);
|
||||
this.Controls.Add(this.L08);
|
||||
this.Controls.Add(this.L01);
|
||||
this.Controls.Add(this.L03);
|
||||
this.Controls.Add(this.L02);
|
||||
this.Controls.Add(this.L04);
|
||||
this.Controls.Add(this.L06);
|
||||
this.Controls.Add(this.labVIN);
|
||||
this.Controls.Add(this.L10);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.btnRefresh);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pbLeftCar);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximumSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Name = "FEHYLeftCarData";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "左侧车身测量数据";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FEHYLeftCarData_FormClosing);
|
||||
this.Load += new System.EventHandler(this.FEHYLeftCarData_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLeftCar)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label labVIN;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Timer tmrRefreshData;
|
||||
private System.Windows.Forms.PictureBox pbLeftCar;
|
||||
private UserControlClass.UCVWNextSense L10;
|
||||
private UserControlClass.UCVWNextSense L03;
|
||||
private UserControlClass.UCVWNextSense L06;
|
||||
private UserControlClass.UCVWNextSense L04;
|
||||
private UserControlClass.UCVWNextSense L02;
|
||||
private UserControlClass.UCVWNextSense L01;
|
||||
private UserControlClass.UCVWNextSense L08;
|
||||
private UserControlClass.UCVWNextSense L12;
|
||||
private UserControlClass.UCVWNextSense L21;
|
||||
private UserControlClass.UCVWNextSense L15;
|
||||
private UserControlClass.UCVWNextSense L18;
|
||||
private UserControlClass.UCVWNextSense L16;
|
||||
private UserControlClass.UCVWNextSense L22;
|
||||
private UserControlClass.UCVWNextSense L14;
|
||||
private UserControlClass.UCVWNextSense L13;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using DAL;
|
||||
using UserControlClass;
|
||||
using BaseFunction;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FEHYRightCarData : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region 全局变量
|
||||
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
#endregion 全局变量
|
||||
|
||||
#region 初始化控件
|
||||
|
||||
#endregion 初始化控件
|
||||
|
||||
public FEHYRightCarData(CenterControl cc)
|
||||
{
|
||||
InitializeComponent();
|
||||
gCC = cc;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 指定屏幕显示
|
||||
/// </summary>
|
||||
public void SpecifyScreenDisplay1()
|
||||
{
|
||||
try
|
||||
{
|
||||
Screen[] screens = Screen.AllScreens;
|
||||
// 指定显示在第二个显示器
|
||||
Screen secondScreen = screens[1]; //1
|
||||
|
||||
// 设置窗体位置和大小
|
||||
this.StartPosition = FormStartPosition.Manual;
|
||||
this.Left = secondScreen.WorkingArea.Left;
|
||||
this.Top = secondScreen.WorkingArea.Top;
|
||||
this.Width = secondScreen.WorkingArea.Width;
|
||||
this.Height = secondScreen.WorkingArea.Height;
|
||||
this.Show();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
#region 初始化控件
|
||||
|
||||
|
||||
private void InitNextSenseControl()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
strNSName = "";//L0" + i.ToString();
|
||||
if (i <= 9)
|
||||
strNSName = "R0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "R" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.White;
|
||||
ucns.tlpFBackColor = Color.White;
|
||||
ucns.tlpGBackColor = Color.White;
|
||||
ucns.labFVal = "";
|
||||
ucns.labFLowerUpper = "";
|
||||
ucns.labGVal = "";
|
||||
ucns.labGLowerUpper = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 初始化控件
|
||||
|
||||
private void FEHYRightCarData_Load(object sender, EventArgs e)
|
||||
{
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1100;
|
||||
tmrRefreshData.Start();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh Button (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh Button (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmrRefreshData.Stop();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
{
|
||||
Color colStatus = new Color();
|
||||
switch (strStatus.ToLower())
|
||||
{
|
||||
case "best":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "good":
|
||||
colStatus = Color.Lime;
|
||||
break;
|
||||
|
||||
case "ng1":
|
||||
colStatus = Color.Yellow;
|
||||
break;
|
||||
|
||||
case "ng2":
|
||||
colStatus = Color.Red;
|
||||
break;
|
||||
|
||||
default:
|
||||
colStatus = Color.LightGray;
|
||||
break;
|
||||
}
|
||||
return colStatus;
|
||||
}
|
||||
|
||||
private void analysisTitleColor()
|
||||
{
|
||||
string strNSName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 1; i <= 25; i++)
|
||||
{
|
||||
if (i <= 9)
|
||||
strNSName = "R0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "R" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void refreshCarUIData(DataTable dtData)
|
||||
{
|
||||
string strNSName = "";
|
||||
string strFGName = "";
|
||||
UCVWNextSense ucns = null;
|
||||
for (int i = 0; i < dtData.Rows.Count; i++)
|
||||
{
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
{
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FEHYRightCarData_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
e.Cancel = true;
|
||||
this.Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,516 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FEHYRightCarData
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FEHYRightCarData));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.labVIN = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tmrRefreshData = new System.Windows.Forms.Timer(this.components);
|
||||
this.R14 = new UserControlClass.UCVWNextSense();
|
||||
this.R15 = new UserControlClass.UCVWNextSense();
|
||||
this.R16 = new UserControlClass.UCVWNextSense();
|
||||
this.R18 = new UserControlClass.UCVWNextSense();
|
||||
this.R10 = new UserControlClass.UCVWNextSense();
|
||||
this.R08 = new UserControlClass.UCVWNextSense();
|
||||
this.R12 = new UserControlClass.UCVWNextSense();
|
||||
this.R13 = new UserControlClass.UCVWNextSense();
|
||||
this.R04 = new UserControlClass.UCVWNextSense();
|
||||
this.R02 = new UserControlClass.UCVWNextSense();
|
||||
this.R01 = new UserControlClass.UCVWNextSense();
|
||||
this.R03 = new UserControlClass.UCVWNextSense();
|
||||
this.R06 = new UserControlClass.UCVWNextSense();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pbRightCar = new System.Windows.Forms.PictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbRightCar)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(1918, 37);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "右侧车身测量数据";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "右侧车身测量数据";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(875, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(20, 14, 20, 14);
|
||||
this.label2.Size = new System.Drawing.Size(40, 50);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(911, 7);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(164, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "右侧车身测量数据";
|
||||
//
|
||||
// labVIN
|
||||
//
|
||||
this.labVIN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labVIN.AutoSize = true;
|
||||
this.labVIN.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.labVIN.Location = new System.Drawing.Point(760, 970);
|
||||
this.labVIN.Name = "labVIN";
|
||||
this.labVIN.Size = new System.Drawing.Size(838, 104);
|
||||
this.labVIN.TabIndex = 32;
|
||||
this.labVIN.Text = "LNNACDEBXRDA20251";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 58F);
|
||||
this.label3.Location = new System.Drawing.Point(500, 969);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(253, 104);
|
||||
this.label3.TabIndex = 33;
|
||||
this.label3.Text = "VIN:";
|
||||
//
|
||||
// tmrRefreshData
|
||||
//
|
||||
this.tmrRefreshData.Interval = 1000;
|
||||
this.tmrRefreshData.Tick += new System.EventHandler(this.tmrRefreshData_Tick);
|
||||
//
|
||||
// R14
|
||||
//
|
||||
this.R14.BackColor = System.Drawing.Color.White;
|
||||
this.R14.ForeColor = System.Drawing.Color.Black;
|
||||
this.R14.labFLowerUpper = "-2.0/2.0";
|
||||
this.R14.labFText = "F";
|
||||
this.R14.labFVal = "-0.7";
|
||||
this.R14.labGLowerUpper = "1.0/6.0";
|
||||
this.R14.labGText = "G";
|
||||
this.R14.labGVal = "3.4";
|
||||
this.R14.labTitleText = "R-14";
|
||||
this.R14.Location = new System.Drawing.Point(280, 115);
|
||||
this.R14.Name = "R14";
|
||||
this.R14.Size = new System.Drawing.Size(220, 145);
|
||||
this.R14.TabIndex = 34;
|
||||
this.R14.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R14.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R14.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R14.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R15
|
||||
//
|
||||
this.R15.BackColor = System.Drawing.Color.White;
|
||||
this.R15.ForeColor = System.Drawing.Color.Black;
|
||||
this.R15.labFLowerUpper = "-2.0/2.0";
|
||||
this.R15.labFText = "F";
|
||||
this.R15.labFVal = "-1.4";
|
||||
this.R15.labGLowerUpper = "1.0/6.0";
|
||||
this.R15.labGText = "G";
|
||||
this.R15.labGVal = "4.2";
|
||||
this.R15.labTitleText = "R-15";
|
||||
this.R15.Location = new System.Drawing.Point(4, 113);
|
||||
this.R15.Name = "R15";
|
||||
this.R15.Size = new System.Drawing.Size(220, 145);
|
||||
this.R15.TabIndex = 35;
|
||||
this.R15.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R15.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R15.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R15.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R16
|
||||
//
|
||||
this.R16.BackColor = System.Drawing.Color.White;
|
||||
this.R16.ForeColor = System.Drawing.Color.Black;
|
||||
this.R16.labFLowerUpper = "-2.0/2.0";
|
||||
this.R16.labFText = "F";
|
||||
this.R16.labFVal = "-0.9mm";
|
||||
this.R16.labGLowerUpper = "1.0/6.0";
|
||||
this.R16.labGText = "G";
|
||||
this.R16.labGVal = "2.5mm";
|
||||
this.R16.labTitleText = "R-16";
|
||||
this.R16.Location = new System.Drawing.Point(3, 358);
|
||||
this.R16.Name = "R16";
|
||||
this.R16.Size = new System.Drawing.Size(220, 145);
|
||||
this.R16.TabIndex = 37;
|
||||
this.R16.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R16.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R16.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R16.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R18
|
||||
//
|
||||
this.R18.BackColor = System.Drawing.Color.White;
|
||||
this.R18.ForeColor = System.Drawing.Color.Black;
|
||||
this.R18.labFLowerUpper = "-2.0/2.0";
|
||||
this.R18.labFText = "F";
|
||||
this.R18.labFVal = "-2.0";
|
||||
this.R18.labGLowerUpper = "1.0/6.0";
|
||||
this.R18.labGText = "G";
|
||||
this.R18.labGVal = "3.8";
|
||||
this.R18.labTitleText = "R-18";
|
||||
this.R18.Location = new System.Drawing.Point(2, 560);
|
||||
this.R18.Name = "R18";
|
||||
this.R18.Size = new System.Drawing.Size(220, 145);
|
||||
this.R18.TabIndex = 38;
|
||||
this.R18.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R18.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R18.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R18.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R10
|
||||
//
|
||||
this.R10.BackColor = System.Drawing.Color.White;
|
||||
this.R10.ForeColor = System.Drawing.Color.Black;
|
||||
this.R10.labFLowerUpper = "-2.0/2.0";
|
||||
this.R10.labFText = "F";
|
||||
this.R10.labFVal = "0.2mm";
|
||||
this.R10.labGLowerUpper = "1.0/6.0";
|
||||
this.R10.labGText = "G";
|
||||
this.R10.labGVal = "2.9mm";
|
||||
this.R10.labTitleText = "R-10";
|
||||
this.R10.Location = new System.Drawing.Point(844, 799);
|
||||
this.R10.Name = "R10";
|
||||
this.R10.Size = new System.Drawing.Size(220, 145);
|
||||
this.R10.TabIndex = 42;
|
||||
this.R10.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R10.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R10.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R10.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R08
|
||||
//
|
||||
this.R08.BackColor = System.Drawing.Color.White;
|
||||
this.R08.ForeColor = System.Drawing.Color.Black;
|
||||
this.R08.labFLowerUpper = "-2.0/2.0";
|
||||
this.R08.labFText = "F";
|
||||
this.R08.labFVal = "0.1";
|
||||
this.R08.labGLowerUpper = "1.0/6.0";
|
||||
this.R08.labGText = "G";
|
||||
this.R08.labGVal = "2.8";
|
||||
this.R08.labTitleText = "R-08";
|
||||
this.R08.Location = new System.Drawing.Point(856, 99);
|
||||
this.R08.Name = "R08";
|
||||
this.R08.Size = new System.Drawing.Size(220, 145);
|
||||
this.R08.TabIndex = 44;
|
||||
this.R08.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R08.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R08.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R08.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R12
|
||||
//
|
||||
this.R12.BackColor = System.Drawing.Color.White;
|
||||
this.R12.ForeColor = System.Drawing.Color.Black;
|
||||
this.R12.labFLowerUpper = "-2.0/2.0";
|
||||
this.R12.labFText = "F";
|
||||
this.R12.labFVal = "0.2mm";
|
||||
this.R12.labGLowerUpper = "1.0/6.0";
|
||||
this.R12.labGText = "G";
|
||||
this.R12.labGVal = "3.5mm";
|
||||
this.R12.labTitleText = "R-12";
|
||||
this.R12.Location = new System.Drawing.Point(560, 99);
|
||||
this.R12.Name = "R12";
|
||||
this.R12.Size = new System.Drawing.Size(220, 145);
|
||||
this.R12.TabIndex = 46;
|
||||
this.R12.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R12.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R12.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R12.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R13
|
||||
//
|
||||
this.R13.BackColor = System.Drawing.Color.White;
|
||||
this.R13.ForeColor = System.Drawing.Color.Black;
|
||||
this.R13.labFLowerUpper = "-4.0/1.0";
|
||||
this.R13.labFText = "F";
|
||||
this.R13.labFVal = "-0.6";
|
||||
this.R13.labGLowerUpper = "3.0/9.0";
|
||||
this.R13.labGText = "G";
|
||||
this.R13.labGVal = "7.3";
|
||||
this.R13.labTitleText = "R-13";
|
||||
this.R13.Location = new System.Drawing.Point(457, 799);
|
||||
this.R13.Name = "R13";
|
||||
this.R13.Size = new System.Drawing.Size(220, 145);
|
||||
this.R13.TabIndex = 47;
|
||||
this.R13.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R13.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R13.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R13.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R04
|
||||
//
|
||||
this.R04.BackColor = System.Drawing.Color.White;
|
||||
this.R04.ForeColor = System.Drawing.Color.Black;
|
||||
this.R04.labFLowerUpper = "-2.0/2.0";
|
||||
this.R04.labFText = "F";
|
||||
this.R04.labFVal = "0.5mm";
|
||||
this.R04.labGLowerUpper = "1.0/6.0";
|
||||
this.R04.labGText = "G";
|
||||
this.R04.labGVal = "3.5mm";
|
||||
this.R04.labTitleText = "R-04";
|
||||
this.R04.Location = new System.Drawing.Point(1128, 111);
|
||||
this.R04.Name = "R04";
|
||||
this.R04.Size = new System.Drawing.Size(220, 145);
|
||||
this.R04.TabIndex = 48;
|
||||
this.R04.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R04.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R04.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R04.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R02
|
||||
//
|
||||
this.R02.BackColor = System.Drawing.Color.White;
|
||||
this.R02.ForeColor = System.Drawing.Color.Black;
|
||||
this.R02.labFLowerUpper = "-2.0/2.0";
|
||||
this.R02.labFText = "F";
|
||||
this.R02.labFVal = "-0.5mm";
|
||||
this.R02.labGLowerUpper = "1.0/6.0";
|
||||
this.R02.labGText = "G";
|
||||
this.R02.labGVal = "4.0mm";
|
||||
this.R02.labTitleText = "R-02";
|
||||
this.R02.Location = new System.Drawing.Point(1688, 115);
|
||||
this.R02.Name = "R02";
|
||||
this.R02.Size = new System.Drawing.Size(220, 145);
|
||||
this.R02.TabIndex = 49;
|
||||
this.R02.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R02.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R02.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R02.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R01
|
||||
//
|
||||
this.R01.BackColor = System.Drawing.Color.White;
|
||||
this.R01.ForeColor = System.Drawing.Color.Black;
|
||||
this.R01.labFLowerUpper = "-2.0/2.0";
|
||||
this.R01.labFText = "F";
|
||||
this.R01.labFVal = "0.4mm";
|
||||
this.R01.labGLowerUpper = "1.0/6.0";
|
||||
this.R01.labGText = "G";
|
||||
this.R01.labGVal = "3.7mm";
|
||||
this.R01.labTitleText = "R-01";
|
||||
this.R01.Location = new System.Drawing.Point(1687, 723);
|
||||
this.R01.Name = "R01";
|
||||
this.R01.Size = new System.Drawing.Size(220, 145);
|
||||
this.R01.TabIndex = 55;
|
||||
this.R01.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R01.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R01.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R01.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R03
|
||||
//
|
||||
this.R03.BackColor = System.Drawing.Color.White;
|
||||
this.R03.ForeColor = System.Drawing.Color.Black;
|
||||
this.R03.labFLowerUpper = "-3.0/2.0";
|
||||
this.R03.labFText = "F";
|
||||
this.R03.labFVal = "0.5mm";
|
||||
this.R03.labGLowerUpper = "1.0/6.0";
|
||||
this.R03.labGText = "G";
|
||||
this.R03.labGVal = "3.2mm";
|
||||
this.R03.labTitleText = "R-03";
|
||||
this.R03.Location = new System.Drawing.Point(1393, 115);
|
||||
this.R03.Name = "R03";
|
||||
this.R03.Size = new System.Drawing.Size(220, 145);
|
||||
this.R03.TabIndex = 56;
|
||||
this.R03.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R03.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R03.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R03.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// R06
|
||||
//
|
||||
this.R06.BackColor = System.Drawing.Color.White;
|
||||
this.R06.ForeColor = System.Drawing.Color.Black;
|
||||
this.R06.labFLowerUpper = "-2.0/2.0";
|
||||
this.R06.labFText = "F";
|
||||
this.R06.labFVal = "0.1mm";
|
||||
this.R06.labGLowerUpper = "1.0/6.0";
|
||||
this.R06.labGText = "G";
|
||||
this.R06.labGVal = "3.6mm";
|
||||
this.R06.labTitleText = "R-06";
|
||||
this.R06.Location = new System.Drawing.Point(1186, 799);
|
||||
this.R06.Name = "R06";
|
||||
this.R06.Size = new System.Drawing.Size(220, 145);
|
||||
this.R06.TabIndex = 57;
|
||||
this.R06.tlpBackColor = System.Drawing.Color.Lime;
|
||||
this.R06.tlpFBackColor = System.Drawing.Color.Lime;
|
||||
this.R06.tlpGBackColor = System.Drawing.Color.Lime;
|
||||
this.R06.tlpTitleBackSize = new System.Drawing.Size(216, 49);
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnRefresh.Font = new System.Drawing.Font("宋体", 3F);
|
||||
this.btnRefresh.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.btnRefresh.Image = global::NSAnalysis.Properties.Resources.Refresh64;
|
||||
this.btnRefresh.Location = new System.Drawing.Point(1705, 978);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(92, 97);
|
||||
this.btnRefresh.TabIndex = 31;
|
||||
this.btnRefresh.UseVisualStyleBackColor = false;
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.pictureBox2.Image = global::NSAnalysis.Properties.Resources.hexagonlogotransparent;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(98, 982);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(316, 83);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox2.TabIndex = 30;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pbRightCar
|
||||
//
|
||||
this.pbRightCar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pbRightCar.Image = ((System.Drawing.Image)(resources.GetObject("pbRightCar.Image")));
|
||||
this.pbRightCar.Location = new System.Drawing.Point(2, 40);
|
||||
this.pbRightCar.Name = "pbRightCar";
|
||||
this.pbRightCar.Size = new System.Drawing.Size(1916, 923);
|
||||
this.pbRightCar.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbRightCar.TabIndex = 2;
|
||||
this.pbRightCar.TabStop = false;
|
||||
//
|
||||
// FEHYRightCarData
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Controls.Add(this.R02);
|
||||
this.Controls.Add(this.R06);
|
||||
this.Controls.Add(this.R03);
|
||||
this.Controls.Add(this.R01);
|
||||
this.Controls.Add(this.R04);
|
||||
this.Controls.Add(this.R13);
|
||||
this.Controls.Add(this.R12);
|
||||
this.Controls.Add(this.R08);
|
||||
this.Controls.Add(this.R10);
|
||||
this.Controls.Add(this.R18);
|
||||
this.Controls.Add(this.R16);
|
||||
this.Controls.Add(this.R15);
|
||||
this.Controls.Add(this.R14);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.labVIN);
|
||||
this.Controls.Add(this.btnRefresh);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pbRightCar);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximumSize = new System.Drawing.Size(1920, 1080);
|
||||
this.Name = "FEHYRightCarData";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "右侧车身测量数据";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FEHYRightCarData_FormClosing);
|
||||
this.Load += new System.EventHandler(this.FEHYRightCarData_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbRightCar)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private System.Windows.Forms.PictureBox pbRightCar;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
private System.Windows.Forms.Label labVIN;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Timer tmrRefreshData;
|
||||
private UserControlClass.UCVWNextSense R14;
|
||||
private UserControlClass.UCVWNextSense R15;
|
||||
private UserControlClass.UCVWNextSense R16;
|
||||
private UserControlClass.UCVWNextSense R18;
|
||||
private UserControlClass.UCVWNextSense R10;
|
||||
private UserControlClass.UCVWNextSense R08;
|
||||
private UserControlClass.UCVWNextSense R12;
|
||||
private UserControlClass.UCVWNextSense R13;
|
||||
private UserControlClass.UCVWNextSense R04;
|
||||
private UserControlClass.UCVWNextSense R02;
|
||||
private UserControlClass.UCVWNextSense R01;
|
||||
private UserControlClass.UCVWNextSense R03;
|
||||
private UserControlClass.UCVWNextSense R06;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,421 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="label2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAABqdJREFUWEe1lnlQE1ccx61HPXEqFEdtx0GtZ1uPTq3V1mPafxjbomO1VVtrj1E7
|
||||
VfHgMOQggCggoAUUCEqCEIwElQAaslnIJrsBkpAGstlkNxFF28HqqONU7WhFeX27SWg8qFHxN/Mdluzb
|
||||
9/38fu/93m6/5wkAwAAx6pqytEITue1M5Qbfzy8/JFbroJUVTaEK24UF62vM0UsravKSMancd/vlBsz6
|
||||
lXLi4qivq1qWTJRihklS9dUVVSWdKlJwwjfk5cU6pXX8UmXT1jlluDZUgt4ano90rVJJu3NNaZ11roSX
|
||||
A8CWex9GjZlVii9/76i+8K1irDFcgl4elq8FU0tUIF6XCypJEQTg9S0AW+of1LbwbQg1O6besXqKDCsP
|
||||
K0RvjCjQPhgCzYfmI2CFqgQcNKcBDZPQiTB9XAGlUjngG1XLynly4tjYooYrrClnXICCYQVaMLIQAQWW
|
||||
NKCiRH0L8HE5MWruUf38KcU6bXhR/aWQfO2dofnerP1640gtWFktg+ZCoKH5zwWwGMMGrjtlDhOLQX/f
|
||||
T95YVtUcEVnZ/O2YovorsNxd0Lwnc1YjCzVgtrwSZDZlArWLD6DxMwFkN1GhySbnwvVq20+LKogfFyux
|
||||
Eb5b3thUb5uxTtMSE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n3gLbKarGAtff206sRsN3xqMA
|
||||
2/V2ru1ek/xXrUD1CgDfVmEZZvp9UaMzehdu3wUn48NjWeDXTr1dsB1rzI5GpYY4XW5XPJYDeNjBv0SG
|
||||
w6R/jNjYdDDXcpJIxPMAT58D2DGBim3IubUZLbAuq5KvnVlaOtxn7Y0cj2fwHtwTHmukZvemzObaJUdb
|
||||
D2yXt6XckrcmdctbU66Ute7Vsvd+taBzZW3HtyrIHHM5bNVAye1J9xX2VEpBZiikbTk7N2pk0zZaJYN8
|
||||
1sGH2pMzWEtnjEPdog6EFtwNfBmhrrwwgzt9k4bhX/YfWBqG1wX/vw3PkT907tT9eHvWp9ZOyTBushcJ
|
||||
/dk0PsoktgUCNDCJ6xBaeNpv7pXQ3cAkFzZ3FERQlPJV7uG+iNPk9onwc7wYmlAsgOVi/kSdO6VUS/Ov
|
||||
IHTCfZQWuRBGlIrQoi/wc3unYB2yIezXtu/xFw+lctWAOpr3s5YWKFgAon3/xnp3cjPKCDsamCTUelHG
|
||||
M5zL/kBDiUN9j/R9EOdzZ+k8yb/At2NlgydJjTKiVtSdVKk/m/kVANjAPs34ScEaMJfVMw3t6bm6s6lp
|
||||
qEc4R0mJ+26dgwn6qipE706fjsJ1VnvEI8VA/PC3/lOjX79/AdonQT85iOsDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="rpvpAnalysis.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAYCAYAAADtaU2/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH5AkVCAAngM/SOwAAAoNJREFU
|
||||
SEu1lsvLTWEUh7cIJQbEwIRipoSRiRiIAf4AxcB1YGJgIkWhFBHKyOQrA5JigmKipIQJGZCJWwauySWX
|
||||
iOf5etfu/XbrHMftV0/tvd61fr/O2e9+z2kG1GRYAUfgGjyFtwWvrblmj71/rSmwGa7Ce/jxC+yx1xln
|
||||
f1ujYDlo8h26AbdhS8Hr7rozzuqh10AaC9vgNXQN5Q0shpDX1rJePfTSs69s2A1fIDOS+zANQlPBWtYr
|
||||
X0HPvuFbIUJvwTG4At9KTd7BKgh5bS3W7XXGWT2s6al3Kr+yF2DjdZgByl16DsJYHsK+gtf1mr2xs/XQ
|
||||
y7reS2CEJsEliOG9UGsjxFoXN5LPODbhBqilV/SaYVar1eCziIaTMAZC+yHWupyA+XC53Nsb0kOv6DXD
|
||||
rGFNgIsQi/IRNFgK2+EV1OuBz24lqONgzV5nnNVDr3rGLDObRdDL+HNSq3kEM8Gv72apBb1mzTKz2VUK
|
||||
f8J5GA0LoNe7nGFmc6Eq+CoMcjQGO0F5RGbrgZ71K2lm+/J72G+ChbAHPkA0ZnyCZaCGIOvRQy899TbD
|
||||
upnN83Kzw5sid+MZqE26PIDp4I/BnVLrokf9dphh3cz22azxptJRqE0Cd7KGsZvnwkvIevWoZYZ1M5sn
|
||||
5eYseO6qOXAXapPgIIyHkNeHIOvVQy+ltxnWzWzPU08ejzcPhHul1uUxzIKurLmWzeilp95xuvnq9dwY
|
||||
GQ6MOPKKJsINyGYyzGzWQ31c9sNPNRu66veJu5i1DoaH3KFZU4bPeByEvD4AWW+GWe3jOgxZU4ZH4SlY
|
||||
C+7S06WW9WaY1WoePIOs8V9ihlmt/EPm3xP/SXja/A/0NoOspvkJxD7h7QqkS00AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="rpvpSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH5AEGATc06Xu77gAAAihJREFU
|
||||
WEft1j1rFUEUgOH1IwYLCzEKSSAQVLBRkkZ/gEYs468w1iJoY6ud2gqKIfEXWAh2GhNrP8DYRcEETaNi
|
||||
YSHq+152YLKe3J1ELiLcAw8sO2fO7MfM7Fb96Mf/GIPYj0MYrXnsOdt6EgdwGlcwjwW8wErNY8/ZZo65
|
||||
9vnrGMclLOIzfhUy1z72tcaWYx8uwDv7iWiQEva1hrWsWRSHMYfviIomX7FW8zjKSaxlTWt3jUk8RVQk
|
||||
ccDbOIcjNY89Z1vUJ7H2BMI4jueIOiYvcRY7sAvOfnls2GZO1Dd5hmPYEMN4hKhD4t05gOFd3MNy7S58
|
||||
eoY5bU/iIRyzEwO4jrbJdgs7YVxEc468wkkY5uZtTY51A3tQnccnRInJF5xBir24hm/I8+5jN8y1T97W
|
||||
5JiO3VmvUUJuFc5g372PbgRHcQc/kPLe4CBc+/bJa0Qcu1rKTmzGYhZ1d3uCD3iPj8hfnRfgpCy9AFdF
|
||||
8Stwe3W+uN1GOZpF6StYxzQ6E8EJ0TYJb8I4hddotnvONsPcZntuwyQ0fK8ujSg5cWlNwXDJufTe1vJl
|
||||
aM6WlmEKNwc3iahD4iaTLiLaiGxr24iceH9sRClO4DGijomTy3Xe3Io91zbxrO0YXWMMTqaSj5EDquRj
|
||||
ZE1rF4Wfzhn4ONsmZzf2tYa1ij/HebieL2O7PyT23dYPSTOG4D5wFQ/g75d39q7msedsM8dc+/Qk/slP
|
||||
aT/60aOoqt9oGogfMlqpmgAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="rpvpCpCpk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgA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>
|
||||
<data name="rpvpSetup.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH5AQOAhEQGbTF3QAABH1JREFU
|
||||
WEe111mobmMcx/FtnnKcDJlFiDLPM+UgQy50RIZSCDdKUUKIQm7IkIgoKQ7HPAtlvJFypSjKPBbKPP8+
|
||||
613/09rLepe95fzqe1rredd+hv/4nJn/oLXDHeHP8FfLH+H+sF5Y7jo2/BK+Dx+0eP49LA7/m1YJq00e
|
||||
Z+mS4NS3hc1abmzHrg59rdoyL+0floanw6mhNrJCuC9Y7CwDrU4Jxh4PKxmIHODE8FQwfniYkw4I7wYT
|
||||
4tdwe9gu7BHeDj+Fg0PJ+HfhvbBf2DrcHHxX83wcjg6jcvJ3Qp3mivB5+87X9fxG2CCUFoZXgt++CO+3
|
||||
z1+GK4O5vNvEkWFQTMbsPvQHGwdikWeC03wdHgoHhb72CtzzVfg5vBgODbRJeCyYm0uGYqsZtJCPnLwr
|
||||
Jzww7BrGAsohdgm+XddARxcGcz8fVjcwJAHH558F7hjTgrBlyzoGRrRb4MLfwhkGpokVBJydsoaT97Vj
|
||||
uCow6Ustj7ZjfutrrVCuvSesEUYl2u2Wz5myJL1OD8+FywKfb9Gye1Af/HZ2qFSkfYNCJThZYlTyXEqJ
|
||||
dgHH5yWLvxz2bN4m324YBOuKBiIWeCSc07xNtH34JHwTBK+/myW1XXm9OIhiec5cD4YKOBM7XS1uk3cH
|
||||
qYcHQtWFHYJva/M2d2cwpxTXMy4Nx4UmUDUWtd0HYHp53k01/mV2svibwdhOwYKXh7dCpd0F4brJYyOm
|
||||
fz38GGodAWnjTVfjI7VdeXWSbpER7QKOz5nPyS3elxhgtZXDzkEZ73bH9YOYOjPcGqxpI80/gk5TGZI0
|
||||
E+mCbaPA5E7el+B9LZjHARScrcKQfGPNOW9A8NmAgLMBZu9rm/Bq2DzYwJNh2gY2Dcs24DLBHDeEkwMf
|
||||
d/NfkZHn/Cig+K3ioavzg3xXDW3w2dB1pXmk60nh+rDMBaLSZcILdDUmr4gnPudjOiQIuIsCszu5xQXm
|
||||
okDnhZsmj41s6IVg7lrHmg7WBMrx4ZrwRKhOdm9wGqo0rEon2gUcn3OJk9fi2wbf7t28TaxW1fXDIDau
|
||||
DSeEf1zhRLAeoI3qaqK5pMI9HMr/vhU3fF4btfiScG7zNhEracPfhsOCvxuVywQraKn9UqzCOZ08lwl8
|
||||
LL1sitn53eLdUuxAPwQNbqhXzJKTuMkwl37eb6kkGAWRPBfp3GZhPi+zd6XS1oXkrjB4Fyi5w6mEXFBV
|
||||
bZr4T5qhG+1DsjH9QKs/zcCQ1H0BYqeuUV1pqfsEjaUaz5D8xufuhU7eVd2mp15IbIA5faT01pVMUxHl
|
||||
8tYpNJZulyyJA9H+UeDzKt+0ZrglmJvrprrhiCBifShHXaOqYnGLlupZYxF8Jf1CnvtNtAs4zzasy9bi
|
||||
n4ajwqiOCbUJ6FpuMoJPh9RSdbVuhqhwiow8l2qiXcDxec1jcW1/TrJL8eBU7nB1jdINlWITdu92yqsx
|
||||
f1N5zswCjs+Z/V9P3pcJhoLFZcJiWqpCpLFIS2MqXF/mGE29+cpNhlsEpfiAZ7VdeV3uUpzKDV0E7Tz/
|
||||
ez4z8zeeNDGa23P9IwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="DimensionID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="DimensionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="NormalVal.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="LowerTolVal.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="UpperTolVal.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MeasureValue.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MResult.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="resource.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAYAAABGM/VAAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAACFJREFUGFdjEHXq/o+OGf4DAbIACDCAAEwCLgADCAEGBgDP4STWpID5ywAAAABJ
|
||||
RU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="resource.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAYAAABGM/VAAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAACFJREFUGFdjEHXq/o+OGf4DAbIACDCAAEwCLgADCAEGBgDP4STWpID5ywAAAABJ
|
||||
RU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MeasureItemResult.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="SMResult.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="tmSystem.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tmReadNextsenseCSV.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>127, 14</value>
|
||||
</metadata>
|
||||
<metadata name="tmrReadPLCData.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>298, 20</value>
|
||||
</metadata>
|
||||
<metadata name="tmrRefreshPLCStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>443, 20</value>
|
||||
</metadata>
|
||||
<metadata name="tmrHeartBeatConnect.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>640, 18</value>
|
||||
</metadata>
|
||||
<metadata name="tmrWritePLCLive.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>821, 18</value>
|
||||
</metadata>
|
||||
<metadata name="tmrMonitorDBToCreateReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>980, 16</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>61</value>
|
||||
</metadata>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODRyAHbyawRy7BYQL+eI8G2niTroLBS5XvT
|
||||
sawAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANfDmAXLsFgS4M6pOsqy
|
||||
X26zqkqTn7+BpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AADu4+QD1L1/JrmpS0istm5lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAA//4P///8D////AH///gA///4AB//+EAf/+BAB8AAAAHAAAABwAAAAcAA
|
||||
AAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAYAHAAHgBwAB+AcAAfgHAAH/BwAB/8fAA
|
||||
f//wAH///AB///+Af///wH///+B////4f/8=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,84 @@
|
||||
/**************************************************************************
|
||||
*
|
||||
* =================================
|
||||
* CLR版本 :4.0.30319.42000
|
||||
* 命名空间 :NSAnalysis.Define
|
||||
* 文件名称 :ConfigPlc.cs
|
||||
* =================================
|
||||
* 创 建 者 :shupeng.wang
|
||||
* 创建日期 :2022/9/28 18:49:01
|
||||
* 功能描述 :
|
||||
* 使用说明 :
|
||||
* =================================
|
||||
* 修改者 :
|
||||
* 修改日期 :
|
||||
* 修改内容 :
|
||||
* =================================
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
using BaseFunction;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ConfigPlc
|
||||
{
|
||||
private int m_WriteStartAddr = 0;
|
||||
|
||||
public int WriteStartAddr
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_WriteStartAddr;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_WriteStartAddr = value;
|
||||
}
|
||||
}
|
||||
|
||||
private int m_ReadStartAddr = 100;
|
||||
|
||||
public int ReadStartAddr
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ReadStartAddr;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_ReadStartAddr = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// PLC通信协议: 1:Modbus;3:S7
|
||||
/// </summary>
|
||||
public static int PlcType = 1;
|
||||
|
||||
public static string strIP = "192.168.1.30"; //PLC的IP地址 沈机:100
|
||||
public static string strPort = "502"; //PLC的端口号
|
||||
public static string strMac = "1"; //设备号
|
||||
public static bool bReConnect = false;
|
||||
public static bool bPositiveAequence = true;
|
||||
|
||||
public static void LoadConfig()
|
||||
{
|
||||
string strTemp = "TCP";
|
||||
strIP = FileIni.ReadString(ConfigDfn.strConfigFile, strTemp, "ModbusTcp_IP");
|
||||
strPort = FileIni.ReadString(ConfigDfn.strConfigFile, strTemp, "ModbusTcp_Port");
|
||||
strMac = FileIni.ReadString(ConfigDfn.strConfigFile, strTemp, "ModbusTcp_Addr");
|
||||
bReConnect = FileIni.ReadBool(ConfigDfn.strConfigFile, strTemp, "ModbusTcp_Reconnected", 1);
|
||||
bPositiveAequence = !FileIni.ReadBool(ConfigDfn.strConfigFile, strTemp, "ModbusTcp_ReverseSequence", 1);
|
||||
PlcType = FileIni.ReadInt(ConfigDfn.strConfigFile, strTemp, "PlcType", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,312 @@
|
||||
/**************************************************************************
|
||||
*
|
||||
* =================================
|
||||
* CLR版本 :4.0.30319.42000
|
||||
* 命名空间 :NSAnalysis
|
||||
* 文件名称 :Define.cs
|
||||
* =================================
|
||||
* 创 建 者 :shupeng.wang
|
||||
* 创建日期 :2021/6/9 14:58:52
|
||||
* 功能描述 :
|
||||
* 使用说明 :
|
||||
* =================================
|
||||
* 修改者 :
|
||||
* 修改日期 :
|
||||
* 修改内容 :
|
||||
* =================================
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
using BaseFunction;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public class LogDebugDfn
|
||||
{
|
||||
public static string strDebugFile = Application.StartupPath + "\\Debug.txt"; //保存操作log的文件
|
||||
public static string strStartTime = "";//程序启动时间
|
||||
public static string strEndTime = ""; //程序关闭时间
|
||||
}
|
||||
|
||||
public class ConfigDfn
|
||||
{
|
||||
#region 全局变量
|
||||
|
||||
public static string strKeyFolder = Application.StartupPath + "\\Key";
|
||||
public static string strFileFolder = Application.StartupPath + "\\File";
|
||||
public static string strDFQFolder = Application.StartupPath + "\\DFQFiles";
|
||||
public static string strDebugFileFolder = Application.StartupPath + "\\File\\DebugFiles\\";
|
||||
public static string strThemePath = Application.StartupPath + "\\ThemeSkin\\";
|
||||
public static string strTheme = Application.StartupPath + "\\ThemeSkin\\";
|
||||
|
||||
/// <summary>CheryAnalysisConfig.ini绝对路径地址</summary>
|
||||
public static string strConfigFile = Application.StartupPath + "\\File\\AnalysisConfig.ini";
|
||||
|
||||
public static string strImageFile = Application.StartupPath + "\\Images\\";
|
||||
public static string strExpiredTime = "";
|
||||
|
||||
public static string strSkinName = "";
|
||||
public static string strHelpDocumentName = "";
|
||||
public static int iDeleteFlieTime;
|
||||
public static string strImagePath = "";
|
||||
|
||||
/// <summary> true =中文 false =英语 </summary>
|
||||
public static bool bLanguage = true;
|
||||
|
||||
public static bool bRememberMe = false;
|
||||
public static string UserName = "";
|
||||
public static string Password = "";
|
||||
|
||||
public static int gtm1_60 = 5000;
|
||||
public static int gtmRMIDMode = 5000;
|
||||
public static int gtmRCMMStatus = 6000;
|
||||
|
||||
public static string strNextSenseCSVEH3Path = "";
|
||||
public static string strNextSenseCSVEHYPath = "";
|
||||
public static string strNextSenseSelfMeasurePath = "";
|
||||
public static string strPLCIP = "";
|
||||
|
||||
/// <summary>NextSense 测量结果</summary>
|
||||
public static bool bMeasureResult = false;
|
||||
|
||||
public static string strMeasureTime = "";
|
||||
|
||||
public static double dFPY = 0.8;
|
||||
public static double dFPY2 = 0.6;
|
||||
|
||||
public static string strCarModel = "";
|
||||
public static string strEquipNo = "";
|
||||
public static string strEquipName = "";
|
||||
public static string strIOTAddress = "";
|
||||
public static string strIOTCarTypeAddress = "";
|
||||
public static int iStartIOTFlag = 1;
|
||||
public static int iShowCarDataFlag = 0;
|
||||
public static string strShowCarLR="";
|
||||
public static string strCOMPort = "";
|
||||
|
||||
public static int iCreateReportFlag = 0;
|
||||
public static string strStationName = "";
|
||||
public static string strUploadPath = "";
|
||||
public static string strUploadPath2 = "";
|
||||
public static double dLevel2 = 1.5;
|
||||
|
||||
public static double dLevel3 = 2.0;
|
||||
public static string strReportPath = "";
|
||||
public static string strReportPath2 = "";
|
||||
/// <summary>
|
||||
/// 公差带百分比
|
||||
/// </summary>
|
||||
public static double dTolerancePer = 0.0;
|
||||
public static double dExceptionTolerancePer = 0.0;
|
||||
public static string strPwd = "";
|
||||
public static int iAnalysisCSVFlag=1;
|
||||
public static int iRecordEncoderFlag = 0;
|
||||
public static int iIncludeRangeFlag = 0;
|
||||
public static int iMeasureItemsCount = 0;
|
||||
public static int iFailedCarCount = 0;
|
||||
#endregion 全局变量
|
||||
|
||||
public static void LoadConfig()
|
||||
{
|
||||
string strSection = "";
|
||||
|
||||
#region 读取系统配置参数
|
||||
|
||||
strSection = "Chery";
|
||||
iDeleteFlieTime = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "DeleteDebugFileIntervalTime");
|
||||
strSkinName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ConfigSkinName");
|
||||
strTheme += strSkinName;
|
||||
strHelpDocumentName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "SoftwareHelpDocument");
|
||||
strImagePath = strImageFile + FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "CNCPictureName");
|
||||
bLanguage = FileIni.ReadBool(ConfigDfn.strConfigFile, strSection, "Language", 0);
|
||||
bRememberMe = FileIni.ReadBool(ConfigDfn.strConfigFile, strSection, "RememberMe", 0);
|
||||
strNextSenseCSVEH3Path = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "NextsenseCSVEH3Path");
|
||||
strNextSenseCSVEHYPath = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "NextsenseCSVEHYPath");
|
||||
strNextSenseSelfMeasurePath = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "NextseneSelfMeasurePath");
|
||||
dFPY = double.Parse(FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "FPY"));
|
||||
dFPY2 = double.Parse(FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "FPY2"));
|
||||
strCarModel = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "CarModel");
|
||||
strEquipNo = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "EquipmentNo");
|
||||
strEquipName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "EquipmentName");
|
||||
iStartIOTFlag = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "StartIOTFlag");
|
||||
strIOTAddress = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "IOTAddress");
|
||||
strIOTCarTypeAddress = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "IOTCarTypeAddr");
|
||||
iShowCarDataFlag = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "ShowDataFlag");
|
||||
strShowCarLR = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ShowData");
|
||||
dTolerancePer = FileIni.ReadDouble(ConfigDfn.strConfigFile, strSection, "TolerancePercentage");
|
||||
dExceptionTolerancePer = FileIni.ReadDouble(strConfigFile, strSection, "ExceptionPercentage");
|
||||
strPwd = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "Password");
|
||||
strCOMPort = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "COMPort");
|
||||
|
||||
iCreateReportFlag = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "CreateReportFlag");
|
||||
strStationName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "StationName");
|
||||
strUploadPath = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "tavascanUploadPath");
|
||||
strUploadPath2 = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "blacklabelUploadPath");
|
||||
dLevel2 = double.Parse(FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "Level2Times"));
|
||||
dLevel3 = double.Parse(FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "Level3Times"));
|
||||
strReportPath = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ReportCSVPath");
|
||||
strReportPath2 = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ReportCSVPath2");
|
||||
iAnalysisCSVFlag= FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "AnalysisCSVFlag");
|
||||
iRecordEncoderFlag = FileIni.ReadInt(strConfigFile, strSection, "RecordEncoderFlag");
|
||||
iIncludeRangeFlag = FileIni.ReadInt(strConfigFile, strSection, "IncludeRangeFlag");
|
||||
iMeasureItemsCount = FileIni.ReadInt(strConfigFile, strSection, "MeasureCarItemsCount");
|
||||
iFailedCarCount = FileIni.ReadInt(strConfigFile, strSection, "ContinuousCarCount");
|
||||
#endregion 读取系统配置参数
|
||||
|
||||
#region 读[PLC] 参数
|
||||
|
||||
strSection = "PLC";
|
||||
strPLCIP = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ModbusTcp_IP");
|
||||
|
||||
#endregion 读[PLC] 参数
|
||||
|
||||
#region 读[Timer] 参数
|
||||
|
||||
strSection = "Timer";
|
||||
gtm1_60 = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "TimerFixedStorage") * 1000;
|
||||
gtmRMIDMode = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "TimerRefreshMIDMode") * 1000;
|
||||
gtmRCMMStatus = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "TimerRefreshCMMStatus") * 1000;
|
||||
|
||||
#endregion 读[Timer] 参数
|
||||
}
|
||||
|
||||
public static void LoadConfigFile()
|
||||
{
|
||||
try
|
||||
{
|
||||
#region 检查DLL是否存在
|
||||
|
||||
//if (!File.Exists(Application.StartupPath + "\\Fwlib32.dll"))
|
||||
// MyBase.TraceWriteLine("错误:Fwlib32.dll 文件丢失,程序将不能正确运行!");
|
||||
//else
|
||||
// MyBase.TraceWriteLine("Fwlib32.dll 文件存在!");
|
||||
|
||||
#endregion 检查DLL是否存在
|
||||
|
||||
MyBase.TraceWriteLine("加载配置文件——>开始");
|
||||
if (File.Exists(strConfigFile))
|
||||
{
|
||||
LoadConfig();
|
||||
ConfigPlc.LoadConfig();
|
||||
DatabaseDfn.LoadConfig();
|
||||
MyBase.TraceWriteLine("加载配置文件——>完成");
|
||||
}
|
||||
else
|
||||
{
|
||||
MyBase.TraceWriteLine("配置文件不存在!");
|
||||
}
|
||||
|
||||
#region 检测文件夹,没有则创建
|
||||
|
||||
if (!Directory.Exists(ConfigDfn.strFileFolder))
|
||||
Directory.CreateDirectory(ConfigDfn.strFileFolder);
|
||||
if (!Directory.Exists(ConfigDfn.strDebugFileFolder))
|
||||
Directory.CreateDirectory(ConfigDfn.strDebugFileFolder);
|
||||
if (!Directory.Exists(ConfigDfn.strKeyFolder))
|
||||
Directory.CreateDirectory(ConfigDfn.strKeyFolder);
|
||||
if (!Directory.Exists(ConfigDfn.strThemePath))
|
||||
Directory.CreateDirectory(ConfigDfn.strThemePath);
|
||||
if (!Directory.Exists(ConfigDfn.strImageFile))
|
||||
Directory.CreateDirectory(ConfigDfn.strImageFile);
|
||||
if (!Directory.Exists(ConfigDfn.strDFQFolder))
|
||||
Directory.CreateDirectory(ConfigDfn.strDFQFolder);
|
||||
|
||||
#endregion 检测文件夹,没有则创建
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("加载配置文件错误:" + ex.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class PLCDfn
|
||||
{
|
||||
/// <summary> 上料完成状态 10=OK,其他=false </summary>
|
||||
public static int CmmPartOk = -1;
|
||||
|
||||
/// <summary>清除测量结果标志位 </summary>
|
||||
public static int CMMResultClear = -1;
|
||||
|
||||
/// <summary>PLC心跳状态: 0 1 定时闪烁</summary>
|
||||
public static bool bPlcLiveHeart = false;
|
||||
|
||||
/// <summary> CMM外部急停(PLC给出)</summary>
|
||||
public static bool bCMMEmengency = false;
|
||||
|
||||
/// <summary>PLC当前模式10:手动;20:自动;30:联机自动;40:脱机运行</summary>
|
||||
public static int bPLCMode;
|
||||
|
||||
/// <summary>PLC自动运行</summary>
|
||||
public static bool bAllowHome = false;
|
||||
|
||||
/// <summary>托盘到位状态:10:托盘到位;0 :默认</summary>
|
||||
public static int TrayStatus;
|
||||
|
||||
/// <summary> 允许启动指令:0=禁止启动, 1611或10 = 允许启动, -1= 未知(PLC未连接) </summary>
|
||||
public static int StartCmd = -1;
|
||||
|
||||
/// <summary>启动测量:10:开始测量;0 :默认</summary>
|
||||
public static int NSStartMeasure;
|
||||
|
||||
public static int CarPassFlag;
|
||||
/// <summary>读码完成:10:默认为;0 :默认</summary>
|
||||
public static int ReadVINFinishFlag;
|
||||
|
||||
/// <summary>从工位1流向工位2:10:station1->2;0 :默认</summary>
|
||||
public static int Station1To2;
|
||||
|
||||
/// <summary>从工位2流向工位3:10:station1->2;0 :默认</summary>
|
||||
public static int Station2To3;
|
||||
|
||||
/// <summary>工件ID</summary>
|
||||
public static string PartID = "";
|
||||
|
||||
/// <summary>1:EH3;2:EHY</summary>
|
||||
public static int CarType;
|
||||
|
||||
/// <summary>PLC心跳状态: 0 1 定时闪烁</summary>
|
||||
public static bool bPlcLiveTick = false;
|
||||
}
|
||||
|
||||
public class HYPLCDfn
|
||||
{
|
||||
public static int testValue = 1;
|
||||
}
|
||||
|
||||
public class DatabaseDfn
|
||||
{
|
||||
public static string SqlServerName = "";
|
||||
public static string SqlDbName = "";
|
||||
public static string SqlUserName = "";
|
||||
public static string SqlPassword = "";
|
||||
|
||||
public static string SqlConnectStr()
|
||||
{
|
||||
string strConnectString = "";
|
||||
strConnectString = @"Data Source=" + SqlServerName
|
||||
+ ";initial Catalog=" + SqlDbName
|
||||
+ ";User ID=" + SqlUserName
|
||||
+ ";password=" + SqlPassword + ";";
|
||||
|
||||
return strConnectString;
|
||||
}
|
||||
|
||||
public static void LoadConfig()
|
||||
{
|
||||
string strSection = "MSDB";
|
||||
SqlServerName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "SqlServerName");
|
||||
SqlUserName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "SqlUserName");
|
||||
SqlPassword = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "SqlPassword");
|
||||
SqlDbName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "SqlDbName");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public static class EnumerableExtensions
|
||||
{
|
||||
public static double StandardDeviation(this IEnumerable<double> values)
|
||||
{
|
||||
double avg = values.Average();
|
||||
double sum = values.Sum(d => Math.Pow(d - avg, 2));
|
||||
return Math.Sqrt((sum) / (values.Count() - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,286 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using BaseFunction;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FSoftwareSetup : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region RadButton鼠标事件
|
||||
|
||||
private void btn_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(0, 151, 186);
|
||||
}
|
||||
|
||||
private void btn_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(19, 46, 53);
|
||||
}
|
||||
|
||||
#endregion RadButton鼠标事件
|
||||
|
||||
private string strSection = "Chery";
|
||||
|
||||
private void LoadSoftwareSetup()
|
||||
{
|
||||
#region Load Software Setup
|
||||
|
||||
rtbCSVEH3Path.Text = ConfigDfn.strNextSenseCSVEH3Path;
|
||||
rtbFPY.Text = ConfigDfn.dFPY.ToString();
|
||||
rtbFPY2.Text = ConfigDfn.dFPY2.ToString();
|
||||
rtbReportPath.Text = ConfigDfn.strReportPath;
|
||||
rtbCSVEHYPath.Text = ConfigDfn.strNextSenseCSVEHYPath;
|
||||
rtbPLCIP.Text = FileIni.ReadString(ConfigDfn.strConfigFile, "TCP", "ModbusTcp_IP");
|
||||
rtbEquipNo.Text = ConfigDfn.strEquipNo;
|
||||
rtbSelfMeasurePath.Text = ConfigDfn.strNextSenseSelfMeasurePath;
|
||||
rtbEquipName.Text = ConfigDfn.strEquipName;
|
||||
rtbIOTAddress.Text = ConfigDfn.strIOTAddress;
|
||||
rtbCarTypebyVIN.Text = ConfigDfn.strIOTCarTypeAddress;
|
||||
rtbCOMPort.Text = ConfigDfn.strCOMPort;
|
||||
rtbVWStationName.Text = ConfigDfn.strStationName;
|
||||
//rtbVWUploadPath.Text = ConfigDfn.strUploadPath;
|
||||
//rtbUploadPath2.Text = ConfigDfn.strUploadPath2;
|
||||
rtbTolPercentage.Text = ConfigDfn.dTolerancePer.ToString();
|
||||
rtbExceptionPercentage.Text=ConfigDfn.dExceptionTolerancePer.ToString();
|
||||
rtbShowCarType.Text = ConfigDfn.strCarModel;
|
||||
rtbMeasureItemsCount.Text=ConfigDfn.iMeasureItemsCount.ToString();
|
||||
rtbFailedCarCount.Text=ConfigDfn.iFailedCarCount.ToString();
|
||||
if (ConfigDfn.iCreateReportFlag == 1)
|
||||
{
|
||||
cbCreateTxtReport.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
cbCreateTxtReport.Checked = false;
|
||||
}
|
||||
|
||||
if (ConfigDfn.iStartIOTFlag == 1)
|
||||
{
|
||||
cbStartIOT.Checked = true;
|
||||
rtbIOTAddress.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
cbStartIOT.Checked = false;
|
||||
rtbIOTAddress.Enabled = false;
|
||||
}
|
||||
|
||||
if (FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ShowDataFlag") == "1")
|
||||
{
|
||||
cbShowCarData.Checked = true;
|
||||
}
|
||||
if (ConfigDfn.strShowCarLR.ToUpper() == "L")
|
||||
{
|
||||
|
||||
radShowLCarDataFlag.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
radShowRCarDataFlag.Checked = true;
|
||||
}
|
||||
if (ConfigDfn.iAnalysisCSVFlag == 1)
|
||||
{
|
||||
cbAnalysisCSV.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
cbAnalysisCSV.Checked = false;
|
||||
}
|
||||
if (ConfigDfn.iRecordEncoderFlag==1)
|
||||
{
|
||||
cbEncoder.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
cbEncoder.Checked= false;
|
||||
}
|
||||
if (ConfigDfn.iIncludeRangeFlag == 1)
|
||||
{
|
||||
cbIncludeRange.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
cbIncludeRange.Checked = false;
|
||||
}
|
||||
#endregion Load Software Setup
|
||||
}
|
||||
|
||||
public FSoftwareSetup()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FSoftwareSetup_Load(object sender, EventArgs e)
|
||||
{
|
||||
LoadSoftwareSetup();
|
||||
}
|
||||
|
||||
private void rtbnSaveSetup_Click(object sender, EventArgs e)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "NextsenseCSVEH3Path", rtbCSVEH3Path.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "NextsenseCSVEHYPath", rtbCSVEHYPath.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "NextseneSelfMeasurePath", rtbSelfMeasurePath.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "FPY", rtbFPY.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "FPY2", rtbFPY2.Text.Trim());
|
||||
//FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ReportCSVPath", rtbCSVReportEHYPath.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ReportCSVPath", rtbReportPath.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, "TCP", "ModbusTcp_IP", rtbPLCIP.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "EquipmentNo", rtbEquipNo.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "EquipmentName", rtbEquipName.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "IOTAddress", rtbIOTAddress.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "IOTCarTypeAddr", rtbCarTypebyVIN.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "COMPort", rtbCOMPort.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "StationName", rtbVWStationName.Text.Trim());
|
||||
//FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "tavascanUploadPath", rtbVWUploadPath.Text.Trim());
|
||||
//FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "blacklabelUploadPath", rtbUploadPath2.Text.Trim());
|
||||
//FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "Level2Times", rtbTolPercentage.Text.Trim());
|
||||
//FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "Level3Times", rtbLevel3.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "TolerancePercentage", rtbTolPercentage.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ExceptionPercentage", rtbExceptionPercentage.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "CarModel", rtbShowCarType.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "MeasureCarItemsCount", rtbMeasureItemsCount.Text.Trim());
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ContinuousCarCount", rtbFailedCarCount.Text.Trim());
|
||||
if (cbCreateTxtReport.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "CreateReportFlag", 1.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "CreateReportFlag", 0.ToString());
|
||||
}
|
||||
|
||||
if (cbStartIOT.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "StartIOTFlag", 1.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "StartIOTFlag", 0.ToString());
|
||||
}
|
||||
if (cbShowCarData.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ShowDataFlag", 1.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ShowDataFlag", 0.ToString());
|
||||
}
|
||||
if (radShowLCarDataFlag.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ShowData", "L");
|
||||
}
|
||||
if (radShowRCarDataFlag.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "ShowData", "R");
|
||||
}
|
||||
if (cbAnalysisCSV.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "AnalysisCSVFlag", 1.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "AnalysisCSVFlag", 0.ToString());
|
||||
}
|
||||
if (cbEncoder.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "RecordEncoderFlag", 1.ToString());
|
||||
ConfigDfn.iRecordEncoderFlag = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "RecordEncoderFlag", 0.ToString());
|
||||
ConfigDfn.iRecordEncoderFlag = 0;
|
||||
}
|
||||
if (cbIncludeRange.Checked)
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "IncludeRangeFlag", 1.ToString());
|
||||
ConfigDfn.iIncludeRangeFlag = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
FileIni.WriteString(ConfigDfn.strConfigFile, strSection, "IncludeRangeFlag", 0.ToString());
|
||||
ConfigDfn.iIncludeRangeFlag = 0;
|
||||
}
|
||||
ConfigDfn.strCarModel = rtbShowCarType.Text.Trim();
|
||||
ConfigDfn.strShowCarLR = radShowLCarDataFlag.Checked ? "L" : "R";
|
||||
ConfigDfn.dExceptionTolerancePer=double.Parse(rtbExceptionPercentage.Text.Trim());
|
||||
MessageBox.Show("保存设置完成,请重启软件,参数即可生效! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void rbtnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void rbtnSelectEH3CSVPath_Click(object sender, EventArgs e)
|
||||
{
|
||||
FolderBrowserDialog m_Folder = new FolderBrowserDialog();
|
||||
m_Folder.Description = "请选择要读取的Nextsense 生成的EH3 CSV报告的路径:";
|
||||
m_Folder.ShowDialog();
|
||||
if (Directory.Exists(m_Folder.SelectedPath))
|
||||
{
|
||||
rtbCSVEH3Path.Text = m_Folder.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
private void rbtnCSVReportPath_Click(object sender, EventArgs e)
|
||||
{
|
||||
FolderBrowserDialog mFolder = new FolderBrowserDialog();
|
||||
mFolder.Description = "请选择要读取的Nextsense 生成的EHY CSV报告的路径:";
|
||||
mFolder.ShowDialog();
|
||||
if (Directory.Exists(mFolder.SelectedPath))
|
||||
{
|
||||
rtbCSVEHYPath.Text = mFolder.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
private void rbtnReportCSV2_Click(object sender, EventArgs e)
|
||||
{
|
||||
FolderBrowserDialog mFolder = new FolderBrowserDialog();
|
||||
mFolder.Description = "请选择奇瑞报告存放的路径:";
|
||||
mFolder.ShowDialog();
|
||||
if (Directory.Exists(mFolder.SelectedPath))
|
||||
{
|
||||
rtbReportPath.Text = mFolder.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
private void cbStartIOT_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cbStartIOT.Checked)
|
||||
{
|
||||
rtbIOTAddress.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
rtbIOTAddress.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void rbtnSelfMeasure_Click(object sender, EventArgs e)
|
||||
{
|
||||
FolderBrowserDialog mFolder = new FolderBrowserDialog();
|
||||
mFolder.Description = "请选择要读取的Nextsense 生成的自检 CSV报告的路径:";
|
||||
mFolder.ShowDialog();
|
||||
if (Directory.Exists(mFolder.SelectedPath))
|
||||
{
|
||||
rtbSelfMeasurePath.Text = mFolder.SelectedPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="label2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAABqdJREFUWEe1lnlQE1ccx61HPXEqFEdtx0GtZ1uPTq3V1mPafxjbomO1VVtrj1E7
|
||||
VfHgMOQggCggoAUUCEqCEIwElQAaslnIJrsBkpAGstlkNxFF28HqqONU7WhFeX27SWg8qFHxN/Mdluzb
|
||||
9/38fu/93m6/5wkAwAAx6pqytEITue1M5Qbfzy8/JFbroJUVTaEK24UF62vM0UsravKSMancd/vlBsz6
|
||||
lXLi4qivq1qWTJRihklS9dUVVSWdKlJwwjfk5cU6pXX8UmXT1jlluDZUgt4ano90rVJJu3NNaZ11roSX
|
||||
A8CWex9GjZlVii9/76i+8K1irDFcgl4elq8FU0tUIF6XCypJEQTg9S0AW+of1LbwbQg1O6besXqKDCsP
|
||||
K0RvjCjQPhgCzYfmI2CFqgQcNKcBDZPQiTB9XAGlUjngG1XLynly4tjYooYrrClnXICCYQVaMLIQAQWW
|
||||
NKCiRH0L8HE5MWruUf38KcU6bXhR/aWQfO2dofnerP1640gtWFktg+ZCoKH5zwWwGMMGrjtlDhOLQX/f
|
||||
T95YVtUcEVnZ/O2YovorsNxd0Lwnc1YjCzVgtrwSZDZlArWLD6DxMwFkN1GhySbnwvVq20+LKogfFyux
|
||||
Eb5b3thUb5uxTtMSEyHTgZBC9CFz9nq8tAYsh2tfDbNHYPZa5ukVEAPQX4x1DNltYibsNbs+5+OOrO/U
|
||||
VjRCqpOOlWCv+4Z5IwanZuzQtcVEVZtB+OH6xwAiT5aBjMZMLnNWQQGw5kbHpD0m+pDA6Li0HrHdX3Dc
|
||||
eH1IPiId8SSAGD0Zsw2zg3flOAgr8kKwm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
|
||||
D2yXt6XckrcmdctbU66Ute7Vsvd+taBzZW3HtyrIHHM5bNVAye1J9xX2VEpBZiikbTk7N2pk0zZaJYN8
|
||||
1sGH2pMzWEtnjEPdog6EFtwNfBmhrrwwgzt9k4bhX/YfWBqG1wX/vw3PkT907tT9eHvWp9ZOyTBushcJ
|
||||
/dk0PsoktgUCNDCJ6xBaeNpv7pXQ3cAkFzZ3FERQlPJV7uG+iNPk9onwc7wYmlAsgOVi/kSdO6VUS/Ov
|
||||
IHTCfZQWuRBGlIrQoi/wc3unYB2yIezXtu/xFw+lctWAOpr3s5YWKFgAon3/xnp3cjPKCDsamCTUelHG
|
||||
M5zL/kBDiUN9j/R9EOdzZ+k8yb/At2NlgydJjTKiVtSdVKk/m/kVANjAPs34ScEaMJfVMw3t6bm6s6lp
|
||||
qEc4R0mJ+26dgwn6qipE706fjsJ1VnvEI8VA/PC3/lOjX79/AdonQT85iOsDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAzO/jAbfp2C6J3MGShNu+h3zYujF52LkGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AADu4+QD1L1/JrmpS0istm5lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAA//4P///8D////AH///gA///4AB//+EAf/+BAB8AAAAHAAAABwAAAAcAA
|
||||
AAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAYAHAAHgBwAB+AcAAfgHAAH/BwAB/8fAA
|
||||
f//wAH///AB///+Af///wH///+B////4f/8=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 345 B |
|
After Width: | Height: | Size: 261 B |
|
After Width: | Height: | Size: 350 B |
|
After Width: | Height: | Size: 598 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 333 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<!--<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
autoReload="true"
|
||||
internalLogLevel="Trace"
|
||||
internalLogFile="D:\work\log.txt">-->
|
||||
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
autoReload="true"
|
||||
internalLogLevel="Info"
|
||||
internalLogFile="c:\temp\nlog-internal.log">
|
||||
|
||||
<targets>
|
||||
|
||||
<!-- Log in a separate thread, possibly queueing up to messages. When the queue overflows, discard any extra messages-->
|
||||
|
||||
<!-- write logs to file -->
|
||||
<target name="file" xsi:type="AsyncWrapper" queueLimit="5000" overflowAction="Discard">
|
||||
<target xsi:type="File" fileName="${basedir}/logs/${shortdate}.log" layout="${longdate} [${level:uppercase=true}] [${event-context:item=Action}] ${message} [${event-context:item=Amount}][ ${stacktrace}]" />
|
||||
</target>
|
||||
<!-- write logs to file2 -->
|
||||
<target name="file2" xsi:type="AsyncWrapper" queueLimit="5000" overflowAction="Discard">
|
||||
<target xsi:type="File" fileName="${basedir}/logs/${shortdate}.log" layout="${longdate} [${level:uppercase=true}] : ${message}" />
|
||||
</target>
|
||||
|
||||
<target name="file3" xsi:type="AsyncWrapper" queueLimit="5000" overflowAction="Discard">
|
||||
<target xsi:type="File" fileName="${basedir}/EncoderLogs/${shortdate}.csv" layout="${longdate} [${level:uppercase=true}] : ${message} [${stacktrace}]" />
|
||||
</target>
|
||||
<!-- write logs to file4 -->
|
||||
<target name="file4" xsi:type="AsyncWrapper" queueLimit="5000" overflowAction="Discard">
|
||||
<target xsi:type="File" fileName="${basedir}/EncoderLogs/${shortdate}.csv" layout="${longdate},${message}" />
|
||||
</target>
|
||||
<!-- write log message to database -->
|
||||
<target name="sqldb" xsi:type="Database" connectionString="Server=127.0.0.1;Database=SHENFUDB;User Id=sa;Password=HexagonPai=3.1415;">
|
||||
<!--<connectionString>server=127.0.0.1;Database=SHENFUDB;user id=sa;password=HexagonPai=3.1415</connectionString>-->
|
||||
|
||||
<commandText>
|
||||
INSERT INTO TLogInfo(LogTime,LogLevel,LogMessage,LogStackTrack) VALUES (@LogTime, @LogLevel, @LogMessage, @LogStackTrack);
|
||||
</commandText>
|
||||
|
||||
<!-- database connection parameters -->
|
||||
<parameter name="@LogTime" layout="${date}" />
|
||||
<parameter name="@LogLevel" layout="${level:uppercase=true}" />
|
||||
<parameter name="@LogMessage" layout="${message}" />
|
||||
<!--<parameter name="@LogAction" layout="${event-context:item=Action}" />
|
||||
<parameter name="@LogAmount" layout="${event-context:item=Amount}" />-->
|
||||
<parameter name="@LogStackTrack" layout="${stacktrace}" />
|
||||
</target>
|
||||
|
||||
<target name="sqldb2" xsi:type="Database" connectionString="Server=127.0.0.1;Database=SHENFUDB;uid=sa;pwd=HexagonPai=3.1415;" >
|
||||
|
||||
<commandText>
|
||||
insert into TLogInfo(LogTime,LogLevel,LogMessage,LogAction,LogAmount,LogStackTrack) values (@LogTime, @LogLevel, @LogMessage,@LogAction,@LogAmount, @LogStackTrack);
|
||||
</commandText>
|
||||
<!-- database connection parameters -->
|
||||
<parameter name="@LogTime" layout="${date}" />
|
||||
<parameter name="@LogLevel" layout="${level:uppercase=true}" />
|
||||
<parameter name="@LogMessage" layout="${message}" />
|
||||
<parameter name="@LogAction" layout="${event-context:item=Action}" />
|
||||
<parameter name="@LogAmount" layout="${event-context:item=Amount}" />
|
||||
<parameter name="@LogStackTrack" layout="${stacktrace}" />
|
||||
</target>
|
||||
|
||||
<!--write log message to Visual Studio Output-->
|
||||
<target name="debugger" xsi:type="Debugger" layout="NLog: ${date:format=HH\:mm\:ss} | ${level:uppercase=true:padding=-5} | ${message} [${stacktrace}]" />
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
|
||||
<!--INFO,WARN,ERROR,FATAL-->
|
||||
<!--<logger name="*" minlevel="Info" writeTo="sqldb2" />-->
|
||||
|
||||
<!--TRACE,DEBUG,INFO,WARN,ERROR,FATAL-->
|
||||
<logger name="*" minlevel="Trace" writeTo="debugger" />
|
||||
|
||||
<!--DEBUG,INFO,WARN,ERROR,FATAL-->
|
||||
<logger name="*" minlevel="Info" writeTo="file2" />
|
||||
|
||||
<!--DEBUG,INFO,WARN,ERROR,FATAL-->
|
||||
<logger name="*" minlevel="Fatal" writeTo="file4" />
|
||||
</rules>
|
||||
</nlog>
|
||||
@@ -0,0 +1,277 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using BaseFunction;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
#region CLMS 授权
|
||||
|
||||
/// <summary>
|
||||
/// 功能:使用MORCODE.DLL前验证使用软件是否正确,否则其他函数都不可正常调用
|
||||
/// </summary>
|
||||
/// <param name="str">验证内容为软件指纹文件中字符串</param>
|
||||
/// <returns>
|
||||
/// TRUE :该软件可正常调用
|
||||
/// FALSE :该软件不可正常调用
|
||||
/// </returns>
|
||||
[DllImport("MORCODE.dll", EntryPoint = "CLM_Login", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool CLM_Login(StringBuilder str);
|
||||
|
||||
/// <summary>
|
||||
/// 退出前执行一次,释放内存,记录使用信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[DllImport("MORCODE.dll", EntryPoint = "CLM_Logout", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool CLM_Logout();
|
||||
|
||||
/// <summary>
|
||||
/// 自动检查电脑中是否有当前软件的许可信息,过期/非本机电脑/其他软件 的许可证书都不会识别
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// TRUE :有该软件许可证书
|
||||
/// FALSE :没有该软件许可证书
|
||||
/// </returns>
|
||||
[DllImport("MORCODE.dll", EntryPoint = "CLM_Login_Scope", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool CLM_Login_Scope();
|
||||
|
||||
/// <summary>
|
||||
/// 输入模块ID验证模块可用性
|
||||
/// </summary>
|
||||
/// <param name="mod">模块ID</param>
|
||||
/// <param name="type">暂无定义</param>
|
||||
/// <returns>
|
||||
/// TRUE :该模块可用
|
||||
/// FALSE :该模块不可用
|
||||
/// </returns>
|
||||
[DllImport("MORCODE.dll", EntryPoint = "CLM_ModuleIsLicensed", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool CLM_ModuleIsLicensed(ref UInt16 mod, ref UInt16 type);
|
||||
|
||||
/// <summary>
|
||||
/// 获取到期日期
|
||||
/// </summary>
|
||||
/// <param name="mon"></param>
|
||||
/// <param name="day"></param>
|
||||
/// <param name="year"></param>
|
||||
/// <returns></returns>
|
||||
|
||||
[DllImport("MORCODE.dll", EntryPoint = "CLM_GetWarrantyExpiration", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool CLM_GetWarrantyExpiration(ref int mon, ref int day, ref int year);
|
||||
|
||||
private static int gCLMSModeID = 0;
|
||||
private static int gAuthorizationMode = 0;
|
||||
|
||||
#endregion CLMS 授权
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
private static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
#region 创建Log文件
|
||||
|
||||
LogDebugDfn.strStartTime = DateTime.Now.ToString("yyyy.MM.dd HH-mm-ss");
|
||||
System.IO.TextWriter log = new System.IO.StreamWriter(LogDebugDfn.strDebugFile); //Debug.txt
|
||||
TextWriterTraceListener logger = new TextWriterTraceListener(log);
|
||||
Trace.Listeners.Add(logger);
|
||||
MyBase.TraceWriteLine("--软件Program Main函数开始执行--"); //写入log文件
|
||||
ConfigDfn.LoadConfigFile(); //加载配置参数
|
||||
|
||||
gCLMSModeID = FileIni.ReadInt(ConfigDfn.strConfigFile, "Chery", "CLMSModeID", 1);
|
||||
gAuthorizationMode = FileIni.ReadInt(ConfigDfn.strConfigFile, "Chery", "AuthorizationMode", 1);
|
||||
|
||||
#endregion 创建Log文件
|
||||
|
||||
if (gAuthorizationMode == 1)
|
||||
{
|
||||
MyBase.TraceWriteLine("Log in using the CLMS authorization.");
|
||||
Application.Run(new CenterControl());
|
||||
#region 检测CLMS
|
||||
|
||||
/////1登陆验证
|
||||
//验证内容为软件指纹文件中字符串,功能:使用MORCODE.DLL前验证使用软件是否正确,否则其他函数都不可正常调用
|
||||
StringBuilder password = new StringBuilder("vravnhNYybkmDkHDPKhVIwbHMoqHktgqWHFkBTOUsZLLVLwaAOkPIFFoVffUnSqUkCApSxrWQmsKvYCdVUpZLOhuHshKFbUPezYYbyQCgUoHrFOaaLVSosAapdVagrfFSqDUzxCvVuSJodxkjBiCJdRUfhCIfyRzjLdTfkxtUHPYUHyQbzOaJFvdSbzLihYmuhLHFNUSbERcAFbnrvNQtZOCUSUnHFcySXzTbfqTgzeaWQrjoSTzEUYDkEUmqusV");
|
||||
bool res = CLM_Login(password);
|
||||
if (!res)
|
||||
{
|
||||
MyBase.TraceWriteLine("CLMS Login Failed.");
|
||||
MessageBox.Show("CLMS Login fails. Please authorize the user first! ", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
/////2检查许可
|
||||
//该函数自动检查电脑中是否有当前软件的许可信息,过期/非本机电脑/其他软件 的许可证书都不会识别
|
||||
res = CLM_Login_Scope();
|
||||
if (!res)
|
||||
{
|
||||
//检查许可失败
|
||||
MyBase.TraceWriteLine("CLMS check license failed! Please authorize the operation.");
|
||||
MessageBox.Show("The CLMS failed to check for permissions. Please authorize first! ", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
//3获取许可模块是否可用
|
||||
//输入模块ID验证模块可用性
|
||||
UInt16 mod = (UInt16)gCLMSModeID;//模块ID
|
||||
UInt16 type = 0;//暂无定义
|
||||
|
||||
res = CLM_ModuleIsLicensed(ref mod, ref type);//res true:可用 false:不可用
|
||||
if (!res)
|
||||
{
|
||||
MyBase.TraceWriteLine("The CLMS module is unavailable!");
|
||||
MessageBox.Show(mod.ToString() + " The CLMS module is unavailable!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
//4获取到期日期
|
||||
int Year = 0, Month = 0, Day = 0;
|
||||
res = CLM_GetWarrantyExpiration(ref Month, ref Day, ref Year);
|
||||
if (!res)
|
||||
{
|
||||
//登陆验证失败
|
||||
MyBase.TraceWriteLine("Login verification failed, authorization time is up, please contact Hexagon company for authorization! The maturity time is:" + Year.ToString() + "." + Month.ToString() + "." + Day.ToString());
|
||||
MessageBox.Show("Login verification failed, authorization time is up, please contact Hexagon company for authorization! The maturity time is:" + Year.ToString() + "." + Month.ToString() + "." + Day.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (res)
|
||||
{
|
||||
ConfigDfn.strExpiredTime = Year.ToString() + "-" + Month.ToString() + "-" + Day.ToString();
|
||||
}
|
||||
|
||||
#endregion 检测CLMS
|
||||
|
||||
Application.Run(new CenterControl());
|
||||
}
|
||||
else
|
||||
{
|
||||
MyBase.TraceWriteLine("Log in using the original authorization mode.");
|
||||
Licence.GetRegisterInfo();
|
||||
Licence.Encryption_DLL();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class Licence
|
||||
{
|
||||
//===============================================================
|
||||
|
||||
#region 1、加密动态库加密
|
||||
|
||||
public static void Encryption_DLL()
|
||||
{
|
||||
Covert.Program Mycheck = new Covert.Program();
|
||||
if (Mycheck.CheckLicence(Application.StartupPath + "\\Key\\reg.key", "PCControl"))
|
||||
{
|
||||
MyBase.TraceWriteLine("软件授权成功");
|
||||
ConfigDfn.strExpiredTime = Covert.Parameter.ExpiredTime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
if (IsSoftwareRunning())
|
||||
{
|
||||
MessageBox.Show("库位管理软件已经存在,请关闭后重新尝试!", "警告");
|
||||
System.Environment.Exit(0);
|
||||
return;
|
||||
}
|
||||
Application.Run(new CenterControl());
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Did not pass the certification!\r\n" + Covert.Parameter.ExpiredTime.ToString());
|
||||
BaseFunction.MyBase.TraceWriteLine("软件授权失败");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 1、加密动态库加密
|
||||
|
||||
private static bool IsSoftwareRunning()
|
||||
{
|
||||
int Num = 0;
|
||||
Process[] processes = Process.GetProcesses();
|
||||
foreach (Process instance in processes)
|
||||
{
|
||||
string pro = instance.ProcessName;
|
||||
if (pro.ToLower() == "cheryanalysis")
|
||||
{
|
||||
Num++;
|
||||
}
|
||||
}
|
||||
if (Num > 1)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
//===============================================================
|
||||
|
||||
#region 读取注册表信息,准备各种时间
|
||||
|
||||
private static string PassWord = "";
|
||||
private static string PassData = "";
|
||||
private static Int64 PassNow = 0;
|
||||
private static Int64 LtOk = 20160101080000; //开始日期
|
||||
private static Int64 LtOk2now;
|
||||
|
||||
public static void GetRegisterInfo()
|
||||
{
|
||||
LtOk2now = Convert.ToInt64(System.DateTime.Now.ToString("yyyyMMddHHmmss"));
|
||||
RegistryKey pregkey;
|
||||
RegistryKey pregkey1;
|
||||
RegistryKey pregkey2;
|
||||
bool RegKey = false;
|
||||
try
|
||||
{
|
||||
do
|
||||
{
|
||||
pregkey = Registry.CurrentUser.OpenSubKey("software", true);
|
||||
pregkey1 = Registry.CurrentUser.OpenSubKey("software\\sunpike", true);
|
||||
pregkey2 = Registry.CurrentUser.OpenSubKey("software\\sunpike\\PCControl", true);
|
||||
if (pregkey1 != null)
|
||||
{
|
||||
if (pregkey2 != null)
|
||||
{
|
||||
if (pregkey2.GetValue("Pass") == null) { pregkey2.SetValue("Pass", ""); }
|
||||
if (pregkey2.GetValue("Data") == null) { pregkey2.SetValue("Data", ""); }
|
||||
if (pregkey2.GetValue("Now") == null) { pregkey2.SetValue("Now", LtOk.ToString()); }
|
||||
|
||||
PassWord = pregkey2.GetValue("Pass").ToString();
|
||||
PassData = pregkey2.GetValue("Data").ToString();
|
||||
PassNow = Convert.ToInt64(pregkey2.GetValue("Now").ToString());//上次结束APP的时间
|
||||
RegKey = true;
|
||||
}
|
||||
else { pregkey1.CreateSubKey("PCControl"); }
|
||||
}
|
||||
else { pregkey.CreateSubKey("sunpike"); }
|
||||
} while (!RegKey);
|
||||
if (LtOk2now > PassNow)
|
||||
pregkey2.SetValue("Data", LtOk.ToString());
|
||||
else
|
||||
pregkey2.SetValue("Now", LtOk.ToString());
|
||||
pregkey.Close();
|
||||
pregkey1.Close();
|
||||
pregkey2.Close();
|
||||
}
|
||||
catch
|
||||
{
|
||||
MyBase.TraceWriteLine("--读取注册信息时遭到破坏。");
|
||||
MessageBox.Show("读取注册信息时遭到破坏。");
|
||||
//
|
||||
//有一个复位的方法,就是客户打电话给我,我给他一串数据(时间加校验码),填入后,通过校验是合适的时间,就恢复这串码中的时间,
|
||||
//举例:
|
||||
//目前是2014年03月19日11点30分15秒:
|
||||
// 20140319113015 --加密--> 3分十位2年千位4年个位1秒十位3校验位(前4位相加之和保证个位是3)1年十位1时个位1时十位5秒个位3校验位(前4位相加之和保证个位是3)0月十位0年百位1日十位0分个位2校验位(前4位相加之和保证个位是3)3月个位9日个位0校验位(前2位相加之和保证个位是3)
|
||||
// 3 2 4 1 3 1 1 1 5 5 0 0 1 0 2 3 0 0
|
||||
// 324131115500102300
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 读取注册表信息,准备各种时间
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Hexagon NSAnalysis")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Hexagon NSAnalysis")]
|
||||
[assembly: AssemblyCopyright("Copyright © Hexagon 2024")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("b7703537-786b-4e84-90e1-40e1e479f915")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2025.03.03.1")]
|
||||
[assembly: AssemblyFileVersion("2025.03.03.1")]
|
||||
//奇瑞总装软件
|
||||
//2024.09.27.1 该版本增加读取编码器数值功能
|
||||
//2024.10.08.1 该版本修改了EHY和EH3的测点图片 以及增加了上传IOT时,在1.5倍公差内,都是OK的结果,传给IOT
|
||||
//2024.10.10.1 更改EH3车型图片
|
||||
//2024.10.12.1 更改异常数据变为空,并设置为NG,增加数据库表TTempSaveVIN表,来存储,获取,删除VIN,用于区别是否是L开头的VIN码
|
||||
//create Table TTempSaveVIN
|
||||
//(
|
||||
// Id int primary key identity,
|
||||
// CarVIN nvarchar(50)
|
||||
//)
|
||||
//2024.10.24.1 增加极差数据功能
|
||||
//2024.10.28.1 合格率计算的时候 添加上极差
|
||||
//2024.10.31.1 极差上传IOT时,在1.5倍公差内,都是OK的结果,传给IOT
|
||||
//2024.12.24 .1 添加判断连续多少辆车检测项数量不足,则报警
|
||||
//2025.03.03.1 添加自检报告
|
||||
@@ -0,0 +1,423 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace NSAnalysis.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||
[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 {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NSAnalysis.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写当前线程的 CurrentUICulture 属性,对
|
||||
/// 使用此强类型资源类的所有资源查找执行重写。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap About32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("About32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap add_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("add_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap cncmachine32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("cncmachine32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Config {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Config", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Dashboard {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Dashboard", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap downloadCarType {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("downloadCarType", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap EH3L {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("EH3L", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap EH3R {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("EH3R", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap EHYL {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("EHYL", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap EHYR {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("EHYR", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap export {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("export", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap eyes32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("eyes32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap FirstPage {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("FirstPage", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Forbid {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Forbid", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap hexagonlogotransparent {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("hexagonlogotransparent", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap LastPage {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("LastPage", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap LOG {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("LOG", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap NextPage {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("NextPage", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap NG {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("NG", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap OK {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("OK", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap PLCAddress32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("PLCAddress32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap PLCTest32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("PLCTest32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap PrevPage {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("PrevPage", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Range {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Range", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Refresh128 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Refresh128", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Refresh64 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Refresh64", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ResultNG {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ResultNG", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ResultOK {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ResultOK", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap search16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("search16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Search32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Search32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap setup32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("setup32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap setupgreen32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("setupgreen32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap showcardata {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("showcardata", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap upload {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("upload", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Waiting {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Waiting", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap wnull {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("wnull", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,229 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="cncmachine32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\cncmachine32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Dashboard" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\dashboard.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="eyes32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\eyes32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Search32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\search32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="setup32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\setup32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="wnull" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\wnull.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="export" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\images\export.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Forbid" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Forbid.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Waiting" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Waiting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="NG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\NG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="OK" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\OK.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ResultNG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ResultNG.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ResultOK" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ResultOK.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="About32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\about32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="PLCAddress32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\plcaddress32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="PLCTest32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\plctest32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="search16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\search16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="hexagonlogotransparent" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\hexagonlogotransparent.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="upload" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\upload.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="FirstPage" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\firstpage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="LastPage" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\lastpage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="NextPage" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\nextpage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="PrevPage" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\prevpage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Refresh64" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Refresh64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="showcardata" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\showcardata.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Refresh128" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Refresh128.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Config" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\HConfig.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="setupgreen32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\setupgreen32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="add_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\add_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="LOG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\LOG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="downloadCarType" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\downloadCarType.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="EHYL" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\EHYL.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="EHYR" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\EHYR.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="EH3L" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\EH3L.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="EH3R" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\EH3R.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Range" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Range.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace NSAnalysis.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.12.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
@@ -0,0 +1,12 @@
|
||||
Telerik.WinControls.UI.RadDateTimePicker, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadButton, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadTextBox, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadTitleBar, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadToggleSwitch, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadDropDownList, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadPageView, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadGroupBox, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadStatusStrip, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadRadioButton, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadCheckBox, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
Telerik.WinControls.UI.RadLabel, Telerik.WinControls.UI, Version=2018.3.1016.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
@@ -0,0 +1,182 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using BaseFunction;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using DAL;
|
||||
using Telerik.WinControls.UI;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FAddRange : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region 全局变量
|
||||
|
||||
//private TMeasureSQLiteDAL tmdal = new TMeasureSQLiteDAL();
|
||||
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private FRangeSetup gFTS;
|
||||
|
||||
#endregion 全局变量
|
||||
|
||||
#region 鼠标事件
|
||||
|
||||
private void btn_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(0, 151, 186);
|
||||
}
|
||||
|
||||
private void btn_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(19, 46, 53);
|
||||
}
|
||||
|
||||
#endregion 鼠标事件
|
||||
|
||||
private void InitLanguage()
|
||||
{
|
||||
if (!ConfigDfn.bLanguage)
|
||||
{
|
||||
this.Text = "Add Tolerance";
|
||||
labTitle.Text = "Add Tolerance";
|
||||
radLabel5.Text = "CNC ID : ";
|
||||
radLabel2.Text = "CNC Name : ";
|
||||
radLabel4.Text = "CNC Location : ";
|
||||
radLabel3.Text = "CNC Type : ";
|
||||
radLabel7.Text = "CNC IP : ";
|
||||
radLabel1.Text = "Remark : ";
|
||||
rbtnOK.Text = "Add";
|
||||
rbtnCancel.Text = "Cancel";
|
||||
}
|
||||
}
|
||||
|
||||
public FAddRange(FRangeSetup fts)
|
||||
{
|
||||
InitializeComponent();
|
||||
InitLanguage();
|
||||
gFTS = fts;
|
||||
}
|
||||
|
||||
private void SFAddCNC_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void rbtnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
#region 防愚操作
|
||||
|
||||
string strCarType = rtbCarType.Text.Trim();
|
||||
string strMesPointName = rtbMesPointName.Text.Trim();
|
||||
|
||||
string strDimensionName = rtbRangePointName.Text.Trim();
|
||||
if (string.IsNullOrEmpty(rtbCarType.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("车身类型不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rtbMesPointName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("极差编号名称不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rtbRangePointName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("极差包含点位不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!rtbRangePointName.Text.Trim().Contains(","))
|
||||
{
|
||||
MessageBox.Show("极差包含点位必须用英文逗号隔开,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rtbLower.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("下限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(rtbUpper.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("上限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(rtbLower.Text.Trim()))
|
||||
{
|
||||
try
|
||||
{
|
||||
double dtemp = double.Parse(rtbLower.Text.Trim());
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
MessageBox.Show("下限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(rtbUpper.Text.Trim()))
|
||||
{
|
||||
try
|
||||
{
|
||||
double dtemp = double.Parse(rtbUpper.Text.Trim());
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
MessageBox.Show("上限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (tmdal.CheckRangeNameExit(strCarType, strMesPointName))
|
||||
{
|
||||
MessageBox.Show("该车身类型下,已经存在该极差编号,请修改!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#endregion 防愚操作
|
||||
|
||||
TRangeModel ttm = new TRangeModel();
|
||||
ttm.CarType = strCarType;
|
||||
ttm.RangeName = strMesPointName;
|
||||
ttm.RangePoint = strDimensionName;
|
||||
ttm.RangeLower = double.Parse(rtbLower.Text.Trim());
|
||||
ttm.RangeUpper = double.Parse(rtbUpper.Text.Trim());
|
||||
ttm.Remark = rtbRemark.Text.Trim();
|
||||
ttm.CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
try
|
||||
{
|
||||
tmdal.InsertNewRange(ttm);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("添加极差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
MyBase.TraceWriteLine("添加极差带信息失败,原因:" + ex.ToString());
|
||||
return;
|
||||
}
|
||||
|
||||
MessageBox.Show("添加极差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
gFTS.rtbnSearch_Click(null, null);
|
||||
}
|
||||
|
||||
private void rbtnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,482 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FAddRange
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FAddRange));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.rtbCarType = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rtbUpper = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rbtnCancel = new Telerik.WinControls.UI.RadButton();
|
||||
this.rbtnOK = new Telerik.WinControls.UI.RadButton();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.rtbLower = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rtbRemark = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.rtbRangePointName = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRemark)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRangePointName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(373, 40);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "添加极差带";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "添加极差带";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(117, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
|
||||
this.label2.Size = new System.Drawing.Size(46, 52);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(159, 8);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(107, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "添加极差带";
|
||||
//
|
||||
// radLabel7
|
||||
//
|
||||
this.radLabel7.AutoSize = false;
|
||||
this.radLabel7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel7.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel7.Location = new System.Drawing.Point(4, 236);
|
||||
this.radLabel7.Name = "radLabel7";
|
||||
this.radLabel7.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel7.TabIndex = 29;
|
||||
this.radLabel7.Text = "上限值:";
|
||||
this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel3
|
||||
//
|
||||
this.radLabel3.AutoSize = false;
|
||||
this.radLabel3.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel3.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel3.Location = new System.Drawing.Point(4, 198);
|
||||
this.radLabel3.Name = "radLabel3";
|
||||
this.radLabel3.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel3.TabIndex = 28;
|
||||
this.radLabel3.Text = "下限值:";
|
||||
this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel4
|
||||
//
|
||||
this.radLabel4.AutoSize = false;
|
||||
this.radLabel4.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel4.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel4.Location = new System.Drawing.Point(4, 141);
|
||||
this.radLabel4.Name = "radLabel4";
|
||||
this.radLabel4.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel4.TabIndex = 27;
|
||||
this.radLabel4.Text = "极差包含点位:";
|
||||
this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel2
|
||||
//
|
||||
this.radLabel2.AutoSize = false;
|
||||
this.radLabel2.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel2.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel2.Location = new System.Drawing.Point(4, 101);
|
||||
this.radLabel2.Name = "radLabel2";
|
||||
this.radLabel2.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel2.TabIndex = 26;
|
||||
this.radLabel2.Text = "极差编号名称:";
|
||||
this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel5
|
||||
//
|
||||
this.radLabel5.AutoSize = false;
|
||||
this.radLabel5.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel5.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel5.Location = new System.Drawing.Point(4, 60);
|
||||
this.radLabel5.Name = "radLabel5";
|
||||
this.radLabel5.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel5.TabIndex = 25;
|
||||
this.radLabel5.Text = "车身类型:";
|
||||
this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// rtbCarType
|
||||
//
|
||||
this.rtbCarType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbCarType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbCarType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbCarType.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbCarType.Location = new System.Drawing.Point(158, 60);
|
||||
this.rtbCarType.Name = "rtbCarType";
|
||||
this.rtbCarType.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbCarType.TabIndex = 1;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarType.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarType.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rtbMesPointName
|
||||
//
|
||||
this.rtbMesPointName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbMesPointName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbMesPointName.Location = new System.Drawing.Point(158, 101);
|
||||
this.rtbMesPointName.Name = "rtbMesPointName";
|
||||
this.rtbMesPointName.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbMesPointName.TabIndex = 2;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rtbUpper
|
||||
//
|
||||
this.rtbUpper.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbUpper.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbUpper.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbUpper.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbUpper.Location = new System.Drawing.Point(158, 235);
|
||||
this.rtbUpper.MaxLength = 15;
|
||||
this.rtbUpper.Name = "rtbUpper";
|
||||
this.rtbUpper.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbUpper.TabIndex = 5;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbUpper.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbUpper.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rbtnCancel
|
||||
//
|
||||
this.rbtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rbtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.rbtnCancel.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.rbtnCancel.ForeColor = System.Drawing.Color.White;
|
||||
this.rbtnCancel.Location = new System.Drawing.Point(246, 336);
|
||||
this.rbtnCancel.Name = "rbtnCancel";
|
||||
this.rbtnCancel.Size = new System.Drawing.Size(85, 30);
|
||||
this.rbtnCancel.TabIndex = 10;
|
||||
this.rbtnCancel.Text = "取消";
|
||||
this.rbtnCancel.Click += new System.EventHandler(this.rbtnCancel_Click);
|
||||
this.rbtnCancel.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
|
||||
this.rbtnCancel.MouseHover += new System.EventHandler(this.btn_MouseHover);
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnCancel.GetChildAt(0))).Text = "取消";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
//
|
||||
// rbtnOK
|
||||
//
|
||||
this.rbtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rbtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.rbtnOK.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.rbtnOK.ForeColor = System.Drawing.Color.White;
|
||||
this.rbtnOK.Location = new System.Drawing.Point(118, 336);
|
||||
this.rbtnOK.Name = "rbtnOK";
|
||||
this.rbtnOK.Size = new System.Drawing.Size(85, 30);
|
||||
this.rbtnOK.TabIndex = 9;
|
||||
this.rbtnOK.Text = "添加";
|
||||
this.rbtnOK.Click += new System.EventHandler(this.rbtnOK_Click);
|
||||
this.rbtnOK.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
|
||||
this.rbtnOK.MouseHover += new System.EventHandler(this.btn_MouseHover);
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnOK.GetChildAt(0))).Text = "添加";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label1.ForeColor = System.Drawing.Color.Red;
|
||||
this.label1.Location = new System.Drawing.Point(336, 238);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(15, 16);
|
||||
this.label1.TabIndex = 34;
|
||||
this.label1.Text = "*";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label3.ForeColor = System.Drawing.Color.Red;
|
||||
this.label3.Location = new System.Drawing.Point(336, 201);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(15, 16);
|
||||
this.label3.TabIndex = 35;
|
||||
this.label3.Text = "*";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label4.ForeColor = System.Drawing.Color.Red;
|
||||
this.label4.Location = new System.Drawing.Point(336, 66);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(15, 16);
|
||||
this.label4.TabIndex = 36;
|
||||
this.label4.Text = "*";
|
||||
//
|
||||
// rtbLower
|
||||
//
|
||||
this.rtbLower.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbLower.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbLower.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbLower.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbLower.Location = new System.Drawing.Point(158, 198);
|
||||
this.rtbLower.Name = "rtbLower";
|
||||
this.rtbLower.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbLower.TabIndex = 4;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbLower.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbLower.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rtbRemark
|
||||
//
|
||||
this.rtbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbRemark.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbRemark.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbRemark.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbRemark.Location = new System.Drawing.Point(158, 275);
|
||||
this.rtbRemark.Name = "rtbRemark";
|
||||
this.rtbRemark.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbRemark.TabIndex = 37;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbRemark.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbRemark.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// radLabel1
|
||||
//
|
||||
this.radLabel1.AutoSize = false;
|
||||
this.radLabel1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel1.Location = new System.Drawing.Point(4, 275);
|
||||
this.radLabel1.Name = "radLabel1";
|
||||
this.radLabel1.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel1.TabIndex = 38;
|
||||
this.radLabel1.Text = "备注:";
|
||||
this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label5.ForeColor = System.Drawing.Color.Red;
|
||||
this.label5.Location = new System.Drawing.Point(337, 108);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(15, 16);
|
||||
this.label5.TabIndex = 40;
|
||||
this.label5.Text = "*";
|
||||
//
|
||||
// rtbRangePointName
|
||||
//
|
||||
this.rtbRangePointName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbRangePointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbRangePointName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbRangePointName.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbRangePointName.Location = new System.Drawing.Point(158, 141);
|
||||
this.rtbRangePointName.Name = "rtbRangePointName";
|
||||
this.rtbRangePointName.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbRangePointName.TabIndex = 41;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbRangePointName.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbRangePointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label6.ForeColor = System.Drawing.Color.Red;
|
||||
this.label6.Location = new System.Drawing.Point(337, 148);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(15, 16);
|
||||
this.label6.TabIndex = 42;
|
||||
this.label6.Text = "*";
|
||||
//
|
||||
// radLabel6
|
||||
//
|
||||
this.radLabel6.AutoSize = false;
|
||||
this.radLabel6.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
this.radLabel6.ForeColor = System.Drawing.Color.Red;
|
||||
this.radLabel6.Location = new System.Drawing.Point(158, 170);
|
||||
this.radLabel6.Name = "radLabel6";
|
||||
this.radLabel6.Size = new System.Drawing.Size(194, 23);
|
||||
this.radLabel6.TabIndex = 43;
|
||||
this.radLabel6.Text = "极差包含点位必须用英文逗号隔开";
|
||||
//
|
||||
// FAddRange
|
||||
//
|
||||
this.AcceptButton = this.rbtnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(375, 392);
|
||||
this.Controls.Add(this.radLabel6);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.rtbRangePointName);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.rtbRemark);
|
||||
this.Controls.Add(this.radLabel1);
|
||||
this.Controls.Add(this.rtbLower);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.rbtnCancel);
|
||||
this.Controls.Add(this.rbtnOK);
|
||||
this.Controls.Add(this.rtbUpper);
|
||||
this.Controls.Add(this.rtbMesPointName);
|
||||
this.Controls.Add(this.rtbCarType);
|
||||
this.Controls.Add(this.radLabel7);
|
||||
this.Controls.Add(this.radLabel3);
|
||||
this.Controls.Add(this.radLabel4);
|
||||
this.Controls.Add(this.radLabel2);
|
||||
this.Controls.Add(this.radLabel5);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FAddRange";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "添加极差带";
|
||||
this.Load += new System.EventHandler(this.SFAddCNC_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRemark)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRangePointName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel7;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel3;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel4;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel2;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel5;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbCarType;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbMesPointName;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbUpper;
|
||||
private Telerik.WinControls.UI.RadButton rbtnCancel;
|
||||
private Telerik.WinControls.UI.RadButton rbtnOK;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbLower;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbRemark;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel1;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbRangePointName;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel6;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="label2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAABqdJREFUWEe1lnlQE1ccx61HPXEqFEdtx0GtZ1uPTq3V1mPafxjbomO1VVtrj1E7
|
||||
VfHgMOQggCggoAUUCEqCEIwElQAaslnIJrsBkpAGstlkNxFF28HqqONU7WhFeX27SWg8qFHxN/Mdluzb
|
||||
9/38fu/93m6/5wkAwAAx6pqytEITue1M5Qbfzy8/JFbroJUVTaEK24UF62vM0UsravKSMancd/vlBsz6
|
||||
lXLi4qivq1qWTJRihklS9dUVVSWdKlJwwjfk5cU6pXX8UmXT1jlluDZUgt4ano90rVJJu3NNaZ11roSX
|
||||
A8CWex9GjZlVii9/76i+8K1irDFcgl4elq8FU0tUIF6XCypJEQTg9S0AW+of1LbwbQg1O6besXqKDCsP
|
||||
K0RvjCjQPhgCzYfmI2CFqgQcNKcBDZPQiTB9XAGlUjngG1XLynly4tjYooYrrClnXICCYQVaMLIQAQWW
|
||||
NKCiRH0L8HE5MWruUf38KcU6bXhR/aWQfO2dofnerP1640gtWFktg+ZCoKH5zwWwGMMGrjtlDhOLQX/f
|
||||
T95YVtUcEVnZ/O2YovorsNxd0Lwnc1YjCzVgtrwSZDZlArWLD6DxMwFkN1GhySbnwvVq20+LKogfFyux
|
||||
Eb5b3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ajN9jU9Q9wIn3gLbKarGAtff206sRsN3xqMA
|
||||
2/V2ru1ek/xXrUD1CgDfVmEZZvp9UaMzehdu3wUn48NjWeDXTr1dsB1rzI5GpYY4XW5XPJYDeNjBv0SG
|
||||
w6R/jNjYdDDXcpJIxPMAT58D2DGBim3IubUZLbAuq5KvnVlaOtxn7Y0cj2fwHtwTHmukZvemzObaJUdb
|
||||
D2yXt6XckrcmdctbU66Ute7Vsvd+taBzZW3HtyrIHHM5bNVAye1J9xX2VEpBZiikbTk7N2pk0zZaJYN8
|
||||
1sGH2pMzWEtnjEPdog6EFtwNfBmhrrwwgzt9k4bhX/YfWBqG1wX/vw3PkT907tT9eHvWp9ZOyTBushcJ
|
||||
/dk0PsoktgUCNDCJ6xBaeNpv7pXQ3cAkFzZ3FERQlPJV7uG+iNPk9onwc7wYmlAsgOVi/kSdO6VUS/Ov
|
||||
IHTCfZQWuRBGlIrQoi/wc3unYB2yIezXtu/xFw+lctWAOpr3s5YWKFgAon3/xnp3cjPKCDsamCTUelHG
|
||||
M5zL/kBDiUN9j/R9EOdzZ+k8yb/At2NlgydJjTKiVtSdVKk/m/kVANjAPs34ScEaMJfVMw3t6bm6s6lp
|
||||
qEc4R0mJ+26dgwn6qipE706fjsJ1VnvEI8VA/PC3/lOjX79/AdonQT85iOsDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANfDmAXLsFgS4M6pOsqy
|
||||
X26zqkqTn7+BpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AADu4+QD1L1/JrmpS0istm5lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAA//4P///8D////AH///gA///4AB//+EAf/+BAB8AAAAHAAAABwAAAAcAA
|
||||
AAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAYAHAAHgBwAB+AcAAfgHAAH/BwAB/8fAA
|
||||
f//wAH///AB///+Af///wH///+B////4f/8=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,192 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using BaseFunction;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using DAL;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FEditRange : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
#region 全局变量
|
||||
//private TMeasureSQLiteDAL tmdal = new TMeasureSQLiteDAL();
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private FRangeSetup gFTS;
|
||||
|
||||
#endregion 全局变量
|
||||
|
||||
#region 鼠标事件
|
||||
|
||||
private void btn_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(0, 151, 186);
|
||||
}
|
||||
|
||||
private void btn_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(19, 46, 53);
|
||||
}
|
||||
|
||||
#endregion 鼠标事件
|
||||
|
||||
private void InitLanguage()
|
||||
{
|
||||
if (!ConfigDfn.bLanguage)
|
||||
{
|
||||
this.Text = "Edit CNC";
|
||||
labTitle.Text = "Edit CNC";
|
||||
radLabel5.Text = "CNC ID : ";
|
||||
radLabel2.Text = "CNC Name : ";
|
||||
radLabel4.Text = "CNC Location : ";
|
||||
radLabel3.Text = "CNC Type : ";
|
||||
radLabel7.Text = "CNC IP : ";
|
||||
|
||||
radLabel1.Text = "Remark : ";
|
||||
|
||||
rbtnOK.Text = "Edit";
|
||||
rbtnCancel.Text = "Cancel";
|
||||
}
|
||||
}
|
||||
|
||||
public FEditRange(FRangeSetup fts)
|
||||
{
|
||||
InitializeComponent();
|
||||
InitLanguage();
|
||||
gFTS = fts;
|
||||
}
|
||||
|
||||
private void SFAddCNC_Load(object sender, EventArgs e)
|
||||
{
|
||||
rtbCarType.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["CarType"].Value.ToString();
|
||||
rtbMesPointName.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["MeasurePointName"].Value.ToString();
|
||||
rtbRangePointName.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["DimensionName"].Value.ToString();
|
||||
rtbLower.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["TolLower"].Value.ToString();
|
||||
rtbUpper.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["TolUpper"].Value.ToString();
|
||||
|
||||
rtbRemark.Text = (gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["Remark"].Value.ToString());
|
||||
}
|
||||
|
||||
private void rbtnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
#region 防愚操作
|
||||
|
||||
string strCarType = rtbCarType.Text.Trim();
|
||||
string strMesPointName = rtbMesPointName.Text.Trim();
|
||||
|
||||
string strRangePoint = rtbRangePointName.Text.Trim();
|
||||
if (string.IsNullOrEmpty(rtbCarType.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("车身类型不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rtbMesPointName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("极差编号名称不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(rtbRangePointName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("极差包含点位不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!rtbRangePointName.Text.Trim().Contains(","))
|
||||
{
|
||||
MessageBox.Show("极差包含点位必须用英文逗号隔开,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rtbLower.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("下限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(rtbUpper.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("上限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(rtbLower.Text.Trim()))
|
||||
{
|
||||
try
|
||||
{
|
||||
double dtemp = double.Parse(rtbLower.Text.Trim());
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
MessageBox.Show("下限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(rtbUpper.Text.Trim()))
|
||||
{
|
||||
try
|
||||
{
|
||||
double dtemp = double.Parse(rtbUpper.Text.Trim());
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
MessageBox.Show("上限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (rtbCarType.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["CarType"].Value.ToString() || rtbMesPointName.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["MeasurePointName"].Value.ToString())
|
||||
{
|
||||
if (tmdal.CheckRangeNameExit(strCarType, strMesPointName))
|
||||
{
|
||||
MessageBox.Show("该车身类型下,已经存在该极差编号,请修改!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion 防愚操作
|
||||
|
||||
try
|
||||
{
|
||||
TRangeModel ttm = new TRangeModel();
|
||||
ttm.Id = int.Parse(gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["Id"].Value.ToString());
|
||||
ttm.CarType = strCarType;
|
||||
ttm.RangeName = strMesPointName;
|
||||
ttm.RangePoint = strRangePoint;
|
||||
ttm.RangeLower = double.Parse(rtbLower.Text.Trim());
|
||||
ttm.RangeUpper = double.Parse(rtbUpper.Text.Trim());
|
||||
ttm.Remark = rtbRemark.Text.Trim();
|
||||
ttm.CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
tmdal.UpdateTRange(ttm);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("修改极差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
MessageBox.Show("修改极差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
gFTS.rtbnSearch_Click(null, null);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void rbtnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,482 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FEditRange
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FEditRange));
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.rtbCarType = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rtbUpper = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rbtnCancel = new Telerik.WinControls.UI.RadButton();
|
||||
this.rbtnOK = new Telerik.WinControls.UI.RadButton();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.rtbLower = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.rtbRemark = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.rtbRangePointName = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRemark)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRangePointName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(373, 40);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "修改极差带";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "修改极差带";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(115, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
|
||||
this.label2.Size = new System.Drawing.Size(46, 52);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(157, 8);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(107, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "修改极差带";
|
||||
//
|
||||
// radLabel7
|
||||
//
|
||||
this.radLabel7.AutoSize = false;
|
||||
this.radLabel7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel7.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel7.Location = new System.Drawing.Point(1, 248);
|
||||
this.radLabel7.Name = "radLabel7";
|
||||
this.radLabel7.Size = new System.Drawing.Size(152, 23);
|
||||
this.radLabel7.TabIndex = 29;
|
||||
this.radLabel7.Text = "上限值:";
|
||||
this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel3
|
||||
//
|
||||
this.radLabel3.AutoSize = false;
|
||||
this.radLabel3.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel3.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel3.Location = new System.Drawing.Point(6, 210);
|
||||
this.radLabel3.Name = "radLabel3";
|
||||
this.radLabel3.Size = new System.Drawing.Size(147, 23);
|
||||
this.radLabel3.TabIndex = 28;
|
||||
this.radLabel3.Text = "下限值:";
|
||||
this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel4
|
||||
//
|
||||
this.radLabel4.AutoSize = false;
|
||||
this.radLabel4.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel4.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel4.Location = new System.Drawing.Point(6, 142);
|
||||
this.radLabel4.Name = "radLabel4";
|
||||
this.radLabel4.Size = new System.Drawing.Size(147, 23);
|
||||
this.radLabel4.TabIndex = 27;
|
||||
this.radLabel4.Text = "极差包含点位:";
|
||||
this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel2
|
||||
//
|
||||
this.radLabel2.AutoSize = false;
|
||||
this.radLabel2.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel2.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel2.Location = new System.Drawing.Point(6, 102);
|
||||
this.radLabel2.Name = "radLabel2";
|
||||
this.radLabel2.Size = new System.Drawing.Size(147, 23);
|
||||
this.radLabel2.TabIndex = 26;
|
||||
this.radLabel2.Text = "极差编号名称:";
|
||||
this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// radLabel5
|
||||
//
|
||||
this.radLabel5.AutoSize = false;
|
||||
this.radLabel5.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel5.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel5.Location = new System.Drawing.Point(6, 61);
|
||||
this.radLabel5.Name = "radLabel5";
|
||||
this.radLabel5.Size = new System.Drawing.Size(147, 23);
|
||||
this.radLabel5.TabIndex = 25;
|
||||
this.radLabel5.Text = "车身类型:";
|
||||
this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// rtbCarType
|
||||
//
|
||||
this.rtbCarType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbCarType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbCarType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbCarType.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbCarType.Location = new System.Drawing.Point(160, 61);
|
||||
this.rtbCarType.Name = "rtbCarType";
|
||||
this.rtbCarType.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbCarType.TabIndex = 1;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarType.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarType.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rtbMesPointName
|
||||
//
|
||||
this.rtbMesPointName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbMesPointName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbMesPointName.Location = new System.Drawing.Point(160, 102);
|
||||
this.rtbMesPointName.Name = "rtbMesPointName";
|
||||
this.rtbMesPointName.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbMesPointName.TabIndex = 2;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rtbUpper
|
||||
//
|
||||
this.rtbUpper.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbUpper.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbUpper.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbUpper.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbUpper.Location = new System.Drawing.Point(160, 247);
|
||||
this.rtbUpper.MaxLength = 15;
|
||||
this.rtbUpper.Name = "rtbUpper";
|
||||
this.rtbUpper.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbUpper.TabIndex = 5;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbUpper.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbUpper.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rbtnCancel
|
||||
//
|
||||
this.rbtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rbtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.rbtnCancel.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.rbtnCancel.ForeColor = System.Drawing.Color.White;
|
||||
this.rbtnCancel.Location = new System.Drawing.Point(248, 338);
|
||||
this.rbtnCancel.Name = "rbtnCancel";
|
||||
this.rbtnCancel.Size = new System.Drawing.Size(85, 30);
|
||||
this.rbtnCancel.TabIndex = 10;
|
||||
this.rbtnCancel.Text = "取消";
|
||||
this.rbtnCancel.Click += new System.EventHandler(this.rbtnCancel_Click);
|
||||
this.rbtnCancel.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
|
||||
this.rbtnCancel.MouseHover += new System.EventHandler(this.btn_MouseHover);
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnCancel.GetChildAt(0))).Text = "取消";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
//
|
||||
// rbtnOK
|
||||
//
|
||||
this.rbtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rbtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.rbtnOK.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.rbtnOK.ForeColor = System.Drawing.Color.White;
|
||||
this.rbtnOK.Location = new System.Drawing.Point(120, 338);
|
||||
this.rbtnOK.Name = "rbtnOK";
|
||||
this.rbtnOK.Size = new System.Drawing.Size(85, 30);
|
||||
this.rbtnOK.TabIndex = 9;
|
||||
this.rbtnOK.Text = "修改";
|
||||
this.rbtnOK.Click += new System.EventHandler(this.rbtnOK_Click);
|
||||
this.rbtnOK.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
|
||||
this.rbtnOK.MouseHover += new System.EventHandler(this.btn_MouseHover);
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnOK.GetChildAt(0))).Text = "修改";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label1.ForeColor = System.Drawing.Color.Red;
|
||||
this.label1.Location = new System.Drawing.Point(339, 65);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(15, 16);
|
||||
this.label1.TabIndex = 35;
|
||||
this.label1.Text = "*";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label3.ForeColor = System.Drawing.Color.Red;
|
||||
this.label3.Location = new System.Drawing.Point(339, 250);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(15, 16);
|
||||
this.label3.TabIndex = 36;
|
||||
this.label3.Text = "*";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label4.ForeColor = System.Drawing.Color.Red;
|
||||
this.label4.Location = new System.Drawing.Point(339, 217);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(15, 16);
|
||||
this.label4.TabIndex = 37;
|
||||
this.label4.Text = "*";
|
||||
//
|
||||
// rtbLower
|
||||
//
|
||||
this.rtbLower.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbLower.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbLower.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbLower.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbLower.Location = new System.Drawing.Point(160, 210);
|
||||
this.rtbLower.Name = "rtbLower";
|
||||
this.rtbLower.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbLower.TabIndex = 4;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbLower.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbLower.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// rtbRemark
|
||||
//
|
||||
this.rtbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbRemark.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbRemark.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbRemark.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbRemark.Location = new System.Drawing.Point(163, 286);
|
||||
this.rtbRemark.Name = "rtbRemark";
|
||||
this.rtbRemark.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbRemark.TabIndex = 39;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbRemark.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbRemark.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// radLabel1
|
||||
//
|
||||
this.radLabel1.AutoSize = false;
|
||||
this.radLabel1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.radLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.radLabel1.Location = new System.Drawing.Point(9, 286);
|
||||
this.radLabel1.Name = "radLabel1";
|
||||
this.radLabel1.Size = new System.Drawing.Size(148, 23);
|
||||
this.radLabel1.TabIndex = 40;
|
||||
this.radLabel1.Text = "备注:";
|
||||
this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label5.ForeColor = System.Drawing.Color.Red;
|
||||
this.label5.Location = new System.Drawing.Point(339, 106);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(15, 16);
|
||||
this.label5.TabIndex = 42;
|
||||
this.label5.Text = "*";
|
||||
//
|
||||
// rtbRangePointName
|
||||
//
|
||||
this.rtbRangePointName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbRangePointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbRangePointName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
|
||||
this.rtbRangePointName.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbRangePointName.Location = new System.Drawing.Point(159, 142);
|
||||
this.rtbRangePointName.Name = "rtbRangePointName";
|
||||
this.rtbRangePointName.Size = new System.Drawing.Size(173, 23);
|
||||
this.rtbRangePointName.TabIndex = 43;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbRangePointName.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbRangePointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// radLabel6
|
||||
//
|
||||
this.radLabel6.AutoSize = false;
|
||||
this.radLabel6.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
this.radLabel6.ForeColor = System.Drawing.Color.Red;
|
||||
this.radLabel6.Location = new System.Drawing.Point(159, 171);
|
||||
this.radLabel6.Name = "radLabel6";
|
||||
this.radLabel6.Size = new System.Drawing.Size(194, 23);
|
||||
this.radLabel6.TabIndex = 44;
|
||||
this.radLabel6.Text = "极差包含点位必须用英文逗号隔开";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Font = new System.Drawing.Font("宋体", 12F);
|
||||
this.label6.ForeColor = System.Drawing.Color.Red;
|
||||
this.label6.Location = new System.Drawing.Point(338, 145);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(15, 16);
|
||||
this.label6.TabIndex = 45;
|
||||
this.label6.Text = "*";
|
||||
//
|
||||
// FEditRange
|
||||
//
|
||||
this.AcceptButton = this.rbtnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(375, 399);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.radLabel6);
|
||||
this.Controls.Add(this.rtbRangePointName);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.rtbRemark);
|
||||
this.Controls.Add(this.radLabel1);
|
||||
this.Controls.Add(this.rtbLower);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.rbtnCancel);
|
||||
this.Controls.Add(this.rbtnOK);
|
||||
this.Controls.Add(this.rtbUpper);
|
||||
this.Controls.Add(this.rtbMesPointName);
|
||||
this.Controls.Add(this.rtbCarType);
|
||||
this.Controls.Add(this.radLabel7);
|
||||
this.Controls.Add(this.radLabel3);
|
||||
this.Controls.Add(this.radLabel4);
|
||||
this.Controls.Add(this.radLabel2);
|
||||
this.Controls.Add(this.radLabel5);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FEditRange";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "修改极差带";
|
||||
this.Load += new System.EventHandler(this.SFAddCNC_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRemark)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbRangePointName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel7;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel3;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel4;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel2;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel5;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbCarType;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbMesPointName;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbUpper;
|
||||
private Telerik.WinControls.UI.RadButton rbtnCancel;
|
||||
private Telerik.WinControls.UI.RadButton rbtnOK;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbLower;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbRemark;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel1;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbRangePointName;
|
||||
private Telerik.WinControls.UI.RadLabel radLabel6;
|
||||
private System.Windows.Forms.Label label6;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="label2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAABqdJREFUWEe1lnlQE1ccx61HPXEqFEdtx0GtZ1uPTq3V1mPafxjbomO1VVtrj1E7
|
||||
VfHgMOQggCggoAUUCEqCEIwElQAaslnIJrsBkpAGstlkNxFF28HqqONU7WhFeX27SWg8qFHxN/Mdluzb
|
||||
9/38fu/93m6/5wkAwAAx6pqytEITue1M5Qbfzy8/JFbroJUVTaEK24UF62vM0UsravKSMancd/vlBsz6
|
||||
lXLi4qivq1qWTJRihklS9dUVVSWdKlJwwjfk5cU6pXX8UmXT1jlluDZUgt4ano90rVJJu3NNaZ11roSX
|
||||
A8CWex9GjZlVii9/76i+8K1irDFcgl4elq8FU0tUIF6XCypJEQTg9S0AW+of1LbwbQg1O6besXqKDCsP
|
||||
K0RvjCjQPhgCzYfmI2CFqgQcNKcBDZPQiTB9XAGlUjngG1XLynly4tjYooYrrClnXICCYQVaMLIQAQWW
|
||||
NKCiRH0L8HE5MWruUf38KcU6bXhR/aWQfO2dofnerP1640gtWFktg+ZCoKH5zwWwGMMGrjtlDhOLQX/f
|
||||
T95YVtUcEVnZ/O2YovorsNxd0Lwnc1YjCzVgtrwSZDZlArWLD6DxMwFkN1GhySbnwvVq20+LKogfFyux
|
||||
Eb5b3thUb5uxTtMSEyHTgZBC9CFz9nq8tAYsh2tfDbNHYPZa5ukVEAPQX4x1DNltYibsNbs+5+OOrO/U
|
||||
VjRCqpOOlWCv+4Z5IwanZuzQtcVEVZtB+OH6xwAiT5aBjMZMLnNWQQGw5kbHpD0m+pDA6Li0HrHdX3Dc
|
||||
eH1IPiId8S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0cj2fwHtwTHmukZvemzObaJUdb
|
||||
D2yXt6XckrcmdctbU66Ute7Vsvd+taBzZW3HtyrIHHM5bNVAye1J9xX2VEpBZiikbTk7N2pk0zZaJYN8
|
||||
1sGH2pMzWEtnjEPdog6EFtwNfBmhrrwwgzt9k4bhX/YfWBqG1wX/vw3PkT907tT9eHvWp9ZOyTBushcJ
|
||||
/dk0PsoktgUCNDCJ6xBaeNpv7pXQ3cAkFzZ3FERQlPJV7uG+iNPk9onwc7wYmlAsgOVi/kSdO6VUS/Ov
|
||||
IHTCfZQWuRBGlIrQoi/wc3unYB2yIezXtu/xFw+lctWAOpr3s5YWKFgAon3/xnp3cjPKCDsamCTUelHG
|
||||
M5zL/kBDiUN9j/R9EOdzZ+k8yb/At2NlgydJjTKiVtSdVKk/m/kVANjAPs34ScEaMJfVMw3t6bm6s6lp
|
||||
qEc4R0mJ+26dgwn6qipE706fjsJ1VnvEI8VA/PC3/lOjX79/AdonQT85iOsDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAzO/jAbfp2C6J3MGShNu+h3zYujF52LkGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AADu4+QD1L1/JrmpS0istm5lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAA//4P///8D////AH///gA///4AB//+EAf/+BAB8AAAAHAAAABwAAAAcAA
|
||||
AAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAYAHAAHgBwAB+AcAAfgHAAH/BwAB/8fAA
|
||||
f//wAH///AB///+Af///wH///+B////4f/8=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,144 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
|
||||
using Telerik.WinControls.UI;
|
||||
using DAL;
|
||||
|
||||
namespace NSAnalysis
|
||||
{
|
||||
public partial class FRangeSetup : Telerik.WinControls.UI.ShapedForm
|
||||
{
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
public int idgvSelectRowNumber = 0;
|
||||
|
||||
#region 鼠标事件
|
||||
|
||||
private void btn_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(0, 151, 186);
|
||||
}
|
||||
|
||||
private void btn_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
RadButton btn = sender as RadButton;
|
||||
btn.BackColor = Color.FromArgb(19, 46, 53);
|
||||
}
|
||||
|
||||
#endregion 鼠标事件
|
||||
|
||||
public FRangeSetup()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FToleranceSetup_Load(object sender, EventArgs e)
|
||||
{
|
||||
dgvTolList.ColumnHeadersDefaultCellStyle.Font = new Font("Segoe UI", 10, FontStyle.Regular);
|
||||
lpcAddTol.labPicture.Click += lpcAddTol_Click;
|
||||
lpcAddTol.labText.Click += lpcAddTol_Click;
|
||||
rtbnSearch_Click(null, null);
|
||||
}
|
||||
|
||||
public void rtbnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataTable dt = tmdal.SelectAllRangeByCondition(rtbCarModel.Text.Trim(), rtbMesPointName.Text.Trim());
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
dgvTolList.DataSource = dt;
|
||||
SetdgvRowBgColor(dgvTolList);
|
||||
labSearchResult.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
dgvTolList.DataSource = dt;
|
||||
labSearchResult.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置DataGridView各行变色
|
||||
/// </summary>
|
||||
/// <param name="dgv">DataGridView</param>
|
||||
public void SetdgvRowBgColor(DataGridView dgv)
|
||||
{
|
||||
if (dgv.Rows.Count > 0)
|
||||
{
|
||||
foreach (DataGridViewRow item in dgv.Rows)
|
||||
{
|
||||
if (item.Index % 2 == 0)
|
||||
{
|
||||
item.DefaultCellStyle.BackColor = Color.FromArgb(19, 46, 53);
|
||||
}
|
||||
else
|
||||
{
|
||||
item.DefaultCellStyle.BackColor = Color.FromArgb(27, 60, 68);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void dgvTolList_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e)
|
||||
{
|
||||
e.Row.HeaderCell.Value = string.Format("{0}", e.Row.Index + 1);
|
||||
}
|
||||
|
||||
private void lpcAddTol_Click(object sender, EventArgs e)
|
||||
{
|
||||
FAddRange fat = new FAddRange(this);
|
||||
fat.ShowDialog(this);
|
||||
}
|
||||
|
||||
private void dgvTolList_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
string buttonText = "";
|
||||
if (e.RowIndex < 0 || e.ColumnIndex < 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
buttonText = dgvTolList.Columns[e.ColumnIndex].HeaderText;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
buttonText = " ";
|
||||
}
|
||||
if (buttonText == "删除")
|
||||
{
|
||||
if (DialogResult.Yes == MessageBox.Show("您确定要删除该条极差带信息吗,注意:删除后不可恢复!", "警告", MessageBoxButtons.YesNo, MessageBoxIcon.Warning))
|
||||
{
|
||||
string iObjIDPk = dgvTolList.Rows[e.RowIndex].Cells["Id"].Value.ToString();
|
||||
try
|
||||
{
|
||||
tmdal.DeleteOneRange(iObjIDPk);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("删除极差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
MessageBox.Show("删除极差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
rtbnSearch_Click(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
if (buttonText == "修改" || buttonText == "Edit")
|
||||
{
|
||||
idgvSelectRowNumber = e.RowIndex;
|
||||
FEditRange sfeditcnc = new FEditRange(this);
|
||||
sfeditcnc.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,522 @@
|
||||
namespace NSAnalysis
|
||||
{
|
||||
partial class FRangeSetup
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FRangeSetup));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.labTitle = new System.Windows.Forms.Label();
|
||||
this.dgvTolList = new System.Windows.Forms.DataGridView();
|
||||
this.radGroupBox7 = new Telerik.WinControls.UI.RadGroupBox();
|
||||
this.rtbnSearch = new Telerik.WinControls.UI.RadButton();
|
||||
this.rtbDimensionName = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.rtbCarModel = new Telerik.WinControls.UI.RadTextBox();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.lpcAddTol = new UserControlClass.LabPictureControl();
|
||||
this.labSearchResult = new System.Windows.Forms.Label();
|
||||
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.CarType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.MeasurePointName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DimensionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.TolLower = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.TolUpper = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.CNCEdit = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.CNCDelete = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvTolList)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).BeginInit();
|
||||
this.radGroupBox7.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbDimensionName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// radTitleBar1
|
||||
//
|
||||
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Controls.Add(this.label2);
|
||||
this.radTitleBar1.Controls.Add(this.labTitle);
|
||||
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
|
||||
this.radTitleBar1.Name = "radTitleBar1";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
|
||||
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.radTitleBar1.Size = new System.Drawing.Size(930, 40);
|
||||
this.radTitleBar1.TabIndex = 0;
|
||||
this.radTitleBar1.TabStop = false;
|
||||
this.radTitleBar1.Text = "极差带设置";
|
||||
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "极差带设置";
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
|
||||
this.label2.Location = new System.Drawing.Point(367, -5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
|
||||
this.label2.Size = new System.Drawing.Size(46, 52);
|
||||
this.label2.TabIndex = 1;
|
||||
//
|
||||
// labTitle
|
||||
//
|
||||
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.labTitle.AutoSize = true;
|
||||
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
|
||||
this.labTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.labTitle.Location = new System.Drawing.Point(409, 8);
|
||||
this.labTitle.Name = "labTitle";
|
||||
this.labTitle.Size = new System.Drawing.Size(107, 25);
|
||||
this.labTitle.TabIndex = 0;
|
||||
this.labTitle.Text = "极差带设置";
|
||||
//
|
||||
// dgvTolList
|
||||
//
|
||||
this.dgvTolList.AllowUserToAddRows = false;
|
||||
this.dgvTolList.AllowUserToDeleteRows = false;
|
||||
this.dgvTolList.AllowUserToOrderColumns = true;
|
||||
this.dgvTolList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dgvTolList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.dgvTolList.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.dgvTolList.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dgvTolList.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 11F);
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvTolList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvTolList.ColumnHeadersHeight = 40;
|
||||
this.dgvTolList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Id,
|
||||
this.CarType,
|
||||
this.MeasurePointName,
|
||||
this.DimensionName,
|
||||
this.TolLower,
|
||||
this.TolUpper,
|
||||
this.Remark,
|
||||
this.CNCEdit,
|
||||
this.CNCDelete});
|
||||
this.dgvTolList.EnableHeadersVisualStyles = false;
|
||||
this.dgvTolList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(181)))), ((int)(((byte)(200)))));
|
||||
this.dgvTolList.Location = new System.Drawing.Point(22, 153);
|
||||
this.dgvTolList.Name = "dgvTolList";
|
||||
this.dgvTolList.ReadOnly = true;
|
||||
this.dgvTolList.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F);
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvTolList.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvTolList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 9.75F);
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
this.dgvTolList.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvTolList.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Segoe UI", 11F);
|
||||
this.dgvTolList.RowTemplate.Height = 40;
|
||||
this.dgvTolList.Size = new System.Drawing.Size(887, 775);
|
||||
this.dgvTolList.TabIndex = 17;
|
||||
this.dgvTolList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTolList_CellContentClick);
|
||||
this.dgvTolList.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.dgvTolList_RowStateChanged);
|
||||
//
|
||||
// radGroupBox7
|
||||
//
|
||||
this.radGroupBox7.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
|
||||
this.radGroupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.radGroupBox7.Controls.Add(this.rtbnSearch);
|
||||
this.radGroupBox7.Controls.Add(this.rtbDimensionName);
|
||||
this.radGroupBox7.Controls.Add(this.label3);
|
||||
this.radGroupBox7.Controls.Add(this.rtbMesPointName);
|
||||
this.radGroupBox7.Controls.Add(this.label1);
|
||||
this.radGroupBox7.Controls.Add(this.rtbCarModel);
|
||||
this.radGroupBox7.Controls.Add(this.label15);
|
||||
this.radGroupBox7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.radGroupBox7.HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center;
|
||||
this.radGroupBox7.HeaderText = "查询条件";
|
||||
this.radGroupBox7.Location = new System.Drawing.Point(160, 51);
|
||||
this.radGroupBox7.Name = "radGroupBox7";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.radGroupBox7.RootElement.ShadowDepth = 2;
|
||||
this.radGroupBox7.Size = new System.Drawing.Size(749, 94);
|
||||
this.radGroupBox7.TabIndex = 456;
|
||||
this.radGroupBox7.Text = "查询条件";
|
||||
((Telerik.WinControls.UI.RadGroupBoxElement)(this.radGroupBox7.GetChildAt(0))).HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center;
|
||||
((Telerik.WinControls.UI.GroupBoxContent)(this.radGroupBox7.GetChildAt(0).GetChildAt(0))).Opacity = 1D;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.Transparent;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).Width = 1F;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).GradientStyle = Telerik.WinControls.GradientStyles.Solid;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
((Telerik.WinControls.UI.GroupBoxHeader)(this.radGroupBox7.GetChildAt(0).GetChildAt(1))).GroupBoxStyle = Telerik.WinControls.UI.RadGroupBoxStyle.Standard;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = "查询条件";
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).LineLimit = false;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(2).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
||||
//
|
||||
// rtbnSearch
|
||||
//
|
||||
this.rtbnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.rtbnSearch.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.rtbnSearch.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbnSearch.Location = new System.Drawing.Point(626, 28);
|
||||
this.rtbnSearch.Name = "rtbnSearch";
|
||||
this.rtbnSearch.Size = new System.Drawing.Size(88, 51);
|
||||
this.rtbnSearch.TabIndex = 461;
|
||||
this.rtbnSearch.Text = "查询";
|
||||
this.rtbnSearch.Click += new System.EventHandler(this.rtbnSearch_Click);
|
||||
this.rtbnSearch.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
|
||||
this.rtbnSearch.MouseHover += new System.EventHandler(this.btn_MouseHover);
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).Text = "查询";
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).FocusBorderWidth = 5;
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).EnableHighlight = true;
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).EnableBorderHighlight = true;
|
||||
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).BorderHighlightThickness = 3;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).Width = 2F;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).LeftWidth = 3F;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).TopWidth = 3F;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).RightWidth = 3F;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).BottomWidth = 3F;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).GradientStyle = Telerik.WinControls.GradientStyles.Solid;
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).ForeColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
|
||||
//
|
||||
// rtbDimensionName
|
||||
//
|
||||
this.rtbDimensionName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbDimensionName.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.rtbDimensionName.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbDimensionName.Location = new System.Drawing.Point(443, 51);
|
||||
this.rtbDimensionName.Name = "rtbDimensionName";
|
||||
this.rtbDimensionName.ReadOnly = true;
|
||||
this.rtbDimensionName.Size = new System.Drawing.Size(140, 27);
|
||||
this.rtbDimensionName.TabIndex = 460;
|
||||
this.rtbDimensionName.Text = "G";
|
||||
this.rtbDimensionName.Visible = false;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbDimensionName.GetChildAt(0))).Text = "G";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbDimensionName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label3.ForeColor = System.Drawing.Color.White;
|
||||
this.label3.Location = new System.Drawing.Point(443, 27);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(95, 21);
|
||||
this.label3.TabIndex = 459;
|
||||
this.label3.Text = "尺寸名称:";
|
||||
this.label3.Visible = false;
|
||||
//
|
||||
// rtbMesPointName
|
||||
//
|
||||
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbMesPointName.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbMesPointName.Location = new System.Drawing.Point(237, 52);
|
||||
this.rtbMesPointName.Name = "rtbMesPointName";
|
||||
this.rtbMesPointName.Size = new System.Drawing.Size(140, 27);
|
||||
this.rtbMesPointName.TabIndex = 458;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label1.ForeColor = System.Drawing.Color.White;
|
||||
this.label1.Location = new System.Drawing.Point(233, 28);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(129, 21);
|
||||
this.label1.TabIndex = 457;
|
||||
this.label1.Text = "测量点位名称:";
|
||||
//
|
||||
// rtbCarModel
|
||||
//
|
||||
this.rtbCarModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.rtbCarModel.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.rtbCarModel.ForeColor = System.Drawing.Color.White;
|
||||
this.rtbCarModel.Location = new System.Drawing.Point(42, 52);
|
||||
this.rtbCarModel.Name = "rtbCarModel";
|
||||
this.rtbCarModel.Size = new System.Drawing.Size(140, 27);
|
||||
this.rtbCarModel.TabIndex = 456;
|
||||
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarModel.GetChildAt(0))).Text = "";
|
||||
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarModel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
//
|
||||
// label15
|
||||
//
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label15.ForeColor = System.Drawing.Color.White;
|
||||
this.label15.Location = new System.Drawing.Point(42, 28);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(95, 21);
|
||||
this.label15.TabIndex = 455;
|
||||
this.label15.Text = "车身类型:";
|
||||
//
|
||||
// dataGridViewImageColumn1
|
||||
//
|
||||
this.dataGridViewImageColumn1.HeaderText = "修改";
|
||||
this.dataGridViewImageColumn1.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn1.Image")));
|
||||
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
|
||||
this.dataGridViewImageColumn1.ReadOnly = true;
|
||||
this.dataGridViewImageColumn1.ToolTipText = "点击修改机床信息";
|
||||
this.dataGridViewImageColumn1.Width = 45;
|
||||
//
|
||||
// dataGridViewImageColumn2
|
||||
//
|
||||
this.dataGridViewImageColumn2.HeaderText = "删除";
|
||||
this.dataGridViewImageColumn2.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn2.Image")));
|
||||
this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2";
|
||||
this.dataGridViewImageColumn2.ReadOnly = true;
|
||||
this.dataGridViewImageColumn2.ToolTipText = "点击删除机床信息";
|
||||
this.dataGridViewImageColumn2.Width = 45;
|
||||
//
|
||||
// lpcAddTol
|
||||
//
|
||||
this.lpcAddTol.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.lpcAddTol.Font = new System.Drawing.Font("Segoe UI", 9.75F);
|
||||
this.lpcAddTol.ForeColor = System.Drawing.Color.White;
|
||||
this.lpcAddTol.LabelPoint = new System.Drawing.Point(2, 59);
|
||||
this.lpcAddTol.LabelText = "添加公差带";
|
||||
this.lpcAddTol.LabelTopImage = global::NSAnalysis.Properties.Resources.add_32;
|
||||
this.lpcAddTol.Location = new System.Drawing.Point(22, 60);
|
||||
this.lpcAddTol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.lpcAddTol.Name = "lpcAddTol";
|
||||
this.lpcAddTol.Size = new System.Drawing.Size(115, 85);
|
||||
this.lpcAddTol.TabIndex = 18;
|
||||
this.lpcAddTol.Click += new System.EventHandler(this.lpcAddTol_Click);
|
||||
//
|
||||
// labSearchResult
|
||||
//
|
||||
this.labSearchResult.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.labSearchResult.AutoSize = true;
|
||||
this.labSearchResult.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
this.labSearchResult.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.labSearchResult.ForeColor = System.Drawing.Color.Red;
|
||||
this.labSearchResult.Location = new System.Drawing.Point(240, 465);
|
||||
this.labSearchResult.Name = "labSearchResult";
|
||||
this.labSearchResult.Size = new System.Drawing.Size(452, 21);
|
||||
this.labSearchResult.TabIndex = 457;
|
||||
this.labSearchResult.Text = "查询完毕,未查询到任何结果,请检查查询条件是否正确!";
|
||||
this.labSearchResult.Visible = false;
|
||||
//
|
||||
// Id
|
||||
//
|
||||
this.Id.DataPropertyName = "Id";
|
||||
this.Id.HeaderText = "Id";
|
||||
this.Id.Name = "Id";
|
||||
this.Id.ReadOnly = true;
|
||||
this.Id.Visible = false;
|
||||
this.Id.Width = 46;
|
||||
//
|
||||
// CarType
|
||||
//
|
||||
this.CarType.DataPropertyName = "CarType";
|
||||
this.CarType.HeaderText = "车身类型";
|
||||
this.CarType.Name = "CarType";
|
||||
this.CarType.ReadOnly = true;
|
||||
this.CarType.Width = 97;
|
||||
//
|
||||
// MeasurePointName
|
||||
//
|
||||
this.MeasurePointName.DataPropertyName = "RangeName";
|
||||
this.MeasurePointName.HeaderText = "极差编号名称";
|
||||
this.MeasurePointName.Name = "MeasurePointName";
|
||||
this.MeasurePointName.ReadOnly = true;
|
||||
this.MeasurePointName.Width = 129;
|
||||
//
|
||||
// DimensionName
|
||||
//
|
||||
this.DimensionName.DataPropertyName = "RangePoint";
|
||||
this.DimensionName.HeaderText = "极差包含点位";
|
||||
this.DimensionName.Name = "DimensionName";
|
||||
this.DimensionName.ReadOnly = true;
|
||||
this.DimensionName.Width = 129;
|
||||
//
|
||||
// TolLower
|
||||
//
|
||||
this.TolLower.DataPropertyName = "RangeLower";
|
||||
this.TolLower.HeaderText = "下限值";
|
||||
this.TolLower.Name = "TolLower";
|
||||
this.TolLower.ReadOnly = true;
|
||||
this.TolLower.Width = 81;
|
||||
//
|
||||
// TolUpper
|
||||
//
|
||||
this.TolUpper.DataPropertyName = "RangeUpper";
|
||||
this.TolUpper.HeaderText = "上限值";
|
||||
this.TolUpper.Name = "TolUpper";
|
||||
this.TolUpper.ReadOnly = true;
|
||||
this.TolUpper.Width = 81;
|
||||
//
|
||||
// Remark
|
||||
//
|
||||
this.Remark.DataPropertyName = "Remark";
|
||||
this.Remark.HeaderText = "备注";
|
||||
this.Remark.Name = "Remark";
|
||||
this.Remark.ReadOnly = true;
|
||||
this.Remark.Width = 65;
|
||||
//
|
||||
// CNCEdit
|
||||
//
|
||||
this.CNCEdit.HeaderText = "修改";
|
||||
this.CNCEdit.Image = ((System.Drawing.Image)(resources.GetObject("CNCEdit.Image")));
|
||||
this.CNCEdit.Name = "CNCEdit";
|
||||
this.CNCEdit.ReadOnly = true;
|
||||
this.CNCEdit.ToolTipText = "点击修改极差信息";
|
||||
this.CNCEdit.Width = 46;
|
||||
//
|
||||
// CNCDelete
|
||||
//
|
||||
this.CNCDelete.HeaderText = "删除";
|
||||
this.CNCDelete.Image = ((System.Drawing.Image)(resources.GetObject("CNCDelete.Image")));
|
||||
this.CNCDelete.Name = "CNCDelete";
|
||||
this.CNCDelete.ReadOnly = true;
|
||||
this.CNCDelete.ToolTipText = "点击删除极差信息";
|
||||
this.CNCDelete.Width = 46;
|
||||
//
|
||||
// FRangeSetup
|
||||
//
|
||||
this.AcceptButton = this.rtbnSearch;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
|
||||
this.BorderWidth = 0;
|
||||
this.ClientSize = new System.Drawing.Size(932, 950);
|
||||
this.Controls.Add(this.labSearchResult);
|
||||
this.Controls.Add(this.radGroupBox7);
|
||||
this.Controls.Add(this.lpcAddTol);
|
||||
this.Controls.Add(this.dgvTolList);
|
||||
this.Controls.Add(this.radTitleBar1);
|
||||
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "FRangeSetup";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "极差带设置";
|
||||
this.Load += new System.EventHandler(this.FToleranceSetup_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
|
||||
this.radTitleBar1.ResumeLayout(false);
|
||||
this.radTitleBar1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvTolList)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).EndInit();
|
||||
this.radGroupBox7.ResumeLayout(false);
|
||||
this.radGroupBox7.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbDimensionName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label labTitle;
|
||||
private UserControlClass.LabPictureControl lpcAddTol;
|
||||
public System.Windows.Forms.DataGridView dgvTolList;
|
||||
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1;
|
||||
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2;
|
||||
private Telerik.WinControls.UI.RadGroupBox radGroupBox7;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbDimensionName;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbMesPointName;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private Telerik.WinControls.UI.RadTextBox rtbCarModel;
|
||||
private System.Windows.Forms.Label label15;
|
||||
private Telerik.WinControls.UI.RadButton rtbnSearch;
|
||||
private System.Windows.Forms.Label labSearchResult;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn CarType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn MeasurePointName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DimensionName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn TolLower;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn TolUpper;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Remark;
|
||||
private System.Windows.Forms.DataGridViewImageColumn CNCEdit;
|
||||
private System.Windows.Forms.DataGridViewImageColumn CNCDelete;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="label2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAABqdJREFUWEe1lnlQE1ccx61HPXEqFEdtx0GtZ1uPTq3V1mPafxjbomO1VVtrj1E7
|
||||
VfHgMOQggCggoAUUCEqCEIwElQAaslnIJrsBkpAGstlkNxFF28HqqONU7WhFeX27SWg8qFHxN/Mdluzb
|
||||
9/38fu/93m6/5wkAwAAx6pqytEITue1M5Qbfzy8/JFbroJUVTaEK24UF62vM0UsravKSMancd/vlBsz6
|
||||
lXLi4qivq1qWTJRihklS9dUVVSWdKlJwwjfk5cU6pXX8UmXT1jlluDZUgt4ano90rVJJu3NNaZ11roSX
|
||||
A8CWex9GjZlVii9/76i+8K1irDFcgl4elq8FU0tUIF6XCypJEQTg9S0AW+of1LbwbQg1O6besXqKDCsP
|
||||
K0RvjCjQPhgCzYfmI2CFqgQcNKcBDZPQiTB9XAGlUjngG1XLynly4tjYooYrrClnXICCYQVaMLIQAQWW
|
||||
NKCiRH0L8HE5MWruUf38KcU6bXhR/aWQfO2dofnerP1640gtWFktg+ZCoKH5zwWwGMMGrjtlDhOLQX/f
|
||||
T95YVtUcEVnZ/O2YovorsNxd0Lwnc1YjCzVgtrwSZDZlArWLD6DxMwFkN1GhySbnwvVq20+LKogfFyux
|
||||
Eb5b3thUb5uxTtMSEyHTgZBC9CFz9nq8tAYsh2tfDbNHYPZa5ukVEAPQX4x1DNltYibsNbs+5+OOrO/U
|
||||
VjRCqpOOlWCv+4Z5IwanZuzQtcVEVZtB+OH6xwAiT5aBjMZMLnNWQQGw5kbHpD0m+pDA6Li0HrHdX3Dc
|
||||
eH1IPiId8SSAGD0Zsw2zg3flOAgr8kKwmuZruxonzD4YANhJApyKFBLOXB7hcO4ykDfhvPc/OdkMwiT1
|
||||
/w8QizvAUpUJTD6qhy3Htp0WrK0tBgfhzoeGnLFfjwJk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pMzWEtnjEPdog6EFtwNfBmhrrwwgzt9k4bhX/YfWBqG1wX/vw3PkT907tT9eHvWp9ZOyTBushcJ
|
||||
/dk0PsoktgUCNDCJ6xBaeNpv7pXQ3cAkFzZ3FERQlPJV7uG+iNPk9onwc7wYmlAsgOVi/kSdO6VUS/Ov
|
||||
IHTCfZQWuRBGlIrQoi/wc3unYB2yIezXtu/xFw+lctWAOpr3s5YWKFgAon3/xnp3cjPKCDsamCTUelHG
|
||||
M5zL/kBDiUN9j/R9EOdzZ+k8yb/At2NlgydJjTKiVtSdVKk/m/kVANjAPs34ScEaMJfVMw3t6bm6s6lp
|
||||
qEc4R0mJ+26dgwn6qipE706fjsJ1VnvEI8VA/PC3/lOjX79/AdonQT85iOsDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="CarType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MeasurePointName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="DimensionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="TolLower.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="TolUpper.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="CNCEdit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="CNCEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAACcQAAAnEAGUaVEZAAAAB3RJ
|
||||
TUUH4wEJBBo3E/VSvgAAAfdJREFUOE+VkF1IU2EYx593uoKkAq+ii6C7qBmkQh8SWAR9XIgO1Loob4I2
|
||||
CCIkbyILAi+jIAgqw7IgaqJURsWCTffh5tuO66xpgTQ7LG+sseOZuEr/PQcOS7Pa+sEP3ov/7714qBQM
|
||||
wyDtZhd5icoS1fb6ZI3dwdI4W5SFl000n7xHAIRs3nlKVpXN8Ccqx3ui28qt1V+Aco0Wg+cIFSTmsmm3
|
||||
JsN6yFkL6RBQd9hV6Sh3WNOVmDGU64TPEIhedOcj7bqWUpCOS8iW3Xi9Wcw82WCrt+bLKcSJYcFvN0ZP
|
||||
6wgeRD7UBuPLByR9Xv1hzRZXO9/ESn7xxzjSBIT3A8/Wwni6Tw8GBt0b+SY9bSesyuKf8eB6oJd0dJML
|
||||
lSTCPcfpvsdjlUzxWHAsXOi0iW+3KyjXXWmVTMlx1yqBWzYyLZBJx2l+oo/QWyUQu/p/sUkmPUYqHyQ/
|
||||
8di1KM9w3Fh6bJJJv2UT27OfItN59TLHBzheV1ps8vXjCGU1eVafCmNu8gV+hFqBB6s55msXi02m3/vW
|
||||
zKYCz3OTXuTG+xf06A3te1/dyTsAjYYGaCimsLEVFmhobKj13L2ipWT/7LvAo1eRoYEO/xvlCIeHeLjU
|
||||
w+xWdvkHu+r2bjp/6cJR/8jwMV9szOlX4k4eNLMtv9nKVrNLPiD6CcD+vhesM7RbAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="CNCDelete.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="CNCDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH5AECByowmpX4DgAAA4VJREFU
|
||||
OE9tkntMU1ccx799XKCtK1LSFuhgUB8B10sJUG5ZC0u4itt8DdFJm4CwBIZEcYaXW9xwiWFbtriHbsn+
|
||||
cQ+nyDLBPSymCMmcJGUkU7olIg+dlIGUIgyxXMrI2bnVGP/YST73/vJ9JL+cHIhHaNoOoWErltytED46
|
||||
iAdRQHBvRtgTjzgTQiB8Wgeh9WMI1TYINXkPzdnqfCw0bINw1Bm5fHx/ZejIbuviJ3WY4YCA04QZipfm
|
||||
Fj/cj9BRZ/pyc0n1UiWnWqh5HrOVuTR0YBOmyjKZ4BvFh0OHNgtLbzv+mG8q4uY/qMWdTOB9Wp5/bx/m
|
||||
33KwQrPTE6rduBxs3P5uoDRDEaiiW4xV2Ji5+h1ND8rMwUW7jCwWp5D7b77i9b++lQscew3TzRWYbtzF
|
||||
3j9S4glSL0gzC6Xm0OyhLS3jpVkqTDZXxd0rt/bN5TFkzoow/+xMITONxd6xfYU5vtptpnuHd3tETfRm
|
||||
RewMmSm3/j7RsOcZ+OmKE+X5/N1C/YjfKiF+DmECLyeTu3VFN6bqiwem6TxFtTA0M7lJP/J3WR4/KV7i
|
||||
X8ca4M+V4bbTzo8VaEfGcyRkPAdk3AIy8WI8mXjJQHx09lHNR707NHPLYeOnxM479cDtgw7cbKyBzyrD
|
||||
4E4LP5yvGRq1SMhoNsho1iPEmWrUuzlYZOF9VikG66tx60CJuAPgLX0B/ZV7cO05Hfo3m6r+zFWHbtDi
|
||||
k1Dt377CDbUDuVr86tgIzy7bw/JXWauRzANuqxEu+1pTr83Qey07ggxkIsz1R4jaVVvC9Yv2FM7NGfEF
|
||||
p8TXtAtFEfCj+Wm0W5LYHove05fJkH768H77HzzU67bovN9nG7ifaOd4Nn2ynamJOMvq2U5zrOdKBkOu
|
||||
mvGYX9IVYyJPalfMcuIya7zfslqud50ROG3Uay+kRfdcZuWkJx2P6Xo2ctiVpuNdqTrevSFyuJsF6aa6
|
||||
+O9iZaQ9Vd13am1sEtoSE1f9YFx1wpUmXblEzUsmkJ/Xy0c6kqP5blaOyyYZxFnUOqnXSTMXafZCiurE
|
||||
2cS4p9AWr8Hp1THq7wwRJzvWS1ba10iHzsUpCrpYCc7oDDijTYCbBc7FRRWcN0qHOtZJVtoSmJPfqKPV
|
||||
rfH0EgFG/EgqFMqkzzXyUy2ayFehiFUhgpFJVCp6y0oakcsQpVG2xERUfBYj+3KvQpEESCWAEv8B4hme
|
||||
YYujYuAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="dataGridViewImageColumn1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAACcQAAAnEAGUaVEZAAAAB3RJ
|
||||
TUUH4wEJBBo3E/VSvgAAAfdJREFUOE+VkF1IU2EYx593uoKkAq+ii6C7qBmkQh8SWAR9XIgO1Loob4I2
|
||||
CCIkbyILAi+jIAgqw7IgaqJURsWCTffh5tuO66xpgTQ7LG+sseOZuEr/PQcOS7Pa+sEP3ov/7714qBQM
|
||||
wyDtZhd5icoS1fb6ZI3dwdI4W5SFl000n7xHAIRs3nlKVpXN8Ccqx3ui28qt1V+Aco0Wg+cIFSTmsmm3
|
||||
JsN6yFkL6RBQd9hV6Sh3WNOVmDGU64TPEIhedOcj7bqWUpCOS8iW3Xi9Wcw82WCrt+bLKcSJYcFvN0ZP
|
||||
6wgeRD7UBuPLByR9Xv1hzRZXO9/ESn7xxzjSBIT3A8/Wwni6Tw8GBt0b+SY9bSesyuKf8eB6oJd0dJML
|
||||
lSTCPcfpvsdjlUzxWHAsXOi0iW+3KyjXXWmVTMlx1yqBWzYyLZBJx2l+oo/QWyUQu/p/sUkmPUYqHyQ/
|
||||
8di1KM9w3Fh6bJJJv2UT27OfItN59TLHBzheV1ps8vXjCGU1eVafCmNu8gV+hFqBB6s55msXi02m3/vW
|
||||
zKYCz3OTXuTG+xf06A3te1/dyTsAjYYGaCimsLEVFmhobKj13L2ipWT/7LvAo1eRoYEO/xvlCIeHeLjU
|
||||
w+xWdvkHu+r2bjp/6cJR/8jwMV9szOlX4k4eNLMtv9nKVrNLPiD6CcD+vhesM7RbAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="dataGridViewImageColumn2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH5AECByowmpX4DgAAA4VJRE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mXblEzUsmkJ/Xy0c6kqP5blaOyyYZxFnUOqnXSTMXafZCiurE
|
||||
2cS4p9AWr8Hp1THq7wwRJzvWS1ba10iHzsUpCrpYCc7oDDijTYCbBc7FRRWcN0qHOtZJVtoSmJPfqKPV
|
||||
rfH0EgFG/EgqFMqkzzXyUy2ayFehiFUhgpFJVCp6y0oakcsQpVG2xERUfBYj+3KvQpEESCWAEv8B4hme
|
||||
YYujYuAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAzO/jAbfp2C6J3MGShNu+h3zYujF52LkGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAACS3sYvgtq+anrYuquB2r22ftm7z4DZvKuL3MJWzvDkBM7w5AEAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAA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AcAAfgHAAH/BwAB/8fAA
|
||||
f//wAH///AB///+Af///wH///+B////4f/8=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,10 @@
|
||||
2023-10-25 14:48:18.224----软件Program Main函数开始执行--
|
||||
2023-10-25 14:48:18.225--加载配置文件——>开始
|
||||
2023-10-25 14:48:18.227--加载配置文件——>完成
|
||||
2023-10-25 14:48:18.228--Log in using the CLMS authorization.
|
||||
2023-10-25 14:48:19.649--首次启动软件,遍历删除路径:D:\test下的文件全部删除
|
||||
2023-10-25 14:48:19.677--启动PLC写线程!
|
||||
2023-10-25 14:48:19.678--连接PLC....
|
||||
2023-10-25 14:48:21.690--PLC S7连接失败。
|
||||
2023-10-25 14:48:21.691--连接PLC失败
|
||||
2023-10-25 14:48:44.142---------------海克斯康奇瑞面隙分析软件程序关闭---------------------
|
||||
@@ -0,0 +1,43 @@
|
||||
[Chery]
|
||||
DeleteDebugFileIntervalTime=-5
|
||||
ConfigSkinName=FluentHexagon.tssp
|
||||
SoftwareHelpDocument=HELP.pdf
|
||||
Language =1
|
||||
;1 = ÖÐÎļò
|
||||
;0 = Ó¢Óï
|
||||
RememberMe=1
|
||||
NextsenseCSVPath=D:\test
|
||||
FPY=0.9
|
||||
ReportCSVPath=D:\QMLTest
|
||||
CLMSModeID=1
|
||||
;1:CLMSÊÚȨ
|
||||
AuthorizationMode=1
|
||||
|
||||
|
||||
[Timer]
|
||||
;µ¥Î»s
|
||||
TimerFixedStorage=1
|
||||
TimerRefreshMIDMode=2
|
||||
TimerRefreshCMMStatus=3
|
||||
|
||||
[Database]
|
||||
SqlServerName=127.0.0.1
|
||||
SqlDbName=HFGYDB
|
||||
SqlUserName=sa
|
||||
SqlPassword=HexagonPai=3.1415
|
||||
|
||||
|
||||
[TCP]
|
||||
ModbusTcp_IP=127.0.0.1
|
||||
ModbusTcp_Port=502
|
||||
ModbusTcp_Addr=1
|
||||
ModbusTcp_Reconnected=1
|
||||
PLC_StartAddr=100
|
||||
PLC_Length=100
|
||||
PlcType=3
|
||||
ModbusTcp_ReverseSequence=0
|
||||
PLC_S7StartAddr=100
|
||||
PLC_S7ByteLength=200
|
||||
PLC_S7DataBlock=DB4100
|
||||
PLC_S7ReadByteCount=200
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<Config>
|
||||
<SignalList_Write>
|
||||
<SoftLive Type="word" StartAddr="0" IndexOrLength="" Remark="软件心跳,写入PLC,间隔0.5S" />
|
||||
<CmmError Type="word" StartAddr="10" IndexOrLength="" Remark="CMM报错,10报警,0清除" />
|
||||
<CMMForceUnload Type="word" StartAddr="11" IndexOrLength="" Remark="强制下件信号,10 下件," />
|
||||
<CMMStatus Type="word" StartAddr="12" IndexOrLength="" Remark="CMM状态,10空闲,20忙碌" />
|
||||
<CMMResult Type="word" StartAddr="13" IndexOrLength="" Remark="测量结果,10 OK,20 NG" />
|
||||
<CoordX Type="single" StartAddr="44" IndexOrLength="" Remark="CMM坐标X" />
|
||||
<CoordY Type="single" StartAddr="46" IndexOrLength="" Remark="CMM坐标Y" />
|
||||
<CoordZ Type="single" StartAddr="48" IndexOrLength="" Remark="CMM坐标Z" />
|
||||
<CMMResultBits Type="word" StartAddr="57" IndexOrLength="" Remark="按位写入结果0/1,最多支持16个数据" />
|
||||
<CMMResultDatas Type="single" StartAddr="58" IndexOrLength="" Remark="数据起始地址" />
|
||||
</SignalList_Write>
|
||||
<SignalList_Read>
|
||||
<PlcLive Type="word" StartAddr="100" IndexOrLength=" " Remark="PLC心跳" />
|
||||
<PlcAutoRunning Type="word" StartAddr="101" IndexOrLength="" Remark="PLC模式,自动运行20,手动运行10" />
|
||||
<CmmHome Type="word" StartAddr="110" IndexOrLength="" Remark="安全位置信号" />
|
||||
<CmmPartOk Type="bool" StartAddr="111" IndexOrLength="0" Remark="工件就位信号1" />
|
||||
<StartCmd Type="word" StartAddr="112" IndexOrLength="" Remark="启动测量指令,10启动" />
|
||||
<CMMResultClear Type="word" StartAddr="113" IndexOrLength="" Remark="10 清除测量结果" />
|
||||
<ProgramCode Type="string" StartAddr="120" IndexOrLength="10" Remark="程序号(程序名)" />
|
||||
<PartID Type="string" StartAddr="130" IndexOrLength="20" Remark="工件ID" />
|
||||
</SignalList_Read>
|
||||
</Config>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<Config>
|
||||
<SignalList_Write>
|
||||
<SoftLive Type="byte" StartAddr="0" IndexOrLength="" Remark="软件心跳,写入PLC,间隔0.5S" />
|
||||
<CmmError Type="byte" StartAddr="2" IndexOrLength="" Remark="CMM报错,10报警,0清除" />
|
||||
<CMMStatus Type="byte" StartAddr="4" IndexOrLength="" Remark="CMM状态,10空闲,20忙碌" />
|
||||
<CMMResult Type="byte" StartAddr="10" IndexOrLength="" Remark="测量结果, 10为OK,20为NG," />
|
||||
</SignalList_Write>
|
||||
<SignalList_Read>
|
||||
<PlcLive Type="byte" StartAddr="110" IndexOrLength=" " Remark="PLC心跳0或1交替" />
|
||||
<PlcAutoRunning Type="byte" StartAddr="112" IndexOrLength="" Remark="设备状态:10:手动;20:自动;30:自动联动;40自动脱机模式" />
|
||||
<CmmHome Type="byte" StartAddr="114" IndexOrLength="" Remark="安全位置信号" />
|
||||
<CmmPartOk Type="bool" StartAddr="126" IndexOrLength="0" Remark="工件就位信号,true代表就位" />
|
||||
<StartCmd Type="byte" StartAddr="128" IndexOrLength="" Remark="启动测量指令,10启动" />
|
||||
<PartID Type="string" StartAddr="140" IndexOrLength="64" Remark="工件ID" />
|
||||
</SignalList_Read>
|
||||
</Config>
|
||||