|
@@ -32,35 +32,35 @@
|
|
|
uiPanel1 = new Sunny.UI.UIPanel();
|
|
|
uiSymbolLabel2 = new Sunny.UI.UISymbolLabel();
|
|
|
uiSymbolLabel1 = new Sunny.UI.UISymbolLabel();
|
|
|
- uiLabel8 = new Sunny.UI.UILabel();
|
|
|
- uiLabel7 = new Sunny.UI.UILabel();
|
|
|
- uiLabel6 = new Sunny.UI.UILabel();
|
|
|
- uiLabel5 = new Sunny.UI.UILabel();
|
|
|
- uiLabel4 = new Sunny.UI.UILabel();
|
|
|
- uiScrollingText1 = new Sunny.UI.UIScrollingText();
|
|
|
+ lbl_Time = new Sunny.UI.UILabel();
|
|
|
+ lbl_Humidness = new Sunny.UI.UILabel();
|
|
|
+ lbl_Temperature = new Sunny.UI.UILabel();
|
|
|
+ lb_Humidness = new Sunny.UI.UILabel();
|
|
|
+ lb_Temperature = new Sunny.UI.UILabel();
|
|
|
+ st_AlarmInfo = new Sunny.UI.UIScrollingText();
|
|
|
lbl_User = new Sunny.UI.UILabel();
|
|
|
pictureBox2 = new PictureBox();
|
|
|
uiLabel2 = new Sunny.UI.UILabel();
|
|
|
uiLabel1 = new Sunny.UI.UILabel();
|
|
|
pictureBox1 = new PictureBox();
|
|
|
- uiLabel9 = new Sunny.UI.UILabel();
|
|
|
- uiLedLabel1 = new Sunny.UI.UILedLabel();
|
|
|
- uiLedLabel2 = new Sunny.UI.UILedLabel();
|
|
|
- uiLabel10 = new Sunny.UI.UILabel();
|
|
|
- uiLedLabel3 = new Sunny.UI.UILedLabel();
|
|
|
- uiLabel11 = new Sunny.UI.UILabel();
|
|
|
- uiLedLabel4 = new Sunny.UI.UILedLabel();
|
|
|
- uiLabel12 = new Sunny.UI.UILabel();
|
|
|
+ lb_ProducteCount = new Sunny.UI.UILabel();
|
|
|
+ lbl_ProducteCount = new Sunny.UI.UILedLabel();
|
|
|
+ lbl_BadCount = new Sunny.UI.UILedLabel();
|
|
|
+ lb_BadCount = new Sunny.UI.UILabel();
|
|
|
+ lbl_Beat = new Sunny.UI.UILedLabel();
|
|
|
+ lb_Beat = new Sunny.UI.UILabel();
|
|
|
+ lbl_TotalAlarm = new Sunny.UI.UILedLabel();
|
|
|
+ lb_TotalAlarm = new Sunny.UI.UILabel();
|
|
|
uiLabel13 = new Sunny.UI.UILabel();
|
|
|
- uiLedBulb1 = new Sunny.UI.UILedBulb();
|
|
|
+ led_ProducteState = new Sunny.UI.UILedBulb();
|
|
|
uiLabel14 = new Sunny.UI.UILabel();
|
|
|
uiLabel15 = new Sunny.UI.UILabel();
|
|
|
uiLabel16 = new Sunny.UI.UILabel();
|
|
|
uiLabel17 = new Sunny.UI.UILabel();
|
|
|
uiLabel18 = new Sunny.UI.UILabel();
|
|
|
led_PlcState = new Sunny.UI.UILedBulb();
|
|
|
- uiLabel19 = new Sunny.UI.UILabel();
|
|
|
- uiLabel20 = new Sunny.UI.UILabel();
|
|
|
+ lbl_CPUInformation = new Sunny.UI.UILabel();
|
|
|
+ lbl_MemoryInformation = new Sunny.UI.UILabel();
|
|
|
uiLabel21 = new Sunny.UI.UILabel();
|
|
|
uiLabel22 = new Sunny.UI.UILabel();
|
|
|
StyleManager = new Sunny.UI.UIStyleManager(components);
|
|
@@ -75,8 +75,8 @@
|
|
|
//
|
|
|
Footer.Controls.Add(uiLabel22);
|
|
|
Footer.Controls.Add(uiLabel21);
|
|
|
- Footer.Controls.Add(uiLabel20);
|
|
|
- Footer.Controls.Add(uiLabel19);
|
|
|
+ Footer.Controls.Add(lbl_MemoryInformation);
|
|
|
+ Footer.Controls.Add(lbl_CPUInformation);
|
|
|
Footer.Controls.Add(led_PlcState);
|
|
|
Footer.Controls.Add(uiLabel18);
|
|
|
Footer.Controls.Add(uiLabel17);
|
|
@@ -93,16 +93,16 @@
|
|
|
//
|
|
|
// Header
|
|
|
//
|
|
|
- Header.Controls.Add(uiLedBulb1);
|
|
|
+ Header.Controls.Add(led_ProducteState);
|
|
|
Header.Controls.Add(uiLabel13);
|
|
|
- Header.Controls.Add(uiLedLabel4);
|
|
|
- Header.Controls.Add(uiLabel12);
|
|
|
- Header.Controls.Add(uiLedLabel3);
|
|
|
- Header.Controls.Add(uiLabel11);
|
|
|
- Header.Controls.Add(uiLedLabel2);
|
|
|
- Header.Controls.Add(uiLabel10);
|
|
|
- Header.Controls.Add(uiLedLabel1);
|
|
|
- Header.Controls.Add(uiLabel9);
|
|
|
+ Header.Controls.Add(lbl_TotalAlarm);
|
|
|
+ Header.Controls.Add(lb_TotalAlarm);
|
|
|
+ Header.Controls.Add(lbl_Beat);
|
|
|
+ Header.Controls.Add(lb_Beat);
|
|
|
+ Header.Controls.Add(lbl_BadCount);
|
|
|
+ Header.Controls.Add(lb_BadCount);
|
|
|
+ Header.Controls.Add(lbl_ProducteCount);
|
|
|
+ Header.Controls.Add(lb_ProducteCount);
|
|
|
Header.Controls.Add(uiPanel1);
|
|
|
Header.Location = new Point(0, 0);
|
|
|
Header.NodeInterval = 0;
|
|
@@ -115,12 +115,12 @@
|
|
|
uiPanel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
uiPanel1.Controls.Add(uiSymbolLabel2);
|
|
|
uiPanel1.Controls.Add(uiSymbolLabel1);
|
|
|
- uiPanel1.Controls.Add(uiLabel8);
|
|
|
- uiPanel1.Controls.Add(uiLabel7);
|
|
|
- uiPanel1.Controls.Add(uiLabel6);
|
|
|
- uiPanel1.Controls.Add(uiLabel5);
|
|
|
- uiPanel1.Controls.Add(uiLabel4);
|
|
|
- uiPanel1.Controls.Add(uiScrollingText1);
|
|
|
+ uiPanel1.Controls.Add(lbl_Time);
|
|
|
+ uiPanel1.Controls.Add(lbl_Humidness);
|
|
|
+ uiPanel1.Controls.Add(lbl_Temperature);
|
|
|
+ uiPanel1.Controls.Add(lb_Humidness);
|
|
|
+ uiPanel1.Controls.Add(lb_Temperature);
|
|
|
+ uiPanel1.Controls.Add(st_AlarmInfo);
|
|
|
uiPanel1.Controls.Add(lbl_User);
|
|
|
uiPanel1.Controls.Add(pictureBox2);
|
|
|
uiPanel1.Controls.Add(uiLabel2);
|
|
@@ -165,89 +165,89 @@
|
|
|
uiSymbolLabel1.TabIndex = 10;
|
|
|
uiSymbolLabel1.Click += uiSymbolLabel1_Click;
|
|
|
//
|
|
|
- // uiLabel8
|
|
|
- //
|
|
|
- uiLabel8.BackColor = Color.Transparent;
|
|
|
- uiLabel8.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel8.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel8.Location = new Point(922, 43);
|
|
|
- uiLabel8.Name = "uiLabel8";
|
|
|
- uiLabel8.Size = new Size(215, 33);
|
|
|
- uiLabel8.TabIndex = 9;
|
|
|
- uiLabel8.Text = "2024-10-12 23:05:23";
|
|
|
- uiLabel8.MouseDown += Panel_MouseDown;
|
|
|
- uiLabel8.MouseMove += Panel_MouseMove;
|
|
|
- //
|
|
|
- // uiLabel7
|
|
|
- //
|
|
|
- uiLabel7.BackColor = Color.Transparent;
|
|
|
- uiLabel7.Font = new Font("宋体", 9F);
|
|
|
- uiLabel7.ForeColor = Color.Green;
|
|
|
- uiLabel7.Location = new Point(1125, 16);
|
|
|
- uiLabel7.Name = "uiLabel7";
|
|
|
- uiLabel7.Size = new Size(44, 27);
|
|
|
- uiLabel7.TabIndex = 8;
|
|
|
- uiLabel7.Text = "60%";
|
|
|
- uiLabel7.MouseDown += Panel_MouseDown;
|
|
|
- uiLabel7.MouseMove += Panel_MouseMove;
|
|
|
- //
|
|
|
- // uiLabel6
|
|
|
- //
|
|
|
- uiLabel6.BackColor = Color.Transparent;
|
|
|
- uiLabel6.Font = new Font("宋体", 9F);
|
|
|
- uiLabel6.ForeColor = Color.Green;
|
|
|
- uiLabel6.Location = new Point(985, 16);
|
|
|
- uiLabel6.Name = "uiLabel6";
|
|
|
- uiLabel6.Size = new Size(44, 27);
|
|
|
- uiLabel6.TabIndex = 7;
|
|
|
- uiLabel6.Text = "25℃";
|
|
|
- uiLabel6.MouseDown += Panel_MouseDown;
|
|
|
- uiLabel6.MouseMove += Panel_MouseMove;
|
|
|
- //
|
|
|
- // uiLabel5
|
|
|
- //
|
|
|
- uiLabel5.BackColor = Color.Transparent;
|
|
|
- uiLabel5.Font = new Font("宋体", 9F);
|
|
|
- uiLabel5.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel5.Image = Properties.Resources.湿度;
|
|
|
- uiLabel5.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
- uiLabel5.Location = new Point(1024, 9);
|
|
|
- uiLabel5.Name = "uiLabel5";
|
|
|
- uiLabel5.Size = new Size(95, 29);
|
|
|
- uiLabel5.TabIndex = 6;
|
|
|
- uiLabel5.Text = "厂房湿度";
|
|
|
- uiLabel5.TextAlign = ContentAlignment.MiddleRight;
|
|
|
- uiLabel5.MouseDown += Panel_MouseDown;
|
|
|
- uiLabel5.MouseMove += Panel_MouseMove;
|
|
|
- //
|
|
|
- // uiLabel4
|
|
|
- //
|
|
|
- uiLabel4.BackColor = Color.Transparent;
|
|
|
- uiLabel4.Font = new Font("宋体", 9F);
|
|
|
- uiLabel4.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel4.Image = Properties.Resources.温度;
|
|
|
- uiLabel4.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
- uiLabel4.Location = new Point(884, 9);
|
|
|
- uiLabel4.Name = "uiLabel4";
|
|
|
- uiLabel4.Size = new Size(95, 29);
|
|
|
- uiLabel4.TabIndex = 5;
|
|
|
- uiLabel4.Text = "厂房温度";
|
|
|
- uiLabel4.TextAlign = ContentAlignment.MiddleRight;
|
|
|
- uiLabel4.MouseDown += Panel_MouseDown;
|
|
|
- uiLabel4.MouseMove += Panel_MouseMove;
|
|
|
- //
|
|
|
- // uiScrollingText1
|
|
|
- //
|
|
|
- uiScrollingText1.BackColor = Color.Transparent;
|
|
|
- uiScrollingText1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiScrollingText1.Location = new Point(595, 9);
|
|
|
- uiScrollingText1.MinimumSize = new Size(1, 1);
|
|
|
- uiScrollingText1.Name = "uiScrollingText1";
|
|
|
- uiScrollingText1.Size = new Size(283, 48);
|
|
|
- uiScrollingText1.TabIndex = 4;
|
|
|
- uiScrollingText1.Text = "系统正常";
|
|
|
- uiScrollingText1.MouseDown += Panel_MouseDown;
|
|
|
- uiScrollingText1.MouseMove += Panel_MouseMove;
|
|
|
+ // lbl_Time
|
|
|
+ //
|
|
|
+ lbl_Time.BackColor = Color.Transparent;
|
|
|
+ lbl_Time.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_Time.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lbl_Time.Location = new Point(922, 43);
|
|
|
+ lbl_Time.Name = "lbl_Time";
|
|
|
+ lbl_Time.Size = new Size(215, 33);
|
|
|
+ lbl_Time.TabIndex = 9;
|
|
|
+ lbl_Time.Text = "2024-10-12 23:05:23";
|
|
|
+ lbl_Time.MouseDown += Panel_MouseDown;
|
|
|
+ lbl_Time.MouseMove += Panel_MouseMove;
|
|
|
+ //
|
|
|
+ // lbl_Humidness
|
|
|
+ //
|
|
|
+ lbl_Humidness.BackColor = Color.Transparent;
|
|
|
+ lbl_Humidness.Font = new Font("宋体", 9F);
|
|
|
+ lbl_Humidness.ForeColor = Color.Green;
|
|
|
+ lbl_Humidness.Location = new Point(1125, 16);
|
|
|
+ lbl_Humidness.Name = "lbl_Humidness";
|
|
|
+ lbl_Humidness.Size = new Size(44, 27);
|
|
|
+ lbl_Humidness.TabIndex = 8;
|
|
|
+ lbl_Humidness.Text = "60%";
|
|
|
+ lbl_Humidness.MouseDown += Panel_MouseDown;
|
|
|
+ lbl_Humidness.MouseMove += Panel_MouseMove;
|
|
|
+ //
|
|
|
+ // lbl_Temperature
|
|
|
+ //
|
|
|
+ lbl_Temperature.BackColor = Color.Transparent;
|
|
|
+ lbl_Temperature.Font = new Font("宋体", 9F);
|
|
|
+ lbl_Temperature.ForeColor = Color.Green;
|
|
|
+ lbl_Temperature.Location = new Point(985, 16);
|
|
|
+ lbl_Temperature.Name = "lbl_Temperature";
|
|
|
+ lbl_Temperature.Size = new Size(44, 27);
|
|
|
+ lbl_Temperature.TabIndex = 7;
|
|
|
+ lbl_Temperature.Text = "25℃";
|
|
|
+ lbl_Temperature.MouseDown += Panel_MouseDown;
|
|
|
+ lbl_Temperature.MouseMove += Panel_MouseMove;
|
|
|
+ //
|
|
|
+ // lb_Humidness
|
|
|
+ //
|
|
|
+ lb_Humidness.BackColor = Color.Transparent;
|
|
|
+ lb_Humidness.Font = new Font("宋体", 9F);
|
|
|
+ lb_Humidness.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lb_Humidness.Image = Properties.Resources.湿度;
|
|
|
+ lb_Humidness.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
+ lb_Humidness.Location = new Point(1024, 9);
|
|
|
+ lb_Humidness.Name = "lb_Humidness";
|
|
|
+ lb_Humidness.Size = new Size(95, 29);
|
|
|
+ lb_Humidness.TabIndex = 6;
|
|
|
+ lb_Humidness.Text = "厂房湿度";
|
|
|
+ lb_Humidness.TextAlign = ContentAlignment.MiddleRight;
|
|
|
+ lb_Humidness.MouseDown += Panel_MouseDown;
|
|
|
+ lb_Humidness.MouseMove += Panel_MouseMove;
|
|
|
+ //
|
|
|
+ // lb_Temperature
|
|
|
+ //
|
|
|
+ lb_Temperature.BackColor = Color.Transparent;
|
|
|
+ lb_Temperature.Font = new Font("宋体", 9F);
|
|
|
+ lb_Temperature.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lb_Temperature.Image = Properties.Resources.温度;
|
|
|
+ lb_Temperature.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
+ lb_Temperature.Location = new Point(884, 9);
|
|
|
+ lb_Temperature.Name = "lb_Temperature";
|
|
|
+ lb_Temperature.Size = new Size(95, 29);
|
|
|
+ lb_Temperature.TabIndex = 5;
|
|
|
+ lb_Temperature.Text = "厂房温度";
|
|
|
+ lb_Temperature.TextAlign = ContentAlignment.MiddleRight;
|
|
|
+ lb_Temperature.MouseDown += Panel_MouseDown;
|
|
|
+ lb_Temperature.MouseMove += Panel_MouseMove;
|
|
|
+ //
|
|
|
+ // st_AlarmInfo
|
|
|
+ //
|
|
|
+ st_AlarmInfo.BackColor = Color.Transparent;
|
|
|
+ st_AlarmInfo.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ st_AlarmInfo.Location = new Point(595, 9);
|
|
|
+ st_AlarmInfo.MinimumSize = new Size(1, 1);
|
|
|
+ st_AlarmInfo.Name = "st_AlarmInfo";
|
|
|
+ st_AlarmInfo.Size = new Size(283, 48);
|
|
|
+ st_AlarmInfo.TabIndex = 4;
|
|
|
+ st_AlarmInfo.Text = "系统正常";
|
|
|
+ st_AlarmInfo.MouseDown += Panel_MouseDown;
|
|
|
+ st_AlarmInfo.MouseMove += Panel_MouseMove;
|
|
|
//
|
|
|
// lbl_User
|
|
|
//
|
|
@@ -313,105 +313,105 @@
|
|
|
pictureBox1.MouseDown += Panel_MouseDown;
|
|
|
pictureBox1.MouseMove += Panel_MouseMove;
|
|
|
//
|
|
|
- // uiLabel9
|
|
|
- //
|
|
|
- uiLabel9.BackColor = Color.Transparent;
|
|
|
- uiLabel9.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel9.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel9.Image = Properties.Resources.产量;
|
|
|
- uiLabel9.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
- uiLabel9.Location = new Point(3, 72);
|
|
|
- uiLabel9.Name = "uiLabel9";
|
|
|
- uiLabel9.Size = new Size(132, 45);
|
|
|
- uiLabel9.TabIndex = 1;
|
|
|
- uiLabel9.Text = "生产计数";
|
|
|
- uiLabel9.TextAlign = ContentAlignment.MiddleRight;
|
|
|
- //
|
|
|
- // uiLedLabel1
|
|
|
- //
|
|
|
- uiLedLabel1.BackColor = Color.Transparent;
|
|
|
- uiLedLabel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLedLabel1.Location = new Point(141, 72);
|
|
|
- uiLedLabel1.MinimumSize = new Size(1, 1);
|
|
|
- uiLedLabel1.Name = "uiLedLabel1";
|
|
|
- uiLedLabel1.Size = new Size(80, 44);
|
|
|
- uiLedLabel1.TabIndex = 2;
|
|
|
- uiLedLabel1.Text = "5000";
|
|
|
- //
|
|
|
- // uiLedLabel2
|
|
|
- //
|
|
|
- uiLedLabel2.BackColor = Color.Transparent;
|
|
|
- uiLedLabel2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLedLabel2.Location = new Point(365, 72);
|
|
|
- uiLedLabel2.MinimumSize = new Size(1, 1);
|
|
|
- uiLedLabel2.Name = "uiLedLabel2";
|
|
|
- uiLedLabel2.Size = new Size(80, 44);
|
|
|
- uiLedLabel2.TabIndex = 4;
|
|
|
- uiLedLabel2.Text = "0067";
|
|
|
- //
|
|
|
- // uiLabel10
|
|
|
- //
|
|
|
- uiLabel10.BackColor = Color.Transparent;
|
|
|
- uiLabel10.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel10.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel10.Image = Properties.Resources.产量;
|
|
|
- uiLabel10.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
- uiLabel10.Location = new Point(227, 72);
|
|
|
- uiLabel10.Name = "uiLabel10";
|
|
|
- uiLabel10.Size = new Size(132, 45);
|
|
|
- uiLabel10.TabIndex = 3;
|
|
|
- uiLabel10.Text = "不良计数";
|
|
|
- uiLabel10.TextAlign = ContentAlignment.MiddleRight;
|
|
|
- //
|
|
|
- // uiLedLabel3
|
|
|
- //
|
|
|
- uiLedLabel3.BackColor = Color.Transparent;
|
|
|
- uiLedLabel3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLedLabel3.Location = new Point(595, 72);
|
|
|
- uiLedLabel3.MinimumSize = new Size(1, 1);
|
|
|
- uiLedLabel3.Name = "uiLedLabel3";
|
|
|
- uiLedLabel3.Size = new Size(80, 44);
|
|
|
- uiLedLabel3.TabIndex = 6;
|
|
|
- uiLedLabel3.Text = "060S";
|
|
|
- //
|
|
|
- // uiLabel11
|
|
|
- //
|
|
|
- uiLabel11.BackColor = Color.Transparent;
|
|
|
- uiLabel11.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel11.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel11.Image = Properties.Resources.生产节拍;
|
|
|
- uiLabel11.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
- uiLabel11.Location = new Point(457, 72);
|
|
|
- uiLabel11.Name = "uiLabel11";
|
|
|
- uiLabel11.Size = new Size(132, 45);
|
|
|
- uiLabel11.TabIndex = 5;
|
|
|
- uiLabel11.Text = "生产节拍";
|
|
|
- uiLabel11.TextAlign = ContentAlignment.MiddleRight;
|
|
|
- //
|
|
|
- // uiLedLabel4
|
|
|
- //
|
|
|
- uiLedLabel4.BackColor = Color.Transparent;
|
|
|
- uiLedLabel4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLedLabel4.Location = new Point(819, 72);
|
|
|
- uiLedLabel4.MinimumSize = new Size(1, 1);
|
|
|
- uiLedLabel4.Name = "uiLedLabel4";
|
|
|
- uiLedLabel4.Size = new Size(80, 44);
|
|
|
- uiLedLabel4.TabIndex = 8;
|
|
|
- uiLedLabel4.Text = "0221";
|
|
|
- //
|
|
|
- // uiLabel12
|
|
|
- //
|
|
|
- uiLabel12.BackColor = Color.Transparent;
|
|
|
- uiLabel12.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel12.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel12.Image = Properties.Resources.报警数;
|
|
|
- uiLabel12.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
- uiLabel12.Location = new Point(681, 72);
|
|
|
- uiLabel12.Name = "uiLabel12";
|
|
|
- uiLabel12.Size = new Size(132, 45);
|
|
|
- uiLabel12.TabIndex = 7;
|
|
|
- uiLabel12.Text = "累计报警";
|
|
|
- uiLabel12.TextAlign = ContentAlignment.MiddleRight;
|
|
|
+ // lb_ProducteCount
|
|
|
+ //
|
|
|
+ lb_ProducteCount.BackColor = Color.Transparent;
|
|
|
+ lb_ProducteCount.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lb_ProducteCount.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lb_ProducteCount.Image = Properties.Resources.产量;
|
|
|
+ lb_ProducteCount.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
+ lb_ProducteCount.Location = new Point(3, 72);
|
|
|
+ lb_ProducteCount.Name = "lb_ProducteCount";
|
|
|
+ lb_ProducteCount.Size = new Size(132, 45);
|
|
|
+ lb_ProducteCount.TabIndex = 1;
|
|
|
+ lb_ProducteCount.Text = "生产计数";
|
|
|
+ lb_ProducteCount.TextAlign = ContentAlignment.MiddleRight;
|
|
|
+ //
|
|
|
+ // lbl_ProducteCount
|
|
|
+ //
|
|
|
+ lbl_ProducteCount.BackColor = Color.Transparent;
|
|
|
+ lbl_ProducteCount.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_ProducteCount.Location = new Point(141, 72);
|
|
|
+ lbl_ProducteCount.MinimumSize = new Size(1, 1);
|
|
|
+ lbl_ProducteCount.Name = "lbl_ProducteCount";
|
|
|
+ lbl_ProducteCount.Size = new Size(80, 44);
|
|
|
+ lbl_ProducteCount.TabIndex = 2;
|
|
|
+ lbl_ProducteCount.Text = "5000";
|
|
|
+ //
|
|
|
+ // lbl_BadCount
|
|
|
+ //
|
|
|
+ lbl_BadCount.BackColor = Color.Transparent;
|
|
|
+ lbl_BadCount.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_BadCount.Location = new Point(365, 72);
|
|
|
+ lbl_BadCount.MinimumSize = new Size(1, 1);
|
|
|
+ lbl_BadCount.Name = "lbl_BadCount";
|
|
|
+ lbl_BadCount.Size = new Size(80, 44);
|
|
|
+ lbl_BadCount.TabIndex = 4;
|
|
|
+ lbl_BadCount.Text = "0067";
|
|
|
+ //
|
|
|
+ // lb_BadCount
|
|
|
+ //
|
|
|
+ lb_BadCount.BackColor = Color.Transparent;
|
|
|
+ lb_BadCount.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lb_BadCount.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lb_BadCount.Image = Properties.Resources.产量;
|
|
|
+ lb_BadCount.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
+ lb_BadCount.Location = new Point(227, 72);
|
|
|
+ lb_BadCount.Name = "lb_BadCount";
|
|
|
+ lb_BadCount.Size = new Size(132, 45);
|
|
|
+ lb_BadCount.TabIndex = 3;
|
|
|
+ lb_BadCount.Text = "不良计数";
|
|
|
+ lb_BadCount.TextAlign = ContentAlignment.MiddleRight;
|
|
|
+ //
|
|
|
+ // lbl_Beat
|
|
|
+ //
|
|
|
+ lbl_Beat.BackColor = Color.Transparent;
|
|
|
+ lbl_Beat.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_Beat.Location = new Point(595, 72);
|
|
|
+ lbl_Beat.MinimumSize = new Size(1, 1);
|
|
|
+ lbl_Beat.Name = "lbl_Beat";
|
|
|
+ lbl_Beat.Size = new Size(80, 44);
|
|
|
+ lbl_Beat.TabIndex = 6;
|
|
|
+ lbl_Beat.Text = "060S";
|
|
|
+ //
|
|
|
+ // lb_Beat
|
|
|
+ //
|
|
|
+ lb_Beat.BackColor = Color.Transparent;
|
|
|
+ lb_Beat.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lb_Beat.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lb_Beat.Image = Properties.Resources.生产节拍;
|
|
|
+ lb_Beat.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
+ lb_Beat.Location = new Point(457, 72);
|
|
|
+ lb_Beat.Name = "lb_Beat";
|
|
|
+ lb_Beat.Size = new Size(132, 45);
|
|
|
+ lb_Beat.TabIndex = 5;
|
|
|
+ lb_Beat.Text = "生产节拍";
|
|
|
+ lb_Beat.TextAlign = ContentAlignment.MiddleRight;
|
|
|
+ //
|
|
|
+ // lbl_TotalAlarm
|
|
|
+ //
|
|
|
+ lbl_TotalAlarm.BackColor = Color.Transparent;
|
|
|
+ lbl_TotalAlarm.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_TotalAlarm.Location = new Point(819, 72);
|
|
|
+ lbl_TotalAlarm.MinimumSize = new Size(1, 1);
|
|
|
+ lbl_TotalAlarm.Name = "lbl_TotalAlarm";
|
|
|
+ lbl_TotalAlarm.Size = new Size(80, 44);
|
|
|
+ lbl_TotalAlarm.TabIndex = 8;
|
|
|
+ lbl_TotalAlarm.Text = "0221";
|
|
|
+ //
|
|
|
+ // lb_TotalAlarm
|
|
|
+ //
|
|
|
+ lb_TotalAlarm.BackColor = Color.Transparent;
|
|
|
+ lb_TotalAlarm.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lb_TotalAlarm.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lb_TotalAlarm.Image = Properties.Resources.报警数;
|
|
|
+ lb_TotalAlarm.ImageAlign = ContentAlignment.MiddleLeft;
|
|
|
+ lb_TotalAlarm.Location = new Point(681, 72);
|
|
|
+ lb_TotalAlarm.Name = "lb_TotalAlarm";
|
|
|
+ lb_TotalAlarm.Size = new Size(132, 45);
|
|
|
+ lb_TotalAlarm.TabIndex = 7;
|
|
|
+ lb_TotalAlarm.Text = "累计报警";
|
|
|
+ lb_TotalAlarm.TextAlign = ContentAlignment.MiddleRight;
|
|
|
//
|
|
|
// uiLabel13
|
|
|
//
|
|
@@ -427,13 +427,13 @@
|
|
|
uiLabel13.Text = "系统状态";
|
|
|
uiLabel13.TextAlign = ContentAlignment.MiddleRight;
|
|
|
//
|
|
|
- // uiLedBulb1
|
|
|
+ // led_ProducteState
|
|
|
//
|
|
|
- uiLedBulb1.Location = new Point(1043, 76);
|
|
|
- uiLedBulb1.Name = "uiLedBulb1";
|
|
|
- uiLedBulb1.Size = new Size(40, 40);
|
|
|
- uiLedBulb1.TabIndex = 10;
|
|
|
- uiLedBulb1.Text = "uiLedBulb1";
|
|
|
+ led_ProducteState.Location = new Point(1043, 76);
|
|
|
+ led_ProducteState.Name = "led_ProducteState";
|
|
|
+ led_ProducteState.Size = new Size(40, 40);
|
|
|
+ led_ProducteState.TabIndex = 10;
|
|
|
+ led_ProducteState.Text = "uiLedBulb1";
|
|
|
//
|
|
|
// uiLabel14
|
|
|
//
|
|
@@ -513,27 +513,27 @@
|
|
|
led_PlcState.TabIndex = 5;
|
|
|
led_PlcState.Text = "uiLedBulb2";
|
|
|
//
|
|
|
- // uiLabel19
|
|
|
+ // lbl_CPUInformation
|
|
|
//
|
|
|
- uiLabel19.BackColor = Color.Transparent;
|
|
|
- uiLabel19.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel19.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel19.Location = new Point(373, 22);
|
|
|
- uiLabel19.Name = "uiLabel19";
|
|
|
- uiLabel19.Size = new Size(49, 29);
|
|
|
- uiLabel19.TabIndex = 6;
|
|
|
- uiLabel19.Text = "60%";
|
|
|
+ lbl_CPUInformation.BackColor = Color.Transparent;
|
|
|
+ lbl_CPUInformation.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_CPUInformation.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lbl_CPUInformation.Location = new Point(373, 22);
|
|
|
+ lbl_CPUInformation.Name = "lbl_CPUInformation";
|
|
|
+ lbl_CPUInformation.Size = new Size(49, 29);
|
|
|
+ lbl_CPUInformation.TabIndex = 6;
|
|
|
+ lbl_CPUInformation.Text = "60%";
|
|
|
//
|
|
|
- // uiLabel20
|
|
|
+ // lbl_MemoryInformation
|
|
|
//
|
|
|
- uiLabel20.BackColor = Color.Transparent;
|
|
|
- uiLabel20.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
- uiLabel20.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
- uiLabel20.Location = new Point(564, 22);
|
|
|
- uiLabel20.Name = "uiLabel20";
|
|
|
- uiLabel20.Size = new Size(49, 29);
|
|
|
- uiLabel20.TabIndex = 7;
|
|
|
- uiLabel20.Text = "60%";
|
|
|
+ lbl_MemoryInformation.BackColor = Color.Transparent;
|
|
|
+ lbl_MemoryInformation.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
+ lbl_MemoryInformation.ForeColor = Color.FromArgb(48, 48, 48);
|
|
|
+ lbl_MemoryInformation.Location = new Point(564, 22);
|
|
|
+ lbl_MemoryInformation.Name = "lbl_MemoryInformation";
|
|
|
+ lbl_MemoryInformation.Size = new Size(49, 29);
|
|
|
+ lbl_MemoryInformation.TabIndex = 7;
|
|
|
+ lbl_MemoryInformation.Text = "60%";
|
|
|
//
|
|
|
// uiLabel21
|
|
|
//
|
|
@@ -585,29 +585,29 @@
|
|
|
private Sunny.UI.UILabel lbl_User;
|
|
|
private PictureBox pictureBox2;
|
|
|
private Sunny.UI.UILabel uiLabel2;
|
|
|
- private Sunny.UI.UILabel uiLabel4;
|
|
|
- private Sunny.UI.UIScrollingText uiScrollingText1;
|
|
|
- private Sunny.UI.UILabel uiLabel7;
|
|
|
- private Sunny.UI.UILabel uiLabel6;
|
|
|
- private Sunny.UI.UILabel uiLabel5;
|
|
|
+ private Sunny.UI.UILabel lb_Temperature;
|
|
|
+ private Sunny.UI.UIScrollingText st_AlarmInfo;
|
|
|
+ private Sunny.UI.UILabel lbl_Humidness;
|
|
|
+ private Sunny.UI.UILabel lbl_Temperature;
|
|
|
+ private Sunny.UI.UILabel lb_Humidness;
|
|
|
private Sunny.UI.UISymbolLabel uiSymbolLabel1;
|
|
|
- private Sunny.UI.UILabel uiLabel8;
|
|
|
+ private Sunny.UI.UILabel lbl_Time;
|
|
|
private Sunny.UI.UISymbolLabel uiSymbolLabel2;
|
|
|
- private Sunny.UI.UILabel uiLabel9;
|
|
|
- private Sunny.UI.UILedLabel uiLedLabel4;
|
|
|
- private Sunny.UI.UILabel uiLabel12;
|
|
|
- private Sunny.UI.UILedLabel uiLedLabel3;
|
|
|
- private Sunny.UI.UILabel uiLabel11;
|
|
|
- private Sunny.UI.UILedLabel uiLedLabel2;
|
|
|
- private Sunny.UI.UILabel uiLabel10;
|
|
|
- private Sunny.UI.UILedLabel uiLedLabel1;
|
|
|
+ private Sunny.UI.UILabel lb_ProducteCount;
|
|
|
+ private Sunny.UI.UILedLabel lbl_TotalAlarm;
|
|
|
+ private Sunny.UI.UILabel lb_TotalAlarm;
|
|
|
+ private Sunny.UI.UILedLabel lbl_Beat;
|
|
|
+ private Sunny.UI.UILabel lb_Beat;
|
|
|
+ private Sunny.UI.UILedLabel lbl_BadCount;
|
|
|
+ private Sunny.UI.UILabel lb_BadCount;
|
|
|
+ private Sunny.UI.UILedLabel lbl_ProducteCount;
|
|
|
private Sunny.UI.UILabel uiLabel14;
|
|
|
- private Sunny.UI.UILedBulb uiLedBulb1;
|
|
|
+ private Sunny.UI.UILedBulb led_ProducteState;
|
|
|
private Sunny.UI.UILabel uiLabel13;
|
|
|
private Sunny.UI.UILabel uiLabel22;
|
|
|
private Sunny.UI.UILabel uiLabel21;
|
|
|
- private Sunny.UI.UILabel uiLabel20;
|
|
|
- private Sunny.UI.UILabel uiLabel19;
|
|
|
+ private Sunny.UI.UILabel lbl_MemoryInformation;
|
|
|
+ private Sunny.UI.UILabel lbl_CPUInformation;
|
|
|
private Sunny.UI.UILedBulb led_PlcState;
|
|
|
private Sunny.UI.UILabel uiLabel18;
|
|
|
private Sunny.UI.UILabel uiLabel17;
|