diff --git a/INT_PT002/Controls/Log/ControlMenuLogAlarm.Designer.cs b/INT_PT002/Controls/Log/ControlMenuLogAlarm.Designer.cs index fad1719..8da4b6d 100644 --- a/INT_PT002/Controls/Log/ControlMenuLogAlarm.Designer.cs +++ b/INT_PT002/Controls/Log/ControlMenuLogAlarm.Designer.cs @@ -29,17 +29,17 @@ private void InitializeComponent() { this.smartGroupBox1 = new SmartX.SmartGroupBox(); - this.smartLabel1 = new SmartX.SmartLabel(); + this.treeViewLogAlarm = new System.Windows.Forms.TreeView(); + this.smartLabel6 = new SmartX.SmartLabel(); + this.smartLabel5 = new SmartX.SmartLabel(); + this.smartLabel4 = new SmartX.SmartLabel(); + this.smartLabel3 = new SmartX.SmartLabel(); + this.smartLabel2 = new SmartX.SmartLabel(); + this.labelPath = new SmartX.SmartLabel(); this.buttonBackup = new SmartX.SmartButton(); this.labelCount = new SmartX.SmartLabel(); - this.smartListBox1 = new SmartX.SmartListBox(); - this.treeViewLogAlarm = new System.Windows.Forms.TreeView(); - this.smartLabel2 = new SmartX.SmartLabel(); - this.smartLabel3 = new SmartX.SmartLabel(); - this.smartLabel4 = new SmartX.SmartLabel(); - this.smartLabel5 = new SmartX.SmartLabel(); - this.smartLabel6 = new SmartX.SmartLabel(); this.smartLabel7 = new SmartX.SmartLabel(); + this.smartListBox1 = new SmartX.SmartListBox(); this.smartGroupBox1.SuspendLayout(); this.SuspendLayout(); // @@ -54,7 +54,7 @@ this.smartGroupBox1.Controls.Add(this.smartLabel4); this.smartGroupBox1.Controls.Add(this.smartLabel3); this.smartGroupBox1.Controls.Add(this.smartLabel2); - this.smartGroupBox1.Controls.Add(this.smartLabel1); + this.smartGroupBox1.Controls.Add(this.labelPath); this.smartGroupBox1.Controls.Add(this.buttonBackup); this.smartGroupBox1.Controls.Add(this.labelCount); this.smartGroupBox1.Controls.Add(this.smartListBox1); @@ -72,28 +72,150 @@ this.smartGroupBox1.Text = "smartGroupBox1"; this.smartGroupBox1.TextColor = System.Drawing.Color.White; // - // smartLabel1 + // treeViewLogAlarm // - this.smartLabel1.BackGround = this.smartGroupBox1; - this.smartLabel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); - this.smartLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel1.Font = new System.Drawing.Font("새굴림", 17F, System.Drawing.FontStyle.Bold); - this.smartLabel1.LineSpacing = 0F; - this.smartLabel1.Location = new System.Drawing.Point(333, 69); - this.smartLabel1.Name = "smartLabel1"; - this.smartLabel1.OverlapOptimize = true; - this.smartLabel1.PasswordChar = '\0'; - this.smartLabel1.Radius = 10; - this.smartLabel1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel1.Size = new System.Drawing.Size(460, 41); - this.smartLabel1.TabIndex = 85; - this.smartLabel1.Text = "00"; - this.smartLabel1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel1.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel1.Wordwrap = false; + this.treeViewLogAlarm.Location = new System.Drawing.Point(32, 157); + this.treeViewLogAlarm.Name = "treeViewLogAlarm"; + this.treeViewLogAlarm.Size = new System.Drawing.Size(282, 483); + this.treeViewLogAlarm.TabIndex = 81; + this.treeViewLogAlarm.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewLogAlarm_AfterSelect); + // + // smartLabel6 + // + this.smartLabel6.BackGround = this.smartGroupBox1; + this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); + this.smartLabel6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.smartLabel6.Font = new System.Drawing.Font("New Gulim", 17F, System.Drawing.FontStyle.Bold); + this.smartLabel6.LineSpacing = 0F; + this.smartLabel6.Location = new System.Drawing.Point(24, 148); + this.smartLabel6.Name = "smartLabel6"; + this.smartLabel6.OverlapOptimize = true; + this.smartLabel6.PasswordChar = '\0'; + this.smartLabel6.Radius = 10; + this.smartLabel6.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.smartLabel6.Size = new System.Drawing.Size(299, 500); + this.smartLabel6.TabIndex = 90; + this.smartLabel6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel6.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.smartLabel6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel6.Wordwrap = false; + // + // smartLabel5 + // + this.smartLabel5.BackGround = this.smartGroupBox1; + this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.smartLabel5.BorderColor = System.Drawing.Color.Black; + this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.smartLabel5.LineSpacing = 0F; + this.smartLabel5.Location = new System.Drawing.Point(333, 124); + this.smartLabel5.Name = "smartLabel5"; + this.smartLabel5.OverlapOptimize = true; + this.smartLabel5.PasswordChar = '\0'; + this.smartLabel5.Radius = 3; + this.smartLabel5.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.smartLabel5.Size = new System.Drawing.Size(556, 18); + this.smartLabel5.TabIndex = 89; + this.smartLabel5.Text = "Contents"; + this.smartLabel5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel5.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.smartLabel5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel5.Wordwrap = false; + // + // smartLabel4 + // + this.smartLabel4.BackGround = this.smartGroupBox1; + this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.smartLabel4.BorderColor = System.Drawing.Color.Black; + this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.smartLabel4.LineSpacing = 0F; + this.smartLabel4.Location = new System.Drawing.Point(24, 124); + this.smartLabel4.Name = "smartLabel4"; + this.smartLabel4.OverlapOptimize = true; + this.smartLabel4.PasswordChar = '\0'; + this.smartLabel4.Radius = 3; + this.smartLabel4.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.smartLabel4.Size = new System.Drawing.Size(299, 18); + this.smartLabel4.TabIndex = 88; + this.smartLabel4.Text = "List"; + this.smartLabel4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel4.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.smartLabel4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel4.Wordwrap = false; + // + // smartLabel3 + // + this.smartLabel3.BackGround = this.smartGroupBox1; + this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.smartLabel3.BorderColor = System.Drawing.Color.Black; + this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.smartLabel3.LineSpacing = 0F; + this.smartLabel3.Location = new System.Drawing.Point(333, 47); + this.smartLabel3.Name = "smartLabel3"; + this.smartLabel3.OverlapOptimize = true; + this.smartLabel3.PasswordChar = '\0'; + this.smartLabel3.Radius = 3; + this.smartLabel3.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.smartLabel3.Size = new System.Drawing.Size(460, 18); + this.smartLabel3.TabIndex = 87; + this.smartLabel3.Text = "File name"; + this.smartLabel3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel3.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel3.Wordwrap = false; + // + // smartLabel2 + // + this.smartLabel2.BackGround = this.smartGroupBox1; + this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.smartLabel2.BorderColor = System.Drawing.Color.Black; + this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.smartLabel2.LineSpacing = 0F; + this.smartLabel2.Location = new System.Drawing.Point(24, 47); + this.smartLabel2.Name = "smartLabel2"; + this.smartLabel2.OverlapOptimize = true; + this.smartLabel2.PasswordChar = '\0'; + this.smartLabel2.Radius = 3; + this.smartLabel2.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.smartLabel2.Size = new System.Drawing.Size(299, 18); + this.smartLabel2.TabIndex = 86; + this.smartLabel2.Text = "Count"; + this.smartLabel2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel2.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.smartLabel2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel2.Wordwrap = false; + // + // labelPath + // + this.labelPath.BackGround = this.smartGroupBox1; + this.labelPath.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); + this.labelPath.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.labelPath.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelPath.Font = new System.Drawing.Font("New Gulim", 17F, System.Drawing.FontStyle.Bold); + this.labelPath.LineSpacing = 0F; + this.labelPath.Location = new System.Drawing.Point(333, 69); + this.labelPath.Name = "labelPath"; + this.labelPath.OverlapOptimize = true; + this.labelPath.PasswordChar = '\0'; + this.labelPath.Radius = 10; + this.labelPath.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.labelPath.Size = new System.Drawing.Size(460, 41); + this.labelPath.TabIndex = 85; + this.labelPath.Text = "00"; + this.labelPath.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.labelPath.TextColorDisable = System.Drawing.Color.Gray; + this.labelPath.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelPath.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelPath.Wordwrap = false; // // buttonBackup // @@ -136,7 +258,7 @@ this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); this.labelCount.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelCount.Font = new System.Drawing.Font("새굴림", 17F, System.Drawing.FontStyle.Bold); + this.labelCount.Font = new System.Drawing.Font("New Gulim", 17F, System.Drawing.FontStyle.Bold); this.labelCount.LineSpacing = 0F; this.labelCount.Location = new System.Drawing.Point(24, 69); this.labelCount.Name = "labelCount"; @@ -153,6 +275,28 @@ this.labelCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.labelCount.Wordwrap = false; // + // smartLabel7 + // + this.smartLabel7.BackGround = this.smartGroupBox1; + this.smartLabel7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); + this.smartLabel7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.smartLabel7.Font = new System.Drawing.Font("New Gulim", 17F, System.Drawing.FontStyle.Bold); + this.smartLabel7.LineSpacing = 0F; + this.smartLabel7.Location = new System.Drawing.Point(333, 148); + this.smartLabel7.Name = "smartLabel7"; + this.smartLabel7.OverlapOptimize = true; + this.smartLabel7.PasswordChar = '\0'; + this.smartLabel7.Radius = 10; + this.smartLabel7.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); + this.smartLabel7.Size = new System.Drawing.Size(556, 500); + this.smartLabel7.TabIndex = 91; + this.smartLabel7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); + this.smartLabel7.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.smartLabel7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel7.Wordwrap = false; + // // smartListBox1 // this.smartListBox1.BackGround = null; @@ -263,149 +407,6 @@ this.smartListBox1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartListBox1.TextColorDisable = System.Drawing.Color.Gray; // - // treeViewLogAlarm - // - this.treeViewLogAlarm.Location = new System.Drawing.Point(32, 157); - this.treeViewLogAlarm.Name = "treeViewLogAlarm"; - this.treeViewLogAlarm.Size = new System.Drawing.Size(282, 483); - this.treeViewLogAlarm.TabIndex = 81; - // - // smartLabel2 - // - this.smartLabel2.BackGround = this.smartGroupBox1; - this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel2.BorderColor = System.Drawing.Color.Black; - this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); - this.smartLabel2.LineSpacing = 0F; - this.smartLabel2.Location = new System.Drawing.Point(24, 47); - this.smartLabel2.Name = "smartLabel2"; - this.smartLabel2.OverlapOptimize = true; - this.smartLabel2.PasswordChar = '\0'; - this.smartLabel2.Radius = 3; - this.smartLabel2.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel2.Size = new System.Drawing.Size(299, 18); - this.smartLabel2.TabIndex = 86; - this.smartLabel2.Text = "Count"; - this.smartLabel2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel2.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel2.Wordwrap = false; - // - // smartLabel3 - // - this.smartLabel3.BackGround = this.smartGroupBox1; - this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel3.BorderColor = System.Drawing.Color.Black; - this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); - this.smartLabel3.LineSpacing = 0F; - this.smartLabel3.Location = new System.Drawing.Point(333, 47); - this.smartLabel3.Name = "smartLabel3"; - this.smartLabel3.OverlapOptimize = true; - this.smartLabel3.PasswordChar = '\0'; - this.smartLabel3.Radius = 3; - this.smartLabel3.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel3.Size = new System.Drawing.Size(460, 18); - this.smartLabel3.TabIndex = 87; - this.smartLabel3.Text = "File name"; - this.smartLabel3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel3.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel3.Wordwrap = false; - // - // smartLabel4 - // - this.smartLabel4.BackGround = this.smartGroupBox1; - this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel4.BorderColor = System.Drawing.Color.Black; - this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); - this.smartLabel4.LineSpacing = 0F; - this.smartLabel4.Location = new System.Drawing.Point(24, 124); - this.smartLabel4.Name = "smartLabel4"; - this.smartLabel4.OverlapOptimize = true; - this.smartLabel4.PasswordChar = '\0'; - this.smartLabel4.Radius = 3; - this.smartLabel4.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel4.Size = new System.Drawing.Size(299, 18); - this.smartLabel4.TabIndex = 88; - this.smartLabel4.Text = "List"; - this.smartLabel4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel4.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel4.Wordwrap = false; - // - // smartLabel5 - // - this.smartLabel5.BackGround = this.smartGroupBox1; - this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel5.BorderColor = System.Drawing.Color.Black; - this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); - this.smartLabel5.LineSpacing = 0F; - this.smartLabel5.Location = new System.Drawing.Point(333, 124); - this.smartLabel5.Name = "smartLabel5"; - this.smartLabel5.OverlapOptimize = true; - this.smartLabel5.PasswordChar = '\0'; - this.smartLabel5.Radius = 3; - this.smartLabel5.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel5.Size = new System.Drawing.Size(556, 18); - this.smartLabel5.TabIndex = 89; - this.smartLabel5.Text = "Contents"; - this.smartLabel5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel5.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel5.Wordwrap = false; - // - // smartLabel6 - // - this.smartLabel6.BackGround = this.smartGroupBox1; - this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); - this.smartLabel6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel6.Font = new System.Drawing.Font("새굴림", 17F, System.Drawing.FontStyle.Bold); - this.smartLabel6.LineSpacing = 0F; - this.smartLabel6.Location = new System.Drawing.Point(24, 148); - this.smartLabel6.Name = "smartLabel6"; - this.smartLabel6.OverlapOptimize = true; - this.smartLabel6.PasswordChar = '\0'; - this.smartLabel6.Radius = 10; - this.smartLabel6.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel6.Size = new System.Drawing.Size(299, 500); - this.smartLabel6.TabIndex = 90; - this.smartLabel6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel6.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.smartLabel6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel6.Wordwrap = false; - // - // smartLabel7 - // - this.smartLabel7.BackGround = this.smartGroupBox1; - this.smartLabel7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); - this.smartLabel7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel7.Font = new System.Drawing.Font("새굴림", 17F, System.Drawing.FontStyle.Bold); - this.smartLabel7.LineSpacing = 0F; - this.smartLabel7.Location = new System.Drawing.Point(333, 148); - this.smartLabel7.Name = "smartLabel7"; - this.smartLabel7.OverlapOptimize = true; - this.smartLabel7.PasswordChar = '\0'; - this.smartLabel7.Radius = 10; - this.smartLabel7.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); - this.smartLabel7.Size = new System.Drawing.Size(556, 500); - this.smartLabel7.TabIndex = 91; - this.smartLabel7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); - this.smartLabel7.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel7.Wordwrap = false; - // // ControlMenuLogAlarm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -423,14 +424,14 @@ private SmartX.SmartGroupBox smartGroupBox1; private SmartX.SmartButton buttonBackup; private SmartX.SmartLabel labelCount; - private SmartX.SmartListBox smartListBox1; private System.Windows.Forms.TreeView treeViewLogAlarm; - private SmartX.SmartLabel smartLabel1; + private SmartX.SmartLabel labelPath; private SmartX.SmartLabel smartLabel3; private SmartX.SmartLabel smartLabel2; private SmartX.SmartLabel smartLabel6; private SmartX.SmartLabel smartLabel5; private SmartX.SmartLabel smartLabel4; private SmartX.SmartLabel smartLabel7; + private SmartX.SmartListBox smartListBox1; } } diff --git a/INT_PT002/Controls/Log/ControlMenuLogAlarm.cs b/INT_PT002/Controls/Log/ControlMenuLogAlarm.cs index 5ca527d..cc127f5 100644 --- a/INT_PT002/Controls/Log/ControlMenuLogAlarm.cs +++ b/INT_PT002/Controls/Log/ControlMenuLogAlarm.cs @@ -133,32 +133,28 @@ namespace INT_PT002.Controls } } - this.labelCount.Text = fileCount.ToString(); + this.labelCount.Text = string.Format("{0} ", fileCount); } private List DayAlarmDirectorySort(FileInfo[] files) { List listFile = new List(); Dictionary dirNames = new Dictionary(); - - #region File List 품번 순서대로 정렬 - foreach (FileInfo file in files) - dirNames.Add(file.Name, int.Parse(file.Name.Substring(10, 1))); - - var vrList = dirNames.OrderBy(x => x.Value); - foreach (var v in vrList) - listFile.Add(v.Key); - #endregion + Dictionary dirNamesSort = new Dictionary(); #region File List 날짜 순서대로 정렬 - dirNames = new Dictionary(); - foreach (string f in listFile) - dirNames.Add(f, int.Parse(f.Substring(1, 8))); + foreach (FileInfo file in files) + dirNames.Add(file.Name, int.Parse(file.Name.Substring(0, 8))); + + var vrList = dirNames.Keys.ToList(); + vrList.Sort(); - listFile.Clear(); - vrList = dirNames.OrderBy(x => x.Value); foreach (var v in vrList) + dirNamesSort.Add(v, dirNames[v]); + + foreach (var v in dirNamesSort) listFile.Add(v.Key); + #endregion return listFile; @@ -166,8 +162,7 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormAlarmList; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.SelecteDataType = Define.E_DataType.None; @@ -183,6 +178,15 @@ namespace INT_PT002.Controls } #endregion + private void treeViewLogAlarm_AfterSelect(object sender, TreeViewEventArgs e) + { + //this.labelPath.Text = e.Node.Text; + //for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++) + // this.CollectionListBox[i].ClearAll(); + //this.listBoxTime.ClearAll(); + //this.LoadFile(this.ParentForm.ParentForm.PathDataInspectionFolder + this.treeViewInspection.SelectedNode.FullPath); + } + #region Event Handler #endregion diff --git a/INT_PT002/Controls/Log/ControlMenuLogHistory.cs b/INT_PT002/Controls/Log/ControlMenuLogHistory.cs index d0a001e..37dbf16 100644 --- a/INT_PT002/Controls/Log/ControlMenuLogHistory.cs +++ b/INT_PT002/Controls/Log/ControlMenuLogHistory.cs @@ -191,8 +191,8 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormCheckLog; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogHistory; + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.SelecteDataType = Define.E_DataType.None; diff --git a/INT_PT002/Controls/Log/ControlMenuLogInspection.Designer.cs b/INT_PT002/Controls/Log/ControlMenuLogInspection.Designer.cs index 550d772..b83f9ac 100644 --- a/INT_PT002/Controls/Log/ControlMenuLogInspection.Designer.cs +++ b/INT_PT002/Controls/Log/ControlMenuLogInspection.Designer.cs @@ -29,6 +29,7 @@ private void InitializeComponent() { this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.labelCount = new SmartX.SmartLabel(); this.smartLabel32 = new SmartX.SmartLabel(); this.smartLabel33 = new SmartX.SmartLabel(); this.labelPassCount10 = new SmartX.SmartLabel(); @@ -80,7 +81,6 @@ this.buttonBackup = new SmartX.SmartButton(); this.listBoxTime = new SmartX.SmartListBox(); this.smartFile1 = new SmartX.SmartFile(); - this.labelCount = new SmartX.SmartLabel(); this.smartGroupBox1.SuspendLayout(); this.SuspendLayout(); // @@ -153,13 +153,36 @@ this.smartGroupBox1.Text = "smartGroupBox1"; this.smartGroupBox1.TextColor = System.Drawing.Color.White; // + // labelCount + // + this.labelCount.BackGround = this.smartGroupBox1; + this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.labelCount.BorderColor = System.Drawing.Color.Black; + this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.labelCount.Font = new System.Drawing.Font("New Gulim", 20F, System.Drawing.FontStyle.Bold); + this.labelCount.LineSpacing = 0F; + this.labelCount.Location = new System.Drawing.Point(22, 51); + this.labelCount.Name = "labelCount"; + this.labelCount.OverlapOptimize = true; + this.labelCount.PasswordChar = '\0'; + this.labelCount.Radius = 3; + this.labelCount.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.labelCount.Size = new System.Drawing.Size(240, 50); + this.labelCount.TabIndex = 130; + this.labelCount.Text = "00"; + this.labelCount.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelCount.TextColorDisable = System.Drawing.Color.Gray; + this.labelCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; + this.labelCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelCount.Wordwrap = false; + // // smartLabel32 // this.smartLabel32.BackGround = this.smartGroupBox1; this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel32.BorderColor = System.Drawing.Color.Black; this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel32.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel32.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.smartLabel32.LineSpacing = 0F; this.smartLabel32.Location = new System.Drawing.Point(268, 603); this.smartLabel32.Name = "smartLabel32"; @@ -182,7 +205,7 @@ this.smartLabel33.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel33.BorderColor = System.Drawing.Color.Black; this.smartLabel33.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel33.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel33.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.smartLabel33.LineSpacing = 0F; this.smartLabel33.Location = new System.Drawing.Point(268, 622); this.smartLabel33.Name = "smartLabel33"; @@ -205,7 +228,7 @@ this.labelPassCount10.BackGroundColor = System.Drawing.Color.White; this.labelPassCount10.BorderColor = System.Drawing.Color.Black; this.labelPassCount10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount10.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount10.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount10.LineSpacing = 0F; this.labelPassCount10.Location = new System.Drawing.Point(788, 603); this.labelPassCount10.Name = "labelPassCount10"; @@ -228,7 +251,7 @@ this.labelLeakCount10.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount10.BorderColor = System.Drawing.Color.Black; this.labelLeakCount10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount10.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount10.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount10.LineSpacing = 0F; this.labelLeakCount10.Location = new System.Drawing.Point(788, 622); this.labelLeakCount10.Name = "labelLeakCount10"; @@ -251,7 +274,7 @@ this.labelPassCount9.BackGroundColor = System.Drawing.Color.White; this.labelPassCount9.BorderColor = System.Drawing.Color.Black; this.labelPassCount9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount9.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount9.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount9.LineSpacing = 0F; this.labelPassCount9.Location = new System.Drawing.Point(739, 603); this.labelPassCount9.Name = "labelPassCount9"; @@ -274,7 +297,7 @@ this.labelLeakCount9.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount9.BorderColor = System.Drawing.Color.Black; this.labelLeakCount9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount9.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount9.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount9.LineSpacing = 0F; this.labelLeakCount9.Location = new System.Drawing.Point(739, 622); this.labelLeakCount9.Name = "labelLeakCount9"; @@ -297,7 +320,7 @@ this.labelPassCount8.BackGroundColor = System.Drawing.Color.White; this.labelPassCount8.BorderColor = System.Drawing.Color.Black; this.labelPassCount8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount8.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount8.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount8.LineSpacing = 0F; this.labelPassCount8.Location = new System.Drawing.Point(690, 603); this.labelPassCount8.Name = "labelPassCount8"; @@ -320,7 +343,7 @@ this.labelLeakCount8.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount8.BorderColor = System.Drawing.Color.Black; this.labelLeakCount8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount8.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount8.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount8.LineSpacing = 0F; this.labelLeakCount8.Location = new System.Drawing.Point(690, 622); this.labelLeakCount8.Name = "labelLeakCount8"; @@ -343,7 +366,7 @@ this.labelPassCount7.BackGroundColor = System.Drawing.Color.White; this.labelPassCount7.BorderColor = System.Drawing.Color.Black; this.labelPassCount7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount7.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount7.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount7.LineSpacing = 0F; this.labelPassCount7.Location = new System.Drawing.Point(641, 603); this.labelPassCount7.Name = "labelPassCount7"; @@ -366,7 +389,7 @@ this.labelLeakCount7.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount7.BorderColor = System.Drawing.Color.Black; this.labelLeakCount7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount7.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount7.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount7.LineSpacing = 0F; this.labelLeakCount7.Location = new System.Drawing.Point(641, 622); this.labelLeakCount7.Name = "labelLeakCount7"; @@ -389,7 +412,7 @@ this.labelPassCount6.BackGroundColor = System.Drawing.Color.White; this.labelPassCount6.BorderColor = System.Drawing.Color.Black; this.labelPassCount6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount6.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount6.LineSpacing = 0F; this.labelPassCount6.Location = new System.Drawing.Point(592, 603); this.labelPassCount6.Name = "labelPassCount6"; @@ -412,7 +435,7 @@ this.labelLeakCount6.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount6.BorderColor = System.Drawing.Color.Black; this.labelLeakCount6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount6.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount6.LineSpacing = 0F; this.labelLeakCount6.Location = new System.Drawing.Point(592, 622); this.labelLeakCount6.Name = "labelLeakCount6"; @@ -435,7 +458,7 @@ this.labelPassCount5.BackGroundColor = System.Drawing.Color.White; this.labelPassCount5.BorderColor = System.Drawing.Color.Black; this.labelPassCount5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount5.LineSpacing = 0F; this.labelPassCount5.Location = new System.Drawing.Point(543, 603); this.labelPassCount5.Name = "labelPassCount5"; @@ -458,7 +481,7 @@ this.labelLeakCount5.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount5.BorderColor = System.Drawing.Color.Black; this.labelLeakCount5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount5.LineSpacing = 0F; this.labelLeakCount5.Location = new System.Drawing.Point(543, 622); this.labelLeakCount5.Name = "labelLeakCount5"; @@ -481,7 +504,7 @@ this.labelPassCount4.BackGroundColor = System.Drawing.Color.White; this.labelPassCount4.BorderColor = System.Drawing.Color.Black; this.labelPassCount4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount4.LineSpacing = 0F; this.labelPassCount4.Location = new System.Drawing.Point(494, 603); this.labelPassCount4.Name = "labelPassCount4"; @@ -504,7 +527,7 @@ this.labelLeakCount4.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount4.BorderColor = System.Drawing.Color.Black; this.labelLeakCount4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount4.LineSpacing = 0F; this.labelLeakCount4.Location = new System.Drawing.Point(494, 622); this.labelLeakCount4.Name = "labelLeakCount4"; @@ -527,7 +550,7 @@ this.labelPassCount3.BackGroundColor = System.Drawing.Color.White; this.labelPassCount3.BorderColor = System.Drawing.Color.Black; this.labelPassCount3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount3.LineSpacing = 0F; this.labelPassCount3.Location = new System.Drawing.Point(445, 603); this.labelPassCount3.Name = "labelPassCount3"; @@ -550,7 +573,7 @@ this.labelLeakCount3.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount3.BorderColor = System.Drawing.Color.Black; this.labelLeakCount3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount3.LineSpacing = 0F; this.labelLeakCount3.Location = new System.Drawing.Point(445, 622); this.labelLeakCount3.Name = "labelLeakCount3"; @@ -573,7 +596,7 @@ this.labelPassCount2.BackGroundColor = System.Drawing.Color.White; this.labelPassCount2.BorderColor = System.Drawing.Color.Black; this.labelPassCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount2.LineSpacing = 0F; this.labelPassCount2.Location = new System.Drawing.Point(396, 603); this.labelPassCount2.Name = "labelPassCount2"; @@ -596,7 +619,7 @@ this.labelLeakCount2.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount2.BorderColor = System.Drawing.Color.Black; this.labelLeakCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount2.LineSpacing = 0F; this.labelLeakCount2.Location = new System.Drawing.Point(396, 622); this.labelLeakCount2.Name = "labelLeakCount2"; @@ -619,7 +642,7 @@ this.labelPassCount1.BackGroundColor = System.Drawing.Color.White; this.labelPassCount1.BorderColor = System.Drawing.Color.Black; this.labelPassCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount1.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount1.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount1.LineSpacing = 0F; this.labelPassCount1.Location = new System.Drawing.Point(347, 603); this.labelPassCount1.Name = "labelPassCount1"; @@ -642,7 +665,7 @@ this.labelLeakCount1.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount1.BorderColor = System.Drawing.Color.Black; this.labelLeakCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount1.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount1.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount1.LineSpacing = 0F; this.labelLeakCount1.Location = new System.Drawing.Point(347, 622); this.labelLeakCount1.Name = "labelLeakCount1"; @@ -665,7 +688,7 @@ this.labelPath.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelPath.BorderColor = System.Drawing.Color.Black; this.labelPath.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPath.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold); + this.labelPath.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold); this.labelPath.LineSpacing = 0F; this.labelPath.Location = new System.Drawing.Point(268, 51); this.labelPath.Name = "labelPath"; @@ -803,7 +826,7 @@ this.smartLabel11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel11.BorderColor = System.Drawing.Color.Black; this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel11.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel11.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel11.LineSpacing = 1F; this.smartLabel11.Location = new System.Drawing.Point(788, 107); this.smartLabel11.Name = "smartLabel11"; @@ -826,7 +849,7 @@ this.smartLabel10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel10.BorderColor = System.Drawing.Color.Black; this.smartLabel10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel10.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel10.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel10.LineSpacing = 1F; this.smartLabel10.Location = new System.Drawing.Point(739, 107); this.smartLabel10.Name = "smartLabel10"; @@ -849,7 +872,7 @@ this.smartLabel9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel9.BorderColor = System.Drawing.Color.Black; this.smartLabel9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel9.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel9.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel9.LineSpacing = 1F; this.smartLabel9.Location = new System.Drawing.Point(690, 107); this.smartLabel9.Name = "smartLabel9"; @@ -872,7 +895,7 @@ this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel8.BorderColor = System.Drawing.Color.Black; this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel8.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel8.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel8.LineSpacing = 1F; this.smartLabel8.Location = new System.Drawing.Point(641, 107); this.smartLabel8.Name = "smartLabel8"; @@ -895,7 +918,7 @@ this.smartLabel7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel7.BorderColor = System.Drawing.Color.Black; this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel7.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel7.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel7.LineSpacing = 1F; this.smartLabel7.Location = new System.Drawing.Point(592, 107); this.smartLabel7.Name = "smartLabel7"; @@ -918,7 +941,7 @@ this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel6.BorderColor = System.Drawing.Color.Black; this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel6.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel6.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel6.LineSpacing = 1F; this.smartLabel6.Location = new System.Drawing.Point(543, 107); this.smartLabel6.Name = "smartLabel6"; @@ -941,7 +964,7 @@ this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel5.BorderColor = System.Drawing.Color.Black; this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel5.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel5.LineSpacing = 1F; this.smartLabel5.Location = new System.Drawing.Point(494, 107); this.smartLabel5.Name = "smartLabel5"; @@ -964,7 +987,7 @@ this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel4.BorderColor = System.Drawing.Color.Black; this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel4.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel4.LineSpacing = 1F; this.smartLabel4.Location = new System.Drawing.Point(445, 107); this.smartLabel4.Name = "smartLabel4"; @@ -987,7 +1010,7 @@ this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel3.BorderColor = System.Drawing.Color.Black; this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel3.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel3.LineSpacing = 1F; this.smartLabel3.Location = new System.Drawing.Point(396, 107); this.smartLabel3.Name = "smartLabel3"; @@ -1010,7 +1033,7 @@ this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel2.BorderColor = System.Drawing.Color.Black; this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel2.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel2.LineSpacing = 1F; this.smartLabel2.Location = new System.Drawing.Point(347, 107); this.smartLabel2.Name = "smartLabel2"; @@ -1033,7 +1056,7 @@ this.smartLabel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); this.smartLabel1.BorderColor = System.Drawing.Color.Black; this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel1.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); + this.smartLabel1.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.smartLabel1.LineSpacing = 1F; this.smartLabel1.Location = new System.Drawing.Point(268, 107); this.smartLabel1.Name = "smartLabel1"; @@ -2332,29 +2355,6 @@ // this.smartFile1.FilePathName = ""; // - // labelCount - // - this.labelCount.BackGround = this.smartGroupBox1; - this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.labelCount.BorderColor = System.Drawing.Color.Black; - this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelCount.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold); - this.labelCount.LineSpacing = 0F; - this.labelCount.Location = new System.Drawing.Point(22, 51); - this.labelCount.Name = "labelCount"; - this.labelCount.OverlapOptimize = true; - this.labelCount.PasswordChar = '\0'; - this.labelCount.Radius = 3; - this.labelCount.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.labelCount.Size = new System.Drawing.Size(240, 50); - this.labelCount.TabIndex = 130; - this.labelCount.Text = "00"; - this.labelCount.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelCount.TextColorDisable = System.Drawing.Color.Gray; - this.labelCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right; - this.labelCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelCount.Wordwrap = false; - // // ControlMenuLogInspection // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); diff --git a/INT_PT002/Controls/Log/ControlMenuLogInspection.cs b/INT_PT002/Controls/Log/ControlMenuLogInspection.cs index 42c8ed7..a087462 100644 --- a/INT_PT002/Controls/Log/ControlMenuLogInspection.cs +++ b/INT_PT002/Controls/Log/ControlMenuLogInspection.cs @@ -291,8 +291,8 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormEquipmentLog; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogInspection; + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.SelecteDataType = Define.E_DataType.None; diff --git a/INT_PT002/Controls/Manual/ControlMenuManualIoTest.Designer.cs b/INT_PT002/Controls/Manual/ControlMenuManualIoTest.Designer.cs index 6050e2d..5a905ef 100644 --- a/INT_PT002/Controls/Manual/ControlMenuManualIoTest.Designer.cs +++ b/INT_PT002/Controls/Manual/ControlMenuManualIoTest.Designer.cs @@ -60,11 +60,11 @@ this.smartLabel83 = new SmartX.SmartLabel(); this.labelDisp6 = new SmartX.SmartLabel(); this.smartLabel85 = new SmartX.SmartLabel(); - this.smartLabel86 = new SmartX.SmartLabel(); - this.smartLabel87 = new SmartX.SmartLabel(); - this.smartLabel88 = new SmartX.SmartLabel(); - this.smartLabel89 = new SmartX.SmartLabel(); - this.smartLabel90 = new SmartX.SmartLabel(); + this.labelSbAlarm10 = new SmartX.SmartLabel(); + this.labelSbAlarm9 = new SmartX.SmartLabel(); + this.labelSbAlarm8 = new SmartX.SmartLabel(); + this.labelSbAlarm7 = new SmartX.SmartLabel(); + this.labelSbAlarm6 = new SmartX.SmartLabel(); this.smartLabel91 = new SmartX.SmartLabel(); this.smartLabel92 = new SmartX.SmartLabel(); this.smartLabel93 = new SmartX.SmartLabel(); @@ -100,11 +100,11 @@ this.smartLabel21 = new SmartX.SmartLabel(); this.labelDisp1 = new SmartX.SmartLabel(); this.smartLabel32 = new SmartX.SmartLabel(); - this.smartLabel18 = new SmartX.SmartLabel(); - this.smartLabel11 = new SmartX.SmartLabel(); - this.smartLabel16 = new SmartX.SmartLabel(); - this.smartLabel24 = new SmartX.SmartLabel(); - this.smartLabel25 = new SmartX.SmartLabel(); + this.labelSbAlarm5 = new SmartX.SmartLabel(); + this.labelSbAlarm4 = new SmartX.SmartLabel(); + this.labelSbAlarm3 = new SmartX.SmartLabel(); + this.labelSbAlarm2 = new SmartX.SmartLabel(); + this.labelSbAlarm1 = new SmartX.SmartLabel(); this.smartLabel31 = new SmartX.SmartLabel(); this.smartLabel34 = new SmartX.SmartLabel(); this.smartLabel35 = new SmartX.SmartLabel(); @@ -214,11 +214,11 @@ this.smartGroupBox4.Controls.Add(this.smartLabel83); this.smartGroupBox4.Controls.Add(this.labelDisp6); this.smartGroupBox4.Controls.Add(this.smartLabel85); - this.smartGroupBox4.Controls.Add(this.smartLabel86); - this.smartGroupBox4.Controls.Add(this.smartLabel87); - this.smartGroupBox4.Controls.Add(this.smartLabel88); - this.smartGroupBox4.Controls.Add(this.smartLabel89); - this.smartGroupBox4.Controls.Add(this.smartLabel90); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm10); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm9); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm8); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm7); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm6); this.smartGroupBox4.Controls.Add(this.smartLabel91); this.smartGroupBox4.Controls.Add(this.smartLabel92); this.smartGroupBox4.Controls.Add(this.smartLabel93); @@ -254,11 +254,11 @@ this.smartGroupBox4.Controls.Add(this.smartLabel21); this.smartGroupBox4.Controls.Add(this.labelDisp1); this.smartGroupBox4.Controls.Add(this.smartLabel32); - this.smartGroupBox4.Controls.Add(this.smartLabel18); - this.smartGroupBox4.Controls.Add(this.smartLabel11); - this.smartGroupBox4.Controls.Add(this.smartLabel16); - this.smartGroupBox4.Controls.Add(this.smartLabel24); - this.smartGroupBox4.Controls.Add(this.smartLabel25); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm5); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm4); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm3); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm2); + this.smartGroupBox4.Controls.Add(this.labelSbAlarm1); this.smartGroupBox4.Controls.Add(this.smartLabel31); this.smartGroupBox4.Controls.Add(this.smartLabel34); this.smartGroupBox4.Controls.Add(this.smartLabel35); @@ -967,110 +967,110 @@ this.smartLabel85.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.smartLabel85.Wordwrap = false; // - // smartLabel86 + // labelSbAlarm10 // - this.smartLabel86.BackGround = null; - this.smartLabel86.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel86.BorderColor = System.Drawing.Color.Lime; - this.smartLabel86.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel86.LineSpacing = 0F; - this.smartLabel86.Location = new System.Drawing.Point(791, 113); - this.smartLabel86.Name = "smartLabel86"; - this.smartLabel86.OverlapOptimize = true; - this.smartLabel86.PasswordChar = '\0'; - this.smartLabel86.Radius = 20; - this.smartLabel86.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel86.Size = new System.Drawing.Size(20, 20); - this.smartLabel86.TabIndex = 168; - this.smartLabel86.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel86.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel86.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel86.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel86.Wordwrap = false; + this.labelSbAlarm10.BackGround = null; + this.labelSbAlarm10.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm10.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm10.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm10.LineSpacing = 0F; + this.labelSbAlarm10.Location = new System.Drawing.Point(791, 113); + this.labelSbAlarm10.Name = "labelSbAlarm10"; + this.labelSbAlarm10.OverlapOptimize = true; + this.labelSbAlarm10.PasswordChar = '\0'; + this.labelSbAlarm10.Radius = 20; + this.labelSbAlarm10.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm10.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm10.TabIndex = 168; + this.labelSbAlarm10.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm10.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm10.Wordwrap = false; // - // smartLabel87 + // labelSbAlarm9 // - this.smartLabel87.BackGround = null; - this.smartLabel87.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel87.BorderColor = System.Drawing.Color.Lime; - this.smartLabel87.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel87.LineSpacing = 0F; - this.smartLabel87.Location = new System.Drawing.Point(630, 113); - this.smartLabel87.Name = "smartLabel87"; - this.smartLabel87.OverlapOptimize = true; - this.smartLabel87.PasswordChar = '\0'; - this.smartLabel87.Radius = 20; - this.smartLabel87.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel87.Size = new System.Drawing.Size(20, 20); - this.smartLabel87.TabIndex = 167; - this.smartLabel87.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel87.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel87.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel87.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel87.Wordwrap = false; + this.labelSbAlarm9.BackGround = null; + this.labelSbAlarm9.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm9.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm9.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm9.LineSpacing = 0F; + this.labelSbAlarm9.Location = new System.Drawing.Point(630, 113); + this.labelSbAlarm9.Name = "labelSbAlarm9"; + this.labelSbAlarm9.OverlapOptimize = true; + this.labelSbAlarm9.PasswordChar = '\0'; + this.labelSbAlarm9.Radius = 20; + this.labelSbAlarm9.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm9.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm9.TabIndex = 167; + this.labelSbAlarm9.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm9.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm9.Wordwrap = false; // - // smartLabel88 + // labelSbAlarm8 // - this.smartLabel88.BackGround = null; - this.smartLabel88.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel88.BorderColor = System.Drawing.Color.Lime; - this.smartLabel88.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel88.LineSpacing = 0F; - this.smartLabel88.Location = new System.Drawing.Point(469, 113); - this.smartLabel88.Name = "smartLabel88"; - this.smartLabel88.OverlapOptimize = true; - this.smartLabel88.PasswordChar = '\0'; - this.smartLabel88.Radius = 20; - this.smartLabel88.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel88.Size = new System.Drawing.Size(20, 20); - this.smartLabel88.TabIndex = 166; - this.smartLabel88.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel88.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel88.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel88.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel88.Wordwrap = false; + this.labelSbAlarm8.BackGround = null; + this.labelSbAlarm8.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm8.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm8.LineSpacing = 0F; + this.labelSbAlarm8.Location = new System.Drawing.Point(469, 113); + this.labelSbAlarm8.Name = "labelSbAlarm8"; + this.labelSbAlarm8.OverlapOptimize = true; + this.labelSbAlarm8.PasswordChar = '\0'; + this.labelSbAlarm8.Radius = 20; + this.labelSbAlarm8.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm8.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm8.TabIndex = 166; + this.labelSbAlarm8.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm8.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm8.Wordwrap = false; // - // smartLabel89 + // labelSbAlarm7 // - this.smartLabel89.BackGround = null; - this.smartLabel89.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel89.BorderColor = System.Drawing.Color.Lime; - this.smartLabel89.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel89.LineSpacing = 0F; - this.smartLabel89.Location = new System.Drawing.Point(308, 113); - this.smartLabel89.Name = "smartLabel89"; - this.smartLabel89.OverlapOptimize = true; - this.smartLabel89.PasswordChar = '\0'; - this.smartLabel89.Radius = 20; - this.smartLabel89.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel89.Size = new System.Drawing.Size(20, 20); - this.smartLabel89.TabIndex = 165; - this.smartLabel89.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel89.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel89.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel89.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel89.Wordwrap = false; + this.labelSbAlarm7.BackGround = null; + this.labelSbAlarm7.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm7.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm7.LineSpacing = 0F; + this.labelSbAlarm7.Location = new System.Drawing.Point(308, 113); + this.labelSbAlarm7.Name = "labelSbAlarm7"; + this.labelSbAlarm7.OverlapOptimize = true; + this.labelSbAlarm7.PasswordChar = '\0'; + this.labelSbAlarm7.Radius = 20; + this.labelSbAlarm7.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm7.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm7.TabIndex = 165; + this.labelSbAlarm7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm7.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm7.Wordwrap = false; // - // smartLabel90 + // labelSbAlarm6 // - this.smartLabel90.BackGround = null; - this.smartLabel90.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel90.BorderColor = System.Drawing.Color.Lime; - this.smartLabel90.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel90.LineSpacing = 0F; - this.smartLabel90.Location = new System.Drawing.Point(147, 113); - this.smartLabel90.Name = "smartLabel90"; - this.smartLabel90.OverlapOptimize = true; - this.smartLabel90.PasswordChar = '\0'; - this.smartLabel90.Radius = 20; - this.smartLabel90.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel90.Size = new System.Drawing.Size(20, 20); - this.smartLabel90.TabIndex = 164; - this.smartLabel90.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel90.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel90.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel90.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel90.Wordwrap = false; + this.labelSbAlarm6.BackGround = null; + this.labelSbAlarm6.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm6.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm6.LineSpacing = 0F; + this.labelSbAlarm6.Location = new System.Drawing.Point(147, 113); + this.labelSbAlarm6.Name = "labelSbAlarm6"; + this.labelSbAlarm6.OverlapOptimize = true; + this.labelSbAlarm6.PasswordChar = '\0'; + this.labelSbAlarm6.Radius = 20; + this.labelSbAlarm6.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm6.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm6.TabIndex = 164; + this.labelSbAlarm6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm6.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm6.Wordwrap = false; // // smartLabel91 // @@ -1877,110 +1877,110 @@ this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.smartLabel32.Wordwrap = false; // - // smartLabel18 + // labelSbAlarm5 // - this.smartLabel18.BackGround = null; - this.smartLabel18.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel18.BorderColor = System.Drawing.Color.Lime; - this.smartLabel18.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel18.LineSpacing = 0F; - this.smartLabel18.Location = new System.Drawing.Point(791, 12); - this.smartLabel18.Name = "smartLabel18"; - this.smartLabel18.OverlapOptimize = true; - this.smartLabel18.PasswordChar = '\0'; - this.smartLabel18.Radius = 20; - this.smartLabel18.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel18.Size = new System.Drawing.Size(20, 20); - this.smartLabel18.TabIndex = 123; - this.smartLabel18.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel18.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel18.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel18.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel18.Wordwrap = false; + this.labelSbAlarm5.BackGround = null; + this.labelSbAlarm5.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm5.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm5.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm5.LineSpacing = 0F; + this.labelSbAlarm5.Location = new System.Drawing.Point(791, 12); + this.labelSbAlarm5.Name = "labelSbAlarm5"; + this.labelSbAlarm5.OverlapOptimize = true; + this.labelSbAlarm5.PasswordChar = '\0'; + this.labelSbAlarm5.Radius = 20; + this.labelSbAlarm5.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm5.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm5.TabIndex = 123; + this.labelSbAlarm5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm5.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm5.Wordwrap = false; // - // smartLabel11 + // labelSbAlarm4 // - this.smartLabel11.BackGround = null; - this.smartLabel11.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel11.BorderColor = System.Drawing.Color.Lime; - this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel11.LineSpacing = 0F; - this.smartLabel11.Location = new System.Drawing.Point(630, 12); - this.smartLabel11.Name = "smartLabel11"; - this.smartLabel11.OverlapOptimize = true; - this.smartLabel11.PasswordChar = '\0'; - this.smartLabel11.Radius = 20; - this.smartLabel11.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel11.Size = new System.Drawing.Size(20, 20); - this.smartLabel11.TabIndex = 122; - this.smartLabel11.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel11.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel11.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel11.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel11.Wordwrap = false; + this.labelSbAlarm4.BackGround = null; + this.labelSbAlarm4.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm4.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm4.LineSpacing = 0F; + this.labelSbAlarm4.Location = new System.Drawing.Point(630, 12); + this.labelSbAlarm4.Name = "labelSbAlarm4"; + this.labelSbAlarm4.OverlapOptimize = true; + this.labelSbAlarm4.PasswordChar = '\0'; + this.labelSbAlarm4.Radius = 20; + this.labelSbAlarm4.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm4.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm4.TabIndex = 122; + this.labelSbAlarm4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm4.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm4.Wordwrap = false; // - // smartLabel16 + // labelSbAlarm3 // - this.smartLabel16.BackGround = null; - this.smartLabel16.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel16.BorderColor = System.Drawing.Color.Lime; - this.smartLabel16.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel16.LineSpacing = 0F; - this.smartLabel16.Location = new System.Drawing.Point(469, 12); - this.smartLabel16.Name = "smartLabel16"; - this.smartLabel16.OverlapOptimize = true; - this.smartLabel16.PasswordChar = '\0'; - this.smartLabel16.Radius = 20; - this.smartLabel16.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel16.Size = new System.Drawing.Size(20, 20); - this.smartLabel16.TabIndex = 121; - this.smartLabel16.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel16.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel16.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel16.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel16.Wordwrap = false; + this.labelSbAlarm3.BackGround = null; + this.labelSbAlarm3.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm3.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm3.LineSpacing = 0F; + this.labelSbAlarm3.Location = new System.Drawing.Point(469, 12); + this.labelSbAlarm3.Name = "labelSbAlarm3"; + this.labelSbAlarm3.OverlapOptimize = true; + this.labelSbAlarm3.PasswordChar = '\0'; + this.labelSbAlarm3.Radius = 20; + this.labelSbAlarm3.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm3.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm3.TabIndex = 121; + this.labelSbAlarm3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm3.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm3.Wordwrap = false; // - // smartLabel24 + // labelSbAlarm2 // - this.smartLabel24.BackGround = null; - this.smartLabel24.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel24.BorderColor = System.Drawing.Color.Lime; - this.smartLabel24.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel24.LineSpacing = 0F; - this.smartLabel24.Location = new System.Drawing.Point(308, 12); - this.smartLabel24.Name = "smartLabel24"; - this.smartLabel24.OverlapOptimize = true; - this.smartLabel24.PasswordChar = '\0'; - this.smartLabel24.Radius = 20; - this.smartLabel24.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel24.Size = new System.Drawing.Size(20, 20); - this.smartLabel24.TabIndex = 120; - this.smartLabel24.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel24.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel24.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel24.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel24.Wordwrap = false; + this.labelSbAlarm2.BackGround = null; + this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm2.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm2.LineSpacing = 0F; + this.labelSbAlarm2.Location = new System.Drawing.Point(308, 12); + this.labelSbAlarm2.Name = "labelSbAlarm2"; + this.labelSbAlarm2.OverlapOptimize = true; + this.labelSbAlarm2.PasswordChar = '\0'; + this.labelSbAlarm2.Radius = 20; + this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm2.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm2.TabIndex = 120; + this.labelSbAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm2.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm2.Wordwrap = false; // - // smartLabel25 + // labelSbAlarm1 // - this.smartLabel25.BackGround = null; - this.smartLabel25.BackGroundColor = System.Drawing.Color.Lime; - this.smartLabel25.BorderColor = System.Drawing.Color.Lime; - this.smartLabel25.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.smartLabel25.LineSpacing = 0F; - this.smartLabel25.Location = new System.Drawing.Point(147, 12); - this.smartLabel25.Name = "smartLabel25"; - this.smartLabel25.OverlapOptimize = true; - this.smartLabel25.PasswordChar = '\0'; - this.smartLabel25.Radius = 20; - this.smartLabel25.RoundRectFillColor = System.Drawing.Color.Lime; - this.smartLabel25.Size = new System.Drawing.Size(20, 20); - this.smartLabel25.TabIndex = 119; - this.smartLabel25.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel25.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel25.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.smartLabel25.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.smartLabel25.Wordwrap = false; + this.labelSbAlarm1.BackGround = null; + this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.Lime; + this.labelSbAlarm1.BorderColor = System.Drawing.Color.Lime; + this.labelSbAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm1.LineSpacing = 0F; + this.labelSbAlarm1.Location = new System.Drawing.Point(147, 12); + this.labelSbAlarm1.Name = "labelSbAlarm1"; + this.labelSbAlarm1.OverlapOptimize = true; + this.labelSbAlarm1.PasswordChar = '\0'; + this.labelSbAlarm1.Radius = 20; + this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.Lime; + this.labelSbAlarm1.Size = new System.Drawing.Size(20, 20); + this.labelSbAlarm1.TabIndex = 119; + this.labelSbAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm1.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm1.Wordwrap = false; // // smartLabel31 // @@ -3352,11 +3352,11 @@ private SmartX.SmartLabel smartLabel10; private SmartX.SmartSeparatorLine smartSeparatorLine1; private SmartX.SmartGroupBox smartGroupBox4; - public SmartX.SmartLabel smartLabel18; - public SmartX.SmartLabel smartLabel11; - public SmartX.SmartLabel smartLabel16; - public SmartX.SmartLabel smartLabel24; - public SmartX.SmartLabel smartLabel25; + public SmartX.SmartLabel labelSbAlarm5; + public SmartX.SmartLabel labelSbAlarm4; + public SmartX.SmartLabel labelSbAlarm3; + public SmartX.SmartLabel labelSbAlarm2; + public SmartX.SmartLabel labelSbAlarm1; private SmartX.SmartLabel smartLabel31; private SmartX.SmartLabel smartLabel34; private SmartX.SmartLabel smartLabel35; @@ -3398,11 +3398,11 @@ private SmartX.SmartLabel smartLabel83; private SmartX.SmartLabel labelDisp6; private SmartX.SmartLabel smartLabel85; - public SmartX.SmartLabel smartLabel86; - public SmartX.SmartLabel smartLabel87; - public SmartX.SmartLabel smartLabel88; - public SmartX.SmartLabel smartLabel89; - public SmartX.SmartLabel smartLabel90; + public SmartX.SmartLabel labelSbAlarm10; + public SmartX.SmartLabel labelSbAlarm9; + public SmartX.SmartLabel labelSbAlarm8; + public SmartX.SmartLabel labelSbAlarm7; + public SmartX.SmartLabel labelSbAlarm6; private SmartX.SmartLabel smartLabel91; private SmartX.SmartLabel smartLabel92; private SmartX.SmartLabel smartLabel93; diff --git a/INT_PT002/Controls/Manual/ControlMenuManualIoTest.cs b/INT_PT002/Controls/Manual/ControlMenuManualIoTest.cs index c1741cb..ebf520c 100644 --- a/INT_PT002/Controls/Manual/ControlMenuManualIoTest.cs +++ b/INT_PT002/Controls/Manual/ControlMenuManualIoTest.cs @@ -26,6 +26,7 @@ namespace INT_PT002.Controls private Collection CollLabelDisp; private Collection CollLabelVacu; private Collection CollLabelInput; + private Collection CollLabelSbAlarm; #endregion #region Constructor @@ -97,11 +98,25 @@ namespace INT_PT002.Controls this.CollLabelInput.Add(this.labelInput4); this.CollLabelInput.Add(this.labelInput5); + this.CollLabelSbAlarm = new Collection(); + this.CollLabelSbAlarm.Clear(); + this.CollLabelSbAlarm.Add(this.labelSbAlarm1); + this.CollLabelSbAlarm.Add(this.labelSbAlarm2); + this.CollLabelSbAlarm.Add(this.labelSbAlarm3); + this.CollLabelSbAlarm.Add(this.labelSbAlarm4); + this.CollLabelSbAlarm.Add(this.labelSbAlarm5); + this.CollLabelSbAlarm.Add(this.labelSbAlarm6); + this.CollLabelSbAlarm.Add(this.labelSbAlarm7); + this.CollLabelSbAlarm.Add(this.labelSbAlarm8); + this.CollLabelSbAlarm.Add(this.labelSbAlarm9); + this.CollLabelSbAlarm.Add(this.labelSbAlarm10); + for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++) { this.CollLabelDiff[i].Text = "0.00"; this.CollLabelDisp[i].Text = "0.00"; this.CollLabelVacu[i].Text = "0.0"; + this.CollLabelSbAlarm[i].Visible = false; } for (int i = 0; i < this.CollLabelInput.Count; i++) @@ -149,12 +164,22 @@ namespace INT_PT002.Controls public void UpdateDisplayAlarmView(AlarmList alarm) { + this.CollLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0]; + this.CollLabelSbAlarm[1].Visible = alarm.CollectionIsSensorBoardError[1]; + this.CollLabelSbAlarm[2].Visible = alarm.CollectionIsSensorBoardError[2]; + this.CollLabelSbAlarm[3].Visible = alarm.CollectionIsSensorBoardError[3]; + this.CollLabelSbAlarm[4].Visible = alarm.CollectionIsSensorBoardError[4]; + this.CollLabelSbAlarm[5].Visible = alarm.CollectionIsSensorBoardError[5]; + this.CollLabelSbAlarm[6].Visible = alarm.CollectionIsSensorBoardError[6]; + this.CollLabelSbAlarm[7].Visible = alarm.CollectionIsSensorBoardError[7]; + this.CollLabelSbAlarm[8].Visible = alarm.CollectionIsSensorBoardError[8]; + this.CollLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9]; } public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormIOTest; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.IOTest); + this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.IOTest; + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.IOTest); } #endregion diff --git a/INT_PT002/Controls/Recipe/ControlMenuRecipeSetting.cs b/INT_PT002/Controls/Recipe/ControlMenuRecipeSetting.cs index 466fc01..8f5e087 100644 --- a/INT_PT002/Controls/Recipe/ControlMenuRecipeSetting.cs +++ b/INT_PT002/Controls/Recipe/ControlMenuRecipeSetting.cs @@ -144,8 +144,7 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormProduct; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.UpdateDisplayControlData(this.ParentForm.ParentForm.CurrentRecipe); this.UpdateDisplayControlData(this.ParentForm.ParentForm.SystemConfig); } @@ -154,9 +153,9 @@ namespace INT_PT002.Controls #region Event Handler private void labelNumber_Click(object sender, EventArgs e) { - string afterValue = ""; + string before = "", after = ""; - afterValue = this.labelNumber.Text; + before = this.labelNumber.Text; DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel17.Text, this.labelNumber.Text, 4, 0, false); if (myKeypad.ShowDialog() == DialogResult.OK) @@ -164,7 +163,7 @@ namespace INT_PT002.Controls if (myKeypad.IntValue < 1 || myKeypad.IntValue > 1000) { this.MessageBoxRange = "1 ~ 1000"; - this.labelPressureLevel.Text = afterValue; + this.labelPressureLevel.Text = before; this.smartTimerMessageShow.Start(); return; } diff --git a/INT_PT002/Controls/System/ControlMenuSystemInformation.cs b/INT_PT002/Controls/System/ControlMenuSystemInformation.cs index 8ca7927..64de11a 100644 --- a/INT_PT002/Controls/System/ControlMenuSystemInformation.cs +++ b/INT_PT002/Controls/System/ControlMenuSystemInformation.cs @@ -260,8 +260,8 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormInformation; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Information; + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.smartKeyboard1.Hide(); diff --git a/INT_PT002/Controls/System/ControlMenuSystemStatus.Designer.cs b/INT_PT002/Controls/System/ControlMenuSystemStatus.Designer.cs index ffb6cfe..e1702e0 100644 --- a/INT_PT002/Controls/System/ControlMenuSystemStatus.Designer.cs +++ b/INT_PT002/Controls/System/ControlMenuSystemStatus.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { this.smartGroupBox1 = new SmartX.SmartGroupBox(); - this.buttonStart = new SmartX.SmartButton(); + this.buttonInspection = new SmartX.SmartButton(); this.labelProgress5 = new SmartX.SmartLabel(); this.smartGroupBox4 = new SmartX.SmartGroupBox(); this.labelDiffMean3 = new SmartX.SmartLabel(); @@ -310,7 +310,7 @@ this.smartGroupBox1.BackGround = null; this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.smartGroupBox1.BackImage = null; - this.smartGroupBox1.Controls.Add(this.buttonStart); + this.smartGroupBox1.Controls.Add(this.buttonInspection); this.smartGroupBox1.Controls.Add(this.labelProgress5); this.smartGroupBox1.Controls.Add(this.smartGroupBox4); this.smartGroupBox1.Controls.Add(this.smartGroupBox5); @@ -343,40 +343,40 @@ this.smartGroupBox1.Text = "smartGroupBox1"; this.smartGroupBox1.TextColor = System.Drawing.Color.White; // - // buttonStart + // buttonInspection // - this.buttonStart.BackGround = this.smartGroupBox1; - this.buttonStart.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.buttonStart.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.buttonStart.ButtonDownColor = System.Drawing.Color.SlateGray; - this.buttonStart.ButtonImageAutoSize = true; - this.buttonStart.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.buttonStart.ButtonText = "Inspection"; - this.buttonStart.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonStart.GroupID = 0; - this.buttonStart.ImageDisable = null; - this.buttonStart.ImageDown = null; - this.buttonStart.ImageUp = null; - this.buttonStart.Location = new System.Drawing.Point(819, 37); - this.buttonStart.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.buttonStart.Name = "buttonStart"; - this.buttonStart.NestedClickEventPrevent = false; - this.buttonStart.OutlinePixel = 2; - this.buttonStart.OverlapOptimize = true; - this.buttonStart.RepeatInterval = 200; - this.buttonStart.RepeatIntervalAccelerate = null; - this.buttonStart.RoundSize = 10; - this.buttonStart.SafeInterval = 200; - this.buttonStart.Size = new System.Drawing.Size(84, 40); - this.buttonStart.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.buttonStart.TabIndex = 91; - this.buttonStart.Text = null; - this.buttonStart.TextColor = System.Drawing.Color.White; - this.buttonStart.TextColorDisable = System.Drawing.Color.Gray; - this.buttonStart.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.buttonStart.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.buttonStart.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; - this.buttonStart.Click += new System.EventHandler(this.buttonStart_Click); + this.buttonInspection.BackGround = this.smartGroupBox1; + this.buttonInspection.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.buttonInspection.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonInspection.ButtonDownColor = System.Drawing.Color.SlateGray; + this.buttonInspection.ButtonImageAutoSize = true; + this.buttonInspection.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonInspection.ButtonText = "Inspection"; + this.buttonInspection.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonInspection.GroupID = 0; + this.buttonInspection.ImageDisable = null; + this.buttonInspection.ImageDown = null; + this.buttonInspection.ImageUp = null; + this.buttonInspection.Location = new System.Drawing.Point(819, 37); + this.buttonInspection.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonInspection.Name = "buttonInspection"; + this.buttonInspection.NestedClickEventPrevent = false; + this.buttonInspection.OutlinePixel = 2; + this.buttonInspection.OverlapOptimize = true; + this.buttonInspection.RepeatInterval = 200; + this.buttonInspection.RepeatIntervalAccelerate = null; + this.buttonInspection.RoundSize = 10; + this.buttonInspection.SafeInterval = 200; + this.buttonInspection.Size = new System.Drawing.Size(84, 40); + this.buttonInspection.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonInspection.TabIndex = 91; + this.buttonInspection.Text = null; + this.buttonInspection.TextColor = System.Drawing.Color.White; + this.buttonInspection.TextColorDisable = System.Drawing.Color.Gray; + this.buttonInspection.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonInspection.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonInspection.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonInspection.Click += new System.EventHandler(this.buttonInspection_Click); // // labelProgress5 // @@ -1038,7 +1038,7 @@ this.labelDispRData1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData1.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData1.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData1.LineSpacing = 0F; this.labelDispRData1.Location = new System.Drawing.Point(79, 61); this.labelDispRData1.Name = "labelDispRData1"; @@ -1048,7 +1048,7 @@ this.labelDispRData1.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData1.Size = new System.Drawing.Size(90, 20); this.labelDispRData1.TabIndex = 12; - this.labelDispRData1.Text = "-9.23 / -10.00"; + this.labelDispRData1.Text = "-9.23"; this.labelDispRData1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData1.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -1478,7 +1478,7 @@ this.labelDispRData3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData3.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData3.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData3.LineSpacing = 0F; this.labelDispRData3.Location = new System.Drawing.Point(80, 61); this.labelDispRData3.Name = "labelDispRData3"; @@ -1488,7 +1488,7 @@ this.labelDispRData3.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData3.Size = new System.Drawing.Size(90, 20); this.labelDispRData3.TabIndex = 28; - this.labelDispRData3.Text = "-9.23 / -10.00"; + this.labelDispRData3.Text = "-9.23"; this.labelDispRData3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData3.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -2043,7 +2043,7 @@ this.labelDispRData4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData4.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData4.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData4.LineSpacing = 0F; this.labelDispRData4.Location = new System.Drawing.Point(80, 61); this.labelDispRData4.Name = "labelDispRData4"; @@ -2053,7 +2053,7 @@ this.labelDispRData4.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData4.Size = new System.Drawing.Size(90, 20); this.labelDispRData4.TabIndex = 28; - this.labelDispRData4.Text = "-9.23 / -10.00"; + this.labelDispRData4.Text = "-9.23"; this.labelDispRData4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData4.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -2608,7 +2608,7 @@ this.labelDispRData2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData2.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData2.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData2.LineSpacing = 0F; this.labelDispRData2.Location = new System.Drawing.Point(80, 61); this.labelDispRData2.Name = "labelDispRData2"; @@ -2618,7 +2618,7 @@ this.labelDispRData2.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData2.Size = new System.Drawing.Size(90, 20); this.labelDispRData2.TabIndex = 28; - this.labelDispRData2.Text = "-9.23 / -10.00"; + this.labelDispRData2.Text = "-9.23"; this.labelDispRData2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData2.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -3173,7 +3173,7 @@ this.labelDispRData5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData5.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData5.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData5.LineSpacing = 0F; this.labelDispRData5.Location = new System.Drawing.Point(80, 61); this.labelDispRData5.Name = "labelDispRData5"; @@ -3183,7 +3183,7 @@ this.labelDispRData5.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData5.Size = new System.Drawing.Size(90, 20); this.labelDispRData5.TabIndex = 28; - this.labelDispRData5.Text = "-9.23 / -10.00"; + this.labelDispRData5.Text = "-9.23"; this.labelDispRData5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData5.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -3738,7 +3738,7 @@ this.labelDispRData9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData9.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData9.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData9.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData9.LineSpacing = 0F; this.labelDispRData9.Location = new System.Drawing.Point(80, 61); this.labelDispRData9.Name = "labelDispRData9"; @@ -3748,7 +3748,7 @@ this.labelDispRData9.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData9.Size = new System.Drawing.Size(90, 20); this.labelDispRData9.TabIndex = 28; - this.labelDispRData9.Text = "-9.23 / -10.00"; + this.labelDispRData9.Text = "-9.23"; this.labelDispRData9.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData9.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -4486,7 +4486,7 @@ this.labelDispRData10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData10.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData10.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData10.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData10.LineSpacing = 0F; this.labelDispRData10.Location = new System.Drawing.Point(80, 61); this.labelDispRData10.Name = "labelDispRData10"; @@ -4496,7 +4496,7 @@ this.labelDispRData10.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData10.Size = new System.Drawing.Size(90, 20); this.labelDispRData10.TabIndex = 28; - this.labelDispRData10.Text = "-9.23 / -10.00"; + this.labelDispRData10.Text = "-9.23"; this.labelDispRData10.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData10.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -5050,7 +5050,7 @@ this.labelDispRData8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData8.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData8.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData8.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData8.LineSpacing = 0F; this.labelDispRData8.Location = new System.Drawing.Point(77, 61); this.labelDispRData8.Name = "labelDispRData8"; @@ -5060,7 +5060,7 @@ this.labelDispRData8.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData8.Size = new System.Drawing.Size(90, 20); this.labelDispRData8.TabIndex = 28; - this.labelDispRData8.Text = "-9.23 / -10.00"; + this.labelDispRData8.Text = "-9.23"; this.labelDispRData8.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData8.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -5614,7 +5614,7 @@ this.labelDispRData7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData7.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData7.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData7.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData7.LineSpacing = 0F; this.labelDispRData7.Location = new System.Drawing.Point(80, 61); this.labelDispRData7.Name = "labelDispRData7"; @@ -5624,7 +5624,7 @@ this.labelDispRData7.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData7.Size = new System.Drawing.Size(90, 20); this.labelDispRData7.TabIndex = 28; - this.labelDispRData7.Text = "-9.23 / -10.00"; + this.labelDispRData7.Text = "-9.23"; this.labelDispRData7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData7.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -6178,7 +6178,7 @@ this.labelDispRData6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.labelDispRData6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData6.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelDispRData6.Font = new System.Drawing.Font("New Gulim", 8F, System.Drawing.FontStyle.Bold); + this.labelDispRData6.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelDispRData6.LineSpacing = 0F; this.labelDispRData6.Location = new System.Drawing.Point(79, 61); this.labelDispRData6.Name = "labelDispRData6"; @@ -6188,7 +6188,7 @@ this.labelDispRData6.RoundRectFillColor = System.Drawing.Color.LightBlue; this.labelDispRData6.Size = new System.Drawing.Size(90, 20); this.labelDispRData6.TabIndex = 28; - this.labelDispRData6.Text = "-9.23 / -10.00"; + this.labelDispRData6.Text = "-9.23"; this.labelDispRData6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelDispRData6.TextColorDisable = System.Drawing.Color.Gray; this.labelDispRData6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -6557,7 +6557,7 @@ private SmartX.SmartLabel smartLabel69; private SmartX.SmartSeparatorLine smartSeparatorLine16; private SmartX.SmartLabel labelResult6; - private SmartX.SmartButton buttonStart; + private SmartX.SmartButton buttonInspection; private SmartX.SmartTimer timerOn; private SmartX.SmartTimer timerOff; } diff --git a/INT_PT002/Controls/System/ControlMenuSystemStatus.cs b/INT_PT002/Controls/System/ControlMenuSystemStatus.cs index de97849..1499dfa 100644 --- a/INT_PT002/Controls/System/ControlMenuSystemStatus.cs +++ b/INT_PT002/Controls/System/ControlMenuSystemStatus.cs @@ -48,6 +48,7 @@ namespace INT_PT002.Controls this.ParentForm = parent; this.Initialize(); + this.InitializeData(); } #endregion @@ -62,7 +63,7 @@ namespace INT_PT002.Controls #region Method private void Initialize() { - this.smartGroupBox1.Text = "System > E.Test"; + this.smartGroupBox1.Text = "System > Equipment"; this.ColorProgressOff = Color.Azure; this.ColorProgressOn = Color.Lime; @@ -283,6 +284,8 @@ namespace INT_PT002.Controls this.timerOn.Stop(); this.timerOff.Stop(); + this.ParentForm.Set_Equipment_ButtonEnable(true); + if (this.CollectionResult[0].Text == "검사 중..") { for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++) @@ -304,6 +307,8 @@ namespace INT_PT002.Controls this.labelProgress7.BackGroundColor = this.ColorProgressOff; this.labelProgress8.BackGroundColor = this.ColorProgressOff; + this.ParentForm.Set_Equipment_ButtonEnable(false); + // Label Initialize //this.InitializeLabel(); break; @@ -495,98 +500,7 @@ namespace INT_PT002.Controls } public void UpdateDisplayAlarmView(AlarmList alarm) { - //if (alarm.IsServoEmergencyStop == true) - // this.labelAlarm.Text = "a1_Servo emergency stop"; - //if (alarm.IsServo1Alarm == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a2_Servo1"; - //} - //if (alarm.IsServo2Alarm == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a3_Servo2"; - //} - //if (alarm.IsServoTorque1AlarmTorque == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a4_Servo1 Torque"; - //} - //if (alarm.IsServoTorque2AlarmTorque == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a5_Servo2 Torque"; - //} - //if (alarm.IsPressureError == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a6_Pressure"; - //} - //if (alarm.CollectionIsSensorBoardError[0] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a7_Sensor board 1"; - //} - //if (alarm.CollectionIsSensorBoardError[1] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a8_Sensor board 2"; - //} - //if (alarm.CollectionIsSensorBoardError[2] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a9_Sensor board 3"; - //} - //if (alarm.CollectionIsSensorBoardError[3] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a10_Sensor board 4"; - //} - //if (alarm.CollectionIsSensorBoardError[4] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a11_Sensor board 5"; - //} - //if (alarm.CollectionIsSensorBoardError[5] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a12_Sensor board 6"; - //} - //if (alarm.CollectionIsSensorBoardError[6] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a13_Sensor board 7"; - //} - //if (alarm.CollectionIsSensorBoardError[7] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a14_Sensor board 8"; - //} - //if (alarm.CollectionIsSensorBoardError[8] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a15_Sensor board 9"; - //} - //if (alarm.CollectionIsSensorBoardError[9] == true) - //{ - // if (this.labelAlarm.Text != "") - // this.labelAlarm.Text += " "; - // this.labelAlarm.Text += "a16_Sensor board 10"; - //} + } public void UpdateDisplayJudgmentData(LeakData datas) @@ -651,14 +565,15 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormStatus; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Normal); + this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment; + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal); } #endregion #region Event Handler - private void buttonStart_Click(object sender, EventArgs e) + private void buttonInspection_Click(object sender, EventArgs e) { + this.InitializeData(); this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard); } diff --git a/INT_PT002/Controls/User/ControlMenuUserGroupEditor.cs b/INT_PT002/Controls/User/ControlMenuUserGroupEditor.cs index 54f2b90..3c7fb8f 100644 --- a/INT_PT002/Controls/User/ControlMenuUserGroupEditor.cs +++ b/INT_PT002/Controls/User/ControlMenuUserGroupEditor.cs @@ -142,8 +142,7 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormUserGroupEditor; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.UpdateDisplay(this.ParentForm.ParentForm.CurrentUserGroup, this.ParentForm.ParentForm.SystemConfig); diff --git a/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs b/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs index f6c9931..faf6259 100644 --- a/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs +++ b/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs @@ -737,8 +737,8 @@ namespace INT_PT002.Controls public void DisplayRefresh() { - this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormUserEditor; - this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu); + this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.UserEditor; + this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu); this.UpdateInitializeUserDisplay(this.ParentForm.ParentForm.SystemConfig); this.UpdateUserListBoxDisplay(this.ParentForm.ParentForm.ListDllUserName); diff --git a/INT_PT002/DataStore/Define.cs b/INT_PT002/DataStore/Define.cs index 2935fa1..7f95bea 100644 --- a/INT_PT002/DataStore/Define.cs +++ b/INT_PT002/DataStore/Define.cs @@ -15,7 +15,14 @@ namespace INT_PT002.DataStore Start = 1, } - public enum E_DisplayMode + public enum E_FormStore + { + FormNone = 0, + FormMainDisplay, + FormMenu, + } + + public enum E_EquipmentMode { Normal, Menu, @@ -61,6 +68,20 @@ namespace INT_PT002.DataStore _2_Status, } + public enum E_DisplayModeStore + { + MainDisplay, + Recipe, + UserEditor, + UserGroupEditor, + IOTest, + LogInspection, + LogHistory, + LogAlarm, + Information, + Equipment, + } + public enum E_ProcessStatus { _0_None = 0, @@ -113,22 +134,6 @@ namespace INT_PT002.DataStore Asterisk, } - public enum E_FormStore - { - FormNone = 0, - FormMainDisplay, - FormMenu, - FormProduct, - FormUserEditor, - FormUserGroupEditor, - FormIOTest, - FormEquipmentLog, - FormCheckLog, - FormAlarmList, - FormInformation, - FormStatus, - } - public enum E_UserGroup { f0_Level1 = 0, diff --git a/INT_PT002/DataStore/SystemStatus.cs b/INT_PT002/DataStore/SystemStatus.cs index f0df42e..38b1cf3 100644 --- a/INT_PT002/DataStore/SystemStatus.cs +++ b/INT_PT002/DataStore/SystemStatus.cs @@ -12,9 +12,10 @@ namespace INT_PT002.DataStore private UserItem m_CurrentUser; - private Define.E_DisplayMode m_CurrentMode; + private Define.E_EquipmentMode m_CurrentEquipmentMode; private Define.E_EquipmentStatus m_EquipmentStatus; - private Define.E_FormStore m_CurrentDisplay; + private Define.E_FormStore m_CurrentForm; + private Define.E_DisplayModeStore m_CurrentDisplayMode; #endregion #region Constructor @@ -37,20 +38,25 @@ namespace INT_PT002.DataStore set { this.m_CurrentUser = value; } } - public Define.E_DisplayMode CurrentMode + public Define.E_EquipmentMode CurrentEquipmentMode { - get { return this.m_CurrentMode; } - set { this.m_CurrentMode = value; } + get { return this.m_CurrentEquipmentMode; } + set { this.m_CurrentEquipmentMode = value; } } public Define.E_EquipmentStatus EquipmentStatus { get { return this.m_EquipmentStatus; } set { this.m_EquipmentStatus = value; } } - public Define.E_FormStore CurrentDisplay + public Define.E_FormStore CurrentForm { - get { return this.m_CurrentDisplay; } - set { this.m_CurrentDisplay = value; } + get { return this.m_CurrentForm; } + set { this.m_CurrentForm = value; } + } + public Define.E_DisplayModeStore CurrentDisplayMode + { + get { return this.m_CurrentDisplayMode; } + set { this.m_CurrentDisplayMode = value; } } #endregion @@ -64,9 +70,10 @@ namespace INT_PT002.DataStore this.CurrentUser.Password = ""; this.CurrentUser.UserGroup = Define.E_UserGroup.f0_Level1; - this.CurrentMode = Define.E_DisplayMode.Normal; + this.CurrentEquipmentMode = Define.E_EquipmentMode.Normal; this.EquipmentStatus = Define.E_EquipmentStatus.Stop; - this.CurrentDisplay = Define.E_FormStore.FormMainDisplay; + this.CurrentForm = Define.E_FormStore.FormMainDisplay; + this.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay; } #endregion } diff --git a/INT_PT002/DialogForms/DialogFormMessage.cs b/INT_PT002/DialogForms/DialogFormMessage.cs index 307a768..3854a00 100644 --- a/INT_PT002/DialogForms/DialogFormMessage.cs +++ b/INT_PT002/DialogForms/DialogFormMessage.cs @@ -221,6 +221,13 @@ namespace INT_PT002.DialogForms this.labelMessage1.Text = "4~10자 입력 하세요!"; this.labelMessage2.Text = ""; break; + case 36: + this.PictureBoxVisible(false); + + this.smartGroupBox1.Text = ""; + this.labelMessage1.Text = "데이터가 없습니다"; + this.labelMessage2.Text = ""; + break; default: this.smartGroupBox1.Text = "Error 99"; this.labelMessage1.Text = "제조사에 문의하세요"; @@ -650,88 +657,6 @@ namespace INT_PT002.DialogForms break; } } - public DialogFormMessage(int code, int productNo, string underRange, string overRange, Define.E_LanguageID language) - { - InitializeComponent(); - - this.smartGroupBox1.Text = ""; - this.labelMessage1.Text = ""; - this.labelMessage2.Text = ""; - - if (language == Define.E_LanguageID.Korean) - { - this.buttonOK.ButtonText = "OK"; - - #region 한글 - switch (code) - { - case 28: - if (productNo == 996) - { - this.smartGroupBox1.Text = "Error 28"; - this.labelMessage1.Text = "No." + productNo.ToString() + " : ~ " + overRange; - this.labelMessage2.Text = ""; - } - else if (productNo == 1000) - { - this.smartGroupBox1.Text = "Error 28"; - this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~"; - this.labelMessage2.Text = ""; - } - else - { - this.smartGroupBox1.Text = "Error 28"; - this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~ " + overRange; - this.labelMessage2.Text = ""; - } - break; - default: - this.smartGroupBox1.Text = "Error 99"; - this.labelMessage1.Text = "제조사에 문의하세요"; - this.labelMessage2.Text = ""; - break; - } - #endregion - } - else if (language == Define.E_LanguageID.English) - { - this.buttonOK.ButtonText = "OK"; - - #region 영문 - switch (code) - { - case 28: - if (productNo == 996) - { - this.smartGroupBox1.Text = "Error 28"; - this.labelMessage1.Text = "No." + productNo.ToString() + " : ~ " + overRange; - this.labelMessage2.Text = ""; - } - else if (productNo == 1000) - { - this.smartGroupBox1.Text = "Error 28"; - this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~"; - this.labelMessage2.Text = ""; - } - else - { - this.smartGroupBox1.Text = "Error 28"; - this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~ " + overRange; - this.labelMessage2.Text = ""; - } - break; - default: - this.smartGroupBox1.Text = "Error 99"; - this.labelMessage1.Text = "Please contact a manufacturer"; - break; - } - #endregion - } - else - { - - } - } public DialogFormMessage(Define.E_MessageBoxIcon icon, string code, string message1, string message2, int autoClose_sec) { InitializeComponent(); diff --git a/INT_PT002/Forms/FormMain.cs b/INT_PT002/Forms/FormMain.cs index 9ccc4d7..3ed36e7 100644 --- a/INT_PT002/Forms/FormMain.cs +++ b/INT_PT002/Forms/FormMain.cs @@ -298,25 +298,25 @@ namespace INT_PT002.Forms /// Set Mode /// /// - public void SetDisplayMode(Define.E_DisplayMode mode) + public void SetDisplayMode(Define.E_EquipmentMode mode) { - if (this.CurrentSystemStatus.CurrentMode == mode) + if (this.CurrentSystemStatus.CurrentEquipmentMode == mode) return; else - this.CurrentSystemStatus.CurrentMode = mode; + this.CurrentSystemStatus.CurrentEquipmentMode = mode; switch (mode) { - case Define.E_DisplayMode.Normal: + case Define.E_EquipmentMode.Normal: this.TransferData(CommunicationCommand.ModeNormal, CommunicationID.MainBoard); break; - case Define.E_DisplayMode.Menu: + case Define.E_EquipmentMode.Menu: this.TransferData(CommunicationCommand.ModeMenu, CommunicationID.MainBoard); break; - case Define.E_DisplayMode.IOTest: + case Define.E_EquipmentMode.IOTest: this.TransferData(CommunicationCommand.ModeIOTest, CommunicationID.MainBoard); break; - case Define.E_DisplayMode.EquipmentTest: + case Define.E_EquipmentMode.EquipmentTest: this.TransferData(CommunicationCommand.ModeEquipmentTest, CommunicationID.MainBoard); break; default: @@ -441,7 +441,7 @@ namespace INT_PT002.Forms { UserManager.UserMgr_user_list_t userList = (UserManager.UserMgr_user_list_t)data; - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormUserEditor) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.UserEditor) this.ChildFormMenu.CallBackGetUserData(userList); } catch @@ -454,7 +454,7 @@ namespace INT_PT002.Forms { UserManager.UserMgr_login_timeout_t loginTimeout = (UserManager.UserMgr_login_timeout_t)data; - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentForm == Define.E_FormStore.FormMainDisplay) this.ChildFormMainDisplay.CallBackUserListLoginTimeoutDataEvent(loginTimeout); } catch (Exception e) @@ -467,7 +467,7 @@ namespace INT_PT002.Forms { UserManager.UserMgr_user_lock_t user = (UserManager.UserMgr_user_lock_t)data; - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormUserEditor) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.UserEditor) this.ChildFormMenu.CallBackUserListLockDataEvent(user); } catch @@ -1156,6 +1156,7 @@ namespace INT_PT002.Forms case "CI0": this.CurrentSystemStatus.EquipmentStatus = Define.E_EquipmentStatus.Stop; this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus); + this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus); this.TransferSystemParameter9039(); break; @@ -1163,11 +1164,13 @@ namespace INT_PT002.Forms this.CurrentSystemStatus.EquipmentStatus = DataStore.Define.E_EquipmentStatus.Start; this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus); + this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus); break; case "CBT": this.CurrentSystemStatus.EquipmentStatus = Define.E_EquipmentStatus.Stop; this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus); + this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus); break; default: break; @@ -1380,8 +1383,10 @@ namespace INT_PT002.Forms for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++) this.CurrentLeakData.CollJudgment[i] = Helper.StringToJudgmentStatus(receiveData.Substring(i * 1, 1)); #endregion - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay) this.ChildFormMainDisplay.UpdateDisplayJudgmentData(this.CurrentLeakData); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData(this.CurrentLeakData); break; default: break; @@ -1407,8 +1412,10 @@ namespace INT_PT002.Forms #region Value Assign this.CurrentLeakData.ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 1)); #endregion - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay) this.ChildFormMainDisplay.UpdateProcessStatusDisplay(this.CurrentLeakData.ProcessStatus); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakData.ProcessStatus); break; default: break; @@ -1440,10 +1447,12 @@ namespace INT_PT002.Forms this.CurrentLeakData.CollDiffData[i].DiffMean = receiveData.Substring((i * 32) + 24, 8).Trim(); } #endregion - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay) this.ChildFormMainDisplay.UpdateDisplayDiffData(this.CurrentLeakData.CollDiffData); - else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest) - this.ChildFormMenu.UpdateDisplayEquipmentTestDiffData(this.CurrentLeakData.CollDiffData); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest) + this.ChildFormMenu.UpdateDisplayIOTestDiffData(this.CurrentLeakData.CollDiffData); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ChildFormMenu.UpdateDisplayEquipmentDiffData(this.CurrentLeakData.CollDiffData); break; default: break; @@ -1475,10 +1484,12 @@ namespace INT_PT002.Forms this.CurrentLeakData.CollDispData[i].STD = receiveData.Substring((i * 24) + 18, 6).Trim(); } #endregion - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay) this.ChildFormMainDisplay.UpdateDisplayDispData(this.CurrentLeakData.CollDispData); - else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest) - this.ChildFormMenu.UpdateDisplayEquipmentTestDispData(this.CurrentLeakData.CollDispData); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest) + this.ChildFormMenu.UpdateDisplayIOTestDispData(this.CurrentLeakData.CollDispData); + else if(this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ChildFormMenu.UpdateDisplayEquipmentDispData(this.CurrentLeakData.CollDispData); break; default: break; @@ -1510,10 +1521,12 @@ namespace INT_PT002.Forms string.Format("{0}{1}", receiveData.Substring((i * 6) + 60, 1), receiveData.Substring((i * 6) + 61, 5).Trim()); } #endregion - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay) this.ChildFormMainDisplay.UpdateDisplayPresData(this.CurrentLeakData.CollPresData); - else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest) - this.ChildFormMenu.UpdateDisplayEquipmentTestPresData(this.CurrentLeakData.CollPresData); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest) + this.ChildFormMenu.UpdateDisplayIOTestPresData(this.CurrentLeakData.CollPresData); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ChildFormMenu.UpdateDisplayEquipmentPresData(this.CurrentLeakData.CollPresData); break; default: break; @@ -1539,11 +1552,8 @@ namespace INT_PT002.Forms this.CollectionIOTest_InputData[i] = receiveData.Substring(i, 1); #endregion - //if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest) - // this.ChildFormIOTest.UpdateInputRead(this.CollectionIOTest_InputData); - - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest) - this.ChildFormMenu.UpdateDisplayEquipmentTestInputData(this.CollectionIOTest_InputData); + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest) + this.ChildFormMenu.UpdateDisplayIOTestInputData(this.CollectionIOTest_InputData); break; default: break; @@ -1563,10 +1573,10 @@ namespace INT_PT002.Forms this.CurrentAlarmList.SetAlarm(receiveData.Substring(0, 8)); #endregion - if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay) + if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay) this.ChildFormMainDisplay.UpdateDisplayAlarmView(this.CurrentAlarmList); - else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest) - this.ChildFormMenu.UpdateDisplayAlarmView(this.CurrentAlarmList); + else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest) + this.ChildFormMenu.UpdateDisplayIOTestAlarmView(this.CurrentAlarmList); break; default: @@ -1643,7 +1653,7 @@ namespace INT_PT002.Forms DateTime time = DateTime.Now; folder = string.Format("{0}{1}\\{2}\\", this.PathDataInspectionFolder, time.Year, time.Month); - fileName = string.Format("{0:yyyyMMdd}_Inspection_{1}", time, this.CurrentRecipe.NUMBER); + fileName = string.Format("{0:yyyyMMdd}_Inspection_{1}.csv", time, this.CurrentRecipe.NUMBER); } public void TrackingInspectionData(LeakData item) { diff --git a/INT_PT002/Forms/FormMainDisplay1.cs b/INT_PT002/Forms/FormMainDisplay1.cs index 55af514..81c934f 100644 --- a/INT_PT002/Forms/FormMainDisplay1.cs +++ b/INT_PT002/Forms/FormMainDisplay1.cs @@ -811,7 +811,7 @@ namespace INT_PT002.Forms public void DisplayRefresh() { - this.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormMainDisplay; + this.ParentForm.CurrentSystemStatus.CurrentForm = Define.E_FormStore.FormMainDisplay; } #endregion diff --git a/INT_PT002/Forms/FormMainDisplay2.Designer.cs b/INT_PT002/Forms/FormMainDisplay2.Designer.cs index 0cb5043..f467cd8 100644 --- a/INT_PT002/Forms/FormMainDisplay2.Designer.cs +++ b/INT_PT002/Forms/FormMainDisplay2.Designer.cs @@ -30,6 +30,26 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay2)); this.smartForm1 = new SmartX.SmartForm(); + this.labelSbAlarm10 = new SmartX.SmartLabel(); + this.labelSbAlarm5 = new SmartX.SmartLabel(); + this.labelSbAlarm9 = new SmartX.SmartLabel(); + this.labelSbAlarm4 = new SmartX.SmartLabel(); + this.labelSbAlarm8 = new SmartX.SmartLabel(); + this.labelSbAlarm3 = new SmartX.SmartLabel(); + this.labelSbAlarm7 = new SmartX.SmartLabel(); + this.labelSbAlarm2 = new SmartX.SmartLabel(); + this.labelSbAlarm6 = new SmartX.SmartLabel(); + this.labelSbAlarm1 = new SmartX.SmartLabel(); + this.labelLrSec10 = new SmartX.SmartLabel(); + this.labelLrSec9 = new SmartX.SmartLabel(); + this.labelLrSec8 = new SmartX.SmartLabel(); + this.labelLrSec5 = new SmartX.SmartLabel(); + this.labelLrSec4 = new SmartX.SmartLabel(); + this.labelLrSec3 = new SmartX.SmartLabel(); + this.labelLrSec2 = new SmartX.SmartLabel(); + this.labelLrSec6 = new SmartX.SmartLabel(); + this.labelLrSec7 = new SmartX.SmartLabel(); + this.labelLrSec1 = new SmartX.SmartLabel(); this.labelPressure1 = new SmartX.SmartLabel(); this.smartButton2 = new SmartX.SmartButton(); this.labelSensorStatus9 = new SmartX.SmartLabel(); @@ -111,26 +131,7 @@ this.buttonDisplay = new SmartX.SmartButton(); this.smartTimerAlarm = new SmartX.SmartTimer(); this.smartTimerMessageShow = new SmartX.SmartTimer(); - this.labelLrSec1 = new SmartX.SmartLabel(); - this.labelLrSec7 = new SmartX.SmartLabel(); - this.labelLrSec6 = new SmartX.SmartLabel(); - this.labelLrSec2 = new SmartX.SmartLabel(); - this.labelLrSec3 = new SmartX.SmartLabel(); - this.labelLrSec4 = new SmartX.SmartLabel(); - this.labelLrSec5 = new SmartX.SmartLabel(); - this.labelLrSec8 = new SmartX.SmartLabel(); - this.labelLrSec9 = new SmartX.SmartLabel(); - this.labelLrSec10 = new SmartX.SmartLabel(); - this.labelSbAlarm1 = new SmartX.SmartLabel(); - this.labelSbAlarm6 = new SmartX.SmartLabel(); - this.labelSbAlarm7 = new SmartX.SmartLabel(); - this.labelSbAlarm2 = new SmartX.SmartLabel(); - this.labelSbAlarm8 = new SmartX.SmartLabel(); - this.labelSbAlarm3 = new SmartX.SmartLabel(); - this.labelSbAlarm9 = new SmartX.SmartLabel(); - this.labelSbAlarm4 = new SmartX.SmartLabel(); - this.labelSbAlarm10 = new SmartX.SmartLabel(); - this.labelSbAlarm5 = new SmartX.SmartLabel(); + this.smartButton3 = new SmartX.SmartButton(); this.smartForm1.SuspendLayout(); this.smartGroupBox1.SuspendLayout(); this.SuspendLayout(); @@ -141,6 +142,7 @@ this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.UseBackImage; this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage"))); this.smartForm1.CenterLocation = false; + this.smartForm1.Controls.Add(this.smartButton3); this.smartForm1.Controls.Add(this.labelSbAlarm10); this.smartForm1.Controls.Add(this.labelSbAlarm5); this.smartForm1.Controls.Add(this.labelSbAlarm9); @@ -251,6 +253,436 @@ this.smartForm1.SpecialFunctionClickPointSize = 100; this.smartForm1.UseMainMenu = false; // + // labelSbAlarm10 + // + this.labelSbAlarm10.BackGround = null; + this.labelSbAlarm10.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm10.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm10.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm10.LineSpacing = 0F; + this.labelSbAlarm10.Location = new System.Drawing.Point(749, 733); + this.labelSbAlarm10.Name = "labelSbAlarm10"; + this.labelSbAlarm10.OverlapOptimize = true; + this.labelSbAlarm10.PasswordChar = '\0'; + this.labelSbAlarm10.Radius = 20; + this.labelSbAlarm10.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm10.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm10.TabIndex = 258; + this.labelSbAlarm10.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm10.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm10.Wordwrap = false; + // + // labelSbAlarm5 + // + this.labelSbAlarm5.BackGround = null; + this.labelSbAlarm5.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm5.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm5.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm5.LineSpacing = 0F; + this.labelSbAlarm5.Location = new System.Drawing.Point(749, 666); + this.labelSbAlarm5.Name = "labelSbAlarm5"; + this.labelSbAlarm5.OverlapOptimize = true; + this.labelSbAlarm5.PasswordChar = '\0'; + this.labelSbAlarm5.Radius = 20; + this.labelSbAlarm5.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm5.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm5.TabIndex = 257; + this.labelSbAlarm5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm5.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm5.Wordwrap = false; + // + // labelSbAlarm9 + // + this.labelSbAlarm9.BackGround = null; + this.labelSbAlarm9.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm9.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm9.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm9.LineSpacing = 0F; + this.labelSbAlarm9.Location = new System.Drawing.Point(578, 733); + this.labelSbAlarm9.Name = "labelSbAlarm9"; + this.labelSbAlarm9.OverlapOptimize = true; + this.labelSbAlarm9.PasswordChar = '\0'; + this.labelSbAlarm9.Radius = 20; + this.labelSbAlarm9.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm9.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm9.TabIndex = 256; + this.labelSbAlarm9.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm9.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm9.Wordwrap = false; + // + // labelSbAlarm4 + // + this.labelSbAlarm4.BackGround = null; + this.labelSbAlarm4.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm4.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm4.LineSpacing = 0F; + this.labelSbAlarm4.Location = new System.Drawing.Point(578, 666); + this.labelSbAlarm4.Name = "labelSbAlarm4"; + this.labelSbAlarm4.OverlapOptimize = true; + this.labelSbAlarm4.PasswordChar = '\0'; + this.labelSbAlarm4.Radius = 20; + this.labelSbAlarm4.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm4.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm4.TabIndex = 255; + this.labelSbAlarm4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm4.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm4.Wordwrap = false; + // + // labelSbAlarm8 + // + this.labelSbAlarm8.BackGround = null; + this.labelSbAlarm8.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm8.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm8.LineSpacing = 0F; + this.labelSbAlarm8.Location = new System.Drawing.Point(408, 733); + this.labelSbAlarm8.Name = "labelSbAlarm8"; + this.labelSbAlarm8.OverlapOptimize = true; + this.labelSbAlarm8.PasswordChar = '\0'; + this.labelSbAlarm8.Radius = 20; + this.labelSbAlarm8.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm8.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm8.TabIndex = 254; + this.labelSbAlarm8.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm8.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm8.Wordwrap = false; + // + // labelSbAlarm3 + // + this.labelSbAlarm3.BackGround = null; + this.labelSbAlarm3.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm3.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm3.LineSpacing = 0F; + this.labelSbAlarm3.Location = new System.Drawing.Point(408, 666); + this.labelSbAlarm3.Name = "labelSbAlarm3"; + this.labelSbAlarm3.OverlapOptimize = true; + this.labelSbAlarm3.PasswordChar = '\0'; + this.labelSbAlarm3.Radius = 20; + this.labelSbAlarm3.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm3.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm3.TabIndex = 253; + this.labelSbAlarm3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm3.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm3.Wordwrap = false; + // + // labelSbAlarm7 + // + this.labelSbAlarm7.BackGround = null; + this.labelSbAlarm7.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm7.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm7.LineSpacing = 0F; + this.labelSbAlarm7.Location = new System.Drawing.Point(238, 733); + this.labelSbAlarm7.Name = "labelSbAlarm7"; + this.labelSbAlarm7.OverlapOptimize = true; + this.labelSbAlarm7.PasswordChar = '\0'; + this.labelSbAlarm7.Radius = 20; + this.labelSbAlarm7.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm7.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm7.TabIndex = 252; + this.labelSbAlarm7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm7.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm7.Wordwrap = false; + // + // labelSbAlarm2 + // + this.labelSbAlarm2.BackGround = null; + this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm2.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm2.LineSpacing = 0F; + this.labelSbAlarm2.Location = new System.Drawing.Point(238, 666); + this.labelSbAlarm2.Name = "labelSbAlarm2"; + this.labelSbAlarm2.OverlapOptimize = true; + this.labelSbAlarm2.PasswordChar = '\0'; + this.labelSbAlarm2.Radius = 20; + this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm2.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm2.TabIndex = 251; + this.labelSbAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm2.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm2.Wordwrap = false; + // + // labelSbAlarm6 + // + this.labelSbAlarm6.BackGround = null; + this.labelSbAlarm6.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm6.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm6.LineSpacing = 0F; + this.labelSbAlarm6.Location = new System.Drawing.Point(68, 733); + this.labelSbAlarm6.Name = "labelSbAlarm6"; + this.labelSbAlarm6.OverlapOptimize = true; + this.labelSbAlarm6.PasswordChar = '\0'; + this.labelSbAlarm6.Radius = 20; + this.labelSbAlarm6.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm6.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm6.TabIndex = 250; + this.labelSbAlarm6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm6.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm6.Wordwrap = false; + // + // labelSbAlarm1 + // + this.labelSbAlarm1.BackGround = null; + this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.Red; + this.labelSbAlarm1.BorderColor = System.Drawing.Color.Red; + this.labelSbAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelSbAlarm1.LineSpacing = 0F; + this.labelSbAlarm1.Location = new System.Drawing.Point(68, 666); + this.labelSbAlarm1.Name = "labelSbAlarm1"; + this.labelSbAlarm1.OverlapOptimize = true; + this.labelSbAlarm1.PasswordChar = '\0'; + this.labelSbAlarm1.Radius = 20; + this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.Red; + this.labelSbAlarm1.Size = new System.Drawing.Size(10, 10); + this.labelSbAlarm1.TabIndex = 249; + this.labelSbAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelSbAlarm1.TextColorDisable = System.Drawing.Color.Gray; + this.labelSbAlarm1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; + this.labelSbAlarm1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelSbAlarm1.Wordwrap = false; + // + // labelLrSec10 + // + this.labelLrSec10.BackGround = this.smartForm1; + this.labelLrSec10.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec10.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec10.LineSpacing = 0F; + this.labelLrSec10.Location = new System.Drawing.Point(765, 712); + this.labelLrSec10.Name = "labelLrSec10"; + this.labelLrSec10.OverlapOptimize = true; + this.labelLrSec10.PasswordChar = '\0'; + this.labelLrSec10.Radius = 3; + this.labelLrSec10.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec10.Size = new System.Drawing.Size(115, 23); + this.labelLrSec10.TabIndex = 248; + this.labelLrSec10.Text = "-100.0"; + this.labelLrSec10.TextColor = System.Drawing.Color.White; + this.labelLrSec10.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec10.Wordwrap = false; + // + // labelLrSec9 + // + this.labelLrSec9.BackGround = this.smartForm1; + this.labelLrSec9.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec9.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec9.LineSpacing = 0F; + this.labelLrSec9.Location = new System.Drawing.Point(595, 712); + this.labelLrSec9.Name = "labelLrSec9"; + this.labelLrSec9.OverlapOptimize = true; + this.labelLrSec9.PasswordChar = '\0'; + this.labelLrSec9.Radius = 3; + this.labelLrSec9.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec9.Size = new System.Drawing.Size(115, 23); + this.labelLrSec9.TabIndex = 247; + this.labelLrSec9.Text = "-100.0"; + this.labelLrSec9.TextColor = System.Drawing.Color.White; + this.labelLrSec9.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec9.Wordwrap = false; + // + // labelLrSec8 + // + this.labelLrSec8.BackGround = this.smartForm1; + this.labelLrSec8.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec8.LineSpacing = 0F; + this.labelLrSec8.Location = new System.Drawing.Point(425, 712); + this.labelLrSec8.Name = "labelLrSec8"; + this.labelLrSec8.OverlapOptimize = true; + this.labelLrSec8.PasswordChar = '\0'; + this.labelLrSec8.Radius = 3; + this.labelLrSec8.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec8.Size = new System.Drawing.Size(115, 23); + this.labelLrSec8.TabIndex = 246; + this.labelLrSec8.Text = "-100.0"; + this.labelLrSec8.TextColor = System.Drawing.Color.White; + this.labelLrSec8.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec8.Wordwrap = false; + // + // labelLrSec5 + // + this.labelLrSec5.BackGround = this.smartForm1; + this.labelLrSec5.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec5.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec5.LineSpacing = 0F; + this.labelLrSec5.Location = new System.Drawing.Point(765, 645); + this.labelLrSec5.Name = "labelLrSec5"; + this.labelLrSec5.OverlapOptimize = true; + this.labelLrSec5.PasswordChar = '\0'; + this.labelLrSec5.Radius = 3; + this.labelLrSec5.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec5.Size = new System.Drawing.Size(115, 23); + this.labelLrSec5.TabIndex = 245; + this.labelLrSec5.Text = "-100.0"; + this.labelLrSec5.TextColor = System.Drawing.Color.White; + this.labelLrSec5.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec5.Wordwrap = false; + // + // labelLrSec4 + // + this.labelLrSec4.BackGround = this.smartForm1; + this.labelLrSec4.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec4.LineSpacing = 0F; + this.labelLrSec4.Location = new System.Drawing.Point(595, 645); + this.labelLrSec4.Name = "labelLrSec4"; + this.labelLrSec4.OverlapOptimize = true; + this.labelLrSec4.PasswordChar = '\0'; + this.labelLrSec4.Radius = 3; + this.labelLrSec4.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec4.Size = new System.Drawing.Size(115, 23); + this.labelLrSec4.TabIndex = 244; + this.labelLrSec4.Text = "-100.0"; + this.labelLrSec4.TextColor = System.Drawing.Color.White; + this.labelLrSec4.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec4.Wordwrap = false; + // + // labelLrSec3 + // + this.labelLrSec3.BackGround = this.smartForm1; + this.labelLrSec3.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec3.LineSpacing = 0F; + this.labelLrSec3.Location = new System.Drawing.Point(425, 645); + this.labelLrSec3.Name = "labelLrSec3"; + this.labelLrSec3.OverlapOptimize = true; + this.labelLrSec3.PasswordChar = '\0'; + this.labelLrSec3.Radius = 3; + this.labelLrSec3.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec3.Size = new System.Drawing.Size(115, 23); + this.labelLrSec3.TabIndex = 243; + this.labelLrSec3.Text = "-100.0"; + this.labelLrSec3.TextColor = System.Drawing.Color.White; + this.labelLrSec3.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec3.Wordwrap = false; + // + // labelLrSec2 + // + this.labelLrSec2.BackGround = this.smartForm1; + this.labelLrSec2.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec2.LineSpacing = 0F; + this.labelLrSec2.Location = new System.Drawing.Point(255, 645); + this.labelLrSec2.Name = "labelLrSec2"; + this.labelLrSec2.OverlapOptimize = true; + this.labelLrSec2.PasswordChar = '\0'; + this.labelLrSec2.Radius = 3; + this.labelLrSec2.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec2.Size = new System.Drawing.Size(115, 23); + this.labelLrSec2.TabIndex = 242; + this.labelLrSec2.Text = "-100.0"; + this.labelLrSec2.TextColor = System.Drawing.Color.White; + this.labelLrSec2.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec2.Wordwrap = false; + // + // labelLrSec6 + // + this.labelLrSec6.BackGround = this.smartForm1; + this.labelLrSec6.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec6.LineSpacing = 0F; + this.labelLrSec6.Location = new System.Drawing.Point(85, 712); + this.labelLrSec6.Name = "labelLrSec6"; + this.labelLrSec6.OverlapOptimize = true; + this.labelLrSec6.PasswordChar = '\0'; + this.labelLrSec6.Radius = 3; + this.labelLrSec6.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec6.Size = new System.Drawing.Size(115, 23); + this.labelLrSec6.TabIndex = 241; + this.labelLrSec6.Text = "-100.0"; + this.labelLrSec6.TextColor = System.Drawing.Color.White; + this.labelLrSec6.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec6.Wordwrap = false; + // + // labelLrSec7 + // + this.labelLrSec7.BackGround = this.smartForm1; + this.labelLrSec7.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec7.LineSpacing = 0F; + this.labelLrSec7.Location = new System.Drawing.Point(255, 712); + this.labelLrSec7.Name = "labelLrSec7"; + this.labelLrSec7.OverlapOptimize = true; + this.labelLrSec7.PasswordChar = '\0'; + this.labelLrSec7.Radius = 3; + this.labelLrSec7.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec7.Size = new System.Drawing.Size(115, 23); + this.labelLrSec7.TabIndex = 240; + this.labelLrSec7.Text = "-100.0"; + this.labelLrSec7.TextColor = System.Drawing.Color.White; + this.labelLrSec7.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec7.Wordwrap = false; + // + // labelLrSec1 + // + this.labelLrSec1.BackGround = this.smartForm1; + this.labelLrSec1.BackGroundColor = System.Drawing.Color.SkyBlue; + this.labelLrSec1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.labelLrSec1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; + this.labelLrSec1.LineSpacing = 0F; + this.labelLrSec1.Location = new System.Drawing.Point(85, 645); + this.labelLrSec1.Name = "labelLrSec1"; + this.labelLrSec1.OverlapOptimize = true; + this.labelLrSec1.PasswordChar = '\0'; + this.labelLrSec1.Radius = 3; + this.labelLrSec1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); + this.labelLrSec1.Size = new System.Drawing.Size(115, 23); + this.labelLrSec1.TabIndex = 239; + this.labelLrSec1.Text = "-100.0"; + this.labelLrSec1.TextColor = System.Drawing.Color.White; + this.labelLrSec1.TextColorDisable = System.Drawing.Color.Gray; + this.labelLrSec1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelLrSec1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelLrSec1.Wordwrap = false; + // // labelPressure1 // this.labelPressure1.BackGround = this.smartForm1; @@ -287,7 +719,7 @@ this.smartButton2.ImageDisable = null; this.smartButton2.ImageDown = null; this.smartButton2.ImageUp = null; - this.smartButton2.Location = new System.Drawing.Point(917, 409); + this.smartButton2.Location = new System.Drawing.Point(917, 391); this.smartButton2.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.smartButton2.Name = "smartButton2"; this.smartButton2.NestedClickEventPrevent = false; @@ -306,6 +738,7 @@ this.smartButton2.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); this.smartButton2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; this.smartButton2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.smartButton2.Click += new System.EventHandler(this.smartButton2_Click); // // labelSensorStatus9 // @@ -1284,9 +1717,9 @@ this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(51)))), ((int)(((byte)(53))))); this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular); this.label1.ForeColor = System.Drawing.Color.White; - this.label1.Location = new System.Drawing.Point(23, 22); + this.label1.Location = new System.Drawing.Point(6, 22); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(466, 25); + this.label1.Size = new System.Drawing.Size(545, 25); this.label1.Text = "a1_Servo emergency stop"; // // labelAlarm @@ -2054,435 +2487,40 @@ this.smartTimerMessageShow.TimeFormStringSeparator = ":"; this.smartTimerMessageShow.Tick += new System.EventHandler(this.smartTimerMessageShow_Tick); // - // labelLrSec1 + // smartButton3 // - this.labelLrSec1.BackGround = this.smartForm1; - this.labelLrSec1.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec1.LineSpacing = 0F; - this.labelLrSec1.Location = new System.Drawing.Point(85, 645); - this.labelLrSec1.Name = "labelLrSec1"; - this.labelLrSec1.OverlapOptimize = true; - this.labelLrSec1.PasswordChar = '\0'; - this.labelLrSec1.Radius = 3; - this.labelLrSec1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec1.Size = new System.Drawing.Size(115, 23); - this.labelLrSec1.TabIndex = 239; - this.labelLrSec1.Text = "-100.0"; - this.labelLrSec1.TextColor = System.Drawing.Color.White; - this.labelLrSec1.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec1.Wordwrap = false; - // - // labelLrSec7 - // - this.labelLrSec7.BackGround = this.smartForm1; - this.labelLrSec7.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec7.LineSpacing = 0F; - this.labelLrSec7.Location = new System.Drawing.Point(255, 712); - this.labelLrSec7.Name = "labelLrSec7"; - this.labelLrSec7.OverlapOptimize = true; - this.labelLrSec7.PasswordChar = '\0'; - this.labelLrSec7.Radius = 3; - this.labelLrSec7.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec7.Size = new System.Drawing.Size(115, 23); - this.labelLrSec7.TabIndex = 240; - this.labelLrSec7.Text = "-100.0"; - this.labelLrSec7.TextColor = System.Drawing.Color.White; - this.labelLrSec7.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec7.Wordwrap = false; - // - // labelLrSec6 - // - this.labelLrSec6.BackGround = this.smartForm1; - this.labelLrSec6.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec6.LineSpacing = 0F; - this.labelLrSec6.Location = new System.Drawing.Point(85, 712); - this.labelLrSec6.Name = "labelLrSec6"; - this.labelLrSec6.OverlapOptimize = true; - this.labelLrSec6.PasswordChar = '\0'; - this.labelLrSec6.Radius = 3; - this.labelLrSec6.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec6.Size = new System.Drawing.Size(115, 23); - this.labelLrSec6.TabIndex = 241; - this.labelLrSec6.Text = "-100.0"; - this.labelLrSec6.TextColor = System.Drawing.Color.White; - this.labelLrSec6.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec6.Wordwrap = false; - // - // labelLrSec2 - // - this.labelLrSec2.BackGround = this.smartForm1; - this.labelLrSec2.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec2.LineSpacing = 0F; - this.labelLrSec2.Location = new System.Drawing.Point(255, 645); - this.labelLrSec2.Name = "labelLrSec2"; - this.labelLrSec2.OverlapOptimize = true; - this.labelLrSec2.PasswordChar = '\0'; - this.labelLrSec2.Radius = 3; - this.labelLrSec2.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec2.Size = new System.Drawing.Size(115, 23); - this.labelLrSec2.TabIndex = 242; - this.labelLrSec2.Text = "-100.0"; - this.labelLrSec2.TextColor = System.Drawing.Color.White; - this.labelLrSec2.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec2.Wordwrap = false; - // - // labelLrSec3 - // - this.labelLrSec3.BackGround = this.smartForm1; - this.labelLrSec3.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec3.LineSpacing = 0F; - this.labelLrSec3.Location = new System.Drawing.Point(425, 645); - this.labelLrSec3.Name = "labelLrSec3"; - this.labelLrSec3.OverlapOptimize = true; - this.labelLrSec3.PasswordChar = '\0'; - this.labelLrSec3.Radius = 3; - this.labelLrSec3.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec3.Size = new System.Drawing.Size(115, 23); - this.labelLrSec3.TabIndex = 243; - this.labelLrSec3.Text = "-100.0"; - this.labelLrSec3.TextColor = System.Drawing.Color.White; - this.labelLrSec3.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec3.Wordwrap = false; - // - // labelLrSec4 - // - this.labelLrSec4.BackGround = this.smartForm1; - this.labelLrSec4.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec4.LineSpacing = 0F; - this.labelLrSec4.Location = new System.Drawing.Point(595, 645); - this.labelLrSec4.Name = "labelLrSec4"; - this.labelLrSec4.OverlapOptimize = true; - this.labelLrSec4.PasswordChar = '\0'; - this.labelLrSec4.Radius = 3; - this.labelLrSec4.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec4.Size = new System.Drawing.Size(115, 23); - this.labelLrSec4.TabIndex = 244; - this.labelLrSec4.Text = "-100.0"; - this.labelLrSec4.TextColor = System.Drawing.Color.White; - this.labelLrSec4.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec4.Wordwrap = false; - // - // labelLrSec5 - // - this.labelLrSec5.BackGround = this.smartForm1; - this.labelLrSec5.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec5.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec5.LineSpacing = 0F; - this.labelLrSec5.Location = new System.Drawing.Point(765, 645); - this.labelLrSec5.Name = "labelLrSec5"; - this.labelLrSec5.OverlapOptimize = true; - this.labelLrSec5.PasswordChar = '\0'; - this.labelLrSec5.Radius = 3; - this.labelLrSec5.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec5.Size = new System.Drawing.Size(115, 23); - this.labelLrSec5.TabIndex = 245; - this.labelLrSec5.Text = "-100.0"; - this.labelLrSec5.TextColor = System.Drawing.Color.White; - this.labelLrSec5.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec5.Wordwrap = false; - // - // labelLrSec8 - // - this.labelLrSec8.BackGround = this.smartForm1; - this.labelLrSec8.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec8.LineSpacing = 0F; - this.labelLrSec8.Location = new System.Drawing.Point(425, 712); - this.labelLrSec8.Name = "labelLrSec8"; - this.labelLrSec8.OverlapOptimize = true; - this.labelLrSec8.PasswordChar = '\0'; - this.labelLrSec8.Radius = 3; - this.labelLrSec8.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec8.Size = new System.Drawing.Size(115, 23); - this.labelLrSec8.TabIndex = 246; - this.labelLrSec8.Text = "-100.0"; - this.labelLrSec8.TextColor = System.Drawing.Color.White; - this.labelLrSec8.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec8.Wordwrap = false; - // - // labelLrSec9 - // - this.labelLrSec9.BackGround = this.smartForm1; - this.labelLrSec9.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec9.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec9.LineSpacing = 0F; - this.labelLrSec9.Location = new System.Drawing.Point(595, 712); - this.labelLrSec9.Name = "labelLrSec9"; - this.labelLrSec9.OverlapOptimize = true; - this.labelLrSec9.PasswordChar = '\0'; - this.labelLrSec9.Radius = 3; - this.labelLrSec9.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec9.Size = new System.Drawing.Size(115, 23); - this.labelLrSec9.TabIndex = 247; - this.labelLrSec9.Text = "-100.0"; - this.labelLrSec9.TextColor = System.Drawing.Color.White; - this.labelLrSec9.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec9.Wordwrap = false; - // - // labelLrSec10 - // - this.labelLrSec10.BackGround = this.smartForm1; - this.labelLrSec10.BackGroundColor = System.Drawing.Color.SkyBlue; - this.labelLrSec10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.labelLrSec10.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelLrSec10.LineSpacing = 0F; - this.labelLrSec10.Location = new System.Drawing.Point(765, 712); - this.labelLrSec10.Name = "labelLrSec10"; - this.labelLrSec10.OverlapOptimize = true; - this.labelLrSec10.PasswordChar = '\0'; - this.labelLrSec10.Radius = 3; - this.labelLrSec10.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52))))); - this.labelLrSec10.Size = new System.Drawing.Size(115, 23); - this.labelLrSec10.TabIndex = 248; - this.labelLrSec10.Text = "-100.0"; - this.labelLrSec10.TextColor = System.Drawing.Color.White; - this.labelLrSec10.TextColorDisable = System.Drawing.Color.Gray; - this.labelLrSec10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.labelLrSec10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelLrSec10.Wordwrap = false; - // - // labelSbAlarm1 - // - this.labelSbAlarm1.BackGround = null; - this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm1.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm1.LineSpacing = 0F; - this.labelSbAlarm1.Location = new System.Drawing.Point(68, 666); - this.labelSbAlarm1.Name = "labelSbAlarm1"; - this.labelSbAlarm1.OverlapOptimize = true; - this.labelSbAlarm1.PasswordChar = '\0'; - this.labelSbAlarm1.Radius = 20; - this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm1.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm1.TabIndex = 249; - this.labelSbAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm1.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm1.Wordwrap = false; - // - // labelSbAlarm6 - // - this.labelSbAlarm6.BackGround = null; - this.labelSbAlarm6.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm6.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm6.LineSpacing = 0F; - this.labelSbAlarm6.Location = new System.Drawing.Point(68, 733); - this.labelSbAlarm6.Name = "labelSbAlarm6"; - this.labelSbAlarm6.OverlapOptimize = true; - this.labelSbAlarm6.PasswordChar = '\0'; - this.labelSbAlarm6.Radius = 20; - this.labelSbAlarm6.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm6.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm6.TabIndex = 250; - this.labelSbAlarm6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm6.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm6.Wordwrap = false; - // - // labelSbAlarm7 - // - this.labelSbAlarm7.BackGround = null; - this.labelSbAlarm7.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm7.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm7.LineSpacing = 0F; - this.labelSbAlarm7.Location = new System.Drawing.Point(238, 733); - this.labelSbAlarm7.Name = "labelSbAlarm7"; - this.labelSbAlarm7.OverlapOptimize = true; - this.labelSbAlarm7.PasswordChar = '\0'; - this.labelSbAlarm7.Radius = 20; - this.labelSbAlarm7.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm7.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm7.TabIndex = 252; - this.labelSbAlarm7.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm7.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm7.Wordwrap = false; - // - // labelSbAlarm2 - // - this.labelSbAlarm2.BackGround = null; - this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm2.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm2.LineSpacing = 0F; - this.labelSbAlarm2.Location = new System.Drawing.Point(238, 666); - this.labelSbAlarm2.Name = "labelSbAlarm2"; - this.labelSbAlarm2.OverlapOptimize = true; - this.labelSbAlarm2.PasswordChar = '\0'; - this.labelSbAlarm2.Radius = 20; - this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm2.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm2.TabIndex = 251; - this.labelSbAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm2.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm2.Wordwrap = false; - // - // labelSbAlarm8 - // - this.labelSbAlarm8.BackGround = null; - this.labelSbAlarm8.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm8.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm8.LineSpacing = 0F; - this.labelSbAlarm8.Location = new System.Drawing.Point(408, 733); - this.labelSbAlarm8.Name = "labelSbAlarm8"; - this.labelSbAlarm8.OverlapOptimize = true; - this.labelSbAlarm8.PasswordChar = '\0'; - this.labelSbAlarm8.Radius = 20; - this.labelSbAlarm8.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm8.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm8.TabIndex = 254; - this.labelSbAlarm8.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm8.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm8.Wordwrap = false; - // - // labelSbAlarm3 - // - this.labelSbAlarm3.BackGround = null; - this.labelSbAlarm3.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm3.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm3.LineSpacing = 0F; - this.labelSbAlarm3.Location = new System.Drawing.Point(408, 666); - this.labelSbAlarm3.Name = "labelSbAlarm3"; - this.labelSbAlarm3.OverlapOptimize = true; - this.labelSbAlarm3.PasswordChar = '\0'; - this.labelSbAlarm3.Radius = 20; - this.labelSbAlarm3.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm3.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm3.TabIndex = 253; - this.labelSbAlarm3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm3.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm3.Wordwrap = false; - // - // labelSbAlarm9 - // - this.labelSbAlarm9.BackGround = null; - this.labelSbAlarm9.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm9.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm9.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm9.LineSpacing = 0F; - this.labelSbAlarm9.Location = new System.Drawing.Point(578, 733); - this.labelSbAlarm9.Name = "labelSbAlarm9"; - this.labelSbAlarm9.OverlapOptimize = true; - this.labelSbAlarm9.PasswordChar = '\0'; - this.labelSbAlarm9.Radius = 20; - this.labelSbAlarm9.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm9.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm9.TabIndex = 256; - this.labelSbAlarm9.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm9.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm9.Wordwrap = false; - // - // labelSbAlarm4 - // - this.labelSbAlarm4.BackGround = null; - this.labelSbAlarm4.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm4.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm4.LineSpacing = 0F; - this.labelSbAlarm4.Location = new System.Drawing.Point(578, 666); - this.labelSbAlarm4.Name = "labelSbAlarm4"; - this.labelSbAlarm4.OverlapOptimize = true; - this.labelSbAlarm4.PasswordChar = '\0'; - this.labelSbAlarm4.Radius = 20; - this.labelSbAlarm4.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm4.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm4.TabIndex = 255; - this.labelSbAlarm4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm4.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm4.Wordwrap = false; - // - // labelSbAlarm10 - // - this.labelSbAlarm10.BackGround = null; - this.labelSbAlarm10.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm10.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm10.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm10.LineSpacing = 0F; - this.labelSbAlarm10.Location = new System.Drawing.Point(749, 733); - this.labelSbAlarm10.Name = "labelSbAlarm10"; - this.labelSbAlarm10.OverlapOptimize = true; - this.labelSbAlarm10.PasswordChar = '\0'; - this.labelSbAlarm10.Radius = 20; - this.labelSbAlarm10.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm10.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm10.TabIndex = 258; - this.labelSbAlarm10.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm10.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm10.Wordwrap = false; - // - // labelSbAlarm5 - // - this.labelSbAlarm5.BackGround = null; - this.labelSbAlarm5.BackGroundColor = System.Drawing.Color.Red; - this.labelSbAlarm5.BorderColor = System.Drawing.Color.Red; - this.labelSbAlarm5.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelSbAlarm5.LineSpacing = 0F; - this.labelSbAlarm5.Location = new System.Drawing.Point(749, 666); - this.labelSbAlarm5.Name = "labelSbAlarm5"; - this.labelSbAlarm5.OverlapOptimize = true; - this.labelSbAlarm5.PasswordChar = '\0'; - this.labelSbAlarm5.Radius = 20; - this.labelSbAlarm5.RoundRectFillColor = System.Drawing.Color.Red; - this.labelSbAlarm5.Size = new System.Drawing.Size(10, 10); - this.labelSbAlarm5.TabIndex = 257; - this.labelSbAlarm5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.labelSbAlarm5.TextColorDisable = System.Drawing.Color.Gray; - this.labelSbAlarm5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelSbAlarm5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; - this.labelSbAlarm5.Wordwrap = false; + this.smartButton3.BackGround = this.smartForm1; + this.smartButton3.BackGroundColor = System.Drawing.Color.LightBlue; + this.smartButton3.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartButton3.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.smartButton3.ButtonImageAutoSize = true; + this.smartButton3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.smartButton3.ButtonText = "smartButton1"; + this.smartButton3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.smartButton3.GroupID = 0; + this.smartButton3.ImageDisable = null; + this.smartButton3.ImageDown = null; + this.smartButton3.ImageUp = null; + this.smartButton3.Location = new System.Drawing.Point(917, 440); + this.smartButton3.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.smartButton3.Name = "smartButton3"; + this.smartButton3.NestedClickEventPrevent = false; + this.smartButton3.OutlinePixel = 2; + this.smartButton3.OverlapOptimize = true; + this.smartButton3.RepeatInterval = 200; + this.smartButton3.RepeatIntervalAccelerate = null; + this.smartButton3.RoundSize = 10; + this.smartButton3.SafeInterval = 200; + this.smartButton3.Size = new System.Drawing.Size(100, 43); + this.smartButton3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.smartButton3.TabIndex = 267; + this.smartButton3.Text = null; + this.smartButton3.TextColor = System.Drawing.Color.White; + this.smartButton3.TextColorDisable = System.Drawing.Color.Gray; + this.smartButton3.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.smartButton3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.smartButton3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.smartButton3.Click += new System.EventHandler(this.smartButton3_Click); // // FormMainDisplay2 // @@ -2604,5 +2642,6 @@ public SmartX.SmartLabel labelSbAlarm5; public SmartX.SmartLabel labelSbAlarm9; public SmartX.SmartLabel labelSbAlarm4; + private SmartX.SmartButton smartButton3; } } \ No newline at end of file diff --git a/INT_PT002/Forms/FormMainDisplay2.cs b/INT_PT002/Forms/FormMainDisplay2.cs index f01b232..b9171b4 100644 --- a/INT_PT002/Forms/FormMainDisplay2.cs +++ b/INT_PT002/Forms/FormMainDisplay2.cs @@ -594,10 +594,11 @@ namespace INT_PT002.Forms this.CollectionLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9]; value = value.Trim(); - this.label1.Size = new Size(value.Length * 7, 20); + this.label1.Size = new Size(value.Length * 8, 20); this.label1.Text = value; + this.label1.Location = new Point(6, 22); - if (this.label1.Width > 655) + if (this.label1.Width > 548) { if (this.label1.Text != "") this.smartTimerAlarm.Start(); @@ -639,8 +640,9 @@ namespace INT_PT002.Forms public void DisplayRefresh() { - this.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormMainDisplay; - this.ParentForm.SetDisplayMode(Define.E_DisplayMode.Normal); + this.ParentForm.CurrentSystemStatus.CurrentForm = Define.E_FormStore.FormMainDisplay; + this.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay; + this.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal); this.buttonRecipeNo.ButtonText = this.ParentForm.CurrentRecipe.NUMBER.ToString(); } @@ -783,6 +785,8 @@ namespace INT_PT002.Forms { string value = ""; + this.smartTimerAlarm.Stop(); + value = "a1_Servo emergency stop "; value += "a2_Servo1 "; value += "a3_Servo2 "; @@ -791,11 +795,62 @@ namespace INT_PT002.Forms //value += "a6_Pressure "; value = value.Trim(); - this.label1.Size = new Size(value.Length * 7, 20); + this.label1.Size = new Size(value.Length * 8, 20); this.label1.Text = value; - if (this.label1.Text != "") - this.smartTimerAlarm.Start(); + if (this.label1.Width > 548) + { + if (this.label1.Text != "") + this.smartTimerAlarm.Start(); + } + } + + private void smartButton2_Click(object sender, EventArgs e) + { + string value = ""; + + this.smartTimerAlarm.Stop(); + + value = "a1_Servo emergency stop "; + value += "a2_Servo1 "; + value += "a3_Servo2 "; + value += "a4_Servo1 Torque "; + //value += "a5_Servo2 Torque "; + //value += "a6_Pressure "; + + value = value.Trim(); + this.label1.Size = new Size(value.Length * 8, 20); + this.label1.Text = value; + + if (this.label1.Width > 548) + { + if (this.label1.Text != "") + this.smartTimerAlarm.Start(); + } + } + + private void smartButton3_Click(object sender, EventArgs e) + { + string value = ""; + + this.smartTimerAlarm.Stop(); + + value = "a1_Servo emergency stop "; + value += "a2_Servo1 "; + value += "a3_Servo2 "; + value += "a4_Servo1 Torque "; + value += "a5_Servo2 Torque "; + value += "a6_Pressure "; + + value = value.Trim(); + this.label1.Size = new Size(value.Length * 8, 20); + this.label1.Text = value; + + if (this.label1.Width > 548) + { + if (this.label1.Text != "") + this.smartTimerAlarm.Start(); + } } } } \ No newline at end of file diff --git a/INT_PT002/Forms/FormMenu.Designer.cs b/INT_PT002/Forms/FormMenu.Designer.cs index cad5f39..cb35180 100644 --- a/INT_PT002/Forms/FormMenu.Designer.cs +++ b/INT_PT002/Forms/FormMenu.Designer.cs @@ -46,6 +46,7 @@ this.buttonRecipe = new SmartX.SmartButton(); this.buttonHome = new SmartX.SmartButton(); this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.labelStart = new SmartX.SmartLabel(); this.smartForm1.SuspendLayout(); this.SuspendLayout(); // @@ -54,6 +55,8 @@ this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.UseBackImage; this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage"))); this.smartForm1.CenterLocation = false; + this.smartForm1.Controls.Add(this.labelStop); + this.smartForm1.Controls.Add(this.labelStart); this.smartForm1.Controls.Add(this.buttonUser); this.smartForm1.Controls.Add(this.labelUserID); this.smartForm1.Controls.Add(this.labelUserLevel); @@ -66,7 +69,6 @@ this.smartForm1.Controls.Add(this.buttonSystem); this.smartForm1.Controls.Add(this.buttonLog); this.smartForm1.Controls.Add(this.buttonManual); - this.smartForm1.Controls.Add(this.labelStop); this.smartForm1.Controls.Add(this.buttonRecipe); this.smartForm1.Controls.Add(this.buttonHome); this.smartForm1.Controls.Add(this.smartGroupBox1); @@ -124,7 +126,7 @@ this.labelUserID.BackGroundColor = System.Drawing.Color.SkyBlue; this.labelUserID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelUserID.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); + this.labelUserID.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelUserID.LineSpacing = 0F; this.labelUserID.Location = new System.Drawing.Point(743, 3); this.labelUserID.Name = "labelUserID"; @@ -147,7 +149,7 @@ this.labelUserLevel.BackGroundColor = System.Drawing.Color.SkyBlue; this.labelUserLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelUserLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); + this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelUserLevel.LineSpacing = 0F; this.labelUserLevel.Location = new System.Drawing.Point(849, 3); this.labelUserLevel.Name = "labelUserLevel"; @@ -461,6 +463,7 @@ this.labelStop.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; this.labelStop.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.labelStop.Wordwrap = false; + this.labelStop.Click += new System.EventHandler(this.labelStop_Click); // // buttonRecipe // @@ -550,6 +553,30 @@ this.smartGroupBox1.Text = "기본 > "; this.smartGroupBox1.TextColor = System.Drawing.Color.White; // + // labelStart + // + this.labelStart.BackGround = null; + this.labelStart.BackGroundColor = System.Drawing.Color.DarkGreen; + this.labelStart.BorderColor = System.Drawing.Color.DarkGreen; + this.labelStart.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.labelStart.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); + this.labelStart.LineSpacing = 0F; + this.labelStart.Location = new System.Drawing.Point(911, 3); + this.labelStart.Name = "labelStart"; + this.labelStart.OverlapOptimize = true; + this.labelStart.PasswordChar = '\0'; + this.labelStart.Radius = 10; + this.labelStart.RoundRectFillColor = System.Drawing.Color.DarkGreen; + this.labelStart.Size = new System.Drawing.Size(110, 30); + this.labelStart.TabIndex = 88; + this.labelStart.Text = "START"; + this.labelStart.TextColor = System.Drawing.Color.White; + this.labelStart.TextColorDisable = System.Drawing.Color.Gray; + this.labelStart.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelStart.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelStart.Wordwrap = false; + this.labelStart.Click += new System.EventHandler(this.labelStart_Click); + // // FormMenu // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -584,5 +611,6 @@ private SmartX.SmartLabel labelUserID; private SmartX.SmartLabel labelUserLevel; private SmartX.SmartButton buttonUser; + private SmartX.SmartLabel labelStart; } } \ No newline at end of file diff --git a/INT_PT002/Forms/FormMenu.cs b/INT_PT002/Forms/FormMenu.cs index ce5c736..04fc43b 100644 --- a/INT_PT002/Forms/FormMenu.cs +++ b/INT_PT002/Forms/FormMenu.cs @@ -448,7 +448,7 @@ namespace INT_PT002.Forms this.buttonSystem.ButtonDown(); this.buttonBottom1.ButtonText = "Information"; - this.buttonBottom2.ButtonText = "E.Test"; + this.buttonBottom2.ButtonText = "Equipment"; this.buttonBottom1.Visible = true; this.buttonBottom2.Visible = true; @@ -590,29 +590,85 @@ namespace INT_PT002.Forms } } + // Menu + public void UpdateEquipmentStatusDisplay(Define.E_EquipmentStatus status) + { + if (status == Define.E_EquipmentStatus.Start) + { + #region Start + this.labelStart.Visible = true; + this.labelStop.Visible = false; + #endregion + } + else + { + #region Stop + this.labelStart.Visible = false; + this.labelStop.Visible = true; + #endregion + } + } + public void Set_Equipment_ButtonEnable(bool data) + { + if (data == true) + { + this.buttonRecipe.Enabled = true; + this.buttonUser.Enabled = true; + this.buttonManual.Enabled = true; + this.buttonLog.Enabled = true; + this.buttonSystem.Enabled = true; + + this.buttonBottom1.Enabled = true; + this.buttonBottom2.Enabled = true; + this.buttonBottom3.Enabled = true; + this.buttonBottom4.Enabled = true; + + this.buttonHome.Enabled = true; + } + else + { + this.buttonRecipe.Enabled = false; + this.buttonUser.Enabled = false; + this.buttonManual.Enabled = false; + this.buttonLog.Enabled = false; + this.buttonSystem.Enabled = false; + + this.buttonBottom1.Enabled = false; + this.buttonBottom2.Enabled = false; + this.buttonBottom3.Enabled = false; + this.buttonBottom4.Enabled = false; + + this.buttonHome.Enabled = false; + } + } + // Menu Recipe public void UpdateDisplayRecipeData(Recipe item) { this.Child_Recipe_Setting.UpdateDisplayControlData(item); } - // Menu Equipment - public void UpdateDisplayEquipmentTestInputData(Collection datas) + // Menu Manual + public void UpdateDisplayIOTestInputData(Collection datas) { this.Child_Manual_IoTest.UpdateDisplayInputData(datas); } - public void UpdateDisplayEquipmentTestDispData(Collection datas) + public void UpdateDisplayIOTestDispData(Collection datas) { this.Child_Manual_IoTest.UpdateDisplayDispData(datas); } - public void UpdateDisplayEquipmentTestDiffData(Collection datas) + public void UpdateDisplayIOTestDiffData(Collection datas) { this.Child_Manual_IoTest.UpdateDisplayDiffData(datas); } - public void UpdateDisplayEquipmentTestPresData(Collection datas) + public void UpdateDisplayIOTestPresData(Collection datas) { this.Child_Manual_IoTest.UpdateDisplayPresData(datas); } + public void UpdateDisplayIOTestAlarmView(AlarmList data) + { + this.Child_Manual_IoTest.UpdateDisplayAlarmView(data); + } // Menu System public void UpdateMainBoardVersionDisplay(string data) @@ -646,10 +702,30 @@ namespace INT_PT002.Forms this.Child_User_UserEditor.CallBackUserListNewData(user); } - // Menu Manual - public void UpdateDisplayAlarmView(AlarmList data) + // Menu System + public void UpdateDisplayEquipmentDispData(Collection datas) { - this.Child_Manual_IoTest.UpdateDisplayAlarmView(data); + this.Child_System_Status.UpdateDisplayDispData(datas); + } + public void UpdateDisplayEquipmentDiffData(Collection datas) + { + this.Child_System_Status.UpdateDisplayDiffData(datas); + } + public void UpdateDisplayEquipmentPresData(Collection datas) + { + this.Child_System_Status.UpdateDisplayPresData(datas); + } + public void UpdateDisplayEquipmentAlarmView(AlarmList data) + { + this.Child_System_Status.UpdateDisplayAlarmView(data); + } + public void UpdateDisplayEquipmentJudgmentData(LeakData datas) + { + this.Child_System_Status.UpdateDisplayJudgmentData(datas); + } + public void UpdateDisplayEquipmentProcessStatusDisplay(Define.E_ProcessStatus status) + { + this.Child_System_Status.UpdateProcessStatusDisplay(status); } public void DisplayRefresh(SystemStatus status) @@ -821,6 +897,17 @@ namespace INT_PT002.Forms break; } } + + private void labelStart_Click(object sender, EventArgs e) + { + if (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ParentForm.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard); + } + private void labelStop_Click(object sender, EventArgs e) + { + if (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment) + this.ParentForm.TransferData(CommunicationCommand.Start, CommunicationID.MainBoard); + } #endregion } } \ No newline at end of file