DESKTOP-999R8N3\CJY 2023-03-31 13:33:25 +09:00
commit 105a2b6834
31 changed files with 1859 additions and 2281 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ INT_PT002/bin/
INT_PT002/obj/
INT_PT002.suo
INT_PT002/INT_PT002.csproj.user
INT_PT002/INT_PT002.csproj

View File

@ -133,32 +133,28 @@ namespace INT_PT002.Controls
}
}
this.labelCount.Text = fileCount.ToString();
this.labelCount.Text = string.Format("{0} ", fileCount);
}
private List<string> DayAlarmDirectorySort(FileInfo[] files)
{
List<string> listFile = new List<string>();
Dictionary<string, int> dirNames = new Dictionary<string, int>();
#region File List 품번 순서대로 정렬
foreach (FileInfo file in files)
dirNames.Add(file.Name, int.Parse(file.Name.Substring(10, 1)));
var vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
listFile.Add(v.Key);
#endregion
Dictionary<string, int> dirNamesSort = new Dictionary<string, int>();
#region File List 날짜 순서대로 정렬
dirNames = new Dictionary<string, int>();
foreach (string f in listFile)
dirNames.Add(f, int.Parse(f.Substring(1, 8)));
foreach (FileInfo file in files)
dirNames.Add(file.Name, int.Parse(file.Name.Substring(0, 8)));
var vrList = dirNames.Keys.ToList();
vrList.Sort();
listFile.Clear();
vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
dirNamesSort.Add(v, dirNames[v]);
foreach (var v in dirNamesSort)
listFile.Add(v.Key);
#endregion
return listFile;
@ -166,8 +162,7 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormAlarmList;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.SelecteDataType = Define.E_DataType.None;
@ -183,6 +178,15 @@ namespace INT_PT002.Controls
}
#endregion
private void treeViewLogAlarm_AfterSelect(object sender, TreeViewEventArgs e)
{
//this.labelPath.Text = e.Node.Text;
//for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
// this.CollectionListBox[i].ClearAll();
//this.listBoxTime.ClearAll();
//this.LoadFile(this.ParentForm.ParentForm.PathDataInspectionFolder + this.treeViewInspection.SelectedNode.FullPath);
}
#region Event Handler
#endregion

View File

@ -191,8 +191,8 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormCheckLog;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogHistory;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.SelecteDataType = Define.E_DataType.None;

View File

@ -29,6 +29,7 @@
private void InitializeComponent()
{
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.labelCount = new SmartX.SmartLabel();
this.smartLabel32 = new SmartX.SmartLabel();
this.smartLabel33 = new SmartX.SmartLabel();
this.labelPassCount10 = new SmartX.SmartLabel();
@ -80,7 +81,6 @@
this.buttonBackup = new SmartX.SmartButton();
this.listBoxTime = new SmartX.SmartListBox();
this.smartFile1 = new SmartX.SmartFile();
this.labelCount = new SmartX.SmartLabel();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
//
@ -153,13 +153,36 @@
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// labelCount
//
this.labelCount.BackGround = this.smartGroupBox1;
this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelCount.BorderColor = System.Drawing.Color.Black;
this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelCount.Font = new System.Drawing.Font("New Gulim", 20F, System.Drawing.FontStyle.Bold);
this.labelCount.LineSpacing = 0F;
this.labelCount.Location = new System.Drawing.Point(22, 51);
this.labelCount.Name = "labelCount";
this.labelCount.OverlapOptimize = true;
this.labelCount.PasswordChar = '\0';
this.labelCount.Radius = 3;
this.labelCount.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelCount.Size = new System.Drawing.Size(240, 50);
this.labelCount.TabIndex = 130;
this.labelCount.Text = "00";
this.labelCount.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelCount.TextColorDisable = System.Drawing.Color.Gray;
this.labelCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCount.Wordwrap = false;
//
// smartLabel32
//
this.smartLabel32.BackGround = this.smartGroupBox1;
this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel32.BorderColor = System.Drawing.Color.Black;
this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel32.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel32.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel32.LineSpacing = 0F;
this.smartLabel32.Location = new System.Drawing.Point(268, 603);
this.smartLabel32.Name = "smartLabel32";
@ -182,7 +205,7 @@
this.smartLabel33.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel33.BorderColor = System.Drawing.Color.Black;
this.smartLabel33.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel33.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel33.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel33.LineSpacing = 0F;
this.smartLabel33.Location = new System.Drawing.Point(268, 622);
this.smartLabel33.Name = "smartLabel33";
@ -205,7 +228,7 @@
this.labelPassCount10.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount10.BorderColor = System.Drawing.Color.Black;
this.labelPassCount10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount10.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount10.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount10.LineSpacing = 0F;
this.labelPassCount10.Location = new System.Drawing.Point(788, 603);
this.labelPassCount10.Name = "labelPassCount10";
@ -228,7 +251,7 @@
this.labelLeakCount10.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount10.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount10.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount10.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount10.LineSpacing = 0F;
this.labelLeakCount10.Location = new System.Drawing.Point(788, 622);
this.labelLeakCount10.Name = "labelLeakCount10";
@ -251,7 +274,7 @@
this.labelPassCount9.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount9.BorderColor = System.Drawing.Color.Black;
this.labelPassCount9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount9.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount9.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount9.LineSpacing = 0F;
this.labelPassCount9.Location = new System.Drawing.Point(739, 603);
this.labelPassCount9.Name = "labelPassCount9";
@ -274,7 +297,7 @@
this.labelLeakCount9.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount9.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount9.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount9.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount9.LineSpacing = 0F;
this.labelLeakCount9.Location = new System.Drawing.Point(739, 622);
this.labelLeakCount9.Name = "labelLeakCount9";
@ -297,7 +320,7 @@
this.labelPassCount8.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount8.BorderColor = System.Drawing.Color.Black;
this.labelPassCount8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount8.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount8.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount8.LineSpacing = 0F;
this.labelPassCount8.Location = new System.Drawing.Point(690, 603);
this.labelPassCount8.Name = "labelPassCount8";
@ -320,7 +343,7 @@
this.labelLeakCount8.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount8.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount8.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount8.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount8.LineSpacing = 0F;
this.labelLeakCount8.Location = new System.Drawing.Point(690, 622);
this.labelLeakCount8.Name = "labelLeakCount8";
@ -343,7 +366,7 @@
this.labelPassCount7.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount7.BorderColor = System.Drawing.Color.Black;
this.labelPassCount7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount7.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount7.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount7.LineSpacing = 0F;
this.labelPassCount7.Location = new System.Drawing.Point(641, 603);
this.labelPassCount7.Name = "labelPassCount7";
@ -366,7 +389,7 @@
this.labelLeakCount7.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount7.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount7.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount7.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount7.LineSpacing = 0F;
this.labelLeakCount7.Location = new System.Drawing.Point(641, 622);
this.labelLeakCount7.Name = "labelLeakCount7";
@ -389,7 +412,7 @@
this.labelPassCount6.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount6.BorderColor = System.Drawing.Color.Black;
this.labelPassCount6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount6.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount6.LineSpacing = 0F;
this.labelPassCount6.Location = new System.Drawing.Point(592, 603);
this.labelPassCount6.Name = "labelPassCount6";
@ -412,7 +435,7 @@
this.labelLeakCount6.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount6.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount6.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount6.LineSpacing = 0F;
this.labelLeakCount6.Location = new System.Drawing.Point(592, 622);
this.labelLeakCount6.Name = "labelLeakCount6";
@ -435,7 +458,7 @@
this.labelPassCount5.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount5.BorderColor = System.Drawing.Color.Black;
this.labelPassCount5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount5.LineSpacing = 0F;
this.labelPassCount5.Location = new System.Drawing.Point(543, 603);
this.labelPassCount5.Name = "labelPassCount5";
@ -458,7 +481,7 @@
this.labelLeakCount5.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount5.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount5.LineSpacing = 0F;
this.labelLeakCount5.Location = new System.Drawing.Point(543, 622);
this.labelLeakCount5.Name = "labelLeakCount5";
@ -481,7 +504,7 @@
this.labelPassCount4.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount4.BorderColor = System.Drawing.Color.Black;
this.labelPassCount4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount4.LineSpacing = 0F;
this.labelPassCount4.Location = new System.Drawing.Point(494, 603);
this.labelPassCount4.Name = "labelPassCount4";
@ -504,7 +527,7 @@
this.labelLeakCount4.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount4.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount4.LineSpacing = 0F;
this.labelLeakCount4.Location = new System.Drawing.Point(494, 622);
this.labelLeakCount4.Name = "labelLeakCount4";
@ -527,7 +550,7 @@
this.labelPassCount3.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount3.BorderColor = System.Drawing.Color.Black;
this.labelPassCount3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount3.LineSpacing = 0F;
this.labelPassCount3.Location = new System.Drawing.Point(445, 603);
this.labelPassCount3.Name = "labelPassCount3";
@ -550,7 +573,7 @@
this.labelLeakCount3.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount3.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount3.LineSpacing = 0F;
this.labelLeakCount3.Location = new System.Drawing.Point(445, 622);
this.labelLeakCount3.Name = "labelLeakCount3";
@ -573,7 +596,7 @@
this.labelPassCount2.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount2.BorderColor = System.Drawing.Color.Black;
this.labelPassCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount2.LineSpacing = 0F;
this.labelPassCount2.Location = new System.Drawing.Point(396, 603);
this.labelPassCount2.Name = "labelPassCount2";
@ -596,7 +619,7 @@
this.labelLeakCount2.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount2.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount2.LineSpacing = 0F;
this.labelLeakCount2.Location = new System.Drawing.Point(396, 622);
this.labelLeakCount2.Name = "labelLeakCount2";
@ -619,7 +642,7 @@
this.labelPassCount1.BackGroundColor = System.Drawing.Color.White;
this.labelPassCount1.BorderColor = System.Drawing.Color.Black;
this.labelPassCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelPassCount1.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount1.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelPassCount1.LineSpacing = 0F;
this.labelPassCount1.Location = new System.Drawing.Point(347, 603);
this.labelPassCount1.Name = "labelPassCount1";
@ -642,7 +665,7 @@
this.labelLeakCount1.BackGroundColor = System.Drawing.Color.White;
this.labelLeakCount1.BorderColor = System.Drawing.Color.Black;
this.labelLeakCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelLeakCount1.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount1.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular);
this.labelLeakCount1.LineSpacing = 0F;
this.labelLeakCount1.Location = new System.Drawing.Point(347, 622);
this.labelLeakCount1.Name = "labelLeakCount1";
@ -665,7 +688,7 @@
this.labelPath.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelPath.BorderColor = System.Drawing.Color.Black;
this.labelPath.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelPath.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.labelPath.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold);
this.labelPath.LineSpacing = 0F;
this.labelPath.Location = new System.Drawing.Point(268, 51);
this.labelPath.Name = "labelPath";
@ -803,7 +826,7 @@
this.smartLabel11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel11.BorderColor = System.Drawing.Color.Black;
this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel11.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel11.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel11.LineSpacing = 1F;
this.smartLabel11.Location = new System.Drawing.Point(788, 107);
this.smartLabel11.Name = "smartLabel11";
@ -826,7 +849,7 @@
this.smartLabel10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel10.BorderColor = System.Drawing.Color.Black;
this.smartLabel10.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel10.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel10.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel10.LineSpacing = 1F;
this.smartLabel10.Location = new System.Drawing.Point(739, 107);
this.smartLabel10.Name = "smartLabel10";
@ -849,7 +872,7 @@
this.smartLabel9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel9.BorderColor = System.Drawing.Color.Black;
this.smartLabel9.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel9.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel9.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel9.LineSpacing = 1F;
this.smartLabel9.Location = new System.Drawing.Point(690, 107);
this.smartLabel9.Name = "smartLabel9";
@ -872,7 +895,7 @@
this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel8.BorderColor = System.Drawing.Color.Black;
this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel8.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel8.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel8.LineSpacing = 1F;
this.smartLabel8.Location = new System.Drawing.Point(641, 107);
this.smartLabel8.Name = "smartLabel8";
@ -895,7 +918,7 @@
this.smartLabel7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel7.BorderColor = System.Drawing.Color.Black;
this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel7.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel7.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel7.LineSpacing = 1F;
this.smartLabel7.Location = new System.Drawing.Point(592, 107);
this.smartLabel7.Name = "smartLabel7";
@ -918,7 +941,7 @@
this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel6.BorderColor = System.Drawing.Color.Black;
this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel6.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel6.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel6.LineSpacing = 1F;
this.smartLabel6.Location = new System.Drawing.Point(543, 107);
this.smartLabel6.Name = "smartLabel6";
@ -941,7 +964,7 @@
this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel5.BorderColor = System.Drawing.Color.Black;
this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel5.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel5.LineSpacing = 1F;
this.smartLabel5.Location = new System.Drawing.Point(494, 107);
this.smartLabel5.Name = "smartLabel5";
@ -964,7 +987,7 @@
this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel4.BorderColor = System.Drawing.Color.Black;
this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel4.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel4.LineSpacing = 1F;
this.smartLabel4.Location = new System.Drawing.Point(445, 107);
this.smartLabel4.Name = "smartLabel4";
@ -987,7 +1010,7 @@
this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel3.BorderColor = System.Drawing.Color.Black;
this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel3.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel3.LineSpacing = 1F;
this.smartLabel3.Location = new System.Drawing.Point(396, 107);
this.smartLabel3.Name = "smartLabel3";
@ -1010,7 +1033,7 @@
this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel2.BorderColor = System.Drawing.Color.Black;
this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel2.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel2.LineSpacing = 1F;
this.smartLabel2.Location = new System.Drawing.Point(347, 107);
this.smartLabel2.Name = "smartLabel2";
@ -1033,7 +1056,7 @@
this.smartLabel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel1.BorderColor = System.Drawing.Color.Black;
this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.smartLabel1.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel1.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel1.LineSpacing = 1F;
this.smartLabel1.Location = new System.Drawing.Point(268, 107);
this.smartLabel1.Name = "smartLabel1";
@ -2332,29 +2355,6 @@
//
this.smartFile1.FilePathName = "";
//
// labelCount
//
this.labelCount.BackGround = this.smartGroupBox1;
this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelCount.BorderColor = System.Drawing.Color.Black;
this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelCount.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold);
this.labelCount.LineSpacing = 0F;
this.labelCount.Location = new System.Drawing.Point(22, 51);
this.labelCount.Name = "labelCount";
this.labelCount.OverlapOptimize = true;
this.labelCount.PasswordChar = '\0';
this.labelCount.Radius = 3;
this.labelCount.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelCount.Size = new System.Drawing.Size(240, 50);
this.labelCount.TabIndex = 130;
this.labelCount.Text = "00";
this.labelCount.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelCount.TextColorDisable = System.Drawing.Color.Gray;
this.labelCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCount.Wordwrap = false;
//
// ControlMenuLogInspection
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

