parent
							
								
									7679ee989c
								
							
						
					
					
						commit
						d796de4485
					
				|  | @ -46,6 +46,9 @@ | |||
|             this.buttonBackup = new SmartX.SmartButton(); | ||||
|             this.labelCount = new SmartX.SmartLabel(); | ||||
|             this.smartFile1 = new SmartX.SmartFile(); | ||||
|             this.smartSeparatorLine1 = new SmartX.SmartSeparatorLine(); | ||||
|             this.labelTotalIndex = new SmartX.SmartLabel(); | ||||
|             this.labelRemainIndex = new SmartX.SmartLabel(); | ||||
|             this.smartGroupBox1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|  | @ -54,6 +57,9 @@ | |||
|             this.smartGroupBox1.BackGround = null; | ||||
|             this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.smartGroupBox1.BackImage = null; | ||||
|             this.smartGroupBox1.Controls.Add(this.smartSeparatorLine1); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelTotalIndex); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelRemainIndex); | ||||
|             this.smartGroupBox1.Controls.Add(this.listBoxDetail); | ||||
|             this.smartGroupBox1.Controls.Add(this.listBoxEvent); | ||||
|             this.smartGroupBox1.Controls.Add(this.listBoxLoginID); | ||||
|  | @ -526,7 +532,7 @@ | |||
|             this.buttonDown.ImageDisable = null; | ||||
|             this.buttonDown.ImageDown = null; | ||||
|             this.buttonDown.ImageUp = null; | ||||
|             this.buttonDown.Location = new System.Drawing.Point(848, 563); | ||||
|             this.buttonDown.Location = new System.Drawing.Point(848, 423); | ||||
|             this.buttonDown.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.buttonDown.Name = "buttonDown"; | ||||
|             this.buttonDown.NestedClickEventPrevent = false; | ||||
|  | @ -536,7 +542,7 @@ | |||
|             this.buttonDown.RepeatIntervalAccelerate = null; | ||||
|             this.buttonDown.RoundSize = 10; | ||||
|             this.buttonDown.SafeInterval = 200; | ||||
|             this.buttonDown.Size = new System.Drawing.Size(45, 75); | ||||
|             this.buttonDown.Size = new System.Drawing.Size(45, 215); | ||||
|             this.buttonDown.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonDown.TabIndex = 124; | ||||
|             this.buttonDown.Text = null; | ||||
|  | @ -572,7 +578,7 @@ | |||
|             this.buttonUp.RepeatIntervalAccelerate = null; | ||||
|             this.buttonUp.RoundSize = 10; | ||||
|             this.buttonUp.SafeInterval = 200; | ||||
|             this.buttonUp.Size = new System.Drawing.Size(45, 75); | ||||
|             this.buttonUp.Size = new System.Drawing.Size(45, 215); | ||||
|             this.buttonUp.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonUp.TabIndex = 123; | ||||
|             this.buttonUp.Text = null; | ||||
|  | @ -832,6 +838,63 @@ | |||
|             //  | ||||
|             this.smartFile1.FilePathName = ""; | ||||
|             //  | ||||
|             // smartSeparatorLine1 | ||||
|             //  | ||||
|             this.smartSeparatorLine1.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartSeparatorLine1.Line1Width = 1F; | ||||
|             this.smartSeparatorLine1.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartSeparatorLine1.Line2Width = 1F; | ||||
|             this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal; | ||||
|             this.smartSeparatorLine1.Location = new System.Drawing.Point(845, 371); | ||||
|             this.smartSeparatorLine1.Name = "smartSeparatorLine1"; | ||||
|             this.smartSeparatorLine1.Size = new System.Drawing.Size(50, 2); | ||||
|             this.smartSeparatorLine1.TabIndex = 142; | ||||
|             this.smartSeparatorLine1.Text = "smartSeparatorLine1"; | ||||
|             //  | ||||
|             // labelTotalIndex | ||||
|             //  | ||||
|             this.labelTotalIndex.BackGround = this.smartGroupBox1; | ||||
|             this.labelTotalIndex.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelTotalIndex.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelTotalIndex.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.labelTotalIndex.LineSpacing = 0F; | ||||
|             this.labelTotalIndex.Location = new System.Drawing.Point(845, 382); | ||||
|             this.labelTotalIndex.Name = "labelTotalIndex"; | ||||
|             this.labelTotalIndex.OverlapOptimize = true; | ||||
|             this.labelTotalIndex.PasswordChar = '\0'; | ||||
|             this.labelTotalIndex.Radius = 3; | ||||
|             this.labelTotalIndex.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.labelTotalIndex.Size = new System.Drawing.Size(50, 18); | ||||
|             this.labelTotalIndex.TabIndex = 141; | ||||
|             this.labelTotalIndex.Text = "0"; | ||||
|             this.labelTotalIndex.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.labelTotalIndex.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelTotalIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelTotalIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelTotalIndex.Wordwrap = false; | ||||
|             //  | ||||
|             // labelRemainIndex | ||||
|             //  | ||||
|             this.labelRemainIndex.BackGround = this.smartGroupBox1; | ||||
|             this.labelRemainIndex.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelRemainIndex.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelRemainIndex.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.labelRemainIndex.LineSpacing = 0F; | ||||
|             this.labelRemainIndex.Location = new System.Drawing.Point(845, 347); | ||||
|             this.labelRemainIndex.Name = "labelRemainIndex"; | ||||
|             this.labelRemainIndex.OverlapOptimize = true; | ||||
|             this.labelRemainIndex.PasswordChar = '\0'; | ||||
|             this.labelRemainIndex.Radius = 3; | ||||
|             this.labelRemainIndex.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.labelRemainIndex.Size = new System.Drawing.Size(50, 18); | ||||
|             this.labelRemainIndex.TabIndex = 140; | ||||
|             this.labelRemainIndex.Text = "0"; | ||||
|             this.labelRemainIndex.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.labelRemainIndex.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelRemainIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelRemainIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelRemainIndex.Wordwrap = false; | ||||
|             //  | ||||
|             // ControlMenuLogAlarm | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); | ||||
|  | @ -864,5 +927,8 @@ | |||
|         private SmartX.SmartButton buttonDown; | ||||
|         private SmartX.SmartButton buttonUp; | ||||
|         private SmartX.SmartListBox listBoxTime; | ||||
|         private SmartX.SmartSeparatorLine smartSeparatorLine1; | ||||
|         private SmartX.SmartLabel labelTotalIndex; | ||||
|         private SmartX.SmartLabel labelRemainIndex; | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -18,6 +18,9 @@ namespace INT_PT002.Controls | |||
|     public partial class ControlMenuLogAlarm : UserControl | ||||
|     { | ||||
|         #region Field | ||||
|         private string SelectedNodeFullPath; | ||||
|         private int ListBoxCount; | ||||
| 
 | ||||
|         private FormMenu m_ParentForm; | ||||
| 
 | ||||
|         private Define.E_DataType CurrentDataType; | ||||
|  | @ -53,6 +56,7 @@ namespace INT_PT002.Controls | |||
|         private void DefaultSetting() | ||||
|         { | ||||
|             this.CurrentDataType = Define.E_DataType.Alarm; | ||||
|             this.ListBoxCount = 0; | ||||
| 
 | ||||
|             this.ListAlarmFile = new List<DataBackupYear>(); | ||||
| 
 | ||||
|  | @ -78,6 +82,7 @@ namespace INT_PT002.Controls | |||
|                 this.smartFile1.StringType.FillBuffer(); | ||||
| 
 | ||||
|                 long lineNum = this.smartFile1.StringType.GetCount(); | ||||
|                 this.ListBoxCount = (int)lineNum; | ||||
|                 for (int i = 1; i < lineNum; i++) | ||||
|                 { | ||||
|                     this.UpdateListBoxDataDisplay(this.smartFile1.StringType.ReadBuffer(i)); | ||||
|  | @ -93,6 +98,11 @@ namespace INT_PT002.Controls | |||
| 
 | ||||
|             this.smartFile1.Close(); | ||||
|         } | ||||
|         private void UpdateListBoxCount() | ||||
|         { | ||||
|             this.labelTotalIndex.Text = this.ListBoxCount.ToString(); | ||||
|             this.labelRemainIndex.Text = (this.ListBoxCount - this.listBoxTime.ViewRemainCount).ToString(); | ||||
|         } | ||||
|         private void UpdateListBoxDataDisplay(string data) | ||||
|         { | ||||
|             if (data.Contains(",") == false) | ||||
|  | @ -230,26 +240,35 @@ namespace INT_PT002.Controls | |||
|         private void treeViewLogAlarm_AfterSelect(object sender, TreeViewEventArgs e) | ||||
|         { | ||||
|             this.labelFileName.Text = e.Node.Text; | ||||
|             this.SelectedNodeFullPath = this.treeView.SelectedNode.FullPath; | ||||
|             for (int i = 0; i < this.CollectionListBox.Count; i++) | ||||
|                 this.CollectionListBox[i].ClearAll(); | ||||
| 
 | ||||
|             this.LoadFile(this.ParentForm.ParentForm.PathDataAlarmFolder + this.treeView.SelectedNode.FullPath); | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         private void buttonBackup_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.labelFileName.Text == "") | ||||
|                 return; | ||||
| 
 | ||||
|             this.ParentForm.FileCopy(Define.E_DataType.Alarm, this.SelectedNodeFullPath); | ||||
|         } | ||||
| 
 | ||||
|         private void buttonUp_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionListBox.Count; i++) | ||||
|                 this.CollectionListBox[i].ScrollUp(); | ||||
| 
 | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         private void buttonDown_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionListBox.Count; i++) | ||||
