Form_Main.Designer.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. namespace MainForm
  2. {
  3. partial class Form_Main
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 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 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_Main));
  30. this.panelMain = new System.Windows.Forms.Panel();
  31. this.statusStrip1 = new System.Windows.Forms.StatusStrip();
  32. this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
  33. this.toolStripStatusLabel_Time = new System.Windows.Forms.ToolStripStatusLabel();
  34. this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
  35. this.toolStripStatusLabel_user = new System.Windows.Forms.ToolStripStatusLabel();
  36. this.imageList1 = new System.Windows.Forms.ImageList(this.components);
  37. this.panel2 = new System.Windows.Forms.Panel();
  38. this.Btn_DevAlarm = new System.Windows.Forms.Button();
  39. this.btnOrder = new System.Windows.Forms.Button();
  40. this.btnPLCDB = new System.Windows.Forms.Button();
  41. this.button_Home = new System.Windows.Forms.Button();
  42. this.Openfile = new System.Windows.Forms.Button();
  43. this.button_Other = new System.Windows.Forms.Button();
  44. this.button_Login = new System.Windows.Forms.Button();
  45. this.button_SystemSet = new System.Windows.Forms.Button();
  46. this.button_Alarm = new System.Windows.Forms.Button();
  47. this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
  48. this.timer1 = new System.Windows.Forms.Timer(this.components);
  49. this.statusStrip1.SuspendLayout();
  50. this.panel2.SuspendLayout();
  51. this.SuspendLayout();
  52. //
  53. // panelMain
  54. //
  55. this.panelMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  56. | System.Windows.Forms.AnchorStyles.Left)
  57. | System.Windows.Forms.AnchorStyles.Right)));
  58. this.panelMain.BackColor = System.Drawing.Color.WhiteSmoke;
  59. this.panelMain.Location = new System.Drawing.Point(2, 98);
  60. this.panelMain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  61. this.panelMain.Name = "panelMain";
  62. this.panelMain.Size = new System.Drawing.Size(1610, 916);
  63. this.panelMain.TabIndex = 1;
  64. //
  65. // statusStrip1
  66. //
  67. this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
  68. this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  69. this.toolStripStatusLabel1,
  70. this.toolStripStatusLabel_Time,
  71. this.toolStripStatusLabel2,
  72. this.toolStripStatusLabel_user});
  73. this.statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
  74. this.statusStrip1.Location = new System.Drawing.Point(0, 1020);
  75. this.statusStrip1.Name = "statusStrip1";
  76. this.statusStrip1.Padding = new System.Windows.Forms.Padding(3, 0, 34, 0);
  77. this.statusStrip1.Size = new System.Drawing.Size(1626, 32);
  78. this.statusStrip1.TabIndex = 2;
  79. this.statusStrip1.Text = "statusStrip1";
  80. //
  81. // toolStripStatusLabel1
  82. //
  83. this.toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  84. this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
  85. this.toolStripStatusLabel1.Size = new System.Drawing.Size(82, 25);
  86. this.toolStripStatusLabel1.Text = "小米汽车";
  87. //
  88. // toolStripStatusLabel_Time
  89. //
  90. this.toolStripStatusLabel_Time.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
  91. this.toolStripStatusLabel_Time.Name = "toolStripStatusLabel_Time";
  92. this.toolStripStatusLabel_Time.Size = new System.Drawing.Size(0, 25);
  93. //
  94. // toolStripStatusLabel2
  95. //
  96. this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
  97. this.toolStripStatusLabel2.Size = new System.Drawing.Size(100, 25);
  98. this.toolStripStatusLabel2.Text = "当前用户:";
  99. //
  100. // toolStripStatusLabel_user
  101. //
  102. this.toolStripStatusLabel_user.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  103. this.toolStripStatusLabel_user.ForeColor = System.Drawing.SystemColors.MenuHighlight;
  104. this.toolStripStatusLabel_user.Name = "toolStripStatusLabel_user";
  105. this.toolStripStatusLabel_user.Size = new System.Drawing.Size(66, 25);
  106. this.toolStripStatusLabel_user.Text = "操作员";
  107. //
  108. // imageList1
  109. //
  110. this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
  111. this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
  112. this.imageList1.Images.SetKeyName(0, "Alarm_Off.png");
  113. this.imageList1.Images.SetKeyName(1, "Alarm_On.png");
  114. this.imageList1.Images.SetKeyName(2, "chart_line.png");
  115. this.imageList1.Images.SetKeyName(3, "Data_Information_Off.png");
  116. this.imageList1.Images.SetKeyName(4, "Data_Information_On.png");
  117. this.imageList1.Images.SetKeyName(5, "File_Excel_Off.png");
  118. this.imageList1.Images.SetKeyName(6, "File_Excel_On.png");
  119. this.imageList1.Images.SetKeyName(7, "half_pie.png");
  120. this.imageList1.Images.SetKeyName(8, "Home_Off.png");
  121. this.imageList1.Images.SetKeyName(9, "Home_on.png");
  122. this.imageList1.Images.SetKeyName(10, "ico_folder.png");
  123. this.imageList1.Images.SetKeyName(11, "ico_save.png");
  124. this.imageList1.Images.SetKeyName(12, "light_gray.png");
  125. this.imageList1.Images.SetKeyName(13, "light_green.png");
  126. this.imageList1.Images.SetKeyName(14, "light_red.png");
  127. this.imageList1.Images.SetKeyName(15, "Login_Off.png");
  128. this.imageList1.Images.SetKeyName(16, "Login_On.png");
  129. this.imageList1.Images.SetKeyName(17, "Mannual_Off.png");
  130. this.imageList1.Images.SetKeyName(18, "Mannual_On.png");
  131. this.imageList1.Images.SetKeyName(19, "menu_save.png");
  132. this.imageList1.Images.SetKeyName(20, "msdn.ico");
  133. this.imageList1.Images.SetKeyName(21, "Pause_Off.png");
  134. this.imageList1.Images.SetKeyName(22, "Pause_On.png");
  135. this.imageList1.Images.SetKeyName(23, "servo_back.png");
  136. this.imageList1.Images.SetKeyName(24, "servo_down.png");
  137. this.imageList1.Images.SetKeyName(25, "servo_front.png");
  138. this.imageList1.Images.SetKeyName(26, "servo_Left.png");
  139. this.imageList1.Images.SetKeyName(27, "servo_right.png");
  140. this.imageList1.Images.SetKeyName(28, "servo_Stop.png");
  141. this.imageList1.Images.SetKeyName(29, "servo_turn_left.png");
  142. this.imageList1.Images.SetKeyName(30, "servo_turn_right.png");
  143. this.imageList1.Images.SetKeyName(31, "servo_up.png");
  144. this.imageList1.Images.SetKeyName(32, "Start_Off.png");
  145. this.imageList1.Images.SetKeyName(33, "Start_On.png");
  146. this.imageList1.Images.SetKeyName(34, "Stop_Off.png");
  147. this.imageList1.Images.SetKeyName(35, "Stop_On.png");
  148. this.imageList1.Images.SetKeyName(36, "Vision_Off.png");
  149. this.imageList1.Images.SetKeyName(37, "Vision_On.png");
  150. this.imageList1.Images.SetKeyName(38, "set1.png");
  151. this.imageList1.Images.SetKeyName(39, "set.png");
  152. this.imageList1.Images.SetKeyName(40, "562255.png");
  153. this.imageList1.Images.SetKeyName(41, "544437.png");
  154. this.imageList1.Images.SetKeyName(42, "OpenFileIcon.png");
  155. this.imageList1.Images.SetKeyName(43, "546567.png");
  156. this.imageList1.Images.SetKeyName(44, "546567.png");
  157. this.imageList1.Images.SetKeyName(45, "2.ico");
  158. this.imageList1.Images.SetKeyName(46, "ico_folder.png");
  159. this.imageList1.Images.SetKeyName(47, "订单1.png");
  160. this.imageList1.Images.SetKeyName(48, "订单2.png");
  161. this.imageList1.Images.SetKeyName(49, "机器1.png");
  162. this.imageList1.Images.SetKeyName(50, "机器2.png");
  163. //
  164. // panel2
  165. //
  166. this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  167. | System.Windows.Forms.AnchorStyles.Right)));
  168. this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
  169. this.panel2.Controls.Add(this.Btn_DevAlarm);
  170. this.panel2.Controls.Add(this.btnOrder);
  171. this.panel2.Controls.Add(this.btnPLCDB);
  172. this.panel2.Controls.Add(this.button_Home);
  173. this.panel2.Controls.Add(this.Openfile);
  174. this.panel2.Controls.Add(this.button_Other);
  175. this.panel2.Controls.Add(this.button_Login);
  176. this.panel2.Controls.Add(this.button_SystemSet);
  177. this.panel2.Controls.Add(this.button_Alarm);
  178. this.panel2.Location = new System.Drawing.Point(2, 6);
  179. this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  180. this.panel2.Name = "panel2";
  181. this.panel2.Size = new System.Drawing.Size(1610, 82);
  182. this.panel2.TabIndex = 3;
  183. //
  184. // Btn_DevAlarm
  185. //
  186. this.Btn_DevAlarm.BackColor = System.Drawing.Color.WhiteSmoke;
  187. this.Btn_DevAlarm.FlatAppearance.BorderSize = 0;
  188. this.Btn_DevAlarm.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  189. this.Btn_DevAlarm.ImageIndex = 0;
  190. this.Btn_DevAlarm.ImageList = this.imageList1;
  191. this.Btn_DevAlarm.Location = new System.Drawing.Point(351, 4);
  192. this.Btn_DevAlarm.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  193. this.Btn_DevAlarm.Name = "Btn_DevAlarm";
  194. this.Btn_DevAlarm.Size = new System.Drawing.Size(75, 72);
  195. this.Btn_DevAlarm.TabIndex = 6;
  196. this.toolTip1.SetToolTip(this.Btn_DevAlarm, "设备报警统计面板");
  197. this.Btn_DevAlarm.UseVisualStyleBackColor = false;
  198. //
  199. // btnOrder
  200. //
  201. this.btnOrder.BackColor = System.Drawing.Color.WhiteSmoke;
  202. this.btnOrder.FlatAppearance.BorderSize = 0;
  203. this.btnOrder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  204. this.btnOrder.ImageIndex = 47;
  205. this.btnOrder.ImageList = this.imageList1;
  206. this.btnOrder.Location = new System.Drawing.Point(183, 4);
  207. this.btnOrder.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  208. this.btnOrder.Name = "btnOrder";
  209. this.btnOrder.Size = new System.Drawing.Size(75, 72);
  210. this.btnOrder.TabIndex = 5;
  211. this.toolTip1.SetToolTip(this.btnOrder, "订单维护");
  212. this.btnOrder.UseVisualStyleBackColor = false;
  213. this.btnOrder.Click += new System.EventHandler(this.btnOrder_Click);
  214. //
  215. // btnPLCDB
  216. //
  217. this.btnPLCDB.BackColor = System.Drawing.Color.WhiteSmoke;
  218. this.btnPLCDB.FlatAppearance.BorderSize = 0;
  219. this.btnPLCDB.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  220. this.btnPLCDB.ImageIndex = 49;
  221. this.btnPLCDB.ImageList = this.imageList1;
  222. this.btnPLCDB.Location = new System.Drawing.Point(436, 6);
  223. this.btnPLCDB.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  224. this.btnPLCDB.Name = "btnPLCDB";
  225. this.btnPLCDB.Size = new System.Drawing.Size(75, 72);
  226. this.btnPLCDB.TabIndex = 4;
  227. this.toolTip1.SetToolTip(this.btnPLCDB, "PLC交互");
  228. this.btnPLCDB.UseVisualStyleBackColor = false;
  229. //
  230. // button_Home
  231. //
  232. this.button_Home.AllowDrop = true;
  233. this.button_Home.BackColor = System.Drawing.Color.WhiteSmoke;
  234. this.button_Home.FlatAppearance.BorderSize = 0;
  235. this.button_Home.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  236. this.button_Home.ImageIndex = 8;
  237. this.button_Home.ImageList = this.imageList1;
  238. this.button_Home.Location = new System.Drawing.Point(96, 3);
  239. this.button_Home.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  240. this.button_Home.Name = "button_Home";
  241. this.button_Home.Size = new System.Drawing.Size(75, 72);
  242. this.button_Home.TabIndex = 3;
  243. this.toolTip1.SetToolTip(this.button_Home, "首页");
  244. this.button_Home.UseVisualStyleBackColor = false;
  245. //
  246. // Openfile
  247. //
  248. this.Openfile.BackColor = System.Drawing.Color.WhiteSmoke;
  249. this.Openfile.FlatAppearance.BorderSize = 0;
  250. this.Openfile.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  251. this.Openfile.ImageIndex = 46;
  252. this.Openfile.ImageList = this.imageList1;
  253. this.Openfile.Location = new System.Drawing.Point(522, 6);
  254. this.Openfile.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  255. this.Openfile.Name = "Openfile";
  256. this.Openfile.Size = new System.Drawing.Size(75, 72);
  257. this.Openfile.TabIndex = 2;
  258. this.toolTip1.SetToolTip(this.Openfile, "日志文件");
  259. this.Openfile.UseVisualStyleBackColor = false;
  260. this.Openfile.Click += new System.EventHandler(this.button1_Click);
  261. //
  262. // button_Other
  263. //
  264. this.button_Other.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  265. this.button_Other.FlatAppearance.BorderSize = 0;
  266. this.button_Other.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  267. this.button_Other.ImageIndex = 41;
  268. this.button_Other.ImageList = this.imageList1;
  269. this.button_Other.Location = new System.Drawing.Point(1508, 9);
  270. this.button_Other.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  271. this.button_Other.Name = "button_Other";
  272. this.button_Other.Size = new System.Drawing.Size(75, 72);
  273. this.button_Other.TabIndex = 2;
  274. this.button_Other.UseVisualStyleBackColor = true;
  275. this.button_Other.Click += new System.EventHandler(this.button_vision_Click);
  276. //
  277. // button_Login
  278. //
  279. this.button_Login.AllowDrop = true;
  280. this.button_Login.BackColor = System.Drawing.Color.WhiteSmoke;
  281. this.button_Login.FlatAppearance.BorderSize = 0;
  282. this.button_Login.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  283. this.button_Login.ImageIndex = 15;
  284. this.button_Login.ImageList = this.imageList1;
  285. this.button_Login.Location = new System.Drawing.Point(12, 3);
  286. this.button_Login.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  287. this.button_Login.Name = "button_Login";
  288. this.button_Login.Size = new System.Drawing.Size(75, 72);
  289. this.button_Login.TabIndex = 0;
  290. this.toolTip1.SetToolTip(this.button_Login, "用户登录");
  291. this.button_Login.UseVisualStyleBackColor = false;
  292. this.button_Login.Click += new System.EventHandler(this.button_Login_Click);
  293. //
  294. // button_SystemSet
  295. //
  296. this.button_SystemSet.BackColor = System.Drawing.Color.WhiteSmoke;
  297. this.button_SystemSet.FlatAppearance.BorderSize = 0;
  298. this.button_SystemSet.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  299. this.button_SystemSet.ImageIndex = 17;
  300. this.button_SystemSet.ImageList = this.imageList1;
  301. this.button_SystemSet.Location = new System.Drawing.Point(606, 6);
  302. this.button_SystemSet.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  303. this.button_SystemSet.Name = "button_SystemSet";
  304. this.button_SystemSet.Size = new System.Drawing.Size(75, 72);
  305. this.button_SystemSet.TabIndex = 0;
  306. this.toolTip1.SetToolTip(this.button_SystemSet, "软件设置");
  307. this.button_SystemSet.UseVisualStyleBackColor = false;
  308. //
  309. // button_Alarm
  310. //
  311. this.button_Alarm.BackColor = System.Drawing.Color.WhiteSmoke;
  312. this.button_Alarm.FlatAppearance.BorderSize = 0;
  313. this.button_Alarm.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  314. this.button_Alarm.ImageIndex = 3;
  315. this.button_Alarm.ImageList = this.imageList1;
  316. this.button_Alarm.Location = new System.Drawing.Point(267, 4);
  317. this.button_Alarm.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  318. this.button_Alarm.Name = "button_Alarm";
  319. this.button_Alarm.Size = new System.Drawing.Size(75, 72);
  320. this.button_Alarm.TabIndex = 0;
  321. this.toolTip1.SetToolTip(this.button_Alarm, "加工与点检数据");
  322. this.button_Alarm.UseVisualStyleBackColor = false;
  323. this.button_Alarm.Click += new System.EventHandler(this.button_Alarm_Click);
  324. //
  325. // timer1
  326. //
  327. this.timer1.Interval = 1800000;
  328. this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  329. //
  330. // Form_Main
  331. //
  332. this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
  333. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  334. this.BackColor = System.Drawing.Color.WhiteSmoke;
  335. this.ClientSize = new System.Drawing.Size(1626, 1052);
  336. this.Controls.Add(this.panel2);
  337. this.Controls.Add(this.statusStrip1);
  338. this.Controls.Add(this.panelMain);
  339. this.HelpButton = true;
  340. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  341. this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  342. this.Name = "Form_Main";
  343. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  344. this.Text = "N801A上位机-Xiaomi";
  345. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_Main_FormClosing);
  346. this.Load += new System.EventHandler(this.Form_Main_Load);
  347. this.statusStrip1.ResumeLayout(false);
  348. this.statusStrip1.PerformLayout();
  349. this.panel2.ResumeLayout(false);
  350. this.ResumeLayout(false);
  351. this.PerformLayout();
  352. }
  353. #endregion
  354. private System.Windows.Forms.Button button_Alarm;
  355. private System.Windows.Forms.Panel panelMain;
  356. private System.Windows.Forms.StatusStrip statusStrip1;
  357. private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
  358. private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel_Time;
  359. private System.Windows.Forms.Panel panel2;
  360. private System.Windows.Forms.Button button_SystemSet;
  361. private System.Windows.Forms.Button button_Login;
  362. private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2;
  363. private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel_user;
  364. private System.Windows.Forms.Button button_Other;
  365. private System.Windows.Forms.ImageList imageList1;
  366. private System.Windows.Forms.Button Openfile;
  367. private System.Windows.Forms.Button button_Home;
  368. private System.Windows.Forms.Button btnPLCDB;
  369. private System.Windows.Forms.Button btnOrder;
  370. private System.Windows.Forms.Button Btn_DevAlarm;
  371. private System.Windows.Forms.ToolTip toolTip1;
  372. private System.Windows.Forms.Timer timer1;
  373. }
  374. }