This commit is contained in:
2025-03-21 08:51:20 +08:00
parent 0dedff36fd
commit 9a5d3be528
70 changed files with 4542 additions and 2207 deletions

View File

@ -40,10 +40,10 @@
btnPreAdd = new AntdUI.Button();
preTable = new AntdUI.Table();
label3 = new AntdUI.Label();
btnPath = new AntdUI.Button();
switch1 = new AntdUI.Switch();
btnPrePath = new AntdUI.Button();
sthPreStatus = new AntdUI.Switch();
label2 = new AntdUI.Label();
iptPath = new AntdUI.Input();
iptPrePath = new AntdUI.Input();
label1 = new AntdUI.Label();
tabPage2 = new AntdUI.TabPage();
btnLableDelete = new AntdUI.Button();
@ -51,36 +51,33 @@
lableTable = new AntdUI.Table();
label15 = new AntdUI.Label();
btnPic = new AntdUI.Button();
switch6 = new AntdUI.Switch();
sthDetectNG = new AntdUI.Switch();
label13 = new AntdUI.Label();
switch7 = new AntdUI.Switch();
sthOKDetect = new AntdUI.Switch();
label14 = new AntdUI.Label();
switch4 = new AntdUI.Switch();
sthNGOriginal = new AntdUI.Switch();
label6 = new AntdUI.Label();
switch5 = new AntdUI.Switch();
sthOKOriginal = new AntdUI.Switch();
label12 = new AntdUI.Label();
input1 = new AntdUI.Input();
iptConfidence = new AntdUI.Input();
label5 = new AntdUI.Label();
flowPanel1 = new AntdUI.FlowPanel();
flowCameraPanel = new AntdUI.FlowPanel();
label11 = new AntdUI.Label();
switch3 = new AntdUI.Switch();
sthStation = new AntdUI.Switch();
label10 = new AntdUI.Label();
stDetectType = new AntdUI.Select();
label9 = new AntdUI.Label();
btnCorrelatedCamera = new AntdUI.Button();
btnPath2 = new AntdUI.Button();
switch2 = new AntdUI.Switch();
sthDetectStatus = new AntdUI.Switch();
label7 = new AntdUI.Label();
iptPath2 = new AntdUI.Input();
iptDetectPath = new AntdUI.Input();
label8 = new AntdUI.Label();
tabPage3 = new AntdUI.TabPage();
tabPage4 = new AntdUI.TabPage();
switch8 = new AntdUI.Switch();
btnSizeDel = new AntdUI.Button();
btnSizeAdd = new AntdUI.Button();
SizeTable = new AntdUI.Table();
label17 = new AntdUI.Label();
label18 = new AntdUI.Label();
tabs1.SuspendLayout();
tabPage1.SuspendLayout();
tabPage2.SuspendLayout();
@ -114,10 +111,10 @@
tabPage1.Controls.Add(btnPreAdd);
tabPage1.Controls.Add(preTable);
tabPage1.Controls.Add(label3);
tabPage1.Controls.Add(btnPath);
tabPage1.Controls.Add(switch1);
tabPage1.Controls.Add(btnPrePath);
tabPage1.Controls.Add(sthPreStatus);
tabPage1.Controls.Add(label2);
tabPage1.Controls.Add(iptPath);
tabPage1.Controls.Add(iptPrePath);
tabPage1.Controls.Add(label1);
tabPage1.Location = new Point(-909, -575);
tabPage1.Name = "tabPage1";
@ -161,6 +158,8 @@
//
// PreOutTable
//
PreOutTable.EmptyHeader = true;
PreOutTable.EnableHeaderResizing = true;
PreOutTable.Location = new Point(191, 355);
PreOutTable.Name = "PreOutTable";
PreOutTable.Size = new Size(423, 181);
@ -195,6 +194,8 @@
//
// preTable
//
preTable.EmptyHeader = true;
preTable.EnableHeaderResizing = true;
preTable.Location = new Point(191, 148);
preTable.Name = "preTable";
preTable.Size = new Size(423, 181);
@ -209,27 +210,27 @@
label3.TabIndex = 1;
label3.Text = "输入参数";
//
// btnPath
// btnPrePath
//
btnPath.BorderWidth = 2F;
btnPath.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnPath.Ghost = true;
btnPath.IconRatio = 0.8F;
btnPath.IconSvg = resources.GetString("btnPath.IconSvg");
btnPath.Location = new Point(620, 79);
btnPath.Name = "btnPath";
btnPath.Size = new Size(80, 38);
btnPath.TabIndex = 7;
btnPath.Text = "打开";
btnPrePath.BorderWidth = 2F;
btnPrePath.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnPrePath.Ghost = true;
btnPrePath.IconRatio = 0.8F;
btnPrePath.IconSvg = resources.GetString("btnPrePath.IconSvg");
btnPrePath.Location = new Point(620, 79);
btnPrePath.Name = "btnPrePath";
btnPrePath.Size = new Size(80, 38);
btnPrePath.TabIndex = 7;
btnPrePath.Text = "打开";
//
// switch1
// sthPreStatus
//
switch1.CheckedText = "启用";
switch1.Location = new Point(207, 33);
switch1.Name = "switch1";
switch1.Size = new Size(82, 33);
switch1.TabIndex = 4;
switch1.UnCheckedText = "关闭";
sthPreStatus.CheckedText = "启用";
sthPreStatus.Location = new Point(207, 33);
sthPreStatus.Name = "sthPreStatus";
sthPreStatus.Size = new Size(82, 33);
sthPreStatus.TabIndex = 4;
sthPreStatus.UnCheckedText = "关闭";
//
// label2
//
@ -239,14 +240,14 @@
label2.TabIndex = 3;
label2.Text = "状 态";
//
// iptPath
// iptPrePath
//
iptPath.Location = new Point(191, 79);
iptPath.Name = "iptPath";
iptPath.PlaceholderText = "请点击打开按钮选择模型路径";
iptPath.ReadOnly = true;
iptPath.Size = new Size(423, 42);
iptPath.TabIndex = 1;
iptPrePath.Location = new Point(191, 79);
iptPrePath.Name = "iptPrePath";
iptPrePath.PlaceholderText = "请点击打开按钮选择模型路径";
iptPrePath.ReadOnly = true;
iptPrePath.Size = new Size(423, 42);
iptPrePath.TabIndex = 1;
//
// label1
//
@ -263,34 +264,33 @@
tabPage2.Controls.Add(lableTable);
tabPage2.Controls.Add(label15);
tabPage2.Controls.Add(btnPic);
tabPage2.Controls.Add(switch6);
tabPage2.Controls.Add(sthDetectNG);
tabPage2.Controls.Add(label13);
tabPage2.Controls.Add(switch7);
tabPage2.Controls.Add(sthOKDetect);
tabPage2.Controls.Add(label14);
tabPage2.Controls.Add(switch4);
tabPage2.Controls.Add(sthNGOriginal);
tabPage2.Controls.Add(label6);
tabPage2.Controls.Add(switch5);
tabPage2.Controls.Add(sthOKOriginal);
tabPage2.Controls.Add(label12);
tabPage2.Controls.Add(input1);
tabPage2.Controls.Add(iptConfidence);
tabPage2.Controls.Add(label5);
tabPage2.Controls.Add(flowPanel1);
tabPage2.Controls.Add(flowCameraPanel);
tabPage2.Controls.Add(label11);
tabPage2.Controls.Add(switch3);
tabPage2.Controls.Add(sthStation);
tabPage2.Controls.Add(label10);
tabPage2.Controls.Add(stDetectType);
tabPage2.Controls.Add(label9);
tabPage2.Controls.Add(btnCorrelatedCamera);
tabPage2.Controls.Add(btnPath2);
tabPage2.Controls.Add(switch2);
tabPage2.Controls.Add(sthDetectStatus);
tabPage2.Controls.Add(label7);
tabPage2.Controls.Add(iptPath2);
tabPage2.Controls.Add(iptDetectPath);
tabPage2.Controls.Add(label8);
tabPage2.Location = new Point(-909, -575);
tabPage2.Name = "tabPage2";
tabPage2.Size = new Size(909, 575);
tabPage2.TabIndex = 1;
tabPage2.Text = "模型检测";
tabPage2.Click += tabPage2_Click;
//
// btnLableDelete
//
@ -320,7 +320,8 @@
//
// lableTable
//
lableTable.BackColor = SystemColors.ControlLight;
lableTable.BackColor = SystemColors.Window;
lableTable.EmptyHeader = true;
lableTable.Location = new Point(110, 252);
lableTable.Name = "lableTable";
lableTable.Size = new Size(656, 288);
@ -348,14 +349,14 @@
btnPic.TabIndex = 44;
btnPic.Text = "查看图片";
//
// switch6
// sthDetectNG
//
switch6.CheckedText = "启用";
switch6.Location = new Point(607, 194);
switch6.Name = "switch6";
switch6.Size = new Size(82, 33);
switch6.TabIndex = 43;
switch6.UnCheckedText = "关闭";
sthDetectNG.CheckedText = "启用";
sthDetectNG.Location = new Point(607, 194);
sthDetectNG.Name = "sthDetectNG";
sthDetectNG.Size = new Size(82, 33);
sthDetectNG.TabIndex = 43;
sthDetectNG.UnCheckedText = "关闭";
//
// label13
//
@ -365,14 +366,14 @@
label13.TabIndex = 42;
label13.Text = "NG检测图";
//
// switch7
// sthOKDetect
//
switch7.CheckedText = "启用";
switch7.Location = new Point(438, 194);
switch7.Name = "switch7";
switch7.Size = new Size(82, 33);
switch7.TabIndex = 41;
switch7.UnCheckedText = "关闭";
sthOKDetect.CheckedText = "启用";
sthOKDetect.Location = new Point(438, 194);
sthOKDetect.Name = "sthOKDetect";
sthOKDetect.Size = new Size(82, 33);
sthOKDetect.TabIndex = 41;
sthOKDetect.UnCheckedText = "关闭";
//
// label14
//
@ -382,14 +383,14 @@
label14.TabIndex = 40;
label14.Text = "OK检测图";
//
// switch4
// sthNGOriginal
//
switch4.CheckedText = "启用";
switch4.Location = new Point(270, 194);
switch4.Name = "switch4";
switch4.Size = new Size(82, 33);
switch4.TabIndex = 39;
switch4.UnCheckedText = "关闭";
sthNGOriginal.CheckedText = "启用";
sthNGOriginal.Location = new Point(270, 194);
sthNGOriginal.Name = "sthNGOriginal";
sthNGOriginal.Size = new Size(82, 33);
sthNGOriginal.TabIndex = 39;
sthNGOriginal.UnCheckedText = "关闭";
//
// label6
//
@ -399,14 +400,14 @@
label6.TabIndex = 38;
label6.Text = "NG原图";
//
// switch5
// sthOKOriginal
//
switch5.CheckedText = "启用";
switch5.Location = new Point(110, 194);
switch5.Name = "switch5";
switch5.Size = new Size(82, 33);
switch5.TabIndex = 37;
switch5.UnCheckedText = "关闭";
sthOKOriginal.CheckedText = "启用";
sthOKOriginal.Location = new Point(110, 194);
sthOKOriginal.Name = "sthOKOriginal";
sthOKOriginal.Size = new Size(82, 33);
sthOKOriginal.TabIndex = 37;
sthOKOriginal.UnCheckedText = "关闭";
//
// label12
//
@ -416,14 +417,14 @@
label12.TabIndex = 36;
label12.Text = "OK原图";
//
// input1
// iptConfidence
//
input1.Location = new Point(649, 24);
input1.Name = "input1";
input1.PlaceholderText = "";
input1.ReadOnly = true;
input1.Size = new Size(117, 42);
input1.TabIndex = 35;
iptConfidence.Location = new Point(649, 24);
iptConfidence.Name = "iptConfidence";
iptConfidence.PlaceholderText = "";
iptConfidence.ReadOnly = true;
iptConfidence.Size = new Size(117, 42);
iptConfidence.TabIndex = 35;
//
// label5
//
@ -433,15 +434,15 @@
label5.TabIndex = 34;
label5.Text = "置信度";
//
// flowPanel1
// flowCameraPanel
//
flowPanel1.AutoScroll = true;
flowPanel1.BackColor = SystemColors.ControlLight;
flowPanel1.Location = new Point(110, 136);
flowPanel1.Name = "flowPanel1";
flowPanel1.Size = new Size(656, 49);
flowPanel1.TabIndex = 33;
flowPanel1.Text = "flowPanel1";
flowCameraPanel.AutoScroll = true;
flowCameraPanel.BackColor = SystemColors.Window;
flowCameraPanel.Location = new Point(110, 136);
flowCameraPanel.Name = "flowCameraPanel";
flowCameraPanel.Size = new Size(656, 49);
flowCameraPanel.TabIndex = 33;
flowCameraPanel.Text = "flowPanel1";
//
// label11
//
@ -451,14 +452,14 @@
label11.TabIndex = 32;
label11.Text = "关联相机";
//
// switch3
// sthStation
//
switch3.CheckedText = "启用";
switch3.Location = new Point(270, 26);
switch3.Name = "switch3";
switch3.Size = new Size(82, 33);
switch3.TabIndex = 31;
switch3.UnCheckedText = "关闭";
sthStation.CheckedText = "启用";
sthStation.Location = new Point(270, 26);
sthStation.Name = "sthStation";
sthStation.Size = new Size(82, 33);
sthStation.TabIndex = 31;
sthStation.UnCheckedText = "关闭";
//
// label10
//
@ -512,14 +513,14 @@
btnPath2.TabIndex = 20;
btnPath2.Text = "打开";
//
// switch2
// sthDetectStatus
//
switch2.CheckedText = "启用";
switch2.Location = new Point(110, 26);
switch2.Name = "switch2";
switch2.Size = new Size(82, 33);
switch2.TabIndex = 19;
switch2.UnCheckedText = "关闭";
sthDetectStatus.CheckedText = "启用";
sthDetectStatus.Location = new Point(110, 26);
sthDetectStatus.Name = "sthDetectStatus";
sthDetectStatus.Size = new Size(82, 33);
sthDetectStatus.TabIndex = 19;
sthDetectStatus.UnCheckedText = "关闭";
//
// label7
//
@ -529,14 +530,14 @@
label7.TabIndex = 18;
label7.Text = "状 态";
//
// iptPath2
// iptDetectPath
//
iptPath2.Location = new Point(110, 75);
iptPath2.Name = "iptPath2";
iptPath2.PlaceholderText = "请点击打开按钮选择模型路径";
iptPath2.ReadOnly = true;
iptPath2.Size = new Size(656, 42);
iptPath2.TabIndex = 17;
iptDetectPath.Location = new Point(110, 75);
iptDetectPath.Name = "iptDetectPath";
iptDetectPath.PlaceholderText = "请点击打开按钮选择模型路径";
iptDetectPath.ReadOnly = true;
iptDetectPath.Size = new Size(656, 42);
iptDetectPath.TabIndex = 17;
//
// label8
//
@ -557,27 +558,15 @@
//
// tabPage4
//
tabPage4.Controls.Add(switch8);
tabPage4.Controls.Add(btnSizeDel);
tabPage4.Controls.Add(btnSizeAdd);
tabPage4.Controls.Add(SizeTable);
tabPage4.Controls.Add(label17);
tabPage4.Controls.Add(label18);
tabPage4.Location = new Point(8, 8);
tabPage4.Name = "tabPage4";
tabPage4.Size = new Size(909, 575);
tabPage4.TabIndex = 1;
tabPage4.Text = "预处理";
//
// switch8
//
switch8.CheckedText = "启用";
switch8.Location = new Point(120, 33);
switch8.Name = "switch8";
switch8.Size = new Size(82, 33);
switch8.TabIndex = 11;
switch8.UnCheckedText = "关闭";
//
// btnSizeDel
//
btnSizeDel.BorderWidth = 2F;
@ -585,7 +574,7 @@
btnSizeDel.Ghost = true;
btnSizeDel.IconRatio = 0.8F;
btnSizeDel.IconSvg = resources.GetString("btnSizeDel.IconSvg");
btnSizeDel.Location = new Point(747, 192);
btnSizeDel.Location = new Point(745, 147);
btnSizeDel.Name = "btnSizeDel";
btnSizeDel.Size = new Size(80, 38);
btnSizeDel.TabIndex = 10;
@ -598,7 +587,7 @@
btnSizeAdd.Ghost = true;
btnSizeAdd.IconRatio = 0.8F;
btnSizeAdd.IconSvg = resources.GetString("btnSizeAdd.IconSvg");
btnSizeAdd.Location = new Point(747, 148);
btnSizeAdd.Location = new Point(745, 103);
btnSizeAdd.Name = "btnSizeAdd";
btnSizeAdd.Size = new Size(80, 38);
btnSizeAdd.TabIndex = 9;
@ -606,28 +595,13 @@
//
// SizeTable
//
SizeTable.Location = new Point(38, 118);
SizeTable.EmptyHeader = true;
SizeTable.Location = new Point(20, 52);
SizeTable.Name = "SizeTable";
SizeTable.Size = new Size(686, 402);
SizeTable.Size = new Size(706, 402);
SizeTable.TabIndex = 8;
SizeTable.Text = "table1";
//
// label17
//
label17.Location = new Point(38, 89);
label17.Name = "label17";
label17.Size = new Size(91, 23);
label17.TabIndex = 1;
label17.Text = "配 置";
//
// label18
//
label18.Location = new Point(38, 43);
label18.Name = "label18";
label18.Size = new Size(91, 23);
label18.TabIndex = 3;
label18.Text = "状 态";
//
// DetectControl
//
AutoScaleDimensions = new SizeF(7F, 17F);
@ -650,10 +624,10 @@
private AntdUI.TabPage tabPage2;
private AntdUI.TabPage tabPage3;
private AntdUI.Label label1;
private AntdUI.Input iptPath;
private AntdUI.Input iptPrePath;
private AntdUI.Label label2;
private AntdUI.Switch switch1;
private AntdUI.Button btnPath;
private AntdUI.Switch sthPreStatus;
private AntdUI.Button btnPrePath;
private AntdUI.Label label3;
private AntdUI.Button btnPreDelete;
private AntdUI.Button btnPreAdd;
@ -664,25 +638,25 @@
private AntdUI.Table PreOutTable;
private AntdUI.Button btnCorrelatedCamera;
private AntdUI.Button btnPath2;
private AntdUI.Switch switch2;
private AntdUI.Switch sthDetectStatus;
private AntdUI.Label label7;
private AntdUI.Input iptPath2;
private AntdUI.Input iptDetectPath;
private AntdUI.Label label8;
private AntdUI.Select stDetectType;
private AntdUI.Label label9;
private AntdUI.Switch switch3;
private AntdUI.Switch sthStation;
private AntdUI.Label label10;
private AntdUI.Label label11;
private AntdUI.FlowPanel flowPanel1;
private AntdUI.FlowPanel flowCameraPanel;
private AntdUI.Label label5;
private AntdUI.Input input1;
private AntdUI.Switch switch4;
private AntdUI.Input iptConfidence;
private AntdUI.Switch sthNGOriginal;
private AntdUI.Label label6;
private AntdUI.Switch switch5;
private AntdUI.Switch sthOKOriginal;
private AntdUI.Label label12;
private AntdUI.Switch switch6;
private AntdUI.Switch sthDetectNG;
private AntdUI.Label label13;
private AntdUI.Switch switch7;
private AntdUI.Switch sthOKDetect;
private AntdUI.Label label14;
private AntdUI.Button btnPic;
private AntdUI.Label label15;
@ -693,8 +667,5 @@
private AntdUI.Button btnSizeDel;
private AntdUI.Button btnSizeAdd;
private AntdUI.Table SizeTable;
private AntdUI.Label label17;
private AntdUI.Label label18;
private AntdUI.Switch switch8;
}
}