|                 this.CollectionListBox[i].ScrollDown(); | ||||
| 
 | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         private void buttonBackup_Click(object sender, EventArgs e) | ||||
|         { | ||||
| 
 | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -52,6 +52,9 @@ | |||
|             this.buttonBackup = new SmartX.SmartButton(); | ||||
|             this.listBoxTime = new SmartX.SmartListBox(); | ||||
|             this.treeView = new System.Windows.Forms.TreeView(); | ||||
|             this.labelRemainIndex = new SmartX.SmartLabel(); | ||||
|             this.labelTotalIndex = new SmartX.SmartLabel(); | ||||
|             this.smartSeparatorLine1 = new SmartX.SmartSeparatorLine(); | ||||
|             this.smartGroupBox1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|  | @ -64,6 +67,9 @@ | |||
|             this.smartGroupBox1.BackGround = null; | ||||
|             this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.smartGroupBox1.BackImage = null; | ||||
|             this.smartGroupBox1.Controls.Add(this.smartSeparatorLine1); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelTotalIndex); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelRemainIndex); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelFileName); | ||||
|             this.smartGroupBox1.Controls.Add(this.smartLabel13); | ||||
|             this.smartGroupBox1.Controls.Add(this.smartLabel12); | ||||
|  | @ -1037,7 +1043,7 @@ | |||
|             this.buttonDown.ImageDisable = null; | ||||
|             this.buttonDown.ImageDown = null; | ||||
|             this.buttonDown.ImageUp = null; | ||||
|             this.buttonDown.Location = new System.Drawing.Point(848, 563); | ||||
|             this.buttonDown.Location = new System.Drawing.Point(848, 423); | ||||
|             this.buttonDown.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.buttonDown.Name = "buttonDown"; | ||||
|             this.buttonDown.NestedClickEventPrevent = false; | ||||
|  | @ -1047,7 +1053,7 @@ | |||
|             this.buttonDown.RepeatIntervalAccelerate = null; | ||||
|             this.buttonDown.RoundSize = 10; | ||||
|             this.buttonDown.SafeInterval = 200; | ||||
|             this.buttonDown.Size = new System.Drawing.Size(45, 75); | ||||
|             this.buttonDown.Size = new System.Drawing.Size(45, 215); | ||||
|             this.buttonDown.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonDown.TabIndex = 108; | ||||
|             this.buttonDown.Text = null; | ||||
|  | @ -1083,7 +1089,7 @@ | |||
|             this.buttonUp.RepeatIntervalAccelerate = null; | ||||
|             this.buttonUp.RoundSize = 10; | ||||
|             this.buttonUp.SafeInterval = 200; | ||||
|             this.buttonUp.Size = new System.Drawing.Size(45, 75); | ||||
|             this.buttonUp.Size = new System.Drawing.Size(45, 215); | ||||
|             this.buttonUp.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonUp.TabIndex = 107; | ||||
|             this.buttonUp.Text = null; | ||||
|  | @ -1249,6 +1255,63 @@ | |||
|             this.treeView.TabIndex = 81; | ||||
|             this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewHistory_AfterSelect); | ||||
|             //  | ||||
|             // labelRemainIndex | ||||
|             //  | ||||
|             this.labelRemainIndex.BackGround = this.smartGroupBox1; | ||||
|             this.labelRemainIndex.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelRemainIndex.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelRemainIndex.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.labelRemainIndex.LineSpacing = 0F; | ||||
|             this.labelRemainIndex.Location = new System.Drawing.Point(845, 347); | ||||
|             this.labelRemainIndex.Name = "labelRemainIndex"; | ||||
|             this.labelRemainIndex.OverlapOptimize = true; | ||||
|             this.labelRemainIndex.PasswordChar = '\0'; | ||||
|             this.labelRemainIndex.Radius = 3; | ||||
|             this.labelRemainIndex.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.labelRemainIndex.Size = new System.Drawing.Size(50, 18); | ||||
|             this.labelRemainIndex.TabIndex = 137; | ||||
|             this.labelRemainIndex.Text = "0"; | ||||
|             this.labelRemainIndex.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.labelRemainIndex.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelRemainIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelRemainIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelRemainIndex.Wordwrap = false; | ||||
|             //  | ||||
|             // labelTotalIndex | ||||
|             //  | ||||
|             this.labelTotalIndex.BackGround = this.smartGroupBox1; | ||||
|             this.labelTotalIndex.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelTotalIndex.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelTotalIndex.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.labelTotalIndex.LineSpacing = 0F; | ||||
|             this.labelTotalIndex.Location = new System.Drawing.Point(845, 382); | ||||
|             this.labelTotalIndex.Name = "labelTotalIndex"; | ||||
|             this.labelTotalIndex.OverlapOptimize = true; | ||||
|             this.labelTotalIndex.PasswordChar = '\0'; | ||||
|             this.labelTotalIndex.Radius = 3; | ||||
|             this.labelTotalIndex.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.labelTotalIndex.Size = new System.Drawing.Size(50, 18); | ||||
|             this.labelTotalIndex.TabIndex = 138; | ||||
|             this.labelTotalIndex.Text = "0"; | ||||
|             this.labelTotalIndex.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.labelTotalIndex.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelTotalIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelTotalIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelTotalIndex.Wordwrap = false; | ||||
|             //  | ||||
|             // smartSeparatorLine1 | ||||
|             //  | ||||
|             this.smartSeparatorLine1.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartSeparatorLine1.Line1Width = 1F; | ||||
|             this.smartSeparatorLine1.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartSeparatorLine1.Line2Width = 1F; | ||||
|             this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal; | ||||
|             this.smartSeparatorLine1.Location = new System.Drawing.Point(845, 371); | ||||
|             this.smartSeparatorLine1.Name = "smartSeparatorLine1"; | ||||
|             this.smartSeparatorLine1.Size = new System.Drawing.Size(50, 2); | ||||
|             this.smartSeparatorLine1.TabIndex = 139; | ||||
|             this.smartSeparatorLine1.Text = "smartSeparatorLine1"; | ||||
|             //  | ||||
|             // ControlMenuLogHistory | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); | ||||
|  | @ -1287,5 +1350,8 @@ | |||
|         private SmartX.SmartLabel smartLabel12; | ||||
|         private SmartX.SmartLabel labelCount; | ||||
|         private SmartX.SmartLabel labelFileName; | ||||
|         private SmartX.SmartSeparatorLine smartSeparatorLine1; | ||||
|         private SmartX.SmartLabel labelTotalIndex; | ||||
|         private SmartX.SmartLabel labelRemainIndex; | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -19,6 +19,9 @@ namespace INT_PT002.Controls | |||
|     public partial class ControlMenuLogHistory : UserControl | ||||
|     { | ||||
|         #region Field | ||||
|         private string SelectedNodeFullPath; | ||||
|         private int ListBoxCount; | ||||
| 
 | ||||
|         private FormMenu m_ParentForm; | ||||
| 
 | ||||
|         private Define.E_DataType CurrentDataType; | ||||
|  | @ -54,6 +57,7 @@ namespace INT_PT002.Controls | |||
|         private void DefaultSetting() | ||||
|         { | ||||
|             this.CurrentDataType = Define.E_DataType.History; | ||||
|             this.ListBoxCount = 0; | ||||
| 
 | ||||
|             this.ListHistoryFile = new List<DataBackupYear>(); | ||||
| 
 | ||||
|  | @ -82,6 +86,7 @@ namespace INT_PT002.Controls | |||
|                 this.smartFile1.StringType.FillBuffer(); | ||||
| 
 | ||||
|                 long lineNum = this.smartFile1.StringType.GetCount(); | ||||
|                 this.ListBoxCount = (int)lineNum; | ||||
|                 for (int i = 1; i < lineNum; i++) | ||||
|                 { | ||||
|                     this.UpdateListBoxDataDisplay(this.smartFile1.StringType.ReadBuffer(i)); | ||||
|  | @ -97,6 +102,11 @@ namespace INT_PT002.Controls | |||
|                          | ||||
|             this.smartFile1.Close(); | ||||
|         } | ||||
|         private void UpdateListBoxCount() | ||||
|         { | ||||
|             this.labelTotalIndex.Text = this.ListBoxCount.ToString(); | ||||
|             this.labelRemainIndex.Text = (this.ListBoxCount - this.listBoxTime.ViewRemainCount).ToString(); | ||||
|         } | ||||
|         private void UpdateListBoxDataDisplay(string data) | ||||
|         { | ||||
|             if (data.Contains(",") == false) | ||||
|  | @ -233,26 +243,35 @@ namespace INT_PT002.Controls | |||
|         private void treeViewHistory_AfterSelect(object sender, TreeViewEventArgs e) | ||||
|         { | ||||
|             this.labelFileName.Text = e.Node.Text; | ||||
|             this.SelectedNodeFullPath = this.treeView.SelectedNode.FullPath; | ||||
|             for (int i = 0; i < this.CollectionListBox.Count; i++) | ||||
|                 this.CollectionListBox[i].ClearAll(); | ||||
| 
 | ||||
|             this.LoadFile(this.ParentForm.ParentForm.PathDataHistoryFolder + this.treeView.SelectedNode.FullPath); | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         private void buttonBackup_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.labelFileName.Text == "") | ||||
|                 return; | ||||
| 
 | ||||
|             this.ParentForm.FileCopy(Define.E_DataType.History, this.SelectedNodeFullPath); | ||||
|         } | ||||
| 
 | ||||
|         private void buttonUp_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionListBox.Count; i++) | ||||
|                 this.CollectionListBox[i].ScrollUp(); | ||||
| 
 | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         private void buttonDown_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int i = 0; i < this.CollectionListBox.Count; i++) | ||||
