@ Ver 8.7.0 by LSJ
- 2025.09.25 - Ver 8.6.0 Modify - Framework : SmartX Framework V3.2.4(update: 2021.01.20) - MainBoard Ver 7.7.0 - 15열 기능 추가 메인화면, 중량조정화면 추가master V8.7.0
							parent
							
								
									4502d86e3b
								
							
						
					
					
						commit
						46fa7f603c
					
				|  | @ -29,16 +29,16 @@ | |||
|         private void InitializeComponent() | ||||
|         { | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlCalibration10)); | ||||
|             this.buttonLine1 = new SmartX.SmartButton(); | ||||
|             this.buttonLine2 = new SmartX.SmartButton(); | ||||
|             this.buttonLine3 = new SmartX.SmartButton(); | ||||
|             this.buttonLine4 = new SmartX.SmartButton(); | ||||
|             this.buttonLine5 = new SmartX.SmartButton(); | ||||
|             this.buttonLine6 = new SmartX.SmartButton(); | ||||
|             this.buttonLine7 = new SmartX.SmartButton(); | ||||
|             this.buttonLine8 = new SmartX.SmartButton(); | ||||
|             this.buttonLine9 = new SmartX.SmartButton(); | ||||
|             this.buttonLine10 = new SmartX.SmartButton(); | ||||
|             this.buttonLane1 = new SmartX.SmartButton(); | ||||
|             this.buttonLane2 = new SmartX.SmartButton(); | ||||
|             this.buttonLane3 = new SmartX.SmartButton(); | ||||
|             this.buttonLane4 = new SmartX.SmartButton(); | ||||
|             this.buttonLane5 = new SmartX.SmartButton(); | ||||
|             this.buttonLane6 = new SmartX.SmartButton(); | ||||
|             this.buttonLane7 = new SmartX.SmartButton(); | ||||
|             this.buttonLane8 = new SmartX.SmartButton(); | ||||
|             this.buttonLane9 = new SmartX.SmartButton(); | ||||
|             this.buttonLane10 = new SmartX.SmartButton(); | ||||
|             this.smartLabel1 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel2 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel3 = new SmartX.SmartLabel(); | ||||
|  | @ -83,325 +83,325 @@ | |||
|             this.smartGroupBox1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // buttonLine1 | ||||
|             // buttonLane1 | ||||
|             //  | ||||
|             this.buttonLine1.BackPictureBox = null; | ||||
|             this.buttonLine1.BackPictureBox1 = null; | ||||
|             this.buttonLine1.BackPictureBox2 = null; | ||||
|             this.buttonLine1.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine1.ButtonImageAutoSize = true; | ||||
|             this.buttonLine1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine1.DisableImage = null; | ||||
|             this.buttonLine1.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine1.DownImage"))); | ||||
|             this.buttonLine1.GroupID = 0; | ||||
|             this.buttonLine1.InitVisible = true; | ||||
|             this.buttonLine1.Location = new System.Drawing.Point(27, 13); | ||||
|             this.buttonLine1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine1.Name = "buttonLine1"; | ||||
|             this.buttonLine1.NestedClickEventPrevent = false; | ||||
|             this.buttonLine1.OutlinePixel = 1; | ||||
|             this.buttonLine1.RepeatInterval = 200; | ||||
|             this.buttonLine1.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine1.SafeInterval = 200; | ||||
|             this.buttonLine1.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine1.TabIndex = 1; | ||||
|             this.buttonLine1.Tag = "A"; | ||||
|             this.buttonLine1.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine1.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine1.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine1.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine1.UpImage"))); | ||||
|             this.buttonLine1.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane1.BackPictureBox = null; | ||||
|             this.buttonLane1.BackPictureBox1 = null; | ||||
|             this.buttonLane1.BackPictureBox2 = null; | ||||
|             this.buttonLane1.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane1.ButtonImageAutoSize = true; | ||||
|             this.buttonLane1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane1.DisableImage = null; | ||||
|             this.buttonLane1.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane1.DownImage"))); | ||||
|             this.buttonLane1.GroupID = 0; | ||||
|             this.buttonLane1.InitVisible = true; | ||||
|             this.buttonLane1.Location = new System.Drawing.Point(27, 13); | ||||
|             this.buttonLane1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane1.Name = "buttonLane1"; | ||||
|             this.buttonLane1.NestedClickEventPrevent = false; | ||||
|             this.buttonLane1.OutlinePixel = 1; | ||||
|             this.buttonLane1.RepeatInterval = 200; | ||||
|             this.buttonLane1.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane1.SafeInterval = 200; | ||||
|             this.buttonLane1.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane1.TabIndex = 1; | ||||
|             this.buttonLane1.Tag = "A"; | ||||
|             this.buttonLane1.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane1.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane1.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane1.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane1.UpImage"))); | ||||
|             this.buttonLane1.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine2 | ||||
|             // buttonLane2 | ||||
|             //  | ||||
|             this.buttonLine2.BackPictureBox = null; | ||||
|             this.buttonLine2.BackPictureBox1 = null; | ||||
|             this.buttonLine2.BackPictureBox2 = null; | ||||
|             this.buttonLine2.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine2.ButtonImageAutoSize = true; | ||||
|             this.buttonLine2.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine2.DisableImage = null; | ||||
|             this.buttonLine2.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine2.DownImage"))); | ||||
|             this.buttonLine2.GroupID = 0; | ||||
|             this.buttonLine2.InitVisible = true; | ||||
|             this.buttonLine2.Location = new System.Drawing.Point(223, 13); | ||||
|             this.buttonLine2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine2.Name = "buttonLine2"; | ||||
|             this.buttonLine2.NestedClickEventPrevent = false; | ||||
|             this.buttonLine2.OutlinePixel = 1; | ||||
|             this.buttonLine2.RepeatInterval = 200; | ||||
|             this.buttonLine2.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine2.SafeInterval = 200; | ||||
|             this.buttonLine2.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine2.TabIndex = 1; | ||||
|             this.buttonLine2.Tag = "B"; | ||||
|             this.buttonLine2.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine2.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine2.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine2.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine2.UpImage"))); | ||||
|             this.buttonLine2.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane2.BackPictureBox = null; | ||||
|             this.buttonLane2.BackPictureBox1 = null; | ||||
|             this.buttonLane2.BackPictureBox2 = null; | ||||
|             this.buttonLane2.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane2.ButtonImageAutoSize = true; | ||||
|             this.buttonLane2.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane2.DisableImage = null; | ||||
|             this.buttonLane2.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane2.DownImage"))); | ||||
|             this.buttonLane2.GroupID = 0; | ||||
|             this.buttonLane2.InitVisible = true; | ||||
|             this.buttonLane2.Location = new System.Drawing.Point(223, 13); | ||||
|             this.buttonLane2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane2.Name = "buttonLane2"; | ||||
|             this.buttonLane2.NestedClickEventPrevent = false; | ||||
|             this.buttonLane2.OutlinePixel = 1; | ||||
|             this.buttonLane2.RepeatInterval = 200; | ||||
|             this.buttonLane2.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane2.SafeInterval = 200; | ||||
|             this.buttonLane2.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane2.TabIndex = 1; | ||||
|             this.buttonLane2.Tag = "B"; | ||||
|             this.buttonLane2.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane2.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane2.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane2.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane2.UpImage"))); | ||||
|             this.buttonLane2.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine3 | ||||
|             // buttonLane3 | ||||
|             //  | ||||
|             this.buttonLine3.BackPictureBox = null; | ||||
|             this.buttonLine3.BackPictureBox1 = null; | ||||
|             this.buttonLine3.BackPictureBox2 = null; | ||||
|             this.buttonLine3.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine3.ButtonImageAutoSize = true; | ||||
|             this.buttonLine3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine3.DisableImage = null; | ||||
|             this.buttonLine3.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine3.DownImage"))); | ||||
|             this.buttonLine3.GroupID = 0; | ||||
|             this.buttonLine3.InitVisible = true; | ||||
|             this.buttonLine3.Location = new System.Drawing.Point(419, 13); | ||||
|             this.buttonLine3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine3.Name = "buttonLine3"; | ||||
|             this.buttonLine3.NestedClickEventPrevent = false; | ||||
|             this.buttonLine3.OutlinePixel = 1; | ||||
|             this.buttonLine3.RepeatInterval = 200; | ||||
|             this.buttonLine3.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine3.SafeInterval = 200; | ||||
|             this.buttonLine3.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine3.TabIndex = 1; | ||||
|             this.buttonLine3.Tag = "C"; | ||||
|             this.buttonLine3.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine3.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine3.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine3.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine3.UpImage"))); | ||||
|             this.buttonLine3.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane3.BackPictureBox = null; | ||||
|             this.buttonLane3.BackPictureBox1 = null; | ||||
|             this.buttonLane3.BackPictureBox2 = null; | ||||
|             this.buttonLane3.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane3.ButtonImageAutoSize = true; | ||||
|             this.buttonLane3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane3.DisableImage = null; | ||||
|             this.buttonLane3.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane3.DownImage"))); | ||||
|             this.buttonLane3.GroupID = 0; | ||||
|             this.buttonLane3.InitVisible = true; | ||||
|             this.buttonLane3.Location = new System.Drawing.Point(419, 13); | ||||
|             this.buttonLane3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane3.Name = "buttonLane3"; | ||||
|             this.buttonLane3.NestedClickEventPrevent = false; | ||||
|             this.buttonLane3.OutlinePixel = 1; | ||||
|             this.buttonLane3.RepeatInterval = 200; | ||||
|             this.buttonLane3.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane3.SafeInterval = 200; | ||||
|             this.buttonLane3.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane3.TabIndex = 1; | ||||
|             this.buttonLane3.Tag = "C"; | ||||
|             this.buttonLane3.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane3.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane3.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane3.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane3.UpImage"))); | ||||
|             this.buttonLane3.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine4 | ||||
|             // buttonLane4 | ||||
|             //  | ||||
|             this.buttonLine4.BackPictureBox = null; | ||||
|             this.buttonLine4.BackPictureBox1 = null; | ||||
|             this.buttonLine4.BackPictureBox2 = null; | ||||
|             this.buttonLine4.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine4.ButtonImageAutoSize = true; | ||||
|             this.buttonLine4.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine4.DisableImage = null; | ||||
|             this.buttonLine4.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine4.DownImage"))); | ||||
|             this.buttonLine4.GroupID = 0; | ||||
|             this.buttonLine4.InitVisible = true; | ||||
|             this.buttonLine4.Location = new System.Drawing.Point(615, 13); | ||||
|             this.buttonLine4.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine4.Name = "buttonLine4"; | ||||
|             this.buttonLine4.NestedClickEventPrevent = false; | ||||
|             this.buttonLine4.OutlinePixel = 1; | ||||
|             this.buttonLine4.RepeatInterval = 200; | ||||
|             this.buttonLine4.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine4.SafeInterval = 200; | ||||
|             this.buttonLine4.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine4.TabIndex = 1; | ||||
|             this.buttonLine4.Tag = "D"; | ||||
|             this.buttonLine4.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine4.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine4.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine4.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine4.UpImage"))); | ||||
|             this.buttonLine4.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane4.BackPictureBox = null; | ||||
|             this.buttonLane4.BackPictureBox1 = null; | ||||
|             this.buttonLane4.BackPictureBox2 = null; | ||||
|             this.buttonLane4.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane4.ButtonImageAutoSize = true; | ||||
|             this.buttonLane4.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane4.DisableImage = null; | ||||
|             this.buttonLane4.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane4.DownImage"))); | ||||
|             this.buttonLane4.GroupID = 0; | ||||
|             this.buttonLane4.InitVisible = true; | ||||
|             this.buttonLane4.Location = new System.Drawing.Point(615, 13); | ||||
|             this.buttonLane4.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane4.Name = "buttonLane4"; | ||||
|             this.buttonLane4.NestedClickEventPrevent = false; | ||||
|             this.buttonLane4.OutlinePixel = 1; | ||||
|             this.buttonLane4.RepeatInterval = 200; | ||||
|             this.buttonLane4.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane4.SafeInterval = 200; | ||||
|             this.buttonLane4.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane4.TabIndex = 1; | ||||
|             this.buttonLane4.Tag = "D"; | ||||
|             this.buttonLane4.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane4.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane4.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane4.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane4.UpImage"))); | ||||
|             this.buttonLane4.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine5 | ||||
|             // buttonLane5 | ||||
|             //  | ||||
|             this.buttonLine5.BackPictureBox = null; | ||||
|             this.buttonLine5.BackPictureBox1 = null; | ||||
|             this.buttonLine5.BackPictureBox2 = null; | ||||
|             this.buttonLine5.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine5.ButtonImageAutoSize = true; | ||||
|             this.buttonLine5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine5.DisableImage = null; | ||||
|             this.buttonLine5.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine5.DownImage"))); | ||||
|             this.buttonLine5.GroupID = 0; | ||||
|             this.buttonLine5.InitVisible = true; | ||||
|             this.buttonLine5.Location = new System.Drawing.Point(811, 13); | ||||
|             this.buttonLine5.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine5.Name = "buttonLine5"; | ||||
|             this.buttonLine5.NestedClickEventPrevent = false; | ||||
|             this.buttonLine5.OutlinePixel = 1; | ||||
|             this.buttonLine5.RepeatInterval = 200; | ||||
|             this.buttonLine5.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine5.SafeInterval = 200; | ||||
|             this.buttonLine5.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine5.TabIndex = 1; | ||||
|             this.buttonLine5.Tag = "E"; | ||||
|             this.buttonLine5.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine5.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine5.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine5.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine5.UpImage"))); | ||||
|             this.buttonLine5.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane5.BackPictureBox = null; | ||||
|             this.buttonLane5.BackPictureBox1 = null; | ||||
|             this.buttonLane5.BackPictureBox2 = null; | ||||
|             this.buttonLane5.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane5.ButtonImageAutoSize = true; | ||||
|             this.buttonLane5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane5.DisableImage = null; | ||||
|             this.buttonLane5.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane5.DownImage"))); | ||||
|             this.buttonLane5.GroupID = 0; | ||||
|             this.buttonLane5.InitVisible = true; | ||||
|             this.buttonLane5.Location = new System.Drawing.Point(811, 13); | ||||
|             this.buttonLane5.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane5.Name = "buttonLane5"; | ||||
|             this.buttonLane5.NestedClickEventPrevent = false; | ||||
|             this.buttonLane5.OutlinePixel = 1; | ||||
|             this.buttonLane5.RepeatInterval = 200; | ||||
|             this.buttonLane5.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane5.SafeInterval = 200; | ||||
|             this.buttonLane5.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane5.TabIndex = 1; | ||||
|             this.buttonLane5.Tag = "E"; | ||||
|             this.buttonLane5.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane5.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane5.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane5.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane5.UpImage"))); | ||||
|             this.buttonLane5.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine6 | ||||
|             // buttonLane6 | ||||
|             //  | ||||
|             this.buttonLine6.BackPictureBox = null; | ||||
|             this.buttonLine6.BackPictureBox1 = null; | ||||
|             this.buttonLine6.BackPictureBox2 = null; | ||||
|             this.buttonLine6.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine6.ButtonImageAutoSize = true; | ||||
|             this.buttonLine6.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine6.DisableImage = null; | ||||
|             this.buttonLine6.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine6.DownImage"))); | ||||
|             this.buttonLine6.GroupID = 0; | ||||
|             this.buttonLine6.InitVisible = true; | ||||
|             this.buttonLine6.Location = new System.Drawing.Point(27, 248); | ||||
|             this.buttonLine6.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine6.Name = "buttonLine6"; | ||||
|             this.buttonLine6.NestedClickEventPrevent = false; | ||||
|             this.buttonLine6.OutlinePixel = 1; | ||||
|             this.buttonLine6.RepeatInterval = 200; | ||||
|             this.buttonLine6.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine6.SafeInterval = 200; | ||||
|             this.buttonLine6.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine6.TabIndex = 1; | ||||
|             this.buttonLine6.Tag = "F"; | ||||
|             this.buttonLine6.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine6.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine6.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine6.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine6.UpImage"))); | ||||
|             this.buttonLine6.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane6.BackPictureBox = null; | ||||
|             this.buttonLane6.BackPictureBox1 = null; | ||||
|             this.buttonLane6.BackPictureBox2 = null; | ||||
|             this.buttonLane6.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane6.ButtonImageAutoSize = true; | ||||
|             this.buttonLane6.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane6.DisableImage = null; | ||||
|             this.buttonLane6.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane6.DownImage"))); | ||||
|             this.buttonLane6.GroupID = 0; | ||||
|             this.buttonLane6.InitVisible = true; | ||||
|             this.buttonLane6.Location = new System.Drawing.Point(27, 248); | ||||
|             this.buttonLane6.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane6.Name = "buttonLane6"; | ||||
|             this.buttonLane6.NestedClickEventPrevent = false; | ||||
|             this.buttonLane6.OutlinePixel = 1; | ||||
|             this.buttonLane6.RepeatInterval = 200; | ||||
|             this.buttonLane6.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane6.SafeInterval = 200; | ||||
|             this.buttonLane6.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane6.TabIndex = 1; | ||||
|             this.buttonLane6.Tag = "F"; | ||||
|             this.buttonLane6.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane6.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane6.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane6.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane6.UpImage"))); | ||||
|             this.buttonLane6.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine7 | ||||
|             // buttonLane7 | ||||
|             //  | ||||
|             this.buttonLine7.BackPictureBox = null; | ||||
|             this.buttonLine7.BackPictureBox1 = null; | ||||
|             this.buttonLine7.BackPictureBox2 = null; | ||||
|             this.buttonLine7.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine7.ButtonImageAutoSize = true; | ||||
|             this.buttonLine7.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine7.DisableImage = null; | ||||
|             this.buttonLine7.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine7.DownImage"))); | ||||
|             this.buttonLine7.GroupID = 0; | ||||
|             this.buttonLine7.InitVisible = true; | ||||
|             this.buttonLine7.Location = new System.Drawing.Point(223, 248); | ||||
|             this.buttonLine7.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine7.Name = "buttonLine7"; | ||||
|             this.buttonLine7.NestedClickEventPrevent = false; | ||||
|             this.buttonLine7.OutlinePixel = 1; | ||||
|             this.buttonLine7.RepeatInterval = 200; | ||||
|             this.buttonLine7.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine7.SafeInterval = 200; | ||||
|             this.buttonLine7.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine7.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine7.TabIndex = 1; | ||||
|             this.buttonLine7.Tag = "G"; | ||||
|             this.buttonLine7.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine7.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine7.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine7.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine7.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine7.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine7.UpImage"))); | ||||
|             this.buttonLine7.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane7.BackPictureBox = null; | ||||
|             this.buttonLane7.BackPictureBox1 = null; | ||||
|             this.buttonLane7.BackPictureBox2 = null; | ||||
|             this.buttonLane7.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane7.ButtonImageAutoSize = true; | ||||
|             this.buttonLane7.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane7.DisableImage = null; | ||||
|             this.buttonLane7.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane7.DownImage"))); | ||||
|             this.buttonLane7.GroupID = 0; | ||||
|             this.buttonLane7.InitVisible = true; | ||||
|             this.buttonLane7.Location = new System.Drawing.Point(223, 248); | ||||
|             this.buttonLane7.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane7.Name = "buttonLane7"; | ||||
|             this.buttonLane7.NestedClickEventPrevent = false; | ||||
|             this.buttonLane7.OutlinePixel = 1; | ||||
|             this.buttonLane7.RepeatInterval = 200; | ||||
|             this.buttonLane7.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane7.SafeInterval = 200; | ||||
|             this.buttonLane7.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane7.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane7.TabIndex = 1; | ||||
|             this.buttonLane7.Tag = "G"; | ||||
|             this.buttonLane7.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane7.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane7.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane7.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane7.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane7.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane7.UpImage"))); | ||||
|             this.buttonLane7.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine8 | ||||
|             // buttonLane8 | ||||
|             //  | ||||
|             this.buttonLine8.BackPictureBox = null; | ||||
|             this.buttonLine8.BackPictureBox1 = null; | ||||
|             this.buttonLine8.BackPictureBox2 = null; | ||||
|             this.buttonLine8.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine8.ButtonImageAutoSize = true; | ||||
|             this.buttonLine8.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine8.DisableImage = null; | ||||
|             this.buttonLine8.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine8.DownImage"))); | ||||
|             this.buttonLine8.GroupID = 0; | ||||
|             this.buttonLine8.InitVisible = true; | ||||
|             this.buttonLine8.Location = new System.Drawing.Point(419, 248); | ||||
|             this.buttonLine8.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine8.Name = "buttonLine8"; | ||||
|             this.buttonLine8.NestedClickEventPrevent = false; | ||||
|             this.buttonLine8.OutlinePixel = 1; | ||||
|             this.buttonLine8.RepeatInterval = 200; | ||||
|             this.buttonLine8.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine8.SafeInterval = 200; | ||||
|             this.buttonLine8.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine8.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine8.TabIndex = 1; | ||||
|             this.buttonLine8.Tag = "H"; | ||||
|             this.buttonLine8.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine8.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine8.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine8.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine8.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine8.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine8.UpImage"))); | ||||
|             this.buttonLine8.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane8.BackPictureBox = null; | ||||
|             this.buttonLane8.BackPictureBox1 = null; | ||||
|             this.buttonLane8.BackPictureBox2 = null; | ||||
|             this.buttonLane8.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane8.ButtonImageAutoSize = true; | ||||
|             this.buttonLane8.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane8.DisableImage = null; | ||||
|             this.buttonLane8.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane8.DownImage"))); | ||||
|             this.buttonLane8.GroupID = 0; | ||||
|             this.buttonLane8.InitVisible = true; | ||||
|             this.buttonLane8.Location = new System.Drawing.Point(419, 248); | ||||
|             this.buttonLane8.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane8.Name = "buttonLane8"; | ||||
|             this.buttonLane8.NestedClickEventPrevent = false; | ||||
|             this.buttonLane8.OutlinePixel = 1; | ||||
|             this.buttonLane8.RepeatInterval = 200; | ||||
|             this.buttonLane8.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane8.SafeInterval = 200; | ||||
|             this.buttonLane8.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane8.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane8.TabIndex = 1; | ||||
|             this.buttonLane8.Tag = "H"; | ||||
|             this.buttonLane8.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane8.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane8.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane8.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane8.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane8.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane8.UpImage"))); | ||||
|             this.buttonLane8.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine9 | ||||
|             // buttonLane9 | ||||
|             //  | ||||
|             this.buttonLine9.BackPictureBox = null; | ||||
|             this.buttonLine9.BackPictureBox1 = null; | ||||
|             this.buttonLine9.BackPictureBox2 = null; | ||||
|             this.buttonLine9.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine9.ButtonImageAutoSize = true; | ||||
|             this.buttonLine9.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine9.DisableImage = null; | ||||
|             this.buttonLine9.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine9.DownImage"))); | ||||
|             this.buttonLine9.GroupID = 0; | ||||
|             this.buttonLine9.InitVisible = true; | ||||
|             this.buttonLine9.Location = new System.Drawing.Point(615, 248); | ||||
|             this.buttonLine9.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine9.Name = "buttonLine9"; | ||||
|             this.buttonLine9.NestedClickEventPrevent = false; | ||||
|             this.buttonLine9.OutlinePixel = 1; | ||||
|             this.buttonLine9.RepeatInterval = 200; | ||||
|             this.buttonLine9.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine9.SafeInterval = 200; | ||||
|             this.buttonLine9.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine9.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine9.TabIndex = 1; | ||||
|             this.buttonLine9.Tag = "I"; | ||||
|             this.buttonLine9.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine9.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine9.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine9.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine9.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine9.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine9.UpImage"))); | ||||
|             this.buttonLine9.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane9.BackPictureBox = null; | ||||
|             this.buttonLane9.BackPictureBox1 = null; | ||||
|             this.buttonLane9.BackPictureBox2 = null; | ||||
|             this.buttonLane9.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane9.ButtonImageAutoSize = true; | ||||
|             this.buttonLane9.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane9.DisableImage = null; | ||||
|             this.buttonLane9.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane9.DownImage"))); | ||||
|             this.buttonLane9.GroupID = 0; | ||||
|             this.buttonLane9.InitVisible = true; | ||||
|             this.buttonLane9.Location = new System.Drawing.Point(615, 248); | ||||
|             this.buttonLane9.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane9.Name = "buttonLane9"; | ||||
|             this.buttonLane9.NestedClickEventPrevent = false; | ||||
|             this.buttonLane9.OutlinePixel = 1; | ||||
|             this.buttonLane9.RepeatInterval = 200; | ||||
|             this.buttonLane9.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane9.SafeInterval = 200; | ||||
|             this.buttonLane9.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane9.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane9.TabIndex = 1; | ||||
|             this.buttonLane9.Tag = "I"; | ||||
|             this.buttonLane9.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane9.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane9.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane9.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane9.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane9.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane9.UpImage"))); | ||||
|             this.buttonLane9.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine10 | ||||
|             // buttonLane10 | ||||
|             //  | ||||
|             this.buttonLine10.BackPictureBox = null; | ||||
|             this.buttonLine10.BackPictureBox1 = null; | ||||
|             this.buttonLine10.BackPictureBox2 = null; | ||||
|             this.buttonLine10.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine10.ButtonImageAutoSize = true; | ||||
|             this.buttonLine10.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine10.DisableImage = null; | ||||
|             this.buttonLine10.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine10.DownImage"))); | ||||
|             this.buttonLine10.GroupID = 0; | ||||
|             this.buttonLine10.InitVisible = true; | ||||
|             this.buttonLine10.Location = new System.Drawing.Point(811, 248); | ||||
|             this.buttonLine10.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine10.Name = "buttonLine10"; | ||||
|             this.buttonLine10.NestedClickEventPrevent = false; | ||||
|             this.buttonLine10.OutlinePixel = 1; | ||||
|             this.buttonLine10.RepeatInterval = 200; | ||||
|             this.buttonLine10.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine10.SafeInterval = 200; | ||||
|             this.buttonLine10.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLine10.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine10.TabIndex = 1; | ||||
|             this.buttonLine10.Tag = "J"; | ||||
|             this.buttonLine10.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine10.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine10.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine10.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine10.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine10.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine10.UpImage"))); | ||||
|             this.buttonLine10.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane10.BackPictureBox = null; | ||||
|             this.buttonLane10.BackPictureBox1 = null; | ||||
|             this.buttonLane10.BackPictureBox2 = null; | ||||
|             this.buttonLane10.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane10.ButtonImageAutoSize = true; | ||||
|             this.buttonLane10.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane10.DisableImage = null; | ||||
|             this.buttonLane10.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane10.DownImage"))); | ||||
|             this.buttonLane10.GroupID = 0; | ||||
|             this.buttonLane10.InitVisible = true; | ||||
|             this.buttonLane10.Location = new System.Drawing.Point(811, 248); | ||||
|             this.buttonLane10.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane10.Name = "buttonLane10"; | ||||
|             this.buttonLane10.NestedClickEventPrevent = false; | ||||
|             this.buttonLane10.OutlinePixel = 1; | ||||
|             this.buttonLane10.RepeatInterval = 200; | ||||
|             this.buttonLane10.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane10.SafeInterval = 200; | ||||
|             this.buttonLane10.Size = new System.Drawing.Size(190, 120); | ||||
|             this.buttonLane10.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane10.TabIndex = 1; | ||||
|             this.buttonLane10.Tag = "J"; | ||||
|             this.buttonLane10.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane10.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane10.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane10.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane10.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane10.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane10.UpImage"))); | ||||
|             this.buttonLane10.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // smartLabel1 | ||||
|             //  | ||||
|  | @ -1237,16 +1237,16 @@ | |||
|             this.smartGroupBox1.Controls.Add(this.smartLabel3); | ||||
|             this.smartGroupBox1.Controls.Add(this.smartLabel2); | ||||
|             this.smartGroupBox1.Controls.Add(this.smartLabel1); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine10); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine9); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine8); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine7); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine6); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine5); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine4); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine3); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine2); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine1); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane10); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane9); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane8); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane7); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane6); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane5); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane4); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane3); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane2); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane1); | ||||
|             this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.Black; | ||||
|             this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.Black; | ||||
|             this.smartGroupBox1.FrameLineThickness = 1; | ||||
|  | @ -1275,16 +1275,16 @@ | |||
| 
 | ||||
|         #endregion | ||||
| 
 | ||||
|         private SmartX.SmartButton buttonLine1; | ||||
|         private SmartX.SmartButton buttonLine2; | ||||
|         private SmartX.SmartButton buttonLine3; | ||||
|         private SmartX.SmartButton buttonLine4; | ||||
|         private SmartX.SmartButton buttonLine5; | ||||
|         private SmartX.SmartButton buttonLine6; | ||||
|         private SmartX.SmartButton buttonLine7; | ||||
|         private SmartX.SmartButton buttonLine8; | ||||
|         private SmartX.SmartButton buttonLine9; | ||||
|         private SmartX.SmartButton buttonLine10; | ||||
|         private SmartX.SmartButton buttonLane1; | ||||
|         private SmartX.SmartButton buttonLane2; | ||||
|         private SmartX.SmartButton buttonLane3; | ||||
|         private SmartX.SmartButton buttonLane4; | ||||
|         private SmartX.SmartButton buttonLane5; | ||||
|         private SmartX.SmartButton buttonLane6; | ||||
|         private SmartX.SmartButton buttonLane7; | ||||
|         private SmartX.SmartButton buttonLane8; | ||||
|         private SmartX.SmartButton buttonLane9; | ||||
|         private SmartX.SmartButton buttonLane10; | ||||
|         private SmartX.SmartLabel smartLabel1; | ||||
|         private SmartX.SmartLabel smartLabel2; | ||||
|         private SmartX.SmartLabel smartLabel3; | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ namespace INT63DC_2C.Controls | |||
|         private Color NormalColor = Color.Black; | ||||
|         private Color FinishColor = Color.Blue; | ||||
| 
 | ||||
|         private Collection<SmartButton> CollectionButtonLine; | ||||
|         private Collection<SmartButton> CollectionButtonLane; | ||||
|         private Collection<SmartLabel> CollectionLabelWeight; | ||||
|         private Collection<SmartLabel> CollectionLabelADC; | ||||
|         private Collection<SmartLabel> CollectionLabelConstant; | ||||
|  | @ -47,68 +47,28 @@ namespace INT63DC_2C.Controls | |||
|             get { return this.m_ParentForm; } | ||||
|             private set { this.m_ParentForm = value; } | ||||
|         } | ||||
|         private int EquipmentColumns { get { return this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; } } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Method | ||||
|         private void CreateCollection() | ||||
|         { | ||||
|             this.CollectionButtonLine = new Collection<SmartButton>(); | ||||
|             this.CollectionButtonLane = new Collection<SmartButton>(); | ||||
|             this.CollectionLabelWeight = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelADC = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelConstant = new Collection<SmartLabel>(); | ||||
| 
 | ||||
|             this.CollectionButtonLine.Clear(); | ||||
|             this.CollectionLabelWeight.Clear(); | ||||
|             this.CollectionLabelADC.Clear(); | ||||
|             this.CollectionLabelConstant.Clear(); | ||||
| 
 | ||||
|             this.CollectionButtonLine.Add(this.buttonLine1); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine2); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine3); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine4); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine5); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine6); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine7); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine8); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine9); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine10); | ||||
| 
 | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight1); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight2); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight3); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight4); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight5); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight6); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight7); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight8); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight9); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight10); | ||||
| 
 | ||||
|             this.CollectionLabelADC.Add(this.labelADC1); | ||||
|             this.CollectionLabelADC.Add(this.labelADC2); | ||||
|             this.CollectionLabelADC.Add(this.labelADC3); | ||||
|             this.CollectionLabelADC.Add(this.labelADC4); | ||||
|             this.CollectionLabelADC.Add(this.labelADC5); | ||||
|             this.CollectionLabelADC.Add(this.labelADC6); | ||||
|             this.CollectionLabelADC.Add(this.labelADC7); | ||||
|             this.CollectionLabelADC.Add(this.labelADC8); | ||||
|             this.CollectionLabelADC.Add(this.labelADC9); | ||||
|             this.CollectionLabelADC.Add(this.labelADC10); | ||||
| 
 | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant1); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant2); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant3); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant4); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant5); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant6); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant7); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant8); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant9); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant10); | ||||
|             for (int i = 1; i <= this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionButtonLane.Add(FindByNameUtil.SmartButton("buttonLane" + i, this)); | ||||
|                 this.CollectionLabelWeight.Add(FindByNameUtil.SmartLabel("labelWeight" + i, this)); | ||||
|                 this.CollectionLabelADC.Add(FindByNameUtil.SmartLabel("labelADC" + i, this)); | ||||
|                 this.CollectionLabelConstant.Add(FindByNameUtil.SmartLabel("labelConstant" + i, this)); | ||||
|             } | ||||
|         } | ||||
|         private void InitilizeControls() | ||||
|         { | ||||
|             for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++) | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionLabelWeight[i].Text = "0.0"; | ||||
|                 this.CollectionLabelADC[i].Text = "0.0"; | ||||
|  | @ -122,12 +82,12 @@ namespace INT63DC_2C.Controls | |||
| 
 | ||||
|         public void DisplayRefresh() | ||||
|         { | ||||
|             if (this.CollectionButtonLine == null || this.CollectionButtonLine.Count == 0) | ||||
|             if (this.CollectionButtonLane == null || this.CollectionButtonLane.Count == 0) | ||||
|                 return; | ||||
| 
 | ||||
|             for (int i = 0; i < this.CollectionButtonLine.Count; i++) | ||||
|             for (int i = 0; i < this.CollectionButtonLane.Count; i++) | ||||
|             { | ||||
|                 this.CollectionButtonLine[i].ButtonUp(); | ||||
|                 this.CollectionButtonLane[i].ButtonUp(); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|  | @ -136,7 +96,7 @@ namespace INT63DC_2C.Controls | |||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpBalance(); | ||||
|              | ||||
|             foreach (SmartButton bt in this.CollectionButtonLine) | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, bt.Tag.ToString()); | ||||
|  | @ -149,7 +109,7 @@ namespace INT63DC_2C.Controls | |||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpStart(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLine) | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, bt.Tag.ToString()); | ||||
|  | @ -164,7 +124,7 @@ namespace INT63DC_2C.Controls | |||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpCancel(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLine) | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, bt.Tag.ToString()); | ||||
|  | @ -226,7 +186,7 @@ namespace INT63DC_2C.Controls | |||
| 
 | ||||
