Compare commits

..

No commits in common. "02ea9e2c995cbeb14e8792a43b3ac6b0ac298bc9" and "3334a21f6d52d307490778389544fbc1319ada75" have entirely different histories.

40 changed files with 1914 additions and 10316 deletions

View File

@ -77,30 +77,30 @@ namespace INT_PT002.Controls
}
private void UpdateDisplayUser(UserItem user)
{
switch (user.Group)
switch (user.Status)
{
case Define.E_UserGroup.None:
case Define.E_UserStatus.None:
this.UpdateDisplauUserControls(false);
break;
case Define.E_UserGroup.Level1:
case Define.E_UserStatus.Level1:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuRecipe);
break;
case Define.E_UserGroup.Level2:
case Define.E_UserStatus.Level2:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuRecipe);
break;
case Define.E_UserGroup.Level3:
case Define.E_UserStatus.Level3:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe);
break;
case Define.E_UserGroup.Admin:
case Define.E_UserStatus.Admin:
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe);
break;
case Define.E_UserGroup.Developer:
case Define.E_UserStatus.Developer:
this.UpdateDisplauUserControls(true);
break;
case Define.E_UserGroup.NotLogin:
case Define.E_UserStatus.NotLogin:
this.UpdateDisplauUserControls(false);
break;
case Define.E_UserGroup.LogOut:
case Define.E_UserStatus.LogOff:
this.UpdateDisplauUserControls(false);
break;
default:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,129 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timerServer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 4</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>36</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>
</root>

View File

@ -383,7 +383,6 @@ namespace INT_PT002.Controls
this.upDownMinute.Value = currentTime.Minute;
this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateDisplayTime();
this.ParentForm.UpdateDisplayTime();
}
#endregion

View File

@ -30,12 +30,10 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlMenuUserGroupEditor));
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.smartLabel1 = new SmartX.SmartLabel();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.buttonGroupNameChange = new SmartX.SmartButton();
this.labelTitleMenuUserGroupEditor = new SmartX.SmartLabel();
this.groupBoxDefault = new SmartX.SmartGroupBox();
this.checkBoxDefaultMenuEthernet = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuUserGroupEditor = new SmartX.SmartCheckBox();
this.checkBoxDefaultMainProductChange = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuUserSetting = new SmartX.SmartCheckBox();
@ -45,11 +43,10 @@
this.checkBoxDefaultMainClear = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuEquipmentLog = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuCheckLog = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuEquipment = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuStatus = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuAlarmList = new SmartX.SmartCheckBox();
this.checkBoxDefaultMenuInformation = new SmartX.SmartCheckBox();
this.groupBoxLevel3 = new SmartX.SmartGroupBox();
this.checkBoxL3MenuEthernet = new SmartX.SmartCheckBox();
this.textBoxLevel3 = new System.Windows.Forms.TextBox();
this.checkBoxL3MenuUserGroupEditor = new SmartX.SmartCheckBox();
this.checkBoxL3MainProductChange = new SmartX.SmartCheckBox();
@ -60,11 +57,10 @@
this.checkBoxL3MainClear = new SmartX.SmartCheckBox();
this.checkBoxL3MenuHistoryLog = new SmartX.SmartCheckBox();
this.checkBoxL3MenuInspectionLog = new SmartX.SmartCheckBox();
this.checkBoxL3MenuEquipment = new SmartX.SmartCheckBox();
this.checkBoxL3MenuStatus = new SmartX.SmartCheckBox();
this.checkBoxL3MenuAlarmLog = new SmartX.SmartCheckBox();
this.checkBoxL3MenuInformation = new SmartX.SmartCheckBox();
this.groupBoxLevel2 = new SmartX.SmartGroupBox();
this.checkBoxL2MenuEthernet = new SmartX.SmartCheckBox();
this.textBoxLevel2 = new System.Windows.Forms.TextBox();
this.checkBoxL2MenuUserGroupEditor = new SmartX.SmartCheckBox();
this.checkBoxL2MainProductChange = new SmartX.SmartCheckBox();
@ -75,11 +71,10 @@
this.checkBoxL2MainClear = new SmartX.SmartCheckBox();
this.checkBoxL2MenuHistoryLog = new SmartX.SmartCheckBox();
this.checkBoxL2MenuInspectionLog = new SmartX.SmartCheckBox();
this.checkBoxL2MenuEquipment = new SmartX.SmartCheckBox();
this.checkBoxL2MenuStatus = new SmartX.SmartCheckBox();
this.checkBoxL2MenuAlarmLog = new SmartX.SmartCheckBox();
this.checkBoxL2MenuInformation = new SmartX.SmartCheckBox();
this.groupBoxLevel1 = new SmartX.SmartGroupBox();
this.checkBoxL1MenuEthernet = new SmartX.SmartCheckBox();
this.textBoxLevel1 = new System.Windows.Forms.TextBox();
this.checkBoxL1MenuUserGroupEditor = new SmartX.SmartCheckBox();
this.checkBoxL1MainProductChange = new SmartX.SmartCheckBox();
@ -90,7 +85,7 @@
this.checkBoxL1MainClear = new SmartX.SmartCheckBox();
this.checkBoxL1MenuHistoryLog = new SmartX.SmartCheckBox();
this.checkBoxL1MenuInspectionLog = new SmartX.SmartCheckBox();
this.checkBoxL1MenuEquipment = new SmartX.SmartCheckBox();
this.checkBoxL1MenuStatus = new SmartX.SmartCheckBox();
this.checkBoxL1MenuAlarmLog = new SmartX.SmartCheckBox();
this.checkBoxL1MenuInformation = new SmartX.SmartCheckBox();
this.labelTitleMenuEquipment = new SmartX.SmartLabel();
@ -119,7 +114,6 @@
this.smartGroupBox1.BackGround = null;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Controls.Add(this.smartLabel1);
this.smartGroupBox1.Controls.Add(this.smartKeyboard);
this.smartGroupBox1.Controls.Add(this.buttonGroupNameChange);
this.smartGroupBox1.Controls.Add(this.labelTitleMenuUserGroupEditor);
@ -154,29 +148,6 @@
this.smartGroupBox1.Text = "User > Group Editor";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// smartLabel1
//
this.smartLabel1.BackGround = null;
this.smartLabel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartLabel1.LineSpacing = 0F;
this.smartLabel1.Location = new System.Drawing.Point(158, 544);
this.smartLabel1.Name = "smartLabel1";
this.smartLabel1.OverlapOptimize = true;
this.smartLabel1.PasswordChar = '\0';
this.smartLabel1.Radius = 3;
this.smartLabel1.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel1.Size = new System.Drawing.Size(132, 23);
this.smartLabel1.TabIndex = 223;
this.smartLabel1.Text = "Ethernet";
this.smartLabel1.TextColor = System.Drawing.Color.White;
this.smartLabel1.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel1.Wordwrap = false;
//
// smartKeyboard
//
this.smartKeyboard.BackGround = null;
@ -285,7 +256,6 @@
this.groupBoxDefault.BackGround = null;
this.groupBoxDefault.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.groupBoxDefault.BackImage = null;
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuEthernet);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuUserGroupEditor);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMainProductChange);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuUserSetting);
@ -295,7 +265,7 @@
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMainClear);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuEquipmentLog);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuCheckLog);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuEquipment);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuStatus);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuAlarmList);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuInformation);
this.groupBoxDefault.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
@ -312,29 +282,6 @@
this.groupBoxDefault.TextColor = System.Drawing.Color.White;
this.groupBoxDefault.Visible = false;
//
// checkBoxDefaultMenuEthernet
//
this.checkBoxDefaultMenuEthernet.BackGround = this.groupBoxDefault;
this.checkBoxDefaultMenuEthernet.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.checkBoxDefaultMenuEthernet.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxDefaultMenuEthernet.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxDefaultMenuEthernet.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxDefaultMenuEthernet.CheckBoxSymbolSize = 20;
this.checkBoxDefaultMenuEthernet.Checked = false;
this.checkBoxDefaultMenuEthernet.CheckLineWidth = 3;
this.checkBoxDefaultMenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxDefaultMenuEthernet.ImageCheckBox = null;
this.checkBoxDefaultMenuEthernet.ImageUnCheckBox = null;
this.checkBoxDefaultMenuEthernet.Location = new System.Drawing.Point(48, 446);
this.checkBoxDefaultMenuEthernet.Name = "checkBoxDefaultMenuEthernet";
this.checkBoxDefaultMenuEthernet.OverlapOptimize = true;
this.checkBoxDefaultMenuEthernet.Size = new System.Drawing.Size(23, 23);
this.checkBoxDefaultMenuEthernet.TabIndex = 121;
this.checkBoxDefaultMenuEthernet.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxDefaultMenuEthernet.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxDefaultMenuEthernet.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxDefaultMenuEthernet.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxDefaultMenuUserGroupEditor
//
this.checkBoxDefaultMenuUserGroupEditor.BackGround = this.groupBoxDefault;
@ -539,28 +486,28 @@
this.checkBoxDefaultMenuCheckLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxDefaultMenuCheckLog.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxDefaultMenuEquipment
// checkBoxDefaultMenuStatus
//
this.checkBoxDefaultMenuEquipment.BackGround = this.groupBoxDefault;
this.checkBoxDefaultMenuEquipment.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.checkBoxDefaultMenuEquipment.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxDefaultMenuEquipment.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxDefaultMenuEquipment.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxDefaultMenuEquipment.CheckBoxSymbolSize = 20;
this.checkBoxDefaultMenuEquipment.Checked = false;
this.checkBoxDefaultMenuEquipment.CheckLineWidth = 3;
this.checkBoxDefaultMenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxDefaultMenuEquipment.ImageCheckBox = null;
this.checkBoxDefaultMenuEquipment.ImageUnCheckBox = null;
this.checkBoxDefaultMenuEquipment.Location = new System.Drawing.Point(48, 417);
this.checkBoxDefaultMenuEquipment.Name = "checkBoxDefaultMenuEquipment";
this.checkBoxDefaultMenuEquipment.OverlapOptimize = true;
this.checkBoxDefaultMenuEquipment.Size = new System.Drawing.Size(23, 23);
this.checkBoxDefaultMenuEquipment.TabIndex = 113;
this.checkBoxDefaultMenuEquipment.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxDefaultMenuEquipment.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxDefaultMenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxDefaultMenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
this.checkBoxDefaultMenuStatus.BackGround = this.groupBoxDefault;
this.checkBoxDefaultMenuStatus.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.checkBoxDefaultMenuStatus.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxDefaultMenuStatus.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxDefaultMenuStatus.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxDefaultMenuStatus.CheckBoxSymbolSize = 20;
this.checkBoxDefaultMenuStatus.Checked = false;
this.checkBoxDefaultMenuStatus.CheckLineWidth = 3;
this.checkBoxDefaultMenuStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxDefaultMenuStatus.ImageCheckBox = null;
this.checkBoxDefaultMenuStatus.ImageUnCheckBox = null;
this.checkBoxDefaultMenuStatus.Location = new System.Drawing.Point(48, 417);
this.checkBoxDefaultMenuStatus.Name = "checkBoxDefaultMenuStatus";
this.checkBoxDefaultMenuStatus.OverlapOptimize = true;
this.checkBoxDefaultMenuStatus.Size = new System.Drawing.Size(23, 23);
this.checkBoxDefaultMenuStatus.TabIndex = 113;
this.checkBoxDefaultMenuStatus.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxDefaultMenuStatus.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxDefaultMenuStatus.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxDefaultMenuStatus.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxDefaultMenuAlarmList
//
@ -613,7 +560,6 @@
this.groupBoxLevel3.BackGround = null;
this.groupBoxLevel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.groupBoxLevel3.BackImage = null;
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuEthernet);
this.groupBoxLevel3.Controls.Add(this.textBoxLevel3);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuUserGroupEditor);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MainProductChange);
@ -624,7 +570,7 @@
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MainClear);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuHistoryLog);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuInspectionLog);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuEquipment);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuStatus);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuAlarmLog);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuInformation);
this.groupBoxLevel3.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
@ -635,35 +581,12 @@
this.groupBoxLevel3.Location = new System.Drawing.Point(566, 98);
this.groupBoxLevel3.Name = "groupBoxLevel3";
this.groupBoxLevel3.RoundRadius = 5;
this.groupBoxLevel3.Size = new System.Drawing.Size(120, 486);
this.groupBoxLevel3.Size = new System.Drawing.Size(120, 472);
this.groupBoxLevel3.TabIndex = 220;
this.groupBoxLevel3.Text = "Level 3";
this.groupBoxLevel3.TextColor = System.Drawing.Color.White;
this.groupBoxLevel3.DoubleClick += new System.EventHandler(this.groupBox_DoubleClick);
//
// checkBoxL3MenuEthernet
//
this.checkBoxL3MenuEthernet.BackGround = this.groupBoxLevel3;
this.checkBoxL3MenuEthernet.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL3MenuEthernet.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL3MenuEthernet.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL3MenuEthernet.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL3MenuEthernet.CheckBoxSymbolSize = 20;
this.checkBoxL3MenuEthernet.Checked = false;
this.checkBoxL3MenuEthernet.CheckLineWidth = 3;
this.checkBoxL3MenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuEthernet.ImageCheckBox = null;
this.checkBoxL3MenuEthernet.ImageUnCheckBox = null;
this.checkBoxL3MenuEthernet.Location = new System.Drawing.Point(48, 446);
this.checkBoxL3MenuEthernet.Name = "checkBoxL3MenuEthernet";
this.checkBoxL3MenuEthernet.OverlapOptimize = true;
this.checkBoxL3MenuEthernet.Size = new System.Drawing.Size(23, 23);
this.checkBoxL3MenuEthernet.TabIndex = 120;
this.checkBoxL3MenuEthernet.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL3MenuEthernet.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL3MenuEthernet.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL3MenuEthernet.Click += new System.EventHandler(this.checkBox_Click);
//
// textBoxLevel3
//
this.textBoxLevel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
@ -688,7 +611,7 @@
this.checkBoxL3MenuUserGroupEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuUserGroupEditor.ImageCheckBox = null;
this.checkBoxL3MenuUserGroupEditor.ImageUnCheckBox = null;
this.checkBoxL3MenuUserGroupEditor.Location = new System.Drawing.Point(48, 243);
this.checkBoxL3MenuUserGroupEditor.Location = new System.Drawing.Point(48, 247);
this.checkBoxL3MenuUserGroupEditor.Name = "checkBoxL3MenuUserGroupEditor";
this.checkBoxL3MenuUserGroupEditor.OverlapOptimize = true;
this.checkBoxL3MenuUserGroupEditor.Size = new System.Drawing.Size(23, 23);
@ -733,7 +656,7 @@
this.checkBoxL3MenuUserSetting.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuUserSetting.ImageCheckBox = null;
this.checkBoxL3MenuUserSetting.ImageUnCheckBox = null;
this.checkBoxL3MenuUserSetting.Location = new System.Drawing.Point(48, 214);
this.checkBoxL3MenuUserSetting.Location = new System.Drawing.Point(48, 218);
this.checkBoxL3MenuUserSetting.Name = "checkBoxL3MenuUserSetting";
this.checkBoxL3MenuUserSetting.OverlapOptimize = true;
this.checkBoxL3MenuUserSetting.Size = new System.Drawing.Size(23, 23);
@ -756,7 +679,7 @@
this.checkBoxL3MenuProduct.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuProduct.ImageCheckBox = null;
this.checkBoxL3MenuProduct.ImageUnCheckBox = null;
this.checkBoxL3MenuProduct.Location = new System.Drawing.Point(48, 185);
this.checkBoxL3MenuProduct.Location = new System.Drawing.Point(48, 189);
this.checkBoxL3MenuProduct.Name = "checkBoxL3MenuProduct";
this.checkBoxL3MenuProduct.OverlapOptimize = true;
this.checkBoxL3MenuProduct.Size = new System.Drawing.Size(23, 23);
@ -779,7 +702,7 @@
this.checkBoxL3MenuIOTest.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuIOTest.ImageCheckBox = null;
this.checkBoxL3MenuIOTest.ImageUnCheckBox = null;
this.checkBoxL3MenuIOTest.Location = new System.Drawing.Point(48, 272);
this.checkBoxL3MenuIOTest.Location = new System.Drawing.Point(48, 276);
this.checkBoxL3MenuIOTest.Name = "checkBoxL3MenuIOTest";
this.checkBoxL3MenuIOTest.OverlapOptimize = true;
this.checkBoxL3MenuIOTest.Size = new System.Drawing.Size(23, 23);
@ -847,7 +770,7 @@
this.checkBoxL3MenuHistoryLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuHistoryLog.ImageCheckBox = null;
this.checkBoxL3MenuHistoryLog.ImageUnCheckBox = null;
this.checkBoxL3MenuHistoryLog.Location = new System.Drawing.Point(48, 301);
this.checkBoxL3MenuHistoryLog.Location = new System.Drawing.Point(48, 305);
this.checkBoxL3MenuHistoryLog.Name = "checkBoxL3MenuHistoryLog";
this.checkBoxL3MenuHistoryLog.OverlapOptimize = true;
this.checkBoxL3MenuHistoryLog.Size = new System.Drawing.Size(23, 23);
@ -870,7 +793,7 @@
this.checkBoxL3MenuInspectionLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuInspectionLog.ImageCheckBox = null;
this.checkBoxL3MenuInspectionLog.ImageUnCheckBox = null;
this.checkBoxL3MenuInspectionLog.Location = new System.Drawing.Point(48, 330);
this.checkBoxL3MenuInspectionLog.Location = new System.Drawing.Point(48, 334);
this.checkBoxL3MenuInspectionLog.Name = "checkBoxL3MenuInspectionLog";
this.checkBoxL3MenuInspectionLog.OverlapOptimize = true;
this.checkBoxL3MenuInspectionLog.Size = new System.Drawing.Size(23, 23);
@ -880,28 +803,28 @@
this.checkBoxL3MenuInspectionLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL3MenuInspectionLog.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL3MenuEquipment
// checkBoxL3MenuStatus
//
this.checkBoxL3MenuEquipment.BackGround = this.groupBoxLevel3;
this.checkBoxL3MenuEquipment.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL3MenuEquipment.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL3MenuEquipment.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL3MenuEquipment.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL3MenuEquipment.CheckBoxSymbolSize = 20;
this.checkBoxL3MenuEquipment.Checked = false;
this.checkBoxL3MenuEquipment.CheckLineWidth = 3;
this.checkBoxL3MenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuEquipment.ImageCheckBox = null;
this.checkBoxL3MenuEquipment.ImageUnCheckBox = null;
this.checkBoxL3MenuEquipment.Location = new System.Drawing.Point(48, 417);
this.checkBoxL3MenuEquipment.Name = "checkBoxL3MenuEquipment";
this.checkBoxL3MenuEquipment.OverlapOptimize = true;
this.checkBoxL3MenuEquipment.Size = new System.Drawing.Size(23, 23);
this.checkBoxL3MenuEquipment.TabIndex = 113;
this.checkBoxL3MenuEquipment.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL3MenuEquipment.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL3MenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL3MenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
this.checkBoxL3MenuStatus.BackGround = this.groupBoxLevel3;
this.checkBoxL3MenuStatus.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL3MenuStatus.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL3MenuStatus.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL3MenuStatus.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL3MenuStatus.CheckBoxSymbolSize = 20;
this.checkBoxL3MenuStatus.Checked = false;
this.checkBoxL3MenuStatus.CheckLineWidth = 3;
this.checkBoxL3MenuStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuStatus.ImageCheckBox = null;
this.checkBoxL3MenuStatus.ImageUnCheckBox = null;
this.checkBoxL3MenuStatus.Location = new System.Drawing.Point(48, 421);
this.checkBoxL3MenuStatus.Name = "checkBoxL3MenuStatus";
this.checkBoxL3MenuStatus.OverlapOptimize = true;
this.checkBoxL3MenuStatus.Size = new System.Drawing.Size(23, 23);
this.checkBoxL3MenuStatus.TabIndex = 113;
this.checkBoxL3MenuStatus.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL3MenuStatus.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL3MenuStatus.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL3MenuStatus.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL3MenuAlarmLog
//
@ -916,7 +839,7 @@
this.checkBoxL3MenuAlarmLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuAlarmLog.ImageCheckBox = null;
this.checkBoxL3MenuAlarmLog.ImageUnCheckBox = null;
this.checkBoxL3MenuAlarmLog.Location = new System.Drawing.Point(48, 359);
this.checkBoxL3MenuAlarmLog.Location = new System.Drawing.Point(48, 363);
this.checkBoxL3MenuAlarmLog.Name = "checkBoxL3MenuAlarmLog";
this.checkBoxL3MenuAlarmLog.OverlapOptimize = true;
this.checkBoxL3MenuAlarmLog.Size = new System.Drawing.Size(23, 23);
@ -939,7 +862,7 @@
this.checkBoxL3MenuInformation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL3MenuInformation.ImageCheckBox = null;
this.checkBoxL3MenuInformation.ImageUnCheckBox = null;
this.checkBoxL3MenuInformation.Location = new System.Drawing.Point(48, 388);
this.checkBoxL3MenuInformation.Location = new System.Drawing.Point(48, 392);
this.checkBoxL3MenuInformation.Name = "checkBoxL3MenuInformation";
this.checkBoxL3MenuInformation.OverlapOptimize = true;
this.checkBoxL3MenuInformation.Size = new System.Drawing.Size(23, 23);
@ -954,7 +877,6 @@
this.groupBoxLevel2.BackGround = null;
this.groupBoxLevel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.groupBoxLevel2.BackImage = null;
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuEthernet);
this.groupBoxLevel2.Controls.Add(this.textBoxLevel2);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuUserGroupEditor);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MainProductChange);
@ -965,7 +887,7 @@
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MainClear);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuHistoryLog);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuInspectionLog);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuEquipment);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuStatus);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuAlarmLog);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuInformation);
this.groupBoxLevel2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
@ -976,35 +898,12 @@
this.groupBoxLevel2.Location = new System.Drawing.Point(440, 98);
this.groupBoxLevel2.Name = "groupBoxLevel2";
this.groupBoxLevel2.RoundRadius = 5;
this.groupBoxLevel2.Size = new System.Drawing.Size(120, 486);
this.groupBoxLevel2.Size = new System.Drawing.Size(120, 472);
this.groupBoxLevel2.TabIndex = 219;
this.groupBoxLevel2.Text = "Level 2";
this.groupBoxLevel2.TextColor = System.Drawing.Color.White;
this.groupBoxLevel2.DoubleClick += new System.EventHandler(this.groupBox_DoubleClick);
//
// checkBoxL2MenuEthernet
//
this.checkBoxL2MenuEthernet.BackGround = this.groupBoxLevel2;
this.checkBoxL2MenuEthernet.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL2MenuEthernet.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL2MenuEthernet.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL2MenuEthernet.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL2MenuEthernet.CheckBoxSymbolSize = 20;
this.checkBoxL2MenuEthernet.Checked = false;
this.checkBoxL2MenuEthernet.CheckLineWidth = 3;
this.checkBoxL2MenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuEthernet.ImageCheckBox = null;
this.checkBoxL2MenuEthernet.ImageUnCheckBox = null;
this.checkBoxL2MenuEthernet.Location = new System.Drawing.Point(51, 446);
this.checkBoxL2MenuEthernet.Name = "checkBoxL2MenuEthernet";
this.checkBoxL2MenuEthernet.OverlapOptimize = true;
this.checkBoxL2MenuEthernet.Size = new System.Drawing.Size(23, 23);
this.checkBoxL2MenuEthernet.TabIndex = 119;
this.checkBoxL2MenuEthernet.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL2MenuEthernet.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL2MenuEthernet.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL2MenuEthernet.Click += new System.EventHandler(this.checkBox_Click);
//
// textBoxLevel2
//
this.textBoxLevel2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
@ -1029,7 +928,7 @@
this.checkBoxL2MenuUserGroupEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuUserGroupEditor.ImageCheckBox = null;
this.checkBoxL2MenuUserGroupEditor.ImageUnCheckBox = null;
this.checkBoxL2MenuUserGroupEditor.Location = new System.Drawing.Point(51, 243);
this.checkBoxL2MenuUserGroupEditor.Location = new System.Drawing.Point(51, 247);
this.checkBoxL2MenuUserGroupEditor.Name = "checkBoxL2MenuUserGroupEditor";
this.checkBoxL2MenuUserGroupEditor.OverlapOptimize = true;
this.checkBoxL2MenuUserGroupEditor.Size = new System.Drawing.Size(23, 23);
@ -1074,7 +973,7 @@
this.checkBoxL2MenuUserSetting.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuUserSetting.ImageCheckBox = null;
this.checkBoxL2MenuUserSetting.ImageUnCheckBox = null;
this.checkBoxL2MenuUserSetting.Location = new System.Drawing.Point(51, 214);
this.checkBoxL2MenuUserSetting.Location = new System.Drawing.Point(51, 218);
this.checkBoxL2MenuUserSetting.Name = "checkBoxL2MenuUserSetting";
this.checkBoxL2MenuUserSetting.OverlapOptimize = true;
this.checkBoxL2MenuUserSetting.Size = new System.Drawing.Size(23, 23);
@ -1097,7 +996,7 @@
this.checkBoxL2MenuProduct.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuProduct.ImageCheckBox = null;
this.checkBoxL2MenuProduct.ImageUnCheckBox = null;
this.checkBoxL2MenuProduct.Location = new System.Drawing.Point(51, 185);
this.checkBoxL2MenuProduct.Location = new System.Drawing.Point(51, 189);
this.checkBoxL2MenuProduct.Name = "checkBoxL2MenuProduct";
this.checkBoxL2MenuProduct.OverlapOptimize = true;
this.checkBoxL2MenuProduct.Size = new System.Drawing.Size(23, 23);
@ -1120,7 +1019,7 @@
this.checkBoxL2MenuIOTest.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuIOTest.ImageCheckBox = null;
this.checkBoxL2MenuIOTest.ImageUnCheckBox = null;
this.checkBoxL2MenuIOTest.Location = new System.Drawing.Point(51, 272);
this.checkBoxL2MenuIOTest.Location = new System.Drawing.Point(51, 276);
this.checkBoxL2MenuIOTest.Name = "checkBoxL2MenuIOTest";
this.checkBoxL2MenuIOTest.OverlapOptimize = true;
this.checkBoxL2MenuIOTest.Size = new System.Drawing.Size(23, 23);
@ -1188,7 +1087,7 @@
this.checkBoxL2MenuHistoryLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuHistoryLog.ImageCheckBox = null;
this.checkBoxL2MenuHistoryLog.ImageUnCheckBox = null;
this.checkBoxL2MenuHistoryLog.Location = new System.Drawing.Point(51, 301);
this.checkBoxL2MenuHistoryLog.Location = new System.Drawing.Point(51, 305);
this.checkBoxL2MenuHistoryLog.Name = "checkBoxL2MenuHistoryLog";
this.checkBoxL2MenuHistoryLog.OverlapOptimize = true;
this.checkBoxL2MenuHistoryLog.Size = new System.Drawing.Size(23, 23);
@ -1211,7 +1110,7 @@
this.checkBoxL2MenuInspectionLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuInspectionLog.ImageCheckBox = null;
this.checkBoxL2MenuInspectionLog.ImageUnCheckBox = null;
this.checkBoxL2MenuInspectionLog.Location = new System.Drawing.Point(51, 330);
this.checkBoxL2MenuInspectionLog.Location = new System.Drawing.Point(51, 334);
this.checkBoxL2MenuInspectionLog.Name = "checkBoxL2MenuInspectionLog";
this.checkBoxL2MenuInspectionLog.OverlapOptimize = true;
this.checkBoxL2MenuInspectionLog.Size = new System.Drawing.Size(23, 23);
@ -1221,28 +1120,28 @@
this.checkBoxL2MenuInspectionLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL2MenuInspectionLog.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL2MenuEquipment
// checkBoxL2MenuStatus
//
this.checkBoxL2MenuEquipment.BackGround = this.groupBoxLevel2;
this.checkBoxL2MenuEquipment.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL2MenuEquipment.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL2MenuEquipment.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL2MenuEquipment.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL2MenuEquipment.CheckBoxSymbolSize = 20;
this.checkBoxL2MenuEquipment.Checked = false;
this.checkBoxL2MenuEquipment.CheckLineWidth = 3;
this.checkBoxL2MenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuEquipment.ImageCheckBox = null;
this.checkBoxL2MenuEquipment.ImageUnCheckBox = null;
this.checkBoxL2MenuEquipment.Location = new System.Drawing.Point(51, 417);
this.checkBoxL2MenuEquipment.Name = "checkBoxL2MenuEquipment";
this.checkBoxL2MenuEquipment.OverlapOptimize = true;
this.checkBoxL2MenuEquipment.Size = new System.Drawing.Size(23, 23);
this.checkBoxL2MenuEquipment.TabIndex = 113;
this.checkBoxL2MenuEquipment.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL2MenuEquipment.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL2MenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL2MenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
this.checkBoxL2MenuStatus.BackGround = this.groupBoxLevel2;
this.checkBoxL2MenuStatus.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL2MenuStatus.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL2MenuStatus.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL2MenuStatus.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL2MenuStatus.CheckBoxSymbolSize = 20;
this.checkBoxL2MenuStatus.Checked = false;
this.checkBoxL2MenuStatus.CheckLineWidth = 3;
this.checkBoxL2MenuStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuStatus.ImageCheckBox = null;
this.checkBoxL2MenuStatus.ImageUnCheckBox = null;
this.checkBoxL2MenuStatus.Location = new System.Drawing.Point(51, 421);
this.checkBoxL2MenuStatus.Name = "checkBoxL2MenuStatus";
this.checkBoxL2MenuStatus.OverlapOptimize = true;
this.checkBoxL2MenuStatus.Size = new System.Drawing.Size(23, 23);
this.checkBoxL2MenuStatus.TabIndex = 113;
this.checkBoxL2MenuStatus.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL2MenuStatus.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL2MenuStatus.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL2MenuStatus.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL2MenuAlarmLog
//
@ -1257,7 +1156,7 @@
this.checkBoxL2MenuAlarmLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuAlarmLog.ImageCheckBox = null;
this.checkBoxL2MenuAlarmLog.ImageUnCheckBox = null;
this.checkBoxL2MenuAlarmLog.Location = new System.Drawing.Point(51, 359);
this.checkBoxL2MenuAlarmLog.Location = new System.Drawing.Point(51, 363);
this.checkBoxL2MenuAlarmLog.Name = "checkBoxL2MenuAlarmLog";
this.checkBoxL2MenuAlarmLog.OverlapOptimize = true;
this.checkBoxL2MenuAlarmLog.Size = new System.Drawing.Size(23, 23);
@ -1280,7 +1179,7 @@
this.checkBoxL2MenuInformation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL2MenuInformation.ImageCheckBox = null;
this.checkBoxL2MenuInformation.ImageUnCheckBox = null;
this.checkBoxL2MenuInformation.Location = new System.Drawing.Point(51, 388);
this.checkBoxL2MenuInformation.Location = new System.Drawing.Point(51, 392);
this.checkBoxL2MenuInformation.Name = "checkBoxL2MenuInformation";
this.checkBoxL2MenuInformation.OverlapOptimize = true;
this.checkBoxL2MenuInformation.Size = new System.Drawing.Size(23, 23);
@ -1295,7 +1194,6 @@
this.groupBoxLevel1.BackGround = null;
this.groupBoxLevel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.groupBoxLevel1.BackImage = null;
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuEthernet);
this.groupBoxLevel1.Controls.Add(this.textBoxLevel1);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuUserGroupEditor);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MainProductChange);
@ -1306,7 +1204,7 @@
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MainClear);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuHistoryLog);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuInspectionLog);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuEquipment);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuStatus);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuAlarmLog);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuInformation);
this.groupBoxLevel1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
@ -1317,35 +1215,12 @@
this.groupBoxLevel1.Location = new System.Drawing.Point(314, 98);
this.groupBoxLevel1.Name = "groupBoxLevel1";
this.groupBoxLevel1.RoundRadius = 5;
this.groupBoxLevel1.Size = new System.Drawing.Size(120, 486);
this.groupBoxLevel1.Size = new System.Drawing.Size(120, 472);
this.groupBoxLevel1.TabIndex = 218;
this.groupBoxLevel1.Text = "Level 1";
this.groupBoxLevel1.TextColor = System.Drawing.Color.White;
this.groupBoxLevel1.DoubleClick += new System.EventHandler(this.groupBox_DoubleClick);
//
// checkBoxL1MenuEthernet
//
this.checkBoxL1MenuEthernet.BackGround = this.groupBoxLevel1;
this.checkBoxL1MenuEthernet.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL1MenuEthernet.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL1MenuEthernet.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL1MenuEthernet.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL1MenuEthernet.CheckBoxSymbolSize = 20;
this.checkBoxL1MenuEthernet.Checked = false;
this.checkBoxL1MenuEthernet.CheckLineWidth = 3;
this.checkBoxL1MenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL1MenuEthernet.ImageCheckBox = null;
this.checkBoxL1MenuEthernet.ImageUnCheckBox = null;
this.checkBoxL1MenuEthernet.Location = new System.Drawing.Point(50, 446);
this.checkBoxL1MenuEthernet.Name = "checkBoxL1MenuEthernet";
this.checkBoxL1MenuEthernet.OverlapOptimize = true;
this.checkBoxL1MenuEthernet.Size = new System.Drawing.Size(23, 23);
this.checkBoxL1MenuEthernet.TabIndex = 118;
this.checkBoxL1MenuEthernet.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL1MenuEthernet.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL1MenuEthernet.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL1MenuEthernet.Click += new System.EventHandler(this.checkBox_Click);
//
// textBoxLevel1
//
this.textBoxLevel1.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
@ -1562,28 +1437,28 @@
this.checkBoxL1MenuInspectionLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL1MenuInspectionLog.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL1MenuEquipment
// checkBoxL1MenuStatus
//
this.checkBoxL1MenuEquipment.BackGround = this.groupBoxLevel1;
this.checkBoxL1MenuEquipment.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL1MenuEquipment.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL1MenuEquipment.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL1MenuEquipment.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL1MenuEquipment.CheckBoxSymbolSize = 20;
this.checkBoxL1MenuEquipment.Checked = false;
this.checkBoxL1MenuEquipment.CheckLineWidth = 3;
this.checkBoxL1MenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL1MenuEquipment.ImageCheckBox = null;
this.checkBoxL1MenuEquipment.ImageUnCheckBox = null;
this.checkBoxL1MenuEquipment.Location = new System.Drawing.Point(50, 417);
this.checkBoxL1MenuEquipment.Name = "checkBoxL1MenuEquipment";
this.checkBoxL1MenuEquipment.OverlapOptimize = true;
this.checkBoxL1MenuEquipment.Size = new System.Drawing.Size(23, 23);
this.checkBoxL1MenuEquipment.TabIndex = 113;
this.checkBoxL1MenuEquipment.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL1MenuEquipment.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL1MenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL1MenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
this.checkBoxL1MenuStatus.BackGround = this.groupBoxLevel1;
this.checkBoxL1MenuStatus.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.checkBoxL1MenuStatus.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL1MenuStatus.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxL1MenuStatus.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxL1MenuStatus.CheckBoxSymbolSize = 20;
this.checkBoxL1MenuStatus.Checked = false;
this.checkBoxL1MenuStatus.CheckLineWidth = 3;
this.checkBoxL1MenuStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxL1MenuStatus.ImageCheckBox = null;
this.checkBoxL1MenuStatus.ImageUnCheckBox = null;
this.checkBoxL1MenuStatus.Location = new System.Drawing.Point(50, 417);
this.checkBoxL1MenuStatus.Name = "checkBoxL1MenuStatus";
this.checkBoxL1MenuStatus.OverlapOptimize = true;
this.checkBoxL1MenuStatus.Size = new System.Drawing.Size(23, 23);
this.checkBoxL1MenuStatus.TabIndex = 113;
this.checkBoxL1MenuStatus.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.checkBoxL1MenuStatus.TextColorDisable = System.Drawing.Color.Gray;
this.checkBoxL1MenuStatus.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL1MenuStatus.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL1MenuAlarmLog
//
@ -1785,7 +1660,7 @@
this.labelTitleMenuUserSetting.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleMenuUserSetting.Size = new System.Drawing.Size(132, 23);
this.labelTitleMenuUserSetting.TabIndex = 129;
this.labelTitleMenuUserSetting.Text = "User editing";
this.labelTitleMenuUserSetting.Text = "User setting";
this.labelTitleMenuUserSetting.TextColor = System.Drawing.Color.White;
this.labelTitleMenuUserSetting.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleMenuUserSetting.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -1988,7 +1863,7 @@
private SmartX.SmartButton buttonSave;
private SmartX.SmartCheckBox checkBoxL1MenuInformation;
private SmartX.SmartCheckBox checkBoxL1MenuAlarmLog;
private SmartX.SmartCheckBox checkBoxL1MenuEquipment;
private SmartX.SmartCheckBox checkBoxL1MenuStatus;
private SmartX.SmartCheckBox checkBoxL1MenuInspectionLog;
private SmartX.SmartCheckBox checkBoxL1MenuHistoryLog;
private SmartX.SmartCheckBox checkBoxL1MenuIOTest;
@ -2019,7 +1894,7 @@
private SmartX.SmartCheckBox checkBoxDefaultMainClear;
private SmartX.SmartCheckBox checkBoxDefaultMenuEquipmentLog;
private SmartX.SmartCheckBox checkBoxDefaultMenuCheckLog;
private SmartX.SmartCheckBox checkBoxDefaultMenuEquipment;
private SmartX.SmartCheckBox checkBoxDefaultMenuStatus;
private SmartX.SmartCheckBox checkBoxDefaultMenuAlarmList;
private SmartX.SmartCheckBox checkBoxDefaultMenuInformation;
private SmartX.SmartGroupBox groupBoxLevel3;
@ -2031,7 +1906,7 @@
private SmartX.SmartCheckBox checkBoxL3MainClear;
private SmartX.SmartCheckBox checkBoxL3MenuHistoryLog;
private SmartX.SmartCheckBox checkBoxL3MenuInspectionLog;
private SmartX.SmartCheckBox checkBoxL3MenuEquipment;
private SmartX.SmartCheckBox checkBoxL3MenuStatus;
private SmartX.SmartCheckBox checkBoxL3MenuAlarmLog;
private SmartX.SmartCheckBox checkBoxL3MenuInformation;
private SmartX.SmartGroupBox groupBoxLevel2;
@ -2043,7 +1918,7 @@
private SmartX.SmartCheckBox checkBoxL2MainClear;
private SmartX.SmartCheckBox checkBoxL2MenuHistoryLog;
private SmartX.SmartCheckBox checkBoxL2MenuInspectionLog;
private SmartX.SmartCheckBox checkBoxL2MenuEquipment;
private SmartX.SmartCheckBox checkBoxL2MenuStatus;
private SmartX.SmartCheckBox checkBoxL2MenuAlarmLog;
private SmartX.SmartCheckBox checkBoxL2MenuInformation;
private SmartX.SmartGroupBox groupBoxLevel1;
@ -2057,10 +1932,5 @@
private System.Windows.Forms.TextBox textBoxLevel3;
private System.Windows.Forms.TextBox textBoxLevel2;
private SmartX.SmartKeyboard smartKeyboard;
private SmartX.SmartLabel smartLabel1;
private SmartX.SmartCheckBox checkBoxL3MenuEthernet;
private SmartX.SmartCheckBox checkBoxL2MenuEthernet;
private SmartX.SmartCheckBox checkBoxL1MenuEthernet;
private SmartX.SmartCheckBox checkBoxDefaultMenuEthernet;
}
}

View File

@ -84,8 +84,7 @@ namespace INT_PT002.Controls
this.checkBoxL1MenuInspectionLog.Checked = group.Level1.IsMenuInspectionLog;
this.checkBoxL1MenuAlarmLog.Checked = group.Level1.IsMenuAlarmLog;
this.checkBoxL1MenuInformation.Checked = group.Level1.IsMenuInformation;
this.checkBoxL1MenuEquipment.Checked = group.Level1.IsMenuEquipment;
this.checkBoxL1MenuEthernet.Checked = group.Level1.IsMenuEthernet;
this.checkBoxL1MenuStatus.Checked = group.Level1.IsMenuStatus;
#endregion
#region Level2
@ -101,8 +100,7 @@ namespace INT_PT002.Controls
this.checkBoxL2MenuInspectionLog.Checked = group.Level2.IsMenuInspectionLog;
this.checkBoxL2MenuAlarmLog.Checked = group.Level2.IsMenuAlarmLog;
this.checkBoxL2MenuInformation.Checked = group.Level2.IsMenuInformation;
this.checkBoxL2MenuEquipment.Checked = group.Level2.IsMenuEquipment;
this.checkBoxL2MenuEthernet.Checked = group.Level2.IsMenuEthernet;
this.checkBoxL2MenuStatus.Checked = group.Level2.IsMenuStatus;
#endregion
#region Level3
@ -118,8 +116,7 @@ namespace INT_PT002.Controls
this.checkBoxL3MenuInspectionLog.Checked = group.Level3.IsMenuInspectionLog;
this.checkBoxL3MenuAlarmLog.Checked = group.Level3.IsMenuAlarmLog;
this.checkBoxL3MenuInformation.Checked = group.Level3.IsMenuInformation;
this.checkBoxL3MenuEquipment.Checked = group.Level3.IsMenuEquipment;
this.checkBoxL3MenuEthernet.Checked = group.Level3.IsMenuEthernet;
this.checkBoxL3MenuStatus.Checked = group.Level3.IsMenuStatus;
#endregion
#region Default
@ -135,8 +132,7 @@ namespace INT_PT002.Controls
this.checkBoxDefaultMenuCheckLog.Checked = group.Admin.IsMenuInspectionLog;
this.checkBoxDefaultMenuAlarmList.Checked = group.Admin.IsMenuAlarmLog;
this.checkBoxDefaultMenuInformation.Checked = group.Admin.IsMenuInformation;
this.checkBoxDefaultMenuEquipment.Checked = group.Admin.IsMenuEquipment;
this.checkBoxDefaultMenuEthernet.Checked = group.Admin.IsMenuEthernet;
this.checkBoxDefaultMenuStatus.Checked = group.Admin.IsMenuStatus;
#endregion
}
@ -310,8 +306,7 @@ namespace INT_PT002.Controls
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.IsMenuEquipment = this.checkBoxL1MenuEquipment.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuEthernet = this.checkBoxL1MenuEthernet.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuStatus = this.checkBoxL1MenuStatus.Checked;
#endregion
#region Level2
@ -327,8 +322,7 @@ namespace INT_PT002.Controls
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.IsMenuEquipment = this.checkBoxL2MenuEquipment.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuEthernet = this.checkBoxL2MenuEthernet.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuStatus = this.checkBoxL2MenuStatus.Checked;
#endregion
#region Level3
@ -344,39 +338,23 @@ namespace INT_PT002.Controls
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.IsMenuEquipment = this.checkBoxL3MenuEquipment.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuEthernet = this.checkBoxL3MenuEthernet.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuStatus = this.checkBoxL3MenuStatus.Checked;
#endregion
#region Admin
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplayProductChange = this.checkBoxDefaultMainProductChange.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplayClear = this.checkBoxDefaultMainClear.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplaySubMenu = this.checkBoxDefaultMainSubMenu.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplayProductChange = this.checkBoxDefaultMainProductChange.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplayClear = this.checkBoxDefaultMainClear.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplaySubMenu = this.checkBoxDefaultMainSubMenu.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuRecipe = this.checkBoxDefaultMenuProduct.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuUserSetting = this.checkBoxDefaultMenuUserSetting.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuUserGroupEditor = this.checkBoxDefaultMenuUserGroupEditor.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuIOTest = this.checkBoxDefaultMenuIOTest.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuHistoryLog = this.checkBoxDefaultMenuEquipmentLog.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuInspectionLog = this.checkBoxDefaultMenuCheckLog.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuAlarmLog = this.checkBoxDefaultMenuAlarmList.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuInformation = this.checkBoxDefaultMenuInformation.Checked;
//this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuStatus = this.checkBoxDefaultMenuStatus.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplayProductChange = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplayClear = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMainDisplaySubMenu = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuRecipe = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuUserSetting = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuUserGroupEditor = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuIOTest = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuHistoryLog = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuInspectionLog = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuAlarmLog = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuInformation = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuEquipment = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuEthernet = true;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuRecipe = this.checkBoxDefaultMenuProduct.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuUserSetting = this.checkBoxDefaultMenuUserSetting.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuUserGroupEditor = this.checkBoxDefaultMenuUserGroupEditor.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuIOTest = this.checkBoxDefaultMenuIOTest.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuHistoryLog = this.checkBoxDefaultMenuEquipmentLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuInspectionLog = this.checkBoxDefaultMenuCheckLog.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuAlarmLog = this.checkBoxDefaultMenuAlarmList.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuInformation = this.checkBoxDefaultMenuInformation.Checked;
this.ParentForm.ParentForm.CurrentUserGroup.Admin.IsMenuStatus = this.checkBoxDefaultMenuStatus.Checked;
#endregion
this.ParentForm.ParentForm.SaveUserGroupFile(this.ParentForm.ParentForm.CurrentUserGroup);

View File

@ -1,336 +0,0 @@
namespace INT_PT002.Controls
{
partial class ControlMenuUserMyPage
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 구성 요소 디자이너에서 생성한 코드
/// <summary>
/// 디자이너 지원에 필요한 메서드입니다.
/// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlMenuUserMyPage));
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.textBoxVerifyPassword = new System.Windows.Forms.TextBox();
this.smartLabel4 = new SmartX.SmartLabel();
this.textBoxNewPassword = new System.Windows.Forms.TextBox();
this.labelIDBackGround = new SmartX.SmartLabel();
this.smartLabel3 = new SmartX.SmartLabel();
this.smartLabel2 = new SmartX.SmartLabel();
this.labelID = new SmartX.SmartLabel();
this.labelTitleID = new SmartX.SmartLabel();
this.buttonSave = new SmartX.SmartButton();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
//
// smartGroupBox1
//
this.smartGroupBox1.BackGround = null;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Controls.Add(this.smartKeyboard);
this.smartGroupBox1.Controls.Add(this.textBoxVerifyPassword);
this.smartGroupBox1.Controls.Add(this.smartLabel4);
this.smartGroupBox1.Controls.Add(this.textBoxNewPassword);
this.smartGroupBox1.Controls.Add(this.labelIDBackGround);
this.smartGroupBox1.Controls.Add(this.smartLabel3);
this.smartGroupBox1.Controls.Add(this.smartLabel2);
this.smartGroupBox1.Controls.Add(this.labelID);
this.smartGroupBox1.Controls.Add(this.labelTitleID);
this.smartGroupBox1.Controls.Add(this.buttonSave);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineThickness = 2;
this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
this.smartGroupBox1.HeaderHeightOffset = 9;
this.smartGroupBox1.Location = new System.Drawing.Point(0, 0);
this.smartGroupBox1.Name = "smartGroupBox1";
this.smartGroupBox1.RoundRadius = 5;
this.smartGroupBox1.Size = new System.Drawing.Size(909, 664);
this.smartGroupBox1.TabIndex = 4;
this.smartGroupBox1.Text = "User > User Editor";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// smartKeyboard
//
this.smartKeyboard.BackGround = null;
this.smartKeyboard.BackGroundColor = System.Drawing.Color.LightBlue;
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;
this.smartKeyboard.HanYoungKeyDisable = true;
this.smartKeyboard.KeyBoardBackImage = null;
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.KeyFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(93)))), ((int)(((byte)(123)))));
this.smartKeyboard.KeyOutLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.smartKeyboard.KeyOutLineWidth = 1;
this.smartKeyboard.KeyPressFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(46)))), ((int)(((byte)(60)))));
this.smartKeyboard.KeyPressImage1 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyPressImage1")));
this.smartKeyboard.KeyPressImage2 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyPressImage2")));
this.smartKeyboard.KeyPressImage3 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyPressImage3")));
this.smartKeyboard.KeyPressOutLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(213)))));
this.smartKeyboard.KeyPressTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
this.smartKeyboard.KeyTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.smartKeyboard.KeyTextFont = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.smartKeyboard.KeyUpImage1 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage1")));
this.smartKeyboard.KeyUpImage2 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage2")));
this.smartKeyboard.KeyUpImage3 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage3")));
this.smartKeyboard.Location = new System.Drawing.Point(100, 263);
this.smartKeyboard.MarginLeftRight = 7;
this.smartKeyboard.MarginTopBottom = 7;
this.smartKeyboard.Name = "smartKeyboard";
this.smartKeyboard.OverlapOptimize = true;
this.smartKeyboard.Radius = 5;
this.smartKeyboard.RoundedCorners = false;
this.smartKeyboard.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(21)))), ((int)(((byte)(50)))));
this.smartKeyboard.Size = new System.Drawing.Size(715, 282);
this.smartKeyboard.SizeRunTime = new System.Drawing.Size(715, 282);
this.smartKeyboard.TabIndex = 120;
this.smartKeyboard.TABKeyDisable = true;
this.smartKeyboard.TargetInputObject = null;
this.smartKeyboard.Text = "smartKeyboard1";
this.smartKeyboard.TextColor = System.Drawing.Color.Black;
this.smartKeyboard.TextColorDisable = System.Drawing.Color.Gray;
this.smartKeyboard.ThemeStyle = SmartX.SmartKeyboard.KEYBOARDTHEMESTYLE.STANDARD4;
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
//
// textBoxVerifyPassword
//
this.textBoxVerifyPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBoxVerifyPassword.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Regular);
this.textBoxVerifyPassword.Location = new System.Drawing.Point(268, 221);
this.textBoxVerifyPassword.Name = "textBoxVerifyPassword";
this.textBoxVerifyPassword.PasswordChar = '*';
this.textBoxVerifyPassword.Size = new System.Drawing.Size(436, 29);
this.textBoxVerifyPassword.TabIndex = 108;
this.textBoxVerifyPassword.Text = "AAAAAAAAAAAAAAAAAAAA";
this.textBoxVerifyPassword.GotFocus += new System.EventHandler(this.textBoxVerifyPassword_GotFocus);
//
// smartLabel4
//
this.smartLabel4.BackGround = null;
this.smartLabel4.BackGroundColor = System.Drawing.Color.White;
this.smartLabel4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel4.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.smartLabel4.LineSpacing = 0F;
this.smartLabel4.Location = new System.Drawing.Point(267, 216);
this.smartLabel4.Name = "smartLabel4";
this.smartLabel4.OverlapOptimize = true;
this.smartLabel4.PasswordChar = '\0';
this.smartLabel4.Radius = 3;
this.smartLabel4.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel4.Size = new System.Drawing.Size(439, 34);
this.smartLabel4.TabIndex = 109;
this.smartLabel4.TextColor = System.Drawing.Color.Black;
this.smartLabel4.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel4.Wordwrap = false;
//
// textBoxNewPassword
//
this.textBoxNewPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBoxNewPassword.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Regular);
this.textBoxNewPassword.Location = new System.Drawing.Point(268, 179);
this.textBoxNewPassword.Name = "textBoxNewPassword";
this.textBoxNewPassword.PasswordChar = '*';
this.textBoxNewPassword.Size = new System.Drawing.Size(436, 29);
this.textBoxNewPassword.TabIndex = 106;
this.textBoxNewPassword.Text = "AAAAAAAAAAAAAAAAAAAA";
this.textBoxNewPassword.GotFocus += new System.EventHandler(this.textBoxNewPassword_GotFocus);
//
// labelIDBackGround
//
this.labelIDBackGround.BackGround = null;
this.labelIDBackGround.BackGroundColor = System.Drawing.Color.White;
this.labelIDBackGround.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelIDBackGround.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelIDBackGround.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelIDBackGround.LineSpacing = 0F;
this.labelIDBackGround.Location = new System.Drawing.Point(267, 174);
this.labelIDBackGround.Name = "labelIDBackGround";
this.labelIDBackGround.OverlapOptimize = true;
this.labelIDBackGround.PasswordChar = '\0';
this.labelIDBackGround.Radius = 3;
this.labelIDBackGround.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelIDBackGround.Size = new System.Drawing.Size(439, 34);
this.labelIDBackGround.TabIndex = 107;
this.labelIDBackGround.TextColor = System.Drawing.Color.Black;
this.labelIDBackGround.TextColorDisable = System.Drawing.Color.Gray;
this.labelIDBackGround.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelIDBackGround.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelIDBackGround.Wordwrap = false;
//
// smartLabel3
//
this.smartLabel3.BackGround = null;
this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(102, 216);
this.smartLabel3.Name = "smartLabel3";
this.smartLabel3.OverlapOptimize = true;
this.smartLabel3.PasswordChar = '\0';
this.smartLabel3.Radius = 3;
this.smartLabel3.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel3.Size = new System.Drawing.Size(155, 34);
this.smartLabel3.TabIndex = 85;
this.smartLabel3.Text = "Verify Password";
this.smartLabel3.TextColor = System.Drawing.Color.White;
this.smartLabel3.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel3.Wordwrap = false;
//
// smartLabel2
//
this.smartLabel2.BackGround = null;
this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartLabel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(102, 173);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.OverlapOptimize = true;
this.smartLabel2.PasswordChar = '\0';
this.smartLabel2.Radius = 3;
this.smartLabel2.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel2.Size = new System.Drawing.Size(155, 34);
this.smartLabel2.TabIndex = 84;
this.smartLabel2.Text = "New Password";
this.smartLabel2.TextColor = System.Drawing.Color.White;
this.smartLabel2.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel2.Wordwrap = false;
//
// labelID
//
this.labelID.BackGround = null;
this.labelID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelID.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Regular);
this.labelID.LineSpacing = 0F;
this.labelID.Location = new System.Drawing.Point(266, 131);
this.labelID.Name = "labelID";
this.labelID.OverlapOptimize = true;
this.labelID.PasswordChar = '\0';
this.labelID.Radius = 3;
this.labelID.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelID.Size = new System.Drawing.Size(340, 34);
this.labelID.TabIndex = 83;
this.labelID.Text = "ID";
this.labelID.TextColor = System.Drawing.Color.White;
this.labelID.TextColorDisable = System.Drawing.Color.Gray;
this.labelID.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelID.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelID.Wordwrap = false;
//
// labelTitleID
//
this.labelTitleID.BackGround = null;
this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(102, 130);
this.labelTitleID.Name = "labelTitleID";
this.labelTitleID.OverlapOptimize = true;
this.labelTitleID.PasswordChar = '\0';
this.labelTitleID.Radius = 3;
this.labelTitleID.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleID.Size = new System.Drawing.Size(155, 34);
this.labelTitleID.TabIndex = 82;
this.labelTitleID.Text = "ID";
this.labelTitleID.TextColor = System.Drawing.Color.White;
this.labelTitleID.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleID.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleID.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleID.Wordwrap = false;
//
// buttonSave
//
this.buttonSave.BackGround = null;
this.buttonSave.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.buttonSave.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonSave.ButtonDownColor = System.Drawing.Color.SlateGray;
this.buttonSave.ButtonImageAutoSize = true;
this.buttonSave.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSave.ButtonText = "Change";
this.buttonSave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSave.GroupID = 0;
this.buttonSave.ImageDisable = null;
this.buttonSave.ImageDown = null;
this.buttonSave.ImageUp = null;
this.buttonSave.Location = new System.Drawing.Point(715, 174);
this.buttonSave.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonSave.Name = "buttonSave";
this.buttonSave.NestedClickEventPrevent = false;
this.buttonSave.OutlinePixel = 2;
this.buttonSave.OverlapOptimize = true;
this.buttonSave.RepeatInterval = 200;
this.buttonSave.RepeatIntervalAccelerate = null;
this.buttonSave.RoundSize = 20;
this.buttonSave.SafeInterval = 200;
this.buttonSave.Size = new System.Drawing.Size(100, 77);
this.buttonSave.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonSave.TabIndex = 79;
this.buttonSave.Text = null;
this.buttonSave.TextColor = System.Drawing.Color.White;
this.buttonSave.TextColorDisable = System.Drawing.Color.Gray;
this.buttonSave.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonSave.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonSave.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonSave.Click += new System.EventHandler(this.buttonChangePassword_Click);
//
// ControlMenuUserMyPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.smartGroupBox1);
this.Name = "ControlMenuUserMyPage";
this.Size = new System.Drawing.Size(909, 664);
this.smartGroupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartGroupBox smartGroupBox1;
private SmartX.SmartButton buttonSave;
private SmartX.SmartLabel labelTitleID;
private SmartX.SmartLabel labelID;
private SmartX.SmartLabel smartLabel3;
private SmartX.SmartLabel smartLabel2;
private System.Windows.Forms.TextBox textBoxVerifyPassword;
private SmartX.SmartLabel smartLabel4;
private System.Windows.Forms.TextBox textBoxNewPassword;
private SmartX.SmartLabel labelIDBackGround;
private SmartX.SmartKeyboard smartKeyboard;
}
}

View File

@ -1,165 +0,0 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using INT_PT002.Forms;
using INT_PT002.Part11_UserManager;
using INT_PT002.DataStore;
using INT_PT002.DialogForms;
namespace INT_PT002.Controls
{
public partial class ControlMenuUserMyPage : UserControl
{
#region Field
private FormMenu m_ParentForm;
private int m_FirstLineNumber;
#endregion
#region Constructor
public ControlMenuUserMyPage(FormMenu parent)
{
InitializeComponent();
this.ParentForm = parent;
this.Initialize();
this.DefaultSetting();
}
#endregion
#region Property
public FormMenu ParentForm
{
get { return this.m_ParentForm; }
private set { this.m_ParentForm = value; }
}
public int FirstLineNumber
{
get { return this.m_FirstLineNumber; }
set { this.m_FirstLineNumber = value; }
}
#endregion
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "User > UserEditor";
}
public void DefaultSetting()
{
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.Show();
}
private void UpdateDisplayID()
{
this.labelID.Text = this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUser.ID;
}
public void CallBackUserListModifyInfoDataEvent(UserManager.UserMgr_user_info_t user)
{
try
{
if (user.status == 0)
{
string code = "", message1 = "", message2 = "";
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Korean:
code = "비밀번호 변경";
message1 = "비밀번호가 변경되었습니다.";
message2 = "";
break;
case Define.E_LanguageID.English:
code = "Change Password";
message1 = "Password has been changed.";
message2 = "";
break;
default:
break;
}
// 비밀번호가 변경되었습니다.
DialogFormMessage dlg = new DialogFormMessage(Define.E_MessageBoxIcon.Asterisk, code, message1, message2, 0);
dlg.ShowDialog();
}
else
{
DialogFormMessage myMsg = new DialogFormMessage(null, user.status, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
}
}
catch (Exception ex)
{
FormMain.Exception(ex);
}
}
public void DisplayRefresh()
{
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.UserMyPage;
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
this.UpdateDisplayID();
this.textBoxNewPassword.Text = "";
this.textBoxVerifyPassword.Text = "";
}
#endregion
#region Event Handler
private void smartKeyboard_OnXKeyClick(object sender, EventArgs e)
{
}
private void textBoxNewPassword_GotFocus(object sender, EventArgs e)
{
this.smartKeyboard.TargetInputObject = this.textBoxNewPassword;
this.textBoxNewPassword.Select(this.textBoxNewPassword.Text.Length, 0);
}
private void textBoxVerifyPassword_GotFocus(object sender, EventArgs e)
{
this.smartKeyboard.TargetInputObject = this.textBoxVerifyPassword;
this.textBoxVerifyPassword.Select(this.textBoxVerifyPassword.Text.Length, 0);
}
private void buttonChangePassword_Click(object sender, EventArgs e)
{
string detail = "";
// Check Password
if (this.textBoxNewPassword.Text.Length < 6 || this.textBoxVerifyPassword.Text.Length < 6)
{
// PASSWORD : 6~20자 입력하세요
DialogFormMessage msg = new DialogFormMessage(null, 9, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
msg.ShowDialog();
return;
}
if (this.textBoxNewPassword.Text != this.textBoxVerifyPassword.Text)
{
// 비밀번호가 동일하지 않습니다
DialogFormMessage myMsg = new DialogFormMessage(null, 17, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
else
{
UserManager.UserManager_UserModifyPW(this.labelID.Text, this.textBoxVerifyPassword.Text);
}
}
#endregion
}
}

View File

@ -1,538 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="smartKeyboard.KeyPressImage1" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADsAAAA7CAYAAADFJfKzAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQ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+ExdWGDwoGYHt6enR9fR2HxQeF
ixNnJ64wHmT8bbBAAgs0DID29/fr9vY2DhsMdhi/Ln4/ALHCIXxRBOA3CED2j3mNe1x6+C9HR0d1f38f
hw2HQ0pLSzPAmL8wO+L/42XEvc1ij+wZ0GjvIatjY2OamprS09NTHJYoJCcnKz093Xh1Ob94GRELEABb
BVx0RDQo7IgTExOan5/X4uLid9jExESlpKQYYAApY1yp0ZK2WbhpGWm0dN/Z2VltbGxoZ2dHu7u7Xtiv
wHjsaU4jIyMaHx83EZqcnLRa09PTmpmZ0dzcnJaWlrS3t6eTkxOdnZ3p+fnZ8H2DpSPT0XCQE52FhQUt
Ly9rZWVFq6urWltbs1Lr6+va3NzU9va2jo6OdHl5qbu7Oz0+PsZAPbAIYMShJkJbW1umDPb393VwcGCt
Dg8PdXx8rNPTU/NNfXh40MfHhwcURa7eCfT5+Wn08vKi19dXvb296f393VoBFt0z+okJRa7fJ/9O/dE/
6nc2xOg6Bq4AAAAASUVORK5CYII=
</value>
</data>
<data name="smartKeyboard.KeyPressImage2" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAHUAAAA7CAYAAABFVsWgAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmp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giqo9YGeGCrUHDXdfbu0a3PAV4
lkeCnmfG03m4ezDHRZrXmUdjxjcxf4dw4GJokBvvOpCJXsxzc3O0tbVF+/v7CpdUU2xGRob6A4aHh2l0
dJQmJiZofHw8CD6bmNc+wjkXTE5OqhXnZHp6OgRuDOaa6Jhcbs1HuZ05nTnM78LJ96+Y9wlwPzMzM7Sw
sEAbGxt0fHxMZ2dndHl5Sefn53+XijdgPDOwV8/OztLS0hKtra3R8vIyraysqPP19XUWXHPCjePATb4H
N8ck3HFOzByRwMUCn/kN3gM5Nzc3aXt7mw4PD+n09JSur6/p4eGBHh8f6erqKig0RCqAWIDVuLq6Sjs7
O3RwcKCOe3t7KuBnODo6CsJdDwcuRiTxnHP1d+bnj9AxuDgAVQTMa5Fi5kCsk5MTJfPi4oJub2/p6emJ
Xl5eQmRqQqRqbm5uWO7u7tTqADg30d9/hHOeCTeeg5ur4cY74eZpuPEc3FzN/f29+uG5eZFgxkNFPj8/
0+vrK729vbmcmbBShf+ZOPoNW3IHcw6DsF8AAAAASUVORK5CYII=
</value>
</data>
<data name="smartKeyboard.KeyPressImage3" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAO4AAAA7CAYAAAB8Hba+AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyx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pCGGS6ShPw7XbDYzXCIv8Yfhlqlw8Q0ItqqqiuESfSEEm5mZKXl5eapHhNvQ0CBbW1vO
cCsqyiUpKUkKCgrU6osD8cpwib4GgkW4CBg9Itrm5mbZ2dlxhoulOC4uTrKzs1WspaWlisViUTETkWcg
VECL6enp6t82m01aWlqks7NT9vb2nOHa7XYxmUySmJgoqampqnR8I/bYRORZ6A/RokXEjNW2q6tL+vr6
5ODgwBluR0eHBAUFSUREhMTGxqqA8ZQZcO9LRJ6BW1bjFeHiYXF3d7cMDQ3J6OiobGxsOMOdnf1L/Pz8
VLxhYWGSkJCg9tjvl3Ei+lzGVhm3rFarVXp7e2ViYuLfRmdlbm7ONVxA2b6+vhIaGqrubZuamtSeGrUT
kef09PRIf3+/DA8Pq2BXVlZkdXVVDg8PVasu4f74canuc7FM49HzwMCAjIyMyPj4uExOThKRh0xNTcn0
9LQsLS3J2tqa+tvt/v6+PDw8fAwXfv36qWJF9WNjYzIzMyPz8/OysLBARB6yuLgoy8vLsr6+Lru7u3J6
euoSLbiEC6+vr/L09CSXl5cOFxcXcn5+rpydnXk1nCPO9/r6Wm5vb+X+/l4eHx/l+flZXl5eHPAec+IX
cnd3Jzc3N3J1deUyqw7z4nxx7oB5MQ/mejvvd5kV5/jdr+3JyYkcHx/L0dGResUM8L7TD+ESkbfzkX8A
aDYV804BSLEAAAAASUVORK5CYII=
</value>
</data>
<data name="smartKeyboard.KeyUpImage1" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADsAAAA7CAYAAADFJfKzAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
s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aGiQW91llk5OTERMTg6CgIJF1cXGRiOKb7K9f16ivr0dzczPq6uok3VZYWPjpZBm7TUpKQnR0NAIC
AiS3aCX78+elCDLsyBEuLi5Gfn6+ROSysrI+Bewqc4sJCQmIiIiAn5+fRPmcnZ3Nst+/nyA1NVWqw4Ws
UHp6uiwmPFcZ7pH7ZxqVI2yENNlVR0dHc3bxx48Lyecy4MhEJ6tjwAuojLFP7pvjGxoaKl1lGtXJyQkO
Dg4Sp3+TZVAzMDBQKsJ/DgsLk7xuZGSkwEKoCvfHseWe+VAyMsYcX4ra29ubZQkfTj4+PgIXsDpMYvNG
Vx3uk3vm9yo7SlGOL0UrKyvFz0qWVeICPrIJz1WH+2QnKcnv1I+iLIDRVZOsIcwILrvLG9y4mOrYkmWM
+KMoMckaMEJP+IsP41xlGPfnz1ooZ2DL6/Vo/eHXxA5/AJFfGFexs8HCAAAAAElFTkSuQmCC
</value>
</data>
<data name="smartKeyboard.KeyUpImage2" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAHUAAAA7CAYAAABFVsWgAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR
3xKxRoowlSviN+L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k5OQIcG0PkMfWqPKoUD37HlQx7Q1cwBNaL4ZNYoJoQECAmCBqIfXr10tKSEgQo0ZTUlJEaUsQ
wJZgUOLvwGTM95KZmfmCKqatcv8pDzDNZWukD/iB0KioKNF65VxCNzc3c6kYOBkRESFujI6OFmWN4cA4
XQEIV4Ge/jfIuDI2FilJSkr6K/Cs6doQ2x65TfPIOKo89gBO4AeuIFTO+UWVWkgFOCShPwM8gKMyxo5i
nuzvwD3/yuscWDBAa/kT8l4Jnkc8oMr1Gmtzm+YAMo8qpj2ADwA3mMANmahQU6ENDQ1qqdh1gYGBok8D
XL8FAtsCDCG2Far4b6GKYQ2qWPYCp1uAAxGATLRcKRTCpUczqQBiMRpW7giIk4JVIDDzcUCiFAlcXV3F
/xRMHQIzqRKMXgf4hQt5rWJqaopxAPjBCnmt8qeUynxmXOh/hRin/y6e928AAAAASUVORK5CYII=
</value>
</data>
<data name="smartKeyboard.KeyUpImage3" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAO4AAAA7CAYAAAB8Hba+AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR
3xKxRoowlSviN+LYVA4zAwAUSW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cghDjc4uJiysnJodTUVBFubGwsuVyuf8K9vPyVrFYr9fX1
UWdnJzU1NZHZbEa4ACFSVlZGRUVFlJ2dTXq9njQazetwz85+ERO2tbVVLJPr6+uppqaGTCYTVVRUAECQ
8KRlpaWlVFBQQJmZmZSUlEQqlYpiYmL8w/3w4YQKCwvFjVy60WgUN/IaGwCCi5fIBoNBLJN5f6vVasW0
jYqK8g/348czUTZvhPPy8gAgRLhBlpWVRenp6WLaqtVqio6OpsjISP9w7++/iAtSUlLERpgrZ3wjAAQP
d8cN8r42MTFRRMtLZI42IiLCP1zGp8m8AfbiUywACD7uj4PlP/94Jy1Hy2dQ3l594fLU5YnLF77EtQNA
8HB3vJ9l3mh1Op1o9FW43ngtFou4EABCLzw8XPy/ipfRMr9wGV/APB4Pud1u2tzcpJWVFXI6nYLD4VCc
paUln0Cf/1fLy8uK/r7/N6W/20A//9mNj4+TzWYju93+Klr2KlwAULow+gsaTfOFfjD8VAAAAABJRU5E
rkJggg==
</value>
</data>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>
</root>

View File

@ -30,15 +30,8 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlMenuUserUserEditor));
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.smartSeparatorLine1 = new SmartX.SmartSeparatorLine();
this.labelTitleContents = new SmartX.SmartLabel();
this.labelNumberOfLoginFailures = new SmartX.SmartLabel();
this.labelTitleNumberOfLoginFailures = new SmartX.SmartLabel();
this.smartLabel6 = new SmartX.SmartLabel();
this.labelAutomaticLogoutTime = new SmartX.SmartLabel();
this.labelTitleAutomaticLogoutTime = new SmartX.SmartLabel();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.buttonPasswordReset = new SmartX.SmartButton();
this.buttonPasswordEdit = new SmartX.SmartButton();
this.buttonIDEdit = new SmartX.SmartButton();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.labelPasswordBackGround = new SmartX.SmartLabel();
@ -51,7 +44,6 @@
this.labelAccessRight = new SmartX.SmartLabel();
this.labelTitleAccessRight = new SmartX.SmartLabel();
this.groupBoxAccessRight = new SmartX.SmartGroupBox();
this.checkBoxMenuEthernet = new SmartX.SmartCheckBox();
this.checkBoxMenuUserGroupEditor = new SmartX.SmartCheckBox();
this.checkBoxMenuInformation = new SmartX.SmartCheckBox();
this.checkBoxMenuAlarmList = new SmartX.SmartCheckBox();
@ -70,8 +62,11 @@
this.labelExpiryDateOfAccount2 = new SmartX.SmartLabel();
this.smartLabel8 = new SmartX.SmartLabel();
this.smartLabel7 = new SmartX.SmartLabel();
this.smartLabel6 = new SmartX.SmartLabel();
this.labelAutomaticLogoutTime = new SmartX.SmartLabel();
this.labelExpiryDateOfPassword = new SmartX.SmartLabel();
this.labelExpiryDateOfAccount = new SmartX.SmartLabel();
this.labelTitleAutomaticLogoutTime = new SmartX.SmartLabel();
this.labelTitleExpiryDateOfPassword = new SmartX.SmartLabel();
this.labelTitleExpiryDateOfAccount = new SmartX.SmartLabel();
this.labelTitlePassword = new SmartX.SmartLabel();
@ -88,15 +83,8 @@
this.smartGroupBox1.BackGround = null;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Controls.Add(this.smartSeparatorLine1);
this.smartGroupBox1.Controls.Add(this.labelTitleContents);
this.smartGroupBox1.Controls.Add(this.labelNumberOfLoginFailures);
this.smartGroupBox1.Controls.Add(this.labelTitleNumberOfLoginFailures);
this.smartGroupBox1.Controls.Add(this.smartLabel6);
this.smartGroupBox1.Controls.Add(this.labelAutomaticLogoutTime);
this.smartGroupBox1.Controls.Add(this.labelTitleAutomaticLogoutTime);
this.smartGroupBox1.Controls.Add(this.smartKeyboard);
this.smartGroupBox1.Controls.Add(this.buttonPasswordReset);
this.smartGroupBox1.Controls.Add(this.buttonPasswordEdit);
this.smartGroupBox1.Controls.Add(this.buttonIDEdit);
this.smartGroupBox1.Controls.Add(this.textBoxPassword);
this.smartGroupBox1.Controls.Add(this.labelPasswordBackGround);
@ -113,8 +101,11 @@
this.smartGroupBox1.Controls.Add(this.labelExpiryDateOfAccount2);
this.smartGroupBox1.Controls.Add(this.smartLabel8);
this.smartGroupBox1.Controls.Add(this.smartLabel7);
this.smartGroupBox1.Controls.Add(this.smartLabel6);
this.smartGroupBox1.Controls.Add(this.labelAutomaticLogoutTime);
this.smartGroupBox1.Controls.Add(this.labelExpiryDateOfPassword);
this.smartGroupBox1.Controls.Add(this.labelExpiryDateOfAccount);
this.smartGroupBox1.Controls.Add(this.labelTitleAutomaticLogoutTime);
this.smartGroupBox1.Controls.Add(this.labelTitleExpiryDateOfPassword);
this.smartGroupBox1.Controls.Add(this.labelTitleExpiryDateOfAccount);
this.smartGroupBox1.Controls.Add(this.labelTitlePassword);
@ -135,160 +126,6 @@
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// smartSeparatorLine1
//
this.smartSeparatorLine1.Line1Color = System.Drawing.Color.DimGray;
this.smartSeparatorLine1.Line1Width = 1F;
this.smartSeparatorLine1.Line2Color = System.Drawing.Color.LightGray;
this.smartSeparatorLine1.Line2Width = 1F;
this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
this.smartSeparatorLine1.Location = new System.Drawing.Point(318, 514);
this.smartSeparatorLine1.Name = "smartSeparatorLine1";
this.smartSeparatorLine1.Size = new System.Drawing.Size(488, 2);
this.smartSeparatorLine1.TabIndex = 218;
this.smartSeparatorLine1.Text = "smartSeparatorLine1";
//
// labelTitleContents
//
this.labelTitleContents.BackGround = null;
this.labelTitleContents.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleContents.BorderColor = System.Drawing.Color.White;
this.labelTitleContents.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleContents.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleContents.ForeColor = System.Drawing.Color.White;
this.labelTitleContents.LineSpacing = 0F;
this.labelTitleContents.Location = new System.Drawing.Point(317, 529);
this.labelTitleContents.Name = "labelTitleContents";
this.labelTitleContents.OverlapOptimize = true;
this.labelTitleContents.PasswordChar = '\0';
this.labelTitleContents.Radius = 3;
this.labelTitleContents.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleContents.Size = new System.Drawing.Size(489, 26);
this.labelTitleContents.TabIndex = 217;
this.labelTitleContents.Text = "<전체 사용자 공통 적용 항목>";
this.labelTitleContents.TextColor = System.Drawing.Color.White;
this.labelTitleContents.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleContents.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitleContents.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleContents.Wordwrap = false;
//
// labelNumberOfLoginFailures
//
this.labelNumberOfLoginFailures.BackGround = null;
this.labelNumberOfLoginFailures.BackGroundColor = System.Drawing.Color.White;
this.labelNumberOfLoginFailures.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelNumberOfLoginFailures.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelNumberOfLoginFailures.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelNumberOfLoginFailures.LineSpacing = 0F;
this.labelNumberOfLoginFailures.Location = new System.Drawing.Point(479, 601);
this.labelNumberOfLoginFailures.Name = "labelNumberOfLoginFailures";
this.labelNumberOfLoginFailures.OverlapOptimize = true;
this.labelNumberOfLoginFailures.PasswordChar = '\0';
this.labelNumberOfLoginFailures.Radius = 3;
this.labelNumberOfLoginFailures.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelNumberOfLoginFailures.Size = new System.Drawing.Size(70, 34);
this.labelNumberOfLoginFailures.TabIndex = 123;
this.labelNumberOfLoginFailures.Text = "00";
this.labelNumberOfLoginFailures.TextColor = System.Drawing.Color.Black;
this.labelNumberOfLoginFailures.TextColorDisable = System.Drawing.Color.Gray;
this.labelNumberOfLoginFailures.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelNumberOfLoginFailures.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelNumberOfLoginFailures.Wordwrap = false;
this.labelNumberOfLoginFailures.Click += new System.EventHandler(this.labelNumberOfLoginFailures_Click);
//
// labelTitleNumberOfLoginFailures
//
this.labelTitleNumberOfLoginFailures.BackGround = null;
this.labelTitleNumberOfLoginFailures.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleNumberOfLoginFailures.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleNumberOfLoginFailures.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleNumberOfLoginFailures.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleNumberOfLoginFailures.LineSpacing = 0F;
this.labelTitleNumberOfLoginFailures.Location = new System.Drawing.Point(318, 601);
this.labelTitleNumberOfLoginFailures.Name = "labelTitleNumberOfLoginFailures";
this.labelTitleNumberOfLoginFailures.OverlapOptimize = true;
this.labelTitleNumberOfLoginFailures.PasswordChar = '\0';
this.labelTitleNumberOfLoginFailures.Radius = 3;
this.labelTitleNumberOfLoginFailures.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleNumberOfLoginFailures.Size = new System.Drawing.Size(155, 34);
this.labelTitleNumberOfLoginFailures.TabIndex = 122;
this.labelTitleNumberOfLoginFailures.Text = "Number of Failure";
this.labelTitleNumberOfLoginFailures.TextColor = System.Drawing.Color.White;
this.labelTitleNumberOfLoginFailures.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleNumberOfLoginFailures.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleNumberOfLoginFailures.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleNumberOfLoginFailures.Wordwrap = false;
//
// smartLabel6
//
this.smartLabel6.BackGround = null;
this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.smartLabel6.LineSpacing = 0F;
this.smartLabel6.Location = new System.Drawing.Point(556, 561);
this.smartLabel6.Name = "smartLabel6";
this.smartLabel6.OverlapOptimize = true;
this.smartLabel6.PasswordChar = '\0';
this.smartLabel6.Radius = 3;
this.smartLabel6.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel6.Size = new System.Drawing.Size(90, 34);
this.smartLabel6.TabIndex = 91;
this.smartLabel6.Text = "min(Max:90)";
this.smartLabel6.TextColor = System.Drawing.Color.White;
this.smartLabel6.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel6.Wordwrap = false;
//
// labelAutomaticLogoutTime
//
this.labelAutomaticLogoutTime.BackGround = null;
this.labelAutomaticLogoutTime.BackGroundColor = System.Drawing.Color.White;
this.labelAutomaticLogoutTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelAutomaticLogoutTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelAutomaticLogoutTime.LineSpacing = 0F;
this.labelAutomaticLogoutTime.Location = new System.Drawing.Point(479, 561);
this.labelAutomaticLogoutTime.Name = "labelAutomaticLogoutTime";
this.labelAutomaticLogoutTime.OverlapOptimize = true;
this.labelAutomaticLogoutTime.PasswordChar = '\0';
this.labelAutomaticLogoutTime.Radius = 3;
this.labelAutomaticLogoutTime.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelAutomaticLogoutTime.Size = new System.Drawing.Size(70, 34);
this.labelAutomaticLogoutTime.TabIndex = 90;
this.labelAutomaticLogoutTime.Text = "0";
this.labelAutomaticLogoutTime.TextColor = System.Drawing.Color.Black;
this.labelAutomaticLogoutTime.TextColorDisable = System.Drawing.Color.Gray;
this.labelAutomaticLogoutTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelAutomaticLogoutTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelAutomaticLogoutTime.Wordwrap = false;
this.labelAutomaticLogoutTime.Click += new System.EventHandler(this.labelAutomaticLogoutTime_Click);
//
// labelTitleAutomaticLogoutTime
//
this.labelTitleAutomaticLogoutTime.BackGround = null;
this.labelTitleAutomaticLogoutTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleAutomaticLogoutTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleAutomaticLogoutTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleAutomaticLogoutTime.LineSpacing = 0F;
this.labelTitleAutomaticLogoutTime.Location = new System.Drawing.Point(318, 561);
this.labelTitleAutomaticLogoutTime.Name = "labelTitleAutomaticLogoutTime";
this.labelTitleAutomaticLogoutTime.OverlapOptimize = true;
this.labelTitleAutomaticLogoutTime.PasswordChar = '\0';
this.labelTitleAutomaticLogoutTime.Radius = 3;
this.labelTitleAutomaticLogoutTime.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleAutomaticLogoutTime.Size = new System.Drawing.Size(155, 34);
this.labelTitleAutomaticLogoutTime.TabIndex = 85;
this.labelTitleAutomaticLogoutTime.Text = "Auto logout time";
this.labelTitleAutomaticLogoutTime.TextColor = System.Drawing.Color.White;
this.labelTitleAutomaticLogoutTime.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleAutomaticLogoutTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleAutomaticLogoutTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleAutomaticLogoutTime.Wordwrap = false;
//
// smartKeyboard
//
this.smartKeyboard.BackGround = null;
@ -333,40 +170,40 @@
this.smartKeyboard.ThemeStyle = SmartX.SmartKeyboard.KEYBOARDTHEMESTYLE.STANDARD4;
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
//
// buttonPasswordReset
// buttonPasswordEdit
//
this.buttonPasswordReset.BackGround = null;
this.buttonPasswordReset.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.buttonPasswordReset.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonPasswordReset.ButtonDownColor = System.Drawing.Color.SlateGray;
this.buttonPasswordReset.ButtonImageAutoSize = true;
this.buttonPasswordReset.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonPasswordReset.ButtonText = "Reset";
this.buttonPasswordReset.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonPasswordReset.GroupID = 0;
this.buttonPasswordReset.ImageDisable = null;
this.buttonPasswordReset.ImageDown = null;
this.buttonPasswordReset.ImageUp = null;
this.buttonPasswordReset.Location = new System.Drawing.Point(752, 86);
this.buttonPasswordReset.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonPasswordReset.Name = "buttonPasswordReset";
this.buttonPasswordReset.NestedClickEventPrevent = false;
this.buttonPasswordReset.OutlinePixel = 2;
this.buttonPasswordReset.OverlapOptimize = true;
this.buttonPasswordReset.RepeatInterval = 200;
this.buttonPasswordReset.RepeatIntervalAccelerate = null;
this.buttonPasswordReset.RoundSize = 10;
this.buttonPasswordReset.SafeInterval = 200;
this.buttonPasswordReset.Size = new System.Drawing.Size(50, 34);
this.buttonPasswordReset.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonPasswordReset.TabIndex = 121;
this.buttonPasswordReset.Text = null;
this.buttonPasswordReset.TextColor = System.Drawing.Color.White;
this.buttonPasswordReset.TextColorDisable = System.Drawing.Color.Gray;
this.buttonPasswordReset.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonPasswordReset.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonPasswordReset.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonPasswordReset.Click += new System.EventHandler(this.buttonPasswordReset_Click);
this.buttonPasswordEdit.BackGround = null;
this.buttonPasswordEdit.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.buttonPasswordEdit.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonPasswordEdit.ButtonDownColor = System.Drawing.Color.SlateGray;
this.buttonPasswordEdit.ButtonImageAutoSize = true;
this.buttonPasswordEdit.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonPasswordEdit.ButtonText = "Edit";
this.buttonPasswordEdit.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonPasswordEdit.GroupID = 0;
this.buttonPasswordEdit.ImageDisable = null;
this.buttonPasswordEdit.ImageDown = null;
this.buttonPasswordEdit.ImageUp = null;
this.buttonPasswordEdit.Location = new System.Drawing.Point(752, 86);
this.buttonPasswordEdit.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonPasswordEdit.Name = "buttonPasswordEdit";
this.buttonPasswordEdit.NestedClickEventPrevent = false;
this.buttonPasswordEdit.OutlinePixel = 2;
this.buttonPasswordEdit.OverlapOptimize = true;
this.buttonPasswordEdit.RepeatInterval = 200;
this.buttonPasswordEdit.RepeatIntervalAccelerate = null;
this.buttonPasswordEdit.RoundSize = 10;
this.buttonPasswordEdit.SafeInterval = 200;
this.buttonPasswordEdit.Size = new System.Drawing.Size(50, 34);
this.buttonPasswordEdit.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonPasswordEdit.TabIndex = 121;
this.buttonPasswordEdit.Text = null;
this.buttonPasswordEdit.TextColor = System.Drawing.Color.White;
this.buttonPasswordEdit.TextColorDisable = System.Drawing.Color.Gray;
this.buttonPasswordEdit.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonPasswordEdit.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonPasswordEdit.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonPasswordEdit.Click += new System.EventHandler(this.buttonPasswordEdit_Click);
//
// buttonIDEdit
//
@ -407,12 +244,11 @@
//
this.textBoxPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(479, 92);
this.textBoxPassword.Location = new System.Drawing.Point(479, 91);
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.Size = new System.Drawing.Size(267, 28);
this.textBoxPassword.TabIndex = 104;
this.textBoxPassword.Text = "AAAAAAAAAAAAAAA";
this.textBoxPassword.GotFocus += new System.EventHandler(this.textBoxPassword_GotFocus);
this.textBoxPassword.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxPassword_KeyPress);
//
// labelPasswordBackGround
@ -441,12 +277,11 @@
//
this.textBoxID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBoxID.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(479, 51);
this.textBoxID.Location = new System.Drawing.Point(479, 50);
this.textBoxID.Name = "textBoxID";
this.textBoxID.Size = new System.Drawing.Size(267, 28);
this.textBoxID.TabIndex = 103;
this.textBoxID.Text = "AAAAAAAAAAAAAAAAAAAA";
this.textBoxID.GotFocus += new System.EventHandler(this.textBoxID_GotFocus);
this.textBoxID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxID_KeyPress);
//
// labelIDBackGround
@ -598,7 +433,7 @@
this.buttonLevel3.ImageDisable = null;
this.buttonLevel3.ImageDown = null;
this.buttonLevel3.ImageUp = null;
this.buttonLevel3.Location = new System.Drawing.Point(808, 328);
this.buttonLevel3.Location = new System.Drawing.Point(695, 367);
this.buttonLevel3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
this.buttonLevel3.Name = "buttonLevel3";
this.buttonLevel3.NestedClickEventPrevent = false;
@ -608,7 +443,7 @@
this.buttonLevel3.RepeatIntervalAccelerate = null;
this.buttonLevel3.RoundSize = 10;
this.buttonLevel3.SafeInterval = 200;
this.buttonLevel3.Size = new System.Drawing.Size(89, 35);
this.buttonLevel3.Size = new System.Drawing.Size(108, 35);
this.buttonLevel3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonLevel3.TabIndex = 102;
this.buttonLevel3.Text = null;
@ -633,7 +468,7 @@
this.buttonLevel2.ImageDisable = null;
this.buttonLevel2.ImageDown = null;
this.buttonLevel2.ImageUp = null;
this.buttonLevel2.Location = new System.Drawing.Point(808, 287);
this.buttonLevel2.Location = new System.Drawing.Point(695, 326);
this.buttonLevel2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
this.buttonLevel2.Name = "buttonLevel2";
this.buttonLevel2.NestedClickEventPrevent = false;
@ -643,7 +478,7 @@
this.buttonLevel2.RepeatIntervalAccelerate = null;
this.buttonLevel2.RoundSize = 10;
this.buttonLevel2.SafeInterval = 200;
this.buttonLevel2.Size = new System.Drawing.Size(89, 35);
this.buttonLevel2.Size = new System.Drawing.Size(108, 35);
this.buttonLevel2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonLevel2.TabIndex = 101;
this.buttonLevel2.Text = null;
@ -668,7 +503,7 @@
this.buttonLevel1.ImageDisable = null;
this.buttonLevel1.ImageDown = null;
this.buttonLevel1.ImageUp = null;
this.buttonLevel1.Location = new System.Drawing.Point(808, 246);
this.buttonLevel1.Location = new System.Drawing.Point(695, 285);
this.buttonLevel1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
this.buttonLevel1.Name = "buttonLevel1";
this.buttonLevel1.NestedClickEventPrevent = false;
@ -678,7 +513,7 @@
this.buttonLevel1.RepeatIntervalAccelerate = null;
this.buttonLevel1.RoundSize = 10;
this.buttonLevel1.SafeInterval = 200;
this.buttonLevel1.Size = new System.Drawing.Size(89, 35);
this.buttonLevel1.Size = new System.Drawing.Size(108, 35);
this.buttonLevel1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonLevel1.TabIndex = 100;
this.buttonLevel1.Text = null;
@ -697,7 +532,7 @@
this.labelAccessRight.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelAccessRight.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelAccessRight.LineSpacing = 0F;
this.labelAccessRight.Location = new System.Drawing.Point(478, 206);
this.labelAccessRight.Location = new System.Drawing.Point(479, 246);
this.labelAccessRight.Name = "labelAccessRight";
this.labelAccessRight.OverlapOptimize = true;
this.labelAccessRight.PasswordChar = '\0';
@ -719,7 +554,7 @@
this.labelTitleAccessRight.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleAccessRight.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleAccessRight.LineSpacing = 0F;
this.labelTitleAccessRight.Location = new System.Drawing.Point(317, 206);
this.labelTitleAccessRight.Location = new System.Drawing.Point(318, 246);
this.labelTitleAccessRight.Name = "labelTitleAccessRight";
this.labelTitleAccessRight.OverlapOptimize = true;
this.labelTitleAccessRight.PasswordChar = '\0';
@ -739,7 +574,6 @@
this.groupBoxAccessRight.BackGround = null;
this.groupBoxAccessRight.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.groupBoxAccessRight.BackImage = null;
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuEthernet);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuUserGroupEditor);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuInformation);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuAlarmList);
@ -759,37 +593,13 @@
this.groupBoxAccessRight.FrameLineThickness = 1;
this.groupBoxAccessRight.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.Rectangle;
this.groupBoxAccessRight.HeaderHeightOffset = 12;
this.groupBoxAccessRight.Location = new System.Drawing.Point(308, 236);
this.groupBoxAccessRight.Location = new System.Drawing.Point(309, 276);
this.groupBoxAccessRight.Name = "groupBoxAccessRight";
this.groupBoxAccessRight.RoundRadius = 5;
this.groupBoxAccessRight.Size = new System.Drawing.Size(508, 276);
this.groupBoxAccessRight.Size = new System.Drawing.Size(395, 378);
this.groupBoxAccessRight.TabIndex = 97;
this.groupBoxAccessRight.TextColor = System.Drawing.Color.White;
//
// checkBoxMenuEthernet
//
this.checkBoxMenuEthernet.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuEthernet.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuEthernet.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuEthernet.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuEthernet.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuEthernet.CheckBoxSymbolSize = 14;
this.checkBoxMenuEthernet.Checked = false;
this.checkBoxMenuEthernet.CheckLineWidth = 3;
this.checkBoxMenuEthernet.Enabled = false;
this.checkBoxMenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuEthernet.ImageCheckBox = null;
this.checkBoxMenuEthernet.ImageUnCheckBox = null;
this.checkBoxMenuEthernet.Location = new System.Drawing.Point(339, 112);
this.checkBoxMenuEthernet.Name = "checkBoxMenuEthernet";
this.checkBoxMenuEthernet.OverlapOptimize = true;
this.checkBoxMenuEthernet.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuEthernet.TabIndex = 117;
this.checkBoxMenuEthernet.Text = "Ethernet";
this.checkBoxMenuEthernet.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuEthernet.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuEthernet.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMenuUserGroupEditor
//
this.checkBoxMenuUserGroupEditor.BackGround = this.groupBoxAccessRight;
@ -804,7 +614,7 @@
this.checkBoxMenuUserGroupEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuUserGroupEditor.ImageCheckBox = null;
this.checkBoxMenuUserGroupEditor.ImageUnCheckBox = null;
this.checkBoxMenuUserGroupEditor.Location = new System.Drawing.Point(177, 112);
this.checkBoxMenuUserGroupEditor.Location = new System.Drawing.Point(206, 137);
this.checkBoxMenuUserGroupEditor.Name = "checkBoxMenuUserGroupEditor";
this.checkBoxMenuUserGroupEditor.OverlapOptimize = true;
this.checkBoxMenuUserGroupEditor.Size = new System.Drawing.Size(150, 23);
@ -828,7 +638,7 @@
this.checkBoxMenuInformation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuInformation.ImageCheckBox = null;
this.checkBoxMenuInformation.ImageUnCheckBox = null;
this.checkBoxMenuInformation.Location = new System.Drawing.Point(339, 54);
this.checkBoxMenuInformation.Location = new System.Drawing.Point(206, 282);
this.checkBoxMenuInformation.Name = "checkBoxMenuInformation";
this.checkBoxMenuInformation.OverlapOptimize = true;
this.checkBoxMenuInformation.Size = new System.Drawing.Size(150, 23);
@ -852,7 +662,7 @@
this.checkBoxMenuAlarmList.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuAlarmList.ImageCheckBox = null;
this.checkBoxMenuAlarmList.ImageUnCheckBox = null;
this.checkBoxMenuAlarmList.Location = new System.Drawing.Point(177, 228);
this.checkBoxMenuAlarmList.Location = new System.Drawing.Point(206, 253);
this.checkBoxMenuAlarmList.Name = "checkBoxMenuAlarmList";
this.checkBoxMenuAlarmList.OverlapOptimize = true;
this.checkBoxMenuAlarmList.Size = new System.Drawing.Size(150, 23);
@ -876,7 +686,7 @@
this.checkBoxMenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuEquipment.ImageCheckBox = null;
this.checkBoxMenuEquipment.ImageUnCheckBox = null;
this.checkBoxMenuEquipment.Location = new System.Drawing.Point(339, 83);
this.checkBoxMenuEquipment.Location = new System.Drawing.Point(206, 311);
this.checkBoxMenuEquipment.Name = "checkBoxMenuEquipment";
this.checkBoxMenuEquipment.OverlapOptimize = true;
this.checkBoxMenuEquipment.Size = new System.Drawing.Size(150, 23);
@ -900,7 +710,7 @@
this.checkBoxMenuCheckLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuCheckLog.ImageCheckBox = null;
this.checkBoxMenuCheckLog.ImageUnCheckBox = null;
this.checkBoxMenuCheckLog.Location = new System.Drawing.Point(177, 199);
this.checkBoxMenuCheckLog.Location = new System.Drawing.Point(206, 224);
this.checkBoxMenuCheckLog.Name = "checkBoxMenuCheckLog";
this.checkBoxMenuCheckLog.OverlapOptimize = true;
this.checkBoxMenuCheckLog.Size = new System.Drawing.Size(150, 23);
@ -924,7 +734,7 @@
this.checkBoxMenuHistoryLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuHistoryLog.ImageCheckBox = null;
this.checkBoxMenuHistoryLog.ImageUnCheckBox = null;
this.checkBoxMenuHistoryLog.Location = new System.Drawing.Point(177, 170);
this.checkBoxMenuHistoryLog.Location = new System.Drawing.Point(206, 195);
this.checkBoxMenuHistoryLog.Name = "checkBoxMenuHistoryLog";
this.checkBoxMenuHistoryLog.OverlapOptimize = true;
this.checkBoxMenuHistoryLog.Size = new System.Drawing.Size(150, 23);
@ -948,7 +758,7 @@
this.checkBoxMenuIOTest.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuIOTest.ImageCheckBox = null;
this.checkBoxMenuIOTest.ImageUnCheckBox = null;
this.checkBoxMenuIOTest.Location = new System.Drawing.Point(177, 141);
this.checkBoxMenuIOTest.Location = new System.Drawing.Point(206, 166);
this.checkBoxMenuIOTest.Name = "checkBoxMenuIOTest";
this.checkBoxMenuIOTest.OverlapOptimize = true;
this.checkBoxMenuIOTest.Size = new System.Drawing.Size(150, 23);
@ -966,13 +776,13 @@
this.labelTitleMenu.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenu.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMenu.LineSpacing = 0F;
this.labelTitleMenu.Location = new System.Drawing.Point(175, 25);
this.labelTitleMenu.Location = new System.Drawing.Point(206, 50);
this.labelTitleMenu.Name = "labelTitleMenu";
this.labelTitleMenu.OverlapOptimize = true;
this.labelTitleMenu.PasswordChar = '\0';
this.labelTitleMenu.Radius = 3;
this.labelTitleMenu.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleMenu.Size = new System.Drawing.Size(314, 23);
this.labelTitleMenu.Size = new System.Drawing.Size(150, 23);
this.labelTitleMenu.TabIndex = 107;
this.labelTitleMenu.Text = "Menu";
this.labelTitleMenu.TextColor = System.Drawing.Color.White;
@ -989,7 +799,7 @@
this.labelTitleMain.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMain.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMain.LineSpacing = 0F;
this.labelTitleMain.Location = new System.Drawing.Point(19, 25);
this.labelTitleMain.Location = new System.Drawing.Point(30, 50);
this.labelTitleMain.Name = "labelTitleMain";
this.labelTitleMain.OverlapOptimize = true;
this.labelTitleMain.PasswordChar = '\0';
@ -1018,7 +828,7 @@
this.checkBoxMenuUserEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuUserEditor.ImageCheckBox = null;
this.checkBoxMenuUserEditor.ImageUnCheckBox = null;
this.checkBoxMenuUserEditor.Location = new System.Drawing.Point(177, 83);
this.checkBoxMenuUserEditor.Location = new System.Drawing.Point(206, 108);
this.checkBoxMenuUserEditor.Name = "checkBoxMenuUserEditor";
this.checkBoxMenuUserEditor.OverlapOptimize = true;
this.checkBoxMenuUserEditor.Size = new System.Drawing.Size(150, 23);
@ -1042,7 +852,7 @@
this.checkBoxMenuRecipe.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuRecipe.ImageCheckBox = null;
this.checkBoxMenuRecipe.ImageUnCheckBox = null;
this.checkBoxMenuRecipe.Location = new System.Drawing.Point(177, 54);
this.checkBoxMenuRecipe.Location = new System.Drawing.Point(206, 79);
this.checkBoxMenuRecipe.Name = "checkBoxMenuRecipe";
this.checkBoxMenuRecipe.OverlapOptimize = true;
this.checkBoxMenuRecipe.Size = new System.Drawing.Size(150, 23);
@ -1066,7 +876,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(19, 112);
this.checkBoxMainSubMenu.Location = new System.Drawing.Point(30, 137);
this.checkBoxMainSubMenu.Name = "checkBoxMainSubMenu";
this.checkBoxMainSubMenu.OverlapOptimize = true;
this.checkBoxMainSubMenu.Size = new System.Drawing.Size(150, 23);
@ -1091,7 +901,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(19, 83);
this.checkBoxMainClear.Location = new System.Drawing.Point(30, 108);
this.checkBoxMainClear.Name = "checkBoxMainClear";
this.checkBoxMainClear.OverlapOptimize = true;
this.checkBoxMainClear.Size = new System.Drawing.Size(150, 23);
@ -1115,7 +925,7 @@
this.checkBoxMainProductChange.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainProductChange.ImageCheckBox = null;
this.checkBoxMainProductChange.ImageUnCheckBox = null;
this.checkBoxMainProductChange.Location = new System.Drawing.Point(19, 54);
this.checkBoxMainProductChange.Location = new System.Drawing.Point(30, 79);
this.checkBoxMainProductChange.Name = "checkBoxMainProductChange";
this.checkBoxMainProductChange.OverlapOptimize = true;
this.checkBoxMainProductChange.Size = new System.Drawing.Size(150, 23);
@ -1147,7 +957,6 @@
this.labelExpiryDateOfPassword2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelExpiryDateOfPassword2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelExpiryDateOfPassword2.Wordwrap = false;
this.labelExpiryDateOfPassword2.Click += new System.EventHandler(this.labelExpiryDateOfPassword2_Click);
//
// labelExpiryDateOfAccount2
//
@ -1171,7 +980,6 @@
this.labelExpiryDateOfAccount2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelExpiryDateOfAccount2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelExpiryDateOfAccount2.Wordwrap = false;
this.labelExpiryDateOfAccount2.Click += new System.EventHandler(this.labelExpiryDateOfAccount2_Click);
//
// smartLabel8
//
@ -1219,6 +1027,54 @@
this.smartLabel7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel7.Wordwrap = false;
//
// smartLabel6
//
this.smartLabel6.BackGround = null;
this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartLabel6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.smartLabel6.LineSpacing = 0F;
this.smartLabel6.Location = new System.Drawing.Point(556, 206);
this.smartLabel6.Name = "smartLabel6";
this.smartLabel6.OverlapOptimize = true;
this.smartLabel6.PasswordChar = '\0';
this.smartLabel6.Radius = 3;
this.smartLabel6.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel6.Size = new System.Drawing.Size(90, 34);
this.smartLabel6.TabIndex = 91;
this.smartLabel6.Text = "min(Max:90)";
this.smartLabel6.TextColor = System.Drawing.Color.White;
this.smartLabel6.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel6.Wordwrap = false;
//
// labelAutomaticLogoutTime
//
this.labelAutomaticLogoutTime.BackGround = null;
this.labelAutomaticLogoutTime.BackGroundColor = System.Drawing.Color.Silver;
this.labelAutomaticLogoutTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelAutomaticLogoutTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelAutomaticLogoutTime.Enabled = false;
this.labelAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelAutomaticLogoutTime.LineSpacing = 0F;
this.labelAutomaticLogoutTime.Location = new System.Drawing.Point(479, 206);
this.labelAutomaticLogoutTime.Name = "labelAutomaticLogoutTime";
this.labelAutomaticLogoutTime.OverlapOptimize = true;
this.labelAutomaticLogoutTime.PasswordChar = '\0';
this.labelAutomaticLogoutTime.Radius = 3;
this.labelAutomaticLogoutTime.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelAutomaticLogoutTime.Size = new System.Drawing.Size(70, 34);
this.labelAutomaticLogoutTime.TabIndex = 90;
this.labelAutomaticLogoutTime.Text = "0";
this.labelAutomaticLogoutTime.TextColor = System.Drawing.Color.Black;
this.labelAutomaticLogoutTime.TextColorDisable = System.Drawing.Color.Gray;
this.labelAutomaticLogoutTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelAutomaticLogoutTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelAutomaticLogoutTime.Wordwrap = false;
this.labelAutomaticLogoutTime.Click += new System.EventHandler(this.labelAutomaticLogoutTime_Click);
//
// labelExpiryDateOfPassword
//
this.labelExpiryDateOfPassword.BackGround = null;
@ -1267,6 +1123,29 @@
this.labelExpiryDateOfAccount.Wordwrap = false;
this.labelExpiryDateOfAccount.Click += new System.EventHandler(this.labelExpiryDateOfAccount_Click);
//
// labelTitleAutomaticLogoutTime
//
this.labelTitleAutomaticLogoutTime.BackGround = null;
this.labelTitleAutomaticLogoutTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleAutomaticLogoutTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleAutomaticLogoutTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleAutomaticLogoutTime.LineSpacing = 0F;
this.labelTitleAutomaticLogoutTime.Location = new System.Drawing.Point(318, 206);
this.labelTitleAutomaticLogoutTime.Name = "labelTitleAutomaticLogoutTime";
this.labelTitleAutomaticLogoutTime.OverlapOptimize = true;
this.labelTitleAutomaticLogoutTime.PasswordChar = '\0';
this.labelTitleAutomaticLogoutTime.Radius = 3;
this.labelTitleAutomaticLogoutTime.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleAutomaticLogoutTime.Size = new System.Drawing.Size(155, 34);
this.labelTitleAutomaticLogoutTime.TabIndex = 85;
this.labelTitleAutomaticLogoutTime.Text = "Auto logout time";
this.labelTitleAutomaticLogoutTime.TextColor = System.Drawing.Color.White;
this.labelTitleAutomaticLogoutTime.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleAutomaticLogoutTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleAutomaticLogoutTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleAutomaticLogoutTime.Wordwrap = false;
//
// labelTitleExpiryDateOfPassword
//
this.labelTitleExpiryDateOfPassword.BackGround = null;
@ -1521,15 +1400,10 @@
private System.Windows.Forms.TextBox textBoxID;
private System.Windows.Forms.TextBox textBoxPassword;
private SmartX.SmartKeyboard smartKeyboard;
private SmartX.SmartButton buttonPasswordReset;
private SmartX.SmartButton buttonPasswordEdit;
private SmartX.SmartButton buttonIDEdit;
private SmartX.SmartCheckBox checkBoxMenuEquipment;
private SmartX.SmartLabel labelPasswordBackGround;
private SmartX.SmartLabel labelIDBackGround;
private SmartX.SmartLabel labelNumberOfLoginFailures;
private SmartX.SmartLabel labelTitleNumberOfLoginFailures;
private SmartX.SmartCheckBox checkBoxMenuEthernet;
private SmartX.SmartSeparatorLine smartSeparatorLine1;
public SmartX.SmartLabel labelTitleContents;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -104,7 +104,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[9] != false)
{
this.CollectionIsSensorBoardError[9] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard10Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a16_SensorBoard10Error, "OFF");
}
}
else
@ -112,7 +112,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[9] != true)
{
this.CollectionIsSensorBoardError[9] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard10Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a16_SensorBoard10Error, "ON");
}
}
// 알람 15-센서보드9 에러
@ -121,7 +121,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[8] != false)
{
this.CollectionIsSensorBoardError[8] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard9Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a15_SensorBoard9Error, "OFF");
}
}
else
@ -129,7 +129,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[8] != true)
{
this.CollectionIsSensorBoardError[8] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard9Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a15_SensorBoard9Error, "ON");
}
}
// 알람 14-센서보드8 에러
@ -138,7 +138,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[7] != false)
{
this.CollectionIsSensorBoardError[7] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard8Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a14_SensorBoard8Error, "OFF");
}
}
else
@ -146,7 +146,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[7] != true)
{
this.CollectionIsSensorBoardError[7] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard8Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a14_SensorBoard8Error, "ON");
}
}
// 알람 13-센서보드7 에러
@ -155,7 +155,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[6] != false)
{
this.CollectionIsSensorBoardError[6] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard7Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a13_SensorBoard7Error, "OFF");
}
}
else
@ -163,7 +163,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[6] != true)
{
this.CollectionIsSensorBoardError[6] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard7Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a13_SensorBoard7Error, "ON");
}
}
@ -173,7 +173,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[5] != false)
{
this.CollectionIsSensorBoardError[5] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard6Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a12_SensorBoard6Error, "OFF");
}
}
else
@ -181,7 +181,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[5] != true)
{
this.CollectionIsSensorBoardError[5] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard6Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a12_SensorBoard6Error, "ON");
}
}
// 알람 11-센서보드5 에러
@ -190,7 +190,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[4] != false)
{
this.CollectionIsSensorBoardError[4] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard5Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a11_SensorBoard5Error, "OFF");
}
}
else
@ -198,7 +198,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[4] != true)
{
this.CollectionIsSensorBoardError[4] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard5Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a11_SensorBoard5Error, "ON");
}
}
// 알람 10-센서보드4 에러
@ -207,7 +207,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[3] != false)
{
this.CollectionIsSensorBoardError[3] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard4Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a10_SensorBoard4Error, "OFF");
}
}
else
@ -215,7 +215,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[3] != true)
{
this.CollectionIsSensorBoardError[3] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard4Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a10_SensorBoard4Error, "ON");
}
}
// 알람 9-센서보드3 에러
@ -224,7 +224,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[2] != false)
{
this.CollectionIsSensorBoardError[2] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard3Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a9_SensorBoard3Error, "OFF");
}
}
else
@ -232,7 +232,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[2] != true)
{
this.CollectionIsSensorBoardError[2] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard3Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a9_SensorBoard3Error, "ON");
}
}
@ -242,7 +242,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[1] != false)
{
this.CollectionIsSensorBoardError[1] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a8_SensorBoard2Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a8_SensorBoard2Error, "OFF");
}
}
else
@ -250,7 +250,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[1] != true)
{
this.CollectionIsSensorBoardError[1] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a8_SensorBoard2Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a8_SensorBoard2Error, "ON");
}
}
// 알람 7-센서보드1 에러
@ -259,7 +259,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[0] != false)
{
this.CollectionIsSensorBoardError[0] = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a7_SensorBoard1Error, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a7_SensorBoard1Error, "OFF");
}
}
else
@ -267,7 +267,7 @@ namespace INT_PT002.DataStore
if (this.CollectionIsSensorBoardError[0] != true)
{
this.CollectionIsSensorBoardError[0] = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a7_SensorBoard1Error, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a7_SensorBoard1Error, "ON");
}
}
// 알람 6-압력에러
@ -276,7 +276,7 @@ namespace INT_PT002.DataStore
if (this.IsPressureError != false)
{
this.IsPressureError = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a6_PressureError, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a6_PressureError, "OFF");
}
}
else
@ -284,7 +284,7 @@ namespace INT_PT002.DataStore
if (this.IsPressureError != true)
{
this.IsPressureError = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a6_PressureError, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a6_PressureError, "ON");
}
}
// 알람 5-서보2 토크
@ -293,7 +293,7 @@ namespace INT_PT002.DataStore
if (this.IsServoTorque2AlarmTorque != false)
{
this.IsServoTorque2AlarmTorque = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_Servo2TorqueAlarm, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a5_Servo2TorqueAlarm, "OFF");
}
}
else
@ -301,7 +301,7 @@ namespace INT_PT002.DataStore
if (this.IsServoTorque2AlarmTorque != true)
{
this.IsServoTorque2AlarmTorque = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_Servo2TorqueAlarm, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a5_Servo2TorqueAlarm, "ON");
}
}
@ -311,7 +311,7 @@ namespace INT_PT002.DataStore
if (this.IsServoTorque1AlarmTorque != false)
{
this.IsServoTorque1AlarmTorque = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_Servo1TorqueAlarm, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a4_Servo1TorqueAlarm, "OFF");
}
}
else
@ -319,7 +319,7 @@ namespace INT_PT002.DataStore
if (this.IsServoTorque1AlarmTorque != true)
{
this.IsServoTorque1AlarmTorque = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_Servo1TorqueAlarm, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a4_Servo1TorqueAlarm, "ON");
}
}
// 알람 3-서보2 알람
@ -328,7 +328,7 @@ namespace INT_PT002.DataStore
if (this.IsServo2Alarm != false)
{
this.IsServo2Alarm = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_Servo2Alarm, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a3_Servo2Alarm, "OFF");
}
}
else
@ -336,7 +336,7 @@ namespace INT_PT002.DataStore
if (this.IsServo2Alarm != true)
{
this.IsServo2Alarm = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_Servo2Alarm, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a3_Servo2Alarm, "ON");
}
}
// 알람 2-서보1 알람
@ -345,7 +345,7 @@ namespace INT_PT002.DataStore
if (this.IsServo1Alarm != false)
{
this.IsServo1Alarm = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_Servo1Alarm, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a2_Servo1Alarm, "OFF");
}
}
else
@ -353,7 +353,7 @@ namespace INT_PT002.DataStore
if (this.IsServo1Alarm != true)
{
this.IsServo1Alarm = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_Servo1Alarm, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a2_Servo1Alarm, "ON");
}
}
// 알람 1-서보OFF
@ -362,7 +362,7 @@ namespace INT_PT002.DataStore
if (this.IsServoEmergencyStop != false)
{
this.IsServoEmergencyStop = false;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a1_ServoEmergencyStop, "OFF");
this.EventAlarmStateChange(Define.E_Trackingalarm.a1_ServoEmergencyStop, "OFF");
}
}
else
@ -370,7 +370,7 @@ namespace INT_PT002.DataStore
if (this.IsServoEmergencyStop != true)
{
this.IsServoEmergencyStop = true;
this.EventAlarmStateChange(Define.E_TrackingAlarm.a1_ServoEmergencyStop, "ON");
this.EventAlarmStateChange(Define.E_Trackingalarm.a1_ServoEmergencyStop, "ON");
}
}
}

View File

@ -7,7 +7,7 @@ namespace INT_PT002.DataStore
{
public class Define
{
public delegate void EventHandlerAlarmStateChange(Define.E_TrackingAlarm alarm, string status);
public delegate void EventHandlerAlarmStateChange(Define.E_Trackingalarm alarm, string status);
public enum E_EquipmentStatus
{
@ -65,8 +65,7 @@ namespace INT_PT002.DataStore
{
_0_None,
_1_Information,
_2_Equipment,
_3_Ethernet,
_2_Status,
}
public enum E_DisplayModeStore
@ -74,7 +73,6 @@ namespace INT_PT002.DataStore
MainDisplay,
Recipe,
UserEditor,
UserMyPage,
UserGroupEditor,
IOTest,
LogInspection,
@ -82,13 +80,6 @@ namespace INT_PT002.DataStore
LogAlarm,
Information,
Equipment,
Ethernet,
}
public enum E_CommMode
{
f0_None = 0,
f1_Modbus,
}
public enum E_ProcessStatus2
@ -153,15 +144,24 @@ namespace INT_PT002.DataStore
}
public enum E_UserGroup
{
f0_Level1 = 0,
f1_Level2,
f2_Level3,
f3_Admin,
f4_Developer,
}
public enum E_UserStatus
{
None = 0,
Level1 = 1,
Level2 = 2,
Level3 = 3,
Admin = 4,
Developer = 5,
NotLogin = 6,
LogOut = 7,
Level1,
Level2,
Level3,
Admin,
Developer,
NotLogin,
LogOff,
}
public enum E_TrackingOperation
@ -176,13 +176,6 @@ namespace INT_PT002.DataStore
Zero,
Clear,
UserEditor,
TryEthernetStart,
TryEthernetStop,
ClientConnect,
ClientDisconnect,
ServerON,
ServerOFF,
}
public enum E_TrackingParameter
@ -218,21 +211,9 @@ namespace INT_PT002.DataStore
M1_Front2,
M2_Origin,
M2_Turn,
TCPOpMode,
TCPComMode,
TCPLocalPort,
TCPLocalIPConfig,
TCPLocalIPAddress,
TCPLocalSubnetMask,
TCPLocalGateway,
TCPServerIPAddress,
TCPServerPort,
Mod_Role,
Mod_StartAddr,
}
public enum E_TrackingAlarm
public enum E_Trackingalarm
{
None,
a1_ServoEmergencyStop,
@ -267,12 +248,5 @@ namespace INT_PT002.DataStore
Inspection,
Alarm,
}
public enum E_ModbusFunction
{
_04_ReadInputRegister,
_16_WriteMultipleRegister,
_03_ReadHoldingRegister,
}
}
}

View File

@ -32,25 +32,15 @@ namespace INT_PT002.DataStore
private int m_SB_DATA_PERIOD;
private int m_AUTOMATIC_LOGOUT;
private int m_NUMBER_OF_LOGIN_FAILURE;
private int m_EQUIPMENT_LANE;
private int m_CHECK_LANE;
private int m_ETHERNET_COMM_MODE;
private int m_ETHERNET_OP_MODE;
private int m_ETHERNET_LOCAL_PORT;
private int m_ETHERNET_SERVER_PORT;
private int m_MODBUS_TCP_SELECTFUNCTION;
private int m_MODBUS_TCP_START_ADDRESS;
private string m_SERIAL_NUMBER;
private string m_LEVEL1_NAME;
private string m_LEVEL2_NAME;
private string m_LEVEL3_NAME;
private string m_ETHERNET_SERVER_IP;
#endregion
#region Constructor
@ -148,42 +138,6 @@ namespace INT_PT002.DataStore
get { return this.m_AUTOMATIC_LOGOUT; }
set { this.m_AUTOMATIC_LOGOUT = value; }
}
public int NUMBER_OF_LOGIN_FAILURE
{
get { return this.m_NUMBER_OF_LOGIN_FAILURE; }
set { this.m_NUMBER_OF_LOGIN_FAILURE = value; }
}
public int ETHERNET_COMM_MODE
{
get { return this.m_ETHERNET_COMM_MODE; }
set { this.m_ETHERNET_COMM_MODE = value; }
}
public int ETHERNET_OP_MODE
{
get { return this.m_ETHERNET_OP_MODE; }
set { this.m_ETHERNET_OP_MODE = value; }
}
public int ETHERNET_LOCAL_PORT
{
get { return this.m_ETHERNET_LOCAL_PORT; }
set { this.m_ETHERNET_LOCAL_PORT = value; }
}
public int ETHERNET_SERVER_PORT
{
get { return this.m_ETHERNET_SERVER_PORT; }
set { this.m_ETHERNET_SERVER_PORT = value; }
}
public int MODBUS_TCP_SELECTFUNCTION
{
get { return this.m_MODBUS_TCP_SELECTFUNCTION; }
set { this.m_MODBUS_TCP_SELECTFUNCTION = value; }
}
public int MODBUS_TCP_START_ADDRESS
{
get { return this.m_MODBUS_TCP_START_ADDRESS; }
set { this.m_MODBUS_TCP_START_ADDRESS = value; }
}
public string LEVEL1_NAME
{
@ -201,12 +155,6 @@ namespace INT_PT002.DataStore
set { this.m_LEVEL3_NAME = value; }
}
public string ETHERNET_SERVER_IP
{
get { return this.m_ETHERNET_SERVER_IP; }
set { this.m_ETHERNET_SERVER_IP = value; }
}
public int EQUIPMENT_LANE
{
get { return this.m_EQUIPMENT_LANE; }
@ -243,36 +191,15 @@ namespace INT_PT002.DataStore
this.SB_DIFF_MODE = 1;
this.AUTOMATIC_LOGOUT = 10;
this.NUMBER_OF_LOGIN_FAILURE = 5;
this.ETHERNET_LOCAL_PORT = 0;
this.ETHERNET_SERVER_PORT = 0;
this.ETHERNET_COMM_MODE = 0;
this.ETHERNET_OP_MODE = 0;
this.MODBUS_TCP_SELECTFUNCTION = (int)Define.E_ModbusFunction._04_ReadInputRegister;
this.MODBUS_TCP_START_ADDRESS = 10;
this.EQUIPMENT_LANE = 10;
this.CHECK_LANE = 2;
this.SERIAL_NUMBER = "24D0000";
this.SERIAL_NUMBER = "23D0000";
this.LEVEL1_NAME = "Level 1";
this.LEVEL2_NAME = "Level 2";
this.LEVEL3_NAME = "Level 3";
this.ETHERNET_SERVER_IP = "0.0.0.0";
}
public bool IsEthernetEnable
{
get
{
if (this.ETHERNET_OP_MODE != 0)
return true;
else
return false;
}
}
#endregion
}
@ -281,17 +208,6 @@ namespace INT_PT002.DataStore
[StructLayout(LayoutKind.Sequential)]
public struct StructSystemConfigurationItem
{
public bool DummyBool1;
public bool DummyBool2;
public bool DummyBool3;
public bool DummyBool4;
public bool DummyBool5;
public bool DummyBool6;
public bool DummyBool7;
public bool DummyBool8;
public bool DummyBool9;
public bool DummyBool10;
public int RECIPE_NUMBER;
public Define.E_LanguageID LANGUAGE;
@ -311,27 +227,6 @@ namespace INT_PT002.DataStore
public int EQUIPMENT_LANE;
public int CHECK_LANE;
public int AUTOMATIC_LOGOUT;
public int NUMBER_OF_LOGIN_FAILURE;
public int ETHERNET_COMM_MODE;
public int ETHERNET_OP_MODE;
public int ETHERNET_LOCAL_PORT;
public int ETHERNET_SERVER_PORT;
public int MODBUS_TCP_SELECTFUNCTION;
public int MODBUS_TCP_START_ADDRESS;
public int DummyInt1;
public int DummyInt2;
public int DummyInt3;
public int DummyInt4;
public int DummyInt5;
public int DummyInt6;
public int DummyInt7;
public int DummyInt8;
public int DummyInt9;
public int DummyInt10;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 10)]
public string SERIAL_NUMBER;
@ -341,20 +236,6 @@ namespace INT_PT002.DataStore
public string LEVEL2_NAME;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string LEVEL3_NAME;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string ETHERNET_SERVER_IP;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string DummyString1;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string DummyString2;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string DummyString3;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string DummyString4;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
public string DummyString5;
}
#endregion
}

View File

@ -94,8 +94,7 @@ namespace INT_PT002.DataStore
private bool m_IsMenuInspectionLog;
private bool m_IsMenuAlarmLog;
private bool m_IsMenuInformation;
private bool m_IsMenuEquipment;
private bool m_IsMenuEthernet;
private bool m_IsMenuStatus;
#endregion
#region Constructor
@ -163,15 +162,10 @@ namespace INT_PT002.DataStore
get { return this.m_IsMenuInformation; }
set { this.m_IsMenuInformation = value; }
}
public bool IsMenuEquipment
public bool IsMenuStatus
{
get { return this.m_IsMenuEquipment; }
set { this.m_IsMenuEquipment = value; }
}
public bool IsMenuEthernet
{
get { return this.m_IsMenuEthernet; }
set { this.m_IsMenuEthernet = value; }
get { return this.m_IsMenuStatus; }
set { this.m_IsMenuStatus = value; }
}
public bool IsMainEnable
@ -241,7 +235,7 @@ namespace INT_PT002.DataStore
{
bool ret = false;
if (this.IsMenuInformation == true || this.IsMenuEquipment == true || this.IsMenuEthernet == true)
if (this.IsMenuInformation == true || this.IsMenuStatus == true)
ret = true;
return ret;
@ -264,8 +258,7 @@ namespace INT_PT002.DataStore
this.IsMenuInspectionLog = false;
this.IsMenuAlarmLog = false;
this.IsMenuInformation = false;
this.IsMenuEquipment = false;
this.IsMenuEthernet = false;
this.IsMenuStatus = false;
}
#endregion
}
@ -287,7 +280,6 @@ namespace INT_PT002.DataStore
public bool IsMenuAlarmList;
public bool IsMenuInformation;
public bool IsMenuStatus;
public bool IsMenuEthernet;
public bool Dummy1;
public bool Dummy2;
@ -306,6 +298,7 @@ namespace INT_PT002.DataStore
public bool Dummy15;
public bool Dummy16;
public bool Dummy17;
public bool Dummy18;
}
#endregion
@ -317,27 +310,26 @@ namespace INT_PT002.DataStore
private string m_ID;
private string m_Password;
private string m_ResetPW;
private string m_PreviousPassword1;
private string m_PreviousPassword2;
private string m_PreviousPassword3;
private int m_ExpireId;
private int m_ExpireAccount;
private int m_ExpirePassword;
private bool m_IsLockAccount;
private bool m_IsLockPassword;
private DateTime m_DatePasswordRegister;
private DateTime m_DateIdLogin;
private DateTime m_DatePasswordExpire;
private DateTime m_DateIdExpire;
private DateTime m_DateRegister;
private DateTime m_DateLogin;
private DateTime m_DateExpireRegister;
private DateTime m_DateExpireLogin;
private Define.E_UserGroup m_Group;
private Define.E_UserStatus m_Status;
private bool m_IsAdmin;
private int m_ActiveLevel;
private int m_IsFirstPassword;
private int m_LoginFailCount;
#endregion
#region Constructor
@ -364,16 +356,26 @@ namespace INT_PT002.DataStore
get { return this.m_Password; }
set { this.m_Password = value; }
}
public string ResetPW
public string PreviousPassword1
{
get { return this.m_ResetPW; }
private set { this.m_ResetPW = value; }
get { return this.m_PreviousPassword1; }
set { this.m_PreviousPassword1 = value; }
}
public string PreviousPassword2
{
get { return this.m_PreviousPassword2; }
set { this.m_PreviousPassword2 = value; }
}
public string PreviousPassword3
{
get { return this.m_PreviousPassword3; }
set { this.m_PreviousPassword3 = value; }
}
public int ExpireId
public int ExpireAccount
{
get { return this.m_ExpireId; }
set { this.m_ExpireId = value; }
get { return this.m_ExpireAccount; }
set { this.m_ExpireAccount = value; }
}
public int ExpirePassword
{
@ -392,31 +394,31 @@ namespace INT_PT002.DataStore
set { this.m_IsLockPassword = value; }
}
public DateTime DatePasswordRegister
public DateTime DateRegister
{
get { return this.m_DatePasswordRegister; }
set { this.m_DatePasswordRegister = value; }
get { return this.m_DateRegister; }
set { this.m_DateRegister = value; }
}
public DateTime DateIdLogin
public DateTime DateLogin
{
get { return this.m_DateIdLogin; }
set { this.m_DateIdLogin = value; }
get { return this.m_DateLogin; }
set { this.m_DateLogin = value; }
}
public DateTime DatePasswordExpire
public DateTime DateExpireRegister
{
get { return this.m_DatePasswordExpire; }
set { this.m_DatePasswordExpire = value; }
get { return this.m_DateExpireRegister; }
set { this.m_DateExpireRegister = value; }
}
public DateTime DateIdExpire
public DateTime DateExpireLogin
{
get { return this.m_DateIdExpire; }
set { this.m_DateIdExpire = value; }
get { return this.m_DateExpireLogin; }
set { this.m_DateExpireLogin = value; }
}
public Define.E_UserGroup Group
public Define.E_UserStatus Status
{
get { return this.m_Group; }
set { this.m_Group = value; }
get { return this.m_Status; }
set { this.m_Status = value; }
}
public bool IsAdmin
@ -430,17 +432,6 @@ namespace INT_PT002.DataStore
get { return this.m_ActiveLevel; }
set { this.m_ActiveLevel = value; }
}
public int IsFirstPassword
{
get { return this.m_IsFirstPassword; }
set { this.m_IsFirstPassword = value; }
}
public int LoginFailCount
{
get { return this.m_LoginFailCount; }
set { this.m_LoginFailCount = value; }
}
#endregion
#region Method
@ -449,44 +440,34 @@ namespace INT_PT002.DataStore
this.IsUpdate = false;
this.ID = "";
this.Password = "Password12!";
this.ResetPW = "Password12!";
this.Password = "";
this.ExpireId = 0;
this.PreviousPassword1 = "";
this.PreviousPassword2 = "";
this.PreviousPassword3 = "";
this.ExpireAccount = 0;
this.ExpirePassword = 0;
this.DatePasswordRegister = DateTime.Now;
this.DateIdLogin = DateTime.Now;
this.DatePasswordExpire = DateTime.Now;
this.DateIdExpire = DateTime.Now;
this.DateRegister = DateTime.Now;
this.DateLogin = DateTime.Now;
this.DateExpireRegister = DateTime.Now;
this.DateExpireLogin = DateTime.Now;
this.Group = Define.E_UserGroup.None;
this.Status = Define.E_UserStatus.None;
this.IsAdmin = false;
this.ActiveLevel = 1;
this.IsFirstPassword = 1; //[1] 최초 비밀번호(비밀번호 변경창 띄우기), [0] 비밀번호 변경완료됨
this.LoginFailCount = 5;
}
public int GetPasswordExpiryDday()
public void SetPassword(string pass)
{
int ret = 0;
DateTime timeNow = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day);
TimeSpan dayDiff;
if (this.Group == Define.E_UserGroup.Admin || this.Group == Define.E_UserGroup.Developer)
ret = 9999;
else
{
dayDiff = timeNow.Date - this.DatePasswordExpire.Date;
ret = dayDiff.Days;
this.PreviousPassword3 = this.PreviousPassword2;
this.PreviousPassword2 = this.PreviousPassword1;
this.PreviousPassword1 = pass;
this.Password = pass;
}
return ret;
}
public bool CheckID(string id)
{
bool ret = false;

View File

@ -1,392 +0,0 @@
namespace INT_PT002.DialogForms
{
partial class DialogFormHexKeyPad
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.labelTitle = new SmartX.SmartLabel();
this.labelScreen = new SmartX.SmartLabel();
this.buttonEnter = new System.Windows.Forms.Button();
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonNumber9 = new System.Windows.Forms.Button();
this.buttonNumber6 = new System.Windows.Forms.Button();
this.buttonNumber3 = new System.Windows.Forms.Button();
this.buttonNumber0 = new System.Windows.Forms.Button();
this.buttonNumber8 = new System.Windows.Forms.Button();
this.buttonNumber5 = new System.Windows.Forms.Button();
this.buttonNumber2 = new System.Windows.Forms.Button();
this.buttonNumber7 = new System.Windows.Forms.Button();
this.buttonNumber4 = new System.Windows.Forms.Button();
this.buttonNumber1 = new System.Windows.Forms.Button();
this.buttonCharF = new System.Windows.Forms.Button();
this.buttonCharC = new System.Windows.Forms.Button();
this.buttonCharE = new System.Windows.Forms.Button();
this.buttonCharB = new System.Windows.Forms.Button();
this.buttonCharD = new System.Windows.Forms.Button();
this.buttonCharA = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// labelTitle
//
this.labelTitle.BackGround = null;
this.labelTitle.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle.ForeColor = System.Drawing.Color.White;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(3, 3);
this.labelTitle.Name = "labelTitle";
this.labelTitle.OverlapOptimize = true;
this.labelTitle.PasswordChar = '\0';
this.labelTitle.Radius = 3;
this.labelTitle.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitle.Size = new System.Drawing.Size(200, 20);
this.labelTitle.TabIndex = 75;
this.labelTitle.Text = "Hex Keypad";
this.labelTitle.TextColor = System.Drawing.Color.White;
this.labelTitle.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
this.labelTitle.Wordwrap = false;
//
// labelScreen
//
this.labelScreen.BackGround = null;
this.labelScreen.BackGroundColor = System.Drawing.Color.White;
this.labelScreen.BorderColor = System.Drawing.Color.Black;
this.labelScreen.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelScreen.Font = new System.Drawing.Font("Arial", 40F, System.Drawing.FontStyle.Bold);
this.labelScreen.LineSpacing = 0F;
this.labelScreen.Location = new System.Drawing.Point(16, 29);
this.labelScreen.Name = "labelScreen";
this.labelScreen.OverlapOptimize = true;
this.labelScreen.PasswordChar = '\0';
this.labelScreen.Radius = 3;
this.labelScreen.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelScreen.Size = new System.Drawing.Size(420, 70);
this.labelScreen.TabIndex = 74;
this.labelScreen.Text = "123.45";
this.labelScreen.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelScreen.TextColorDisable = System.Drawing.Color.Gray;
this.labelScreen.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelScreen.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelScreen.Wordwrap = false;
//
// buttonEnter
//
this.buttonEnter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonEnter.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.ForeColor = System.Drawing.Color.White;
this.buttonEnter.Location = new System.Drawing.Point(300, 229);
this.buttonEnter.Name = "buttonEnter";
this.buttonEnter.Size = new System.Drawing.Size(136, 116);
this.buttonEnter.TabIndex = 88;
this.buttonEnter.TabStop = false;
this.buttonEnter.Text = "Enter";
this.buttonEnter.Click += new System.EventHandler(this.buttonEnter_Click);
//
// buttonCancel
//
this.buttonCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCancel.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.ForeColor = System.Drawing.Color.White;
this.buttonCancel.Location = new System.Drawing.Point(229, 229);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(65, 116);
this.buttonCancel.TabIndex = 84;
this.buttonCancel.TabStop = false;
this.buttonCancel.Text = "ESC";
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
//
// buttonNumber9
//
this.buttonNumber9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber9.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber9.ForeColor = System.Drawing.Color.White;
this.buttonNumber9.Location = new System.Drawing.Point(158, 229);
this.buttonNumber9.Name = "buttonNumber9";
this.buttonNumber9.Size = new System.Drawing.Size(65, 55);
this.buttonNumber9.TabIndex = 83;
this.buttonNumber9.TabStop = false;
this.buttonNumber9.Text = "9";
this.buttonNumber9.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber6
//
this.buttonNumber6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber6.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber6.ForeColor = System.Drawing.Color.White;
this.buttonNumber6.Location = new System.Drawing.Point(158, 168);
this.buttonNumber6.Name = "buttonNumber6";
this.buttonNumber6.Size = new System.Drawing.Size(65, 55);
this.buttonNumber6.TabIndex = 85;
this.buttonNumber6.TabStop = false;
this.buttonNumber6.Text = "6";
this.buttonNumber6.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber3
//
this.buttonNumber3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber3.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber3.ForeColor = System.Drawing.Color.White;
this.buttonNumber3.Location = new System.Drawing.Point(158, 107);
this.buttonNumber3.Name = "buttonNumber3";
this.buttonNumber3.Size = new System.Drawing.Size(65, 55);
this.buttonNumber3.TabIndex = 87;
this.buttonNumber3.TabStop = false;
this.buttonNumber3.Text = "3";
this.buttonNumber3.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber0
//
this.buttonNumber0.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber0.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber0.ForeColor = System.Drawing.Color.White;
this.buttonNumber0.Location = new System.Drawing.Point(16, 290);
this.buttonNumber0.Name = "buttonNumber0";
this.buttonNumber0.Size = new System.Drawing.Size(207, 55);
this.buttonNumber0.TabIndex = 86;
this.buttonNumber0.TabStop = false;
this.buttonNumber0.Text = "0";
this.buttonNumber0.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber8
//
this.buttonNumber8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber8.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber8.ForeColor = System.Drawing.Color.White;
this.buttonNumber8.Location = new System.Drawing.Point(87, 229);
this.buttonNumber8.Name = "buttonNumber8";
this.buttonNumber8.Size = new System.Drawing.Size(65, 55);
this.buttonNumber8.TabIndex = 82;
this.buttonNumber8.TabStop = false;
this.buttonNumber8.Text = "8";
this.buttonNumber8.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber5
//
this.buttonNumber5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber5.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber5.ForeColor = System.Drawing.Color.White;
this.buttonNumber5.Location = new System.Drawing.Point(87, 168);
this.buttonNumber5.Name = "buttonNumber5";
this.buttonNumber5.Size = new System.Drawing.Size(65, 55);
this.buttonNumber5.TabIndex = 78;
this.buttonNumber5.TabStop = false;
this.buttonNumber5.Text = "5";
this.buttonNumber5.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber2
//
this.buttonNumber2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber2.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber2.ForeColor = System.Drawing.Color.White;
this.buttonNumber2.Location = new System.Drawing.Point(87, 107);
this.buttonNumber2.Name = "buttonNumber2";
this.buttonNumber2.Size = new System.Drawing.Size(65, 55);
this.buttonNumber2.TabIndex = 77;
this.buttonNumber2.TabStop = false;
this.buttonNumber2.Text = "2";
this.buttonNumber2.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber7
//
this.buttonNumber7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber7.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber7.ForeColor = System.Drawing.Color.White;
this.buttonNumber7.Location = new System.Drawing.Point(16, 229);
this.buttonNumber7.Name = "buttonNumber7";
this.buttonNumber7.Size = new System.Drawing.Size(65, 55);
this.buttonNumber7.TabIndex = 81;
this.buttonNumber7.TabStop = false;
this.buttonNumber7.Text = "7";
this.buttonNumber7.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber4
//
this.buttonNumber4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber4.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber4.ForeColor = System.Drawing.Color.White;
this.buttonNumber4.Location = new System.Drawing.Point(16, 168);
this.buttonNumber4.Name = "buttonNumber4";
this.buttonNumber4.Size = new System.Drawing.Size(65, 55);
this.buttonNumber4.TabIndex = 80;
this.buttonNumber4.TabStop = false;
this.buttonNumber4.Text = "4";
this.buttonNumber4.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonNumber1
//
this.buttonNumber1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonNumber1.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonNumber1.ForeColor = System.Drawing.Color.White;
this.buttonNumber1.Location = new System.Drawing.Point(16, 107);
this.buttonNumber1.Name = "buttonNumber1";
this.buttonNumber1.Size = new System.Drawing.Size(65, 55);
this.buttonNumber1.TabIndex = 79;
this.buttonNumber1.TabStop = false;
this.buttonNumber1.Text = "1";
this.buttonNumber1.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonCharF
//
this.buttonCharF.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCharF.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCharF.ForeColor = System.Drawing.Color.White;
this.buttonCharF.Location = new System.Drawing.Point(371, 168);
this.buttonCharF.Name = "buttonCharF";
this.buttonCharF.Size = new System.Drawing.Size(65, 55);
this.buttonCharF.TabIndex = 93;
this.buttonCharF.TabStop = false;
this.buttonCharF.Text = "F";
this.buttonCharF.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonCharC
//
this.buttonCharC.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCharC.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCharC.ForeColor = System.Drawing.Color.White;
this.buttonCharC.Location = new System.Drawing.Point(371, 107);
this.buttonCharC.Name = "buttonCharC";
this.buttonCharC.Size = new System.Drawing.Size(65, 55);
this.buttonCharC.TabIndex = 94;
this.buttonCharC.TabStop = false;
this.buttonCharC.Text = "C";
this.buttonCharC.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonCharE
//
this.buttonCharE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCharE.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCharE.ForeColor = System.Drawing.Color.White;
this.buttonCharE.Location = new System.Drawing.Point(300, 168);
this.buttonCharE.Name = "buttonCharE";
this.buttonCharE.Size = new System.Drawing.Size(65, 55);
this.buttonCharE.TabIndex = 90;
this.buttonCharE.TabStop = false;
this.buttonCharE.Text = "E";
this.buttonCharE.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonCharB
//
this.buttonCharB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCharB.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCharB.ForeColor = System.Drawing.Color.White;
this.buttonCharB.Location = new System.Drawing.Point(300, 107);
this.buttonCharB.Name = "buttonCharB";
this.buttonCharB.Size = new System.Drawing.Size(65, 55);
this.buttonCharB.TabIndex = 89;
this.buttonCharB.TabStop = false;
this.buttonCharB.Text = "B";
this.buttonCharB.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonCharD
//
this.buttonCharD.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCharD.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCharD.ForeColor = System.Drawing.Color.White;
this.buttonCharD.Location = new System.Drawing.Point(229, 168);
this.buttonCharD.Name = "buttonCharD";
this.buttonCharD.Size = new System.Drawing.Size(65, 55);
this.buttonCharD.TabIndex = 92;
this.buttonCharD.TabStop = false;
this.buttonCharD.Text = "D";
this.buttonCharD.Click += new System.EventHandler(this.buttonNumber_Click);
//
// buttonCharA
//
this.buttonCharA.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCharA.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCharA.ForeColor = System.Drawing.Color.White;
this.buttonCharA.Location = new System.Drawing.Point(229, 107);
this.buttonCharA.Name = "buttonCharA";
this.buttonCharA.Size = new System.Drawing.Size(65, 55);
this.buttonCharA.TabIndex = 91;
this.buttonCharA.TabStop = false;
this.buttonCharA.Text = "A";
this.buttonCharA.Click += new System.EventHandler(this.buttonNumber_Click);
//
// DialogFormHexKeyPad
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.ClientSize = new System.Drawing.Size(455, 360);
this.ControlBox = false;
this.Controls.Add(this.buttonCharF);
this.Controls.Add(this.buttonCharC);
this.Controls.Add(this.buttonCharE);
this.Controls.Add(this.buttonCharB);
this.Controls.Add(this.buttonCharD);
this.Controls.Add(this.buttonCharA);
this.Controls.Add(this.buttonEnter);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonNumber9);
this.Controls.Add(this.buttonNumber6);
this.Controls.Add(this.buttonNumber3);
this.Controls.Add(this.buttonNumber0);
this.Controls.Add(this.buttonNumber8);
this.Controls.Add(this.buttonNumber5);
this.Controls.Add(this.buttonNumber2);
this.Controls.Add(this.buttonNumber7);
this.Controls.Add(this.buttonNumber4);
this.Controls.Add(this.buttonNumber1);
this.Controls.Add(this.labelTitle);
this.Controls.Add(this.labelScreen);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DialogFormHexKeyPad";
this.Text = "DialogFormPasswordKeyPad1";
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartLabel labelTitle;
private SmartX.SmartLabel labelScreen;
private System.Windows.Forms.Button buttonEnter;
private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Button buttonNumber9;
private System.Windows.Forms.Button buttonNumber6;
private System.Windows.Forms.Button buttonNumber3;
private System.Windows.Forms.Button buttonNumber0;
private System.Windows.Forms.Button buttonNumber8;
private System.Windows.Forms.Button buttonNumber5;
private System.Windows.Forms.Button buttonNumber2;
private System.Windows.Forms.Button buttonNumber7;
private System.Windows.Forms.Button buttonNumber4;
private System.Windows.Forms.Button buttonNumber1;
private System.Windows.Forms.Button buttonCharF;
private System.Windows.Forms.Button buttonCharC;
private System.Windows.Forms.Button buttonCharE;
private System.Windows.Forms.Button buttonCharB;
private System.Windows.Forms.Button buttonCharD;
private System.Windows.Forms.Button buttonCharA;
}
}

View File

@ -1,162 +0,0 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using SmartX;
using INT_PT002.DataStore;
namespace INT_PT002.DialogForms
{
public partial class DialogFormHexKeyPad : Form
{
#region Field
private string m_InputKey;
private int m_Digit;
private string m_StringValue;
#endregion
#region Property
public string InputKey
{
get { return this.m_InputKey; }
set { this.m_InputKey = value; }
}
private int Digit
{
get { return this.m_Digit; }
set { this.m_Digit = value; }
}
public string StringValue
{
get { return this.m_StringValue; }
private set { this.m_StringValue = value; }
}
#endregion
#region Constructor
public DialogFormHexKeyPad(string value, int digit, Define.E_LanguageID language)
{
InitializeComponent();
this.InitializeDesign(language);
this.Digit = digit;
this.labelScreen.Text = value;
}
#endregion
#region Method
private void InputNum(string key)
{
if (this.InputKey.Length >= this.Digit)
{
this.InputKey = key;
this.labelScreen.Text = this.InputKey;
}
else
{
this.InputKey += key;
this.labelScreen.Text = this.InputKey;
}
}
private void InitializeDesign(Define.E_LanguageID language)
{
if (language == Define.E_LanguageID.English)
{
this.buttonCancel.Text = "ESC";
this.buttonEnter.Text = "Enter";
}
else
{
this.buttonCancel.Text = "ESC";
this.buttonEnter.Text = "Enter";
}
}
private void InitializeControl()
{
int x = 0, y = 0;
x = Screen.PrimaryScreen.Bounds.Width / 2 - this.Size.Width / 2;
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.Size.Height / 2;
this.Location = new Point(x, y);
this.Size = new Size(455, 360);
this.InputKey = "";
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeControl();
}
#endregion
#region Event Handler
private void buttonEnter_Click(object sender, EventArgs e)
{
if (this.labelScreen.Text.Length == this.Digit)
{
this.StringValue = this.labelScreen.Text;
this.DialogResult = DialogResult.OK;
}
}
private void buttonNumber_Click(object sender, EventArgs e)
{
Button bt = sender as Button;
if (bt == null)
return;
if (bt == this.buttonNumber0)
this.InputNum("0");
else if (bt == this.buttonNumber1)
this.InputNum("1");
else if (bt == this.buttonNumber2)
this.InputNum("2");
else if (bt == this.buttonNumber3)
this.InputNum("3");
else if (bt == this.buttonNumber4)
this.InputNum("4");
else if (bt == this.buttonNumber5)
this.InputNum("5");
else if (bt == this.buttonNumber6)
this.InputNum("6");
else if (bt == this.buttonNumber7)
this.InputNum("7");
else if (bt == this.buttonNumber8)
this.InputNum("8");
else if (bt == this.buttonNumber9)
this.InputNum("9");
else if (bt == this.buttonCharA)
this.InputNum("A");
else if (bt == this.buttonCharB)
this.InputNum("B");
else if (bt == this.buttonCharC)
this.InputNum("C");
else if (bt == this.buttonCharD)
this.InputNum("D");
else if (bt == this.buttonCharE)
this.InputNum("E");
else if (bt == this.buttonCharF)
this.InputNum("F");
}
private void buttonCancel_Click(object sender, EventArgs e)
{
this.Close();
}
#endregion
}
}

View File

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>
<metadata name="$this.Skin" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@ -32,8 +32,8 @@
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.textBoxID = new System.Windows.Forms.TextBox();
this.labelTitlePassword = new SmartX.SmartLabel();
this.labelTitleID = new SmartX.SmartLabel();
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();
@ -49,8 +49,8 @@
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Controls.Add(this.textBoxPassword);
this.smartGroupBox1.Controls.Add(this.textBoxID);
this.smartGroupBox1.Controls.Add(this.labelTitlePassword);
this.smartGroupBox1.Controls.Add(this.labelTitleID);
this.smartGroupBox1.Controls.Add(this.smartLabel3);
this.smartGroupBox1.Controls.Add(this.smartLabel2);
this.smartGroupBox1.Controls.Add(this.buttonCancel);
this.smartGroupBox1.Controls.Add(this.buttonLogOn);
this.smartGroupBox1.Controls.Add(this.smartKeyboard);
@ -62,7 +62,7 @@
this.smartGroupBox1.Location = new System.Drawing.Point(0, 0);
this.smartGroupBox1.Name = "smartGroupBox1";
this.smartGroupBox1.RoundRadius = 5;
this.smartGroupBox1.Size = new System.Drawing.Size(650, 400);
this.smartGroupBox1.Size = new System.Drawing.Size(600, 379);
this.smartGroupBox1.TabIndex = 8;
this.smartGroupBox1.Text = "Login";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
@ -70,9 +70,8 @@
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(199, 97);
this.textBoxPassword.Location = new System.Drawing.Point(141, 94);
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
this.textBoxPassword.Size = new System.Drawing.Size(261, 37);
this.textBoxPassword.TabIndex = 98;
this.textBoxPassword.GotFocus += new System.EventHandler(this.textBoxPassword_GotFocus);
@ -80,57 +79,57 @@
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(199, 54);
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);
//
// labelTitlePassword
// smartLabel3
//
this.labelTitlePassword.BackGround = null;
this.labelTitlePassword.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelTitlePassword.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitlePassword.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelTitlePassword.LineSpacing = 0F;
this.labelTitlePassword.Location = new System.Drawing.Point(23, 97);
this.labelTitlePassword.Name = "labelTitlePassword";
this.labelTitlePassword.OverlapOptimize = true;
this.labelTitlePassword.PasswordChar = '\0';
this.labelTitlePassword.Radius = 3;
this.labelTitlePassword.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitlePassword.Size = new System.Drawing.Size(170, 37);
this.labelTitlePassword.TabIndex = 96;
this.labelTitlePassword.Text = "Password";
this.labelTitlePassword.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePassword.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitlePassword.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitlePassword.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitlePassword.Wordwrap = false;
this.smartLabel3.BackGround = null;
this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel3.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(23, 94);
this.smartLabel3.Name = "smartLabel3";
this.smartLabel3.OverlapOptimize = true;
this.smartLabel3.PasswordChar = '\0';
this.smartLabel3.Radius = 3;
this.smartLabel3.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel3.Size = new System.Drawing.Size(112, 37);
this.smartLabel3.TabIndex = 96;
this.smartLabel3.Text = "Password";
this.smartLabel3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel3.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel3.Wordwrap = false;
//
// labelTitleID
// smartLabel2
//
this.labelTitleID.BackGround = null;
this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelTitleID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleID.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(23, 54);
this.labelTitleID.Name = "labelTitleID";
this.labelTitleID.OverlapOptimize = true;
this.labelTitleID.PasswordChar = '\0';
this.labelTitleID.Radius = 3;
this.labelTitleID.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleID.Size = new System.Drawing.Size(170, 37);
this.labelTitleID.TabIndex = 95;
this.labelTitleID.Text = "ID";
this.labelTitleID.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleID.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleID.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleID.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleID.Wordwrap = false;
this.smartLabel2.BackGround = null;
this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartLabel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel2.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(23, 51);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.OverlapOptimize = true;
this.smartLabel2.PasswordChar = '\0';
this.smartLabel2.Radius = 3;
this.smartLabel2.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel2.Size = new System.Drawing.Size(112, 37);
this.smartLabel2.TabIndex = 95;
this.smartLabel2.Text = "ID";
this.smartLabel2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel2.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel2.Wordwrap = false;
//
// buttonCancel
//
@ -142,12 +141,12 @@
this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonCancel.ButtonText = "Cancel";
this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 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;
this.buttonCancel.ImageUp = null;
this.buttonCancel.Location = new System.Drawing.Point(552, 54);
this.buttonCancel.Location = new System.Drawing.Point(494, 51);
this.buttonCancel.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.NestedClickEventPrevent = false;
@ -178,12 +177,12 @@
this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonLogOn.ButtonText = "Login";
this.buttonLogOn.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLogOn.Font = new System.Drawing.Font("새굴림", 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;
this.buttonLogOn.ImageUp = null;
this.buttonLogOn.Location = new System.Drawing.Point(466, 54);
this.buttonLogOn.Location = new System.Drawing.Point(408, 51);
this.buttonLogOn.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonLogOn.Name = "buttonLogOn";
this.buttonLogOn.NestedClickEventPrevent = false;
@ -229,7 +228,7 @@
this.smartKeyboard.KeyUpImage1 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage1")));
this.smartKeyboard.KeyUpImage2 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage2")));
this.smartKeyboard.KeyUpImage3 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage3")));
this.smartKeyboard.Location = new System.Drawing.Point(6, 143);
this.smartKeyboard.Location = new System.Drawing.Point(7, 139);
this.smartKeyboard.MarginLeftRight = 7;
this.smartKeyboard.MarginTopBottom = 7;
this.smartKeyboard.Name = "smartKeyboard";
@ -237,8 +236,8 @@
this.smartKeyboard.Radius = 5;
this.smartKeyboard.RoundedCorners = false;
this.smartKeyboard.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.smartKeyboard.Size = new System.Drawing.Size(637, 252);
this.smartKeyboard.SizeRunTime = new System.Drawing.Size(637, 252);
this.smartKeyboard.Size = new System.Drawing.Size(585, 232);
this.smartKeyboard.SizeRunTime = new System.Drawing.Size(585, 232);
this.smartKeyboard.TabIndex = 90;
this.smartKeyboard.TABKeyDisable = false;
this.smartKeyboard.TargetInputObject = null;
@ -264,7 +263,7 @@
this.smartForm1.Mode = SmartXUIBase.SmartUIControlFormBase.RUNMODE.RUNTIME;
this.smartForm1.MouseCursor = SmartX.SmartForm.OnOff.OFF;
this.smartForm1.Name = "smartForm1";
this.smartForm1.Size = new System.Drawing.Size(650, 400);
this.smartForm1.Size = new System.Drawing.Size(600, 379);
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.UseMainMenu = false;
//
@ -272,7 +271,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(650, 400);
this.ClientSize = new System.Drawing.Size(600, 379);
this.ControlBox = false;
this.Controls.Add(this.smartForm1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
@ -290,8 +289,8 @@
private SmartX.SmartButton buttonCancel;
private SmartX.SmartButton buttonLogOn;
private SmartX.SmartKeyboard smartKeyboard;
private SmartX.SmartLabel labelTitlePassword;
private SmartX.SmartLabel labelTitleID;
private SmartX.SmartLabel smartLabel3;
private SmartX.SmartLabel smartLabel2;
private System.Windows.Forms.TextBox textBoxID;
private System.Windows.Forms.TextBox textBoxPassword;
private SmartX.SmartForm smartForm1;

View File

@ -17,32 +17,16 @@ namespace INT_PT002.Forms
{
#region Field
private FormMain m_ParentForm;
private bool IsLoginMode;
private bool IsChangePassword;
#endregion
#region Constructor
public DialogFormLogOn(FormMain parent, bool login, bool changePass)
public DialogFormLogOn(FormMain parent)
{
InitializeComponent();
this.ParentForm = parent;
this.IsLoginMode = login;
this.IsChangePassword = changePass;
if (this.IsChangePassword == false)
{
this.InitializeDesignForLogin();
this.textBoxID.PasswordChar = default(char);
}
else
{
this.InitializeDesignForChangePassword();
this.textBoxID.PasswordChar = '*';
}
this.InitializeDesign();
this.InitializeControl();
this.DefaultSetting();
}
@ -57,74 +41,6 @@ namespace INT_PT002.Forms
#endregion
#region Method
private string ReturnUserStatus(int num)
{
string ret = "";
switch (num)
{
case 1:
ret = "ID_Not found";
break;
case 2:
ret = "ID_Duplication";
break;
case 3:
ret = "ID_Too short";
break;
case 4:
ret = "ID_Too long";
break;
case 5:
ret = "ID_Consecutive or duplicate char";
break;
case 6:
ret = "ID_Invalid char";
break;
case 7:
ret = "ID_Lock";
break;
case 8:
ret = "PW_Duplicate prev PW";
break;
case 9:
ret = "PW_Too short";
break;
case 10:
ret = "PW_Too long";
break;
case 11:
ret = "PW_Consecutive or duplicate char";
break;
case 12:
ret = "PW_Invalid char";
break;
case 13:
ret = "PW_Not include char";
break;
case 14:
ret = "PW_Incorrect";
break;
case 15:
ret = "PW_Lock";
break;
case 16:
ret = "PW_Over expire period";
break;
case 17:
ret = "ID_Over expire period";
break;
case 18:
ret = "Auto logout";
break;
default:
ret = "";
break;
}
return ret;
}
private void InitializeDesign()
{
@ -135,13 +51,7 @@ namespace INT_PT002.Forms
this.textBoxPassword.Text = "";
this.textBoxID.Focus();
int x = 0, y = 0;
x = Screen.PrimaryScreen.Bounds.Width / 2 - this.Size.Width / 2;
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.Size.Height / 2;
this.Location = new Point(x, y);
this.Size = new Size(650, 400);
this.Location = new Point(157, 150);
//this.smartKeyboard.HanYoungKeyToggle();
this.smartKeyboard.HanYoungKeyDisable = true;
@ -153,293 +63,18 @@ namespace INT_PT002.Forms
}
private void InitializeDesignForLogin()
public void CB_UserLogin(UserItem item)
{
if (this.ParentForm.SystemConfig.LANGUAGE == Define.E_LanguageID.English)
{
this.smartGroupBox1.Text = "User Login";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "Password";
}
else
{
this.smartGroupBox1.Text = "로그인";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "비밀번호";
}
}
private void InitializeDesignForChangePassword()
{
if (this.ParentForm.SystemConfig.LANGUAGE == Define.E_LanguageID.English)
{
this.smartGroupBox1.Text = "Change Password";
this.labelTitleID.Text = "New";
this.labelTitlePassword.Text = "Verify";
}
else
{
this.smartGroupBox1.Text = "비밀번호 변경";
this.labelTitleID.Text = "새 비밀번호";
this.labelTitlePassword.Text = "비밀번호 확인";
}
}
private void LogOn()
{
UserManager.UserMgr_user_info_t userInfo = new UserManager.UserMgr_user_info_t();
if (this.textBoxID.Text == "")
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : ID blank");
// ID : 6~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 3, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (this.textBoxPassword.Text == "")
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : PW blank");
// PASSWORD : 6~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (this.textBoxID.Text == "admin00" && this.textBoxPassword.Text == "admin20090810")
{
DialogFormYesNo dlg = new DialogFormYesNo(this.ParentForm.SystemConfig.LANGUAGE, 29);
if (dlg.ShowDialog() == DialogResult.Yes)
{
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
this.DialogResult = DialogResult.Abort;
this.Close();
}
return;
}
UserManager.UserManager_UserLoginDirect(this.textBoxID.Text, this.textBoxPassword.Text, ref userInfo);
//Console.Write("\n" + string.Format("userInfo.fFirstPW {0:yyyy-MM-dd HH:mm:ss}: {1}", DateTime.Now, userInfo.fFirstPW));
//Console.Write("\n" + string.Format("userInfo.status {0:yyyy-MM-dd HH:mm:ss}: {1}", DateTime.Now, userInfo.status));
if (userInfo.status == 0 && userInfo.fFirstPW == 0)
{
//MessageBox.Show("로그인 성공");
#region 로그인 성공
if (userInfo.active_level == 1)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Level1;
else if (userInfo.active_level == 2)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Level2;
else if (userInfo.active_level == 3)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Level3;
else if (userInfo.active_level == 9)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Admin;
else if (userInfo.active_level == 10)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Developer;
this.ParentForm.CurrentSystemStatus.CurrentUser.ID = userInfo.user_id;
this.ParentForm.CurrentSystemStatus.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.CurrentSystemStatus.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.CurrentSystemStatus.CurrentUser.ExpirePassword = userInfo.password_expire_period;
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DatePasswordRegister = time;
time = DateTime.ParseExact(userInfo.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateIdLogin = time;
time = DateTime.ParseExact(userInfo.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateIdExpire = time;
time = DateTime.ParseExact(userInfo.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DatePasswordExpire = time;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockAccount = userInfo.id_flock_status == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockPassword = userInfo.password_flock_status == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.ActiveLevel = userInfo.active_level;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsFirstPassword = userInfo.fFirstPW;
#endregion
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Success");
this.DialogResult = DialogResult.OK;
this.Close();
}
else if (userInfo.fFirstPW == 1)
#region Override Member
protected override void OnLoad(EventArgs e)
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "First login", this.textBoxID.Text);
base.OnLoad(e);
// 최초 로그인 시 비밀번호 변경
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
this.DialogResult = DialogResult.Abort;
this.Close();
}
else if (userInfo.status == 14) // password error
{
if (this.textBoxID.Text == "admin00")
{
// 비밀번호를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (userInfo.login_fail_count < this.ParentForm.SystemConfig.NUMBER_OF_LOGIN_FAILURE)
{
// 비밀번호 n회 오류입니다
// n회 오류 시, 계정이 잠금처리됩니다.
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, userInfo.login_fail_count,
this.ParentForm.SystemConfig.NUMBER_OF_LOGIN_FAILURE, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, string.Format("Fail : PW error {0}", userInfo.login_fail_count), this.textBoxID.Text);
}
else
{
// 계정이 잠금처리 되었습니다.
// 관리자에게 문의하세요.
DialogFormMessage myMsg = new DialogFormMessage(null, 19, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
UserManager.UserManager_UserLoginFailLockSet(this.textBoxID.Text);
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Account lock", this.textBoxID.Text);
}
}
else
{
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
// 비밀번호 만료 시
if (userInfo.status == 15)
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Password expiration", this.textBoxID.Text);
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
this.DialogResult = DialogResult.Abort;
this.Close();
}
else
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : " + this.ReturnUserStatus(userInfo.status), this.textBoxID.Text);
}
}
}
private void ChangePassword()
{
int ret = 0;
string id = "", pass = "";
UserManager.UserMgr_user_info_t userInfo = new UserManager.UserMgr_user_info_t();
if (this.textBoxID.Text == "")
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : TextBox1 blank");
// New Password : 6~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (this.textBoxPassword.Text == "")
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : TextBox2 blank");
// New Password Confirmation : 6~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (this.textBoxID.Text.Equals(this.textBoxPassword.Text) == false)
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : Diffrent char");
// 비밀번호를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 14, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (this.IsLoginMode == true)
id = this.ParentForm.CurrentSystemStatus.CurrentUser.ID;
else
id = this.ParentForm.ChildFormMainDisplay.ChangeID;
pass = this.textBoxID.Text;
ret = UserManager.UserManager_UserModifyPWDirect(id, pass);
// 비밀번호 변경이 완료 되면 로그인 시도
if (ret == 0)
{
UserManager.UserManager_UserLoginDirect(id, pass, ref userInfo);
if (userInfo.status == 0)
{
//MessageBox.Show("로그인 성공");
#region 로그인 성공
if (userInfo.active_level == 1)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Level1;
else if (userInfo.active_level == 2)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Level2;
else if (userInfo.active_level == 3)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Level3;
else if (userInfo.active_level == 9)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Admin;
else if (userInfo.active_level == 10)
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.Developer;
this.ParentForm.CurrentSystemStatus.CurrentUser.ID = userInfo.user_id;
this.ParentForm.CurrentSystemStatus.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.CurrentSystemStatus.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.CurrentSystemStatus.CurrentUser.ExpirePassword = userInfo.password_expire_period;
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DatePasswordRegister = time;
time = DateTime.ParseExact(userInfo.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateIdLogin = time;
time = DateTime.ParseExact(userInfo.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateIdExpire = time;
time = DateTime.ParseExact(userInfo.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DatePasswordExpire = time;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockAccount = userInfo.id_flock_status == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockPassword = userInfo.password_flock_status == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.ActiveLevel = userInfo.active_level;
this.ParentForm.CurrentSystemStatus.CurrentUser.IsFirstPassword = userInfo.fFirstPW;
#endregion
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Success");
this.DialogResult = DialogResult.OK;
this.Close();
}
else
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Fail : " + this.ReturnUserStatus(ret));
DialogFormMessage myMsg = new DialogFormMessage(null, ret, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
}
}
else
{
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Failure change password");
// 비밀번호 변경 실패 시 메시지??
DialogFormMessage myMsg = new DialogFormMessage(null, ret, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
}
this.Size = new Size(602, 381);
}
#endregion
@ -449,10 +84,167 @@ namespace INT_PT002.Forms
// Automatic Logout Reset
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
if (this.IsChangePassword == false)
this.LogOn();
#region Login1
//User user = null;
//user = this.ParentForm.CurrentCollectionUser.FindUser(this.labelID.Text);
//if (user != null)
//{
// if (user.Password == this.labelPassword.Text)
// {
// this.ParentForm.SystemConfig.CURRENT_USER.ID = user.ID;
// this.ParentForm.SystemConfig.CURRENT_USER.Password = user.Password;
// this.ParentForm.SystemConfig.CURRENT_USER.Group = user.Group;
// this.DialogResult = DialogResult.OK;
// this.Close();
// }
// else
// {
// DialogFormMessage myMsg = new DialogFormMessage(33, this.ParentForm.SystemConfig.LANGUAGE);
// myMsg.ShowDialog();
// }
//}
//else
//{
// DialogFormMessage myMsg = new DialogFormMessage(32, this.ParentForm.SystemConfig.LANGUAGE);
// myMsg.ShowDialog();
//}
#endregion
#region Login2
//UserItem user = null;
//user = this.ParentForm.FindUser(this.labelID.Text);
//if (user != null)
//{
// if (user.Password == this.labelPassword.Text)
// {
// if (user.ID == "Intech")
// this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.Developer;
// else if (user.ID == "Admin00")
// this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.Admin;
// else
// this.ParentForm.SystemConfig.CURRENT_USER.Status = Define.E_UserStatus.Guest;
// this.ParentForm.SystemConfig.CURRENT_USER.ID = user.ID;
// this.ParentForm.SystemConfig.CURRENT_USER.Password = user.Password;
// this.ParentForm.SystemConfig.CURRENT_USER.PreviousPassword1 = user.PreviousPassword1;
// this.ParentForm.SystemConfig.CURRENT_USER.PreviousPassword2 = user.PreviousPassword2;
// this.ParentForm.SystemConfig.CURRENT_USER.PreviousPassword3 = user.PreviousPassword3;
// this.ParentForm.SystemConfig.CURRENT_USER.ExpireAccount = user.ExpireAccount;
// this.ParentForm.SystemConfig.CURRENT_USER.ExpirePassword = user.ExpirePassword;
// this.ParentForm.SystemConfig.CURRENT_USER.DateRegister = user.DateRegister;
// this.ParentForm.SystemConfig.CURRENT_USER.DateLogin = user.DateLogin; // Login 시간 저장하는 코드 추가할것
// this.ParentForm.SystemConfig.CURRENT_USER.IsAdmin = user.IsAdmin;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMainProductNo = user.IsMainProductNo;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMainWeightSetting = user.IsMainWeightSetting;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMainClear = user.IsMainClear;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMainSubMenu = user.IsMainSubMenu;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuTimeSetting = user.IsMenuTimeSetting;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuInformation = user.IsMenuInformation;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuDataBackup = user.IsMenuDataBackup;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuConfiguration = user.IsMenuConfiguration;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuCalibration = user.IsMenuCalibration;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuSystemSetting = user.IsMenuSystemSetting;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuMotorSetting = user.IsMenuMotorSetting;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuIOTest = user.IsMenuIOTest;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuUpdate = user.IsMenuUpdate;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuFactoryReset = user.IsMenuFactoryReset;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuUserEditor = user.IsMenuUserEditor;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuEquipmentSetting = user.IsMenuEquipmentSetting;
// this.ParentForm.SystemConfig.CURRENT_USER.IsMenuDataStatistics = user.IsMenuDataStatistics;
// this.DialogResult = DialogResult.OK;
// this.Close();
// }
// else
// {
// // Password 확인하세요
// DialogFormMessage myMsg = new DialogFormMessage(33, this.ParentForm.SystemConfig.LANGUAGE);
// myMsg.ShowDialog();
// }
//}
//else
//{
// // ID 확인하세요
// DialogFormMessage myMsg = new DialogFormMessage(32, this.ParentForm.SystemConfig.LANGUAGE);
// myMsg.ShowDialog();
//}
#endregion
#region Login3
UserManager.UserMgr_user_info_t userInfo = new UserManager.UserMgr_user_info_t();
if (this.textBoxID.Text == "")
{
// ID : 4~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 3, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
if (this.textBoxPassword.Text == "")
{
// PASSWORD : 4~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
return;
}
UserManager.UserManager_UserLoginDirect(this.textBoxID.Text, this.textBoxPassword.Text, ref userInfo);
if (userInfo.status == 0)
{
//MessageBox.Show("로그인 성공");
#region 로그인 성공
if (userInfo.active_level == 1)
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Level1;
else if (userInfo.active_level == 2)
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Level2;
else if (userInfo.active_level == 3)
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Level3;
else if(userInfo.active_level == 9)
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Admin;
else if (userInfo.active_level == 10)
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.Developer;
this.ParentForm.CurrentSystemStatus.CurrentUser.ID = userInfo.user_id;
this.ParentForm.CurrentSystemStatus.CurrentUser.Password = userInfo.user_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.CurrentSystemStatus.CurrentUser.DateRegister = time;
time = DateTime.ParseExact(userInfo.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateLogin = time;
time = DateTime.ParseExact(userInfo.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireLogin = time;
time = DateTime.ParseExact(userInfo.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireRegister = time;
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.CurrentSystemStatus.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.CurrentSystemStatus.CurrentUser.ActiveLevel = userInfo.active_level;
#endregion
this.DialogResult = DialogResult.OK;
this.Close();
}
else
this.ChangePassword();
{
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.LANGUAGE);
myMsg.ShowDialog();
}
#endregion
}
private void buttonCancel_Click(object sender, EventArgs e)
{

View File

@ -599,43 +599,40 @@
</data>
<data name="smartForm1.BackImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAooAAAGQCAYAAAAp0UHsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAgNSURBVHhe7dZZlhVUFkXR2//mpJlWaY2gKIqCIEhQRADR
jef5jTNWE+bH3GM3YZ3/3Lu6AADAJhQBAEhCEQCAJBQBAEhCEQCAJBQBAEhCEQCAJBQBAEjnkxkAANiE
IgAASSgCAJCEIgAA6Xzy4xwAAFiEIgAASSgCAJCEIgAA6fx3BgAANqEIAEASigAAJKEIAEASigAAJKEI
AEASigAApPO/+1cXAADYhCIAAEkoAgCQhCIAAEkoAgCQhCIAAEkoAgCQhCIAAOl8OgMAAJtQBAAgCUUA
ANL59MEcAABYhCIAAEkoAgCQJhRfzwEAgLvOZzMAALAJRQAAklAEACAJRQAAklAEACAJRQAAklAEACCd
z36aAwAAy/l8BgAANqEIAEASigAAJKEIAEASigAAJKEIAEASigAApPPFDAAAbEIRAIAkFAEASOeLn+cA
AMAiFAEASEIRAIAkFAEASEIRAIB0vpwBAIBNKAIAkIQiAABJKAIAkIQiAABJKAIAkM6XD+cAAMBy/j8D
AACbUAQAIA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xgQUAEBNYAACx+bkDAEBnfp7tAQAgI7AAAGICCwAgJrAAAGICCwAg
JrAAAGJzvAMAQEdgAQDEBBYAQExgAQDEBBYAQGyOz/cAAJARWAAAsTnZAQCgI7AAAGICCwAgtoF1tQcA
gIrAAgCICSwAgJjAAgCIzekOAACdOb3YAwBARmABAMQEFgBATGABAMQEFgBATGABAMTmbAcAgI7AAgCI
CSwAgJjAAgCICSwAgNicXe4BACAjsAAAYnO+AwBAR2ABAMQEFgBATGABAMQEFgBATGABAMQEFgBATGAB
AMTm4tfVAQCAjsACAIgJLACAmMACAIgJLACAmMACAIgJLACA2FzuAADQ2cC63gMAQEVgAQDEBBYAQGwu
f+8BACAjsAAAYgILACA2v3YAAOgILACAmMACAIgJLACAmMACAIgJLACAmMACAIjN76vrAwAAHYEFABAT
WAAAMYEFABATWAAAMYEFABATWAAAsbnaAQCgI7AAAGICCwAgJrAAAGJzdb0HAICMwAIAiAksAIDYXO8A
ANARWAAAMYEFABATWAAAMYEFABATWAAAMYEFAJC6PvwPgVT8s8QL7cEAAAAASUVORK5CYII=
</value>
</data>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">

View File

@ -469,52 +469,6 @@ namespace INT_PT002.DialogForms
}
}
public DialogFormMessage(object dll, int code, int num1, int num2, Define.E_LanguageID language)
{
InitializeComponent();
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
switch (language)
{
case Define.E_LanguageID.Korean:
#region 한글
switch (code)
{
case 14:
this.smartGroupBox1.Text = "Error 04_14";
this.labelMessage1.Text = string.Format("비밀번호 {0}회 오류입니다", num1);
this.labelMessage2.Text = string.Format("{0}회 오류 시, 계정이 잠금처리됩니다.", num2);
break;
default:
this.smartGroupBox1.Text = "Error 04_99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
#endregion
break;
case Define.E_LanguageID.English:
#region 영문
switch (code)
{
case 14:
this.smartGroupBox1.Text = "Error 04_14";
this.labelMessage1.Text = string.Format("Password error {0} times.", num1);
this.labelMessage2.Text = string.Format("If there are {0} errors, your account will be locked.", num2);
break;
default:
this.smartGroupBox1.Text = "Error 04_99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
#endregion
break;
default:
break;
}
}
public DialogFormMessage(object dll, int code, Define.E_LanguageID language)
{
InitializeComponent();
@ -530,88 +484,83 @@ namespace INT_PT002.DialogForms
switch (code)
{
case 1:
this.smartGroupBox1.Text = "Error 04_01";
this.smartGroupBox1.Text = "Error 01";
this.labelMessage1.Text = "ID를 찾을 수 없습니다";
break;
case 2:
this.smartGroupBox1.Text = "Error 04_02";
this.smartGroupBox1.Text = "Error 02";
this.labelMessage1.Text = "ID : 동일한 ID가 있습니다";
break;
case 3:
this.smartGroupBox1.Text = "Error 04_03";
this.smartGroupBox1.Text = "Error 03";
this.labelMessage1.Text = "ID : 6~20자 입력하세요";
break;
case 4:
this.smartGroupBox1.Text = "Error 04_04";
this.smartGroupBox1.Text = "Error 04";
this.labelMessage1.Text = "ID : 6~20자 입력하세요";
break;
case 5:
this.smartGroupBox1.Text = "Error 04_05";
this.smartGroupBox1.Text = "Error 05";
this.labelMessage1.Text = "ID : 연속된 문자(123,321,abc,cba...)또는";
this.labelMessage2.Text = "동일한 문자(111,222,aaa...) 사용 할 수 없습니다";
break;
case 6:
this.smartGroupBox1.Text = "Error 04_06";
this.smartGroupBox1.Text = "Error 06";
this.labelMessage1.Text = "ID : 사용할 수 없는 문자가 포함되어 있습니다";
break;
case 7:
this.smartGroupBox1.Text = "Error 04_07";
this.smartGroupBox1.Text = "Error 07";
this.labelMessage1.Text = "ID : 사용자 계정이 만료 되었습니다";
break;
case 8:
this.smartGroupBox1.Text = "Error 04_08";
this.smartGroupBox1.Text = "Error 08";
this.labelMessage1.Text = "PASSWORD : 이전 패스워드 입니다";
break;
case 9:
this.smartGroupBox1.Text = "Error 04_09";
this.smartGroupBox1.Text = "Error 09";
this.labelMessage1.Text = "PASSWORD : 6~20자 입력하세요";
break;
case 10:
this.smartGroupBox1.Text = "Error 04_10";
this.smartGroupBox1.Text = "Error 10";
this.labelMessage1.Text = "PASSWORD : 6~20자 입력하세요";
break;
case 11:
this.smartGroupBox1.Text = "Error 04_11";
this.smartGroupBox1.Text = "Error 11";
this.labelMessage1.Text = "PASSWORD : 연속된 문자(123,321,abc,cba...)또는";
this.labelMessage2.Text = "동일한 문자(111,222,aaa...) 사용 할 수 없습니다";
break;
case 12:
this.smartGroupBox1.Text = "Error 04_12";
this.smartGroupBox1.Text = "Error 12";
this.labelMessage1.Text = "PASSWORD : 사용할 수 없는 문자가 포함되어 있습니다";
this.labelMessage2.Text = "사용 가능 특수문자 : !@#$%^&*+-.";
break;
case 13:
this.smartGroupBox1.Text = "Error 04_13";
this.smartGroupBox1.Text = "Error 13";
this.labelMessage1.Text = "PASSWORD : 영문1이상, 숫자1이상, 특수문자1이상";
this.labelMessage2.Text = "포함하여 주십시오";
break;
case 14:
this.smartGroupBox1.Text = "Error 04_14";
this.smartGroupBox1.Text = "Error 14";
this.labelMessage1.Text = "비밀번호를 확인하세요";
break;
case 15:
this.smartGroupBox1.Text = "Error 04_15";
this.smartGroupBox1.Text = "Error 15";
this.labelMessage1.Text = "PASSWORD : 비밀번호가 만료 되었습니다";
break;
case 16:
this.smartGroupBox1.Text = "Error 04_16";
this.smartGroupBox1.Text = "Error 16";
this.labelMessage1.Text = "필수 설정 항목을 설정해 주십시오";
break;
case 17:
this.smartGroupBox1.Text = "Error 04_17";
this.smartGroupBox1.Text = "Error 17";
this.labelMessage1.Text = "";
break;
case 18:
this.smartGroupBox1.Text = "Error 04_18";
this.smartGroupBox1.Text = "Error 18";
this.labelMessage1.Text = "";
break;
case 19:
this.smartGroupBox1.Text = "Error 04_19";
this.labelMessage1.Text = "계정이 잠금처리 되었습니다.";
this.labelMessage2.Text = "관리자에게 문의하세요.";
break;
default:
this.smartGroupBox1.Text = "Error 04_99";
this.smartGroupBox1.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
@ -622,88 +571,83 @@ namespace INT_PT002.DialogForms
switch (code)
{
case 1:
this.smartGroupBox1.Text = "Error 04_01";
this.smartGroupBox1.Text = "Error 01";
this.labelMessage1.Text = "ID not found";
break;
case 2:
this.smartGroupBox1.Text = "Error 04_02";
this.smartGroupBox1.Text = "Error 02";
this.labelMessage1.Text = "ID : ID already exists";
break;
case 3:
this.smartGroupBox1.Text = "Error 04_03";
this.smartGroupBox1.Text = "Error 03";
this.labelMessage1.Text = "ID : Please enter 6~20 characters";
break;
case 4:
this.smartGroupBox1.Text = "Error 04_04";
this.smartGroupBox1.Text = "Error 04";
this.labelMessage1.Text = "ID : Please enter 6~20 characters";
break;
case 5:
this.smartGroupBox1.Text = "Error 04_05";
this.smartGroupBox1.Text = "Error 05";
this.labelMessage1.Text = "ID : Consecutive(123,321,abc,cba...) or";
this.labelMessage2.Text = "identical(111,222,aaa...) characters cannot be used.";
break;
case 6:
this.smartGroupBox1.Text = "Error 04_06";
this.smartGroupBox1.Text = "Error 06";
this.labelMessage1.Text = "ID : Contains invalid characters";
break;
case 7:
this.smartGroupBox1.Text = "Error 04_07";
this.smartGroupBox1.Text = "Error 07";
this.labelMessage1.Text = "ID : User account has expired";
break;
case 8:
this.smartGroupBox1.Text = "Error 04_08";
this.smartGroupBox1.Text = "Error 08";
this.labelMessage1.Text = "PASSWORD : This is the old password";
break;
case 9:
this.smartGroupBox1.Text = "Error 04_09";
this.smartGroupBox1.Text = "Error 09";
this.labelMessage1.Text = "PASSWORD : Please enter 6~20 characters";
break;
case 10:
this.smartGroupBox1.Text = "Error 04_10";
this.smartGroupBox1.Text = "Error 10";
this.labelMessage1.Text = "PASSWORD : Please enter 6~20 characters";
break;
case 11:
this.smartGroupBox1.Text = "Error 04_11";
this.smartGroupBox1.Text = "Error 11";
this.labelMessage1.Text = "PASSWORD : Consecutive(123,321,abc,cba...) or";
this.labelMessage2.Text = "identical(111,222,aaa...) characters cannot be used.";
break;
case 12:
this.smartGroupBox1.Text = "Error 04_12";
this.smartGroupBox1.Text = "Error 12";
this.labelMessage1.Text = "PASSWORD : Contains invalid characters";
this.labelMessage2.Text = "Special characters allowed : !@#$%^&*+-.";
break;
case 13:
this.smartGroupBox1.Text = "Error 04_13";
this.smartGroupBox1.Text = "Error 13";
this.labelMessage1.Text = "PASSWORD : Please include at least one English letter,";
this.labelMessage2.Text = "at least one number, and at least one special character";
break;
case 14:
this.smartGroupBox1.Text = "Error 04_14";
this.smartGroupBox1.Text = "Error 14";
this.labelMessage1.Text = "Check your password";
break;
case 15:
this.smartGroupBox1.Text = "Error 04_15";
this.smartGroupBox1.Text = "Error 15";
this.labelMessage1.Text = "PASSWORD : Password has expired";
break;
case 16:
this.smartGroupBox1.Text = "Error 04_16";
this.smartGroupBox1.Text = "Error 16";
this.labelMessage1.Text = "Please set the required setting items";
break;
case 17:
this.smartGroupBox1.Text = "Error 04_17";
this.smartGroupBox1.Text = "Error 17";
this.labelMessage1.Text = "";
break;
case 18:
this.smartGroupBox1.Text = "Error 04_18";
this.smartGroupBox1.Text = "Error 18";
this.labelMessage1.Text = "";
break;
case 19:
this.smartGroupBox1.Text = "Error 04_19";
this.labelMessage1.Text = "Your account has been locked.";
this.labelMessage2.Text = "Please contact your administrator.";
break;
default:
this.smartGroupBox1.Text = "Error 04_99";
this.smartGroupBox1.Text = "Error 99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}

View File

@ -107,11 +107,6 @@ namespace INT_PT002.DialogForms
this.smartGroupBox1.Text = "유저설정";
this.labelMessage1.Text = "신규 유저 등록 하시겠습니까?";
break;
case 18:
this.smartGroupBox1.Text = "Login";
this.labelMessage1.Text = "비밀번호를 초기화 하시겠습니까?";
this.labelMessage2.Text = "";
break;
default:
break;
}
@ -193,11 +188,6 @@ namespace INT_PT002.DialogForms
this.smartGroupBox1.Text = "User Setting";
this.labelMessage1.Text = "Do you want to register the new user?";
break;
case 18:
this.smartGroupBox1.Text = "Login";
this.labelMessage1.Text = "Do you want to reset your password?";
this.labelMessage2.Text = "";
break;
default:
break;
}

View File

@ -37,8 +37,6 @@
this.timerUserList = new System.Windows.Forms.Timer();
this.smartConfigs = new SmartX.SmartConfigs();
this.smartModbus = new SmartX.SmartModbus();
this.smartTCPMultiServer = new SmartX.SmartTCPMultiServer(this.components);
this.timerClientTryConnect = new System.Windows.Forms.Timer();
this.SuspendLayout();
//
// smartForm1
@ -103,18 +101,6 @@
this.smartModbus.SlaveAddress = 1;
this.smartModbus.StopBits = System.IO.Ports.StopBits.One;
//
// smartTCPMultiServer
//
this.smartTCPMultiServer.MaxClient = 10;
this.smartTCPMultiServer.MaxReceiveBufferSize = 1000;
this.smartTCPMultiServer.Port = 0;
this.smartTCPMultiServer.ReceiveTimeout = 3000;
this.smartTCPMultiServer.SendCallBackType = SmartX.SmartTCPMultiServer.CALLBACKTYPE.Sync;
//
// timerClientTryConnect
//
this.timerClientTryConnect.Interval = 2000;
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -136,10 +122,8 @@
private SmartX.SmartFile smartFileCommunicationLog;
private SmartX.SmartFile smartFileIO;
private System.Windows.Forms.Timer timerUserList;
private SmartX.SmartConfigs smartConfigs;
private SmartX.SmartModbus smartModbus;
private System.Windows.Forms.Timer timerClientTryConnect;
public SmartX.SmartConfigs smartConfigs;
public SmartX.SmartTCPMultiServer smartTCPMultiServer;
}
}

View File

@ -14,8 +14,6 @@ using SmartX;
using INT_PT002.DataStore;
using INT_PT002.Part11_UserManager;
using INT_PT002.DialogForms;
using System.Net.Sockets;
using InModbus;
namespace INT_PT002.Forms
{
@ -75,30 +73,6 @@ namespace INT_PT002.Forms
// 알람
private AlarmList CurrentAlarmList;
// Modbus
public Modbus Modbus;
// Ethernet
private bool IsEthernetThreadStop;
private bool IsEthernetTransferData;
public object EthernetTransferData;
private TcpClient EthernetTcpClient;
private NetworkStream EthernetNetStream;
private StreamReader EthernetStmReader;
private StreamWriter EthernetStmWriter;
private delegate void TransferByteArrayDataCallback(byte[] byteArray);
private delegate void TransferStringDataCallback(string strText);
private delegate void TransferByteDataCallback(byte byteText);
private delegate void TextStatusCallback(string strText);
private delegate void UIControlCallback(bool bEnable);
private delegate void UIServerStatusCallback(bool bEnable);
private delegate void UITimerWorkCallback(bool bEnable);
private delegate void TimerTryConnectCallback(bool bEnable);
// Form
public FormMainDisplay3 ChildFormMainDisplay;
public FormMenu ChildFormMenu;
@ -211,8 +185,6 @@ namespace INT_PT002.Forms
this.PathDataInspectionFolder = this.PathDataFolder + "Inspection\\";
this.PathDataAlarmFolder = this.PathDataFolder + "Alarm\\";
this.Modbus = new Modbus();
this.ColorLogOff = Color.Red;
this.ColorLogOn = Color.FromArgb(39, 200, 64);
@ -275,6 +247,7 @@ namespace INT_PT002.Forms
private void CreateForm()
{
this.ChildFormMainDisplay = new FormMainDisplay3(this);
this.ChildFormMenu = new FormMenu(this);
this.smartForm1.MainForm = this;
@ -462,16 +435,6 @@ namespace INT_PT002.Forms
structItem.SB_DATA_MODE = this.SystemConfig.SB_DATA_MODE;
structItem.SB_DATA_PERIOD = this.SystemConfig.SB_DATA_PERIOD;
structItem.AUTOMATIC_LOGOUT = this.SystemConfig.AUTOMATIC_LOGOUT;
structItem.NUMBER_OF_LOGIN_FAILURE = this.SystemConfig.NUMBER_OF_LOGIN_FAILURE;
structItem.ETHERNET_COMM_MODE = this.SystemConfig.ETHERNET_COMM_MODE;
structItem.ETHERNET_OP_MODE = this.SystemConfig.ETHERNET_OP_MODE;
structItem.ETHERNET_LOCAL_PORT = this.SystemConfig.ETHERNET_LOCAL_PORT;
structItem.ETHERNET_SERVER_PORT = this.SystemConfig.ETHERNET_SERVER_PORT;
structItem.MODBUS_TCP_SELECTFUNCTION = this.SystemConfig.MODBUS_TCP_SELECTFUNCTION;
structItem.MODBUS_TCP_START_ADDRESS = this.SystemConfig.MODBUS_TCP_START_ADDRESS;
structItem.EQUIPMENT_LANE = this.SystemConfig.EQUIPMENT_LANE;
structItem.CHECK_LANE = this.SystemConfig.CHECK_LANE;
@ -481,36 +444,6 @@ namespace INT_PT002.Forms
structItem.LEVEL2_NAME = this.SystemConfig.LEVEL2_NAME;
structItem.LEVEL3_NAME = this.SystemConfig.LEVEL3_NAME;
structItem.ETHERNET_SERVER_IP = this.SystemConfig.ETHERNET_SERVER_IP;
structItem.DummyBool1 = false;
structItem.DummyBool2 = false;
structItem.DummyBool3 = false;
structItem.DummyBool4 = false;
structItem.DummyBool5 = false;
structItem.DummyBool6 = false;
structItem.DummyBool7 = false;
structItem.DummyBool8 = false;
structItem.DummyBool9 = false;
structItem.DummyBool10 = false;
structItem.DummyInt1 = 0;
structItem.DummyInt2 = 0;
structItem.DummyInt3 = 0;
structItem.DummyInt4 = 0;
structItem.DummyInt5 = 0;
structItem.DummyInt6 = 0;
structItem.DummyInt7 = 0;
structItem.DummyInt8 = 0;
structItem.DummyInt9 = 0;
structItem.DummyInt10 = 0;
structItem.DummyString1 = "";
structItem.DummyString2 = "";
structItem.DummyString3 = "";
structItem.DummyString4 = "";
structItem.DummyString5 = "";
this.smartFileIO.StructType.Write(structItem, 0, SmartFile.WriteMode.Overwrite);
}
public void SaveSystemConfigurationFile(SystemConfiguration item)
@ -554,16 +487,6 @@ namespace INT_PT002.Forms
structItem.SB_DATA_MODE = item.SB_DATA_MODE;
structItem.SB_DATA_PERIOD = item.SB_DATA_PERIOD;
structItem.AUTOMATIC_LOGOUT = item.AUTOMATIC_LOGOUT;
structItem.NUMBER_OF_LOGIN_FAILURE = item.NUMBER_OF_LOGIN_FAILURE;
structItem.ETHERNET_COMM_MODE = item.ETHERNET_COMM_MODE;
structItem.ETHERNET_OP_MODE = item.ETHERNET_OP_MODE;
structItem.ETHERNET_LOCAL_PORT = item.ETHERNET_LOCAL_PORT;
structItem.ETHERNET_SERVER_PORT = item.ETHERNET_SERVER_PORT;
structItem.MODBUS_TCP_SELECTFUNCTION = item.MODBUS_TCP_SELECTFUNCTION;
structItem.MODBUS_TCP_START_ADDRESS = item.MODBUS_TCP_START_ADDRESS;
structItem.EQUIPMENT_LANE = item.EQUIPMENT_LANE;
structItem.CHECK_LANE = item.CHECK_LANE;
@ -573,36 +496,6 @@ namespace INT_PT002.Forms
structItem.LEVEL2_NAME = item.LEVEL2_NAME;
structItem.LEVEL3_NAME = item.LEVEL3_NAME;
structItem.ETHERNET_SERVER_IP = item.ETHERNET_SERVER_IP;
structItem.DummyBool1 = false;
structItem.DummyBool2 = false;
structItem.DummyBool3 = false;
structItem.DummyBool4 = false;
structItem.DummyBool5 = false;
structItem.DummyBool6 = false;
structItem.DummyBool7 = false;
structItem.DummyBool8 = false;
structItem.DummyBool9 = false;
structItem.DummyBool10 = false;
structItem.DummyInt1 = 0;
structItem.DummyInt2 = 0;
structItem.DummyInt3 = 0;
structItem.DummyInt4 = 0;
structItem.DummyInt5 = 0;
structItem.DummyInt6 = 0;
structItem.DummyInt7 = 0;
structItem.DummyInt8 = 0;
structItem.DummyInt9 = 0;
structItem.DummyInt10 = 0;
structItem.DummyString1 = "";
structItem.DummyString2 = "";
structItem.DummyString3 = "";
structItem.DummyString4 = "";
structItem.DummyString5 = "";
this.smartFileIO.StructType.Write(structItem, 0, SmartFile.WriteMode.Overwrite);
this.smartFileIO.Close();
}
@ -649,13 +542,6 @@ namespace INT_PT002.Forms
this.SystemConfig.SB_DATA_MODE = structItem.SB_DATA_MODE;
this.SystemConfig.SB_DATA_PERIOD = structItem.SB_DATA_PERIOD;
this.SystemConfig.ETHERNET_COMM_MODE = structItem.ETHERNET_COMM_MODE;
this.SystemConfig.ETHERNET_OP_MODE = structItem.ETHERNET_OP_MODE;
this.SystemConfig.ETHERNET_LOCAL_PORT = structItem.ETHERNET_LOCAL_PORT;
this.SystemConfig.ETHERNET_SERVER_PORT = structItem.ETHERNET_SERVER_PORT;
this.SystemConfig.MODBUS_TCP_SELECTFUNCTION = structItem.MODBUS_TCP_SELECTFUNCTION;
this.SystemConfig.MODBUS_TCP_START_ADDRESS = structItem.MODBUS_TCP_START_ADDRESS;
this.SystemConfig.EQUIPMENT_LANE = structItem.EQUIPMENT_LANE;
this.SystemConfig.CHECK_LANE = structItem.CHECK_LANE;
@ -665,8 +551,6 @@ namespace INT_PT002.Forms
this.SystemConfig.LEVEL2_NAME = structItem.LEVEL2_NAME;
this.SystemConfig.LEVEL3_NAME = structItem.LEVEL3_NAME;
this.SystemConfig.ETHERNET_SERVER_IP = structItem.ETHERNET_SERVER_IP;
this.smartFileIO.Close();
}
#endregion
@ -2187,314 +2071,6 @@ namespace INT_PT002.Forms
}
#endregion
#region Communication protocol
public byte[] Transfer_1_Modbus_Write()
{
byte[] madeData = new byte[10];
byte[] Length4Value = new byte[4];
return madeData;
}
private byte[] Transfer_1_Modbus_Read_TCP(byte[] readByte)
{
byte[] startAddressByte = new byte[2] { readByte[8], readByte[9] };
byte[] numberOfRegisterByte = new byte[2] { readByte[10], readByte[11] };
int startAddressInt;
int numberOfRegisterInt;
int madeDataIndex = 0;
byte[] length2Value = new byte[2];
byte[] length4Value = new byte[4];
startAddressInt = Modbus.ToBigEndianAndInt(startAddressByte);
numberOfRegisterInt = Modbus.ToBigEndianAndInt(numberOfRegisterByte);
byte[] madeData = new byte[numberOfRegisterInt * 2];
if (readByte[7] == ModbusFunctionCode.FunctionCode_04)
{
}
return madeData;
}
#endregion
#region Ethernet
#region Client
public void EthernetClientConnect()
{
if (this.IsEthernetThreadStop == false)
return; // Online 경우
if (this.SystemConfig.IsEthernetEnable == false)
{
this.TextStatusOut("<Disable");
return;
}
if (string.Compare(this.SystemConfig.ETHERNET_SERVER_IP, "0.0.0.0") == 0)
{
this.TextStatusOut("<Addr Err");
return;
}
try
{
Thread cpClientThread = new Thread(new ThreadStart(EthernetClientReceiveThread));
cpClientThread.IsBackground = true;
cpClientThread.Start();
//this.IsUsingTimerEthernetPing(true);
}
catch
{
TextStatusOut(">Thread Error");
}
}
public void EthernetClientDisconnect()
{
this.DelegateUISeverStatus(false);
if (null != this.EthernetStmReader)
this.EthernetStmReader.Close();
if (null != this.EthernetStmWriter)
this.EthernetStmWriter.Close();
if (null != this.EthernetNetStream)
this.EthernetNetStream.Close();
if (null != this.EthernetTcpClient)
this.EthernetTcpClient.Close();
this.IsEthernetThreadStop = true;
this.DelegateTextStatusOut(">Disconnected");
this.SetTrackingHistoryData(Define.E_TrackingOperation.ClientDisconnect, "");
//---------------------
GC.Collect();
GC.WaitForPendingFinalizers();
//---------------------
if (this.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start
&& this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.DelegateTimerTryConnect(true);
}
private void EthernetClientReceiveThread()
{
int nConnectPort = Convert.ToInt32(this.SystemConfig.ETHERNET_SERVER_PORT);
try
{
this.DelegateTextStatusOut(">Now Connecting..");
this.EthernetTcpClient = new TcpClient(this.SystemConfig.ETHERNET_SERVER_IP, nConnectPort);
this.EthernetNetStream = this.EthernetTcpClient.GetStream();
this.EthernetStmReader = new StreamReader(this.EthernetNetStream);
this.EthernetStmWriter = new StreamWriter(this.EthernetNetStream);
this.DelegateUISeverStatus(true);
this.DelegateTextStatusOut(">Connected Server");
this.SetTrackingHistoryData(Define.E_TrackingOperation.ClientConnect, "");
this.IsEthernetThreadStop = false;
// 판정 데이터 전송
if (this.IsEthernetTransferData == true)
{
this.IsEthernetTransferData = false;
Type type = this.EthernetTransferData.GetType();
if (type == typeof(string))
this.DelegateTransferData((string)this.EthernetTransferData);
else if (type == typeof(byte[]))
this.DelegateTransferData((byte[])this.EthernetTransferData);
else if (type == typeof(byte))
this.DelegateTransferData((byte)this.EthernetTransferData);
}
char[] charArray = new char[20];
while (this.IsEthernetThreadStop == false)
{
var strRecDataCount = this.EthernetStmReader.Read(charArray, 0, charArray.Length);
var strRecData = new string(charArray, 0, strRecDataCount);
//Console.Write("\n" + string.Format("EthernetStmReader.Read {0:yyyy-MM-dd HH:mm:ss}: {1}", DateTime.Now, strRecData));
if (null == strRecData)
{
this.DelegateTextStatusOut(">Server Out");
this.IsEthernetThreadStop = true;
break;
}
this.DelegateTextStatusOut(strRecData);
}
}
catch
{
this.DelegateTextStatusOut(">Connect Fail !");
}
finally
{
this.EthernetClientDisconnect();
}
return;
}
private void UIServerStatus(bool status)
{
this.ChildFormMainDisplay.UpdateEthernetStatusDisplay(status);
}
public void DelegateUISeverStatus(bool status)
{
this.Invoke(new UIServerStatusCallback(this.UIServerStatus), status);
}
private void TextStatusOut(string value)
{
if (this.ChildFormMenu.Child_System_Ethernet != null)
this.ChildFormMenu.Child_System_Ethernet.UpdateEthernetStatusDisplay(value);
}
private void DelegateTextStatusOut(string value)
{
this.Invoke(new TextStatusCallback(this.TextStatusOut), value);
}
private void TimerTryConnect(bool status)
{
this.timerClientTryConnect.Enabled = status;
}
private void DelegateTimerTryConnect(bool status)
{
this.Invoke(new TimerTryConnectCallback(this.TimerTryConnect), status);
}
private void DelegateTransferData(string data)
{
this.Invoke(new TransferStringDataCallback(this.EthernetSendMessage), data);
}
private void DelegateTransferData(byte[] data)
{
this.Invoke(new TransferByteArrayDataCallback(this.EthernetSendMessage), data);
}
private void DelegateTransferData(byte data)
{
this.Invoke(new TransferByteDataCallback(this.EthernetSendMessage), data);
}
public void EthernetSendMessage(string msg)
{
try
{
this.EthernetStmWriter.Write(msg);
this.EthernetStmWriter.Flush();
}
catch
{
this.DelegateUISeverStatus(false);
this.DelegateTextStatusOut("> Disconnect");
}
}
public void EthernetSendMessage(byte[] msg)
{
try
{
this.EthernetStmWriter.BaseStream.Write(msg, 0, msg.Length);
this.EthernetStmWriter.Flush();
}
catch
{
this.DelegateUISeverStatus(false);
this.DelegateTextStatusOut("> Disconnect");
}
}
public void EthernetSendMessage(byte msg)
{
try
{
this.EthernetStmWriter.Write(msg);
this.EthernetStmWriter.Flush();
}
catch
{
this.DelegateUISeverStatus(false);
this.DelegateTextStatusOut("> Disconnect");
}
}
public void EthernetWeightData(string strTemp)
{
this.IsEthernetTransferData = true;
this.EthernetTransferData = strTemp;
if (this.IsEthernetThreadStop == true)
this.EthernetClientConnect();
else
this.EthernetSendMessage((string)this.EthernetTransferData);
}
public void EthernetWeightData(byte[] bytes)
{
this.IsEthernetTransferData = true;
this.EthernetTransferData = bytes;
if (this.IsEthernetThreadStop == true)
this.EthernetClientConnect();
else
this.EthernetSendMessage(bytes);
}
public void EthernetWeightDataForModbus(byte[] bytes)
{
this.IsEthernetTransferData = true;
this.EthernetTransferData = bytes;
if (this.IsEthernetThreadStop == true)
this.EthernetClientConnect();
else
this.EthernetSendMessage(bytes);
}
#endregion
#region Server
public void EthernetServerStart()
{
if (this.smartTCPMultiServer.IsStart == false)
{
this.ChildFormMenu.Child_System_Ethernet.DisplayLabelLocalPort(false);
this.smartTCPMultiServer.Port = this.SystemConfig.ETHERNET_LOCAL_PORT;
this.smartTCPMultiServer.Start();
}
}
public void EthernetServerStop()
{
if (this.smartTCPMultiServer.IsStart == true)
{
this.ChildFormMenu.Child_System_Ethernet.DisplayLabelLocalPort(true);
this.smartTCPMultiServer.Stop();
this.SetTrackingHistoryData(Define.E_TrackingOperation.ServerOFF, "");
}
}
public void EthernetServerSendMessage(SmartTCPMultiServer.CLIENTSINFOS client, string msg)
{
if (this.smartTCPMultiServer.SendStringASCIIID(client.strID, msg) == true)
{
// 로그
if (this.IsCommunicationLogOpen == true)
this.smartFileCommunicationLog.StringType.Write(string.Format("Ethernet Send ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, msg));
}
}
public void EthernetServerSendMessage(SmartTCPMultiServer.CLIENTSINFOS client, byte[] bytes)
{
if (this.smartTCPMultiServer.SendByteByClientID(client.strID, bytes) == true)
{
// 로그
if (this.IsCommunicationLogOpen == true)
this.smartFileCommunicationLog.StringType.Write(string.Format("Ethernet Send ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, Encoding.Default.GetString(bytes, 0, bytes.Length)));
}
}
#endregion
#endregion
#region Backup
public List<string> GetSeletedNodeList(TreeView tree)
{
@ -2783,34 +2359,6 @@ namespace INT_PT002.Forms
this.TrackingHistoryData(data);
}
public void SetTrackingHistoryData(Define.E_TrackingOperation eventType, string detail, string loginID)
{
HistoryData data = new HistoryData();
data.Type = "Operation";
data.Time = DateTime.Now;
data.LoginID = loginID;
data.Event = eventType.ToString();
data.Detail = detail;
data.BeforeData = "";
data.AfterData = "";
this.TrackingHistoryData(data);
}
public void SetTrackingHistoryData(Define.E_TrackingAlarm eventType, string detail)
{
HistoryData data = new HistoryData();
data.Type = "Alarm";
data.Time = DateTime.Now;
data.LoginID = this.CurrentSystemStatus.CurrentUser.ID;
data.Event = eventType.ToString();
data.Detail = detail;
data.BeforeData = "";
data.AfterData = "";
this.TrackingHistoryData(data);
}
public void SetTrackingHistoryData(Define.E_TrackingParameter type, string detail, string before, string after)
{
HistoryData data = new HistoryData();
@ -2930,7 +2478,7 @@ namespace INT_PT002.Forms
}
#endregion
#region Tracking Alarm data
public void SetTrackingAlarmData(Define.E_TrackingAlarm type, string detail)
public void SetTrackingAlarmData(Define.E_Trackingalarm type, string detail)
{
HistoryData data = new HistoryData();
@ -3058,8 +2606,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuEquipment;
structItem.IsMenuEthernet = item.IsMenuEthernet;
structItem.IsMenuStatus = item.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3078,6 +2625,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);
@ -3098,7 +2646,6 @@ namespace INT_PT002.Forms
structItem.IsMenuAlarmList = true;
structItem.IsMenuInformation = true;
structItem.IsMenuStatus = true;
structItem.IsMenuEthernet = true;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3117,6 +2664,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);
@ -3153,8 +2701,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.Level1.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Level1.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Level1.IsMenuInformation;
structItem.IsMenuStatus = item.Level1.IsMenuEquipment;
structItem.IsMenuEthernet = item.Level1.IsMenuEthernet;
structItem.IsMenuStatus = item.Level1.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3173,8 +2720,9 @@ 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.Level1, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f0_Level1, SmartFile.WriteMode.Overwrite);
#endregion
#region Level2
@ -3190,8 +2738,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.Level2.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Level2.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Level2.IsMenuInformation;
structItem.IsMenuStatus = item.Level2.IsMenuEquipment;
structItem.IsMenuEthernet = item.Level2.IsMenuEthernet;
structItem.IsMenuStatus = item.Level2.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3210,8 +2757,9 @@ 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.Level2, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f1_Level2, SmartFile.WriteMode.Overwrite);
#endregion
#region Level3
@ -3227,8 +2775,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.Level3.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Level3.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Level3.IsMenuInformation;
structItem.IsMenuStatus = item.Level3.IsMenuEquipment;
structItem.IsMenuEthernet = item.Level3.IsMenuEthernet;
structItem.IsMenuStatus = item.Level3.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3247,40 +2794,25 @@ 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.Level3, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f2_Level3, SmartFile.WriteMode.Overwrite);
#endregion
#region Admin
//structItem.IsMainDisplayRecipeChange = item.Admin.IsMainDisplayProductChange;
//structItem.IsMainDisplayClear = item.Admin.IsMainDisplayClear;
//structItem.IsMainDispalySubMenu = item.Admin.IsMainDisplaySubMenu;
structItem.IsMainDisplayRecipeChange = item.Admin.IsMainDisplayProductChange;
structItem.IsMainDisplayClear = item.Admin.IsMainDisplayClear;
structItem.IsMainDispalySubMenu = item.Admin.IsMainDisplaySubMenu;
//structItem.IsMenuRecipe = item.Admin.IsMenuRecipe;
//structItem.IsMenuUserSetting = item.Admin.IsMenuUserSetting;
//structItem.IsMenuUserGroupEditor = item.Admin.IsMenuUserGroupEditor;
//structItem.IsMenuIOTest = item.Admin.IsMenuIOTest;
//structItem.IsMenuEquipmentLog = item.Admin.IsMenuHistoryLog;
//structItem.IsMenuCheckLog = item.Admin.IsMenuInspectionLog;
//structItem.IsMenuAlarmList = item.Admin.IsMenuAlarmLog;
//structItem.IsMenuInformation = item.Admin.IsMenuInformation;
//structItem.IsMenuStatus = item.Admin.IsMenuEquipment;
//structItem.IsMenuEthernet = item.Admin.IsMenuEthernet;
structItem.IsMainDisplayRecipeChange = true;
structItem.IsMainDisplayClear = true;
structItem.IsMainDispalySubMenu = true;
structItem.IsMenuRecipe = true;
structItem.IsMenuUserSetting = true;
structItem.IsMenuUserGroupEditor = true;
structItem.IsMenuIOTest = true;
structItem.IsMenuEquipmentLog = true;
structItem.IsMenuCheckLog = true;
structItem.IsMenuAlarmList = true;
structItem.IsMenuInformation = true;
structItem.IsMenuStatus = true;
structItem.IsMenuEthernet = true;
structItem.IsMenuRecipe = item.Admin.IsMenuRecipe;
structItem.IsMenuUserSetting = item.Admin.IsMenuUserSetting;
structItem.IsMenuUserGroupEditor = item.Admin.IsMenuUserGroupEditor;
structItem.IsMenuIOTest = item.Admin.IsMenuIOTest;
structItem.IsMenuEquipmentLog = item.Admin.IsMenuHistoryLog;
structItem.IsMenuCheckLog = item.Admin.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.Admin.IsMenuAlarmLog;
structItem.IsMenuInformation = item.Admin.IsMenuInformation;
structItem.IsMenuStatus = item.Admin.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3299,8 +2831,9 @@ 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.Admin, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f3_Admin, SmartFile.WriteMode.Overwrite);
#endregion
this.smartFileIO.Close();
@ -3336,8 +2869,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuEquipment;
structItem.IsMenuEthernet = item.IsMenuEthernet;
structItem.IsMenuStatus = item.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3356,8 +2888,9 @@ 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.Level1, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f0_Level1, SmartFile.WriteMode.Overwrite);
#endregion
this.smartFileIO.Close();
@ -3393,8 +2926,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuEquipment;
structItem.IsMenuEthernet = item.IsMenuEthernet;
structItem.IsMenuStatus = item.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3413,8 +2945,9 @@ 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.Level2, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f1_Level2, SmartFile.WriteMode.Overwrite);
#endregion
this.smartFileIO.Close();
@ -3450,8 +2983,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuEquipment;
structItem.IsMenuEthernet = item.IsMenuEthernet;
structItem.IsMenuStatus = item.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3470,8 +3002,9 @@ 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.Level3, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f2_Level3, SmartFile.WriteMode.Overwrite);
#endregion
this.smartFileIO.Close();
@ -3507,8 +3040,7 @@ namespace INT_PT002.Forms
structItem.IsMenuCheckLog = item.IsMenuInspectionLog;
structItem.IsMenuAlarmList = item.IsMenuAlarmLog;
structItem.IsMenuInformation = item.IsMenuInformation;
structItem.IsMenuStatus = item.IsMenuEquipment;
structItem.IsMenuEthernet = item.IsMenuEthernet;
structItem.IsMenuStatus = item.IsMenuStatus;
structItem.Dummy1 = false;
structItem.Dummy2 = false;
@ -3527,8 +3059,9 @@ 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.Admin, SmartFile.WriteMode.Overwrite);
this.smartFileIO.StructType.Write(structItem, (int)Define.E_UserGroup.f3_Admin, SmartFile.WriteMode.Overwrite);
#endregion
this.smartFileIO.Close();
@ -3556,7 +3089,7 @@ namespace INT_PT002.Forms
this.smartFileIO.StructType.FillBuffer();
#region Level1
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.Level1);
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f0_Level1);
item.Level1.IsMainDisplayProductChange = structItem.IsMainDisplayRecipeChange;
item.Level1.IsMainDisplayClear = structItem.IsMainDisplayClear;
@ -3570,12 +3103,11 @@ namespace INT_PT002.Forms
item.Level1.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Level1.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Level1.IsMenuInformation = structItem.IsMenuInformation;
item.Level1.IsMenuEquipment = structItem.IsMenuStatus;
item.Level1.IsMenuEthernet = structItem.IsMenuEthernet;
item.Level1.IsMenuStatus = structItem.IsMenuStatus;
#endregion
#region Level2
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.Level2);
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f1_Level2);
item.Level2.IsMainDisplayProductChange = structItem.IsMainDisplayRecipeChange;
item.Level2.IsMainDisplayClear = structItem.IsMainDisplayClear;
@ -3589,12 +3121,11 @@ namespace INT_PT002.Forms
item.Level2.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Level2.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Level2.IsMenuInformation = structItem.IsMenuInformation;
item.Level2.IsMenuEquipment = structItem.IsMenuStatus;
item.Level2.IsMenuEthernet = structItem.IsMenuEthernet;
item.Level2.IsMenuStatus = structItem.IsMenuStatus;
#endregion
#region Level3
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.Level3);
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f2_Level3);
item.Level3.IsMainDisplayProductChange = structItem.IsMainDisplayRecipeChange;
item.Level3.IsMainDisplayClear = structItem.IsMainDisplayClear;
@ -3608,42 +3139,25 @@ namespace INT_PT002.Forms
item.Level3.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Level3.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Level3.IsMenuInformation = structItem.IsMenuInformation;
item.Level3.IsMenuEquipment = structItem.IsMenuStatus;
item.Level3.IsMenuEthernet = structItem.IsMenuEthernet;
item.Level3.IsMenuStatus = structItem.IsMenuStatus;
#endregion
#region Default
//structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.Admin);
structItem = (StructUserGroupItem)this.smartFileIO.StructType.ReadBuffer((int)Define.E_UserGroup.f3_Admin);
//item.Admin.IsMainDisplayProductChange = structItem.IsMainDisplayRecipeChange;
//item.Admin.IsMainDisplayClear = structItem.IsMainDisplayClear;
//item.Admin.IsMainDisplaySubMenu = structItem.IsMainDispalySubMenu;
item.Admin.IsMainDisplayProductChange = structItem.IsMainDisplayRecipeChange;
item.Admin.IsMainDisplayClear = structItem.IsMainDisplayClear;
item.Admin.IsMainDisplaySubMenu = structItem.IsMainDispalySubMenu;
//item.Admin.IsMenuRecipe = structItem.IsMenuRecipe;
//item.Admin.IsMenuUserSetting = structItem.IsMenuUserSetting;
//item.Admin.IsMenuUserGroupEditor = structItem.IsMenuUserGroupEditor;
//item.Admin.IsMenuIOTest = structItem.IsMenuIOTest;
//item.Admin.IsMenuHistoryLog = structItem.IsMenuEquipmentLog;
//item.Admin.IsMenuInspectionLog = structItem.IsMenuCheckLog;
//item.Admin.IsMenuAlarmLog = structItem.IsMenuAlarmList;
//item.Admin.IsMenuInformation = structItem.IsMenuInformation;
//item.Admin.IsMenuEquipment = structItem.IsMenuStatus;
//item.Admin.IsMenuEthernet = structItem.IsMenuEthernet;
item.Admin.IsMainDisplayProductChange = true;
item.Admin.IsMainDisplayClear = true;
item.Admin.IsMainDisplaySubMenu = true;
item.Admin.IsMenuRecipe = true;
item.Admin.IsMenuUserSetting = true;
item.Admin.IsMenuUserGroupEditor = true;
item.Admin.IsMenuIOTest = true;
item.Admin.IsMenuHistoryLog = true;
item.Admin.IsMenuInspectionLog = true;
item.Admin.IsMenuAlarmLog = true;
item.Admin.IsMenuInformation = true;
item.Admin.IsMenuEquipment = true;
item.Admin.IsMenuEthernet = true;
item.Admin.IsMenuRecipe = structItem.IsMenuRecipe;
item.Admin.IsMenuUserSetting = structItem.IsMenuUserSetting;
item.Admin.IsMenuUserGroupEditor = structItem.IsMenuUserGroupEditor;
item.Admin.IsMenuIOTest = structItem.IsMenuIOTest;
item.Admin.IsMenuHistoryLog = structItem.IsMenuEquipmentLog;
item.Admin.IsMenuInspectionLog = structItem.IsMenuCheckLog;
item.Admin.IsMenuAlarmLog = structItem.IsMenuAlarmList;
item.Admin.IsMenuInformation = structItem.IsMenuInformation;
item.Admin.IsMenuStatus = structItem.IsMenuStatus;
#endregion
}
catch
@ -3770,7 +3284,7 @@ namespace INT_PT002.Forms
this.LoadUserGroupFile(ref this.CurrentUserGroup);
// UserManager 초기화
this.InitializeUserManager();
this.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
//UserManager.UserManager_GetUserListName();
// Form 생성
@ -3823,7 +3337,7 @@ namespace INT_PT002.Forms
this.smartForm1.Show(1);
}
private void CurrentAlarmList_Change(Define.E_TrackingAlarm alarm, string status)
private void CurrentAlarmList_Change(Define.E_Trackingalarm alarm, string status)
{
this.SetTrackingAlarmData(alarm, status);
}
@ -3962,10 +3476,6 @@ namespace INT_PT002.Forms
UserManager.UserMgr_user_info_t user = (UserManager.UserMgr_user_info_t)data;
//this.ChildFormMenu.Child_User_UserEditor.CallBackUserListModifyInfoDataEvent(user);
if (this.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.MainDisplay)
this.ChildFormMainDisplay.CallBackUserListModifyInfoData(user);
else
this.ChildFormMenu.CallBackUserListModifyInfoData(user);
}
catch
{
@ -4037,11 +3547,6 @@ namespace INT_PT002.Forms
}
}
#endregion
private void timerClientTryConnect_Tick(object sender, EventArgs e)
{
}
#endregion
}
}

View File

@ -227,12 +227,6 @@
<metadata name="smartModbus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>750, 17</value>
</metadata>
<metadata name="smartTCPMultiServer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>879, 17</value>
</metadata>
<metadata name="timerClientTryConnect.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1047, 17</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>

View File

@ -66,7 +66,7 @@ namespace INT_PT002.Forms
private void Login()
{
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, false, false);
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
if (logOn.ShowDialog() == DialogResult.OK)
{
this.DisplayRefresh();
@ -83,7 +83,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.DisplayRefresh();

View File

@ -265,7 +265,7 @@ namespace INT_PT002.Forms
private void Login()
{
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, false, false);
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
if (logOn.ShowDialog() == DialogResult.OK)
{
this.DisplayRefresh();
@ -282,7 +282,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.DisplayRefresh();

View File

@ -307,13 +307,13 @@ namespace INT_PT002.Forms
{
string id = "", group = "";
switch (user.Group)
switch (user.Status)
{
case Define.E_UserGroup.None:
case Define.E_UserStatus.None:
break;
case Define.E_UserGroup.Level1:
case Define.E_UserStatus.Level1:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -324,9 +324,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Level2:
case Define.E_UserStatus.Level2:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -337,9 +337,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Level3:
case Define.E_UserStatus.Level3:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -350,9 +350,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Admin:
case Define.E_UserStatus.Admin:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -363,9 +363,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Developer:
case Define.E_UserStatus.Developer:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -376,7 +376,7 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.NotLogin:
case Define.E_UserStatus.NotLogin:
id = "";
group = "";
@ -385,7 +385,7 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.LogOut:
case Define.E_UserStatus.LogOff:
id = "Log Off";
group = "-";
@ -414,7 +414,7 @@ namespace INT_PT002.Forms
}
private void Login()
{
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, false, false);
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
if (logOn.ShowDialog() == DialogResult.OK)
{
this.DisplayRefresh();
@ -432,7 +432,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.buttonUser.ButtonText = "Login";
this.DisplayRefresh();
@ -885,7 +885,7 @@ namespace INT_PT002.Forms
}
private void buttonUser_Click(object sender, EventArgs e)
{
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Group == Define.E_UserGroup.LogOut)
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Status == Define.E_UserStatus.LogOff)
{
this.Login();
}

View File

@ -30,10 +30,6 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay3));
this.smartForm1 = new SmartX.SmartForm();
this.buttonModbus = new SmartX.SmartButton();
this.pictureBoxEthernetDisconnection = new System.Windows.Forms.PictureBox();
this.pictureBoxEthernetConnection = new System.Windows.Forms.PictureBox();
this.pictureBoxEthernetDisable = new System.Windows.Forms.PictureBox();
this.labelResult9 = new SmartX.SmartLabel();
this.labelResult10 = new SmartX.SmartLabel();
this.labelResult4 = new SmartX.SmartLabel();
@ -105,8 +101,6 @@
this.smartTimerMessageShow = new SmartX.SmartTimer();
this.smartTimerLogin = new SmartX.SmartTimer();
this.smartTimerProgressBar = new SmartX.SmartTimer();
this.timerServer = new SmartX.SmartTimer();
this.labelExpireOfPassword = new SmartX.SmartLabel();
this.smartLabel1 = new SmartX.SmartLabel();
this.progressBar1 = new SmartX.SmartProgressBar();
this.pictureBoxProgress3Selected = new System.Windows.Forms.PictureBox();
@ -138,11 +132,6 @@
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.labelExpireOfPassword);
this.smartForm1.Controls.Add(this.buttonModbus);
this.smartForm1.Controls.Add(this.pictureBoxEthernetDisconnection);
this.smartForm1.Controls.Add(this.pictureBoxEthernetConnection);
this.smartForm1.Controls.Add(this.pictureBoxEthernetDisable);
this.smartForm1.Controls.Add(this.smartLabel1);
this.smartForm1.Controls.Add(this.progressBar1);
this.smartForm1.Controls.Add(this.pictureBoxProgress3Selected);
@ -243,70 +232,6 @@
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.UseMainMenu = false;
//
// buttonModbus
//
this.buttonModbus.BackGround = this.smartForm1;
this.buttonModbus.BackGroundColor = System.Drawing.Color.Gray;
this.buttonModbus.ButtonColor = System.Drawing.Color.Teal;
this.buttonModbus.ButtonDownColor = System.Drawing.Color.DarkSlateGray;
this.buttonModbus.ButtonImageAutoSize = true;
this.buttonModbus.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonModbus.ButtonText = "Modbus";
this.buttonModbus.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonModbus.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonModbus.GroupID = 0;
this.buttonModbus.ImageDisable = null;
this.buttonModbus.ImageDown = null;
this.buttonModbus.ImageUp = null;
this.buttonModbus.Location = new System.Drawing.Point(917, 418);
this.buttonModbus.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonModbus.Name = "buttonModbus";
this.buttonModbus.NestedClickEventPrevent = false;
this.buttonModbus.OutlinePixel = 2;
this.buttonModbus.OverlapOptimize = true;
this.buttonModbus.RepeatInterval = 200;
this.buttonModbus.RepeatIntervalAccelerate = null;
this.buttonModbus.RoundSize = 10;
this.buttonModbus.SafeInterval = 200;
this.buttonModbus.Size = new System.Drawing.Size(100, 60);
this.buttonModbus.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonModbus.TabIndex = 404;
this.buttonModbus.Text = null;
this.buttonModbus.TextColor = System.Drawing.Color.White;
this.buttonModbus.TextColorDisable = System.Drawing.Color.Gainsboro;
this.buttonModbus.TextDownColor = System.Drawing.Color.Chartreuse;
this.buttonModbus.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonModbus.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonModbus.Visible = false;
this.buttonModbus.Click += new System.EventHandler(this.buttonModbus_Click);
//
// pictureBoxEthernetDisconnection
//
this.pictureBoxEthernetDisconnection.BackColor = System.Drawing.Color.Black;
this.pictureBoxEthernetDisconnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisconnection.Image")));
this.pictureBoxEthernetDisconnection.Location = new System.Drawing.Point(151, 44);
this.pictureBoxEthernetDisconnection.Name = "pictureBoxEthernetDisconnection";
this.pictureBoxEthernetDisconnection.Size = new System.Drawing.Size(30, 25);
this.pictureBoxEthernetDisconnection.Visible = false;
//
// pictureBoxEthernetConnection
//
this.pictureBoxEthernetConnection.BackColor = System.Drawing.Color.Black;
this.pictureBoxEthernetConnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetConnection.Image")));
this.pictureBoxEthernetConnection.Location = new System.Drawing.Point(187, 44);
this.pictureBoxEthernetConnection.Name = "pictureBoxEthernetConnection";
this.pictureBoxEthernetConnection.Size = new System.Drawing.Size(30, 25);
this.pictureBoxEthernetConnection.Visible = false;
//
// pictureBoxEthernetDisable
//
this.pictureBoxEthernetDisable.BackColor = System.Drawing.Color.Black;
this.pictureBoxEthernetDisable.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisable.Image")));
this.pictureBoxEthernetDisable.Location = new System.Drawing.Point(151, 13);
this.pictureBoxEthernetDisable.Name = "pictureBoxEthernetDisable";
this.pictureBoxEthernetDisable.Size = new System.Drawing.Size(30, 25);
this.pictureBoxEthernetDisable.Visible = false;
//
// labelResult9
//
this.labelResult9.BackGround = null;
@ -986,15 +911,15 @@
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(786, 90);
this.labelUserID.Location = new System.Drawing.Point(787, 93);
this.labelUserID.Name = "labelUserID";
this.labelUserID.OverlapOptimize = true;
this.labelUserID.PasswordChar = '\0';
this.labelUserID.Radius = 3;
this.labelUserID.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelUserID.Size = new System.Drawing.Size(100, 15);
this.labelUserID.Size = new System.Drawing.Size(100, 20);
this.labelUserID.TabIndex = 267;
this.labelUserID.Text = "ABCDEFG";
this.labelUserID.TextColor = System.Drawing.Color.White;
@ -1078,15 +1003,15 @@
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(786, 108);
this.labelUserLevel.Location = new System.Drawing.Point(787, 119);
this.labelUserLevel.Name = "labelUserLevel";
this.labelUserLevel.OverlapOptimize = true;
this.labelUserLevel.PasswordChar = '\0';
this.labelUserLevel.Radius = 3;
this.labelUserLevel.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelUserLevel.Size = new System.Drawing.Size(100, 15);
this.labelUserLevel.Size = new System.Drawing.Size(100, 20);
this.labelUserLevel.TabIndex = 268;
this.labelUserLevel.Text = "ABCDEFG";
this.labelUserLevel.TextColor = System.Drawing.Color.White;
@ -1483,7 +1408,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(141, 119);
this.labelTime.Name = "labelTime";
@ -1975,37 +1900,6 @@
this.smartTimerProgressBar.TimeFormStringSeparator = ":";
this.smartTimerProgressBar.Tick += new System.EventHandler(this.smartTimerProgressBar_Tick);
//
// timerServer
//
this.timerServer.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
this.timerServer.Interval = 1000;
this.timerServer.IntervalSeries = null;
this.timerServer.TimeCount = ((long)(1000000));
this.timerServer.TimeFormStringSeparator = ":";
this.timerServer.Tick += new System.EventHandler(this.timerServer_Tick);
//
// labelExpireOfPassword
//
this.labelExpireOfPassword.BackGround = this.smartForm1;
this.labelExpireOfPassword.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelExpireOfPassword.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelExpireOfPassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelExpireOfPassword.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.LineSpacing = 0F;
this.labelExpireOfPassword.Location = new System.Drawing.Point(786, 126);
this.labelExpireOfPassword.Name = "labelExpireOfPassword";
this.labelExpireOfPassword.OverlapOptimize = true;
this.labelExpireOfPassword.PasswordChar = '\0';
this.labelExpireOfPassword.Radius = 3;
this.labelExpireOfPassword.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelExpireOfPassword.Size = new System.Drawing.Size(100, 15);
this.labelExpireOfPassword.TabIndex = 424;
this.labelExpireOfPassword.Text = "ABCDEFG";
this.labelExpireOfPassword.TextColor = System.Drawing.Color.White;
this.labelExpireOfPassword.TextColorDisable = System.Drawing.Color.Gray;
this.labelExpireOfPassword.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelExpireOfPassword.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelExpireOfPassword.Wordwrap = false;
// smartLabel1
//
this.smartLabel1.BackGround = this.smartForm1;
@ -2469,12 +2363,6 @@
private SmartX.SmartLabel labelResult6;
private SmartX.SmartLabel labelResult8;
private SmartX.SmartLabel labelResult7;
private SmartX.SmartTimer timerServer;
private System.Windows.Forms.PictureBox pictureBoxEthernetDisconnection;
private System.Windows.Forms.PictureBox pictureBoxEthernetConnection;
private System.Windows.Forms.PictureBox pictureBoxEthernetDisable;
private SmartX.SmartButton buttonModbus;
private SmartX.SmartLabel labelExpireOfPassword;
private SmartX.SmartLabel labelPressureMaster1;
private SmartX.SmartLabel labelPressureMaster2;
private SmartX.SmartLabel labelPressureMaster4;

View File

@ -20,8 +20,6 @@ namespace INT_PT002.Forms
public partial class FormMainDisplay3 : Form
{
#region Field
public string ChangeID;
private bool BeforeEthernetStatus;
private int FlagIgnoreCNT;
private string MessageBoxRange;
@ -77,7 +75,6 @@ namespace INT_PT002.Forms
private void DefaultSetting()
{
int testIndex = 0;
this.BeforeEthernetStatus = false;
this.FlagIgnoreCNT = 0;
this.MessageBoxRange = "";
@ -240,47 +237,41 @@ namespace INT_PT002.Forms
private void UpdateDisplayUser(UserItem user)
{
string id = "", group = "", expireDate = "";
string id = "", group = "";
switch (user.Group)
switch (user.Status)
{
case Define.E_UserGroup.None:
case Define.E_UserStatus.None:
break;
case Define.E_UserGroup.Level1:
case Define.E_UserStatus.Level1:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Visible = true;
this.buttonUser.ButtonDown();
this.buttonRecipeNo.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMainDisplayProductChange;
this.buttonClear.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMainDisplayClear;
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Level2:
case Define.E_UserStatus.Level2:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Visible = true;
this.buttonUser.ButtonDown();
this.buttonRecipeNo.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMainDisplayProductChange;
this.buttonClear.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMainDisplayClear;
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Level3:
case Define.E_UserStatus.Level3:
id = user.ID;
group = user.Group.ToString();
this.labelExpireOfPassword.Visible = true;
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -291,11 +282,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Admin:
case Define.E_UserStatus.Admin:
id = user.ID;
group = user.Group.ToString();
this.labelExpireOfPassword.Visible = false;
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -306,11 +295,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Developer:
case Define.E_UserStatus.Developer:
id = user.ID;
group = user.Group.ToString();
this.labelExpireOfPassword.Visible = true;
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -321,23 +308,19 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.NotLogin:
case Define.E_UserStatus.NotLogin:
id = "";
group = "";
this.labelExpireOfPassword.Visible = false;
this.buttonRecipeNo.Enabled = true;
this.buttonClear.Enabled = true;
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.LogOut:
case Define.E_UserStatus.LogOff:
id = "Log Off";
group = "-";
this.labelExpireOfPassword.Visible = false;
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOff)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOff;
@ -356,39 +339,6 @@ namespace INT_PT002.Forms
this.buttonInspection.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonInspection.Enabled);
this.buttonMenu.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonMenu.Enabled);
expireDate = this.DisplayExpireOfPassword(user.Group);
if (expireDate != "-")
{
int intExpireDate = int.Parse(expireDate);
if (intExpireDate == 0)
{
this.labelExpireOfPassword.TextColor = this.ParentForm.ColorLogOff;
this.labelExpireOfPassword.Text = "D-0";
}
else if (intExpireDate < 0)
{
if (intExpireDate * -1 > this.ParentForm.CurrentSystemStatus.CurrentUser.ExpirePassword)
expireDate = "-" + (this.ParentForm.CurrentSystemStatus.CurrentUser.ExpirePassword - 1).ToString();
this.labelExpireOfPassword.Text = "D" + expireDate;
if (intExpireDate >= -10)
this.labelExpireOfPassword.TextColor = this.ParentForm.ColorLogOff;
else
this.labelExpireOfPassword.TextColor = this.ParentForm.ColorLogOn;
}
else
{
this.labelExpireOfPassword.TextColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "D+" + expireDate;
}
}
else
{
this.labelExpireOfPassword.TextColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "-";
}
if (this.labelUserLevel.Text != group)
this.labelUserLevel.Text = group;
if (this.labelUserID.Text != id)
@ -396,41 +346,16 @@ namespace INT_PT002.Forms
}
private void Login()
{
int extract = 0;
DialogResult result;
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, false, false);
result = logOn.ShowDialog();
if (result == DialogResult.OK)
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
if (logOn.ShowDialog() == DialogResult.OK)
{
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Group == Define.E_UserGroup.Level1 ||
this.ParentForm.CurrentSystemStatus.CurrentUser.Group == Define.E_UserGroup.Level2 ||
this.ParentForm.CurrentSystemStatus.CurrentUser.Group == Define.E_UserGroup.Level3)
{
// 비밀번호 만료일 10일 미만 체크 후 비밀번호 변경
this.PasswordExpirationCheck(this.ParentForm.CurrentSystemStatus.CurrentUser);
}
//this.ParentForm.ChildFormMenu.CenterEquipUserGroupEditor.UpdateAllMenu(this.ParentForm.CurrentSystemStatus);
this.DisplayRefresh();
this.buttonUser.ButtonDown();
this.ParentForm.ChildFormMenu.UpdateDisplayUser(this.ParentForm.CurrentSystemStatus.CurrentUser);
}
else if (result == DialogResult.Abort)
{
// 비밀 번호 변경 띄우기
DialogFormLogOn logOn1 = new DialogFormLogOn(this.ParentForm, false, true);
if (logOn1.ShowDialog() == DialogResult.OK)
{
//this.ParentForm.ChildFormMenu.CenterEquipUserGroupEditor.UpdateAllMenu(this.ParentForm.CurrentSystemStatus);
this.DisplayRefresh();
this.buttonUser.ButtonText = "Logout";
//this.ParentForm.TimerAutomaticLogout(true, this.ParentForm.SystemConfig.AutomaticLogout);
this.buttonUser.ButtonDown();
this.ParentForm.ChildFormMenu.UpdateDisplayUser(this.ParentForm.CurrentSystemStatus.CurrentUser);
}
else
this.buttonUser.ButtonUp();
// Part 11
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "");
}
else
{
@ -439,65 +364,19 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.buttonUser.ButtonText = "Login";
this.ChangeID = "";
this.DisplayRefresh();
// Part 11
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Logout, "");
this.DisplayRefresh();
}
private void PasswordExpirationCheck(UserItem user)
{
int expiryDay = 0;
// 만료일 -10 일때 메시지 띄우기
expiryDay = user.GetPasswordExpiryDday();
if (expiryDay >= -10)
{
//Console.WriteLine("password : " + expiryDay.ToString());
if (expiryDay < 0)
expiryDay *= -1;
DialogFormYesNo myDlg = new DialogFormYesNo(this.ParentForm.SystemConfig.LANGUAGE, 2, expiryDay.ToString());
if (myDlg.ShowDialog() == DialogResult.Yes)
{
// 비밀 번호 변경 띄우기
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, true, true);
if (logOn.ShowDialog() == DialogResult.OK)
{
}
}
}
}
public void Part11AutomaticLogoutReset()
{
//UserManager.UserManager_AutoLogoutTimeoutReset();
}
public string DisplayExpireOfPassword(Define.E_UserGroup group)
{
string ret = "";
if (group == Define.E_UserGroup.Admin || group == Define.E_UserGroup.Developer)
ret = "-";
else
{
//TimeSpan resultTime = DateTime.Now - this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireRegister;
TimeSpan dayDiff = DateTime.Now.Date - this.ParentForm.CurrentSystemStatus.CurrentUser.DatePasswordExpire.Date;
ret = dayDiff.Days.ToString();
}
return ret;
}
public void CallBackUserListModifyInfoData(UserManager.UserMgr_user_info_t user)
{
this.ParentForm.CurrentSystemStatus.CurrentUser.DatePasswordExpire = DateTime.Now.AddDays(this.ParentForm.CurrentSystemStatus.CurrentUser.ExpirePassword - 1);
this.DisplayExpireOfPassword(this.ParentForm.CurrentSystemStatus.CurrentUser.Group);
}
public void CallBackUserListLoginTimeoutDataEvent(UserManager.UserMgr_login_timeout_t user)
{
string code = "", message1 = "", message2 = "";
@ -624,60 +503,6 @@ namespace INT_PT002.Forms
}
}
public void InitialEthernetIcon()
{
// 이더넷
if (this.ParentForm.SystemConfig.IsEthernetEnable == true)
{
this.pictureBoxEthernetDisable.Visible = false;
this.pictureBoxEthernetDisconnection.Visible = true;
this.pictureBoxEthernetConnection.Visible = false;
}
else
{
this.pictureBoxEthernetDisable.Visible = true;
this.pictureBoxEthernetDisconnection.Visible = false;
this.pictureBoxEthernetConnection.Visible = false;
}
}
public void UpdateEthernetStatusDisplay(bool status)
{
//Console.Write("\n" + string.Format("UpdateEthernetStatusDisplay {0:yyyy-MM-dd HH:mm:ss}: {1}", DateTime.Now, status.ToString()));
if (this.BeforeEthernetStatus == status)
return;
else
this.BeforeEthernetStatus = status;
if (status == true)
{
this.pictureBoxEthernetConnection.Visible = true;
this.pictureBoxEthernetDisconnection.Visible = false;
}
else
{
this.pictureBoxEthernetConnection.Visible = false;
this.pictureBoxEthernetDisconnection.Visible = true;
}
}
public void TimerServer(bool value)
{
if (value == false)
{
if (this.timerServer.IsStart == true)
this.timerServer.Stop();
}
else
{
if (this.timerServer.IsStart == false)
this.timerServer.Start();
}
}
public void MainButtonModbusAdd(bool bValue)
{
this.buttonModbus.Visible = bValue;
}
public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status)
{
this.ProcessStatus = status;
@ -1148,8 +973,6 @@ namespace INT_PT002.Forms
{
string before = "", after = "";
this.Part11AutomaticLogoutReset();
before = this.buttonRecipeNo.ButtonText;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad("NUMBER", this.buttonRecipeNo.ButtonText, 4, 0, false);
@ -1172,15 +995,11 @@ namespace INT_PT002.Forms
}
private void buttonDisplayGraph_Click(object sender, EventArgs e)
{
this.Part11AutomaticLogoutReset();
this.ChildControl.DisplayRefresh(1);
this.ChildControl.Visible = true;
}
private void buttonInspection_Click(object sender, EventArgs e)
{
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
this.InitializeData();
@ -1188,9 +1007,7 @@ namespace INT_PT002.Forms
}
private void buttonUser_Click(object sender, EventArgs e)
{
this.Part11AutomaticLogoutReset();
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Group == Define.E_UserGroup.LogOut)
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Status == Define.E_UserStatus.LogOff)
{
this.Login();
}
@ -1206,21 +1023,12 @@ namespace INT_PT002.Forms
}
private void buttonMenu_Click(object sender, EventArgs e)
{
this.Part11AutomaticLogoutReset();
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Stop)
{
UserManager.UserManager_AutoLogoutTimeoutPause();
this.ParentForm.ChildFormMenu.DisplayRefresh(this.ParentForm.CurrentSystemStatus);
this.ParentForm.FormChange((int)Define.E_FormStore.FormMenu);
}
}
private void buttonModbus_Click(object sender, EventArgs e)
{
this.Part11AutomaticLogoutReset();
}
private void smartDraw1_Click(object sender, EventArgs e)
{
@ -1330,16 +1138,6 @@ namespace INT_PT002.Forms
// break;
//}
}
private void timerServer_Tick(object sender, EventArgs e)
{
if (this.ParentForm.smartTCPMultiServer.IsStart == true)
{
if (this.ParentForm.smartTCPMultiServer.ClientInfoList == null)
this.UpdateEthernetStatusDisplay(false);
else
this.UpdateEthernetStatusDisplay(true);
}
}
#endregion
private void smartButton1_Click(object sender, EventArgs e)
@ -1370,6 +1168,7 @@ namespace INT_PT002.Forms
this.labelAlarm.Location = new Point(3, 26);
}
}
private void smartButton2_Click(object sender, EventArgs e)
{
string value = "";
@ -1398,6 +1197,7 @@ namespace INT_PT002.Forms
this.labelAlarm.Location = new Point(3, 26);
}
}
private void smartButton3_Click(object sender, EventArgs e)
{
string value = "";
@ -1426,6 +1226,7 @@ namespace INT_PT002.Forms
this.labelAlarm.Location = new Point(3, 26);
}
}
private void smartButton4_Click(object sender, EventArgs e)
{
string value = "";
@ -1454,6 +1255,7 @@ namespace INT_PT002.Forms
this.labelAlarm.Location = new Point(3, 26);
}
}
private void smartButton5_Click(object sender, EventArgs e)
{
switch (this.testIndex)

File diff suppressed because it is too large Load Diff

View File

@ -283,13 +283,13 @@ namespace INT_PT002.Forms
{
string id = "", group = "";
switch (user.Group)
switch (user.Status)
{
case Define.E_UserGroup.None:
case Define.E_UserStatus.None:
break;
case Define.E_UserGroup.Level1:
case Define.E_UserStatus.Level1:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -300,9 +300,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Level2:
case Define.E_UserStatus.Level2:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -313,9 +313,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Level3:
case Define.E_UserStatus.Level3:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -326,9 +326,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Admin:
case Define.E_UserStatus.Admin:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -339,9 +339,9 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.Developer:
case Define.E_UserStatus.Developer:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
if (this.labelUserLevel.TextColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.TextColor = this.labelUserID.TextColor = this.ParentForm.ColorLogOn;
@ -352,7 +352,7 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.NotLogin:
case Define.E_UserStatus.NotLogin:
id = "";
group = "";
@ -361,7 +361,7 @@ namespace INT_PT002.Forms
this.buttonInspection.Enabled = true;
this.buttonMenu.Enabled = true;
break;
case Define.E_UserGroup.LogOut:
case Define.E_UserStatus.LogOff:
id = "Log Off";
group = "-";
@ -390,7 +390,7 @@ namespace INT_PT002.Forms
}
private void Login()
{
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, false, false);
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
if (logOn.ShowDialog() == DialogResult.OK)
{
this.DisplayRefresh();
@ -408,7 +408,7 @@ namespace INT_PT002.Forms
}
public void Logout()
{
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.ParentForm.CurrentSystemStatus.CurrentUser.Status = Define.E_UserStatus.LogOff;
this.buttonUser.ButtonUp();
this.buttonUser.ButtonText = "Login";
this.DisplayRefresh();
@ -889,7 +889,7 @@ namespace INT_PT002.Forms
}
private void buttonUser_Click(object sender, EventArgs e)
{
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Group == Define.E_UserGroup.LogOut)
if (this.ParentForm.CurrentSystemStatus.CurrentUser.Status == Define.E_UserStatus.LogOff)
{
this.Login();
}

View File

@ -43,7 +43,7 @@
this.labelUserID = new SmartX.SmartLabel();
this.labelUserLevel = new SmartX.SmartLabel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.labelTime = new SmartX.SmartLabel();
this.smartLabel1 = new SmartX.SmartLabel();
this.buttonBottom4 = new SmartX.SmartButton();
this.buttonBottom3 = new SmartX.SmartButton();
this.buttonBottom2 = new SmartX.SmartButton();
@ -77,7 +77,7 @@
this.smartForm1.Controls.Add(this.labelUserID);
this.smartForm1.Controls.Add(this.labelUserLevel);
this.smartForm1.Controls.Add(this.pictureBox1);
this.smartForm1.Controls.Add(this.labelTime);
this.smartForm1.Controls.Add(this.smartLabel1);
this.smartForm1.Controls.Add(this.buttonBottom4);
this.smartForm1.Controls.Add(this.buttonBottom3);
this.smartForm1.Controls.Add(this.buttonBottom2);
@ -274,7 +274,7 @@
this.labelAlarm.BackGroundColor = System.Drawing.Color.Black;
this.labelAlarm.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
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(0, 0);
this.labelAlarm.Name = "labelAlarm";
@ -398,7 +398,7 @@
this.labelUserID.BackGroundColor = System.Drawing.Color.Black;
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(705, 13);
this.labelUserID.Name = "labelUserID";
@ -421,7 +421,7 @@
this.labelUserLevel.BackGroundColor = System.Drawing.Color.Black;
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(811, 13);
this.labelUserLevel.Name = "labelUserLevel";
@ -445,28 +445,28 @@
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(53, 30);
//
// labelTime
// smartLabel1
//
this.labelTime.BackGround = this.smartForm1;
this.labelTime.BackGroundColor = System.Drawing.Color.Black;
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.LineSpacing = 0F;
this.labelTime.Location = new System.Drawing.Point(62, 3);
this.labelTime.Name = "labelTime";
this.labelTime.OverlapOptimize = true;
this.labelTime.PasswordChar = '\0';
this.labelTime.Radius = 3;
this.labelTime.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTime.Size = new System.Drawing.Size(166, 30);
this.labelTime.TabIndex = 0;
this.labelTime.Text = "2023-02-13 16:30:25";
this.labelTime.TextColor = System.Drawing.Color.White;
this.labelTime.TextColorDisable = System.Drawing.Color.Gray;
this.labelTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTime.Wordwrap = false;
this.smartLabel1.BackGround = this.smartForm1;
this.smartLabel1.BackGroundColor = System.Drawing.Color.Black;
this.smartLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.smartLabel1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel1.LineSpacing = 0F;
this.smartLabel1.Location = new System.Drawing.Point(62, 3);
this.smartLabel1.Name = "smartLabel1";
this.smartLabel1.OverlapOptimize = true;
this.smartLabel1.PasswordChar = '\0';
this.smartLabel1.Radius = 3;
this.smartLabel1.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.smartLabel1.Size = new System.Drawing.Size(166, 30);
this.smartLabel1.TabIndex = 0;
this.smartLabel1.Text = "2023-02-13 16:30:25";
this.smartLabel1.TextColor = System.Drawing.Color.White;
this.smartLabel1.TextColorDisable = System.Drawing.Color.Gray;
this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel1.Wordwrap = false;
//
// buttonBottom4
//
@ -845,7 +845,7 @@
private SmartX.SmartButton buttonBottom4;
private SmartX.SmartButton buttonBottom3;
private SmartX.SmartButton buttonBottom2;
private SmartX.SmartLabel labelTime;
private SmartX.SmartLabel smartLabel1;
private System.Windows.Forms.PictureBox pictureBox1;
private SmartX.SmartLabel labelUserID;
private SmartX.SmartLabel labelUserLevel;

View File

@ -26,7 +26,6 @@ namespace INT_PT002.Forms
private ControlMenuRecipeSetting Child_Recipe_Setting;
// User
private ControlMenuUserUserEditor Child_User_UserEditor;
private ControlMenuUserMyPage Child_User_MyPage;
private ControlMenuUserGroupEditor Child_User_GroupEditor;
// Manual
private ControlMenuManualIoTest Child_Manual_IoTest;
@ -37,7 +36,6 @@ namespace INT_PT002.Forms
// System
private ControlMenuSystemInformation Child_System_Information;
private ControlMenuSystemStatus Child_System_Status;
public ControlMenuSystemEthernet Child_System_Ethernet;
public Define.E_TopMenuStore SelectedTopMenu;
public Define.E_MenuRecipeStore SelectedMenuRecipe;
@ -82,7 +80,6 @@ namespace INT_PT002.Forms
{
this.Child_Recipe_Setting = new ControlMenuRecipeSetting(this);
this.Child_User_UserEditor = new ControlMenuUserUserEditor(this);
this.Child_User_MyPage = new ControlMenuUserMyPage(this);
this.Child_User_GroupEditor = new ControlMenuUserGroupEditor(this);
this.Child_Manual_IoTest = new ControlMenuManualIoTest(this);
this.Child_Log_History = new ControlMenuLogHistory(this);
@ -90,11 +87,9 @@ namespace INT_PT002.Forms
this.Child_Log_Alarm = new ControlMenuLogAlarm(this);
this.Child_System_Information = new ControlMenuSystemInformation(this);
this.Child_System_Status = new ControlMenuSystemStatus(this);
this.Child_System_Ethernet = new ControlMenuSystemEthernet(this);
this.Controls.Add(this.Child_Recipe_Setting);
this.Controls.Add(this.Child_User_UserEditor);
this.Controls.Add(this.Child_User_MyPage);
this.Controls.Add(this.Child_User_GroupEditor);
this.Controls.Add(this.Child_Manual_IoTest);
this.Controls.Add(this.Child_Log_Alarm);
@ -102,11 +97,9 @@ namespace INT_PT002.Forms
this.Controls.Add(this.Child_Log_Inspection);
this.Controls.Add(this.Child_System_Information);
this.Controls.Add(this.Child_System_Status);
this.Controls.Add(this.Child_System_Ethernet);
this.Child_Recipe_Setting.Location = new Point(0, 39);
this.Child_User_UserEditor.Location = new Point(0, 39);
this.Child_User_MyPage.Location = new Point(0, 39);
this.Child_User_GroupEditor.Location = new Point(0, 39);
this.Child_Manual_IoTest.Location = new Point(0, 39);
this.Child_Log_Alarm.Location = new Point(0, 39);
@ -114,9 +107,9 @@ namespace INT_PT002.Forms
this.Child_Log_Inspection.Location = new Point(0, 39);
this.Child_System_Information.Location = new Point(0, 39);
this.Child_System_Status.Location = new Point(0, 39);
this.Child_System_Ethernet.Location = new Point(0, 39);
}
public void UpdateButtonColor()
{
this.buttonRecipe.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonRecipe.Enabled);
@ -125,46 +118,45 @@ namespace INT_PT002.Forms
this.buttonLog.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonLog.Enabled);
this.buttonSystem.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonSystem.Enabled);
}
public void UpdateDisplayUser(UserItem user)
private void UpdateDisplayUser(UserItem user)
{
string id = "", group = "";
switch (user.Group)
switch (user.Status)
{
case Define.E_UserGroup.Level1:
case Define.E_UserStatus.Level1:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
this.buttonRecipe.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsRecipeEnable;
this.buttonUser.Enabled = true;
this.buttonUser.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsUserEnable;
this.buttonManual.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsManualEnable;
this.buttonLog.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsLogEnable;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsSystemEnable;
break;
case Define.E_UserGroup.Level2:
case Define.E_UserStatus.Level2:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
this.buttonRecipe.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsRecipeEnable;
this.buttonUser.Enabled = true;
this.buttonUser.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsUserEnable;
this.buttonManual.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsManualEnable;
this.buttonLog.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsLogEnable;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsSystemEnable;
break;
case Define.E_UserGroup.Level3:
case Define.E_UserStatus.Level3:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
this.buttonRecipe.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsRecipeEnable;
this.buttonUser.Enabled = true;
this.buttonUser.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsUserEnable;
this.buttonManual.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsManualEnable;
this.buttonLog.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsLogEnable;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsSystemEnable;
break;
case Define.E_UserGroup.Admin:
case Define.E_UserGroup.Developer:
case Define.E_UserStatus.Developer:
id = user.ID;
group = user.Group.ToString();
group = user.Status.ToString();
this.buttonRecipe.Enabled = true;
this.buttonUser.Enabled = true;
@ -231,10 +223,6 @@ namespace INT_PT002.Forms
this.labelAlarm.Location = new Point(0, 0);
}
}
public void UpdateDisplayTime()
{
this.labelTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
}
#region Log
// FileCopy
@ -416,59 +404,6 @@ namespace INT_PT002.Forms
}
#endregion
private void DisplayUserScreen(UserGroup group)
{
switch (this.ParentForm.CurrentSystemStatus.CurrentUser.Group)
{
case Define.E_UserGroup.Level1:
if (group.Level1.IsMenuUserSetting == true)
{
this.Child_User_UserEditor.DisplayRefresh();
this.Child_User_UserEditor.BringToFront();
}
else
{
this.Child_User_MyPage.DisplayRefresh();
this.Child_User_MyPage.BringToFront();
this.buttonBottom2.Visible = false;
}
break;
case Define.E_UserGroup.Level2:
if (group.Level2.IsMenuUserSetting == true)
{
this.Child_User_UserEditor.DisplayRefresh();
this.Child_User_UserEditor.BringToFront();
}
else
{
this.Child_User_MyPage.DisplayRefresh();
this.Child_User_MyPage.BringToFront();
this.buttonBottom2.Visible = false;
}
break;
case Define.E_UserGroup.Level3:
if (group.Level3.IsMenuUserSetting == true)
{
this.Child_User_UserEditor.DisplayRefresh();
this.Child_User_UserEditor.BringToFront();
}
else
{
this.Child_User_MyPage.DisplayRefresh();
this.Child_User_MyPage.BringToFront();
this.buttonBottom2.Visible = false;
}
break;
case Define.E_UserGroup.Developer:
case Define.E_UserGroup.Admin:
this.Child_User_UserEditor.DisplayRefresh();
this.Child_User_UserEditor.BringToFront();
break;
default:
break;
}
}
private void SetTopMenu(Define.E_TopMenuStore bottom)
{
switch (bottom)
@ -553,11 +488,10 @@ namespace INT_PT002.Forms
this.buttonBottom1.ButtonText = "Information";
this.buttonBottom2.ButtonText = "Equipment";
this.buttonBottom3.ButtonText = "Ethernet";
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = true;
this.buttonBottom3.Visible = true;
this.buttonBottom3.Visible = false;
this.buttonBottom4.Visible = false;
this.SelectedMenuSystem = Define.E_MenuSystemStore._1_Information;
@ -597,7 +531,8 @@ namespace INT_PT002.Forms
switch (menu)
{
case Define.E_MenuUserStore._1_UserEditor:
this.DisplayUserScreen(this.ParentForm.CurrentUserGroup);
this.Child_User_UserEditor.DisplayRefresh();
this.Child_User_UserEditor.BringToFront();
this.buttonBottom1.ButtonDown();
this.buttonBottom2.ButtonUp();
@ -682,7 +617,7 @@ namespace INT_PT002.Forms
this.buttonBottom3.ButtonUp();
this.buttonBottom4.ButtonUp();
break;
case Define.E_MenuSystemStore._2_Equipment:
case Define.E_MenuSystemStore._2_Status:
this.Child_System_Status.DisplayRefresh();
this.Child_System_Status.BringToFront();
@ -691,15 +626,6 @@ namespace INT_PT002.Forms
this.buttonBottom3.ButtonUp();
this.buttonBottom4.ButtonUp();
break;
case Define.E_MenuSystemStore._3_Ethernet:
this.Child_System_Ethernet.DisplayRefresh();
this.Child_System_Ethernet.BringToFront();
this.buttonBottom1.ButtonUp();
this.buttonBottom2.ButtonUp();
this.buttonBottom3.ButtonDown();
this.buttonBottom4.ButtonUp();
break;
default:
break;
}
@ -941,20 +867,6 @@ namespace INT_PT002.Forms
{
this.Child_User_UserEditor.CallBackUserModifyUserData(user);
}
public void CallBackUserListModifyInfoData(UserManager.UserMgr_user_info_t user)
{
try
{
if (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.UserEditor)
this.Child_User_UserEditor.CallBackUserListModifyInfoDataEvent(user);
else if (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode == Define.E_DisplayModeStore.UserMyPage)
this.Child_User_MyPage.CallBackUserListModifyInfoDataEvent(user);
}
catch (Exception ex)
{
FormMain.Exception(ex);
}
}
public void CallBackUserListNewData(UserManager.UserMgr_user_info_t user)
{
this.Child_User_UserEditor.CallBackUserListNewData(user);
@ -1262,7 +1174,7 @@ namespace INT_PT002.Forms
this.SetBottomMenuLog(this.SelectedMenuLog);
break;
case Define.E_TopMenuStore.System:
this.SelectedMenuSystem = Define.E_MenuSystemStore._2_Equipment;
this.SelectedMenuSystem = Define.E_MenuSystemStore._2_Status;
this.SetBottomMenuSystem(this.SelectedMenuSystem);
break;
default:
@ -1290,7 +1202,7 @@ namespace INT_PT002.Forms
this.SetBottomMenuLog(this.SelectedMenuLog);
break;
case Define.E_TopMenuStore.System:
this.SelectedMenuSystem = Define.E_MenuSystemStore._3_Ethernet;
this.SelectedMenuSystem = Define.E_MenuSystemStore._0_None;
this.SetBottomMenuSystem(this.SelectedMenuSystem);
break;
default:

View File

@ -4,15 +4,14 @@ using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace INT_PT002.Part11_UserManager
{
public partial class UserManager
{
private const string PathDll = "SD Card\\Run\\DllUserMgr.dll";
private delegate void fnUserMgrVersionCB(StringBuilder version);
private static fnUserMgrVersionCB fnUserMgrVersionCallBack;
private delegate void fnUserMgrDebugCB(int level, StringBuilder pMessage);
private static fnUserMgrDebugCB fnUserMgrDebugCallBack;
@ -52,8 +51,6 @@ namespace INT_PT002.Part11_UserManager
private delegate void fnUserMgrGetListNameCB(ref UserMgr_user_list_name_t user_name);
private static fnUserMgrGetListNameCB fnUsermgrGetListNameCallBack;
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern void DLL_UserMgr_Register_VersionCB(fnUserMgrVersionCB func);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern void DLL_UserMgr_Register_DebugCB(fnUserMgrDebugCB func);
@ -97,9 +94,6 @@ namespace INT_PT002.Part11_UserManager
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern void DLL_UserMgr_HelloWorld();
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern void DLL_UserMgr_Getversion();
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern void DLL_UserMgr_Activation();
@ -124,15 +118,9 @@ namespace INT_PT002.Part11_UserManager
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserModifyPW(IntPtr user_id, IntPtr user_pw);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserModifyPWDirect(IntPtr user_id, IntPtr user_pw);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserModifyID(IntPtr user_org_id, IntPtr user_new_id);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserResetPWDirect(IntPtr user_id, IntPtr user_pw);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserModifyOthers(IntPtr user_id, int fadmin, int expire_pw, int expire_account, int active_level);
@ -142,9 +130,6 @@ namespace INT_PT002.Part11_UserManager
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserAllDel_Default();
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserLoginFailLockSet(IntPtr user_id);
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
private static extern int DLL_UserMgr_UserLockRelease(IntPtr user_id, bool lock_account, bool lock_password);

View File

@ -69,26 +69,26 @@ namespace INT_PT002.Part11_UserManager
USER_MGR_STATUS_OK = 0x00,
// error status
USER_MGR_STATUS_ID_NOT_FOUND, // 1 - not found the user id
USER_MGR_STATUS_ID_DUPLICATE, // 2 - duplicate on id
USER_MGR_STATUS_ID_LENGTH_UNDER, // 3 - under the minimum length of id
USER_MGR_STATUS_ID_LENGTH_OVER, // 4 - over the maximum length of id
USER_MGR_STATUS_ID_CONT_LETTER, // 5 - continue characters or duplicate characters of id
USER_MGR_STATUS_ID_INVALID_CHAR, // 6 - include the invalid character on id
USER_MGR_STATUS_ID_ACCOUNT_LOCK, // 7 - Account Lock
USER_MGR_STATUS_ID_NOT_FOUND, // not found the user id
USER_MGR_STATUS_ID_DUPLICATE, // duplicate on id
USER_MGR_STATUS_ID_LENGTH_UNDER, // under the minimum length of id
USER_MGR_STATUS_ID_LENGTH_OVER, // over the maximum length of id
USER_MGR_STATUS_ID_CONT_LETTER, // continue characters or duplicate characters of id
USER_MGR_STATUS_ID_INVALID_CHAR, // include the invalid character on id
USER_MGR_STATUS_ID_ACCOUNT_LOCK,
USER_MGR_STATUS_PW_DUPLICATE_HISTORY, // 8 - duplicate on password history
USER_MGR_STATUS_PW_LENGTH_UNDER, // 9 - under the minimum length of password
USER_MGR_STATUS_PW_LENGTH_OVER, // 10 - over the maximum length of password
USER_MGR_STATUS_PW_CONT_LETTER, // 11 - continue characters or duplicate characters of password
USER_MGR_STATUS_PW_INVALID_CHAR, // 12 - include the invalid character on password
USER_MGR_STATUS_PW_EACH_MIN_CHAR, // 13 - not include minimum characters on password
USER_MGR_STATUS_PW_NOT_SAME, // 14 - password error
USER_MGR_STATUS_PW_PASSWORD_LOCK, // 15 - Password Lock
USER_MGR_STATUS_PW_DUPLICATE_HISTORY, // duplicate on password history
USER_MGR_STATUS_PW_LENGTH_UNDER, // under the minimum length of password
USER_MGR_STATUS_PW_LENGTH_OVER, // over the maximum length of password
USER_MGR_STATUS_PW_CONT_LETTER, // continue characters or duplicate characters of password
USER_MGR_STATUS_PW_INVALID_CHAR, // include the invalid character on password
USER_MGR_STATUS_PW_EACH_MIN_CHAR, // not include minimum characters on password
USER_MGR_STATUS_PW_NOT_SAME, // password error
USER_MGR_STATUS_PW_PASSWORD_LOCK,
USER_MGR_STATUS_OTHER_OVER_PASSWORD_PERIOD, // 16 - over maximum password expire period (days)
USER_MGR_STATUS_OTHER_OVER_ACCOUNT_PERIOD, // 17 - over maximum account expire period (days)
USER_MGR_STATUS_OTHER_OVER_LOGIN_TIMEOUT, // 18 - over maximum auto logout time (minute)
USER_MGR_STATUS_OTHER_OVER_PASSWORD_PERIOD, // over maximum password expire period (days)
USER_MGR_STATUS_OTHER_OVER_ACCOUNT_PERIOD, // over maximum account expire period (days)
USER_MGR_STATUS_OTHER_OVER_LOGIN_TIMEOUT, // over maximum auto logout time (minute)
USER_MGR_STATUS_MAX,
};
@ -212,40 +212,34 @@ namespace INT_PT002.Part11_UserManager
public Int32 fadmin;
[MarshalAs(UnmanagedType.I4)]
public Int32 password_expire_period; // password lock date
public Int32 expire_period_pw; // password lock
[MarshalAs(UnmanagedType.I4)]
public Int32 id_expire_period; // id lock date
public Int32 expire_period_account; // account lock
[MarshalAs(UnmanagedType.I4)]
public Int32 id_flock_status; // user ID (account) lock status
public Int32 flock_status_account; // user ID (account) lock
[MarshalAs(UnmanagedType.I4)]
public Int32 password_flock_status; // password lock status (need to change password)
public Int32 flock_status_password; // password lock (need to change password)
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t password_register_date; // date/time when the user password was registered or changed
public DateTime_t register_date; // date/time when the user password was registered or changed
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t id_login_date; // date/time when the user was login
public DateTime_t login_date; // date/time when the user was login
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t password_expire_date; // Password Expiration Date
public DateTime_t expire_register_date;
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t id_expire_date; // Account Expiration Date
public DateTime_t expire_account_date;
[MarshalAs(UnmanagedType.Struct)]
public MenuID_t menuID; // flag of Menu IDs
public MenuID_t menuID;
[MarshalAs(UnmanagedType.I4)]
public Int32 active_level; // menu active level : max : MAX_ACTIVE_LEVEL
[MarshalAs(UnmanagedType.I4)]
public Int32 fFirstPW; // [1] First (request to modify), [0] Next (not request)
[MarshalAs(UnmanagedType.I4)]
public Int32 login_fail_count; // [1] First (request to modify), [0] Next (not request)
public Int32 active_level;
}
#endregion
@ -330,40 +324,34 @@ namespace INT_PT002.Part11_UserManager
public Int32 fadmin;
[MarshalAs(UnmanagedType.I4)]
public Int32 password_expire_period; // password lock
public Int32 expire_period_pw; // password lock
[MarshalAs(UnmanagedType.I4)]
public Int32 id_expire_period; // account lock
public Int32 expire_period_account; // account lock
[MarshalAs(UnmanagedType.I4)]
public Int32 id_flock_status; // user ID (account) lock
public Int32 flock_status_account; // user ID (account) lock
[MarshalAs(UnmanagedType.I4)]
public Int32 flock_status_password; // password lock (need to change password)
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t password_register_date; // date/time when the user password was registered or changed
public DateTime_t register_date; // date/time when the user password was registered or changed
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t id_login_date; // date/time when the user was login
public DateTime_t login_date; // date/time when the user was login
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t password_expire_date; // Password Expiration Date
public DateTime_t expire_register_date;
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t id_expire_date; // Account Expiration Date
public DateTime_t expire_account_date;
[MarshalAs(UnmanagedType.I4)]
public Int32 active_level; // menu active level : max : MAX_ACTIVE_LEVEL
public Int32 active_level;
[MarshalAs(UnmanagedType.Struct)]
public MenuID_t menuID; // flag of Menu IDs
[MarshalAs(UnmanagedType.I4)]
public Int32 fFirstPW; // flag first password
[MarshalAs(UnmanagedType.I4)]
public Int32 login_fail_count; // [1] First (request to modify), [0] Next (not request)
public MenuID_t menuID;
}
#endregion

View File

@ -19,7 +19,6 @@ namespace INT_PT002.Part11_UserManager
public static event ObjectEventHandler UserListLoginTimeoutDataEvent;
public static event ObjectEventHandler UserListGetListDataEvent;
public static event ObjectEventHandler UserListGetListNameDataEvent;
public static event ObjectEventHandler UserListGetVersionDataEvent;
public delegate void IntObjectEventHandler(int status, object data);
public static event IntObjectEventHandler UserListLoginDataEvent;
@ -29,10 +28,9 @@ namespace INT_PT002.Part11_UserManager
public static void IntializeUserManager(string folder)
{
// regisetr callback
fnUserMgrVersionCallBack = UserManager_VersionCallback;
DLL_UserMgr_Register_VersionCB(fnUserMgrVersionCallBack);
//Console.Write("Initialize User Manger \n");
// regisetr callback
fnUserMgrDebugCallBack = UserManager_DebugCallback;
DLL_UserMgr_Register_DebugCB(fnUserMgrDebugCallBack);
@ -72,10 +70,86 @@ namespace INT_PT002.Part11_UserManager
fnUsermgrGetListNameCallBack = UserManager_GetListNameCallBack;
DLL_UserMgr_Register_GetListNameCB(fnUsermgrGetListNameCallBack);
// call the function
//DLL_UserMgr_HelloWorld();
DLL_UserMgr_Activation();
IntPtr pFolder = Marshal.StringToBSTR(folder);
DLL_UserMgr_SetFolder(pFolder);
// Test Only
//TestUserListData();
}
public static void TestUserListData()
{
DateTime_t regDateTime = new DateTime_t();
regDateTime.SetDate(2021, 10, 1);
regDateTime.SetTime(10, 11, 12);
DateTime_t loginDateTime = new DateTime_t();
loginDateTime.SetDate(2021, 9, 1);
loginDateTime.SetTime(10, 21, 12);
UserManager_UserAdd("Intech", "test12#$", 1, 90, 90, 1, regDateTime, loginDateTime);
UserManager_UserAdd("Admin00", "test12#$", 1, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 2);
UserManager_UserAdd("Test101", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 3);
UserManager_UserAdd("Test102", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 4);
UserManager_UserAdd("Test103", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 5);
UserManager_UserAdd("Test104", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 6);
UserManager_UserAdd("Test105", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test123", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test321", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("ABC001", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("CBA001", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("AAA001", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test000", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test105", "test12#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test106", "test12", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test107", "test#$", 0, 90, 90, 1, regDateTime, loginDateTime);
regDateTime.SetDate(2021, 10, 7);
UserManager_UserAdd("Test108", "1223#$%", 0, 90, 90, 1, regDateTime, loginDateTime);
//UserManager_UserNew("Test200", "test12#$", 0, 20, 30);
DLL_UserMgr_GetUserListID(IntPtr.Zero);
}
public static void DeinitializeUserManger()
{
DLL_UserMgr_Register_DebugCB(null);
DLL_UserMgr_Register_NewStatusCB(null);
DLL_UserMgr_Deactivation();
}
#region UM_FUNCTION
@ -136,29 +210,6 @@ namespace INT_PT002.Part11_UserManager
DLL_UserMgr_UserModifyPW(pID, pPW);
}
public static int UserManager_UserModifyPWDirect(String sID, String sNewPW)
{
int ret = 0;
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
IntPtr pPW = Marshal.StringToBSTR(sNewPW.ToString());
ret = DLL_UserMgr_UserModifyPWDirect(pID, pPW);
return ret;
}
public static int UserManager_UserResetPWDirect(String sID, String sNewPW)
{
int ret = 0;
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
IntPtr pPW = Marshal.StringToBSTR(sNewPW.ToString());
ret = DLL_UserMgr_UserResetPWDirect(pID, pPW);
return ret;
}
public static void UserManager_UserModifyID(String sID, String sNewID)
{
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
@ -194,12 +245,6 @@ namespace INT_PT002.Part11_UserManager
DLL_UserMgr_UserLockGet(pID);
}
public static void UserManager_UserLoginFailLockSet(String sID)
{
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
DLL_UserMgr_UserLoginFailLockSet(pID);
}
public static void UserManager_UserLoginCB(String sID, String sPW)
{
IntPtr pID = Marshal.StringToBSTR(sID.ToString());
@ -244,10 +289,6 @@ namespace INT_PT002.Part11_UserManager
{
DLL_UserMgr_GetUserListName();
}
public static void UserManager_GetVersion()
{
DLL_UserMgr_Getversion();
}
#endregion
#region UM_CALLBACK
@ -398,18 +439,6 @@ namespace INT_PT002.Part11_UserManager
{
}
}
private static void UserManager_VersionCallback(StringBuilder version)
{
try
{
if (UserListGetVersionDataEvent != null)
UserListGetVersionDataEvent(version);
}
catch
{
}
}
#endregion
}
}

View File

@ -22,9 +22,10 @@ namespace INT_PT002
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
FormMain.Exception(ex);
DialogFormMessage myMsg = new DialogFormMessage(1);
myMsg.ShowDialog();
}
}
}