YD10&YD07k初始版

main
xxq
commit 757953bb41

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\C:\\Users\\Administrator\\Source\\Repos\\YD10-YD07k_SMT",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,91 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|c:\\users\\administrator\\documents\\yd10\u6D4B\u8BD5\u673A\\yd10\u6D4B\u8BD5\u673A\\form3.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|solutionrelative:yd10\u6D4B\u8BD5\u673A\\form3.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|c:\\users\\administrator\\documents\\yd10\u6D4B\u8BD5\u673A\\yd10\u6D4B\u8BD5\u673A\\form2.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|solutionrelative:yd10\u6D4B\u8BD5\u673A\\form2.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|c:\\users\\administrator\\documents\\yd10\u6D4B\u8BD5\u673A\\yd10\u6D4B\u8BD5\u673A\\form2.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|solutionrelative:yd10\u6D4B\u8BD5\u673A\\form2.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|c:\\users\\administrator\\documents\\yd10\u6D4B\u8BD5\u673A\\yd10\u6D4B\u8BD5\u673A\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{32F563DD-18CA-4F54-B8E0-6F2B472371D7}|YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A.csproj|solutionrelative:yd10\u6D4B\u8BD5\u673A\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Form3.cs",
"DocumentMoniker": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form3.cs",
"RelativeDocumentMoniker": "YD10\u6D4B\u8BD5\u673A\\Form3.cs",
"ToolTip": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form3.cs",
"RelativeToolTip": "YD10\u6D4B\u8BD5\u673A\\Form3.cs",
"ViewState": "AgIAABYLAAAAAAAAAAAYwCoLAAAaAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-26T03:21:04.015Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Form2.Designer.cs",
"DocumentMoniker": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form2.Designer.cs",
"RelativeDocumentMoniker": "YD10\u6D4B\u8BD5\u673A\\Form2.Designer.cs",
"ToolTip": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form2.Designer.cs",
"RelativeToolTip": "YD10\u6D4B\u8BD5\u673A\\Form2.Designer.cs",
"ViewState": "AgIAAFwAAAAAAAAAAAAcwHwAAAA7AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-26T03:21:00.157Z",
"EditorCaption": ""
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{e5c86464-96be-4d7c-9a8b-abcb3bbf5f92}"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Form2.cs",
"DocumentMoniker": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form2.cs",
"RelativeDocumentMoniker": "YD10\u6D4B\u8BD5\u673A\\Form2.cs",
"ToolTip": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form2.cs",
"RelativeToolTip": "YD10\u6D4B\u8BD5\u673A\\Form2.cs",
"ViewState": "AgIAAFgBAAAAAAAAAAAYwGwBAAAPAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-26T03:20:36.703Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "Form1.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form1.cs",
"RelativeDocumentMoniker": "YD10\u6D4B\u8BD5\u673A\\Form1.cs",
"ToolTip": "C:\\Users\\Administrator\\Documents\\YD10\u6D4B\u8BD5\u673A\\YD10\u6D4B\u8BD5\u673A\\Form1.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "YD10\u6D4B\u8BD5\u673A\\Form1.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-03-26T03:18:46.59Z",
"EditorCaption": " [\u8BBE\u8BA1]"
}
]
}
]
}
]
}

@ -0,0 +1 @@
{"CustomColumnOrderings":{"name":0,"file-path":1,"file-name":2,"neutral-value":3,"neutral-comment":4,"type":5},"ShowValidationErrors":true,"SelectedResourceGroups":[],"VisibleColumnKeys":["name","neutral-value"]}

Binary file not shown.