View File

@ -291,8 +291,8 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormEquipmentLog;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogInspection;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.SelecteDataType = Define.E_DataType.None;

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@ namespace INT_PT002.Controls
private Collection<SmartLabel> CollLabelDisp;
private Collection<SmartLabel> CollLabelVacu;
private Collection<SmartLabel> CollLabelInput;
private Collection<SmartLabel> CollLabelSbAlarm;
#endregion
#region Constructor
@ -97,11 +98,25 @@ namespace INT_PT002.Controls
this.CollLabelInput.Add(this.labelInput4);
this.CollLabelInput.Add(this.labelInput5);
this.CollLabelSbAlarm = new Collection<SmartLabel>();
this.CollLabelSbAlarm.Clear();
this.CollLabelSbAlarm.Add(this.labelSbAlarm1);
this.CollLabelSbAlarm.Add(this.labelSbAlarm2);
this.CollLabelSbAlarm.Add(this.labelSbAlarm3);
this.CollLabelSbAlarm.Add(this.labelSbAlarm4);
this.CollLabelSbAlarm.Add(this.labelSbAlarm5);
this.CollLabelSbAlarm.Add(this.labelSbAlarm6);
this.CollLabelSbAlarm.Add(this.labelSbAlarm7);
this.CollLabelSbAlarm.Add(this.labelSbAlarm8);
this.CollLabelSbAlarm.Add(this.labelSbAlarm9);
this.CollLabelSbAlarm.Add(this.labelSbAlarm10);
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
{
this.CollLabelDiff[i].Text = "0.00";
this.CollLabelDisp[i].Text = "0.00";
this.CollLabelVacu[i].Text = "0.0";
this.CollLabelSbAlarm[i].Visible = false;
}
for (int i = 0; i < this.CollLabelInput.Count; i++)
@ -149,12 +164,22 @@ namespace INT_PT002.Controls
public void UpdateDisplayAlarmView(AlarmList alarm)
{
this.CollLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
this.CollLabelSbAlarm[1].Visible = alarm.CollectionIsSensorBoardError[1];
this.CollLabelSbAlarm[2].Visible = alarm.CollectionIsSensorBoardError[2];
this.CollLabelSbAlarm[3].Visible = alarm.CollectionIsSensorBoardError[3];
this.CollLabelSbAlarm[4].Visible = alarm.CollectionIsSensorBoardError[4];
this.CollLabelSbAlarm[5].Visible = alarm.CollectionIsSensorBoardError[5];
this.CollLabelSbAlarm[6].Visible = alarm.CollectionIsSensorBoardError[6];
this.CollLabelSbAlarm[7].Visible = alarm.CollectionIsSensorBoardError[7];
this.CollLabelSbAlarm[8].Visible = alarm.CollectionIsSensorBoardError[8];
this.CollLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9];
}
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormIOTest;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.IOTest);
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.IOTest;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.IOTest);
}
#endregion

View File

@ -144,8 +144,7 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormProduct;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.UpdateDisplayControlData(this.ParentForm.ParentForm.CurrentRecipe);
this.UpdateDisplayControlData(this.ParentForm.ParentForm.SystemConfig);
}
@ -154,9 +153,9 @@ namespace INT_PT002.Controls
#region Event Handler
private void labelNumber_Click(object sender, EventArgs e)
{
string afterValue = "";
string before = "", after = "";
afterValue = this.labelNumber.Text;
before = this.labelNumber.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel17.Text, this.labelNumber.Text, 4, 0, false);
if (myKeypad.ShowDialog() == DialogResult.OK)
@ -164,7 +163,7 @@ namespace INT_PT002.Controls
if (myKeypad.IntValue < 1 || myKeypad.IntValue > 1000)
{
this.MessageBoxRange = "1 ~ 1000";
this.labelPressureLevel.Text = afterValue;
this.labelPressureLevel.Text = before;
this.smartTimerMessageShow.Start();
return;
}

View File

@ -260,8 +260,8 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormInformation;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Information;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.smartKeyboard1.Hide();

File diff suppressed because it is too large Load Diff

View File

@ -48,6 +48,7 @@ namespace INT_PT002.Controls
this.ParentForm = parent;
this.Initialize();
this.InitializeData();
}
#endregion
@ -62,7 +63,7 @@ namespace INT_PT002.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "System > E.Test";
this.smartGroupBox1.Text = "System > Equipment";
this.ColorProgressOff = Color.Azure;
this.ColorProgressOn = Color.Lime;
@ -283,6 +284,8 @@ namespace INT_PT002.Controls
this.timerOn.Stop();
this.timerOff.Stop();
this.ParentForm.Set_Equipment_ButtonEnable(true);
if (this.CollectionResult[0].Text == "검사 중..")
{
for (int i = 0; i < this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentColumn; i++)
@ -304,6 +307,8 @@ namespace INT_PT002.Controls
this.labelProgress7.BackGroundColor = this.ColorProgressOff;
this.labelProgress8.BackGroundColor = this.ColorProgressOff;
this.ParentForm.Set_Equipment_ButtonEnable(false);
// Label Initialize
//this.InitializeLabel();
break;
@ -495,98 +500,7 @@ namespace INT_PT002.Controls
}
public void UpdateDisplayAlarmView(AlarmList alarm)
{
//if (alarm.IsServoEmergencyStop == true)
// this.labelAlarm.Text = "a1_Servo emergency stop";
//if (alarm.IsServo1Alarm == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a2_Servo1";
//}
//if (alarm.IsServo2Alarm == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a3_Servo2";
//}
//if (alarm.IsServoTorque1AlarmTorque == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a4_Servo1 Torque";
//}
//if (alarm.IsServoTorque2AlarmTorque == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a5_Servo2 Torque";
//}
//if (alarm.IsPressureError == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a6_Pressure";
//}
//if (alarm.CollectionIsSensorBoardError[0] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a7_Sensor board 1";
//}
//if (alarm.CollectionIsSensorBoardError[1] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a8_Sensor board 2";
//}
//if (alarm.CollectionIsSensorBoardError[2] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a9_Sensor board 3";
//}
//if (alarm.CollectionIsSensorBoardError[3] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a10_Sensor board 4";
//}
//if (alarm.CollectionIsSensorBoardError[4] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a11_Sensor board 5";
//}
//if (alarm.CollectionIsSensorBoardError[5] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a12_Sensor board 6";
//}
//if (alarm.CollectionIsSensorBoardError[6] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a13_Sensor board 7";
//}
//if (alarm.CollectionIsSensorBoardError[7] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a14_Sensor board 8";
//}
//if (alarm.CollectionIsSensorBoardError[8] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a15_Sensor board 9";
//}
//if (alarm.CollectionIsSensorBoardError[9] == true)
//{
// if (this.labelAlarm.Text != "")
// this.labelAlarm.Text += " ";
// this.labelAlarm.Text += "a16_Sensor board 10";
//}
}
public void UpdateDisplayJudgmentData(LeakData datas)
@ -651,14 +565,15 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormStatus;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Normal);
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
}
#endregion
#region Event Handler
private void buttonStart_Click(object sender, EventArgs e)
private void buttonInspection_Click(object sender, EventArgs e)
{
this.InitializeData();
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
}

File diff suppressed because it is too large Load Diff

View File

