MainForm.Designer.cs 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. namespace xicheji
  2. {
  3. partial class MainForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
  30. DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
  31. pbCamera = new PictureBox();
  32. nowTimer = new System.Windows.Forms.Timer(components);
  33. uploadTimer = new System.Windows.Forms.Timer(components);
  34. receivePLCTimer = new System.Windows.Forms.Timer(components);
  35. lblTime = new Label();
  36. btnSetting = new Button();
  37. btnConnectCamera = new Button();
  38. panel1 = new Panel();
  39. pbLogo = new PictureBox();
  40. panel2 = new Panel();
  41. panel11 = new Panel();
  42. lblCurrentElectricity = new Label();
  43. lblCurrentWaterP = new Label();
  44. label6 = new Label();
  45. label5 = new Label();
  46. pictureBox3 = new PictureBox();
  47. pictureBox2 = new PictureBox();
  48. label4 = new Label();
  49. panel8 = new Panel();
  50. panel9 = new Panel();
  51. lblTotalElectricity = new Label();
  52. lblTotalWater = new Label();
  53. lblWashCount = new Label();
  54. label7 = new Label();
  55. label9 = new Label();
  56. pictureBox6 = new PictureBox();
  57. label8 = new Label();
  58. pictureBox4 = new PictureBox();
  59. pictureBox5 = new PictureBox();
  60. label3 = new Label();
  61. panel6 = new Panel();
  62. panel7 = new Panel();
  63. label2 = new Label();
  64. panel5 = new Panel();
  65. panel4 = new Panel();
  66. lblError = new Label();
  67. label1 = new Label();
  68. panel3 = new Panel();
  69. panel10 = new Panel();
  70. cboCameraChannel = new ComboBox();
  71. dataGridView1 = new DataGridView();
  72. colCarNum = new DataGridViewTextBoxColumn();
  73. colStartTime = new DataGridViewTextBoxColumn();
  74. colEndTime = new DataGridViewTextBoxColumn();
  75. colWashTime = new DataGridViewTextBoxColumn();
  76. colDryTime = new DataGridViewTextBoxColumn();
  77. colTotalWater = new DataGridViewTextBoxColumn();
  78. colTotalElectricity = new DataGridViewTextBoxColumn();
  79. colWaterPressure = new DataGridViewTextBoxColumn();
  80. panel12 = new Panel();
  81. label12 = new Label();
  82. lblStatus = new Label();
  83. label11 = new Label();
  84. label13 = new Label();
  85. label10 = new Label();
  86. ((System.ComponentModel.ISupportInitialize)pbCamera).BeginInit();
  87. panel1.SuspendLayout();
  88. ((System.ComponentModel.ISupportInitialize)pbLogo).BeginInit();
  89. panel2.SuspendLayout();
  90. panel11.SuspendLayout();
  91. ((System.ComponentModel.ISupportInitialize)pictureBox3).BeginInit();
  92. ((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
  93. panel9.SuspendLayout();
  94. ((System.ComponentModel.ISupportInitialize)pictureBox6).BeginInit();
  95. ((System.ComponentModel.ISupportInitialize)pictureBox4).BeginInit();
  96. ((System.ComponentModel.ISupportInitialize)pictureBox5).BeginInit();
  97. panel7.SuspendLayout();
  98. panel4.SuspendLayout();
  99. panel3.SuspendLayout();
  100. panel10.SuspendLayout();
  101. ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
  102. SuspendLayout();
  103. //
  104. // pbCamera
  105. //
  106. pbCamera.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
  107. pbCamera.Location = new Point(156, 53);
  108. pbCamera.Name = "pbCamera";
  109. pbCamera.Size = new Size(582, 286);
  110. pbCamera.TabIndex = 6;
  111. pbCamera.TabStop = false;
  112. //
  113. // nowTimer
  114. //
  115. nowTimer.Enabled = true;
  116. nowTimer.Interval = 1000;
  117. nowTimer.Tick += nowTimer_Tick;
  118. //
  119. // uploadTimer
  120. //
  121. uploadTimer.Tick += uploadTimer_Tick;
  122. //
  123. // receivePLCTimer
  124. //
  125. receivePLCTimer.Tick += receivePLCTimer_Tick;
  126. //
  127. // lblTime
  128. //
  129. lblTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
  130. lblTime.AutoSize = true;
  131. lblTime.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
  132. lblTime.Location = new Point(996, 9);
  133. lblTime.Name = "lblTime";
  134. lblTime.Size = new Size(124, 21);
  135. lblTime.TabIndex = 7;
  136. lblTime.Text = "0月 00日 00:00";
  137. //
  138. // btnSetting
  139. //
  140. btnSetting.Anchor = AnchorStyles.Top | AnchorStyles.Right;
  141. btnSetting.FlatAppearance.BorderSize = 0;
  142. btnSetting.FlatAppearance.MouseOverBackColor = Color.WhiteSmoke;
  143. btnSetting.FlatStyle = FlatStyle.Flat;
  144. btnSetting.Image = (Image)resources.GetObject("btnSetting.Image");
  145. btnSetting.Location = new Point(1146, 7);
  146. btnSetting.Name = "btnSetting";
  147. btnSetting.Size = new Size(24, 24);
  148. btnSetting.TabIndex = 8;
  149. btnSetting.UseVisualStyleBackColor = true;
  150. btnSetting.Click += btnSetting_Click;
  151. //
  152. // btnConnectCamera
  153. //
  154. btnConnectCamera.Anchor = AnchorStyles.Top | AnchorStyles.Right;
  155. btnConnectCamera.FlatAppearance.BorderSize = 0;
  156. btnConnectCamera.FlatStyle = FlatStyle.Flat;
  157. btnConnectCamera.Image = (Image)resources.GetObject("btnConnectCamera.Image");
  158. btnConnectCamera.Location = new Point(848, 89);
  159. btnConnectCamera.Name = "btnConnectCamera";
  160. btnConnectCamera.Size = new Size(24, 24);
  161. btnConnectCamera.TabIndex = 0;
  162. btnConnectCamera.UseVisualStyleBackColor = true;
  163. btnConnectCamera.Click += btnConnectCamera_Click;
  164. //
  165. // panel1
  166. //
  167. panel1.Controls.Add(lblTime);
  168. panel1.Controls.Add(btnSetting);
  169. panel1.Controls.Add(pbLogo);
  170. panel1.Dock = DockStyle.Top;
  171. panel1.Location = new Point(0, 0);
  172. panel1.Name = "panel1";
  173. panel1.Size = new Size(1193, 48);
  174. panel1.TabIndex = 9;
  175. //
  176. // pbLogo
  177. //
  178. pbLogo.Anchor = AnchorStyles.None;
  179. pbLogo.Location = new Point(541, 4);
  180. pbLogo.Name = "pbLogo";
  181. pbLogo.Size = new Size(111, 40);
  182. pbLogo.TabIndex = 9;
  183. pbLogo.TabStop = false;
  184. //
  185. // panel2
  186. //
  187. panel2.Controls.Add(panel11);
  188. panel2.Controls.Add(panel8);
  189. panel2.Controls.Add(panel9);
  190. panel2.Controls.Add(panel6);
  191. panel2.Controls.Add(panel7);
  192. panel2.Controls.Add(panel5);
  193. panel2.Controls.Add(panel4);
  194. panel2.Dock = DockStyle.Right;
  195. panel2.Location = new Point(931, 48);
  196. panel2.Name = "panel2";
  197. panel2.Padding = new Padding(16);
  198. panel2.Size = new Size(262, 624);
  199. panel2.TabIndex = 10;
  200. //
  201. // panel11
  202. //
  203. panel11.BackColor = Color.WhiteSmoke;
  204. panel11.Controls.Add(lblCurrentElectricity);
  205. panel11.Controls.Add(lblCurrentWaterP);
  206. panel11.Controls.Add(label6);
  207. panel11.Controls.Add(label5);
  208. panel11.Controls.Add(pictureBox3);
  209. panel11.Controls.Add(pictureBox2);
  210. panel11.Controls.Add(label4);
  211. panel11.Dock = DockStyle.Top;
  212. panel11.Location = new Point(16, 390);
  213. panel11.Name = "panel11";
  214. panel11.Size = new Size(230, 111);
  215. panel11.TabIndex = 6;
  216. //
  217. // lblCurrentElectricity
  218. //
  219. lblCurrentElectricity.AutoSize = true;
  220. lblCurrentElectricity.Location = new Point(130, 74);
  221. lblCurrentElectricity.Name = "lblCurrentElectricity";
  222. lblCurrentElectricity.Size = new Size(20, 17);
  223. lblCurrentElectricity.TabIndex = 9;
  224. lblCurrentElectricity.Text = "无";
  225. //
  226. // lblCurrentWaterP
  227. //
  228. lblCurrentWaterP.AutoSize = true;
  229. lblCurrentWaterP.Location = new Point(130, 45);
  230. lblCurrentWaterP.Name = "lblCurrentWaterP";
  231. lblCurrentWaterP.Size = new Size(20, 17);
  232. lblCurrentWaterP.TabIndex = 9;
  233. lblCurrentWaterP.Text = "无";
  234. //
  235. // label6
  236. //
  237. label6.AutoSize = true;
  238. label6.Location = new Point(40, 45);
  239. label6.Name = "label6";
  240. label6.Size = new Size(68, 17);
  241. label6.TabIndex = 2;
  242. label6.Text = "当前压力值";
  243. //
  244. // label5
  245. //
  246. label5.AutoSize = true;
  247. label5.Location = new Point(40, 74);
  248. label5.Name = "label5";
  249. label5.Size = new Size(68, 17);
  250. label5.TabIndex = 2;
  251. label5.Text = "当前用电量";
  252. //
  253. // pictureBox3
  254. //
  255. pictureBox3.Image = (Image)resources.GetObject("pictureBox3.Image");
  256. pictureBox3.Location = new Point(14, 72);
  257. pictureBox3.Name = "pictureBox3";
  258. pictureBox3.Size = new Size(20, 20);
  259. pictureBox3.TabIndex = 1;
  260. pictureBox3.TabStop = false;
  261. //
  262. // pictureBox2
  263. //
  264. pictureBox2.Image = (Image)resources.GetObject("pictureBox2.Image");
  265. pictureBox2.Location = new Point(14, 42);
  266. pictureBox2.Name = "pictureBox2";
  267. pictureBox2.Size = new Size(20, 20);
  268. pictureBox2.TabIndex = 1;
  269. pictureBox2.TabStop = false;
  270. //
  271. // label4
  272. //
  273. label4.AutoSize = true;
  274. label4.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  275. label4.Location = new Point(10, 15);
  276. label4.Name = "label4";
  277. label4.Size = new Size(51, 19);
  278. label4.TabIndex = 0;
  279. label4.Text = "传感器";
  280. //
  281. // panel8
  282. //
  283. panel8.Dock = DockStyle.Top;
  284. panel8.Location = new Point(16, 370);
  285. panel8.Name = "panel8";
  286. panel8.Size = new Size(230, 20);
  287. panel8.TabIndex = 5;
  288. //
  289. // panel9
  290. //
  291. panel9.BackColor = Color.WhiteSmoke;
  292. panel9.Controls.Add(lblTotalElectricity);
  293. panel9.Controls.Add(lblTotalWater);
  294. panel9.Controls.Add(lblWashCount);
  295. panel9.Controls.Add(label7);
  296. panel9.Controls.Add(label9);
  297. panel9.Controls.Add(pictureBox6);
  298. panel9.Controls.Add(label8);
  299. panel9.Controls.Add(pictureBox4);
  300. panel9.Controls.Add(pictureBox5);
  301. panel9.Controls.Add(label3);
  302. panel9.Dock = DockStyle.Top;
  303. panel9.Location = new Point(16, 230);
  304. panel9.Name = "panel9";
  305. panel9.Size = new Size(230, 140);
  306. panel9.TabIndex = 4;
  307. //
  308. // lblTotalElectricity
  309. //
  310. lblTotalElectricity.AutoSize = true;
  311. lblTotalElectricity.Location = new Point(130, 109);
  312. lblTotalElectricity.Name = "lblTotalElectricity";
  313. lblTotalElectricity.Size = new Size(20, 17);
  314. lblTotalElectricity.TabIndex = 9;
  315. lblTotalElectricity.Text = "无";
  316. //
  317. // lblTotalWater
  318. //
  319. lblTotalWater.AutoSize = true;
  320. lblTotalWater.Location = new Point(130, 79);
  321. lblTotalWater.Name = "lblTotalWater";
  322. lblTotalWater.Size = new Size(20, 17);
  323. lblTotalWater.TabIndex = 9;
  324. lblTotalWater.Text = "无";
  325. //
  326. // lblWashCount
  327. //
  328. lblWashCount.AutoSize = true;
  329. lblWashCount.Location = new Point(130, 49);
  330. lblWashCount.Name = "lblWashCount";
  331. lblWashCount.Size = new Size(20, 17);
  332. lblWashCount.TabIndex = 9;
  333. lblWashCount.Text = "无";
  334. //
  335. // label7
  336. //
  337. label7.AutoSize = true;
  338. label7.Location = new Point(40, 49);
  339. label7.Name = "label7";
  340. label7.Size = new Size(56, 17);
  341. label7.TabIndex = 5;
  342. label7.Text = "累计洗车";
  343. //
  344. // label9
  345. //
  346. label9.AutoSize = true;
  347. label9.Location = new Point(40, 109);
  348. label9.Name = "label9";
  349. label9.Size = new Size(68, 17);
  350. label9.TabIndex = 6;
  351. label9.Text = "累计用电量";
  352. //
  353. // pictureBox6
  354. //
  355. pictureBox6.Image = (Image)resources.GetObject("pictureBox6.Image");
  356. pictureBox6.Location = new Point(14, 107);
  357. pictureBox6.Name = "pictureBox6";
  358. pictureBox6.Size = new Size(20, 20);
  359. pictureBox6.TabIndex = 3;
  360. pictureBox6.TabStop = false;
  361. //
  362. // label8
  363. //
  364. label8.AutoSize = true;
  365. label8.Location = new Point(40, 79);
  366. label8.Name = "label8";
  367. label8.Size = new Size(68, 17);
  368. label8.TabIndex = 6;
  369. label8.Text = "累计用水量";
  370. //
  371. // pictureBox4
  372. //
  373. pictureBox4.Image = (Image)resources.GetObject("pictureBox4.Image");
  374. pictureBox4.Location = new Point(14, 77);
  375. pictureBox4.Name = "pictureBox4";
  376. pictureBox4.Size = new Size(20, 20);
  377. pictureBox4.TabIndex = 3;
  378. pictureBox4.TabStop = false;
  379. //
  380. // pictureBox5
  381. //
  382. pictureBox5.Image = (Image)resources.GetObject("pictureBox5.Image");
  383. pictureBox5.Location = new Point(14, 47);
  384. pictureBox5.Name = "pictureBox5";
  385. pictureBox5.Size = new Size(20, 20);
  386. pictureBox5.TabIndex = 4;
  387. pictureBox5.TabStop = false;
  388. //
  389. // label3
  390. //
  391. label3.AutoSize = true;
  392. label3.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  393. label3.Location = new Point(10, 15);
  394. label3.Name = "label3";
  395. label3.Size = new Size(37, 19);
  396. label3.TabIndex = 0;
  397. label3.Text = "统计";
  398. //
  399. // panel6
  400. //
  401. panel6.Dock = DockStyle.Top;
  402. panel6.Location = new Point(16, 210);
  403. panel6.Name = "panel6";
  404. panel6.Size = new Size(230, 20);
  405. panel6.TabIndex = 3;
  406. //
  407. // panel7
  408. //
  409. panel7.BackColor = Color.WhiteSmoke;
  410. panel7.Controls.Add(label2);
  411. panel7.Dock = DockStyle.Top;
  412. panel7.Location = new Point(16, 95);
  413. panel7.Name = "panel7";
  414. panel7.Size = new Size(230, 115);
  415. panel7.TabIndex = 2;
  416. //
  417. // label2
  418. //
  419. label2.AutoSize = true;
  420. label2.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  421. label2.Location = new Point(10, 15);
  422. label2.Name = "label2";
  423. label2.Size = new Size(65, 19);
  424. label2.TabIndex = 0;
  425. label2.Text = "安防监控";
  426. //
  427. // panel5
  428. //
  429. panel5.Dock = DockStyle.Top;
  430. panel5.Location = new Point(16, 75);
  431. panel5.Name = "panel5";
  432. panel5.Size = new Size(230, 20);
  433. panel5.TabIndex = 1;
  434. //
  435. // panel4
  436. //
  437. panel4.BackColor = Color.WhiteSmoke;
  438. panel4.Controls.Add(lblError);
  439. panel4.Controls.Add(label1);
  440. panel4.Dock = DockStyle.Top;
  441. panel4.Location = new Point(16, 16);
  442. panel4.Name = "panel4";
  443. panel4.Size = new Size(230, 59);
  444. panel4.TabIndex = 0;
  445. //
  446. // lblError
  447. //
  448. lblError.AutoSize = true;
  449. lblError.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
  450. lblError.ForeColor = Color.Red;
  451. lblError.Location = new Point(58, 22);
  452. lblError.Name = "lblError";
  453. lblError.Size = new Size(20, 17);
  454. lblError.TabIndex = 1;
  455. lblError.Text = "无";
  456. //
  457. // label1
  458. //
  459. label1.AutoSize = true;
  460. label1.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  461. label1.Location = new Point(10, 20);
  462. label1.Name = "label1";
  463. label1.Size = new Size(37, 19);
  464. label1.TabIndex = 0;
  465. label1.Text = "故障";
  466. //
  467. // panel3
  468. //
  469. panel3.Controls.Add(panel10);
  470. panel3.Dock = DockStyle.Fill;
  471. panel3.Location = new Point(0, 48);
  472. panel3.Name = "panel3";
  473. panel3.Padding = new Padding(16);
  474. panel3.Size = new Size(931, 624);
  475. panel3.TabIndex = 0;
  476. //
  477. // panel10
  478. //
  479. panel10.BackColor = Color.WhiteSmoke;
  480. panel10.Controls.Add(cboCameraChannel);
  481. panel10.Controls.Add(dataGridView1);
  482. panel10.Controls.Add(panel12);
  483. panel10.Controls.Add(label12);
  484. panel10.Controls.Add(lblStatus);
  485. panel10.Controls.Add(label11);
  486. panel10.Controls.Add(label13);
  487. panel10.Controls.Add(label10);
  488. panel10.Controls.Add(pbCamera);
  489. panel10.Controls.Add(btnConnectCamera);
  490. panel10.Dock = DockStyle.Fill;
  491. panel10.Location = new Point(16, 16);
  492. panel10.Name = "panel10";
  493. panel10.Size = new Size(899, 592);
  494. panel10.TabIndex = 7;
  495. //
  496. // cboCameraChannel
  497. //
  498. cboCameraChannel.FormattingEnabled = true;
  499. cboCameraChannel.Location = new Point(744, 53);
  500. cboCameraChannel.Name = "cboCameraChannel";
  501. cboCameraChannel.Size = new Size(128, 25);
  502. cboCameraChannel.TabIndex = 10;
  503. cboCameraChannel.SelectedIndexChanged += cboCameraChannel_SelectedIndexChanged;
  504. //
  505. // dataGridView1
  506. //
  507. dataGridView1.AllowUserToAddRows = false;
  508. dataGridView1.AllowUserToDeleteRows = false;
  509. dataGridView1.AllowUserToResizeRows = false;
  510. dataGridView1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
  511. dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  512. dataGridView1.Columns.AddRange(new DataGridViewColumn[] { colCarNum, colStartTime, colEndTime, colWashTime, colDryTime, colTotalWater, colTotalElectricity, colWaterPressure });
  513. dataGridView1.Location = new Point(29, 383);
  514. dataGridView1.Name = "dataGridView1";
  515. dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleCenter;
  516. dataGridViewCellStyle1.BackColor = SystemColors.Control;
  517. dataGridViewCellStyle1.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
  518. dataGridViewCellStyle1.ForeColor = SystemColors.WindowText;
  519. dataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight;
  520. dataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText;
  521. dataGridViewCellStyle1.WrapMode = DataGridViewTriState.True;
  522. dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle1;
  523. dataGridView1.RowTemplate.Height = 25;
  524. dataGridView1.Size = new Size(843, 196);
  525. dataGridView1.TabIndex = 8;
  526. //
  527. // colCarNum
  528. //
  529. colCarNum.DataPropertyName = "CarNum";
  530. colCarNum.HeaderText = "车牌号";
  531. colCarNum.Name = "colCarNum";
  532. //
  533. // colStartTime
  534. //
  535. colStartTime.DataPropertyName = "StartTime";
  536. colStartTime.HeaderText = "开始时间";
  537. colStartTime.Name = "colStartTime";
  538. colStartTime.Width = 120;
  539. //
  540. // colEndTime
  541. //
  542. colEndTime.DataPropertyName = "EndTime";
  543. colEndTime.HeaderText = "结束时间";
  544. colEndTime.Name = "colEndTime";
  545. colEndTime.Width = 120;
  546. //
  547. // colWashTime
  548. //
  549. colWashTime.DataPropertyName = "WashTime";
  550. colWashTime.HeaderText = "洗车时长";
  551. colWashTime.Name = "colWashTime";
  552. colWashTime.Width = 80;
  553. //
  554. // colDryTime
  555. //
  556. colDryTime.DataPropertyName = "DryTime";
  557. colDryTime.HeaderText = "风干时长";
  558. colDryTime.Name = "colDryTime";
  559. colDryTime.Width = 80;
  560. //
  561. // colTotalWater
  562. //
  563. colTotalWater.DataPropertyName = "TotalWater";
  564. colTotalWater.HeaderText = "用水量";
  565. colTotalWater.Name = "colTotalWater";
  566. colTotalWater.Width = 80;
  567. //
  568. // colTotalElectricity
  569. //
  570. colTotalElectricity.DataPropertyName = "TotalElectricity";
  571. colTotalElectricity.HeaderText = "用电量";
  572. colTotalElectricity.Name = "colTotalElectricity";
  573. colTotalElectricity.Width = 80;
  574. //
  575. // colWaterPressure
  576. //
  577. colWaterPressure.DataPropertyName = "WaterPressure";
  578. colWaterPressure.HeaderText = "水压";
  579. colWaterPressure.Name = "colWaterPressure";
  580. colWaterPressure.Width = 80;
  581. //
  582. // panel12
  583. //
  584. panel12.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
  585. panel12.BackColor = Color.Gray;
  586. panel12.Location = new Point(29, 372);
  587. panel12.Name = "panel12";
  588. panel12.Size = new Size(843, 5);
  589. panel12.TabIndex = 7;
  590. //
  591. // label12
  592. //
  593. label12.AutoSize = true;
  594. label12.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  595. label12.Location = new Point(454, 20);
  596. label12.Name = "label12";
  597. label12.Size = new Size(45, 19);
  598. label12.TabIndex = 0;
  599. label12.Text = "状态: ";
  600. //
  601. // lblStatus
  602. //
  603. lblStatus.AutoSize = true;
  604. lblStatus.Location = new Point(500, 22);
  605. lblStatus.Name = "lblStatus";
  606. lblStatus.Size = new Size(20, 17);
  607. lblStatus.TabIndex = 9;
  608. lblStatus.Text = "无";
  609. //
  610. // label11
  611. //
  612. label11.AutoSize = true;
  613. label11.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  614. label11.Location = new Point(245, 20);
  615. label11.Name = "label11";
  616. label11.Size = new Size(45, 19);
  617. label11.TabIndex = 0;
  618. label11.Text = "车辆: ";
  619. //
  620. // label13
  621. //
  622. label13.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
  623. label13.AutoSize = true;
  624. label13.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  625. label13.Location = new Point(29, 347);
  626. label13.Name = "label13";
  627. label13.Size = new Size(65, 19);
  628. label13.TabIndex = 0;
  629. label13.Text = "工作记录";
  630. //
  631. // label10
  632. //
  633. label10.AutoSize = true;
  634. label10.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold, GraphicsUnit.Point);
  635. label10.Location = new Point(29, 20);
  636. label10.Name = "label10";
  637. label10.Size = new Size(45, 19);
  638. label10.TabIndex = 0;
  639. label10.Text = "编号: ";
  640. //
  641. // MainForm
  642. //
  643. AutoScaleDimensions = new SizeF(7F, 17F);
  644. AutoScaleMode = AutoScaleMode.Font;
  645. BackColor = Color.White;
  646. ClientSize = new Size(1193, 672);
  647. Controls.Add(panel3);
  648. Controls.Add(panel2);
  649. Controls.Add(panel1);
  650. Name = "MainForm";
  651. ShowIcon = false;
  652. Text = "Form1";
  653. Load += MainForm_Load;
  654. ((System.ComponentModel.ISupportInitialize)pbCamera).EndInit();
  655. panel1.ResumeLayout(false);
  656. panel1.PerformLayout();
  657. ((System.ComponentModel.ISupportInitialize)pbLogo).EndInit();
  658. panel2.ResumeLayout(false);
  659. panel11.ResumeLayout(false);
  660. panel11.PerformLayout();
  661. ((System.ComponentModel.ISupportInitialize)pictureBox3).EndInit();
  662. ((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
  663. panel9.ResumeLayout(false);
  664. panel9.PerformLayout();
  665. ((System.ComponentModel.ISupportInitialize)pictureBox6).EndInit();
  666. ((System.ComponentModel.ISupportInitialize)pictureBox4).EndInit();
  667. ((System.ComponentModel.ISupportInitialize)pictureBox5).EndInit();
  668. panel7.ResumeLayout(false);
  669. panel7.PerformLayout();
  670. panel4.ResumeLayout(false);
  671. panel4.PerformLayout();
  672. panel3.ResumeLayout(false);
  673. panel10.ResumeLayout(false);
  674. panel10.PerformLayout();
  675. ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
  676. ResumeLayout(false);
  677. }
  678. #endregion
  679. private PictureBox pbCamera;
  680. private System.Windows.Forms.Timer nowTimer;
  681. private System.Windows.Forms.Timer uploadTimer;
  682. private System.Windows.Forms.Timer receivePLCTimer;
  683. private Label lblTime;
  684. private Button btnSetting;
  685. private Button btnConnectCamera;
  686. private Panel panel1;
  687. private Panel panel2;
  688. private Panel panel3;
  689. private Panel panel5;
  690. private Panel panel4;
  691. private Label label1;
  692. private Panel panel11;
  693. private Label label4;
  694. private Panel panel8;
  695. private Panel panel9;
  696. private Label label3;
  697. private Panel panel6;
  698. private Panel panel7;
  699. private Label label2;
  700. private PictureBox pictureBox3;
  701. private PictureBox pictureBox2;
  702. private Label label6;
  703. private Label label5;
  704. private Label label7;
  705. private Label label9;
  706. private PictureBox pictureBox6;
  707. private Label label8;
  708. private PictureBox pictureBox4;
  709. private PictureBox pictureBox5;
  710. private Panel panel10;
  711. private Label label12;
  712. private Label label11;
  713. private Label label10;
  714. private Panel panel12;
  715. private Label label13;
  716. private PictureBox pbLogo;
  717. private DataGridView dataGridView1;
  718. private Label lblError;
  719. private Label lblStatus;
  720. private Label lblTotalElectricity;
  721. private Label lblTotalWater;
  722. private Label lblWashCount;
  723. private Label lblCurrentElectricity;
  724. private Label lblCurrentWaterP;
  725. private ComboBox cboCameraChannel;
  726. private DataGridViewTextBoxColumn colCarNum;
  727. private DataGridViewTextBoxColumn colStartTime;
  728. private DataGridViewTextBoxColumn colEndTime;
  729. private DataGridViewTextBoxColumn colWashTime;
  730. private DataGridViewTextBoxColumn colDryTime;
  731. private DataGridViewTextBoxColumn colTotalWater;
  732. private DataGridViewTextBoxColumn colTotalElectricity;
  733. private DataGridViewTextBoxColumn colWaterPressure;
  734. }
  735. }