@ -0,0 +1,163 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="NuGetUpgradeReportTitle">
NuGetMigrationLog
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-size: 12pt;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
.info-text
{
margin: 0px 0 0.75em 0;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 11pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
.issueCell
{
width: 100%;
}
.packageIssue
{
margin-left: 25px;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 20px 20px 20px;
}
.issues table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
.IconSuccessEncoded
{
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
.IconInfoEncoded
{
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
.IconWarningEncoded
{
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
.IconErrorEncoded
{
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style></head><body><h1>
NuGet Migration Report - YD10测试机</h1><div id="content"><h2 _locID="OverviewTitle">Overview</h2><div class="info-text">Migration to PackageReference was completed successfully. Please build and run your solution to verify that all packages are available.</div><div class="info-text">
If you run into any problems, have feedback, questions, or concerns, please
<a href="https://github.com/NuGet/Home/issues/">file an issue on the NuGet GitHub repository.</a></div><div class="info-text">
Changed files and this report have been backed up here:
<a href="C:\Users\Administrator\Documents\YD10测试机\MigrationBackup\c3eebd3e\YD10测试机">C:\Users\Administrator\Documents\YD10测试机\MigrationBackup\c3eebd3e\YD10测试机</a></div><div class="info-text"><a href="https://aka.ms/nuget-pc2pr-migrator-rollback">Help me rollback to packages.config</a></div><h2 _locID="PackagesTitle">Packages processed</h2><h3 _locID="IncludePackagesTitle">Top-level dependencies:</h3><div class="issues"><table><tr><th class="issueCell">Package Id</th><th>Version</th></tr><tr><td class="issueCell"><span>Microsoft.Windows.SDK.Contracts</span></td><td><span>
v10.0.26100.1742</span></td></tr></table></div><p /><h3 _locID="IncludePackagesTitle">Transitive dependencies:</h3><div class="issues"><table><tr><th class="issueCell">Package Id</th><th>Version</th></tr><tr><td class="issueCell"><span>System.Runtime.InteropServices.WindowsRuntime</span></td><td><span>
v4.3.0</span></td></tr><tr><td class="issueCell"><span>System.Runtime.WindowsRuntime</span></td><td><span>
v4.6.0</span></td></tr><tr><td class="issueCell"><span>System.Runtime.WindowsRuntime.UI.Xaml</span></td><td><span>
v4.6.0</span></td></tr></table></div><h2 _locID="IssuesTitle">Package compatibility issues</h2><div class="issues"><table><tr><th /><th class="issueCell" _locID="DescriptionTableHeader">Description</th></tr><tr><td class="IconInfoEncoded" /><td class="issueCell">
No issues were found.
</td></tr></table></div></div></body></html>

@ -0,0 +1,136 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.props" Condition="Exists('..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{32F563DD-18CA-4F54-B8E0-6F2B472371D7}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>YD10测试机</RootNamespace>
<AssemblyName>YD10测试机</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ao05f-g71fo-001.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="ThoughtWorks.QRCode, Version=1.0.4778.30637, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\ThoughtWorks.QRCode.dll</HintPath>
</Reference>
<Reference Include="Windows, Version=255.255.255.255, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\Windows.winmd</HintPath>
</Reference>
<Reference Include="zxing, Version=0.12.0.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\zxing.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="BleCore.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utility.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="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>
<Content Include="ao05f-g71fo-001.ico" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\System.Runtime.WindowsRuntime.4.6.0\build\net461\System.Runtime.WindowsRuntime.targets" Condition="Exists('..\packages\System.Runtime.WindowsRuntime.4.6.0\build\net461\System.Runtime.WindowsRuntime.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\System.Runtime.WindowsRuntime.4.6.0\build\net461\System.Runtime.WindowsRuntime.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Runtime.WindowsRuntime.4.6.0\build\net461\System.Runtime.WindowsRuntime.targets'))" />
<Error Condition="!Exists('..\packages\System.Runtime.WindowsRuntime.UI.Xaml.4.6.0\build\net461\System.Runtime.WindowsRuntime.UI.Xaml.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Runtime.WindowsRuntime.UI.Xaml.4.6.0\build\net461\System.Runtime.WindowsRuntime.UI.Xaml.targets'))" />
<Error Condition="!Exists('..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.props'))" />
<Error Condition="!Exists('..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.targets'))" />
</Target>
<Import Project="..\packages\System.Runtime.WindowsRuntime.UI.Xaml.4.6.0\build\net461\System.Runtime.WindowsRuntime.UI.Xaml.targets" Condition="Exists('..\packages\System.Runtime.WindowsRuntime.UI.Xaml.4.6.0\build\net461\System.Runtime.WindowsRuntime.UI.Xaml.targets')" />
<Import Project="..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.targets" Condition="Exists('..\packages\Microsoft.Windows.SDK.Contracts.10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.targets')" />
</Project>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Windows.SDK.Contracts" version="10.0.26100.1742" targetFramework="net48" />
<package id="System.Runtime.InteropServices.WindowsRuntime" version="4.3.0" targetFramework="net48" />
<package id="System.Runtime.WindowsRuntime" version="4.6.0" targetFramework="net48" />
<package id="System.Runtime.WindowsRuntime.UI.Xaml" version="4.6.0" targetFramework="net48" />
</packages>

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.35229.62
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YD10测试机", "YD10测试机\YD10测试机.csproj", "{32F563DD-18CA-4F54-B8E0-6F2B472371D7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{32F563DD-18CA-4F54-B8E0-6F2B472371D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{32F563DD-18CA-4F54-B8E0-6F2B472371D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{32F563DD-18CA-4F54-B8E0-6F2B472371D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{32F563DD-18CA-4F54-B8E0-6F2B472371D7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {634A1378-C1DF-4F06-9F3C-40D181B75167}
EndGlobalSection
EndGlobal

@ -0,0 +1,99 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Text.RegularExpressions;
using ZXing.Common;
using ZXing;
using ZXing.QrCode;
namespace ZXingDemo
{
class BarCodeClass
{
/// <summary>
/// 条形码宽度
/// </summary>
public int BarCodeWidth { get; set; }
/// <summary>
/// 条形码高度
/// </summary>
public int BarCodeHeight { get; set; }
/// <summary>
/// 二维码宽度
/// </summary>
public int QuickMarkWidth { get; set; }
/// <summary>
/// 二维码高度
/// </summary>
public int QuickMarkHeight { get; set; }
///<summary>
///生成条形码
///</summary>
///<paramname="pictureBox1"></param>
///<paramname="Contents"></param>
public void CreateBarCode(PictureBox pictureBox1, string Contents)
{
//Regex rg = new Regex("^[0-9]{20}$");
//if (!rg.IsMatch(Contents))
//{
// MessageBox.Show("本例子采用QR_CODE编码需要输入12位数字");
// return;
//}
EncodingOptions options = null;
BarcodeWriter writer = null;
if (BarCodeWidth == 0 || BarCodeHeight == 0)
{
BarCodeWidth = pictureBox1.Width;
BarCodeHeight = pictureBox1.Height;
}
options = new EncodingOptions
{
Width = BarCodeWidth,
Height = BarCodeHeight
};
writer = new BarcodeWriter();
writer.Format = BarcodeFormat.CODE_128;
writer.Options = options;
Bitmap bitmap = writer.Write(Contents);
pictureBox1.Image = bitmap;
}
///<summary>
///生成二维码
///</summary>
///<paramname="pictureBox1"></param>
///<paramname="Contents"></param>
public Image CreateQuickMark(string Contents)
{
EncodingOptions options = null;
BarcodeWriter writer = null;
//if (QuickMarkWidth == 0 || QuickMarkHeight == 0)
//{
// QuickMarkWidth = pictureBox1.Width;
// QuickMarkHeight = pictureBox1.Height;
//}
options = new QrCodeEncodingOptions
{
DisableECI = true,
CharacterSet = "UTF-8",
Width = QuickMarkWidth,
Height = QuickMarkHeight
};
writer = new BarcodeWriter();
writer.Format = BarcodeFormat.QR_CODE;
writer.Options = options;
Bitmap bitmap = writer.Write(Contents);
return bitmap;
}
}
}

@ -0,0 +1,197 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Devices.Enumeration;
using Windows.Security.Cryptography;
using System.Diagnostics;
namespace BluetoothLibrary
{
public enum BlueStatus
{
DisConnected, // 未连接
Connecting, // 正在连接
Connected // 已连接
};
public enum MsgType
{
NotifyTxt,
BleDevice,
BleSendData,
BleRecData,
}
public class BleCore
{
private BluetoothLEDevice _currentDevice;
private GattDeviceService _currentService;
private GattCharacteristic _writeCharacteristic;
private GattCharacteristic _notifyCharacteristic;
private List<BluetoothLEDevice> _discoveredDevices = new List<BluetoothLEDevice>();
public event Action<MsgType, string, byte[]> MessageChanged;
public async Task StartDeviceDiscoveryAsync()
{
try
{
string selector = BluetoothLEDevice.GetDeviceSelectorFromPairingState(false);
var devices = await DeviceInformation.FindAllAsync(selector);
foreach (var deviceInfo in devices)
{
var device = await BluetoothLEDevice.FromIdAsync(deviceInfo.Id);
if (device != null && !_discoveredDevices.Any(d => d.DeviceId == device.DeviceId))
{
_discoveredDevices.Add(device);
OnMessageChanged(MsgType.BleDevice, $"Discovered device: {device.Name}", null);
}
}
}
catch (Exception ex)
{
OnMessageChanged(MsgType.NotifyTxt, $"Error during device discovery: {ex.Message}", null);
}
}
public async Task ConnectToDeviceAsync(string deviceId)
{
try
{
_currentDevice = await BluetoothLEDevice.FromIdAsync(deviceId);
if (_currentDevice != null)
{
_currentDevice.ConnectionStatusChanged += OnConnectionStatusChanged;
OnMessageChanged(MsgType.NotifyTxt, $"Connecting to device: {_currentDevice.Name}", null);
await DiscoverServicesAsync();
}
else
{
OnMessageChanged(MsgType.NotifyTxt, "Device not found", null);
}
}
catch (Exception ex)
{
OnMessageChanged(MsgType.NotifyTxt, $"Error connecting to device: {ex.Message}", null);
}
}
private async Task DiscoverServicesAsync()
{
try
{
var services = await _currentDevice.GetGattServicesAsync();
foreach (var service in services.Services)
{
if (service.Uuid.ToString() == "your-service-uuid-here") // Replace with your service UUID
{
_currentService = service;
await DiscoverCharacteristicsAsync();
break;
}
}
}
catch (Exception ex)
{
OnMessageChanged(MsgType.NotifyTxt, $"Error discovering services: {ex.Message}", null);
}
}
private async Task DiscoverCharacteristicsAsync()
{
try
{
var characteristics = await _currentService.GetCharacteristicsAsync();
foreach (var characteristic in characteristics.Characteristics)
{
if (characteristic.Uuid.ToString() == "your-write-uuid-here") // Replace with your write UUID
{
_writeCharacteristic = characteristic;
}
else if (characteristic.Uuid.ToString() == "your-notify-uuid-here") // Replace with your notify UUID
{
_notifyCharacteristic = characteristic;
await EnableNotificationsAsync(characteristic);
}
}
}
catch (Exception ex)
{
OnMessageChanged(MsgType.NotifyTxt, $"Error discovering characteristics: {ex.Message}", null);
}
}
private async Task EnableNotificationsAsync(GattCharacteristic characteristic)
{
try
{
await characteristic.WriteClientCharacteristicConfigurationDescriptorAsync(
GattClientCharacteristicConfigurationDescriptorValue.Notify);
characteristic.ValueChanged += OnCharacteristicValueChanged;
OnMessageChanged(MsgType.NotifyTxt, "Notifications enabled", null);
}
catch (Exception ex)
{
OnMessageChanged(MsgType.NotifyTxt, $"Error enabling notifications: {ex.Message}", null);
}
}
private void OnCharacteristicValueChanged(GattCharacteristic sender, GattValueChangedEventArgs args)
{
byte[] data;
CryptographicBuffer.CopyToByteArray(args.CharacteristicValue, out data);
OnMessageChanged(MsgType.BleRecData, "Data received", data);
}
public async Task WriteDataAsync(byte[] data)
{
try
{
if (_writeCharacteristic != null)
{
await _writeCharacteristic.WriteValueAsync(CryptographicBuffer.CreateFromByteArray(data));
OnMessageChanged(MsgType.BleSendData, "Data sent", data);
}
else
{
OnMessageChanged(MsgType.NotifyTxt, "Write characteristic not found", null);
}
}
catch (Exception ex)
{
OnMessageChanged(MsgType.NotifyTxt, $"Error writing data: {ex.Message}", null);
}
}
private void OnConnectionStatusChanged(BluetoothLEDevice sender, object args)
{
if (sender.ConnectionStatus == BluetoothConnectionStatus.Disconnected)
{
OnMessageChanged(MsgType.NotifyTxt, "Device disconnected", null);
}
else
{
OnMessageChanged(MsgType.NotifyTxt, "Device connected", null);
}
}
private void OnMessageChanged(MsgType type, string message, byte[] data)
{
MessageChanged?.Invoke(type, message, data);
}
public void Dispose()
{
// 不需要调用 Dispose 方法
_currentDevice?.Dispose(); // 如果 BluetoothLEDevice 实现了 IDisposable则可以调用 Dispose
_currentService = null;
_writeCharacteristic = null;
_notifyCharacteristic = null;
_discoveredDevices.Clear();
}
}
}

@ -0,0 +1,622 @@

namespace YD10
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.txtStatus = new System.Windows.Forms.Label();
this.btnOpen_usb = new System.Windows.Forms.Button();
this.cmbPort = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label8 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.label2 = new System.Windows.Forms.Label();
this.timer2 = new System.Windows.Forms.Timer(this.components);
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.yD10ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.yD07KToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.label7 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// txtStatus
//
this.txtStatus.AutoSize = true;
this.txtStatus.Location = new System.Drawing.Point(60, 83);
this.txtStatus.Name = "txtStatus";
this.txtStatus.Size = new System.Drawing.Size(0, 12);
this.txtStatus.TabIndex = 12;
//
// btnOpen_usb
//
this.btnOpen_usb.Location = new System.Drawing.Point(148, 48);
this.btnOpen_usb.Name = "btnOpen_usb";
this.btnOpen_usb.Size = new System.Drawing.Size(64, 21);
this.btnOpen_usb.TabIndex = 11;
this.btnOpen_usb.Text = "打开";
this.btnOpen_usb.UseVisualStyleBackColor = true;
this.btnOpen_usb.Click += new System.EventHandler(this.btnOpen_usb_Click);
//
// cmbPort
//
this.cmbPort.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbPort.FormattingEnabled = true;
this.cmbPort.Location = new System.Drawing.Point(60, 46);
this.cmbPort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.cmbPort.Name = "cmbPort";
this.cmbPort.Size = new System.Drawing.Size(83, 24);
this.cmbPort.TabIndex = 10;
this.cmbPort.DropDown += new System.EventHandler(this.cmbPort_DropDown);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 10.18868F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(18, 53);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 14);
this.label1.TabIndex = 9;
this.label1.Text = "端口:";
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 500;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToResizeRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.EnableHeadersVisualStyles = false;
this.dataGridView1.Location = new System.Drawing.Point(21, 152);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowHeadersWidth = 45;
this.dataGridView1.RowTemplate.Height = 19;
this.dataGridView1.Size = new System.Drawing.Size(316, 524);
this.dataGridView1.TabIndex = 13;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.FillWeight = 50F;
this.Column1.HeaderText = "测试项";
this.Column1.MinimumWidth = 2;
this.Column1.Name = "Column1";
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column2.FillWeight = 50F;
this.Column2.HeaderText = "数据";
this.Column2.MinimumWidth = 2;
this.Column2.Name = "Column2";
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column3.FillWeight = 20F;
this.Column3.HeaderText = "结果";
this.Column3.MinimumWidth = 2;
this.Column3.Name = "Column3";
//
// Column4
//
this.Column4.HeaderText = "Column4";
this.Column4.Name = "Column4";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.FillWeight = 46.30047F;
this.dataGridViewTextBoxColumn1.HeaderText = "序号";
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn2.FillWeight = 95.09346F;
this.dataGridViewTextBoxColumn2.HeaderText = "测试项";
this.dataGridViewTextBoxColumn2.MinimumWidth = 6;
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.FillWeight = 173.0446F;
this.dataGridViewTextBoxColumn3.HeaderText = "测试值";
this.dataGridViewTextBoxColumn3.MinimumWidth = 6;
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.FillWeight = 85.5615F;
this.dataGridViewTextBoxColumn4.HeaderText = "结果";
this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn5.FillWeight = 46.30047F;
this.dataGridViewTextBoxColumn5.HeaderText = "序号";
this.dataGridViewTextBoxColumn5.MinimumWidth = 6;
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn6.FillWeight = 95.09346F;
this.dataGridViewTextBoxColumn6.HeaderText = "测试项";
this.dataGridViewTextBoxColumn6.MinimumWidth = 6;
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn7.FillWeight = 173.0446F;
this.dataGridViewTextBoxColumn7.HeaderText = "测试值";
this.dataGridViewTextBoxColumn7.MinimumWidth = 6;
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn8.FillWeight = 85.5615F;
this.dataGridViewTextBoxColumn8.HeaderText = "结果";
this.dataGridViewTextBoxColumn8.MinimumWidth = 6;
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
//
// dataGridView2
//
this.dataGridView2.AllowUserToAddRows = false;
this.dataGridView2.AllowUserToResizeRows = false;
this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn9,
this.dataGridViewTextBoxColumn10,
this.dataGridViewTextBoxColumn11});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView2.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridView2.EnableHeadersVisualStyles = false;
this.dataGridView2.Location = new System.Drawing.Point(372, 153);
this.dataGridView2.Name = "dataGridView2";
this.dataGridView2.RowHeadersVisible = false;
this.dataGridView2.RowHeadersWidth = 45;
this.dataGridView2.RowTemplate.Height = 21;
this.dataGridView2.Size = new System.Drawing.Size(375, 397);
this.dataGridView2.TabIndex = 14;
this.dataGridView2.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView2_CellValueChanged);
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn9.FillWeight = 50F;
this.dataGridViewTextBoxColumn9.HeaderText = "测试项";
this.dataGridViewTextBoxColumn9.MinimumWidth = 2;
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn10.FillWeight = 50F;
this.dataGridViewTextBoxColumn10.HeaderText = "数据";
this.dataGridViewTextBoxColumn10.MinimumWidth = 2;
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn11.FillWeight = 20F;
this.dataGridViewTextBoxColumn11.HeaderText = "结果";
this.dataGridViewTextBoxColumn11.MinimumWidth = 2;
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
//
// comboBox2
//
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Items.AddRange(new object[] {
"1",
"2",
"3"});
this.comboBox2.Location = new System.Drawing.Point(518, 127);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(40, 20);
this.comboBox2.TabIndex = 53;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(484, 131);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(35, 12);
this.label8.TabIndex = 52;
this.label8.Text = "张数:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(325, 131);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(47, 12);
this.label4.TabIndex = 51;
this.label4.Text = "打印机:";
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(378, 127);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(102, 20);
this.comboBox1.TabIndex = 50;
//
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(486, 111);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(72, 16);
this.checkBox2.TabIndex = 49;
this.checkBox2.Text = "自动打印";
this.checkBox2.UseVisualStyleBackColor = true;
//
// printDocument1
//
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
//
// label2
//
this.label2.BackColor = System.Drawing.Color.DarkGray;
this.label2.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(372, 559);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(375, 117);
this.label2.TabIndex = 55;
this.label2.Text = "等待测试";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// timer2
//
this.timer2.Enabled = true;
this.timer2.Interval = 50;
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(759, 28);
this.menuStrip1.TabIndex = 57;
this.menuStrip1.Text = "menuStrip1";
//
// 参考信息设置ToolStripMenuItem
//
this.ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "参考信息设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(105, 24);
this.ToolStripMenuItem.Text = "参考信息设置";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 打印较准页ToolStripMenuItem
//
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "打印较准页ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(91, 24);
this.ToolStripMenuItem.Text = "打印较准页";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 手动打印ToolStripMenuItem
//
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "手动打印ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
this.ToolStripMenuItem.Text = "手动打印";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 车型设置ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.yD10ToolStripMenuItem,
this.yD07KToolStripMenuItem});
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "车型设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
this.ToolStripMenuItem.Text = "车型设置";
//
// yD10ToolStripMenuItem
//
this.yD10ToolStripMenuItem.Name = "yD10ToolStripMenuItem";
this.yD10ToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.yD10ToolStripMenuItem.Text = "YD10";
this.yD10ToolStripMenuItem.Click += new System.EventHandler(this.yD10ToolStripMenuItem_Click);
//
// yD07KToolStripMenuItem
//
this.yD07KToolStripMenuItem.Name = "yD07KToolStripMenuItem";
this.yD07KToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.yD07KToolStripMenuItem.Text = "YD07K";
this.yD07KToolStripMenuItem.Click += new System.EventHandler(this.yD07KToolStripMenuItem_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(306, 28);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(355, 21);
this.textBox1.TabIndex = 59;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(661, 35);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(0, 12);
this.label5.TabIndex = 60;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(243, 61);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(59, 12);
this.label6.TabIndex = 61;
this.label6.Text = "号码校验:";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(306, 58);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(355, 21);
this.textBox2.TabIndex = 62;
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
//
// checkBox3
//
this.checkBox3.AutoSize = true;
this.checkBox3.Checked = true;
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox3.Location = new System.Drawing.Point(242, 108);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(72, 16);
this.checkBox3.TabIndex = 63;
this.checkBox3.Text = "号码校验";
this.checkBox3.UseVisualStyleBackColor = true;
this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(661, 66);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(0, 12);
this.label7.TabIndex = 64;
//
// label3
//
this.label3.Location = new System.Drawing.Point(243, 28);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 26);
this.label3.TabIndex = 65;
this.label3.Text = "标定信息:产前标签";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(306, 85);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(355, 21);
this.textBox3.TabIndex = 67;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(259, 88);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(23, 12);
this.label9.TabIndex = 66;
this.label9.Text = "SN:";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(661, 94);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(0, 12);
this.label10.TabIndex = 68;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(759, 688);
this.Controls.Add(this.label10);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.label9);
this.Controls.Add(this.label3);
this.Controls.Add(this.label7);
this.Controls.Add(this.checkBox3);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label2);
this.Controls.Add(this.comboBox2);
this.Controls.Add(this.label8);
this.Controls.Add(this.label4);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.checkBox2);
this.Controls.Add(this.dataGridView2);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.txtStatus);
this.Controls.Add(this.btnOpen_usb);
this.Controls.Add(this.cmbPort);
this.Controls.Add(this.label1);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "YD10上位机测试V2.0";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label txtStatus;
private System.Windows.Forms.Button btnOpen_usb;
private System.Windows.Forms.ComboBox cmbPort;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridView dataGridView2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Timer timer2;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem yD10ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem yD07KToolStripMenuItem;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,140 @@