|                 this.CollectionListBox[i].ScrollDown(); | ||||
| 
 | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         private void buttonBackup_Click(object sender, EventArgs e) | ||||
|         { | ||||
| 
 | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -82,6 +82,9 @@ | |||
|             this.buttonBackup = new SmartX.SmartButton(); | ||||
|             this.listBoxTime = new SmartX.SmartListBox(); | ||||
|             this.smartFile1 = new SmartX.SmartFile(); | ||||
|             this.smartSeparatorLine1 = new SmartX.SmartSeparatorLine(); | ||||
|             this.labelTotalIndex = new SmartX.SmartLabel(); | ||||
|             this.labelRemainIndex = new SmartX.SmartLabel(); | ||||
|             this.smartGroupBox1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|  | @ -90,6 +93,9 @@ | |||
|             this.smartGroupBox1.BackGround = null; | ||||
|             this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.smartGroupBox1.BackImage = null; | ||||
|             this.smartGroupBox1.Controls.Add(this.smartSeparatorLine1); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelTotalIndex); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelRemainIndex); | ||||
|             this.smartGroupBox1.Controls.Add(this.smartLabel13); | ||||
|             this.smartGroupBox1.Controls.Add(this.smartLabel12); | ||||
|             this.smartGroupBox1.Controls.Add(this.labelCount); | ||||
|  | @ -742,7 +748,6 @@ | |||
|             this.labelFileName.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); | ||||
|             this.labelFileName.Size = new System.Drawing.Size(541, 33); | ||||
|             this.labelFileName.TabIndex = 107; | ||||
|             this.labelFileName.Text = "00"; | ||||
|             this.labelFileName.TextColor = System.Drawing.Color.White; | ||||
|             this.labelFileName.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelFileName.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; | ||||
|  | @ -764,7 +769,7 @@ | |||
|             this.buttonDown.ImageDisable = null; | ||||
|             this.buttonDown.ImageDown = null; | ||||
|             this.buttonDown.ImageUp = null; | ||||
|             this.buttonDown.Location = new System.Drawing.Point(847, 518); | ||||
|             this.buttonDown.Location = new System.Drawing.Point(848, 393); | ||||
|             this.buttonDown.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.buttonDown.Name = "buttonDown"; | ||||
|             this.buttonDown.NestedClickEventPrevent = false; | ||||
|  | @ -774,7 +779,7 @@ | |||
|             this.buttonDown.RepeatIntervalAccelerate = null; | ||||
|             this.buttonDown.RoundSize = 10; | ||||
|             this.buttonDown.SafeInterval = 200; | ||||
|             this.buttonDown.Size = new System.Drawing.Size(45, 75); | ||||
|             this.buttonDown.Size = new System.Drawing.Size(45, 200); | ||||
|             this.buttonDown.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonDown.TabIndex = 106; | ||||
|             this.buttonDown.Text = null; | ||||
|  | @ -810,7 +815,7 @@ | |||
|             this.buttonUp.RepeatIntervalAccelerate = null; | ||||
|             this.buttonUp.RoundSize = 10; | ||||
|             this.buttonUp.SafeInterval = 200; | ||||
|             this.buttonUp.Size = new System.Drawing.Size(45, 75); | ||||
|             this.buttonUp.Size = new System.Drawing.Size(45, 200); | ||||
|             this.buttonUp.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.buttonUp.TabIndex = 105; | ||||
|             this.buttonUp.Text = null; | ||||
|  | @ -2364,6 +2369,63 @@ | |||
|             //  | ||||
|             this.smartFile1.FilePathName = ""; | ||||
|             //  | ||||
|             // smartSeparatorLine1 | ||||
|             //  | ||||
|             this.smartSeparatorLine1.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartSeparatorLine1.Line1Width = 1F; | ||||
|             this.smartSeparatorLine1.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartSeparatorLine1.Line2Width = 1F; | ||||
|             this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal; | ||||
|             this.smartSeparatorLine1.Location = new System.Drawing.Point(846, 349); | ||||
|             this.smartSeparatorLine1.Name = "smartSeparatorLine1"; | ||||
|             this.smartSeparatorLine1.Size = new System.Drawing.Size(50, 2); | ||||
|             this.smartSeparatorLine1.TabIndex = 142; | ||||
|             this.smartSeparatorLine1.Text = "smartSeparatorLine1"; | ||||
|             //  | ||||
|             // labelTotalIndex | ||||
|             //  | ||||
|             this.labelTotalIndex.BackGround = this.smartGroupBox1; | ||||
|             this.labelTotalIndex.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelTotalIndex.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelTotalIndex.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.labelTotalIndex.LineSpacing = 0F; | ||||
|             this.labelTotalIndex.Location = new System.Drawing.Point(846, 360); | ||||
|             this.labelTotalIndex.Name = "labelTotalIndex"; | ||||
|             this.labelTotalIndex.OverlapOptimize = true; | ||||
|             this.labelTotalIndex.PasswordChar = '\0'; | ||||
|             this.labelTotalIndex.Radius = 3; | ||||
|             this.labelTotalIndex.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.labelTotalIndex.Size = new System.Drawing.Size(50, 18); | ||||
|             this.labelTotalIndex.TabIndex = 141; | ||||
|             this.labelTotalIndex.Text = "0"; | ||||
|             this.labelTotalIndex.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.labelTotalIndex.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelTotalIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelTotalIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelTotalIndex.Wordwrap = false; | ||||
|             //  | ||||
|             // labelRemainIndex | ||||
|             //  | ||||
|             this.labelRemainIndex.BackGround = this.smartGroupBox1; | ||||
|             this.labelRemainIndex.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelRemainIndex.BorderColor = System.Drawing.Color.Black; | ||||
|             this.labelRemainIndex.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.labelRemainIndex.LineSpacing = 0F; | ||||
|             this.labelRemainIndex.Location = new System.Drawing.Point(846, 325); | ||||
|             this.labelRemainIndex.Name = "labelRemainIndex"; | ||||
|             this.labelRemainIndex.OverlapOptimize = true; | ||||
|             this.labelRemainIndex.PasswordChar = '\0'; | ||||
|             this.labelRemainIndex.Radius = 3; | ||||
|             this.labelRemainIndex.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.labelRemainIndex.Size = new System.Drawing.Size(50, 18); | ||||
|             this.labelRemainIndex.TabIndex = 140; | ||||
|             this.labelRemainIndex.Text = "0"; | ||||
|             this.labelRemainIndex.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.labelRemainIndex.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.labelRemainIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.labelRemainIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.labelRemainIndex.Wordwrap = false; | ||||
|             //  | ||||
|             // ControlMenuLogInspection | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); | ||||
|  | @ -2432,5 +2494,8 @@ | |||
|         private SmartX.SmartLabel labelCount; | ||||
|         private SmartX.SmartLabel smartLabel12; | ||||
|         private SmartX.SmartLabel smartLabel13; | ||||
|         private SmartX.SmartSeparatorLine smartSeparatorLine1; | ||||
|         private SmartX.SmartLabel labelTotalIndex; | ||||
|         private SmartX.SmartLabel labelRemainIndex; | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ using System.Text; | |||
| using System.Windows.Forms; | ||||
| using System.IO; | ||||
| 
 | ||||