@ -73,7 +73,6 @@ namespace INT_PT002.Controls
#region Level1
this.checkBoxL1MainProductChange.Checked = group.Level1.IsMainDisplayProductChange;
this.checkBoxL1MainWeightSetting.Checked = group.Level1.IsMainDisplayWeightSetting;
this.checkBoxL1MainClear.Checked = group.Level1.IsMainDisplayClear;
this.checkBoxL1MainSubMenu.Checked = group.Level1.IsMainDisplaySubMenu;
@ -81,16 +80,15 @@ namespace INT_PT002.Controls
this.checkBoxL1MenuUserSetting.Checked = group.Level1.IsMenuUserSetting;
this.checkBoxL1MenuUserGroupEditor.Checked = group.Level1.IsMenuUserGroupEditor;
this.checkBoxL1MenuIOTest.Checked = group.Level1.IsMenuIOTest;
this.checkBoxL1MenuEquipmentLog.Checked = group.Level1.IsMenuEquipmentLog;
this.checkBoxL1MenuCheckLog.Checked = group.Level1.IsMenuCheckLog;
this.checkBoxL1MenuAlarmList.Checked = group.Level1.IsMenuAlarmList;
this.checkBoxL1MenuHistoryLog.Checked = group.Level1.IsMenuHistoryLog;
this.checkBoxL1MenuInspectionLog.Checked = group.Level1.IsMenuInspectionLog;
this.checkBoxL1MenuAlarmLog.Checked = group.Level1.IsMenuAlarmLog;
this.checkBoxL1MenuInformation.Checked = group.Level1.IsMenuInformation;
this.checkBoxL1MenuStatus.Checked = group.Level1.IsMenuStatus;
#endregion
#region Level2
this.checkBoxL2MainProductChange.Checked = group.Level2.IsMainDisplayProductChange;
this.checkBoxL2MainWeightSetting.Checked = group.Level2.IsMainDisplayWeightSetting;
this.checkBoxL2MainClear.Checked = group.Level2.IsMainDisplayClear;
this.checkBoxL2MainSubMenu.Checked = group.Level2.IsMainDisplaySubMenu;
@ -98,16 +96,15 @@ namespace INT_PT002.Controls
this.checkBoxL2MenuUserSetting.Checked = group.Level2.IsMenuUserSetting;
this.checkBoxL2MenuUserGroupEditor.Checked = group.Level2.IsMenuUserGroupEditor;
this.checkBoxL2MenuIOTest.Checked = group.Level2.IsMenuIOTest;
this.checkBoxL2MenuEquipmentLog.Checked = group.Level2.IsMenuEquipmentLog;
this.checkBoxL2MenuCheckLog.Checked = group.Level2.IsMenuCheckLog;
this.checkBoxL2MenuAlarmList.Checked = group.Level2.IsMenuAlarmList;
this.checkBoxL2MenuHistoryLog.Checked = group.Level2.IsMenuHistoryLog;
this.checkBoxL2MenuInspectionLog.Checked = group.Level2.IsMenuInspectionLog;
this.checkBoxL2MenuAlarmLog.Checked = group.Level2.IsMenuAlarmLog;
this.checkBoxL2MenuInformation.Checked = group.Level2.IsMenuInformation;
this.checkBoxL2MenuStatus.Checked = group.Level2.IsMenuStatus;
#endregion
#region Level3
this.checkBoxL3MainProductChange.Checked = group.Level3.IsMainDisplayProductChange;
this.checkBoxL3MainWeightSetting.Checked = group.Level3.IsMainDisplayWeightSetting;
this.checkBoxL3MainClear.Checked = group.Level3.IsMainDisplayClear;
this.checkBoxL3MainSubMenu.Checked = group.Level3.IsMainDisplaySubMenu;
@ -115,16 +112,15 @@ namespace INT_PT002.Controls
this.checkBoxL3MenuUserSetting.Checked = group.Level3.IsMenuUserSetting;
this.checkBoxL3MenuUserGroupEditor.Checked = group.Level3.IsMenuUserGroupEditor;
this.checkBoxL3MenuIOTest.Checked = group.Level3.IsMenuIOTest;
this.checkBoxL3MenuEquipmentLog.Checked = group.Level3.IsMenuEquipmentLog;
this.checkBoxL3MenuCheckLog.Checked = group.Level3.IsMenuCheckLog;
this.checkBoxL3MenuAlarmList.Checked = group.Level3.IsMenuAlarmList;
this.checkBoxL3MenuHistoryLog.Checked = group.Level3.IsMenuHistoryLog;
this.checkBoxL3MenuInspectionLog.Checked = group.Level3.IsMenuInspectionLog;
this.checkBoxL3MenuAlarmLog.Checked = group.Level3.IsMenuAlarmLog;
this.checkBoxL3MenuInformation.Checked = group.Level3.IsMenuInformation;
this.checkBoxL3MenuStatus.Checked = group.Level3.IsMenuStatus;
#endregion
#region Default
this.checkBoxDefaultMainProductChange.Checked = group.Default.IsMainDisplayProductChange;
this.checkBoxDefaultMainWeightSetting.Checked = group.Default.IsMainDisplayWeightSetting;
this.checkBoxDefaultMainClear.Checked = group.Default.IsMainDisplayClear;
this.checkBoxDefaultMainSubMenu.Checked = group.Default.IsMainDisplaySubMenu;
@ -132,9 +128,9 @@ namespace INT_PT002.Controls
this.checkBoxDefaultMenuUserSetting.Checked = group.Default.IsMenuUserSetting;
this.checkBoxDefaultMenuUserGroupEditor.Checked = group.Default.IsMenuUserGroupEditor;
this.checkBoxDefaultMenuIOTest.Checked = group.Default.IsMenuIOTest;
this.checkBoxDefaultMenuEquipmentLog.Checked = group.Default.IsMenuEquipmentLog;
this.checkBoxDefaultMenuCheckLog.Checked = group.Default.IsMenuCheckLog;
this.checkBoxDefaultMenuAlarmList.Checked = group.Default.IsMenuAlarmList;
this.checkBoxDefaultMenuEquipmentLog.Checked = group.Default.IsMenuHistoryLog;
this.checkBoxDefaultMenuCheckLog.Checked = group.Default.IsMenuInspectionLog;
this.checkBoxDefaultMenuAlarmList.Checked = group.Default.IsMenuAlarmLog;
this.checkBoxDefaultMenuInformation.Checked = group.Default.IsMenuInformation;
this.checkBoxDefaultMenuStatus.Checked = group.Default.IsMenuStatus;
#endregion
@ -142,8 +138,7 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormUserGroupEditor;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.UpdateDisplay(this.ParentForm.ParentForm.CurrentUserGroup, this.ParentForm.ParentForm.SystemConfig);
@ -300,7 +295,6 @@ namespace INT_PT002.Controls
{
#region Level1
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayProductChange = this.checkBoxL1MainProductChange.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayWeightSetting = this.checkBoxL1MainWeightSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayClear = this.checkBoxL1MainClear.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplaySubMenu = this.checkBoxL1MainSubMenu.Checked;
@ -308,16 +302,15 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserSetting = this.checkBoxL1MenuUserSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserGroupEditor = this.checkBoxL1MenuUserGroupEditor.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuIOTest = this.checkBoxL1MenuIOTest.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuEquipmentLog = this.checkBoxL1MenuEquipmentLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuCheckLog = this.checkBoxL1MenuCheckLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuAlarmList = this.checkBoxL1MenuAlarmList.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuHistoryLog = this.checkBoxL1MenuHistoryLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInspectionLog = this.checkBoxL1MenuInspectionLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuAlarmLog = this.checkBoxL1MenuAlarmLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInformation = this.checkBoxL1MenuInformation.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuStatus = this.checkBoxL1MenuStatus.Checked;
#endregion
#region Level2
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayProductChange = this.checkBoxL2MainProductChange.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayWeightSetting = this.checkBoxL2MainWeightSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayClear = this.checkBoxL2MainClear.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplaySubMenu = this.checkBoxL2MainSubMenu.Checked;
@ -325,16 +318,15 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserSetting = this.checkBoxL2MenuUserSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserGroupEditor = this.checkBoxL2MenuUserGroupEditor.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuIOTest = this.checkBoxL2MenuIOTest.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuEquipmentLog = this.checkBoxL2MenuEquipmentLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuCheckLog = this.checkBoxL2MenuCheckLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuAlarmList = this.checkBoxL2MenuAlarmList.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuHistoryLog = this.checkBoxL2MenuHistoryLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInspectionLog = this.checkBoxL2MenuInspectionLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuAlarmLog = this.checkBoxL2MenuAlarmLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInformation = this.checkBoxL2MenuInformation.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuStatus = this.checkBoxL2MenuStatus.Checked;
#endregion
#region Level3
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayProductChange = this.checkBoxL3MainProductChange.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayWeightSetting = this.checkBoxL3MainWeightSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayClear = this.checkBoxL3MainClear.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplaySubMenu = this.checkBoxL3MainSubMenu.Checked;
@ -342,16 +334,15 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserSetting = this.checkBoxL3MenuUserSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserGroupEditor = this.checkBoxL3MenuUserGroupEditor.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuIOTest = this.checkBoxL3MenuIOTest.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuEquipmentLog = this.checkBoxL3MenuEquipmentLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuCheckLog = this.checkBoxL3MenuCheckLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuAlarmList = this.checkBoxL3MenuAlarmList.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuHistoryLog = this.checkBoxL3MenuHistoryLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInspectionLog = this.checkBoxL3MenuInspectionLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuAlarmLog = this.checkBoxL3MenuAlarmLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInformation = this.checkBoxL3MenuInformation.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuStatus = this.checkBoxL3MenuStatus.Checked;
#endregion
#region Default
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMainDisplayProductChange = this.checkBoxDefaultMainProductChange.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMainDisplayWeightSetting = this.checkBoxDefaultMainWeightSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMainDisplayClear = this.checkBoxDefaultMainClear.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMainDisplaySubMenu = this.checkBoxDefaultMainSubMenu.Checked;
@ -359,9 +350,9 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuUserSetting = this.checkBoxDefaultMenuUserSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuUserGroupEditor = this.checkBoxDefaultMenuUserGroupEditor.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuIOTest = this.checkBoxDefaultMenuIOTest.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuEquipmentLog = this.checkBoxDefaultMenuEquipmentLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuCheckLog = this.checkBoxDefaultMenuCheckLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuAlarmList = this.checkBoxDefaultMenuAlarmList.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuHistoryLog = this.checkBoxDefaultMenuEquipmentLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuInspectionLog = this.checkBoxDefaultMenuCheckLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuAlarmLog = this.checkBoxDefaultMenuAlarmList.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuInformation = this.checkBoxDefaultMenuInformation.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Default.IsMenuStatus = this.checkBoxDefaultMenuStatus.Checked;
#endregion

View File

@ -57,7 +57,6 @@
this.checkBoxMenuProduct = new SmartX.SmartCheckBox();
this.checkBoxMainSubMenu = new SmartX.SmartCheckBox();
this.checkBoxMainClear = new SmartX.SmartCheckBox();
this.checkBoxMainWeightSetting = new SmartX.SmartCheckBox();
this.checkBoxMainProductChange = new SmartX.SmartCheckBox();
this.labelExpiryDateOfPassword2 = new SmartX.SmartLabel();
this.labelExpiryDateOfAccount2 = new SmartX.SmartLabel();
@ -589,7 +588,6 @@
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuProduct);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMainSubMenu);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMainClear);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMainWeightSetting);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMainProductChange);
this.groupBoxAccessRight.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxAccessRight.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
@ -879,7 +877,7 @@
this.checkBoxMainSubMenu.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainSubMenu.ImageCheckBox = null;
this.checkBoxMainSubMenu.ImageUnCheckBox = null;
this.checkBoxMainSubMenu.Location = new System.Drawing.Point(64, 148);
this.checkBoxMainSubMenu.Location = new System.Drawing.Point(64, 119);
this.checkBoxMainSubMenu.Name = "checkBoxMainSubMenu";
this.checkBoxMainSubMenu.OverlapOptimize = true;
this.checkBoxMainSubMenu.Size = new System.Drawing.Size(150, 23);
@ -888,6 +886,7 @@
this.checkBoxMainSubMenu.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.checkBoxMainSubMenu.TextColorDisable = System.Drawing.Color.Black;
this.checkBoxMainSubMenu.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxMainSubMenu.Visible = false;
//
// checkBoxMainClear
//
@ -903,7 +902,7 @@
this.checkBoxMainClear.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainClear.ImageCheckBox = null;
this.checkBoxMainClear.ImageUnCheckBox = null;
this.checkBoxMainClear.Location = new System.Drawing.Point(64, 119);
this.checkBoxMainClear.Location = new System.Drawing.Point(64, 90);
this.checkBoxMainClear.Name = "checkBoxMainClear";
this.checkBoxMainClear.OverlapOptimize = true;
this.checkBoxMainClear.Size = new System.Drawing.Size(150, 23);
@ -913,30 +912,6 @@
this.checkBoxMainClear.TextColorDisable = System.Drawing.Color.Black;
this.checkBoxMainClear.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMainWeightSetting
//
this.checkBoxMainWeightSetting.BackGround = this.groupBoxAccessRight;
this.checkBoxMainWeightSetting.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.checkBoxMainWeightSetting.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMainWeightSetting.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMainWeightSetting.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMainWeightSetting.CheckBoxSymbolSize = 14;
this.checkBoxMainWeightSetting.Checked = false;
this.checkBoxMainWeightSetting.CheckLineWidth = 3;
this.checkBoxMainWeightSetting.Enabled = false;
this.checkBoxMainWeightSetting.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainWeightSetting.ImageCheckBox = null;
this.checkBoxMainWeightSetting.ImageUnCheckBox = null;
this.checkBoxMainWeightSetting.Location = new System.Drawing.Point(64, 90);
this.checkBoxMainWeightSetting.Name = "checkBoxMainWeightSetting";
this.checkBoxMainWeightSetting.OverlapOptimize = true;
this.checkBoxMainWeightSetting.Size = new System.Drawing.Size(150, 23);
this.checkBoxMainWeightSetting.TabIndex = 1;
this.checkBoxMainWeightSetting.Text = "Change weight";
this.checkBoxMainWeightSetting.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.checkBoxMainWeightSetting.TextColorDisable = System.Drawing.Color.Black;
this.checkBoxMainWeightSetting.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMainProductChange
//
this.checkBoxMainProductChange.BackGround = this.groupBoxAccessRight;
@ -1418,7 +1393,6 @@
private SmartX.SmartCheckBox checkBoxMenuProduct;
private SmartX.SmartCheckBox checkBoxMainSubMenu;
private SmartX.SmartCheckBox checkBoxMainClear;
private SmartX.SmartCheckBox checkBoxMainWeightSetting;
private SmartX.SmartCheckBox checkBoxMainProductChange;
private SmartX.SmartCheckBox checkBoxMenuInformation;
private SmartX.SmartCheckBox checkBoxMenuAlarmList;

View File