namespace YD10
{
partial class Form2
{
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.button1 = new System.Windows.Forms.Button();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.label1 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToResizeRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridView1.EnableHeadersVisualStyles = false;
this.dataGridView1.Location = new System.Drawing.Point(26, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowHeadersWidth = 45;
this.dataGridView1.RowTemplate.Height = 19;
this.dataGridView1.Size = new System.Drawing.Size(352, 543);
this.dataGridView1.TabIndex = 14;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
// button1
//
this.button1.Location = new System.Drawing.Point(397, 94);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 15;
this.button1.Text = "保存退出";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.FillWeight = 30F;
this.Column1.HeaderText = "测试项";
this.Column1.MinimumWidth = 2;
this.Column1.Name = "Column1";
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column2.FillWeight = 50F;
this.Column2.HeaderText = "标定信息";
this.Column2.MinimumWidth = 2;
this.Column2.Name = "Column2";
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column3.FillWeight = 10F;
this.Column3.HeaderText = "选项";
this.Column3.MinimumWidth = 2;
this.Column3.Name = "Column3";
//
// label1
//
this.label1.Location = new System.Drawing.Point(386, 45);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(95, 46);
this.label1.TabIndex = 16;
this.label1.Text = "注意:可写入的值的参考信息值即是一键写入值";
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(493, 569);
this.Controls.Add(this.label1);
this.Controls.Add(this.button1);
this.Controls.Add(this.dataGridView1);
this.Name = "Form2";
this.Text = "参考信息设置";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form2_FormClosing);
this.Load += new System.EventHandler(this.Form2_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewCheckBoxColumn Column3;
private System.Windows.Forms.Label label1;
}
}

@ -0,0 +1,356 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace YD10
{
public partial class Form2 : Form
{
// 在窗口2中
public delegate void Form2ClosedHandler();
public event Form2ClosedHandler Form2Closed;
int form2_index = 0;
public Form2( )
{
InitializeComponent();
}
private void Form2_Load(object sender, EventArgs e)
{
my_set();
read();
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = "打印名称设置";
dataGridView1.Rows[form2_index].Cells[1].Value = product;
dataGridView1.Rows[form2_index].Cells[2].Value =true;
for (int i = 0; i < readConfig.Length; i++)
{
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = readConfig[i].name;
dataGridView1.Rows[form2_index].Cells[1].Value = readConfig[i].Svalue;
dataGridView1.Rows[form2_index].Cells[2].Value = readConfig[i].status;
}
for (int i = 0; i < writeConfig.Length; i++)
{
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = writeConfig[i].name;
dataGridView1.Rows[form2_index].Cells[1].Value = writeConfig[i].Svalue;
dataGridView1.Rows[form2_index].Cells[2].Value = writeConfig[i].status;
}
}
private void button1_Click(object sender, EventArgs e)
{
save();
this.Close(); // 关闭当前窗体
}
private void save()
{
JObject setData_jsonObject = new Newtonsoft.Json.Linq.JObject();
setData_jsonObject.Add("打印名称设置", (string)dataGridView1.Rows[0].Cells[1].Value);
for (int i = 0; i < readConfig.Length; i++)
{
setData_jsonObject.Add(readConfig[i].name,(string)dataGridView1.Rows[i+1].Cells[1].Value);
}
for (int i = 0; i < writeConfig.Length; i++)
{
setData_jsonObject.Add(writeConfig[i].name,(string)dataGridView1.Rows[i+27].Cells[1].Value);
}
for (int i = 0; i < readConfig.Length; i++)
{
setData_jsonObject.Add(readConfig[i].name + "status", readConfig[i].status);
}
for (int i = 0; i < writeConfig.Length; i++)
{;
setData_jsonObject.Add(writeConfig[i].name + "status", writeConfig[i].status);
}
string config_file_str = setData_jsonObject.ToString();
string savePath = Application.StartupPath + @"\\YD10参考信息.json";
System.IO.File.WriteAllText(savePath, config_file_str, Encoding.UTF8);
}
string product;
private void read()
{
string strLoadConfigFilePath = Application.StartupPath + @"\YD10参考信息.json";//路径
try
{
using (StreamReader configFile = new StreamReader(strLoadConfigFilePath))
{
string str_data_json = configFile.ReadToEnd(); //这一步至关重要 差一点写错了
JObject object_data_prase_json = (JObject)JsonConvert.DeserializeObject(str_data_json);
if (object_data_prase_json != null)
{
product = (string)object_data_prase_json["打印名称设置"];
for (int i = 0; i < readConfig.Length; i++)
{
readConfig[i].Svalue = (string)object_data_prase_json[readConfig[i].name];
}
for (int i = 0; i < writeConfig.Length; i++)
{
writeConfig[i].Svalue = (string)object_data_prase_json[writeConfig[i].name];
}
for (int i = 0; i < readConfig.Length; i++)
{
readConfig[i].status = (bool)object_data_prase_json[readConfig[i].name + "status"];
}
for (int i = 0; i < writeConfig.Length; i++)
{
writeConfig[i].status = (bool)object_data_prase_json[writeConfig[i].name + "status"];
}
}
}
}
catch (Exception)
{
}
}
struct myUnitClass2
{
public string DID; //DID
public string name; //名称
public string threshold;
public bool status;
public Int64 Ivalue;
public bool Bvalue;
public string Svalue;
public byte[] Fvalue;
public string sw; //是pass 还是fail , 用于pass排在上上方
};
myUnitClass2[] readConfig = new myUnitClass2[26];
myUnitClass2[] writeConfig = new myUnitClass2[15];
private void my_set()
{
//------只读1次-----
readConfig[0].DID = "CF00";
readConfig[0].name = "串口诊断协议版本号";
readConfig[0].status = true;
readConfig[1].DID = "CF01";
readConfig[1].name = "软件版本号";
readConfig[1].status = true;
readConfig[2].DID = "CF02";
readConfig[2].name = "设备IMEI";
readConfig[2].status = true;
readConfig[3].DID = "CF03";
readConfig[3].name = "设备ICCID";
readConfig[3].status = true;
readConfig[4].DID = "CF04";
readConfig[4].name = "GNSS产品型号";
readConfig[4].status = true;
readConfig[5].DID = "CF05";
readConfig[5].name = "GNSS软件版本号";
readConfig[5].status = true;
readConfig[6].DID = "CF06";
readConfig[6].name = "GNSS硬件版本号";
readConfig[6].status = true;
readConfig[7].DID = "CF07";
readConfig[7].name = "SPI FLASH ID";
readConfig[7].status = true;
readConfig[8].DID = "CF08";
readConfig[8].name = "BOOT底层软件版本";
readConfig[8].status = true;
readConfig[9].DID = "CF09";
readConfig[9].name = "BOOT升级协议版本";
readConfig[9].status = true;
readConfig[10].DID = "CF0A";
readConfig[10].name = "通信协议版本号";
readConfig[10].status = true;
readConfig[11].DID = "CF0B";
readConfig[11].name = "备份区软件版本号";
readConfig[11].status = true;
readConfig[12].DID = "CF0C";
readConfig[12].name = "OTA零部件编码";
readConfig[12].status = true;
//------只读N次-----
readConfig[13].DID = "CF80";
readConfig[13].name = "OTA域名";
readConfig[13].status = true;
readConfig[14].DID = "CF81";
readConfig[14].name = "拨号状态";
readConfig[14].status = true;
readConfig[15].DID = "CF82";
readConfig[15].name = "驻网状态";
readConfig[15].status = true;
readConfig[16].DID = "CF83";
readConfig[16].name = "服务器连接状态";
readConfig[16].status = true;
readConfig[17].DID = "CF84";
readConfig[17].name = "GNSS定位状态";
readConfig[17].status = true;
readConfig[18].DID = "CF85";
readConfig[18].name = "GNSS SNR值";
readConfig[18].status = true;
readConfig[19].DID = "CF86";
readConfig[19].name = "RSSI值";
readConfig[19].status = true;
readConfig[20].DID = "CF87";
readConfig[20].name = "RSRP值";
readConfig[20].status = true;
readConfig[21].DID = "CF88";
readConfig[21].name = "RSRQ值";
readConfig[21].status = true;
readConfig[22].DID = "CF89";
readConfig[22].name = "SINR值";
readConfig[22].status = true;
readConfig[23].DID = "CF8A";
readConfig[23].name = "ACC管脚电平状态";
readConfig[23].status = true;
readConfig[24].DID = "CF8B";
readConfig[24].name = "外电电压值";
readConfig[24].status = true;
readConfig[25].DID = "CF8C";
readConfig[25].name = "K线通讯状态";
readConfig[25].status = true;
//-----读写----
writeConfig[0].DID = "CF40";
writeConfig[0].name = "硬件版本号";
writeConfig[0].status = true;
writeConfig[1].DID = "CF41";
writeConfig[1].name = "产品型号";
writeConfig[1].status = true;
writeConfig[2].DID = "CF42";
writeConfig[2].name = "产品识别码";
writeConfig[2].status = true;
writeConfig[3].DID = "CF43";
writeConfig[3].name = "产商识别码";
writeConfig[3].status = true;
writeConfig[4].DID = "CF44";
writeConfig[4].name = "客户识别码";
writeConfig[4].status = true;
// writeConfig[6].DID = "CF45";
// writeConfig[6].name = "生产日十位";
writeConfig[5].DID = "CF46";
writeConfig[5].name = "生产日";
writeConfig[5].status = true;
writeConfig[6].DID = "CF47";
writeConfig[6].name = "生产月份";
writeConfig[6].status = true;
// writeConfig[7].DID = "CF48";
//writeConfig[7].name = "生产年份十位";
writeConfig[7].DID = "CF49";
writeConfig[7].name = "生产年份";
writeConfig[7].status = true;
writeConfig[8].DID = "CF4A";
writeConfig[8].name = "流水号";
writeConfig[8].status = true;
writeConfig[9].DID = "CF4B";
writeConfig[9].name = "服务器域名";
writeConfig[9].status = true;
writeConfig[10].DID = "CF4C";
writeConfig[10].name = "服务器端口号";
writeConfig[10].status = true;
writeConfig[11].DID = "CF4D";
writeConfig[11].name = "外电电压AD比列值";
writeConfig[11].status = true;
writeConfig[12].DID = "CF4E";
writeConfig[12].name = "物料编码";
writeConfig[12].status = true;
writeConfig[13].DID = "CF4F";
writeConfig[13].name = "供应商编码";
writeConfig[13].status = true;
writeConfig[14].DID = "CF50";
writeConfig[14].name = "批次号";
writeConfig[14].status = true;
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
for (int i = 0; i < readConfig.Length; i++)
{
if ((bool)dataGridView1.Rows[i+1].Cells[2].EditedFormattedValue == true)
{
readConfig[i].status = true;
}
else
{
readConfig[i].status = false;
}
}
for (int i = 0; i < writeConfig.Length; i++)
{
if ((bool)dataGridView1.Rows[i+27].Cells[2].EditedFormattedValue == true)
{
writeConfig[i].status = true;
}
else
{
writeConfig[i].status = false;
}
}
}
private void Form2_FormClosing(object sender, FormClosingEventArgs e)
{
Form2Closed?.Invoke();
}
}
}

@ -0,0 +1,129 @@
<?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>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

@ -0,0 +1,613 @@

namespace YD10
{
partial class Form3
{
/// <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.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.label3 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label8 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.txtStatus = new System.Windows.Forms.Label();
this.btnOpen_usb = new System.Windows.Forms.Button();
this.cmbPort = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.yD10ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.yD07KToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.dataGridView3 = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.timer2 = new System.Windows.Forms.Timer(this.components);
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
this.SuspendLayout();
//
// label3
//
this.label3.Location = new System.Drawing.Point(248, 35);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 26);
this.label3.TabIndex = 86;
this.label3.Text = "标定信息:产前标签";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(666, 73);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(0, 12);
this.label7.TabIndex = 85;
//
// checkBox3
//
this.checkBox3.AutoSize = true;
this.checkBox3.Checked = true;
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox3.Location = new System.Drawing.Point(429, 124);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(72, 16);
this.checkBox3.TabIndex = 84;
this.checkBox3.Text = "号码校验";
this.checkBox3.UseVisualStyleBackColor = true;
this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(311, 65);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(355, 21);
this.textBox2.TabIndex = 83;
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(248, 68);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(59, 12);
this.label6.TabIndex = 82;
this.label6.Text = "号码校验:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(666, 42);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(0, 12);
this.label5.TabIndex = 81;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(311, 35);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(355, 21);
this.textBox1.TabIndex = 80;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label2
//
this.label2.BackColor = System.Drawing.Color.DarkGray;
this.label2.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(776, 35);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(278, 88);
this.label2.TabIndex = 78;
this.label2.Text = "等待测试";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// comboBox2
//
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Items.AddRange(new object[] {
"1",
"2",
"3"});
this.comboBox2.Location = new System.Drawing.Point(704, 134);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(40, 20);
this.comboBox2.TabIndex = 76;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(670, 138);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(35, 12);
this.label8.TabIndex = 75;
this.label8.Text = "张数:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(511, 138);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(47, 12);
this.label4.TabIndex = 74;
this.label4.Text = "打印机:";
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(564, 134);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(102, 20);
this.comboBox1.TabIndex = 73;
//
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(672, 118);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(72, 16);
this.checkBox2.TabIndex = 72;
this.checkBox2.Text = "自动打印";
this.checkBox2.UseVisualStyleBackColor = true;
//
// dataGridView2
//
this.dataGridView2.AllowUserToAddRows = false;
this.dataGridView2.AllowUserToResizeRows = false;
this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn9,
this.dataGridViewTextBoxColumn10,
this.dataGridViewTextBoxColumn11});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView2.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView2.EnableHeadersVisualStyles = false;
this.dataGridView2.Location = new System.Drawing.Point(699, 163);
this.dataGridView2.Name = "dataGridView2";
this.dataGridView2.RowHeadersVisible = false;
this.dataGridView2.RowHeadersWidth = 45;
this.dataGridView2.RowTemplate.Height = 21;
this.dataGridView2.Size = new System.Drawing.Size(375, 561);
this.dataGridView2.TabIndex = 71;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn9.FillWeight = 50F;
this.dataGridViewTextBoxColumn9.HeaderText = "测试项";
this.dataGridViewTextBoxColumn9.MinimumWidth = 2;
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn10.FillWeight = 50F;
this.dataGridViewTextBoxColumn10.HeaderText = "数据";
this.dataGridViewTextBoxColumn10.MinimumWidth = 2;
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn11.FillWeight = 20F;
this.dataGridViewTextBoxColumn11.HeaderText = "结果";
this.dataGridViewTextBoxColumn11.MinimumWidth = 2;
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToResizeRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridView1.EnableHeadersVisualStyles = false;
this.dataGridView1.Location = new System.Drawing.Point(29, 123);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowHeadersWidth = 45;
this.dataGridView1.RowTemplate.Height = 19;
this.dataGridView1.Size = new System.Drawing.Size(316, 601);
this.dataGridView1.TabIndex = 70;
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.FillWeight = 50F;
this.Column1.HeaderText = "测试项";
this.Column1.MinimumWidth = 2;
this.Column1.Name = "Column1";
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column2.FillWeight = 50F;
this.Column2.HeaderText = "数据";
this.Column2.MinimumWidth = 2;
this.Column2.Name = "Column2";
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column3.FillWeight = 20F;
this.Column3.HeaderText = "结果";
this.Column3.MinimumWidth = 2;
this.Column3.Name = "Column3";
//
// txtStatus
//
this.txtStatus.AutoSize = true;
this.txtStatus.Location = new System.Drawing.Point(50, 81);
this.txtStatus.Name = "txtStatus";
this.txtStatus.Size = new System.Drawing.Size(0, 12);
this.txtStatus.TabIndex = 69;
//
// btnOpen_usb
//
this.btnOpen_usb.Location = new System.Drawing.Point(153, 55);
this.btnOpen_usb.Name = "btnOpen_usb";
this.btnOpen_usb.Size = new System.Drawing.Size(64, 21);
this.btnOpen_usb.TabIndex = 68;
this.btnOpen_usb.Text = "打开";
this.btnOpen_usb.UseVisualStyleBackColor = true;
this.btnOpen_usb.Click += new System.EventHandler(this.btnOpen_usb_Click);
//
// cmbPort
//
this.cmbPort.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbPort.FormattingEnabled = true;
this.cmbPort.Location = new System.Drawing.Point(65, 53);
this.cmbPort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.cmbPort.Name = "cmbPort";
this.cmbPort.Size = new System.Drawing.Size(83, 24);
this.cmbPort.TabIndex = 67;
this.cmbPort.DropDown += new System.EventHandler(this.cmbPort_DropDown);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 10.18868F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(23, 60);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 14);
this.label1.TabIndex = 66;
this.label1.Text = "端口:";
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(1098, 28);
this.menuStrip1.TabIndex = 79;
this.menuStrip1.Text = "menuStrip1";
this.menuStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.menuStrip1_ItemClicked);
//
// 参考信息设置ToolStripMenuItem
//
this.ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "参考信息设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(105, 24);
this.ToolStripMenuItem.Text = "参考信息设置";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 打印较准页ToolStripMenuItem
//
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "打印较准页ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(91, 24);
this.ToolStripMenuItem.Text = "打印较准页";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 手动打印ToolStripMenuItem
//
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "手动打印ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
this.ToolStripMenuItem.Text = "手动打印";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 车型设置ToolStripMenuItem
//
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.yD10ToolStripMenuItem,
this.yD07KToolStripMenuItem});
this.ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ToolStripMenuItem.Name = "车型设置ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
this.ToolStripMenuItem.Text = "车型设置";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// yD10ToolStripMenuItem
//
this.yD10ToolStripMenuItem.Name = "yD10ToolStripMenuItem";
this.yD10ToolStripMenuItem.Size = new System.Drawing.Size(122, 24);
this.yD10ToolStripMenuItem.Text = "YD10";
this.yD10ToolStripMenuItem.Click += new System.EventHandler(this.yD10ToolStripMenuItem_Click);
//
// yD07KToolStripMenuItem
//
this.yD07KToolStripMenuItem.Name = "yD07KToolStripMenuItem";
this.yD07KToolStripMenuItem.Size = new System.Drawing.Size(122, 24);
this.yD07KToolStripMenuItem.Text = "YD07K";
this.yD07KToolStripMenuItem.Click += new System.EventHandler(this.yD07KToolStripMenuItem_Click);
//
// dataGridView3
//
this.dataGridView3.AllowUserToAddRows = false;
this.dataGridView3.AllowUserToResizeRows = false;
this.dataGridView3.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView3.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3});
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView3.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView3.EnableHeadersVisualStyles = false;
this.dataGridView3.Location = new System.Drawing.Point(363, 163);
this.dataGridView3.Name = "dataGridView3";
this.dataGridView3.RowHeadersVisible = false;
this.dataGridView3.RowHeadersWidth = 45;
this.dataGridView3.RowTemplate.Height = 19;
this.dataGridView3.Size = new System.Drawing.Size(316, 561);
this.dataGridView3.TabIndex = 87;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.FillWeight = 50F;
this.dataGridViewTextBoxColumn1.HeaderText = "测试项";
this.dataGridViewTextBoxColumn1.MinimumWidth = 2;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn2.FillWeight = 50F;
this.dataGridViewTextBoxColumn2.HeaderText = "数据";
this.dataGridViewTextBoxColumn2.MinimumWidth = 2;
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.FillWeight = 20F;
this.dataGridViewTextBoxColumn3.HeaderText = "结果";
this.dataGridViewTextBoxColumn3.MinimumWidth = 2;
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 500;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// timer2
//
this.timer2.Enabled = true;
this.timer2.Interval = 50;
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
//
// printDocument1
//
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(311, 96);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(355, 21);
this.textBox3.TabIndex = 89;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(267, 99);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(23, 12);
this.label9.TabIndex = 88;
this.label9.Text = "SN:";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(666, 103);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(0, 12);
this.label10.TabIndex = 91;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Checked = true;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.Location = new System.Drawing.Point(29, 101);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(72, 16);
this.checkBox1.TabIndex = 92;
this.checkBox1.Text = "蓝牙连接";
this.checkBox1.UseVisualStyleBackColor = true;
//
// Form3
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1098, 737);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.label10);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.label9);
this.Controls.Add(this.dataGridView3);
this.Controls.Add(this.label3);
this.Controls.Add(this.label7);
this.Controls.Add(this.checkBox3);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label2);
this.Controls.Add(this.comboBox2);
this.Controls.Add(this.label8);
this.Controls.Add(this.label4);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.checkBox2);
this.Controls.Add(this.dataGridView2);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.txtStatus);
this.Controls.Add(this.btnOpen_usb);
this.Controls.Add(this.cmbPort);
this.Controls.Add(this.label1);
this.Controls.Add(this.menuStrip1);
this.Name = "Form3";
this.Text = "YD07K上位机测试V1.9";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form3_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form3_FormClosed);
this.Load += new System.EventHandler(this.Form3_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.DataGridView dataGridView2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.Label txtStatus;
private System.Windows.Forms.Button btnOpen_usb;
private System.Windows.Forms.ComboBox cmbPort;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem yD10ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem yD07KToolStripMenuItem;
private System.Windows.Forms.DataGridView dataGridView3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Timer timer2;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.CheckBox checkBox1;
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,162 @@
<?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>
<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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</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="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>137, 17</value>
</metadata>
<metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 17</value>
</metadata>
<metadata name="printDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>317, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>55</value>
</metadata>
</root>

@ -0,0 +1,140 @@

namespace YD10
{
partial class Form4
{
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(372, 55);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(95, 46);
this.label1.TabIndex = 19;
this.label1.Text = "注意:可写入的值的参考信息值即是一键写入值";
//
// button1
//
this.button1.Location = new System.Drawing.Point(383, 104);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 18;
this.button1.Text = "保存退出";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToResizeRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.EnableHeadersVisualStyles = false;
this.dataGridView1.Location = new System.Drawing.Point(12, 22);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowHeadersWidth = 45;
this.dataGridView1.RowTemplate.Height = 19;
this.dataGridView1.Size = new System.Drawing.Size(352, 543);
this.dataGridView1.TabIndex = 17;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.FillWeight = 30F;
this.Column1.HeaderText = "测试项";
this.Column1.MinimumWidth = 2;
this.Column1.Name = "Column1";
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column2.FillWeight = 50F;
this.Column2.HeaderText = "标定信息";
this.Column2.MinimumWidth = 2;
this.Column2.Name = "Column2";
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column3.FillWeight = 10F;
this.Column3.HeaderText = "选项";
this.Column3.MinimumWidth = 2;
this.Column3.Name = "Column3";
//
// Form4
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(471, 586);
this.Controls.Add(this.label1);
this.Controls.Add(this.button1);
this.Controls.Add(this.dataGridView1);
this.Name = "Form4";
this.Text = "参考信息设置";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form4_FormClosing);
this.Load += new System.EventHandler(this.Form4_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewCheckBoxColumn Column3;
}
}

@ -0,0 +1,574 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace YD10
{
public partial class Form4 : Form
{
// 在窗口4中
public delegate void Form4ClosedHandler();
public event Form4ClosedHandler Form4Closed;
public Form4()
{
InitializeComponent();
}
int form2_index = 0;
private void Form4_Load(object sender, EventArgs e)
{
my_set();
read();
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = "打印名称设置";
dataGridView1.Rows[form2_index].Cells[1].Value = product;
dataGridView1.Rows[form2_index].Cells[2].Value = true;
for (int i = 0; i < readConfig.Length; i++)
{
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = readConfig[i].name;
dataGridView1.Rows[form2_index].Cells[1].Value = readConfig[i].Svalue;
dataGridView1.Rows[form2_index].Cells[2].Value = readConfig[i].status;
}
for (int i = 0; i < writeConfig.Length; i++)
{
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = writeConfig[i].name;
dataGridView1.Rows[form2_index].Cells[1].Value = writeConfig[i].Svalue;
dataGridView1.Rows[form2_index].Cells[2].Value = writeConfig[i].status;
}
for (int i = 0; i < alm_readConfig.Length; i++)
{
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = alm_readConfig[i].name;
dataGridView1.Rows[form2_index].Cells[1].Value = alm_readConfig[i].Svalue;
dataGridView1.Rows[form2_index].Cells[2].Value = alm_readConfig[i].status;
}
for (int i = 0; i < alm_writeConfig.Length; i++)
{
form2_index = this.dataGridView1.Rows.Add();
dataGridView1.Rows[form2_index].Cells[0].Value = alm_writeConfig[i].name;
dataGridView1.Rows[form2_index].Cells[1].Value = alm_writeConfig[i].Svalue;
dataGridView1.Rows[form2_index].Cells[2].Value = alm_writeConfig[i].status;
}
}
private void button1_Click(object sender, EventArgs e)
{
save();
this.Close(); // 关闭当前窗体
}
private void save()
{
JObject setData_jsonObject = new Newtonsoft.Json.Linq.JObject();
setData_jsonObject.Add("打印名称设置", (string)dataGridView1.Rows[0].Cells[1].Value);
for (int i = 0; i < readConfig.Length; i++)
{
setData_jsonObject.Add(readConfig[i].name, (string)dataGridView1.Rows[i + 1].Cells[1].Value);
}
for (int i = 0; i < writeConfig.Length; i++)
{
setData_jsonObject.Add(writeConfig[i].name, (string)dataGridView1.Rows[i + 32].Cells[1].Value);
}
for (int i = 0; i < alm_readConfig.Length; i++)
{
setData_jsonObject.Add(alm_readConfig[i].name, (string)dataGridView1.Rows[i + 47].Cells[1].Value);
}
for (int i = 0; i < alm_writeConfig.Length; i++)
{
setData_jsonObject.Add(alm_writeConfig[i].name, (string)dataGridView1.Rows[i + 70].Cells[1].Value);
}
for (int i = 0; i < readConfig.Length; i++)
{
setData_jsonObject.Add(readConfig[i].name + "status", readConfig[i].status);
}
for (int i = 0; i < writeConfig.Length; i++)
{
;
setData_jsonObject.Add(writeConfig[i].name + "status", writeConfig[i].status);
}
for (int i = 0; i <alm_readConfig.Length; i++)
{
setData_jsonObject.Add(alm_readConfig[i].name + "status", alm_readConfig[i].status);
}
for (int i = 0; i < alm_writeConfig.Length; i++)
{
;
setData_jsonObject.Add(alm_writeConfig[i].name + "status", alm_writeConfig[i].status);
}
string config_file_str = setData_jsonObject.ToString();
string savePath = Application.StartupPath + @"\\YD07k参考信息.json";
System.IO.File.WriteAllText(savePath, config_file_str, Encoding.UTF8);
}
string product;
private void read()
{
string strLoadConfigFilePath = Application.StartupPath + @"\YD07k参考信息.json";//路径
try
{
using (StreamReader configFile = new StreamReader(strLoadConfigFilePath))
{
string str_data_json = configFile.ReadToEnd(); //这一步至关重要 差一点写错了
JObject object_data_prase_json = (JObject)JsonConvert.DeserializeObject(str_data_json);
if (object_data_prase_json != null)
{
product = (string)object_data_prase_json["打印名称设置"];
for (int i = 0; i < readConfig.Length; i++)
{
readConfig[i].Svalue = (string)object_data_prase_json[readConfig[i].name];
}
for (int i = 0; i < writeConfig.Length; i++)
{
writeConfig[i].Svalue = (string)object_data_prase_json[writeConfig[i].name];
}
for (int i = 0; i < alm_readConfig.Length; i++)
{
alm_readConfig[i].Svalue = (string)object_data_prase_json[alm_readConfig[i].name];
}
for (int i = 0; i < alm_writeConfig.Length; i++)
{
alm_writeConfig[i].Svalue = (string)object_data_prase_json[alm_writeConfig[i].name];
}
for (int i = 0; i < readConfig.Length; i++)
{
readConfig[i].status = (bool)object_data_prase_json[readConfig[i].name + "status"];
}
for (int i = 0; i < writeConfig.Length; i++)
{
writeConfig[i].status = (bool)object_data_prase_json[writeConfig[i].name + "status"];
}
for (int i = 0; i < alm_readConfig.Length; i++)
{
alm_readConfig[i].status = (bool)object_data_prase_json[alm_readConfig[i].name + "status"];
}
for (int i = 0; i < alm_writeConfig.Length; i++)
{
alm_writeConfig[i].status = (bool)object_data_prase_json[alm_writeConfig[i].name + "status"];
}
}
}
}
catch (Exception)
{
}
}
struct myUnitClass2
{
public string DID; //DID
public string name; //名称
public string threshold;
public bool status;
public Int64 Ivalue;
public bool Bvalue;
public string Svalue;
public byte[] Fvalue;
public string sw; //是pass 还是fail , 用于pass排在上上方
};
myUnitClass2[] readConfig = new myUnitClass2[31];
myUnitClass2[] writeConfig = new myUnitClass2[15];
myUnitClass2[] alm_readConfig = new myUnitClass2[23];
myUnitClass2[] alm_writeConfig = new myUnitClass2[5];
private void my_set()
{
//------只读1次-----
readConfig[0].DID = "CF00";
readConfig[0].name = "串口诊断协议版本号";
readConfig[0].status = true;
readConfig[1].DID = "CF01";
readConfig[1].name = "软件版本号";
readConfig[1].status = true;
readConfig[2].DID = "CF02";
readConfig[2].name = "设备IMEI";
readConfig[2].status = true;
readConfig[3].DID = "CF03";
readConfig[3].name = "设备ICCID";
readConfig[3].status = true;
readConfig[4].DID = "CF04";
readConfig[4].name = "GNSS产品型号";
readConfig[4].status = true;
readConfig[5].DID = "CF05";
readConfig[5].name = "GNSS软件版本号";
readConfig[5].status = true;
readConfig[6].DID = "CF06";
readConfig[6].name = "GNSS硬件版本号";
readConfig[6].status = true;
readConfig[7].DID = "CF07";
readConfig[7].name = "SPI FLASH ID";
readConfig[7].status = true;
readConfig[8].DID = "CF08";
readConfig[8].name = "BOOT底层软件版本";
readConfig[8].status = true;
readConfig[9].DID = "CF09";
readConfig[9].name = "BOOT升级协议版本";
readConfig[9].status = true;
readConfig[10].DID = "CF0A";
readConfig[10].name = "通信协议版本号";
readConfig[10].status = true;
readConfig[11].DID = "CF0B";
readConfig[11].name = "备份区软件版本号";
readConfig[11].status = true;
readConfig[12].DID = "CF0C";
readConfig[12].name = "OTA零部件编码";
readConfig[12].status = true;
//------只读N次-----
readConfig[13].DID = "CF80";
readConfig[13].name = "OTA域名";
readConfig[13].status = true;
readConfig[14].DID = "CF81";
readConfig[14].name = "拨号状态";
readConfig[14].status = true;
readConfig[15].DID = "CF82";
readConfig[15].name = "驻网状态";
readConfig[15].status = true;
readConfig[16].DID = "CF83";
readConfig[16].name = "服务器连接状态";
readConfig[16].status = true;
readConfig[17].DID = "CF84";
readConfig[17].name = "GNSS定位状态";
readConfig[17].status = true;
readConfig[18].DID = "CF85";
readConfig[18].name = "GNSS SNR值";
readConfig[18].status = true;
readConfig[19].DID = "CF86";
readConfig[19].name = "RSSI值";
readConfig[19].status = true;
readConfig[20].DID = "CF87";
readConfig[20].name = "RSRP值";
readConfig[20].status = true;
readConfig[21].DID = "CF88";
readConfig[21].name = "RSRQ值";
readConfig[21].status = true;
readConfig[22].DID = "CF89";
readConfig[22].name = "SINR值";
readConfig[22].status = true;
readConfig[23].DID = "CF8A";
readConfig[23].name = "ACC管脚电平状态";
readConfig[23].status = true;
readConfig[24].DID = "CF8B";
readConfig[24].name = "外电电压值";
readConfig[24].status = true;
readConfig[25].DID = "CF8C";
readConfig[25].name = "K线通讯状态";
readConfig[25].status = true;
////新增YD07K
///
readConfig[26].DID = "CF0D";
readConfig[26].name = "GSENSOR地址";
readConfig[26].status = true;
readConfig[27].DID = "CF8D";
readConfig[27].name = "六轴数据校准值";
readConfig[27].status = true;
readConfig[28].DID = "CF8E";
readConfig[28].name = "六轴传感器状态";
readConfig[28].status = true;
readConfig[29].DID = "CF8F";
readConfig[29].name = "音频文件状态";
readConfig[29].status = true;
readConfig[30].DID = "CF90";
readConfig[30].name = "外电电平";
readConfig[30].status = true;
//---alm读节点----
alm_readConfig[0].DID = "CF01";
alm_readConfig[0].name = "alm软件版本号";
alm_readConfig[0].status = true;
alm_readConfig[1].DID = "CFA0";
alm_readConfig[1].name = "ACC1输出";
alm_readConfig[1].status = true;
alm_readConfig[2].DID = "CFA1";
alm_readConfig[2].name = "ACC1预充";
alm_readConfig[2].status = true;
alm_readConfig[3].DID = "CFA2";
alm_readConfig[3].name = "ACC2输出";
alm_readConfig[3].status = true;
alm_readConfig[4].DID = "CFA3";
alm_readConfig[4].name = "ACC2预充";
alm_readConfig[4].status = true;
alm_readConfig[5].DID = "CFA4";
alm_readConfig[5].name = "ACC1输入";
alm_readConfig[5].status = true;
alm_readConfig[6].DID = "CFA5";
alm_readConfig[6].name = "机械钥匙";
alm_readConfig[6].status = true;
alm_readConfig[7].DID = "CFA6";
alm_readConfig[7].name = "ACC2输入";
alm_readConfig[7].status = true;
alm_readConfig[8].DID = "CFA7";
alm_readConfig[8].name = "右转向灯输入";
alm_readConfig[8].status = true;
alm_readConfig[9].DID = "CFA8";
alm_readConfig[9].name = "蓝牙指示灯输出";
alm_readConfig[9].status = true;
alm_readConfig[10].DID = "CFA9";
alm_readConfig[10].name = "双闪输出";
alm_readConfig[10].status = true;
alm_readConfig[11].DID = "CFAA";
alm_readConfig[11].name = "轮动输入";
alm_readConfig[11].status = true;
alm_readConfig[12].DID = "CFAB";
alm_readConfig[12].name = "左转向灯输入";
alm_readConfig[12].status = true;
alm_readConfig[13].DID = "CFAC";
alm_readConfig[13].name = "MOTO_A输出";
alm_readConfig[13].status = true;
alm_readConfig[14].DID = "CFAD";
alm_readConfig[14].name = "MOTO_B输出";
alm_readConfig[14].status = true;
alm_readConfig[15].DID = "CFAE";
alm_readConfig[15].name = "锁电机输出";
alm_readConfig[15].status = true;
alm_readConfig[16].DID = "CFAF";
alm_readConfig[16].name = "电磁阀输出";
alm_readConfig[16].status = true;
alm_readConfig[17].DID = "CFB0";
alm_readConfig[17].name = "一键启动输入";
alm_readConfig[17].status = true;
alm_readConfig[18].DID = "CFB1";
alm_readConfig[18].name = "坐垫感应输入";
alm_readConfig[18].status = true;
alm_readConfig[19].DID = "CFB2";
alm_readConfig[19].name = "alm_外电电压值";
alm_readConfig[19].status = true;
alm_readConfig[20].DID = "CFB3";
alm_readConfig[20].name = "alm_K线通讯";
alm_readConfig[20].status = true;
alm_readConfig[21].DID = "CFB4";
alm_readConfig[21].name = "蓝牙连接";
alm_readConfig[21].status = true;
alm_readConfig[22].DID = "CFB5";
alm_readConfig[22].name = "弹簧振子";
alm_readConfig[22].status = true;
//---alm写节点----
alm_writeConfig[0].DID = "CF4D";
alm_writeConfig[0].name = "alm_外电电压AD比例值";
alm_writeConfig[0].status = true;
alm_writeConfig[1].DID = "CF61";
alm_writeConfig[1].name = "alm_音量等级";
alm_writeConfig[1].status = true;
alm_writeConfig[2].DID = "CF62";
alm_writeConfig[2].name = "alm_声音主题";
alm_writeConfig[2].status = true;
alm_writeConfig[3].DID = "CF63";
alm_writeConfig[3].name = "alm_ACC电压AD分压比例值";
alm_writeConfig[3].status = true;
alm_writeConfig[4].DID = "CF64";
alm_writeConfig[4].name = "alm_蓝牙MCA地址";
alm_writeConfig[4].status = true;
//-----读写----
writeConfig[0].DID = "CF40";
writeConfig[0].name = "硬件版本号";
writeConfig[0].status = true;
writeConfig[1].DID = "CF41";
writeConfig[1].name = "产品型号";
writeConfig[1].status = true;
writeConfig[2].DID = "CF42";
writeConfig[2].name = "产品识别码";
writeConfig[2].status = true;
writeConfig[3].DID = "CF43";
writeConfig[3].name = "产商识别码";
writeConfig[3].status = true;
writeConfig[4].DID = "CF44";
writeConfig[4].name = "客户识别码";
writeConfig[4].status = true;
// writeConfig[6].DID = "CF45";
// writeConfig[6].name = "生产日十位";
writeConfig[5].DID = "CF46";
writeConfig[5].name = "生产日";
writeConfig[5].status = true;
writeConfig[6].DID = "CF47";
writeConfig[6].name = "生产月份";
writeConfig[6].status = true;
// writeConfig[7].DID = "CF48";
//writeConfig[7].name = "生产年份十位";
writeConfig[7].DID = "CF49";
writeConfig[7].name = "生产年份";
writeConfig[7].status = true;
writeConfig[8].DID = "CF4A";
writeConfig[8].name = "流水号";
writeConfig[8].status = true;
writeConfig[9].DID = "CF4B";
writeConfig[9].name = "服务器域名";
writeConfig[9].status = true;
writeConfig[10].DID = "CF4C";
writeConfig[10].name = "服务器端口号";
writeConfig[10].status = true;
writeConfig[11].DID = "CF4D";
writeConfig[11].name = "外电电压AD比列值";
writeConfig[11].status = true;
writeConfig[12].DID = "CF4E";
writeConfig[12].name = "物料编码";
writeConfig[12].status = true;
writeConfig[13].DID = "CF4F";
writeConfig[13].name = "供应商编码";
writeConfig[13].status = true;
writeConfig[14].DID = "CF50";
writeConfig[14].name = "批次号";
writeConfig[14].status = true;
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
for (int i = 0; i < readConfig.Length; i++)
{
if ((bool)dataGridView1.Rows[i + 1].Cells[2].EditedFormattedValue == true)
{
readConfig[i].status = true;
}
else
{
readConfig[i].status = false;
}
}
for (int i = 0; i < writeConfig.Length; i++)
{
if ((bool)dataGridView1.Rows[i + 32].Cells[2].EditedFormattedValue == true)
{
writeConfig[i].status = true;
}
else
{
writeConfig[i].status = false;
}
}
for (int i = 0; i < alm_readConfig.Length; i++)
{
if ((bool)dataGridView1.Rows[i + 47].Cells[2].EditedFormattedValue == true)
{
alm_readConfig[i].status = true;
}
else
{
alm_readConfig[i].status = false;
}
}
for (int i = 0; i < alm_writeConfig.Length; i++)
{
if ((bool)dataGridView1.Rows[i + 70].Cells[2].EditedFormattedValue == true)
{
alm_writeConfig[i].status = true;
}
else
{
alm_writeConfig[i].status = false;
}
}
}
private void Form4_FormClosing(object sender, FormClosingEventArgs e)
{
Form4Closed?.Invoke();
}
}
}

@ -0,0 +1,129 @@
<?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>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

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

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

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace YD10.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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("YD10测试机.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;
}
}
}
}

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