|             for (int i = 0; i < weights.Count; i++) | ||||
|             { | ||||
|                 if (this.CollectionButtonLine[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                 if (this.CollectionButtonLane[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                 { | ||||
|                     this.UpdateLabelWeight(this.CollectionLabelWeight[i], this.CollectionLabelADC[i], weights[i], true); | ||||
|                 } | ||||
|  | @ -276,7 +236,7 @@ namespace INT63DC_2C.Controls | |||
|                         this.ParentForm.UpdateDisplayHelpCalFinish(); | ||||
|                          | ||||
|                         this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLine) | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLane) | ||||
|                             bt.Enabled = true; | ||||
|                     } | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|  | @ -290,7 +250,7 @@ namespace INT63DC_2C.Controls | |||
|                         this.ParentForm.UpdateDisplayHelpCalError(); | ||||
|                        | ||||
|                         this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLine) | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLane) | ||||
|                             bt.Enabled = true; | ||||
|                     } | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -69,18 +69,18 @@ | |||
|             this.smartLabel3 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel2 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel1 = new SmartX.SmartLabel(); | ||||
|             this.buttonLine1 = new SmartX.SmartButton(); | ||||
|             this.buttonLine2 = new SmartX.SmartButton(); | ||||
|             this.buttonLine3 = new SmartX.SmartButton(); | ||||
|             this.buttonLine4 = new SmartX.SmartButton(); | ||||
|             this.buttonLine5 = new SmartX.SmartButton(); | ||||
|             this.buttonLine6 = new SmartX.SmartButton(); | ||||
|             this.buttonLine7 = new SmartX.SmartButton(); | ||||
|             this.buttonLine8 = new SmartX.SmartButton(); | ||||
|             this.buttonLine9 = new SmartX.SmartButton(); | ||||
|             this.buttonLine10 = new SmartX.SmartButton(); | ||||
|             this.buttonLine11 = new SmartX.SmartButton(); | ||||
|             this.buttonLine12 = new SmartX.SmartButton(); | ||||
|             this.buttonLane1 = new SmartX.SmartButton(); | ||||
|             this.buttonLane2 = new SmartX.SmartButton(); | ||||
|             this.buttonLane3 = new SmartX.SmartButton(); | ||||
|             this.buttonLane4 = new SmartX.SmartButton(); | ||||
|             this.buttonLane5 = new SmartX.SmartButton(); | ||||
|             this.buttonLane6 = new SmartX.SmartButton(); | ||||
|             this.buttonLane7 = new SmartX.SmartButton(); | ||||
|             this.buttonLane8 = new SmartX.SmartButton(); | ||||
|             this.buttonLane9 = new SmartX.SmartButton(); | ||||
|             this.buttonLane10 = new SmartX.SmartButton(); | ||||
|             this.buttonLane11 = new SmartX.SmartButton(); | ||||
|             this.buttonLane12 = new SmartX.SmartButton(); | ||||
|             this.smartLabel11 = new SmartX.SmartLabel(); | ||||
|             this.labelWeight11 = new SmartX.SmartLabel(); | ||||
|             this.labelADC11 = new SmartX.SmartLabel(); | ||||
|  | @ -883,389 +883,389 @@ | |||
|             this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel1.Wordwrap = false; | ||||
|             //  | ||||
|             // buttonLine1 | ||||
|             // buttonLane1 | ||||
|             //  | ||||
|             this.buttonLine1.BackPictureBox = null; | ||||
|             this.buttonLine1.BackPictureBox1 = null; | ||||
|             this.buttonLine1.BackPictureBox2 = null; | ||||
|             this.buttonLine1.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine1.ButtonImageAutoSize = true; | ||||
|             this.buttonLine1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine1.DisableImage = null; | ||||
|             this.buttonLine1.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine1.DownImage"))); | ||||
|             this.buttonLine1.GroupID = 0; | ||||
|             this.buttonLine1.InitVisible = true; | ||||
|             this.buttonLine1.Location = new System.Drawing.Point(27, 13); | ||||
|             this.buttonLine1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine1.Name = "buttonLine1"; | ||||
|             this.buttonLine1.NestedClickEventPrevent = false; | ||||
|             this.buttonLine1.OutlinePixel = 1; | ||||
|             this.buttonLine1.RepeatInterval = 200; | ||||
|             this.buttonLine1.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine1.SafeInterval = 200; | ||||
|             this.buttonLine1.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine1.TabIndex = 55; | ||||
|             this.buttonLine1.Tag = "A"; | ||||
|             this.buttonLine1.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine1.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine1.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine1.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine1.UpImage"))); | ||||
|             this.buttonLine1.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane1.BackPictureBox = null; | ||||
|             this.buttonLane1.BackPictureBox1 = null; | ||||
|             this.buttonLane1.BackPictureBox2 = null; | ||||
|             this.buttonLane1.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane1.ButtonImageAutoSize = true; | ||||
|             this.buttonLane1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane1.DisableImage = null; | ||||
|             this.buttonLane1.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane1.DownImage"))); | ||||
|             this.buttonLane1.GroupID = 0; | ||||
|             this.buttonLane1.InitVisible = true; | ||||
|             this.buttonLane1.Location = new System.Drawing.Point(27, 13); | ||||
|             this.buttonLane1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane1.Name = "buttonLane1"; | ||||
|             this.buttonLane1.NestedClickEventPrevent = false; | ||||
|             this.buttonLane1.OutlinePixel = 1; | ||||
|             this.buttonLane1.RepeatInterval = 200; | ||||
|             this.buttonLane1.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane1.SafeInterval = 200; | ||||
|             this.buttonLane1.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane1.TabIndex = 55; | ||||
|             this.buttonLane1.Tag = "A"; | ||||
|             this.buttonLane1.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane1.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane1.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane1.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane1.UpImage"))); | ||||
|             this.buttonLane1.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine2 | ||||
|             // buttonLane2 | ||||
|             //  | ||||
|             this.buttonLine2.BackPictureBox = null; | ||||
|             this.buttonLine2.BackPictureBox1 = null; | ||||
|             this.buttonLine2.BackPictureBox2 = null; | ||||
|             this.buttonLine2.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine2.ButtonImageAutoSize = true; | ||||
|             this.buttonLine2.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine2.DisableImage = null; | ||||
|             this.buttonLine2.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine2.DownImage"))); | ||||
|             this.buttonLine2.GroupID = 0; | ||||
|             this.buttonLine2.InitVisible = true; | ||||
|             this.buttonLine2.Location = new System.Drawing.Point(189, 13); | ||||
|             this.buttonLine2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine2.Name = "buttonLine2"; | ||||
|             this.buttonLine2.NestedClickEventPrevent = false; | ||||
|             this.buttonLine2.OutlinePixel = 1; | ||||
|             this.buttonLine2.RepeatInterval = 200; | ||||
|             this.buttonLine2.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine2.SafeInterval = 200; | ||||
|             this.buttonLine2.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine2.TabIndex = 55; | ||||
|             this.buttonLine2.Tag = "B"; | ||||
|             this.buttonLine2.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine2.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine2.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine2.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine2.UpImage"))); | ||||
|             this.buttonLine2.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane2.BackPictureBox = null; | ||||
|             this.buttonLane2.BackPictureBox1 = null; | ||||
|             this.buttonLane2.BackPictureBox2 = null; | ||||
|             this.buttonLane2.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane2.ButtonImageAutoSize = true; | ||||
|             this.buttonLane2.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane2.DisableImage = null; | ||||
|             this.buttonLane2.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane2.DownImage"))); | ||||
|             this.buttonLane2.GroupID = 0; | ||||
|             this.buttonLane2.InitVisible = true; | ||||
|             this.buttonLane2.Location = new System.Drawing.Point(189, 13); | ||||
|             this.buttonLane2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane2.Name = "buttonLane2"; | ||||
|             this.buttonLane2.NestedClickEventPrevent = false; | ||||
|             this.buttonLane2.OutlinePixel = 1; | ||||
|             this.buttonLane2.RepeatInterval = 200; | ||||
|             this.buttonLane2.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane2.SafeInterval = 200; | ||||
|             this.buttonLane2.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane2.TabIndex = 55; | ||||
|             this.buttonLane2.Tag = "B"; | ||||
|             this.buttonLane2.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane2.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane2.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane2.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane2.UpImage"))); | ||||
|             this.buttonLane2.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine3 | ||||
|             // buttonLane3 | ||||
|             //  | ||||
|             this.buttonLine3.BackPictureBox = null; | ||||
|             this.buttonLine3.BackPictureBox1 = null; | ||||
|             this.buttonLine3.BackPictureBox2 = null; | ||||
|             this.buttonLine3.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine3.ButtonImageAutoSize = true; | ||||
|             this.buttonLine3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine3.DisableImage = null; | ||||
|             this.buttonLine3.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine3.DownImage"))); | ||||
|             this.buttonLine3.GroupID = 0; | ||||
|             this.buttonLine3.InitVisible = true; | ||||
|             this.buttonLine3.Location = new System.Drawing.Point(351, 13); | ||||
|             this.buttonLine3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine3.Name = "buttonLine3"; | ||||
|             this.buttonLine3.NestedClickEventPrevent = false; | ||||
|             this.buttonLine3.OutlinePixel = 1; | ||||
|             this.buttonLine3.RepeatInterval = 200; | ||||
|             this.buttonLine3.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine3.SafeInterval = 200; | ||||
|             this.buttonLine3.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine3.TabIndex = 55; | ||||
|             this.buttonLine3.Tag = "C"; | ||||
|             this.buttonLine3.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine3.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine3.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine3.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine3.UpImage"))); | ||||
|             this.buttonLine3.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane3.BackPictureBox = null; | ||||
|             this.buttonLane3.BackPictureBox1 = null; | ||||
|             this.buttonLane3.BackPictureBox2 = null; | ||||
|             this.buttonLane3.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane3.ButtonImageAutoSize = true; | ||||
|             this.buttonLane3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane3.DisableImage = null; | ||||
|             this.buttonLane3.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane3.DownImage"))); | ||||
|             this.buttonLane3.GroupID = 0; | ||||
|             this.buttonLane3.InitVisible = true; | ||||
|             this.buttonLane3.Location = new System.Drawing.Point(351, 13); | ||||
|             this.buttonLane3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane3.Name = "buttonLane3"; | ||||
|             this.buttonLane3.NestedClickEventPrevent = false; | ||||
|             this.buttonLane3.OutlinePixel = 1; | ||||
|             this.buttonLane3.RepeatInterval = 200; | ||||
|             this.buttonLane3.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane3.SafeInterval = 200; | ||||
|             this.buttonLane3.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane3.TabIndex = 55; | ||||
|             this.buttonLane3.Tag = "C"; | ||||
|             this.buttonLane3.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane3.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane3.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane3.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane3.UpImage"))); | ||||
|             this.buttonLane3.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine4 | ||||
|             // buttonLane4 | ||||
|             //  | ||||
|             this.buttonLine4.BackPictureBox = null; | ||||
|             this.buttonLine4.BackPictureBox1 = null; | ||||
|             this.buttonLine4.BackPictureBox2 = null; | ||||
|             this.buttonLine4.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine4.ButtonImageAutoSize = true; | ||||
|             this.buttonLine4.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine4.DisableImage = null; | ||||
|             this.buttonLine4.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine4.DownImage"))); | ||||
|             this.buttonLine4.GroupID = 0; | ||||
|             this.buttonLine4.InitVisible = true; | ||||
|             this.buttonLine4.Location = new System.Drawing.Point(513, 13); | ||||
|             this.buttonLine4.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine4.Name = "buttonLine4"; | ||||
|             this.buttonLine4.NestedClickEventPrevent = false; | ||||
|             this.buttonLine4.OutlinePixel = 1; | ||||
|             this.buttonLine4.RepeatInterval = 200; | ||||
|             this.buttonLine4.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine4.SafeInterval = 200; | ||||
|             this.buttonLine4.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine4.TabIndex = 55; | ||||
|             this.buttonLine4.Tag = "D"; | ||||
|             this.buttonLine4.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine4.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine4.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine4.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine4.UpImage"))); | ||||
|             this.buttonLine4.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane4.BackPictureBox = null; | ||||
|             this.buttonLane4.BackPictureBox1 = null; | ||||
|             this.buttonLane4.BackPictureBox2 = null; | ||||
|             this.buttonLane4.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane4.ButtonImageAutoSize = true; | ||||
|             this.buttonLane4.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane4.DisableImage = null; | ||||
|             this.buttonLane4.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane4.DownImage"))); | ||||
|             this.buttonLane4.GroupID = 0; | ||||
|             this.buttonLane4.InitVisible = true; | ||||
|             this.buttonLane4.Location = new System.Drawing.Point(513, 13); | ||||
|             this.buttonLane4.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane4.Name = "buttonLane4"; | ||||
|             this.buttonLane4.NestedClickEventPrevent = false; | ||||
|             this.buttonLane4.OutlinePixel = 1; | ||||
|             this.buttonLane4.RepeatInterval = 200; | ||||
|             this.buttonLane4.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane4.SafeInterval = 200; | ||||
|             this.buttonLane4.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane4.TabIndex = 55; | ||||
|             this.buttonLane4.Tag = "D"; | ||||
|             this.buttonLane4.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane4.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane4.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane4.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane4.UpImage"))); | ||||
|             this.buttonLane4.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine5 | ||||
|             // buttonLane5 | ||||
|             //  | ||||
|             this.buttonLine5.BackPictureBox = null; | ||||
|             this.buttonLine5.BackPictureBox1 = null; | ||||
|             this.buttonLine5.BackPictureBox2 = null; | ||||
|             this.buttonLine5.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine5.ButtonImageAutoSize = true; | ||||
|             this.buttonLine5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine5.DisableImage = null; | ||||
|             this.buttonLine5.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine5.DownImage"))); | ||||
|             this.buttonLine5.GroupID = 0; | ||||
|             this.buttonLine5.InitVisible = true; | ||||
|             this.buttonLine5.Location = new System.Drawing.Point(675, 13); | ||||
|             this.buttonLine5.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine5.Name = "buttonLine5"; | ||||
|             this.buttonLine5.NestedClickEventPrevent = false; | ||||
|             this.buttonLine5.OutlinePixel = 1; | ||||
|             this.buttonLine5.RepeatInterval = 200; | ||||
|             this.buttonLine5.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine5.SafeInterval = 200; | ||||
|             this.buttonLine5.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine5.TabIndex = 55; | ||||
|             this.buttonLine5.Tag = "E"; | ||||
|             this.buttonLine5.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine5.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine5.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine5.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine5.UpImage"))); | ||||
|             this.buttonLine5.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane5.BackPictureBox = null; | ||||
|             this.buttonLane5.BackPictureBox1 = null; | ||||
|             this.buttonLane5.BackPictureBox2 = null; | ||||
|             this.buttonLane5.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane5.ButtonImageAutoSize = true; | ||||
|             this.buttonLane5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane5.DisableImage = null; | ||||
|             this.buttonLane5.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane5.DownImage"))); | ||||
|             this.buttonLane5.GroupID = 0; | ||||
|             this.buttonLane5.InitVisible = true; | ||||
|             this.buttonLane5.Location = new System.Drawing.Point(675, 13); | ||||
|             this.buttonLane5.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane5.Name = "buttonLane5"; | ||||
|             this.buttonLane5.NestedClickEventPrevent = false; | ||||
|             this.buttonLane5.OutlinePixel = 1; | ||||
|             this.buttonLane5.RepeatInterval = 200; | ||||
|             this.buttonLane5.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane5.SafeInterval = 200; | ||||
|             this.buttonLane5.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane5.TabIndex = 55; | ||||
|             this.buttonLane5.Tag = "E"; | ||||
|             this.buttonLane5.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane5.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane5.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane5.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane5.UpImage"))); | ||||
|             this.buttonLane5.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine6 | ||||
|             // buttonLane6 | ||||
|             //  | ||||
|             this.buttonLine6.BackPictureBox = null; | ||||
|             this.buttonLine6.BackPictureBox1 = null; | ||||
|             this.buttonLine6.BackPictureBox2 = null; | ||||
|             this.buttonLine6.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine6.ButtonImageAutoSize = true; | ||||
|             this.buttonLine6.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine6.DisableImage = null; | ||||
|             this.buttonLine6.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine6.DownImage"))); | ||||
|             this.buttonLine6.GroupID = 0; | ||||
|             this.buttonLine6.InitVisible = true; | ||||
|             this.buttonLine6.Location = new System.Drawing.Point(837, 13); | ||||
|             this.buttonLine6.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine6.Name = "buttonLine6"; | ||||
|             this.buttonLine6.NestedClickEventPrevent = false; | ||||
|             this.buttonLine6.OutlinePixel = 1; | ||||
|             this.buttonLine6.RepeatInterval = 200; | ||||
|             this.buttonLine6.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine6.SafeInterval = 200; | ||||
|             this.buttonLine6.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine6.TabIndex = 55; | ||||
|             this.buttonLine6.Tag = "F"; | ||||
|             this.buttonLine6.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine6.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine6.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine6.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine6.UpImage"))); | ||||
|             this.buttonLine6.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane6.BackPictureBox = null; | ||||
|             this.buttonLane6.BackPictureBox1 = null; | ||||
|             this.buttonLane6.BackPictureBox2 = null; | ||||
|             this.buttonLane6.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane6.ButtonImageAutoSize = true; | ||||
|             this.buttonLane6.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane6.DisableImage = null; | ||||
|             this.buttonLane6.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane6.DownImage"))); | ||||
|             this.buttonLane6.GroupID = 0; | ||||
|             this.buttonLane6.InitVisible = true; | ||||
|             this.buttonLane6.Location = new System.Drawing.Point(837, 13); | ||||
|             this.buttonLane6.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane6.Name = "buttonLane6"; | ||||
|             this.buttonLane6.NestedClickEventPrevent = false; | ||||
|             this.buttonLane6.OutlinePixel = 1; | ||||
|             this.buttonLane6.RepeatInterval = 200; | ||||
|             this.buttonLane6.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane6.SafeInterval = 200; | ||||
|             this.buttonLane6.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane6.TabIndex = 55; | ||||
|             this.buttonLane6.Tag = "F"; | ||||
|             this.buttonLane6.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane6.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane6.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane6.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane6.UpImage"))); | ||||
|             this.buttonLane6.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine7 | ||||
|             // buttonLane7 | ||||
|             //  | ||||
|             this.buttonLine7.BackPictureBox = null; | ||||
|             this.buttonLine7.BackPictureBox1 = null; | ||||
|             this.buttonLine7.BackPictureBox2 = null; | ||||
|             this.buttonLine7.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine7.ButtonImageAutoSize = true; | ||||
|             this.buttonLine7.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine7.DisableImage = null; | ||||
|             this.buttonLine7.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine7.DownImage"))); | ||||
|             this.buttonLine7.GroupID = 0; | ||||
|             this.buttonLine7.InitVisible = true; | ||||
|             this.buttonLine7.Location = new System.Drawing.Point(27, 248); | ||||
|             this.buttonLine7.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine7.Name = "buttonLine7"; | ||||
|             this.buttonLine7.NestedClickEventPrevent = false; | ||||
|             this.buttonLine7.OutlinePixel = 1; | ||||
|             this.buttonLine7.RepeatInterval = 200; | ||||
|             this.buttonLine7.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine7.SafeInterval = 200; | ||||
|             this.buttonLine7.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine7.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine7.TabIndex = 55; | ||||
|             this.buttonLine7.Tag = "G"; | ||||
|             this.buttonLine7.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine7.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine7.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine7.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine7.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine7.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine7.UpImage"))); | ||||
|             this.buttonLine7.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane7.BackPictureBox = null; | ||||
|             this.buttonLane7.BackPictureBox1 = null; | ||||
|             this.buttonLane7.BackPictureBox2 = null; | ||||
|             this.buttonLane7.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane7.ButtonImageAutoSize = true; | ||||
|             this.buttonLane7.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane7.DisableImage = null; | ||||
|             this.buttonLane7.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane7.DownImage"))); | ||||
|             this.buttonLane7.GroupID = 0; | ||||
|             this.buttonLane7.InitVisible = true; | ||||
|             this.buttonLane7.Location = new System.Drawing.Point(27, 248); | ||||
|             this.buttonLane7.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane7.Name = "buttonLane7"; | ||||
|             this.buttonLane7.NestedClickEventPrevent = false; | ||||
|             this.buttonLane7.OutlinePixel = 1; | ||||
|             this.buttonLane7.RepeatInterval = 200; | ||||
|             this.buttonLane7.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane7.SafeInterval = 200; | ||||
|             this.buttonLane7.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane7.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane7.TabIndex = 55; | ||||
|             this.buttonLane7.Tag = "G"; | ||||
|             this.buttonLane7.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane7.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane7.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane7.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane7.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane7.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane7.UpImage"))); | ||||
|             this.buttonLane7.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine8 | ||||
|             // buttonLane8 | ||||
|             //  | ||||
|             this.buttonLine8.BackPictureBox = null; | ||||
|             this.buttonLine8.BackPictureBox1 = null; | ||||
|             this.buttonLine8.BackPictureBox2 = null; | ||||
|             this.buttonLine8.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine8.ButtonImageAutoSize = true; | ||||
|             this.buttonLine8.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine8.DisableImage = null; | ||||
|             this.buttonLine8.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine8.DownImage"))); | ||||
|             this.buttonLine8.GroupID = 0; | ||||
|             this.buttonLine8.InitVisible = true; | ||||
|             this.buttonLine8.Location = new System.Drawing.Point(189, 248); | ||||
|             this.buttonLine8.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine8.Name = "buttonLine8"; | ||||
|             this.buttonLine8.NestedClickEventPrevent = false; | ||||
|             this.buttonLine8.OutlinePixel = 1; | ||||
|             this.buttonLine8.RepeatInterval = 200; | ||||
|             this.buttonLine8.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine8.SafeInterval = 200; | ||||
|             this.buttonLine8.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine8.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine8.TabIndex = 55; | ||||
|             this.buttonLine8.Tag = "H"; | ||||
|             this.buttonLine8.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine8.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine8.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine8.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine8.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine8.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine8.UpImage"))); | ||||
|             this.buttonLine8.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane8.BackPictureBox = null; | ||||
|             this.buttonLane8.BackPictureBox1 = null; | ||||
|             this.buttonLane8.BackPictureBox2 = null; | ||||
|             this.buttonLane8.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane8.ButtonImageAutoSize = true; | ||||
|             this.buttonLane8.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane8.DisableImage = null; | ||||
|             this.buttonLane8.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane8.DownImage"))); | ||||
|             this.buttonLane8.GroupID = 0; | ||||
|             this.buttonLane8.InitVisible = true; | ||||
|             this.buttonLane8.Location = new System.Drawing.Point(189, 248); | ||||
|             this.buttonLane8.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane8.Name = "buttonLane8"; | ||||
|             this.buttonLane8.NestedClickEventPrevent = false; | ||||
|             this.buttonLane8.OutlinePixel = 1; | ||||
|             this.buttonLane8.RepeatInterval = 200; | ||||
|             this.buttonLane8.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane8.SafeInterval = 200; | ||||
|             this.buttonLane8.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane8.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane8.TabIndex = 55; | ||||
|             this.buttonLane8.Tag = "H"; | ||||
|             this.buttonLane8.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane8.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane8.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane8.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane8.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane8.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane8.UpImage"))); | ||||
|             this.buttonLane8.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine9 | ||||
|             // buttonLane9 | ||||
|             //  | ||||
|             this.buttonLine9.BackPictureBox = null; | ||||
|             this.buttonLine9.BackPictureBox1 = null; | ||||
|             this.buttonLine9.BackPictureBox2 = null; | ||||
|             this.buttonLine9.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine9.ButtonImageAutoSize = true; | ||||
|             this.buttonLine9.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine9.DisableImage = null; | ||||
|             this.buttonLine9.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine9.DownImage"))); | ||||
|             this.buttonLine9.GroupID = 0; | ||||
|             this.buttonLine9.InitVisible = true; | ||||
|             this.buttonLine9.Location = new System.Drawing.Point(351, 248); | ||||
|             this.buttonLine9.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine9.Name = "buttonLine9"; | ||||
|             this.buttonLine9.NestedClickEventPrevent = false; | ||||
|             this.buttonLine9.OutlinePixel = 1; | ||||
|             this.buttonLine9.RepeatInterval = 200; | ||||
|             this.buttonLine9.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine9.SafeInterval = 200; | ||||
|             this.buttonLine9.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine9.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine9.TabIndex = 55; | ||||
|             this.buttonLine9.Tag = "I"; | ||||
|             this.buttonLine9.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine9.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine9.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine9.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine9.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine9.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine9.UpImage"))); | ||||
|             this.buttonLine9.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane9.BackPictureBox = null; | ||||
|             this.buttonLane9.BackPictureBox1 = null; | ||||
|             this.buttonLane9.BackPictureBox2 = null; | ||||
|             this.buttonLane9.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane9.ButtonImageAutoSize = true; | ||||
|             this.buttonLane9.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane9.DisableImage = null; | ||||
|             this.buttonLane9.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane9.DownImage"))); | ||||
|             this.buttonLane9.GroupID = 0; | ||||
|             this.buttonLane9.InitVisible = true; | ||||
|             this.buttonLane9.Location = new System.Drawing.Point(351, 248); | ||||
|             this.buttonLane9.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane9.Name = "buttonLane9"; | ||||
|             this.buttonLane9.NestedClickEventPrevent = false; | ||||
|             this.buttonLane9.OutlinePixel = 1; | ||||
|             this.buttonLane9.RepeatInterval = 200; | ||||
|             this.buttonLane9.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane9.SafeInterval = 200; | ||||
|             this.buttonLane9.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane9.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane9.TabIndex = 55; | ||||
|             this.buttonLane9.Tag = "I"; | ||||
|             this.buttonLane9.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane9.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane9.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane9.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane9.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane9.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane9.UpImage"))); | ||||
|             this.buttonLane9.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine10 | ||||
|             // buttonLane10 | ||||
|             //  | ||||
|             this.buttonLine10.BackPictureBox = null; | ||||
|             this.buttonLine10.BackPictureBox1 = null; | ||||
|             this.buttonLine10.BackPictureBox2 = null; | ||||
|             this.buttonLine10.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine10.ButtonImageAutoSize = true; | ||||
|             this.buttonLine10.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine10.DisableImage = null; | ||||
|             this.buttonLine10.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine10.DownImage"))); | ||||
|             this.buttonLine10.GroupID = 0; | ||||
|             this.buttonLine10.InitVisible = true; | ||||
|             this.buttonLine10.Location = new System.Drawing.Point(513, 248); | ||||
|             this.buttonLine10.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine10.Name = "buttonLine10"; | ||||
|             this.buttonLine10.NestedClickEventPrevent = false; | ||||
|             this.buttonLine10.OutlinePixel = 1; | ||||
|             this.buttonLine10.RepeatInterval = 200; | ||||
|             this.buttonLine10.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine10.SafeInterval = 200; | ||||
|             this.buttonLine10.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine10.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine10.TabIndex = 55; | ||||
|             this.buttonLine10.Tag = "J"; | ||||
|             this.buttonLine10.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine10.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine10.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine10.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine10.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine10.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine10.UpImage"))); | ||||
|             this.buttonLine10.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane10.BackPictureBox = null; | ||||
|             this.buttonLane10.BackPictureBox1 = null; | ||||
|             this.buttonLane10.BackPictureBox2 = null; | ||||
|             this.buttonLane10.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane10.ButtonImageAutoSize = true; | ||||
|             this.buttonLane10.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane10.DisableImage = null; | ||||
|             this.buttonLane10.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane10.DownImage"))); | ||||
|             this.buttonLane10.GroupID = 0; | ||||
|             this.buttonLane10.InitVisible = true; | ||||
|             this.buttonLane10.Location = new System.Drawing.Point(513, 248); | ||||
|             this.buttonLane10.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane10.Name = "buttonLane10"; | ||||
|             this.buttonLane10.NestedClickEventPrevent = false; | ||||
|             this.buttonLane10.OutlinePixel = 1; | ||||
|             this.buttonLane10.RepeatInterval = 200; | ||||
|             this.buttonLane10.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane10.SafeInterval = 200; | ||||
|             this.buttonLane10.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane10.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane10.TabIndex = 55; | ||||
|             this.buttonLane10.Tag = "J"; | ||||
|             this.buttonLane10.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane10.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane10.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane10.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane10.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane10.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane10.UpImage"))); | ||||
|             this.buttonLane10.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine11 | ||||
|             // buttonLane11 | ||||
|             //  | ||||
|             this.buttonLine11.BackPictureBox = null; | ||||
|             this.buttonLine11.BackPictureBox1 = null; | ||||
|             this.buttonLine11.BackPictureBox2 = null; | ||||
|             this.buttonLine11.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine11.ButtonImageAutoSize = true; | ||||
|             this.buttonLine11.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine11.DisableImage = null; | ||||
|             this.buttonLine11.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine11.DownImage"))); | ||||
|             this.buttonLine11.GroupID = 0; | ||||
|             this.buttonLine11.InitVisible = true; | ||||
|             this.buttonLine11.Location = new System.Drawing.Point(675, 248); | ||||
|             this.buttonLine11.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine11.Name = "buttonLine11"; | ||||
|             this.buttonLine11.NestedClickEventPrevent = false; | ||||
|             this.buttonLine11.OutlinePixel = 1; | ||||
|             this.buttonLine11.RepeatInterval = 200; | ||||
|             this.buttonLine11.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine11.SafeInterval = 200; | ||||
|             this.buttonLine11.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine11.TabIndex = 55; | ||||
|             this.buttonLine11.Tag = "K"; | ||||
|             this.buttonLine11.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine11.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine11.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine11.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine11.UpImage"))); | ||||
|             this.buttonLine11.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane11.BackPictureBox = null; | ||||
|             this.buttonLane11.BackPictureBox1 = null; | ||||
|             this.buttonLane11.BackPictureBox2 = null; | ||||
|             this.buttonLane11.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane11.ButtonImageAutoSize = true; | ||||
|             this.buttonLane11.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane11.DisableImage = null; | ||||
|             this.buttonLane11.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane11.DownImage"))); | ||||
|             this.buttonLane11.GroupID = 0; | ||||
|             this.buttonLane11.InitVisible = true; | ||||
|             this.buttonLane11.Location = new System.Drawing.Point(675, 248); | ||||
|             this.buttonLane11.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane11.Name = "buttonLane11"; | ||||
|             this.buttonLane11.NestedClickEventPrevent = false; | ||||
|             this.buttonLane11.OutlinePixel = 1; | ||||
|             this.buttonLane11.RepeatInterval = 200; | ||||
|             this.buttonLane11.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane11.SafeInterval = 200; | ||||
|             this.buttonLane11.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane11.TabIndex = 55; | ||||
|             this.buttonLane11.Tag = "K"; | ||||
|             this.buttonLane11.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane11.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane11.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane11.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane11.UpImage"))); | ||||
|             this.buttonLane11.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // buttonLine12 | ||||
|             // buttonLane12 | ||||
|             //  | ||||
|             this.buttonLine12.BackPictureBox = null; | ||||
|             this.buttonLine12.BackPictureBox1 = null; | ||||
|             this.buttonLine12.BackPictureBox2 = null; | ||||
|             this.buttonLine12.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLine12.ButtonImageAutoSize = true; | ||||
|             this.buttonLine12.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine12.DisableImage = null; | ||||
|             this.buttonLine12.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLine12.DownImage"))); | ||||
|             this.buttonLine12.GroupID = 0; | ||||
|             this.buttonLine12.InitVisible = true; | ||||
|             this.buttonLine12.Location = new System.Drawing.Point(837, 248); | ||||
|             this.buttonLine12.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLine12.Name = "buttonLine12"; | ||||
|             this.buttonLine12.NestedClickEventPrevent = false; | ||||
|             this.buttonLine12.OutlinePixel = 1; | ||||
|             this.buttonLine12.RepeatInterval = 200; | ||||
|             this.buttonLine12.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLine12.SafeInterval = 200; | ||||
|             this.buttonLine12.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLine12.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLine12.TabIndex = 55; | ||||
|             this.buttonLine12.Tag = "L"; | ||||
|             this.buttonLine12.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLine12.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLine12.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLine12.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLine12.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLine12.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLine12.UpImage"))); | ||||
|             this.buttonLine12.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             this.buttonLane12.BackPictureBox = null; | ||||
|             this.buttonLane12.BackPictureBox1 = null; | ||||
|             this.buttonLane12.BackPictureBox2 = null; | ||||
|             this.buttonLane12.ButtonColor = System.Drawing.Color.Gray; | ||||
|             this.buttonLane12.ButtonImageAutoSize = true; | ||||
|             this.buttonLane12.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane12.DisableImage = null; | ||||
|             this.buttonLane12.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLane12.DownImage"))); | ||||
|             this.buttonLane12.GroupID = 0; | ||||
|             this.buttonLane12.InitVisible = true; | ||||
|             this.buttonLane12.Location = new System.Drawing.Point(837, 248); | ||||
|             this.buttonLane12.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonLane12.Name = "buttonLane12"; | ||||
|             this.buttonLane12.NestedClickEventPrevent = false; | ||||
|             this.buttonLane12.OutlinePixel = 1; | ||||
|             this.buttonLane12.RepeatInterval = 200; | ||||
|             this.buttonLane12.RepeatIntervalAccelerate = null; | ||||
|             this.buttonLane12.SafeInterval = 200; | ||||
|             this.buttonLane12.Size = new System.Drawing.Size(156, 120); | ||||
|             this.buttonLane12.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonLane12.TabIndex = 55; | ||||
|             this.buttonLane12.Tag = "L"; | ||||
|             this.buttonLane12.TextColor = System.Drawing.Color.Black; | ||||
|             this.buttonLane12.TextDownColor = System.Drawing.Color.White; | ||||
|             this.buttonLane12.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.buttonLane12.TextLocation = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLane12.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.buttonLane12.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLane12.UpImage"))); | ||||
|             this.buttonLane12.Click += new System.EventHandler(this.buttonLine_Click); | ||||
|             //  | ||||
|             // smartLabel11 | ||||
|             //  | ||||
|  | @ -1429,18 +1429,18 @@ | |||
|             //  | ||||
|             this.smartGroupBox1.BackPictureBox = null; | ||||
|             this.smartGroupBox1.BackPictureBox1 = null; | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine12); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine6); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine11); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine5); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine10); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine4); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine9); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine3); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine8); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine2); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine7); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLine1); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane12); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane6); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane11); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane5); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane10); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane4); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane9); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane3); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane8); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane2); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane7); | ||||
|             this.smartGroupBox1.Controls.Add(this.buttonLane1); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelConstant12); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelConstant11); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelConstant10); | ||||
|  | @ -1557,18 +1557,18 @@ | |||
|         private SmartX.SmartLabel smartLabel3; | ||||
|         private SmartX.SmartLabel smartLabel2; | ||||
|         private SmartX.SmartLabel smartLabel1; | ||||
|         private SmartX.SmartButton buttonLine1; | ||||
|         private SmartX.SmartButton buttonLine2; | ||||
|         private SmartX.SmartButton buttonLine3; | ||||
|         private SmartX.SmartButton buttonLine4; | ||||
|         private SmartX.SmartButton buttonLine5; | ||||
|         private SmartX.SmartButton buttonLine6; | ||||
|         private SmartX.SmartButton buttonLine7; | ||||
|         private SmartX.SmartButton buttonLine8; | ||||
|         private SmartX.SmartButton buttonLine9; | ||||
|         private SmartX.SmartButton buttonLine10; | ||||
|         private SmartX.SmartButton buttonLine11; | ||||
|         private SmartX.SmartButton buttonLine12; | ||||
|         private SmartX.SmartButton buttonLane1; | ||||
|         private SmartX.SmartButton buttonLane2; | ||||
|         private SmartX.SmartButton buttonLane3; | ||||
|         private SmartX.SmartButton buttonLane4; | ||||
|         private SmartX.SmartButton buttonLane5; | ||||
|         private SmartX.SmartButton buttonLane6; | ||||
|         private SmartX.SmartButton buttonLane7; | ||||
|         private SmartX.SmartButton buttonLane8; | ||||
|         private SmartX.SmartButton buttonLane9; | ||||
|         private SmartX.SmartButton buttonLane10; | ||||
|         private SmartX.SmartButton buttonLane11; | ||||
|         private SmartX.SmartButton buttonLane12; | ||||
|         private SmartX.SmartLabel smartLabel11; | ||||
|         private SmartX.SmartLabel labelWeight11; | ||||
|         private SmartX.SmartLabel labelADC11; | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ namespace INT63DC_2C.Controls | |||
|         private Color NormalColor = Color.Black; | ||||
|         private Color FinishColor = Color.Blue; | ||||
| 
 | ||||