@ -205,21 +205,20 @@ namespace INT_PT002.Controls
menuId.fMenu = new bool[UserManager.USER_MENU_ID_MAX];
menuId.fMenu[0] = this.checkBoxMainProductChange.Checked;
menuId.fMenu[1] = this.checkBoxMainWeightSetting.Checked;
menuId.fMenu[2] = this.checkBoxMainClear.Checked;
menuId.fMenu[3] = this.checkBoxMainSubMenu.Checked;
menuId.fMenu[1] = this.checkBoxMainClear.Checked;
menuId.fMenu[2] = this.checkBoxMainSubMenu.Checked;
menuId.fMenu[4] = this.checkBoxMenuProduct.Checked;
menuId.fMenu[5] = this.checkBoxMenuUserSetting.Checked;
menuId.fMenu[6] = this.checkBoxMenuUserGroupEditor.Checked;
menuId.fMenu[7] = this.checkBoxMenuIOTest.Checked;
menuId.fMenu[8] = this.checkBoxMenuEquipmentLog.Checked;
menuId.fMenu[9] = this.checkBoxMenuCheckLog.Checked;
menuId.fMenu[10] = this.checkBoxMenuAlarmList.Checked;
menuId.fMenu[11] = this.checkBoxMenuInformation.Checked;
menuId.fMenu[12] = this.checkBoxMenuStatus.Checked;
menuId.fMenu[3] = this.checkBoxMenuProduct.Checked;
menuId.fMenu[4] = this.checkBoxMenuUserSetting.Checked;
menuId.fMenu[5] = this.checkBoxMenuUserGroupEditor.Checked;
menuId.fMenu[6] = this.checkBoxMenuIOTest.Checked;
menuId.fMenu[7] = this.checkBoxMenuEquipmentLog.Checked;
menuId.fMenu[8] = this.checkBoxMenuCheckLog.Checked;
menuId.fMenu[9] = this.checkBoxMenuAlarmList.Checked;
menuId.fMenu[10] = this.checkBoxMenuInformation.Checked;
menuId.fMenu[11] = this.checkBoxMenuStatus.Checked;
for (int i = 13; i < UserManager.USER_MENU_ID_MAX - 12; i++)
for (int i = 12; i < UserManager.USER_MENU_ID_MAX - 11; i++)
menuId.fMenu[i] = false;
if (this.buttonLevel1.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
@ -268,10 +267,6 @@ namespace INT_PT002.Controls
}
private void CheckBoxCheckedAsLevel(Define.E_UserGroup level)
{
this.buttonLevel1.Click -= new EventHandler(this.buttonLevel_Click);
this.buttonLevel2.Click -= new EventHandler(this.buttonLevel_Click);
this.buttonLevel3.Click -= new EventHandler(this.buttonLevel_Click);
switch (level)
{
case Define.E_UserGroup.f0_Level1:
@ -282,7 +277,6 @@ namespace INT_PT002.Controls
this.labelAccessRight.Text = this.ParentForm.ParentForm.SystemConfig.LEVEL1_NAME;
this.checkBoxMainProductChange.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayProductChange;
this.checkBoxMainWeightSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayWeightSetting;
this.checkBoxMainClear.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayClear;
this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplaySubMenu;
@ -290,9 +284,9 @@ namespace INT_PT002.Controls
this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserSetting;
this.checkBoxMenuUserGroupEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserGroupEditor;
this.checkBoxMenuIOTest.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuIOTest;
this.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuEquipmentLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuCheckLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuAlarmList;
this.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuHistoryLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInspectionLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuAlarmLog;
this.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInformation;
this.checkBoxMenuStatus.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuStatus;
break;
@ -304,7 +298,6 @@ namespace INT_PT002.Controls
this.labelAccessRight.Text = this.ParentForm.ParentForm.SystemConfig.LEVEL2_NAME;
this.checkBoxMainProductChange.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayProductChange;
this.checkBoxMainWeightSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayWeightSetting;
this.checkBoxMainClear.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayClear;
this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplaySubMenu;
@ -312,9 +305,9 @@ namespace INT_PT002.Controls
this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserSetting;
this.checkBoxMenuUserGroupEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserGroupEditor;
this.checkBoxMenuIOTest.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuIOTest;
this.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuEquipmentLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuCheckLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuAlarmList;
this.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuHistoryLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInspectionLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuAlarmLog;
this.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInformation;
this.checkBoxMenuStatus.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuStatus;
break;
@ -326,7 +319,6 @@ namespace INT_PT002.Controls
this.labelAccessRight.Text = this.ParentForm.ParentForm.SystemConfig.LEVEL3_NAME;
this.checkBoxMainProductChange.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayProductChange;
this.checkBoxMainWeightSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayWeightSetting;
this.checkBoxMainClear.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayClear;
this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplaySubMenu;
@ -334,19 +326,15 @@ namespace INT_PT002.Controls
this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserSetting;
this.checkBoxMenuUserGroupEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserGroupEditor;
this.checkBoxMenuIOTest.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuIOTest;
this.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuEquipmentLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuCheckLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuAlarmList;
this.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuHistoryLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInspectionLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuAlarmLog;
this.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInformation;
this.checkBoxMenuStatus.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuStatus;
break;
default:
break;
}
this.buttonLevel1.Click += new EventHandler(this.buttonLevel_Click);
this.buttonLevel2.Click += new EventHandler(this.buttonLevel_Click);
this.buttonLevel3.Click += new EventHandler(this.buttonLevel_Click);
}
private void UpdateInitializeUserDisplay(SystemConfiguration system)
@ -355,8 +343,8 @@ namespace INT_PT002.Controls
this.textBoxID.Text = "";
this.textBoxPassword.Text = "";
this.labelExpiryDateOfAccount.Text = "000";
this.labelExpiryDateOfPassword.Text = "00";
this.labelExpiryDateOfAccount.Text = "180";
this.labelExpiryDateOfPassword.Text = "90";
this.labelExpiryDateOfAccount2.Text = "yyyy.mm.DD";
this.labelExpiryDateOfPassword2.Text = "yyyy.mm.DD";
this.labelAutomaticLogoutTime.Text = "0";
@ -367,7 +355,6 @@ namespace INT_PT002.Controls
this.buttonLevel3.ButtonText = system.LEVEL3_NAME;
this.checkBoxMainProductChange.Checked = false;
this.checkBoxMainWeightSetting.Checked = false;
this.checkBoxMainClear.Checked = false;
this.checkBoxMainSubMenu.Checked = false;
@ -381,18 +368,10 @@ namespace INT_PT002.Controls
this.checkBoxMenuInformation.Checked = false;
this.checkBoxMenuStatus.Checked = false;
this.buttonLevel1.Click -= new EventHandler(this.buttonLevel_Click);
this.buttonLevel2.Click -= new EventHandler(this.buttonLevel_Click);
this.buttonLevel3.Click -= new EventHandler(this.buttonLevel_Click);
this.buttonLevel1.ButtonUp();
this.buttonLevel2.ButtonUp();
this.buttonLevel3.ButtonUp();
this.buttonLevel1.Click += new EventHandler(this.buttonLevel_Click);
this.buttonLevel2.Click += new EventHandler(this.buttonLevel_Click);
this.buttonLevel3.Click += new EventHandler(this.buttonLevel_Click);
this.buttonDelete.Enabled = false;
}
public void UpdateLevelNameDisplay(SystemConfiguration system)
@ -737,8 +716,8 @@ namespace INT_PT002.Controls
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormUserEditor;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_DisplayMode.Menu);
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.UserEditor;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.UpdateInitializeUserDisplay(this.ParentForm.ParentForm.SystemConfig);
this.UpdateUserListBoxDisplay(this.ParentForm.ParentForm.ListDllUserName);
@ -758,7 +737,7 @@ namespace INT_PT002.Controls
if (index != -1)
{
if (this.ParentForm.ParentForm.SystemConfig.CURRENT_USER.ID == this.listBoxUserList.Items[index])
if (this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUser.ID == this.listBoxUserList.Items[index] || index == 0)
this.buttonDelete.Enabled = false;
else
this.buttonDelete.Enabled = true;

View File

@ -15,7 +15,14 @@ namespace INT_PT002.DataStore
Start = 1,
}
public enum E_DisplayMode
public enum E_FormStore
{
FormNone = 0,
FormMainDisplay,
FormMenu,
}
public enum E_EquipmentMode
{
Normal,
Menu,
@ -61,6 +68,20 @@ namespace INT_PT002.DataStore
_2_Status,
}
public enum E_DisplayModeStore
{
MainDisplay,
Recipe,
UserEditor,
UserGroupEditor,
IOTest,
LogInspection,
LogHistory,
LogAlarm,
Information,
Equipment,
}
public enum E_ProcessStatus
{
_0_None = 0,
@ -113,22 +134,6 @@ namespace INT_PT002.DataStore
Asterisk,
}
public enum E_FormStore
{
FormNone = 0,
FormMainDisplay,
FormMenu,
FormProduct,
FormUserEditor,
FormUserGroupEditor,
FormIOTest,
FormEquipmentLog,
FormCheckLog,
FormAlarmList,
FormInformation,
FormStatus,
}
public enum E_UserGroup
{
f0_Level1 = 0,

View File

@ -17,7 +17,6 @@ namespace INT_PT002.DataStore
private int m_RECIPE_NUMBER;
private Define.E_LanguageID m_LANGUAGE;
private UserItem m_CURRENT_USER;
private int m_CHART1_DRAW_STEP;
private int m_CHART2_DRAW_STEP;
@ -71,11 +70,6 @@ namespace INT_PT002.DataStore
get { return this.m_LANGUAGE; }
set { this.m_LANGUAGE = value; }
}
public UserItem CURRENT_USER
{
get { return this.m_CURRENT_USER; }
set { this.m_CURRENT_USER = value; }
}
public int CHART1_DRAW_STEP
{
@ -168,7 +162,6 @@ namespace INT_PT002.DataStore
this.RECIPE_NUMBER = 1;
this.LANGUAGE = Define.E_LanguageID.Korean;
this.CURRENT_USER = new UserItem();
this.CHART1_DRAW_STEP = 4;
this.CHART2_DRAW_STEP = 2;
@ -541,7 +534,6 @@ namespace INT_PT002.DataStore
{
#region Field
private bool m_IsMainDisplayProductChange;
private bool m_IsMainDisplayWeightSetting;
private bool m_IsMainDisplayClear;
private bool m_IsMainDisplaySubMenu;
@ -549,9 +541,9 @@ namespace INT_PT002.DataStore
private bool m_IsMenuUserSetting;
private bool m_IsMenuUserGroupEditor;
private bool m_IsMenuIOTest;
private bool m_IsMenuEquipmentLog;
private bool m_IsMenuCheckLog;
private bool m_IsMenuAlarmList;
private bool m_IsMenuHistoryLog;
private bool m_IsMenuInspectionLog;
private bool m_IsMenuAlarmLog;
private bool m_IsMenuInformation;
private bool m_IsMenuStatus;
#endregion
@ -569,11 +561,6 @@ namespace INT_PT002.DataStore
get { return this.m_IsMainDisplayProductChange; }
set { this.m_IsMainDisplayProductChange = value; }
}
public bool IsMainDisplayWeightSetting
{
get { return this.m_IsMainDisplayWeightSetting; }
set { this.m_IsMainDisplayWeightSetting = value; }
}
public bool IsMainDisplayClear
{
get { return this.m_IsMainDisplayClear; }
@ -606,20 +593,20 @@ namespace INT_PT002.DataStore
set { this.m_IsMenuIOTest = value; }
}
public bool IsMenuEquipmentLog
public bool IsMenuHistoryLog
{
get { return this.m_IsMenuEquipmentLog; }
set { this.m_IsMenuEquipmentLog = value; }
get { return this.m_IsMenuHistoryLog; }
set { this.m_IsMenuHistoryLog = value; }
}
public bool IsMenuCheckLog
public bool IsMenuInspectionLog
{
get { return this.m_IsMenuCheckLog; }
set { this.m_IsMenuCheckLog = value; }
get { return this.m_IsMenuInspectionLog; }
set { this.m_IsMenuInspectionLog = value; }
}
public bool IsMenuAlarmList
public bool IsMenuAlarmLog
{
get { return this.m_IsMenuAlarmList; }
set { this.m_IsMenuAlarmList = value; }
get { return this.m_IsMenuAlarmLog; }
set { this.m_IsMenuAlarmLog = value; }
}
public bool IsMenuInformation
{
@ -638,8 +625,8 @@ namespace INT_PT002.DataStore
{
bool ret = false;
if (this.IsMainDisplayProductChange == true || this.IsMainDisplayWeightSetting == true
|| this.IsMainDisplayClear == true || this.IsMainDisplaySubMenu == true)
if (this.IsMainDisplayProductChange == true || this.IsMainDisplayClear == true
|| this.IsMainDisplaySubMenu == true)
ret = true;
return ret;
@ -687,7 +674,7 @@ namespace INT_PT002.DataStore
{
bool ret = false;
if (this.IsMenuEquipmentLog == true || this.IsMenuCheckLog == true || this.IsMenuAlarmList == true)
if (this.IsMenuHistoryLog == true || this.IsMenuInspectionLog == true || this.IsMenuAlarmLog == true)
ret = true;
return ret;
@ -711,7 +698,6 @@ namespace INT_PT002.DataStore
private void Initialize()
{
this.IsMainDisplayProductChange = false;
this.IsMainDisplayWeightSetting = false;
this.IsMainDisplayClear = false;
this.IsMainDisplaySubMenu = false;
@ -719,9 +705,9 @@ namespace INT_PT002.DataStore
this.IsMenuUserSetting = false;
this.IsMenuUserGroupEditor = false;
this.IsMenuIOTest = false;
this.IsMenuEquipmentLog = false;
this.IsMenuCheckLog = false;
this.IsMenuAlarmList = false;
this.IsMenuHistoryLog = false;
this.IsMenuInspectionLog = false;
this.IsMenuAlarmLog = false;
this.IsMenuInformation = false;
this.IsMenuStatus = false;
}
@ -733,7 +719,6 @@ namespace INT_PT002.DataStore
public struct StructUserGroupItem
{
public bool IsMainDisplayProductChange;
public bool IsMainDisplayWeightSetting;
public bool IsMainDisplayClear;
public bool IsMainDispalySubMenu;
@ -764,6 +749,7 @@ namespace INT_PT002.DataStore
public bool Dummy15;
public bool Dummy16;
public bool Dummy17;
public bool Dummy18;
}
#endregion

View File

@ -12,9 +12,10 @@ namespace INT_PT002.DataStore
private UserItem m_CurrentUser;
private Define.E_DisplayMode m_CurrentMode;
private Define.E_EquipmentMode m_CurrentEquipmentMode;
private Define.E_EquipmentStatus m_EquipmentStatus;
private Define.E_FormStore m_CurrentDisplay;
private Define.E_FormStore m_CurrentForm;
private Define.E_DisplayModeStore m_CurrentDisplayMode;
#endregion
#region Constructor
@ -37,20 +38,25 @@ namespace INT_PT002.DataStore
set { this.m_CurrentUser = value; }
}
public Define.E_DisplayMode CurrentMode
public Define.E_EquipmentMode CurrentEquipmentMode
{
get { return this.m_CurrentMode; }
set { this.m_CurrentMode = value; }
get { return this.m_CurrentEquipmentMode; }
set { this.m_CurrentEquipmentMode = value; }
}
public Define.E_EquipmentStatus EquipmentStatus
{
get { return this.m_EquipmentStatus; }
set { this.m_EquipmentStatus = value; }
}
public Define.E_FormStore CurrentDisplay
public Define.E_FormStore CurrentForm
{
get { return this.m_CurrentDisplay; }
set { this.m_CurrentDisplay = value; }
get { return this.m_CurrentForm; }
set { this.m_CurrentForm = value; }
}
public Define.E_DisplayModeStore CurrentDisplayMode
{
get { return this.m_CurrentDisplayMode; }
set { this.m_CurrentDisplayMode = value; }
}
#endregion
@ -64,9 +70,10 @@ namespace INT_PT002.DataStore
this.CurrentUser.Password = "";
this.CurrentUser.UserGroup = Define.E_UserGroup.f0_Level1;
this.CurrentMode = Define.E_DisplayMode.Normal;
this.CurrentEquipmentMode = Define.E_EquipmentMode.Normal;
this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
this.CurrentDisplay = Define.E_FormStore.FormMainDisplay;
this.CurrentForm = Define.E_FormStore.FormMainDisplay;
this.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay;
}
#endregion
}

View File

@ -30,13 +30,13 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogFormLogOn));
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.textBoxID = new System.Windows.Forms.TextBox();
this.smartLabel3 = new SmartX.SmartLabel();
this.smartLabel2 = new SmartX.SmartLabel();
this.buttonCancel = new SmartX.SmartButton();
this.buttonLogOn = new SmartX.SmartButton();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.textBoxID = new System.Windows.Forms.TextBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
//
@ -65,6 +65,24 @@
this.smartGroupBox1.Text = "Login";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(141, 94);
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.Size = new System.Drawing.Size(261, 37);
this.textBoxPassword.TabIndex = 98;
this.textBoxPassword.GotFocus += new System.EventHandler(this.textBoxPassword_GotFocus);
//
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(141, 51);
this.textBoxID.Name = "textBoxID";
this.textBoxID.Size = new System.Drawing.Size(261, 37);
this.textBoxID.TabIndex = 97;
this.textBoxID.GotFocus += new System.EventHandler(this.textBoxID_GotFocus);
//
// smartLabel3
//
this.smartLabel3.BackGround = null;
@ -121,7 +139,7 @@
this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonCancel.ButtonText = "취소";
this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.buttonCancel.GroupID = 0;
this.buttonCancel.ImageDisable = null;
this.buttonCancel.ImageDown = null;
@ -145,6 +163,7 @@
this.buttonCancel.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonCancel.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCancel.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
//
// buttonLogOn
//
@ -156,7 +175,7 @@
this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonLogOn.ButtonText = "로그인";
this.buttonLogOn.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLogOn.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonLogOn.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.buttonLogOn.GroupID = 0;
this.buttonLogOn.ImageDisable = null;
this.buttonLogOn.ImageDown = null;
@ -180,12 +199,13 @@
this.buttonLogOn.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonLogOn.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonLogOn.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonLogOn.Click += new System.EventHandler(this.buttonLogOn_Click);
//
// smartKeyboard
//
this.smartKeyboard.BackGround = this.smartGroupBox1;
this.smartKeyboard.BackGroundColor = System.Drawing.Color.LightCoral;
this.smartKeyboard.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
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.ControlKeyDisable = false;
this.smartKeyboard.DesignMinimize = false;
@ -213,7 +233,7 @@
this.smartKeyboard.OverlapOptimize = true;
this.smartKeyboard.Radius = 5;
this.smartKeyboard.RoundedCorners = true;
this.smartKeyboard.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartKeyboard.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.smartKeyboard.Size = new System.Drawing.Size(585, 232);
this.smartKeyboard.SizeRunTime = new System.Drawing.Size(585, 232);
this.smartKeyboard.TabIndex = 90;
@ -226,22 +246,6 @@
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
this.smartKeyboard.Click += new System.EventHandler(this.smartKeyboard_Click);
//
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(141, 51);
this.textBoxID.Name = "textBoxID";
this.textBoxID.Size = new System.Drawing.Size(261, 37);
this.textBoxID.TabIndex = 97;
//
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(141, 94);
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.Size = new System.Drawing.Size(261, 37);
this.textBoxPassword.TabIndex = 98;
//
// DialogFormLogOn
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

View File

@ -193,44 +193,44 @@ namespace INT_PT002.Forms
#region 로그인 성공
if (userInfo.user_id == "Intech")
this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.Developer;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Developer;
else if (userInfo.user_id == "Admin00")
this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.Admin;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Admin;
this.ParentForm.SystemConfig.CURRENT_USER.ID = userInfo.user_id;
this.ParentForm.SystemConfig.CURRENT_USER.Password = userInfo.user_pw;
this.ParentForm.CurrentSystemStatus.CurrentUser.ID = userInfo.user_id;
this.ParentForm.CurrentSystemStatus.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.SystemConfig.CURRENT_USER.ExpireAccount = userInfo.expire_period_account;
this.ParentForm.SystemConfig.CURRENT_USER.ExpirePassword = userInfo.expire_period_pw;
this.ParentForm.CurrentSystemStatus.CurrentUser.ExpireAccount = userInfo.expire_period_account;
this.ParentForm.CurrentSystemStatus.CurrentUser.ExpirePassword = userInfo.expire_period_pw;
DateTime time = DateTime.ParseExact(userInfo.register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CURRENT_USER.DateRegister = time;
this.ParentForm.CurrentSystemStatus.CurrentUser.DateRegister = time;
time = DateTime.ParseExact(userInfo.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CURRENT_USER.DateLogin = time;
this.ParentForm.CurrentSystemStatus.CurrentUser.DateLogin = time;
time = DateTime.ParseExact(userInfo.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CURRENT_USER.DateExpireRegister = time;
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireRegister = time;
time = DateTime.ParseExact(userInfo.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CURRENT_USER.DateExpireLogin = time;
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireLogin = time;
this.ParentForm.SystemConfig.CURRENT_USER.IsLockAccount = userInfo.flock_status_account == 0 ? false : true;
this.ParentForm.SystemConfig.CURRENT_USER.IsLockPassword = userInfo.flock_status_password == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockAccount = userInfo.flock_status_account == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockPassword = userInfo.flock_status_password == 0 ? false : true;
this.ParentForm.SystemConfig.CURRENT_USER.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.SystemConfig.CURRENT_USER.IsMainProductChange = userInfo.menuID.fMenu[0];
this.ParentForm.SystemConfig.CURRENT_USER.IsMainWeightSetting = userInfo.menuID.fMenu[1];
this.ParentForm.SystemConfig.CURRENT_USER.IsMainClear = userInfo.menuID.fMenu[2];
this.ParentForm.SystemConfig.CURRENT_USER.IsMainSubMenu = userInfo.menuID.fMenu[3];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMainProductChange = userInfo.menuID.fMenu[0];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMainWeightSetting = userInfo.menuID.fMenu[1];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMainClear = userInfo.menuID.fMenu[2];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMainSubMenu = userInfo.menuID.fMenu[3];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuProduct = userInfo.menuID.fMenu[4];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuUserSetting = userInfo.menuID.fMenu[5];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuUserGroupEditor = userInfo.menuID.fMenu[6];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuIOTest = userInfo.menuID.fMenu[7];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuEquipmentLog = userInfo.menuID.fMenu[8];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuCheckLog = userInfo.menuID.fMenu[9];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuAlarmList = userInfo.menuID.fMenu[10];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuInformation = userInfo.menuID.fMenu[11];
this.ParentForm.SystemConfig.CURRENT_USER.IsMenuStatus = userInfo.menuID.fMenu[12];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuProduct = userInfo.menuID.fMenu[4];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuUserSetting = userInfo.menuID.fMenu[5];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuUserGroupEditor = userInfo.menuID.fMenu[6];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuIOTest = userInfo.menuID.fMenu[7];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuEquipmentLog = userInfo.menuID.fMenu[8];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuCheckLog = userInfo.menuID.fMenu[9];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuAlarmList = userInfo.menuID.fMenu[10];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuInformation = userInfo.menuID.fMenu[11];
this.ParentForm.CurrentSystemStatus.CurrentUser.IsMenuStatus = userInfo.menuID.fMenu[12];
#endregion
this.DialogResult = DialogResult.OK;

View File

@ -221,6 +221,13 @@ namespace INT_PT002.DialogForms
this.labelMessage1.Text = "4~10자 입력 하세요!";
this.labelMessage2.Text = "";
break;
case 36:
this.PictureBoxVisible(false);
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "데이터가 없습니다";
this.labelMessage2.Text = "";
break;
default:
this.smartGroupBox1.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
@ -650,88 +657,6 @@ namespace INT_PT002.DialogForms
break;
}
}
public DialogFormMessage(int code, int productNo, string underRange, string overRange, Define.E_LanguageID language)
{
InitializeComponent();
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
if (language == Define.E_LanguageID.Korean)
{
this.buttonOK.ButtonText = "OK";
#region 한글
switch (code)
{
case 28:
if (productNo == 996)
{
this.smartGroupBox1.Text = "Error 28";
this.labelMessage1.Text = "No." + productNo.ToString() + " : ~ " + overRange;
this.labelMessage2.Text = "";
}
else if (productNo == 1000)
{
this.smartGroupBox1.Text = "Error 28";
this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~";
this.labelMessage2.Text = "";
}
else
{
this.smartGroupBox1.Text = "Error 28";
this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~ " + overRange;
this.labelMessage2.Text = "";
}
break;
default:
this.smartGroupBox1.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
this.labelMessage2.Text = "";
break;
}
#endregion
}
else if (language == Define.E_LanguageID.English)
{
this.buttonOK.ButtonText = "OK";
#region 영문
switch (code)
{
case 28:
if (productNo == 996)
{
this.smartGroupBox1.Text = "Error 28";
this.labelMessage1.Text = "No." + productNo.ToString() + " : ~ " + overRange;
this.labelMessage2.Text = "";
}
else if (productNo == 1000)
{
this.smartGroupBox1.Text = "Error 28";
this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~";
this.labelMessage2.Text = "";
}
else
{
this.smartGroupBox1.Text = "Error 28";
this.labelMessage1.Text = "No." + productNo.ToString() + " : " + underRange + " ~ " + overRange;
this.labelMessage2.Text = "";
}
break;
default:
this.smartGroupBox1.Text = "Error 99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
#endregion
}
else
{
}
}
public DialogFormMessage(Define.E_MessageBoxIcon icon, string code, string message1, string message2, int autoClose_sec)
{
InitializeComponent();

View File

@ -35,6 +35,7 @@
this.smartFileCommunicationLog = new SmartX.SmartFile();
this.timer = new System.Windows.Forms.Timer();
this.smartFileIO = new SmartX.SmartFile();
this.timer1 = new System.Windows.Forms.Timer();
this.SuspendLayout();
//
// smartForm1
@ -89,6 +90,11 @@
//
this.smartFileIO.FilePathName = "";
//
// timer1
//
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -110,6 +116,7 @@
private SmartX.SmartFile smartFileCommunicationLog;
private System.Windows.Forms.Timer timer;
private SmartX.SmartFile smartFileIO;
private System.Windows.Forms.Timer timer1;
}
}

View File

@ -123,11 +123,6 @@ namespace INT_PT002.Forms
get { return this.m_PathDataAlarmFolder; }
private set { this.m_PathDataAlarmFolder = value; }
}
public static string PathBinFolder
{
get { return m_PathBinFolder; }
private set { m_PathBinFolder = value; }
}
public Define.E_EquipmentStatus EquipmentStatus
{
@ -181,7 +176,6 @@ namespace INT_PT002.Forms
this.PathDataHistoryFolder = this.PathDataFolder + "History\\";
this.PathDataInspectionFolder = this.PathDataFolder + "Inspection\\";
this.PathDataAlarmFolder = this.PathDataFolder + "Alarm\\";
PathBinFolder = this.PathLaunchFolder + "Bin\\";
this.CurrentAlarmList = new AlarmList();
this.CurrentAlarmList.EventAlarmStateChange += new Define.EventHandlerAlarmStateChange(this.CurrentAlarmList_Change);
@ -298,25 +292,25 @@ namespace INT_PT002.Forms
/// Set Mode
/// </summary>
/// <param name="mode"></param>
public void SetDisplayMode(Define.E_DisplayMode mode)
public void SetDisplayMode(Define.E_EquipmentMode mode)
{
if (this.CurrentSystemStatus.CurrentMode == mode)
if (this.CurrentSystemStatus.CurrentEquipmentMode == mode)
return;
else
this.CurrentSystemStatus.CurrentMode = mode;
this.CurrentSystemStatus.CurrentEquipmentMode = mode;
switch (mode)
{
case Define.E_DisplayMode.Normal:
case Define.E_EquipmentMode.Normal:
this.TransferData(CommunicationCommand.ModeNormal, CommunicationID.MainBoard);
break;
case Define.E_DisplayMode.Menu:
case Define.E_EquipmentMode.Menu:
this.TransferData(CommunicationCommand.ModeMenu, CommunicationID.MainBoard);
break;
case Define.E_DisplayMode.IOTest:
case Define.E_EquipmentMode.IOTest:
this.TransferData(CommunicationCommand.ModeIOTest, CommunicationID.MainBoard);
break;
case Define.E_DisplayMode.EquipmentTest:
case Define.E_EquipmentMode.EquipmentTest:
this.TransferData(CommunicationCommand.ModeEquipmentTest, CommunicationID.MainBoard);
break;
default:
@ -441,7 +435,7 @@ namespace INT_PT002.Forms
{
UserManager.UserMgr_user_list_t userList = (UserManager.UserMgr_user_list_t)data;
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormUserEditor)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.UserEditor)
this.ChildFormMenu.CallBackGetUserData(userList);
}
catch
@ -454,7 +448,7 @@ namespace INT_PT002.Forms
{
UserManager.UserMgr_login_timeout_t loginTimeout = (UserManager.UserMgr_login_timeout_t)data;
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.CallBackUserListLoginTimeoutDataEvent(loginTimeout);
}
catch (Exception e)
@ -467,7 +461,7 @@ namespace INT_PT002.Forms
{
UserManager.UserMgr_user_lock_t user = (UserManager.UserMgr_user_lock_t)data;
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormUserEditor)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.UserEditor)
this.ChildFormMenu.CallBackUserListLockDataEvent(user);
}
catch
@ -1156,6 +1150,7 @@ namespace INT_PT002.Forms
case "CI0":
this.CurrentSystemStatus.EquipmentStatus = Define.E_EquipmentStatus.Stop;
this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus);
this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus);
this.TransferSystemParameter9039();
break;
@ -1163,11 +1158,13 @@ namespace INT_PT002.Forms
this.CurrentSystemStatus.EquipmentStatus = DataStore.Define.E_EquipmentStatus.Start;
this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus);
this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus);
break;
case "CBT":
this.CurrentSystemStatus.EquipmentStatus = Define.E_EquipmentStatus.Stop;
this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus);
this.ChildFormMenu.UpdateEquipmentStatusDisplay(this.CurrentSystemStatus.EquipmentStatus);
break;
default:
break;
@ -1380,8 +1377,10 @@ namespace INT_PT002.Forms
for (int i = 0; i < this.CurrentSystemStatus.EquipmentColumn; i++)
this.CurrentLeakData.CollJudgment[i] = Helper.StringToJudgmentStatus(receiveData.Substring(i * 1, 1));
#endregion
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.UpdateDisplayJudgmentData(this.CurrentLeakData);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData(this.CurrentLeakData);
break;
default:
break;
@ -1407,8 +1406,10 @@ namespace INT_PT002.Forms
#region Value Assign
this.CurrentLeakData.ProcessStatus = Helper.StringToProcessStatus(receiveData.Substring(0, 1));
#endregion
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.UpdateProcessStatusDisplay(this.CurrentLeakData.ProcessStatus);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ChildFormMenu.UpdateDisplayEquipmentProcessStatusDisplay(this.CurrentLeakData.ProcessStatus);
break;
default:
break;
@ -1440,10 +1441,12 @@ namespace INT_PT002.Forms
this.CurrentLeakData.CollDiffData[i].DiffMean = receiveData.Substring((i * 32) + 24, 8).Trim();
}
#endregion
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.UpdateDisplayDiffData(this.CurrentLeakData.CollDiffData);
else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest)
this.ChildFormMenu.UpdateDisplayEquipmentTestDiffData(this.CurrentLeakData.CollDiffData);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
this.ChildFormMenu.UpdateDisplayIOTestDiffData(this.CurrentLeakData.CollDiffData);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ChildFormMenu.UpdateDisplayEquipmentDiffData(this.CurrentLeakData.CollDiffData);
break;
default:
break;
@ -1475,10 +1478,12 @@ namespace INT_PT002.Forms
this.CurrentLeakData.CollDispData[i].STD = receiveData.Substring((i * 24) + 18, 6).Trim();
}
#endregion
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.UpdateDisplayDispData(this.CurrentLeakData.CollDispData);
else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest)
this.ChildFormMenu.UpdateDisplayEquipmentTestDispData(this.CurrentLeakData.CollDispData);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
this.ChildFormMenu.UpdateDisplayIOTestDispData(this.CurrentLeakData.CollDispData);
else if(this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ChildFormMenu.UpdateDisplayEquipmentDispData(this.CurrentLeakData.CollDispData);
break;
default:
break;
@ -1510,10 +1515,12 @@ namespace INT_PT002.Forms
string.Format("{0}{1}", receiveData.Substring((i * 6) + 60, 1), receiveData.Substring((i * 6) + 61, 5).Trim());
}
#endregion
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.UpdateDisplayPresData(this.CurrentLeakData.CollPresData);
else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest)
this.ChildFormMenu.UpdateDisplayEquipmentTestPresData(this.CurrentLeakData.CollPresData);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
this.ChildFormMenu.UpdateDisplayIOTestPresData(this.CurrentLeakData.CollPresData);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ChildFormMenu.UpdateDisplayEquipmentPresData(this.CurrentLeakData.CollPresData);
break;
default:
break;
@ -1539,11 +1546,8 @@ namespace INT_PT002.Forms
this.CollectionIOTest_InputData[i] = receiveData.Substring(i, 1);
#endregion
//if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest)
// this.ChildFormIOTest.UpdateInputRead(this.CollectionIOTest_InputData);
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest)
this.ChildFormMenu.UpdateDisplayEquipmentTestInputData(this.CollectionIOTest_InputData);
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
this.ChildFormMenu.UpdateDisplayIOTestInputData(this.CollectionIOTest_InputData);
break;
default:
break;
@ -1563,10 +1567,10 @@ namespace INT_PT002.Forms
this.CurrentAlarmList.SetAlarm(receiveData.Substring(0, 8));
#endregion
if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.UpdateDisplayAlarmView(this.CurrentAlarmList);
else if (this.CurrentSystemStatus.CurrentDisplay == Define.E_FormStore.FormIOTest)
this.ChildFormMenu.UpdateDisplayAlarmView(this.CurrentAlarmList);
else if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.IOTest)
this.ChildFormMenu.UpdateDisplayIOTestAlarmView(this.CurrentAlarmList);
break;
default:
@ -1643,7 +1647,7 @@ namespace INT_PT002.Forms
DateTime time = DateTime.Now;
folder = string.Format("{0}{1}\\{2}\\", this.PathDataInspectionFolder, time.Year, time.Month);
fileName = string.Format("{0:yyyyMMdd}_Inspection_{1}", time, this.CurrentRecipe.NUMBER);
fileName = string.Format("{0:yyyyMMdd}_Inspection_{1}.csv", time, this.CurrentRecipe.NUMBER);
}
public void TrackingInspectionData(LeakData item)
{
@ -1771,7 +1775,7 @@ namespace INT_PT002.Forms
data.Type = "Operation";
data.Time = DateTime.Now;
data.LoginID = this.SystemConfig.CURRENT_USER.ID;
data.LoginID = this.CurrentSystemStatus.CurrentUser.ID;
data.Event = type.ToString();
data.Detail = detail;
data.BeforeData = "";
@ -1785,7 +1789,7 @@ namespace INT_PT002.Forms
data.Type = "Parameter";
data.Time = DateTime.Now;
data.LoginID = this.SystemConfig.CURRENT_USER.ID;
data.LoginID = this.CurrentSystemStatus.CurrentUser.ID;
data.Event = type.ToString();
data.Detail = detail;
data.BeforeData = before;
@ -1904,7 +1908,7 @@ namespace INT_PT002.Forms
data.Type = "Alarm";
data.Time = DateTime.Now;
data.LoginID = this.SystemConfig.CURRENT_USER.ID;
data.LoginID = this.CurrentSystemStatus.CurrentUser.ID;
data.Event = type.ToString();
data.Detail = detail;
data.BeforeData = "";
@ -2015,7 +2019,6 @@ namespace INT_PT002.Forms
{
#region StructItem
structItem.IsMainDisplayProductChange = item.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.IsMainDisplaySubMenu;
@ -2023,9 +2026,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuStatus;
@ -2046,6 +2049,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
#endregion
this.smartFileIO.StructType.Write(structItem, i, SmartFile.WriteMode.Overwrite);
@ -2054,7 +2058,6 @@ namespace INT_PT002.Forms
{
#region StructItem
structItem.IsMainDisplayProductChange = true;
structItem.IsMainDisplayWeightSetting = true;
structItem.IsMainDisplayClear = true;
structItem.IsMainDispalySubMenu = true;
@ -2085,6 +2088,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
#endregion
this.smartFileIO.StructType.Write(structItem, i, SmartFile.WriteMode.Overwrite);
@ -2110,7 +2114,6 @@ namespace INT_PT002.Forms
#region Level1
structItem.IsMainDisplayProductChange = item.Level1.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.Level1.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.Level1.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.Level1.IsMainDisplaySubMenu;
@ -2118,9 +2121,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.Level1.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.Level1.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.Level1.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.Level1.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.Level1.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.Level1.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.Level1.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.Level1.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Level1.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Level1.IsMenuInformation;
structItem.IsMenuStatus = item.Level1.IsMenuStatus;
@ -2141,13 +2144,13 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f0_Level1, SmartFile.WriteMode.Overwrite);
#endregion
#region Level2
structItem.IsMainDisplayProductChange = item.Level2.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.Level2.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.Level2.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.Level2.IsMainDisplaySubMenu;
@ -2155,9 +2158,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.Level2.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.Level2.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.Level2.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.Level2.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.Level2.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.Level2.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.Level2.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.Level2.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Level2.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Level2.IsMenuInformation;
structItem.IsMenuStatus = item.Level2.IsMenuStatus;
@ -2178,13 +2181,13 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f1_Level2, SmartFile.WriteMode.Overwrite);
#endregion
#region Level3
structItem.IsMainDisplayProductChange = item.Level3.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.Level3.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.Level3.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.Level3.IsMainDisplaySubMenu;
@ -2192,9 +2195,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.Level3.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.Level3.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.Level3.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.Level3.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.Level3.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.Level3.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.Level3.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.Level3.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Level3.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Level3.IsMenuInformation;
structItem.IsMenuStatus = item.Level3.IsMenuStatus;
@ -2215,13 +2218,13 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f2_Level3, SmartFile.WriteMode.Overwrite);
#endregion
#region Default
structItem.IsMainDisplayProductChange = item.Default.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.Default.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.Default.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.Default.IsMainDisplaySubMenu;
@ -2229,9 +2232,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.Default.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.Default.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.Default.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.Default.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.Default.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.Default.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.Default.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.Default.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Default.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Default.IsMenuInformation;
structItem.IsMenuStatus = item.Default.IsMenuStatus;
@ -2252,6 +2255,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f3_Default, SmartFile.WriteMode.Overwrite);
#endregion
@ -2278,7 +2282,6 @@ namespace INT_PT002.Forms
#region Level1
structItem.IsMainDisplayProductChange = item.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.IsMainDisplaySubMenu;
@ -2286,9 +2289,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuStatus;
@ -2309,6 +2312,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f0_Level1, SmartFile.WriteMode.Overwrite);
#endregion
@ -2335,7 +2339,6 @@ namespace INT_PT002.Forms
#region Level2
structItem.IsMainDisplayProductChange = item.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.IsMainDisplaySubMenu;
@ -2343,9 +2346,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuStatus;
@ -2366,6 +2369,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f1_Level2, SmartFile.WriteMode.Overwrite);
#endregion
@ -2392,7 +2396,6 @@ namespace INT_PT002.Forms
#region Level3
structItem.IsMainDisplayProductChange = item.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.IsMainDisplaySubMenu;
@ -2400,9 +2403,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuStatus;
@ -2423,6 +2426,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f2_Level3, SmartFile.WriteMode.Overwrite);
#endregion
@ -2449,7 +2453,6 @@ namespace INT_PT002.Forms
#region Default
structItem.IsMainDisplayProductChange = item.IsMainDisplayProductChange;
structItem.IsMainDisplayWeightSetting = item.IsMainDisplayWeightSetting;
structItem.IsMainDisplayClear = item.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.IsMainDisplaySubMenu;
@ -2457,9 +2460,9 @@ namespace INT_PT002.Forms
structItem.IsMenuUserSetting = item.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.IsMenuEquipmentLog;
structItem.IsMenuCheckLog = item.IsMenuCheckLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmList;
structItem.IsMenuEquipmentLog = item.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuStatus;
@ -2480,6 +2483,7 @@ namespace INT_PT002.Forms
structItem.Dummy15 = false;
structItem.Dummy16 = false;
structItem.Dummy17 = false;
structItem.Dummy18 = false;
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f3_Default, SmartFile.WriteMode.Overwrite);
#endregion
@ -2512,7 +2516,6 @@ namespace INT_PT002.Forms
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f0_Level1);
item.Level1.IsMainDisplayProductChange = structItem.IsMainDisplayProductChange;
item.Level1.IsMainDisplayWeightSetting = structItem.IsMainDisplayWeightSetting;
item.Level1.IsMainDisplayClear = structItem.IsMainDisplayClear;
item.Level1.IsMainDisplaySubMenu = structItem.IsMainDispalySubMenu;
@ -2520,9 +2523,9 @@ namespace INT_PT002.Forms
item.Level1.IsMenuUserSetting = structItem.IsMenuUserSetting;
item.Level1.IsMenuUserGroupEditor = structItem.IsMenuUserGroupEditor;
item.Level1.IsMenuIOTest = structItem.IsMenuIOTest;
item.Level1.IsMenuEquipmentLog = structItem.IsMenuEquipmentLog;
item.Level1.IsMenuCheckLog = structItem.IsMenuCheckLog;
item.Level1.IsMenuAlarmList = structItem.IsMenuAlarmList;
item.Level1.IsMenuHistoryLog = structItem.IsMenuEquipmentLog;
item.Level1.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Level1.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Level1.IsMenuInformation = structItem.IsMenuInformation;
item.Level1.IsMenuStatus = structItem.IsMenuStatus;
#endregion
@ -2531,7 +2534,6 @@ namespace INT_PT002.Forms
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f1_Level2);
item.Level2.IsMainDisplayProductChange = structItem.IsMainDisplayProductChange;
item.Level2.IsMainDisplayWeightSetting = structItem.IsMainDisplayWeightSetting;
item.Level2.IsMainDisplayClear = structItem.IsMainDisplayClear;
item.Level2.IsMainDisplaySubMenu = structItem.IsMainDispalySubMenu;
@ -2539,9 +2541,9 @@ namespace INT_PT002.Forms
item.Level2.IsMenuUserSetting = structItem.IsMenuUserSetting;
item.Level2.IsMenuUserGroupEditor = structItem.IsMenuUserGroupEditor;
item.Level2.IsMenuIOTest = structItem.IsMenuIOTest;
item.Level2.IsMenuEquipmentLog = structItem.IsMenuEquipmentLog;
item.Level2.IsMenuCheckLog = structItem.IsMenuCheckLog;
item.Level2.IsMenuAlarmList = structItem.IsMenuAlarmList;
item.Level2.IsMenuHistoryLog = structItem.IsMenuEquipmentLog;
item.Level2.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Level2.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Level2.IsMenuInformation = structItem.IsMenuInformation;
item.Level2.IsMenuStatus = structItem.IsMenuStatus;
#endregion
@ -2550,7 +2552,6 @@ namespace INT_PT002.Forms
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f2_Level3);
item.Level3.IsMainDisplayProductChange = structItem.IsMainDisplayProductChange;
item.Level3.IsMainDisplayWeightSetting = structItem.IsMainDisplayWeightSetting;
item.Level3.IsMainDisplayClear = structItem.IsMainDisplayClear;
item.Level3.IsMainDisplaySubMenu = structItem.IsMainDispalySubMenu;
@ -2558,9 +2559,9 @@ namespace INT_PT002.Forms
item.Level3.IsMenuUserSetting = structItem.IsMenuUserSetting;
item.Level3.IsMenuUserGroupEditor = structItem.IsMenuUserGroupEditor;
item.Level3.IsMenuIOTest = structItem.IsMenuIOTest;
item.Level3.IsMenuEquipmentLog = structItem.IsMenuEquipmentLog;
item.Level3.IsMenuCheckLog = structItem.IsMenuCheckLog;
item.Level3.IsMenuAlarmList = structItem.IsMenuAlarmList;
item.Level3.IsMenuHistoryLog = structItem.IsMenuEquipmentLog;
item.Level3.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Level3.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Level3.IsMenuInformation = structItem.IsMenuInformation;
item.Level3.IsMenuStatus = structItem.IsMenuStatus;
#endregion
@ -2569,7 +2570,6 @@ namespace INT_PT002.Forms
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f3_Default);
item.Default.IsMainDisplayProductChange = structItem.IsMainDisplayProductChange;
item.Default.IsMainDisplayWeightSetting = structItem.IsMainDisplayWeightSetting;
item.Default.IsMainDisplayClear = structItem.IsMainDisplayClear;
item.Default.IsMainDisplaySubMenu = structItem.IsMainDispalySubMenu;
@ -2577,9 +2577,9 @@ namespace INT_PT002.Forms
item.Default.IsMenuUserSetting = structItem.IsMenuUserSetting;
item.Default.IsMenuUserGroupEditor = structItem.IsMenuUserGroupEditor;
item.Default.IsMenuIOTest = structItem.IsMenuIOTest;
item.Default.IsMenuEquipmentLog = structItem.IsMenuEquipmentLog;
item.Default.IsMenuCheckLog = structItem.IsMenuCheckLog;
item.Default.IsMenuAlarmList = structItem.IsMenuAlarmList;
item.Default.IsMenuHistoryLog = structItem.IsMenuEquipmentLog;
item.Default.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Default.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Default.IsMenuInformation = structItem.IsMenuInformation;
item.Default.IsMenuStatus = structItem.IsMenuStatus;
#endregion
@ -2623,6 +2623,12 @@ namespace INT_PT002.Forms
//DialogFormLogOn loginForm = new DialogFormLogOn(
// UserManager 초기화
this.InitializeUserManager();
this.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
//UserManager.UserManager_GetUserListName();
this.timer1.Enabled = true;
// 화면 시계 표시 타이머
this.timer.Enabled = true;
}
@ -2669,5 +2675,11 @@ namespace INT_PT002.Forms
this.ChildFormMainDisplay.UpdateDisplayTime();
}
#endregion
private void timer1_Tick(object sender, EventArgs e)
{
this.timer1.Enabled = false;
UserManager.UserManager_GetUserListName();
}
}
}

View File

@ -221,6 +221,9 @@
<metadata name="smartFileIO.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>175, 17</value>
</metadata>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>582, 17</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>

View File

@ -83,7 +83,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.LogOff;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.DisplayRefresh();

View File

@ -282,7 +282,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.LogOff;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.DisplayRefresh();
@ -811,7 +811,7 @@ namespace INT_PT002.Forms
public void DisplayRefresh()
{
this.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormMainDisplay;
this.ParentForm.CurrentSystemStatus.CurrentForm = Define.E_FormStore.FormMainDisplay;
}
#endregion

View File

@ -747,6 +747,7 @@
this.smartButton2.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.smartButton2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButton2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButton2.Click += new System.EventHandler(this.smartButton2_Click);
//
// buttonRecipeNo
//
@ -789,7 +790,7 @@
this.labelTime.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTime.LineSpacing = 0F;
this.labelTime.Location = new System.Drawing.Point(147, 119);
this.labelTime.Name = "labelTime";
@ -1506,7 +1507,7 @@
this.labelAlarm.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(51)))), ((int)(((byte)(53)))));
this.labelAlarm.BorderColor = System.Drawing.Color.White;
this.labelAlarm.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelAlarm.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelAlarm.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelAlarm.LineSpacing = 0F;
this.labelAlarm.Location = new System.Drawing.Point(3, 27);
this.labelAlarm.Name = "labelAlarm";
@ -1985,7 +1986,7 @@
this.buttonUser.ImageDown = null;
this.buttonUser.ImageUp = null;
this.buttonUser.Location = new System.Drawing.Point(917, 276);
this.buttonUser.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonUser.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
this.buttonUser.Name = "buttonUser";
this.buttonUser.NestedClickEventPrevent = false;
this.buttonUser.OutlinePixel = 2;
@ -2003,7 +2004,6 @@
this.buttonUser.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonUser.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonUser.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonUser.Visible = false;
this.buttonUser.Click += new System.EventHandler(this.buttonUser_Click);
//
// labelCommunicationStatus