@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace YD10.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.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,52 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bluetoolth
{
public class Utility
{
//服务
public static String UUID_SERVER = "0000ff12-0000-1000-8000-00805f9b34fb";
//间隔
public static String UUID_Interval = "0000ff04-0000-1000-8000-00805f9b34fb";
//写 WriteWithoutResponse
public static string UUID_Write = "0000ff01-0000-1000-8000-00805f9b34fb";
//读 Notify
public static string UUID_Read = "0000ff02-0000-1000-8000-00805f9b34fb";
//名字 Read Write
public static String UUID_Name = "0000ff06-0000-1000-8000-00805f9b34fb";
public static Guid UUID_CONFIG_DESCRIPTOR = Guid.Parse("00002902-0000-1000-8000-00805f9b34fb");
public static Guid UUID_HEART_RATE_MEASUREMENT = Guid
.Parse("00002a37-0000-1000-8000-00805f9b34fb");
/// <summary>
/// CRC校验
/// </summary>
/// <param name="data"></param>
/// <param name="length"></param>
/// <returns></returns>
public static ushort CRC(byte[] data, int length)
{
ushort tempCrcResult = 0xffff;
for (int i = 0; i < length; i++)
{
tempCrcResult = (ushort)(tempCrcResult ^ data[i]);
for (int j = 0; j < 8; j++)
{
if ((tempCrcResult & 0x0001) == 1)
tempCrcResult = (ushort)((tempCrcResult >> 1) ^ 0xa001);
else tempCrcResult = (ushort)(tempCrcResult >> 1);
}
}
return (tempCrcResult = (ushort)(((tempCrcResult & 0xff) << 8) | (tempCrcResult >> 8)));
}
}
}

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{32F563DD-18CA-4F54-B8E0-6F2B472371D7}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>YD10测试机</RootNamespace>
<AssemblyName>YD10测试机</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ao05f-g71fo-001.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="ThoughtWorks.QRCode, Version=1.0.4778.30637, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\ThoughtWorks.QRCode.dll</HintPath>
</Reference>
<Reference Include="Windows, Version=255.255.255.255, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\Windows.winmd</HintPath>
</Reference>
<Reference Include="zxing, Version=0.12.0.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\zxing.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="BarCodeClass.cs" />
<Compile Include="BleCore.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="Form3.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form3.Designer.cs">
<DependentUpon>Form3.cs</DependentUpon>
</Compile>
<Compile Include="Form4.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form4.Designer.cs">
<DependentUpon>Form4.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utility.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form3.resx">
<DependentUpon>Form3.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form4.resx">
<DependentUpon>Form4.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="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>
<Content Include="ao05f-g71fo-001.ico" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.Contracts">
<Version>10.0.26100.1742</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

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

