로그인 수정 및 로그 수정

main
Seonjae 2023-03-31 13:32:17 +09:00
parent f1860f9a99
commit 3234629296
15 changed files with 598 additions and 1081 deletions

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
@ -299,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;
@ -307,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;
@ -324,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;
@ -341,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;
@ -358,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)
@ -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

@ -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

@ -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

@ -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);
@ -454,7 +448,7 @@ namespace INT_PT002.Forms
{
UserManager.UserMgr_login_timeout_t loginTimeout = (UserManager.UserMgr_login_timeout_t)data;
if (this.CurrentSystemStatus.CurrentForm == Define.E_FormStore.FormMainDisplay)
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.CallBackUserListLoginTimeoutDataEvent(loginTimeout);
}
catch (Exception e)
@ -1781,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 = "";
@ -1795,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;
@ -1914,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 = "";
@ -2025,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;
@ -2033,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;
@ -2056,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);
@ -2064,7 +2058,6 @@ namespace INT_PT002.Forms
{
#region StructItem
structItem.IsMainDisplayProductChange = true;
structItem.IsMainDisplayWeightSetting = true;
structItem.IsMainDisplayClear = true;
structItem.IsMainDispalySubMenu = true;
@ -2095,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);
@ -2120,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;
@ -2128,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;
@ -2151,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;
@ -2165,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;
@ -2188,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;
@ -2202,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;
@ -2225,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;
@ -2239,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;
@ -2262,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
@ -2288,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;
@ -2296,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;
@ -2319,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
@ -2345,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;
@ -2353,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;
@ -2376,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
@ -2402,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;
@ -2410,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;
@ -2433,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
@ -2459,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;
@ -2467,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;
@ -2490,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
@ -2522,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;
@ -2530,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
@ -2541,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;
@ -2549,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
@ -2560,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;
@ -2568,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
@ -2579,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;
@ -2587,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
@ -2633,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;
}
@ -2679,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();

View File

@ -2196,7 +2196,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;
@ -2214,7 +2214,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

@ -170,6 +170,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);
@ -177,6 +226,7 @@ namespace INT_PT002.Forms
{
this.DisplayRefresh();
this.buttonUser.ButtonDown();
this.buttonUser.ButtonText = "Logout";
//this.ParentForm.TimerAutomaticLogout(true, this.ParentForm.SystemConfig.AutomaticLogout);
// Part 11
@ -189,7 +239,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();
@ -638,6 +688,7 @@ namespace INT_PT002.Forms
this.labelTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
}
public void DisplayRefresh()
{
this.ParentForm.CurrentSystemStatus.CurrentForm = Define.E_FormStore.FormMainDisplay;
@ -693,7 +744,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)
{

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>