View File

@ -198,6 +198,55 @@ namespace INT_PT002.Forms
}
private void UpdateDisplayUser(UserItem user)
{
string id = "", group = "";
if (user.Status == Define.E_UserStatus.NotLogin)
{
id = "";
this.buttonRecipeNo.Enabled = true;
this.buttonClear.Enabled = true;
}
else if (user.Status == Define.E_UserStatus.LogOff)
{
id = "LogOff";
//if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff)
// this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOff;
//this.buttonUser.ButtonUp();
//this.buttonProductNo.Enabled = false;
//this.buttonClear.Enabled = false;
//this.buttonSubMenu.Enabled = false;
//this.buttonUnder.Enabled = false;
//this.buttonPass.Enabled = false;
//this.buttonOver.Enabled = false;
//this.buttonTare.Enabled = false;
}
else
{
id = user.ID;
//if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
// this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
//this.buttonUser.ButtonDown();
//this.buttonProductNo.Enabled = user.IsMainProductNo;
//this.buttonClear.Enabled = user.IsMainClear;
//this.buttonSubMenu.Enabled = user.IsMainSubMenu;
//this.buttonUnder.Enabled = user.IsMainWeightSetting;
//this.buttonPass.Enabled = user.IsMainWeightSetting;
//this.buttonOver.Enabled = user.IsMainWeightSetting;
//this.buttonTare.Enabled = user.IsMainWeightSetting;
}
//if (this.labelUserLevel.Text != group)
// this.labelUserLevel.Text = group;
//if (this.labelUserID.Text != id)
// this.labelUserID.Text = id;
}
private void Login()
{
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
@ -205,6 +254,7 @@ namespace INT_PT002.Forms
{
this.DisplayRefresh();
this.buttonUser.ButtonDown();
this.buttonUser.ButtonText = "Logout";
//this.ParentForm.TimerAutomaticLogout(true, this.ParentForm.SystemConfig.AutomaticLogout);
// Part 11
@ -217,7 +267,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.LogOff;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.DisplayRefresh();
@ -622,10 +672,11 @@ namespace INT_PT002.Forms
this.CollectionLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9];
value = value.Trim();
this.label1.Size = new Size(value.Length * 7, 20);
this.label1.Size = new Size(value.Length * 8, 20);
this.label1.Text = value;
this.label1.Location = new Point(6, 22);
if (this.label1.Width > 655)
if (this.label1.Width > 548)
{
if (this.label1.Text != "")
this.smartTimerAlarm.Start();
@ -665,10 +716,12 @@ namespace INT_PT002.Forms
this.labelTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
}
public void DisplayRefresh()
{
this.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_FormStore.FormMainDisplay;
this.ParentForm.SetDisplayMode(Define.E_DisplayMode.Normal);
this.ParentForm.CurrentSystemStatus.CurrentForm = Define.E_FormStore.FormMainDisplay;
this.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay;
this.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
this.buttonRecipeNo.ButtonText = this.ParentForm.CurrentRecipe.NUMBER.ToString();
}
@ -719,7 +772,18 @@ namespace INT_PT002.Forms
}
private void buttonUser_Click(object sender, EventArgs e)
{
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Status == Define.E_UserStatus.LogOff)
{
this.Login();
}
else
{
DialogFormYesNo msg = new DialogFormYesNo(this.ParentForm.SystemConfig.LANGUAGE, 12);
if (msg.ShowDialog() == DialogResult.Yes)
{
this.Logout();
}
}
}
private void buttonMenu_Click(object sender, EventArgs e)
{
@ -812,6 +876,8 @@ namespace INT_PT002.Forms
{
string value = "";
this.smartTimerAlarm.Stop();
value = "a1_Servo emergency stop ";
value += "a2_Servo1 ";
value += "a3_Servo2 ";
@ -820,11 +886,62 @@ namespace INT_PT002.Forms
//value += "a6_Pressure ";
value = value.Trim();
this.label1.Size = new Size(value.Length * 7, 20);
this.label1.Size = new Size(value.Length * 8, 20);
this.label1.Text = value;
if (this.label1.Text != "")
this.smartTimerAlarm.Start();
if (this.label1.Width > 548)
{
if (this.label1.Text != "")
this.smartTimerAlarm.Start();
}
}
private void smartButton2_Click(object sender, EventArgs e)
{
string value = "";
this.smartTimerAlarm.Stop();
value = "a1_Servo emergency stop ";
value += "a2_Servo1 ";
value += "a3_Servo2 ";
value += "a4_Servo1 Torque ";
//value += "a5_Servo2 Torque ";
//value += "a6_Pressure ";
value = value.Trim();
this.label1.Size = new Size(value.Length * 8, 20);
this.label1.Text = value;
if (this.label1.Width > 548)
{
if (this.label1.Text != "")
this.smartTimerAlarm.Start();
}
}
private void smartButton3_Click(object sender, EventArgs e)
{
string value = "";
this.smartTimerAlarm.Stop();
value = "a1_Servo emergency stop ";
value += "a2_Servo1 ";
value += "a3_Servo2 ";
value += "a4_Servo1 Torque ";
value += "a5_Servo2 Torque ";
value += "a6_Pressure ";
value = value.Trim();
this.label1.Size = new Size(value.Length * 8, 20);
this.label1.Text = value;
if (this.label1.Width > 548)
{
if (this.label1.Text != "")
this.smartTimerAlarm.Start();
}
}
}
}

View File

@ -46,6 +46,7 @@
this.buttonRecipe = new SmartX.SmartButton();
this.buttonHome = new SmartX.SmartButton();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.labelStart = new SmartX.SmartLabel();
this.smartForm1.SuspendLayout();
this.SuspendLayout();
//
@ -54,6 +55,8 @@
this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.UseBackImage;
this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage")));
this.smartForm1.CenterLocation = false;
this.smartForm1.Controls.Add(this.labelStop);
this.smartForm1.Controls.Add(this.labelStart);
this.smartForm1.Controls.Add(this.buttonUser);
this.smartForm1.Controls.Add(this.labelUserID);
this.smartForm1.Controls.Add(this.labelUserLevel);
@ -66,7 +69,6 @@
this.smartForm1.Controls.Add(this.buttonSystem);
this.smartForm1.Controls.Add(this.buttonLog);
this.smartForm1.Controls.Add(this.buttonManual);
this.smartForm1.Controls.Add(this.labelStop);
this.smartForm1.Controls.Add(this.buttonRecipe);
this.smartForm1.Controls.Add(this.buttonHome);
this.smartForm1.Controls.Add(this.smartGroupBox1);
@ -124,7 +126,7 @@
this.labelUserID.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelUserID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelUserID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.LineSpacing = 0F;
this.labelUserID.Location = new System.Drawing.Point(743, 3);
this.labelUserID.Name = "labelUserID";
@ -147,7 +149,7 @@
this.labelUserLevel.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelUserLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelUserLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.LineSpacing = 0F;
this.labelUserLevel.Location = new System.Drawing.Point(849, 3);
this.labelUserLevel.Name = "labelUserLevel";
@ -461,6 +463,7 @@
this.labelStop.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStop.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStop.Wordwrap = false;
this.labelStop.Click += new System.EventHandler(this.labelStop_Click);
//
// buttonRecipe
//
@ -550,6 +553,30 @@
this.smartGroupBox1.Text = "기본 > ";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// labelStart
//
this.labelStart.BackGround = null;
this.labelStart.BackGroundColor = System.Drawing.Color.DarkGreen;
this.labelStart.BorderColor = System.Drawing.Color.DarkGreen;
this.labelStart.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelStart.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelStart.LineSpacing = 0F;
this.labelStart.Location = new System.Drawing.Point(911, 3);
this.labelStart.Name = "labelStart";
this.labelStart.OverlapOptimize = true;
this.labelStart.PasswordChar = '\0';
this.labelStart.Radius = 10;
this.labelStart.RoundRectFillColor = System.Drawing.Color.DarkGreen;
this.labelStart.Size = new System.Drawing.Size(110, 30);
this.labelStart.TabIndex = 88;
this.labelStart.Text = "START";
this.labelStart.TextColor = System.Drawing.Color.White;
this.labelStart.TextColorDisable = System.Drawing.Color.Gray;
this.labelStart.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStart.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStart.Wordwrap = false;
this.labelStart.Click += new System.EventHandler(this.labelStart_Click);
//
// FormMenu
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -584,5 +611,6 @@
private SmartX.SmartLabel labelUserID;
private SmartX.SmartLabel labelUserLevel;
private SmartX.SmartButton buttonUser;
private SmartX.SmartLabel labelStart;
}
}

View File

@ -448,7 +448,7 @@ namespace INT_PT002.Forms
this.buttonSystem.ButtonDown();
this.buttonBottom1.ButtonText = "Information";
this.buttonBottom2.ButtonText = "E.Test";
this.buttonBottom2.ButtonText = "Equipment";
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = true;
@ -590,29 +590,85 @@ namespace INT_PT002.Forms
}
}
// Menu
public void UpdateEquipmentStatusDisplay(Define.E_EquipmentStatus status)
{
if (status == Define.E_EquipmentStatus.Start)
{
#region Start
this.labelStart.Visible = true;
this.labelStop.Visible = false;
#endregion
}
else
{
#region Stop
this.labelStart.Visible = false;
this.labelStop.Visible = true;
#endregion
}
}
public void Set_Equipment_ButtonEnable(bool data)
{
if (data == true)
{
this.buttonRecipe.Enabled = true;
this.buttonUser.Enabled = true;
this.buttonManual.Enabled = true;
this.buttonLog.Enabled = true;
this.buttonSystem.Enabled = true;
this.buttonBottom1.Enabled = true;
this.buttonBottom2.Enabled = true;
this.buttonBottom3.Enabled = true;
this.buttonBottom4.Enabled = true;
this.buttonHome.Enabled = true;
}
else
{
this.buttonRecipe.Enabled = false;
this.buttonUser.Enabled = false;
this.buttonManual.Enabled = false;
this.buttonLog.Enabled = false;
this.buttonSystem.Enabled = false;
this.buttonBottom1.Enabled = false;
this.buttonBottom2.Enabled = false;
this.buttonBottom3.Enabled = false;
this.buttonBottom4.Enabled = false;
this.buttonHome.Enabled = false;
}
}
// Menu Recipe
public void UpdateDisplayRecipeData(Recipe item)
{
this.Child_Recipe_Setting.UpdateDisplayControlData(item);
}
// Menu Equipment
public void UpdateDisplayEquipmentTestInputData(Collection<string> datas)
// Menu Manual
public void UpdateDisplayIOTestInputData(Collection<string> datas)
{
this.Child_Manual_IoTest.UpdateDisplayInputData(datas);
}
public void UpdateDisplayEquipmentTestDispData(Collection<DispData> datas)
public void UpdateDisplayIOTestDispData(Collection<DispData> datas)
{
this.Child_Manual_IoTest.UpdateDisplayDispData(datas);
}
public void UpdateDisplayEquipmentTestDiffData(Collection<DiffData> datas)
public void UpdateDisplayIOTestDiffData(Collection<DiffData> datas)
{
this.Child_Manual_IoTest.UpdateDisplayDiffData(datas);
}
public void UpdateDisplayEquipmentTestPresData(Collection<PressureData> datas)
public void UpdateDisplayIOTestPresData(Collection<PressureData> datas)
{
this.Child_Manual_IoTest.UpdateDisplayPresData(datas);
}
public void UpdateDisplayIOTestAlarmView(AlarmList data)
{
this.Child_Manual_IoTest.UpdateDisplayAlarmView(data);
}
// Menu System
public void UpdateMainBoardVersionDisplay(string data)
@ -646,10 +702,30 @@ namespace INT_PT002.Forms
this.Child_User_UserEditor.CallBackUserListNewData(user);
}
// Menu Manual
public void UpdateDisplayAlarmView(AlarmList data)
// Menu System
public void UpdateDisplayEquipmentDispData(Collection<DispData> datas)
{
this.Child_Manual_IoTest.UpdateDisplayAlarmView(data);
this.Child_System_Status.UpdateDisplayDispData(datas);
}
public void UpdateDisplayEquipmentDiffData(Collection<DiffData> datas)
{
this.Child_System_Status.UpdateDisplayDiffData(datas);
}
public void UpdateDisplayEquipmentPresData(Collection<PressureData> datas)
{
this.Child_System_Status.UpdateDisplayPresData(datas);
}
public void UpdateDisplayEquipmentAlarmView(AlarmList data)
{
this.Child_System_Status.UpdateDisplayAlarmView(data);
}
public void UpdateDisplayEquipmentJudgmentData(LeakData datas)
{
this.Child_System_Status.UpdateDisplayJudgmentData(datas);
}
public void UpdateDisplayEquipmentProcessStatusDisplay(Define.E_ProcessStatus status)
{
this.Child_System_Status.UpdateProcessStatusDisplay(status);
}
public void DisplayRefresh(SystemStatus status)
@ -821,6 +897,17 @@ namespace INT_PT002.Forms
break;
}
}
private void labelStart_Click(object sender, EventArgs e)
{
if (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ParentForm.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
}
private void labelStop_Click(object sender, EventArgs e)
{
if (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.Equipment)
this.ParentForm.TransferData(CommunicationCommand.Start, CommunicationID.MainBoard);
}
#endregion
}
}

View File

@ -1,365 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{37DB9023-1C6E-4094-9777-C626E6885290}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>INT_PT002</RootNamespace>
<AssemblyName>INT_PT002</AssemblyName>
<ProjectTypeGuids>{4D628B5B-2FBC-4AA6-8C16-197242AEB884};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PlatformFamilyName>WindowsCE</PlatformFamilyName>
<PlatformID>E2BECB1F-8C8C-41ba-B736-9BE7D946A398</PlatformID>
<OSVersion>5.0</OSVersion>
<DeployDirSuffix>INT_PT002</DeployDirSuffix>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<NativePlatformName>Windows CE</NativePlatformName>
<FormFactorID>
</FormFactorID>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;$(PlatformFamilyName)</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<FileAlignment>512</FileAlignment>
<WarningLevel>4</WarningLevel>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;$(PlatformFamilyName)</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<FileAlignment>512</FileAlignment>
<WarningLevel>4</WarningLevel>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.WindowsCE.Forms" />
<Reference Include="mscorlib" />
<Reference Include="SmartXNCommon, Version=5.0.0.6, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V5.0.0.6_20221115\IEC1000\SmartXNCommon.dll</HintPath>
</Reference>
<Reference Include="SmartXNFDCommon, Version=5.0.0.6, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V5.0.0.6_20221115\IEC1000\SmartXNFDCommon.dll</HintPath>
</Reference>
<Reference Include="SmartXN_IEC1000, Version=5.0.0.6, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V5.0.0.6_20221115\IEC1000\SmartXN_IEC1000.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controls\Bottom\ControlBottomManual.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Bottom\ControlBottomManual.Designer.cs">
<DependentUpon>ControlBottomManual.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Bottom\ControlBottomSetting.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Bottom\ControlBottomSetting.Designer.cs">
<DependentUpon>ControlBottomSetting.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogTemporary.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogTemporary.Designer.cs">
<DependentUpon>ControlMenuLogTemporary.cs</DependentUpon>
</Compile>
<Compile Include="Controls\System\ControlMenuSystemInformation.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\System\ControlMenuSystemInformation.Designer.cs">
<DependentUpon>ControlMenuSystemInformation.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogAlarm.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogAlarm.Designer.cs">
<DependentUpon>ControlMenuLogAlarm.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogHistory.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogHistory.Designer.cs">
<DependentUpon>ControlMenuLogHistory.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogInspection.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Log\ControlMenuLogInspection.Designer.cs">
<DependentUpon>ControlMenuLogInspection.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Manual\ControlMenuManualIoTest.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Manual\ControlMenuManualIoTest.Designer.cs">
<DependentUpon>ControlMenuManualIoTest.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Recipe\ControlMenuRecipeSetting.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Recipe\ControlMenuRecipeSetting.Designer.cs">
<DependentUpon>ControlMenuRecipeSetting.cs</DependentUpon>
</Compile>
<Compile Include="Controls\ControlMainDisplay.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\ControlMainDisplay.Designer.cs">
<DependentUpon>ControlMainDisplay.cs</DependentUpon>
</Compile>
<Compile Include="Controls\ControlMainDisplayDotGraph.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\ControlMainDisplayDotGraph.Designer.cs">
<DependentUpon>ControlMainDisplayDotGraph.cs</DependentUpon>
</Compile>
<Compile Include="Controls\System\ControlMenuSystemStatus.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\System\ControlMenuSystemStatus.Designer.cs">
<DependentUpon>ControlMenuSystemStatus.cs</DependentUpon>
</Compile>
<Compile Include="Controls\User\ControlMenuUserGroupEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\User\ControlMenuUserGroupEditor.Designer.cs">
<DependentUpon>ControlMenuUserGroupEditor.cs</DependentUpon>
</Compile>
<Compile Include="Controls\User\ControlMenuUserUserEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\User\ControlMenuUserUserEditor.Designer.cs">
<DependentUpon>ControlMenuUserUserEditor.cs</DependentUpon>
</Compile>
<Compile Include="DataStore\Communication.cs" />
<Compile Include="DataStore\Define.cs" />
<Compile Include="DataStore\DiffData.cs" />
<Compile Include="DataStore\DispData.cs" />
<Compile Include="DataStore\LeakData.cs" />
<Compile Include="DataStore\Recipe.cs" />
<Compile Include="DataStore\SystemConfiguration.cs" />
<Compile Include="DataStore\PressureData.cs" />
<Compile Include="DataStore\SystemStatus.cs" />
<Compile Include="DialogForms\DialogFormNumKeyPad.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormNumKeyPad.designer.cs">
<DependentUpon>DialogFormNumKeyPad.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormProgressBar.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormProgressBar.Designer.cs">
<DependentUpon>DialogFormProgressBar.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormYesNo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormYesNo.Designer.cs">
<DependentUpon>DialogFormYesNo.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormMessage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormMessage.Designer.cs">
<DependentUpon>DialogFormMessage.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormPasswordKeyPad.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormPasswordKeyPad.designer.cs">
<DependentUpon>DialogFormPasswordKeyPad.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormLogOn.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormLogOn.Designer.cs">
<DependentUpon>DialogFormLogOn.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormConfiguration.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormConfiguration.Designer.cs">
<DependentUpon>FormConfiguration.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMainDisplay.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormMainDisplay.Designer.cs">
<DependentUpon>FormMainDisplay.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormMain.Designer.cs">
<DependentUpon>FormMain.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMainDisplay1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormMainDisplay1.Designer.cs">
<DependentUpon>FormMainDisplay1.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMainDisplay2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormMainDisplay2.Designer.cs">
<DependentUpon>FormMainDisplay2.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMenu.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormMenu.Designer.cs">
<DependentUpon>FormMenu.cs</DependentUpon>
</Compile>
<Compile Include="Helper.cs" />
<Compile Include="Part11_UserManager\UserManager.cs" />
<Compile Include="Part11_UserManager\UserManager.Define.cs" />
<Compile Include="Part11_UserManager\UserManager.Structure.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Controls\ControlMainDisplay.resx">
<DependentUpon>ControlMainDisplay.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\ControlMainDisplayDotGraph.resx">
<DependentUpon>ControlMainDisplayDotGraph.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Log\ControlMenuLogTemporary.resx">
<DependentUpon>ControlMenuLogTemporary.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\System\ControlMenuSystemInformation.resx">
<DependentUpon>ControlMenuSystemInformation.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Log\ControlMenuLogAlarm.resx">
<DependentUpon>ControlMenuLogAlarm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Log\ControlMenuLogHistory.resx">
<DependentUpon>ControlMenuLogHistory.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Log\ControlMenuLogInspection.resx">
<DependentUpon>ControlMenuLogInspection.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Manual\ControlMenuManualIoTest.resx">
<DependentUpon>ControlMenuManualIoTest.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Recipe\ControlMenuRecipeSetting.resx">
<DependentUpon>ControlMenuRecipeSetting.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\System\ControlMenuSystemStatus.resx">
<DependentUpon>ControlMenuSystemStatus.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\User\ControlMenuUserGroupEditor.resx">
<DependentUpon>ControlMenuUserGroupEditor.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Controls\User\ControlMenuUserUserEditor.resx">
<DependentUpon>ControlMenuUserUserEditor.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormLogOn.resx">
<DependentUpon>DialogFormLogOn.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormNumKeyPad.resx">
<DependentUpon>DialogFormNumKeyPad.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormProgressBar.resx">
<DependentUpon>DialogFormProgressBar.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormYesNo.resx">
<DependentUpon>DialogFormYesNo.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormMessage.resx">
<DependentUpon>DialogFormMessage.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormPasswordKeyPad.resx">
<DependentUpon>DialogFormPasswordKeyPad.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormConfiguration.resx">
<DependentUpon>FormConfiguration.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMainDisplay.resx">
<DependentUpon>FormMainDisplay.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMainDisplay1.resx">
<DependentUpon>FormMainDisplay1.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMainDisplay2.resx">
<DependentUpon>FormMainDisplay2.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMenu.resx">
<DependentUpon>FormMenu.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}">
<HostingProcess disable="1" />
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>