@ -0,0 +1,151 @@
{
"打印名称设置": "IOT(JW)",
"串口诊断协议版本号": null,
"软件版本号": null,
"设备IMEI": null,
"设备ICCID": null,
"GNSS产品型号": null,
"GNSS软件版本号": null,
"GNSS硬件版本号": null,
"SPI FLASH ID": null,
"BOOT底层软件版本": null,
"BOOT升级协议版本": null,
"通信协议版本号": null,
"备份区软件版本号": null,
"OTA零部件编码": "1044",
"OTA域名": "https://gw.alitest.yadeaiot.com.cn/api/open",
"拨号状态": "1(不可更改)",
"驻网状态": "1(不可更改)",
"服务器连接状态": "1(不可更改)",
"GNSS定位状态": "1(不可更改)",
"GNSS SNR值": "35(默认4个值>=35可改)",
"RSSI值": ">=-80(不可更改)",
"RSRP值": "-92~-94",
"RSRQ值": "-20~-50",
"SINR值": ">=0(不可更改)",
"ACC管脚电平状态": "1",
"外电电压值": "30(误差1)",
"K线通讯状态": "1(不可更改)",
"GSENSOR地址": null,
"六轴数据校准值": null,
"六轴传感器状态": null,
"音频文件状态": null,
"外电电平": null,
"硬件版本号": "12",
"产品型号": "50",
"产品识别码": "IOT",
"产商识别码": "嘉为",
"客户识别码": null,
"生产日": "(不填)",
"生产月份": "(不填)",
"生产年份": "(不填)",
"流水号": "(不填)",
"服务器域名": "cars.test.yadeaiot.com.cn",
"服务器端口号": "6201",
"外电电压AD比列值": "111294",
"物料编码": "(不填)",
"供应商编码": "(不填)",
"批次号": "(不填)",
"alm软件版本号": null,
"ACC1输出": null,
"ACC1预充": null,
"ACC2输出": null,
"ACC2预充": null,
"ACC1输入": null,
"机械钥匙": null,
"ACC2输入": null,
"右转向灯输入": null,
"蓝牙指示灯输出": null,
"双闪输出": null,
"轮动输入": null,
"左转向灯输入": null,
"MOTO_A输出": null,
"MOTO_B输出": null,
"锁电机输出": null,
"电磁阀输出": null,
"一键启动输入": null,
"坐垫感应输入": null,
"alm_外电电压值": null,
"alm_K线通讯": null,
"蓝牙连接": null,
"弹簧振子": null,
"alm_外电电压AD比例值": null,
"alm_音量等级": null,
"alm_声音主题": null,
"alm_ACC电压AD分压比例值": null,
"alm_蓝牙MCA地址": null,
"串口诊断协议版本号status": true,
"软件版本号status": true,
"设备IMEIstatus": true,
"设备ICCIDstatus": true,
"GNSS产品型号status": true,
"GNSS软件版本号status": true,
"GNSS硬件版本号status": true,
"SPI FLASH IDstatus": true,
"BOOT底层软件版本status": true,
"BOOT升级协议版本status": true,
"通信协议版本号status": true,
"备份区软件版本号status": true,
"OTA零部件编码status": true,
"OTA域名status": true,
"拨号状态status": true,
"驻网状态status": true,
"服务器连接状态status": true,
"GNSS定位状态status": true,
"GNSS SNR值status": true,
"RSSI值status": true,
"RSRP值status": true,
"RSRQ值status": true,
"SINR值status": true,
"ACC管脚电平状态status": true,
"外电电压值status": true,
"K线通讯状态status": true,
"GSENSOR地址status": true,
"六轴数据校准值status": true,
"六轴传感器状态status": true,
"音频文件状态status": true,
"外电电平status": true,
"硬件版本号status": true,
"产品型号status": true,
"产品识别码status": true,
"产商识别码status": true,
"客户识别码status": true,
"生产日status": true,
"生产月份status": true,
"生产年份status": true,
"流水号status": true,
"服务器域名status": true,
"服务器端口号status": true,
"外电电压AD比列值status": true,
"物料编码status": true,
"供应商编码status": true,
"批次号status": true,
"alm软件版本号status": true,
"ACC1输出status": true,
"ACC1预充status": true,
"ACC2输出status": true,
"ACC2预充status": true,
"ACC1输入status": true,
"机械钥匙status": true,
"ACC2输入status": true,
"右转向灯输入status": true,
"蓝牙指示灯输出status": true,
"双闪输出status": true,
"轮动输入status": true,
"左转向灯输入status": true,
"MOTO_A输出status": true,
"MOTO_B输出status": true,
"锁电机输出status": true,
"电磁阀输出status": true,
"一键启动输入status": true,
"坐垫感应输入status": true,
"alm_外电电压值status": true,
"alm_K线通讯status": true,
"蓝牙连接status": true,
"弹簧振子status": true,
"alm_外电电压AD比例值status": true,
"alm_音量等级status": true,
"alm_声音主题status": true,
"alm_ACC电压AD分压比例值status": true,
"alm_蓝牙MCA地址status": true
}

