Commit 2f68f37a by 施晓雨

cv

parent 7c1e7875
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
this.btnReadEPC = new System.Windows.Forms.Button(); this.btnReadEPC = new System.Windows.Forms.Button();
this.btnDisconnect = new System.Windows.Forms.Button(); this.btnDisconnect = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btnInstallDriver = new System.Windows.Forms.Button();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
...@@ -74,6 +75,7 @@ ...@@ -74,6 +75,7 @@
// //
// panel1 // panel1
// //
this.panel1.Controls.Add(this.btnInstallDriver);
this.panel1.Controls.Add(this.btnListen); this.panel1.Controls.Add(this.btnListen);
this.panel1.Controls.Add(this.tbxEPC); this.panel1.Controls.Add(this.tbxEPC);
this.panel1.Controls.Add(this.btnReadTID); this.panel1.Controls.Add(this.btnReadTID);
...@@ -157,6 +159,16 @@ ...@@ -157,6 +159,16 @@
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "消息"; this.groupBox1.Text = "消息";
// //
// btnInstallDriver
//
this.btnInstallDriver.Location = new System.Drawing.Point(27, 211);
this.btnInstallDriver.Name = "btnInstallDriver";
this.btnInstallDriver.Size = new System.Drawing.Size(132, 23);
this.btnInstallDriver.TabIndex = 9;
this.btnInstallDriver.Text = "安装驱动";
this.btnInstallDriver.UseVisualStyleBackColor = true;
this.btnInstallDriver.Click += new System.EventHandler(this.btnInstallDriver_Click);
//
// FrmMain // FrmMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
...@@ -187,5 +199,6 @@ ...@@ -187,5 +199,6 @@
private System.Windows.Forms.Button btnWriteEPC; private System.Windows.Forms.Button btnWriteEPC;
private System.Windows.Forms.TextBox tbxEPC; private System.Windows.Forms.TextBox tbxEPC;
private System.Windows.Forms.Button btnListen; private System.Windows.Forms.Button btnListen;
private System.Windows.Forms.Button btnInstallDriver;
} }
} }
\ No newline at end of file
...@@ -151,5 +151,11 @@ namespace Test ...@@ -151,5 +151,11 @@ namespace Test
_reader.Stop(); _reader.Stop();
} }
} }
private void btnInstallDriver_Click(object sender, EventArgs e)
{
Reader.InstallDriver();
}
} }
} }
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Kivii.Rfid.D500.V4.0, Version=5.5.2020.5000, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Kivii.Rfid.D500.V4.0, Version=5.6.2021.4000, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Kivii.Rfid.D500.5.5.2020.5000\lib\net40\Kivii.Rfid.D500.V4.0.dll</HintPath> <HintPath>..\packages\Kivii.Rfid.D500.5.6.2021.4000\lib\net\Kivii.Rfid.D500.V4.0.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Kivii.Rfid.D500" version="5.5.2020.5000" targetFramework="net40" /> <package id="Kivii.Rfid.D500" version="5.6.2021.4000" targetFramework="net40" />
</packages> </packages>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment