| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- namespace HuarayVMDemo.Forms
- {
- partial class MainForm
- {
- /// <summary>
- /// 必需的设计器变量
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// 清理所有正在使用的资源
- /// </summary>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要修改
- /// 使用代码编辑器修改此方法的内容
- /// </summary>
- private void InitializeComponent()
- {
- this.tabControlMain = new System.Windows.Forms.TabControl();
- this.tabCamera = new System.Windows.Forms.TabPage();
- this.grpCameraConnection = new System.Windows.Forms.GroupBox();
- this.btnRefreshDevices = new System.Windows.Forms.Button();
- this.cmbDeviceList = new System.Windows.Forms.ComboBox();
- this.btnConnectCamera = new System.Windows.Forms.Button();
- this.btnDisconnectCamera = new System.Windows.Forms.Button();
- this.grpCameraParams = new System.Windows.Forms.GroupBox();
- this.lblExposure = new System.Windows.Forms.Label();
- this.txtExposure = new System.Windows.Forms.TextBox();
- this.btnSetExposure = new System.Windows.Forms.Button();
- this.lblGain = new System.Windows.Forms.Label();
- this.txtGain = new System.Windows.Forms.TextBox();
- this.btnSetGain = new System.Windows.Forms.Button();
- this.grpAcquisition = new System.Windows.Forms.GroupBox();
- this.cmbTriggerMode = new System.Windows.Forms.ComboBox();
- this.lblTriggerMode = new System.Windows.Forms.Label();
- this.btnStartGrabbing = new System.Windows.Forms.Button();
- this.btnStopGrabbing = new System.Windows.Forms.Button();
- this.btnSoftwareTrigger = new System.Windows.Forms.Button();
- this.chkContinuousDisplay = new System.Windows.Forms.CheckBox();
- this.picCameraView = new System.Windows.Forms.PictureBox();
- this.tabVisionMaster = new System.Windows.Forms.TabPage();
- this.grpSolution = new System.Windows.Forms.GroupBox();
- this.lblSolutionPath = new System.Windows.Forms.Label();
- this.txtSolutionPath = new System.Windows.Forms.TextBox();
- this.btnBrowseSolution = new System.Windows.Forms.Button();
- this.btnLoadSolution = new System.Windows.Forms.Button();
- this.btnUnloadSolution = new System.Windows.Forms.Button();
- this.grpVMParams = new System.Windows.Forms.GroupBox();
- this.lblFlowName = new System.Windows.Forms.Label();
- this.txtFlowName = new System.Windows.Forms.TextBox();
- this.lblImageSourceName = new System.Windows.Forms.Label();
- this.txtImageSourceName = new System.Windows.Forms.TextBox();
- this.chkOutMono8 = new System.Windows.Forms.CheckBox();
- this.grpVMRun = new System.Windows.Forms.GroupBox();
- this.btnRunOnce = new System.Windows.Forms.Button();
- this.btnStartContinuous = new System.Windows.Forms.Button();
- this.btnStopContinuous = new System.Windows.Forms.Button();
- this.lblRunStatus = new System.Windows.Forms.Label();
- this.picVMResultView = new System.Windows.Forms.PictureBox();
- this.tabLog = new System.Windows.Forms.TabPage();
- this.txtLog = new System.Windows.Forms.TextBox();
- this.btnClearLog = new System.Windows.Forms.Button();
- this.chkAutoScroll = new System.Windows.Forms.CheckBox();
- this.statusStrip = new System.Windows.Forms.StatusStrip();
- this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
- this.button1 = new System.Windows.Forms.Button();
- this.tabControlMain.SuspendLayout();
- this.tabCamera.SuspendLayout();
- this.grpCameraConnection.SuspendLayout();
- this.grpCameraParams.SuspendLayout();
- this.grpAcquisition.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picCameraView)).BeginInit();
- this.tabVisionMaster.SuspendLayout();
- this.grpSolution.SuspendLayout();
- this.grpVMParams.SuspendLayout();
- this.grpVMRun.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picVMResultView)).BeginInit();
- this.tabLog.SuspendLayout();
- this.statusStrip.SuspendLayout();
- this.SuspendLayout();
- //
- // tabControlMain
- //
- this.tabControlMain.Controls.Add(this.tabCamera);
- this.tabControlMain.Controls.Add(this.tabVisionMaster);
- this.tabControlMain.Controls.Add(this.tabLog);
- this.tabControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabControlMain.Location = new System.Drawing.Point(0, 0);
- this.tabControlMain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabControlMain.Name = "tabControlMain";
- this.tabControlMain.SelectedIndex = 0;
- this.tabControlMain.Size = new System.Drawing.Size(1378, 815);
- this.tabControlMain.TabIndex = 0;
- //
- // tabCamera
- //
- this.tabCamera.Controls.Add(this.grpCameraConnection);
- this.tabCamera.Controls.Add(this.grpCameraParams);
- this.tabCamera.Controls.Add(this.grpAcquisition);
- this.tabCamera.Controls.Add(this.picCameraView);
- this.tabCamera.Location = new System.Drawing.Point(4, 25);
- this.tabCamera.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabCamera.Name = "tabCamera";
- this.tabCamera.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabCamera.Size = new System.Drawing.Size(1370, 786);
- this.tabCamera.TabIndex = 0;
- this.tabCamera.Text = "相机控制";
- this.tabCamera.UseVisualStyleBackColor = true;
- //
- // grpCameraConnection
- //
- this.grpCameraConnection.Controls.Add(this.btnRefreshDevices);
- this.grpCameraConnection.Controls.Add(this.cmbDeviceList);
- this.grpCameraConnection.Controls.Add(this.btnConnectCamera);
- this.grpCameraConnection.Controls.Add(this.btnDisconnectCamera);
- this.grpCameraConnection.Location = new System.Drawing.Point(10, 10);
- this.grpCameraConnection.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpCameraConnection.Name = "grpCameraConnection";
- this.grpCameraConnection.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpCameraConnection.Size = new System.Drawing.Size(475, 125);
- this.grpCameraConnection.TabIndex = 0;
- this.grpCameraConnection.TabStop = false;
- this.grpCameraConnection.Text = "设备连接";
- //
- // btnRefreshDevices
- //
- this.btnRefreshDevices.Location = new System.Drawing.Point(12, 28);
- this.btnRefreshDevices.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnRefreshDevices.Name = "btnRefreshDevices";
- this.btnRefreshDevices.Size = new System.Drawing.Size(125, 35);
- this.btnRefreshDevices.TabIndex = 0;
- this.btnRefreshDevices.Text = "枚举设备";
- this.btnRefreshDevices.UseVisualStyleBackColor = true;
- this.btnRefreshDevices.Click += new System.EventHandler(this.btnRefreshDevices_Click);
- //
- // cmbDeviceList
- //
- this.cmbDeviceList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbDeviceList.Location = new System.Drawing.Point(150, 31);
- this.cmbDeviceList.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.cmbDeviceList.Name = "cmbDeviceList";
- this.cmbDeviceList.Size = new System.Drawing.Size(312, 23);
- this.cmbDeviceList.TabIndex = 1;
- //
- // btnConnectCamera
- //
- this.btnConnectCamera.Location = new System.Drawing.Point(12, 72);
- this.btnConnectCamera.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnConnectCamera.Name = "btnConnectCamera";
- this.btnConnectCamera.Size = new System.Drawing.Size(125, 35);
- this.btnConnectCamera.TabIndex = 2;
- this.btnConnectCamera.Text = "连接相机";
- this.btnConnectCamera.UseVisualStyleBackColor = true;
- this.btnConnectCamera.Click += new System.EventHandler(this.btnConnectCamera_Click);
- //
- // btnDisconnectCamera
- //
- this.btnDisconnectCamera.Enabled = false;
- this.btnDisconnectCamera.Location = new System.Drawing.Point(150, 72);
- this.btnDisconnectCamera.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnDisconnectCamera.Name = "btnDisconnectCamera";
- this.btnDisconnectCamera.Size = new System.Drawing.Size(125, 35);
- this.btnDisconnectCamera.TabIndex = 3;
- this.btnDisconnectCamera.Text = "断开相机";
- this.btnDisconnectCamera.UseVisualStyleBackColor = true;
- this.btnDisconnectCamera.Click += new System.EventHandler(this.btnDisconnectCamera_Click);
- //
- // grpCameraParams
- //
- this.grpCameraParams.Controls.Add(this.lblExposure);
- this.grpCameraParams.Controls.Add(this.txtExposure);
- this.grpCameraParams.Controls.Add(this.btnSetExposure);
- this.grpCameraParams.Controls.Add(this.lblGain);
- this.grpCameraParams.Controls.Add(this.txtGain);
- this.grpCameraParams.Controls.Add(this.btnSetGain);
- this.grpCameraParams.Location = new System.Drawing.Point(10, 142);
- this.grpCameraParams.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpCameraParams.Name = "grpCameraParams";
- this.grpCameraParams.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpCameraParams.Size = new System.Drawing.Size(475, 125);
- this.grpCameraParams.TabIndex = 1;
- this.grpCameraParams.TabStop = false;
- this.grpCameraParams.Text = "相机参数";
- //
- // lblExposure
- //
- this.lblExposure.Location = new System.Drawing.Point(12, 31);
- this.lblExposure.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblExposure.Name = "lblExposure";
- this.lblExposure.Size = new System.Drawing.Size(75, 25);
- this.lblExposure.TabIndex = 0;
- this.lblExposure.Text = "曝光时间:";
- //
- // txtExposure
- //
- this.txtExposure.Location = new System.Drawing.Point(94, 28);
- this.txtExposure.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.txtExposure.Name = "txtExposure";
- this.txtExposure.Size = new System.Drawing.Size(124, 25);
- this.txtExposure.TabIndex = 1;
- this.txtExposure.Text = "10000";
- //
- // btnSetExposure
- //
- this.btnSetExposure.Enabled = false;
- this.btnSetExposure.Location = new System.Drawing.Point(231, 25);
- this.btnSetExposure.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnSetExposure.Name = "btnSetExposure";
- this.btnSetExposure.Size = new System.Drawing.Size(94, 35);
- this.btnSetExposure.TabIndex = 2;
- this.btnSetExposure.Text = "设置";
- this.btnSetExposure.UseVisualStyleBackColor = true;
- this.btnSetExposure.Click += new System.EventHandler(this.btnSetExposure_Click);
- //
- // lblGain
- //
- this.lblGain.Location = new System.Drawing.Point(12, 75);
- this.lblGain.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblGain.Name = "lblGain";
- this.lblGain.Size = new System.Drawing.Size(75, 25);
- this.lblGain.TabIndex = 3;
- this.lblGain.Text = "增益:";
- //
- // txtGain
- //
- this.txtGain.Location = new System.Drawing.Point(94, 71);
- this.txtGain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.txtGain.Name = "txtGain";
- this.txtGain.Size = new System.Drawing.Size(124, 25);
- this.txtGain.TabIndex = 4;
- this.txtGain.Text = "1.0";
- //
- // btnSetGain
- //
- this.btnSetGain.Enabled = false;
- this.btnSetGain.Location = new System.Drawing.Point(231, 69);
- this.btnSetGain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnSetGain.Name = "btnSetGain";
- this.btnSetGain.Size = new System.Drawing.Size(94, 35);
- this.btnSetGain.TabIndex = 5;
- this.btnSetGain.Text = "设置";
- this.btnSetGain.UseVisualStyleBackColor = true;
- this.btnSetGain.Click += new System.EventHandler(this.btnSetGain_Click);
- //
- // grpAcquisition
- //
- this.grpAcquisition.Controls.Add(this.button1);
- this.grpAcquisition.Controls.Add(this.cmbTriggerMode);
- this.grpAcquisition.Controls.Add(this.lblTriggerMode);
- this.grpAcquisition.Controls.Add(this.btnStartGrabbing);
- this.grpAcquisition.Controls.Add(this.btnStopGrabbing);
- this.grpAcquisition.Controls.Add(this.btnSoftwareTrigger);
- this.grpAcquisition.Controls.Add(this.chkContinuousDisplay);
- this.grpAcquisition.Location = new System.Drawing.Point(10, 275);
- this.grpAcquisition.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpAcquisition.Name = "grpAcquisition";
- this.grpAcquisition.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpAcquisition.Size = new System.Drawing.Size(475, 175);
- this.grpAcquisition.TabIndex = 2;
- this.grpAcquisition.TabStop = false;
- this.grpAcquisition.Text = "图像采集";
- //
- // cmbTriggerMode
- //
- this.cmbTriggerMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbTriggerMode.Items.AddRange(new object[] {
- "连续采集",
- "软触发"});
- this.cmbTriggerMode.Location = new System.Drawing.Point(94, 28);
- this.cmbTriggerMode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.cmbTriggerMode.Name = "cmbTriggerMode";
- this.cmbTriggerMode.Size = new System.Drawing.Size(149, 23);
- this.cmbTriggerMode.TabIndex = 0;
- this.cmbTriggerMode.SelectedIndexChanged += new System.EventHandler(this.cmbTriggerMode_SelectedIndexChanged);
- //
- // lblTriggerMode
- //
- this.lblTriggerMode.Location = new System.Drawing.Point(12, 31);
- this.lblTriggerMode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblTriggerMode.Name = "lblTriggerMode";
- this.lblTriggerMode.Size = new System.Drawing.Size(75, 25);
- this.lblTriggerMode.TabIndex = 1;
- this.lblTriggerMode.Text = "触发模式:";
- //
- // btnStartGrabbing
- //
- this.btnStartGrabbing.Enabled = false;
- this.btnStartGrabbing.Location = new System.Drawing.Point(12, 72);
- this.btnStartGrabbing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnStartGrabbing.Name = "btnStartGrabbing";
- this.btnStartGrabbing.Size = new System.Drawing.Size(125, 35);
- this.btnStartGrabbing.TabIndex = 2;
- this.btnStartGrabbing.Text = "开始采集";
- this.btnStartGrabbing.UseVisualStyleBackColor = true;
- this.btnStartGrabbing.Click += new System.EventHandler(this.btnStartGrabbing_Click);
- //
- // btnStopGrabbing
- //
- this.btnStopGrabbing.Enabled = false;
- this.btnStopGrabbing.Location = new System.Drawing.Point(150, 72);
- this.btnStopGrabbing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnStopGrabbing.Name = "btnStopGrabbing";
- this.btnStopGrabbing.Size = new System.Drawing.Size(125, 35);
- this.btnStopGrabbing.TabIndex = 3;
- this.btnStopGrabbing.Text = "停止采集";
- this.btnStopGrabbing.UseVisualStyleBackColor = true;
- this.btnStopGrabbing.Click += new System.EventHandler(this.btnStopGrabbing_Click);
- //
- // btnSoftwareTrigger
- //
- this.btnSoftwareTrigger.Enabled = false;
- this.btnSoftwareTrigger.Location = new System.Drawing.Point(288, 72);
- this.btnSoftwareTrigger.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnSoftwareTrigger.Name = "btnSoftwareTrigger";
- this.btnSoftwareTrigger.Size = new System.Drawing.Size(125, 35);
- this.btnSoftwareTrigger.TabIndex = 4;
- this.btnSoftwareTrigger.Text = "软触发";
- this.btnSoftwareTrigger.UseVisualStyleBackColor = true;
- this.btnSoftwareTrigger.Click += new System.EventHandler(this.btnSoftwareTrigger_Click);
- //
- // chkContinuousDisplay
- //
- this.chkContinuousDisplay.Checked = true;
- this.chkContinuousDisplay.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkContinuousDisplay.Location = new System.Drawing.Point(12, 119);
- this.chkContinuousDisplay.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.chkContinuousDisplay.Name = "chkContinuousDisplay";
- this.chkContinuousDisplay.Size = new System.Drawing.Size(188, 25);
- this.chkContinuousDisplay.TabIndex = 5;
- this.chkContinuousDisplay.Text = "连续显示图像";
- //
- // picCameraView
- //
- this.picCameraView.BackColor = System.Drawing.Color.Black;
- this.picCameraView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.picCameraView.Location = new System.Drawing.Point(500, 10);
- this.picCameraView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.picCameraView.Name = "picCameraView";
- this.picCameraView.Size = new System.Drawing.Size(850, 750);
- this.picCameraView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picCameraView.TabIndex = 3;
- this.picCameraView.TabStop = false;
- //
- // tabVisionMaster
- //
- this.tabVisionMaster.Controls.Add(this.grpSolution);
- this.tabVisionMaster.Controls.Add(this.grpVMParams);
- this.tabVisionMaster.Controls.Add(this.grpVMRun);
- this.tabVisionMaster.Controls.Add(this.picVMResultView);
- this.tabVisionMaster.Location = new System.Drawing.Point(4, 25);
- this.tabVisionMaster.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabVisionMaster.Name = "tabVisionMaster";
- this.tabVisionMaster.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabVisionMaster.Size = new System.Drawing.Size(1370, 786);
- this.tabVisionMaster.TabIndex = 1;
- this.tabVisionMaster.Text = "VisionMaster";
- this.tabVisionMaster.UseVisualStyleBackColor = true;
- //
- // grpSolution
- //
- this.grpSolution.Controls.Add(this.lblSolutionPath);
- this.grpSolution.Controls.Add(this.txtSolutionPath);
- this.grpSolution.Controls.Add(this.btnBrowseSolution);
- this.grpSolution.Controls.Add(this.btnLoadSolution);
- this.grpSolution.Controls.Add(this.btnUnloadSolution);
- this.grpSolution.Location = new System.Drawing.Point(10, 10);
- this.grpSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpSolution.Name = "grpSolution";
- this.grpSolution.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpSolution.Size = new System.Drawing.Size(475, 138);
- this.grpSolution.TabIndex = 0;
- this.grpSolution.TabStop = false;
- this.grpSolution.Text = "方案管理";
- //
- // lblSolutionPath
- //
- this.lblSolutionPath.Location = new System.Drawing.Point(12, 31);
- this.lblSolutionPath.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblSolutionPath.Name = "lblSolutionPath";
- this.lblSolutionPath.Size = new System.Drawing.Size(88, 25);
- this.lblSolutionPath.TabIndex = 0;
- this.lblSolutionPath.Text = "方案路径:";
- //
- // txtSolutionPath
- //
- this.txtSolutionPath.Location = new System.Drawing.Point(106, 28);
- this.txtSolutionPath.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.txtSolutionPath.Name = "txtSolutionPath";
- this.txtSolutionPath.Size = new System.Drawing.Size(349, 25);
- this.txtSolutionPath.TabIndex = 1;
- //
- // btnBrowseSolution
- //
- this.btnBrowseSolution.Location = new System.Drawing.Point(12, 69);
- this.btnBrowseSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnBrowseSolution.Name = "btnBrowseSolution";
- this.btnBrowseSolution.Size = new System.Drawing.Size(125, 35);
- this.btnBrowseSolution.TabIndex = 2;
- this.btnBrowseSolution.Text = "浏览...";
- this.btnBrowseSolution.UseVisualStyleBackColor = true;
- this.btnBrowseSolution.Click += new System.EventHandler(this.btnBrowseSolution_Click);
- //
- // btnLoadSolution
- //
- this.btnLoadSolution.Location = new System.Drawing.Point(150, 69);
- this.btnLoadSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnLoadSolution.Name = "btnLoadSolution";
- this.btnLoadSolution.Size = new System.Drawing.Size(125, 35);
- this.btnLoadSolution.TabIndex = 3;
- this.btnLoadSolution.Text = "加载方案";
- this.btnLoadSolution.UseVisualStyleBackColor = true;
- this.btnLoadSolution.Click += new System.EventHandler(this.btnLoadSolution_Click);
- //
- // btnUnloadSolution
- //
- this.btnUnloadSolution.Enabled = false;
- this.btnUnloadSolution.Location = new System.Drawing.Point(288, 69);
- this.btnUnloadSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnUnloadSolution.Name = "btnUnloadSolution";
- this.btnUnloadSolution.Size = new System.Drawing.Size(125, 35);
- this.btnUnloadSolution.TabIndex = 4;
- this.btnUnloadSolution.Text = "卸载方案";
- this.btnUnloadSolution.UseVisualStyleBackColor = true;
- this.btnUnloadSolution.Click += new System.EventHandler(this.btnUnloadSolution_Click);
- //
- // grpVMParams
- //
- this.grpVMParams.Controls.Add(this.lblFlowName);
- this.grpVMParams.Controls.Add(this.txtFlowName);
- this.grpVMParams.Controls.Add(this.lblImageSourceName);
- this.grpVMParams.Controls.Add(this.txtImageSourceName);
- this.grpVMParams.Controls.Add(this.chkOutMono8);
- this.grpVMParams.Location = new System.Drawing.Point(10, 155);
- this.grpVMParams.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpVMParams.Name = "grpVMParams";
- this.grpVMParams.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpVMParams.Size = new System.Drawing.Size(475, 162);
- this.grpVMParams.TabIndex = 1;
- this.grpVMParams.TabStop = false;
- this.grpVMParams.Text = "流程参数";
- //
- // lblFlowName
- //
- this.lblFlowName.Location = new System.Drawing.Point(12, 31);
- this.lblFlowName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblFlowName.Name = "lblFlowName";
- this.lblFlowName.Size = new System.Drawing.Size(100, 25);
- this.lblFlowName.TabIndex = 0;
- this.lblFlowName.Text = "流程名称:";
- //
- // txtFlowName
- //
- this.txtFlowName.Location = new System.Drawing.Point(119, 28);
- this.txtFlowName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.txtFlowName.Name = "txtFlowName";
- this.txtFlowName.Size = new System.Drawing.Size(249, 25);
- this.txtFlowName.TabIndex = 1;
- this.txtFlowName.Text = "Flow1";
- //
- // lblImageSourceName
- //
- this.lblImageSourceName.Location = new System.Drawing.Point(12, 75);
- this.lblImageSourceName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblImageSourceName.Name = "lblImageSourceName";
- this.lblImageSourceName.Size = new System.Drawing.Size(100, 25);
- this.lblImageSourceName.TabIndex = 2;
- this.lblImageSourceName.Text = "图像输入模块:";
- //
- // txtImageSourceName
- //
- this.txtImageSourceName.Location = new System.Drawing.Point(119, 71);
- this.txtImageSourceName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.txtImageSourceName.Name = "txtImageSourceName";
- this.txtImageSourceName.Size = new System.Drawing.Size(249, 25);
- this.txtImageSourceName.TabIndex = 3;
- this.txtImageSourceName.Text = "Image Source1";
- //
- // chkOutMono8
- //
- this.chkOutMono8.Checked = true;
- this.chkOutMono8.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkOutMono8.Location = new System.Drawing.Point(12, 119);
- this.chkOutMono8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.chkOutMono8.Name = "chkOutMono8";
- this.chkOutMono8.Size = new System.Drawing.Size(250, 25);
- this.chkOutMono8.TabIndex = 4;
- this.chkOutMono8.Text = "输出Mono8灰度图";
- //
- // grpVMRun
- //
- this.grpVMRun.Controls.Add(this.btnRunOnce);
- this.grpVMRun.Controls.Add(this.btnStartContinuous);
- this.grpVMRun.Controls.Add(this.btnStopContinuous);
- this.grpVMRun.Controls.Add(this.lblRunStatus);
- this.grpVMRun.Location = new System.Drawing.Point(10, 325);
- this.grpVMRun.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpVMRun.Name = "grpVMRun";
- this.grpVMRun.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.grpVMRun.Size = new System.Drawing.Size(475, 150);
- this.grpVMRun.TabIndex = 2;
- this.grpVMRun.TabStop = false;
- this.grpVMRun.Text = "流程执行";
- //
- // btnRunOnce
- //
- this.btnRunOnce.Location = new System.Drawing.Point(12, 28);
- this.btnRunOnce.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnRunOnce.Name = "btnRunOnce";
- this.btnRunOnce.Size = new System.Drawing.Size(138, 38);
- this.btnRunOnce.TabIndex = 0;
- this.btnRunOnce.Text = "单次执行(采图+检测)";
- this.btnRunOnce.UseVisualStyleBackColor = true;
- this.btnRunOnce.Click += new System.EventHandler(this.btnRunOnce_Click);
- //
- // btnStartContinuous
- //
- this.btnStartContinuous.Location = new System.Drawing.Point(162, 28);
- this.btnStartContinuous.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnStartContinuous.Name = "btnStartContinuous";
- this.btnStartContinuous.Size = new System.Drawing.Size(138, 38);
- this.btnStartContinuous.TabIndex = 1;
- this.btnStartContinuous.Text = "连续执行";
- this.btnStartContinuous.UseVisualStyleBackColor = true;
- this.btnStartContinuous.Click += new System.EventHandler(this.btnStartContinuous_Click);
- //
- // btnStopContinuous
- //
- this.btnStopContinuous.Enabled = false;
- this.btnStopContinuous.Location = new System.Drawing.Point(312, 28);
- this.btnStopContinuous.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnStopContinuous.Name = "btnStopContinuous";
- this.btnStopContinuous.Size = new System.Drawing.Size(138, 38);
- this.btnStopContinuous.TabIndex = 2;
- this.btnStopContinuous.Text = "停止连续";
- this.btnStopContinuous.UseVisualStyleBackColor = true;
- this.btnStopContinuous.Click += new System.EventHandler(this.btnStopContinuous_Click);
- //
- // lblRunStatus
- //
- this.lblRunStatus.Location = new System.Drawing.Point(12, 75);
- this.lblRunStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.lblRunStatus.Name = "lblRunStatus";
- this.lblRunStatus.Size = new System.Drawing.Size(438, 50);
- this.lblRunStatus.TabIndex = 3;
- this.lblRunStatus.Text = "就绪";
- //
- // picVMResultView
- //
- this.picVMResultView.BackColor = System.Drawing.Color.Black;
- this.picVMResultView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.picVMResultView.Location = new System.Drawing.Point(500, 10);
- this.picVMResultView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.picVMResultView.Name = "picVMResultView";
- this.picVMResultView.Size = new System.Drawing.Size(850, 750);
- this.picVMResultView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picVMResultView.TabIndex = 3;
- this.picVMResultView.TabStop = false;
- //
- // tabLog
- //
- this.tabLog.Controls.Add(this.txtLog);
- this.tabLog.Controls.Add(this.btnClearLog);
- this.tabLog.Controls.Add(this.chkAutoScroll);
- this.tabLog.Location = new System.Drawing.Point(4, 25);
- this.tabLog.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabLog.Name = "tabLog";
- this.tabLog.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.tabLog.Size = new System.Drawing.Size(1370, 786);
- this.tabLog.TabIndex = 2;
- this.tabLog.Text = "运行日志";
- this.tabLog.UseVisualStyleBackColor = true;
- //
- // txtLog
- //
- this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtLog.Font = new System.Drawing.Font("Consolas", 9F);
- this.txtLog.Location = new System.Drawing.Point(4, 4);
- this.txtLog.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.txtLog.Multiline = true;
- this.txtLog.Name = "txtLog";
- this.txtLog.ReadOnly = true;
- this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.txtLog.Size = new System.Drawing.Size(1362, 778);
- this.txtLog.TabIndex = 0;
- //
- // btnClearLog
- //
- this.btnClearLog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnClearLog.Location = new System.Drawing.Point(1253, 747);
- this.btnClearLog.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.btnClearLog.Name = "btnClearLog";
- this.btnClearLog.Size = new System.Drawing.Size(100, 31);
- this.btnClearLog.TabIndex = 1;
- this.btnClearLog.Text = "清空日志";
- this.btnClearLog.UseVisualStyleBackColor = true;
- this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
- //
- // chkAutoScroll
- //
- this.chkAutoScroll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.chkAutoScroll.Checked = true;
- this.chkAutoScroll.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkAutoScroll.Location = new System.Drawing.Point(8, 749);
- this.chkAutoScroll.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.chkAutoScroll.Name = "chkAutoScroll";
- this.chkAutoScroll.Size = new System.Drawing.Size(150, 25);
- this.chkAutoScroll.TabIndex = 2;
- this.chkAutoScroll.Text = "自动滚动";
- //
- // statusStrip
- //
- this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tsslStatus});
- this.statusStrip.Location = new System.Drawing.Point(0, 815);
- this.statusStrip.Name = "statusStrip";
- this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 18, 0);
- this.statusStrip.Size = new System.Drawing.Size(1378, 26);
- this.statusStrip.TabIndex = 1;
- //
- // tsslStatus
- //
- this.tsslStatus.Name = "tsslStatus";
- this.tsslStatus.Size = new System.Drawing.Size(39, 20);
- this.tsslStatus.Text = "就绪";
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(288, 21);
- this.button1.Margin = new System.Windows.Forms.Padding(4);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(125, 35);
- this.button1.TabIndex = 6;
- this.button1.Text = "开始采集";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // MainForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
- this.ClientSize = new System.Drawing.Size(1378, 841);
- this.Controls.Add(this.tabControlMain);
- this.Controls.Add(this.statusStrip);
- this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
- this.MinimumSize = new System.Drawing.Size(1396, 888);
- this.Name = "MainForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "华睿相机 × 海康VisionMaster 集成检测系统";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
- this.tabControlMain.ResumeLayout(false);
- this.tabCamera.ResumeLayout(false);
- this.grpCameraConnection.ResumeLayout(false);
- this.grpCameraParams.ResumeLayout(false);
- this.grpCameraParams.PerformLayout();
- this.grpAcquisition.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.picCameraView)).EndInit();
- this.tabVisionMaster.ResumeLayout(false);
- this.grpSolution.ResumeLayout(false);
- this.grpSolution.PerformLayout();
- this.grpVMParams.ResumeLayout(false);
- this.grpVMParams.PerformLayout();
- this.grpVMRun.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.picVMResultView)).EndInit();
- this.tabLog.ResumeLayout(false);
- this.tabLog.PerformLayout();
- this.statusStrip.ResumeLayout(false);
- this.statusStrip.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.TabControl tabControlMain;
- private System.Windows.Forms.TabPage tabCamera;
- private System.Windows.Forms.TabPage tabVisionMaster;
- private System.Windows.Forms.TabPage tabLog;
- // 相机页面控件
- private System.Windows.Forms.GroupBox grpCameraConnection;
- private System.Windows.Forms.Button btnRefreshDevices;
- private System.Windows.Forms.ComboBox cmbDeviceList;
- private System.Windows.Forms.Button btnConnectCamera;
- private System.Windows.Forms.Button btnDisconnectCamera;
- private System.Windows.Forms.GroupBox grpCameraParams;
- private System.Windows.Forms.Label lblExposure;
- private System.Windows.Forms.TextBox txtExposure;
- private System.Windows.Forms.Button btnSetExposure;
- private System.Windows.Forms.Label lblGain;
- private System.Windows.Forms.TextBox txtGain;
- private System.Windows.Forms.Button btnSetGain;
- private System.Windows.Forms.GroupBox grpAcquisition;
- private System.Windows.Forms.ComboBox cmbTriggerMode;
- private System.Windows.Forms.Label lblTriggerMode;
- private System.Windows.Forms.Button btnStartGrabbing;
- private System.Windows.Forms.Button btnStopGrabbing;
- private System.Windows.Forms.Button btnSoftwareTrigger;
- private System.Windows.Forms.CheckBox chkContinuousDisplay;
- private System.Windows.Forms.PictureBox picCameraView;
- // VM页面控件
- private System.Windows.Forms.GroupBox grpSolution;
- private System.Windows.Forms.Label lblSolutionPath;
- private System.Windows.Forms.TextBox txtSolutionPath;
- private System.Windows.Forms.Button btnBrowseSolution;
- private System.Windows.Forms.Button btnLoadSolution;
- private System.Windows.Forms.Button btnUnloadSolution;
- private System.Windows.Forms.GroupBox grpVMParams;
- private System.Windows.Forms.Label lblFlowName;
- private System.Windows.Forms.TextBox txtFlowName;
- private System.Windows.Forms.Label lblImageSourceName;
- private System.Windows.Forms.TextBox txtImageSourceName;
- private System.Windows.Forms.CheckBox chkOutMono8;
- private System.Windows.Forms.GroupBox grpVMRun;
- private System.Windows.Forms.Button btnRunOnce;
- private System.Windows.Forms.Button btnStartContinuous;
- private System.Windows.Forms.Button btnStopContinuous;
- private System.Windows.Forms.Label lblRunStatus;
- private System.Windows.Forms.PictureBox picVMResultView;
- // 日志页面控件
- private System.Windows.Forms.TextBox txtLog;
- private System.Windows.Forms.Button btnClearLog;
- private System.Windows.Forms.CheckBox chkAutoScroll;
- // 状态栏
- private System.Windows.Forms.StatusStrip statusStrip;
- private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
- private System.Windows.Forms.Button button1;
- }
- }
|