@ -0,0 +1,7 @@
{
"打印机": "",
"张数": "",
"自动打印机": true,
"自动蓝牙连接": true,
"号码校验": false
}

@ -0,0 +1,85 @@
{
"打印名称设置": "IOT(JW)",
"串口诊断协议版本号": null,
"软件版本号": null,
"设备IMEI": null,
"设备ICCID": null,
"GNSS产品型号": null,
"GNSS软件版本号": null,
"GNSS硬件版本号": null,
"SPI FLASH ID": null,
"BOOT底层软件版本": null,
"BOOT升级协议版本": null,
"通信协议版本号": null,
"备份区软件版本号": null,
"OTA零部件编码": "1044",
"OTA域名": "https://gw.alitest.yadeaiot.com.cn/api/open",
"拨号状态": "1(不可更改)",
"驻网状态": "1(不可更改)",
"服务器连接状态": "1(不可更改)",
"GNSS定位状态": "1(不可更改)",
"GNSS SNR值": "35(默认4个值>=35可改)",
"RSSI值": "-80(雅迪参考值>=-80)",
"RSRP值": "-92~-94",
"RSRQ值": "-20~-50",
"SINR值": "0(雅迪参考值>=0)",
"ACC管脚电平状态": "1",
"外电电压值": "30(误差1)",
"K线通讯状态": "1(不可更改)",
"硬件版本号": "12",
"产品型号": "50",
"产品识别码": "IOT",
"产商识别码": "嘉为",
"客户识别码": null,
"生产日": "(不填)",
"生产月份": "(不填)",
"生产年份": "(不填)",
"流水号": "(不填)",
"服务器域名": "cars.test.yadeaiot.com.cn",
"服务器端口号": "6201",
"外电电压AD比列值": "111294",
"物料编码": "(不填)",
"供应商编码": "(不填)",
"批次号": "(不填)",
"串口诊断协议版本号status": true,
"软件版本号status": true,
"设备IMEIstatus": true,
"设备ICCIDstatus": true,
"GNSS产品型号status": true,
"GNSS软件版本号status": true,
"GNSS硬件版本号status": true,
"SPI FLASH IDstatus": true,
"BOOT底层软件版本status": true,
"BOOT升级协议版本status": true,
"通信协议版本号status": true,
"备份区软件版本号status": true,
"OTA零部件编码status": true,
"OTA域名status": true,
"拨号状态status": true,
"驻网状态status": true,
"服务器连接状态status": true,
"GNSS定位状态status": true,
"GNSS SNR值status": true,
"RSSI值status": true,
"RSRP值status": true,
"RSRQ值status": true,
"SINR值status": true,
"ACC管脚电平状态status": true,
"外电电压值status": true,
"K线通讯状态status": true,
"硬件版本号status": true,
"产品型号status": true,
"产品识别码status": true,
"产商识别码status": true,
"客户识别码status": true,
"生产日status": true,
"生产月份status": true,
"生产年份status": true,
"流水号status": true,
"服务器域名status": true,
"服务器端口号status": true,
"外电电压AD比列值status": true,
"物料编码status": true,
"供应商编码status": true,
"批次号status": true
}

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

@ -0,0 +1,6 @@
{
"打印机": "",
"张数": "",
"自动打印机": true,
"号码校验": false
}

Binary file not shown.

@ -0,0 +1,85 @@
{
"打印名称设置": "IOT(JW)",
"串口诊断协议版本号": null,
"软件版本号": null,
"设备IMEI": null,
"设备ICCID": null,
"GNSS产品型号": null,
"GNSS软件版本号": null,
"GNSS硬件版本号": null,
"SPI FLASH ID": null,
"BOOT底层软件版本": null,
"BOOT升级协议版本": null,
"通信协议版本号": null,
"备份区软件版本号": null,
"OTA零部件编码": "1044",
"OTA域名": "https://gw.alitest.yadeaiot.com.cn/api/open",
"拨号状态": "1(不可更改)",
"驻网状态": "1(不可更改)",
"服务器连接状态": "1(不可更改)",
"GNSS定位状态": "1(不可更改)",
"GNSS SNR值": "35(默认4个值>=35可改)",
"RSSI值": ">=-80(不可更改)",
"RSRP值": "-92~-94",
"RSRQ值": "-20~-50",
"SINR值": ">=0(不可更改)",
"ACC管脚电平状态": "1",
"外电电压值": "30(误差1)",
"K线通讯状态": "1(不可更改)",
"硬件版本号": "12",
"产品型号": "50",
"产品识别码": "IOT",
"产商识别码": "嘉为",
"客户识别码": null,
"生产日": "(不填)",
"生产月份": "(不填)",
"生产年份": "(不填)",
"流水号": "(不填)",
"服务器域名": "cars.test.yadeaiot.com.cn",
"服务器端口号": "6201",
"外电电压AD比列值": "111294",
"物料编码": "(不填)",
"供应商编码": "(不填)",
"批次号": "(不填)",
"串口诊断协议版本号status": true,
"软件版本号status": true,
"设备IMEIstatus": true,
"设备ICCIDstatus": true,
"GNSS产品型号status": true,
"GNSS软件版本号status": true,
"GNSS硬件版本号status": true,
"SPI FLASH IDstatus": true,
"BOOT底层软件版本status": true,
"BOOT升级协议版本status": true,
"通信协议版本号status": true,
"备份区软件版本号status": true,
"OTA零部件编码status": true,
"OTA域名status": true,
"拨号状态status": true,
"驻网状态status": true,
"服务器连接状态status": true,
"GNSS定位状态status": false,
"GNSS SNR值status": false,
"RSSI值status": true,
"RSRP值status": false,
"RSRQ值status": false,
"SINR值status": true,
"ACC管脚电平状态status": false,
"外电电压值status": false,
"K线通讯状态status": false,
"硬件版本号status": true,
"产品型号status": true,
"产品识别码status": true,
"产商识别码status": true,
"客户识别码status": true,
"生产日status": true,
"生产月份status": true,
"生产年份status": true,
"流水号status": true,
"服务器域名status": true,
"服务器端口号status": true,
"外电电压AD比列值status": true,
"物料编码status": true,
"供应商编码status": true,
"批次号status": true
}

@ -0,0 +1,6 @@
{
"打印机": "导出为WPS PDF",
"张数": "1",
"自动打印机": true,
"号码校验": false
}

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

@ -0,0 +1,84 @@
{
"串口诊断协议版本号": null,
"软件版本号": null,
"设备IMEI": null,
"设备ICCID": null,
"GNSS产品型号": null,
"GNSS软件版本号": null,
"GNSS硬件版本号": null,
"SPI FLASH ID": null,
"BOOT底层软件版本": null,
"BOOT升级协议版本": null,
"通信协议版本号": null,
"备份区软件版本号": null,
"OTA零部件编码": "1044",
"OTA域名": "https://gw.alitest.yadeaiot.com.cn/api/open",
"拨号状态": "1(不可更改)",
"驻网状态": "1(不可更改)",
"服务器连接状态": "1(不可更改)",
"GNSS定位状态": "1(不可更改)",
"GNSS SNR值": "35(默认4个值>=35可改)",
"RSSI值": ">=-80(不可更改)",
"RSRP值": "-92~-94",
"RSRQ值": "-20~-50",
"SINR值": ">=0(不可更改)",
"ACC管脚电平状态": "1",
"外电电压值": "30(误差1)",
"K线通讯状态": "1(不可更改)",
"硬件版本号": "12",
"产品型号": "50",
"产品识别码": "IOT",
"产商识别码": "嘉为",
"客户识别码": null,
"生产日": "(不填)",
"生产月份": "(不填)",
"生产年份": "(不填)",
"流水号": "(不填)",
"服务器域名": "cars.test.yadeaiot.com.cn",
"服务器端口号": "6201",
"外电电压AD比列值": "111294",
"物料编码": "(不填)",
"供应商编码": "(不填)",
"批次号": "(不填)",
"串口诊断协议版本号status": true,
"软件版本号status": true,
"设备IMEIstatus": true,
"设备ICCIDstatus": true,
"GNSS产品型号status": true,
"GNSS软件版本号status": true,
"GNSS硬件版本号status": true,
"SPI FLASH IDstatus": true,
"BOOT底层软件版本status": true,
"BOOT升级协议版本status": true,
"通信协议版本号status": true,
"备份区软件版本号status": true,
"OTA零部件编码status": true,
"OTA域名status": true,
"拨号状态status": true,
"驻网状态status": true,
"服务器连接状态status": true,
"GNSS定位状态status": true,
"GNSS SNR值status": true,
"RSSI值status": true,
"RSRP值status": true,
"RSRQ值status": true,
"SINR值status": true,
"ACC管脚电平状态status": true,
"外电电压值status": true,
"K线通讯状态status": true,
"硬件版本号status": true,
"产品型号status": true,
"产品识别码status": true,
"产商识别码status": true,
"客户识别码status": true,
"生产日status": true,
"生产月份status": true,
"生产年份status": true,
"流水号status": true,
"服务器域名status": true,
"服务器端口号status": true,
"外电电压AD比列值status": true,
"物料编码status": true,
"供应商编码status": true,
"批次号status": true
}

@ -0,0 +1,6 @@
{
"打印机": "导出为WPS PDF",
"张数": "1",
"自动打印机": true,
"号码校验": false
}

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

@ -0,0 +1,14 @@
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.csproj.AssemblyReference.cache
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.Form1.resources
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.Properties.Resources.resources
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.csproj.GenerateResource.cache
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.csproj.CoreCompileInputs.cache
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\bin\Debug\YD10测试机.exe
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\bin\Debug\YD10测试机.pdb
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.exe
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.pdb
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.Form2.resources
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\bin\Debug\YD10测试机.exe.config
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.csproj.CopyComplete
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.Form3.resources
C:\Users\Administrator\Documents\YD10测试机\YD10测试机\obj\Debug\YD10测试机.Form4.resources

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]

@ -0,0 +1,57 @@
{
"format": 1,
"restore": {
"C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\YD10测试机.csproj": {}
},
"projects": {
"C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\YD10测试机.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\YD10测试机.csproj",
"projectName": "YD10测试机",
"projectPath": "C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\YD10测试机.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\obj\\",
"projectStyle": "PackageReference",
"skipContentFileWrite": true,
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net45"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net45": {
"projectReferences": {}
}
}
},
"frameworks": {
"net45": {
"dependencies": {
"Microsoft.Windows.SDK.Contracts": {
"target": "Package",
"version": "[10.0.26100.1742, )"
}
}
}
},
"runtimes": {
"win": {
"#import": []
},
"win-x64": {
"#import": []
},
"win-x86": {
"#import": []
}
}
}
}
}

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.6</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Administrator\.nuget\packages\" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.windows.sdk.contracts\10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.props" Condition="Exists('$(NuGetPackageRoot)microsoft.windows.sdk.contracts\10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.props')" />
</ImportGroup>
</Project>

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.runtime.windowsruntime\4.6.0\buildTransitive\net45\System.Runtime.WindowsRuntime.targets" Condition="Exists('$(NuGetPackageRoot)system.runtime.windowsruntime\4.6.0\buildTransitive\net45\System.Runtime.WindowsRuntime.targets')" />
<Import Project="$(NuGetPackageRoot)system.runtime.windowsruntime.ui.xaml\4.6.0\build\net45\System.Runtime.WindowsRuntime.UI.Xaml.targets" Condition="Exists('$(NuGetPackageRoot)system.runtime.windowsruntime.ui.xaml\4.6.0\build\net45\System.Runtime.WindowsRuntime.UI.Xaml.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.windows.sdk.contracts\10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.windows.sdk.contracts\10.0.26100.1742\build\Microsoft.Windows.SDK.Contracts.targets')" />
</ImportGroup>
</Project>

