|
@@ -58,7 +58,7 @@
|
|
uiLabel16 = new Sunny.UI.UILabel();
|
|
uiLabel16 = new Sunny.UI.UILabel();
|
|
uiLabel17 = new Sunny.UI.UILabel();
|
|
uiLabel17 = new Sunny.UI.UILabel();
|
|
uiLabel18 = new Sunny.UI.UILabel();
|
|
uiLabel18 = new Sunny.UI.UILabel();
|
|
- uiLedBulb2 = new Sunny.UI.UILedBulb();
|
|
|
|
|
|
+ led_PlcState = new Sunny.UI.UILedBulb();
|
|
uiLabel19 = new Sunny.UI.UILabel();
|
|
uiLabel19 = new Sunny.UI.UILabel();
|
|
uiLabel20 = new Sunny.UI.UILabel();
|
|
uiLabel20 = new Sunny.UI.UILabel();
|
|
uiLabel21 = new Sunny.UI.UILabel();
|
|
uiLabel21 = new Sunny.UI.UILabel();
|
|
@@ -77,7 +77,7 @@
|
|
Footer.Controls.Add(uiLabel21);
|
|
Footer.Controls.Add(uiLabel21);
|
|
Footer.Controls.Add(uiLabel20);
|
|
Footer.Controls.Add(uiLabel20);
|
|
Footer.Controls.Add(uiLabel19);
|
|
Footer.Controls.Add(uiLabel19);
|
|
- Footer.Controls.Add(uiLedBulb2);
|
|
|
|
|
|
+ Footer.Controls.Add(led_PlcState);
|
|
Footer.Controls.Add(uiLabel18);
|
|
Footer.Controls.Add(uiLabel18);
|
|
Footer.Controls.Add(uiLabel17);
|
|
Footer.Controls.Add(uiLabel17);
|
|
Footer.Controls.Add(uiLabel16);
|
|
Footer.Controls.Add(uiLabel16);
|
|
@@ -136,6 +136,8 @@
|
|
uiPanel1.TabIndex = 0;
|
|
uiPanel1.TabIndex = 0;
|
|
uiPanel1.Text = null;
|
|
uiPanel1.Text = null;
|
|
uiPanel1.TextAlignment = ContentAlignment.MiddleCenter;
|
|
uiPanel1.TextAlignment = ContentAlignment.MiddleCenter;
|
|
|
|
+ uiPanel1.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiPanel1.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiSymbolLabel2
|
|
// uiSymbolLabel2
|
|
//
|
|
//
|
|
@@ -173,6 +175,8 @@
|
|
uiLabel8.Size = new Size(215, 33);
|
|
uiLabel8.Size = new Size(215, 33);
|
|
uiLabel8.TabIndex = 9;
|
|
uiLabel8.TabIndex = 9;
|
|
uiLabel8.Text = "2024-10-12 23:05:23";
|
|
uiLabel8.Text = "2024-10-12 23:05:23";
|
|
|
|
+ uiLabel8.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel8.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel7
|
|
// uiLabel7
|
|
//
|
|
//
|
|
@@ -184,6 +188,8 @@
|
|
uiLabel7.Size = new Size(44, 27);
|
|
uiLabel7.Size = new Size(44, 27);
|
|
uiLabel7.TabIndex = 8;
|
|
uiLabel7.TabIndex = 8;
|
|
uiLabel7.Text = "60%";
|
|
uiLabel7.Text = "60%";
|
|
|
|
+ uiLabel7.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel7.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel6
|
|
// uiLabel6
|
|
//
|
|
//
|
|
@@ -195,6 +201,8 @@
|
|
uiLabel6.Size = new Size(44, 27);
|
|
uiLabel6.Size = new Size(44, 27);
|
|
uiLabel6.TabIndex = 7;
|
|
uiLabel6.TabIndex = 7;
|
|
uiLabel6.Text = "25℃";
|
|
uiLabel6.Text = "25℃";
|
|
|
|
+ uiLabel6.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel6.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel5
|
|
// uiLabel5
|
|
//
|
|
//
|
|
@@ -209,6 +217,8 @@
|
|
uiLabel5.TabIndex = 6;
|
|
uiLabel5.TabIndex = 6;
|
|
uiLabel5.Text = "厂房湿度";
|
|
uiLabel5.Text = "厂房湿度";
|
|
uiLabel5.TextAlign = ContentAlignment.MiddleRight;
|
|
uiLabel5.TextAlign = ContentAlignment.MiddleRight;
|
|
|
|
+ uiLabel5.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel5.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel4
|
|
// uiLabel4
|
|
//
|
|
//
|
|
@@ -223,6 +233,8 @@
|
|
uiLabel4.TabIndex = 5;
|
|
uiLabel4.TabIndex = 5;
|
|
uiLabel4.Text = "厂房温度";
|
|
uiLabel4.Text = "厂房温度";
|
|
uiLabel4.TextAlign = ContentAlignment.MiddleRight;
|
|
uiLabel4.TextAlign = ContentAlignment.MiddleRight;
|
|
|
|
+ uiLabel4.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel4.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiScrollingText1
|
|
// uiScrollingText1
|
|
//
|
|
//
|
|
@@ -234,6 +246,8 @@
|
|
uiScrollingText1.Size = new Size(283, 48);
|
|
uiScrollingText1.Size = new Size(283, 48);
|
|
uiScrollingText1.TabIndex = 4;
|
|
uiScrollingText1.TabIndex = 4;
|
|
uiScrollingText1.Text = "系统正常";
|
|
uiScrollingText1.Text = "系统正常";
|
|
|
|
+ uiScrollingText1.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiScrollingText1.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel3
|
|
// uiLabel3
|
|
//
|
|
//
|
|
@@ -245,6 +259,8 @@
|
|
uiLabel3.Size = new Size(103, 39);
|
|
uiLabel3.Size = new Size(103, 39);
|
|
uiLabel3.TabIndex = 1;
|
|
uiLabel3.TabIndex = 1;
|
|
uiLabel3.Text = "工程师";
|
|
uiLabel3.Text = "工程师";
|
|
|
|
+ uiLabel3.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel3.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// pictureBox2
|
|
// pictureBox2
|
|
//
|
|
//
|
|
@@ -255,6 +271,8 @@
|
|
pictureBox2.Size = new Size(65, 65);
|
|
pictureBox2.Size = new Size(65, 65);
|
|
pictureBox2.TabIndex = 3;
|
|
pictureBox2.TabIndex = 3;
|
|
pictureBox2.TabStop = false;
|
|
pictureBox2.TabStop = false;
|
|
|
|
+ pictureBox2.MouseDown += Panel_MouseDown;
|
|
|
|
+ pictureBox2.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel2
|
|
// uiLabel2
|
|
//
|
|
//
|
|
@@ -266,6 +284,8 @@
|
|
uiLabel2.Size = new Size(299, 26);
|
|
uiLabel2.Size = new Size(299, 26);
|
|
uiLabel2.TabIndex = 2;
|
|
uiLabel2.TabIndex = 2;
|
|
uiLabel2.Text = "Spary Process SCADA System";
|
|
uiLabel2.Text = "Spary Process SCADA System";
|
|
|
|
+ uiLabel2.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel2.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel1
|
|
// uiLabel1
|
|
//
|
|
//
|
|
@@ -277,6 +297,8 @@
|
|
uiLabel1.Size = new Size(335, 45);
|
|
uiLabel1.Size = new Size(335, 45);
|
|
uiLabel1.TabIndex = 1;
|
|
uiLabel1.TabIndex = 1;
|
|
uiLabel1.Text = "喷涂工艺SCADA系统";
|
|
uiLabel1.Text = "喷涂工艺SCADA系统";
|
|
|
|
+ uiLabel1.MouseDown += Panel_MouseDown;
|
|
|
|
+ uiLabel1.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// pictureBox1
|
|
// pictureBox1
|
|
//
|
|
//
|
|
@@ -287,6 +309,8 @@
|
|
pictureBox1.Size = new Size(65, 66);
|
|
pictureBox1.Size = new Size(65, 66);
|
|
pictureBox1.TabIndex = 0;
|
|
pictureBox1.TabIndex = 0;
|
|
pictureBox1.TabStop = false;
|
|
pictureBox1.TabStop = false;
|
|
|
|
+ pictureBox1.MouseDown += Panel_MouseDown;
|
|
|
|
+ pictureBox1.MouseMove += Panel_MouseMove;
|
|
//
|
|
//
|
|
// uiLabel9
|
|
// uiLabel9
|
|
//
|
|
//
|
|
@@ -479,14 +503,14 @@
|
|
uiLabel18.Text = "软件版本";
|
|
uiLabel18.Text = "软件版本";
|
|
uiLabel18.TextAlign = ContentAlignment.MiddleRight;
|
|
uiLabel18.TextAlign = ContentAlignment.MiddleRight;
|
|
//
|
|
//
|
|
- // uiLedBulb2
|
|
|
|
|
|
+ // led_PlcState
|
|
//
|
|
//
|
|
- uiLedBulb2.BackColor = Color.Transparent;
|
|
|
|
- uiLedBulb2.Location = new Point(174, 11);
|
|
|
|
- uiLedBulb2.Name = "uiLedBulb2";
|
|
|
|
- uiLedBulb2.Size = new Size(40, 40);
|
|
|
|
- uiLedBulb2.TabIndex = 5;
|
|
|
|
- uiLedBulb2.Text = "uiLedBulb2";
|
|
|
|
|
|
+ led_PlcState.BackColor = Color.Transparent;
|
|
|
|
+ led_PlcState.Location = new Point(174, 11);
|
|
|
|
+ led_PlcState.Name = "led_PlcState";
|
|
|
|
+ led_PlcState.Size = new Size(40, 40);
|
|
|
|
+ led_PlcState.TabIndex = 5;
|
|
|
|
+ led_PlcState.Text = "uiLedBulb2";
|
|
//
|
|
//
|
|
// uiLabel19
|
|
// uiLabel19
|
|
//
|
|
//
|
|
@@ -581,7 +605,7 @@
|
|
private Sunny.UI.UILabel uiLabel21;
|
|
private Sunny.UI.UILabel uiLabel21;
|
|
private Sunny.UI.UILabel uiLabel20;
|
|
private Sunny.UI.UILabel uiLabel20;
|
|
private Sunny.UI.UILabel uiLabel19;
|
|
private Sunny.UI.UILabel uiLabel19;
|
|
- private Sunny.UI.UILedBulb uiLedBulb2;
|
|
|
|
|
|
+ private Sunny.UI.UILedBulb led_PlcState;
|
|
private Sunny.UI.UILabel uiLabel18;
|
|
private Sunny.UI.UILabel uiLabel18;
|
|
private Sunny.UI.UILabel uiLabel17;
|
|
private Sunny.UI.UILabel uiLabel17;
|
|
private Sunny.UI.UILabel uiLabel16;
|
|
private Sunny.UI.UILabel uiLabel16;
|