MainForm.Designer.cs 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. namespace HuarayVMDemo.Forms
  2. {
  3. partial class MainForm
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源
  11. /// </summary>
  12. protected override void Dispose(bool disposing)
  13. {
  14. if (disposing && (components != null))
  15. {
  16. components.Dispose();
  17. }
  18. base.Dispose(disposing);
  19. }
  20. #region Windows 窗体设计器生成的代码
  21. /// <summary>
  22. /// 设计器支持所需的方法 - 不要修改
  23. /// 使用代码编辑器修改此方法的内容
  24. /// </summary>
  25. private void InitializeComponent()
  26. {
  27. this.tabControlMain = new System.Windows.Forms.TabControl();
  28. this.tabCamera = new System.Windows.Forms.TabPage();
  29. this.grpCameraConnection = new System.Windows.Forms.GroupBox();
  30. this.btnRefreshDevices = new System.Windows.Forms.Button();
  31. this.cmbDeviceList = new System.Windows.Forms.ComboBox();
  32. this.btnConnectCamera = new System.Windows.Forms.Button();
  33. this.btnDisconnectCamera = new System.Windows.Forms.Button();
  34. this.grpCameraParams = new System.Windows.Forms.GroupBox();
  35. this.lblExposure = new System.Windows.Forms.Label();
  36. this.txtExposure = new System.Windows.Forms.TextBox();
  37. this.btnSetExposure = new System.Windows.Forms.Button();
  38. this.lblGain = new System.Windows.Forms.Label();
  39. this.txtGain = new System.Windows.Forms.TextBox();
  40. this.btnSetGain = new System.Windows.Forms.Button();
  41. this.grpAcquisition = new System.Windows.Forms.GroupBox();
  42. this.cmbTriggerMode = new System.Windows.Forms.ComboBox();
  43. this.lblTriggerMode = new System.Windows.Forms.Label();
  44. this.btnStartGrabbing = new System.Windows.Forms.Button();
  45. this.btnStopGrabbing = new System.Windows.Forms.Button();
  46. this.btnSoftwareTrigger = new System.Windows.Forms.Button();
  47. this.chkContinuousDisplay = new System.Windows.Forms.CheckBox();
  48. this.picCameraView = new System.Windows.Forms.PictureBox();
  49. this.tabVisionMaster = new System.Windows.Forms.TabPage();
  50. this.grpSolution = new System.Windows.Forms.GroupBox();
  51. this.lblSolutionPath = new System.Windows.Forms.Label();
  52. this.txtSolutionPath = new System.Windows.Forms.TextBox();
  53. this.btnBrowseSolution = new System.Windows.Forms.Button();
  54. this.btnLoadSolution = new System.Windows.Forms.Button();
  55. this.btnUnloadSolution = new System.Windows.Forms.Button();
  56. this.grpVMParams = new System.Windows.Forms.GroupBox();
  57. this.lblFlowName = new System.Windows.Forms.Label();
  58. this.txtFlowName = new System.Windows.Forms.TextBox();
  59. this.lblImageSourceName = new System.Windows.Forms.Label();
  60. this.txtImageSourceName = new System.Windows.Forms.TextBox();
  61. this.chkOutMono8 = new System.Windows.Forms.CheckBox();
  62. this.grpVMRun = new System.Windows.Forms.GroupBox();
  63. this.btnRunOnce = new System.Windows.Forms.Button();
  64. this.btnStartContinuous = new System.Windows.Forms.Button();
  65. this.btnStopContinuous = new System.Windows.Forms.Button();
  66. this.lblRunStatus = new System.Windows.Forms.Label();
  67. this.picVMResultView = new System.Windows.Forms.PictureBox();
  68. this.tabLog = new System.Windows.Forms.TabPage();
  69. this.txtLog = new System.Windows.Forms.TextBox();
  70. this.btnClearLog = new System.Windows.Forms.Button();
  71. this.chkAutoScroll = new System.Windows.Forms.CheckBox();
  72. this.statusStrip = new System.Windows.Forms.StatusStrip();
  73. this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
  74. this.button1 = new System.Windows.Forms.Button();
  75. this.tabControlMain.SuspendLayout();
  76. this.tabCamera.SuspendLayout();
  77. this.grpCameraConnection.SuspendLayout();
  78. this.grpCameraParams.SuspendLayout();
  79. this.grpAcquisition.SuspendLayout();
  80. ((System.ComponentModel.ISupportInitialize)(this.picCameraView)).BeginInit();
  81. this.tabVisionMaster.SuspendLayout();
  82. this.grpSolution.SuspendLayout();
  83. this.grpVMParams.SuspendLayout();
  84. this.grpVMRun.SuspendLayout();
  85. ((System.ComponentModel.ISupportInitialize)(this.picVMResultView)).BeginInit();
  86. this.tabLog.SuspendLayout();
  87. this.statusStrip.SuspendLayout();
  88. this.SuspendLayout();
  89. //
  90. // tabControlMain
  91. //
  92. this.tabControlMain.Controls.Add(this.tabCamera);
  93. this.tabControlMain.Controls.Add(this.tabVisionMaster);
  94. this.tabControlMain.Controls.Add(this.tabLog);
  95. this.tabControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
  96. this.tabControlMain.Location = new System.Drawing.Point(0, 0);
  97. this.tabControlMain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  98. this.tabControlMain.Name = "tabControlMain";
  99. this.tabControlMain.SelectedIndex = 0;
  100. this.tabControlMain.Size = new System.Drawing.Size(1378, 815);
  101. this.tabControlMain.TabIndex = 0;
  102. //
  103. // tabCamera
  104. //
  105. this.tabCamera.Controls.Add(this.grpCameraConnection);
  106. this.tabCamera.Controls.Add(this.grpCameraParams);
  107. this.tabCamera.Controls.Add(this.grpAcquisition);
  108. this.tabCamera.Controls.Add(this.picCameraView);
  109. this.tabCamera.Location = new System.Drawing.Point(4, 25);
  110. this.tabCamera.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  111. this.tabCamera.Name = "tabCamera";
  112. this.tabCamera.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  113. this.tabCamera.Size = new System.Drawing.Size(1370, 786);
  114. this.tabCamera.TabIndex = 0;
  115. this.tabCamera.Text = "相机控制";
  116. this.tabCamera.UseVisualStyleBackColor = true;
  117. //
  118. // grpCameraConnection
  119. //
  120. this.grpCameraConnection.Controls.Add(this.btnRefreshDevices);
  121. this.grpCameraConnection.Controls.Add(this.cmbDeviceList);
  122. this.grpCameraConnection.Controls.Add(this.btnConnectCamera);
  123. this.grpCameraConnection.Controls.Add(this.btnDisconnectCamera);
  124. this.grpCameraConnection.Location = new System.Drawing.Point(10, 10);
  125. this.grpCameraConnection.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  126. this.grpCameraConnection.Name = "grpCameraConnection";
  127. this.grpCameraConnection.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  128. this.grpCameraConnection.Size = new System.Drawing.Size(475, 125);
  129. this.grpCameraConnection.TabIndex = 0;
  130. this.grpCameraConnection.TabStop = false;
  131. this.grpCameraConnection.Text = "设备连接";
  132. //
  133. // btnRefreshDevices
  134. //
  135. this.btnRefreshDevices.Location = new System.Drawing.Point(12, 28);
  136. this.btnRefreshDevices.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  137. this.btnRefreshDevices.Name = "btnRefreshDevices";
  138. this.btnRefreshDevices.Size = new System.Drawing.Size(125, 35);
  139. this.btnRefreshDevices.TabIndex = 0;
  140. this.btnRefreshDevices.Text = "枚举设备";
  141. this.btnRefreshDevices.UseVisualStyleBackColor = true;
  142. this.btnRefreshDevices.Click += new System.EventHandler(this.btnRefreshDevices_Click);
  143. //
  144. // cmbDeviceList
  145. //
  146. this.cmbDeviceList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  147. this.cmbDeviceList.Location = new System.Drawing.Point(150, 31);
  148. this.cmbDeviceList.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  149. this.cmbDeviceList.Name = "cmbDeviceList";
  150. this.cmbDeviceList.Size = new System.Drawing.Size(312, 23);
  151. this.cmbDeviceList.TabIndex = 1;
  152. //
  153. // btnConnectCamera
  154. //
  155. this.btnConnectCamera.Location = new System.Drawing.Point(12, 72);
  156. this.btnConnectCamera.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  157. this.btnConnectCamera.Name = "btnConnectCamera";
  158. this.btnConnectCamera.Size = new System.Drawing.Size(125, 35);
  159. this.btnConnectCamera.TabIndex = 2;
  160. this.btnConnectCamera.Text = "连接相机";
  161. this.btnConnectCamera.UseVisualStyleBackColor = true;
  162. this.btnConnectCamera.Click += new System.EventHandler(this.btnConnectCamera_Click);
  163. //
  164. // btnDisconnectCamera
  165. //
  166. this.btnDisconnectCamera.Enabled = false;
  167. this.btnDisconnectCamera.Location = new System.Drawing.Point(150, 72);
  168. this.btnDisconnectCamera.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  169. this.btnDisconnectCamera.Name = "btnDisconnectCamera";
  170. this.btnDisconnectCamera.Size = new System.Drawing.Size(125, 35);
  171. this.btnDisconnectCamera.TabIndex = 3;
  172. this.btnDisconnectCamera.Text = "断开相机";
  173. this.btnDisconnectCamera.UseVisualStyleBackColor = true;
  174. this.btnDisconnectCamera.Click += new System.EventHandler(this.btnDisconnectCamera_Click);
  175. //
  176. // grpCameraParams
  177. //
  178. this.grpCameraParams.Controls.Add(this.lblExposure);
  179. this.grpCameraParams.Controls.Add(this.txtExposure);
  180. this.grpCameraParams.Controls.Add(this.btnSetExposure);
  181. this.grpCameraParams.Controls.Add(this.lblGain);
  182. this.grpCameraParams.Controls.Add(this.txtGain);
  183. this.grpCameraParams.Controls.Add(this.btnSetGain);
  184. this.grpCameraParams.Location = new System.Drawing.Point(10, 142);
  185. this.grpCameraParams.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  186. this.grpCameraParams.Name = "grpCameraParams";
  187. this.grpCameraParams.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  188. this.grpCameraParams.Size = new System.Drawing.Size(475, 125);
  189. this.grpCameraParams.TabIndex = 1;
  190. this.grpCameraParams.TabStop = false;
  191. this.grpCameraParams.Text = "相机参数";
  192. //
  193. // lblExposure
  194. //
  195. this.lblExposure.Location = new System.Drawing.Point(12, 31);
  196. this.lblExposure.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  197. this.lblExposure.Name = "lblExposure";
  198. this.lblExposure.Size = new System.Drawing.Size(75, 25);
  199. this.lblExposure.TabIndex = 0;
  200. this.lblExposure.Text = "曝光时间:";
  201. //
  202. // txtExposure
  203. //
  204. this.txtExposure.Location = new System.Drawing.Point(94, 28);
  205. this.txtExposure.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  206. this.txtExposure.Name = "txtExposure";
  207. this.txtExposure.Size = new System.Drawing.Size(124, 25);
  208. this.txtExposure.TabIndex = 1;
  209. this.txtExposure.Text = "10000";
  210. //
  211. // btnSetExposure
  212. //
  213. this.btnSetExposure.Enabled = false;
  214. this.btnSetExposure.Location = new System.Drawing.Point(231, 25);
  215. this.btnSetExposure.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  216. this.btnSetExposure.Name = "btnSetExposure";
  217. this.btnSetExposure.Size = new System.Drawing.Size(94, 35);
  218. this.btnSetExposure.TabIndex = 2;
  219. this.btnSetExposure.Text = "设置";
  220. this.btnSetExposure.UseVisualStyleBackColor = true;
  221. this.btnSetExposure.Click += new System.EventHandler(this.btnSetExposure_Click);
  222. //
  223. // lblGain
  224. //
  225. this.lblGain.Location = new System.Drawing.Point(12, 75);
  226. this.lblGain.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  227. this.lblGain.Name = "lblGain";
  228. this.lblGain.Size = new System.Drawing.Size(75, 25);
  229. this.lblGain.TabIndex = 3;
  230. this.lblGain.Text = "增益:";
  231. //
  232. // txtGain
  233. //
  234. this.txtGain.Location = new System.Drawing.Point(94, 71);
  235. this.txtGain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  236. this.txtGain.Name = "txtGain";
  237. this.txtGain.Size = new System.Drawing.Size(124, 25);
  238. this.txtGain.TabIndex = 4;
  239. this.txtGain.Text = "1.0";
  240. //
  241. // btnSetGain
  242. //
  243. this.btnSetGain.Enabled = false;
  244. this.btnSetGain.Location = new System.Drawing.Point(231, 69);
  245. this.btnSetGain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  246. this.btnSetGain.Name = "btnSetGain";
  247. this.btnSetGain.Size = new System.Drawing.Size(94, 35);
  248. this.btnSetGain.TabIndex = 5;
  249. this.btnSetGain.Text = "设置";
  250. this.btnSetGain.UseVisualStyleBackColor = true;
  251. this.btnSetGain.Click += new System.EventHandler(this.btnSetGain_Click);
  252. //
  253. // grpAcquisition
  254. //
  255. this.grpAcquisition.Controls.Add(this.button1);
  256. this.grpAcquisition.Controls.Add(this.cmbTriggerMode);
  257. this.grpAcquisition.Controls.Add(this.lblTriggerMode);
  258. this.grpAcquisition.Controls.Add(this.btnStartGrabbing);
  259. this.grpAcquisition.Controls.Add(this.btnStopGrabbing);
  260. this.grpAcquisition.Controls.Add(this.btnSoftwareTrigger);
  261. this.grpAcquisition.Controls.Add(this.chkContinuousDisplay);
  262. this.grpAcquisition.Location = new System.Drawing.Point(10, 275);
  263. this.grpAcquisition.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  264. this.grpAcquisition.Name = "grpAcquisition";
  265. this.grpAcquisition.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  266. this.grpAcquisition.Size = new System.Drawing.Size(475, 175);
  267. this.grpAcquisition.TabIndex = 2;
  268. this.grpAcquisition.TabStop = false;
  269. this.grpAcquisition.Text = "图像采集";
  270. //
  271. // cmbTriggerMode
  272. //
  273. this.cmbTriggerMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  274. this.cmbTriggerMode.Items.AddRange(new object[] {
  275. "连续采集",
  276. "软触发"});
  277. this.cmbTriggerMode.Location = new System.Drawing.Point(94, 28);
  278. this.cmbTriggerMode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  279. this.cmbTriggerMode.Name = "cmbTriggerMode";
  280. this.cmbTriggerMode.Size = new System.Drawing.Size(149, 23);
  281. this.cmbTriggerMode.TabIndex = 0;
  282. this.cmbTriggerMode.SelectedIndexChanged += new System.EventHandler(this.cmbTriggerMode_SelectedIndexChanged);
  283. //
  284. // lblTriggerMode
  285. //
  286. this.lblTriggerMode.Location = new System.Drawing.Point(12, 31);
  287. this.lblTriggerMode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  288. this.lblTriggerMode.Name = "lblTriggerMode";
  289. this.lblTriggerMode.Size = new System.Drawing.Size(75, 25);
  290. this.lblTriggerMode.TabIndex = 1;
  291. this.lblTriggerMode.Text = "触发模式:";
  292. //
  293. // btnStartGrabbing
  294. //
  295. this.btnStartGrabbing.Enabled = false;
  296. this.btnStartGrabbing.Location = new System.Drawing.Point(12, 72);
  297. this.btnStartGrabbing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  298. this.btnStartGrabbing.Name = "btnStartGrabbing";
  299. this.btnStartGrabbing.Size = new System.Drawing.Size(125, 35);
  300. this.btnStartGrabbing.TabIndex = 2;
  301. this.btnStartGrabbing.Text = "开始采集";
  302. this.btnStartGrabbing.UseVisualStyleBackColor = true;
  303. this.btnStartGrabbing.Click += new System.EventHandler(this.btnStartGrabbing_Click);
  304. //
  305. // btnStopGrabbing
  306. //
  307. this.btnStopGrabbing.Enabled = false;
  308. this.btnStopGrabbing.Location = new System.Drawing.Point(150, 72);
  309. this.btnStopGrabbing.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  310. this.btnStopGrabbing.Name = "btnStopGrabbing";
  311. this.btnStopGrabbing.Size = new System.Drawing.Size(125, 35);
  312. this.btnStopGrabbing.TabIndex = 3;
  313. this.btnStopGrabbing.Text = "停止采集";
  314. this.btnStopGrabbing.UseVisualStyleBackColor = true;
  315. this.btnStopGrabbing.Click += new System.EventHandler(this.btnStopGrabbing_Click);
  316. //
  317. // btnSoftwareTrigger
  318. //
  319. this.btnSoftwareTrigger.Enabled = false;
  320. this.btnSoftwareTrigger.Location = new System.Drawing.Point(288, 72);
  321. this.btnSoftwareTrigger.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  322. this.btnSoftwareTrigger.Name = "btnSoftwareTrigger";
  323. this.btnSoftwareTrigger.Size = new System.Drawing.Size(125, 35);
  324. this.btnSoftwareTrigger.TabIndex = 4;
  325. this.btnSoftwareTrigger.Text = "软触发";
  326. this.btnSoftwareTrigger.UseVisualStyleBackColor = true;
  327. this.btnSoftwareTrigger.Click += new System.EventHandler(this.btnSoftwareTrigger_Click);
  328. //
  329. // chkContinuousDisplay
  330. //
  331. this.chkContinuousDisplay.Checked = true;
  332. this.chkContinuousDisplay.CheckState = System.Windows.Forms.CheckState.Checked;
  333. this.chkContinuousDisplay.Location = new System.Drawing.Point(12, 119);
  334. this.chkContinuousDisplay.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  335. this.chkContinuousDisplay.Name = "chkContinuousDisplay";
  336. this.chkContinuousDisplay.Size = new System.Drawing.Size(188, 25);
  337. this.chkContinuousDisplay.TabIndex = 5;
  338. this.chkContinuousDisplay.Text = "连续显示图像";
  339. //
  340. // picCameraView
  341. //
  342. this.picCameraView.BackColor = System.Drawing.Color.Black;
  343. this.picCameraView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  344. this.picCameraView.Location = new System.Drawing.Point(500, 10);
  345. this.picCameraView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  346. this.picCameraView.Name = "picCameraView";
  347. this.picCameraView.Size = new System.Drawing.Size(850, 750);
  348. this.picCameraView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  349. this.picCameraView.TabIndex = 3;
  350. this.picCameraView.TabStop = false;
  351. //
  352. // tabVisionMaster
  353. //
  354. this.tabVisionMaster.Controls.Add(this.grpSolution);
  355. this.tabVisionMaster.Controls.Add(this.grpVMParams);
  356. this.tabVisionMaster.Controls.Add(this.grpVMRun);
  357. this.tabVisionMaster.Controls.Add(this.picVMResultView);
  358. this.tabVisionMaster.Location = new System.Drawing.Point(4, 25);
  359. this.tabVisionMaster.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  360. this.tabVisionMaster.Name = "tabVisionMaster";
  361. this.tabVisionMaster.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  362. this.tabVisionMaster.Size = new System.Drawing.Size(1370, 786);
  363. this.tabVisionMaster.TabIndex = 1;
  364. this.tabVisionMaster.Text = "VisionMaster";
  365. this.tabVisionMaster.UseVisualStyleBackColor = true;
  366. //
  367. // grpSolution
  368. //
  369. this.grpSolution.Controls.Add(this.lblSolutionPath);
  370. this.grpSolution.Controls.Add(this.txtSolutionPath);
  371. this.grpSolution.Controls.Add(this.btnBrowseSolution);
  372. this.grpSolution.Controls.Add(this.btnLoadSolution);
  373. this.grpSolution.Controls.Add(this.btnUnloadSolution);
  374. this.grpSolution.Location = new System.Drawing.Point(10, 10);
  375. this.grpSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  376. this.grpSolution.Name = "grpSolution";
  377. this.grpSolution.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  378. this.grpSolution.Size = new System.Drawing.Size(475, 138);
  379. this.grpSolution.TabIndex = 0;
  380. this.grpSolution.TabStop = false;
  381. this.grpSolution.Text = "方案管理";
  382. //
  383. // lblSolutionPath
  384. //
  385. this.lblSolutionPath.Location = new System.Drawing.Point(12, 31);
  386. this.lblSolutionPath.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  387. this.lblSolutionPath.Name = "lblSolutionPath";
  388. this.lblSolutionPath.Size = new System.Drawing.Size(88, 25);
  389. this.lblSolutionPath.TabIndex = 0;
  390. this.lblSolutionPath.Text = "方案路径:";
  391. //
  392. // txtSolutionPath
  393. //
  394. this.txtSolutionPath.Location = new System.Drawing.Point(106, 28);
  395. this.txtSolutionPath.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  396. this.txtSolutionPath.Name = "txtSolutionPath";
  397. this.txtSolutionPath.Size = new System.Drawing.Size(349, 25);
  398. this.txtSolutionPath.TabIndex = 1;
  399. //
  400. // btnBrowseSolution
  401. //
  402. this.btnBrowseSolution.Location = new System.Drawing.Point(12, 69);
  403. this.btnBrowseSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  404. this.btnBrowseSolution.Name = "btnBrowseSolution";
  405. this.btnBrowseSolution.Size = new System.Drawing.Size(125, 35);
  406. this.btnBrowseSolution.TabIndex = 2;
  407. this.btnBrowseSolution.Text = "浏览...";
  408. this.btnBrowseSolution.UseVisualStyleBackColor = true;
  409. this.btnBrowseSolution.Click += new System.EventHandler(this.btnBrowseSolution_Click);
  410. //
  411. // btnLoadSolution
  412. //
  413. this.btnLoadSolution.Location = new System.Drawing.Point(150, 69);
  414. this.btnLoadSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  415. this.btnLoadSolution.Name = "btnLoadSolution";
  416. this.btnLoadSolution.Size = new System.Drawing.Size(125, 35);
  417. this.btnLoadSolution.TabIndex = 3;
  418. this.btnLoadSolution.Text = "加载方案";
  419. this.btnLoadSolution.UseVisualStyleBackColor = true;
  420. this.btnLoadSolution.Click += new System.EventHandler(this.btnLoadSolution_Click);
  421. //
  422. // btnUnloadSolution
  423. //
  424. this.btnUnloadSolution.Enabled = false;
  425. this.btnUnloadSolution.Location = new System.Drawing.Point(288, 69);
  426. this.btnUnloadSolution.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  427. this.btnUnloadSolution.Name = "btnUnloadSolution";
  428. this.btnUnloadSolution.Size = new System.Drawing.Size(125, 35);
  429. this.btnUnloadSolution.TabIndex = 4;
  430. this.btnUnloadSolution.Text = "卸载方案";
  431. this.btnUnloadSolution.UseVisualStyleBackColor = true;
  432. this.btnUnloadSolution.Click += new System.EventHandler(this.btnUnloadSolution_Click);
  433. //
  434. // grpVMParams
  435. //
  436. this.grpVMParams.Controls.Add(this.lblFlowName);
  437. this.grpVMParams.Controls.Add(this.txtFlowName);
  438. this.grpVMParams.Controls.Add(this.lblImageSourceName);
  439. this.grpVMParams.Controls.Add(this.txtImageSourceName);
  440. this.grpVMParams.Controls.Add(this.chkOutMono8);
  441. this.grpVMParams.Location = new System.Drawing.Point(10, 155);
  442. this.grpVMParams.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  443. this.grpVMParams.Name = "grpVMParams";
  444. this.grpVMParams.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  445. this.grpVMParams.Size = new System.Drawing.Size(475, 162);
  446. this.grpVMParams.TabIndex = 1;
  447. this.grpVMParams.TabStop = false;
  448. this.grpVMParams.Text = "流程参数";
  449. //
  450. // lblFlowName
  451. //
  452. this.lblFlowName.Location = new System.Drawing.Point(12, 31);
  453. this.lblFlowName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  454. this.lblFlowName.Name = "lblFlowName";
  455. this.lblFlowName.Size = new System.Drawing.Size(100, 25);
  456. this.lblFlowName.TabIndex = 0;
  457. this.lblFlowName.Text = "流程名称:";
  458. //
  459. // txtFlowName
  460. //
  461. this.txtFlowName.Location = new System.Drawing.Point(119, 28);
  462. this.txtFlowName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  463. this.txtFlowName.Name = "txtFlowName";
  464. this.txtFlowName.Size = new System.Drawing.Size(249, 25);
  465. this.txtFlowName.TabIndex = 1;
  466. this.txtFlowName.Text = "Flow1";
  467. //
  468. // lblImageSourceName
  469. //
  470. this.lblImageSourceName.Location = new System.Drawing.Point(12, 75);
  471. this.lblImageSourceName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  472. this.lblImageSourceName.Name = "lblImageSourceName";
  473. this.lblImageSourceName.Size = new System.Drawing.Size(100, 25);
  474. this.lblImageSourceName.TabIndex = 2;
  475. this.lblImageSourceName.Text = "图像输入模块:";
  476. //
  477. // txtImageSourceName
  478. //
  479. this.txtImageSourceName.Location = new System.Drawing.Point(119, 71);
  480. this.txtImageSourceName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  481. this.txtImageSourceName.Name = "txtImageSourceName";
  482. this.txtImageSourceName.Size = new System.Drawing.Size(249, 25);
  483. this.txtImageSourceName.TabIndex = 3;
  484. this.txtImageSourceName.Text = "Image Source1";
  485. //
  486. // chkOutMono8
  487. //
  488. this.chkOutMono8.Checked = true;
  489. this.chkOutMono8.CheckState = System.Windows.Forms.CheckState.Checked;
  490. this.chkOutMono8.Location = new System.Drawing.Point(12, 119);
  491. this.chkOutMono8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  492. this.chkOutMono8.Name = "chkOutMono8";
  493. this.chkOutMono8.Size = new System.Drawing.Size(250, 25);
  494. this.chkOutMono8.TabIndex = 4;
  495. this.chkOutMono8.Text = "输出Mono8灰度图";
  496. //
  497. // grpVMRun
  498. //
  499. this.grpVMRun.Controls.Add(this.btnRunOnce);
  500. this.grpVMRun.Controls.Add(this.btnStartContinuous);
  501. this.grpVMRun.Controls.Add(this.btnStopContinuous);
  502. this.grpVMRun.Controls.Add(this.lblRunStatus);
  503. this.grpVMRun.Location = new System.Drawing.Point(10, 325);
  504. this.grpVMRun.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  505. this.grpVMRun.Name = "grpVMRun";
  506. this.grpVMRun.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  507. this.grpVMRun.Size = new System.Drawing.Size(475, 150);
  508. this.grpVMRun.TabIndex = 2;
  509. this.grpVMRun.TabStop = false;
  510. this.grpVMRun.Text = "流程执行";
  511. //
  512. // btnRunOnce
  513. //
  514. this.btnRunOnce.Location = new System.Drawing.Point(12, 28);
  515. this.btnRunOnce.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  516. this.btnRunOnce.Name = "btnRunOnce";
  517. this.btnRunOnce.Size = new System.Drawing.Size(138, 38);
  518. this.btnRunOnce.TabIndex = 0;
  519. this.btnRunOnce.Text = "单次执行(采图+检测)";
  520. this.btnRunOnce.UseVisualStyleBackColor = true;
  521. this.btnRunOnce.Click += new System.EventHandler(this.btnRunOnce_Click);
  522. //
  523. // btnStartContinuous
  524. //
  525. this.btnStartContinuous.Location = new System.Drawing.Point(162, 28);
  526. this.btnStartContinuous.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  527. this.btnStartContinuous.Name = "btnStartContinuous";
  528. this.btnStartContinuous.Size = new System.Drawing.Size(138, 38);
  529. this.btnStartContinuous.TabIndex = 1;
  530. this.btnStartContinuous.Text = "连续执行";
  531. this.btnStartContinuous.UseVisualStyleBackColor = true;
  532. this.btnStartContinuous.Click += new System.EventHandler(this.btnStartContinuous_Click);
  533. //
  534. // btnStopContinuous
  535. //
  536. this.btnStopContinuous.Enabled = false;
  537. this.btnStopContinuous.Location = new System.Drawing.Point(312, 28);
  538. this.btnStopContinuous.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  539. this.btnStopContinuous.Name = "btnStopContinuous";
  540. this.btnStopContinuous.Size = new System.Drawing.Size(138, 38);
  541. this.btnStopContinuous.TabIndex = 2;
  542. this.btnStopContinuous.Text = "停止连续";
  543. this.btnStopContinuous.UseVisualStyleBackColor = true;
  544. this.btnStopContinuous.Click += new System.EventHandler(this.btnStopContinuous_Click);
  545. //
  546. // lblRunStatus
  547. //
  548. this.lblRunStatus.Location = new System.Drawing.Point(12, 75);
  549. this.lblRunStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  550. this.lblRunStatus.Name = "lblRunStatus";
  551. this.lblRunStatus.Size = new System.Drawing.Size(438, 50);
  552. this.lblRunStatus.TabIndex = 3;
  553. this.lblRunStatus.Text = "就绪";
  554. //
  555. // picVMResultView
  556. //
  557. this.picVMResultView.BackColor = System.Drawing.Color.Black;
  558. this.picVMResultView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  559. this.picVMResultView.Location = new System.Drawing.Point(500, 10);
  560. this.picVMResultView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  561. this.picVMResultView.Name = "picVMResultView";
  562. this.picVMResultView.Size = new System.Drawing.Size(850, 750);
  563. this.picVMResultView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  564. this.picVMResultView.TabIndex = 3;
  565. this.picVMResultView.TabStop = false;
  566. //
  567. // tabLog
  568. //
  569. this.tabLog.Controls.Add(this.txtLog);
  570. this.tabLog.Controls.Add(this.btnClearLog);
  571. this.tabLog.Controls.Add(this.chkAutoScroll);
  572. this.tabLog.Location = new System.Drawing.Point(4, 25);
  573. this.tabLog.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  574. this.tabLog.Name = "tabLog";
  575. this.tabLog.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
  576. this.tabLog.Size = new System.Drawing.Size(1370, 786);
  577. this.tabLog.TabIndex = 2;
  578. this.tabLog.Text = "运行日志";
  579. this.tabLog.UseVisualStyleBackColor = true;
  580. //
  581. // txtLog
  582. //
  583. this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
  584. this.txtLog.Font = new System.Drawing.Font("Consolas", 9F);
  585. this.txtLog.Location = new System.Drawing.Point(4, 4);
  586. this.txtLog.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  587. this.txtLog.Multiline = true;
  588. this.txtLog.Name = "txtLog";
  589. this.txtLog.ReadOnly = true;
  590. this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
  591. this.txtLog.Size = new System.Drawing.Size(1362, 778);
  592. this.txtLog.TabIndex = 0;
  593. //
  594. // btnClearLog
  595. //
  596. this.btnClearLog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  597. this.btnClearLog.Location = new System.Drawing.Point(1253, 747);
  598. this.btnClearLog.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  599. this.btnClearLog.Name = "btnClearLog";
  600. this.btnClearLog.Size = new System.Drawing.Size(100, 31);
  601. this.btnClearLog.TabIndex = 1;
  602. this.btnClearLog.Text = "清空日志";
  603. this.btnClearLog.UseVisualStyleBackColor = true;
  604. this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
  605. //
  606. // chkAutoScroll
  607. //
  608. this.chkAutoScroll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  609. this.chkAutoScroll.Checked = true;
  610. this.chkAutoScroll.CheckState = System.Windows.Forms.CheckState.Checked;
  611. this.chkAutoScroll.Location = new System.Drawing.Point(8, 749);
  612. this.chkAutoScroll.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  613. this.chkAutoScroll.Name = "chkAutoScroll";
  614. this.chkAutoScroll.Size = new System.Drawing.Size(150, 25);
  615. this.chkAutoScroll.TabIndex = 2;
  616. this.chkAutoScroll.Text = "自动滚动";
  617. //
  618. // statusStrip
  619. //
  620. this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
  621. this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  622. this.tsslStatus});
  623. this.statusStrip.Location = new System.Drawing.Point(0, 815);
  624. this.statusStrip.Name = "statusStrip";
  625. this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 18, 0);
  626. this.statusStrip.Size = new System.Drawing.Size(1378, 26);
  627. this.statusStrip.TabIndex = 1;
  628. //
  629. // tsslStatus
  630. //
  631. this.tsslStatus.Name = "tsslStatus";
  632. this.tsslStatus.Size = new System.Drawing.Size(39, 20);
  633. this.tsslStatus.Text = "就绪";
  634. //
  635. // button1
  636. //
  637. this.button1.Location = new System.Drawing.Point(288, 21);
  638. this.button1.Margin = new System.Windows.Forms.Padding(4);
  639. this.button1.Name = "button1";
  640. this.button1.Size = new System.Drawing.Size(125, 35);
  641. this.button1.TabIndex = 6;
  642. this.button1.Text = "开始采集";
  643. this.button1.UseVisualStyleBackColor = true;
  644. this.button1.Click += new System.EventHandler(this.button1_Click);
  645. //
  646. // MainForm
  647. //
  648. this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
  649. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
  650. this.ClientSize = new System.Drawing.Size(1378, 841);
  651. this.Controls.Add(this.tabControlMain);
  652. this.Controls.Add(this.statusStrip);
  653. this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  654. this.MinimumSize = new System.Drawing.Size(1396, 888);
  655. this.Name = "MainForm";
  656. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  657. this.Text = "华睿相机 × 海康VisionMaster 集成检测系统";
  658. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
  659. this.tabControlMain.ResumeLayout(false);
  660. this.tabCamera.ResumeLayout(false);
  661. this.grpCameraConnection.ResumeLayout(false);
  662. this.grpCameraParams.ResumeLayout(false);
  663. this.grpCameraParams.PerformLayout();
  664. this.grpAcquisition.ResumeLayout(false);
  665. ((System.ComponentModel.ISupportInitialize)(this.picCameraView)).EndInit();
  666. this.tabVisionMaster.ResumeLayout(false);
  667. this.grpSolution.ResumeLayout(false);
  668. this.grpSolution.PerformLayout();
  669. this.grpVMParams.ResumeLayout(false);
  670. this.grpVMParams.PerformLayout();
  671. this.grpVMRun.ResumeLayout(false);
  672. ((System.ComponentModel.ISupportInitialize)(this.picVMResultView)).EndInit();
  673. this.tabLog.ResumeLayout(false);
  674. this.tabLog.PerformLayout();
  675. this.statusStrip.ResumeLayout(false);
  676. this.statusStrip.PerformLayout();
  677. this.ResumeLayout(false);
  678. this.PerformLayout();
  679. }
  680. #endregion
  681. private System.Windows.Forms.TabControl tabControlMain;
  682. private System.Windows.Forms.TabPage tabCamera;
  683. private System.Windows.Forms.TabPage tabVisionMaster;
  684. private System.Windows.Forms.TabPage tabLog;
  685. // 相机页面控件
  686. private System.Windows.Forms.GroupBox grpCameraConnection;
  687. private System.Windows.Forms.Button btnRefreshDevices;
  688. private System.Windows.Forms.ComboBox cmbDeviceList;
  689. private System.Windows.Forms.Button btnConnectCamera;
  690. private System.Windows.Forms.Button btnDisconnectCamera;
  691. private System.Windows.Forms.GroupBox grpCameraParams;
  692. private System.Windows.Forms.Label lblExposure;
  693. private System.Windows.Forms.TextBox txtExposure;
  694. private System.Windows.Forms.Button btnSetExposure;
  695. private System.Windows.Forms.Label lblGain;
  696. private System.Windows.Forms.TextBox txtGain;
  697. private System.Windows.Forms.Button btnSetGain;
  698. private System.Windows.Forms.GroupBox grpAcquisition;
  699. private System.Windows.Forms.ComboBox cmbTriggerMode;
  700. private System.Windows.Forms.Label lblTriggerMode;
  701. private System.Windows.Forms.Button btnStartGrabbing;
  702. private System.Windows.Forms.Button btnStopGrabbing;
  703. private System.Windows.Forms.Button btnSoftwareTrigger;
  704. private System.Windows.Forms.CheckBox chkContinuousDisplay;
  705. private System.Windows.Forms.PictureBox picCameraView;
  706. // VM页面控件
  707. private System.Windows.Forms.GroupBox grpSolution;
  708. private System.Windows.Forms.Label lblSolutionPath;
  709. private System.Windows.Forms.TextBox txtSolutionPath;
  710. private System.Windows.Forms.Button btnBrowseSolution;
  711. private System.Windows.Forms.Button btnLoadSolution;
  712. private System.Windows.Forms.Button btnUnloadSolution;
  713. private System.Windows.Forms.GroupBox grpVMParams;
  714. private System.Windows.Forms.Label lblFlowName;
  715. private System.Windows.Forms.TextBox txtFlowName;
  716. private System.Windows.Forms.Label lblImageSourceName;
  717. private System.Windows.Forms.TextBox txtImageSourceName;
  718. private System.Windows.Forms.CheckBox chkOutMono8;
  719. private System.Windows.Forms.GroupBox grpVMRun;
  720. private System.Windows.Forms.Button btnRunOnce;
  721. private System.Windows.Forms.Button btnStartContinuous;
  722. private System.Windows.Forms.Button btnStopContinuous;
  723. private System.Windows.Forms.Label lblRunStatus;
  724. private System.Windows.Forms.PictureBox picVMResultView;
  725. // 日志页面控件
  726. private System.Windows.Forms.TextBox txtLog;
  727. private System.Windows.Forms.Button btnClearLog;
  728. private System.Windows.Forms.CheckBox chkAutoScroll;
  729. // 状态栏
  730. private System.Windows.Forms.StatusStrip statusStrip;
  731. private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
  732. private System.Windows.Forms.Button button1;
  733. }
  734. }