380 lines
15 KiB
C#
380 lines
15 KiB
C#
namespace DHSoftware.Views
|
||
{
|
||
partial class VisualLocalizationWindow
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region 组件设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
titlebar = new AntdUI.PageHeader();
|
||
panel1 = new AntdUI.Panel();
|
||
iptThreshold = new AntdUI.InputNumber();
|
||
label6 = new AntdUI.Label();
|
||
btnSelectBackImg = new AntdUI.Button();
|
||
btnSelectModel = new AntdUI.Button();
|
||
iptBackImg = new AntdUI.Input();
|
||
label3 = new AntdUI.Label();
|
||
iptModel = new AntdUI.Input();
|
||
label2 = new AntdUI.Label();
|
||
sltCameraName = new AntdUI.Select();
|
||
label1 = new AntdUI.Label();
|
||
panel2 = new AntdUI.Panel();
|
||
iptSpeed = new AntdUI.InputNumber();
|
||
label7 = new AntdUI.Label();
|
||
btnSaveImg = new AntdUI.Button();
|
||
btnSavePos = new AntdUI.Button();
|
||
btnReverse = new AntdUI.Button();
|
||
btnForward = new AntdUI.Button();
|
||
btnLocalization = new AntdUI.Button();
|
||
btnAcquisition = new AntdUI.Button();
|
||
iptPosition = new AntdUI.InputNumber();
|
||
label5 = new AntdUI.Label();
|
||
sltDirection = new AntdUI.Select();
|
||
label4 = new AntdUI.Label();
|
||
imageViewerControl1 = new ImageViewerControl();
|
||
panel1.SuspendLayout();
|
||
panel2.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// titlebar
|
||
//
|
||
titlebar.BackColor = Color.FromArgb(46, 108, 227);
|
||
titlebar.DividerShow = true;
|
||
titlebar.DividerThickness = 0F;
|
||
titlebar.Dock = DockStyle.Top;
|
||
titlebar.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
titlebar.ForeColor = Color.White;
|
||
titlebar.Location = new Point(0, 0);
|
||
titlebar.Mode = AntdUI.TAMode.Dark;
|
||
titlebar.Name = "titlebar";
|
||
titlebar.ShowButton = true;
|
||
titlebar.ShowIcon = true;
|
||
titlebar.Size = new Size(1210, 37);
|
||
titlebar.SubText = "视觉定位系统";
|
||
titlebar.TabIndex = 1;
|
||
titlebar.Text = "山东迭慧智能科技有限公司";
|
||
//
|
||
// panel1
|
||
//
|
||
panel1.Controls.Add(iptThreshold);
|
||
panel1.Controls.Add(label6);
|
||
panel1.Controls.Add(btnSelectBackImg);
|
||
panel1.Controls.Add(btnSelectModel);
|
||
panel1.Controls.Add(iptBackImg);
|
||
panel1.Controls.Add(label3);
|
||
panel1.Controls.Add(iptModel);
|
||
panel1.Controls.Add(label2);
|
||
panel1.Controls.Add(sltCameraName);
|
||
panel1.Controls.Add(label1);
|
||
panel1.Dock = DockStyle.Top;
|
||
panel1.Location = new Point(0, 37);
|
||
panel1.Name = "panel1";
|
||
panel1.Size = new Size(1210, 56);
|
||
panel1.TabIndex = 2;
|
||
panel1.Text = "panel1";
|
||
//
|
||
// iptThreshold
|
||
//
|
||
iptThreshold.Location = new Point(1094, 6);
|
||
iptThreshold.Name = "iptThreshold";
|
||
iptThreshold.Size = new Size(107, 43);
|
||
iptThreshold.TabIndex = 15;
|
||
iptThreshold.Text = "0";
|
||
//
|
||
// label6
|
||
//
|
||
label6.BackColor = SystemColors.Window;
|
||
label6.Location = new Point(1044, 18);
|
||
label6.Name = "label6";
|
||
label6.Size = new Size(57, 23);
|
||
label6.TabIndex = 14;
|
||
label6.Text = "定位阈值";
|
||
//
|
||
// btnSelectBackImg
|
||
//
|
||
btnSelectBackImg.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnSelectBackImg.Location = new Point(963, 11);
|
||
btnSelectBackImg.Name = "btnSelectBackImg";
|
||
btnSelectBackImg.Size = new Size(75, 38);
|
||
btnSelectBackImg.TabIndex = 13;
|
||
btnSelectBackImg.Text = "打开";
|
||
btnSelectBackImg.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// btnSelectModel
|
||
//
|
||
btnSelectModel.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnSelectModel.Location = new Point(525, 9);
|
||
btnSelectModel.Name = "btnSelectModel";
|
||
btnSelectModel.Size = new Size(75, 38);
|
||
btnSelectModel.TabIndex = 12;
|
||
btnSelectModel.Text = "打开";
|
||
btnSelectModel.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// iptBackImg
|
||
//
|
||
iptBackImg.Location = new Point(694, 6);
|
||
iptBackImg.Name = "iptBackImg";
|
||
iptBackImg.PlaceholderText = "请选择背景图片";
|
||
iptBackImg.Size = new Size(263, 43);
|
||
iptBackImg.TabIndex = 10;
|
||
//
|
||
// label3
|
||
//
|
||
label3.BackColor = SystemColors.Window;
|
||
label3.Location = new Point(606, 18);
|
||
label3.Name = "label3";
|
||
label3.Size = new Size(82, 23);
|
||
label3.TabIndex = 9;
|
||
label3.Text = "背景图片路径";
|
||
//
|
||
// iptModel
|
||
//
|
||
iptModel.Location = new Point(256, 6);
|
||
iptModel.Name = "iptModel";
|
||
iptModel.PlaceholderText = "请选择算法";
|
||
iptModel.Size = new Size(263, 43);
|
||
iptModel.TabIndex = 3;
|
||
//
|
||
// label2
|
||
//
|
||
label2.BackColor = SystemColors.Window;
|
||
label2.Location = new Point(193, 18);
|
||
label2.Name = "label2";
|
||
label2.Size = new Size(57, 23);
|
||
label2.TabIndex = 2;
|
||
label2.Text = "算法路径";
|
||
//
|
||
// sltCameraName
|
||
//
|
||
sltCameraName.List = true;
|
||
sltCameraName.Location = new Point(72, 7);
|
||
sltCameraName.MaxCount = 10;
|
||
sltCameraName.Name = "sltCameraName";
|
||
sltCameraName.PlaceholderText = "请选择相机";
|
||
sltCameraName.Size = new Size(115, 43);
|
||
sltCameraName.TabIndex = 1;
|
||
//
|
||
// label1
|
||
//
|
||
label1.BackColor = SystemColors.Window;
|
||
label1.Location = new Point(9, 18);
|
||
label1.Name = "label1";
|
||
label1.Size = new Size(57, 23);
|
||
label1.TabIndex = 0;
|
||
label1.Text = "相机名称";
|
||
//
|
||
// panel2
|
||
//
|
||
panel2.Controls.Add(iptSpeed);
|
||
panel2.Controls.Add(label7);
|
||
panel2.Controls.Add(btnSaveImg);
|
||
panel2.Controls.Add(btnSavePos);
|
||
panel2.Controls.Add(btnReverse);
|
||
panel2.Controls.Add(btnForward);
|
||
panel2.Controls.Add(btnLocalization);
|
||
panel2.Controls.Add(btnAcquisition);
|
||
panel2.Controls.Add(iptPosition);
|
||
panel2.Controls.Add(label5);
|
||
panel2.Controls.Add(sltDirection);
|
||
panel2.Controls.Add(label4);
|
||
panel2.Dock = DockStyle.Top;
|
||
panel2.Location = new Point(0, 93);
|
||
panel2.Name = "panel2";
|
||
panel2.Size = new Size(1210, 56);
|
||
panel2.TabIndex = 3;
|
||
panel2.Text = "panel2";
|
||
//
|
||
// iptSpeed
|
||
//
|
||
iptSpeed.Location = new Point(256, 6);
|
||
iptSpeed.Name = "iptSpeed";
|
||
iptSpeed.Size = new Size(107, 43);
|
||
iptSpeed.TabIndex = 20;
|
||
iptSpeed.Text = "0";
|
||
//
|
||
// label7
|
||
//
|
||
label7.BackColor = SystemColors.Window;
|
||
label7.Location = new Point(193, 18);
|
||
label7.Name = "label7";
|
||
label7.Size = new Size(57, 23);
|
||
label7.TabIndex = 19;
|
||
label7.Text = "转盘速度";
|
||
//
|
||
// btnSaveImg
|
||
//
|
||
btnSaveImg.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnSaveImg.Location = new Point(1126, 11);
|
||
btnSaveImg.Name = "btnSaveImg";
|
||
btnSaveImg.Size = new Size(75, 38);
|
||
btnSaveImg.TabIndex = 18;
|
||
btnSaveImg.Text = "保存图像";
|
||
btnSaveImg.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// btnSavePos
|
||
//
|
||
btnSavePos.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnSavePos.Location = new Point(1013, 11);
|
||
btnSavePos.Name = "btnSavePos";
|
||
btnSavePos.Size = new Size(75, 38);
|
||
btnSavePos.TabIndex = 17;
|
||
btnSavePos.Text = "保存定位";
|
||
btnSavePos.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// btnReverse
|
||
//
|
||
btnReverse.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnReverse.Location = new Point(904, 11);
|
||
btnReverse.Name = "btnReverse";
|
||
btnReverse.Size = new Size(75, 38);
|
||
btnReverse.TabIndex = 16;
|
||
btnReverse.Text = "转盘反转";
|
||
btnReverse.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// btnForward
|
||
//
|
||
btnForward.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnForward.Location = new Point(804, 11);
|
||
btnForward.Name = "btnForward";
|
||
btnForward.Size = new Size(75, 38);
|
||
btnForward.TabIndex = 15;
|
||
btnForward.Text = "转盘正转";
|
||
btnForward.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// btnLocalization
|
||
//
|
||
btnLocalization.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnLocalization.Location = new Point(704, 11);
|
||
btnLocalization.Name = "btnLocalization";
|
||
btnLocalization.Size = new Size(75, 38);
|
||
btnLocalization.TabIndex = 14;
|
||
btnLocalization.Text = "开始定位";
|
||
btnLocalization.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// btnAcquisition
|
||
//
|
||
btnAcquisition.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||
btnAcquisition.Location = new Point(606, 11);
|
||
btnAcquisition.Name = "btnAcquisition";
|
||
btnAcquisition.Size = new Size(75, 38);
|
||
btnAcquisition.TabIndex = 13;
|
||
btnAcquisition.Text = "开始采集";
|
||
btnAcquisition.Type = AntdUI.TTypeMini.Primary;
|
||
//
|
||
// iptPosition
|
||
//
|
||
iptPosition.Location = new Point(425, 6);
|
||
iptPosition.Name = "iptPosition";
|
||
iptPosition.ReadOnly = true;
|
||
iptPosition.Size = new Size(175, 43);
|
||
iptPosition.TabIndex = 7;
|
||
iptPosition.Text = "0";
|
||
//
|
||
// label5
|
||
//
|
||
label5.BackColor = SystemColors.Window;
|
||
label5.Location = new Point(369, 18);
|
||
label5.Name = "label5";
|
||
label5.Size = new Size(59, 23);
|
||
label5.TabIndex = 6;
|
||
label5.Text = "当前位置";
|
||
//
|
||
// sltDirection
|
||
//
|
||
sltDirection.Items.AddRange(new object[] { "正方向", "反方向" });
|
||
sltDirection.List = true;
|
||
sltDirection.Location = new Point(72, 6);
|
||
sltDirection.MaxCount = 10;
|
||
sltDirection.Name = "sltDirection";
|
||
sltDirection.PlaceholderText = "请选择方向";
|
||
sltDirection.Size = new Size(115, 43);
|
||
sltDirection.TabIndex = 5;
|
||
//
|
||
// label4
|
||
//
|
||
label4.BackColor = SystemColors.Window;
|
||
label4.Location = new Point(9, 18);
|
||
label4.Name = "label4";
|
||
label4.Size = new Size(57, 23);
|
||
label4.TabIndex = 4;
|
||
label4.Text = "转盘方向";
|
||
//
|
||
// imageViewerControl1
|
||
//
|
||
imageViewerControl1.Dock = DockStyle.Fill;
|
||
imageViewerControl1.Image = null;
|
||
imageViewerControl1.Location = new Point(0, 149);
|
||
imageViewerControl1.Name = "imageViewerControl1";
|
||
imageViewerControl1.Size = new Size(1210, 558);
|
||
imageViewerControl1.TabIndex = 4;
|
||
//
|
||
// VisualLocalizationWindow
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(1210, 707);
|
||
Controls.Add(imageViewerControl1);
|
||
Controls.Add(panel2);
|
||
Controls.Add(panel1);
|
||
Controls.Add(titlebar);
|
||
Name = "VisualLocalizationWindow";
|
||
Text = "CCD光学筛选定位系统";
|
||
WindowState = FormWindowState.Maximized;
|
||
panel1.ResumeLayout(false);
|
||
panel2.ResumeLayout(false);
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private AntdUI.PageHeader titlebar;
|
||
private AntdUI.Panel panel1;
|
||
private AntdUI.Select sltCameraName;
|
||
private AntdUI.Label label1;
|
||
private AntdUI.Input iptModel;
|
||
private AntdUI.Label label2;
|
||
private AntdUI.Input iptBackImg;
|
||
private AntdUI.Label label3;
|
||
private AntdUI.Panel panel2;
|
||
private AntdUI.Label label4;
|
||
private AntdUI.Select sltDirection;
|
||
private AntdUI.InputNumber iptPosition;
|
||
private AntdUI.Label label5;
|
||
private AntdUI.Button btnSelectBackImg;
|
||
private AntdUI.Button btnSelectModel;
|
||
private AntdUI.Button btnAcquisition;
|
||
private AntdUI.Button btnLocalization;
|
||
private AntdUI.Button btnReverse;
|
||
private AntdUI.Button btnForward;
|
||
private AntdUI.Button btnSaveImg;
|
||
private AntdUI.Button btnSavePos;
|
||
private ImageViewerControl imageViewerControl1;
|
||
private AntdUI.InputNumber iptThreshold;
|
||
private AntdUI.Label label6;
|
||
private AntdUI.InputNumber iptSpeed;
|
||
private AntdUI.Label label7;
|
||
}
|
||
}
|