|         private Collection<SmartButton> CollectionButtonLine; | ||||
|         private Collection<SmartButton> CollectionButtonLane; | ||||
|         private Collection<SmartLabel> CollectionLabelWeight; | ||||
|         private Collection<SmartLabel> CollectionLabelADC; | ||||
|         private Collection<SmartLabel> CollectionLabelConstant; | ||||
|  | @ -47,72 +47,24 @@ namespace INT63DC_2C.Controls | |||
|             get { return this.m_ParentForm; } | ||||
|             private set { this.m_ParentForm = value; } | ||||
|         } | ||||
|         private int EquipmentColumns { get { return this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; } } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Method | ||||
|         private void CreateCollection() | ||||
|         { | ||||
|             this.CollectionButtonLine = new Collection<SmartButton>(); | ||||
|             this.CollectionButtonLane = new Collection<SmartButton>(); | ||||
|             this.CollectionLabelWeight = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelADC = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelConstant = new Collection<SmartLabel>(); | ||||
| 
 | ||||
|             this.CollectionButtonLine.Clear(); | ||||
|             this.CollectionLabelWeight.Clear(); | ||||
|             this.CollectionLabelADC.Clear(); | ||||
|             this.CollectionLabelConstant.Clear(); | ||||
| 
 | ||||
|             this.CollectionButtonLine.Add(this.buttonLine1); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine2); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine3); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine4); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine5); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine6); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine7); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine8); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine9); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine10); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine11); | ||||
|             this.CollectionButtonLine.Add(this.buttonLine12); | ||||
| 
 | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight1); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight2); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight3); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight4); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight5); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight6); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight7); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight8); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight9); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight10); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight11); | ||||
|             this.CollectionLabelWeight.Add(this.labelWeight12); | ||||
| 
 | ||||
|             this.CollectionLabelADC.Add(this.labelADC1); | ||||
|             this.CollectionLabelADC.Add(this.labelADC2); | ||||
|             this.CollectionLabelADC.Add(this.labelADC3); | ||||
|             this.CollectionLabelADC.Add(this.labelADC4); | ||||
|             this.CollectionLabelADC.Add(this.labelADC5); | ||||
|             this.CollectionLabelADC.Add(this.labelADC6); | ||||
|             this.CollectionLabelADC.Add(this.labelADC7); | ||||
|             this.CollectionLabelADC.Add(this.labelADC8); | ||||
|             this.CollectionLabelADC.Add(this.labelADC9); | ||||
|             this.CollectionLabelADC.Add(this.labelADC10); | ||||
|             this.CollectionLabelADC.Add(this.labelADC11); | ||||
|             this.CollectionLabelADC.Add(this.labelADC12); | ||||
| 
 | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant1); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant2); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant3); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant4); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant5); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant6); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant7); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant8); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant9); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant10); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant11); | ||||
|             this.CollectionLabelConstant.Add(this.labelConstant12); | ||||
|             for (int i = 1; i <= this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionButtonLane.Add(FindByNameUtil.SmartButton("buttonLane" + i, this)); | ||||
|                 this.CollectionLabelWeight.Add(FindByNameUtil.SmartLabel("labelWeight" + i, this)); | ||||
|                 this.CollectionLabelADC.Add(FindByNameUtil.SmartLabel("labelADC" + i, this)); | ||||
|                 this.CollectionLabelConstant.Add(FindByNameUtil.SmartLabel("labelConstant" + i, this)); | ||||
|             } | ||||
|         } | ||||
|         private void InitilizeControls() | ||||
|         { | ||||
|  | @ -130,12 +82,12 @@ namespace INT63DC_2C.Controls | |||
| 
 | ||||
|         public void DisplayRefresh() | ||||
|         { | ||||
|             if (this.CollectionButtonLine == null || this.CollectionButtonLine.Count == 0) | ||||
|             if (this.CollectionButtonLane == null || this.CollectionButtonLane.Count == 0) | ||||
|                 return; | ||||
| 
 | ||||
|             for (int i = 0; i < this.CollectionButtonLine.Count; i++) | ||||
|             for (int i = 0; i < this.CollectionButtonLane.Count; i++) | ||||
|             { | ||||
|                 this.CollectionButtonLine[i].ButtonUp(); | ||||
|                 this.CollectionButtonLane[i].ButtonUp(); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|  | @ -144,7 +96,7 @@ namespace INT63DC_2C.Controls | |||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpBalance(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLine) | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, bt.Tag.ToString()); | ||||
|  | @ -157,7 +109,7 @@ namespace INT63DC_2C.Controls | |||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpStart(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLine) | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, bt.Tag.ToString()); | ||||
|  | @ -172,7 +124,7 @@ namespace INT63DC_2C.Controls | |||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpCancel(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLine) | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, bt.Tag.ToString()); | ||||
|  | @ -242,7 +194,7 @@ namespace INT63DC_2C.Controls | |||
| 
 | ||||
|             for (int i = 0; i < weights.Count; i++) | ||||
|             { | ||||
|                 if (this.CollectionButtonLine[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                 if (this.CollectionButtonLane[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                 { | ||||
|                     this.UpdateLabelWeight(this.CollectionLabelWeight[i], this.CollectionLabelADC[i], weights[i], true); | ||||
|                 } | ||||
|  | @ -292,7 +244,7 @@ namespace INT63DC_2C.Controls | |||
|                         this.ParentForm.UpdateDisplayHelpCalFinish(); | ||||
| 
 | ||||
|                         this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLine) | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLane) | ||||
|                             bt.Enabled = true; | ||||
|                     } | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|  | @ -306,7 +258,7 @@ namespace INT63DC_2C.Controls | |||
|                         this.ParentForm.UpdateDisplayHelpCalError(); | ||||
| 
 | ||||
|                         this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLine) | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLane) | ||||
|                             bt.Enabled = true; | ||||
|                     } | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -0,0 +1,301 @@ | |||
| using System; | ||||
| using System.Linq; | ||||
| using System.Collections.ObjectModel; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Drawing; | ||||
| using System.Data; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| 
 | ||||
| using SmartX; | ||||
| using INT63DC_2C.Forms; | ||||
| 
 | ||||
| namespace INT63DC_2C.Controls | ||||
| { | ||||
|     public partial class ControlCalibration15 : UserControl | ||||
|     { | ||||
|         #region Field | ||||
|         private FormCalibration m_ParentForm; | ||||
| 
 | ||||
|         private Color NormalColor = Color.Black; | ||||
|         private Color FinishColor = Color.Blue; | ||||
| 
 | ||||
|         private Collection<SmartButton> CollectionButtonLane; | ||||
|         private Collection<SmartLabel> CollectionLabelWeight; | ||||
|         private Collection<SmartLabel> CollectionLabelADC; | ||||
|         private Collection<SmartLabel> CollectionLabelConstant; | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Constructor | ||||
|         public ControlCalibration15(FormCalibration parent) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
| 
 | ||||
|             this.ParentForm = parent; | ||||
| 
 | ||||
|             this.CreateCollection(); | ||||
|             this.InitilizeControls(); | ||||
|             this.InitializeDesign(); | ||||
|             this.DisplayRefresh(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Property | ||||
|         public FormCalibration ParentForm | ||||
|         { | ||||
|             get { return this.m_ParentForm; } | ||||
|             private set { this.m_ParentForm = value; } | ||||
|         } | ||||
|         private int EquipmentColumns { get { return this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; } } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Method | ||||
|         private void CreateCollection() | ||||
|         { | ||||
|             this.CollectionButtonLane = new Collection<SmartButton>(); | ||||
|             this.CollectionLabelWeight = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelADC = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelConstant = new Collection<SmartLabel>(); | ||||
| 
 | ||||
|             for (int i = 1; i <= this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionButtonLane.Add(FindByNameUtil.SmartButton("buttonLane" + i, this)); | ||||
|                 this.CollectionLabelWeight.Add(FindByNameUtil.SmartLabel("labelWeight" + i, this)); | ||||
|                 this.CollectionLabelADC.Add(FindByNameUtil.SmartLabel("labelADC" + i, this)); | ||||
|                 this.CollectionLabelConstant.Add(FindByNameUtil.SmartLabel("labelConstant" + i, this)); | ||||
|             } | ||||
|         } | ||||
|         private void InitilizeControls() | ||||
|         { | ||||
|             for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionLabelWeight[i].Text = "0.0"; | ||||
|                 this.CollectionLabelADC[i].Text = "0.0"; | ||||
|                 this.CollectionLabelConstant[i].Text = "0.0"; | ||||
|             } | ||||
|         } | ||||
|         private void InitializeDesign() | ||||
|         { | ||||
|              | ||||
|         } | ||||
| 
 | ||||
|         public void DisplayRefresh() | ||||
|         { | ||||
|             if (this.CollectionButtonLane == null || this.CollectionButtonLane.Count == 0) | ||||
|                 return; | ||||
| 
 | ||||
|             for (int i = 0; i < this.CollectionButtonLane.Count; i++) | ||||
|             { | ||||
|                 this.CollectionButtonLane[i].ButtonUp(); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         public void CalibrationBalance() | ||||
|         { | ||||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpBalance(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationBalance, bt.Tag.ToString()); | ||||
|             } | ||||
| 
 | ||||
|             this.ParentForm.CalibrationButtonEnable(false, false, true); | ||||
|         } | ||||
|         public void CalibrationStart() | ||||
|         { | ||||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpStart(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationStart, bt.Tag.ToString()); | ||||
| 
 | ||||
|                 bt.Enabled = false; | ||||
|             } | ||||
| 
 | ||||
|             this.ParentForm.CalibrationButtonEnable(false, false, false); | ||||
|         } | ||||
|         public void CalibrationCancel() | ||||
|         { | ||||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpCancel(); | ||||
| 
 | ||||
|             foreach (SmartButton bt in this.CollectionButtonLane) | ||||
|             { | ||||
|                 if (bt.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                     this.ParentForm.ParentForm.TransferData(CommunicationCommand.CalibrationCancel, bt.Tag.ToString()); | ||||
| 
 | ||||
|                 bt.Enabled = true; | ||||
|             } | ||||
| 
 | ||||
|             this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|         } | ||||
| 
 | ||||
|         public void UpdateConfiguration(DataStore.EquipmentStatus status, CalibrationItem config) | ||||
|         { | ||||
|             string value = ""; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant1.Trim(), 6); | ||||
|             if (this.labelConstant1.Text != value) | ||||
|                 this.labelConstant1.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant2.Trim(), 6); | ||||
|             if (this.labelConstant2.Text != value) | ||||
|                 this.labelConstant2.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant3.Trim(), 6); | ||||
|             if (this.labelConstant3.Text != value) | ||||
|                 this.labelConstant3.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant4.Trim(), 6); | ||||
|             if (this.labelConstant4.Text != value) | ||||
|                 this.labelConstant4.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant5.Trim(), 6); | ||||
|             if (this.labelConstant5.Text != value) | ||||
|                 this.labelConstant5.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant6.Trim(), 6); | ||||
|             if (this.labelConstant6.Text != value) | ||||
|                 this.labelConstant6.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant7.Trim(), 6); | ||||
|             if (this.labelConstant7.Text != value) | ||||
|                 this.labelConstant7.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant8.Trim(), 6); | ||||
|             if (this.labelConstant8.Text != value) | ||||
|                 this.labelConstant8.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant9.Trim(), 6); | ||||
|             if (this.labelConstant9.Text != value) | ||||
|                 this.labelConstant9.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant10.Trim(), 6); | ||||
|             if (this.labelConstant10.Text != value) | ||||
|                 this.labelConstant10.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant11.Trim(), 6); | ||||
|             if (this.labelConstant11.Text != value) | ||||
|                 this.labelConstant11.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant12.Trim(), 6); | ||||
|             if (this.labelConstant12.Text != value) | ||||
|                 this.labelConstant12.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant13.Trim(), 6); | ||||
|             if (this.labelConstant13.Text != value) | ||||
|                 this.labelConstant13.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant14.Trim(), 6); | ||||
|             if (this.labelConstant14.Text != value) | ||||
|                 this.labelConstant14.Text = value; | ||||
| 
 | ||||
|             value = Helper.StringToDecimalPlaces(config.Constant15.Trim(), 6); | ||||
|             if (this.labelConstant15.Text != value) | ||||
|                 this.labelConstant15.Text = value; | ||||
|         } | ||||
|         public void UpdateWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weights) | ||||
|         { | ||||
|             if (this.CollectionLabelWeight == null || weights.Count < this.CollectionLabelWeight.Count || status == DataStore.EquipmentStatus.Start) | ||||
|                 return; | ||||
| 
 | ||||
|             for (int i = 0; i < weights.Count; i++) | ||||
|             { | ||||
|                 if (this.CollectionButtonLane[i].ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN) | ||||
|                 { | ||||
|                     this.UpdateLabelWeight(this.CollectionLabelWeight[i], this.CollectionLabelADC[i], weights[i], true); | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     this.UpdateLabelWeight(this.CollectionLabelWeight[i], this.CollectionLabelADC[i], weights[i], false); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         private void UpdateLabelWeight(SmartLabel labelWeight, SmartLabel labelADC, WeightData weightData, bool rbChecked) | ||||
|         { | ||||
|             switch (weightData.Status) | ||||
|             { | ||||
|                 case DataStore.WeightStatus.CalNomal: | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                     labelWeight.ForeColor = this.NormalColor; | ||||
|                     labelADC.Text = weightData.ADCValue; | ||||
|                     break; | ||||
|                 case DataStore.WeightStatus.CalStandby: | ||||
|                     if (rbChecked == true) | ||||
|                     { | ||||
|                         // 분동중량 표시 | ||||
|                         labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text); | ||||
|                         labelWeight.ForeColor = this.NormalColor; | ||||
|                         labelADC.Text = weightData.ADCValue; | ||||
| 
 | ||||
|                         // Help | ||||
|                         this.ParentForm.UpdateDisplayHelpCalStandby(); | ||||
| 
 | ||||
|                         this.ParentForm.CalibrationButtonEnable(false, true, true); | ||||
|                     } | ||||
|                     break; | ||||
|                 case DataStore.WeightStatus.CalBalans: | ||||
|                     if (rbChecked == true) | ||||
|                     { | ||||
|                         // 분동중량표시 | ||||
|                         labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text); | ||||
|                         labelWeight.ForeColor = this.NormalColor; | ||||
|                         labelADC.Text = weightData.ADCValue; | ||||
|                         this.ParentForm.CalibrationButtonEnable(false, false, true); | ||||
|                     } | ||||
|                     break; | ||||
|                 case DataStore.WeightStatus.CalFinish: | ||||
|                     if (rbChecked == true) | ||||
|                     { | ||||
|                         // Help | ||||
|                         this.ParentForm.UpdateDisplayHelpCalFinish(); | ||||
| 
 | ||||
|                         this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLane) | ||||
|                             bt.Enabled = true; | ||||
|                     } | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                     labelWeight.ForeColor = this.FinishColor; | ||||
|                     labelADC.Text = weightData.ADCValue; | ||||
|                     break; | ||||
|                 case DataStore.WeightStatus.CalError: | ||||
|                     if (rbChecked == true) | ||||
|                     { | ||||
|                         // Help | ||||
|                         this.ParentForm.UpdateDisplayHelpCalError(); | ||||
| 
 | ||||
|                         this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|                         foreach (SmartX.SmartButton bt in this.CollectionButtonLane) | ||||
|                             bt.Enabled = true; | ||||
|                     } | ||||
|                     labelWeight.Text = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                     labelWeight.ForeColor = this.NormalColor; | ||||
|                     labelADC.Text = weightData.ADCValue; | ||||
|                     break; | ||||
|                 default: | ||||
|                     break; | ||||
|             } | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Event Handler | ||||
|         private void buttonLane_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             SmartButton bt = sender as SmartButton; | ||||
| 
 | ||||
|             if (bt == null) | ||||
|                 return; | ||||
| 
 | ||||
|             // Help | ||||
|             this.ParentForm.UpdateDisplayHelpInit(); | ||||
| 
 | ||||
|             this.ParentForm.CalibrationButtonEnable(true, false, false); | ||||
|         } | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -887,7 +887,7 @@ | |||
|             this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.smartGroupBox1.Name = "smartGroupBox1"; | ||||
|             this.smartGroupBox1.RoundRadius = 5; | ||||
|             this.smartGroupBox1.Size = new System.Drawing.Size(1024, 484); | ||||
|             this.smartGroupBox1.Size = new System.Drawing.Size(1024, 485); | ||||
|             this.smartGroupBox1.TabIndex = 101; | ||||
|             this.smartGroupBox1.Text = "smartGroupBox1"; | ||||
|             this.smartGroupBox1.TextColor = System.Drawing.Color.Black; | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -0,0 +1,260 @@ | |||
| using System; | ||||
| using System.Linq; | ||||
| using System.Collections.ObjectModel; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Drawing; | ||||
| using System.Data; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| 
 | ||||
| using SmartX; | ||||
| using INT63DC_2C.Forms; | ||||
| 
 | ||||
| namespace INT63DC_2C.Controls | ||||
| { | ||||
|     public partial class ControlMainDisplayDotGraph15 : UserControl | ||||
|     { | ||||
|         #region Field | ||||
|         private FormMainDisplay m_ParentForm; | ||||
| 
 | ||||
|         private string CurrentUnderWeight; | ||||
|         private string CurrentOverWeight; | ||||
|         private int CurrentDecimalPlaces; | ||||
| 
 | ||||
|         private Collection<PictureBox> CollectionPictureBoxZero; | ||||
|         private Collection<SmartDraw> CollectionDraw; | ||||
|         private Collection<PictureBox> CollectionPictureBoxBypass; | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Constructor | ||||
|         public ControlMainDisplayDotGraph15(FormMainDisplay parent) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
| 
 | ||||
|             this.ParentForm = parent; | ||||
| 
 | ||||
|             this.CreateCollection(); | ||||
|             this.InitializeControl(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Property | ||||
|         public FormMainDisplay ParentForm | ||||
|         { | ||||
|             get { return this.m_ParentForm; } | ||||
|             private set { this.m_ParentForm = value; } | ||||
|         } | ||||
|         private int EquipmentColumns { get { return this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; } } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Method | ||||
|         private void CreateCollection() | ||||
|         { | ||||
|             this.CollectionPictureBoxZero = new Collection<PictureBox>(); | ||||
|             this.CollectionDraw = new Collection<SmartDraw>(); | ||||
|             this.CollectionPictureBoxBypass = new Collection<PictureBox>(); | ||||
| 
 | ||||
|             for (int i = 1; i <= this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionPictureBoxZero.Add(FindByNameUtil.PictureBox("pictureBox" + i, this)); | ||||
|                 this.CollectionDraw.Add(FindByNameUtil.SmartDraw("draw" + i, this)); | ||||
|                 this.CollectionPictureBoxBypass.Add(FindByNameUtil.PictureBox("pictureBoxBypass" + i, this)); | ||||
|             } | ||||
|         } | ||||
|         private void InitializeControl() | ||||
|         { | ||||
|             foreach (PictureBox picture in this.CollectionPictureBoxZero) | ||||
|                 picture.Visible = false; | ||||
| 
 | ||||
|             foreach (PictureBox picture in this.CollectionPictureBoxBypass) | ||||
|                 picture.Visible = false; | ||||
| 
 | ||||
|             this.InitialzeDraws(); | ||||
|             this.draw1.BringToFront(); | ||||
|             this.button1.ButtonDown(); | ||||
|         } | ||||
|         private void InitialzeDraws() | ||||
|         { | ||||
|             this.CurrentOverWeight = this.ParentForm.ParentForm.CurrentProductItem.OverRange; | ||||
|             this.CurrentUnderWeight = this.ParentForm.ParentForm.CurrentProductItem.UnderRange; | ||||
|             this.CurrentDecimalPlaces = this.ParentForm.ParentForm.SystemConfig.DecimalPlaces; | ||||
| 
 | ||||
|             foreach (SmartDraw draw in this.CollectionDraw) | ||||
|                 this.InitializeDraw(draw, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig); | ||||
|         } | ||||
|         private void InitializeDraw(SmartDraw draw, ProductItem pItem, SystemConfigurationItem sItem) | ||||
|         { | ||||
|             draw.BackDraw.SetPenStyle(Color.Blue, 3); | ||||
| 
 | ||||
|             draw.BackDraw.Line(100, 20, 100, 380); | ||||
|             draw.BackDraw.Line(100, 380, 968, 380); | ||||
| 
 | ||||
|             draw.BackDraw.SetPenStyle(Color.Gray, 1); | ||||
| 
 | ||||
|             draw.BackDraw.SetFontCfg(25, Color.Red); | ||||
|             draw.BackDraw.TextOut(880, 2, draw.Text); | ||||
|             draw.BackDraw.SetFontCfg(30, Color.White); | ||||
| 
 | ||||
|             // Chart의 가로 그리드 그리기 | ||||
|             draw.BackDraw.Line(103, 380 - (1 * 127) + 7, 968, 380 - (1 * 127) + 7); | ||||
|             draw.BackDraw.TextOut(15, 365 - (1 * 127) + 7, Helper.StringToDecimalPlaces(pItem.UnderRange, sItem.DecimalPlaces)); | ||||
| 
 | ||||
|             draw.BackDraw.Line(103, 380 - (2 * 127) + 14, 968, 380 - (2 * 127) + 14); | ||||
|             draw.BackDraw.TextOut(15, 365 - (2 * 127) + 14, Helper.StringToDecimalPlaces(pItem.OverRange, sItem.DecimalPlaces)); | ||||
| 
 | ||||
|             SmartX.SmartDraw.CHARTPENSTYLE[] chartchPenStyle = new SmartX.SmartDraw.CHARTPENSTYLE[1]; | ||||
|             chartchPenStyle[0].m_chColor = Color.Yellow; | ||||
|             chartchPenStyle[0].m_iPenWidth = 2; | ||||
| 
 | ||||
|             // 2 : 432개 | ||||
|             // 16 : 54개 | ||||
|             draw.SetChartCfg(103, 380, 865, 360, 16, SmartX.SmartDraw.CHARTREFRESH.LEFTSCROLL, 1); | ||||
|             draw.ChartChannelPenStyle = chartchPenStyle; | ||||
|         } | ||||
| 
 | ||||
|         public void RescaleControl() | ||||
|         { | ||||
|             foreach (SmartDraw draw in this.CollectionDraw) | ||||
|             { | ||||
|                 draw.BackDraw.BackErase(Color.Black); | ||||
|                 draw.Erase(); | ||||
|                 draw.PutDataAllClear(); | ||||
|             } | ||||
|             this.InitialzeDraws(); | ||||
|         } | ||||
|         public void Clear() | ||||
|         { | ||||
|             foreach (SmartX.SmartDraw draw in this.CollectionDraw) | ||||
|                 draw.PutDataAllClear(); | ||||
|         } | ||||
| 
 | ||||
|         private void UpdateDraw(SmartDraw draw, WeightData weightData) | ||||
|         { | ||||
|             int iValue = 0, gap = 0, startingPoint = 0; | ||||
|             double scale = 0.0, value = 0.0; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None || weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 return; | ||||
| 
 | ||||
|             // 스케일 계산 | ||||
|             gap = int.Parse(this.ParentForm.ParentForm.CurrentProductItem.OverRange) | ||||
|                 - int.Parse(this.ParentForm.ParentForm.CurrentProductItem.UnderRange); | ||||
|             scale = 120.0 / gap; | ||||
|             startingPoint = int.Parse(this.ParentForm.ParentForm.CurrentProductItem.UnderRange) - gap; | ||||
| 
 | ||||
|             try | ||||
|             { | ||||
|                 value = (int.Parse(weightData.WeightString) - startingPoint) * scale; | ||||
|             } | ||||
|             catch (Exception) | ||||
|             { | ||||
|                 value = 0; | ||||
|             } | ||||
| 
 | ||||
|             // 그래프를 스케일을 넘어가면 Max값 적용 | ||||
|             if (value > 355) | ||||
|                 value = 355; | ||||
|             if (value < 2) | ||||
|                 value = 2; | ||||
| 
 | ||||
|             iValue = int.Parse(string.Format("{0:f0}", value)); | ||||
| 
 | ||||
|             draw.PutData(iValue); | ||||
|         } | ||||
| 
 | ||||
|         public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status) | ||||
|         { | ||||
| 
 | ||||
|         } | ||||
|         public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
| 
 | ||||
|         } | ||||
|         public void UpdateBypassDisplay(Collection<WeightData> weightData) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionPictureBoxBypass.Count; i++) | ||||
|             { | ||||
|                 if (weightData[i].IsBypassMode == true) | ||||
|                     this.CollectionPictureBoxBypass[i].Visible = true; | ||||
|                 else | ||||
|                     this.CollectionPictureBoxBypass[i].Visible = false; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStopWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             if (this.ParentForm.ParentForm.SystemConfig.EquipmentColumns > weightDatas.Count) | ||||
|                 return; | ||||
| 
 | ||||
|             if (status == DataStore.EquipmentStatus.Stop) | ||||
|             { | ||||
|                 for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++) | ||||
|                 { | ||||
|                     // 영점표시 | ||||
|                     if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero) | ||||
|                         this.CollectionPictureBoxZero[i].Visible = true; | ||||
|                     else | ||||
|                         this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 } | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++) | ||||
|                 { | ||||
|                     // 영점표시 | ||||
|                     if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero) | ||||
|                         this.CollectionPictureBoxZero[i].Visible = true; | ||||
|                     else | ||||
|                         this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionDraw.Count; i++) | ||||
|                 this.UpdateDraw(this.CollectionDraw[i], weightDatas[i]); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Event Handler | ||||
|         private void buttonSelectDraw_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             SmartButton button = sender as SmartButton; | ||||
| 
 | ||||
|             if (button == null) | ||||
|                 return; | ||||
| 
 | ||||
|             if (button == this.button1) | ||||
|                 this.draw1.BringToFront(); | ||||
|             else if (button == this.button2) | ||||
|                 this.draw2.BringToFront(); | ||||
|             else if (button == this.button3) | ||||
|                 this.draw3.BringToFront(); | ||||
|             else if (button == this.button4) | ||||
|                 this.draw4.BringToFront(); | ||||
|             else if (button == this.button5) | ||||
|                 this.draw5.BringToFront(); | ||||
|             else if (button == this.button6) | ||||
|                 this.draw6.BringToFront(); | ||||
|             else if (button == this.button7) | ||||
|                 this.draw7.BringToFront(); | ||||
|             else if (button == this.button8) | ||||
|                 this.draw8.BringToFront(); | ||||
|             else if (button == this.button9) | ||||
|                 this.draw9.BringToFront(); | ||||
|             else if (button == this.button10) | ||||
|                 this.draw10.BringToFront(); | ||||
|             else if (button == this.button11) | ||||
|                 this.draw11.BringToFront(); | ||||
|             else if (button == this.button12) | ||||
|                 this.draw12.BringToFront(); | ||||
|             else if (button == this.button13) | ||||
|                 this.draw13.BringToFront(); | ||||
|             else if (button == this.button14) | ||||
|                 this.draw14.BringToFront(); | ||||
|             else if (button == this.button15) | ||||
|                 this.draw15.BringToFront(); | ||||
|         } | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
|  | @ -0,0 +1,123 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
| 
 | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="$this.FormFactorShadowProperty" xml:space="preserve"> | ||||
|     <value>WEBPAD</value> | ||||
|   </metadata> | ||||
| </root> | ||||
|  | @ -41,10 +41,6 @@ | |||
|             this.draw11 = new SmartX.SmartDraw(); | ||||
|             this.draw12 = new SmartX.SmartDraw(); | ||||
|             this.smartGroupBox1 = new SmartX.SmartGroupBox(); | ||||
|             this.draw16 = new SmartX.SmartDraw(); | ||||
|             this.draw15 = new SmartX.SmartDraw(); | ||||
|             this.draw14 = new SmartX.SmartDraw(); | ||||
|             this.draw13 = new SmartX.SmartDraw(); | ||||
|             this.pictureBoxBypass16 = new System.Windows.Forms.PictureBox(); | ||||
|             this.pictureBox16 = new System.Windows.Forms.PictureBox(); | ||||
|             this.button16 = new SmartX.SmartButton(); | ||||
|  | @ -93,6 +89,10 @@ | |||
|             this.button3 = new SmartX.SmartButton(); | ||||
|             this.button2 = new SmartX.SmartButton(); | ||||
|             this.button1 = new SmartX.SmartButton(); | ||||
|             this.draw16 = new SmartX.SmartDraw(); | ||||
|             this.draw15 = new SmartX.SmartDraw(); | ||||
|             this.draw14 = new SmartX.SmartDraw(); | ||||
|             this.draw13 = new SmartX.SmartDraw(); | ||||
|             this.smartGroupBox1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|  | @ -378,79 +378,11 @@ | |||
|             this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.smartGroupBox1.Name = "smartGroupBox1"; | ||||
|             this.smartGroupBox1.RoundRadius = 5; | ||||
|             this.smartGroupBox1.Size = new System.Drawing.Size(1024, 484); | ||||
|             this.smartGroupBox1.Size = new System.Drawing.Size(1024, 485); | ||||
|             this.smartGroupBox1.TabIndex = 101; | ||||
|             this.smartGroupBox1.Text = "smartGroupBox1"; | ||||
|             this.smartGroupBox1.TextColor = System.Drawing.Color.Black; | ||||
|             //  | ||||
|             // draw16 | ||||
|             //  | ||||
|             this.draw16.AnimationGIFFrameInterval = 0; | ||||
|             this.draw16.BackPictureBox = null; | ||||
|             this.draw16.BackPictureBox1 = null; | ||||
|             this.draw16.ChartChannelPenStyle = null; | ||||
|             this.draw16.ChartDrawStep = 1; | ||||
|             this.draw16.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw16.InitVisible = true; | ||||
|             this.draw16.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw16.Name = "draw16"; | ||||
|             this.draw16.SetBackimage = null; | ||||
|             this.draw16.SetBackImageAutoSize = true; | ||||
|             this.draw16.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw16.TabIndex = 108; | ||||
|             this.draw16.Text = "Lane16"; | ||||
|             //  | ||||
|             // draw15 | ||||
|             //  | ||||
|             this.draw15.AnimationGIFFrameInterval = 0; | ||||
|             this.draw15.BackPictureBox = null; | ||||
|             this.draw15.BackPictureBox1 = null; | ||||
|             this.draw15.ChartChannelPenStyle = null; | ||||
|             this.draw15.ChartDrawStep = 1; | ||||
|             this.draw15.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw15.InitVisible = true; | ||||
|             this.draw15.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw15.Name = "draw15"; | ||||
|             this.draw15.SetBackimage = null; | ||||
|             this.draw15.SetBackImageAutoSize = true; | ||||
|             this.draw15.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw15.TabIndex = 107; | ||||
|             this.draw15.Text = "Lane15"; | ||||
|             //  | ||||
|             // draw14 | ||||
|             //  | ||||
|             this.draw14.AnimationGIFFrameInterval = 0; | ||||
|             this.draw14.BackPictureBox = null; | ||||
|             this.draw14.BackPictureBox1 = null; | ||||
|             this.draw14.ChartChannelPenStyle = null; | ||||
|             this.draw14.ChartDrawStep = 1; | ||||
|             this.draw14.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw14.InitVisible = true; | ||||
|             this.draw14.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw14.Name = "draw14"; | ||||
|             this.draw14.SetBackimage = null; | ||||
|             this.draw14.SetBackImageAutoSize = true; | ||||
|             this.draw14.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw14.TabIndex = 106; | ||||
|             this.draw14.Text = "Lane14"; | ||||
|             //  | ||||
|             // draw13 | ||||
|             //  | ||||
|             this.draw13.AnimationGIFFrameInterval = 0; | ||||
|             this.draw13.BackPictureBox = null; | ||||
|             this.draw13.BackPictureBox1 = null; | ||||
|             this.draw13.ChartChannelPenStyle = null; | ||||
|             this.draw13.ChartDrawStep = 1; | ||||
|             this.draw13.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw13.InitVisible = true; | ||||
|             this.draw13.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw13.Name = "draw13"; | ||||
|             this.draw13.SetBackimage = null; | ||||
|             this.draw13.SetBackImageAutoSize = true; | ||||
|             this.draw13.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw13.TabIndex = 105; | ||||
|             this.draw13.Text = "Lane13"; | ||||
|             //  | ||||
|             // pictureBoxBypass16 | ||||
|             //  | ||||
|             this.pictureBoxBypass16.BackColor = System.Drawing.Color.Blue; | ||||
|  | @ -1203,6 +1135,74 @@ | |||
|             this.button1.UpImage = null; | ||||
|             this.button1.Click += new System.EventHandler(this.buttonSelectDraw_Click); | ||||
|             //  | ||||
|             // draw16 | ||||
|             //  | ||||
|             this.draw16.AnimationGIFFrameInterval = 0; | ||||
|             this.draw16.BackPictureBox = null; | ||||
|             this.draw16.BackPictureBox1 = null; | ||||
|             this.draw16.ChartChannelPenStyle = null; | ||||
|             this.draw16.ChartDrawStep = 1; | ||||
|             this.draw16.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw16.InitVisible = true; | ||||
|             this.draw16.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw16.Name = "draw16"; | ||||
|             this.draw16.SetBackimage = null; | ||||
|             this.draw16.SetBackImageAutoSize = true; | ||||
|             this.draw16.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw16.TabIndex = 108; | ||||
|             this.draw16.Text = "Lane16"; | ||||
|             //  | ||||
|             // draw15 | ||||
|             //  | ||||
|             this.draw15.AnimationGIFFrameInterval = 0; | ||||
|             this.draw15.BackPictureBox = null; | ||||
|             this.draw15.BackPictureBox1 = null; | ||||
|             this.draw15.ChartChannelPenStyle = null; | ||||
|             this.draw15.ChartDrawStep = 1; | ||||
|             this.draw15.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw15.InitVisible = true; | ||||
|             this.draw15.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw15.Name = "draw15"; | ||||
|             this.draw15.SetBackimage = null; | ||||
|             this.draw15.SetBackImageAutoSize = true; | ||||
|             this.draw15.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw15.TabIndex = 107; | ||||
|             this.draw15.Text = "Lane15"; | ||||
|             //  | ||||
|             // draw14 | ||||
|             //  | ||||
|             this.draw14.AnimationGIFFrameInterval = 0; | ||||
|             this.draw14.BackPictureBox = null; | ||||
|             this.draw14.BackPictureBox1 = null; | ||||
|             this.draw14.ChartChannelPenStyle = null; | ||||
|             this.draw14.ChartDrawStep = 1; | ||||
|             this.draw14.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw14.InitVisible = true; | ||||
|             this.draw14.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw14.Name = "draw14"; | ||||
|             this.draw14.SetBackimage = null; | ||||
|             this.draw14.SetBackImageAutoSize = true; | ||||
|             this.draw14.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw14.TabIndex = 106; | ||||
|             this.draw14.Text = "Lane14"; | ||||
|             //  | ||||
|             // draw13 | ||||
|             //  | ||||
|             this.draw13.AnimationGIFFrameInterval = 0; | ||||
|             this.draw13.BackPictureBox = null; | ||||
|             this.draw13.BackPictureBox1 = null; | ||||
|             this.draw13.ChartChannelPenStyle = null; | ||||
|             this.draw13.ChartDrawStep = 1; | ||||
|             this.draw13.ImageListIndexIncType = SmartX.SmartDraw.IMAGELISTINDEXCOUNT.RINGCOUNT; | ||||
|             this.draw13.InitVisible = true; | ||||
|             this.draw13.Location = new System.Drawing.Point(17, 7); | ||||
|             this.draw13.Name = "draw13"; | ||||
|             this.draw13.SetBackimage = null; | ||||
|             this.draw13.SetBackImageAutoSize = true; | ||||
|             this.draw13.Size = new System.Drawing.Size(988, 408); | ||||
|             this.draw13.TabIndex = 105; | ||||
|             this.draw13.Text = "Lane13"; | ||||
|             //  | ||||
|             // ControlMainDisplayDotGraph16 | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -0,0 +1,253 @@ | |||
| using System; | ||||
| using System.Linq; | ||||
| using System.Collections.ObjectModel; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Drawing; | ||||
| using System.Data; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| 
 | ||||
| using SmartX; | ||||
| using INT63DC_2C.Forms; | ||||
| 
 | ||||