| using SmartX; | ||||
| using INT_PT002.Forms; | ||||
| using INT_PT002.DataStore; | ||||
| using INT_PT002.DialogForms; | ||||
|  | @ -19,6 +20,8 @@ namespace INT_PT002.Controls | |||
|     { | ||||
|         #region Field | ||||
|         private FormMenu m_ParentForm; | ||||
|         private string SelectedNodeFullPath; | ||||
|         private int ListBoxCount; | ||||
| 
 | ||||
|         private Define.E_DataType CurrentDataType; | ||||
|         private List<DataBackupYear> ListInspectionFile; | ||||
|  | @ -58,6 +61,7 @@ namespace INT_PT002.Controls | |||
|         private void DefaultSetting() | ||||
|         { | ||||
|             this.CurrentDataType = Define.E_DataType.Inspection; | ||||
|             this.ListBoxCount = 0; | ||||
| 
 | ||||
|             this.ListInspectionFile = new List<DataBackupYear>(); | ||||
| 
 | ||||
|  | @ -129,6 +133,7 @@ namespace INT_PT002.Controls | |||
|                 this.smartFile1.StringType.FillBuffer(); | ||||
| 
 | ||||
|                 long lineNum = this.smartFile1.StringType.GetCount(); | ||||
|                 this.ListBoxCount = (int)lineNum; | ||||
|                 for (int i = 1; i < lineNum; i++) | ||||
|                 { | ||||
|                     this.UpdateListBoxDataDisplay(this.smartFile1.StringType.ReadBuffer(i)); | ||||
|  | @ -150,6 +155,11 @@ namespace INT_PT002.Controls | |||
|          | ||||
|             this.smartFile1.Close(); | ||||
|         } | ||||
|         private void UpdateListBoxCount() | ||||
|         { | ||||
|             this.labelTotalIndex.Text = this.ListBoxCount.ToString();             | ||||
|             this.labelRemainIndex.Text = (this.ListBoxCount - this.listBoxTime.ViewRemainCount).ToString(); | ||||
|         } | ||||
|         private void UpdateListBoxDataDisplay(string data) | ||||
|         { | ||||
|             if (data.Contains(",") == false) | ||||
|  | @ -307,15 +317,24 @@ namespace INT_PT002.Controls | |||
|         #endregion | ||||
| 
 | ||||
|         #region Event Handler | ||||
| 
 | ||||
| 
 | ||||
|         private void treeViewInspection_AfterSelect(object sender, TreeViewEventArgs e) | ||||
|         { | ||||
|             this.labelFileName.Text = e.Node.Text; | ||||
|             this.SelectedNodeFullPath = this.treeViewInspection.SelectedNode.FullPath; | ||||
|             for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++) | ||||
|                 this.CollectionListBox[i].ClearAll(); | ||||
|             this.listBoxTime.ClearAll(); | ||||
| 
 | ||||
|             this.LoadFile(this.ParentForm.ParentForm.PathDataInspectionFolder + this.treeViewInspection.SelectedNode.FullPath); | ||||
| 
 | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         private void buttonBackup_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.labelFileName.Text == "") | ||||
|                 return; | ||||
| 
 | ||||
|             this.ParentForm.FileCopy(Define.E_DataType.Inspection, this.SelectedNodeFullPath); | ||||
|         } | ||||
| 
 | ||||
|         private void buttonUp_Click(object sender, EventArgs e) | ||||
|  | @ -324,6 +343,8 @@ namespace INT_PT002.Controls | |||
| 
 | ||||
|             for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++) | ||||
|                 this.CollectionListBox[i].ScrollUp(); | ||||
| 
 | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         private void buttonDown_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | @ -331,47 +352,9 @@ namespace INT_PT002.Controls | |||
| 
 | ||||