@ -0,0 +1,659 @@
{
"version": 3,
"targets": {
".NETFramework,Version=v4.5": {
"Microsoft.Windows.SDK.Contracts/10.0.26100.1742": {
"type": "package",
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.3.0",
"System.Runtime.WindowsRuntime": "4.6.0",
"System.Runtime.WindowsRuntime.UI.Xaml": "4.6.0"
},
"build": {
"build/Microsoft.Windows.SDK.Contracts.props": {},
"build/Microsoft.Windows.SDK.Contracts.targets": {}
}
},
"System.Runtime.InteropServices.WindowsRuntime/4.3.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
}
},
"System.Runtime.WindowsRuntime/4.6.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"buildTransitive/net45/System.Runtime.WindowsRuntime.targets": {}
}
},
"System.Runtime.WindowsRuntime.UI.Xaml/4.6.0": {
"type": "package",
"dependencies": {
"System.Runtime.WindowsRuntime": "4.6.0"
},
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"build/net45/System.Runtime.WindowsRuntime.UI.Xaml.targets": {}
}
}
},
".NETFramework,Version=v4.5/win": {
"Microsoft.Windows.SDK.Contracts/10.0.26100.1742": {
"type": "package",
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.3.0",
"System.Runtime.WindowsRuntime": "4.6.0",
"System.Runtime.WindowsRuntime.UI.Xaml": "4.6.0"
},
"build": {
"build/Microsoft.Windows.SDK.Contracts.props": {},
"build/Microsoft.Windows.SDK.Contracts.targets": {}
}
},
"System.Runtime.InteropServices.WindowsRuntime/4.3.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
}
},
"System.Runtime.WindowsRuntime/4.6.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"buildTransitive/net45/System.Runtime.WindowsRuntime.targets": {}
}
},
"System.Runtime.WindowsRuntime.UI.Xaml/4.6.0": {
"type": "package",
"dependencies": {
"System.Runtime.WindowsRuntime": "4.6.0"
},
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"build/net45/System.Runtime.WindowsRuntime.UI.Xaml.targets": {}
}
}
},
".NETFramework,Version=v4.5/win-x64": {
"Microsoft.Windows.SDK.Contracts/10.0.26100.1742": {
"type": "package",
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.3.0",
"System.Runtime.WindowsRuntime": "4.6.0",
"System.Runtime.WindowsRuntime.UI.Xaml": "4.6.0"
},
"build": {
"build/Microsoft.Windows.SDK.Contracts.props": {},
"build/Microsoft.Windows.SDK.Contracts.targets": {}
}
},
"System.Runtime.InteropServices.WindowsRuntime/4.3.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
}
},
"System.Runtime.WindowsRuntime/4.6.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"buildTransitive/net45/System.Runtime.WindowsRuntime.targets": {}
}
},
"System.Runtime.WindowsRuntime.UI.Xaml/4.6.0": {
"type": "package",
"dependencies": {
"System.Runtime.WindowsRuntime": "4.6.0"
},
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"build/net45/System.Runtime.WindowsRuntime.UI.Xaml.targets": {}
}
}
},
".NETFramework,Version=v4.5/win-x86": {
"Microsoft.Windows.SDK.Contracts/10.0.26100.1742": {
"type": "package",
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.3.0",
"System.Runtime.WindowsRuntime": "4.6.0",
"System.Runtime.WindowsRuntime.UI.Xaml": "4.6.0"
},
"build": {
"build/Microsoft.Windows.SDK.Contracts.props": {},
"build/Microsoft.Windows.SDK.Contracts.targets": {}
}
},
"System.Runtime.InteropServices.WindowsRuntime/4.3.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
}
},
"System.Runtime.WindowsRuntime/4.6.0": {
"type": "package",
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"buildTransitive/net45/System.Runtime.WindowsRuntime.targets": {}
}
},
"System.Runtime.WindowsRuntime.UI.Xaml/4.6.0": {
"type": "package",
"dependencies": {
"System.Runtime.WindowsRuntime": "4.6.0"
},
"compile": {
"ref/net45/_._": {}
},
"runtime": {
"lib/net45/_._": {}
},
"build": {
"build/net45/System.Runtime.WindowsRuntime.UI.Xaml.targets": {}
}
}
}
},
"libraries": {
"Microsoft.Windows.SDK.Contracts/10.0.26100.1742": {
"sha512": "i7FoN7nBn805fgMhkQlSMUNvJVgUXMquDco3ItGc/h3jil9lOPdtoFSpx/NDNdlkNbBh1LW1shbAAeUpEnYZNw==",
"type": "package",
"path": "microsoft.windows.sdk.contracts/10.0.26100.1742",
"files": [
".nupkg.metadata",
".signature.p7s",
"build/Microsoft.Windows.SDK.Contracts.props",
"build/Microsoft.Windows.SDK.Contracts.targets",
"c/Catalogs/cat353be8f91891a6a5761b9ac157fa2ff1.cat",
"c/Catalogs/cat4ec14c5368b7642563c070cd168960a8.cat",
"c/Catalogs/cate59830bab4961666e8d8c2af1e5fa771.cat",
"c/Catalogs/catf105a73f98cfc88c7b64d8f7b39a474c.cat",
"microsoft.windows.sdk.contracts.10.0.26100.1742.nupkg.sha512",
"microsoft.windows.sdk.contracts.nuspec",
"ref/netstandard2.0/Windows.AI.MachineLearning.MachineLearningContract.winmd",
"ref/netstandard2.0/Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Activation.ActivatedEventsContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Activation.ActivationCameraSettingsContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Activation.ContactActivatedEventsContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Calls.Background.CallsBackgroundContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Calls.CallsPhoneContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Calls.CallsVoipContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Calls.LockScreenCallContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.FullTrustAppContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspaceContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Preview.Notes.PreviewNotesContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Resources.Management.ResourceIndexerContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Search.Core.SearchCoreContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Search.SearchContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.SocialInfo.SocialInfoContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.StartupTaskContract.winmd",
"ref/netstandard2.0/Windows.ApplicationModel.Wallet.WalletContract.winmd",
"ref/netstandard2.0/Windows.Devices.Custom.CustomDeviceContract.winmd",
"ref/netstandard2.0/Windows.Devices.DevicesLowLevelContract.winmd",
"ref/netstandard2.0/Windows.Devices.Portable.PortableDeviceContract.winmd",
"ref/netstandard2.0/Windows.Devices.Power.PowerGridApiContract.winmd",
"ref/netstandard2.0/Windows.Devices.Printers.Extensions.ExtensionsContract.winmd",
"ref/netstandard2.0/Windows.Devices.Printers.PrintersContract.winmd",
"ref/netstandard2.0/Windows.Devices.Scanners.ScannerDeviceContract.winmd",
"ref/netstandard2.0/Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract.winmd",
"ref/netstandard2.0/Windows.Devices.SmartCards.SmartCardEmulatorContract.winmd",
"ref/netstandard2.0/Windows.Devices.Sms.LegacySmsApiContract.winmd",
"ref/netstandard2.0/Windows.Embedded.DeviceLockdown.DeviceLockdownContract.winmd",
"ref/netstandard2.0/Windows.Foundation.FoundationContract.winmd",
"ref/netstandard2.0/Windows.Foundation.UniversalApiContract.winmd",
"ref/netstandard2.0/Windows.Gaming.Input.GamingInputPreviewContract.winmd",
"ref/netstandard2.0/Windows.Gaming.Preview.GamesEnumerationContract.winmd",
"ref/netstandard2.0/Windows.Gaming.UI.GameChatOverlayContract.winmd",
"ref/netstandard2.0/Windows.Gaming.UI.GamingUIProviderContract.winmd",
"ref/netstandard2.0/Windows.Gaming.XboxLive.StorageApiContract.winmd",
"ref/netstandard2.0/Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract.winmd",
"ref/netstandard2.0/Windows.Graphics.Printing3D.Printing3DContract.winmd",
"ref/netstandard2.0/Windows.Management.Deployment.Preview.DeploymentPreviewContract.winmd",
"ref/netstandard2.0/Windows.Management.Deployment.SharedPackageContainerContract.winmd",
"ref/netstandard2.0/Windows.Management.Update.WindowsUpdateContract.winmd",
"ref/netstandard2.0/Windows.Management.Workplace.WorkplaceSettingsContract.winmd",
"ref/netstandard2.0/Windows.Media.AppBroadcasting.AppBroadcastingContract.winmd",
"ref/netstandard2.0/Windows.Media.AppRecording.AppRecordingContract.winmd",
"ref/netstandard2.0/Windows.Media.Capture.AppBroadcastContract.winmd",
"ref/netstandard2.0/Windows.Media.Capture.AppCaptureContract.winmd",
"ref/netstandard2.0/Windows.Media.Capture.AppCaptureMetadataContract.winmd",
"ref/netstandard2.0/Windows.Media.Capture.CameraCaptureUIContract.winmd",
"ref/netstandard2.0/Windows.Media.Capture.GameBarContract.winmd",
"ref/netstandard2.0/Windows.Media.Devices.CallControlContract.winmd",
"ref/netstandard2.0/Windows.Media.MediaControlContract.winmd",
"ref/netstandard2.0/Windows.Media.Playlists.PlaylistsContract.winmd",
"ref/netstandard2.0/Windows.Media.Protection.ProtectionRenewalContract.winmd",
"ref/netstandard2.0/Windows.Networking.Connectivity.WwanContract.winmd",
"ref/netstandard2.0/Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.winmd",
"ref/netstandard2.0/Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract.WinMD",
"ref/netstandard2.0/Windows.Networking.Sockets.ControlChannelTriggerContract.winmd",
"ref/netstandard2.0/Windows.Networking.XboxLive.XboxLiveSecureSocketsContract.winmd",
"ref/netstandard2.0/Windows.Perception.Automation.Core.PerceptionAutomationCoreContract.winmd",
"ref/netstandard2.0/Windows.Phone.PhoneContract.winmd",
"ref/netstandard2.0/Windows.Phone.StartScreen.DualSimTileContract.WinMD",
"ref/netstandard2.0/Windows.Security.EnterpriseData.EnterpriseDataContract.winmd",
"ref/netstandard2.0/Windows.Security.ExchangeActiveSyncProvisioning.EasContract.winmd",
"ref/netstandard2.0/Windows.Security.Isolation.Isolatedwindowsenvironmentcontract.winmd",
"ref/netstandard2.0/Windows.Services.Maps.GuidanceContract.winmd",
"ref/netstandard2.0/Windows.Services.Maps.LocalSearchContract.winmd",
"ref/netstandard2.0/Windows.Services.Store.StoreContract.winmd",
"ref/netstandard2.0/Windows.Services.TargetedContent.TargetedContentContract.winmd",
"ref/netstandard2.0/Windows.Storage.Provider.CloudFilesContract.winmd",
"ref/netstandard2.0/Windows.System.Profile.ProfileHardwareTokenContract.winmd",
"ref/netstandard2.0/Windows.System.Profile.ProfileRetailInfoContract.winmd",
"ref/netstandard2.0/Windows.System.Profile.ProfileSharedModeContract.winmd",
"ref/netstandard2.0/Windows.System.Profile.SystemManufacturers.SystemManufacturersContract.winmd",
"ref/netstandard2.0/Windows.System.SystemManagementContract.winmd",
"ref/netstandard2.0/Windows.System.UserProfile.UserProfileContract.winmd",
"ref/netstandard2.0/Windows.System.UserProfile.UserProfileLockScreenContract.winmd",
"ref/netstandard2.0/Windows.UI.ApplicationSettings.ApplicationsSettingsContract.winmd",
"ref/netstandard2.0/Windows.UI.Core.AnimationMetrics.AnimationMetricsContract.winmd",
"ref/netstandard2.0/Windows.UI.Core.CoreWindowDialogsContract.winmd",
"ref/netstandard2.0/Windows.UI.Shell.SecurityAppManagerContract.winmd",
"ref/netstandard2.0/Windows.UI.Shell.WindowTabManagerContract.winmd",
"ref/netstandard2.0/Windows.UI.UIAutomation.UIAutomationContract.winmd",
"ref/netstandard2.0/Windows.UI.ViewManagement.ViewManagementViewScalingContract.winmd",
"ref/netstandard2.0/Windows.UI.WebUI.Core.WebUICommandBarContract.winmd",
"ref/netstandard2.0/Windows.UI.Xaml.Core.Direct.XamlDirectContract.winmd",
"ref/netstandard2.0/Windows.UI.Xaml.Hosting.HostingContract.winmd",
"ref/netstandard2.0/Windows.Web.Http.Diagnostics.HttpDiagnosticsContract.winmd",
"ref/netstandard2.0/Windows.WinMD",
"ref/netstandard2.0/en/Windows.AI.MachineLearning.MachineLearningContract.xml",
"ref/netstandard2.0/en/Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Activation.ActivatedEventsContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Activation.ActivationCameraSettingsContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Activation.ContactActivatedEventsContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Calls.Background.CallsBackgroundContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Calls.CallsPhoneContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Calls.CallsVoipContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Calls.LockScreenCallContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.FullTrustAppContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspaceContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Preview.Notes.PreviewNotesContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Resources.Management.ResourceIndexerContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Search.Core.SearchCoreContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Search.SearchContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.SocialInfo.SocialInfoContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.StartupTaskContract.xml",
"ref/netstandard2.0/en/Windows.ApplicationModel.Wallet.WalletContract.xml",
"ref/netstandard2.0/en/Windows.Devices.Custom.CustomDeviceContract.xml",
"ref/netstandard2.0/en/Windows.Devices.DevicesLowLevelContract.xml",
"ref/netstandard2.0/en/Windows.Devices.Portable.PortableDeviceContract.xml",
"ref/netstandard2.0/en/Windows.Devices.Printers.Extensions.ExtensionsContract.xml",
"ref/netstandard2.0/en/Windows.Devices.Printers.PrintersContract.xml",
"ref/netstandard2.0/en/Windows.Devices.Scanners.ScannerDeviceContract.xml",
"ref/netstandard2.0/en/Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract.xml",
"ref/netstandard2.0/en/Windows.Devices.SmartCards.SmartCardEmulatorContract.xml",
"ref/netstandard2.0/en/Windows.Devices.Sms.LegacySmsApiContract.xml",
"ref/netstandard2.0/en/Windows.Foundation.FoundationContract.xml",
"ref/netstandard2.0/en/Windows.Foundation.UniversalApiContract.xml",
"ref/netstandard2.0/en/Windows.Gaming.Input.GamingInputPreviewContract.xml",
"ref/netstandard2.0/en/Windows.Gaming.Preview.GamesEnumerationContract.xml",
"ref/netstandard2.0/en/Windows.Gaming.UI.GameChatOverlayContract.xml",
"ref/netstandard2.0/en/Windows.Gaming.UI.GamingUIProviderContract.xml",
"ref/netstandard2.0/en/Windows.Gaming.XboxLive.StorageApiContract.xml",
"ref/netstandard2.0/en/Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract.xml",
"ref/netstandard2.0/en/Windows.Graphics.Printing3D.Printing3DContract.xml",
"ref/netstandard2.0/en/Windows.Management.Deployment.Preview.DeploymentPreviewContract.xml",
"ref/netstandard2.0/en/Windows.Management.Workplace.WorkplaceSettingsContract.xml",
"ref/netstandard2.0/en/Windows.Media.AppBroadcasting.AppBroadcastingContract.xml",
"ref/netstandard2.0/en/Windows.Media.AppRecording.AppRecordingContract.xml",
"ref/netstandard2.0/en/Windows.Media.Capture.AppBroadcastContract.xml",
"ref/netstandard2.0/en/Windows.Media.Capture.AppCaptureContract.xml",
"ref/netstandard2.0/en/Windows.Media.Capture.AppCaptureMetadataContract.xml",
"ref/netstandard2.0/en/Windows.Media.Capture.CameraCaptureUIContract.xml",
"ref/netstandard2.0/en/Windows.Media.Capture.GameBarContract.xml",
"ref/netstandard2.0/en/Windows.Media.Devices.CallControlContract.xml",
"ref/netstandard2.0/en/Windows.Media.MediaControlContract.xml",
"ref/netstandard2.0/en/Windows.Media.Playlists.PlaylistsContract.xml",
"ref/netstandard2.0/en/Windows.Media.Protection.ProtectionRenewalContract.xml",
"ref/netstandard2.0/en/Windows.Networking.Connectivity.WwanContract.xml",
"ref/netstandard2.0/en/Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.xml",
"ref/netstandard2.0/en/Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract.xml",
"ref/netstandard2.0/en/Windows.Networking.Sockets.ControlChannelTriggerContract.xml",
"ref/netstandard2.0/en/Windows.Networking.XboxLive.XboxLiveSecureSocketsContract.xml",
"ref/netstandard2.0/en/Windows.Perception.Automation.Core.PerceptionAutomationCoreContract.xml",
"ref/netstandard2.0/en/Windows.Phone.PhoneContract.xml",
"ref/netstandard2.0/en/Windows.Phone.StartScreen.DualSimTileContract.xml",
"ref/netstandard2.0/en/Windows.Security.EnterpriseData.EnterpriseDataContract.xml",
"ref/netstandard2.0/en/Windows.Security.ExchangeActiveSyncProvisioning.EasContract.xml",
"ref/netstandard2.0/en/Windows.Security.Isolation.IsolatedWindowsEnvironmentContract.xml",
"ref/netstandard2.0/en/Windows.Services.Maps.GuidanceContract.xml",
"ref/netstandard2.0/en/Windows.Services.Maps.LocalSearchContract.xml",
"ref/netstandard2.0/en/Windows.Services.Store.StoreContract.xml",
"ref/netstandard2.0/en/Windows.Services.TargetedContent.TargetedContentContract.xml",
"ref/netstandard2.0/en/Windows.Storage.Provider.CloudFilesContract.xml",
"ref/netstandard2.0/en/Windows.System.Profile.ProfileHardwareTokenContract.xml",
"ref/netstandard2.0/en/Windows.System.Profile.ProfileRetailInfoContract.xml",
"ref/netstandard2.0/en/Windows.System.Profile.ProfileSharedModeContract.xml",
"ref/netstandard2.0/en/Windows.System.Profile.SystemManufacturers.SystemManufacturersContract.xml",
"ref/netstandard2.0/en/Windows.System.SystemManagementContract.xml",
"ref/netstandard2.0/en/Windows.System.UserProfile.UserProfileContract.xml",
"ref/netstandard2.0/en/Windows.System.UserProfile.UserProfileLockScreenContract.xml",
"ref/netstandard2.0/en/Windows.UI.ApplicationSettings.ApplicationsSettingsContract.xml",
"ref/netstandard2.0/en/Windows.UI.Core.AnimationMetrics.AnimationMetricsContract.xml",
"ref/netstandard2.0/en/Windows.UI.Core.CoreWindowDialogsContract.xml",
"ref/netstandard2.0/en/Windows.UI.Shell.SecurityAppManagerContract.xml",
"ref/netstandard2.0/en/Windows.UI.UIAutomation.UIAutomationContract.xml",
"ref/netstandard2.0/en/Windows.UI.ViewManagement.ViewManagementViewScalingContract.xml",
"ref/netstandard2.0/en/Windows.UI.WebUI.Core.WebUICommandBarContract.xml",
"ref/netstandard2.0/en/Windows.UI.Xaml.Core.Direct.XamlDirectContract.xml",
"ref/netstandard2.0/en/Windows.UI.Xaml.Hosting.HostingContract.xml",
"ref/netstandard2.0/en/Windows.Web.Http.Diagnostics.HttpDiagnosticsContract.xml",
"ref/netstandard2.0/windows.system.profile.platformautomaticappsignincontract.winmd"
]
},
"System.Runtime.InteropServices.WindowsRuntime/4.3.0": {
"sha512": "J4GUi3xZQLUBasNwZnjrffN8i5wpHrBtZoLG+OhRyGo/+YunMRWWtwoMDlUAIdmX0uRfpHIBDSV6zyr3yf00TA==",
"type": "package",
"path": "system.runtime.interopservices.windowsruntime/4.3.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net45/_._",
"lib/netcore50/System.Runtime.InteropServices.WindowsRuntime.dll",
"lib/netstandard1.3/System.Runtime.InteropServices.WindowsRuntime.dll",
"lib/portable-net45+win8+wp8+wpa81/_._",
"lib/win8/_._",
"lib/wp80/_._",
"lib/wpa81/_._",
"lib/xamarinios1/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net45/_._",
"ref/netcore50/System.Runtime.InteropServices.WindowsRuntime.dll",
"ref/netcore50/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/de/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/es/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/fr/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/it/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/ja/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/ko/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/ru/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/zh-hans/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netcore50/zh-hant/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/System.Runtime.InteropServices.WindowsRuntime.dll",
"ref/netstandard1.0/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/de/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/es/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/fr/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/it/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/ja/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/ko/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/ru/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/zh-hans/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/netstandard1.0/zh-hant/System.Runtime.InteropServices.WindowsRuntime.xml",
"ref/portable-net45+win8+wp8+wpa81/_._",
"ref/win8/_._",
"ref/wp80/_._",
"ref/wpa81/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"runtimes/aot/lib/netcore50/System.Runtime.InteropServices.WindowsRuntime.dll",
"system.runtime.interopservices.windowsruntime.4.3.0.nupkg.sha512",
"system.runtime.interopservices.windowsruntime.nuspec"
]
},
"System.Runtime.WindowsRuntime/4.6.0": {
"sha512": "IWrs1TmbxP65ZZjIglNyvDkFNoV5q2Pofg5WO7I8RKQOpLdFprQSh3xesOoClBqR4JHr4nEB1Xk1MqLPW1jPuQ==",
"type": "package",
"path": "system.runtime.windowsruntime/4.6.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"build/net45/System.Runtime.WindowsRuntime.targets",
"build/net451/System.Runtime.WindowsRuntime.targets",
"build/net461/System.Runtime.WindowsRuntime.targets",
"buildTransitive/net45/System.Runtime.WindowsRuntime.targets",
"buildTransitive/net451/System.Runtime.WindowsRuntime.targets",
"buildTransitive/net461/System.Runtime.WindowsRuntime.targets",
"lib/net45/_._",
"lib/netstandard1.0/System.Runtime.WindowsRuntime.dll",
"lib/netstandard1.0/System.Runtime.WindowsRuntime.xml",
"lib/netstandard1.2/System.Runtime.WindowsRuntime.dll",
"lib/netstandard1.2/System.Runtime.WindowsRuntime.xml",
"lib/netstandard2.0/System.Runtime.WindowsRuntime.dll",
"lib/netstandard2.0/System.Runtime.WindowsRuntime.xml",
"lib/portable-win8+wp8+wpa81/_._",
"lib/uap10.0.16299/_._",
"lib/win8/_._",
"lib/wp80/_._",
"lib/wpa81/_._",
"ref/net45/_._",
"ref/netcore50/System.Runtime.WindowsRuntime.dll",
"ref/netcore50/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/de/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/es/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/fr/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/it/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/ja/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/ko/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/ru/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/zh-hans/System.Runtime.WindowsRuntime.xml",
"ref/netcore50/zh-hant/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/System.Runtime.WindowsRuntime.dll",
"ref/netstandard1.0/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/de/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/es/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/fr/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/it/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/ja/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/ko/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/ru/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/zh-hans/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.0/zh-hant/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/System.Runtime.WindowsRuntime.dll",
"ref/netstandard1.2/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/de/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/es/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/fr/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/it/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/ja/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/ko/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/ru/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/zh-hans/System.Runtime.WindowsRuntime.xml",
"ref/netstandard1.2/zh-hant/System.Runtime.WindowsRuntime.xml",
"ref/netstandard2.0/System.Runtime.WindowsRuntime.dll",
"ref/netstandard2.0/System.Runtime.WindowsRuntime.xml",
"ref/portable-win8+wp8+wpa81/_._",
"ref/uap10.0.16299/_._",
"ref/win8/_._",
"ref/wp80/_._",
"ref/wpa81/_._",
"runtimes/win-aot/lib/netcore50/System.Runtime.WindowsRuntime.dll",
"runtimes/win-aot/lib/uap10.0.16299/_._",
"runtimes/win/lib/netcore50/System.Runtime.WindowsRuntime.dll",
"runtimes/win/lib/netcoreapp3.0/System.Runtime.WindowsRuntime.dll",
"runtimes/win/lib/netcoreapp3.0/System.Runtime.WindowsRuntime.xml",
"runtimes/win/lib/uap10.0.16299/_._",
"system.runtime.windowsruntime.4.6.0.nupkg.sha512",
"system.runtime.windowsruntime.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Runtime.WindowsRuntime.UI.Xaml/4.6.0": {
"sha512": "r4tNw5v5kqRJ9HikWpcyNf3suGw7DjX93svj9iBjtdeLqL8jt9Z+7f+s4wrKZJr84u8IMsrIjt8K6jYvkRqMSg==",
"type": "package",
"path": "system.runtime.windowsruntime.ui.xaml/4.6.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"build/net45/System.Runtime.WindowsRuntime.UI.Xaml.targets",
"build/net461/System.Runtime.WindowsRuntime.UI.Xaml.targets",
"lib/net45/_._",
"lib/netstandard1.1/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"lib/netstandard1.1/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"lib/netstandard2.0/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"lib/netstandard2.0/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"lib/portable-win8+wpa81/_._",
"lib/uap10.0.16299/_._",
"lib/win8/_._",
"lib/wpa81/_._",
"ref/net45/_._",
"ref/netcore50/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"ref/netcore50/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/de/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/es/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/fr/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/it/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/ja/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/ko/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/ru/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/zh-hans/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netcore50/zh-hant/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"ref/netstandard1.1/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/de/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/es/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/fr/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/it/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/ja/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/ko/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/ru/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/zh-hans/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard1.1/zh-hant/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/netstandard2.0/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"ref/netstandard2.0/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"ref/portable-win8+wpa81/_._",
"ref/uap10.0.16299/_._",
"ref/win8/_._",
"ref/wpa81/_._",
"runtimes/win-aot/lib/uap10.0.16299/_._",
"runtimes/win/lib/netcore50/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"runtimes/win/lib/netcoreapp3.0/System.Runtime.WindowsRuntime.UI.Xaml.dll",
"runtimes/win/lib/netcoreapp3.0/System.Runtime.WindowsRuntime.UI.Xaml.xml",
"runtimes/win/lib/uap10.0.16299/_._",
"system.runtime.windowsruntime.ui.xaml.4.6.0.nupkg.sha512",
"system.runtime.windowsruntime.ui.xaml.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
}
},
"projectFileDependencyGroups": {
".NETFramework,Version=v4.5": [
"Microsoft.Windows.SDK.Contracts >= 10.0.26100.1742"
]
},
"packageFolders": {
"C:\\Users\\Administrator\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\YD10测试机.csproj",
"projectName": "YD10测试机",
"projectPath": "C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\YD10测试机.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Administrator\\Documents\\YD10测试机\\YD10测试机\\obj\\",
"projectStyle": "PackageReference",
"skipContentFileWrite": true,
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net45"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net45": {
"projectReferences": {}
}
}
},
"frameworks": {
"net45": {
"dependencies": {
"Microsoft.Windows.SDK.Contracts": {
"target": "Package",
"version": "[10.0.26100.1742, )"
}
}
}
},
"runtimes": {
"win": {
"#import": []
},
"win-x64": {
"#import": []
},
"win-x86": {
"#import": []
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save