| namespace INT63DC_2C.Controls | ||||
| { | ||||
|     public partial class ControlMainDisplayEachBarGraph15 : UserControl | ||||
|     { | ||||
|         #region Field | ||||
|         private FormMainDisplay m_ParentForm; | ||||
| 
 | ||||
|         private Collection<SmartLabel> CollectionLabelPassCNT; | ||||
|         private Collection<SmartLabel> CollectionLabelNgCNT; | ||||
|         private Collection<SmartLabel> CollectionLabelWeightValue; | ||||
|         private Collection<SmartProgressBar> CollectionProgressBar; | ||||
|         private Collection<PictureBox> CollectionPictureBoxZero; | ||||
|         private Collection<PictureBox> CollectionPictureBoxBypass; | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Constructor | ||||
|         public ControlMainDisplayEachBarGraph15(FormMainDisplay parent) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
| 
 | ||||
|             this.ParentForm = parent; | ||||
| 
 | ||||
|             this.CreateCollection(); | ||||
|             this.InitializeControl(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Property | ||||
|         public FormMainDisplay ParentForm | ||||
|         { | ||||
|             get { return this.m_ParentForm; } | ||||
|             private set { this.m_ParentForm = value; } | ||||
|         } | ||||
|         private int EquipmentColumns | ||||
|         { | ||||
|             get { return this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; } | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Method | ||||
|         private void CreateCollection() | ||||
|         { | ||||
|             this.CollectionLabelPassCNT = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelNgCNT = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelWeightValue = new Collection<SmartLabel>(); | ||||
|             this.CollectionPictureBoxZero = new Collection<PictureBox>(); | ||||
|             this.CollectionPictureBoxBypass = new Collection<PictureBox>(); | ||||
|             this.CollectionProgressBar = new Collection<SmartProgressBar>(); | ||||
| 
 | ||||
|             for (int i = 1; i <= this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionLabelPassCNT.Add(FindByNameUtil.SmartLabel("labelPassCount" + i, this)); | ||||
|                 this.CollectionLabelNgCNT.Add(FindByNameUtil.SmartLabel("labelNGCount" + i, this)); | ||||
|                 this.CollectionLabelWeightValue.Add(FindByNameUtil.SmartLabel("labelWeightValue" + i, this)); | ||||
|                 this.CollectionPictureBoxZero.Add(FindByNameUtil.PictureBox("pictureBox" + i, this)); | ||||
|                 this.CollectionPictureBoxBypass.Add(FindByNameUtil.PictureBox("pictureBoxBypass" + i, this)); | ||||
|                 this.CollectionProgressBar.Add(FindByNameUtil.SmartProgressBar("progressBar" + i, this)); | ||||
|             } | ||||
|         } | ||||
|         private void InitializeControl() | ||||
|         { | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 // Label PassCount | ||||
|                 this.CollectionLabelPassCNT[i].Text = "0"; | ||||
|                 // Label NgCount | ||||
|                 this.CollectionLabelNgCNT[i].Text = "0"; | ||||
|                 // Label Weight | ||||
|                 this.CollectionLabelWeightValue[i].Text = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 // ProgressBar | ||||
|                 this.CollectionProgressBar[i].Value = this.CollectionProgressBar[i].Minimum; | ||||
|                 // PictureBox Zero | ||||
|                 this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 // PictureBox Bypass | ||||
|                 this.CollectionPictureBoxBypass[i].Visible = false; | ||||
|             } | ||||
| 
 | ||||
|             this.SetCount(this.ParentForm.ParentForm.CollectionWeightData); | ||||
|         } | ||||
|         private void SetCount(Collection<WeightData> weightdatas) | ||||
|         { | ||||
|             string value = ""; | ||||
| 
 | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 // Pass Count | ||||
|                 value = weightdatas[i].PassCount.ToString(); | ||||
|                 if (this.CollectionLabelPassCNT[i].Text != value) | ||||
|                     this.CollectionLabelPassCNT[i].Text = value; | ||||
| 
 | ||||
|                 // NG Count | ||||
|                 value = weightdatas[i].TotalNGCount.ToString(); | ||||
|                 if (this.CollectionLabelNgCNT[i].Text != value) | ||||
|                     this.CollectionLabelNgCNT[i].Text = value; | ||||
|             } | ||||
| 
 | ||||
|             this.ParentForm.SetTotalCount(); | ||||
|         } | ||||
| 
 | ||||
|         public void RescaleControl() | ||||
|         { | ||||
|             foreach (SmartProgressBar bar in this.CollectionProgressBar) | ||||
|             { | ||||
|                 Helper.RescaleProgressBar(bar, this.ParentForm.ParentForm.CurrentProductItem.ProgressBarMaximum, this.ParentForm.ParentForm.CurrentProductItem.ProgressBarMinimum); | ||||
|                 bar.Value = bar.Minimum; | ||||
|             } | ||||
|         } | ||||
|         public void Clear() | ||||
|         { | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 // Label WeightValue | ||||
|                 this.CollectionLabelWeightValue[i].Text = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 this.CollectionLabelWeightValue[i].ForeColor = Color.Black; | ||||
|                 // ProgressBar | ||||
|                 this.CollectionProgressBar[i].Value = this.CollectionProgressBar[i].Minimum; | ||||
|                 // WeightData | ||||
|                 this.ParentForm.ParentForm.CollectionWeightData[i].ClearCount(); | ||||
|             } | ||||
| 
 | ||||
|             this.SetCount(this.ParentForm.ParentForm.CollectionWeightData); | ||||
| 
 | ||||
|             this.ParentForm.ParentForm.SaveCounterFile1(this.ParentForm.ParentForm.CollectionWeightData, this.ParentForm.ParentForm.SystemConfig.ProductNumber - 1); | ||||
|             this.ParentForm.ParentForm.SaveCounterFile2(this.ParentForm.ParentForm.CollectionWeightData, this.ParentForm.ParentForm.SystemConfig.ProductNumber - 1); | ||||
|         } | ||||
| 
 | ||||
|         public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status) | ||||
|         { | ||||
|             string value = ""; | ||||
| 
 | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 // Label WeightValue | ||||
|                 value = Helper.StringToDecimalPlaces("0", this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 if (this.CollectionLabelWeightValue[i].Text != value) | ||||
|                     this.CollectionLabelWeightValue[i].Text = value; | ||||
|                 // ProgressBar | ||||
|                 this.CollectionProgressBar[i].Value = this.CollectionProgressBar[i].Minimum; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             foreach (SmartProgressBar bar in this.CollectionProgressBar) | ||||
|                 bar.Value = bar.Minimum; | ||||
| 
 | ||||
|             this.SetCount(this.ParentForm.ParentForm.CollectionWeightData); | ||||
|         } | ||||
|         public void UpdateBypassDisplay(Collection<WeightData> weightData) | ||||
|         { | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 if (weightData[i].IsBypassMode == true) | ||||
|                     this.CollectionPictureBoxBypass[i].Visible = true; | ||||
|                 else | ||||
|                     this.CollectionPictureBoxBypass[i].Visible = false; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStopWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             string value = ""; | ||||
| 
 | ||||
|             if (this.ParentForm.ParentForm.SystemConfig.EquipmentColumns > weightDatas.Count) | ||||
|                 return; | ||||
| 
 | ||||
|             if (status == DataStore.EquipmentStatus.Stop) | ||||
|             { | ||||
|                 for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|                 { | ||||
|                     // 중량 | ||||
|                     value = Helper.DoubleToString(weightDatas[i].Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                     if (this.CollectionLabelWeightValue[i].Text != value) | ||||
|                         this.CollectionLabelWeightValue[i].Text = value; | ||||
|                     if (this.CollectionLabelWeightValue[i].ForeColor != Color.Black) | ||||
|                         this.CollectionLabelWeightValue[i].ForeColor = Color.Black; | ||||
| 
 | ||||
|                     // 영점표시 | ||||
|                     if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero) | ||||
|                         this.CollectionPictureBoxZero[i].Visible = true; | ||||
|                     else | ||||
|                         this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 } | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|                 { | ||||
|                     // 영점표시 | ||||
|                     if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero) | ||||
|                         this.CollectionPictureBoxZero[i].Visible = true; | ||||
|                     else | ||||
|                         this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             string value = ""; | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                     continue; | ||||
| 
 | ||||
|                 if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                     empty = true; | ||||
|                 else | ||||
|                     empty = false; | ||||
| 
 | ||||
|                 // Weight Value | ||||
|                 value = Helper.DoubleToString(weightDatas[i].Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 if (this.CollectionLabelWeightValue[i].Text != value) | ||||
|                     this.CollectionLabelWeightValue[i].Text = value; | ||||
| 
 | ||||
|                 if (empty == false) | ||||
|                 { | ||||
|                     // Weight | ||||
|                     this.CollectionLabelWeightValue[i].ForeColor = Color.Black; | ||||
|                     // Pass Count | ||||
|                     value = weightDatas[i].PassCount.ToString(); | ||||
|                     if (this.CollectionLabelPassCNT[i].Text != value) | ||||
|                         this.CollectionLabelPassCNT[i].Text = value; | ||||
|                     // Ng Count | ||||
|                     value = weightDatas[i].TotalNGCount.ToString(); | ||||
|                     if (this.CollectionLabelNgCNT[i].Text != value) | ||||
|                         this.CollectionLabelNgCNT[i].Text = value; | ||||
|                     // ProgressBar | ||||
|                     Helper.SetProgressBarValue(this.CollectionProgressBar[i], weightDatas[i].Weight, weightDatas[i].JudgmentStatus, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     this.CollectionLabelWeightValue[i].ForeColor = Color.Gray; | ||||
|                     this.CollectionProgressBar[i].Value = this.CollectionProgressBar[i].Minimum; | ||||
|                     this.CollectionProgressBar[i].BarColor1 = Color.Lime; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -0,0 +1,220 @@ | |||
| using System; | ||||
| using System.Linq; | ||||
| using System.Collections.ObjectModel; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Drawing; | ||||
| using System.Data; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| 
 | ||||
| using SmartX; | ||||
| using INT63DC_2C.Forms; | ||||
| 
 | ||||
| namespace INT63DC_2C.Controls | ||||
| { | ||||
|     public partial class ControlMainDisplayTable15 : UserControl | ||||
|     { | ||||
|         #region Field | ||||
|         private FormMainDisplay m_ParentForm; | ||||
| 
 | ||||
|         private Color WeightOverColor = Color.Red; | ||||
|         private Color WeightStandardColor = Color.Black; | ||||
|         private Color WeightUnderColor = Color.Red; | ||||
|         private Color WeightSamplingDataColor = Color.Blue; | ||||
| 
 | ||||
|         private Collection<PictureBox> CollectionPictureBoxZero; | ||||
|         private Collection<PictureBox> CollectionPictureBoxBypass; | ||||
|         private Collection<SmartLabel> CollectionLabelTenAvg; | ||||
|         private Collection<SmartLabel> CollectionLabelAllAvg; | ||||
|         private Collection<SmartListBox> CollectionListBox; | ||||
|         private Collection<WeightStorageItem> CollectionWeightStorageItem; | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Constructor | ||||
|         public ControlMainDisplayTable15(FormMainDisplay parent) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
| 
 | ||||
|             this.ParentForm = parent; | ||||
| 
 | ||||
|             this.CreateCollection(); | ||||
|             this.InitializeControl(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Property | ||||
|         public FormMainDisplay ParentForm | ||||
|         { | ||||
|             get { return this.m_ParentForm; } | ||||
|             private set { this.m_ParentForm = value; } | ||||
|         } | ||||
|         private int EquipmentColumns { get { return this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; } } | ||||
|         #endregion | ||||
| 
 | ||||
|         #region Method | ||||
|         private void CreateCollection() | ||||
|         { | ||||
|             this.CollectionWeightStorageItem = new Collection<WeightStorageItem>(); | ||||
|             this.CollectionPictureBoxZero = new Collection<PictureBox>(); | ||||
|             this.CollectionPictureBoxBypass = new Collection<PictureBox>(); | ||||
|             this.CollectionLabelTenAvg = new Collection<SmartLabel>(); | ||||
|             this.CollectionLabelAllAvg = new Collection<SmartLabel>(); | ||||
|             this.CollectionListBox = new Collection<SmartListBox>(); | ||||
| 
 | ||||
|             for (int i = 1; i <= this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionPictureBoxZero.Add(FindByNameUtil.PictureBox("pictureBox" + i, this)); | ||||
|                 this.CollectionPictureBoxBypass.Add(FindByNameUtil.PictureBox("pictureBoxBypass" + i, this)); | ||||
|                 this.CollectionLabelTenAvg.Add(FindByNameUtil.SmartLabel("labelTenAvg" + i, this)); | ||||
|                 this.CollectionLabelAllAvg.Add(FindByNameUtil.SmartLabel("labelAllAvg" + i, this)); | ||||
|                 this.CollectionListBox.Add(FindByNameUtil.SmartListBox("listBox" + i, this)); | ||||
|                 this.CollectionWeightStorageItem.Add(new WeightStorageItem()); | ||||
|             } | ||||
|         } | ||||
|         private void InitializeControl() | ||||
|         { | ||||
|             string weight = ""; | ||||
|             int[] iColPos = new int[2]; | ||||
|             iColPos[0] = 10; | ||||
|             iColPos[1] = 53; | ||||
| 
 | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 this.CollectionPictureBoxBypass[i].Visible = false; | ||||
|                 this.CollectionLabelTenAvg[i].Text = Helper.DoubleToString(0.0, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 this.CollectionLabelAllAvg[i].Text = Helper.DoubleToString(0.0, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
| 
 | ||||
|                 this.CollectionListBox[i].ColumnAlign = SmartListBox.COLUMNALIGNS.RIGHT; | ||||
|                 this.CollectionListBox[i].ColumnOffsets = iColPos; | ||||
|                 this.CollectionListBox[i].ColumnDelimiter = ';'; | ||||
|                 this.CollectionListBox[i].Enabled = false; | ||||
|                 for (int j = 0; j < 10; j++) | ||||
|                 { | ||||
|                     weight = Helper.DoubleToString(0.0, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                     this.CollectionListBox[i].AddItem(string.Format(";{0}", weight)); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         public void Clear() | ||||
|         { | ||||
|             string weight = ""; | ||||
| 
 | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 this.CollectionWeightStorageItem[i].AllClear(); | ||||
|                 this.CollectionListBox[i].ClearAll(); | ||||
|                 for (int j = 0; j < 10; j++) | ||||
|                 { | ||||
|                     weight = Helper.DoubleToString(0.0, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                     this.CollectionListBox[i].AddItem(string.Format(";{0}", weight)); | ||||
|                 } | ||||
| 
 | ||||
|                 Helper.SetTableLabelValue(this.CollectionLabelTenAvg[i], this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                    this.CollectionWeightStorageItem[i].WeightTenAverage()); | ||||
|                 Helper.SetTableLabelValue(this.CollectionLabelAllAvg[i], this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                     this.CollectionWeightStorageItem[i].WeightTotalAverage()); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status) | ||||
|         { | ||||
|         } | ||||
|         public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             // 초기화 | ||||
|         } | ||||
|         public void UpdateBypassDisplay(Collection<WeightData> weightData) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionPictureBoxBypass.Count; i++) | ||||
|             { | ||||
|                 if (weightData[i].IsBypassMode == true) | ||||
|                     this.CollectionPictureBoxBypass[i].Visible = true; | ||||
|                 else | ||||
|                     this.CollectionPictureBoxBypass[i].Visible = false; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStopWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             string value = ""; | ||||
| 
 | ||||
|             if (this.ParentForm.ParentForm.SystemConfig.EquipmentColumns > weightDatas.Count) | ||||
|                 return; | ||||
| 
 | ||||
|             if (status == DataStore.EquipmentStatus.Stop) | ||||
|             { | ||||
|                 for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++) | ||||
|                 { | ||||
|                     // 영점표시 | ||||
|                     if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero) | ||||
|                         this.CollectionPictureBoxZero[i].Visible = true; | ||||
|                     else | ||||
|                         this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 } | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EquipmentColumns; i++) | ||||
|                 { | ||||
|                     // 영점표시 | ||||
|                     if (weightDatas[i].Status == DataStore.WeightStatus.WeightZero) | ||||
|                         this.CollectionPictureBoxZero[i].Visible = true; | ||||
|                     else | ||||
|                         this.CollectionPictureBoxZero[i].Visible = false; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas) | ||||
|         { | ||||
|             string weight = "", grd = ""; | ||||
| 
 | ||||
|             for (int i = 0; i < this.EquipmentColumns; i++) | ||||
|             { | ||||
|                 if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                     continue; | ||||
| 
 | ||||
|                 this.CollectionWeightStorageItem[i].SetValue(weightDatas[i]); | ||||
|                 this.CollectionWeightStorageItem[i].SetQueueData(); | ||||
| 
 | ||||
|                 if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 { | ||||
|                     //if (weightDatas[i].IsSamplingData == true) | ||||
|                     //    grd = "ES"; | ||||
|                     //else | ||||
|                     //    grd = "E"; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     //grd = "●"; | ||||
| 
 | ||||
|                     if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.Under) | ||||
|                         grd = "●";//grd = "U"; | ||||
|                     else if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.UnderLimit) | ||||
|                         grd = "●";//grd = "UL"; | ||||
|                     else if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.Over) | ||||
|                         grd = "●";//grd = "O"; | ||||
|                     else if (weightDatas[i].JudgmentStatus == DataStore.JudgmentStatus.OverLimit) | ||||
|                         grd = "●";//grd = "OL"; | ||||
|                     else | ||||
|                         grd = ""; | ||||
| 
 | ||||
|                     if (weightDatas[i].IsSamplingData == true) | ||||
|                         grd = "●"; //grd = "S"; | ||||
|                 } | ||||
| 
 | ||||
|                 weight = Helper.DoubleToString(weightDatas[i].Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|                 this.CollectionListBox[i].AddItem(string.Format("{0};{1}", grd, weight)); | ||||
|                 if (this.CollectionListBox[i].Items.Count > 10) | ||||
|                     this.CollectionListBox[i].RemoveItem(10); | ||||
| 
 | ||||
|                 Helper.SetTableLabelValue(this.CollectionLabelTenAvg[i], this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                     this.CollectionWeightStorageItem[i].WeightTenAverage()); | ||||
|                 Helper.SetTableLabelValue(this.CollectionLabelAllAvg[i], this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                     this.CollectionWeightStorageItem[i].WeightTotalAverage()); | ||||
|             } | ||||
|         } | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -119,262 +119,6 @@ namespace INT63DC_2C.Controls | |||
|             } | ||||
|         } | ||||
| 
 | ||||
|         private void UpdateLabelDisplay() | ||||
|         { | ||||
|             this.UpdateLabelDisplayLane1(); | ||||
|             this.UpdateLabelDisplayLane2(); | ||||
|             this.UpdateLabelDisplayLane3(); | ||||
|             this.UpdateLabelDisplayLane4(); | ||||
|             this.UpdateLabelDisplayLane5(); | ||||
|             this.UpdateLabelDisplayLane6(); | ||||
|             this.UpdateLabelDisplayLane7(); | ||||
|             this.UpdateLabelDisplayLane8(); | ||||
|             this.UpdateLabelDisplayLane9(); | ||||
|             this.UpdateLabelDisplayLane10(); | ||||
|             this.UpdateLabelDisplayLane11(); | ||||
|             this.UpdateLabelDisplayLane12(); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane1() | ||||
|         { | ||||
|             // Lane 1 | ||||
|             this.CollectionWeightStorageItem[0].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label1Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg1, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[0].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg1, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[0].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane2() | ||||
|         { | ||||
|             // Lane 2 | ||||
|             this.CollectionWeightStorageItem[1].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label2Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label2Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[1].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg2, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[1].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg2, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[1].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane3() | ||||
|         { | ||||
|             // Lane 3 | ||||
|             this.CollectionWeightStorageItem[2].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label3Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label3Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[2].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg3, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[2].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg3, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[2].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane4() | ||||
|         { | ||||
|             // Lane 4 | ||||
|             this.CollectionWeightStorageItem[3].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label4Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label4Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[3].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg4, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[3].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg4, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[3].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane5() | ||||
|         { | ||||
|             // Lane 5 | ||||
|             this.CollectionWeightStorageItem[4].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label5Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label5Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[4].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg5, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[4].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg5, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[4].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane6() | ||||
|         { | ||||
|             // Lane 6 | ||||
|             this.CollectionWeightStorageItem[5].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label6Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label6Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[5].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg6, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[5].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg6, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[5].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane7() | ||||
|         { | ||||
|             // Lane 7 | ||||
|             this.CollectionWeightStorageItem[6].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label7Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label7Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[6].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg7, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[6].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg7, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[6].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane8() | ||||
|         { | ||||
|             // Lane 8 | ||||
|             this.CollectionWeightStorageItem[7].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label8Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label8Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[7].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg8, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[7].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg8, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[7].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane9() | ||||
|         { | ||||
|             // Lane 9 | ||||
|             this.CollectionWeightStorageItem[8].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label9Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label9Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[8].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg9, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[8].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg9, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[8].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane10() | ||||
|         { | ||||
|             // Lane 10 | ||||
|             this.CollectionWeightStorageItem[9].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label10Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label10Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[9].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg10, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[9].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg10, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[9].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane11() | ||||
|         { | ||||
|             // Lane 11 | ||||
|             this.CollectionWeightStorageItem[10].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label11Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label11Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[10].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg11, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[10].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg11, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[10].WeightTotalAverage()); | ||||
|         } | ||||
|         private void UpdateLabelDisplayLane12() | ||||
|         { | ||||
|             // Lane 12 | ||||
|             this.CollectionWeightStorageItem[11].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label12Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label12Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[11].C_StorageItem[9]); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg12, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[11].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg12, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[11].WeightTotalAverage()); | ||||
|         } | ||||
| 
 | ||||
|         public void UpdateEquipmentStatusDisplay(DataStore.EquipmentStatus status) | ||||
|         { | ||||
|         } | ||||
|  | @ -471,213 +215,6 @@ namespace INT63DC_2C.Controls | |||
|                     this.CollectionWeightStorageItem[i].WeightTotalAverage()); | ||||
|             } | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay1(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
|             string weight = "", grd = ""; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[0].SetValue(weightData); | ||||
|             this.CollectionWeightStorageItem[0].SetQueueData(); | ||||
|             //Helper.SetTableLabelValue(this.label1Col1Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[0]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col2Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[1]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col3Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[2]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col4Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[3]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col5Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[4]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col6Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[5]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col7Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[6]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col8Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[7]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col9Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[8]); | ||||
|             //Helper.SetTableLabelValue(this.label1Col10Row, this.ParentForm.ParentForm.SystemConfig, this.CollectionWeightStorageItem[0].C_StorageItem[9]); | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|             { | ||||
|                 if (weightData.IsSamplingData == true) | ||||
|                     grd = "ES"; | ||||
|                 else | ||||
|                     grd = "E"; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Under) | ||||
|                     grd = "U"; | ||||
|                 else if (weightData.JudgmentStatus == DataStore.JudgmentStatus.UnderLimit) | ||||
|                     grd = "UL"; | ||||
|                 else if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Over) | ||||
|                     grd = "O"; | ||||
|                 else if (weightData.JudgmentStatus == DataStore.JudgmentStatus.OverLimit) | ||||
|                     grd = "OL"; | ||||
|                 else | ||||
|                     grd = ""; | ||||
|             } | ||||
| 
 | ||||
|             weight = Helper.DoubleToString(weightData.Weight, this.ParentForm.ParentForm.SystemConfig.DecimalPlaces); | ||||
|             this.listBox1.AddItem(string.Format("{0};{1}", grd, weight)); | ||||
|             if (this.listBox1.Items.Count > 10) | ||||
|                 this.listBox1.RemoveItem(10); | ||||
| 
 | ||||
|             Helper.SetTableLabelValue(this.labelTenAvg1, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[0].WeightTenAverage()); | ||||
|             Helper.SetTableLabelValue(this.labelAllAvg1, this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig, | ||||
|                 this.CollectionWeightStorageItem[0].WeightTotalAverage()); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay2(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[1].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane2(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay3(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[2].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane3(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay4(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[3].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane4(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay5(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[4].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane5(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay6(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[5].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane6(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay7(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[6].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane7(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay8(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[7].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane8(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay9(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[8].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane9(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay10(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[9].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane10(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay11(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[10].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane11(); | ||||
|         } | ||||
|         public void UpdateStartWeightDisplay12(DataStore.EquipmentStatus status, WeightData weightData) | ||||
|         { | ||||
|             bool empty = false; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.None) | ||||
|                 return; | ||||
| 
 | ||||
|             if (weightData.JudgmentStatus == DataStore.JudgmentStatus.Empty) | ||||
|                 empty = true; | ||||
| 
 | ||||
|             this.CollectionWeightStorageItem[11].SetValue(weightData.Weight, weightData.IsSamplingData, empty, weightData.JudgmentStatus); | ||||
| 
 | ||||
|             this.UpdateLabelDisplayLane12(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         private void smartButton1_Click(object sender, EventArgs e) | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -28,6 +28,7 @@ namespace INT63DC_2C.Forms | |||
|         private ControlCalibration8 Calibration8; | ||||
|         private ControlCalibration10 Calibration10; | ||||
|         private ControlCalibration12 Calibration12; | ||||
|         private ControlCalibration15 Calibration15; | ||||
|         private ControlCalibration16 Calibration16; | ||||
|         #endregion | ||||
| 
 | ||||
|  | @ -227,6 +228,11 @@ namespace INT63DC_2C.Forms | |||
|                     this.Calibration12.Location = new Point(0, 70); | ||||
|                     this.Controls.Add(this.Calibration12); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15 = new ControlCalibration15(this); | ||||
|                     this.Calibration15.Location = new Point(0, 70); | ||||
|                     this.Controls.Add(this.Calibration15); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16 = new ControlCalibration16(this); | ||||
|                     this.Calibration16.Location = new Point(0, 70); | ||||
|  | @ -524,6 +530,9 @@ namespace INT63DC_2C.Forms | |||
|                 case 12: | ||||
|                     this.Calibration12.UpdateConfiguration(status, config); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15.UpdateConfiguration(status, config); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16.UpdateConfiguration(status, config); | ||||
|                     break; | ||||
|  | @ -562,6 +571,9 @@ namespace INT63DC_2C.Forms | |||
|                 case 12: | ||||
|                     this.Calibration12.UpdateWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15.UpdateWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16.UpdateWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|  | @ -614,6 +626,10 @@ namespace INT63DC_2C.Forms | |||
|                     if (this.Calibration12 != null) | ||||
|                         this.Calibration12.DisplayRefresh(); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     if (this.Calibration15 != null) | ||||
|                         this.Calibration15.DisplayRefresh(); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     if (this.Calibration16 != null) | ||||
|                         this.Calibration16.DisplayRefresh(); | ||||
|  | @ -726,6 +742,9 @@ namespace INT63DC_2C.Forms | |||
|                 case 12: | ||||
|                     this.Calibration12.CalibrationStart(); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15.CalibrationStart(); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16.CalibrationStart(); | ||||
|                     break; | ||||
|  | @ -765,6 +784,9 @@ namespace INT63DC_2C.Forms | |||
|                 case 12: | ||||
|                     this.Calibration12.CalibrationBalance(); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15.CalibrationBalance(); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16.CalibrationBalance(); | ||||
|                     break; | ||||
|  | @ -804,6 +826,9 @@ namespace INT63DC_2C.Forms | |||
|                 case 12: | ||||
|                     this.Calibration12.CalibrationCancel(); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15.CalibrationCancel(); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16.CalibrationCancel(); | ||||
|                     break; | ||||
|  | @ -843,6 +868,9 @@ namespace INT63DC_2C.Forms | |||
|                 case 12: | ||||
|                     this.Calibration12.CalibrationCancel(); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.Calibration15.CalibrationCancel(); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.Calibration16.CalibrationCancel(); | ||||
|                     break; | ||||
|  |  | |||
|  | @ -240,6 +240,7 @@ namespace INT63DC_2C.Forms | |||
|             this.comboBoxEquipmentColumn.Items.Add(8); | ||||
|             this.comboBoxEquipmentColumn.Items.Add(10); | ||||
|             this.comboBoxEquipmentColumn.Items.Add(12); | ||||
|             this.comboBoxEquipmentColumn.Items.Add(15); | ||||
|             this.comboBoxEquipmentColumn.Items.Add(16); | ||||
|             this.comboBoxEquipmentColumn.SelectedItem = this.ParentForm.SystemConfig.EquipmentColumns; | ||||
| 
 | ||||
|  | @ -372,6 +373,8 @@ namespace INT63DC_2C.Forms | |||
|                 this.ParentForm.SystemConfig.EquipmentColumns = 10; | ||||
|             else if (this.comboBoxEquipmentColumn.SelectedIndex == 8) | ||||
|                 this.ParentForm.SystemConfig.EquipmentColumns = 12; | ||||
|             else if (this.comboBoxEquipmentColumn.SelectedIndex == 9) | ||||
|                 this.ParentForm.SystemConfig.EquipmentColumns = 15; | ||||
|             else | ||||
|                 this.ParentForm.SystemConfig.EquipmentColumns = 16; | ||||
| 
 | ||||
|  |  | |||
|  | @ -848,7 +848,7 @@ | |||
|             this.textBoxSerialNo.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Bold); | ||||
|             this.textBoxSerialNo.Location = new System.Drawing.Point(727, 70); | ||||
|             this.textBoxSerialNo.Name = "textBoxSerialNo"; | ||||
|             this.textBoxSerialNo.Size = new System.Drawing.Size(290, 45); | ||||
|             this.textBoxSerialNo.Size = new System.Drawing.Size(290, 43); | ||||
|             this.textBoxSerialNo.TabIndex = 192; | ||||
|             this.textBoxSerialNo.Text = "18F0000"; | ||||
|             this.textBoxSerialNo.Visible = false; | ||||
|  | @ -869,7 +869,7 @@ | |||
|             this.labelInfo2.Name = "labelInfo2"; | ||||
|             this.labelInfo2.Size = new System.Drawing.Size(715, 40); | ||||
|             this.labelInfo2.TabIndex = 194; | ||||
|             this.labelInfo2.Text = "AutoWeighing Checker system - MULTILANE CHECKER"; | ||||
|             this.labelInfo2.Text = "Automatic weighing system / Multi-lane checkweigher"; | ||||
|             this.labelInfo2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; | ||||
|             this.labelInfo2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelInfo2.Wordwrap = false; | ||||
|  |  | |||
|  | @ -153,7 +153,7 @@ namespace INT63DC_2C.Forms | |||
|         } | ||||
|         private void DefaultSetting() | ||||
|         { | ||||
|             this.labelDisplayVer.Text = "8.6.0"; | ||||
|             this.labelDisplayVer.Text = "8.7.0"; | ||||
|             this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber; | ||||
|             this.textBoxSerialNo.Location = new Point(395, 225); | ||||
|             this.textBoxSerialNo.Visible = false; | ||||
|  | @ -343,6 +343,26 @@ namespace INT63DC_2C.Forms | |||
|                     this.labelSub13.Visible = this.labelSubBoardVersion13.Visible = false; | ||||
|                     this.labelSub14.Visible = this.labelSubBoardVersion14.Visible = false; | ||||
|                     this.labelSub15.Visible = this.labelSubBoardVersion15.Visible = false; | ||||
|                     this.labelSub16.Visible = this.labelSubBoardVersion16.Visible = false; | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.CollectionControlVerLabel.Add(this.labelMainControlVer); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion1); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion2); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion3); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion4); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion5); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion6); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion7); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion8); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion9); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion10); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion11); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion12); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion13); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion14); | ||||
|                     this.CollectionControlVerLabel.Add(this.labelSubBoardVersion15); | ||||
| 
 | ||||
|                     this.labelSub16.Visible = this.labelSubBoardVersion16.Visible = false; | ||||
|                     break; | ||||
|                 case 16: | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -42,8 +42,6 @@ | |||
|             this.smartModbus = new SmartX.SmartModbus(); | ||||
|             this.timerSampling = new System.Windows.Forms.Timer(); | ||||
|             this.timerEmergencyStop = new System.Windows.Forms.Timer(); | ||||
|             this.smartThreadSerialPort2Read = new SmartX.SmartThread(this.components); | ||||
|             this.smartThreadSerialPort2OverRun = new SmartX.SmartThread(this.components); | ||||
|             this.timerEquipmentStatus = new System.Windows.Forms.Timer(); | ||||
|             this.timerLeakSampling = new System.Windows.Forms.Timer(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.smartForm)).BeginInit(); | ||||
|  | @ -118,18 +116,6 @@ | |||
|             this.timerEmergencyStop.Interval = 500; | ||||
|             this.timerEmergencyStop.Tick += new System.EventHandler(this.timerEmergencyStop_Tick); | ||||
|             //  | ||||
|             // smartThreadSerialPort2Read | ||||
|             //  | ||||
|             this.smartThreadSerialPort2Read.Priority = System.Threading.ThreadPriority.Normal; | ||||
|             this.smartThreadSerialPort2Read.WorkerReportsProgress = false; | ||||
|             this.smartThreadSerialPort2Read.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2Read_UIThreadFunction); | ||||
|             //  | ||||
|             // smartThreadSerialPort2OverRun | ||||
|             //  | ||||
|             this.smartThreadSerialPort2OverRun.Priority = System.Threading.ThreadPriority.Normal; | ||||
|             this.smartThreadSerialPort2OverRun.WorkerReportsProgress = false; | ||||
|             this.smartThreadSerialPort2OverRun.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2OverRun_UIThreadFunction); | ||||
|             //  | ||||
|             // timerEquipmentStatus | ||||
|             //  | ||||
|             this.timerEquipmentStatus.Interval = 1500; | ||||
|  | @ -168,8 +154,6 @@ | |||
|         public SmartX.SmartModbus smartModbus; | ||||
|         public System.Windows.Forms.Timer timerSampling; | ||||
|         private System.Windows.Forms.Timer timerEmergencyStop; | ||||
|         private SmartX.SmartThread smartThreadSerialPort2Read; | ||||
|         private SmartX.SmartThread smartThreadSerialPort2OverRun; | ||||
|         private System.Windows.Forms.Timer timerEquipmentStatus; | ||||
|         public System.Windows.Forms.Timer timerLeakSampling; | ||||
|     } | ||||
|  |  | |||
|  | @ -32,10 +32,6 @@ namespace INT63DC_2C.Forms | |||
|         private int ProductChangNumber;     // 변경할 품번 | ||||
|         private int FlagTimeoutCount;       // 품번 변경 실패 시 재시도 횟수 | ||||
|         public bool IsDeveloperMode;        // 장비테스트에서 설정 (관리자 모드)  | ||||
|         private Queue<string> QueueCommunicationRecive; // 큐 통신 데이터용 | ||||
|         private int FlagComRetry3th;        // 3회 재전송 횟수 | ||||
|         public Queue<string> QueueOverRun = new Queue<string>(); | ||||
|         private int IndexOverRun = 0; | ||||
|         public bool IsServoOrigin;          // 비상정지 시 false 처리 | ||||
| 
 | ||||
|         private string ComPortMainToLCD; | ||||
|  | @ -298,12 +294,8 @@ namespace INT63DC_2C.Forms | |||
|             this.FlagThreadMessage1 = false; | ||||
|             this.ProductChangNumber = 1; | ||||
|             this.FlagTimeoutCount = 0; | ||||
|             this.FlagComRetry3th = 0; | ||||
|             this.IsServoOrigin = false; | ||||
| 
 | ||||
|             // 통신용 큐 | ||||
|             this.QueueCommunicationRecive = new Queue<string>(); | ||||
| 
 | ||||
|             this.SystemConfig = new SystemConfigurationItem(); | ||||
|             this.CurrentProductItem = new ProductItem(); | ||||
|             this.CurrentJudgmentSetItem = new JudgmentSetItem(); | ||||
|  | @ -916,11 +908,6 @@ namespace INT63DC_2C.Forms | |||
|                     // 재전송 관련 카운트 표시 | ||||
|                     // 관리자모드 설정 시 메인화면 표시됨 (장비 테스트화면에서 설정) | ||||
|                     this.SystemConfig.ComRetryCNT = 0; | ||||
|                     this.FlagComRetry3th = 0; | ||||
|                     this.IndexOverRun = 0; | ||||
|                     this.ChildFormMainDisplay.labelComRetry.Text = "0"; | ||||
|                     this.ChildFormMainDisplay.labelComRetry3th.Text = "0"; | ||||
|                     this.ChildFormMainDisplay.labelOverrun.Text = "0"; | ||||
| 
 | ||||
|                     if (this.ChildFormMainDisplay != null) | ||||
|                         this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.EquipmentStatus); | ||||
|  | @ -1816,16 +1803,6 @@ namespace INT63DC_2C.Forms | |||
|                             // 같은 데이터를 전송받으면 재전송 카운트 증가 | ||||
|                             this.SystemConfig.ComRetryCNT++; | ||||
|                             this.SaveSystemConfigurationFile2(this.SystemConfig); | ||||
|                             this.ChildFormMainDisplay.labelComRetry.Text = this.SystemConfig.ComRetryCNT.ToString(); | ||||
| 
 | ||||
|                             if (int.Parse(transferCNT) >= 3) | ||||
|                             { | ||||
|                                 //this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard); | ||||
|                                 //MessageBox.Show("재전송 정지"); | ||||
| 
 | ||||
|                                 this.FlagComRetry3th++; | ||||
|                                 this.ChildFormMainDisplay.labelComRetry3th.Text = this.FlagComRetry3th.ToString(); | ||||
|                             } | ||||
|                         } | ||||
| 
 | ||||
|                         break; | ||||
|  | @ -5789,11 +5766,6 @@ namespace INT63DC_2C.Forms | |||
|             // 통신 OPEN | ||||
|             this.OpenSmartUartLink(); | ||||
| 
 | ||||
|             // 통신 버퍼용 | ||||
|             this.smartThreadSerialPort2Read.Priority = ThreadPriority.Normal; | ||||
|             this.smartThreadSerialPort2Read.Start(); | ||||
|             //this.smartThreadSerialPort2OverRun.Start(); | ||||
| 
 | ||||
|             // Serial3 통신 Open | ||||
|             this.UartCom3Open(); | ||||
| 
 | ||||
|  | @ -5811,15 +5783,8 @@ namespace INT63DC_2C.Forms | |||
|         { | ||||
|             try | ||||
|             { | ||||
|                 // 수신 버퍼 삭제 하고 테스트 | ||||
|                 //this.QueueCommunicationRecive.Enqueue(data); | ||||
|                 this.ReceiveData1(data); | ||||
| 
 | ||||
|                 this.ChildFormMainDisplay.labelBufferCNT.BeginInvoke(new Action(() => | ||||
|                 { | ||||
|                     this.ChildFormMainDisplay.labelBufferCNT.Text = this.QueueCommunicationRecive.Count.ToString(); | ||||
|                 })); | ||||
| 
 | ||||
|                 // 통신 확인 | ||||
|                 if (this.CommunicationCheckCount / 3 == 1) | ||||
|                 { | ||||
|  | @ -5902,29 +5867,6 @@ namespace INT63DC_2C.Forms | |||
|             this.timerLeakSampling.Enabled = false; | ||||
|             this.TransferData(CommunicationCommand.LeakSamplingSignal, CommunicationID.MainBoard); | ||||
|         } | ||||
| 
 | ||||
|         private void smartThreadSerialPort2Read_UIThreadFunction(ThreadArgs args) | ||||
|         { | ||||
|             if (this.QueueCommunicationRecive.Count != 0) | ||||
|             { | ||||
|                 this.ReceiveData1(this.QueueCommunicationRecive.Dequeue()); | ||||
| 
 | ||||
|                 this.ChildFormMainDisplay.labelBufferCNT.BeginInvoke(new Action(() => | ||||
|                 { | ||||
|                     this.ChildFormMainDisplay.labelBufferCNT.Text = this.QueueCommunicationRecive.Count.ToString(); | ||||
|                 })); | ||||
|             } | ||||
|         } | ||||
|         private void smartSerialPortLink_OnPortError(System.IO.Ports.SerialError eErrorState) | ||||
|         { | ||||
|             this.IndexOverRun++; | ||||
|             this.QueueOverRun.Enqueue(string.Format("{0}", this.IndexOverRun)); | ||||
|         } | ||||
|         private void smartThreadSerialPort2OverRun_UIThreadFunction(ThreadArgs args) | ||||
|         { | ||||
|             if (this.QueueOverRun.Count != 0) | ||||
|                 this.ChildFormMainDisplay.UpdateDisplayOverRun(this.QueueOverRun.Dequeue()); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         private void timerEquipmentStatus_Tick(object sender, EventArgs e) | ||||
|  |  | |||
|  | @ -142,28 +142,22 @@ | |||
|     <value>1045, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="timerTimeout.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 56</value> | ||||
|     <value>1166, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="smartModbus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>144, 56</value> | ||||
|     <value>17, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="timerSampling.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>273, 56</value> | ||||
|     <value>146, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="timerEmergencyStop.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>406, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="smartThreadSerialPort2Read.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>574, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="smartThreadSerialPort2OverRun.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>784, 56</value> | ||||
|     <value>279, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="timerEquipmentStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>1014, 56</value> | ||||
|     <value>447, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="timerLeakSampling.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 95</value> | ||||
|     <value>622, 56</value> | ||||
|   </metadata> | ||||
|   <metadata name="$this.FormFactorShadowProperty" xml:space="preserve"> | ||||
|     <value>WEBPAD</value> | ||||
|  |  | |||
|  | @ -149,16 +149,12 @@ | |||
|             this.labelStaticPassRange = new SmartX.SmartLabel(); | ||||
|             this.labelUnderRange = new SmartX.SmartLabel(); | ||||
|             this.labelPassRange = new SmartX.SmartLabel(); | ||||
|             this.labelComRetry = new SmartX.SmartLabel(); | ||||
|             this.labelComRetry3th = new SmartX.SmartLabel(); | ||||
|             this.labelOverrun = new SmartX.SmartLabel(); | ||||
|             this.smartTimerDisplayDelay = new SmartX.SmartTimer(this.components); | ||||
|             this.panelAlarmMessageBox4 = new System.Windows.Forms.Panel(); | ||||
|             this.labelMessage5 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel5 = new SmartX.SmartLabel(); | ||||
|             this.pictureBox6 = new System.Windows.Forms.PictureBox(); | ||||
|             this.buttonAlarm4Ok = new SmartX.SmartButton(); | ||||
|             this.labelBufferCNT = new SmartX.SmartLabel(); | ||||
|             this.panelSubMenu3 = new System.Windows.Forms.Panel(); | ||||
|             this.buttonCutSignal2 = new SmartX.SmartButton(); | ||||
|             this.labelTitleLeakSampling = new SmartX.SmartLabel(); | ||||
|  | @ -2744,63 +2740,6 @@ | |||
|             this.labelPassRange.Wordwrap = false; | ||||
|             this.labelPassRange.Click += new System.EventHandler(this.buttonPass_Click); | ||||
|             //  | ||||
|             // labelComRetry | ||||
|             //  | ||||
|             this.labelComRetry.BackColor = System.Drawing.Color.Silver; | ||||
|             this.labelComRetry.BackPictureBox = this.smartForm1; | ||||
|             this.labelComRetry.BackPictureBox1 = null; | ||||
|             this.labelComRetry.BackPictureBox2 = null; | ||||
|             this.labelComRetry.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelComRetry.BorderStyle = System.Windows.Forms.BorderStyle.None; | ||||
|             this.labelComRetry.InitVisible = true; | ||||
|             this.labelComRetry.LineSpacing = 0F; | ||||
|             this.labelComRetry.Location = new System.Drawing.Point(497, 0); | ||||
|             this.labelComRetry.Name = "labelComRetry"; | ||||
|             this.labelComRetry.Size = new System.Drawing.Size(66, 39); | ||||
|             this.labelComRetry.TabIndex = 551; | ||||
|             this.labelComRetry.Text = "0"; | ||||
|             this.labelComRetry.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelComRetry.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelComRetry.Wordwrap = false; | ||||
|             //  | ||||
|             // labelComRetry3th | ||||
|             //  | ||||
|             this.labelComRetry3th.BackColor = System.Drawing.Color.Silver; | ||||
|             this.labelComRetry3th.BackPictureBox = this.smartForm1; | ||||
|             this.labelComRetry3th.BackPictureBox1 = null; | ||||
|             this.labelComRetry3th.BackPictureBox2 = null; | ||||
|             this.labelComRetry3th.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelComRetry3th.BorderStyle = System.Windows.Forms.BorderStyle.None; | ||||
|             this.labelComRetry3th.InitVisible = true; | ||||
|             this.labelComRetry3th.LineSpacing = 0F; | ||||
|             this.labelComRetry3th.Location = new System.Drawing.Point(569, 0); | ||||
|             this.labelComRetry3th.Name = "labelComRetry3th"; | ||||
|             this.labelComRetry3th.Size = new System.Drawing.Size(66, 39); | ||||
|             this.labelComRetry3th.TabIndex = 552; | ||||
|             this.labelComRetry3th.Text = "0"; | ||||
|             this.labelComRetry3th.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelComRetry3th.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelComRetry3th.Wordwrap = false; | ||||
|             //  | ||||
|             // labelOverrun | ||||
|             //  | ||||
|             this.labelOverrun.BackColor = System.Drawing.Color.Silver; | ||||
|             this.labelOverrun.BackPictureBox = this.smartForm1; | ||||
|             this.labelOverrun.BackPictureBox1 = null; | ||||
|             this.labelOverrun.BackPictureBox2 = null; | ||||
|             this.labelOverrun.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelOverrun.BorderStyle = System.Windows.Forms.BorderStyle.None; | ||||
|             this.labelOverrun.InitVisible = true; | ||||
|             this.labelOverrun.LineSpacing = 0F; | ||||
|             this.labelOverrun.Location = new System.Drawing.Point(641, 0); | ||||
|             this.labelOverrun.Name = "labelOverrun"; | ||||
|             this.labelOverrun.Size = new System.Drawing.Size(66, 39); | ||||
|             this.labelOverrun.TabIndex = 584; | ||||
|             this.labelOverrun.Text = "0"; | ||||
|             this.labelOverrun.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelOverrun.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelOverrun.Wordwrap = false; | ||||
|             //  | ||||
|             // smartTimerDisplayDelay | ||||
|             //  | ||||
|             this.smartTimerDisplayDelay.EndTime = ((long)(100000000000)); | ||||
|  | @ -2897,26 +2836,6 @@ | |||
|             this.buttonAlarm4Ok.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonAlarm4Ok.UpImage"))); | ||||
|             this.buttonAlarm4Ok.Click += new System.EventHandler(this.buttonAlarm4Ok_Click); | ||||
|             //  | ||||
|             // labelBufferCNT | ||||
|             //  | ||||
|             this.labelBufferCNT.BackColor = System.Drawing.Color.Silver; | ||||
|             this.labelBufferCNT.BackPictureBox = this.smartForm1; | ||||
|             this.labelBufferCNT.BackPictureBox1 = null; | ||||
|             this.labelBufferCNT.BackPictureBox2 = null; | ||||
|             this.labelBufferCNT.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelBufferCNT.BorderStyle = System.Windows.Forms.BorderStyle.None; | ||||
|             this.labelBufferCNT.InitVisible = true; | ||||
|             this.labelBufferCNT.LineSpacing = 0F; | ||||
|             this.labelBufferCNT.Location = new System.Drawing.Point(664, 583); | ||||
|             this.labelBufferCNT.Name = "labelBufferCNT"; | ||||
|             this.labelBufferCNT.Size = new System.Drawing.Size(69, 74); | ||||
|             this.labelBufferCNT.TabIndex = 599; | ||||
|             this.labelBufferCNT.Text = "0"; | ||||
|             this.labelBufferCNT.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelBufferCNT.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelBufferCNT.Visible = false; | ||||
|             this.labelBufferCNT.Wordwrap = false; | ||||
|             //  | ||||
|             // panelSubMenu3 | ||||
|             //  | ||||
|             this.panelSubMenu3.Controls.Add(this.buttonCutSignal2); | ||||
|  | @ -3075,11 +2994,7 @@ | |||
|             this.AutoScroll = true; | ||||
|             this.ClientSize = new System.Drawing.Size(1024, 768); | ||||
|             this.Controls.Add(this.panelSubMenu3); | ||||
|             this.Controls.Add(this.labelBufferCNT); | ||||
|             this.Controls.Add(this.panelAlarmMessageBox4); | ||||
|             this.Controls.Add(this.labelOverrun); | ||||
|             this.Controls.Add(this.labelComRetry3th); | ||||
|             this.Controls.Add(this.labelComRetry); | ||||
|             this.Controls.Add(this.panelSubMenu2); | ||||
|             this.Controls.Add(this.panelAlarmMessageBox3); | ||||
|             this.Controls.Add(this.panelSubMenu1); | ||||
|  | @ -3249,16 +3164,12 @@ | |||
|         public SmartX.SmartLabel labelTurnDelayTime; | ||||
|         private SmartX.SmartLabel labelStaticTurnDelayTime; | ||||
|         private SmartX.SmartLabel labelMessage4; | ||||
|         public SmartX.SmartLabel labelComRetry; | ||||
|         public SmartX.SmartLabel labelComRetry3th; | ||||
|         public SmartX.SmartLabel labelOverrun; | ||||
|         private SmartX.SmartTimer smartTimerDisplayDelay; | ||||
|         private System.Windows.Forms.Panel panelAlarmMessageBox4; | ||||
|         private SmartX.SmartLabel labelMessage5; | ||||
|         private SmartX.SmartLabel smartLabel5; | ||||
|         private System.Windows.Forms.PictureBox pictureBox6; | ||||
|         private SmartX.SmartButton buttonAlarm4Ok; | ||||
|         public SmartX.SmartLabel labelBufferCNT; | ||||
|         private SmartX.SmartButton buttonLeakSampling; | ||||
|         public SmartX.SmartLabel labelSorter4DelayTime; | ||||
|         private SmartX.SmartLabel labelStaticSorter4DelayTime; | ||||
|  |  | |||
|  | @ -10,9 +10,9 @@ using System.Threading; | |||
| using System.Windows.Forms; | ||||
| 
 | ||||
| using SmartX; | ||||
| using INT63DC_ImageDll; | ||||
| using INT63DC_2C.Controls; | ||||
| using INT63DC_2C.DialogForms; | ||||
| using INT63DC_ImageDll; | ||||
| 
 | ||||
| namespace INT63DC_2C.Forms | ||||
| { | ||||
|  | @ -36,6 +36,7 @@ namespace INT63DC_2C.Forms | |||
|         private ControlMainDisplayEachBarGraph8 MainDisplayEachBarGraph8; | ||||
|         private ControlMainDisplayEachBarGraph10 MainDisplayEachBarGraph10; | ||||
|         private ControlMainDisplayEachBarGraph12 MainDisplayEachBarGraph12; | ||||
|         private ControlMainDisplayEachBarGraph15 MainDisplayEachBarGraph15; | ||||
|         private ControlMainDisplayEachBarGraph16 MainDisplayEachBarGraph16; | ||||
|         private ControlMainDisplayDotGraph2 MainDisplayDotGraph2; | ||||
|         private ControlMainDisplayDotGraph3 MainDisplayDotGraph3; | ||||
|  | @ -46,6 +47,7 @@ namespace INT63DC_2C.Forms | |||
|         private ControlMainDisplayDotGraph8 MainDisplayDotGraph8; | ||||
|         private ControlMainDisplayDotGraph10 MainDisplayDotGraph10; | ||||
|         private ControlMainDisplayDotGraph12 MainDisplayDotGraph12; | ||||
|         private ControlMainDisplayDotGraph15 MainDisplayDotGraph15; | ||||
|         private ControlMainDisplayDotGraph16 MainDisplayDotGraph16; | ||||
|         private ControlMainDisplayTable5 MainDisplayTable5; | ||||
|         private ControlMainDisplayTable6 MainDisplayTable6; | ||||
|  | @ -53,8 +55,8 @@ namespace INT63DC_2C.Forms | |||
|         private ControlMainDisplayTable8 MainDisplayTable8; | ||||
|         private ControlMainDisplayTable10 MainDisplayTable10; | ||||
|         private ControlMainDisplayTable12 MainDisplayTable12; | ||||
|         public ControlMainDisplayTable16 MainDisplayTable16; | ||||
|         //public ControlMainDisplayTable16_1 MainDisplayTable16_1; | ||||
|         private ControlMainDisplayTable15 MainDisplayTable15; | ||||
|         private ControlMainDisplayTable16 MainDisplayTable16; | ||||
| 
 | ||||
|         private ControlMainDisplay2 MainDisplay2; | ||||
|         private ControlMainDisplay3 MainDisplay3; | ||||
|  | @ -673,20 +675,6 @@ namespace INT63DC_2C.Forms | |||
|                 this.labelStopper2RunTime.Visible = false; | ||||
|             } | ||||
| 
 | ||||
|             // IsDeveloperMode | ||||
|             if (this.ParentForm.IsDeveloperMode == true) | ||||
|             { | ||||
|                 this.labelComRetry.Visible = true; | ||||
|                 this.labelComRetry3th.Visible = true; | ||||
|                 this.labelOverrun.Visible = true; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.labelComRetry.Visible = false; | ||||
|                 this.labelComRetry3th.Visible = false; | ||||
|                 this.labelOverrun.Visible = false; | ||||
|             } | ||||
| 
 | ||||
|             this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph; | ||||
| 
 | ||||
|             switch (this.ParentForm.SystemConfig.EquipmentColumns) | ||||
|  | @ -829,6 +817,23 @@ namespace INT63DC_2C.Forms | |||
|                     this.MainDisplayTable12.BringToFront(); | ||||
|                     this.MainDisplayTable12.Location = new Point(0, 75); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     this.MainDisplayEachBarGraph15 = new ControlMainDisplayEachBarGraph15(this); | ||||
|                     this.Controls.Add(this.MainDisplayEachBarGraph15); | ||||
|                     this.MainDisplayEachBarGraph15.BringToFront(); | ||||
|                     this.MainDisplayEachBarGraph15.Location = new Point(0, 75); | ||||
|                     this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph; | ||||
| 
 | ||||
|                     this.MainDisplayDotGraph15 = new ControlMainDisplayDotGraph15(this); | ||||
|                     this.Controls.Add(this.MainDisplayDotGraph15); | ||||
|                     this.MainDisplayDotGraph15.BringToFront(); | ||||
|                     this.MainDisplayDotGraph15.Location = new Point(0, 75); | ||||
| 
 | ||||
|                     this.MainDisplayTable15 = new ControlMainDisplayTable15(this); | ||||
|                     this.Controls.Add(this.MainDisplayTable15); | ||||
|                     this.MainDisplayTable15.BringToFront(); | ||||
|                     this.MainDisplayTable15.Location = new Point(0, 75); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     this.MainDisplayEachBarGraph16 = new ControlMainDisplayEachBarGraph16(this); | ||||
|                     this.Controls.Add(this.MainDisplayEachBarGraph16); | ||||
|  | @ -845,11 +850,6 @@ namespace INT63DC_2C.Forms | |||
|                     this.Controls.Add(this.MainDisplayTable16); | ||||
|                     this.MainDisplayTable16.BringToFront(); | ||||
|                     this.MainDisplayTable16.Location = new Point(0, 75); | ||||
| 
 | ||||
|                     //this.MainDisplayTable16_1 = new ControlMainDisplayTable16_1(this); | ||||
|                     //this.Controls.Add(this.MainDisplayTable16_1); | ||||
|                     //this.MainDisplayTable16_1.BringToFront(); | ||||
|                     //this.MainDisplayTable16_1.Location = new Point(0, 75); | ||||
|                     break; | ||||
|                 default: | ||||
|                     break; | ||||
|  | @ -988,6 +988,12 @@ namespace INT63DC_2C.Forms | |||
|                     if (this.MainDisplayDotGraph12 != null) | ||||
|                         this.MainDisplayDotGraph12.RescaleControl(); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     if (this.MainDisplayEachBarGraph15 != null) | ||||
|                         this.MainDisplayEachBarGraph15.RescaleControl(); | ||||
|                     if (this.MainDisplayDotGraph15 != null) | ||||
|                         this.MainDisplayDotGraph15.RescaleControl(); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     if (this.MainDisplayEachBarGraph16 != null) | ||||
|                         this.MainDisplayEachBarGraph16.RescaleControl(); | ||||
|  | @ -1071,6 +1077,14 @@ namespace INT63DC_2C.Forms | |||
|                         if (this.MainDisplayTable12 != null) | ||||
|                             this.MainDisplayTable12.Visible = false; | ||||
|                         break; | ||||
|                     case 15: | ||||
|                         if (this.MainDisplayEachBarGraph15 != null) | ||||
|                             this.MainDisplayEachBarGraph15.Visible = true; | ||||
|                         if (this.MainDisplayDotGraph15 != null) | ||||
|                             this.MainDisplayDotGraph15.Visible = false; | ||||
|                         if (this.MainDisplayTable15 != null) | ||||
|                             this.MainDisplayTable15.Visible = false; | ||||
|                         break; | ||||
|                     case 16: | ||||
|                         if (this.MainDisplayEachBarGraph16 != null) | ||||
|                             this.MainDisplayEachBarGraph16.Visible = true; | ||||
|  | @ -1078,8 +1092,6 @@ namespace INT63DC_2C.Forms | |||
|                             this.MainDisplayDotGraph16.Visible = false; | ||||
|                         if (this.MainDisplayTable16 != null) | ||||
|                             this.MainDisplayTable16.Visible = false; | ||||
|                         //if (this.MainDisplayTable16_1 != null) | ||||
|                         //    this.MainDisplayTable16_1.Visible = false; | ||||
|                         break; | ||||
|                     default: | ||||
|                         break; | ||||
|  | @ -1158,6 +1170,14 @@ namespace INT63DC_2C.Forms | |||
|                         if (this.MainDisplayTable12 != null) | ||||
|                             this.MainDisplayTable12.Visible = false; | ||||
|                         break; | ||||
|                     case 15: | ||||
|                         if (this.MainDisplayEachBarGraph15 != null) | ||||
|                             this.MainDisplayEachBarGraph15.Visible = false; | ||||
|                         if (this.MainDisplayDotGraph15 != null) | ||||
|                             this.MainDisplayDotGraph15.Visible = true; | ||||
|                         if (this.MainDisplayTable15 != null) | ||||
|                             this.MainDisplayTable15.Visible = false; | ||||
|                         break; | ||||
|                     case 16: | ||||
|                         if (this.MainDisplayEachBarGraph16 != null) | ||||
|                             this.MainDisplayEachBarGraph16.Visible = false; | ||||
|  | @ -1165,8 +1185,6 @@ namespace INT63DC_2C.Forms | |||
|                             this.MainDisplayDotGraph16.Visible = true; | ||||
|                         if (this.MainDisplayTable16 != null) | ||||
|                             this.MainDisplayTable16.Visible = false; | ||||
|                         //if (this.MainDisplayTable16_1 != null) | ||||
|                         //    this.MainDisplayTable16_1.Visible = false; | ||||
|                         break; | ||||
|                     default: | ||||
|                         break; | ||||
|  | @ -1245,6 +1263,14 @@ namespace INT63DC_2C.Forms | |||
|                         if (this.MainDisplayTable12 != null) | ||||
|                             this.MainDisplayTable12.Visible = true; | ||||
|                         break; | ||||
|                     case 15: | ||||
|                         if (this.MainDisplayEachBarGraph15 != null) | ||||
|                             this.MainDisplayEachBarGraph15.Visible = false; | ||||
|                         if (this.MainDisplayDotGraph15 != null) | ||||
|                             this.MainDisplayDotGraph15.Visible = false; | ||||
|                         if (this.MainDisplayTable15 != null) | ||||
|                             this.MainDisplayTable15.Visible = true; | ||||
|                         break; | ||||
|                     case 16: | ||||
|                         if (this.MainDisplayEachBarGraph16 != null) | ||||
|                             this.MainDisplayEachBarGraph16.Visible = false; | ||||
|  | @ -1252,8 +1278,6 @@ namespace INT63DC_2C.Forms | |||
|                             this.MainDisplayDotGraph16.Visible = false; | ||||
|                         if (this.MainDisplayTable16 != null) | ||||
|                             this.MainDisplayTable16.Visible = true; | ||||
|                         //if (this.MainDisplayTable16_1 != null) | ||||
|                         //    this.MainDisplayTable16_1.Visible = true; | ||||
|                         break; | ||||
|                     default: | ||||
|                         break; | ||||
|  | @ -1702,6 +1726,14 @@ namespace INT63DC_2C.Forms | |||
|                     if (this.MainDisplayTable12 != null) | ||||
|                         this.MainDisplayTable12.UpdateCurrentProductDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     if (this.MainDisplayEachBarGraph15 != null) | ||||
|                         this.MainDisplayEachBarGraph15.UpdateCurrentProductDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayDotGraph15 != null) | ||||
|                         this.MainDisplayDotGraph15.UpdateCurrentProductDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayTable15 != null) | ||||
|                         this.MainDisplayTable15.UpdateCurrentProductDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     if (this.MainDisplayEachBarGraph16 != null) | ||||
|                         this.MainDisplayEachBarGraph16.UpdateCurrentProductDisplay(status, weightDatas); | ||||
|  | @ -1895,6 +1927,14 @@ namespace INT63DC_2C.Forms | |||
|                     if (this.MainDisplayTable12 != null) | ||||
|                         this.MainDisplayTable12.UpdateEquipmentStatusDisplay(status); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     if (this.MainDisplayEachBarGraph15 != null) | ||||
|                         this.MainDisplayEachBarGraph15.UpdateEquipmentStatusDisplay(status); | ||||
|                     if (this.MainDisplayDotGraph15 != null) | ||||
|                         this.MainDisplayDotGraph15.UpdateEquipmentStatusDisplay(status); | ||||
|                     if (this.MainDisplayTable15 != null) | ||||
|                         this.MainDisplayTable15.UpdateEquipmentStatusDisplay(status); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     if (this.MainDisplayEachBarGraph16 != null) | ||||
|                         this.MainDisplayEachBarGraph16.UpdateEquipmentStatusDisplay(status); | ||||
|  | @ -1977,6 +2017,14 @@ namespace INT63DC_2C.Forms | |||
|                     if (this.MainDisplayTable12 != null) | ||||
|                         this.MainDisplayTable12.UpdateStopWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     if (this.MainDisplayEachBarGraph15 != null) | ||||
|                         this.MainDisplayEachBarGraph15.UpdateStopWeightDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayDotGraph15 != null) | ||||
|                         this.MainDisplayDotGraph15.UpdateStopWeightDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayTable15 != null) | ||||
|                         this.MainDisplayTable15.UpdateStopWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     if (this.MainDisplayEachBarGraph16 != null) | ||||
|                         this.MainDisplayEachBarGraph16.UpdateStopWeightDisplay(status, weightDatas); | ||||
|  | @ -2065,6 +2113,14 @@ namespace INT63DC_2C.Forms | |||
|                     if (this.MainDisplayTable12 != null) | ||||
|                         this.MainDisplayTable12.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 15: | ||||
|                     if (this.MainDisplayEachBarGraph15 != null) | ||||
|                         this.MainDisplayEachBarGraph15.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayDotGraph15 != null) | ||||
|                         this.MainDisplayDotGraph15.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayTable15 != null) | ||||
|                         this.MainDisplayTable15.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 case 16: | ||||
|                     if (this.MainDisplayEachBarGraph16 != null) | ||||
|                         this.MainDisplayEachBarGraph16.UpdateStartWeightDisplay(status, weightDatas); | ||||
|  | @ -2072,8 +2128,6 @@ namespace INT63DC_2C.Forms | |||
|                         this.MainDisplayDotGraph16.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     if (this.MainDisplayTable16 != null) | ||||
|                         this.MainDisplayTable16.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     //if (this.MainDisplayTable16_1 != null) | ||||
|                     //    this.MainDisplayTable16_1.UpdateStartWeightDisplay(status, weightDatas); | ||||
|                     break; | ||||
|                 default: | ||||
|                     break; | ||||
|  | @ -2247,10 +2301,6 @@ namespace INT63DC_2C.Forms | |||
|                 this.ParentForm.CurrentAlarmList.IsBuzzerStatus = true; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateDisplayOverRun(string value) | ||||
|         { | ||||
|             this.labelOverrun.Text = value; | ||||
|         } | ||||
|         public void UpdateDisplayAlarmMessageServoOrigin() | ||||
|         { | ||||
|             if (this.ParentForm.IsServoOrigin == true) | ||||
|  | @ -2367,20 +2417,6 @@ namespace INT63DC_2C.Forms | |||
|                 this.buttonBypassRun.Mode = SmartButton.BUTTONMODE.PUSH; | ||||
|             } | ||||
| 
 | ||||
|             // IsDeveloperMode | ||||
|             if (this.ParentForm.IsDeveloperMode == true) | ||||
|             { | ||||
|                 this.labelComRetry.Visible = true; | ||||
|                 this.labelComRetry3th.Visible = true; | ||||
|                 this.labelOverrun.Visible = true; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.labelComRetry.Visible = false; | ||||
|                 this.labelComRetry3th.Visible = false; | ||||
|                 this.labelOverrun.Visible = false; | ||||
|             } | ||||
| 
 | ||||
|             // SubMenu | ||||
|             this.panelSubMenu1.Visible = false; | ||||
|             this.panelSubMenu2.Visible = false; | ||||
|  | @ -2391,13 +2427,11 @@ namespace INT63DC_2C.Forms | |||
|             { | ||||
|                 this.labelCutSignalInterval.Visible = true; | ||||
|                 this.buttonCut.Visible = true; | ||||
|                 this.labelBufferCNT.Visible = true; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.labelCutSignalInterval.Visible = false; | ||||
|                 this.buttonCut.Visible = false; | ||||
|                 this.labelBufferCNT.Visible = false; | ||||
|             } | ||||
| 
 | ||||
|             // Alarm Message4 - Servo Origin | ||||
|  |  | |||
|  | @ -493,7 +493,6 @@ namespace INT63DC_2C | |||
|             return FindByName<System.Windows.Forms.PictureBox>(targetClass, name); | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|         public static SmartX.SmartLabel SmartLabel(string name, object targetClass) | ||||
|         { | ||||
|             return FindByName<SmartX.SmartLabel>(targetClass, name); | ||||
|  |  | |||
|  | @ -287,12 +287,6 @@ | |||
|     <Compile Include="Controls\ControlMainDisplayDotGraph16.Designer.cs"> | ||||
|       <DependentUpon>ControlMainDisplayDotGraph16.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayTable16_1.cs"> | ||||
|       <SubType>UserControl</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayTable16_1.Designer.cs"> | ||||
|       <DependentUpon>ControlMainDisplayTable16_1.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayEachBarGraph6.cs"> | ||||
|       <SubType>UserControl</SubType> | ||||
|     </Compile> | ||||
|  | @ -317,6 +311,30 @@ | |||
|     <Compile Include="Controls\ControlMainDisplayTable5.Designer.cs"> | ||||
|       <DependentUpon>ControlMainDisplayTable5.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlCalibration15.cs"> | ||||
|       <SubType>UserControl</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlCalibration15.Designer.cs"> | ||||
|       <DependentUpon>ControlCalibration15.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayDotGraph15.cs"> | ||||
|       <SubType>UserControl</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayDotGraph15.Designer.cs"> | ||||
|       <DependentUpon>ControlMainDisplayDotGraph15.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayEachBarGraph15.cs"> | ||||
|       <SubType>UserControl</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayEachBarGraph15.Designer.cs"> | ||||
|       <DependentUpon>ControlMainDisplayEachBarGraph15.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayTable15.cs"> | ||||
|       <SubType>UserControl</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Controls\ControlMainDisplayTable15.Designer.cs"> | ||||
|       <DependentUpon>ControlMainDisplayTable15.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="DataStore.cs" /> | ||||
|     <Compile Include="DialogForms\DialogFormDataStatistics.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|  | @ -626,10 +644,6 @@ | |||
|       <DependentUpon>ControlMainDisplayDotGraph16.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Controls\ControlMainDisplayTable16_1.resx"> | ||||
|       <DependentUpon>ControlMainDisplayTable16_1.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Controls\ControlMainDisplayEachBarGraph6.resx"> | ||||
|       <DependentUpon>ControlMainDisplayEachBarGraph6.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|  | @ -646,6 +660,22 @@ | |||
|       <DependentUpon>ControlMainDisplayTable5.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Controls\ControlCalibration15.resx"> | ||||
|       <DependentUpon>ControlCalibration15.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Controls\ControlMainDisplayDotGraph15.resx"> | ||||
|       <DependentUpon>ControlMainDisplayDotGraph15.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Controls\ControlMainDisplayEachBarGraph15.resx"> | ||||
|       <DependentUpon>ControlMainDisplayEachBarGraph15.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Controls\ControlMainDisplayTable15.resx"> | ||||
|       <DependentUpon>ControlMainDisplayTable15.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="DialogForms\DialogFormDataStatistics.resx"> | ||||
|       <DependentUpon>DialogFormDataStatistics.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|  |  | |||
											
												Binary file not shown.
											
										
									
								
		Loading…
	
		Reference in New Issue