|             for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++) | ||||
|                 this.CollectionListBox[i].ScrollDown(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         private void buttonBackup_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             string targetPath = "", sourceFilePath = "", destFilePath = "", dataFolderPath = ""; | ||||
|             string[] result; | ||||
|             DirectoryInfo dir; | ||||
|             FileInfo[] files; | ||||
|             List<string> listSelectedFile = new List<string>();     // 백업할 파일 리스트 (yyyy/MM/filename.csv) | ||||
| 
 | ||||
|             dataFolderPath = this.ParentForm.ParentForm.PathDataInspectionFolder; | ||||
|             if (dataFolderPath == "") | ||||
|                 return; | ||||
| 
 | ||||
|             #region 백업 할 파일 리스트 | ||||
|             listSelectedFile = this.ParentForm.ParentForm.GetSeletedNodeList(this.treeViewInspection); | ||||
|             #endregion | ||||
| 
 | ||||
|             targetPath = "하드 디스크\\"; | ||||
|             if (listSelectedFile.Count == 0) | ||||
|             { | ||||
|                 DialogFormMessage msg = new DialogFormMessage(4, this.ParentForm.ParentForm.SystemConfig.LANGUAGE); | ||||
|                 msg.ShowDialog(); | ||||
|                 return; | ||||
|             } | ||||
| 
 | ||||
|             SmartX.SmartSplash.Start(SmartX.SmartSplash.BuiltInLoadingImages.LOADING1_SMALL, 200); | ||||
| 
 | ||||
|             #region USB 장착 유무 체크 | ||||
|             // USB 장착 유무 체크 | ||||
|             dir = new DirectoryInfo(targetPath); | ||||
|             if (dir.Exists == false) | ||||
|             { | ||||
|                 // USB메모리가 장착되지 않았습니다 | ||||
|                 DialogFormMessage msg = new DialogFormMessage(5, this.ParentForm.ParentForm.SystemConfig.LANGUAGE); | ||||
|                 msg.ShowDialog(); | ||||
|                 SmartX.SmartSplash.Finish(); | ||||
|                 return; | ||||
|             this.UpdateListBoxCount(); | ||||
|         } | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
| } | ||||
|  |  | |||
|  | @ -139,7 +139,7 @@ | |||
|             this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; | ||||
|             this.buttonCancel.ButtonText = "Cancel"; | ||||
|             this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); | ||||
|             this.buttonCancel.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); | ||||
|             this.buttonCancel.GroupID = 0; | ||||
|             this.buttonCancel.ImageDisable = null; | ||||
|             this.buttonCancel.ImageDown = null; | ||||
|  | @ -175,7 +175,7 @@ | |||
|             this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; | ||||
|             this.buttonLogOn.ButtonText = "Login"; | ||||
|             this.buttonLogOn.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLogOn.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); | ||||
|             this.buttonLogOn.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold); | ||||
|             this.buttonLogOn.GroupID = 0; | ||||
|             this.buttonLogOn.ImageDisable = null; | ||||
|             this.buttonLogOn.ImageDown = null; | ||||
|  | @ -204,9 +204,9 @@ | |||
|             // smartKeyboard | ||||
|             //  | ||||
|             this.smartKeyboard.BackGround = null; | ||||
|             this.smartKeyboard.BackGroundColor = System.Drawing.Color.LightCoral; | ||||
|             this.smartKeyboard.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.smartKeyboard.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.smartKeyboard.BorderStyle = SmartX.SmartKeyboard.BorderStyles.RoundRectFill; | ||||
|             this.smartKeyboard.BorderStyle = SmartX.SmartKeyboard.BorderStyles.None; | ||||
|             this.smartKeyboard.ControlKeyDisable = false; | ||||
|             this.smartKeyboard.DesignMinimize = false; | ||||
|             this.smartKeyboard.HanYoungKeyDisable = true; | ||||
|  |  | |||
|  | @ -92,13 +92,6 @@ | |||
|             this.pictureBoxProgress2 = new System.Windows.Forms.PictureBox(); | ||||
|             this.pictureBoxProgress1 = new System.Windows.Forms.PictureBox(); | ||||
|             this.pictureBoxProgress8 = new System.Windows.Forms.PictureBox(); | ||||
|             this.smartLabel31 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel30 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel29 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel27 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel26 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel25 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel24 = new SmartX.SmartLabel(); | ||||
|             this.labelProgress8 = new SmartX.SmartLabel(); | ||||
|             this.labelProgress7 = new SmartX.SmartLabel(); | ||||
|             this.labelProgress6 = new SmartX.SmartLabel(); | ||||
|  | @ -136,6 +129,13 @@ | |||
|             this.buttonClear = new SmartX.SmartButton(); | ||||
|             this.buttonMenu = new SmartX.SmartButton(); | ||||
|             this.buttonDisplay = new SmartX.SmartButton(); | ||||
|             this.smartLabel24 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel25 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel26 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel27 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel29 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel30 = new SmartX.SmartLabel(); | ||||
|             this.smartLabel31 = new SmartX.SmartLabel(); | ||||
|             this.smartTimerAlarm = new SmartX.SmartTimer(); | ||||
|             this.smartTimerMessageShow = new SmartX.SmartTimer(); | ||||
|             this.smartTimerLogin = new SmartX.SmartTimer(); | ||||
|  | @ -281,7 +281,7 @@ | |||
|             this.smartButton5.ImageDisable = null; | ||||
|             this.smartButton5.ImageDown = null; | ||||
|             this.smartButton5.ImageUp = null; | ||||
|             this.smartButton5.Location = new System.Drawing.Point(917, 466); | ||||
|             this.smartButton5.Location = new System.Drawing.Point(917, 471); | ||||
|             this.smartButton5.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.smartButton5.Name = "smartButton5"; | ||||
|             this.smartButton5.NestedClickEventPrevent = false; | ||||
|  | @ -342,7 +342,7 @@ | |||
|             //  | ||||
|             this.pictureBoxProgress3Selected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38))))); | ||||
|             this.pictureBoxProgress3Selected.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxProgress3Selected.Image"))); | ||||
|             this.pictureBoxProgress3Selected.Location = new System.Drawing.Point(712, 246); | ||||
|             this.pictureBoxProgress3Selected.Location = new System.Drawing.Point(712, 247); | ||||
|             this.pictureBoxProgress3Selected.Name = "pictureBoxProgress3Selected"; | ||||
|             this.pictureBoxProgress3Selected.Size = new System.Drawing.Size(150, 90); | ||||
|             this.pictureBoxProgress3Selected.Visible = false; | ||||
|  | @ -351,7 +351,7 @@ | |||
|             //  | ||||
|             this.pictureBoxProgress2Selected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38))))); | ||||
|             this.pictureBoxProgress2Selected.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxProgress2Selected.Image"))); | ||||
|             this.pictureBoxProgress2Selected.Location = new System.Drawing.Point(493, 247); | ||||
|             this.pictureBoxProgress2Selected.Location = new System.Drawing.Point(493, 246); | ||||
|             this.pictureBoxProgress2Selected.Name = "pictureBoxProgress2Selected"; | ||||
|             this.pictureBoxProgress2Selected.Size = new System.Drawing.Size(150, 90); | ||||
|             this.pictureBoxProgress2Selected.Visible = false; | ||||
|  | @ -413,11 +413,11 @@ | |||
|             // labelCommunicationStatus | ||||
|             //  | ||||
|             this.labelCommunicationStatus.BackGround = null; | ||||
|             this.labelCommunicationStatus.BackGroundColor = System.Drawing.Color.Lime; | ||||
|             this.labelCommunicationStatus.BackGroundColor = System.Drawing.Color.Black; | ||||
|             this.labelCommunicationStatus.BorderColor = System.Drawing.Color.Lime; | ||||
|             this.labelCommunicationStatus.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelCommunicationStatus.LineSpacing = 0F; | ||||
|             this.labelCommunicationStatus.Location = new System.Drawing.Point(917, 137); | ||||
|             this.labelCommunicationStatus.Location = new System.Drawing.Point(904, 87); | ||||
|             this.labelCommunicationStatus.Name = "labelCommunicationStatus"; | ||||
|             this.labelCommunicationStatus.OverlapOptimize = true; | ||||
|             this.labelCommunicationStatus.PasswordChar = '\0'; | ||||
|  | @ -700,7 +700,7 @@ | |||
|             // labelSbAlarm10 | ||||
|             //  | ||||
|             this.labelSbAlarm10.BackGround = null; | ||||
|             this.labelSbAlarm10.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm10.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm10.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm10.LineSpacing = 0F; | ||||
|  | @ -721,7 +721,7 @@ | |||
|             // labelSbAlarm5 | ||||
|             //  | ||||
|             this.labelSbAlarm5.BackGround = null; | ||||
|             this.labelSbAlarm5.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm5.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm5.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm5.LineSpacing = 0F; | ||||
|  | @ -742,7 +742,7 @@ | |||
|             // labelSbAlarm9 | ||||
|             //  | ||||
|             this.labelSbAlarm9.BackGround = null; | ||||
|             this.labelSbAlarm9.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm9.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm9.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm9.LineSpacing = 0F; | ||||
|  | @ -763,7 +763,7 @@ | |||
|             // labelSbAlarm4 | ||||
|             //  | ||||
|             this.labelSbAlarm4.BackGround = null; | ||||
|             this.labelSbAlarm4.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm4.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm4.LineSpacing = 0F; | ||||
|  | @ -784,7 +784,7 @@ | |||
|             // labelSbAlarm8 | ||||
|             //  | ||||
|             this.labelSbAlarm8.BackGround = null; | ||||
|             this.labelSbAlarm8.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm8.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm8.LineSpacing = 0F; | ||||
|  | @ -805,7 +805,7 @@ | |||
|             // labelSbAlarm3 | ||||
|             //  | ||||
|             this.labelSbAlarm3.BackGround = null; | ||||
|             this.labelSbAlarm3.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm3.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm3.LineSpacing = 0F; | ||||
|  | @ -826,7 +826,7 @@ | |||
|             // labelSbAlarm7 | ||||
|             //  | ||||
|             this.labelSbAlarm7.BackGround = null; | ||||
|             this.labelSbAlarm7.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm7.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm7.LineSpacing = 0F; | ||||
|  | @ -847,7 +847,7 @@ | |||
|             // labelSbAlarm2 | ||||
|             //  | ||||
|             this.labelSbAlarm2.BackGround = null; | ||||
|             this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm2.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm2.LineSpacing = 0F; | ||||
|  | @ -868,7 +868,7 @@ | |||
|             // labelSbAlarm6 | ||||
|             //  | ||||
|             this.labelSbAlarm6.BackGround = null; | ||||
|             this.labelSbAlarm6.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm6.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm6.LineSpacing = 0F; | ||||
|  | @ -889,7 +889,7 @@ | |||
|             // labelSbAlarm1 | ||||
|             //  | ||||
|             this.labelSbAlarm1.BackGround = null; | ||||
|             this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); | ||||
|             this.labelSbAlarm1.BorderColor = System.Drawing.Color.Red; | ||||
|             this.labelSbAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelSbAlarm1.LineSpacing = 0F; | ||||
|  | @ -1377,8 +1377,8 @@ | |||
|             //  | ||||
|             // labelProgress0 | ||||
|             //  | ||||
|             this.labelProgress0.BackGround = this.smartForm1; | ||||
|             this.labelProgress0.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress0.BackGround = null; | ||||
|             this.labelProgress0.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress0.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress0.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress0.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1433,7 +1433,7 @@ | |||
|             //  | ||||
|             this.pictureBoxProgress2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38))))); | ||||
|             this.pictureBoxProgress2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxProgress2.Image"))); | ||||
|             this.pictureBoxProgress2.Location = new System.Drawing.Point(493, 247); | ||||
|             this.pictureBoxProgress2.Location = new System.Drawing.Point(493, 246); | ||||
|             this.pictureBoxProgress2.Name = "pictureBoxProgress2"; | ||||
|             this.pictureBoxProgress2.Size = new System.Drawing.Size(150, 90); | ||||
|             //  | ||||
|  | @ -1453,171 +1453,10 @@ | |||
|             this.pictureBoxProgress8.Name = "pictureBoxProgress8"; | ||||
|             this.pictureBoxProgress8.Size = new System.Drawing.Size(150, 90); | ||||
|             //  | ||||
|             // smartLabel31 | ||||
|             //  | ||||
|             this.smartLabel31.BackGround = this.smartForm1; | ||||
|             this.smartLabel31.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel31.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel31.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel31.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel31.LineSpacing = 0F; | ||||
|             this.smartLabel31.Location = new System.Drawing.Point(223, 439); | ||||
|             this.smartLabel31.Name = "smartLabel31"; | ||||
|             this.smartLabel31.OverlapOptimize = true; | ||||
|             this.smartLabel31.PasswordChar = '\0'; | ||||
|             this.smartLabel31.Radius = 3; | ||||
|             this.smartLabel31.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel31.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel31.TabIndex = 192; | ||||
|             this.smartLabel31.Text = "◀"; | ||||
|             this.smartLabel31.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel31.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel31.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel31.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel31.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel30 | ||||
|             //  | ||||
|             this.smartLabel30.BackGround = this.smartForm1; | ||||
|             this.smartLabel30.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel30.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel30.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel30.LineSpacing = 0F; | ||||
|             this.smartLabel30.Location = new System.Drawing.Point(442, 439); | ||||
|             this.smartLabel30.Name = "smartLabel30"; | ||||
|             this.smartLabel30.OverlapOptimize = true; | ||||
|             this.smartLabel30.PasswordChar = '\0'; | ||||
|             this.smartLabel30.Radius = 3; | ||||
|             this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel30.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel30.TabIndex = 191; | ||||
|             this.smartLabel30.Text = "◀"; | ||||
|             this.smartLabel30.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel30.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel30.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel30.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel30.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel29 | ||||
|             //  | ||||
|             this.smartLabel29.BackGround = this.smartForm1; | ||||
|             this.smartLabel29.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel29.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel29.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel29.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel29.LineSpacing = 0F; | ||||
|             this.smartLabel29.Location = new System.Drawing.Point(661, 439); | ||||
|             this.smartLabel29.Name = "smartLabel29"; | ||||
|             this.smartLabel29.OverlapOptimize = true; | ||||
|             this.smartLabel29.PasswordChar = '\0'; | ||||
|             this.smartLabel29.Radius = 3; | ||||
|             this.smartLabel29.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel29.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel29.TabIndex = 190; | ||||
|             this.smartLabel29.Text = "◀"; | ||||
|             this.smartLabel29.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel29.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel29.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel29.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel29.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel27 | ||||
|             //  | ||||
|             this.smartLabel27.BackGround = this.smartForm1; | ||||
|             this.smartLabel27.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel27.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel27.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel27.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel27.LineSpacing = 0F; | ||||
|             this.smartLabel27.Location = new System.Drawing.Point(772, 350); | ||||
|             this.smartLabel27.Name = "smartLabel27"; | ||||
|             this.smartLabel27.OverlapOptimize = true; | ||||
|             this.smartLabel27.PasswordChar = '\0'; | ||||
|             this.smartLabel27.Radius = 3; | ||||
|             this.smartLabel27.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel27.Size = new System.Drawing.Size(34, 41); | ||||
|             this.smartLabel27.TabIndex = 189; | ||||
|             this.smartLabel27.Text = "▼"; | ||||
|             this.smartLabel27.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel27.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel27.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel27.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel27.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel26 | ||||
|             //  | ||||
|             this.smartLabel26.BackGround = this.smartForm1; | ||||
|             this.smartLabel26.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel26.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel26.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel26.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel26.LineSpacing = 0F; | ||||
|             this.smartLabel26.Location = new System.Drawing.Point(662, 240); | ||||
|             this.smartLabel26.Name = "smartLabel26"; | ||||
|             this.smartLabel26.OverlapOptimize = true; | ||||
|             this.smartLabel26.PasswordChar = '\0'; | ||||
|             this.smartLabel26.Radius = 3; | ||||
|             this.smartLabel26.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel26.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel26.TabIndex = 188; | ||||
|             this.smartLabel26.Text = "▶"; | ||||
|             this.smartLabel26.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel26.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel26.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel26.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel26.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel25 | ||||
|             //  | ||||
|             this.smartLabel25.BackGround = this.smartForm1; | ||||
|             this.smartLabel25.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel25.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel25.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel25.LineSpacing = 0F; | ||||
|             this.smartLabel25.Location = new System.Drawing.Point(443, 240); | ||||
|             this.smartLabel25.Name = "smartLabel25"; | ||||
|             this.smartLabel25.OverlapOptimize = true; | ||||
|             this.smartLabel25.PasswordChar = '\0'; | ||||
|             this.smartLabel25.Radius = 3; | ||||
|             this.smartLabel25.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel25.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel25.TabIndex = 187; | ||||
|             this.smartLabel25.Text = "▶"; | ||||
|             this.smartLabel25.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel25.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel25.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel25.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel25.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel24 | ||||
|             //  | ||||
|             this.smartLabel24.BackGround = this.smartForm1; | ||||
|             this.smartLabel24.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel24.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel24.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel24.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel24.LineSpacing = 0F; | ||||
|             this.smartLabel24.Location = new System.Drawing.Point(224, 240); | ||||
|             this.smartLabel24.Name = "smartLabel24"; | ||||
|             this.smartLabel24.OverlapOptimize = true; | ||||
|             this.smartLabel24.PasswordChar = '\0'; | ||||
|             this.smartLabel24.Radius = 3; | ||||
|             this.smartLabel24.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel24.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel24.TabIndex = 186; | ||||
|             this.smartLabel24.Text = "▶"; | ||||
|             this.smartLabel24.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel24.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel24.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel24.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel24.Wordwrap = false; | ||||
|             //  | ||||
|             // labelProgress8 | ||||
|             //  | ||||
|             this.labelProgress8.BackGround = this.smartForm1; | ||||
|             this.labelProgress8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress8.BackGround = null; | ||||
|             this.labelProgress8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress8.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress8.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1638,8 +1477,8 @@ | |||
|             //  | ||||
|             // labelProgress7 | ||||
|             //  | ||||
|             this.labelProgress7.BackGround = this.smartForm1; | ||||
|             this.labelProgress7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress7.BackGround = null; | ||||
|             this.labelProgress7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress7.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress7.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1660,8 +1499,8 @@ | |||
|             //  | ||||
|             // labelProgress6 | ||||
|             //  | ||||
|             this.labelProgress6.BackGround = this.smartForm1; | ||||
|             this.labelProgress6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress6.BackGround = null; | ||||
|             this.labelProgress6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress6.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress6.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1682,8 +1521,8 @@ | |||
|             //  | ||||
|             // labelProgress4 | ||||
|             //  | ||||
|             this.labelProgress4.BackGround = this.smartForm1; | ||||
|             this.labelProgress4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress4.BackGround = null; | ||||
|             this.labelProgress4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress4.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1704,8 +1543,8 @@ | |||
|             //  | ||||
|             // labelProgress3 | ||||
|             //  | ||||
|             this.labelProgress3.BackGround = this.smartForm1; | ||||
|             this.labelProgress3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress3.BackGround = null; | ||||
|             this.labelProgress3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress3.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1726,8 +1565,8 @@ | |||
|             //  | ||||
|             // labelProgress2 | ||||
|             //  | ||||
|             this.labelProgress2.BackGround = this.smartForm1; | ||||
|             this.labelProgress2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress2.BackGround = null; | ||||
|             this.labelProgress2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress2.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1748,8 +1587,8 @@ | |||
|             //  | ||||
|             // labelProgress1 | ||||
|             //  | ||||
|             this.labelProgress1.BackGround = this.smartForm1; | ||||
|             this.labelProgress1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress1.BackGround = null; | ||||
|             this.labelProgress1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); | ||||
|             this.labelProgress1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103))))); | ||||
|             this.labelProgress1.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; | ||||
|             this.labelProgress1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); | ||||
|  | @ -1782,7 +1621,7 @@ | |||
|             this.smartButton1.ImageDisable = null; | ||||
|             this.smartButton1.ImageDown = null; | ||||
|             this.smartButton1.ImageUp = null; | ||||
|             this.smartButton1.Location = new System.Drawing.Point(917, 417); | ||||
|             this.smartButton1.Location = new System.Drawing.Point(917, 422); | ||||
|             this.smartButton1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.smartButton1.Name = "smartButton1"; | ||||
|             this.smartButton1.NestedClickEventPrevent = false; | ||||
|  | @ -2293,7 +2132,7 @@ | |||
|             this.buttonUser.ImageDisable = null; | ||||
|             this.buttonUser.ImageDown = null; | ||||
|             this.buttonUser.ImageUp = null; | ||||
|             this.buttonUser.Location = new System.Drawing.Point(917, 351); | ||||
|             this.buttonUser.Location = new System.Drawing.Point(917, 356); | ||||
|             this.buttonUser.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; | ||||
|             this.buttonUser.Name = "buttonUser"; | ||||
|             this.buttonUser.NestedClickEventPrevent = false; | ||||
|  | @ -2326,7 +2165,7 @@ | |||
|             this.labelStop.Name = "labelStop"; | ||||
|             this.labelStop.OverlapOptimize = true; | ||||
|             this.labelStop.PasswordChar = '\0'; | ||||
|             this.labelStop.Radius = 50; | ||||
|             this.labelStop.Radius = 30; | ||||
|             this.labelStop.RoundRectFillColor = System.Drawing.Color.Red; | ||||
|             this.labelStop.Size = new System.Drawing.Size(100, 60); | ||||
|             this.labelStop.TabIndex = 62; | ||||
|  | @ -2350,7 +2189,7 @@ | |||
|             this.labelStart.Name = "labelStart"; | ||||
|             this.labelStart.OverlapOptimize = true; | ||||
|             this.labelStart.PasswordChar = '\0'; | ||||
|             this.labelStart.Radius = 50; | ||||
|             this.labelStart.Radius = 30; | ||||
|             this.labelStart.RoundRectFillColor = System.Drawing.Color.DarkGreen; | ||||
|             this.labelStart.Size = new System.Drawing.Size(100, 60); | ||||
|             this.labelStart.TabIndex = 63; | ||||
|  | @ -2413,7 +2252,7 @@ | |||
|             this.buttonInspection.ImageDisable = null; | ||||
|             this.buttonInspection.ImageDown = null; | ||||
|             this.buttonInspection.ImageUp = null; | ||||
|             this.buttonInspection.Location = new System.Drawing.Point(917, 153); | ||||
|             this.buttonInspection.Location = new System.Drawing.Point(917, 158); | ||||
|             this.buttonInspection.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.buttonInspection.Name = "buttonInspection"; | ||||
|             this.buttonInspection.NestedClickEventPrevent = false; | ||||
|  | @ -2449,7 +2288,7 @@ | |||
|             this.buttonClear.ImageDisable = null; | ||||
|             this.buttonClear.ImageDown = null; | ||||
|             this.buttonClear.ImageUp = null; | ||||
|             this.buttonClear.Location = new System.Drawing.Point(917, 219); | ||||
|             this.buttonClear.Location = new System.Drawing.Point(917, 224); | ||||
|             this.buttonClear.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.buttonClear.Name = "buttonClear"; | ||||
|             this.buttonClear.NestedClickEventPrevent = false; | ||||
|  | @ -2521,7 +2360,7 @@ | |||
|             this.buttonDisplay.ImageDisable = null; | ||||
|             this.buttonDisplay.ImageDown = null; | ||||
|             this.buttonDisplay.ImageUp = null; | ||||
|             this.buttonDisplay.Location = new System.Drawing.Point(917, 285); | ||||
|             this.buttonDisplay.Location = new System.Drawing.Point(917, 290); | ||||
|             this.buttonDisplay.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.buttonDisplay.Name = "buttonDisplay"; | ||||
|             this.buttonDisplay.NestedClickEventPrevent = false; | ||||
|  | @ -2543,6 +2382,167 @@ | |||
|             this.buttonDisplay.Visible = false; | ||||
|             this.buttonDisplay.Click += new System.EventHandler(this.buttonDisplayGraph_Click); | ||||
|             //  | ||||
|             // smartLabel24 | ||||
|             //  | ||||
|             this.smartLabel24.BackGround = this.smartForm1; | ||||
|             this.smartLabel24.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel24.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel24.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel24.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel24.LineSpacing = 0F; | ||||
|             this.smartLabel24.Location = new System.Drawing.Point(224, 240); | ||||
|             this.smartLabel24.Name = "smartLabel24"; | ||||
|             this.smartLabel24.OverlapOptimize = true; | ||||
|             this.smartLabel24.PasswordChar = '\0'; | ||||
|             this.smartLabel24.Radius = 3; | ||||
|             this.smartLabel24.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel24.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel24.TabIndex = 186; | ||||
|             this.smartLabel24.Text = "▶"; | ||||
|             this.smartLabel24.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel24.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel24.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel24.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel24.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel25 | ||||
|             //  | ||||
|             this.smartLabel25.BackGround = this.smartForm1; | ||||
|             this.smartLabel25.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel25.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel25.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel25.LineSpacing = 0F; | ||||
|             this.smartLabel25.Location = new System.Drawing.Point(443, 240); | ||||
|             this.smartLabel25.Name = "smartLabel25"; | ||||
|             this.smartLabel25.OverlapOptimize = true; | ||||
|             this.smartLabel25.PasswordChar = '\0'; | ||||
|             this.smartLabel25.Radius = 3; | ||||
|             this.smartLabel25.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel25.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel25.TabIndex = 187; | ||||
|             this.smartLabel25.Text = "▶"; | ||||
|             this.smartLabel25.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel25.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel25.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel25.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel25.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel26 | ||||
|             //  | ||||
|             this.smartLabel26.BackGround = this.smartForm1; | ||||
|             this.smartLabel26.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel26.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel26.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel26.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel26.LineSpacing = 0F; | ||||
|             this.smartLabel26.Location = new System.Drawing.Point(662, 240); | ||||
|             this.smartLabel26.Name = "smartLabel26"; | ||||
|             this.smartLabel26.OverlapOptimize = true; | ||||
|             this.smartLabel26.PasswordChar = '\0'; | ||||
|             this.smartLabel26.Radius = 3; | ||||
|             this.smartLabel26.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel26.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel26.TabIndex = 188; | ||||
|             this.smartLabel26.Text = "▶"; | ||||
|             this.smartLabel26.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel26.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel26.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel26.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel26.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel27 | ||||
|             //  | ||||
|             this.smartLabel27.BackGround = this.smartForm1; | ||||
|             this.smartLabel27.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel27.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel27.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel27.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel27.LineSpacing = 0F; | ||||
|             this.smartLabel27.Location = new System.Drawing.Point(772, 350); | ||||
|             this.smartLabel27.Name = "smartLabel27"; | ||||
|             this.smartLabel27.OverlapOptimize = true; | ||||
|             this.smartLabel27.PasswordChar = '\0'; | ||||
|             this.smartLabel27.Radius = 3; | ||||
|             this.smartLabel27.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel27.Size = new System.Drawing.Size(34, 41); | ||||
|             this.smartLabel27.TabIndex = 189; | ||||
|             this.smartLabel27.Text = "▼"; | ||||
|             this.smartLabel27.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel27.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel27.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel27.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel27.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel29 | ||||
|             //  | ||||
|             this.smartLabel29.BackGround = this.smartForm1; | ||||
|             this.smartLabel29.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel29.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel29.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel29.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel29.LineSpacing = 0F; | ||||
|             this.smartLabel29.Location = new System.Drawing.Point(661, 439); | ||||
|             this.smartLabel29.Name = "smartLabel29"; | ||||
|             this.smartLabel29.OverlapOptimize = true; | ||||
|             this.smartLabel29.PasswordChar = '\0'; | ||||
|             this.smartLabel29.Radius = 3; | ||||
|             this.smartLabel29.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel29.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel29.TabIndex = 190; | ||||
|             this.smartLabel29.Text = "◀"; | ||||
|             this.smartLabel29.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel29.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel29.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel29.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel29.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel30 | ||||
|             //  | ||||
|             this.smartLabel30.BackGround = this.smartForm1; | ||||
|             this.smartLabel30.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel30.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel30.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel30.LineSpacing = 0F; | ||||
|             this.smartLabel30.Location = new System.Drawing.Point(442, 439); | ||||
|             this.smartLabel30.Name = "smartLabel30"; | ||||
|             this.smartLabel30.OverlapOptimize = true; | ||||
|             this.smartLabel30.PasswordChar = '\0'; | ||||
|             this.smartLabel30.Radius = 3; | ||||
|             this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel30.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel30.TabIndex = 191; | ||||
|             this.smartLabel30.Text = "◀"; | ||||
|             this.smartLabel30.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel30.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel30.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel30.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel30.Wordwrap = false; | ||||
|             //  | ||||
|             // smartLabel31 | ||||
|             //  | ||||
|             this.smartLabel31.BackGround = this.smartForm1; | ||||
|             this.smartLabel31.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel31.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111))))); | ||||
|             this.smartLabel31.BorderStyle = SmartX.SmartLabel.BorderStyles.None; | ||||
|             this.smartLabel31.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular); | ||||
|             this.smartLabel31.LineSpacing = 0F; | ||||
|             this.smartLabel31.Location = new System.Drawing.Point(223, 439); | ||||
|             this.smartLabel31.Name = "smartLabel31"; | ||||
|             this.smartLabel31.OverlapOptimize = true; | ||||
|             this.smartLabel31.PasswordChar = '\0'; | ||||
|             this.smartLabel31.Radius = 3; | ||||
|             this.smartLabel31.RoundRectFillColor = System.Drawing.Color.LightBlue; | ||||
|             this.smartLabel31.Size = new System.Drawing.Size(35, 70); | ||||
|             this.smartLabel31.TabIndex = 192; | ||||
|             this.smartLabel31.Text = "◀"; | ||||
|             this.smartLabel31.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); | ||||
|             this.smartLabel31.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartLabel31.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; | ||||
|             this.smartLabel31.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; | ||||
|             this.smartLabel31.Wordwrap = false; | ||||
|             //  | ||||
|             // smartTimerAlarm | ||||
|             //  | ||||
|             this.smartTimerAlarm.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter; | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -177,27 +177,32 @@ namespace INT_PT002.Forms | |||
| 
 | ||||
