# Conflicts:
#	INT69DB_2A/Forms/FormUserEditor.Designer.cs
#	INT69DB_2A_ImageDll/INT69DB_2A_ImageDll/obj/Release/Refactor/INT69DB_2A_ImageDll.dll
master
sj84 2023-09-08 11:23:27 +09:00
commit 9954d8f14a
259 changed files with 9017 additions and 4945 deletions

View File

@ -52,7 +52,7 @@
this.labelStatusExpirePassword.ForeColor = System.Drawing.Color.DarkRed;
this.labelStatusExpirePassword.InitVisible = true;
this.labelStatusExpirePassword.LineSpacing = 0F;
this.labelStatusExpirePassword.Location = new System.Drawing.Point(642, 252);
this.labelStatusExpirePassword.Location = new System.Drawing.Point(639, 247);
this.labelStatusExpirePassword.Name = "labelStatusExpirePassword";
this.labelStatusExpirePassword.Size = new System.Drawing.Size(100, 30);
this.labelStatusExpirePassword.TabIndex = 240;
@ -73,7 +73,7 @@
this.labelStatusExpireAccount.ForeColor = System.Drawing.Color.DarkRed;
this.labelStatusExpireAccount.InitVisible = true;
this.labelStatusExpireAccount.LineSpacing = 0F;
this.labelStatusExpireAccount.Location = new System.Drawing.Point(642, 216);
this.labelStatusExpireAccount.Location = new System.Drawing.Point(639, 211);
this.labelStatusExpireAccount.Name = "labelStatusExpireAccount";
this.labelStatusExpireAccount.Size = new System.Drawing.Size(100, 30);
this.labelStatusExpireAccount.TabIndex = 239;
@ -84,7 +84,7 @@
//
// labelExpirePasswordDate
//
this.labelExpirePasswordDate.BackColor = System.Drawing.Color.WhiteSmoke;
this.labelExpirePasswordDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
this.labelExpirePasswordDate.BackPictureBox = null;
this.labelExpirePasswordDate.BackPictureBox1 = null;
this.labelExpirePasswordDate.BackPictureBox2 = null;
@ -92,7 +92,7 @@
this.labelExpirePasswordDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelExpirePasswordDate.InitVisible = true;
this.labelExpirePasswordDate.LineSpacing = 0F;
this.labelExpirePasswordDate.Location = new System.Drawing.Point(345, 252);
this.labelExpirePasswordDate.Location = new System.Drawing.Point(342, 247);
this.labelExpirePasswordDate.Name = "labelExpirePasswordDate";
this.labelExpirePasswordDate.Size = new System.Drawing.Size(291, 30);
this.labelExpirePasswordDate.TabIndex = 242;
@ -103,7 +103,7 @@
//
// labelExpireAccountDate
//
this.labelExpireAccountDate.BackColor = System.Drawing.Color.WhiteSmoke;
this.labelExpireAccountDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
this.labelExpireAccountDate.BackPictureBox = null;
this.labelExpireAccountDate.BackPictureBox1 = null;
this.labelExpireAccountDate.BackPictureBox2 = null;
@ -111,7 +111,7 @@
this.labelExpireAccountDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelExpireAccountDate.InitVisible = true;
this.labelExpireAccountDate.LineSpacing = 0F;
this.labelExpireAccountDate.Location = new System.Drawing.Point(345, 216);
this.labelExpireAccountDate.Location = new System.Drawing.Point(342, 211);
this.labelExpireAccountDate.Name = "labelExpireAccountDate";
this.labelExpireAccountDate.Size = new System.Drawing.Size(291, 30);
this.labelExpireAccountDate.TabIndex = 241;
@ -132,7 +132,7 @@
this.smartLabel2.ForeColor = System.Drawing.Color.White;
this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(152, 252);
this.smartLabel2.Location = new System.Drawing.Point(149, 247);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.Size = new System.Drawing.Size(187, 30);
this.smartLabel2.TabIndex = 238;
@ -153,7 +153,7 @@
this.labelTitleExpireAccount.ForeColor = System.Drawing.Color.White;
this.labelTitleExpireAccount.InitVisible = true;
this.labelTitleExpireAccount.LineSpacing = 0F;
this.labelTitleExpireAccount.Location = new System.Drawing.Point(152, 216);
this.labelTitleExpireAccount.Location = new System.Drawing.Point(149, 211);
this.labelTitleExpireAccount.Name = "labelTitleExpireAccount";
this.labelTitleExpireAccount.Size = new System.Drawing.Size(187, 30);
this.labelTitleExpireAccount.TabIndex = 237;
@ -172,7 +172,7 @@
this.labelPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelPassword.InitVisible = true;
this.labelPassword.LineSpacing = 0F;
this.labelPassword.Location = new System.Drawing.Point(345, 180);
this.labelPassword.Location = new System.Drawing.Point(342, 175);
this.labelPassword.Name = "labelPassword";
this.labelPassword.Size = new System.Drawing.Size(291, 30);
this.labelPassword.TabIndex = 236;
@ -194,7 +194,7 @@
this.labelTitlePassword.ForeColor = System.Drawing.Color.White;
this.labelTitlePassword.InitVisible = true;
this.labelTitlePassword.LineSpacing = 0F;
this.labelTitlePassword.Location = new System.Drawing.Point(152, 180);
this.labelTitlePassword.Location = new System.Drawing.Point(149, 175);
this.labelTitlePassword.Name = "labelTitlePassword";
this.labelTitlePassword.Size = new System.Drawing.Size(187, 30);
this.labelTitlePassword.TabIndex = 235;
@ -213,7 +213,7 @@
this.labelID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelID.InitVisible = true;
this.labelID.LineSpacing = 0F;
this.labelID.Location = new System.Drawing.Point(345, 144);
this.labelID.Location = new System.Drawing.Point(342, 139);
this.labelID.Name = "labelID";
this.labelID.Size = new System.Drawing.Size(291, 30);
this.labelID.TabIndex = 234;
@ -234,7 +234,7 @@
this.labelTitleID.ForeColor = System.Drawing.Color.White;
this.labelTitleID.InitVisible = true;
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(152, 144);
this.labelTitleID.Location = new System.Drawing.Point(149, 139);
this.labelTitleID.Name = "labelTitleID";
this.labelTitleID.Size = new System.Drawing.Size(187, 30);
this.labelTitleID.TabIndex = 233;
@ -259,7 +259,7 @@
this.Controls.Add(this.labelID);
this.Controls.Add(this.labelTitleID);
this.Name = "ControlUserSetting";
this.Size = new System.Drawing.Size(800, 452);
this.Size = new System.Drawing.Size(800, 446);
this.ResumeLayout(false);
}

View File

@ -103,8 +103,8 @@ namespace INT69DB_2A.Controls
this.labelID.Text = item.ID;
this.labelPassword.Text = item.Password;
this.labelExpireAccountDate.Text = string.Format("{0:yyyy/MM/dd} ~ {1:yyyy/MM/dd}", item.DateRegister, item.DateExpireRegister);
this.labelExpirePasswordDate.Text = string.Format("{0:yyyy/MM/dd} ~ {1:yyyy/MM/dd}", item.DateLogin, item.DateExpireLogin);
this.labelExpireAccountDate.Text = string.Format("{0:yyyy/MM/dd} ~ {1:yyyy/MM/dd}", item.DateIdLogin, item.DateIdExpire);
this.labelExpirePasswordDate.Text = string.Format("{0:yyyy/MM/dd} ~ {1:yyyy/MM/dd}", item.DatePasswordRegister, item.DatePasswordExpire);
this.labelStatusExpireAccount.Visible = item.IsLockAccount;
this.labelStatusExpirePassword.Visible = item.IsLockPassword;
}
@ -176,7 +176,7 @@ namespace INT69DB_2A.Controls
private void labelPassword_Click(object sender, EventArgs e)
{
string value = "";
DialogFormUserEditorKeyboard keyboard = new DialogFormUserEditorKeyboard(this.labelPassword.Text, this.labelTitlePassword.Text);
DialogFormUserEditorKeyboard keyboard = new DialogFormUserEditorKeyboard(this.labelPassword.Text);
if (keyboard.ShowDialog() == DialogResult.OK)
{

View File

@ -36,16 +36,18 @@ namespace INT69DB_2A
FormEquipmentTest,
FormUserEditor,
FormUserGroupEditor,
FormDataBackup,
FormOption,
// 하단 세 항목은 위치를 맨 뒤로 고정할 것
FormDataStatistics,
FormDataBackup,
FormDataViewer,
};
public enum FormMainDisplayStore
public enum MainDisplayStore
{
FormMainDisplayBarGraph,
FormMainDisplayDotGraph,
FormMainDisplayTable,
BarGraph,
LineGraph,
Table,
};
public enum LanguageID
@ -374,6 +376,7 @@ namespace INT69DB_2A
SerialNumber,
EquipmentColumns,
TimeStamp,
EquipmentType,
}
public enum MessageBoxIcon
@ -426,6 +429,10 @@ namespace INT69DB_2A
MotorChangeID,
MotorChangeValueEach,
MotorChangeValueAll,
TryEthernetStart,
TryEthernetStop,
EthernetConnect,
EthernetDisconnect,
}
public enum TrackingParameter
{
@ -495,9 +502,10 @@ namespace INT69DB_2A
MotorPosition1,
MotorPosition2,
ChangeL1Name,
ChangeL2Name,
ChangeL3Name,
Level1Name,
Level2Name,
Level3Name,
AutoLogout,
}
public enum TrackingAlarm
{
@ -565,7 +573,7 @@ namespace INT69DB_2A
public static readonly string MotorUp = "Cmu00";
// Cut 신호
public static readonly string CutInpupt = "Cbc00";
public static readonly string CutInput = "Cbc00";
// 공장초기화
public static readonly string Initialization = "Cbi00";
// 운전
@ -1142,6 +1150,8 @@ namespace INT69DB_2A
private bool m_IsPrintPerProductEnable;
private bool m_IsIndividualTransmission;
private bool m_IsPingTimer;
private bool m_IsOptDataStatistics;
private bool m_IsIntegratedTransmission;
private int m_DecimalPlaces;
private int m_EthernetPort;
@ -1177,12 +1187,11 @@ namespace INT69DB_2A
private string m_EthernetServerAddress;
private bool m_IsPart11;
private int m_AutomaticLogout;
private string m_User_Level1_Name;
private string m_User_Level2_Name;
private string m_User_Level3_Name;
private int m_StoragePeriod;
private int m_UserAutomaticLogout;
private int m_DataStoragePeriod;
private int m_AutomaticLogout;
#endregion
#region Constructor
@ -1274,6 +1283,16 @@ namespace INT69DB_2A
get { return this.m_IsPingTimer; }
set { this.m_IsPingTimer = value; }
}
public bool IsOptDataStatistics
{
get { return this.m_IsOptDataStatistics; }
set { this.m_IsOptDataStatistics = value; }
}
public bool IsIntegratedTransmission
{
get { return this.m_IsIntegratedTransmission; }
set { this.m_IsIntegratedTransmission = value; }
}
public int DecimalPlaces
{
@ -1429,11 +1448,6 @@ namespace INT69DB_2A
get { return this.m_IsPart11; }
set { this.m_IsPart11 = value; }
}
public int AutomaticLogout
{
get { return this.m_AutomaticLogout; }
set { this.m_AutomaticLogout = value; }
}
public string User_Level1_Name
{
get { return this.m_User_Level1_Name; }
@ -1449,15 +1463,15 @@ namespace INT69DB_2A
get { return this.m_User_Level3_Name; }
set { this.m_User_Level3_Name = value; }
}
public int StoragePeriod
public int DataStoragePeriod
{
get { return this.m_StoragePeriod; }
set { this.m_StoragePeriod = value; }
get { return this.m_DataStoragePeriod; }
set { this.m_DataStoragePeriod = value; }
}
public int UserAutomaticLogout
public int AutomaticLogout
{
get { return this.m_UserAutomaticLogout; }
set { this.m_UserAutomaticLogout = value; }
get { return this.m_AutomaticLogout; }
set { this.m_AutomaticLogout = value; }
}
#endregion
@ -1478,6 +1492,8 @@ namespace INT69DB_2A
this.IsCutView = false;
this.IsPrintPerProductEnable = false;
this.IsPingTimer = false;
this.IsOptDataStatistics = false;
this.IsIntegratedTransmission = false;
this.DecimalPlaces = 1;
this.EthernetPort = 5000;
@ -1514,12 +1530,11 @@ namespace INT69DB_2A
this.EthernetServerAddress = "0.0.0.0";
this.IsPart11 = false;
this.AutomaticLogout = 30;
this.User_Level1_Name = "Level 1";
this.User_Level2_Name = "Level 2";
this.User_Level3_Name = "Level 3";
this.StoragePeriod = 12;
this.UserAutomaticLogout = 90;
this.DataStoragePeriod = 36;
this.AutomaticLogout = 90;
}
#endregion
}
@ -1543,7 +1558,7 @@ namespace INT69DB_2A
public int EquipmentID;
public int EquipmentMode;
public int ProductNumber;
public int AutomaticLogout;
public int DummyInt1;
public int DischargeConveyorDirectionCW;
public int UsbID;
public int ImpellerMotorBaudrate;
@ -1561,7 +1576,7 @@ namespace INT69DB_2A
public DataStore.LanguageID Language;
public bool DummyBool1;
public bool DummyBool2;
public bool IsIntegratedTransmission;
public bool IsLogin;
public bool IsFeedingConveyorRunPass;
@ -1624,8 +1639,8 @@ namespace INT69DB_2A
public int EthernetMode;
public int EthernetServerPort;
public int DummyInt10;
public int UserAutomaticLogout;
public int StoragePeriod;
public int AutomaticLogout;
public int DataStoragePeriod;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8)]
public string DummyString1;
@ -1826,6 +1841,8 @@ namespace INT69DB_2A
private int PreviousTimeTickCount;
private bool m_IsStart;
private bool m_IsUpdate;
private string m_WeightString;
private ushort m_UpdateCount;
#endregion
@ -1965,7 +1982,6 @@ namespace INT69DB_2A
}
}
}
public DataStore.WeightStatus Status
{
get { return this.m_Status; }
@ -1983,6 +1999,15 @@ namespace INT69DB_2A
set { this.m_IsStart = value; }
}
/// <summary>
/// 스틱2모드에서 데이터 갱신이 되었으면 true, 안되었으면 false
/// </summary>
public bool IsUpdate
{
get { return this.m_IsUpdate; }
set { this.m_IsUpdate = value; }
}
public string WeightString
{
get { return this.m_WeightString; }
@ -2013,6 +2038,7 @@ namespace INT69DB_2A
this.ExNGCount = 0;
this.Weight = 0.0;
this.ADCValue = "12345";
this.IsUpdate = false;
this.JudgmentStatus = DataStore.JudgmentStatus.Empty;
this.ProductionSpeed = 0;
this.WeightString = "0";
@ -3547,7 +3573,7 @@ namespace INT69DB_2A
#endregion
#region Property
public bool TpyeAlarm
public bool TypeAlarm
{
get { return this.m_TpyeAlarm; }
set { this.m_TpyeAlarm = value; }
@ -3567,7 +3593,7 @@ namespace INT69DB_2A
#region Method
private void Initialize()
{
this.TpyeAlarm = true;
this.TypeAlarm = true;
this.TypeOperation = true;
this.TypeParameter = true;
}
@ -3723,6 +3749,7 @@ namespace INT69DB_2A
{
#region Field
private int m_EquipmentColumns;
private int m_EquipmentType;
private string m_LoginId;
private string m_SerialNumber;
@ -3742,6 +3769,11 @@ namespace INT69DB_2A
get { return this.m_EquipmentColumns; }
set { this.m_EquipmentColumns = value; }
}
public int EquipmentType
{
get { return this.m_EquipmentType; }
set { this.m_EquipmentType = value; }
}
public string LoginId
{

View File

@ -34,8 +34,6 @@
this.buttonRead = new SmartX.SmartButton();
this.labelFileName = new SmartX.SmartLabel();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.smartLabel5 = new SmartX.SmartLabel();
this.labelId = new SmartX.SmartLabel();
this.smartLabel3 = new SmartX.SmartLabel();
this.labelProductNo = new SmartX.SmartLabel();
this.smartLabel2 = new SmartX.SmartLabel();
@ -127,8 +125,6 @@
//
this.smartGroupBox1.BackPictureBox = this.smartForm1;
this.smartGroupBox1.BackPictureBox1 = null;
this.smartGroupBox1.Controls.Add(this.smartLabel5);
this.smartGroupBox1.Controls.Add(this.labelId);
this.smartGroupBox1.Controls.Add(this.smartLabel3);
this.smartGroupBox1.Controls.Add(this.labelProductNo);
this.smartGroupBox1.Controls.Add(this.smartLabel2);
@ -152,48 +148,6 @@
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
//
// smartLabel5
//
this.smartLabel5.BackColor = System.Drawing.Color.DimGray;
this.smartLabel5.BackPictureBox = null;
this.smartLabel5.BackPictureBox1 = null;
this.smartLabel5.BackPictureBox2 = null;
this.smartLabel5.BorderColor = System.Drawing.Color.DimGray;
this.smartLabel5.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel5.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel5.ForeColor = System.Drawing.Color.White;
this.smartLabel5.InitVisible = true;
this.smartLabel5.LineSpacing = 0F;
this.smartLabel5.Location = new System.Drawing.Point(237, 180);
this.smartLabel5.Name = "smartLabel5";
this.smartLabel5.Size = new System.Drawing.Size(100, 20);
this.smartLabel5.TabIndex = 20;
this.smartLabel5.Text = "ID";
this.smartLabel5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel5.Wordwrap = false;
//
// labelId
//
this.labelId.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.labelId.BackPictureBox = null;
this.labelId.BackPictureBox1 = null;
this.labelId.BackPictureBox2 = null;
this.labelId.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.labelId.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelId.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelId.ForeColor = System.Drawing.Color.White;
this.labelId.InitVisible = true;
this.labelId.LineSpacing = 0F;
this.labelId.Location = new System.Drawing.Point(237, 202);
this.labelId.Name = "labelId";
this.labelId.Size = new System.Drawing.Size(100, 20);
this.labelId.TabIndex = 19;
this.labelId.Text = "1";
this.labelId.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelId.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelId.Wordwrap = false;
//
// smartLabel3
//
this.smartLabel3.BackColor = System.Drawing.Color.DimGray;
@ -227,7 +181,7 @@
this.labelProductNo.ForeColor = System.Drawing.Color.White;
this.labelProductNo.InitVisible = true;
this.labelProductNo.LineSpacing = 0F;
this.labelProductNo.Location = new System.Drawing.Point(237, 126);
this.labelProductNo.Location = new System.Drawing.Point(237, 130);
this.labelProductNo.Name = "labelProductNo";
this.labelProductNo.Size = new System.Drawing.Size(100, 20);
this.labelProductNo.TabIndex = 17;
@ -269,7 +223,7 @@
this.labelDate.ForeColor = System.Drawing.Color.White;
this.labelDate.InitVisible = true;
this.labelDate.LineSpacing = 0F;
this.labelDate.Location = new System.Drawing.Point(237, 50);
this.labelDate.Location = new System.Drawing.Point(237, 54);
this.labelDate.Name = "labelDate";
this.labelDate.Size = new System.Drawing.Size(100, 20);
this.labelDate.TabIndex = 15;
@ -358,8 +312,6 @@
private SmartX.SmartGroupBox smartGroupBox1;
private SmartX.SmartButton buttonClose;
private SmartX.SmartLabel labelNodeIndex;
private SmartX.SmartLabel smartLabel5;
private SmartX.SmartLabel labelId;
private SmartX.SmartLabel smartLabel3;
private SmartX.SmartLabel labelProductNo;
private SmartX.SmartLabel smartLabel2;

View File

@ -17,6 +17,9 @@ namespace INT69DB_2A.DialogForms
{
#region Field
private FormDataStatistics m_ParentForm;
public List<string> ListFiles; // 파일 리스트 - Part11 미사용 시
public List<DataBackupYear> ListInspectionFile; // 파일 리스트 - Part11 사용 시
#endregion
#region Constructor
@ -52,108 +55,107 @@ namespace INT69DB_2A.DialogForms
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.Size.Height / 2;
this.Location = new Point(x, y);
this.Size = new Size(450, 165);
this.Size = new Size(350, 470);
}
private void DefaultSetting()
{
this.DisplayTreeViewUpdate();
this.ListFiles = new List<string>();
this.ListInspectionFile = new List<DataBackupYear>();
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == false)
this.DisplayTreeViewUpdate1();
else
this.DisplayTreeViewUpdate2();
this.labelNodeIndex.Text = "-";
this.labelFileName.Text = "-";
this.labelDate.Text = "-";
this.labelProductNo.Text = "-";
this.labelId.Text = "-";
}
private Collection<List<string>> FileClassification(List<string> files)
private List<string> DirectorySort(DirectoryInfo[] directorys)
{
string date = "", date1 = "";
Collection<List<string>> fileClassification = new Collection<List<string>>();
List<string> list = new List<string>();
List<string> listDirectory = new List<string>();
Dictionary<string, int> dirNames = new Dictionary<string, int>();
for (int i = 0; i < files.Count; i++)
{
date = files[i].Substring(0, 12);
if (i == 0)
date1 = date;
foreach (DirectoryInfo dir in directorys)
dirNames.Add(dir.Name, int.Parse(dir.Name));
if (date == date1)
{
list.Add(files[i]);
// 순서데로 오름차순 정렬
var vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
listDirectory.Add(v.Key);
return listDirectory;
}
else
private List<string> DayInspectionDirectorySort(FileInfo[] files)
{
date1 = date;
List<string> l = new List<string>();
foreach (string s in list)
l.Add(s);
fileClassification.Add(l);
list = new List<string>();
list.Add(files[i]);
}
}
List<string> ls = new List<string>();
foreach (string s in list)
ls.Add(s);
fileClassification.Add(ls);
return fileClassification;
}
private List<string> FileSort(FileInfo[] files)
{
List<string> listFiles = new List<string>();
Dictionary<string, int> fileNames = new Dictionary<string, int>();
Dictionary<string, int> fileNamesSort = new Dictionary<string, int>();
string[] fileName;
List<string> listFile = new List<string>();
Dictionary<string, int> dirNames = new Dictionary<string, int>();
#region File List 품번 순서데로 정렬
foreach (FileInfo file in files)
{
if (file.Name.StartsWith("20") == true)
fileNames.Add(file.Name, int.Parse(file.Name.Substring(11, 1)));
fileName = file.Name.Split('_');
dirNames.Add(file.Name, int.Parse(fileName[1].Substring(0, fileName[1].Length - 4)));
}
var vrList = fileNames.Keys.ToList();
vrList.Sort();
var vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
fileNamesSort.Add(v, fileNames[v]);
listFile.Add(v.Key);
#endregion
foreach (var v in fileNamesSort)
listFiles.Add(v.Key);
return listFiles;
}
private List<string> FileSort(List<string> lst)
{
List<string> listFiles = new List<string>();
Dictionary<string, int> fileNames = new Dictionary<string, int>();
Dictionary<string, int> fileNamesSort = new Dictionary<string, int>();
foreach (string list in lst)
{
if (list.Length == 22)
fileNames.Add(list, int.Parse(list.Substring(13, 1)));
else
fileNames.Add(list, int.Parse(list.Substring(13, 2)));
}
// Lane 순서데로 오름차순 정렬
var vrList = fileNames.OrderBy(x => x.Value);
#region File List 날짜 순서데로 정렬
dirNames = new Dictionary<string, int>();
foreach (string f in listFile)
dirNames.Add(f, int.Parse(f.Substring(0, 8)));
listFile.Clear();
vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
listFiles.Add(v.Key);
listFile.Add(v.Key);
#endregion
return listFiles;
return listFile;
}
private List<string> DayInspectionDirectorySort2(FileInfo[] files)
{
string[] fileName;
List<string> listFile = new List<string>();
Dictionary<string, int> dirNames = new Dictionary<string, int>();
#region File List 품번 순서데로 정렬
foreach (FileInfo file in files)
{
fileName = file.Name.Split('_');
dirNames.Add(file.Name, int.Parse(fileName[1].Substring(0, fileName[1].Length - 4)));
}
private void DisplayTreeViewUpdate()
{
int fileCount = 0;
var vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
listFile.Add(v.Key);
#endregion
#region File List 날짜 순서데로 정렬
dirNames = new Dictionary<string, int>();
foreach (string f in listFile)
dirNames.Add(f, int.Parse(f.Substring(1, 8)));
listFile.Clear();
vrList = dirNames.OrderBy(x => x.Value);
foreach (var v in vrList)
listFile.Add(v.Key);
#endregion
return listFile;
}
/// <summary>
/// Part11 미사용
/// </summary>
private void DisplayTreeViewUpdate1()
{
DirectoryInfo dir = new DirectoryInfo(this.ParentForm.ParentForm.PathDataBackupFolder);
List<string> fileNames = new List<string>();
@ -163,44 +165,108 @@ namespace INT69DB_2A.DialogForms
FileInfo[] files = dir.GetFiles();
foreach (FileInfo file in files)
if (files.Length != 0)
{
if (file.Name.StartsWith("20") == true)
// 날짜, 품번 순으로 정렬
fileNames = this.DayInspectionDirectorySort(files);
this.ListFiles = fileNames;
foreach (string name in fileNames)
{
this.treeView1.Nodes.Add(name);
}
}
}
/// <summary>
/// Part11 사용
/// </summary>
private void DisplayTreeViewUpdate2()
{
int fileCount = 0;
//TreeNode node;
List<string> years = new List<string>();
List<string> months = new List<string>();
List<string> days = new List<string>();
this.treeView1.Nodes.Clear();
this.ListInspectionFile.Clear();
DirectoryInfo dir = new DirectoryInfo(this.ParentForm.ParentForm.PathDataInspectionFolder);
List<string> fileNames = new List<string>();
// 폴더 체크
if (dir.Exists == false)
dir.Create();
// year 폴더 가져오기
DirectoryInfo[] yearDirectorys = dir.GetDirectories();
// year 폴더 정렬
years = this.DirectorySort(yearDirectorys);
// Inspection File 리스트 생성
if (years.Count != 0)
{
// Year
foreach (string year in years)
{
DataBackupYear y = new DataBackupYear(year);
DirectoryInfo monthDir = new DirectoryInfo(string.Format("{0}{1}", this.ParentForm.ParentForm.PathDataInspectionFolder, year));
DirectoryInfo[] monthDirectorys = monthDir.GetDirectories();
months = this.DirectorySort(monthDirectorys);
if (months.Count != 0)
{
// Month
foreach (string month in months)
{
DirectoryInfo dayDir = new DirectoryInfo(string.Format("{0}{1}\\{2}", this.ParentForm.ParentForm.PathDataInspectionFolder, year, month));
FileInfo[] dayFiles = dayDir.GetFiles();
days = this.DayInspectionDirectorySort2(dayFiles);
DataBackupMonth m = new DataBackupMonth(month);
m.Days = days;
y.Months.Add(m);
}
this.ListInspectionFile.Add(y);
}
else
{
this.ListInspectionFile.Add(y);
}
}
// node 생성
for (int i = 0; i < this.ListInspectionFile.Count; i++)
{
TreeNode node = new TreeNode(this.ListInspectionFile[i].Year);
for (int j = 0; j < this.ListInspectionFile[i].Months.Count; j++)
{
TreeNode nodeMonth = new TreeNode(this.ListInspectionFile[i].Months[j].Month);
for (int k = 0; k < this.ListInspectionFile[i].Months[j].Days.Count; k++)
{
nodeMonth.Nodes.Add(this.ListInspectionFile[i].Months[j].Days[k]);
fileCount++;
}
if (fileCount != 0)
{
// 파일 이름 순으로 정렬
fileNames = this.FileSort(files);
// 파일 날짜 순으로 분류
this.ParentForm.CollectionFileClassification = this.FileClassification(fileNames);
foreach (List<string> list in this.ParentForm.CollectionFileClassification)
{
List<string> myList = new List<string>();
// Lane 순서데로 오름 차순 정렬
if (list.Count > 1 && list[0].Length > 18)
myList = this.FileSort(list);
else
myList = list;
TreeNode node = new TreeNode(myList[0].Substring(0, 12));
for (int i = 0; i < myList.Count; i++)
{
node.Nodes.Add(myList[i]);
node.Nodes.Add(nodeMonth);
}
this.treeView1.Nodes.Add(node);
}
}
//this.labelInspectionFileCount.Text = fileCount.ToString();
}
public void DisplayRefresh()
{
this.DisplayTreeViewUpdate();
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == false)
this.DisplayTreeViewUpdate1();
else
this.DisplayTreeViewUpdate2();
}
#endregion
@ -209,21 +275,15 @@ namespace INT69DB_2A.DialogForms
{
int ret = 0;
if (this.ParentForm.SelectNodeIndex == -1)
if (this.ParentForm.SelectFilePath == "")
return;
this.treeView1.Enabled = false;
this.buttonRead.Enabled = false;
this.buttonClose.Enabled = false;
if (this.treeView1.Nodes.Count != 0)
{
this.ParentForm.ClearData();
if (this.ParentForm.ParentForm.SystemConfig.EquipmentMode == 2)
ret = this.ParentForm.DataRead2();
else
ret = this.ParentForm.DataRead1();
ret = this.ParentForm.DataRead();
if (ret == 0)
{
@ -232,7 +292,6 @@ namespace INT69DB_2A.DialogForms
}
else
this.DialogResult = DialogResult.Cancel;
}
this.treeView1.Enabled = true;
this.buttonRead.Enabled = true;
@ -246,25 +305,34 @@ namespace INT69DB_2A.DialogForms
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
string fileName = "";
string fileName = "", pathFileName = "";
string[] name;
if (e.Node.Parent == null)
if (this.ParentForm.ParentForm.SystemConfig.IsPart11 == false)
{
fileName = e.Node.Text;
this.ParentForm.SelectNodeIndex = e.Node.Index;
//this.labelNodeIndex.Text = string.Format("{0}", this.ParentForm.SelectNodeIndex + 1);
this.ParentForm.SelectFilePath = string.Format("{0}{1}", this.ParentForm.ParentForm.PathDataBackupFolder, fileName);
name = fileName.Split('_');
this.labelFileName.Text = fileName;
this.labelDate.Text = string.Format("{0}.{1}.{2}", name[0].Substring(0, 4), name[0].Substring(4, 2), name[0].Substring(6, 2));
this.labelProductNo.Text = name[1].Substring(0, name[1].Length - 4);
}
else
{
fileName = e.Node.Parent.Text;
this.ParentForm.SelectNodeIndex = e.Node.Parent.Index;
//this.labelNodeIndex.Text = string.Format("{0}", this.ParentForm.SelectNodeIndex + 1);
}
if (e.Node.Text.Length > 10)
{
fileName = e.Node.Text;
pathFileName = string.Format("{0}{1}\\{2}\\{3}",
this.ParentForm.ParentForm.PathDataInspectionFolder, fileName.Substring(1, 4), int.Parse(fileName.Substring(5, 2)), fileName);
this.ParentForm.SelectFilePath = pathFileName;
name = fileName.Split('_');
this.labelFileName.Text = fileName;
this.labelDate.Text = string.Format("{0}.{1}.{2}", fileName.Substring(0, 4), fileName.Substring(4, 2), fileName.Substring(6, 2));
this.labelProductNo.Text = fileName.Substring(9, 1);
this.labelId.Text = fileName.Substring(11, 1);
this.labelDate.Text = string.Format("{0}.{1}.{2}", name[0].Substring(1, 4), name[0].Substring(5, 2), name[0].Substring(7, 2));
this.labelProductNo.Text = name[1].Substring(0, name[1].Length - 4);
}
}
}
#endregion
}

View File

@ -120,7 +120,7 @@
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="smartForm1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAV4AAAHWCAIAAACwqnb4AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
iVBORw0KGgoAAAANSUhEUgAAAV4AAAHWCAYAAAA/yOGvAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
@ -165,42 +165,47 @@
RudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4cnjkLvvu5L2key/vZ9yff7DpIfph4SOpR+WP
lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l
f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK
j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAAOxAAADsQBlSsOGwAACCtJREFUeF7t1EENwlAA
BUGU4AmFdVNd3N4m5TtgJqthX5/rlqRH1iDpkDVIOtQa3sDf2xCsAciGYA1ANgRrALIhWAOQDcEagGwI
1gBkQ7AGIBuCNQDZEKwByIZgDUA2BGsAsiFYA5ANwRqAbAjWAGRDsAYgG4I1ANkQrAHIhmANQDYEawCy
IVgDkA3BGoBsCNYAZEOwBiAbgjUA2RCsAciGYA1ANgRrALIhWAOQDcEagGwI1gBkQ7AGIBuCNQDZEKwB
yIZgDUA2BGsAsiFYA5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a8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrb/EC8DzxAsTEC5C6zh+3E9zRrxF86gAAAABJRU5ErkJggg==
</value>
</data>
<data name="buttonRead.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -158,7 +158,7 @@
this.checkBoxTypeParameter.ImageCheckBox = null;
this.checkBoxTypeParameter.ImageUnCheckBox = null;
this.checkBoxTypeParameter.InitVisible = true;
this.checkBoxTypeParameter.Location = new System.Drawing.Point(433, 27);
this.checkBoxTypeParameter.Location = new System.Drawing.Point(461, 27);
this.checkBoxTypeParameter.Name = "checkBoxTypeParameter";
this.checkBoxTypeParameter.Size = new System.Drawing.Size(200, 40);
this.checkBoxTypeParameter.TabIndex = 2;
@ -181,7 +181,7 @@
this.checkBoxTypeOperation.ImageCheckBox = null;
this.checkBoxTypeOperation.ImageUnCheckBox = null;
this.checkBoxTypeOperation.InitVisible = true;
this.checkBoxTypeOperation.Location = new System.Drawing.Point(227, 27);
this.checkBoxTypeOperation.Location = new System.Drawing.Point(255, 27);
this.checkBoxTypeOperation.Name = "checkBoxTypeOperation";
this.checkBoxTypeOperation.Size = new System.Drawing.Size(200, 40);
this.checkBoxTypeOperation.TabIndex = 1;
@ -204,7 +204,7 @@
this.checkBoxTypeAlarm.ImageCheckBox = null;
this.checkBoxTypeAlarm.ImageUnCheckBox = null;
this.checkBoxTypeAlarm.InitVisible = true;
this.checkBoxTypeAlarm.Location = new System.Drawing.Point(21, 27);
this.checkBoxTypeAlarm.Location = new System.Drawing.Point(49, 27);
this.checkBoxTypeAlarm.Name = "checkBoxTypeAlarm";
this.checkBoxTypeAlarm.Size = new System.Drawing.Size(200, 40);
this.checkBoxTypeAlarm.TabIndex = 0;

View File

@ -25,7 +25,7 @@ namespace INT69DB_2A.DialogForms
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeContnrol();
this.InitializeControl();
this.DefaultSetting();
}
#endregion
@ -58,7 +58,7 @@ namespace INT69DB_2A.DialogForms
}
}
private void InitializeContnrol()
private void InitializeControl()
{
int x = 0, y = 0;
@ -66,8 +66,7 @@ namespace INT69DB_2A.DialogForms
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.Size.Height / 2;
this.Location = new Point(x, y);
this.Size = new Size(450, 165);
this.Size = new Size(710, 470);
}
private void DefaultSetting()
{
@ -76,7 +75,7 @@ namespace INT69DB_2A.DialogForms
private void UpdateDisplay(DataViewerFilter filter)
{
this.checkBoxTypeAlarm.Checked = filter.TpyeAlarm;
this.checkBoxTypeAlarm.Checked = filter.TypeAlarm;
this.checkBoxTypeOperation.Checked = filter.TypeOperation;
this.checkBoxTypeParameter.Checked = filter.TypeParameter;
}
@ -90,7 +89,7 @@ namespace INT69DB_2A.DialogForms
#region Event Handler
private void buttonOk_Click(object sender, EventArgs e)
{
this.ParentForm.ParentForm.CurrentDataViewerFilter.TpyeAlarm = this.checkBoxTypeAlarm.Checked;
this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeAlarm = this.checkBoxTypeAlarm.Checked;
this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeOperation = this.checkBoxTypeOperation.Checked;
this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeParameter = this.checkBoxTypeParameter.Checked;

View File

@ -78,8 +78,7 @@ namespace INT69DB_2A.DialogForms
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.Size.Height / 2;
this.Location = new Point(x, y);
this.Size = new Size(450, 165);
this.Size = new Size(350, 470);
}
private void DefaultSetting()
{
@ -213,6 +212,10 @@ namespace INT69DB_2A.DialogForms
public void DisplayRefresh()
{
this.DisplayTreeViewUpdate();
this.checkBoxTypeAlarm.Checked = this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeAlarm;
this.checkBoxTypeOperation.Checked = this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeOperation;
this.checkBoxTypeParameter.Checked = this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeParameter;
}
#endregion
@ -228,6 +231,13 @@ namespace INT69DB_2A.DialogForms
this.treeView.Enabled = false;
this.buttonRead.Enabled = false;
this.buttonClose.Enabled = false;
this.checkBoxTypeAlarm.Enabled = false;
this.checkBoxTypeOperation.Enabled = false;
this.checkBoxTypeParameter.Enabled = false;
this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeAlarm = this.checkBoxTypeAlarm.Checked;
this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeOperation = this.checkBoxTypeOperation.Checked;
this.ParentForm.ParentForm.CurrentDataViewerFilter.TypeParameter = this.checkBoxTypeParameter.Checked;
year = this.SeletedFilePath.Substring(1, 4);
iMonth = int.Parse(this.SeletedFilePath.Substring(5, 2));
@ -246,6 +256,9 @@ namespace INT69DB_2A.DialogForms
this.treeView.Enabled = true;
this.buttonRead.Enabled = true;
this.buttonClose.Enabled = true;
this.checkBoxTypeAlarm.Enabled = true;
this.checkBoxTypeOperation.Enabled = true;
this.checkBoxTypeParameter.Enabled = true;
}
private void buttonClose_Click(object sender, EventArgs e)
{

View File

@ -38,6 +38,9 @@
this.labelDate = new SmartX.SmartLabel();
this.labelNodeIndex = new SmartX.SmartLabel();
this.buttonClose = new SmartX.SmartButton();
this.checkBoxTypeAlarm = new SmartX.SmartCheckBox();
this.checkBoxTypeOperation = new SmartX.SmartCheckBox();
this.checkBoxTypeParameter = new SmartX.SmartCheckBox();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
@ -100,7 +103,7 @@
// labelFileName
//
this.labelFileName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.labelFileName.BackPictureBox = null;
this.labelFileName.BackPictureBox = this.smartForm1;
this.labelFileName.BackPictureBox1 = null;
this.labelFileName.BackPictureBox2 = null;
this.labelFileName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
@ -109,12 +112,12 @@
this.labelFileName.ForeColor = System.Drawing.Color.White;
this.labelFileName.InitVisible = true;
this.labelFileName.LineSpacing = 0F;
this.labelFileName.Location = new System.Drawing.Point(237, 313);
this.labelFileName.Location = new System.Drawing.Point(237, 320);
this.labelFileName.Name = "labelFileName";
this.labelFileName.Size = new System.Drawing.Size(100, 32);
this.labelFileName.Size = new System.Drawing.Size(100, 25);
this.labelFileName.TabIndex = 7;
this.labelFileName.Text = "20200214_1";
this.labelFileName.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelFileName.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelFileName.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelFileName.Visible = false;
this.labelFileName.Wordwrap = false;
@ -123,6 +126,9 @@
//
this.smartGroupBox1.BackPictureBox = this.smartForm1;
this.smartGroupBox1.BackPictureBox1 = null;
this.smartGroupBox1.Controls.Add(this.checkBoxTypeParameter);
this.smartGroupBox1.Controls.Add(this.checkBoxTypeOperation);
this.smartGroupBox1.Controls.Add(this.checkBoxTypeAlarm);
this.smartGroupBox1.Controls.Add(this.labelTitleDate);
this.smartGroupBox1.Controls.Add(this.labelDate);
this.smartGroupBox1.Controls.Add(this.labelNodeIndex);
@ -168,7 +174,7 @@
// labelDate
//
this.labelDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.labelDate.BackPictureBox = null;
this.labelDate.BackPictureBox = this.smartForm1;
this.labelDate.BackPictureBox1 = null;
this.labelDate.BackPictureBox2 = null;
this.labelDate.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
@ -177,7 +183,7 @@
this.labelDate.ForeColor = System.Drawing.Color.White;
this.labelDate.InitVisible = true;
this.labelDate.LineSpacing = 0F;
this.labelDate.Location = new System.Drawing.Point(237, 50);
this.labelDate.Location = new System.Drawing.Point(237, 54);
this.labelDate.Name = "labelDate";
this.labelDate.Size = new System.Drawing.Size(100, 20);
this.labelDate.TabIndex = 15;
@ -189,7 +195,7 @@
// labelNodeIndex
//
this.labelNodeIndex.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.labelNodeIndex.BackPictureBox = null;
this.labelNodeIndex.BackPictureBox = this.smartForm1;
this.labelNodeIndex.BackPictureBox1 = null;
this.labelNodeIndex.BackPictureBox2 = null;
this.labelNodeIndex.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
@ -198,12 +204,12 @@
this.labelNodeIndex.ForeColor = System.Drawing.Color.White;
this.labelNodeIndex.InitVisible = true;
this.labelNodeIndex.LineSpacing = 0F;
this.labelNodeIndex.Location = new System.Drawing.Point(237, 275);
this.labelNodeIndex.Location = new System.Drawing.Point(237, 289);
this.labelNodeIndex.Name = "labelNodeIndex";
this.labelNodeIndex.Size = new System.Drawing.Size(100, 32);
this.labelNodeIndex.Size = new System.Drawing.Size(100, 25);
this.labelNodeIndex.TabIndex = 14;
this.labelNodeIndex.Text = "20200214_1";
this.labelNodeIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelNodeIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelNodeIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelNodeIndex.Visible = false;
this.labelNodeIndex.Wordwrap = false;
@ -240,6 +246,72 @@
this.buttonClose.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonClose.UpImage")));
this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
//
// checkBoxTypeAlarm
//
this.checkBoxTypeAlarm.BackPictureBox = this.smartForm1;
this.checkBoxTypeAlarm.BackPictureBox1 = null;
this.checkBoxTypeAlarm.BackPictureBox2 = null;
this.checkBoxTypeAlarm.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxTypeAlarm.CheckBoxCheckColor = System.Drawing.Color.Green;
this.checkBoxTypeAlarm.CheckBoxForeColor = System.Drawing.Color.Black;
this.checkBoxTypeAlarm.CheckBoxSymbolSize = 15;
this.checkBoxTypeAlarm.Checked = false;
this.checkBoxTypeAlarm.CheckLineWidth = 3;
this.checkBoxTypeAlarm.ForeColor = System.Drawing.Color.White;
this.checkBoxTypeAlarm.ImageCheckBox = null;
this.checkBoxTypeAlarm.ImageUnCheckBox = null;
this.checkBoxTypeAlarm.InitVisible = true;
this.checkBoxTypeAlarm.Location = new System.Drawing.Point(241, 148);
this.checkBoxTypeAlarm.Name = "checkBoxTypeAlarm";
this.checkBoxTypeAlarm.Size = new System.Drawing.Size(90, 25);
this.checkBoxTypeAlarm.TabIndex = 17;
this.checkBoxTypeAlarm.Text = "Alarm";
this.checkBoxTypeAlarm.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxTypeOperation
//
this.checkBoxTypeOperation.BackPictureBox = this.smartForm1;
this.checkBoxTypeOperation.BackPictureBox1 = null;
this.checkBoxTypeOperation.BackPictureBox2 = null;
this.checkBoxTypeOperation.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxTypeOperation.CheckBoxCheckColor = System.Drawing.Color.Green;
this.checkBoxTypeOperation.CheckBoxForeColor = System.Drawing.Color.Black;
this.checkBoxTypeOperation.CheckBoxSymbolSize = 15;
this.checkBoxTypeOperation.Checked = false;
this.checkBoxTypeOperation.CheckLineWidth = 3;
this.checkBoxTypeOperation.ForeColor = System.Drawing.Color.White;
this.checkBoxTypeOperation.ImageCheckBox = null;
this.checkBoxTypeOperation.ImageUnCheckBox = null;
this.checkBoxTypeOperation.InitVisible = true;
this.checkBoxTypeOperation.Location = new System.Drawing.Point(241, 179);
this.checkBoxTypeOperation.Name = "checkBoxTypeOperation";
this.checkBoxTypeOperation.Size = new System.Drawing.Size(90, 25);
this.checkBoxTypeOperation.TabIndex = 18;
this.checkBoxTypeOperation.Text = "Operation";
this.checkBoxTypeOperation.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxTypeParameter
//
this.checkBoxTypeParameter.BackPictureBox = this.smartForm1;
this.checkBoxTypeParameter.BackPictureBox1 = null;
this.checkBoxTypeParameter.BackPictureBox2 = null;
this.checkBoxTypeParameter.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxTypeParameter.CheckBoxCheckColor = System.Drawing.Color.Green;
this.checkBoxTypeParameter.CheckBoxForeColor = System.Drawing.Color.Black;
this.checkBoxTypeParameter.CheckBoxSymbolSize = 15;
this.checkBoxTypeParameter.Checked = false;
this.checkBoxTypeParameter.CheckLineWidth = 3;
this.checkBoxTypeParameter.ForeColor = System.Drawing.Color.White;
this.checkBoxTypeParameter.ImageCheckBox = null;
this.checkBoxTypeParameter.ImageUnCheckBox = null;
this.checkBoxTypeParameter.InitVisible = true;
this.checkBoxTypeParameter.Location = new System.Drawing.Point(241, 210);
this.checkBoxTypeParameter.Name = "checkBoxTypeParameter";
this.checkBoxTypeParameter.Size = new System.Drawing.Size(90, 25);
this.checkBoxTypeParameter.TabIndex = 19;
this.checkBoxTypeParameter.Text = "Parameter";
this.checkBoxTypeParameter.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// DialogFormHistoryData
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -268,5 +340,8 @@
private SmartX.SmartLabel labelNodeIndex;
private SmartX.SmartLabel labelTitleDate;
private SmartX.SmartLabel labelDate;
private SmartX.SmartCheckBox checkBoxTypeParameter;
private SmartX.SmartCheckBox checkBoxTypeOperation;
private SmartX.SmartCheckBox checkBoxTypeAlarm;
}
}

View File

@ -120,7 +120,7 @@
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="smartForm1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAV4AAAHWCAIAAACwqnb4AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
iVBORw0KGgoAAAANSUhEUgAAAV4AAAHWCAYAAAA/yOGvAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
@ -165,42 +165,47 @@
RudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4c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a8ULENhr
xQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhrxQsQ2GvFCxDYa8ULENhr
xQsQ2GvFCxDYa8ULENhrb/EC8DzxAsTEC5C6zh+3E9zRrxF86gAAAABJRU5ErkJggg==
</value>
</data>
<data name="buttonRead.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -30,20 +30,20 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogFormLogOn));
this.smartForm1 = new SmartX.SmartForm();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.textBoxID = new System.Windows.Forms.TextBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.buttonLogOn = new SmartX.SmartButton();
this.buttonCancel = new SmartX.SmartButton();
this.smartButtonUser33 = new SmartX.SmartButton();
this.smartButtonUser22 = new SmartX.SmartButton();
this.smartButtonIUser11 = new SmartX.SmartButton();
this.smartButtonAdmin = new SmartX.SmartButton();
this.smartButton1 = new SmartX.SmartButton();
this.labelTitlePassword = new SmartX.SmartLabel();
this.labelTitleID = new SmartX.SmartLabel();
this.labelTitle = new SmartX.SmartLabel();
this.smartButtonAdmin = new SmartX.SmartButton();
this.smartButtonIUser11 = new SmartX.SmartButton();
this.smartButtonUser22 = new SmartX.SmartButton();
this.smartButtonUser33 = new SmartX.SmartButton();
this.pictureBoxImage = new System.Windows.Forms.PictureBox();
this.labelTitle3 = new SmartX.SmartLabel();
this.labelTitle2 = new SmartX.SmartLabel();
this.labelTitle1 = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.SuspendLayout();
//
@ -62,36 +62,13 @@
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.SuspendLayoutInterval = 1;
//
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(254, 77);
this.textBoxID.MaxLength = 20;
this.textBoxID.Name = "textBoxID";
this.textBoxID.Size = new System.Drawing.Size(248, 34);
this.textBoxID.TabIndex = 1;
this.textBoxID.Text = "ABCDEFGHJK";
this.textBoxID.GotFocus += new System.EventHandler(this.textBoxID_GotFocus);
//
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(254, 122);
this.textBoxPassword.MaxLength = 20;
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
this.textBoxPassword.Size = new System.Drawing.Size(248, 34);
this.textBoxPassword.TabIndex = 2;
this.textBoxPassword.Text = "ABCDEFGHJK";
this.textBoxPassword.GotFocus += new System.EventHandler(this.textBoxPassword_GotFocus);
//
// smartKeyboard
//
this.smartKeyboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(40)))), ((int)(((byte)(24)))));
this.smartKeyboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.smartKeyboard.ControlKeyDisable = false;
this.smartKeyboard.DesignMinimize = false;
this.smartKeyboard.FontColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.smartKeyboard.HanYoungKeyDisable = false;
this.smartKeyboard.HanYoungKeyDisable = true;
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.KeyFillColor = System.Drawing.Color.Black;
this.smartKeyboard.KeyOutLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
@ -103,22 +80,44 @@
this.smartKeyboard.KeyUpImage2 = null;
this.smartKeyboard.KeyUpImage3 = null;
this.smartKeyboard.LeftMargin = 5;
this.smartKeyboard.Location = new System.Drawing.Point(7, 188);
this.smartKeyboard.Location = new System.Drawing.Point(12, 191);
this.smartKeyboard.Name = "smartKeyboard";
this.smartKeyboard.PressFontColor = System.Drawing.Color.Olive;
this.smartKeyboard.PressKeyFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartKeyboard.PressKeyOutLineColor = System.Drawing.Color.Green;
this.smartKeyboard.RoundedCorners = true;
this.smartKeyboard.SetBackimage = null;
this.smartKeyboard.Size = new System.Drawing.Size(697, 276);
this.smartKeyboard.TabIndex = 3;
this.smartKeyboard.Size = new System.Drawing.Size(692, 276);
this.smartKeyboard.TabIndex = 10;
this.smartKeyboard.TABKeyDisable = false;
this.smartKeyboard.TargetInputObject = null;
this.smartKeyboard.Text = "smartKeyboard1";
this.smartKeyboard.ThemeStyle = SmartX.SmartKeyboard.KEYBOARDTHEMESTYLE.CUSTOMIZED_LITE;
this.smartKeyboard.TopMargin = 5;
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
this.smartKeyboard.Click += new System.EventHandler(this.smartKeyboard_Click);
//
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(255, 81);
this.textBoxID.MaxLength = 20;
this.textBoxID.Name = "textBoxID";
this.textBoxID.Size = new System.Drawing.Size(248, 34);
this.textBoxID.TabIndex = 2;
this.textBoxID.Text = "ABCDEFGHJK";
this.textBoxID.GotFocus += new System.EventHandler(this.textBoxID_GotFocus);
//
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(255, 126);
this.textBoxPassword.MaxLength = 20;
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
this.textBoxPassword.Size = new System.Drawing.Size(248, 34);
this.textBoxPassword.TabIndex = 5;
this.textBoxPassword.Text = "ABCDEFGHJK";
this.textBoxPassword.GotFocus += new System.EventHandler(this.textBoxPassword_GotFocus);
//
// buttonLogOn
//
@ -132,7 +131,7 @@
this.buttonLogOn.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLogOn.DownImage")));
this.buttonLogOn.GroupID = 0;
this.buttonLogOn.InitVisible = true;
this.buttonLogOn.Location = new System.Drawing.Point(508, 80);
this.buttonLogOn.Location = new System.Drawing.Point(512, 82);
this.buttonLogOn.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonLogOn.Name = "buttonLogOn";
this.buttonLogOn.NestedClickEventPrevent = false;
@ -142,7 +141,7 @@
this.buttonLogOn.SafeInterval = 200;
this.buttonLogOn.Size = new System.Drawing.Size(75, 75);
this.buttonLogOn.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonLogOn.TabIndex = 5;
this.buttonLogOn.TabIndex = 6;
this.buttonLogOn.TextColor = System.Drawing.Color.Black;
this.buttonLogOn.TextDownColor = System.Drawing.Color.White;
this.buttonLogOn.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
@ -163,7 +162,7 @@
this.buttonCancel.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCancel.DownImage")));
this.buttonCancel.GroupID = 0;
this.buttonCancel.InitVisible = true;
this.buttonCancel.Location = new System.Drawing.Point(589, 80);
this.buttonCancel.Location = new System.Drawing.Point(593, 82);
this.buttonCancel.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.NestedClickEventPrevent = false;
@ -173,7 +172,7 @@
this.buttonCancel.SafeInterval = 200;
this.buttonCancel.Size = new System.Drawing.Size(75, 75);
this.buttonCancel.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCancel.TabIndex = 6;
this.buttonCancel.TabIndex = 7;
this.buttonCancel.TextColor = System.Drawing.Color.Black;
this.buttonCancel.TextDownColor = System.Drawing.Color.White;
this.buttonCancel.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
@ -182,134 +181,6 @@
this.buttonCancel.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonCancel.UpImage")));
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
//
// smartButtonUser33
//
this.smartButtonUser33.BackPictureBox = null;
this.smartButtonUser33.BackPictureBox1 = null;
this.smartButtonUser33.BackPictureBox2 = null;
this.smartButtonUser33.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonUser33.ButtonImageAutoSize = true;
this.smartButtonUser33.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonUser33.DisableImage = null;
this.smartButtonUser33.DownImage = null;
this.smartButtonUser33.GroupID = 0;
this.smartButtonUser33.InitVisible = true;
this.smartButtonUser33.Location = new System.Drawing.Point(312, 31);
this.smartButtonUser33.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonUser33.Name = "smartButtonUser33";
this.smartButtonUser33.NestedClickEventPrevent = false;
this.smartButtonUser33.OutlinePixel = 1;
this.smartButtonUser33.RepeatInterval = 200;
this.smartButtonUser33.RepeatIntervalAccelerate = null;
this.smartButtonUser33.SafeInterval = 200;
this.smartButtonUser33.Size = new System.Drawing.Size(75, 43);
this.smartButtonUser33.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonUser33.TabIndex = 22;
this.smartButtonUser33.Text = "user33";
this.smartButtonUser33.TextColor = System.Drawing.Color.Black;
this.smartButtonUser33.TextDownColor = System.Drawing.Color.White;
this.smartButtonUser33.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonUser33.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser33.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser33.UpImage = null;
this.smartButtonUser33.Click += new System.EventHandler(this.smartButtonUser33_Click);
//
// smartButtonUser22
//
this.smartButtonUser22.BackPictureBox = null;
this.smartButtonUser22.BackPictureBox1 = null;
this.smartButtonUser22.BackPictureBox2 = null;
this.smartButtonUser22.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonUser22.ButtonImageAutoSize = true;
this.smartButtonUser22.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonUser22.DisableImage = null;
this.smartButtonUser22.DownImage = null;
this.smartButtonUser22.GroupID = 0;
this.smartButtonUser22.InitVisible = true;
this.smartButtonUser22.Location = new System.Drawing.Point(231, 31);
this.smartButtonUser22.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonUser22.Name = "smartButtonUser22";
this.smartButtonUser22.NestedClickEventPrevent = false;
this.smartButtonUser22.OutlinePixel = 1;
this.smartButtonUser22.RepeatInterval = 200;
this.smartButtonUser22.RepeatIntervalAccelerate = null;
this.smartButtonUser22.SafeInterval = 200;
this.smartButtonUser22.Size = new System.Drawing.Size(75, 43);
this.smartButtonUser22.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonUser22.TabIndex = 21;
this.smartButtonUser22.Text = "user22";
this.smartButtonUser22.TextColor = System.Drawing.Color.Black;
this.smartButtonUser22.TextDownColor = System.Drawing.Color.White;
this.smartButtonUser22.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonUser22.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser22.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser22.UpImage = null;
this.smartButtonUser22.Click += new System.EventHandler(this.smartButtonUser22_Click);
//
// smartButtonIUser11
//
this.smartButtonIUser11.BackPictureBox = null;
this.smartButtonIUser11.BackPictureBox1 = null;
this.smartButtonIUser11.BackPictureBox2 = null;
this.smartButtonIUser11.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonIUser11.ButtonImageAutoSize = true;
this.smartButtonIUser11.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.DisableImage = null;
this.smartButtonIUser11.DownImage = null;
this.smartButtonIUser11.GroupID = 0;
this.smartButtonIUser11.InitVisible = true;
this.smartButtonIUser11.Location = new System.Drawing.Point(150, 31);
this.smartButtonIUser11.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonIUser11.Name = "smartButtonIUser11";
this.smartButtonIUser11.NestedClickEventPrevent = false;
this.smartButtonIUser11.OutlinePixel = 1;
this.smartButtonIUser11.RepeatInterval = 200;
this.smartButtonIUser11.RepeatIntervalAccelerate = null;
this.smartButtonIUser11.SafeInterval = 200;
this.smartButtonIUser11.Size = new System.Drawing.Size(75, 43);
this.smartButtonIUser11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonIUser11.TabIndex = 20;
this.smartButtonIUser11.Text = "user11";
this.smartButtonIUser11.TextColor = System.Drawing.Color.Black;
this.smartButtonIUser11.TextDownColor = System.Drawing.Color.White;
this.smartButtonIUser11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonIUser11.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonIUser11.UpImage = null;
this.smartButtonIUser11.Click += new System.EventHandler(this.smartButtonIUser11_Click);
//
// smartButtonAdmin
//
this.smartButtonAdmin.BackPictureBox = null;
this.smartButtonAdmin.BackPictureBox1 = null;
this.smartButtonAdmin.BackPictureBox2 = null;
this.smartButtonAdmin.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonAdmin.ButtonImageAutoSize = true;
this.smartButtonAdmin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.DisableImage = null;
this.smartButtonAdmin.DownImage = null;
this.smartButtonAdmin.GroupID = 0;
this.smartButtonAdmin.InitVisible = true;
this.smartButtonAdmin.Location = new System.Drawing.Point(570, 31);
this.smartButtonAdmin.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonAdmin.Name = "smartButtonAdmin";
this.smartButtonAdmin.NestedClickEventPrevent = false;
this.smartButtonAdmin.OutlinePixel = 1;
this.smartButtonAdmin.RepeatInterval = 200;
this.smartButtonAdmin.RepeatIntervalAccelerate = null;
this.smartButtonAdmin.SafeInterval = 200;
this.smartButtonAdmin.Size = new System.Drawing.Size(75, 43);
this.smartButtonAdmin.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonAdmin.TabIndex = 19;
this.smartButtonAdmin.Text = "admin";
this.smartButtonAdmin.TextColor = System.Drawing.Color.Black;
this.smartButtonAdmin.TextDownColor = System.Drawing.Color.White;
this.smartButtonAdmin.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonAdmin.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonAdmin.UpImage = null;
this.smartButtonAdmin.Click += new System.EventHandler(this.smartButtonAdmin_Click);
//
// smartButton1
//
this.smartButton1.BackPictureBox = null;
@ -322,7 +193,7 @@
this.smartButton1.DownImage = null;
this.smartButton1.GroupID = 0;
this.smartButton1.InitVisible = true;
this.smartButton1.Location = new System.Drawing.Point(489, 31);
this.smartButton1.Location = new System.Drawing.Point(512, 30);
this.smartButton1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButton1.Name = "smartButton1";
this.smartButton1.NestedClickEventPrevent = false;
@ -332,7 +203,7 @@
this.smartButton1.SafeInterval = 200;
this.smartButton1.Size = new System.Drawing.Size(75, 43);
this.smartButton1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButton1.TabIndex = 18;
this.smartButton1.TabIndex = 12;
this.smartButton1.Text = "Intech";
this.smartButton1.TextColor = System.Drawing.Color.Black;
this.smartButton1.TextDownColor = System.Drawing.Color.White;
@ -340,78 +211,211 @@
this.smartButton1.TextLocation = new System.Drawing.Point(0, 0);
this.smartButton1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButton1.UpImage = null;
this.smartButton1.Visible = false;
this.smartButton1.Click += new System.EventHandler(this.smartButton1_Click);
//
// labelTitlePassword
// smartButtonAdmin
//
this.labelTitlePassword.BackColor = System.Drawing.Color.White;
this.labelTitlePassword.BackPictureBox = null;
this.labelTitlePassword.BackPictureBox1 = null;
this.labelTitlePassword.BackPictureBox2 = null;
this.labelTitlePassword.BorderColor = System.Drawing.Color.Black;
this.labelTitlePassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitlePassword.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitlePassword.ForeColor = System.Drawing.Color.Gray;
this.labelTitlePassword.InitVisible = true;
this.labelTitlePassword.LineSpacing = 0F;
this.labelTitlePassword.Location = new System.Drawing.Point(129, 122);
this.labelTitlePassword.Name = "labelTitlePassword";
this.labelTitlePassword.Size = new System.Drawing.Size(120, 34);
this.labelTitlePassword.TabIndex = 180;
this.labelTitlePassword.Text = "비밀번호";
this.labelTitlePassword.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitlePassword.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitlePassword.Wordwrap = false;
this.smartButtonAdmin.BackPictureBox = null;
this.smartButtonAdmin.BackPictureBox1 = null;
this.smartButtonAdmin.BackPictureBox2 = null;
this.smartButtonAdmin.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonAdmin.ButtonImageAutoSize = true;
this.smartButtonAdmin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.DisableImage = null;
this.smartButtonAdmin.DownImage = null;
this.smartButtonAdmin.GroupID = 0;
this.smartButtonAdmin.InitVisible = true;
this.smartButtonAdmin.Location = new System.Drawing.Point(593, 30);
this.smartButtonAdmin.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonAdmin.Name = "smartButtonAdmin";
this.smartButtonAdmin.NestedClickEventPrevent = false;
this.smartButtonAdmin.OutlinePixel = 1;
this.smartButtonAdmin.RepeatInterval = 200;
this.smartButtonAdmin.RepeatIntervalAccelerate = null;
this.smartButtonAdmin.SafeInterval = 200;
this.smartButtonAdmin.Size = new System.Drawing.Size(75, 43);
this.smartButtonAdmin.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonAdmin.TabIndex = 14;
this.smartButtonAdmin.Text = "admin";
this.smartButtonAdmin.TextColor = System.Drawing.Color.Black;
this.smartButtonAdmin.TextDownColor = System.Drawing.Color.White;
this.smartButtonAdmin.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonAdmin.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonAdmin.UpImage = null;
this.smartButtonAdmin.Visible = false;
this.smartButtonAdmin.Click += new System.EventHandler(this.smartButtonAdmin_Click);
//
// labelTitleID
// smartButtonIUser11
//
this.labelTitleID.BackColor = System.Drawing.Color.White;
this.labelTitleID.BackPictureBox = null;
this.labelTitleID.BackPictureBox1 = null;
this.labelTitleID.BackPictureBox2 = null;
this.labelTitleID.BorderColor = System.Drawing.Color.Black;
this.labelTitleID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleID.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleID.ForeColor = System.Drawing.Color.Gray;
this.labelTitleID.InitVisible = true;
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(129, 77);
this.labelTitleID.Name = "labelTitleID";
this.labelTitleID.Size = new System.Drawing.Size(120, 34);
this.labelTitleID.TabIndex = 179;
this.labelTitleID.Text = "ID";
this.labelTitleID.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleID.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleID.Wordwrap = false;
this.smartButtonIUser11.BackPictureBox = null;
this.smartButtonIUser11.BackPictureBox1 = null;
this.smartButtonIUser11.BackPictureBox2 = null;
this.smartButtonIUser11.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonIUser11.ButtonImageAutoSize = true;
this.smartButtonIUser11.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.DisableImage = null;
this.smartButtonIUser11.DownImage = null;
this.smartButtonIUser11.GroupID = 0;
this.smartButtonIUser11.InitVisible = true;
this.smartButtonIUser11.Location = new System.Drawing.Point(173, 30);
this.smartButtonIUser11.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonIUser11.Name = "smartButtonIUser11";
this.smartButtonIUser11.NestedClickEventPrevent = false;
this.smartButtonIUser11.OutlinePixel = 1;
this.smartButtonIUser11.RepeatInterval = 200;
this.smartButtonIUser11.RepeatIntervalAccelerate = null;
this.smartButtonIUser11.SafeInterval = 200;
this.smartButtonIUser11.Size = new System.Drawing.Size(75, 43);
this.smartButtonIUser11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonIUser11.TabIndex = 15;
this.smartButtonIUser11.Text = "user11";
this.smartButtonIUser11.TextColor = System.Drawing.Color.Black;
this.smartButtonIUser11.TextDownColor = System.Drawing.Color.White;
this.smartButtonIUser11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonIUser11.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonIUser11.UpImage = null;
this.smartButtonIUser11.Visible = false;
this.smartButtonIUser11.Click += new System.EventHandler(this.smartButtonIUser11_Click);
//
// labelTitle
// smartButtonUser22
//
this.labelTitle.BackColor = System.Drawing.Color.White;
this.labelTitle.BackPictureBox = null;
this.labelTitle.BackPictureBox1 = null;
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold);
this.labelTitle.ForeColor = System.Drawing.Color.Gray;
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(129, 24);
this.labelTitle.Name = "labelTitle";
this.labelTitle.Size = new System.Drawing.Size(546, 50);
this.labelTitle.TabIndex = 178;
this.labelTitle.Text = "로그인";
this.labelTitle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle.Wordwrap = false;
this.smartButtonUser22.BackPictureBox = null;
this.smartButtonUser22.BackPictureBox1 = null;
this.smartButtonUser22.BackPictureBox2 = null;
this.smartButtonUser22.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonUser22.ButtonImageAutoSize = true;
this.smartButtonUser22.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonUser22.DisableImage = null;
this.smartButtonUser22.DownImage = null;
this.smartButtonUser22.GroupID = 0;
this.smartButtonUser22.InitVisible = true;
this.smartButtonUser22.Location = new System.Drawing.Point(254, 30);
this.smartButtonUser22.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonUser22.Name = "smartButtonUser22";
this.smartButtonUser22.NestedClickEventPrevent = false;
this.smartButtonUser22.OutlinePixel = 1;
this.smartButtonUser22.RepeatInterval = 200;
this.smartButtonUser22.RepeatIntervalAccelerate = null;
this.smartButtonUser22.SafeInterval = 200;
this.smartButtonUser22.Size = new System.Drawing.Size(75, 43);
this.smartButtonUser22.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonUser22.TabIndex = 16;
this.smartButtonUser22.Text = "user22";
this.smartButtonUser22.TextColor = System.Drawing.Color.Black;
this.smartButtonUser22.TextDownColor = System.Drawing.Color.White;
this.smartButtonUser22.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonUser22.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser22.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser22.UpImage = null;
this.smartButtonUser22.Visible = false;
this.smartButtonUser22.Click += new System.EventHandler(this.smartButtonUser22_Click);
//
// smartButtonUser33
//
this.smartButtonUser33.BackPictureBox = null;
this.smartButtonUser33.BackPictureBox1 = null;
this.smartButtonUser33.BackPictureBox2 = null;
this.smartButtonUser33.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonUser33.ButtonImageAutoSize = true;
this.smartButtonUser33.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonUser33.DisableImage = null;
this.smartButtonUser33.DownImage = null;
this.smartButtonUser33.GroupID = 0;
this.smartButtonUser33.InitVisible = true;
this.smartButtonUser33.Location = new System.Drawing.Point(335, 30);
this.smartButtonUser33.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonUser33.Name = "smartButtonUser33";
this.smartButtonUser33.NestedClickEventPrevent = false;
this.smartButtonUser33.OutlinePixel = 1;
this.smartButtonUser33.RepeatInterval = 200;
this.smartButtonUser33.RepeatIntervalAccelerate = null;
this.smartButtonUser33.SafeInterval = 200;
this.smartButtonUser33.Size = new System.Drawing.Size(75, 43);
this.smartButtonUser33.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonUser33.TabIndex = 17;
this.smartButtonUser33.Text = "user33";
this.smartButtonUser33.TextColor = System.Drawing.Color.Black;
this.smartButtonUser33.TextDownColor = System.Drawing.Color.White;
this.smartButtonUser33.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonUser33.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser33.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser33.UpImage = null;
this.smartButtonUser33.Visible = false;
this.smartButtonUser33.Click += new System.EventHandler(this.smartButtonUser33_Click);
//
// pictureBoxImage
//
this.pictureBoxImage.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxImage.Image")));
this.pictureBoxImage.Location = new System.Drawing.Point(40, 67);
this.pictureBoxImage.Location = new System.Drawing.Point(40, 68);
this.pictureBoxImage.Name = "pictureBoxImage";
this.pictureBoxImage.Size = new System.Drawing.Size(66, 72);
//
// labelTitle3
//
this.labelTitle3.BackColor = System.Drawing.Color.White;
this.labelTitle3.BackPictureBox = null;
this.labelTitle3.BackPictureBox1 = null;
this.labelTitle3.BackPictureBox2 = null;
this.labelTitle3.BorderColor = System.Drawing.Color.Black;
this.labelTitle3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle3.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitle3.ForeColor = System.Drawing.Color.Gray;
this.labelTitle3.InitVisible = true;
this.labelTitle3.LineSpacing = 0F;
this.labelTitle3.Location = new System.Drawing.Point(129, 126);
this.labelTitle3.Name = "labelTitle3";
this.labelTitle3.Size = new System.Drawing.Size(120, 34);
this.labelTitle3.TabIndex = 184;
this.labelTitle3.Text = "비밀번호";
this.labelTitle3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle3.Wordwrap = false;
//
// labelTitle2
//
this.labelTitle2.BackColor = System.Drawing.Color.White;
this.labelTitle2.BackPictureBox = null;
this.labelTitle2.BackPictureBox1 = null;
this.labelTitle2.BackPictureBox2 = null;
this.labelTitle2.BorderColor = System.Drawing.Color.Black;
this.labelTitle2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle2.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitle2.ForeColor = System.Drawing.Color.Gray;
this.labelTitle2.InitVisible = true;
this.labelTitle2.LineSpacing = 0F;
this.labelTitle2.Location = new System.Drawing.Point(129, 81);
this.labelTitle2.Name = "labelTitle2";
this.labelTitle2.Size = new System.Drawing.Size(120, 34);
this.labelTitle2.TabIndex = 183;
this.labelTitle2.Text = "ID";
this.labelTitle2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle2.Wordwrap = false;
//
// labelTitle1
//
this.labelTitle1.BackColor = System.Drawing.Color.White;
this.labelTitle1.BackPictureBox = null;
this.labelTitle1.BackPictureBox1 = null;
this.labelTitle1.BackPictureBox2 = null;
this.labelTitle1.BorderColor = System.Drawing.Color.Black;
this.labelTitle1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle1.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold);
this.labelTitle1.ForeColor = System.Drawing.Color.Gray;
this.labelTitle1.InitVisible = true;
this.labelTitle1.LineSpacing = 0F;
this.labelTitle1.Location = new System.Drawing.Point(129, 25);
this.labelTitle1.Name = "labelTitle1";
this.labelTitle1.Size = new System.Drawing.Size(546, 50);
this.labelTitle1.TabIndex = 182;
this.labelTitle1.Text = "로그인";
this.labelTitle1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle1.Wordwrap = false;
//
// DialogFormLogOn
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -419,19 +423,19 @@
this.ClientSize = new System.Drawing.Size(710, 470);
this.ControlBox = false;
this.Controls.Add(this.pictureBoxImage);
this.Controls.Add(this.labelTitle3);
this.Controls.Add(this.labelTitle2);
this.Controls.Add(this.smartButtonUser33);
this.Controls.Add(this.smartButtonUser22);
this.Controls.Add(this.smartButtonIUser11);
this.Controls.Add(this.smartButtonAdmin);
this.Controls.Add(this.smartButton1);
this.Controls.Add(this.labelTitlePassword);
this.Controls.Add(this.labelTitleID);
this.Controls.Add(this.labelTitle);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonLogOn);
this.Controls.Add(this.smartKeyboard);
this.Controls.Add(this.textBoxPassword);
this.Controls.Add(this.textBoxID);
this.Controls.Add(this.smartKeyboard);
this.Controls.Add(this.labelTitle1);
this.Controls.Add(this.smartForm1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DialogFormLogOn";
@ -444,19 +448,19 @@
#endregion
private SmartX.SmartForm smartForm1;
private SmartX.SmartKeyboard smartKeyboard;
private System.Windows.Forms.TextBox textBoxID;
private System.Windows.Forms.TextBox textBoxPassword;
private SmartX.SmartKeyboard smartKeyboard;
private SmartX.SmartButton buttonLogOn;
private SmartX.SmartButton buttonCancel;
private SmartX.SmartButton smartButtonUser33;
private SmartX.SmartButton smartButtonUser22;
private SmartX.SmartButton smartButtonIUser11;
private SmartX.SmartButton smartButtonAdmin;
private SmartX.SmartButton smartButton1;
private SmartX.SmartLabel labelTitlePassword;
private SmartX.SmartLabel labelTitleID;
private SmartX.SmartLabel labelTitle;
private SmartX.SmartButton smartButtonAdmin;
private SmartX.SmartButton smartButtonIUser11;
private SmartX.SmartButton smartButtonUser22;
private SmartX.SmartButton smartButtonUser33;
private System.Windows.Forms.PictureBox pictureBoxImage;
private SmartX.SmartLabel labelTitle3;
private SmartX.SmartLabel labelTitle2;
private SmartX.SmartLabel labelTitle1;
}
}

View File

@ -11,20 +11,26 @@ using INT69DB_2A_ImageDll;
using INT69DB_2A.Forms;
using INT69DB_2A.Part11_UserManager;
using System.Text.RegularExpressions;
namespace INT69DB_2A.DialogForms
{
public partial class DialogFormLogOn : Form
{
#region Field
private FormMain m_ParentForm;
private bool IsLoginMode;
private bool IsChangePassword;
#endregion
#region Constructor
public DialogFormLogOn(FormMain parent)
public DialogFormLogOn(FormMain parent, bool login, bool changePass)
{
InitializeComponent();
this.ParentForm = parent;
this.IsLoginMode = login;
this.IsChangePassword = changePass;
this.InitializeDesign();
this.InitializeControl();
@ -47,49 +53,95 @@ namespace INT69DB_2A.DialogForms
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
{
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelUp));
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
{
this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackgroundUserLogin));
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelUp));
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
{
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
{
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelUp));
}
else
{
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelUp));
}
}
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(710, 470);
if (this.IsChangePassword == false)
{
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
{
this.labelTitle1.Text = "로그인";
this.labelTitle2.Text = "ID";
this.labelTitle3.Text = "비밀번호";
}
else
{
this.labelTitle1.Text = "User Login";
this.labelTitle2.Text = "ID";
this.labelTitle3.Text = "Password";
}
this.textBoxID.PasswordChar = default(char);
}
else
{
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
{
this.labelTitle1.Text = "비밀번호 변경";
this.labelTitle2.Text = "변경할 비밀번호";
this.labelTitle3.Text = "비밀번호 확인";
}
else
{
this.labelTitle1.Text = "Change Password";
this.labelTitle2.Text = "New";
this.labelTitle3.Text = "Confirmation";
}
this.textBoxID.PasswordChar = '*';
}
this.textBoxID.Text = "";
this.textBoxPassword.Text = "";
this.Location = new Point(45, 63);
//this.smartKeyboard.HanYoungKeyToggle();
this.smartKeyboard.HanYoungKeyDisable = true;
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
@ -99,14 +151,9 @@ namespace INT69DB_2A.DialogForms
{
}
#endregion
#region Event Handler
private void buttonLogOn_Click(object sender, EventArgs e)
private void LogOn()
{
// Automatic Logout Reset
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
UserManager.UserMgr_user_info_t userInfo = new UserManager.UserMgr_user_info_t();
if (this.textBoxID.Text == "")
@ -128,6 +175,121 @@ namespace INT69DB_2A.DialogForms
UserManager.UserManager_UserLoginDirect(this.textBoxID.Text, this.textBoxPassword.Text, ref userInfo);
if (userInfo.status == 0 && userInfo.fFirstPW == 0)
{
//MessageBox.Show("로그인 성공");
#region 로그인 성공
if (userInfo.active_level == 1)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level1;
else if (userInfo.active_level == 2)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level2;
else if (userInfo.active_level == 3)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level3;
else if (userInfo.active_level == 9)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Admin;
else if (userInfo.active_level == 10)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Developer;
this.ParentForm.SystemConfig.CurrentUser.ID = userInfo.user_id;
this.ParentForm.SystemConfig.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.SystemConfig.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.password_expire_period;
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
time = DateTime.ParseExact(userInfo.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdLogin = time;
time = DateTime.ParseExact(userInfo.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdExpire = time;
time = DateTime.ParseExact(userInfo.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire = time;
this.ParentForm.SystemConfig.CurrentUser.IsLockAccount = userInfo.id_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsLockPassword = userInfo.password_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.ActiveLevel = userInfo.active_level;
this.ParentForm.SystemConfig.CurrentUser.IsFirstPassword = userInfo.fFirstPW;
#endregion
this.DialogResult = DialogResult.OK;
this.Close();
}
else if (userInfo.fFirstPW == 1)
{
// 최초 로그인 시 비밀번호 변경
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
this.DialogResult = DialogResult.Abort;
this.Close();
}
else
{
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
// 비밀번호 만료 시
if (userInfo.status == 15)
{
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
this.DialogResult = DialogResult.Abort;
this.Close();
}
}
}
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 == "")
{
// New Password : 6~20자 입력 하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
return;
}
if (this.textBoxPassword.Text == "")
{
// 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)
{
// 비밀번호를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(null, 14, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
return;
}
if (this.IsLoginMode == true)
{
id = this.ParentForm.SystemConfig.CurrentUser.ID;
pass = this.textBoxID.Text;
Console.WriteLine(string.Format("UserManager_UserModifyPW : {0}, {1}", id, pass));
ret = UserManager.UserManager_UserModifyPWDirect(id, pass);
}
else
{
id = this.ParentForm.ChildFormMainDisplay.ChangeID;
pass = this.textBoxID.Text;
Console.WriteLine(string.Format("UserManager_UserModifyPW : {0}, {1}", id, pass));
ret = UserManager.UserManager_UserModifyPWDirect(id, pass);
}
// 비밀번호 변경이 완료 되면 로그인 시도
if (ret == 0)
{
UserManager.UserManager_UserLoginDirect(id, pass, ref userInfo);
if (userInfo.status == 0)
{
//MessageBox.Show("로그인 성공");
@ -147,24 +309,23 @@ namespace INT69DB_2A.DialogForms
this.ParentForm.SystemConfig.CurrentUser.ID = userInfo.user_id;
this.ParentForm.SystemConfig.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.SystemConfig.CurrentUser.ExpireAccount = userInfo.expire_period_account;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.expire_period_pw;
this.ParentForm.SystemConfig.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.password_expire_period;
DateTime time = DateTime.ParseExact(userInfo.register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateRegister = time;
time = DateTime.ParseExact(userInfo.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateLogin = time;
time = DateTime.ParseExact(userInfo.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateExpireRegister = time;
time = DateTime.ParseExact(userInfo.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateExpireLogin = time;
this.ParentForm.SystemConfig.CurrentUser.IsLockAccount = userInfo.flock_status_account == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsLockPassword = userInfo.flock_status_password == 0 ? false : true;
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
time = DateTime.ParseExact(userInfo.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdLogin = time;
time = DateTime.ParseExact(userInfo.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdExpire = time;
time = DateTime.ParseExact(userInfo.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire = time;
this.ParentForm.SystemConfig.CurrentUser.IsLockAccount = userInfo.id_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsLockPassword = userInfo.password_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.ActiveLevel = userInfo.active_level;
this.ParentForm.SystemConfig.CurrentUser.IsFirstPassword = userInfo.fFirstPW;
#endregion
this.DialogResult = DialogResult.OK;
@ -172,36 +333,46 @@ namespace INT69DB_2A.DialogForms
}
else
{
DialogFormMessage myMsg = new DialogFormMessage(null, userInfo.status, this.ParentForm.SystemConfig.Language);
DialogFormMessage myMsg = new DialogFormMessage(null, ret, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
}
private void buttonCancel_Click(object sender, EventArgs e)
else
{
// 비밀번호 변경 실패 시 메시지??
DialogFormMessage myMsg = new DialogFormMessage(null, ret, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
}
#endregion
#region Event Handler
private void buttonLogOn_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
if (this.IsChangePassword == false)
this.LogOn();
else
this.ChangePassword();
}
private void buttonCancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
private void textBoxID_GotFocus(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
this.smartKeyboard.TargetInputObject = this.textBoxID;
this.textBoxID.Select(this.textBoxID.Text.Length, 0);
}
private void textBoxPassword_GotFocus(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
this.smartKeyboard.TargetInputObject = this.textBoxPassword;
this.textBoxPassword.Select(this.textBoxPassword.Text.Length, 0);
}
@ -209,12 +380,6 @@ namespace INT69DB_2A.DialogForms
{
this.smartKeyboard.Show();
}
private void smartKeyboard_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
}
#endregion
private void smartButton1_Click(object sender, EventArgs e)
@ -222,25 +387,21 @@ namespace INT69DB_2A.DialogForms
this.textBoxID.Text = "Intech";
this.textBoxPassword.Text = "I20090810!";
}
private void smartButtonAdmin_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "admin00";
this.textBoxPassword.Text = "admin12!";
}
private void smartButtonIUser11_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "user11";
this.textBoxPassword.Text = "user11!";
}
private void smartButtonUser22_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "user22";
this.textBoxPassword.Text = "user22!";
}
private void smartButtonUser33_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "user33";

View File

@ -976,7 +976,7 @@ namespace INT69DB_2A.DialogForms
}
}
// 03
// 04
public DialogFormMessage(object dll, int code, DataStore.LanguageID language)
{
InitializeComponent();
@ -992,83 +992,87 @@ namespace INT69DB_2A.DialogForms
switch (code)
{
case 1:
this.labelErrorCode.Text = "Error 03_01";
this.labelErrorCode.Text = "Error 04_01";
this.labelMessage1.Text = "ID를 찾을 수 없습니다";
break;
case 2:
this.labelErrorCode.Text = "Error 03_02";
this.labelErrorCode.Text = "Error 04_02";
this.labelMessage1.Text = "ID : 동일한 ID가 있습니다";
break;
case 3:
this.labelErrorCode.Text = "Error 03_03";
this.labelErrorCode.Text = "Error 04_03";
this.labelMessage1.Text = "ID : 6~20자 입력하세요";
break;
case 4:
this.labelErrorCode.Text = "Error 03_04";
this.labelErrorCode.Text = "Error 04_04";
this.labelMessage1.Text = "ID : 6~20자 입력하세요";
break;
case 5:
this.labelErrorCode.Text = "Error 03_05";
this.labelErrorCode.Text = "Error 04_05";
this.labelMessage1.Text = "ID : 연속된 문자(123,321,abc,cba...)또는";
this.labelMessage2.Text = "동일한 문자(111,222,aaa...) 사용 할 수 없습니다";
break;
case 6:
this.labelErrorCode.Text = "Error 03_06";
this.labelErrorCode.Text = "Error 04_06";
this.labelMessage1.Text = "ID : 사용할 수 없는 문자가 포함되어 있습니다";
break;
case 7:
this.labelErrorCode.Text = "Error 03_07";
this.labelErrorCode.Text = "Error 04_07";
this.labelMessage1.Text = "ID : 사용자 계정이 만료 되었습니다";
break;
case 8:
this.labelErrorCode.Text = "Error 03_08";
this.labelErrorCode.Text = "Error 04_08";
this.labelMessage1.Text = "PASSWORD : 이전 패스워드 입니다";
break;
case 9:
this.labelErrorCode.Text = "Error 03_09";
this.labelErrorCode.Text = "Error 04_09";
this.labelMessage1.Text = "PASSWORD : 6~20자 입력하세요";
break;
case 10:
this.labelErrorCode.Text = "Error 03_10";
this.labelErrorCode.Text = "Error 04_10";
this.labelMessage1.Text = "PASSWORD : 6~20자 입력하세요";
break;
case 11:
this.labelErrorCode.Text = "Error 03_11";
this.labelErrorCode.Text = "Error 04_11";
this.labelMessage1.Text = "PASSWORD : 연속된 문자(123,321,abc,cba...)또는";
this.labelMessage2.Text = "동일한 문자(111,222,aaa...) 사용 할 수 없습니다";
break;
case 12:
this.labelErrorCode.Text = "Error 03_12";
this.labelErrorCode.Text = "Error 04_12";
this.labelMessage1.Text = "PASSWORD : 사용할 수 없는 문자가 포함되어 있습니다";
this.labelMessage2.Text = "사용 가능 특수문자 : !@#$%^&*+-.";
break;
case 13:
this.labelErrorCode.Text = "Error 03_13";
this.labelErrorCode.Text = "Error 04_13";
this.labelMessage1.Text = "PASSWORD : 영문1이상, 숫자1이상, 특수문자1이상";
this.labelMessage2.Text = "포함하여 주십시오";
break;
case 14:
this.labelErrorCode.Text = "Error 03_14";
this.labelErrorCode.Text = "Error 04_14";
this.labelMessage1.Text = "비밀번호를 확인하세요";
break;
case 15:
this.labelErrorCode.Text = "Error 03_15";
this.labelErrorCode.Text = "Error 04_15";
this.labelMessage1.Text = "PASSWORD : 비밀번호가 만료 되었습니다";
break;
case 16:
this.labelErrorCode.Text = "Error 03_16";
this.labelMessage1.Text = "필수 설정 항목을 설정해 주십시오";
this.labelErrorCode.Text = "Error 04_16";
this.labelMessage1.Text = "접근 권한을 설정해 주십시오";
break;
case 17:
this.labelErrorCode.Text = "Error 03_17";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_17";
this.labelMessage1.Text = "비밀번호가 동일하지 않습니다";
break;
case 18:
this.labelErrorCode.Text = "Error 03_18";
this.labelErrorCode.Text = "Error 04_18";
this.labelMessage1.Text = "";
break;
case 99:
this.labelErrorCode.Text = "Error 04_99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
default:
this.labelErrorCode.Text = "Error 03_99";
this.labelErrorCode.Text = "Error 04_99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
@ -1079,79 +1083,87 @@ namespace INT69DB_2A.DialogForms
switch (code)
{
case 1:
this.labelErrorCode.Text = "Error 03_01";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_01";
this.labelMessage1.Text = "ID not found";
break;
case 2:
this.labelErrorCode.Text = "Error 03_02";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_02";
this.labelMessage1.Text = "ID : ID already exists";
break;
case 3:
this.labelErrorCode.Text = "Error 03_03";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_03";
this.labelMessage1.Text = "ID : Please enter 6~20 characters";
break;
case 4:
this.labelErrorCode.Text = "Error 03_04";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_04";
this.labelMessage1.Text = "ID : Please enter 6~20 characters";
break;
case 5:
this.labelErrorCode.Text = "Error 03_05";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_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.labelErrorCode.Text = "Error 03_06";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_06";
this.labelMessage1.Text = "ID : Contains invalid characters";
break;
case 7:
this.labelErrorCode.Text = "Error 03_07";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_07";
this.labelMessage1.Text = "ID : User account has expired";
break;
case 8:
this.labelErrorCode.Text = "Error 03_08";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_08";
this.labelMessage1.Text = "PASSWORD : This is the old password";
break;
case 9:
this.labelErrorCode.Text = "Error 03_09";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_09";
this.labelMessage1.Text = "PASSWORD : Please enter 6~20 characters";
break;
case 10:
this.labelErrorCode.Text = "Error 03_10";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_10";
this.labelMessage1.Text = "PASSWORD : Please enter 6~20 characters";
break;
case 11:
this.labelErrorCode.Text = "Error 03_11";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_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.labelErrorCode.Text = "Error 03_12";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_12";
this.labelMessage1.Text = "PASSWORD : Contains invalid characters";
this.labelMessage2.Text = "Special characters allowed : !@#$%^&*+-.";
break;
case 13:
this.labelErrorCode.Text = "Error 03_13";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_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.labelErrorCode.Text = "Error 03_14";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_14";
this.labelMessage1.Text = "Check your password";
break;
case 15:
this.labelErrorCode.Text = "Error 03_15";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_15";
this.labelMessage1.Text = "PASSWORD : Password has expired";
break;
case 16:
this.labelErrorCode.Text = "Error 03_16";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_16";
this.labelMessage1.Text = "Please set the access right";
break;
case 17:
this.labelErrorCode.Text = "Error 03_17";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Error 04_17";
this.labelMessage1.Text = "Passwords are not the same";
break;
case 18:
this.labelErrorCode.Text = "Error 03_18";
this.labelErrorCode.Text = "Error 04_18";
this.labelMessage1.Text = "";
break;
case 99:
this.labelErrorCode.Text = "Error 04_99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
default:
this.labelErrorCode.Text = "Error 03_99";
this.labelErrorCode.Text = "Error 04_99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
@ -1164,80 +1176,88 @@ namespace INT69DB_2A.DialogForms
switch (code)
{
case 1:
this.labelErrorCode.Text = "错误 03_01";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_01";
this.labelMessage1.Text = "未找到 ID";
break;
case 2:
this.labelErrorCode.Text = "错误 03_02";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_02";
this.labelMessage1.Text = "ID : ID已存在";
break;
case 3:
this.labelErrorCode.Text = "错误 03_03";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_03";
this.labelMessage1.Text = "ID : 请输入6~20个字符";
break;
case 4:
this.labelErrorCode.Text = "错误 03_04";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_04";
this.labelMessage1.Text = "ID : 请输入6~20个字符";
break;
case 5:
this.labelErrorCode.Text = "错误 03_05";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_05";
this.labelMessage1.Text = "ID : 不能使用连续的 (123,321,abc,cba...)";
this.labelMessage2.Text = "或相同的 (111,222,aaa...) 字符。";
break;
case 6:
this.labelErrorCode.Text = "错误 03_06";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_06";
this.labelMessage1.Text = "ID : 它包含无效字符";
break;
case 7:
this.labelErrorCode.Text = "错误 03_07";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_07";
this.labelMessage1.Text = "ID : 用户帐号已过期";
break;
case 8:
this.labelErrorCode.Text = "错误 03_08";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_08";
this.labelMessage1.Text = "密码 : 这是旧密码";
break;
case 9:
this.labelErrorCode.Text = "错误 03_09";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_09";
this.labelMessage1.Text = "密码 : 请输入6~20个字符";
break;
case 10:
this.labelErrorCode.Text = "错误 03_10";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_10";
this.labelMessage1.Text = "密码 : 请输入6~20个字符";
break;
case 11:
this.labelErrorCode.Text = "错误 03_11";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_11";
this.labelMessage1.Text = "密码 : 不能使用连续的 (123,321,abc,cba...)";
this.labelMessage2.Text = "或相同的 (111,222,aaa...) 字符。";
break;
case 12:
this.labelErrorCode.Text = "错误 03_12";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_12";
this.labelMessage1.Text = "密码 : 它包含无效字符";
this.labelMessage2.Text = "允许使用特殊字符 : !@#$%^&*+-.";
break;
case 13:
this.labelErrorCode.Text = "错误 03_13";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_13";
this.labelMessage1.Text = "密码 : 请至少包含一个英文字母,";
this.labelMessage2.Text = "至少一个数字,至少一个特殊字符";
break;
case 14:
this.labelErrorCode.Text = "错误 03_14";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_14";
this.labelMessage1.Text = "检查您的密码";
break;
case 15:
this.labelErrorCode.Text = "错误 03_15";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_15";
this.labelMessage1.Text = "密码 : 密码已过期";
break;
case 16:
this.labelErrorCode.Text = "错误 03_16";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_16";
this.labelMessage1.Text = "请设置访问权限";
break;
case 17:
this.labelErrorCode.Text = "错误 03_17";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "错误 04_17";
this.labelMessage1.Text = "密码不一样";
break;
case 18:
this.labelErrorCode.Text = "错误 03_18";
this.labelErrorCode.Text = "错误 04_18";
this.labelMessage1.Text = "";
break;
case 99:
this.labelErrorCode.Text = "错误 04_99";
this.labelMessage1.Text = "请联系制造商";
break;
default:
this.labelErrorCode.Text = "错误 03_99";
this.labelMessage1.Text = "请联系厂商";
this.labelErrorCode.Text = "错误 04_99";
this.labelMessage1.Text = "请联系制造商";
break;
}
#endregion
@ -1247,79 +1267,83 @@ namespace INT69DB_2A.DialogForms
switch (code)
{
case 1:
this.labelErrorCode.Text = "Chybě 03_01";
this.labelErrorCode.Text = "Chybě 04_01";
this.labelMessage1.Text = "";
break;
case 2:
this.labelErrorCode.Text = "Chybě 03_02";
this.labelErrorCode.Text = "Chybě 04_02";
this.labelMessage1.Text = "";
break;
case 3:
this.labelErrorCode.Text = "Chybě 03_03";
this.labelErrorCode.Text = "Chybě 04_03";
this.labelMessage1.Text = "";
break;
case 4:
this.labelErrorCode.Text = "Chybě 03_04";
this.labelErrorCode.Text = "Chybě 04_04";
this.labelMessage1.Text = "";
break;
case 5:
this.labelErrorCode.Text = "Chybě 03_05";
this.labelErrorCode.Text = "Chybě 04_05";
this.labelMessage1.Text = "";
break;
case 6:
this.labelErrorCode.Text = "Chybě 03_06";
this.labelErrorCode.Text = "Chybě 04_06";
this.labelMessage1.Text = "";
break;
case 7:
this.labelErrorCode.Text = "Chybě 03_07";
this.labelErrorCode.Text = "Chybě 04_07";
this.labelMessage1.Text = "";
break;
case 8:
this.labelErrorCode.Text = "Chybě 03_08";
this.labelErrorCode.Text = "Chybě 04_08";
this.labelMessage1.Text = "";
break;
case 9:
this.labelErrorCode.Text = "Chybě 03_09";
this.labelErrorCode.Text = "Chybě 04_09";
this.labelMessage1.Text = "";
break;
case 10:
this.labelErrorCode.Text = "Chybě 03_10";
this.labelErrorCode.Text = "Chybě 04_10";
this.labelMessage1.Text = "";
break;
case 11:
this.labelErrorCode.Text = "Chybě 03_11";
this.labelErrorCode.Text = "Chybě 04_11";
this.labelMessage1.Text = "";
break;
case 12:
this.labelErrorCode.Text = "Chybě 03_12";
this.labelErrorCode.Text = "Chybě 04_12";
this.labelMessage1.Text = "";
break;
case 13:
this.labelErrorCode.Text = "Chybě 03_13";
this.labelErrorCode.Text = "Chybě 04_13";
this.labelMessage1.Text = "";
break;
case 14:
this.labelErrorCode.Text = "Chybě 03_14";
this.labelErrorCode.Text = "Chybě 04_14";
this.labelMessage1.Text = "";
break;
case 15:
this.labelErrorCode.Text = "Chybě 03_15";
this.labelErrorCode.Text = "Chybě 04_15";
this.labelMessage1.Text = "";
break;
case 16:
this.labelErrorCode.Text = "Chybě 03_16";
this.labelErrorCode.Text = "Chybě 04_16";
this.labelMessage1.Text = "";
break;
case 17:
this.labelErrorCode.Text = "Chybě 03_17";
this.labelErrorCode.Text = "Chybě 04_17";
this.labelMessage1.Text = "";
break;
case 18:
this.labelErrorCode.Text = "Chybě 03_18";
this.labelErrorCode.Text = "Chybě 04_18";
this.labelMessage1.Text = "";
break;
case 99:
this.labelErrorCode.Text = "Chybě 04_99";
this.labelMessage1.Text = "Kontaktujte výrobce";
break;
default:
this.labelErrorCode.Text = "Chybě 03_99";
this.labelErrorCode.Text = "Chybě 04_99";
this.labelMessage1.Text = "Kontaktujte výrobce";
this.labelMessage2.Text = "";
break;
@ -1328,83 +1352,93 @@ namespace INT69DB_2A.DialogForms
break;
case DataStore.LanguageID.German:
#region 독일어
this.buttonOK.Text = "Bestätigen";
switch (code)
{
case 1:
this.labelErrorCode.Text = "Error 01";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_01";
this.labelMessage1.Text = "ID nicht gefunden";
break;
case 2:
this.labelErrorCode.Text = "Error 02";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_02";
this.labelMessage1.Text = "ID : ID existiert bereits";
break;
case 3:
this.labelErrorCode.Text = "Error 03";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_03";
this.labelMessage1.Text = "ID : Bitte geben Sie 6~20 Zeichen ein";
break;
case 4:
this.labelErrorCode.Text = "Error 04";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_04";
this.labelMessage1.Text = "ID : Bitte geben Sie 6~20 Zeichen ein";
break;
case 5:
this.labelErrorCode.Text = "Error 05";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_05";
this.labelMessage1.Text = "ID : Aufeinanderfolgende (123,321,abc,cba...)";
this.labelMessage2.Text = "oder identische (111,222,aaa...) Zeichen können nicht verwendet werden.";
break;
case 6:
this.labelErrorCode.Text = "Error 06";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_06";
this.labelMessage1.Text = "ID : Es enthält ungültige Zeichen";
break;
case 7:
this.labelErrorCode.Text = "Error 07";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_07";
this.labelMessage1.Text = "ID : Benutzerkonto ist abgelaufen";
break;
case 8:
this.labelErrorCode.Text = "Error 08";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_08";
this.labelMessage1.Text = "Passwort : Dies ist das alte Passwort";
break;
case 9:
this.labelErrorCode.Text = "Error 09";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_09";
this.labelMessage1.Text = "Passwort : Bitte geben Sie 6~20 Zeichen ein";
break;
case 10:
this.labelErrorCode.Text = "Error 10";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_10";
this.labelMessage1.Text = "Passwort : Bitte geben Sie 6~20 Zeichen ein";
break;
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_11";
this.labelMessage1.Text = "Passwort : Aufeinanderfolgende (123,321,abc,cba...)";
this.labelMessage2.Text = "oder identische (111,222,aaa...) Zeichen können nicht verwendet werden.";
break;
case 12:
this.labelErrorCode.Text = "Error 12";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_12";
this.labelMessage1.Text = "Passwort : Es enthält ungültige Zeichen";
this.labelMessage2.Text = "Sonderzeichen erlaubt : !@#$%^&*+-.";
break;
case 13:
this.labelErrorCode.Text = "Error 13";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_13";
this.labelMessage1.Text = "Passwort : Bitte geben Sie mindestens einen";
this.labelMessage2.Text = "englischen Buchstaben, mindestens eine Ziffer und mindestens ein Sonderzeichen an";
break;
case 14:
this.labelErrorCode.Text = "Error 14";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_14";
this.labelMessage1.Text = "Überprüfen Sie Ihr Passwort";
break;
case 15:
this.labelErrorCode.Text = "Error 15";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_15";
this.labelMessage1.Text = "Passwort : Passwort ist abgelaufen";
break;
case 16:
this.labelErrorCode.Text = "Error 16";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_16";
this.labelMessage1.Text = "Bitte legen Sie Zugriffsrechte fest";
break;
case 17:
this.labelErrorCode.Text = "Error 17";
this.labelMessage1.Text = "";
this.labelErrorCode.Text = "Fehler 04_17";
this.labelMessage1.Text = "Passwörter sind nicht gleich";
break;
case 18:
this.labelErrorCode.Text = "Error 18";
this.labelErrorCode.Text = "Fehler 04_18";
this.labelMessage1.Text = "";
break;
case 99:
this.labelErrorCode.Text = "Fehler 04_99";
this.labelMessage1.Text = "Bitte wenden Sie sich an einen Hersteller";
break;
default:
this.labelErrorCode.Text = "Fehler 99";
this.labelMessage1.Text = "Hersteller kontaktieren";
this.labelErrorCode.Text = "Fehler 04_99";
this.labelMessage1.Text = "Bitte wenden Sie sich an einen Hersteller";
break;
}
#endregion
@ -1472,7 +1506,7 @@ namespace INT69DB_2A.DialogForms
#endregion
#region Method
private void InitializeContnrol()
private void InitializeControl()
{
int x = 0, y = 0;
@ -1490,7 +1524,7 @@ namespace INT69DB_2A.DialogForms
{
base.OnLoad(e);
this.InitializeContnrol();
this.InitializeControl();
}
#endregion

View File

@ -9,18 +9,23 @@ using System.Windows.Forms;
namespace INT69DB_2A.DialogForms
{
public partial class DialogFormPasswordKeyPad1 : Form
public partial class DialogFormPasswordKeyPad : Form
{
#region Field
private string m_InputKey;
private string m_PassKey;
private string m_PasswordHiddenMenu;
private int m_Digit;
#endregion
#region Constructor
public DialogFormPasswordKeyPad1(DataStore.LanguageID language)
public DialogFormPasswordKeyPad(int digit, DataStore.LanguageID language)
{
InitializeComponent();
this.Digit = digit;
this.PasswordHiddenMenu = DateTime.Now.ToString("MMdd") + "0810";
this.InitializeDesign(language);
}
#endregion
@ -36,36 +41,43 @@ namespace INT69DB_2A.DialogForms
get { return this.m_PassKey; }
set { this.m_PassKey = value; }
}
private int Digit
{
get { return this.m_Digit; }
set { this.m_Digit = value; }
}
public string PasswordHiddenMenu
{
get { return this.m_PasswordHiddenMenu; }
set { this.m_PasswordHiddenMenu = value; }
}
#endregion
#region Method
private void InputNum(string key)
{
if (this.InputKey.Length >= 4)
if (this.InputKey.Length >= this.Digit)
{
this.InputKey = key;
this.labelScreen.Text = this.InputKey;
this.labelScreen.Text = "*";
}
else
{
this.InputKey += key;
this.labelScreen.Text = this.InputKey;
this.labelScreen.Text += "*";
}
}
private void InitializeDesign(DataStore.LanguageID language)
{
if (language == DataStore.LanguageID.Korean)
if (language == DataStore.LanguageID.English)
{
}
else if (language == DataStore.LanguageID.English)
{
this.buttonCancel.Text = "ESC";
this.buttonEnter.Text = "Enter";
}
else if (language == DataStore.LanguageID.Chinese)
{
this.labelSubject.Text = "密码";
this.labelSubject.Text = "键盘";
this.buttonCancel.Text = "取消";
this.buttonEnter.Text = "确认";
@ -76,10 +88,11 @@ namespace INT69DB_2A.DialogForms
}
else
{
this.buttonCancel.Text = "ESC";
this.buttonEnter.Text = "Enter";
}
}
private void InitializeContnrol()
private void InitializeControl()
{
int x = 0, y = 0;
@ -100,19 +113,26 @@ namespace INT69DB_2A.DialogForms
{
base.OnLoad(e);
this.InitializeContnrol();
this.InitializeControl();
}
#endregion
#region Event Handler
private void buttonEnter_Click(object sender, EventArgs e)
{
if (this.labelScreen.Text.Length == 4)
if (this.labelScreen.Text.Length == 8)
{
if (this.Digit == 8)
{
if (this.InputKey == this.PasswordHiddenMenu)
this.DialogResult = DialogResult.OK;
}
}
this.InputKey = "";
this.labelScreen.Text = "";
}
private void buttonNumber_Click(object sender, EventArgs e)
{
Button bt = sender as Button;

View File

@ -1,6 +1,6 @@
namespace INT69DB_2A.DialogForms
{
partial class DialogFormPasswordKeyPad1
partial class DialogFormPasswordKeyPad
{
/// <summary>
/// Required designer variable.

View File

@ -29,14 +29,31 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogFormUserEditorKeyboard));
this.smartKeyboard = new SmartX.SmartKeyboard();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.textBox = new System.Windows.Forms.TextBox();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.labelTitle = new SmartX.SmartLabel();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.pictureBoxImage = new System.Windows.Forms.PictureBox();
this.smartGroupBox1.SuspendLayout();
this.labelTitle = new SmartX.SmartLabel();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(710, 470);
//
// textBox
//
this.textBox.Font = new System.Drawing.Font("Tahoma", 25F, System.Drawing.FontStyle.Regular);
this.textBox.Location = new System.Drawing.Point(143, 99);
this.textBox.MaxLength = 20;
this.textBox.Name = "textBox";
this.textBox.Size = new System.Drawing.Size(489, 47);
this.textBox.TabIndex = 181;
this.textBox.Text = "ABCDE";
this.textBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
//
// smartKeyboard
//
this.smartKeyboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(40)))), ((int)(((byte)(24)))));
@ -55,15 +72,15 @@
this.smartKeyboard.KeyUpImage2 = null;
this.smartKeyboard.KeyUpImage3 = null;
this.smartKeyboard.LeftMargin = 5;
this.smartKeyboard.Location = new System.Drawing.Point(7, 188);
this.smartKeyboard.Location = new System.Drawing.Point(13, 190);
this.smartKeyboard.Name = "smartKeyboard";
this.smartKeyboard.PressFontColor = System.Drawing.Color.Olive;
this.smartKeyboard.PressKeyFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartKeyboard.PressKeyOutLineColor = System.Drawing.Color.Green;
this.smartKeyboard.RoundedCorners = true;
this.smartKeyboard.SetBackimage = null;
this.smartKeyboard.Size = new System.Drawing.Size(697, 270);
this.smartKeyboard.TabIndex = 3;
this.smartKeyboard.Size = new System.Drawing.Size(685, 268);
this.smartKeyboard.TabIndex = 182;
this.smartKeyboard.TABKeyDisable = false;
this.smartKeyboard.TargetInputObject = null;
this.smartKeyboard.Text = "smartKeyboard1";
@ -72,38 +89,12 @@
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
this.smartKeyboard.KeyDown += new System.Windows.Forms.KeyEventHandler(this.smartKeyboard_KeyDown);
//
// textBox
// pictureBoxImage
//
this.textBox.Font = new System.Drawing.Font("Tahoma", 25F, System.Drawing.FontStyle.Regular);
this.textBox.Location = new System.Drawing.Point(143, 99);
this.textBox.MaxLength = 20;
this.textBox.Name = "textBox";
this.textBox.Size = new System.Drawing.Size(489, 47);
this.textBox.TabIndex = 2;
this.textBox.Text = "ABCDE";
this.textBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
//
// smartGroupBox1
//
this.smartGroupBox1.BackPictureBox = null;
this.smartGroupBox1.BackPictureBox1 = null;
this.smartGroupBox1.Controls.Add(this.labelTitle);
this.smartGroupBox1.Controls.Add(this.pictureBoxImage);
this.smartGroupBox1.Controls.Add(this.smartKeyboard);
this.smartGroupBox1.Controls.Add(this.textBox);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.Black;
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.Black;
this.smartGroupBox1.FrameLineThickness = 1;
this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.None;
this.smartGroupBox1.Image = ((System.Drawing.Image)(resources.GetObject("smartGroupBox1.Image")));
this.smartGroupBox1.InitVisible = true;
this.smartGroupBox1.Location = new System.Drawing.Point(0, 0);
this.smartGroupBox1.Name = "smartGroupBox1";
this.smartGroupBox1.RoundRadius = 5;
this.smartGroupBox1.Size = new System.Drawing.Size(710, 470);
this.smartGroupBox1.TabIndex = 4;
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
this.pictureBoxImage.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxImage.Image")));
this.pictureBoxImage.Location = new System.Drawing.Point(40, 67);
this.pictureBoxImage.Name = "pictureBoxImage";
this.pictureBoxImage.Size = new System.Drawing.Size(66, 72);
//
// labelTitle
//
@ -120,19 +111,12 @@
this.labelTitle.Location = new System.Drawing.Point(143, 43);
this.labelTitle.Name = "labelTitle";
this.labelTitle.Size = new System.Drawing.Size(489, 50);
this.labelTitle.TabIndex = 179;
this.labelTitle.TabIndex = 183;
this.labelTitle.Text = "입력";
this.labelTitle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle.Wordwrap = false;
//
// pictureBoxImage
//
this.pictureBoxImage.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxImage.Image")));
this.pictureBoxImage.Location = new System.Drawing.Point(40, 67);
this.pictureBoxImage.Name = "pictureBoxImage";
this.pictureBoxImage.Size = new System.Drawing.Size(66, 72);
//
// DialogFormUserEditorKeyboard
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -141,21 +125,26 @@
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
this.ClientSize = new System.Drawing.Size(710, 470);
this.ControlBox = false;
this.Controls.Add(this.smartGroupBox1);
this.Controls.Add(this.labelTitle);
this.Controls.Add(this.pictureBoxImage);
this.Controls.Add(this.smartKeyboard);
this.Controls.Add(this.textBox);
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DialogFormUserEditorKeyboard";
this.Text = "DialogFormUserEditorKeyboard";
this.smartGroupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartKeyboard smartKeyboard;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.TextBox textBox;
private SmartX.SmartGroupBox smartGroupBox1;
private SmartX.SmartKeyboard smartKeyboard;
private System.Windows.Forms.PictureBox pictureBoxImage;
private SmartX.SmartLabel labelTitle;
}
}

View File

@ -16,14 +16,14 @@ namespace INT69DB_2A.DialogForms
#endregion
#region Constructor
public DialogFormUserEditorKeyboard(string value, string title)
public DialogFormUserEditorKeyboard(string value)
{
InitializeComponent();
this.labelTitle.Text = title;
this.textBox.Text = value;
this.RetStringValue = value;
this.InitializeControl();
this.DefaultSetting();
}
#endregion
@ -37,10 +37,18 @@ namespace INT69DB_2A.DialogForms
#endregion
#region Method
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(713, 473);
}
private void DefaultSetting()
{
this.Location = new Point(45, 63);
this.smartKeyboard.TargetInputObject = this.textBox;
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.Show();

View File

@ -118,78 +118,7 @@
<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="pictureBoxImage.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEIAAABICAIAAADNrbTZAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/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lWRnmgGlhBUZo10A8NfsWqilbW/jH
1QArEETtALRr1O8sFzUAm4UpTWJxAHo1vh89mpY9D1m8tYnKYJMYHYBejYa6dZTd37ypdPU/X91lE2xU
Y3QAGjV+uNhJn0aLHnJj0L9c7g42UeIANGrsra9EPCE1TnzeZSary+5X4gB0aVwbP5aek4j4M1tXynFm
QsAB21i5LFJ0aXherkIwIy/5u9Hr4r9fDTTtWS/f8ViOY3QAWjTwLgYBBDtanxVBgOHeW+gSTTBdO3es
Gfu0Va6JDi0azXvWI7JseYFYjr7+or16Y0n85CRk5CY1NlThwhNNYkS9BqYiy50yN+0m+gaOq8jv3SL+
mpOZlwxJ1FCxKtRreD0b8fORx+7B8dBAU2FxHhXcerujxbPhpy+7qEwtijV+vtSN4eInZqNkxV0Jzjgc
35bvfK2xGim5oVoUawwcrxcR4LozFc9vLLJyEx0o1hg/00qvFrkFaT7vZhMEiFg1Eiffh8aG/RQZGTzY
31v36+W3RI0JYDmhYWAnylIyhhpLl+VT++dqHmcpM1lXuZSGsXzlYpaSMdTAYkrt8WDeXvvkxSGf/J8G
JjDY3yjvbrraatkIZQw1frvSI5bUGWdV6RI2PIahBpg431b0oJud0XzKK4qmXVFCaQDMCdal4ofzHZl/
b7zNAVcyNm+4qPoCu9mQpmQajX8LtoaVsDWshK1hJWwNK2FrWIeJ3r8AiuyKhLqqyZEAAAAASUVORK5C
YII=
</value>
</data>
<data name="smartGroupBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAsYAAAHWCAYAAAB0Vk+zAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -358,6 +287,77 @@
hjEAAGnFLWwYAwCQVtzChjEAAGnFLWwYAwCQVtzChjEAAGnFLWwYAwCQVtzChjEAAGnFLWwYAwCQVtzC
hjEAAGnFLWwYAwCQVtzChjEAAGnFLWwYAwCQVtzChjEAAGnFLWwYAwCQVtzChjEAAGnFLWwYAwCQVtzC
hjEAAGnFLfxDwxgAALIyjAEA4CDDGAAA7jul/F/eB9XIY8iEdQAAAABJRU5ErkJggg==
</value>
</data>
<data name="pictureBoxImage.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEIAAABICAIAAADNrbTZAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5iRcIUm2MjTMzM424
HJaRuKC/6386/A198T0j8Xa/l4fuyollCp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Eiffh8aG/RQZGTzY
31v36+W3RI0JYDmhYWAnylIyhhpLl+VT++dqHmcpM1lXuZSGsXzlYpaSMdTAYkrt8WDeXvvkxSGf/J8G
JjDY3yjvbrraatkIZQw1frvSI5bUGWdV6RI2PIahBpg431b0oJud0XzKK4qmXVFCaQDMCdal4ofzHZl/
b7zNAVcyNm+4qPoCu9mQpmQajX8LtoaVsDWshK1hJWwNK2FrWIeJ3r8AiuyKhLqqyZEAAAAASUVORK5C
YII=
</value>
</data>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">

View File

@ -311,6 +311,14 @@ namespace INT69DB_2A.DialogForms
case DataStore.LanguageID.Korean:
switch (ok)
{
case 2:
this.labelErrorCode.Text = "비밀번호 만료";
if (int.Parse(msg) == 0)
this.labelMessage1.Text = "비밀번호 만료일입니다.";
else
this.labelMessage1.Text = string.Format("비밀번호 만료 {0}일 전입니다.", msg);
this.labelMessage2.Text = "비밀번호를 변경하시겠습니까?";
break;
case 31:
this.labelErrorCode.Text = "파일";
this.labelMessage1.Text = string.Format("{0} 파일이 이미 있습니다. 바꾸시겠습니까?", msg);
@ -320,8 +328,43 @@ namespace INT69DB_2A.DialogForms
}
break;
case DataStore.LanguageID.English:
switch (ok)
{
case 2:
this.labelErrorCode.Text = "Password expiration";
if (int.Parse(msg) == 0)
this.labelMessage1.Text = "Today is the password expiration date.";
else
this.labelMessage1.Text = string.Format("{0} days before password expires", msg);
this.labelMessage2.Text = "Do you want to change the password?";
break;
case 31:
this.labelErrorCode.Text = "File";
this.labelMessage1.Text = string.Format("{0} already exists. Do you change the file?", msg);
break;
default:
break;
}
break;
break;
case DataStore.LanguageID.Chinese:
switch (ok)
{
case 2:
this.labelErrorCode.Text = "密码过期";
if (int.Parse(msg) == 0)
this.labelMessage1.Text = "今天是密码过期日期.";
else
this.labelMessage1.Text = string.Format("密码过期前{0}天", msg);
this.labelMessage2.Text = "您要更改密码吗?";
break;
case 31:
this.labelErrorCode.Text = "文件";
this.labelMessage1.Text = string.Format("{0} 已经存在。 你改文件了吗?", msg);
break;
default:
break;
}
break;
case DataStore.LanguageID.Czech:
break;

View File

@ -207,12 +207,16 @@ namespace INT69DB_2A.Forms
private void EthernetStart()
{
string detail = "";
this.buttonStart.Enabled = true;
this.buttonStop.Enabled = true;
this.buttonTestSend.Enabled = true;
if (this.ParentForm.SystemConfig.EthernetOperationMode == 1)
{
detail = "Server";
if (string.Compare(this.ParentForm.smartConfigs.IPSettings.DeviceIP, "0.0.0.0") == 0)
{
if (this.labelServerStatus.Text != ">Addr Err")
@ -232,13 +236,20 @@ namespace INT69DB_2A.Forms
}
else if (this.ParentForm.SystemConfig.EthernetOperationMode == 2)
{
detail = "Client";
this.ParentForm.EthernetClientConnect();
}
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.TryEthernetStart, detail);
}
private void EthernetStop()
{
string detail = "";
if (this.ParentForm.SystemConfig.EthernetOperationMode == 1)
{
detail = "Server";
this.timerServer.Enabled = false;
this.ParentForm.EthernetServerStop();
@ -247,8 +258,11 @@ namespace INT69DB_2A.Forms
}
else if (this.ParentForm.SystemConfig.EthernetOperationMode == 2)
{
detail = "Client";
this.ParentForm.EthernetClientDisconnect();
}
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.TryEthernetStop, detail);
}
private void EthernetDataTestSend()
{
@ -259,30 +273,30 @@ namespace INT69DB_2A.Forms
if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f1_OPT1)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
data = this.ParentForm.OPT1(this.ParentForm.CollectionWeightData);
data = this.ParentForm.Protocol_OPT1(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.OPT1(1, this.ParentForm.CollectionWeightData[0]);
data = this.ParentForm.Protocol_OPT1(1, this.ParentForm.CollectionWeightData[0]);
}
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f2_OPT2)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
data = this.ParentForm.OPT2(this.ParentForm.CollectionWeightData);
data = this.ParentForm.Protocol_OPT2(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.OPT2(1, this.ParentForm.CollectionWeightData[0]);
data = this.ParentForm.Protocol_OPT2(1, this.ParentForm.CollectionWeightData[0]);
}
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f3_OPT3)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
data = this.ParentForm.OPT3(this.ParentForm.CollectionWeightData);
data = this.ParentForm.Protocol_OPT3(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.OPT3(1, this.ParentForm.CollectionWeightData[0]);
data = this.ParentForm.Protocol_OPT3(1, this.ParentForm.CollectionWeightData[0]);
}
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f5_OPT4)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
data = this.ParentForm.OPT4(this.ParentForm.CollectionWeightData);
data = this.ParentForm.Protocol_OPT4(this.ParentForm.CollectionWeightData);
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
data = this.ParentForm.OPT4(1, this.ParentForm.CollectionWeightData[0]);
data = this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]);
}
switch (this.ParentForm.SystemConfig.EthernetOperationMode)
@ -317,30 +331,30 @@ namespace INT69DB_2A.Forms
if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f1_OPT1)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT1(this.ParentForm.CollectionWeightData));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT1(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT1(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT1(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f2_OPT2)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT2(this.ParentForm.CollectionWeightData));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT2(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT2(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT2(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f3_OPT3)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT3(this.ParentForm.CollectionWeightData));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT3(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT3(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT3(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.EthernetMode == (int)DataStore.EthernetMode.f5_OPT4)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT4(this.ParentForm.CollectionWeightData));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT4(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT4(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]));
}
switch (this.ParentForm.SystemConfig.EthernetOperationMode)
@ -393,7 +407,7 @@ namespace INT69DB_2A.Forms
{
if (this.comboBoxSerial3Mode.SelectedIndex == 1)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],";
this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]";
@ -406,7 +420,7 @@ namespace INT69DB_2A.Forms
}
else if (this.comboBoxSerial3Mode.SelectedIndex == 2)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],";
this.labelProtocolDescriptionCOM3_2.Text = "{SIGN[1],GAP WEIGHT[6]} * n,ETX[1]";
@ -419,7 +433,7 @@ namespace INT69DB_2A.Forms
}
else if (this.comboBoxSerial3Mode.SelectedIndex == 3)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PassRange[6],";
this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]";
@ -437,7 +451,7 @@ namespace INT69DB_2A.Forms
}
else if (this.comboBoxSerial3Mode.SelectedIndex == 5)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],Under[6],Pass[6],Over[6],";
this.labelProtocolDescriptionCOM3_2.Text = "Tare[6],{GRD[1],WEIGHT[6]} * n,ETX[1]";
@ -466,7 +480,7 @@ namespace INT69DB_2A.Forms
{
if (this.comboBoxMode.SelectedIndex == (int)DataStore.EthernetMode.f1_OPT1)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],";
this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]";
@ -479,7 +493,7 @@ namespace INT69DB_2A.Forms
}
else if (this.comboBoxMode.SelectedIndex == (int)DataStore.EthernetMode.f2_OPT2)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],";
this.labelProtocolDescriptionEthernet_2.Text = "{SIGN[1],GAP WEIGHT[6]} * n,ETX[1]";
@ -492,7 +506,7 @@ namespace INT69DB_2A.Forms
}
else if (this.comboBoxMode.SelectedIndex == (int)DataStore.EthernetMode.f3_OPT3)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PassRange[6],";
this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]";
@ -510,7 +524,7 @@ namespace INT69DB_2A.Forms
}
else if (this.comboBoxMode.SelectedIndex == (int)DataStore.EthernetMode.f5_OPT4)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
{
this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],Under[6],Pass[6],Over[6],";
this.labelProtocolDescriptionEthernet_2.Text = "Tare[6],{GRD[1],WEIGHT[6]} * n,ETX[1]";
@ -804,6 +818,7 @@ namespace INT69DB_2A.Forms
{
if (this.labelServerStatus.Text != ">Start")
this.labelServerStatus.Text = ">Start";
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.EthernetConnect, "Server");
this.labelConnectedIP.Text = "-";
@ -814,6 +829,7 @@ namespace INT69DB_2A.Forms
{
if (this.labelServerStatus.Text != ">Stop")
this.labelServerStatus.Text = ">Stop";
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.EthernetDisconnect, "Server");
}
}
@ -1486,38 +1502,38 @@ namespace INT69DB_2A.Forms
{
if (this.ParentForm.SystemConfig.Serial3Mode == (int)DataStore.SerialMode.f1_OPT1)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT1(this.ParentForm.CollectionWeightData));
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT1(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT1(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT1(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.Serial3Mode == (int)DataStore.SerialMode.f2_OPT2)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT2(this.ParentForm.CollectionWeightData));
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT2(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT2(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT2(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.Serial3Mode == (int)DataStore.SerialMode.f3_OPT3)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT3(this.ParentForm.CollectionWeightData));
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT3(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT3(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT3(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.Serial3Mode == (int)DataStore.SerialMode.f4_Printer)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.Printer(this.ParentForm.CollectionWeightData));
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_Printer(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.Printer(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_Printer(1, this.ParentForm.CollectionWeightData[0]));
}
else if (this.ParentForm.SystemConfig.Serial3Mode == (int)DataStore.SerialMode.f5_OPT4)
{
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT4(this.ParentForm.CollectionWeightData));
if (this.ParentForm.SystemConfig.EquipmentMode == 1 || this.ParentForm.SystemConfig.EquipmentMode == 3)
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT4(this.ParentForm.CollectionWeightData));
else if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.ParentForm.SerialUart3Send(this.ParentForm.OPT4(1, this.ParentForm.CollectionWeightData[0]));
this.ParentForm.UartCom3Write(this.ParentForm.Protocol_OPT4(1, this.ParentForm.CollectionWeightData[0]));
}
}

View File

@ -585,7 +585,7 @@
</value>
</data>
<metadata name="timerServer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>15, 5</value>
</metadata>
<data name="buttonStart.DisableImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@ -2258,6 +2258,6 @@
<value>False</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>42</value>
<value>37</value>
</metadata>
</root>

View File

@ -514,12 +514,13 @@ namespace INT69DB_2A.Forms
before = this.BeforeVariate;
this.ParentForm.CurrentZeroParameterItem.Variate = this.comboBoxZeroParameterVariate.SelectedIndex.ToString();
value = Helper.StringZeroFillDigits4(this.comboBoxZeroParameterVariate.SelectedIndex.ToString());
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress._4003_ZeroVariate, value);
after = this.comboBoxZeroParameterVariate.SelectedItem.ToString();
this.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoardAll, CommunicationAddress._4003_ZeroVariate, value);
if (before != after)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.AutoZeroVariance, "", before, after);
}

View File

@ -49,7 +49,6 @@
this.labelInspectionFileCount = new SmartX.SmartLabel();
this.timerEncryption = new System.Windows.Forms.Timer();
this.timerFileCopy = new System.Windows.Forms.Timer();
this.timerTimeout = new System.Windows.Forms.Timer();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox3.SuspendLayout();
this.smartGroupBox2.SuspendLayout();
@ -416,11 +415,6 @@
//
this.timerFileCopy.Tick += new System.EventHandler(this.timerFileCopy_Tick);
//
// timerTimeout
//
this.timerTimeout.Interval = 10000;
this.timerTimeout.Tick += new System.EventHandler(this.timerTimeout_Tick);
//
// FormDataBackup_Part11
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -468,6 +462,5 @@
private SmartX.SmartLabel labelInspectionFileCount;
private System.Windows.Forms.Timer timerEncryption;
private System.Windows.Forms.Timer timerFileCopy;
private System.Windows.Forms.Timer timerTimeout;
}
}

View File

@ -108,6 +108,10 @@ namespace INT69DB_2A.Forms
break;
case DataStore.E_DataType.Inspection:
dataFolderPath = this.ParentForm.PathDataInspectionFolder;
//if (this.ParentForm.SystemConfig.EquipmentMode == 2)
// dataFolderPath = this.ParentForm.PathDataInspectionStick2Folder;
//else
// dataFolderPath = this.ParentForm.PathDataInspectionStick1Folder;
break;
case DataStore.E_DataType.Others:
dataFolderPath = this.ParentForm.PathDataOthersFolder;
@ -120,6 +124,7 @@ namespace INT69DB_2A.Forms
return;
targetPath = "하드 디스크\\";
listSelectedFile = this.GetSeletedNodeList(view);
#region USB 장착 유무 체크
dir = new DirectoryInfo(targetPath);
@ -131,8 +136,6 @@ namespace INT69DB_2A.Forms
return;
}
#endregion
listSelectedFile = this.GetSeletedNodeList(view);
#region 백업할 파일 유무 체크
if (listSelectedFile.Count == 0)
{
@ -151,19 +154,6 @@ namespace INT69DB_2A.Forms
this.DirectoryFileDelete(this.ParentForm.PathHeaderFolder);
#endregion
#region USB 장착 유무 체크
// USB 장착 유무 체크
dir = new DirectoryInfo(targetPath);
if (dir.Exists == false)
{
// USB메모리가 장착되지 않았습니다
DialogFormMessage msg = new DialogFormMessage(5, this.ParentForm.SystemConfig.Language);
this.SplashFinish();
msg.ShowDialog();
return;
}
#endregion
try
{
#region Header 파일 생성
@ -173,6 +163,7 @@ namespace INT69DB_2A.Forms
header.LoginId = this.ParentForm.SystemConfig.CurrentUser.ID;
header.SerialNumber = this.ParentForm.SystemConfig.SerialNumber;
header.EquipmentColumns = this.ParentForm.SystemConfig.EquipmentColumns;
header.EquipmentType = 103;
for (int i = 0; i < listSelectedFile.Count; i++)
this.CreateHeaderFile(this.ParentForm.PathHeaderFolder, listSelectedFile[i], header);
@ -275,7 +266,7 @@ namespace INT69DB_2A.Forms
}
// 복사 완료 메시지
DialogFormMessage msg = new DialogFormMessage(count.ToString(), this.ParentForm.SystemConfig.Language);
DialogFormMessage msg = new DialogFormMessage((count / 2).ToString(), this.ParentForm.SystemConfig.Language);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.DataBackup, type.ToString());
this.SplashFinish();
msg.ShowDialog();
@ -396,8 +387,8 @@ namespace INT69DB_2A.Forms
{
this.Splash = new SmartX.SmartSplash();
this.Splash.CenterPosition = false;
this.Splash.Left = 462;
this.Splash.Top = 200;
this.Splash.Left = 380;
this.Splash.Top = 280;
this.Splash.AnimationInterval = 200;
this.Splash.LoadingImagePathname = "SmartLoading4";
this.Splash.Start();
@ -743,6 +734,12 @@ namespace INT69DB_2A.Forms
value = header.TimeStamp.ToString("MM/dd/yyyy HH:mm:ss");
IniFile.WriteString(filePath, section, key, value);
Thread.Sleep(5);
// EquipmentType
key = DataStore.E_FileHeaderItem.EquipmentType.ToString();
value = header.EquipmentType.ToString();
IniFile.WriteString(filePath, section, key, value);
Thread.Sleep(5);
}
private void DirectoryFileDelete(string dirPath)
{
@ -826,8 +823,8 @@ namespace INT69DB_2A.Forms
this.UpdateDisplayHistoryFile();
this.UpdateDisplayOtherFile();
this.treeViewInspection.ExpandAll();
this.treeViewHistory.ExpandAll();
//this.treeViewInspection.ExpandAll();
//this.treeViewHistory.ExpandAll();
}
#endregion
@ -884,16 +881,6 @@ namespace INT69DB_2A.Forms
this.timerFileCopy.Enabled = false;
this.FileCopy(this.SelecteDataType);
}
private void timerTimeout_Tick(object sender, EventArgs e)
{
this.timerTimeout.Enabled = false;
//if (this.ParentForm.IsCommunicationLogOpen == true)
// this.ParentForm.smartFileCommunicationLog.WriteString(string.Format("timerTimeout_Tick() ({0:yyyy-MM-dd HH:mm:ss}): timeout false", DateTime.Now));
this.SplashFinish();
DialogFormMessage myMsg = new DialogFormMessage(16, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
#endregion
}
}

View File

@ -1448,13 +1448,13 @@
<metadata name="timerFileCopy.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>157, 17</value>
</metadata>
<metadata name="timerTimeout.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>290, 22</value>
</metadata>
<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>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>51</value>
</metadata>
</root>

View File

@ -23,11 +23,12 @@ namespace INT69DB_2A.Forms
private int m_SelectNodeIndex;
private int FileIndex;
private bool FlagInforUp;
public string SelectFilePath;
private FormMain m_ParentForm;
public DataCommonList CurrentDataCommonList;
private Collection<string[]> CollectionWeightData; //스틱1 파일에서 읽은 데이터
private Collection<string[]> CollectionWeightData; //파일에서 읽은 데이터
private Collection<DataCollector> CollectionLaneData; //파일에서 읽은 데이터를 통계 계산 처리된 데이터
public Collection<List<string>> CollectionFileClassification; // 스틱2 파일 리스트
private Collection<List<string[]>> CollectionWeightDataStick2; // 스틱2 파일에서 읽은 데이터
@ -141,11 +142,11 @@ namespace INT69DB_2A.Forms
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
{
this.labelTitle.Text = "Data Statistics";
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
{
this.labelTitle.Text = "Data Statistics";
}
else
{
@ -183,20 +184,26 @@ namespace INT69DB_2A.Forms
#endregion
#region Label Location
//if (this.ParentForm.SystemConfig.EquipmentColumns == 2)
//if (this.ParentForm.SystemConfig.EquipmentColumns == 1)
// locationX = 80;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 3)
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 2)
// locationX = 70;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 4)
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 3)
// locationX = 60;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 4)
// locationX = 40;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 5)
// locationX = 50;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 6)
// locationX = 40;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 7)
// locationX = 30;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 8)
// locationX = 20;
// locationX = 16;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 7)
// locationX = 16;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 7)
// locationX = 16;
//else if (this.ParentForm.SystemConfig.EquipmentColumns == 7)
// locationX = 16;
//for (int i = 1; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
//{
@ -225,6 +232,7 @@ namespace INT69DB_2A.Forms
this.FileIndex = 0;
this.SelectNodeIndex = -1;
this.FlagInforUp = true;
this.SelectFilePath = "";
this.CurrentDataCommonList = new DataCommonList();
this.CollectionFileClassification = new Collection<List<string>>();
@ -292,10 +300,7 @@ namespace INT69DB_2A.Forms
}
for (int i = 0; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
{
this.CollectionWeightDataStick2.Add(new List<string[]>());
this.CollectionLaneData.Add(new DataCollector());
}
this.InitializeLabels();
}
@ -386,77 +391,6 @@ namespace INT69DB_2A.Forms
this.CurrentDataCommonList.TotalPassAverageWeight = passAverageWeight;
this.CurrentDataCommonList.TotalPassVariance = passVariance;
}
private void SetCommonData(Collection<List<string[]>> datas, Collection<DataCollector> laneDatas)
{
double dValue1 = 0.0, dValue2 = 0.0, passSumWeight = 0.0, overSumWeight = 0.0, underSumWeight = 0.0, passAverageWeight = 0.0, passVariance = 0.0;
string sValue = "";
int underCount = 0, passCount = 0, overCount = 0, exNGCount = 0, index = -1;
for (int i = 0; i < datas.Count; i++)
{
if (datas[i].Count != 0)
{
index = i;
break;
}
}
this.CurrentDataCommonList.ProductName = datas[index][datas[index].Count - 1][3];
this.CurrentDataCommonList.Lot = datas[index][datas[index].Count - 1][4];
this.CurrentDataCommonList.StartTime = string.Format("{0} {1}", datas[index][0][0], datas[index][0][1]);
this.CurrentDataCommonList.EndTime = string.Format("{0} {1}", datas[index][datas[index].Count - 1][0], datas[index][datas[index].Count - 1][1]);
dValue1 = double.Parse(datas[index][datas[index].Count - 1][5]);
sValue = Helper.DoubleToString(dValue1, 1);
this.CurrentDataCommonList.UnderRange = sValue;
dValue1 = double.Parse(datas[index][datas[index].Count - 1][6]);
sValue = Helper.DoubleToString(dValue1, 1);
this.CurrentDataCommonList.PassRange = sValue;
dValue1 = double.Parse(datas[index][datas[index].Count - 1][7]);
sValue = Helper.DoubleToString(dValue1, 1);
this.CurrentDataCommonList.OverRange = sValue;
dValue1 = double.Parse(datas[index][datas[index].Count - 1][8]);
sValue = Helper.DoubleToString(dValue1, 1);
this.CurrentDataCommonList.TareRange = sValue;
for (int i = 0; i < laneDatas.Count; i++)
{
underCount += laneDatas[i].UnderTotalCount;
passCount += laneDatas[i].PassTotalCount;
overCount += laneDatas[i].OverTotalCount;
exNGCount += laneDatas[i].ExNgTotalCount;
passSumWeight += laneDatas[i].PassSumWeight;
overSumWeight += laneDatas[i].OverSumWeight;
underSumWeight += laneDatas[i].UnderSumWeight;
}
// 전체 정량 평균
passAverageWeight = passSumWeight / passCount;
// 전체 정량 분산
for (int i = 0; i < laneDatas.Count; i++)
{
for (int j = 0; j < laneDatas[i].PassWeightData.Count; j++)
{
dValue1 = passAverageWeight - laneDatas[i].PassWeightData[j];
dValue2 += dValue1 * dValue1;
}
}
passVariance = dValue2 / passCount;
this.CurrentDataCommonList.TotalUnderCount = underCount;
this.CurrentDataCommonList.TotalPassCount = passCount;
this.CurrentDataCommonList.TotalOverCount = overCount;
this.CurrentDataCommonList.TotalExNgCount = exNGCount;
this.CurrentDataCommonList.TotalPassSumWeight = passSumWeight;
this.CurrentDataCommonList.TotalOverSumWeight = overSumWeight;
this.CurrentDataCommonList.TotalUnderSumWeight = underSumWeight;
this.CurrentDataCommonList.TotalPassAverageWeight = passAverageWeight;
this.CurrentDataCommonList.TotalPassVariance = passVariance;
}
private void SetData(DataCollector data, string weight, DataStore.JudgmentStatus grade)
{
if (grade == DataStore.JudgmentStatus.Pass)
@ -548,21 +482,7 @@ namespace INT69DB_2A.Forms
}
private void DataAnalysis()
{
if (this.ParentForm.SystemConfig.EquipmentMode == 2)
{
#region Stick 2
for (int i = 0; i < this.CollectionWeightDataStick2.Count; i++)
{
for (int j = 0; j < this.CollectionWeightDataStick2[i].Count; j++)
{
this.SetData(this.CollectionLaneData[i], this.CollectionWeightDataStick2[i][j][9], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightDataStick2[i][j][10]));
}
}
#endregion
}
else
{
#region Stick 1,3
#region Set Data
if (this.ParentForm.SystemConfig.EquipmentColumns == 2)
{
for (int i = 0; i < this.CollectionWeightData.Count; i++)
@ -640,7 +560,7 @@ namespace INT69DB_2A.Forms
this.SetData(this.CollectionLaneData[7], this.CollectionWeightData[i][23], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][24]));
}
}
else
else if (this.ParentForm.SystemConfig.EquipmentColumns == 10)
{
for (int i = 0; i < this.CollectionWeightData.Count; i++)
{
@ -656,29 +576,42 @@ namespace INT69DB_2A.Forms
this.SetData(this.CollectionLaneData[9], this.CollectionWeightData[i][27], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][28]));
}
}
#endregion
else
{
for (int i = 0; i < this.CollectionWeightData.Count; i++)
{
this.SetData(this.CollectionLaneData[0], this.CollectionWeightData[i][9], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][10]));
this.SetData(this.CollectionLaneData[1], this.CollectionWeightData[i][11], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][12]));
this.SetData(this.CollectionLaneData[2], this.CollectionWeightData[i][13], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][14]));
this.SetData(this.CollectionLaneData[3], this.CollectionWeightData[i][15], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][16]));
this.SetData(this.CollectionLaneData[4], this.CollectionWeightData[i][17], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][18]));
this.SetData(this.CollectionLaneData[5], this.CollectionWeightData[i][19], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][20]));
this.SetData(this.CollectionLaneData[6], this.CollectionWeightData[i][21], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][22]));
this.SetData(this.CollectionLaneData[7], this.CollectionWeightData[i][23], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][24]));
this.SetData(this.CollectionLaneData[8], this.CollectionWeightData[i][25], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][26]));
this.SetData(this.CollectionLaneData[9], this.CollectionWeightData[i][27], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][28]));
this.SetData(this.CollectionLaneData[10], this.CollectionWeightData[i][29], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][30]));
this.SetData(this.CollectionLaneData[11], this.CollectionWeightData[i][31], Helper.StringToJudgmentStatusStatistics(this.CollectionWeightData[i][32]));
}
}
#endregion
for (int i = 0; i < this.CollectionLaneData.Count; i++)
this.CollectionLaneData[i].StatisticalAnalysis();
if (this.ParentForm.SystemConfig.EquipmentMode == 2)
this.SetCommonData(this.CollectionWeightDataStick2, this.CollectionLaneData);
else
this.SetCommonData(this.CollectionWeightData, this.CollectionLaneData);
this.UpdateDisplay(this.CurrentDataCommonList, this.CollectionLaneData);
}
public int DataRead1()
public int DataRead()
{
string path = "";
int ret = 0, flag = 0;
long count = 0;
SmartX.SmartSplash splash;
if (this.SelectFilePath == "")
return ret = -1;
splash = new SmartX.SmartSplash();
SmartSplash splash = new SmartSplash();
splash.CenterPosition = true;
splash.AnimationInterval = 100;
splash.LoadingImagePathname = "SmartLoading4";
@ -686,9 +619,7 @@ namespace INT69DB_2A.Forms
this.CollectionWeightData.Clear();
path = string.Format("{0}{1}", this.ParentForm.PathDataBackupFolder, this.CollectionFileClassification[this.SelectNodeIndex][0]);
this.ParentForm.smartFileIO.FilePathName = path;
this.ParentForm.smartFileIO.FilePathName = this.SelectFilePath;
this.ParentForm.smartFileIO.Open(2000000);
this.ParentForm.smartFileIO.ReadStringAllBuffer();
@ -725,57 +656,6 @@ namespace INT69DB_2A.Forms
return ret;
}
public int DataRead2()
{
string path = "", lane = "";
int ret = 0, index = 0;
List<string[]> lt;
SmartX.SmartSplash splash;
splash = new SmartX.SmartSplash();
splash.CenterPosition = true;
splash.AnimationInterval = 100;
splash.LoadingImagePathname = "SmartLoading4";
splash.Start();
lt = new List<string[]>();
// 열별로 삭제
for (int i = 0; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
this.CollectionWeightDataStick2[i].Clear();
try
{
for (int i = 0; i < this.CollectionFileClassification[this.SelectNodeIndex].Count; i++)
{
lt.Clear();
if (this.CollectionFileClassification[this.SelectNodeIndex][i].Length == 22)
lane = this.CollectionFileClassification[this.SelectNodeIndex][i].Substring(13, 1);
else
lane = this.CollectionFileClassification[this.SelectNodeIndex][i].Substring(13, 2);
index = int.Parse(lane);
path = string.Format("{0}{1}", this.ParentForm.PathDataBackupFolder, this.CollectionFileClassification[this.SelectNodeIndex][i]);
this.LoadDataBackupFile(ref this.CollectionWeightDataStick2, path, index - 1);
}
this.DataAnalysis();
splash.Finish();
ret = 0;
}
catch
{
ret = -1;
splash.Finish();
DialogFormMessage msg = new DialogFormMessage(13, this.ParentForm.SystemConfig.Language);
msg.ShowDialog();
this.ParentForm.smartFileIO.Close();
}
return ret;
}
public void ClearData()
{
this.InitializeLabels();
@ -783,16 +663,15 @@ namespace INT69DB_2A.Forms
for (int i = 0; i < this.CollectionLaneData.Count; i++)
this.CollectionLaneData[i].ClearDatas();
}
private void FileBackup(DataCommonList commonList, Collection<DataCollector> datas)
private void FileBackup1(string path, DateTime time, DataCommonList commonList, Collection<DataCollector> datas)
{
bool fileCheck = false;
string fullFilePath = "";
StreamWriter sw;
fullFilePath = string.Format("{0}{1:yyyyMMdd-HHmmss}_{2}_CheckList.csv",
this.ParentForm.PathDataStatisticsFolder, DateTime.Now, this.ParentForm.SystemConfig.UsbID);
fullFilePath = string.Format("{0}S{1:yyyyMMdd-HHmmss}.csv", path, time);
this.ParentForm.smartFileIO.FilePathName = fullFilePath;
sw = new StreamWriter(fullFilePath, true, Encoding.Default);
sw = new StreamWriter(fullFilePath, true, Encoding.UTF8);
FileInfo fileInfo = new FileInfo(fullFilePath);
fileCheck = fileInfo.Exists;
@ -986,6 +865,169 @@ namespace INT69DB_2A.Forms
sw.Close();
}
private void FileBackup2(string path, DateTime time, DataCommonList commonList, Collection<DataCollector> datas)
{
bool fileCheck = false;
string fullFilePath = "";
StreamWriter sw;
fullFilePath = string.Format("{0}S{1:yyyyMMdd-HHmmss}.csv", path, time);
this.ParentForm.smartFileIO.FilePathName = fullFilePath;
sw = new StreamWriter(fullFilePath, true, Encoding.UTF8);
FileInfo fileInfo = new FileInfo(fullFilePath);
fileCheck = fileInfo.Exists;
// 같은 파일이 있으면 초기화
if (fileCheck == true)
{
this.ParentForm.smartFileIO.Open(this.ParentForm.BufferSmartUart);
for (int i = 0; i < 40; i++)
{
this.ParentForm.smartFileIO.WriteString("");
}
this.ParentForm.smartFileIO.Close();
}
for (int i = 0; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
{
#region 데이터 출력
// Lane Number
sw.Write("{0}", i + 1);
sw.Write(",");
// ProductName
sw.Write(commonList.ProductName);
sw.Write(",");
// Lot
sw.Write(commonList.Lot);
sw.Write(",");
// StartTime
sw.Write(commonList.StartTime);
sw.Write(",");
// EndTime
sw.Write(commonList.EndTime);
sw.Write(",");
// UnderRange
sw.Write(commonList.UnderRange);
sw.Write(",");
// PassRange
sw.Write(commonList.PassRange);
sw.Write(",");
// OverRange
sw.Write(commonList.OverRange);
sw.Write(",");
// TareRange
sw.Write(commonList.TareRange);
sw.Write(",");
// TotalCount
sw.Write(commonList.TotalCount);
sw.Write(",");
// TotalNGCount
sw.Write(commonList.TotalNGCount);
sw.Write(",");
// TotalPassCount
sw.Write(commonList.TotalPassCount);
sw.Write(",");
// TotalPassPercentage
sw.Write(commonList.TotalPassPercentage);
sw.Write(",");
// TotalPassAverage
sw.Write(string.Format("{0:0.000}", commonList.TotalPassAverageWeight));
sw.Write(",");
// TotalPassSD
sw.Write(string.Format("{0:0.00}", commonList.TotalPassStandardDeviation));
sw.Write(",");
// TotalUnderCount
sw.Write(commonList.TotalUnderCount);
sw.Write(",");
// TotalUnderPercentage
sw.Write(commonList.TotalUnderPercentage);
sw.Write(",");
// TotalUnderSumWeight
sw.Write(string.Format("{0:0.0000}", commonList.TotalUnderSumWeight / 1000));
sw.Write(",");
// TotalOverCount
sw.Write(commonList.TotalOverCount);
sw.Write(",");
// TotalOverPercentage
sw.Write(commonList.TotalOverPercentage);
sw.Write(",");
// TotalOverSumWeight
sw.Write(string.Format("{0:0.0000}", commonList.TotalOverSumWeight / 1000));
sw.Write(",");
// TotalExNgCount
sw.Write(commonList.TotalExNgCount);
sw.Write(",");
// TotalExNgPercentage
sw.Write(commonList.TotalExNgPercentage);
sw.Write(",");
// Lane PassCount
sw.Write(datas[i].PassTotalCount);
sw.Write(",");
// Lane PassAverage
sw.Write(string.Format("{0:0.000}", datas[i].PassAverage));
sw.Write(",");
// Lane PassPercentage
sw.Write(datas[i].PassPercentage);
sw.Write(",");
// Lane PassSD
sw.Write(string.Format("{0:0.00}", datas[i].PassStandardDeviation));
sw.Write(",");
// Lane PassMinWeight
sw.Write(Helper.DoubleToString(datas[i].PassMinWeight, 1));
sw.Write(",");
// Lane PassMaxWeight
sw.Write(Helper.DoubleToString(datas[i].PassMaxWeight, 1));
sw.Write(",");
// Lane OverCount
sw.Write(datas[i].OverTotalCount);
sw.Write(",");
// Lane OverSumWeight
sw.Write(Helper.DoubleToString(datas[i].OverSumWeight / 1000, 3));
sw.Write(",");
// Lane OverPercentage
sw.Write(datas[i].OverPercentage);
sw.Write(",");
// Lane UnderCount
sw.Write(datas[i].UnderTotalCount);
sw.Write(",");
// Lane UnderSumWeight
sw.Write(Helper.DoubleToString(datas[i].UnderSumWeight / 1000, 3));
sw.Write(",");
// Lane UnderPercentage
sw.Write(datas[i].UnderPercentage);
sw.Write(",");
// Lane ExNgCount
sw.Write(datas[i].ExNgTotalCount);
sw.Write(",");
// Lane ExNgPercentage
sw.Write(datas[i].ExNgPercentage);
sw.Write(",");
// Lane TotalCount
sw.Write(datas[i].TotalCount);
sw.Write(",");
// Lane TotalNgCount
sw.Write(datas[i].TotalNGCount);
sw.WriteLine();
#endregion
}
sw.Close();
}
private bool CheckUSBMemory()
{
bool ret = false;
@ -1026,47 +1068,23 @@ namespace INT69DB_2A.Forms
}
}
public void DisplayRefresh()
private void CreateScreenCapture(string path, DateTime time)
{
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormDataStatistics;
string filePath = "";
Bitmap bitMap = new Bitmap(800, 600);
this.ClearData();
this.buttonSave.Enabled = false;
bitMap = IntechGraphics.CopyFromScreen();
filePath = string.Format("{0}S{1:yyyyMMdd-HHmmss}.jpg", path, time);
this.FlagInforUp = true;
this.smartGroupBox1.BringToFront();
bitMap.Save(filePath, ImageFormat.Jpeg);
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
private int Backup1()
{
base.OnLoad(e);
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{
this.ParentForm.ChildFormMenu.DisplayRefresh();
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormMenu);
}
private void buttonFileSelect_Click(object sender, EventArgs e)
{
this.SelectNodeIndex = -1;
DialogFormDataStatistics form = new DialogFormDataStatistics(this);
if (form.ShowDialog() == DialogResult.OK)
this.buttonSave.Enabled = true;
else
this.buttonSave.Enabled = false;
}
private void buttonSave_Click(object sender, EventArgs e)
{
this.buttonSave.Enabled = false;
int ret = 0;
string filePath = "";
bool directoryCheck = false;
DateTime time = DateTime.Now;
// 메모리 장착 체크
if (this.CheckUSBMemory() == false)
@ -1075,11 +1093,15 @@ namespace INT69DB_2A.Forms
msg.ShowDialog();
this.buttonSave.Enabled = true;
return;
ret = -1;
return ret;
}
#region 통계 데이터 생성
this.FileBackup(this.CurrentDataCommonList, this.CollectionLaneData);
// ScreenCapture
this.CreateScreenCapture(this.ParentForm.PathDataStatisticsFolder, time);
// csv File
this.FileBackup1(this.ParentForm.PathDataStatisticsFolder, time, this.CurrentDataCommonList, this.CollectionLaneData);
#endregion
#region 메모리로 파일 복사
@ -1107,10 +1129,71 @@ namespace INT69DB_2A.Forms
{
DialogFormMessage msg = new DialogFormMessage(6, this.ParentForm.SystemConfig.Language);
msg.ShowDialog();
return;
ret = -1;
return ret;
}
#endregion
return ret;
}
private int Backup2()
{
int ret = 0;
DateTime time = DateTime.Now;
// csv File
this.FileBackup2(this.ParentForm.PathDataBackupFolder, time, this.CurrentDataCommonList, this.CollectionLaneData);
return ret;
}
public void DisplayRefresh()
{
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormDataStatistics;
this.ClearData();
this.buttonSave.Enabled = false;
this.FlagInforUp = true;
this.smartGroupBox1.BringToFront();
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
}
#endregion
#region Event Handler
private void buttonBack_Click(object sender, EventArgs e)
{
this.ParentForm.ChildFormMenu.DisplayRefresh();
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormMenu);
}
private void buttonFileSelect_Click(object sender, EventArgs e)
{
this.SelectFilePath = "";
DialogFormDataStatistics form = new DialogFormDataStatistics(this);
if (form.ShowDialog() == DialogResult.OK)
this.buttonSave.Enabled = true;
else
this.buttonSave.Enabled = false;
}
private void buttonSave_Click(object sender, EventArgs e)
{
if (this.SelectFilePath == "")
return;
this.buttonSave.Enabled = false;
if (this.ParentForm.SystemConfig.IsPart11 == false)
this.Backup1();
else
this.Backup2();
this.buttonSave.Enabled = true;
}
private void buttonDisplay_Click(object sender, EventArgs e)

View File

@ -34,6 +34,9 @@
this.labelTitle = new SmartX.SmartLabel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel();
this.labelCurrentIndex = new SmartX.SmartLabel();
this.smartSeparatorLine1 = new SmartX.SmartSeparatorLine();
this.labelTotalIndex = new SmartX.SmartLabel();
this.listBoxEvent = new SmartX.SmartListBox();
this.labelItemCount = new SmartX.SmartLabel();
this.listBoxType = new SmartX.SmartListBox();
@ -110,6 +113,9 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
this.panel1.Controls.Add(this.labelCurrentIndex);
this.panel1.Controls.Add(this.smartSeparatorLine1);
this.panel1.Controls.Add(this.labelTotalIndex);
this.panel1.Controls.Add(this.listBoxEvent);
this.panel1.Controls.Add(this.labelItemCount);
this.panel1.Controls.Add(this.listBoxType);
@ -131,6 +137,62 @@
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(800, 451);
//
// labelCurrentIndex
//
this.labelCurrentIndex.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(150)))), ((int)(((byte)(151)))));
this.labelCurrentIndex.BackPictureBox = this.smartForm1;
this.labelCurrentIndex.BackPictureBox1 = null;
this.labelCurrentIndex.BackPictureBox2 = null;
this.labelCurrentIndex.BorderColor = System.Drawing.Color.Black;
this.labelCurrentIndex.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelCurrentIndex.InitVisible = true;
this.labelCurrentIndex.LineSpacing = 0F;
this.labelCurrentIndex.Location = new System.Drawing.Point(725, 225);
this.labelCurrentIndex.Name = "labelCurrentIndex";
this.labelCurrentIndex.Size = new System.Drawing.Size(70, 15);
this.labelCurrentIndex.TabIndex = 242;
this.labelCurrentIndex.Text = "0";
this.labelCurrentIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelCurrentIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCurrentIndex.Visible = false;
this.labelCurrentIndex.Wordwrap = false;
//
// smartSeparatorLine1
//
this.smartSeparatorLine1.InitVisible = true;
this.smartSeparatorLine1.Line1Color = System.Drawing.Color.DimGray;
this.smartSeparatorLine1.Line1Width = 1F;
this.smartSeparatorLine1.Line2Color = System.Drawing.Color.LightGray;
this.smartSeparatorLine1.Line2Visible = true;
this.smartSeparatorLine1.Line2Width = 1F;
this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
this.smartSeparatorLine1.Location = new System.Drawing.Point(725, 246);
this.smartSeparatorLine1.Name = "smartSeparatorLine1";
this.smartSeparatorLine1.Size = new System.Drawing.Size(70, 2);
this.smartSeparatorLine1.TabIndex = 241;
this.smartSeparatorLine1.Text = "smartSeparatorLine1";
this.smartSeparatorLine1.Visible = false;
//
// labelTotalIndex
//
this.labelTotalIndex.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(150)))), ((int)(((byte)(151)))));
this.labelTotalIndex.BackPictureBox = this.smartForm1;
this.labelTotalIndex.BackPictureBox1 = null;
this.labelTotalIndex.BackPictureBox2 = null;
this.labelTotalIndex.BorderColor = System.Drawing.Color.Black;
this.labelTotalIndex.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTotalIndex.InitVisible = true;
this.labelTotalIndex.LineSpacing = 0F;
this.labelTotalIndex.Location = new System.Drawing.Point(726, 254);
this.labelTotalIndex.Name = "labelTotalIndex";
this.labelTotalIndex.Size = new System.Drawing.Size(70, 15);
this.labelTotalIndex.TabIndex = 240;
this.labelTotalIndex.Text = "0";
this.labelTotalIndex.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTotalIndex.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTotalIndex.Visible = false;
this.labelTotalIndex.Wordwrap = false;
//
// listBoxEvent
//
this.listBoxEvent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
@ -140,13 +202,14 @@
this.listBoxEvent.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxEvent.ColumnDelimiter = '\0';
this.listBoxEvent.ColumnOffsets = null;
this.listBoxEvent.Enabled = false;
this.listBoxEvent.FontColor = System.Drawing.Color.Black;
this.listBoxEvent.InitVisible = true;
this.listBoxEvent.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxEvent.ItemOffsetGap = 5;
this.listBoxEvent.ItemOffsetX = 5;
this.listBoxEvent.ItemOffsetY = 0;
this.listBoxEvent.Location = new System.Drawing.Point(165, 39);
this.listBoxEvent.Location = new System.Drawing.Point(160, 45);
this.listBoxEvent.MouseMoveEventSpace = 3;
this.listBoxEvent.MouseMoveSpace = 10;
this.listBoxEvent.Name = "listBoxEvent";
@ -155,12 +218,12 @@
this.listBoxEvent.SelectFilled = true;
this.listBoxEvent.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxEvent.SelectItemIndex = -1;
this.listBoxEvent.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxEvent.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxEvent.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxEvent.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxEvent.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxEvent.SeparationlineVisibleBottom = false;
this.listBoxEvent.SeparationlineVisibleTop = false;
this.listBoxEvent.Size = new System.Drawing.Size(135, 408);
this.listBoxEvent.Size = new System.Drawing.Size(135, 398);
this.listBoxEvent.TabIndex = 28;
this.listBoxEvent.Text = "smartListBox1";
this.listBoxEvent.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -175,13 +238,14 @@
this.labelItemCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelItemCount.InitVisible = true;
this.labelItemCount.LineSpacing = 0F;
this.labelItemCount.Location = new System.Drawing.Point(726, 229);
this.labelItemCount.Location = new System.Drawing.Point(725, 7);
this.labelItemCount.Name = "labelItemCount";
this.labelItemCount.Size = new System.Drawing.Size(70, 30);
this.labelItemCount.TabIndex = 38;
this.labelItemCount.Text = "0 / 0 ";
this.labelItemCount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelItemCount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelItemCount.Visible = false;
this.labelItemCount.Wordwrap = false;
//
// listBoxType
@ -193,13 +257,14 @@
this.listBoxType.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxType.ColumnDelimiter = '\0';
this.listBoxType.ColumnOffsets = null;
this.listBoxType.Enabled = false;
this.listBoxType.FontColor = System.Drawing.Color.Black;
this.listBoxType.InitVisible = true;
this.listBoxType.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxType.ItemOffsetGap = 5;
this.listBoxType.ItemOffsetX = 5;
this.listBoxType.ItemOffsetY = 0;
this.listBoxType.Location = new System.Drawing.Point(645, 39);
this.listBoxType.Location = new System.Drawing.Point(645, 45);
this.listBoxType.MouseMoveEventSpace = 3;
this.listBoxType.MouseMoveSpace = 10;
this.listBoxType.Name = "listBoxType";
@ -208,12 +273,12 @@
this.listBoxType.SelectFilled = true;
this.listBoxType.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxType.SelectItemIndex = -1;
this.listBoxType.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxType.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxType.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxType.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxType.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxType.SeparationlineVisibleBottom = false;
this.listBoxType.SeparationlineVisibleTop = false;
this.listBoxType.Size = new System.Drawing.Size(75, 408);
this.listBoxType.Size = new System.Drawing.Size(75, 398);
this.listBoxType.TabIndex = 28;
this.listBoxType.Text = "smartListBox1";
this.listBoxType.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -227,13 +292,14 @@
this.listBoxAfter.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxAfter.ColumnDelimiter = '\0';
this.listBoxAfter.ColumnOffsets = null;
this.listBoxAfter.Enabled = false;
this.listBoxAfter.FontColor = System.Drawing.Color.Black;
this.listBoxAfter.InitVisible = true;
this.listBoxAfter.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxAfter.ItemOffsetGap = 5;
this.listBoxAfter.ItemOffsetX = 5;
this.listBoxAfter.ItemOffsetY = 0;
this.listBoxAfter.Location = new System.Drawing.Point(564, 39);
this.listBoxAfter.Location = new System.Drawing.Point(551, 45);
this.listBoxAfter.MouseMoveEventSpace = 3;
this.listBoxAfter.MouseMoveSpace = 10;
this.listBoxAfter.Name = "listBoxAfter";
@ -242,12 +308,12 @@
this.listBoxAfter.SelectFilled = true;
this.listBoxAfter.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxAfter.SelectItemIndex = -1;
this.listBoxAfter.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxAfter.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxAfter.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxAfter.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxAfter.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxAfter.SeparationlineVisibleBottom = false;
this.listBoxAfter.SeparationlineVisibleTop = false;
this.listBoxAfter.Size = new System.Drawing.Size(75, 408);
this.listBoxAfter.Size = new System.Drawing.Size(88, 398);
this.listBoxAfter.TabIndex = 28;
this.listBoxAfter.Text = "smartListBox1";
this.listBoxAfter.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -261,13 +327,14 @@
this.listBoxBefore.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxBefore.ColumnDelimiter = '\0';
this.listBoxBefore.ColumnOffsets = null;
this.listBoxBefore.Enabled = false;
this.listBoxBefore.FontColor = System.Drawing.Color.Black;
this.listBoxBefore.InitVisible = true;
this.listBoxBefore.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxBefore.ItemOffsetGap = 5;
this.listBoxBefore.ItemOffsetX = 5;
this.listBoxBefore.ItemOffsetY = 0;
this.listBoxBefore.Location = new System.Drawing.Point(483, 39);
this.listBoxBefore.Location = new System.Drawing.Point(457, 45);
this.listBoxBefore.MouseMoveEventSpace = 3;
this.listBoxBefore.MouseMoveSpace = 10;
this.listBoxBefore.Name = "listBoxBefore";
@ -276,12 +343,12 @@
this.listBoxBefore.SelectFilled = true;
this.listBoxBefore.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxBefore.SelectItemIndex = -1;
this.listBoxBefore.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxBefore.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxBefore.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxBefore.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxBefore.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxBefore.SeparationlineVisibleBottom = false;
this.listBoxBefore.SeparationlineVisibleTop = false;
this.listBoxBefore.Size = new System.Drawing.Size(75, 408);
this.listBoxBefore.Size = new System.Drawing.Size(88, 398);
this.listBoxBefore.TabIndex = 28;
this.listBoxBefore.Text = "smartListBox1";
this.listBoxBefore.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -295,13 +362,14 @@
this.listBoxDetail.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxDetail.ColumnDelimiter = '\0';
this.listBoxDetail.ColumnOffsets = null;
this.listBoxDetail.Enabled = false;
this.listBoxDetail.FontColor = System.Drawing.Color.Black;
this.listBoxDetail.InitVisible = true;
this.listBoxDetail.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxDetail.ItemOffsetGap = 5;
this.listBoxDetail.ItemOffsetX = 5;
this.listBoxDetail.ItemOffsetY = 0;
this.listBoxDetail.Location = new System.Drawing.Point(306, 39);
this.listBoxDetail.Location = new System.Drawing.Point(301, 45);
this.listBoxDetail.MouseMoveEventSpace = 3;
this.listBoxDetail.MouseMoveSpace = 10;
this.listBoxDetail.Name = "listBoxDetail";
@ -310,12 +378,12 @@
this.listBoxDetail.SelectFilled = true;
this.listBoxDetail.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxDetail.SelectItemIndex = -1;
this.listBoxDetail.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxDetail.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxDetail.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxDetail.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxDetail.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxDetail.SeparationlineVisibleBottom = false;
this.listBoxDetail.SeparationlineVisibleTop = false;
this.listBoxDetail.Size = new System.Drawing.Size(171, 408);
this.listBoxDetail.Size = new System.Drawing.Size(150, 398);
this.listBoxDetail.TabIndex = 28;
this.listBoxDetail.Text = "smartListBox1";
this.listBoxDetail.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -329,13 +397,14 @@
this.listBoxLoginID.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxLoginID.ColumnDelimiter = '\0';
this.listBoxLoginID.ColumnOffsets = null;
this.listBoxLoginID.Enabled = false;
this.listBoxLoginID.FontColor = System.Drawing.Color.Black;
this.listBoxLoginID.InitVisible = true;
this.listBoxLoginID.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxLoginID.ItemOffsetGap = 5;
this.listBoxLoginID.ItemOffsetX = 5;
this.listBoxLoginID.ItemOffsetY = 0;
this.listBoxLoginID.Location = new System.Drawing.Point(79, 39);
this.listBoxLoginID.Location = new System.Drawing.Point(74, 45);
this.listBoxLoginID.MouseMoveEventSpace = 3;
this.listBoxLoginID.MouseMoveSpace = 10;
this.listBoxLoginID.Name = "listBoxLoginID";
@ -344,12 +413,12 @@
this.listBoxLoginID.SelectFilled = true;
this.listBoxLoginID.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxLoginID.SelectItemIndex = -1;
this.listBoxLoginID.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxLoginID.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxLoginID.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxLoginID.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxLoginID.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxLoginID.SeparationlineVisibleBottom = false;
this.listBoxLoginID.SeparationlineVisibleTop = false;
this.listBoxLoginID.Size = new System.Drawing.Size(80, 408);
this.listBoxLoginID.Size = new System.Drawing.Size(80, 398);
this.listBoxLoginID.TabIndex = 28;
this.listBoxLoginID.Text = "smartListBox1";
this.listBoxLoginID.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -363,13 +432,14 @@
this.listBoxTime.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxTime.ColumnDelimiter = '\0';
this.listBoxTime.ColumnOffsets = null;
this.listBoxTime.Enabled = false;
this.listBoxTime.FontColor = System.Drawing.Color.Black;
this.listBoxTime.InitVisible = true;
this.listBoxTime.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxTime.ItemOffsetGap = 5;
this.listBoxTime.ItemOffsetX = 5;
this.listBoxTime.ItemOffsetY = 0;
this.listBoxTime.Location = new System.Drawing.Point(3, 39);
this.listBoxTime.Location = new System.Drawing.Point(3, 45);
this.listBoxTime.MouseMoveEventSpace = 3;
this.listBoxTime.MouseMoveSpace = 10;
this.listBoxTime.Name = "listBoxTime";
@ -378,12 +448,12 @@
this.listBoxTime.SelectFilled = true;
this.listBoxTime.SelectFontColor = System.Drawing.Color.DarkBlue;
this.listBoxTime.SelectItemIndex = -1;
this.listBoxTime.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxTime.SeparationlineColor1 = System.Drawing.Color.Silver;
this.listBoxTime.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxTime.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxTime.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle;
this.listBoxTime.SeparationlineVisibleBottom = false;
this.listBoxTime.SeparationlineVisibleTop = false;
this.listBoxTime.Size = new System.Drawing.Size(70, 408);
this.listBoxTime.Size = new System.Drawing.Size(65, 398);
this.listBoxTime.TabIndex = 28;
this.listBoxTime.Text = "smartListBox1";
this.listBoxTime.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged);
@ -401,7 +471,7 @@
this.buttonDown.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.buttonDown.GroupID = 0;
this.buttonDown.InitVisible = true;
this.buttonDown.Location = new System.Drawing.Point(725, 297);
this.buttonDown.Location = new System.Drawing.Point(725, 273);
this.buttonDown.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonDown.Name = "buttonDown";
this.buttonDown.NestedClickEventPrevent = false;
@ -409,7 +479,7 @@
this.buttonDown.RepeatInterval = 200;
this.buttonDown.RepeatIntervalAccelerate = null;
this.buttonDown.SafeInterval = 200;
this.buttonDown.Size = new System.Drawing.Size(70, 150);
this.buttonDown.Size = new System.Drawing.Size(70, 170);
this.buttonDown.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonDown.TabIndex = 30;
this.buttonDown.Text = "▼";
@ -434,7 +504,7 @@
this.buttonUp.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.buttonUp.GroupID = 0;
this.buttonUp.InitVisible = true;
this.buttonUp.Location = new System.Drawing.Point(725, 39);
this.buttonUp.Location = new System.Drawing.Point(725, 43);
this.buttonUp.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonUp.Name = "buttonUp";
this.buttonUp.NestedClickEventPrevent = false;
@ -442,7 +512,7 @@
this.buttonUp.RepeatInterval = 200;
this.buttonUp.RepeatIntervalAccelerate = null;
this.buttonUp.SafeInterval = 200;
this.buttonUp.Size = new System.Drawing.Size(70, 150);
this.buttonUp.Size = new System.Drawing.Size(70, 170);
this.buttonUp.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonUp.TabIndex = 29;
this.buttonUp.Text = "▲";
@ -465,7 +535,7 @@
this.smartLabel8.ForeColor = System.Drawing.Color.White;
this.smartLabel8.InitVisible = true;
this.smartLabel8.LineSpacing = 0F;
this.smartLabel8.Location = new System.Drawing.Point(645, 3);
this.smartLabel8.Location = new System.Drawing.Point(645, 9);
this.smartLabel8.Name = "smartLabel8";
this.smartLabel8.Size = new System.Drawing.Size(75, 30);
this.smartLabel8.TabIndex = 28;
@ -485,9 +555,9 @@
this.smartLabel7.ForeColor = System.Drawing.Color.White;
this.smartLabel7.InitVisible = true;
this.smartLabel7.LineSpacing = 0F;
this.smartLabel7.Location = new System.Drawing.Point(564, 3);
this.smartLabel7.Location = new System.Drawing.Point(551, 9);
this.smartLabel7.Name = "smartLabel7";
this.smartLabel7.Size = new System.Drawing.Size(75, 30);
this.smartLabel7.Size = new System.Drawing.Size(88, 30);
this.smartLabel7.TabIndex = 28;
this.smartLabel7.Text = "After";
this.smartLabel7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -505,9 +575,9 @@
this.smartLabel6.ForeColor = System.Drawing.Color.White;
this.smartLabel6.InitVisible = true;
this.smartLabel6.LineSpacing = 0F;
this.smartLabel6.Location = new System.Drawing.Point(483, 3);
this.smartLabel6.Location = new System.Drawing.Point(457, 9);
this.smartLabel6.Name = "smartLabel6";
this.smartLabel6.Size = new System.Drawing.Size(75, 30);
this.smartLabel6.Size = new System.Drawing.Size(88, 30);
this.smartLabel6.TabIndex = 28;
this.smartLabel6.Text = "Before";
this.smartLabel6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -525,9 +595,9 @@
this.smartLabel5.ForeColor = System.Drawing.Color.White;
this.smartLabel5.InitVisible = true;
this.smartLabel5.LineSpacing = 0F;
this.smartLabel5.Location = new System.Drawing.Point(306, 3);
this.smartLabel5.Location = new System.Drawing.Point(301, 9);
this.smartLabel5.Name = "smartLabel5";
this.smartLabel5.Size = new System.Drawing.Size(171, 30);
this.smartLabel5.Size = new System.Drawing.Size(150, 30);
this.smartLabel5.TabIndex = 28;
this.smartLabel5.Text = "Detail";
this.smartLabel5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -545,7 +615,7 @@
this.smartLabel4.ForeColor = System.Drawing.Color.White;
this.smartLabel4.InitVisible = true;
this.smartLabel4.LineSpacing = 0F;
this.smartLabel4.Location = new System.Drawing.Point(165, 3);
this.smartLabel4.Location = new System.Drawing.Point(160, 9);
this.smartLabel4.Name = "smartLabel4";
this.smartLabel4.Size = new System.Drawing.Size(135, 30);
this.smartLabel4.TabIndex = 28;
@ -565,7 +635,7 @@
this.smartLabel3.ForeColor = System.Drawing.Color.White;
this.smartLabel3.InitVisible = true;
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(79, 3);
this.smartLabel3.Location = new System.Drawing.Point(74, 9);
this.smartLabel3.Name = "smartLabel3";
this.smartLabel3.Size = new System.Drawing.Size(80, 30);
this.smartLabel3.TabIndex = 28;
@ -585,9 +655,9 @@
this.smartLabel2.ForeColor = System.Drawing.Color.White;
this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(3, 3);
this.smartLabel2.Location = new System.Drawing.Point(3, 9);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.Size = new System.Drawing.Size(70, 30);
this.smartLabel2.Size = new System.Drawing.Size(65, 30);
this.smartLabel2.TabIndex = 28;
this.smartLabel2.Text = "Time";
this.smartLabel2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -654,6 +724,7 @@
this.buttonFilter.TextLocation = new System.Drawing.Point(0, 0);
this.buttonFilter.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonFilter.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonFilter.UpImage")));
this.buttonFilter.Visible = false;
this.buttonFilter.Click += new System.EventHandler(this.buttonFilter_Click);
//
// buttonBack
@ -694,13 +765,13 @@
this.labelFileName.BackPictureBox2 = null;
this.labelFileName.BorderColor = System.Drawing.Color.Black;
this.labelFileName.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelFileName.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelFileName.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.labelFileName.ForeColor = System.Drawing.Color.White;
this.labelFileName.InitVisible = true;
this.labelFileName.LineSpacing = 0F;
this.labelFileName.Location = new System.Drawing.Point(457, 33);
this.labelFileName.Location = new System.Drawing.Point(457, 35);
this.labelFileName.Name = "labelFileName";
this.labelFileName.Size = new System.Drawing.Size(180, 25);
this.labelFileName.Size = new System.Drawing.Size(263, 25);
this.labelFileName.TabIndex = 169;
this.labelFileName.Text = "FileName";
this.labelFileName.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -717,7 +788,7 @@
this.smartLabel9.ForeColor = System.Drawing.Color.White;
this.smartLabel9.InitVisible = true;
this.smartLabel9.LineSpacing = 0F;
this.smartLabel9.Location = new System.Drawing.Point(457, 12);
this.smartLabel9.Location = new System.Drawing.Point(457, 9);
this.smartLabel9.Name = "smartLabel9";
this.smartLabel9.Size = new System.Drawing.Size(180, 20);
this.smartLabel9.TabIndex = 168;
@ -874,5 +945,8 @@
private SmartX.SmartTimer smartTimer1;
private SmartX.SmartLabel labelDisplayUpdateElapsedTime;
private SmartX.SmartLabel labelFileReadElapsedTime;
private SmartX.SmartLabel labelCurrentIndex;
private SmartX.SmartSeparatorLine smartSeparatorLine1;
private SmartX.SmartLabel labelTotalIndex;
}
}

View File

@ -23,11 +23,11 @@ namespace INT69DB_2A.Forms
private int DataRemainCNT;
private int DataAllCNT;
public string PathDestinationFileName;
private static int ViewerDataCount = 22;
private FormMain m_ParentForm;
private Collection<string[]> CollectionHistoryData; // 파일에서 읽은 데이터
private List<string> ListDate;
private List<string> ListTime;
private List<string> ListLoginID;
private List<string> ListEvent;
@ -108,7 +108,6 @@ namespace INT69DB_2A.Forms
this.CollectionHistoryData = new Collection<string[]>();
//this.CollectionFileClassification = new Collection<List<string>>();
this.ListDate = new List<string>();
this.ListTime = new List<string>();
this.ListLoginID = new List<string>();
this.ListEvent = new List<string>();
@ -203,7 +202,7 @@ namespace INT69DB_2A.Forms
switch (this.CollectionHistoryData[i][7])
{
case "Alarm":
enable = filter.TpyeAlarm;
enable = filter.TypeAlarm;
break;
case "Operation":
enable = filter.TypeOperation;
@ -218,7 +217,6 @@ namespace INT69DB_2A.Forms
if (enable == true)
{
this.ListDate.Add(this.CollectionHistoryData[i][0]);
this.ListTime.Add(this.CollectionHistoryData[i][1]);
this.ListLoginID.Add(this.CollectionHistoryData[i][2]);
this.ListEvent.Add(this.CollectionHistoryData[i][3]);
@ -232,13 +230,13 @@ namespace INT69DB_2A.Forms
private void UpdateDisplay()
{
int cnt = 0;
if (this.ListDate.Count > 50)
if (this.ListTime.Count > ViewerDataCount)
{
cnt = 50;
this.DataRemainCNT = this.ListDate.Count - 50;
cnt = ViewerDataCount;
this.DataRemainCNT = this.ListTime.Count - ViewerDataCount;
}
else
cnt = this.ListDate.Count;
cnt = this.ListTime.Count;
for (int i = 0; i < cnt; i++)
{
@ -268,11 +266,11 @@ namespace INT69DB_2A.Forms
splash.LoadingImagePathname = "SmartLoading4";
splash.Start();
index = this.ListDate.Count - this.DataRemainCNT;
index = this.ListTime.Count - this.DataRemainCNT;
if (this.DataRemainCNT > 50)
if (this.DataRemainCNT > ViewerDataCount)
{
range = index + 50;
range = index + ViewerDataCount;
for (int i = index; i < range; i++)
{
//this.listBoxDate.AddItem(this.ListDate[i]);
@ -285,11 +283,11 @@ namespace INT69DB_2A.Forms
this.listBoxType.AddItem(this.ListType[i]);
}
this.DataRemainCNT = this.DataRemainCNT - 50;
this.DataRemainCNT = this.DataRemainCNT - ViewerDataCount;
}
else
{
for (int i = index; i < this.ListDate.Count; i++)
for (int i = index; i < this.ListTime.Count; i++)
{
//this.listBoxDate.AddItem(this.ListDate[i]);
this.listBoxTime.AddItem(this.ListTime[i]);
@ -397,7 +395,6 @@ namespace INT69DB_2A.Forms
{
this.CollectionHistoryData.Clear();
//this.listBoxDate.ClearAll();
this.listBoxTime.ClearAll();
this.listBoxLoginID.ClearAll();
this.listBoxEvent.ClearAll();
@ -406,7 +403,6 @@ namespace INT69DB_2A.Forms
this.listBoxAfter.ClearAll();
this.listBoxType.ClearAll();
this.ListDate.Clear();
this.ListTime.Clear();
this.ListLoginID.Clear();
this.ListEvent.Clear();
@ -434,6 +430,9 @@ namespace INT69DB_2A.Forms
private void buttonFileSelect_Click(object sender, EventArgs e)
{
this.SelectNodeIndex = -1;
DialogFormHistoryData form = new DialogFormHistoryData(this);
form.ShowDialog();
}
private void buttonFilter_Click(object sender, EventArgs e)
{
@ -454,7 +453,7 @@ namespace INT69DB_2A.Forms
if (this.StartIndex < 6)
this.ListBoxScrollUp();
else
this.ListBoxScrollUp(50);
this.ListBoxScrollUp(ViewerDataCount);
}
private void buttonDown_Click(object sender, EventArgs e)
{
@ -470,7 +469,7 @@ namespace INT69DB_2A.Forms
if (this.RemainCNT < 6)
this.ListBoxScrollDown();
else
this.ListBoxScrollDown(50);
this.ListBoxScrollDown(ViewerDataCount);
}
private void listBox_SelectedIndexChanged(object sender, EventArgs e)

View File

@ -1122,7 +1122,7 @@
</value>
</data>
<metadata name="smartTimer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>17, 8</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
@ -1130,4 +1130,7 @@
<metadata name="$this.Skin" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>34</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -58,10 +58,9 @@ namespace INT69DB_2A.Forms
this.labelStaticIndividualNG.Text = "Individual NG";
this.labelStaticSelectSensor.Text = "Select Entry sensor";
this.labelStaticRejectConveyor.Text = "Reject conveyor";
this.labelStaticRCRotationDirection.Text = "┖ Rotation direction";
this.labelStaticFeedingConveyor.Text = "Feeding conveyor";
this.labelStaticFeedingCVRun.Text = "┖ Operation";
this.labelStaticEquipmentID.Text = "Equipment ID";
this.labelStaticDataStoragePeriod.Text = "Data storage period";
this.labelStaticImpellerBaudrate.Text = "Impeller:baudrate";
this.labelStaticImpellerRotationDirection.Text = "Impeller:Direction";
this.labelStaticLanguage.Text = "Language";
@ -85,10 +84,9 @@ namespace INT69DB_2A.Forms
this.labelStaticIndividualNG.Text = "单独NG";
this.labelStaticSelectSensor.Text = "选择输入传感器";
this.labelStaticRejectConveyor.Text = "排放输送带";
this.labelStaticRCRotationDirection.Text = "┖ 排放输送带旋转方向";
this.labelStaticFeedingConveyor.Text = "进料输送带";
this.labelStaticFeedingCVRun.Text = "┖ 进料输送带驱动";
this.labelStaticEquipmentID.Text = "设备编号";
this.labelStaticDataStoragePeriod.Text = "数据保存期限";
this.labelStaticImpellerBaudrate.Text = "波特率";
this.labelStaticImpellerRotationDirection.Text = "排放输送机旋转方向";
this.labelStaticLanguage.Text = "语言";
@ -153,7 +151,7 @@ namespace INT69DB_2A.Forms
this.comboBoxStepMotorType.Items.Add("Moons");
}
private void UpdateParameter()
private void UpdateDisplay()
{
// 장비타입
if (this.ParentForm.SystemConfig.EquipmentMode == 1)
@ -166,6 +164,18 @@ namespace INT69DB_2A.Forms
// 장비 열
this.comboBoxEquipmentColumn.SelectedItem = this.ParentForm.SystemConfig.EquipmentColumns;
// 중량표시
if (this.ParentForm.SystemConfig.IsWeightViewForward == true)
this.radioButtonWeightViewForward.Checked = true;
else
this.radioButtonWeightViewReverse.Checked = true;
// 통합 전송
if (this.ParentForm.SystemConfig.IsIntegratedTransmission == true)
this.buttonIntegratedTransmission.ButtonDown();
else
this.buttonIntegratedTransmission.ButtonUp();
// 개별 NG
if (this.ParentForm.SystemConfig.IsEachNG == true)
this.buttonEachNG.ButtonDown();
@ -205,6 +215,10 @@ namespace INT69DB_2A.Forms
if (this.labelEquipmentID.Text != this.ParentForm.SystemConfig.EquipmentID.ToString())
this.labelEquipmentID.Text = this.ParentForm.SystemConfig.EquipmentID.ToString();
// 데이터 저장기간
if (this.labelDataStoragePeriod.Text != this.ParentForm.SystemConfig.DataStoragePeriod.ToString())
this.labelDataStoragePeriod.Text = this.ParentForm.SystemConfig.DataStoragePeriod.ToString();
// 임펠러모터 통신속도
if (this.ParentForm.SystemConfig.ImpellerMotorBaudrate == 1)
this.radioButtonImpellerMotorBaudrate9600.Checked = true;
@ -249,23 +263,26 @@ namespace INT69DB_2A.Forms
else
this.buttonPingTimer.ButtonUp();
// Part11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.buttonPart11.ButtonDown();
else
this.buttonPart11.ButtonUp();
this.buttonSave.Visible = false;
}
public void DisplayRefresh()
{
this.UpdateParameter();
this.UpdateDisplay();
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormEquipmentSetting;
}
#endregion
#region Override Member
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.InitializeDesign();
}
#endregion
#region Event Handler
private void buttonPingTimer_Click(object sender, EventArgs e)
{
@ -277,25 +294,6 @@ namespace INT69DB_2A.Forms
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
}
private void control_Click(object sender, EventArgs e)
{
if (this.buttonSave.Visible != true)
this.buttonSave.Visible = true;
SmartX.SmartButton button = sender as SmartX.SmartButton;
if (button == this.buttonPart11)
{
if (button.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
this.buttonLogin.ButtonDown();
else
this.buttonLogin.ButtonUp();
}
else if (button == this.buttonLogin)
{
if (this.buttonPart11.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
this.buttonLogin.ButtonDown();
}
}
private void labelEquipmentID_Click(object sender, EventArgs e)
{
@ -312,6 +310,39 @@ namespace INT69DB_2A.Forms
}
}
}
private void labelDataStoragePeriod_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelDataStoragePeriod.Text, 2, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 99)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelDataStoragePeriod.Text = myKeyPad.StringValue;
if (this.buttonSave.Visible != true)
this.buttonSave.Visible = true;
}
}
}
private void control_Click(object sender, EventArgs e)
{
if (this.buttonSave.Visible != true)
this.buttonSave.Visible = true;
SmartX.SmartButton button = sender as SmartX.SmartButton;
if (button == this.buttonLogin)
{
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.buttonLogin.ButtonDown();
}
}
private void buttonSave_Click(object sender, EventArgs e)
{
@ -341,6 +372,12 @@ namespace INT69DB_2A.Forms
else
this.ParentForm.SystemConfig.EquipmentColumns = 10;
// 통합 전송
if (this.buttonIntegratedTransmission.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsIntegratedTransmission = true;
else
this.ParentForm.SystemConfig.IsIntegratedTransmission = false;
// 중량표시
if (this.radioButtonWeightViewForward.Checked == true)
this.ParentForm.SystemConfig.IsWeightViewForward = true;
@ -384,8 +421,8 @@ namespace INT69DB_2A.Forms
// 장비 ID
this.ParentForm.SystemConfig.EquipmentID = int.Parse(this.labelEquipmentID.Text);
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
// 데이터 저장기간
this.ParentForm.SystemConfig.DataStoragePeriod = int.Parse(this.labelDataStoragePeriod.Text);
// 임펠러모터 통신속도
if (this.radioButtonImpellerMotorBaudrate9600.Checked == true)
@ -425,18 +462,6 @@ namespace INT69DB_2A.Forms
else
this.ParentForm.SystemConfig.StepMotorType = (int)DataStore.StepMotorType.MDrive;
// Part11
if (this.buttonPart11.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsPart11 = true;
this.ParentForm.SystemConfig.IsLogin = true;
}
else
{
this.ParentForm.SystemConfig.IsPart11 = false;
this.ParentForm.SystemConfig.IsLogin = false;
}
// SystemConfig 파일 저장
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
@ -447,7 +472,6 @@ namespace INT69DB_2A.Forms
this.buttonBack.Visible = false;
this.buttonSave.Visible = false;
}
private void buttonBack_Click(object sender, EventArgs e)
{
this.ParentForm.ChildFormMenu.DisplayRefresh();

View File

@ -853,7 +853,7 @@
SWh8deTn56t/1Hw+EoUp6PoPBG3lC8cKurQAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonPart11.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="buttonIntegratedTransmission.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAFQAAAAZCAIAAAAgz54kAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -916,7 +916,7 @@
O5j2adVgU944aMysy0g9oUnRJSdrk1YbbdJP8wLA5c8re3QAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonPart11.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="buttonIntegratedTransmission.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAFQAAAAZCAIAAAAgz54kAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp

View File

@ -777,7 +777,7 @@ namespace INT69DB_2A.Forms
}
private void buttonCut_Click(object sender, EventArgs e)
{
this.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
}
private void buttonAllContinue_Click(object sender, EventArgs e)
{

View File

@ -1,6 +1,6 @@
namespace INT69DB_2A.Forms
{
partial class FormFactoryReset
partial class FormInitialization
{
/// <summary>
/// Required designer variable.
@ -28,7 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormFactoryReset));
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormInitialization));
this.smartForm1 = new SmartX.SmartForm();
this.labelResetFail = new SmartX.SmartLabel();
this.labelResetRestart = new SmartX.SmartLabel();

View File

@ -12,7 +12,7 @@ using INT69DB_2A_ImageDll;
namespace INT69DB_2A.Forms
{
public partial class FormFactoryReset : Form
public partial class FormInitialization : Form
{
#region Field
private FormMain m_ParentForm;
@ -21,7 +21,7 @@ namespace INT69DB_2A.Forms
#endregion
#region Constructor
public FormFactoryReset(FormMain parent)
public FormInitialization(FormMain parent)
{
InitializeComponent();
@ -107,7 +107,8 @@ namespace INT69DB_2A.Forms
{
string fullFilePath = "";
bool fileCheck = false;
StructSystemConfigurationItem structItem;
StructSystemConfigurationItem structItem1;
StructSystemConfigurationItem1 structItem2;
fullFilePath = this.ParentForm.PathSystemFileFolder1 + "system.cfg";
this.ParentForm.smartFileIO.FilePathName = fullFilePath;
@ -119,51 +120,111 @@ namespace INT69DB_2A.Forms
this.ParentForm.SystemConfig.Initialization();
structItem.IsDataBackup = this.ParentForm.SystemConfig.IsDataBackup;
structItem.IsPingTimer = this.ParentForm.SystemConfig.IsPingTimer;
structItem.IsFeedingConveyor = this.ParentForm.SystemConfig.IsFeedingConveyor;
structItem.IsEachNG = this.ParentForm.SystemConfig.IsEachNG;
structItem.IsDischargeConveyor = this.ParentForm.SystemConfig.IsDischargeConveyor;
structItem.IsImpellerMotorDirectionCW = this.ParentForm.SystemConfig.IsImpellerMotorDirectionCW;
structItem.IsPart11 = false;
structItem.IsWeightViewForward = this.ParentForm.SystemConfig.IsWeightViewForward;
structItem.DecimalPlaces = this.ParentForm.SystemConfig.DecimalPlaces;
structItem.EthernetPort = this.ParentForm.SystemConfig.EthernetPort;
structItem.EquipmentColumns = this.ParentForm.SystemConfig.EquipmentColumns;
structItem.EquipmentID = this.ParentForm.SystemConfig.EquipmentID;
structItem.EquipmentMode = this.ParentForm.SystemConfig.EquipmentMode;
structItem.ProductNumber = this.ParentForm.SystemConfig.ProductNumber;
structItem.AutomaticLogout = 1;
structItem.DischargeConveyorDirectionCW = (int)this.ParentForm.SystemConfig.DischargeConveyorDirectionCW;
structItem.UsbID = this.ParentForm.SystemConfig.UsbID;
structItem.DummyString6 = "";
structItem.Unit = this.ParentForm.SystemConfig.Unit;
structItem.Language = this.ParentForm.SystemConfig.Language;
structItem.ImpellerMotorBaudrate = this.ParentForm.SystemConfig.ImpellerMotorBaudrate;
structItem.ImpellerMotorAnglePass = this.ParentForm.SystemConfig.ImpellerMotorAnglePass;
structItem.SerialNumber = this.ParentForm.SystemConfig.SerialNumber;
#region StructItem1
structItem1.IsDataBackup = this.ParentForm.SystemConfig.IsDataBackup;
structItem1.IsPingTimer = this.ParentForm.SystemConfig.IsPingTimer;
structItem1.IsFeedingConveyor = this.ParentForm.SystemConfig.IsFeedingConveyor;
structItem1.IsEachNG = this.ParentForm.SystemConfig.IsEachNG;
structItem1.IsDischargeConveyor = this.ParentForm.SystemConfig.IsDischargeConveyor;
structItem1.IsImpellerMotorDirectionCW = this.ParentForm.SystemConfig.IsImpellerMotorDirectionCW;
structItem1.IsPart11 = this.ParentForm.SystemConfig.IsPart11;
structItem1.IsWeightViewForward = this.ParentForm.SystemConfig.IsWeightViewForward;
structItem1.DecimalPlaces = this.ParentForm.SystemConfig.DecimalPlaces;
structItem1.EthernetPort = this.ParentForm.SystemConfig.EthernetPort;
structItem1.EquipmentColumns = this.ParentForm.SystemConfig.EquipmentColumns;
structItem1.EquipmentID = this.ParentForm.SystemConfig.EquipmentID;
structItem1.EquipmentMode = this.ParentForm.SystemConfig.EquipmentMode;
structItem1.ProductNumber = this.ParentForm.SystemConfig.ProductNumber;
structItem1.DummyInt1 = 1;
structItem1.DischargeConveyorDirectionCW = (int)this.ParentForm.SystemConfig.DischargeConveyorDirectionCW;
structItem1.UsbID = this.ParentForm.SystemConfig.UsbID;
structItem1.DummyString6 = "";
structItem1.Unit = this.ParentForm.SystemConfig.Unit;
structItem1.Language = this.ParentForm.SystemConfig.Language;
structItem1.ImpellerMotorBaudrate = this.ParentForm.SystemConfig.ImpellerMotorBaudrate;
structItem1.ImpellerMotorAnglePass = this.ParentForm.SystemConfig.ImpellerMotorAnglePass;
structItem1.SerialNumber = this.ParentForm.SystemConfig.SerialNumber;
// Dummy bool
structItem.DummyBool1 = false;
structItem.DummyBool2 = false;
structItem.IsLogin = this.ParentForm.SystemConfig.IsLogin;
structItem.IsFeedingConveyorRunPass = this.ParentForm.SystemConfig.IsFeedingConveyorRunPass;
structItem1.DummyBool1 = false;
structItem1.IsIntegratedTransmission = this.ParentForm.SystemConfig.IsIntegratedTransmission;
structItem1.IsLogin = this.ParentForm.SystemConfig.IsLogin;
structItem1.IsFeedingConveyorRunPass = this.ParentForm.SystemConfig.IsFeedingConveyorRunPass;
// Dummy int
structItem.StepMotorType = this.ParentForm.SystemConfig.StepMotorType;
structItem.ImpellerMotorAngleNG = this.ParentForm.SystemConfig.ImpellerMotorAngleNG;
structItem.InputSensorSelect = this.ParentForm.SystemConfig.InputSensorSelect;
structItem.Serial3BaudRate = this.ParentForm.SystemConfig.Serial3BaudRate;
structItem.Serial3Mode = this.ParentForm.SystemConfig.Serial3Mode;
structItem1.StepMotorType = this.ParentForm.SystemConfig.StepMotorType;
structItem1.ImpellerMotorAngleNG = this.ParentForm.SystemConfig.ImpellerMotorAngleNG;
structItem1.InputSensorSelect = this.ParentForm.SystemConfig.InputSensorSelect;
structItem1.Serial3BaudRate = this.ParentForm.SystemConfig.Serial3BaudRate;
structItem1.Serial3Mode = this.ParentForm.SystemConfig.Serial3Mode;
// Dummy string
structItem.User_Level1_Name = "";
structItem.User_Level2_Name = "";
structItem.User_Level3_Name = "";
structItem.DummyString4 = "";
structItem.DummyString5 = "";
structItem1.User_Level1_Name = this.ParentForm.SystemConfig.User_Level1_Name;
structItem1.User_Level2_Name = this.ParentForm.SystemConfig.User_Level2_Name;
structItem1.User_Level3_Name = this.ParentForm.SystemConfig.User_Level3_Name;
structItem1.DummyString4 = "";
structItem1.DummyString5 = "";
#endregion
this.ParentForm.smartFileIO.WriteStructure(structItem1, 0);
#region StructItem2
structItem2.DummyBool1 = false;
structItem2.DummyBool2 = false;
structItem2.DummyBool3 = false;
structItem2.DummyBool4 = false;
structItem2.DummyBool5 = false;
structItem2.DummyBool6 = false;
structItem2.DummyBool7 = false;
structItem2.DummyBool8 = false;
structItem2.DummyBool9 = false;
structItem2.DummyBool10 = false;
structItem2.DummyBool11 = false;
structItem2.DummyBool12 = false;
structItem2.DummyBool13 = false;
structItem2.DummyBool14 = false;
structItem2.DummyBool15 = false;
structItem2.DummyBool16 = false;
structItem2.DummyBool17 = false;
structItem2.DummyBool18 = false;
structItem2.DummyBool19 = false;
structItem2.DummyBool20 = false;
structItem2.DummyInt1 = 0;
structItem2.DummyInt2 = 0;
structItem2.DummyInt3 = 0;
structItem2.DummyInt4 = 0;
structItem2.DummyInt5 = 0;
structItem2.DummyInt6 = 0;
structItem2.DummyInt7 = 0;
structItem2.DummyInt8 = 0;
structItem2.DummyInt9 = 0;
structItem2.ModbusTcpStartAddress = this.ParentForm.SystemConfig.ModbusTcpStartAddress;
structItem2.ModbusRtuSlaveID = this.ParentForm.SystemConfig.ModbusRtuSlaveID;
structItem2.ModbusTcpAddress1 = this.ParentForm.SystemConfig.ModbusTcpAddress1;
structItem2.ModbusTcpAddress2 = this.ParentForm.SystemConfig.ModbusTcpAddress2;
structItem2.EthernetLocalPort = this.ParentForm.SystemConfig.EthernetLocalPort;
structItem2.EthernetOperationMode = this.ParentForm.SystemConfig.EthernetOperationMode;
structItem2.EthernetMode = this.ParentForm.SystemConfig.EthernetMode;
structItem2.EthernetServerPort = this.ParentForm.SystemConfig.EthernetServerPort;
structItem2.DummyInt10 = 0;
structItem2.AutomaticLogout = this.ParentForm.SystemConfig.AutomaticLogout;
structItem2.DataStoragePeriod = this.ParentForm.SystemConfig.DataStoragePeriod;
structItem2.DummyString1 = "";
structItem2.DummyString2 = "";
structItem2.DummyString3 = "";
structItem2.DummyString4 = "";
structItem2.DummyString5 = "";
structItem2.EthernetServerAddress = this.ParentForm.SystemConfig.EthernetServerAddress;
structItem2.DummyString7 = "";
structItem2.DummyString8 = "";
structItem2.DummyString9 = "";
structItem2.DummyString10 = "";
#endregion
this.ParentForm.smartFileIO.WriteStructure(structItem2, 1);
this.ParentForm.smartFileIO.WriteStructure(structItem, 0);
this.ParentForm.smartFileIO.Close();
}
public void ResetProductFile()

View File

@ -41,6 +41,8 @@
this.timerEthernetPing = new System.Windows.Forms.Timer();
this.timerWaitResponse = new System.Windows.Forms.Timer();
this.timerUserList = new System.Windows.Forms.Timer();
this.timerTimeOutTransmission = new System.Windows.Forms.Timer();
this.smartSerialPortCom3 = new SmartX.SmartSerialPort();
((System.ComponentModel.ISupportInitialize)(this.smartForm)).BeginInit();
this.SuspendLayout();
//
@ -123,6 +125,31 @@
this.timerUserList.Interval = 1000;
this.timerUserList.Tick += new System.EventHandler(this.timerUserList_Tick);
//
// timerTimeOutTransmission
//
this.timerTimeOutTransmission.Interval = 300;
this.timerTimeOutTransmission.Tick += new System.EventHandler(this.timerTimeOutTransmission_Tick);
//
// smartSerialPortCom3
//
this.smartSerialPortCom3.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._9600bps;
this.smartSerialPortCom3.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
this.smartSerialPortCom3.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
this.smartSerialPortCom3.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
this.smartSerialPortCom3.ETXCode = ((byte)(3));
this.smartSerialPortCom3.ETXCodes = null;
this.smartSerialPortCom3.FrameBufferSize = ((uint)(1024u));
this.smartSerialPortCom3.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
this.smartSerialPortCom3.HeadErrorCodeOffset = 0;
this.smartSerialPortCom3.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM3;
this.smartSerialPortCom3.ReadTimeout = -1;
this.smartSerialPortCom3.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
this.smartSerialPortCom3.ReceiveFrameDebugMode = false;
this.smartSerialPortCom3.RS485SoftwareDetection = false;
this.smartSerialPortCom3.STXCode = ((byte)(2));
this.smartSerialPortCom3.STXCodes = null;
this.smartSerialPortCom3.TailErrorCodeOffset = 0;
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -151,6 +178,8 @@
private System.Windows.Forms.Timer timerEthernetPing;
private System.Windows.Forms.Timer timerWaitResponse;
private System.Windows.Forms.Timer timerUserList;
public System.Windows.Forms.Timer timerTimeOutTransmission;
public SmartX.SmartSerialPort smartSerialPortCom3;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -118,37 +118,43 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="smartConfigs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>12, 8</value>
</metadata>
<metadata name="smartFileIO.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>888, 17</value>
<value>883, 8</value>
</metadata>
<metadata name="smartFileCommunicationLog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>533, 17</value>
<value>528, 8</value>
</metadata>
<metadata name="serialPort3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>300, 17</value>
<value>295, 8</value>
</metadata>
<metadata name="smartFileAdcLog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>744, 17</value>
<value>739, 8</value>
</metadata>
<metadata name="timerAdcLog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>410, 17</value>
<value>405, 8</value>
</metadata>
<metadata name="smartSerialPortLink.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>142, 17</value>
<value>137, 8</value>
</metadata>
<metadata name="smartTCPMultiServer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1003, 17</value>
<value>998, 8</value>
</metadata>
<metadata name="timerEthernetPing.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1171, 17</value>
<value>301, 49</value>
</metadata>
<metadata name="timerWaitResponse.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
<value>12, 47</value>
</metadata>
<metadata name="timerUserList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>177, 56</value>
<value>172, 47</value>
</metadata>
<metadata name="timerTimeOutTransmission.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>442, 49</value>
</metadata>
<metadata name="smartSerialPortCom3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>643, 49</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
@ -157,6 +163,6 @@
<value>False</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>85</value>
<value>108</value>
</metadata>
</root>

View File

@ -14,18 +14,22 @@ using INT69DB_2A_ImageDll;
using INT69DB_2A.Controls;
using INT69DB_2A.DialogForms;
using INT69DB_2A.Part11_UserManager;
using System.Text.RegularExpressions;
namespace INT69DB_2A.Forms
{
public partial class FormMainDisplay : Form
{
#region Field
UserManager.UserMgr_user_info_t UserInfo = new UserManager.UserMgr_user_info_t();
public string ChangeID;
private FormMain m_ParentForm;
private Color ColorButtonAccessTrue;
private Color ColorButtonAccessFalse;
private DataStore.FormMainDisplayStore MainDisplay;
private DataStore.MainDisplayStore MainDisplay;
private ControlMainDisplayDotGraph2 MainDisplayDotGraph2;
private ControlMainDisplayDotGraph3 MainDisplayDotGraph3;
@ -249,7 +253,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph2);
this.MainDisplayEachBarGraph2.BringToFront();
this.MainDisplayEachBarGraph2.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph2 = new ControlMainDisplayDotGraph2(this);
this.Controls.Add(this.MainDisplayDotGraph2);
@ -266,7 +270,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph3);
this.MainDisplayEachBarGraph3.BringToFront();
this.MainDisplayEachBarGraph3.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph3 = new ControlMainDisplayDotGraph3(this);
this.Controls.Add(this.MainDisplayDotGraph3);
@ -283,7 +287,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph4);
this.MainDisplayEachBarGraph4.BringToFront();
this.MainDisplayEachBarGraph4.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph4 = new ControlMainDisplayDotGraph4(this);
this.Controls.Add(this.MainDisplayDotGraph4);
@ -300,7 +304,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph5);
this.MainDisplayEachBarGraph5.BringToFront();
this.MainDisplayEachBarGraph5.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph5 = new ControlMainDisplayDotGraph5(this);
this.Controls.Add(this.MainDisplayDotGraph5);
@ -317,7 +321,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph6);
this.MainDisplayEachBarGraph6.BringToFront();
this.MainDisplayEachBarGraph6.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph6 = new ControlMainDisplayDotGraph6(this);
this.Controls.Add(this.MainDisplayDotGraph6);
@ -334,7 +338,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph7);
this.MainDisplayEachBarGraph7.BringToFront();
this.MainDisplayEachBarGraph7.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph7 = new ControlMainDisplayDotGraph7(this);
this.Controls.Add(this.MainDisplayDotGraph7);
@ -351,7 +355,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph8);
this.MainDisplayEachBarGraph8.BringToFront();
this.MainDisplayEachBarGraph8.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph8 = new ControlMainDisplayDotGraph8(this);
this.Controls.Add(this.MainDisplayDotGraph8);
@ -368,7 +372,7 @@ namespace INT69DB_2A.Forms
this.Controls.Add(this.MainDisplayEachBarGraph10);
this.MainDisplayEachBarGraph10.BringToFront();
this.MainDisplayEachBarGraph10.Location = new Point(0, 63);
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.MainDisplayDotGraph10 = new ControlMainDisplayDotGraph10(this);
this.Controls.Add(this.MainDisplayDotGraph10);
@ -388,6 +392,7 @@ namespace INT69DB_2A.Forms
private void DefaultSetting()
{
this.RescaleControl();
this.ChangeID = "";
this.ColorButtonAccessTrue = Color.Black;
this.ColorButtonAccessFalse = Color.DimGray;
@ -448,19 +453,116 @@ namespace INT69DB_2A.Forms
}
}
private void Login()
private void PasswordExpirationCheck(UserItem user)
{
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm);
int expiryDay = 0;
// 만료일 -10 일때 메시지 띄우기
expiryDay = user.GetPasswordExpiryDday();
if (expiryDay >= -10)
{
Console.WriteLine("password : " + expiryDay.ToString());
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)
{
this.DisplayRefresh();
}
}
}
}
private void DirectLogin(string id, string pass)
{
UserManager.UserMgr_user_info_t userInfo = new UserManager.UserMgr_user_info_t();
UserManager.UserManager_UserLoginDirect(id, pass, ref userInfo);
Console.WriteLine(string.Format("status : {0}", userInfo.status));
Console.WriteLine("ID : " + id);
Console.WriteLine("pass : " + pass);
if (userInfo.status == 0)
{
#region 로그인 성공
if (userInfo.active_level == 1)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level1;
else if (userInfo.active_level == 2)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level2;
else if (userInfo.active_level == 3)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level3;
else if (userInfo.active_level == 9)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Admin;
else if (userInfo.active_level == 10)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Developer;
this.ParentForm.SystemConfig.CurrentUser.ID = userInfo.user_id;
this.ParentForm.SystemConfig.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.SystemConfig.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.password_expire_period;
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
time = DateTime.ParseExact(userInfo.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdLogin = time;
time = DateTime.ParseExact(userInfo.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire = time;
time = DateTime.ParseExact(userInfo.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdExpire = time;
this.ParentForm.SystemConfig.CurrentUser.IsLockAccount = userInfo.id_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsLockPassword = userInfo.password_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.ActiveLevel = userInfo.active_level;
#endregion
this.UI_Invoke(delegate
{
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
});
}
}
private void Login()
{
DialogResult result;
DialogFormLogOn logOn = new DialogFormLogOn(this.ParentForm, false, false);
result = logOn.ShowDialog();
if (result == DialogResult.OK)
{
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Level1 ||
this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Level2 ||
this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Level3)
{
// 비밀번호 만료일 10일 미만 체크 후 비밀번호 변경
this.PasswordExpirationCheck(this.ParentForm.SystemConfig.CurrentUser);
}
this.buttonUser.ButtonDown();
//this.ParentForm.TimerAutomaticLogout(true, this.ParentForm.SystemConfig.AutomaticLogout);
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Login, "");
}
else if (result == DialogResult.Abort)
{
// 비밀 번호 변경 띄우기
DialogFormLogOn logOn1 = new DialogFormLogOn(this.ParentForm, false, true);
if (logOn1.ShowDialog() == DialogResult.OK)
{
this.buttonUser.ButtonDown();
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
}
else
this.buttonUser.ButtonUp();
}
else
{
this.buttonUser.ButtonUp();
@ -471,6 +573,7 @@ namespace INT69DB_2A.Forms
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.LogOut;
this.buttonUser.ButtonUp();
this.DisplayRefresh();
this.ChangeID = "";
// Part 11
if (this.ParentForm.SystemConfig.IsPart11 == true)
@ -480,6 +583,7 @@ namespace INT69DB_2A.Forms
{
UserManager.UserManager_AutoLogoutTimeoutReset();
}
public string DisplayExpireOfPassword(DataStore.UserGroup group)
{
string ret = "";
@ -489,7 +593,7 @@ namespace INT69DB_2A.Forms
else
{
//TimeSpan resultTime = DateTime.Now - this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireRegister;
TimeSpan dayDiff = DateTime.Now.Date - this.ParentForm.SystemConfig.CurrentUser.DateExpireRegister.Date;
TimeSpan dayDiff = DateTime.Now.Date - this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire.Date;
ret = dayDiff.Days.ToString();
}
@ -522,9 +626,9 @@ namespace INT69DB_2A.Forms
}
private void UpdateDisplay(DataStore.FormMainDisplayStore displayForm)
private void UpdateDisplay(DataStore.MainDisplayStore displayForm)
{
if (displayForm == DataStore.FormMainDisplayStore.FormMainDisplayBarGraph)
if (displayForm == DataStore.MainDisplayStore.BarGraph)
{
#region BarGraph
switch (this.ParentForm.SystemConfig.EquipmentColumns)
@ -599,7 +703,7 @@ namespace INT69DB_2A.Forms
this.UpdateDisplayButton(SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.UP);
#endregion
}
else if (displayForm == DataStore.FormMainDisplayStore.FormMainDisplayDotGraph)
else if (displayForm == DataStore.MainDisplayStore.LineGraph)
{
#region DotGraph
switch (this.ParentForm.SystemConfig.EquipmentColumns)
@ -674,7 +778,7 @@ namespace INT69DB_2A.Forms
this.UpdateDisplayButton(SmartButton.BUTSTATUS.UP, SmartButton.BUTSTATUS.DOWN, SmartButton.BUTSTATUS.UP);
#endregion
}
else if (displayForm == DataStore.FormMainDisplayStore.FormMainDisplayTable)
else if (displayForm == DataStore.MainDisplayStore.Table)
{
#region Table
switch (this.ParentForm.SystemConfig.EquipmentColumns)
@ -769,7 +873,9 @@ namespace INT69DB_2A.Forms
}
public void UpdateDisplayUser(UserItem user)
{
string id = "", group = "", expireDate = "";
string id = "", group = "", expirePW = "";
int expireDate = 0;
Color colorExpirePW = this.ParentForm.ColorLogOff;
switch (user.Group)
{
@ -856,13 +962,13 @@ namespace INT69DB_2A.Forms
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
this.buttonUser.ButtonDown();
this.buttonProductNo.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplayProductNo;
this.buttonSubMenu.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplaySubMenu;
this.buttonClear.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplayClear;
this.buttonUnder.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplayWeightSetting;
this.buttonPass.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplayWeightSetting;
this.buttonOver.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplayWeightSetting;
this.buttonTare.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMainDisplayWeightSetting;
this.buttonProductNo.Enabled = true;
this.buttonSubMenu.Enabled = true;
this.buttonClear.Enabled = true;
this.buttonUnder.Enabled = true;
this.buttonPass.Enabled = true;
this.buttonOver.Enabled = true;
this.buttonTare.Enabled = true;
this.buttonMenu.Enabled = true;
break;
@ -924,7 +1030,7 @@ namespace INT69DB_2A.Forms
this.labelExpireOfPassword.Visible = false;
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff)
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOff;
this.buttonUser.ButtonUp();
@ -946,45 +1052,43 @@ namespace INT69DB_2A.Forms
{
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
expireDate = this.DisplayExpireOfPassword(user.Group);
if (expireDate != "-")
if (user.ExpirePassword != 0)
{
int intExpireDate = int.Parse(expireDate);
if (intExpireDate == 0)
{
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOff;
this.labelExpireOfPassword.Text = "D-0";
}
else if (intExpireDate < 0)
{
if (intExpireDate * -1 > this.ParentForm.SystemConfig.CurrentUser.ExpirePassword)
expireDate = "-" + (this.ParentForm.SystemConfig.CurrentUser.ExpirePassword - 1).ToString();
this.labelExpireOfPassword.Text = "D" + expireDate;
if (intExpireDate >= -10)
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOff;
else
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
}
else
{
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "D+" + expireDate;
}
}
else
expireDate = user.GetPasswordExpiryDday();
if (expireDate == 9999)
{
// Administrator or Developer
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "-";
colorExpirePW = this.ParentForm.ColorLogOn;
expirePW = "-";
}
else
{
if (expireDate >= -10)
{
colorExpirePW = this.ParentForm.ColorLogOff;
if (expireDate > 0)
expirePW = string.Format("D+{0}", expireDate);
else
expirePW = string.Format("D{0}", expireDate);
}
else
{
colorExpirePW = this.ParentForm.ColorLogOn;
expirePW = string.Format("D{0}", expireDate);
}
}
}
else
{
colorExpirePW = this.ParentForm.ColorLogOn;
expirePW = "-";
}
}
else
{
// Part11 미사용
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "-";
colorExpirePW = this.ParentForm.ColorLogOn;
expirePW = "-";
}
}
@ -992,8 +1096,84 @@ namespace INT69DB_2A.Forms
this.labelUserLevel.Text = group;
if (this.labelUserID.Text != id)
this.labelUserID.Text = id;
if (this.labelExpireOfPassword.ForeColor != colorExpirePW)
this.labelExpireOfPassword.ForeColor = colorExpirePW;
if (this.labelExpireOfPassword.Text != expirePW)
this.labelExpireOfPassword.Text = expirePW;
}
public void Clear()
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
case 2:
if (this.MainDisplayEachBarGraph2 != null)
this.MainDisplayEachBarGraph2.Clear();
if (this.MainDisplayDotGraph2 != null)
this.MainDisplayDotGraph2.Clear();
if (this.MainDisplayTable2 != null)
this.MainDisplayTable2.Clear();
break;
case 3:
if (this.MainDisplayEachBarGraph3 != null)
this.MainDisplayEachBarGraph3.Clear();
if (this.MainDisplayDotGraph3 != null)
this.MainDisplayDotGraph3.Clear();
if (this.MainDisplayTable3 != null)
this.MainDisplayTable3.Clear();
break;
case 4:
if (this.MainDisplayEachBarGraph4 != null)
this.MainDisplayEachBarGraph4.Clear();
if (this.MainDisplayDotGraph4 != null)
this.MainDisplayDotGraph4.Clear();
if (this.MainDisplayTable4 != null)
this.MainDisplayTable4.Clear();
break;
case 5:
if (this.MainDisplayEachBarGraph5 != null)
this.MainDisplayEachBarGraph5.Clear();
if (this.MainDisplayDotGraph5 != null)
this.MainDisplayDotGraph5.Clear();
if (this.MainDisplayTable5 != null)
this.MainDisplayTable5.Clear();
break;
case 6:
if (this.MainDisplayEachBarGraph6 != null)
this.MainDisplayEachBarGraph6.Clear();
if (this.MainDisplayDotGraph6 != null)
this.MainDisplayDotGraph6.Clear();
if (this.MainDisplayTable6 != null)
this.MainDisplayTable6.Clear();
break;
case 7:
if (this.MainDisplayEachBarGraph7 != null)
this.MainDisplayEachBarGraph7.Clear();
if (this.MainDisplayDotGraph7 != null)
this.MainDisplayDotGraph7.Clear();
if (this.MainDisplayTable7 != null)
this.MainDisplayTable7.Clear();
break;
case 8:
if (this.MainDisplayEachBarGraph8 != null)
this.MainDisplayEachBarGraph8.Clear();
if (this.MainDisplayDotGraph8 != null)
this.MainDisplayDotGraph8.Clear();
if (this.MainDisplayTable8 != null)
this.MainDisplayTable8.Clear();
break;
case 10:
if (this.MainDisplayEachBarGraph10 != null)
this.MainDisplayEachBarGraph10.Clear();
if (this.MainDisplayDotGraph10 != null)
this.MainDisplayDotGraph10.Clear();
if (this.MainDisplayTable10 != null)
this.MainDisplayTable10.Clear();
break;
default:
break;
}
}
public void RescaleControl()
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
@ -1067,78 +1247,6 @@ namespace INT69DB_2A.Forms
this.ParentForm.TransferProductParameter(productNumber);
}
public void Clear()
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
case 2:
if (this.MainDisplayEachBarGraph2 != null)
this.MainDisplayEachBarGraph2.Clear();
if (this.MainDisplayDotGraph2 != null)
this.MainDisplayDotGraph2.Clear();
if (this.MainDisplayTable2 != null)
this.MainDisplayTable2.Clear();
break;
case 3:
if (this.MainDisplayEachBarGraph3 != null)
this.MainDisplayEachBarGraph3.Clear();
if (this.MainDisplayDotGraph3 != null)
this.MainDisplayDotGraph3.Clear();
if (this.MainDisplayTable3 != null)
this.MainDisplayTable3.Clear();
break;
case 4:
if (this.MainDisplayEachBarGraph4 != null)
this.MainDisplayEachBarGraph4.Clear();
if (this.MainDisplayDotGraph4 != null)
this.MainDisplayDotGraph4.Clear();
if (this.MainDisplayTable4 != null)
this.MainDisplayTable4.Clear();
break;
case 5:
if (this.MainDisplayEachBarGraph5 != null)
this.MainDisplayEachBarGraph5.Clear();
if (this.MainDisplayDotGraph5 != null)
this.MainDisplayDotGraph5.Clear();
if (this.MainDisplayTable5 != null)
this.MainDisplayTable5.Clear();
break;
case 6:
if (this.MainDisplayEachBarGraph6 != null)
this.MainDisplayEachBarGraph6.Clear();
if (this.MainDisplayDotGraph6 != null)
this.MainDisplayDotGraph6.Clear();
if (this.MainDisplayTable6 != null)
this.MainDisplayTable6.Clear();
break;
case 7:
if (this.MainDisplayEachBarGraph7 != null)
this.MainDisplayEachBarGraph7.Clear();
if (this.MainDisplayDotGraph7 != null)
this.MainDisplayDotGraph7.Clear();
if (this.MainDisplayTable7 != null)
this.MainDisplayTable7.Clear();
break;
case 8:
if (this.MainDisplayEachBarGraph8 != null)
this.MainDisplayEachBarGraph8.Clear();
if (this.MainDisplayDotGraph8 != null)
this.MainDisplayDotGraph8.Clear();
if (this.MainDisplayTable8 != null)
this.MainDisplayTable8.Clear();
break;
case 10:
if (this.MainDisplayEachBarGraph10 != null)
this.MainDisplayEachBarGraph10.Clear();
if (this.MainDisplayDotGraph10 != null)
this.MainDisplayDotGraph10.Clear();
if (this.MainDisplayTable10 != null)
this.MainDisplayTable10.Clear();
break;
default:
break;
}
}
public void IconEthernetVisible(bool enable)
{
this.pictureBoxEthernetConnection.Visible = enable;
@ -1279,6 +1387,56 @@ namespace INT69DB_2A.Forms
});
}
}
public void CallBackUserListModifyInfoDataEvent(UserManager.UserMgr_user_info_t userInfo)
{
Console.WriteLine("status : " + userInfo.status.ToString());
Console.WriteLine("ID : " + userInfo.user_id);
Console.WriteLine("pass : " + userInfo.user_pw);
if (userInfo.status == 0)
{
Console.WriteLine("Group : " + this.ParentForm.SystemConfig.CurrentUser.Group.ToString());
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.LogOut)
{
Console.WriteLine("DirectLogin");
this.DirectLogin(userInfo.user_id, userInfo.user_pw);
}
else
{
if (userInfo.active_level == 1)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level1;
else if (userInfo.active_level == 2)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level2;
else if (userInfo.active_level == 3)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level3;
else if (userInfo.active_level == 9)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Admin;
else if (userInfo.active_level == 10)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Developer;
this.ParentForm.SystemConfig.CurrentUser.ID = userInfo.user_id;
this.ParentForm.SystemConfig.CurrentUser.Password = userInfo.user_pw;
this.ParentForm.SystemConfig.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.password_expire_period;
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
time = DateTime.ParseExact(userInfo.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdLogin = time;
time = DateTime.ParseExact(userInfo.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdExpire = time;
time = DateTime.ParseExact(userInfo.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire = time;
this.ParentForm.SystemConfig.CurrentUser.IsLockAccount = userInfo.id_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsLockPassword = userInfo.password_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsAdmin = userInfo.fadmin == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.ActiveLevel = userInfo.active_level;
}
}
}
public void UpdateCurrentProductDisplay(DataStore.EquipmentStatus status, ProductItem pItem, JudgmentSetItem jItem,Collection<WeightData> weightDatas)
{
@ -1576,7 +1734,7 @@ namespace INT69DB_2A.Forms
break;
}
}
public void UpdateUpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
public void UpdateStartWeightDisplay(DataStore.EquipmentStatus status, Collection<WeightData> weightDatas)
{
string value = "";
@ -1656,7 +1814,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay1(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay1(DataStore.EquipmentStatus status, WeightData weightData)
{
string value = "";
@ -1739,7 +1897,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay2(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay2(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -1813,7 +1971,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay3(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay3(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -1881,7 +2039,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay4(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay4(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -1943,7 +2101,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay5(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay5(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -1999,7 +2157,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay6(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay6(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -2049,7 +2207,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay7(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay7(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -2093,7 +2251,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay8(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay8(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -2131,7 +2289,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay9(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay9(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -2163,7 +2321,7 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
public void UpdateUpdateStartWeightDisplay10(DataStore.EquipmentStatus status, WeightData weightData)
public void UpdateStartWeightDisplay10(DataStore.EquipmentStatus status, WeightData weightData)
{
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
@ -2299,7 +2457,7 @@ namespace INT69DB_2A.Forms
private void buttonProductNo_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.buttonProductNo.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
@ -2325,7 +2483,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonUnder.Text;
@ -2370,7 +2528,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonPass.Text;
@ -2412,7 +2570,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonOver.Text;
@ -2457,7 +2615,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.buttonTare.Text;
@ -2493,7 +2651,7 @@ namespace INT69DB_2A.Forms
private void buttonScaleZero_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.Zero, CommunicationID.SubBoardAll);
@ -2502,7 +2660,7 @@ namespace INT69DB_2A.Forms
private void buttonClear_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
DialogFormYesNo myDlg = new DialogFormYesNo(this.ParentForm.SystemConfig.Language, 8);
@ -2517,7 +2675,7 @@ namespace INT69DB_2A.Forms
if (this.ParentForm.EquipmentStatus == DataStore.EquipmentStatus.Stop)
{
// Automatic Logout Pause
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
UserManager.UserManager_AutoLogoutTimeoutPause();
this.ParentForm.ChildFormMenu.DisplayRefresh();
@ -2526,7 +2684,7 @@ namespace INT69DB_2A.Forms
else
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.BringToFront();
@ -2536,7 +2694,7 @@ namespace INT69DB_2A.Forms
private void buttonDisplay_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
SmartButton button = sender as SmartButton;
@ -2545,13 +2703,13 @@ namespace INT69DB_2A.Forms
return;
if (button == this.buttonBarGraphForm)
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
else if (button == this.buttonDotGraphForm)
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayDotGraph;
this.MainDisplay = DataStore.MainDisplayStore.LineGraph;
else if (button == this.buttonTableForm)
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayTable;
this.MainDisplay = DataStore.MainDisplayStore.Table;
else
this.MainDisplay = DataStore.FormMainDisplayStore.FormMainDisplayBarGraph;
this.MainDisplay = DataStore.MainDisplayStore.BarGraph;
this.UpdateDisplay(this.MainDisplay);
}
@ -2561,7 +2719,7 @@ namespace INT69DB_2A.Forms
// 관리자 : admin00 / admin12!
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.LogOut)
@ -2584,7 +2742,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelSorterDelayTime.Text;
@ -2620,7 +2778,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelSorterRunTime.Text;
@ -2657,7 +2815,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelDischargeConveyorDelayTime.Text;
@ -2693,7 +2851,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelDischargeConveyorOperatingTime.Text;
@ -2729,7 +2887,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelFeedingConveyorDelayTime.Text;
@ -2765,7 +2923,7 @@ namespace INT69DB_2A.Forms
string value = "";
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
before = this.labelFeedingConveyorOperatingTime.Text;
@ -2798,7 +2956,7 @@ namespace INT69DB_2A.Forms
private void labelTotalCount_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
lock (this)
@ -2815,7 +2973,7 @@ namespace INT69DB_2A.Forms
private void buttonSubMenu_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonSubMenu.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -2829,7 +2987,7 @@ namespace INT69DB_2A.Forms
private void buttonBypassDirection_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonBypassDirection.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -2840,7 +2998,7 @@ namespace INT69DB_2A.Forms
private void buttonBypassOnce_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonBypassOnce.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -2857,7 +3015,7 @@ namespace INT69DB_2A.Forms
private void buttonBypassRun_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.ParentForm.SystemConfig.IsBypassOnce == true)
@ -2913,7 +3071,7 @@ namespace INT69DB_2A.Forms
private void buttonPrint_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonPrint.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -2935,7 +3093,7 @@ namespace INT69DB_2A.Forms
private void buttonClose_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.Visible = false;
@ -2943,10 +3101,10 @@ namespace INT69DB_2A.Forms
private void buttonCut_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsLogin == true)
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}

View File

@ -48,11 +48,12 @@
this.labelUserLevel = new SmartX.SmartLabel();
this.labelUserID = new SmartX.SmartLabel();
this.buttonUser = new SmartX.SmartButton();
this.buttonFunction = new SmartX.SmartButton();
this.buttonHidden = new SmartX.SmartButton();
this.buttonCommunication = new SmartX.SmartButton();
this.buttonDataStatistics = new SmartX.SmartButton();
this.buttonDataViewer = new SmartX.SmartButton();
this.labelExpireOfPassword = new SmartX.SmartLabel();
this.buttonOption = new SmartX.SmartButton();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.SuspendLayout();
//
@ -114,7 +115,7 @@
this.buttonTime.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonTime.DownImage")));
this.buttonTime.GroupID = 0;
this.buttonTime.InitVisible = true;
this.buttonTime.Location = new System.Drawing.Point(87, 349);
this.buttonTime.Location = new System.Drawing.Point(213, 349);
this.buttonTime.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonTime.Name = "buttonTime";
this.buttonTime.NestedClickEventPrevent = false;
@ -421,7 +422,7 @@
this.buttonEquipment.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonEquipment.DownImage")));
this.buttonEquipment.GroupID = 0;
this.buttonEquipment.InitVisible = true;
this.buttonEquipment.Location = new System.Drawing.Point(87, 475);
this.buttonEquipment.Location = new System.Drawing.Point(87, 349);
this.buttonEquipment.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonEquipment.Name = "buttonEquipment";
this.buttonEquipment.NestedClickEventPrevent = false;
@ -438,7 +439,6 @@
this.buttonEquipment.TextLocation = new System.Drawing.Point(0, 0);
this.buttonEquipment.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonEquipment.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonEquipment.UpImage")));
this.buttonEquipment.Visible = false;
this.buttonEquipment.Click += new System.EventHandler(this.buttonMenu_Click);
//
// buttonIOTest
@ -484,7 +484,7 @@
this.buttonTest.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonTest.DownImage")));
this.buttonTest.GroupID = 0;
this.buttonTest.InitVisible = true;
this.buttonTest.Location = new System.Drawing.Point(591, 349);
this.buttonTest.Location = new System.Drawing.Point(87, 475);
this.buttonTest.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonTest.Name = "buttonTest";
this.buttonTest.NestedClickEventPrevent = false;
@ -501,6 +501,7 @@
this.buttonTest.TextLocation = new System.Drawing.Point(0, 0);
this.buttonTest.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonTest.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonTest.UpImage")));
this.buttonTest.Visible = false;
this.buttonTest.Click += new System.EventHandler(this.buttonMenu_Click);
//
// labelUserLevel
@ -557,7 +558,7 @@
this.buttonUser.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonUser.DownImage")));
this.buttonUser.GroupID = 0;
this.buttonUser.InitVisible = true;
this.buttonUser.Location = new System.Drawing.Point(213, 349);
this.buttonUser.Location = new System.Drawing.Point(591, 349);
this.buttonUser.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonUser.Name = "buttonUser";
this.buttonUser.NestedClickEventPrevent = false;
@ -576,37 +577,37 @@
this.buttonUser.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonUser.UpImage")));
this.buttonUser.Click += new System.EventHandler(this.buttonMenu_Click);
//
// buttonFunction
// buttonHidden
//
this.buttonFunction.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonFunction.BackPictureBox = null;
this.buttonFunction.BackPictureBox1 = null;
this.buttonFunction.BackPictureBox2 = null;
this.buttonFunction.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonFunction.ButtonImageAutoSize = true;
this.buttonFunction.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonFunction.DisableImage = null;
this.buttonFunction.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonFunction.DownImage")));
this.buttonFunction.GroupID = 0;
this.buttonFunction.InitVisible = true;
this.buttonFunction.Location = new System.Drawing.Point(719, 449);
this.buttonFunction.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonFunction.Name = "buttonFunction";
this.buttonFunction.NestedClickEventPrevent = false;
this.buttonFunction.OutlinePixel = 1;
this.buttonFunction.RepeatInterval = 200;
this.buttonFunction.RepeatIntervalAccelerate = null;
this.buttonFunction.SafeInterval = 200;
this.buttonFunction.Size = new System.Drawing.Size(70, 70);
this.buttonFunction.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.SAFE;
this.buttonFunction.TabIndex = 162;
this.buttonFunction.TextColor = System.Drawing.Color.Black;
this.buttonFunction.TextDownColor = System.Drawing.Color.White;
this.buttonFunction.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonFunction.TextLocation = new System.Drawing.Point(0, 0);
this.buttonFunction.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonFunction.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonFunction.UpImage")));
this.buttonFunction.Click += new System.EventHandler(this.buttonFunction_Click);
this.buttonHidden.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonHidden.BackPictureBox = null;
this.buttonHidden.BackPictureBox1 = null;
this.buttonHidden.BackPictureBox2 = null;
this.buttonHidden.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonHidden.ButtonImageAutoSize = true;
this.buttonHidden.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonHidden.DisableImage = null;
this.buttonHidden.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonHidden.DownImage")));
this.buttonHidden.GroupID = 0;
this.buttonHidden.InitVisible = true;
this.buttonHidden.Location = new System.Drawing.Point(719, 449);
this.buttonHidden.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonHidden.Name = "buttonHidden";
this.buttonHidden.NestedClickEventPrevent = false;
this.buttonHidden.OutlinePixel = 1;
this.buttonHidden.RepeatInterval = 200;
this.buttonHidden.RepeatIntervalAccelerate = null;
this.buttonHidden.SafeInterval = 200;
this.buttonHidden.Size = new System.Drawing.Size(70, 70);
this.buttonHidden.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.SAFE;
this.buttonHidden.TabIndex = 162;
this.buttonHidden.TextColor = System.Drawing.Color.Black;
this.buttonHidden.TextDownColor = System.Drawing.Color.White;
this.buttonHidden.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonHidden.TextLocation = new System.Drawing.Point(0, 0);
this.buttonHidden.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonHidden.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonHidden.UpImage")));
this.buttonHidden.Click += new System.EventHandler(this.buttonHidden_Click);
//
// buttonCommunication
//
@ -668,6 +669,7 @@
this.buttonDataStatistics.TextLocation = new System.Drawing.Point(0, 0);
this.buttonDataStatistics.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonDataStatistics.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDataStatistics.UpImage")));
this.buttonDataStatistics.Visible = false;
this.buttonDataStatistics.Click += new System.EventHandler(this.buttonMenu_Click);
//
// buttonDataViewer
@ -699,6 +701,7 @@
this.buttonDataViewer.TextLocation = new System.Drawing.Point(0, 0);
this.buttonDataViewer.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonDataViewer.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDataViewer.UpImage")));
this.buttonDataViewer.Visible = false;
this.buttonDataViewer.Click += new System.EventHandler(this.buttonMenu_Click);
//
// labelExpireOfPassword
@ -722,17 +725,50 @@
this.labelExpireOfPassword.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelExpireOfPassword.Wordwrap = false;
//
// buttonOption
//
this.buttonOption.BackPictureBox = null;
this.buttonOption.BackPictureBox1 = null;
this.buttonOption.BackPictureBox2 = null;
this.buttonOption.ButtonColor = System.Drawing.Color.Gray;
this.buttonOption.ButtonImageAutoSize = true;
this.buttonOption.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOption.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonOption.DisableImage")));
this.buttonOption.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonOption.DownImage")));
this.buttonOption.GroupID = 0;
this.buttonOption.InitVisible = true;
this.buttonOption.Location = new System.Drawing.Point(213, 475);
this.buttonOption.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonOption.Name = "buttonOption";
this.buttonOption.NestedClickEventPrevent = false;
this.buttonOption.OutlinePixel = 1;
this.buttonOption.RepeatInterval = 200;
this.buttonOption.RepeatIntervalAccelerate = null;
this.buttonOption.SafeInterval = 200;
this.buttonOption.Size = new System.Drawing.Size(120, 120);
this.buttonOption.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonOption.TabIndex = 175;
this.buttonOption.TextColor = System.Drawing.Color.Black;
this.buttonOption.TextDownColor = System.Drawing.Color.White;
this.buttonOption.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonOption.TextLocation = new System.Drawing.Point(0, 0);
this.buttonOption.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonOption.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonOption.UpImage")));
this.buttonOption.Visible = false;
this.buttonOption.Click += new System.EventHandler(this.buttonMenu_Click);
//
// FormMenu
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(800, 600);
this.Controls.Add(this.buttonOption);
this.Controls.Add(this.labelExpireOfPassword);
this.Controls.Add(this.buttonDataViewer);
this.Controls.Add(this.buttonDataStatistics);
this.Controls.Add(this.buttonCommunication);
this.Controls.Add(this.buttonFunction);
this.Controls.Add(this.buttonHidden);
this.Controls.Add(this.buttonUser);
this.Controls.Add(this.labelUserID);
this.Controls.Add(this.labelUserLevel);
@ -780,10 +816,11 @@
private SmartX.SmartLabel labelUserLevel;
private SmartX.SmartLabel labelUserID;
private SmartX.SmartButton buttonUser;
private SmartX.SmartButton buttonFunction;
private SmartX.SmartButton buttonHidden;
private SmartX.SmartButton buttonCommunication;
private SmartX.SmartButton buttonDataStatistics;
private SmartX.SmartButton buttonDataViewer;
private SmartX.SmartLabel labelExpireOfPassword;
private SmartX.SmartButton buttonOption;
}
}

View File

@ -100,6 +100,9 @@ namespace INT69DB_2A.Forms
this.buttonDataViewer.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMenuDataViewerDisable));
this.buttonDataViewer.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMenuDataViewerDown));
this.buttonDataViewer.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMenuDataViewerUp));
this.buttonOption.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMenuOptionDisable));
this.buttonOption.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMenuOptionDown));
this.buttonOption.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMenuOptionUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
{
@ -153,6 +156,9 @@ namespace INT69DB_2A.Forms
this.buttonDataViewer.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMenuDataViewerDisable));
this.buttonDataViewer.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMenuDataViewerDown));
this.buttonDataViewer.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMenuDataViewerUp));
this.buttonOption.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMenuOptionDisable));
this.buttonOption.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMenuOptionDown));
this.buttonOption.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMenuOptionUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
{
@ -171,12 +177,9 @@ namespace INT69DB_2A.Forms
this.labelUserLevel.Visible = false;
this.labelExpireOfPassword.Visible = false;
this.buttonEquipment.Visible = false;
this.buttonUser.Visible = false;
this.buttonTest.Visible = false;
this.buttonTest.Location = new Point(339, 349);
this.buttonTest.BringToFront();
this.buttonOption.Visible = false;
if (this.ParentForm.SystemConfig.IsPart11 == false)
{
@ -191,7 +194,31 @@ namespace INT69DB_2A.Forms
public void UpdateDisplayUser(UserItem user)
{
string id = "", group = "", expireDate = "";
string id = "", group = "", expirePW = "";
int expireDate = 0;
Color colorExpirePW = this.ParentForm.ColorLogOff;
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.buttonDataStatistics.Visible = true;
this.buttonDataViewer.Visible = true;
this.buttonUser.Visible = true;
}
else
{
this.buttonDataStatistics.Visible = false;
this.buttonDataViewer.Visible = false;
if (this.ParentForm.SystemConfig.IsLogin == true)
{
this.buttonUser.Location = new Point(this.buttonDataStatistics.Location.X, this.buttonDataStatistics.Location.Y);
this.buttonUser.Visible = true;
}
else
{
this.buttonUser.Visible = false;
}
}
switch (user.Group)
{
@ -202,7 +229,11 @@ namespace INT69DB_2A.Forms
group = this.ParentForm.SystemConfig.User_Level1_Name;
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.labelExpireOfPassword.Visible = true;
this.buttonDataStatistics.Visible = true;
this.buttonDataViewer.Visible = true;
}
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
@ -210,7 +241,7 @@ namespace INT69DB_2A.Forms
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuStatistics;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuCommunication;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuCalibration;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuSystem;
@ -219,20 +250,25 @@ namespace INT69DB_2A.Forms
this.buttonInitialization.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuInitialization;
this.buttonIOTest.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuIOTest;
this.buttonEquipment.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuEquipment;
this.buttonTime.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuTime;
this.buttonUser.Enabled = true;
this.buttonDataStatistics.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuStatistics;
this.buttonDataViewer.Enabled = this.ParentForm.CurrentUserGroup.Level1.IsMenuViewer;
this.buttonEquipment.Visible = false;
this.buttonTest.Visible = false;
this.buttonOption.Visible = false;
break;
case DataStore.UserGroup.Level2:
id = user.ID;
group = this.ParentForm.SystemConfig.User_Level2_Name;
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.labelExpireOfPassword.Visible = true;
this.buttonDataStatistics.Visible = true;
this.buttonDataViewer.Visible = true;
}
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
@ -240,7 +276,7 @@ namespace INT69DB_2A.Forms
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuStatistics;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuCommunication;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuCalibration;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuSystem;
@ -249,20 +285,25 @@ namespace INT69DB_2A.Forms
this.buttonInitialization.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuInitialization;
this.buttonIOTest.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuIOTest;
this.buttonEquipment.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuEquipment;
this.buttonTime.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuTime;
this.buttonUser.Enabled = true;
this.buttonDataStatistics.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuStatistics;
this.buttonDataViewer.Enabled = this.ParentForm.CurrentUserGroup.Level2.IsMenuViewer;
this.buttonEquipment.Visible = false;
this.buttonTest.Visible = false;
this.buttonOption.Visible = false;
break;
case DataStore.UserGroup.Level3:
id = user.ID;
group = this.ParentForm.SystemConfig.User_Level3_Name;
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.labelExpireOfPassword.Visible = true;
this.buttonDataStatistics.Visible = true;
this.buttonDataViewer.Visible = true;
}
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
@ -270,7 +311,7 @@ namespace INT69DB_2A.Forms
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuStatistics;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuCommunication;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuCalibration;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuSystem;
@ -279,13 +320,14 @@ namespace INT69DB_2A.Forms
this.buttonInitialization.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuInitialization;
this.buttonIOTest.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuIOTest;
this.buttonEquipment.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuEquipment;
this.buttonTime.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuTime;
this.buttonUser.Enabled = true;
this.buttonDataStatistics.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuStatistics;
this.buttonDataViewer.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuViewer;
this.buttonEquipment.Visible = false;
this.buttonTest.Visible = false;
this.buttonOption.Visible = false;
break;
case DataStore.UserGroup.Admin:
id = user.ID;
@ -299,30 +341,35 @@ namespace INT69DB_2A.Forms
group = "Administrator";
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
this.labelExpireOfPassword.Visible = true;
this.buttonDataStatistics.Visible = true;
this.buttonDataViewer.Visible = true;
}
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuInformation;
this.buttonDataBackup.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuDataBackup;
this.buttonConfiguration.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuConfiguration;
this.buttonCommunication.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuStatistics;
this.buttonCalibration.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuCalibration;
this.buttonInformation.Enabled = true;
this.buttonDataBackup.Enabled = true;
this.buttonConfiguration.Enabled = true;
this.buttonCommunication.Enabled = true;
this.buttonCalibration.Enabled = true;
this.buttonSystem.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuSystem;
this.buttonMotor.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuMotor;
this.buttonUpdate.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuUpdate;
this.buttonInitialization.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuInitialization;
this.buttonIOTest.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuIOTest;
this.buttonSystem.Enabled = true;
this.buttonMotor.Enabled = true;
this.buttonUpdate.Enabled = true;
this.buttonInitialization.Enabled = true;
this.buttonIOTest.Enabled = true;
this.buttonTime.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuTime;
this.buttonEquipment.Enabled = true;
this.buttonTime.Enabled = true;
this.buttonUser.Enabled = true;
this.buttonDataStatistics.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuStatistics;
this.buttonDataViewer.Enabled = this.ParentForm.CurrentUserGroup.Level3.IsMenuViewer;
this.buttonDataStatistics.Enabled = true;
this.buttonDataViewer.Enabled = true;
this.buttonEquipment.Visible = false;
this.buttonTest.Visible = false;
this.buttonOption.Visible = false;
break;
case DataStore.UserGroup.Developer:
id = user.ID;
@ -355,12 +402,12 @@ namespace INT69DB_2A.Forms
this.buttonEquipment.Enabled = true;
this.buttonTime.Enabled = true;
this.buttonUser.Enabled = true;
this.buttonDataStatistics.Enabled = true;
this.buttonDataViewer.Enabled = true;
this.buttonUser.Enabled = true;
this.buttonEquipment.Visible = true;
this.buttonTest.Visible = true;
this.buttonOption.Visible = true;
break;
case DataStore.UserGroup.NotLogin:
this.buttonInformation.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuInformation;
@ -375,13 +422,15 @@ namespace INT69DB_2A.Forms
this.buttonInitialization.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuInitialization;
this.buttonIOTest.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuIOTest;
this.buttonEquipment.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuEquipment;
this.buttonTime.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuTime;
this.buttonDataViewer.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuViewer;
this.buttonDataStatistics.Enabled = this.ParentForm.CurrentUserGroup.NotLogin.IsMenuStatistics;
this.buttonEquipment.Visible = false;
this.buttonDataViewer.Visible = false;
this.buttonDataStatistics.Visible = false;
this.buttonTest.Visible = false;
this.buttonUser.Visible = false;
this.buttonOption.Visible = false;
break;
case DataStore.UserGroup.LogOut:
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
@ -399,49 +448,30 @@ namespace INT69DB_2A.Forms
break;
}
if (this.ParentForm.SystemConfig.IsLogin == true)
{
if (this.ParentForm.SystemConfig.IsPart11 == true)
{
expireDate = this.ParentForm.ChildFormMainDisplay.DisplayExpireOfPassword(user.Group);
if (expireDate != "-")
if (user.ExpirePassword != 0)
{
int intExpireDate = int.Parse(expireDate);
expireDate = user.GetPasswordExpiryDday();
colorExpirePW = this.ParentForm.ColorLogOn;
expirePW = "-";
if (intExpireDate == 0)
if (expireDate < 9999)
{
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOff;
this.labelExpireOfPassword.Text = "D-0";
}
else if (intExpireDate < 0)
if (expireDate >= -10)
{
if (intExpireDate * -1 > this.ParentForm.SystemConfig.CurrentUser.ExpirePassword)
expireDate = "-" + (this.ParentForm.SystemConfig.CurrentUser.ExpirePassword - 1).ToString();
this.labelExpireOfPassword.Text = "D" + expireDate;
if (intExpireDate >= -10)
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOff;
colorExpirePW = this.ParentForm.ColorLogOff;
if (expireDate > 0)
expirePW = string.Format("D+{0}", expireDate);
else
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
expirePW = string.Format("D{0}", expireDate);
}
else
{
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "D+" + expireDate;
colorExpirePW = this.ParentForm.ColorLogOn;
expirePW = string.Format("D{0}", expireDate);
}
}
else
{
// Administrator or Developer
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "-";
}
}
else
{
// Part11 미사용
this.labelExpireOfPassword.ForeColor = this.ParentForm.ColorLogOn;
this.labelExpireOfPassword.Text = "-";
}
}
@ -449,6 +479,10 @@ namespace INT69DB_2A.Forms
this.labelUserID.Text = id;
if (this.labelUserLevel.Text != group)
this.labelUserLevel.Text = group;
if (this.labelExpireOfPassword.ForeColor != colorExpirePW)
this.labelExpireOfPassword.ForeColor = colorExpirePW;
if (this.labelExpireOfPassword.Text != expirePW)
this.labelExpireOfPassword.Text = expirePW;
}
public void DisplayRefresh()
@ -617,20 +651,43 @@ namespace INT69DB_2A.Forms
}
#endregion
}
else if (button == this.buttonOption)
{
#region 옵션설정
DialogFormPasswordKeyPad password = new DialogFormPasswordKeyPad(8, this.ParentForm.SystemConfig.Language);
DialogResult dialogResult = password.ShowDialog();
if (dialogResult == DialogResult.OK)
{
if (this.ParentForm.ChildFormOption != null)
{
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormOption);
this.ParentForm.ChildFormOption.DisplayRefresh();
}
}
#endregion
}
}
private void buttonBack_Click(object sender, EventArgs e)
{
this.ParentForm.ChildFormMainDisplay.DisplayRefresh();
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormMainDisplay);
}
private void buttonFunction_Click(object sender, EventArgs e)
private void buttonHidden_Click(object sender, EventArgs e)
{
if (this.ParentForm.SystemConfig.IsLogin == false)
{
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Developer;
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
}
else
{
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Admin)
{
this.buttonEquipment.Visible = true;
this.buttonTest.Visible = true;
this.buttonOption.Visible = true;
}
}
}
#endregion
}

View File

@ -7163,7 +7163,7 @@
AElFTkSuQmCC
</value>
</data>
<data name="buttonFunction.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="buttonHidden.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAIAAAD+THXTAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -7215,7 +7215,7 @@
kqCSoJKgkqCSoJKgkqCSoJKgkqCSoJKgkuC70s4DjamXckBbwmcAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonFunction.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="buttonHidden.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAIAAAD+THXTAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
@ -8851,6 +8851,515 @@
xVSUNmbjx4ICx6Ggtwqg0CvQlIEY3O/cubP34M7Pf/gvBu8yaOIfXbfg2QjcqG7UNYhjJb4KsiEgwjYO
HSM1NdXf3x8v21v3bLQAawkaxj4Eez7sr096nPDy8sIyQW+Vp5fnCQ9318N7Nu5cb8HT5E2f/B8vsfiO
CBSRowAAAABJRU5ErkJggg==
</value>
</data>
<data name="buttonOption.DisableImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net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rsC9CqbWRpSnDh0AeCXkyOCUmuVibPCGHkPSoPgMdoU4aXjQj
EveafKTrBbcek+ngohmFCGoqWS0XfGAmgjLdwYaIpv7l1pF04QsnFsgUQ5+U7VyFNrkhlXXq1Injc+T6
zG/90pCiuQwSNAPa5MmT9aa1IfcvlYP1SYIvKEYl22RkZLCxX7jB/ZZZVB0TJkxgKsgwQALxCwNAoLGU
7EEXktmo6BnSOWHzI6YhDIPAm5L9btsyNKRoZslSlgaBoYxH3cEHiTjZMhBMx0F3sMEdw7xDxoNA8O7W
R9W+8BK6KV1I5RyNLMQjVyS7yPB42zSk6LsJ6c47CWEvHNFhwhEdJhzRYcIRHSYc0WHCER0mHNFholZ0
ZWXA71o43DkrVxep6LWl4fhnwk2WJfm5KnrhkmxtcwgBE6dPUNHDxw7RNocQkDCoq4puG/e38g2uL6w4
NDjLC5dhWEWzDEsJ+OM+h9umqqpKwrlWNEtm1iR93aGBSH4u0dJbKzq6y19nzJ2qmzjcGTU11WMnJVlu
WWpFyzI0eWBJ2e38hNTBonBlQZ9hCV5ivUWzMDZSh+TkZZeVl1ZXR+aP8v3XsbVqa0nZmrk5swYm9m0T
G+WllMWPaGdp+CW21f8DA3XMldpRCOYAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonOption.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAIAAAC2BqGFAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUf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mVFBVILOGXql/kVoB5lPafBpXQATSmzXf7UhCKGjG/OFCsE1kqFXeeZNpbpdpiz
qfV8FjR0hd1y+A14YZAFX4qYzmaMRZlmGnzKnDmzHR8VtvufiFDKY5kzw5MIRWwodFdfX9/AwEBERITN
2mWUMAt6psVUOJCUlBQABVbAhdDQx3cXE0FM+8oX2u9PRcB3HMSUJgQojUp/fz8Q4zcmJgbmS/FqQUNn
W36PHQEBATBkmC3IUvs1DHqUr579cky5jn5aQrFSMQqX48gJgPJlkJGhoSHY4pkzZ1astZq26GsOrxY0
1SW2Zp6enoGBgYiKMG3A5chSy+WbLWcCXEcNH7FPSyhTCB8rnyMnAMrJ8PAwDgMcpMKw1C1btpjbLNQD
qw8aijwEOR/ya6dNjm5ubqjRP8sHxdXN1XHTRtt1NgutZuvxJGry1f8HkiP9QzjFZokAAAAASUVORK5C
YII=
</value>
</data>
<data name="buttonOption.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAIAAAC2BqGFAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZ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QPRNM9VUgx1TJWcZWV
lVFRUb4Bn5BhJnrx6gXh4eEpKSk4jDkE8zV0Y5YBGKlhF4jCZABpBQUFEAiNmCRQvqR3QjRiyZr3cODs
2bPoitJGb3wsKHDsatgFojBXYFKGYng/cuTIpoD1C33e5XonRFN87LcSz0boRnWjrmEcI/FTQwEowjIO
M8bt27fpf+Gs8vUSiBWKRmAdgjUf1tehO0N0Oh2Gadhlj25PyM5gv898vdYvEfi0hvfc/wNFvsYRhkH2
EAAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">

View File

@ -2151,19 +2151,19 @@ namespace INT69DB_2A.Forms
{
case (int)DataStore.StepMotorType.MDrive:
if (this.ParentForm.SystemConfig.IsImpellerMotorDirectionCW == true)
value = this.DeviceName + "MR -" + this.CurrentAngle + "00";
value = "MR -" + this.CurrentAngle + "00";
else
value = this.DeviceName + "MR " + this.CurrentAngle + "00";
value = "MR " + this.CurrentAngle + "00";
this.TransferDirectSTXETX0x0ACOM1(this.DeviceName + value);
break;
case (int)DataStore.StepMotorType.Moons:
if (this.ParentForm.SystemConfig.IsImpellerMotorDirectionCW == true)
value = this.SelectImpellerTag + "FL-" + this.CurrentAngle + "00";
value = "FL-" + this.CurrentAngle + "00";
else
value = this.SelectImpellerTag + "FL" + this.CurrentAngle + "00";
value = "FL" + this.CurrentAngle + "00";
this.TransferDirectETX0x0DCOM1(value);
this.TransferDirectETX0x0DCOM1(this.SelectImpellerTag + value);
break;
default:
break;
@ -2192,7 +2192,7 @@ namespace INT69DB_2A.Forms
else
value = "FL-" + this.CurrentAngle + "00";
this.TransferDirectETX0x0D(value);
this.TransferDirectETX0x0D(this.SelectImpellerTag + value);
break;
default:
break;

View File

@ -0,0 +1,309 @@
namespace INT69DB_2A.Forms
{
partial class FormOption
{
/// <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 Windows Form 디자이너에서 생성한 코드
/// <summary>
/// 디자이너 지원에 필요한 메서드입니다.
/// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormOption));
this.smartForm1 = new SmartX.SmartForm();
this.labelTitle = new SmartX.SmartLabel();
this.pictureBoxFormIcon = new System.Windows.Forms.PictureBox();
this.buttonSave = new SmartX.SmartButton();
this.buttonBack = new SmartX.SmartButton();
this.buttonStatistics = new SmartX.SmartButton();
this.labelTitleStatistics = new SmartX.SmartLabel();
this.buttonPart11 = new SmartX.SmartButton();
this.labelTitlePart11 = new SmartX.SmartLabel();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
//
// smartForm1
//
this.smartForm1.CenterLocation = false;
this.smartForm1.Image = ((System.Drawing.Image)(resources.GetObject("smartForm1.Image")));
this.smartForm1.LCDDirection = SmartX.SmartForm.LCDDIRECTIONS.HORIZONTAL;
this.smartForm1.LCDSize = SmartX.SmartForm.LCDRESOLUTION.LCD800X600;
this.smartForm1.Location = new System.Drawing.Point(0, 0);
this.smartForm1.MainForm = null;
this.smartForm1.Mode = SmartX.SmartForm.RUNMODE.RUNTIME;
this.smartForm1.MouseCursor = SmartX.SmartForm.OnOff.OFF;
this.smartForm1.Name = "smartForm1";
this.smartForm1.Size = new System.Drawing.Size(800, 600);
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.SuspendLayoutInterval = 0;
//
// labelTitle
//
this.labelTitle.BackPictureBox = this.smartForm1;
this.labelTitle.BackPictureBox1 = null;
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("새굴림", 23F, System.Drawing.FontStyle.Bold);
this.labelTitle.ForeColor = System.Drawing.Color.White;
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(69, 11);
this.labelTitle.Name = "labelTitle";
this.labelTitle.Size = new System.Drawing.Size(382, 45);
this.labelTitle.TabIndex = 162;
this.labelTitle.Text = "옵션설정";
this.labelTitle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle.Wordwrap = false;
//
// pictureBoxFormIcon
//
this.pictureBoxFormIcon.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxFormIcon.Image")));
this.pictureBoxFormIcon.Location = new System.Drawing.Point(16, 11);
this.pictureBoxFormIcon.Name = "pictureBoxFormIcon";
this.pictureBoxFormIcon.Size = new System.Drawing.Size(47, 45);
//
// buttonSave
//
this.buttonSave.BackPictureBox = null;
this.buttonSave.BackPictureBox1 = null;
this.buttonSave.BackPictureBox2 = null;
this.buttonSave.ButtonColor = System.Drawing.Color.Gray;
this.buttonSave.ButtonImageAutoSize = true;
this.buttonSave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSave.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonSave.DisableImage")));
this.buttonSave.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonSave.DownImage")));
this.buttonSave.GroupID = 0;
this.buttonSave.InitVisible = true;
this.buttonSave.Location = new System.Drawing.Point(644, 525);
this.buttonSave.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonSave.Name = "buttonSave";
this.buttonSave.NestedClickEventPrevent = false;
this.buttonSave.OutlinePixel = 1;
this.buttonSave.RepeatInterval = 200;
this.buttonSave.RepeatIntervalAccelerate = null;
this.buttonSave.SafeInterval = 200;
this.buttonSave.Size = new System.Drawing.Size(70, 70);
this.buttonSave.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonSave.TabIndex = 220;
this.buttonSave.TextColor = System.Drawing.Color.Black;
this.buttonSave.TextDownColor = System.Drawing.Color.White;
this.buttonSave.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonSave.TextLocation = new System.Drawing.Point(0, 0);
this.buttonSave.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonSave.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonSave.UpImage")));
this.buttonSave.Visible = false;
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
//
// buttonBack
//
this.buttonBack.BackPictureBox = null;
this.buttonBack.BackPictureBox1 = null;
this.buttonBack.BackPictureBox2 = null;
this.buttonBack.ButtonColor = System.Drawing.Color.Gray;
this.buttonBack.ButtonImageAutoSize = true;
this.buttonBack.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBack.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.DisableImage")));
this.buttonBack.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.DownImage")));
this.buttonBack.GroupID = 0;
this.buttonBack.InitVisible = true;
this.buttonBack.Location = new System.Drawing.Point(720, 525);
this.buttonBack.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonBack.Name = "buttonBack";
this.buttonBack.NestedClickEventPrevent = false;
this.buttonBack.OutlinePixel = 1;
this.buttonBack.RepeatInterval = 200;
this.buttonBack.RepeatIntervalAccelerate = null;
this.buttonBack.SafeInterval = 200;
this.buttonBack.Size = new System.Drawing.Size(70, 70);
this.buttonBack.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonBack.TabIndex = 219;
this.buttonBack.TextColor = System.Drawing.Color.Black;
this.buttonBack.TextDownColor = System.Drawing.Color.White;
this.buttonBack.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonBack.TextLocation = new System.Drawing.Point(0, 0);
this.buttonBack.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonBack.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.UpImage")));
this.buttonBack.Click += new System.EventHandler(this.buttonBack_Click);
//
// buttonStatistics
//
this.buttonStatistics.BackPictureBox = null;
this.buttonStatistics.BackPictureBox1 = null;
this.buttonStatistics.BackPictureBox2 = null;
this.buttonStatistics.ButtonColor = System.Drawing.Color.Gray;
this.buttonStatistics.ButtonImageAutoSize = true;
this.buttonStatistics.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonStatistics.DisableImage = null;
this.buttonStatistics.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonStatistics.DownImage")));
this.buttonStatistics.GroupID = 0;
this.buttonStatistics.InitVisible = true;
this.buttonStatistics.Location = new System.Drawing.Point(408, 214);
this.buttonStatistics.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonStatistics.Name = "buttonStatistics";
this.buttonStatistics.NestedClickEventPrevent = false;
this.buttonStatistics.OutlinePixel = 1;
this.buttonStatistics.RepeatInterval = 200;
this.buttonStatistics.RepeatIntervalAccelerate = null;
this.buttonStatistics.SafeInterval = 200;
this.buttonStatistics.Size = new System.Drawing.Size(84, 25);
this.buttonStatistics.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonStatistics.TabIndex = 224;
this.buttonStatistics.TextColor = System.Drawing.Color.Black;
this.buttonStatistics.TextDownColor = System.Drawing.Color.White;
this.buttonStatistics.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonStatistics.TextLocation = new System.Drawing.Point(0, 0);
this.buttonStatistics.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonStatistics.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonStatistics.UpImage")));
this.buttonStatistics.Visible = false;
this.buttonStatistics.Click += new System.EventHandler(this.Control_Click);
//
// labelTitleStatistics
//
this.labelTitleStatistics.BackPictureBox = this.smartForm1;
this.labelTitleStatistics.BackPictureBox1 = null;
this.labelTitleStatistics.BackPictureBox2 = null;
this.labelTitleStatistics.BorderColor = System.Drawing.Color.Black;
this.labelTitleStatistics.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleStatistics.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleStatistics.InitVisible = true;
this.labelTitleStatistics.LineSpacing = 0F;
this.labelTitleStatistics.Location = new System.Drawing.Point(202, 214);
this.labelTitleStatistics.Name = "labelTitleStatistics";
this.labelTitleStatistics.Size = new System.Drawing.Size(200, 25);
this.labelTitleStatistics.TabIndex = 223;
this.labelTitleStatistics.Text = "Data Statistics";
this.labelTitleStatistics.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelTitleStatistics.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleStatistics.Visible = false;
this.labelTitleStatistics.Wordwrap = false;
//
// buttonPart11
//
this.buttonPart11.BackPictureBox = null;
this.buttonPart11.BackPictureBox1 = null;
this.buttonPart11.BackPictureBox2 = null;
this.buttonPart11.ButtonColor = System.Drawing.Color.Gray;
this.buttonPart11.ButtonImageAutoSize = true;
this.buttonPart11.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonPart11.DisableImage = null;
this.buttonPart11.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonPart11.DownImage")));
this.buttonPart11.GroupID = 0;
this.buttonPart11.InitVisible = true;
this.buttonPart11.Location = new System.Drawing.Point(408, 183);
this.buttonPart11.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonPart11.Name = "buttonPart11";
this.buttonPart11.NestedClickEventPrevent = false;
this.buttonPart11.OutlinePixel = 1;
this.buttonPart11.RepeatInterval = 200;
this.buttonPart11.RepeatIntervalAccelerate = null;
this.buttonPart11.SafeInterval = 200;
this.buttonPart11.Size = new System.Drawing.Size(84, 25);
this.buttonPart11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonPart11.TabIndex = 222;
this.buttonPart11.TextColor = System.Drawing.Color.Black;
this.buttonPart11.TextDownColor = System.Drawing.Color.White;
this.buttonPart11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonPart11.TextLocation = new System.Drawing.Point(0, 0);
this.buttonPart11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonPart11.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonPart11.UpImage")));
this.buttonPart11.Click += new System.EventHandler(this.Control_Click);
//
// labelTitlePart11
//
this.labelTitlePart11.BackPictureBox = this.smartForm1;
this.labelTitlePart11.BackPictureBox1 = null;
this.labelTitlePart11.BackPictureBox2 = null;
this.labelTitlePart11.BorderColor = System.Drawing.Color.Black;
this.labelTitlePart11.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitlePart11.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitlePart11.InitVisible = true;
this.labelTitlePart11.LineSpacing = 0F;
this.labelTitlePart11.Location = new System.Drawing.Point(202, 183);
this.labelTitlePart11.Name = "labelTitlePart11";
this.labelTitlePart11.Size = new System.Drawing.Size(200, 25);
this.labelTitlePart11.TabIndex = 221;
this.labelTitlePart11.Text = "Part11";
this.labelTitlePart11.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelTitlePart11.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitlePart11.Wordwrap = false;
//
// smartGroupBox1
//
this.smartGroupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
this.smartGroupBox1.BackPictureBox = null;
this.smartGroupBox1.BackPictureBox1 = null;
this.smartGroupBox1.Controls.Add(this.labelTitlePart11);
this.smartGroupBox1.Controls.Add(this.buttonStatistics);
this.smartGroupBox1.Controls.Add(this.buttonPart11);
this.smartGroupBox1.Controls.Add(this.labelTitleStatistics);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.Black;
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.Black;
this.smartGroupBox1.FrameLineThickness = 1;
this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.None;
this.smartGroupBox1.Image = null;
this.smartGroupBox1.InitVisible = true;
this.smartGroupBox1.Location = new System.Drawing.Point(3, 70);
this.smartGroupBox1.Name = "smartGroupBox1";
this.smartGroupBox1.RoundRadius = 5;
this.smartGroupBox1.Size = new System.Drawing.Size(794, 448);
this.smartGroupBox1.TabIndex = 225;
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
//
// FormOption
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(800, 600);
this.Controls.Add(this.smartGroupBox1);
this.Controls.Add(this.buttonSave);
this.Controls.Add(this.buttonBack);
this.Controls.Add(this.labelTitle);
this.Controls.Add(this.pictureBoxFormIcon);
this.Controls.Add(this.smartForm1);
this.Name = "FormOption";
this.Text = "FormOption";
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).EndInit();
this.smartGroupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartForm smartForm1;
private SmartX.SmartLabel labelTitle;
private System.Windows.Forms.PictureBox pictureBoxFormIcon;
private SmartX.SmartButton buttonSave;
private SmartX.SmartButton buttonBack;
private SmartX.SmartButton buttonStatistics;
private SmartX.SmartLabel labelTitleStatistics;
private SmartX.SmartButton buttonPart11;
private SmartX.SmartLabel labelTitlePart11;
private SmartX.SmartGroupBox smartGroupBox1;
}
}

View File

@ -0,0 +1,138 @@
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 INT69DB_2A_ImageDll;
using INT69DB_2A.DialogForms;
using SmartX;
namespace INT69DB_2A.Forms
{
public partial class FormOption : Form
{
#region Field
private FormMain m_ParentForm;
#endregion
#region Constructor
public FormOption(FormMain parent)
{
InitializeComponent();
this.ParentForm = parent;
this.InitializeDesign();
this.InitializeControl();
}
#endregion
#region Property
public FormMain ParentForm
{
get { return this.m_ParentForm; }
private set { this.m_ParentForm = value; }
}
#endregion
#region Method
private void InitializeDesign()
{
ImageDll images = new ImageDll();
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
{
this.labelTitle.Text = "Option Setting";
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
{
this.labelTitle.Text = "选项设置";
this.buttonPart11.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnEnable));
this.buttonPart11.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnDisable));
this.buttonStatistics.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnEnable));
this.buttonStatistics.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnDisable));
}
else
{
}
}
private void InitializeControl()
{
}
private void UpdateParameter()
{
// Part11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.buttonPart11.ButtonDown();
else
this.buttonPart11.ButtonUp();
// 데이터 통계 기능 사용 유무
if (this.ParentForm.SystemConfig.IsOptDataStatistics == true)
this.buttonStatistics.ButtonDown();
else
this.buttonStatistics.ButtonUp();
this.buttonSave.Visible = false;
}
public void DisplayRefresh()
{
this.UpdateParameter();
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormOption;
}
#endregion
#region Event Handler
private void Control_Click(object sender, EventArgs e)
{
if (this.buttonSave.Visible == false)
this.buttonSave.Visible = true;
if (this.buttonPart11.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
this.buttonStatistics.ButtonDown();
}
private void buttonSave_Click(object sender, EventArgs e)
{
// Part11
if (this.buttonPart11.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsPart11 = true;
this.ParentForm.SystemConfig.IsDataBackup = true;
this.ParentForm.SystemConfig.IsLogin = true;
}
else
this.ParentForm.SystemConfig.IsPart11 = false;
// 데이터 통계 기능 사용 유무
if (this.buttonStatistics.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsOptDataStatistics = true;
else
this.ParentForm.SystemConfig.IsOptDataStatistics = false;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
DialogFormMessage myMsg = new DialogFormMessage(18, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
this.smartGroupBox1.Enabled = false;
this.buttonBack.Visible = false;
this.buttonSave.Visible = false;
}
private void buttonBack_Click(object sender, EventArgs e)
{
this.ParentForm.ChildFormMenu.DisplayRefresh();
((FormMain)(Owner)).smartForm.Show((int)DataStore.FormStore.FormMenu);
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@ -43,8 +43,8 @@
this.labelTitleDayPassword = new SmartX.SmartLabel();
this.labelTitleDayAccount = new SmartX.SmartLabel();
this.labelTitleMin = new SmartX.SmartLabel();
this.labelStatusExpirePassword = new SmartX.SmartLabel();
this.labelStatusExpireAccount = new SmartX.SmartLabel();
this.labelStatusExpiryPassword = new SmartX.SmartLabel();
this.labelStatusExpiryAccount = new SmartX.SmartLabel();
this.labelAutomaticLogoutTime = new SmartX.SmartLabel();
this.labelTitleAutomaticLogoutTime = new SmartX.SmartLabel();
this.labelExpiryDateOfPassword2 = new SmartX.SmartLabel();
@ -82,6 +82,7 @@
this.buttonNew = new SmartX.SmartButton();
this.buttonBack = new SmartX.SmartButton();
this.buttonGroupEditor = new SmartX.SmartButton();
this.labelEquipment = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox1.SuspendLayout();
this.smartGroupBox2.SuspendLayout();
@ -172,8 +173,8 @@
this.smartGroupBox1.Controls.Add(this.labelTitleDayPassword);
this.smartGroupBox1.Controls.Add(this.labelTitleDayAccount);
this.smartGroupBox1.Controls.Add(this.labelTitleMin);
this.smartGroupBox1.Controls.Add(this.labelStatusExpirePassword);
this.smartGroupBox1.Controls.Add(this.labelStatusExpireAccount);
this.smartGroupBox1.Controls.Add(this.labelStatusExpiryPassword);
this.smartGroupBox1.Controls.Add(this.labelStatusExpiryAccount);
this.smartGroupBox1.Controls.Add(this.labelAutomaticLogoutTime);
this.smartGroupBox1.Controls.Add(this.labelTitleAutomaticLogoutTime);
this.smartGroupBox1.Controls.Add(this.labelExpiryDateOfPassword2);
@ -381,6 +382,7 @@
this.labelTitleMin.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleMin.Wordwrap = false;
//
<<<<<<< HEAD
// labelStatusExpirePassword
//
this.labelStatusExpirePassword.BackPictureBox = this.smartForm1;
@ -422,6 +424,49 @@
this.labelStatusExpireAccount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStatusExpireAccount.Wordwrap = false;
this.labelStatusExpireAccount.Click += new System.EventHandler(this.labelStatusExpireAccount_Click);
=======
// labelStatusExpiryPassword
//
this.labelStatusExpiryPassword.BackPictureBox = this.smartForm1;
this.labelStatusExpiryPassword.BackPictureBox1 = null;
this.labelStatusExpiryPassword.BackPictureBox2 = null;
this.labelStatusExpiryPassword.BorderColor = System.Drawing.Color.Black;
this.labelStatusExpiryPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStatusExpiryPassword.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStatusExpiryPassword.ForeColor = System.Drawing.Color.DarkRed;
this.labelStatusExpiryPassword.InitVisible = true;
this.labelStatusExpiryPassword.LineSpacing = 0F;
this.labelStatusExpiryPassword.Location = new System.Drawing.Point(485, 332);
this.labelStatusExpiryPassword.Name = "labelStatusExpiryPassword";
this.labelStatusExpiryPassword.Size = new System.Drawing.Size(60, 26);
this.labelStatusExpiryPassword.TabIndex = 230;
this.labelStatusExpiryPassword.Text = "만료";
this.labelStatusExpiryPassword.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStatusExpiryPassword.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStatusExpiryPassword.Wordwrap = false;
this.labelStatusExpiryPassword.Click += new System.EventHandler(this.labelStatusExpirePassword_Click);
//
// labelStatusExpiryAccount
//
this.labelStatusExpiryAccount.BackPictureBox = this.smartForm1;
this.labelStatusExpiryAccount.BackPictureBox1 = null;
this.labelStatusExpiryAccount.BackPictureBox2 = null;
this.labelStatusExpiryAccount.BorderColor = System.Drawing.Color.Black;
this.labelStatusExpiryAccount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStatusExpiryAccount.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStatusExpiryAccount.ForeColor = System.Drawing.Color.DarkRed;
this.labelStatusExpiryAccount.InitVisible = true;
this.labelStatusExpiryAccount.LineSpacing = 0F;
this.labelStatusExpiryAccount.Location = new System.Drawing.Point(485, 301);
this.labelStatusExpiryAccount.Name = "labelStatusExpiryAccount";
this.labelStatusExpiryAccount.Size = new System.Drawing.Size(60, 26);
this.labelStatusExpiryAccount.TabIndex = 229;
this.labelStatusExpiryAccount.Text = "만료";
this.labelStatusExpiryAccount.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelStatusExpiryAccount.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStatusExpiryAccount.Wordwrap = false;
this.labelStatusExpiryAccount.Click += new System.EventHandler(this.labelStatusExpireAccount_Click);
>>>>>>> d88b1aac3ab2ed3eef1ac2f12e1d7d6f19f8488c
//
// labelAutomaticLogoutTime
//
@ -570,6 +615,7 @@
//
this.smartGroupBox2.BackPictureBox = this.smartForm1;
this.smartGroupBox2.BackPictureBox1 = null;
this.smartGroupBox2.Controls.Add(this.labelEquipment);
this.smartGroupBox2.Controls.Add(this.labelMenu);
this.smartGroupBox2.Controls.Add(this.labelMain);
this.smartGroupBox2.Controls.Add(this.labelViewer);
@ -654,7 +700,7 @@
this.labelViewer.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelViewer.InitVisible = true;
this.labelViewer.LineSpacing = 0F;
this.labelViewer.Location = new System.Drawing.Point(410, 94);
this.labelViewer.Location = new System.Drawing.Point(410, 118);
this.labelViewer.Name = "labelViewer";
this.labelViewer.Size = new System.Drawing.Size(125, 18);
this.labelViewer.TabIndex = 240;
@ -672,7 +718,7 @@
this.labelStatistics.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStatistics.InitVisible = true;
this.labelStatistics.LineSpacing = 0F;
this.labelStatistics.Location = new System.Drawing.Point(410, 70);
this.labelStatistics.Location = new System.Drawing.Point(410, 94);
this.labelStatistics.Name = "labelStatistics";
this.labelStatistics.Size = new System.Drawing.Size(125, 18);
this.labelStatistics.TabIndex = 239;
@ -1215,6 +1261,24 @@
this.buttonGroupEditor.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonGroupEditor.UpImage")));
this.buttonGroupEditor.Click += new System.EventHandler(this.buttonGroupEditor_Click);
//
// labelEquipment
//
this.labelEquipment.BackPictureBox = this.smartForm1;
this.labelEquipment.BackPictureBox1 = null;
this.labelEquipment.BackPictureBox2 = null;
this.labelEquipment.BorderColor = System.Drawing.Color.Black;
this.labelEquipment.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelEquipment.InitVisible = true;
this.labelEquipment.LineSpacing = 0F;
this.labelEquipment.Location = new System.Drawing.Point(410, 70);
this.labelEquipment.Name = "labelEquipment";
this.labelEquipment.Size = new System.Drawing.Size(125, 18);
this.labelEquipment.TabIndex = 243;
this.labelEquipment.Text = "Equipment";
this.labelEquipment.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelEquipment.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelEquipment.Wordwrap = false;
//
// FormUserEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -1283,8 +1347,8 @@
private SmartX.SmartLabel labelTitleDayPassword;
private SmartX.SmartLabel labelTitleDayAccount;
private SmartX.SmartLabel labelTitleMin;
private SmartX.SmartLabel labelStatusExpirePassword;
private SmartX.SmartLabel labelStatusExpireAccount;
private SmartX.SmartLabel labelStatusExpiryPassword;
private SmartX.SmartLabel labelStatusExpiryAccount;
private SmartX.SmartLabel labelAutomaticLogoutTime;
private SmartX.SmartLabel labelTitleAutomaticLogoutTime;
private SmartX.SmartLabel labelExpiryDateOfPassword2;
@ -1295,5 +1359,6 @@
private SmartX.SmartSeparatorLine smartSeparatorLine1;
public SmartX.SmartLabel labelAccessRightAdmin;
public SmartX.SmartLabel labelAutoLogoutWarning;
private SmartX.SmartLabel labelEquipment;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -141,16 +141,12 @@
this.smartLabel2 = new SmartX.SmartLabel();
this.smartLabel1 = new SmartX.SmartLabel();
this.pictureBoxFormIcon = new System.Windows.Forms.PictureBox();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.buttonEditLevel3 = new SmartX.SmartButton();
this.smartLabel27 = new SmartX.SmartLabel();
this.textBoxLevel3 = new System.Windows.Forms.TextBox();
this.buttonEditLevel2 = new SmartX.SmartButton();
this.smartLabel25 = new SmartX.SmartLabel();
this.textBoxLevel2 = new System.Windows.Forms.TextBox();
this.buttonEditLevel1 = new SmartX.SmartButton();
this.smartLabel26 = new SmartX.SmartLabel();
this.textBoxLevel1 = new System.Windows.Forms.TextBox();
this.labelLevel3Name = new SmartX.SmartLabel();
this.labelLevel2Name = new SmartX.SmartLabel();
this.labelLevel1Name = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
@ -391,7 +387,7 @@
this.checkBoxNotLoginMenuViewer.ImageCheckBox = null;
this.checkBoxNotLoginMenuViewer.ImageUnCheckBox = null;
this.checkBoxNotLoginMenuViewer.InitVisible = true;
this.checkBoxNotLoginMenuViewer.Location = new System.Drawing.Point(746, 323);
this.checkBoxNotLoginMenuViewer.Location = new System.Drawing.Point(746, 346);
this.checkBoxNotLoginMenuViewer.Name = "checkBoxNotLoginMenuViewer";
this.checkBoxNotLoginMenuViewer.Size = new System.Drawing.Size(20, 20);
this.checkBoxNotLoginMenuViewer.TabIndex = 852;
@ -413,7 +409,7 @@
this.checkBoxL3MenuViewer.ImageCheckBox = null;
this.checkBoxL3MenuViewer.ImageUnCheckBox = null;
this.checkBoxL3MenuViewer.InitVisible = true;
this.checkBoxL3MenuViewer.Location = new System.Drawing.Point(709, 323);
this.checkBoxL3MenuViewer.Location = new System.Drawing.Point(709, 346);
this.checkBoxL3MenuViewer.Name = "checkBoxL3MenuViewer";
this.checkBoxL3MenuViewer.Size = new System.Drawing.Size(20, 20);
this.checkBoxL3MenuViewer.TabIndex = 853;
@ -435,7 +431,7 @@
this.checkBoxL2MenuViewer.ImageCheckBox = null;
this.checkBoxL2MenuViewer.ImageUnCheckBox = null;
this.checkBoxL2MenuViewer.InitVisible = true;
this.checkBoxL2MenuViewer.Location = new System.Drawing.Point(673, 323);
this.checkBoxL2MenuViewer.Location = new System.Drawing.Point(673, 346);
this.checkBoxL2MenuViewer.Name = "checkBoxL2MenuViewer";
this.checkBoxL2MenuViewer.Size = new System.Drawing.Size(20, 20);
this.checkBoxL2MenuViewer.TabIndex = 854;
@ -457,7 +453,7 @@
this.checkBoxL1MenuViewer.ImageCheckBox = null;
this.checkBoxL1MenuViewer.ImageUnCheckBox = null;
this.checkBoxL1MenuViewer.InitVisible = true;
this.checkBoxL1MenuViewer.Location = new System.Drawing.Point(637, 323);
this.checkBoxL1MenuViewer.Location = new System.Drawing.Point(637, 346);
this.checkBoxL1MenuViewer.Name = "checkBoxL1MenuViewer";
this.checkBoxL1MenuViewer.Size = new System.Drawing.Size(20, 20);
this.checkBoxL1MenuViewer.TabIndex = 851;
@ -476,7 +472,7 @@
this.labelTitleViewer.ForeColor = System.Drawing.Color.Black;
this.labelTitleViewer.InitVisible = true;
this.labelTitleViewer.LineSpacing = 0F;
this.labelTitleViewer.Location = new System.Drawing.Point(427, 323);
this.labelTitleViewer.Location = new System.Drawing.Point(427, 346);
this.labelTitleViewer.Name = "labelTitleViewer";
this.labelTitleViewer.Size = new System.Drawing.Size(200, 20);
this.labelTitleViewer.TabIndex = 850;
@ -625,6 +621,7 @@
this.labelTitleNotLogin2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleNotLogin2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleNotLogin2.Wordwrap = false;
this.labelTitleNotLogin2.Click += new System.EventHandler(this.labelTitle4_Click);
//
// smartLabel17
//
@ -646,6 +643,7 @@
this.smartLabel17.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel17.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel17.Wordwrap = false;
this.smartLabel17.Click += new System.EventHandler(this.labelTitle3_Click);
//
// smartLabel22
//
@ -667,6 +665,7 @@
this.smartLabel22.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel22.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel22.Wordwrap = false;
this.smartLabel22.Click += new System.EventHandler(this.labelTitle2_Click);
//
// smartLabel23
//
@ -688,6 +687,7 @@
this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel23.Wordwrap = false;
this.smartLabel23.Click += new System.EventHandler(this.labelTitle1_Click);
//
// checkBoxNotLoginMenuStatistics
//
@ -703,7 +703,7 @@
this.checkBoxNotLoginMenuStatistics.ImageCheckBox = null;
this.checkBoxNotLoginMenuStatistics.ImageUnCheckBox = null;
this.checkBoxNotLoginMenuStatistics.InitVisible = true;
this.checkBoxNotLoginMenuStatistics.Location = new System.Drawing.Point(746, 300);
this.checkBoxNotLoginMenuStatistics.Location = new System.Drawing.Point(746, 323);
this.checkBoxNotLoginMenuStatistics.Name = "checkBoxNotLoginMenuStatistics";
this.checkBoxNotLoginMenuStatistics.Size = new System.Drawing.Size(20, 20);
this.checkBoxNotLoginMenuStatistics.TabIndex = 828;
@ -725,7 +725,7 @@
this.checkBoxL3MenuStatistics.ImageCheckBox = null;
this.checkBoxL3MenuStatistics.ImageUnCheckBox = null;
this.checkBoxL3MenuStatistics.InitVisible = true;
this.checkBoxL3MenuStatistics.Location = new System.Drawing.Point(709, 300);
this.checkBoxL3MenuStatistics.Location = new System.Drawing.Point(709, 323);
this.checkBoxL3MenuStatistics.Name = "checkBoxL3MenuStatistics";
this.checkBoxL3MenuStatistics.Size = new System.Drawing.Size(20, 20);
this.checkBoxL3MenuStatistics.TabIndex = 829;
@ -747,7 +747,7 @@
this.checkBoxL2MenuStatistics.ImageCheckBox = null;
this.checkBoxL2MenuStatistics.ImageUnCheckBox = null;
this.checkBoxL2MenuStatistics.InitVisible = true;
this.checkBoxL2MenuStatistics.Location = new System.Drawing.Point(673, 300);
this.checkBoxL2MenuStatistics.Location = new System.Drawing.Point(673, 323);
this.checkBoxL2MenuStatistics.Name = "checkBoxL2MenuStatistics";
this.checkBoxL2MenuStatistics.Size = new System.Drawing.Size(20, 20);
this.checkBoxL2MenuStatistics.TabIndex = 830;
@ -769,7 +769,7 @@
this.checkBoxL1MenuStatistics.ImageCheckBox = null;
this.checkBoxL1MenuStatistics.ImageUnCheckBox = null;
this.checkBoxL1MenuStatistics.InitVisible = true;
this.checkBoxL1MenuStatistics.Location = new System.Drawing.Point(637, 300);
this.checkBoxL1MenuStatistics.Location = new System.Drawing.Point(637, 323);
this.checkBoxL1MenuStatistics.Name = "checkBoxL1MenuStatistics";
this.checkBoxL1MenuStatistics.Size = new System.Drawing.Size(20, 20);
this.checkBoxL1MenuStatistics.TabIndex = 827;
@ -788,7 +788,7 @@
this.labelTitleStatistics.ForeColor = System.Drawing.Color.Black;
this.labelTitleStatistics.InitVisible = true;
this.labelTitleStatistics.LineSpacing = 0F;
this.labelTitleStatistics.Location = new System.Drawing.Point(427, 300);
this.labelTitleStatistics.Location = new System.Drawing.Point(427, 323);
this.labelTitleStatistics.Name = "labelTitleStatistics";
this.labelTitleStatistics.Size = new System.Drawing.Size(200, 20);
this.labelTitleStatistics.TabIndex = 826;
@ -980,12 +980,11 @@
this.checkBoxNotLoginMenuEquipment.ImageCheckBox = null;
this.checkBoxNotLoginMenuEquipment.ImageUnCheckBox = null;
this.checkBoxNotLoginMenuEquipment.InitVisible = true;
this.checkBoxNotLoginMenuEquipment.Location = new System.Drawing.Point(344, 369);
this.checkBoxNotLoginMenuEquipment.Location = new System.Drawing.Point(746, 300);
this.checkBoxNotLoginMenuEquipment.Name = "checkBoxNotLoginMenuEquipment";
this.checkBoxNotLoginMenuEquipment.Size = new System.Drawing.Size(20, 20);
this.checkBoxNotLoginMenuEquipment.TabIndex = 799;
this.checkBoxNotLoginMenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxNotLoginMenuEquipment.Visible = false;
this.checkBoxNotLoginMenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL3MenuEquipment
@ -993,21 +992,21 @@
this.checkBoxL3MenuEquipment.BackPictureBox = this.smartForm1;
this.checkBoxL3MenuEquipment.BackPictureBox1 = null;
this.checkBoxL3MenuEquipment.BackPictureBox2 = null;
this.checkBoxL3MenuEquipment.CheckBoxBackColor = System.Drawing.Color.White;
this.checkBoxL3MenuEquipment.CheckBoxBackColor = System.Drawing.Color.Silver;
this.checkBoxL3MenuEquipment.CheckBoxCheckColor = System.Drawing.Color.Green;
this.checkBoxL3MenuEquipment.CheckBoxForeColor = System.Drawing.Color.Black;
this.checkBoxL3MenuEquipment.CheckBoxSymbolSize = 25;
this.checkBoxL3MenuEquipment.Checked = false;
this.checkBoxL3MenuEquipment.Checked = true;
this.checkBoxL3MenuEquipment.CheckLineWidth = 3;
this.checkBoxL3MenuEquipment.Enabled = false;
this.checkBoxL3MenuEquipment.ImageCheckBox = null;
this.checkBoxL3MenuEquipment.ImageUnCheckBox = null;
this.checkBoxL3MenuEquipment.InitVisible = true;
this.checkBoxL3MenuEquipment.Location = new System.Drawing.Point(307, 369);
this.checkBoxL3MenuEquipment.Location = new System.Drawing.Point(709, 300);
this.checkBoxL3MenuEquipment.Name = "checkBoxL3MenuEquipment";
this.checkBoxL3MenuEquipment.Size = new System.Drawing.Size(20, 20);
this.checkBoxL3MenuEquipment.TabIndex = 800;
this.checkBoxL3MenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL3MenuEquipment.Visible = false;
this.checkBoxL3MenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxNotLoginMenuUpdate
@ -1150,12 +1149,11 @@
this.checkBoxL2MenuEquipment.ImageCheckBox = null;
this.checkBoxL2MenuEquipment.ImageUnCheckBox = null;
this.checkBoxL2MenuEquipment.InitVisible = true;
this.checkBoxL2MenuEquipment.Location = new System.Drawing.Point(271, 369);
this.checkBoxL2MenuEquipment.Location = new System.Drawing.Point(673, 300);
this.checkBoxL2MenuEquipment.Name = "checkBoxL2MenuEquipment";
this.checkBoxL2MenuEquipment.Size = new System.Drawing.Size(20, 20);
this.checkBoxL2MenuEquipment.TabIndex = 791;
this.checkBoxL2MenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL2MenuEquipment.Visible = false;
this.checkBoxL2MenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL2MenuUpdate
@ -1235,12 +1233,11 @@
this.checkBoxL1MenuEquipment.ImageCheckBox = null;
this.checkBoxL1MenuEquipment.ImageUnCheckBox = null;
this.checkBoxL1MenuEquipment.InitVisible = true;
this.checkBoxL1MenuEquipment.Location = new System.Drawing.Point(235, 369);
this.checkBoxL1MenuEquipment.Location = new System.Drawing.Point(637, 300);
this.checkBoxL1MenuEquipment.Name = "checkBoxL1MenuEquipment";
this.checkBoxL1MenuEquipment.Size = new System.Drawing.Size(20, 20);
this.checkBoxL1MenuEquipment.TabIndex = 789;
this.checkBoxL1MenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxL1MenuEquipment.Visible = false;
this.checkBoxL1MenuEquipment.Click += new System.EventHandler(this.checkBox_Click);
//
// checkBoxL1MenuUpdate
@ -1489,7 +1486,7 @@
this.checkBoxNotLoginMenuUser.ImageCheckBox = null;
this.checkBoxNotLoginMenuUser.ImageUnCheckBox = null;
this.checkBoxNotLoginMenuUser.InitVisible = true;
this.checkBoxNotLoginMenuUser.Location = new System.Drawing.Point(746, 346);
this.checkBoxNotLoginMenuUser.Location = new System.Drawing.Point(746, 369);
this.checkBoxNotLoginMenuUser.Name = "checkBoxNotLoginMenuUser";
this.checkBoxNotLoginMenuUser.Size = new System.Drawing.Size(20, 20);
this.checkBoxNotLoginMenuUser.TabIndex = 805;
@ -1512,7 +1509,7 @@
this.checkBoxL3MenuUser.ImageCheckBox = null;
this.checkBoxL3MenuUser.ImageUnCheckBox = null;
this.checkBoxL3MenuUser.InitVisible = true;
this.checkBoxL3MenuUser.Location = new System.Drawing.Point(709, 346);
this.checkBoxL3MenuUser.Location = new System.Drawing.Point(709, 369);
this.checkBoxL3MenuUser.Name = "checkBoxL3MenuUser";
this.checkBoxL3MenuUser.Size = new System.Drawing.Size(20, 20);
this.checkBoxL3MenuUser.TabIndex = 806;
@ -1660,7 +1657,7 @@
this.checkBoxL2MenuUser.ImageCheckBox = null;
this.checkBoxL2MenuUser.ImageUnCheckBox = null;
this.checkBoxL2MenuUser.InitVisible = true;
this.checkBoxL2MenuUser.Location = new System.Drawing.Point(673, 346);
this.checkBoxL2MenuUser.Location = new System.Drawing.Point(673, 369);
this.checkBoxL2MenuUser.Name = "checkBoxL2MenuUser";
this.checkBoxL2MenuUser.Size = new System.Drawing.Size(20, 20);
this.checkBoxL2MenuUser.TabIndex = 765;
@ -1745,7 +1742,7 @@
this.checkBoxL1MenuUser.ImageCheckBox = null;
this.checkBoxL1MenuUser.ImageUnCheckBox = null;
this.checkBoxL1MenuUser.InitVisible = true;
this.checkBoxL1MenuUser.Location = new System.Drawing.Point(637, 346);
this.checkBoxL1MenuUser.Location = new System.Drawing.Point(637, 369);
this.checkBoxL1MenuUser.Name = "checkBoxL1MenuUser";
this.checkBoxL1MenuUser.Size = new System.Drawing.Size(20, 20);
this.checkBoxL1MenuUser.TabIndex = 767;
@ -2173,6 +2170,7 @@
this.labelTitleNotLogin1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleNotLogin1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleNotLogin1.Wordwrap = false;
this.labelTitleNotLogin1.Click += new System.EventHandler(this.labelTitle4_Click);
//
// labelTitle3
//
@ -2194,6 +2192,7 @@
this.labelTitle3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle3.Wordwrap = false;
this.labelTitle3.Click += new System.EventHandler(this.labelTitle3_Click);
//
// labelTitle2
//
@ -2215,6 +2214,7 @@
this.labelTitle2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle2.Wordwrap = false;
this.labelTitle2.Click += new System.EventHandler(this.labelTitle2_Click);
//
// labelTitle1
//
@ -2236,6 +2236,7 @@
this.labelTitle1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle1.Wordwrap = false;
this.labelTitle1.Click += new System.EventHandler(this.labelTitle1_Click);
//
// labelTitleEquipment
//
@ -2248,14 +2249,13 @@
this.labelTitleEquipment.ForeColor = System.Drawing.Color.Black;
this.labelTitleEquipment.InitVisible = true;
this.labelTitleEquipment.LineSpacing = 0F;
this.labelTitleEquipment.Location = new System.Drawing.Point(25, 369);
this.labelTitleEquipment.Location = new System.Drawing.Point(427, 300);
this.labelTitleEquipment.Name = "labelTitleEquipment";
this.labelTitleEquipment.Size = new System.Drawing.Size(200, 20);
this.labelTitleEquipment.TabIndex = 753;
this.labelTitleEquipment.Text = "Equipment";
this.labelTitleEquipment.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleEquipment.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleEquipment.Visible = false;
this.labelTitleEquipment.Wordwrap = false;
//
// labelTitleUser
@ -2269,7 +2269,7 @@
this.labelTitleUser.ForeColor = System.Drawing.Color.Black;
this.labelTitleUser.InitVisible = true;
this.labelTitleUser.LineSpacing = 0F;
this.labelTitleUser.Location = new System.Drawing.Point(427, 346);
this.labelTitleUser.Location = new System.Drawing.Point(427, 369);
this.labelTitleUser.Name = "labelTitleUser";
this.labelTitleUser.Size = new System.Drawing.Size(200, 20);
this.labelTitleUser.TabIndex = 751;
@ -2608,73 +2608,6 @@
this.pictureBoxFormIcon.Name = "pictureBoxFormIcon";
this.pictureBoxFormIcon.Size = new System.Drawing.Size(47, 45);
//
// smartKeyboard
//
this.smartKeyboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(195)))), ((int)(((byte)(198)))));
this.smartKeyboard.ControlKeyDisable = true;
this.smartKeyboard.DesignMinimize = true;
this.smartKeyboard.FontColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.smartKeyboard.HanYoungKeyDisable = true;
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.KeyFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.smartKeyboard.KeyOutLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(157)))), ((int)(((byte)(157)))));
this.smartKeyboard.KeyOutLineWidth = 1;
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.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.LeftMargin = 5;
this.smartKeyboard.Location = new System.Drawing.Point(0, 111);
this.smartKeyboard.Name = "smartKeyboard";
this.smartKeyboard.PressFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(37)))), ((int)(((byte)(37)))));
this.smartKeyboard.PressKeyFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(146)))), ((int)(((byte)(146)))));
this.smartKeyboard.PressKeyOutLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41)))));
this.smartKeyboard.RoundedCorners = true;
this.smartKeyboard.SetBackimage = null;
this.smartKeyboard.Size = new System.Drawing.Size(16, 11);
this.smartKeyboard.TabIndex = 743;
this.smartKeyboard.TABKeyDisable = false;
this.smartKeyboard.TargetInputObject = null;
this.smartKeyboard.Text = "smartKeyboard1";
this.smartKeyboard.ThemeStyle = SmartX.SmartKeyboard.KEYBOARDTHEMESTYLE.STANDARD8;
this.smartKeyboard.TopMargin = 5;
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
//
// buttonEditLevel3
//
this.buttonEditLevel3.BackPictureBox = null;
this.buttonEditLevel3.BackPictureBox1 = null;
this.buttonEditLevel3.BackPictureBox2 = null;
this.buttonEditLevel3.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonEditLevel3.ButtonImageAutoSize = true;
this.buttonEditLevel3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonEditLevel3.DisableImage = null;
this.buttonEditLevel3.DownImage = null;
this.buttonEditLevel3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.buttonEditLevel3.GroupID = 0;
this.buttonEditLevel3.InitVisible = true;
this.buttonEditLevel3.Location = new System.Drawing.Point(745, 81);
this.buttonEditLevel3.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonEditLevel3.Name = "buttonEditLevel3";
this.buttonEditLevel3.NestedClickEventPrevent = false;
this.buttonEditLevel3.OutlinePixel = 1;
this.buttonEditLevel3.RepeatInterval = 200;
this.buttonEditLevel3.RepeatIntervalAccelerate = null;
this.buttonEditLevel3.SafeInterval = 200;
this.buttonEditLevel3.Size = new System.Drawing.Size(40, 26);
this.buttonEditLevel3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonEditLevel3.TabIndex = 858;
this.buttonEditLevel3.Text = "Edit";
this.buttonEditLevel3.TextColor = System.Drawing.Color.White;
this.buttonEditLevel3.TextDownColor = System.Drawing.Color.White;
this.buttonEditLevel3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonEditLevel3.TextLocation = new System.Drawing.Point(0, 0);
this.buttonEditLevel3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonEditLevel3.UpImage = null;
this.buttonEditLevel3.Click += new System.EventHandler(this.buttonEdit_Click);
//
// smartLabel27
//
this.smartLabel27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
@ -2696,50 +2629,6 @@
this.smartLabel27.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel27.Wordwrap = false;
//
// textBoxLevel3
//
this.textBoxLevel3.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Regular);
this.textBoxLevel3.Location = new System.Drawing.Point(568, 81);
this.textBoxLevel3.MaxLength = 15;
this.textBoxLevel3.Name = "textBoxLevel3";
this.textBoxLevel3.Size = new System.Drawing.Size(171, 26);
this.textBoxLevel3.TabIndex = 856;
this.textBoxLevel3.GotFocus += new System.EventHandler(this.textBoxLevel3_GotFocus);
this.textBoxLevel3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxLevel3_KeyPress);
//
// buttonEditLevel2
//
this.buttonEditLevel2.BackPictureBox = null;
this.buttonEditLevel2.BackPictureBox1 = null;
this.buttonEditLevel2.BackPictureBox2 = null;
this.buttonEditLevel2.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonEditLevel2.ButtonImageAutoSize = true;
this.buttonEditLevel2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonEditLevel2.DisableImage = null;
this.buttonEditLevel2.DownImage = null;
this.buttonEditLevel2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.buttonEditLevel2.GroupID = 0;
this.buttonEditLevel2.InitVisible = true;
this.buttonEditLevel2.Location = new System.Drawing.Point(488, 81);
this.buttonEditLevel2.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonEditLevel2.Name = "buttonEditLevel2";
this.buttonEditLevel2.NestedClickEventPrevent = false;
this.buttonEditLevel2.OutlinePixel = 1;
this.buttonEditLevel2.RepeatInterval = 200;
this.buttonEditLevel2.RepeatIntervalAccelerate = null;
this.buttonEditLevel2.SafeInterval = 200;
this.buttonEditLevel2.Size = new System.Drawing.Size(40, 26);
this.buttonEditLevel2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonEditLevel2.TabIndex = 855;
this.buttonEditLevel2.Text = "Edit";
this.buttonEditLevel2.TextColor = System.Drawing.Color.White;
this.buttonEditLevel2.TextDownColor = System.Drawing.Color.White;
this.buttonEditLevel2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonEditLevel2.TextLocation = new System.Drawing.Point(0, 0);
this.buttonEditLevel2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonEditLevel2.UpImage = null;
this.buttonEditLevel2.Click += new System.EventHandler(this.buttonEdit_Click);
//
// smartLabel25
//
this.smartLabel25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
@ -2761,50 +2650,6 @@
this.smartLabel25.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel25.Wordwrap = false;
//
// textBoxLevel2
//
this.textBoxLevel2.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Regular);
this.textBoxLevel2.Location = new System.Drawing.Point(311, 81);
this.textBoxLevel2.MaxLength = 15;
this.textBoxLevel2.Name = "textBoxLevel2";
this.textBoxLevel2.Size = new System.Drawing.Size(171, 26);
this.textBoxLevel2.TabIndex = 853;
this.textBoxLevel2.GotFocus += new System.EventHandler(this.textBoxLevel2_GotFocus);
this.textBoxLevel2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxLevel2_KeyPress);
//
// buttonEditLevel1
//
this.buttonEditLevel1.BackPictureBox = null;
this.buttonEditLevel1.BackPictureBox1 = null;
this.buttonEditLevel1.BackPictureBox2 = null;
this.buttonEditLevel1.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(65)))), ((int)(((byte)(41)))));
this.buttonEditLevel1.ButtonImageAutoSize = true;
this.buttonEditLevel1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonEditLevel1.DisableImage = null;
this.buttonEditLevel1.DownImage = null;
this.buttonEditLevel1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.buttonEditLevel1.GroupID = 0;
this.buttonEditLevel1.InitVisible = true;
this.buttonEditLevel1.Location = new System.Drawing.Point(231, 81);
this.buttonEditLevel1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonEditLevel1.Name = "buttonEditLevel1";
this.buttonEditLevel1.NestedClickEventPrevent = false;
this.buttonEditLevel1.OutlinePixel = 1;
this.buttonEditLevel1.RepeatInterval = 200;
this.buttonEditLevel1.RepeatIntervalAccelerate = null;
this.buttonEditLevel1.SafeInterval = 200;
this.buttonEditLevel1.Size = new System.Drawing.Size(40, 26);
this.buttonEditLevel1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonEditLevel1.TabIndex = 852;
this.buttonEditLevel1.Text = "Edit";
this.buttonEditLevel1.TextColor = System.Drawing.Color.White;
this.buttonEditLevel1.TextDownColor = System.Drawing.Color.White;
this.buttonEditLevel1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonEditLevel1.TextLocation = new System.Drawing.Point(0, 0);
this.buttonEditLevel1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonEditLevel1.UpImage = null;
this.buttonEditLevel1.Click += new System.EventHandler(this.buttonEdit_Click);
//
// smartLabel26
//
this.smartLabel26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(228)))), ((int)(((byte)(180)))));
@ -2826,16 +2671,71 @@
this.smartLabel26.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel26.Wordwrap = false;
//
// textBoxLevel1
// labelLevel3Name
//
this.textBoxLevel1.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Regular);
this.textBoxLevel1.Location = new System.Drawing.Point(54, 81);
this.textBoxLevel1.MaxLength = 15;
this.textBoxLevel1.Name = "textBoxLevel1";
this.textBoxLevel1.Size = new System.Drawing.Size(171, 26);
this.textBoxLevel1.TabIndex = 850;
this.textBoxLevel1.GotFocus += new System.EventHandler(this.textBoxLevel1_GotFocus);
this.textBoxLevel1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxLevel1_KeyPress);
this.labelLevel3Name.BackColor = System.Drawing.Color.White;
this.labelLevel3Name.BackPictureBox = null;
this.labelLevel3Name.BackPictureBox1 = null;
this.labelLevel3Name.BackPictureBox2 = null;
this.labelLevel3Name.BorderColor = System.Drawing.Color.Black;
this.labelLevel3Name.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelLevel3Name.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelLevel3Name.ForeColor = System.Drawing.Color.Black;
this.labelLevel3Name.InitVisible = true;
this.labelLevel3Name.LineSpacing = 0F;
this.labelLevel3Name.Location = new System.Drawing.Point(570, 81);
this.labelLevel3Name.Name = "labelLevel3Name";
this.labelLevel3Name.Size = new System.Drawing.Size(200, 26);
this.labelLevel3Name.TabIndex = 864;
this.labelLevel3Name.Text = "L3";
this.labelLevel3Name.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelLevel3Name.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelLevel3Name.Wordwrap = false;
this.labelLevel3Name.Click += new System.EventHandler(this.labelLevel3Name_Click);
//
// labelLevel2Name
//
this.labelLevel2Name.BackColor = System.Drawing.Color.White;
this.labelLevel2Name.BackPictureBox = null;
this.labelLevel2Name.BackPictureBox1 = null;
this.labelLevel2Name.BackPictureBox2 = null;
this.labelLevel2Name.BorderColor = System.Drawing.Color.Black;
this.labelLevel2Name.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelLevel2Name.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelLevel2Name.ForeColor = System.Drawing.Color.Black;
this.labelLevel2Name.InitVisible = true;
this.labelLevel2Name.LineSpacing = 0F;
this.labelLevel2Name.Location = new System.Drawing.Point(311, 81);
this.labelLevel2Name.Name = "labelLevel2Name";
this.labelLevel2Name.Size = new System.Drawing.Size(200, 26);
this.labelLevel2Name.TabIndex = 863;
this.labelLevel2Name.Text = "L2";
this.labelLevel2Name.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelLevel2Name.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelLevel2Name.Wordwrap = false;
this.labelLevel2Name.Click += new System.EventHandler(this.labelLevel2Name_Click);
//
// labelLevel1Name
//
this.labelLevel1Name.BackColor = System.Drawing.Color.White;
this.labelLevel1Name.BackPictureBox = null;
this.labelLevel1Name.BackPictureBox1 = null;
this.labelLevel1Name.BackPictureBox2 = null;
this.labelLevel1Name.BorderColor = System.Drawing.Color.Black;
this.labelLevel1Name.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelLevel1Name.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelLevel1Name.ForeColor = System.Drawing.Color.Black;
this.labelLevel1Name.InitVisible = true;
this.labelLevel1Name.LineSpacing = 0F;
this.labelLevel1Name.Location = new System.Drawing.Point(54, 81);
this.labelLevel1Name.Name = "labelLevel1Name";
this.labelLevel1Name.Size = new System.Drawing.Size(200, 26);
this.labelLevel1Name.TabIndex = 862;
this.labelLevel1Name.Text = "L1";
this.labelLevel1Name.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelLevel1Name.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelLevel1Name.Wordwrap = false;
this.labelLevel1Name.Click += new System.EventHandler(this.labelLevel1Name_Click);
//
// FormUserGroupEditor
//
@ -2843,16 +2743,12 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(800, 600);
this.Controls.Add(this.smartKeyboard);
this.Controls.Add(this.buttonEditLevel3);
this.Controls.Add(this.labelLevel3Name);
this.Controls.Add(this.labelLevel2Name);
this.Controls.Add(this.labelLevel1Name);
this.Controls.Add(this.smartLabel27);
this.Controls.Add(this.textBoxLevel3);
this.Controls.Add(this.buttonEditLevel2);
this.Controls.Add(this.smartLabel25);
this.Controls.Add(this.textBoxLevel2);
this.Controls.Add(this.buttonEditLevel1);
this.Controls.Add(this.smartLabel26);
this.Controls.Add(this.textBoxLevel1);
this.Controls.Add(this.pictureBoxFormIcon);
this.Controls.Add(this.smartGroupBox1);
this.Controls.Add(this.buttonSave);
@ -2981,15 +2877,11 @@
private SmartX.SmartCheckBox checkBoxL2MenuViewer;
private SmartX.SmartCheckBox checkBoxL1MenuViewer;
private SmartX.SmartLabel labelTitleViewer;
private SmartX.SmartKeyboard smartKeyboard;
private SmartX.SmartButton buttonEditLevel3;
private SmartX.SmartLabel smartLabel27;
private System.Windows.Forms.TextBox textBoxLevel3;
private SmartX.SmartButton buttonEditLevel2;
private SmartX.SmartLabel smartLabel25;
private System.Windows.Forms.TextBox textBoxLevel2;
private SmartX.SmartButton buttonEditLevel1;
private SmartX.SmartLabel smartLabel26;
private System.Windows.Forms.TextBox textBoxLevel1;
private SmartX.SmartLabel labelLevel3Name;
private SmartX.SmartLabel labelLevel2Name;
private SmartX.SmartLabel labelLevel1Name;
}
}

View File

@ -10,6 +10,7 @@ using System.Windows.Forms;
using INT69DB_2A.Part11_UserManager;
using SmartX;
using INT69DB_2A.DialogForms;
namespace INT69DB_2A.Forms
{
@ -18,10 +19,14 @@ namespace INT69DB_2A.Forms
#region Field
private FormMain m_ParentForm;
private Collection<Point> CollectionLevel1Location;
private Collection<Point> CollectionLevel2Location;
private Collection<Point> CollectionLevel3Location;
private Collection<Control> CollectionLevel1Control;
private Collection<Control> CollectionLevel2Control;
private Collection<Control> CollectionLevel3Control;
private Collection<Control> CollectionNotLoginControl;
private Collection<Control> CollectionLevel4Control;
private string BeforeTextBox1;
private string BeforeTextBox2;
@ -65,25 +70,90 @@ namespace INT69DB_2A.Forms
this.BeforeTextBox2 = "";
this.BeforeTextBox3 = "";
this.CollectionLevel1Location = new Collection<Point>();
this.CollectionLevel1Location.Add(this.labelTitle1.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MainProductNo.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MainWeightSet.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MainClear.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MainSubMenu.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuTime.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuInformation.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuDataBackup.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuCommunication.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuConfiguration.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuCalibration.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuSystem.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuMotor.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuIOTest.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuUpdate.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuInitialization.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuUser.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuEquipment.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuStatistics.Location);
this.CollectionLevel1Location.Add(this.checkBoxL1MenuViewer.Location);
this.CollectionLevel2Location = new Collection<Point>();
this.CollectionLevel2Location.Add(this.labelTitle2.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MainProductNo.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MainWeightSet.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MainClear.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MainSubMenu.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuTime.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuInformation.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuDataBackup.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuCommunication.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuConfiguration.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuCalibration.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuSystem.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuMotor.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuIOTest.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuUpdate.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuInitialization.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuUser.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuEquipment.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuStatistics.Location);
this.CollectionLevel2Location.Add(this.checkBoxL2MenuViewer.Location);
this.CollectionLevel3Location = new Collection<Point>();
this.CollectionLevel3Location.Add(this.labelTitle3.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MainProductNo.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MainWeightSet.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MainClear.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MainSubMenu.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuTime.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuInformation.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuDataBackup.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuConfiguration.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuCommunication.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuCalibration.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuSystem.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuMotor.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuIOTest.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuUpdate.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuInitialization.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuUser.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuEquipment.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuStatistics.Location);
this.CollectionLevel3Location.Add(this.checkBoxL3MenuViewer.Location);
this.CollectionLevel1Control = new Collection<Control>();
this.CollectionLevel1Control.Add(this.labelTitle1);
this.CollectionLevel1Control.Add(this.checkBoxL1MainProductNo);
this.CollectionLevel1Control.Add(this.checkBoxL1MainWeightSet);
this.CollectionLevel1Control.Add(this.checkBoxL1MainClear);
this.CollectionLevel1Control.Add(this.checkBoxL1MainSubMenu);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuTime);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuInformation);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuDataBackup);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuConfiguration);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuCommunication);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuCalibration);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuSystem);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuMotor);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuIOTest);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuEquipment);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuUpdate);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuInitialization);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuTime);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuUser);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuDataBackup);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuEquipment);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuStatistics);
this.CollectionLevel1Control.Add(this.checkBoxL1MenuViewer);
@ -93,19 +163,18 @@ namespace INT69DB_2A.Forms
this.CollectionLevel2Control.Add(this.checkBoxL2MainWeightSet);
this.CollectionLevel2Control.Add(this.checkBoxL2MainClear);
this.CollectionLevel2Control.Add(this.checkBoxL2MainSubMenu);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuTime);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuInformation);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuDataBackup);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuConfiguration);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuCommunication);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuCalibration);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuSystem);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuMotor);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuIOTest);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuEquipment);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuUpdate);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuInitialization);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuTime);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuUser);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuDataBackup);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuEquipment);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuStatistics);
this.CollectionLevel2Control.Add(this.checkBoxL2MenuViewer);
@ -115,62 +184,50 @@ namespace INT69DB_2A.Forms
this.CollectionLevel3Control.Add(this.checkBoxL3MainWeightSet);
this.CollectionLevel3Control.Add(this.checkBoxL3MainClear);
this.CollectionLevel3Control.Add(this.checkBoxL3MainSubMenu);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuTime);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuInformation);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuDataBackup);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuConfiguration);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuCommunication);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuCalibration);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuSystem);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuMotor);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuIOTest);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuEquipment);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuUpdate);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuInitialization);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuTime);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuUser);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuDataBackup);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuEquipment);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuStatistics);
this.CollectionLevel3Control.Add(this.checkBoxL3MenuViewer);
this.CollectionNotLoginControl = new Collection<Control>();
this.CollectionNotLoginControl.Add(this.labelTitleNotLogin1);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMainProductNo);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMainWeightSet);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMainClear);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMainSubMenu);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuInformation);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuConfiguration);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuCommunication);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuCalibration);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuSystem);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuMotor);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuIOTest);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuEquipment);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuUpdate);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuInitialization);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuTime);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuUser);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuDataBackup);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuStatistics);
this.CollectionNotLoginControl.Add(this.checkBoxNotLoginMenuViewer);
this.CollectionLevel4Control = new Collection<Control>();
this.CollectionLevel4Control.Add(this.labelTitleNotLogin1);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMainProductNo);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMainWeightSet);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMainClear);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMainSubMenu);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuTime);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuInformation);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuDataBackup);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuConfiguration);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuCommunication);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuCalibration);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuSystem);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuMotor);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuIOTest);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuUpdate);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuInitialization);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuEquipment);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuStatistics);
this.CollectionLevel4Control.Add(this.checkBoxNotLoginMenuViewer);
this.UpdateDisplay(this.ParentForm.CurrentUserGroup, this.ParentForm.SystemConfig);
this.UpdatePart11Visible();
}
private void EnableWhenUsingKeyboard(bool bValue)
{
this.smartGroupBox1.Enabled = bValue;
this.buttonSave.Enabled = bValue;
this.buttonBack.Enabled = bValue;
this.buttonEditLevel1.Enabled = bValue;
this.buttonEditLevel2.Enabled = bValue;
this.buttonEditLevel3.Enabled = bValue;
}
private void UpdateDisplay(UserGroup group, SystemConfigurationItem system)
{
this.textBoxLevel1.Text = system.User_Level1_Name;
this.textBoxLevel2.Text = system.User_Level2_Name;
this.textBoxLevel3.Text = system.User_Level3_Name;
this.labelLevel1Name.Text = system.User_Level1_Name;
this.labelLevel2Name.Text = system.User_Level2_Name;
this.labelLevel3Name.Text = system.User_Level3_Name;
#region Level1
this.checkBoxL1MainProductNo.Checked = group.Level1.IsMainDisplayProductNo;
@ -296,16 +353,10 @@ namespace INT69DB_2A.Forms
}
}
public void UpdateLevelNameDisplay(SystemConfigurationItem system)
{
this.textBoxLevel1.Text = system.User_Level1_Name;
this.textBoxLevel2.Text = system.User_Level2_Name;
this.textBoxLevel3.Text = system.User_Level3_Name;
}
public void DisplayRefresh()
{
this.UpdateDisplay(this.ParentForm.CurrentUserGroup, this.ParentForm.SystemConfig);
this.UpdatePart11Visible();
this.buttonSave.Visible = false;
if (this.ParentForm.SystemConfig.CurrentUser.Group != DataStore.UserGroup.Developer)
@ -313,16 +364,28 @@ namespace INT69DB_2A.Forms
this.labelTitleNotLogin1.Visible = false;
this.labelTitleNotLogin2.Visible = false;
for (int i = 0; i < this.CollectionLevel1Control.Count; i++)
this.CollectionNotLoginControl[i].Visible = false;
for (int i = 0; i < this.CollectionLevel4Control.Count; i++)
{
//this.CollectionLevel1Control[i].Location = new Point(this.CollectionLevel2Location[i].X, this.CollectionLevel2Location[i].Y);
//this.CollectionLevel2Control[i].Location = new Point(this.CollectionLevel3Location[i].X, this.CollectionLevel3Location[i].Y);
//this.CollectionLevel3Control[i].Visible = false;
this.CollectionLevel4Control[i].Visible = false;
}
}
else
{
this.labelTitleNotLogin1.Visible = true;
this.labelTitleNotLogin2.Visible = true;
for (int i = 0; i < this.CollectionLevel1Control.Count; i++)
this.CollectionNotLoginControl[i].Visible = true;
for (int i = 0; i < this.CollectionLevel4Control.Count; i++)
{
//this.CollectionLevel1Control[i].Location = new Point(this.CollectionLevel1Location[i].X, this.CollectionLevel1Location[i].Y);
//this.CollectionLevel2Control[i].Location = new Point(this.CollectionLevel2Location[i].X, this.CollectionLevel2Location[i].Y);
//this.CollectionLevel3Control[i].Visible = true;
this.CollectionLevel4Control[i].Visible = true;
}
}
}
#endregion
@ -354,11 +417,10 @@ namespace INT69DB_2A.Forms
this.ParentForm.CurrentUserGroup.Level1.IsMenuInitialization = this.checkBoxL1MenuInitialization.Checked;
this.ParentForm.CurrentUserGroup.Level1.IsMenuTime = this.checkBoxL1MenuTime.Checked;
this.ParentForm.CurrentUserGroup.Level1.IsMenuDataBackup = this.checkBoxL1MenuDataBackup.Checked;
this.ParentForm.CurrentUserGroup.Level1.IsMenuEquipment = this.checkBoxL1MenuEquipment.Checked;
this.ParentForm.CurrentUserGroup.Level1.IsMenuStatistics = this.checkBoxL1MenuStatistics.Checked;
this.ParentForm.CurrentUserGroup.Level1.IsMenuViewer = this.checkBoxL1MenuViewer.Checked;
this.ParentForm.CurrentUserGroup.Level1.IsMenuUser = true;
this.ParentForm.CurrentUserGroup.Level1.IsMenuEquipment = false;
#endregion
#region Level2
@ -378,11 +440,10 @@ namespace INT69DB_2A.Forms
this.ParentForm.CurrentUserGroup.Level2.IsMenuInitialization = this.checkBoxL2MenuInitialization.Checked;
this.ParentForm.CurrentUserGroup.Level2.IsMenuTime = this.checkBoxL2MenuTime.Checked;
this.ParentForm.CurrentUserGroup.Level2.IsMenuDataBackup = this.checkBoxL2MenuDataBackup.Checked;
this.ParentForm.CurrentUserGroup.Level2.IsMenuEquipment = this.checkBoxL2MenuEquipment.Checked;
this.ParentForm.CurrentUserGroup.Level2.IsMenuStatistics = this.checkBoxL2MenuStatistics.Checked;
this.ParentForm.CurrentUserGroup.Level2.IsMenuViewer = this.checkBoxL2MenuViewer.Checked;
this.ParentForm.CurrentUserGroup.Level2.IsMenuUser = true;
this.ParentForm.CurrentUserGroup.Level2.IsMenuEquipment = false;
#endregion
#region Level3
@ -400,13 +461,12 @@ namespace INT69DB_2A.Forms
this.ParentForm.CurrentUserGroup.Level3.IsMenuIOTest = this.checkBoxL3MenuIOTest.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuUpdate = this.checkBoxL3MenuUpdate.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuInitialization = this.checkBoxL3MenuInitialization.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuTime = this.checkBoxL3MenuTime.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuTime = true;
this.ParentForm.CurrentUserGroup.Level3.IsMenuDataBackup = this.checkBoxL3MenuDataBackup.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuEquipment = true;
this.ParentForm.CurrentUserGroup.Level3.IsMenuStatistics = this.checkBoxL3MenuStatistics.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuViewer = this.checkBoxL3MenuViewer.Checked;
this.ParentForm.CurrentUserGroup.Level3.IsMenuUser = true;
this.ParentForm.CurrentUserGroup.Level3.IsMenuEquipment = false;
#endregion
#region NotLogin
@ -422,11 +482,12 @@ namespace INT69DB_2A.Forms
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuSystem = this.checkBoxNotLoginMenuSystem.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuMotor = this.checkBoxNotLoginMenuMotor.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuIOTest = this.checkBoxNotLoginMenuIOTest.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuEquipment = false;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuEquipment = this.checkBoxNotLoginMenuEquipment.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuUpdate = this.checkBoxNotLoginMenuUpdate.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuInitialization = this.checkBoxNotLoginMenuInitialization.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuTime = this.checkBoxNotLoginMenuTime.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuDataBackup = this.checkBoxNotLoginMenuDataBackup.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuEquipment = this.checkBoxNotLoginMenuEquipment.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuStatistics = this.checkBoxNotLoginMenuStatistics.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuViewer = this.checkBoxNotLoginMenuViewer.Checked;
this.ParentForm.CurrentUserGroup.NotLogin.IsMenuUser = false;
@ -441,231 +502,6 @@ namespace INT69DB_2A.Forms
this.buttonSave.Visible = false;
}
private void textBoxLevel1_GotFocus(object sender, EventArgs e)
{
this.smartKeyboard.TargetInputObject = this.textBoxLevel1;
this.textBoxLevel1.Select(this.textBoxLevel1.Text.Length, 0);
}
private void textBoxLevel2_GotFocus(object sender, EventArgs e)
{
this.smartKeyboard.TargetInputObject = this.textBoxLevel2;
this.textBoxLevel2.Select(this.textBoxLevel2.Text.Length, 0);
}
private void textBoxLevel3_GotFocus(object sender, EventArgs e)
{
this.smartKeyboard.TargetInputObject = this.textBoxLevel3;
this.textBoxLevel3.Select(this.textBoxLevel3.Text.Length, 0);
}
private void buttonEdit_Click(object sender, EventArgs e)
{
SmartButton button = sender as SmartButton;
this.EnableWhenUsingKeyboard(false);
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.Location = new Point(0, 111);
this.smartKeyboard.Size = new Size(800, 313);
this.smartKeyboard.KeyFillColor = Color.Black;
this.smartKeyboard.BackColor = Color.FromArgb(255, 205, 51);
if (button == this.buttonEditLevel1)
{
this.textBoxLevel2.Enabled = false;
this.textBoxLevel3.Enabled = false;
this.BeforeTextBox1 = this.textBoxLevel1.Text;
this.smartKeyboard.TargetInputObject = this.textBoxLevel1;
this.textBoxLevel1.Select(this.textBoxLevel1.Text.Length, 0);
}
else if (button == this.buttonEditLevel2)
{
this.textBoxLevel1.Enabled = false;
this.textBoxLevel3.Enabled = false;
this.BeforeTextBox2 = this.textBoxLevel2.Text;
this.smartKeyboard.TargetInputObject = this.textBoxLevel2;
this.textBoxLevel2.Select(this.textBoxLevel2.Text.Length, 0);
}
else if (button == this.buttonEditLevel3)
{
this.textBoxLevel1.Enabled = false;
this.textBoxLevel2.Enabled = false;
this.BeforeTextBox3 = this.textBoxLevel3.Text;
this.smartKeyboard.TargetInputObject = this.textBoxLevel3;
this.textBoxLevel3.Select(this.textBoxLevel3.Text.Length, 0);
}
this.smartKeyboard.Show();
}
private void textBoxLevel1_KeyPress(object sender, KeyPressEventArgs e)
{
string before = "", after = "";
this.EnableWhenUsingKeyboard(true);
this.textBoxLevel1.Enabled = true;
this.textBoxLevel2.Enabled = true;
this.textBoxLevel3.Enabled = true;
if (e.KeyChar == '\r')
{
e.Handled = true;
this.smartKeyboard.Hide();
if (this.textBoxLevel1.Text == ""
|| this.textBoxLevel1.Text == this.ParentForm.SystemConfig.User_Level2_Name
|| this.textBoxLevel1.Text == this.ParentForm.SystemConfig.User_Level3_Name)
{
this.UpdateLevelNameDisplay(this.ParentForm.SystemConfig);
}
else
{
before = this.BeforeTextBox1;
after = this.ParentForm.SystemConfig.User_Level1_Name = this.textBoxLevel1.Text;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
this.ParentForm.ChildFormUserEditor.UpdateAccessRightComboBox();
this.ParentForm.ChildFormMainDisplay.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
this.ParentForm.ChildFormMenu.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
if (before != after)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ChangeL1Name, "", before, after);
}
}
else if (e.KeyChar == 27)
{
e.Handled = true;
this.textBoxLevel1.Text = this.BeforeTextBox1;
this.smartKeyboard.Hide();
}
else if (e.KeyChar == '<' || e.KeyChar == '>' || e.KeyChar == '|' || e.KeyChar == '"' || e.KeyChar == '?'
|| e.KeyChar == '*' || e.KeyChar == ':' || e.KeyChar == '/' || e.KeyChar == '\\')
{
e.Handled = true;
}
}
private void textBoxLevel2_KeyPress(object sender, KeyPressEventArgs e)
{
string before = "", after = "";
this.EnableWhenUsingKeyboard(true);
this.textBoxLevel1.Enabled = true;
this.textBoxLevel2.Enabled = true;
this.textBoxLevel3.Enabled = true;
if (e.KeyChar == '\r')
{
e.Handled = true;
this.smartKeyboard.Hide();
if (this.textBoxLevel2.Text == ""
|| this.textBoxLevel2.Text == this.ParentForm.SystemConfig.User_Level1_Name
|| this.textBoxLevel2.Text == this.ParentForm.SystemConfig.User_Level3_Name)
{
this.UpdateLevelNameDisplay(this.ParentForm.SystemConfig);
}
else
{
before = this.BeforeTextBox2;
after = this.ParentForm.SystemConfig.User_Level2_Name = this.textBoxLevel2.Text;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
this.ParentForm.ChildFormUserEditor.UpdateAccessRightComboBox();
this.ParentForm.ChildFormMainDisplay.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
this.ParentForm.ChildFormMenu.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
if (before != after)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ChangeL2Name, "", before, after);
}
}
else if (e.KeyChar == 27)
{
e.Handled = true;
this.textBoxLevel2.Text = this.BeforeTextBox2;
this.smartKeyboard.Hide();
}
else if (e.KeyChar == '<' || e.KeyChar == '>' || e.KeyChar == '|' || e.KeyChar == '"' || e.KeyChar == '?'
|| e.KeyChar == '*' || e.KeyChar == ':' || e.KeyChar == '/' || e.KeyChar == '\\')
{
e.Handled = true;
}
}
private void textBoxLevel3_KeyPress(object sender, KeyPressEventArgs e)
{
string before = "", after = "";
this.EnableWhenUsingKeyboard(true);
this.textBoxLevel1.Enabled = true;
this.textBoxLevel2.Enabled = true;
this.textBoxLevel3.Enabled = true;
if (e.KeyChar == '\r')
{
e.Handled = true;
this.smartKeyboard.Hide();
if (this.textBoxLevel3.Text == ""
|| this.textBoxLevel3.Text == this.ParentForm.SystemConfig.User_Level1_Name
|| this.textBoxLevel3.Text == this.ParentForm.SystemConfig.User_Level2_Name)
{
this.UpdateLevelNameDisplay(this.ParentForm.SystemConfig);
}
else
{
before = this.BeforeTextBox3;
after = this.ParentForm.SystemConfig.User_Level3_Name = this.textBoxLevel3.Text;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
this.ParentForm.ChildFormUserEditor.UpdateAccessRightComboBox();
this.ParentForm.ChildFormMainDisplay.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
this.ParentForm.ChildFormMenu.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
if (before != after)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.ChangeL3Name, "", before, after);
}
}
else if (e.KeyChar == 27)
{
e.Handled = true;
this.textBoxLevel3.Text = this.BeforeTextBox3;
this.smartKeyboard.Hide();
}
else if (e.KeyChar == '<' || e.KeyChar == '>' || e.KeyChar == '|' || e.KeyChar == '"' || e.KeyChar == '?'
|| e.KeyChar == '*' || e.KeyChar == ':' || e.KeyChar == '/' || e.KeyChar == '\\')
{
e.Handled = true;
}
}
private void smartKeyboard_OnXKeyClick(object sender, EventArgs e)
{
this.EnableWhenUsingKeyboard(true);
this.textBoxLevel1.Enabled = true;
this.textBoxLevel2.Enabled = true;
this.textBoxLevel3.Enabled = true;
if (this.smartKeyboard.TargetInputObject == this.textBoxLevel1)
{
this.textBoxLevel1.Text = this.BeforeTextBox1;
}
else if (this.smartKeyboard.TargetInputObject == this.textBoxLevel2)
{
this.textBoxLevel2.Text = this.BeforeTextBox2;
}
else if (this.smartKeyboard.TargetInputObject == this.textBoxLevel3)
{
this.textBoxLevel3.Text = this.BeforeTextBox3;
}
this.smartKeyboard.Hide();
}
private void labelTitle1_Click(object sender, EventArgs e)
{
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Developer)
@ -688,8 +524,8 @@ namespace INT69DB_2A.Forms
this.checkBoxL1MenuDataBackup.Checked = true;
this.checkBoxL1MenuStatistics.Checked = true;
this.checkBoxL1MenuViewer.Checked = true;
this.checkBoxL1MenuUser.Checked = true;
//this.checkBoxL1MenuEquipment.Checked = true;
this.checkBoxL1MenuEquipment.Checked = true;
//this.checkBoxL1MenuUser.Checked = true;
this.buttonSave.Visible = true;
}
@ -716,8 +552,8 @@ namespace INT69DB_2A.Forms
this.checkBoxL2MenuDataBackup.Checked = true;
this.checkBoxL2MenuStatistics.Checked = true;
this.checkBoxL2MenuViewer.Checked = true;
this.checkBoxL2MenuUser.Checked = true;
//this.checkBoxL2MenuEquipment.Checked = true;
//this.checkBoxL2MenuUser.Checked = true;
this.checkBoxL2MenuEquipment.Checked = true;
this.buttonSave.Visible = true;
}
@ -744,8 +580,8 @@ namespace INT69DB_2A.Forms
this.checkBoxL3MenuDataBackup.Checked = true;
this.checkBoxL3MenuStatistics.Checked = true;
this.checkBoxL3MenuViewer.Checked = true;
this.checkBoxL3MenuUser.Checked = true;
//this.checkBoxL3MenuEquipment.Checked = true;
//this.checkBoxL3MenuUser.Checked = true;
this.checkBoxL3MenuEquipment.Checked = true;
this.buttonSave.Visible = true;
}
@ -772,12 +608,76 @@ namespace INT69DB_2A.Forms
this.checkBoxNotLoginMenuStatistics.Checked = true;
this.checkBoxNotLoginMenuViewer.Checked = true;
this.checkBoxNotLoginMenuDataBackup.Checked = true;
//this.checkBoxNotLoginMenuEquipment.Checked = true;
this.checkBoxNotLoginMenuEquipment.Checked = true;
this.buttonSave.Visible = true;
}
}
private void labelLevel1Name_Click(object sender, EventArgs e)
{
string before = "", after = "";
before = this.labelLevel1Name.Text;
DialogFormUserEditorKeyboard keyboard = new DialogFormUserEditorKeyboard(this.labelLevel1Name.Text);
if (keyboard.ShowDialog() == DialogResult.OK)
{
this.labelLevel1Name.Text = keyboard.RetStringValue;
after = this.labelLevel1Name.Text;
this.ParentForm.SystemConfig.User_Level1_Name = this.labelLevel1Name.Text;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Level1Name, "", before, after);
}
}
private void labelLevel2Name_Click(object sender, EventArgs e)
{
string before = "", after = "";
before = this.labelLevel2Name.Text;
DialogFormUserEditorKeyboard keyboard = new DialogFormUserEditorKeyboard(this.labelLevel2Name.Text);
if (keyboard.ShowDialog() == DialogResult.OK)
{
this.labelLevel2Name.Text = keyboard.RetStringValue;
after = this.labelLevel2Name.Text;
this.ParentForm.SystemConfig.User_Level2_Name = this.labelLevel2Name.Text;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Level2Name, "", before, after);
}
}
private void labelLevel3Name_Click(object sender, EventArgs e)
{
string before = "", after = "";
before = this.labelLevel3Name.Text;
DialogFormUserEditorKeyboard keyboard = new DialogFormUserEditorKeyboard(this.labelLevel3Name.Text);
if (keyboard.ShowDialog() == DialogResult.OK)
{
this.labelLevel3Name.Text = keyboard.RetStringValue;
after = this.labelLevel3Name.Text;
this.ParentForm.SystemConfig.User_Level3_Name = this.labelLevel3Name.Text;
this.ParentForm.SaveSystemConfigurationFile(this.ParentForm.SystemConfig);
// Part11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.Level3Name, "", before, after);
}
}
private void checkBox_Click(object sender, EventArgs e)
{
if (this.buttonSave.Visible == false)

View File

@ -862,420 +862,6 @@
fEWxEJVgwxys6MzCv5AmxH+FsM1M43gWFGn6Bnx1L54JUQk2zMGKziwo0lyffrUXlRUIXVBUVoit9k51
sKgzC4o0a+MjP3V24G548+rilVJRQ4DIFgZsmOdqFhRpYE1cBHfp6/cxplxsYcAmBkFnVp3mb7GQxpyF
NObMpzSusD+gYrSgw75pZQAAAABJRU5ErkJggg==
</value>
</data>
<data name="smartKeyboard.KeyPressImage1" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADsAAAA7CAYAAADFJfKzAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR
3xKxRoowlSviN+LYVA4zAwAUSWwXcFiJIjYRMYkfEuQi4uUA4EgJX3HcVyzgZAvEl3JJS8/hcxMSBXQd
li7d1NqaQffkZKVwBALDACYrmcln013SUtOZvBwAFu/8WTLi2tJFRbY0tba0NDQzMv2qUP91829K3NtF
ehn4uWcQrf+L7a/80hoAYMyJarPziy2uCoDOLQDI3fti0zgAgKSobx3Xv7oPTTwviQJBuo2xcVZWlhGX
wzISF/QP/U+Hv6GvvmckPu6P8tBdOfFMYYqALq4bKy0lTcinZ6QzWRy64Z+H+B8H/nUeBkGceA6fwxNF
hImmjMtLELWbx+YKuGk8Opf3n5r4D8P+pMW5FonS+BFQY4yA1HUqQH7tBygKESDR+8Vd/6NvvvgwIH55
4SqTi3P/7zf9Z8Gl4iWDm/A5ziUohM4S8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Wm5ubTUaHhoY0MDCgrq4uEzUy7fP5rBfHjYSVl5ebY8lIWZ+fn8dhOZdMAgsgwESNBb6eC5vF
HmlINCaSR0mTaRLlySwTwAJNGVO2ZJT/Py1sq6KwNCrOMIkLhUK6urqKwwYCftOYKAMgqX8CwP+fFrVV
UVhGkka/6e3t1c3NTRyWKPC5oRS458G/GpYGxQsO9pfIwTpYB+tgrZWDdbAO1sFaKwfrYB2sg7VWDtbB
OlgHa60crIN1sA7WWjlYB+tgHay1crAO1sE6WGv1n2HxLvICkFFX22+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
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb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sgg51cKP7KLFS0UcJ7V/RHg39fiEVR5Eam2ip71aqz9eumheiMyUGNzU1KdBXCaK/C+6GPwOXg4Ob
GwlczJ8CPQnhCd3o0AwUPSTRINQlNRDwU1pamhKLJlnoJorVgMkA598Bng1fCZeDg5sbCVzMn0D7KC0t
VX0k0eV1ZGSExsbG3FLRizAxMZHS09NVt2c8X9GrEKC9nT4CSP8MOo4T5EBjYg78EX/DvE+OcHJzcU10
jvfyADPXV6JjIz+komKx9U5NTdH8/DwtLi7yUhMSEig5OVmJRRBsv+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
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKO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.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADsAAAA7CAYAAADFJfKzAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4
JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR
3xKxRoowlSviN+LYVA4zAwAUSWwXcFiJIjYRMYkfEuQi4uUA4EgJX3HcVyzgZAvEl3JJS8/hcxMSBXQd
li7d1NqaQffkZKVwBALDACYrmcln013SUtOZvBwAFu/8WTLi2tJFRbY0tba0NDQzMv2qUP91829K3NtF
ehn4uWcQrf+L7a/80hoAYMyJarPziy2uCoDOLQDI3fti0zgAgKSobx3Xv7oPTTwviQJBuo2xcVZWlhGX
wzISF/QP/U+Hv6GvvmckPu6P8tBdOfFMYYqALq4bKy0lTcinZ6QzWRy64Z+H+B8H/nUeBkGceA6fwxNF
hImmjMtLELWbx+YKuGk8Opf3n5r4D8P+pMW5FonS+BFQY4yA1HUqQH7tBygKESDR+8Vd/6NvvvgwIH55
4SqTi3P/7zf9Z8Gl4iWDm/A5ziUohM4S8jMX98TPEqABAUgCKpAHykAd6ABDYAasgC1wBG7AG/iDEBAJ
VgMWSASpgA+yQB7YBApBMdgJ9oBqUAcaQTNoBcdBJzgFzoNL4Bq4AW6D+2AU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cnNzpavx8fEICQmBt7c33N3d8e3bprmzQ0NDGBwcRHd3t3SztLRULpCT
kyNkZ2crDfeYmZmJlJSUt/vVy8sLbm5u1mNMya6uLrS2tqKqqko6ypGwdWFVMWRjY2PfZF1dXbGysvIu
e3dnkfuTcHwrKipkdDkWti6qKv8ke3t7g/b2dnR0dMgI81790rJtbW0i/OVlLRYtq2VVRstqWS2rZZVF
y2pZLatllUXLalktq2WVRctqWS2rZZVFy2pZLatllUXLalktq2WVRcv+97KMBH01WU9PT2vZm5vfkuRk
dxsaGiQW91llk5OTERMTg6CgIJF1cXGRiOKb7K9f16ivr0dzczPq6uok3VZYWPjpZBm7TUpKQnR0NAIC
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
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FY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laghL1RCWqiEsVUNYqoawVA1hqRrCUjWEpWoIS9UQ
lqohLFVDWKqGsFQNYakawlI1hKVqCEvVEJaqISxVQ1iqhrBUDWGpGmK1VIzaYamfA6uk3t39R93d3aJa
29vbxdw7luq8YIQdpMbFxVFISIha6rdvt9TW1kZdXV3U2toqpp2Vl5ezVCcFUtPS0t6WajBcCZEYZojW
i5GjpaWlYmRaQUGB3VAt+F9R5VGhevY9qGJ+BPn5+ZSdnU2pqakUExNDwcHB5O3tTe7u7uZSv3w5FTfK
xaJnYzfk5OQIcG0PkMfWqPKoUD37HlQx7Q1cwBNaL4ZNYoJoQECAmCBqIfXr10tKSEgQo0ZTUlJEaUsQ
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
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0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vr7+2l4eFgskS0Wi1ge87gO9FAA
+LHeFO719ZUI1nsYxXtbhAsQOm8Ol4NFuADKgHABJIRwASSEcAEkhHABJIRwASSEcAEkhHABJIRwASSE
cAEkhHABJIRwASSEcAEkhHABJIRwASSEcAEkhHABJIRwASSEcAEkhHABJIRwASSEcAEkhHABJIRwASSE
cAEkhHABJIRwASSEcAEkhHABJIRwASSEcAEkhHABJIRwASSEcAEkhHABJPTGcH9DuAAK8uZwu7u7ES6A
Qnwfbnx8/Otwr64uqauriwYHB0XAzc3NCBcghDjc4uJiysnJodTUVBFubGwsuVyuf8K9vPyVrFYr9fX1
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">

View File

@ -175,6 +175,45 @@ namespace INT69DB_2A
return sValue;
}
/// <summary>
/// Check Sum 8
/// </summary>
/// <param name="strTemp"></param>
/// <returns></returns>
public static string Checksumcalculator(string strTemp)
{
string chkSum = "";
byte[] temp;
int value = 0, first = 0, second = 0;
char char1, char2;
if (strTemp == null || strTemp.Length == 0)
chkSum = "cc";
else
{
temp = new UTF8Encoding().GetBytes(strTemp);
for (int i = 0; i < temp.Length; i++)
value += temp[i];
first = (value & 0x00f0) >> 4;
if (first > 9)
char1 = (char)(first + 0x37);
else
char1 = (char)(first + 0x30);
second = value & 0x000f;
if (second > 9)
char2 = (char)(second + 0x37);
else
char2 = (char)(second + 0x30);
chkSum = char1.ToString() + char2.ToString();
}
return chkSum;
}
public static DataStore.JudgmentStatus StringToJudgmentStatusStatistics(string value)
{
if (value == "Under")

View File

@ -49,6 +49,10 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\Program Files (x86)\Intech\InModbus_V2.0.2.0\InModbus.dll</HintPath>
</Reference>
<Reference Include="INT69DB_2A_ImageDll, Version=1.0.8635.27799, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\INT69DB_2A_ImageDll\INT69DB_2A_ImageDll\bin\Release\INT69DB_2A_ImageDll.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsCE.Forms" />
<Reference Include="mscorlib" />
<Reference Include="SmartXCommon, Version=3.1.1.0, Culture=neutral, processorArchitecture=MSIL">
@ -307,14 +311,14 @@
<Compile Include="DialogForms\DialogFormLogOn.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormLogOn.Designer.cs">
<Compile Include="DialogForms\DialogFormLogOn.designer.cs">
<DependentUpon>DialogFormLogOn.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormPasswordKeyPad1.cs">
<Compile Include="DialogForms\DialogFormPasswordKeyPad.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormPasswordKeyPad1.designer.cs">
<DependentUpon>DialogFormPasswordKeyPad1.cs</DependentUpon>
<Compile Include="DialogForms\DialogFormPasswordKeyPad.designer.cs">
<DependentUpon>DialogFormPasswordKeyPad.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormMessage.cs">
<SubType>Form</SubType>
@ -382,11 +386,11 @@
<Compile Include="Forms\FormEquipmentSetting.Designer.cs">
<DependentUpon>FormEquipmentSetting.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormFactoryReset.cs">
<Compile Include="Forms\FormInitialization.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormFactoryReset.Designer.cs">
<DependentUpon>FormFactoryReset.cs</DependentUpon>
<Compile Include="Forms\FormInitialization.Designer.cs">
<DependentUpon>FormInitialization.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormInformation.cs">
<SubType>Form</SubType>
@ -400,6 +404,12 @@
<Compile Include="Forms\FormIOTest.Designer.cs">
<DependentUpon>FormIOTest.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormOption.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormOption.Designer.cs">
<DependentUpon>FormOption.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormSystemSetting.cs">
<SubType>Form</SubType>
</Compile>
@ -638,8 +648,8 @@
<DependentUpon>DialogFormLogOn.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormPasswordKeyPad1.resx">
<DependentUpon>DialogFormPasswordKeyPad1.cs</DependentUpon>
<EmbeddedResource Include="DialogForms\DialogFormPasswordKeyPad.resx">
<DependentUpon>DialogFormPasswordKeyPad.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormMessage.resx">
@ -686,8 +696,8 @@
<DependentUpon>FormEquipmentSetting.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormFactoryReset.resx">
<DependentUpon>FormFactoryReset.cs</DependentUpon>
<EmbeddedResource Include="Forms\FormInitialization.resx">
<DependentUpon>FormInitialization.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormInformation.resx">
@ -698,6 +708,10 @@
<DependentUpon>FormIOTest.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormOption.resx">
<DependentUpon>FormOption.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSystemSetting.resx">
<DependentUpon>FormSystemSetting.cs</DependentUpon>
<SubType>Designer</SubType>
@ -756,12 +770,6 @@
<ItemGroup>
<Content Include="Version.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\INT69DB_2A_ImageDll\INT69DB_2A_ImageDll\INT69DB_2A_ImageDll.csproj">
<Project>{0E385F13-0B8B-4E88-B19C-6924AEA4F3F5}</Project>
<Name>INT69DB_2A_ImageDll</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>

View File

@ -10,30 +10,27 @@ namespace INT69DB_2A.Part11_UserManager
public class UserItem
{
#region Field
private bool m_IsUpdate;
private string m_ID;
private string m_Password;
private string m_PreviousPassword1;
private string m_PreviousPassword2;
private string m_PreviousPassword3;
private int m_ExpireAccount;
private int m_ExpireId;
private int m_ExpirePassword;
private bool m_IsLockAccount;
private bool m_IsLockPassword;
private DateTime m_DateRegister;
private DateTime m_DateLogin;
private DateTime m_DateExpireRegister;
private DateTime m_DateExpireLogin;
private DateTime m_DatePasswordRegister;
private DateTime m_DateIdLogin;
private DateTime m_DatePasswordExpire;
private DateTime m_DateIdExpire;
private DataStore.UserGroup m_Group;
private bool m_IsAdmin;
private int m_ActiveLevel;
private int m_IsFirstPassword;
#endregion
#region Constructor
@ -44,12 +41,6 @@ namespace INT69DB_2A.Part11_UserManager
#endregion
#region Property
public bool IsUpdate
{
get { return this.m_IsUpdate; }
set { this.m_IsUpdate = value; }
}
public string ID
{
get { return this.m_ID; }
@ -60,26 +51,11 @@ namespace INT69DB_2A.Part11_UserManager
get { return this.m_Password; }
set { this.m_Password = value; }
}
public string PreviousPassword1
{
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 ExpireAccount
public int ExpireId
{
get { return this.m_ExpireAccount; }
set { this.m_ExpireAccount = value; }
get { return this.m_ExpireId; }
set { this.m_ExpireId = value; }
}
public int ExpirePassword
{
@ -98,25 +74,25 @@ namespace INT69DB_2A.Part11_UserManager
set { this.m_IsLockPassword = value; }
}
public DateTime DateRegister
public DateTime DatePasswordRegister
{
get { return this.m_DateRegister; }
set { this.m_DateRegister = value; }
get { return this.m_DatePasswordRegister; }
set { this.m_DatePasswordRegister = value; }
}
public DateTime DateLogin
public DateTime DateIdLogin
{
get { return this.m_DateLogin; }
set { this.m_DateLogin = value; }
get { return this.m_DateIdLogin; }
set { this.m_DateIdLogin = value; }
}
public DateTime DateExpireRegister
public DateTime DatePasswordExpire
{
get { return this.m_DateExpireRegister; }
set { this.m_DateExpireRegister = value; }
get { return this.m_DatePasswordExpire; }
set { this.m_DatePasswordExpire = value; }
}
public DateTime DateExpireLogin
public DateTime DateIdExpire
{
get { return this.m_DateExpireLogin; }
set { this.m_DateExpireLogin = value; }
get { return this.m_DateIdExpire; }
set { this.m_DateIdExpire = value; }
}
public DataStore.UserGroup Group
@ -136,41 +112,52 @@ namespace INT69DB_2A.Part11_UserManager
get { return this.m_ActiveLevel; }
set { this.m_ActiveLevel = value; }
}
public int IsFirstPassword
{
get { return this.m_IsFirstPassword; }
set { this.m_IsFirstPassword = value; }
}
#endregion
#region Method
private void Initialize()
{
this.IsUpdate = false;
this.ID = "-";
this.Password = "-";
this.PreviousPassword1 = "-";
this.PreviousPassword2 = "-";
this.PreviousPassword3 = "-";
this.ExpireAccount = 0;
this.ExpireId = 0;
this.ExpirePassword = 0;
this.DateRegister = DateTime.Now;
this.DateLogin = DateTime.Now;
this.DateExpireRegister = DateTime.Now;
this.DateExpireLogin = DateTime.Now;
this.DatePasswordRegister = DateTime.Now;
this.DateIdLogin = DateTime.Now;
this.DatePasswordExpire = DateTime.Now;
this.DateIdExpire = DateTime.Now;
this.Group = DataStore.UserGroup.None;
this.IsAdmin = false;
this.ActiveLevel = 1;
this.IsFirstPassword = 1; //[1] 최초 비밀번호(비밀번호 변경창 띄우기), [0] 비밀번호 변경완료됨
}
public void SetPassword(string pass)
public int GetPasswordExpiryDday()
{
this.PreviousPassword3 = this.PreviousPassword2;
this.PreviousPassword2 = this.PreviousPassword1;
this.PreviousPassword1 = pass;
this.Password = pass;
int ret = 0;
DateTime timeNow = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day);
TimeSpan dayDiff;
if (this.Group == DataStore.UserGroup.Admin || this.Group == DataStore.UserGroup.Developer)
ret = 9999;
else
{
dayDiff = timeNow.Date - this.DateIdExpire.Date;
ret = dayDiff.Days;
}
return ret;
}
#endregion
}

View File

@ -125,6 +125,9 @@ namespace INT69DB_2A.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);

View File

@ -69,26 +69,26 @@ namespace INT69DB_2A.Part11_UserManager
USER_MGR_STATUS_OK = 0x00,
// error status
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_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_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_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_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_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_MAX,
};
@ -212,34 +212,37 @@ namespace INT69DB_2A.Part11_UserManager
public Int32 fadmin;
[MarshalAs(UnmanagedType.I4)]
public Int32 expire_period_pw; // password lock
public Int32 password_expire_period; // password lock date
[MarshalAs(UnmanagedType.I4)]
public Int32 expire_period_account; // account lock
public Int32 id_expire_period; // id lock date
[MarshalAs(UnmanagedType.I4)]
public Int32 flock_status_account; // user ID (account) lock
public Int32 id_flock_status; // user ID (account) lock status
[MarshalAs(UnmanagedType.I4)]
public Int32 flock_status_password; // password lock (need to change password)
public Int32 password_flock_status; // password lock status (need to change password)
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t register_date; // date/time when the user password was registered or changed
public DateTime_t password_register_date; // date/time when the user password was registered or changed
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t login_date; // date/time when the user was login
public DateTime_t id_login_date; // date/time when the user was login
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t expire_register_date;
public DateTime_t password_expire_date; // Password Expiration Date
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t expire_account_date;
public DateTime_t id_expire_date; // Account Expiration Date
[MarshalAs(UnmanagedType.Struct)]
public MenuID_t menuID;
public MenuID_t menuID; // flag of Menu IDs
[MarshalAs(UnmanagedType.I4)]
public Int32 active_level;
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)
}
#endregion
@ -324,34 +327,37 @@ namespace INT69DB_2A.Part11_UserManager
public Int32 fadmin;
[MarshalAs(UnmanagedType.I4)]
public Int32 expire_period_pw; // password lock
public Int32 password_expire_period; // password lock
[MarshalAs(UnmanagedType.I4)]
public Int32 expire_period_account; // account lock
public Int32 id_expire_period; // account lock
[MarshalAs(UnmanagedType.I4)]
public Int32 flock_status_account; // user ID (account) lock
public Int32 id_flock_status; // user ID (account) lock
[MarshalAs(UnmanagedType.I4)]
public Int32 flock_status_password; // password lock (need to change password)
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t register_date; // date/time when the user password was registered or changed
public DateTime_t password_register_date; // date/time when the user password was registered or changed
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t login_date; // date/time when the user was login
public DateTime_t id_login_date; // date/time when the user was login
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t expire_register_date;
public DateTime_t password_expire_date; // Password Expiration Date
[MarshalAs(UnmanagedType.Struct)]
public DateTime_t expire_account_date;
public DateTime_t id_expire_date; // Account Expiration Date
[MarshalAs(UnmanagedType.I4)]
public Int32 active_level;
public Int32 active_level; // menu active level : max : MAX_ACTIVE_LEVEL
[MarshalAs(UnmanagedType.Struct)]
public MenuID_t menuID;
public MenuID_t menuID; // flag of Menu IDs
[MarshalAs(UnmanagedType.I4)]
public Int32 fFirstPW; // flag first password
}
#endregion

View File

@ -136,6 +136,18 @@ namespace INT69DB_2A.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 void UserManager_UserModifyID(String sID, String sNewID)
{
IntPtr pID = Marshal.StringToBSTR(sID.ToString());

View File

@ -19,9 +19,14 @@
- Ver 4.5.0 Modify
- Framework : SmartX Framework V3.1.1(update: 2019.03.21)
- (V4.5.1) 영문화면 영문 변경 안되는 버그 수정
- 모터설정 - 모터 테스트(COM1, RS485)
'정회전' 동작 안하는 버그 수정
- Part 11 적용
INT69DC_7C V11.0.0 참조
- Level1, 2 default 그룹 bool값 적용
- 데이터뷰어 - 파일 선택창에 필터 추가
@ Ver 4.5.0 by CJY
- 2022.12.22
- Ver 4.4.0 Modify

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More