|         #region Log | ||||
|         // FileCopy | ||||
|         private void FileCopy(Define.E_DataType type) | ||||
|         public void FileCopy(Define.E_DataType type, string targetFileFullPath) | ||||
|         { | ||||
|             int count = 0; | ||||
|             string targetPath = "", destTargetPath = "", sourceFolderPath = "", sourceFilePath = "", destFilePath = ""; | ||||
|             string[] result, dirFiles, sourceFolders; | ||||
|             string[] result; | ||||
|             DirectoryInfo dir; | ||||
|             FileInfo[] files; | ||||
| 
 | ||||
|             try | ||||
|             { | ||||
|                 #region USB 복사 | ||||
|                 #region USB 장착 유무 체크 | ||||
|                 targetPath = "하드 디스크\\"; | ||||
|                 // USB 장착 유무 체크 | ||||
|                 dir = new DirectoryInfo(targetPath); | ||||
|                 if (dir.Exists == false) | ||||
|                 { | ||||
|                     // USB메모리가 장착되지 않았습니다 | ||||
|                     DialogFormMessage msg1 = new DialogFormMessage(5, this.ParentForm.SystemConfig.LANGUAGE); | ||||
|                     msg1.ShowDialog(); | ||||
|                     SmartSplash.Finish(); | ||||
|                     return; | ||||
|                 } | ||||
|                 #endregion | ||||
| 
 | ||||
|                 // USB\SerialNumber\Inspection or Alarm or History | ||||
|                 destTargetPath = string.Format("{0}{1}\\{2}\\", targetPath, this.ParentForm.SystemConfig.SERIAL_NUMBER, type); | ||||
| 
 | ||||
|                 // USB 폴더 체크 및 생성 | ||||
|                 dir = new DirectoryInfo(destTargetPath); | ||||
|                 if (dir.Exists == false) | ||||
|                     dir.Create(); | ||||
| 
 | ||||
|                 switch(type) | ||||
|                 { | ||||
|                     case Define.E_DataType.Inspection: | ||||
|  | @ -214,52 +219,20 @@ namespace INT_PT002.Forms | |||
|                         break; | ||||
|                 } | ||||
|                  | ||||
|                 dir = new DirectoryInfo(sourceFolderPath); | ||||
|                 if (dir.Exists == false) | ||||
|                     return; | ||||
|                 SmartSplash.Start(SmartX.SmartSplash.BuiltInLoadingImages.LOADING1_SMALL, 200); | ||||
| 
 | ||||
|                 files = dir.GetFiles(); | ||||
|                 count = files.Length; | ||||
|                 foreach (FileInfo file in files) | ||||
|                 { | ||||
|                     sourceFilePath = file.FullName; | ||||
|                     result = sourceFilePath.Split('\\'); | ||||
|                     destFilePath = string.Format("{0}{1}", destTargetPath, result[result.Length - 1]); | ||||
| 
 | ||||
|                     // 파일 중복 검사 | ||||
|                     if (File.Exists(destFilePath) == true) | ||||
|                     { | ||||
|                         DialogFormYesNo df = new DialogFormYesNo(this.ParentForm.SystemConfig.LANGUAGE, 31, Path.GetFileName(result[result.Length - 1])); | ||||
|                         df.BringToFront(); | ||||
|                         if (df.ShowDialog() == DialogResult.Yes) | ||||
|                         { | ||||
|                             this.Refresh(); | ||||
|                             File.Delete(destFilePath);  // 존재하는 파일 삭제 | ||||
|                             File.Copy(sourceFilePath, destFilePath); | ||||
|                         } | ||||
|                         else | ||||
|                         { | ||||
|                             count--; | ||||
|                             this.Refresh(); | ||||
|                         } | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|                         File.Copy(sourceFilePath, destFilePath); | ||||
|                     } | ||||
|                 } | ||||
|                 this.CopyFile(sourceFolderPath + targetFileFullPath, destTargetPath + targetFileFullPath); | ||||
| 
 | ||||
|                 // 복사 완료 메시지 | ||||
|                 DialogFormMessage msg = new DialogFormMessage(count.ToString(), this.ParentForm.SystemConfig.LANGUAGE); | ||||
|                 //this.SplashFinish(); | ||||
|                 msg.ShowDialog(); | ||||
|                 #endregion | ||||
|                 DialogFormMessage msg2 = new DialogFormMessage("1", this.ParentForm.SystemConfig.LANGUAGE); | ||||
|                 SmartSplash.Finish(); | ||||
|                 msg2.ShowDialog(); | ||||
|             } | ||||
|             catch | ||||
|             { | ||||
|                 // 제조사에 문의하세요 | ||||
|                 DialogFormMessage msg = new DialogFormMessage(6, this.ParentForm.SystemConfig.LANGUAGE); | ||||
|                 //this.SplashFinish(); | ||||
|                 SmartSplash.Finish(); | ||||
|                 msg.ShowDialog(); | ||||
|                 return; | ||||
|             } | ||||
|  | @ -284,9 +257,52 @@ namespace INT_PT002.Forms | |||
|             { | ||||
|                 string name = Path.GetFileName(folder); | ||||
|                 string dest = Path.Combine(destFolder, name); | ||||
|                 CopyFolder(folder, dest); | ||||
|                 this.CopyFolder(folder, dest); | ||||
|             } | ||||
|         } | ||||
|         public void CopyFile(string sourceFile, string destFile) | ||||
|         { | ||||
|             string[] targetPath = destFile.Split('\\'); | ||||
|             StringBuilder sb = new StringBuilder(); | ||||
|             for (int i = 0; i < targetPath.Length - 1; i++) | ||||
|             { | ||||
|                 sb.Append(targetPath[i]); | ||||
|                 sb.Append("\\"); | ||||
|             } | ||||
| 
 | ||||
|             if (!Directory.Exists(sb.ToString())) | ||||
|                 Directory.CreateDirectory(sb.ToString()); | ||||
| 
 | ||||
|             File.Copy(sourceFile, destFile); | ||||
| 
 | ||||
| 
 | ||||
|             //string[] files = Directory.GetFiles(sourceFolder); | ||||
|             //string[] folders = Directory.GetDirectories(sourceFolder); | ||||
| 
 | ||||
|             //foreach (string file in files) | ||||
|             //{ | ||||
|             //    if (targetFileFullPath == file) | ||||
|             //    { | ||||
|             //        string name = Path.GetFileName(file); | ||||
|             //        string dest = Path.Combine(destFolder, name); | ||||
|             //        File.Copy(sourceFile, destFile); | ||||
|             //        return; | ||||
|             //    } | ||||
|             //} | ||||
| 
 | ||||
|             //foreach (string folder in folders) | ||||
|             //{ | ||||
|             //    for (int i = 0; i < targetPath.Length; i++) | ||||
|             //    { | ||||
|             //        if (targetPath[i] == folder) | ||||
|             //        { | ||||
|             //            string name = Path.GetFileName(folder); | ||||
|             //            string dest = Path.Combine(destFolder, name); | ||||
|             //            this.CopyFolder(folder, dest); | ||||
|             //        } | ||||
|             //    } | ||||
|             //} | ||||
|         } | ||||
| 
 | ||||
|         public List<string> DirectorySort(DirectoryInfo[] directorys) | ||||
|         { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue