파일정리

This commit is contained in:
ChiKyun Kim
2026-01-29 14:03:17 +09:00
parent 00cc0ef5b7
commit 58ca67150d
440 changed files with 47236 additions and 99165 deletions

687
HMI/Project/Dialog/fCounter.Designer.cs generated Normal file
View File

@@ -0,0 +1,687 @@
namespace Project.Dialog
{
partial class fCounter
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.lbcnt1 = new arCtl.arLabel();
this.lbcnt2 = new arCtl.arLabel();
this.lbcnt3 = new arCtl.arLabel();
this.lbcnt4 = new arCtl.arLabel();
this.lbcnt5 = new arCtl.arLabel();
this.lbcnta = new arCtl.arLabel();
this.lbcntm = new arCtl.arLabel();
this.lbcnte = new arCtl.arLabel();
this.lbcntqa = new arCtl.arLabel();
this.lbcntqc = new arCtl.arLabel();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.label4, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.label5, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.label6, 4, 2);
this.tableLayoutPanel1.Controls.Add(this.label7, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.label8, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.label9, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.label10, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.lbcnt1, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.lbcnt2, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.lbcnt3, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.lbcnt4, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.lbcnt5, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.lbcnta, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.lbcntm, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.lbcnte, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.lbcntqa, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.lbcntqc, 4, 3);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(392, 135);
this.tableLayoutPanel1.TabIndex = 0;
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(4, 1);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(71, 20);
this.label1.TabIndex = 0;
this.label1.Text = "FVI-1";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(82, 1);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 20);
this.label2.TabIndex = 0;
this.label2.Text = "FVI-2";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label3
//
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Location = new System.Drawing.Point(160, 1);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(71, 20);
this.label3.TabIndex = 0;
this.label3.Text = "FVI-3";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Location = new System.Drawing.Point(238, 1);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(71, 20);
this.label4.TabIndex = 0;
this.label4.Text = "FVI-4";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label5
//
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Location = new System.Drawing.Point(316, 1);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 20);
this.label5.TabIndex = 0;
this.label5.Text = "--";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label6
//
this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
this.label6.Location = new System.Drawing.Point(316, 68);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 20);
this.label6.TabIndex = 0;
this.label6.Text = "QC";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label7
//
this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
this.label7.Location = new System.Drawing.Point(238, 68);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(71, 20);
this.label7.TabIndex = 0;
this.label7.Text = "QA";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label8
//
this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
this.label8.Location = new System.Drawing.Point(160, 68);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(71, 20);
this.label8.TabIndex = 0;
this.label8.Text = "충전실패";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label9
//
this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
this.label9.Location = new System.Drawing.Point(82, 68);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(71, 20);
this.label9.TabIndex = 0;
this.label9.Text = "충전(수동)";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label10
//
this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
this.label10.Location = new System.Drawing.Point(4, 68);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(71, 20);
this.label10.TabIndex = 0;
this.label10.Text = "충전(자동)";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbcnt1
//
this.lbcnt1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnt1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnt1.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnt1.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnt1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnt1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnt1.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnt1.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnt1.ForeColor = System.Drawing.Color.White;
this.lbcnt1.GradientEnable = true;
this.lbcnt1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnt1.GradientRepeatBG = false;
this.lbcnt1.isButton = false;
this.lbcnt1.Location = new System.Drawing.Point(1, 22);
this.lbcnt1.Margin = new System.Windows.Forms.Padding(0);
this.lbcnt1.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnt1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnt1.msg = null;
this.lbcnt1.Name = "lbcnt1";
this.lbcnt1.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnt1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnt1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnt1.ProgressEnable = false;
this.lbcnt1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnt1.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnt1.ProgressMax = 100F;
this.lbcnt1.ProgressMin = 0F;
this.lbcnt1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnt1.ProgressValue = 0F;
this.lbcnt1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnt1.Sign = "";
this.lbcnt1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnt1.SignColor = System.Drawing.Color.Yellow;
this.lbcnt1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnt1.Size = new System.Drawing.Size(77, 45);
this.lbcnt1.TabIndex = 5;
this.lbcnt1.Text = "99";
this.lbcnt1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnt1.TextShadow = true;
this.lbcnt1.TextVisible = true;
//
// lbcnt2
//
this.lbcnt2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnt2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnt2.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnt2.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnt2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnt2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnt2.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnt2.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnt2.ForeColor = System.Drawing.Color.White;
this.lbcnt2.GradientEnable = true;
this.lbcnt2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnt2.GradientRepeatBG = false;
this.lbcnt2.isButton = false;
this.lbcnt2.Location = new System.Drawing.Point(79, 22);
this.lbcnt2.Margin = new System.Windows.Forms.Padding(0);
this.lbcnt2.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnt2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnt2.msg = null;
this.lbcnt2.Name = "lbcnt2";
this.lbcnt2.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnt2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnt2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnt2.ProgressEnable = false;
this.lbcnt2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnt2.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnt2.ProgressMax = 100F;
this.lbcnt2.ProgressMin = 0F;
this.lbcnt2.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnt2.ProgressValue = 0F;
this.lbcnt2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnt2.Sign = "";
this.lbcnt2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnt2.SignColor = System.Drawing.Color.Yellow;
this.lbcnt2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnt2.Size = new System.Drawing.Size(77, 45);
this.lbcnt2.TabIndex = 5;
this.lbcnt2.Text = "99";
this.lbcnt2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnt2.TextShadow = true;
this.lbcnt2.TextVisible = true;
//
// lbcnt3
//
this.lbcnt3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnt3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnt3.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnt3.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnt3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnt3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnt3.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnt3.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnt3.ForeColor = System.Drawing.Color.White;
this.lbcnt3.GradientEnable = true;
this.lbcnt3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnt3.GradientRepeatBG = false;
this.lbcnt3.isButton = false;
this.lbcnt3.Location = new System.Drawing.Point(157, 22);
this.lbcnt3.Margin = new System.Windows.Forms.Padding(0);
this.lbcnt3.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnt3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnt3.msg = null;
this.lbcnt3.Name = "lbcnt3";
this.lbcnt3.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnt3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnt3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnt3.ProgressEnable = false;
this.lbcnt3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnt3.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnt3.ProgressMax = 100F;
this.lbcnt3.ProgressMin = 0F;
this.lbcnt3.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnt3.ProgressValue = 0F;
this.lbcnt3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnt3.Sign = "";
this.lbcnt3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnt3.SignColor = System.Drawing.Color.Yellow;
this.lbcnt3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnt3.Size = new System.Drawing.Size(77, 45);
this.lbcnt3.TabIndex = 5;
this.lbcnt3.Text = "99";
this.lbcnt3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnt3.TextShadow = true;
this.lbcnt3.TextVisible = true;
//
// lbcnt4
//
this.lbcnt4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnt4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnt4.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnt4.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnt4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnt4.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnt4.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnt4.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnt4.ForeColor = System.Drawing.Color.White;
this.lbcnt4.GradientEnable = true;
this.lbcnt4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnt4.GradientRepeatBG = false;
this.lbcnt4.isButton = false;
this.lbcnt4.Location = new System.Drawing.Point(235, 22);
this.lbcnt4.Margin = new System.Windows.Forms.Padding(0);
this.lbcnt4.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnt4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnt4.msg = null;
this.lbcnt4.Name = "lbcnt4";
this.lbcnt4.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnt4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnt4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnt4.ProgressEnable = false;
this.lbcnt4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnt4.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnt4.ProgressMax = 100F;
this.lbcnt4.ProgressMin = 0F;
this.lbcnt4.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnt4.ProgressValue = 0F;
this.lbcnt4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnt4.Sign = "";
this.lbcnt4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnt4.SignColor = System.Drawing.Color.Yellow;
this.lbcnt4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnt4.Size = new System.Drawing.Size(77, 45);
this.lbcnt4.TabIndex = 5;
this.lbcnt4.Text = "99";
this.lbcnt4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnt4.TextShadow = true;
this.lbcnt4.TextVisible = true;
//
// lbcnt5
//
this.lbcnt5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt5.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnt5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnt5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnt5.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnt5.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnt5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnt5.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnt5.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnt5.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnt5.ForeColor = System.Drawing.Color.White;
this.lbcnt5.GradientEnable = true;
this.lbcnt5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnt5.GradientRepeatBG = false;
this.lbcnt5.isButton = false;
this.lbcnt5.Location = new System.Drawing.Point(313, 22);
this.lbcnt5.Margin = new System.Windows.Forms.Padding(0);
this.lbcnt5.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnt5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnt5.msg = null;
this.lbcnt5.Name = "lbcnt5";
this.lbcnt5.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnt5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnt5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnt5.ProgressEnable = false;
this.lbcnt5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnt5.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnt5.ProgressMax = 100F;
this.lbcnt5.ProgressMin = 0F;
this.lbcnt5.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnt5.ProgressValue = 0F;
this.lbcnt5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnt5.Sign = "";
this.lbcnt5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnt5.SignColor = System.Drawing.Color.Yellow;
this.lbcnt5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnt5.Size = new System.Drawing.Size(78, 45);
this.lbcnt5.TabIndex = 5;
this.lbcnt5.Text = "--";
this.lbcnt5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnt5.TextShadow = true;
this.lbcnt5.TextVisible = true;
//
// lbcnta
//
this.lbcnta.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnta.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnta.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnta.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnta.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnta.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnta.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnta.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnta.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnta.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnta.ForeColor = System.Drawing.Color.White;
this.lbcnta.GradientEnable = true;
this.lbcnta.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnta.GradientRepeatBG = false;
this.lbcnta.isButton = false;
this.lbcnta.Location = new System.Drawing.Point(1, 89);
this.lbcnta.Margin = new System.Windows.Forms.Padding(0);
this.lbcnta.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnta.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnta.msg = null;
this.lbcnta.Name = "lbcnta";
this.lbcnta.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnta.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnta.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnta.ProgressEnable = false;
this.lbcnta.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnta.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnta.ProgressMax = 100F;
this.lbcnta.ProgressMin = 0F;
this.lbcnta.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnta.ProgressValue = 0F;
this.lbcnta.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnta.Sign = "";
this.lbcnta.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnta.SignColor = System.Drawing.Color.Yellow;
this.lbcnta.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnta.Size = new System.Drawing.Size(77, 45);
this.lbcnta.TabIndex = 5;
this.lbcnta.Text = "99";
this.lbcnta.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnta.TextShadow = true;
this.lbcnta.TextVisible = true;
//
// lbcntm
//
this.lbcntm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcntm.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcntm.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcntm.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcntm.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcntm.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcntm.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcntm.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcntm.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcntm.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcntm.ForeColor = System.Drawing.Color.White;
this.lbcntm.GradientEnable = true;
this.lbcntm.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcntm.GradientRepeatBG = false;
this.lbcntm.isButton = false;
this.lbcntm.Location = new System.Drawing.Point(79, 89);
this.lbcntm.Margin = new System.Windows.Forms.Padding(0);
this.lbcntm.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcntm.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcntm.msg = null;
this.lbcntm.Name = "lbcntm";
this.lbcntm.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcntm.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcntm.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcntm.ProgressEnable = false;
this.lbcntm.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcntm.ProgressForeColor = System.Drawing.Color.Black;
this.lbcntm.ProgressMax = 100F;
this.lbcntm.ProgressMin = 0F;
this.lbcntm.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcntm.ProgressValue = 0F;
this.lbcntm.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcntm.Sign = "";
this.lbcntm.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcntm.SignColor = System.Drawing.Color.Yellow;
this.lbcntm.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcntm.Size = new System.Drawing.Size(77, 45);
this.lbcntm.TabIndex = 5;
this.lbcntm.Text = "99";
this.lbcntm.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcntm.TextShadow = true;
this.lbcntm.TextVisible = true;
//
// lbcnte
//
this.lbcnte.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnte.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcnte.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcnte.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcnte.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcnte.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcnte.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcnte.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcnte.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcnte.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcnte.ForeColor = System.Drawing.Color.White;
this.lbcnte.GradientEnable = true;
this.lbcnte.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcnte.GradientRepeatBG = false;
this.lbcnte.isButton = false;
this.lbcnte.Location = new System.Drawing.Point(157, 89);
this.lbcnte.Margin = new System.Windows.Forms.Padding(0);
this.lbcnte.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcnte.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcnte.msg = null;
this.lbcnte.Name = "lbcnte";
this.lbcnte.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcnte.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcnte.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcnte.ProgressEnable = false;
this.lbcnte.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcnte.ProgressForeColor = System.Drawing.Color.Black;
this.lbcnte.ProgressMax = 100F;
this.lbcnte.ProgressMin = 0F;
this.lbcnte.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcnte.ProgressValue = 0F;
this.lbcnte.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcnte.Sign = "";
this.lbcnte.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcnte.SignColor = System.Drawing.Color.Yellow;
this.lbcnte.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcnte.Size = new System.Drawing.Size(77, 45);
this.lbcnte.TabIndex = 5;
this.lbcnte.Text = "99";
this.lbcnte.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcnte.TextShadow = true;
this.lbcnte.TextVisible = true;
//
// lbcntqa
//
this.lbcntqa.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcntqa.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcntqa.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcntqa.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcntqa.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcntqa.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcntqa.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcntqa.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcntqa.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcntqa.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcntqa.ForeColor = System.Drawing.Color.White;
this.lbcntqa.GradientEnable = true;
this.lbcntqa.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcntqa.GradientRepeatBG = false;
this.lbcntqa.isButton = false;
this.lbcntqa.Location = new System.Drawing.Point(235, 89);
this.lbcntqa.Margin = new System.Windows.Forms.Padding(0);
this.lbcntqa.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcntqa.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcntqa.msg = null;
this.lbcntqa.Name = "lbcntqa";
this.lbcntqa.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcntqa.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcntqa.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcntqa.ProgressEnable = false;
this.lbcntqa.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcntqa.ProgressForeColor = System.Drawing.Color.Black;
this.lbcntqa.ProgressMax = 100F;
this.lbcntqa.ProgressMin = 0F;
this.lbcntqa.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcntqa.ProgressValue = 0F;
this.lbcntqa.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcntqa.Sign = "";
this.lbcntqa.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcntqa.SignColor = System.Drawing.Color.Yellow;
this.lbcntqa.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcntqa.Size = new System.Drawing.Size(77, 45);
this.lbcntqa.TabIndex = 5;
this.lbcntqa.Text = "99";
this.lbcntqa.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcntqa.TextShadow = true;
this.lbcntqa.TextVisible = true;
//
// lbcntqc
//
this.lbcntqc.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcntqc.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.lbcntqc.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbcntqc.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbcntqc.BorderColorOver = System.Drawing.Color.DodgerBlue;
this.lbcntqc.BorderSize = new System.Windows.Forms.Padding(0);
this.lbcntqc.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbcntqc.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbcntqc.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbcntqc.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbcntqc.ForeColor = System.Drawing.Color.White;
this.lbcntqc.GradientEnable = true;
this.lbcntqc.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbcntqc.GradientRepeatBG = false;
this.lbcntqc.isButton = false;
this.lbcntqc.Location = new System.Drawing.Point(313, 89);
this.lbcntqc.Margin = new System.Windows.Forms.Padding(0);
this.lbcntqc.MouseDownColor = System.Drawing.Color.Yellow;
this.lbcntqc.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbcntqc.msg = null;
this.lbcntqc.Name = "lbcntqc";
this.lbcntqc.ProgressBorderColor = System.Drawing.Color.Black;
this.lbcntqc.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbcntqc.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbcntqc.ProgressEnable = false;
this.lbcntqc.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbcntqc.ProgressForeColor = System.Drawing.Color.Black;
this.lbcntqc.ProgressMax = 100F;
this.lbcntqc.ProgressMin = 0F;
this.lbcntqc.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbcntqc.ProgressValue = 0F;
this.lbcntqc.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbcntqc.Sign = "";
this.lbcntqc.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbcntqc.SignColor = System.Drawing.Color.Yellow;
this.lbcntqc.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbcntqc.Size = new System.Drawing.Size(78, 45);
this.lbcntqc.TabIndex = 5;
this.lbcntqc.Text = "99";
this.lbcntqc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbcntqc.TextShadow = true;
this.lbcntqc.TextVisible = true;
this.lbcntqc.Click += new System.EventHandler(this.lbcntpk_Click);
//
// fCounter
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(392, 135);
this.Controls.Add(this.tableLayoutPanel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fCounter";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fCounter";
this.Load += new System.EventHandler(this.fCounter_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private arCtl.arLabel lbcnt1;
private arCtl.arLabel lbcnt2;
private arCtl.arLabel lbcnt3;
private arCtl.arLabel lbcnt4;
private arCtl.arLabel lbcnt5;
private arCtl.arLabel lbcnta;
private arCtl.arLabel lbcntm;
private arCtl.arLabel lbcnte;
private arCtl.arLabel lbcntqa;
private System.Windows.Forms.Label label6;
private arCtl.arLabel lbcntqc;
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fCounter : Form
{
public fCounter()
{
InitializeComponent();
}
private void fCounter_Load(object sender, EventArgs e)
{
lbcnt1.Text = PUB.counter.CountUp1.ToString();
lbcnt2.Text = PUB.counter.CountUp2.ToString();
lbcnt3.Text = PUB.counter.CountUp3.ToString();
lbcnt4.Text = PUB.counter.CountUp4.ToString();
//lbcnt5.Text = PUB.counter.CountUp5.ToString();
lbcnta.Text = PUB.counter.CountChargeA.ToString();
lbcntm.Text = PUB.counter.CountChargeM.ToString();
lbcnte.Text = PUB.counter.CountChargeE.ToString();
lbcntqa.Text = PUB.counter.CountQA.ToString();
lbcntqc.Text = PUB.counter.CountQC.ToString();
}
private void lbcntpk_Click(object sender, EventArgs e)
{
}
}
}

View File

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

View File

@@ -0,0 +1,127 @@
namespace Project
{
partial class fErrorException
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fErrorException));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.button2 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(160, 23);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(80, 80);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// button2
//
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
this.button2.Location = new System.Drawing.Point(30, 491);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(355, 54);
this.button2.TabIndex = 2;
this.button2.Text = "종료";
this.button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Brown;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(30, 117);
this.label1.Name = "label1";
this.label1.Padding = new System.Windows.Forms.Padding(10);
this.label1.Size = new System.Drawing.Size(355, 50);
this.label1.TabIndex = 3;
this.label1.Text = "미처리 오류로 인한 프로그램 중단";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label2.ForeColor = System.Drawing.Color.Blue;
this.label2.Location = new System.Drawing.Point(30, 182);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(311, 45);
this.label2.TabIndex = 4;
this.label2.Text = "오류보고를 위한 정보가 수집되었습니다.\r\n수집된 정보는 아래와 같고 오류가 발생하기 전의 상황을\r\n적어서 메일을 전송하면 버그 수정에 도움이 됩니" +
"다.";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(30, 240);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.Size = new System.Drawing.Size(355, 241);
this.textBox1.TabIndex = 5;
//
// fErrorException
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(418, 560);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.button2);
this.Controls.Add(this.pictureBox1);
this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.KeyPreview = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fErrorException";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Error Report";
this.Load += new System.EventHandler(this.fErrorException_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBox1;
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project
{
public partial class fErrorException : Form
{
public fErrorException(string err)
{
InitializeComponent();
System.Text.StringBuilder sb = new StringBuilder();
sb.AppendLine("To : ChiKyun.kim@amkor.co.kr");
sb.AppendLine("Description : ?");
sb.AppendLine();
sb.AppendLine("=========================");
sb.AppendLine(" ERROR MESSAGE");
sb.AppendLine("=========================");
sb.AppendLine();
sb.AppendLine(err);
this.textBox1.Text = sb.ToString();
}
private void fErrorException_Load(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

View File

@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAPnSURBVHhe7dzJ
TttQFAbgdNFKnZ6GFWKDfCNGsWRRddO+ATwBo5g2iNdopU7LqlXVFgUa2LDoE7TbQoEIFpVw72/5EOdw
INO919fx/aVfiuwTD58chcFyJSQkJJu4Urm3H0Uv95Wq7VWrx2jyOopeYF06FiLlcGbmkQZ7v6dULFav
w0w6HpINYGpKfQbUj/Hx+Pf8fHy2thafra8nr7EsQYyiT7Xh4Yfp20KQLF59cjI+XlqKL7e3W4plWBcQ
WXZHRp5qkF3AHE5NxScrKzfwqFiHmRRxF+9NN1POdINHDYhpesGjlh6xHzxqaRE53t/VVRGok5YO0SQe
tTSINvCoLYhKfR84RJt41IFFdIFHxbYHCtElHpUjfhkdfZIeTrGS4OkTcIlHLTxinnjUwiLiQPPGoxYO
0Sc8amEQTePxSDOd1ntEG1cejzTTTb1FbMGbnjaCh/JIM93WO0RbeCiPNNNLs4g1pb7lhmgTD+WRZnpt
7oi28VAeaaaf5oaIHWGHNvFQHmmm3yaI+hycIbrCQ3mkGRN1hugSD+WRZkzVOqJrPJRHmjFZa4h54KE8
0ozpGkfMCw/lkWZs1BhinngojzRjq30j5o2H8kgzNptF3Ffqa8eIPuChPNKM7XaN6AseyiPNuChHPBob
e5xytQZ3f2q81xg80L/inCwvixt0VR5pxlVhAZMEsVp9Jd4pq1c+xwBuZMwbD+WRZlwWJnSTZy2KnqVs
zegVyR8Hfs3NiRtwXR5pxnVhAyN8lFO2ZvSKc6w839gQ3+y6PNKM68IGRrpnKVszemEjAN5d3K99F2D4
CLdpu49w+BK5o22/RMKPMbcXFm1/jEEOh4bu68vzLQbrExPx8eKiuEEX5ZFmXBQGsICJ7hsYpVxyfEHk
kWZst2s8ik9XYl7tGY9SZsQsHgy6xqOUEdEYHqVMiMbxKGVAtIZHcYq4sxP/q9fjq9PTpHiNZeKsgVrH
o/ycnX3gAhFgPAmiMNtv/ywsuMGjuEC8ajRStmawTJrtp87xKEDUv/a9s4XoAjA3PIpNRNsfYY6Hc0lP
y22sIdKXyMVF0gTP0JeIN3gUjogDlA7ch3qHRykCYhYPx+oNHsVnRO/xKD4iFgaPggOkpw/ljVg4PIoP
iIXFo+SJWHg8Ch7PpE/iI07kAI90cvCPKuwD+8I+se/CPyLK5ZWYvfKwz8JeeTwuEAcWj2ITceDxKDYQ
S4NHMYlYOjyKCcTS4lESRKU+9IKI2etHgpYRj9ILYsBj6QYx4N2S8BBaA5Eeg9zY3IwbW1vhMcidBoj0
7SxWr8NMOh4iBXd/Xj8KXqlLNHkdHgUfEnIjlcp/1rPAKpMPkMkAAAAASUVORK5CYII=
</value>
</data>
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
iQAAC4kBN8nLrQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAALmSURBVFhH7ZjL
ahRREIbLW7yLGxcq4k7cCaJLFwoiKAqKt5dQI4JLFZ8h4gMY0RF30YgbgwsRRYiZ3IzBG9lF3RgXXsDx
q1AtlTPTPefMtDLCfFBk5tRff1e65vR0j3TpUsALkVXjIvsmRHqJvjGRWxr6mjjH670zIitN/m+oiSym
qZPEPeI7UWsS32h2gL8ntNZs/g6ckcMcaMIdPDXGafaQ2ZXHtMg6zO8GB/MxR0wSjy30ta410mpUXoms
Nfv24D/eimGjs/aauDQqsovRLTL5H3ScnPHdaK4Q01bjY4zaLSZvDWtuJjD+RJxhgywzWVPQ9+DVy9/P
5pHFh5abtLGGZ+4po9lkkmSmRLbjEY5+lFhjkngoqjgTjQpNL7d0MnZJehR4ZtFvsjgYxylvwPuhlJGG
6DTweOI9iS/+PaM+ZvJihkSWUvDGFc9ivtHSyeQ099zGrZ/nbG2KjbXEyvLB7LQr0jhrqWTymhsWWa95
dvn5IHd8vrAIDB+6grdEj6WSaNacop9p1t67/H1LNUZNEf10BZctlURMcxnorjrNDyJ/RyM+6MQ1RrDD
UtGkNKeg3em1HPOApepBfNGJP9pyNKnNKfothMZfwC9Yqh6S153wpS1H0UpzGeiqWQ0efbZcD4L+TEgM
2nJT2mlOQfvA1d2w5XpI3nTCqAbbbU5BH92gHzHHKKaM5hQ8RrJ6Nsk1W64HYfQmKau5pE3CAaMuM2U1
p+ATf5nRAyMqvFCX2ZyCV/yFWkEw6AoWfNWV3Rx+C77q8B6wVD6IjmYFFvM3C2U3pzDO8GbhiKXy0WcJ
hP5OenZSZFvZzemdOR7+dquqG8bSxdDMfleo8TV431ZzIyKr8Rh2fr+IPZaOg4LbzsBHlXFvMFky70RW
4HEn8My/OOehnzkKw4emOb0TNkky1G7G41ng2dpDk8KoO/exM8Oa7MwH9wwbd2f+9OHhjHTmj0ceu052
5s9vIR35A2aX/wuR3/n+YvqZGUimAAAAAElFTkSuQmCC
</value>
</data>
</root>

558
HMI/Project/Dialog/fJobSelect.Designer.cs generated Normal file
View File

@@ -0,0 +1,558 @@
namespace Project.Dialog
{
partial class fJobSelect
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.tmBlink = new System.Windows.Forms.Timer(this.components);
this.arPanel1 = new arCtl.arPanel();
this.panButton = new System.Windows.Forms.Panel();
this.btYes = new arCtl.arLabel();
this.btNo = new arCtl.arLabel();
this.panel7 = new System.Windows.Forms.Panel();
this.lb5 = new arCtl.arLabel();
this.panel3 = new System.Windows.Forms.Panel();
this.lb4 = new arCtl.arLabel();
this.panel2 = new System.Windows.Forms.Panel();
this.lb3 = new arCtl.arLabel();
this.panel1 = new System.Windows.Forms.Panel();
this.lb2 = new arCtl.arLabel();
this.panel4 = new System.Windows.Forms.Panel();
this.lb1 = new arCtl.arLabel();
this.panel8 = new System.Windows.Forms.Panel();
this.lbTitle = new arCtl.arLabel();
this.arPanel1.SuspendLayout();
this.panButton.SuspendLayout();
this.SuspendLayout();
//
// tmBlink
//
this.tmBlink.Enabled = true;
this.tmBlink.Interval = 300;
this.tmBlink.Tick += new System.EventHandler(this.tmBlink_Tick);
//
// arPanel1
//
this.arPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.arPanel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.arPanel1.BorderColor = System.Drawing.Color.DimGray;
this.arPanel1.BorderSize = new System.Windows.Forms.Padding(1);
this.arPanel1.Controls.Add(this.panButton);
this.arPanel1.Controls.Add(this.panel7);
this.arPanel1.Controls.Add(this.lb5);
this.arPanel1.Controls.Add(this.panel3);
this.arPanel1.Controls.Add(this.lb4);
this.arPanel1.Controls.Add(this.panel2);
this.arPanel1.Controls.Add(this.lb3);
this.arPanel1.Controls.Add(this.panel1);
this.arPanel1.Controls.Add(this.lb2);
this.arPanel1.Controls.Add(this.panel4);
this.arPanel1.Controls.Add(this.lb1);
this.arPanel1.Controls.Add(this.panel8);
this.arPanel1.Controls.Add(this.lbTitle);
this.arPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.arPanel1.Font = new System.Drawing.Font("Consolas", 10F, System.Drawing.FontStyle.Italic);
this.arPanel1.ForeColor = System.Drawing.Color.Khaki;
this.arPanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arPanel1.GradientRepeatBG = false;
this.arPanel1.Location = new System.Drawing.Point(5, 5);
this.arPanel1.Name = "arPanel1";
this.arPanel1.Padding = new System.Windows.Forms.Padding(6);
this.arPanel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arPanel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arPanel1.ProgressMax = 100F;
this.arPanel1.ProgressMin = 0F;
this.arPanel1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arPanel1.ProgressValue = 0F;
this.arPanel1.ShadowColor = System.Drawing.Color.Black;
this.arPanel1.ShowBorder = true;
this.arPanel1.Size = new System.Drawing.Size(508, 405);
this.arPanel1.TabIndex = 0;
this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.arPanel1.TextShadow = false;
this.arPanel1.UseProgressBar = false;
//
// panButton
//
this.panButton.Controls.Add(this.btYes);
this.panButton.Controls.Add(this.btNo);
this.panButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.panButton.Location = new System.Drawing.Point(6, 353);
this.panButton.Name = "panButton";
this.panButton.Size = new System.Drawing.Size(496, 46);
this.panButton.TabIndex = 10;
//
// btYes
//
this.btYes.BackColor = System.Drawing.Color.SeaGreen;
this.btYes.BackColor2 = System.Drawing.Color.SeaGreen;
this.btYes.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.btYes.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btYes.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btYes.BorderSize = new System.Windows.Forms.Padding(1);
this.btYes.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.btYes.Cursor = System.Windows.Forms.Cursors.Hand;
this.btYes.Dock = System.Windows.Forms.DockStyle.Fill;
this.btYes.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btYes.ForeColor = System.Drawing.Color.Black;
this.btYes.GradientEnable = true;
this.btYes.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.btYes.GradientRepeatBG = false;
this.btYes.isButton = true;
this.btYes.Location = new System.Drawing.Point(0, 0);
this.btYes.MouseDownColor = System.Drawing.Color.Yellow;
this.btYes.MouseOverColor = System.Drawing.Color.Yellow;
this.btYes.msg = null;
this.btYes.Name = "btYes";
this.btYes.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.btYes.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.btYes.ProgressEnable = false;
this.btYes.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.btYes.ProgressForeColor = System.Drawing.Color.Black;
this.btYes.ProgressMax = 100F;
this.btYes.ProgressMin = 0F;
this.btYes.ProgressPadding = new System.Windows.Forms.Padding(0);
this.btYes.ProgressValue = 0F;
this.btYes.ShadowColor = System.Drawing.Color.Gray;
this.btYes.Sign = "";
this.btYes.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.btYes.SignColor = System.Drawing.Color.Yellow;
this.btYes.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btYes.Size = new System.Drawing.Size(267, 46);
this.btYes.TabIndex = 0;
this.btYes.Text = "예(F5)";
this.btYes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btYes.TextShadow = true;
this.btYes.TextVisible = true;
this.btYes.Click += new System.EventHandler(this.btYes_Click);
//
// btNo
//
this.btNo.BackColor = System.Drawing.Color.Goldenrod;
this.btNo.BackColor2 = System.Drawing.Color.Goldenrod;
this.btNo.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.btNo.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btNo.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btNo.BorderSize = new System.Windows.Forms.Padding(1);
this.btNo.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.btNo.Cursor = System.Windows.Forms.Cursors.Hand;
this.btNo.Dock = System.Windows.Forms.DockStyle.Right;
this.btNo.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btNo.ForeColor = System.Drawing.Color.Black;
this.btNo.GradientEnable = true;
this.btNo.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.btNo.GradientRepeatBG = false;
this.btNo.isButton = true;
this.btNo.Location = new System.Drawing.Point(267, 0);
this.btNo.MouseDownColor = System.Drawing.Color.Yellow;
this.btNo.MouseOverColor = System.Drawing.Color.Yellow;
this.btNo.msg = null;
this.btNo.Name = "btNo";
this.btNo.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.btNo.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.btNo.ProgressEnable = false;
this.btNo.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.btNo.ProgressForeColor = System.Drawing.Color.Black;
this.btNo.ProgressMax = 100F;
this.btNo.ProgressMin = 0F;
this.btNo.ProgressPadding = new System.Windows.Forms.Padding(0);
this.btNo.ProgressValue = 0F;
this.btNo.ShadowColor = System.Drawing.Color.Gray;
this.btNo.Sign = "";
this.btNo.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.btNo.SignColor = System.Drawing.Color.Yellow;
this.btNo.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btNo.Size = new System.Drawing.Size(229, 46);
this.btNo.TabIndex = 1;
this.btNo.Text = "아니오(ESC)";
this.btNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btNo.TextShadow = true;
this.btNo.TextVisible = true;
this.btNo.Click += new System.EventHandler(this.btNo_Click);
//
// panel7
//
this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
this.panel7.Location = new System.Drawing.Point(6, 348);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(496, 5);
this.panel7.TabIndex = 0;
//
// lb5
//
this.lb5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb5.BackColor2 = System.Drawing.Color.Gray;
this.lb5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb5.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb5.BorderSize = new System.Windows.Forms.Padding(1);
this.lb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb5.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb5.Dock = System.Windows.Forms.DockStyle.Top;
this.lb5.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb5.ForeColor = System.Drawing.Color.White;
this.lb5.GradientEnable = true;
this.lb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb5.GradientRepeatBG = false;
this.lb5.isButton = false;
this.lb5.Location = new System.Drawing.Point(6, 298);
this.lb5.MouseDownColor = System.Drawing.Color.Yellow;
this.lb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb5.msg = null;
this.lb5.Name = "lb5";
this.lb5.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb5.ProgressEnable = false;
this.lb5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb5.ProgressForeColor = System.Drawing.Color.Black;
this.lb5.ProgressMax = 100F;
this.lb5.ProgressMin = 0F;
this.lb5.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb5.ProgressValue = 0F;
this.lb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb5.Sign = "";
this.lb5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb5.SignColor = System.Drawing.Color.Yellow;
this.lb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb5.Size = new System.Drawing.Size(496, 50);
this.lb5.TabIndex = 7;
this.lb5.Text = "*";
this.lb5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb5.TextShadow = true;
this.lb5.TextVisible = true;
//
// panel3
//
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(6, 293);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(496, 5);
this.panel3.TabIndex = 13;
//
// lb4
//
this.lb4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb4.BackColor2 = System.Drawing.Color.Gray;
this.lb4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb4.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb4.BorderSize = new System.Windows.Forms.Padding(1);
this.lb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb4.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb4.Dock = System.Windows.Forms.DockStyle.Top;
this.lb4.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb4.ForeColor = System.Drawing.Color.White;
this.lb4.GradientEnable = true;
this.lb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb4.GradientRepeatBG = false;
this.lb4.isButton = false;
this.lb4.Location = new System.Drawing.Point(6, 243);
this.lb4.MouseDownColor = System.Drawing.Color.Yellow;
this.lb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb4.msg = null;
this.lb4.Name = "lb4";
this.lb4.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb4.ProgressEnable = false;
this.lb4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb4.ProgressForeColor = System.Drawing.Color.Black;
this.lb4.ProgressMax = 100F;
this.lb4.ProgressMin = 0F;
this.lb4.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb4.ProgressValue = 0F;
this.lb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb4.Sign = "";
this.lb4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb4.SignColor = System.Drawing.Color.Yellow;
this.lb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb4.Size = new System.Drawing.Size(496, 50);
this.lb4.TabIndex = 6;
this.lb4.Text = "*";
this.lb4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb4.TextShadow = true;
this.lb4.TextVisible = true;
//
// panel2
//
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(6, 238);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(496, 5);
this.panel2.TabIndex = 12;
//
// lb3
//
this.lb3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb3.BackColor2 = System.Drawing.Color.Gray;
this.lb3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb3.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb3.BorderSize = new System.Windows.Forms.Padding(1);
this.lb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb3.Dock = System.Windows.Forms.DockStyle.Top;
this.lb3.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb3.ForeColor = System.Drawing.Color.White;
this.lb3.GradientEnable = true;
this.lb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb3.GradientRepeatBG = false;
this.lb3.isButton = false;
this.lb3.Location = new System.Drawing.Point(6, 188);
this.lb3.MouseDownColor = System.Drawing.Color.Yellow;
this.lb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb3.msg = null;
this.lb3.Name = "lb3";
this.lb3.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb3.ProgressEnable = false;
this.lb3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb3.ProgressForeColor = System.Drawing.Color.Black;
this.lb3.ProgressMax = 100F;
this.lb3.ProgressMin = 0F;
this.lb3.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb3.ProgressValue = 0F;
this.lb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb3.Sign = "";
this.lb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb3.SignColor = System.Drawing.Color.Yellow;
this.lb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb3.Size = new System.Drawing.Size(496, 50);
this.lb3.TabIndex = 5;
this.lb3.Text = "* 현재 위치 : ";
this.lb3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb3.TextShadow = true;
this.lb3.TextVisible = true;
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(6, 183);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(496, 5);
this.panel1.TabIndex = 11;
//
// lb2
//
this.lb2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb2.BackColor2 = System.Drawing.Color.Gray;
this.lb2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb2.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb2.BorderSize = new System.Windows.Forms.Padding(1);
this.lb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb2.Dock = System.Windows.Forms.DockStyle.Top;
this.lb2.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb2.ForeColor = System.Drawing.Color.White;
this.lb2.GradientEnable = true;
this.lb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb2.GradientRepeatBG = false;
this.lb2.isButton = false;
this.lb2.Location = new System.Drawing.Point(6, 133);
this.lb2.MouseDownColor = System.Drawing.Color.Yellow;
this.lb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb2.msg = null;
this.lb2.Name = "lb2";
this.lb2.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb2.ProgressEnable = false;
this.lb2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb2.ProgressForeColor = System.Drawing.Color.Black;
this.lb2.ProgressMax = 100F;
this.lb2.ProgressMin = 0F;
this.lb2.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb2.ProgressValue = 0F;
this.lb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb2.Sign = "";
this.lb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb2.SignColor = System.Drawing.Color.Yellow;
this.lb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb2.Size = new System.Drawing.Size(496, 50);
this.lb2.TabIndex = 4;
this.lb2.Text = "* 호출 위치 : F1";
this.lb2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb2.TextShadow = true;
this.lb2.TextVisible = true;
//
// panel4
//
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(6, 128);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(496, 5);
this.panel4.TabIndex = 14;
//
// lb1
//
this.lb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb1.BackColor2 = System.Drawing.Color.Gray;
this.lb1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb1.BorderSize = new System.Windows.Forms.Padding(1);
this.lb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb1.Dock = System.Windows.Forms.DockStyle.Top;
this.lb1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb1.ForeColor = System.Drawing.Color.White;
this.lb1.GradientEnable = true;
this.lb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb1.GradientRepeatBG = false;
this.lb1.isButton = false;
this.lb1.Location = new System.Drawing.Point(6, 78);
this.lb1.MouseDownColor = System.Drawing.Color.Yellow;
this.lb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb1.msg = null;
this.lb1.Name = "lb1";
this.lb1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb1.ProgressEnable = false;
this.lb1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb1.ProgressForeColor = System.Drawing.Color.Black;
this.lb1.ProgressMax = 100F;
this.lb1.ProgressMin = 0F;
this.lb1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb1.ProgressValue = 0F;
this.lb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb1.Sign = "";
this.lb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb1.SignColor = System.Drawing.Color.Yellow;
this.lb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb1.Size = new System.Drawing.Size(496, 50);
this.lb1.TabIndex = 2;
this.lb1.Text = "* 작업 : 상차";
this.lb1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb1.TextShadow = true;
this.lb1.TextVisible = true;
//
// panel8
//
this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
this.panel8.Location = new System.Drawing.Point(6, 73);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(496, 5);
this.panel8.TabIndex = 18;
//
// lbTitle
//
this.lbTitle.BackColor = System.Drawing.Color.Brown;
this.lbTitle.BackColor2 = System.Drawing.Color.Tomato;
this.lbTitle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbTitle.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 22F, System.Drawing.FontStyle.Bold);
this.lbTitle.ForeColor = System.Drawing.Color.WhiteSmoke;
this.lbTitle.GradientEnable = true;
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
this.lbTitle.GradientRepeatBG = false;
this.lbTitle.isButton = true;
this.lbTitle.Location = new System.Drawing.Point(6, 6);
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbTitle.msg = null;
this.lbTitle.Name = "lbTitle";
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbTitle.ProgressEnable = false;
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
this.lbTitle.ProgressMax = 100F;
this.lbTitle.ProgressMin = 0F;
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbTitle.ProgressValue = 0F;
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.lbTitle.Sign = "";
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(496, 67);
this.lbTitle.TabIndex = 3;
this.lbTitle.Text = "작업 설정";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbTitle.TextShadow = true;
this.lbTitle.TextVisible = true;
this.lbTitle.Click += new System.EventHandler(this.lbTitle_Click);
//
// fJobSelect
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
this.ClientSize = new System.Drawing.Size(518, 415);
this.Controls.Add(this.arPanel1);
this.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.KeyPreview = true;
this.MaximizeBox = false;
this.Name = "fJobSelect";
this.Padding = new System.Windows.Forms.Padding(5);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Message Window";
this.TopMost = true;
this.Load += new System.EventHandler(this.fMsg_Load);
this.arPanel1.ResumeLayout(false);
this.panButton.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
public arCtl.arLabel lb1;
private arCtl.arPanel arPanel1;
public arCtl.arLabel lbTitle;
public arCtl.arLabel lb5;
public arCtl.arLabel lb4;
public arCtl.arLabel lb3;
public arCtl.arLabel lb2;
private System.Windows.Forms.Timer tmBlink;
public arCtl.arLabel btYes;
public arCtl.arLabel btNo;
private System.Windows.Forms.Panel panButton;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel8;
}
}

View File

@@ -0,0 +1,170 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fJobSelect : Form
{
private Boolean fMove = false;
private Point MDownPos;
private string _msg = string.Empty;
public fJobSelect()
{
InitializeComponent();
}
public fJobSelect(string msg)
{
InitializeComponent();
this.FormClosing += fMsgWindow_FormClosing;
this.KeyDown += FJobSelect_KeyDown;
this._msg = msg;
setMessage(msg);
this.lbTitle.MouseMove += label1_MouseMove;
lbTitle.MouseUp += label1_MouseUp;
lbTitle.MouseDown += label1_MouseDown;
lbTitle.MouseDoubleClick += label1_MouseDoubleClick;
}
void fMsgWindow_FormClosing(object sender, FormClosingEventArgs e)
{
}
private void fMsg_Load(object sender, EventArgs e)
{
}
private void FJobSelect_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
e.Handled = true;
e.SuppressKeyPress = false;
DialogResult = DialogResult.Cancel;
this.Close();
}
else if (e.KeyCode == Keys.F5)
btYes.PerformClick();
}
public void setMessage(string msg)
{
//msg를 분리해서 표시를 한다.
var lbs = new arCtl.arLabel[] { lbTitle, lb1, lb2, lb3, lb4, lb5 };
var lineBuf = msg.Replace("\r", "").Split('\n');
int maxLine = Math.Min(lbs.Length, lineBuf.Length);
for (int i = 0; i < lbs.Length; i++) //최대줄을 넘어가는건 표시불가
{
if (i >= lineBuf.Length)
{
lbs[i].Text = string.Empty;
}
else
{
if (i > 0) lbs[i].Text = string.Format("{0}. {1}", i, lineBuf[i]);
else lbs[i].Text = lineBuf[i];
}
}
}
private void label1_MouseMove(object sender, MouseEventArgs e)
{
if (fMove)
{
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
this.Left += offset.X;
this.Top += offset.Y;
offset = new Point(0, 0);
}
}
private void label1_MouseUp(object sender, MouseEventArgs e)
{
fMove = false;
}
private void label1_MouseDown(object sender, MouseEventArgs e)
{
MDownPos = new Point(e.X, e.Y);
fMove = true;
}
private void label1_MouseDoubleClick(object sender, MouseEventArgs e)
{
}
public enum EWinColor
{
Attention = 0,
Error,
Information
}
public void SetWindowColor(EWinColor wincolor)
{
switch (wincolor)
{
case EWinColor.Attention:
lbTitle.BackColor = Color.Gold;
lbTitle.BackColor2 = Color.Orange;
lbTitle.ShadowColor = Color.FromArgb(150, 150, 150);
lbTitle.ForeColor = Color.FromArgb(50, 50, 50);
break;
case EWinColor.Error:
lbTitle.BackColor = Color.Brown;
lbTitle.BackColor2 = Color.Tomato;
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
lbTitle.ForeColor = Color.WhiteSmoke;
break;
default:
lbTitle.BackColor = Color.DarkTurquoise;
lbTitle.BackColor2 = Color.LightSkyBlue;
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
lbTitle.ForeColor = Color.WhiteSmoke;
break;
}
}
private void lbTitle_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
private void tmBlink_Tick(object sender, EventArgs e)
{
var bg1 = lbTitle.BackColor;
var bg2 = lbTitle.BackColor2;
if (bg1 != null) lbTitle.BackColor2 = (Color)bg1;
if (bg2 != null) lbTitle.BackColor = (Color)bg2;
}
private void btYes_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Yes;
this.Close();
}
private void btNo_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
this.Close();
}
}
}

View File

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

267
HMI/Project/Dialog/fLog.Designer.cs generated Normal file
View File

@@ -0,0 +1,267 @@
namespace Project.Dialog
{
partial class fLog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.rtsys = new arCtl.LogTextBox();
this.rtTx = new arCtl.LogTextBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panel1 = new System.Windows.Forms.Panel();
this.rtXbee = new arCtl.LogTextBox();
this.titleXBEE = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.rtBMS = new arCtl.LogTextBox();
this.titleBMS = new System.Windows.Forms.Label();
this.panel4 = new System.Windows.Forms.Panel();
this.rtAGV = new arCtl.LogTextBox();
this.titleAGV = new System.Windows.Forms.Label();
this.tableLayoutPanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel4.SuspendLayout();
this.SuspendLayout();
//
// rtsys
//
this.rtsys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rtsys.ColorList = new arCtl.sLogMessageColor[0];
this.tableLayoutPanel1.SetColumnSpan(this.rtsys, 2);
this.rtsys.DateFormat = "mm:ss.fff";
this.rtsys.DefaultColor = System.Drawing.Color.LightGray;
this.rtsys.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtsys.EnableDisplayTimer = false;
this.rtsys.EnableGubunColor = true;
this.rtsys.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtsys.ListFormat = "[{0}] {1}";
this.rtsys.Location = new System.Drawing.Point(3, 3);
this.rtsys.MaxListCount = ((ushort)(1000));
this.rtsys.MaxTextLength = ((uint)(400000u));
this.rtsys.MessageInterval = 50;
this.rtsys.Name = "rtsys";
this.rtsys.Size = new System.Drawing.Size(334, 340);
this.rtsys.TabIndex = 0;
this.rtsys.Text = "";
//
// rtTx
//
this.rtTx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rtTx.ColorList = new arCtl.sLogMessageColor[0];
this.tableLayoutPanel1.SetColumnSpan(this.rtTx, 2);
this.rtTx.DateFormat = "mm:ss.fff";
this.rtTx.DefaultColor = System.Drawing.Color.LightGray;
this.rtTx.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtTx.EnableDisplayTimer = false;
this.rtTx.EnableGubunColor = true;
this.rtTx.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtTx.ListFormat = "[{0}] {1}";
this.rtTx.Location = new System.Drawing.Point(343, 3);
this.rtTx.MaxListCount = ((ushort)(1000));
this.rtTx.MaxTextLength = ((uint)(400000u));
this.rtTx.MessageInterval = 50;
this.rtTx.Name = "rtTx";
this.rtTx.Size = new System.Drawing.Size(335, 340);
this.rtTx.TabIndex = 1;
this.rtTx.Text = "";
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.Controls.Add(this.rtsys, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.rtTx, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.panel2, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 1);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(681, 495);
this.tableLayoutPanel1.TabIndex = 2;
//
// panel1
//
this.panel1.Controls.Add(this.rtXbee);
this.panel1.Controls.Add(this.titleXBEE);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(173, 349);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(164, 143);
this.panel1.TabIndex = 3;
//
// rtXbee
//
this.rtXbee.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rtXbee.ColorList = new arCtl.sLogMessageColor[0];
this.rtXbee.DateFormat = "mm:ss.fff";
this.rtXbee.DefaultColor = System.Drawing.Color.LightGray;
this.rtXbee.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtXbee.EnableDisplayTimer = false;
this.rtXbee.EnableGubunColor = true;
this.rtXbee.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtXbee.ListFormat = "[{0}] {1}";
this.rtXbee.Location = new System.Drawing.Point(0, 14);
this.rtXbee.MaxListCount = ((ushort)(1000));
this.rtXbee.MaxTextLength = ((uint)(400000u));
this.rtXbee.MessageInterval = 50;
this.rtXbee.Name = "rtXbee";
this.rtXbee.Size = new System.Drawing.Size(164, 129);
this.rtXbee.TabIndex = 2;
this.rtXbee.Text = "";
//
// titleXBEE
//
this.titleXBEE.Dock = System.Windows.Forms.DockStyle.Top;
this.titleXBEE.Location = new System.Drawing.Point(0, 0);
this.titleXBEE.Name = "titleXBEE";
this.titleXBEE.Size = new System.Drawing.Size(164, 14);
this.titleXBEE.TabIndex = 0;
this.titleXBEE.Text = "MC ID";
this.titleXBEE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panel2
//
this.tableLayoutPanel1.SetColumnSpan(this.panel2, 2);
this.panel2.Controls.Add(this.rtBMS);
this.panel2.Controls.Add(this.titleBMS);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(343, 349);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(335, 143);
this.panel2.TabIndex = 4;
//
// rtBMS
//
this.rtBMS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rtBMS.ColorList = new arCtl.sLogMessageColor[0];
this.rtBMS.DateFormat = "mm:ss.fff";
this.rtBMS.DefaultColor = System.Drawing.Color.LightGray;
this.rtBMS.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtBMS.EnableDisplayTimer = false;
this.rtBMS.EnableGubunColor = true;
this.rtBMS.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtBMS.ListFormat = "[{0}] {1}";
this.rtBMS.Location = new System.Drawing.Point(0, 14);
this.rtBMS.MaxListCount = ((ushort)(1000));
this.rtBMS.MaxTextLength = ((uint)(400000u));
this.rtBMS.MessageInterval = 50;
this.rtBMS.Name = "rtBMS";
this.rtBMS.Size = new System.Drawing.Size(335, 129);
this.rtBMS.TabIndex = 2;
this.rtBMS.Text = "";
//
// titleBMS
//
this.titleBMS.Dock = System.Windows.Forms.DockStyle.Top;
this.titleBMS.Location = new System.Drawing.Point(0, 0);
this.titleBMS.Name = "titleBMS";
this.titleBMS.Size = new System.Drawing.Size(335, 14);
this.titleBMS.TabIndex = 3;
this.titleBMS.Text = "BMS";
this.titleBMS.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panel4
//
this.panel4.Controls.Add(this.rtAGV);
this.panel4.Controls.Add(this.titleAGV);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(3, 349);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(164, 143);
this.panel4.TabIndex = 6;
//
// rtAGV
//
this.rtAGV.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rtAGV.ColorList = new arCtl.sLogMessageColor[0];
this.rtAGV.DateFormat = "mm:ss.fff";
this.rtAGV.DefaultColor = System.Drawing.Color.LightGray;
this.rtAGV.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtAGV.EnableDisplayTimer = false;
this.rtAGV.EnableGubunColor = true;
this.rtAGV.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtAGV.ListFormat = "[{0}] {1}";
this.rtAGV.Location = new System.Drawing.Point(0, 14);
this.rtAGV.MaxListCount = ((ushort)(1000));
this.rtAGV.MaxTextLength = ((uint)(400000u));
this.rtAGV.MessageInterval = 50;
this.rtAGV.Name = "rtAGV";
this.rtAGV.Size = new System.Drawing.Size(164, 129);
this.rtAGV.TabIndex = 2;
this.rtAGV.Text = "";
//
// titleAGV
//
this.titleAGV.Dock = System.Windows.Forms.DockStyle.Top;
this.titleAGV.Location = new System.Drawing.Point(0, 0);
this.titleAGV.Name = "titleAGV";
this.titleAGV.Size = new System.Drawing.Size(164, 14);
this.titleAGV.TabIndex = 3;
this.titleAGV.Text = "AGV";
this.titleAGV.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// fLog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(681, 495);
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "fLog";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fLog";
this.TopMost = true;
this.Load += new System.EventHandler(this.fLog_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private arCtl.LogTextBox rtsys;
private arCtl.LogTextBox rtTx;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private arCtl.LogTextBox rtAGV;
private arCtl.LogTextBox rtBMS;
private arCtl.LogTextBox rtXbee;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label titleXBEE;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Label titleBMS;
private System.Windows.Forms.Label titleAGV;
}
}

View File

@@ -0,0 +1,85 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fLog : Form
{
public fLog()
{
InitializeComponent();
this.FormClosed += FLog_FormClosed;
}
private void FLog_FormClosed(object sender, FormClosedEventArgs e)
{
PUB.log.RaiseMsg -= Log_RaiseMsg;
PUB.logagv.RaiseMsg -= Log_RaiseMsgagv;
PUB.logplc.RaiseMsg -= Log_RaiseMsgplc;
PUB.logbms.RaiseMsg -= Log_RaiseMsgbms;
PUB.logxbee.RaiseMsg -= Log_RaiseMsgcal;
}
private void fLog_Load(object sender, EventArgs e)
{
this.titleXBEE.Text = $"XBEE({PUB.setting.Port_XBE},ID:{PUB.setting.XBE_ID})";
this.titleAGV.Text = $"AGV({PUB.setting.Port_AGV}:{PUB.setting.Baud_AGV})";
this.titleBMS.Text = $"BMS({PUB.setting.Port_BAT}:{PUB.setting.Baud_BAT})";
var colorlist = new arCtl.sLogMessageColor[]
{
new arCtl.sLogMessageColor("NOR",Color.Black),
new arCtl.sLogMessageColor("NORM",Color.Black),
new arCtl.sLogMessageColor("NORMAL",Color.Black),
new arCtl.sLogMessageColor("ERR",Color.Red),
new arCtl.sLogMessageColor("FLAG",Color.Magenta),
new arCtl.sLogMessageColor("TX",Color.SkyBlue),
new arCtl.sLogMessageColor("SETUP",Color.Gold),
new arCtl.sLogMessageColor("MFLAG",Color.BlueViolet),
};
this.rtsys.ColorList = colorlist;
this.rtTx.ColorList = colorlist;
this.rtAGV.ColorList = colorlist;
PUB.log.RaiseMsg += Log_RaiseMsg;
PUB.logagv.RaiseMsg += Log_RaiseMsgagv;
PUB.logplc.RaiseMsg += Log_RaiseMsgplc;
PUB.logbms.RaiseMsg += Log_RaiseMsgbms;
PUB.logxbee.RaiseMsg += Log_RaiseMsgcal;
}
private void Log_RaiseMsg(DateTime LogTime, string TypeStr, string Message)
{
showlog(rtsys,LogTime, TypeStr, Message);
}
private void Log_RaiseMsgagv(DateTime LogTime, string TypeStr, string Message)
{
showlog(rtAGV, LogTime, TypeStr, Message);
}
private void Log_RaiseMsgplc(DateTime LogTime, string TypeStr, string Message)
{
//showlog(rtPLC, LogTime, TypeStr, Message);
}
private void Log_RaiseMsgbms(DateTime LogTime, string TypeStr, string Message)
{
showlog(rtBMS, LogTime, TypeStr, Message);
}
private void Log_RaiseMsgcal(DateTime LogTime, string TypeStr, string Message)
{
showlog(rtXbee, LogTime, TypeStr, Message);
}
void showlog(arCtl.LogTextBox rtRx, DateTime LogTime, string TypeStr, string Message)
{
if (rtRx.Visible)
{
rtRx.AddMsg(LogTime, TypeStr, Message);
}
}
}
}

View File

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

93
HMI/Project/Dialog/fPassword.Designer.cs generated Normal file
View File

@@ -0,0 +1,93 @@
namespace Project.Dialog
{
partial class fPassword
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPassword));
this.tbInput = new System.Windows.Forms.TextBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.touchKey1 = new arCtl.TouchKey();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// tbInput
//
this.tbInput.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbInput.Location = new System.Drawing.Point(26, 140);
this.tbInput.Name = "tbInput";
this.tbInput.PasswordChar = '●';
this.tbInput.Size = new System.Drawing.Size(235, 40);
this.tbInput.TabIndex = 1;
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(91, 23);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(96, 96);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
//
// touchKey1
//
this.touchKey1.Location = new System.Drawing.Point(26, 194);
this.touchKey1.Margin = new System.Windows.Forms.Padding(6, 11, 6, 11);
this.touchKey1.Name = "touchKey1";
this.touchKey1.Size = new System.Drawing.Size(235, 260);
this.touchKey1.TabIndex = 5;
this.touchKey1.keyClick += new arCtl.TouchKey.KeyClickHandler(this.touchKey1_keyClick);
//
// fPassword
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(284, 470);
this.Controls.Add(this.touchKey1);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.tbInput);
this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.KeyPreview = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPassword";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Enter Password";
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
public System.Windows.Forms.TextBox tbInput;
private arCtl.TouchKey touchKey1;
}
}

View File

@@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fPassword : Form
{
public fPassword()
{
InitializeComponent();
this.tbInput.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Confirm(); };
this.KeyPreview = true;
this.KeyDown += (s1, e1) => {
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
private void Confirm()
{
string id = tbInput.Text.Trim();
if (id.isEmpty())
{
tbInput.Focus();
return;
}
DialogResult = DialogResult.OK;
}
private void touchKey1_keyClick(string key)
{
if (key == "BACK" || key == "◁")
{
if (!tbInput.Text.isEmpty())
{
if (tbInput.Text.Length == 1) tbInput.Text = "";
else tbInput.Text = tbInput.Text.Substring(0, tbInput.Text.Length - 1);
}
//if (tbInput.Text == "") tbInput.Text = "0";
}
else if (key == "CLEAR" || key == "RESET" || key == "◀")
{
tbInput.Text = "0";
}
else if (key == "ENTER" || key == "ENT")
{
Confirm();
}
else
{
if (tbInput.SelectionLength > 0 && tbInput.Text.Length == tbInput.SelectionLength)
{
tbInput.Text = key;
}
else if (tbInput.SelectionLength > 0)
{
//선택된 영역을 대체해준다.
tbInput.SelectedText = key;
}
else tbInput.Text += key;
}
tbInput.SelectionLength = 0;
if (!tbInput.Text.isEmpty())
tbInput.SelectionStart = tbInput.Text.Length;
}
}
}

View File

@@ -0,0 +1,160 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAeoSURBVHhe7Z1r
bBRVFMfr+xHf8RUTHx/UoHwpLDMLLdHtzBSosWoijSZCq9GCRAN+I+oXwgfBqIgYXzF+gMT4KIoRgloM
RhOQLbRSQSyoLZYIhEcpnZ3u0u7u9Zzd0wDT41Z2753O7s4/+aWb3TvnnvPf2bkzd6YzFYECBQoUKFCg
QIECBQrkJ/VPn36tbYZrHFOfHzP1N4ANMUvfAX+7gAPwui8Dvsb3sp9tiJnh1x0rPM+2pkYwBoULNJaO
VldfCYbPdgx9FRjZCaQAUSAYYyd8KW/ZVvjRI5HIFdRdIJSIRC60Db0BTFoPJMg0lSQcS//cMbR67JvS
KD+JhokXw5r+DBiy12WQl3TB5u1pzIXSKn2JadMuixnhF6B43G5zpowHvbapLcTcKM3SFAySjVDsQVfx
PkL7B3OkdEtHcaPqdijw69EF+xPb1NcNztBupfSLW7D3sQiKGnQXWQQMwC9iDpVRfMLdPfg5r2EKKy6g
hqLbdbVnVN1IB0V8UUVHODoQCV1P5flbA6Z+NyTdM7qIoqf7ZG34LirTn4Kj2HszexJ8AaXAAduaeg+V
6y/h2hEz9CNM0qXGwXhk6h1Utj8E28ib4IjyTybZksSx9D+wZip/fCXq7rwE9pu3cImWOD/5YgoDzH+f
Sa4scMzwO2TD+AgPVLjEygvtCbLDW+FABAn0j06ozLD0vrgVuo1s8U7wzbeyCZUn35It3sg2tceYJMoa
PNtG9qhVZo7H1HvdCXiB83i9OPXBKpFs2yrSfcdFemAgC7zG9/AzbMMt6wH7RX3ocrJJnRxDf5npXC0z
q8RQy8dCDA+LMQVtsC0uw8ZSiaEvJpvUiNb+Y6M6VojzkCGSne3k7v9Xcmd7ZlkupkIOKz2rRnP7XMdq
sMIi2bGdLD13JTvaMjHY2IqwzfBzZJdciSUV50MH3e4OVZJ4cxlZeVrpQwdFYuVyMdg0WziPmBnwNb6H
n7mVWPEKG1sVOE0hKirOI9vkKWZpFtehMmZNF+n+E2RjVqk9uzKGs+0B/Cy1Zze1zird3wfjQTXbXhV4
QRjZJk8QeLW7I5Uklr5EFmaVjtmwh/Mg2/ZMsE3aidFSWSWWvsi2VchHZJsc0eAbc3WilOFNG8m+rIY+
Wc224xj6dA0tldVw60a2nUJOSt0ldazww0wnSkn19pB9WcUXNrPtOOKLmmmprFJ/97DtVOLUhB8g+woX
XavJdqSK9OAg2ZeVU1/DtuPA3c8zlXYctp1SDH0F2Ve4INguthOFuMW1yYVbXBvF7CT7ChNeDQDB0q7g
ynGLa5MLt7g2ikmdnDntOrIxf8VMbRYTXCrx+Y0i2dIi0lujQrT/qpT0lmimr3jzXDYXuYRrycb8pfro
N77gKSF2dLJmKQX6jM9vYnOShW3oz5ON+QsG4He54LJIrfuKN8gDkl98yeYkCzgqfptszF8wAH/PBZeF
2NbOmuMJ23awOUnD0r8jG/MXBNo9KrBEWGM8hMtJIp1kY/6CIPtdQaXCmeIlXE4S6SYb8xcEOe4KKhXO
FC/hcpLIUbIxf0GQU66gUuFM8RIuJ4kkyMb8BUGGXEGlwpkyFonWzaJrbpNo07QMXXMaRXxjK9t2LLic
JCLlC/DVJgjNbwuFxNYJE84C3zu16Qd2mVxwOUlEyibIV4Mwrvlu80fY2/Qku0wuuJwkImEQVjwRx5mS
i2jlJNZ8JDp5MrtMLricJFL4hJzyAzHGlFxEKytZ85HoJJ99ATIOxPBwmg0uCc6UXHTNmcuaj/hvE6St
JBvzF04o8cHlwJmSi8H13/zHIDzFd4OwbWkLyMb8hVOqXHBZcKaMxchuKI4HuNnZ29iUl/kIl5MsYOU1
yMb8pfqEDGeKl3A5SULOCRkUBPvFFVwanClewuUkie1kX+HCE8xMB1LgTPESLidJvEr2FS6Vl6VwpngJ
l5MMpF6WIiKRSyHoCXcnMsCTIpwxnvDzdjYnCRyT/h+Utql/yHRUMHhakDXHA5Ita9mcCsW29PfINnmy
De0+rrNCic9rHL+T8oqujBgwtCqyTZ7w8nT4FfzFdVgomctS8JfQ1sGbJRPoA/tSZb6yy9NRjqE/y3Ua
cBrH0prJLvkSodBF0InS6ekipxs9IrvUSPXcUDGDWwiySZ3wn9BUjQVFzj68cQnZpFaqJ+iKklrNJHu8
kWNqa9lEyhFD/4xs8U7BzTqI8bpZBwrnOyAJz/93wEekHGNKHdkxPopZ2mtMYuWBpS8nG8ZPwS3LfKDj
deGrICFlJ218SAc+bILK94ec2upbILFSvGGrm3123aQbqGx/KXvjVl89F0A2vb69ceuIYhHt5piptTPJ
FzeZe2H75F6hYwmfXARJ/ziqiOJlc58VuprKKw6JhoYLbEtfAsnLeBLSeJGEo9zFyub3vRBenASFHHYV
VgwcwmeYURnFreARJj4R3sgICvzNXbCP2G3XavdTuqWp4DFWPpEvHuRmhH8vuwe5cbJrtIk4sQWmePGM
sR7cO8M+qftAI8I1MXO2LftltAHJM4zLF4gRjsLavgxvPFj2a/u56ESk8hrcFTzrcbbZo+xuPBFCBmdO
imTey3521uNsMQaFCxQoUKBAgQIFChQoUCAfqKLiXwYEOVtR8EleAAAAAElFTkSuQmCC
</value>
</data>
</root>

View File

@@ -0,0 +1,46 @@
namespace Project.Dialog
{
partial class fStateMachineDebug
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// fStateMachineDebug
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 600);
this.Name = "fStateMachineDebug";
this.Text = "상태머신 디버그";
this.ResumeLayout(false);
}
#endregion
}
}

View File

@@ -0,0 +1,237 @@
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
using AR;
using COMM;
namespace Project.Dialog
{
public partial class fStateMachineDebug : Form
{
private System.Windows.Forms.Timer updateTimer;
private TextBox txtDebugInfo;
private Button btnRefresh;
private Button btnForceRestart;
public fStateMachineDebug()
{
InitializeComponent();
InitializeCustomComponents();
updateTimer = new System.Windows.Forms.Timer();
updateTimer.Interval = 500; // 0.5초마다 업데이트
updateTimer.Tick += UpdateTimer_Tick;
updateTimer.Start();
}
private void InitializeCustomComponents()
{
this.Text = "상태머신 디버그 모니터";
this.Size = new Size(800, 600);
this.StartPosition = FormStartPosition.CenterScreen;
this.FormBorderStyle = FormBorderStyle.Sizable;
// TextBox 생성
txtDebugInfo = new TextBox
{
Multiline = true,
ScrollBars = ScrollBars.Both,
Dock = DockStyle.Fill,
Font = new Font("Consolas", 9),
ReadOnly = true,
BackColor = Color.Black,
ForeColor = Color.LimeGreen
};
// 버튼 패널
var buttonPanel = new Panel
{
Dock = DockStyle.Bottom,
Height = 50
};
btnRefresh = new Button
{
Text = "새로고침",
Location = new Point(10, 10),
Size = new Size(100, 30)
};
btnRefresh.Click += (s, e) => UpdateDebugInfo();
btnForceRestart = new Button
{
Text = "상태머신 재시작",
Location = new Point(120, 10),
Size = new Size(120, 30),
BackColor = Color.IndianRed
};
btnForceRestart.Click += BtnForceRestart_Click;
var btnBreakNow = new Button
{
Text = "즉시 중단",
Location = new Point(250, 10),
Size = new Size(100, 30),
BackColor = Color.Orange
};
btnBreakNow.Click += (s, ev) => {
if (System.Diagnostics.Debugger.IsAttached)
{
System.Diagnostics.Debugger.Break();
}
else
{
MessageBox.Show("디버거가 연결되지 않았습니다.", "알림");
}
};
buttonPanel.Controls.Add(btnRefresh);
buttonPanel.Controls.Add(btnForceRestart);
buttonPanel.Controls.Add(btnBreakNow);
this.Controls.Add(txtDebugInfo);
this.Controls.Add(buttonPanel);
}
private void UpdateTimer_Tick(object sender, EventArgs e)
{
UpdateDebugInfo();
}
private void UpdateDebugInfo()
{
try
{
var info = new System.Text.StringBuilder();
info.AppendLine("=== 상태머신 디버그 정보 ===");
info.AppendLine($"현재 시간: {DateTime.Now:yyyy-MM-dd HH:mm:ss.fff}");
info.AppendLine();
if (PUB.sm != null)
{
info.AppendLine($"상태머신 객체: 존재");
info.AppendLine($"IsThreadRun: {PUB.sm.IsThreadRun}");
info.AppendLine($"LoopCount: {PUB.sm.LoopCount}");
var lastLoopElapsed = (DateTime.Now - PUB.sm.LastLoopTime).TotalSeconds;
var loopStatus = lastLoopElapsed < 1 ? "정상" : "경고!";
var loopColor = lastLoopElapsed < 1 ? "" : " <<<<<<";
info.AppendLine($"마지막 루프: {lastLoopElapsed:F2}초 전 [{loopStatus}]{loopColor}");
info.AppendLine($"현재 Step: {PUB.sm.Step}");
info.AppendLine($"현재 RunStep: {PUB.sm.RunStep}");
info.AppendLine($"Pause 상태: {PUB.sm.bPause}");
info.AppendLine($"WaitFirstRun: {PUB.sm.WaitFirstRun}");
// 스레드 정보
var smThread = GetStateMachineThread();
if (smThread != null)
{
info.AppendLine();
info.AppendLine($"스레드 이름: {smThread.Name ?? "N/A"}");
info.AppendLine($"스레드 ID: {smThread.ManagedThreadId}");
info.AppendLine($"스레드 상태: {smThread.ThreadState}");
info.AppendLine($"IsAlive: {smThread.IsAlive}");
info.AppendLine($"IsBackground: {smThread.IsBackground}");
}
else
{
info.AppendLine();
info.AppendLine("경고: 상태머신 스레드를 찾을 수 없음!");
}
}
else
{
info.AppendLine("오류: 상태머신 객체가 NULL입니다!");
}
info.AppendLine();
info.AppendLine("=== 변수 상태 ===");
info.AppendLine($"FLAG_AUTORUN: {VAR.BOOL[eVarBool.FLAG_AUTORUN]}");
info.AppendLine($"EMERGENCY: {VAR.BOOL[eVarBool.EMERGENCY]}");
info.AppendLine($"FLAG_SYNC: {VAR.BOOL[eVarBool.FLAG_SYNC]}");
info.AppendLine();
info.AppendLine("=== 하드웨어 연결 상태 ===");
info.AppendLine($"AGV: {(PUB.AGV?.IsOpen ?? false)} - {PUB.setting.Port_AGV}");
info.AppendLine($"XBE: {(PUB.XBE?.IsOpen ?? false)} - {PUB.setting.Port_XBE}");
info.AppendLine($"BMS: {(PUB.BMS?.IsOpen ?? false)} - {PUB.setting.Port_BAT}");
info.AppendLine();
info.AppendLine("=== 관리되는 스레드 목록 ===");
var currentProcess = Process.GetCurrentProcess();
info.AppendLine($"총 프로세스 스레드 수: {currentProcess.Threads.Count}");
// 모든 관리되는 스레드 정보 출력
foreach (ProcessThread thread in currentProcess.Threads)
{
var state = thread.ThreadState;
var waitReason = thread.ThreadState == System.Diagnostics.ThreadState.Wait ?
$", WaitReason: {thread.WaitReason}" : "";
info.AppendLine($" Thread {thread.Id}: State={state}, Priority={thread.PriorityLevel}{waitReason}");
}
txtDebugInfo.Text = info.ToString();
}
catch (Exception ex)
{
txtDebugInfo.Text = $"오류 발생: {ex.Message}\r\n{ex.StackTrace}";
}
}
private Thread GetStateMachineThread()
{
try
{
// Reflection을 사용하여 StateMachine의 private worker 필드 접근
var smType = PUB.sm.GetType();
var threadField = smType.GetField("worker",
System.Reflection.BindingFlags.NonPublic |
System.Reflection.BindingFlags.Instance);
if (threadField != null)
{
return threadField.GetValue(PUB.sm) as Thread;
}
}
catch { }
return null;
}
private void BtnForceRestart_Click(object sender, EventArgs e)
{
var result = MessageBox.Show(
"상태머신을 강제로 재시작하시겠습니까?\n이 작업은 위험할 수 있습니다.",
"경고",
MessageBoxButtons.YesNo,
MessageBoxIcon.Warning);
if (result == DialogResult.Yes)
{
try
{
PUB.log.Add("StateMachine", "사용자가 강제 재시작 요청");
PUB.sm.Stop();
System.Threading.Thread.Sleep(1000);
PUB.sm.Start();
PUB.log.Add("StateMachine", "강제 재시작 완료");
MessageBox.Show("상태머신이 재시작되었습니다.", "완료");
}
catch (Exception ex)
{
MessageBox.Show($"재시작 실패: {ex.Message}", "오류");
PUB.log.AddE($"상태머신 재시작 실패: {ex.Message}");
}
}
}
protected override void OnFormClosing(FormClosingEventArgs e)
{
updateTimer?.Stop();
updateTimer?.Dispose();
base.OnFormClosing(e);
}
}
}

334
HMI/Project/Dialog/fSystem.Designer.cs generated Normal file
View File

@@ -0,0 +1,334 @@
namespace Project.Dialog
{
partial class fSystem
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btOpenDir = new System.Windows.Forms.Button();
this.arLabel4 = new System.Windows.Forms.Button();
this.btShutdown = new System.Windows.Forms.Button();
this.btRestart = new System.Windows.Forms.Button();
this.btStartMenu = new System.Windows.Forms.Button();
this.btTaskMgr = new System.Windows.Forms.Button();
this.btProcessList = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.btEmulator = new System.Windows.Forms.Button();
this.btMakePatch = new System.Windows.Forms.Button();
this.btAutoRestart = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// btOpenDir
//
this.btOpenDir.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btOpenDir.Cursor = System.Windows.Forms.Cursors.Hand;
this.btOpenDir.Dock = System.Windows.Forms.DockStyle.Fill;
this.btOpenDir.Font = new System.Drawing.Font("Consolas", 12F);
this.btOpenDir.ForeColor = System.Drawing.Color.White;
this.btOpenDir.Location = new System.Drawing.Point(5, 5);
this.btOpenDir.Margin = new System.Windows.Forms.Padding(5);
this.btOpenDir.Name = "btOpenDir";
this.btOpenDir.Size = new System.Drawing.Size(201, 79);
this.btOpenDir.TabIndex = 2;
this.btOpenDir.Text = "폴더열기";
this.btOpenDir.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btOpenDir.Click += new System.EventHandler(this.lbMsg_Click);
//
// arLabel4
//
this.arLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.arLabel4.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel4.Dock = System.Windows.Forms.DockStyle.Bottom;
this.arLabel4.Font = new System.Drawing.Font("Consolas", 12F);
this.arLabel4.ForeColor = System.Drawing.Color.White;
this.arLabel4.Location = new System.Drawing.Point(10, 412);
this.arLabel4.Margin = new System.Windows.Forms.Padding(5);
this.arLabel4.Name = "arLabel4";
this.arLabel4.Size = new System.Drawing.Size(633, 51);
this.arLabel4.TabIndex = 2;
this.arLabel4.Text = "닫기";
this.arLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel4.Click += new System.EventHandler(this.arLabel4_Click);
//
// btShutdown
//
this.btShutdown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btShutdown.Cursor = System.Windows.Forms.Cursors.Hand;
this.btShutdown.Dock = System.Windows.Forms.DockStyle.Fill;
this.btShutdown.Font = new System.Drawing.Font("Consolas", 12F);
this.btShutdown.ForeColor = System.Drawing.Color.White;
this.btShutdown.Location = new System.Drawing.Point(5, 94);
this.btShutdown.Margin = new System.Windows.Forms.Padding(5);
this.btShutdown.Name = "btShutdown";
this.btShutdown.Size = new System.Drawing.Size(201, 79);
this.btShutdown.TabIndex = 2;
this.btShutdown.Text = "시스템 종료";
this.btShutdown.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btShutdown.Click += new System.EventHandler(this.arLabel9_Click);
//
// btRestart
//
this.btRestart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btRestart.Cursor = System.Windows.Forms.Cursors.Hand;
this.btRestart.Dock = System.Windows.Forms.DockStyle.Fill;
this.btRestart.Font = new System.Drawing.Font("Consolas", 12F);
this.btRestart.ForeColor = System.Drawing.Color.White;
this.btRestart.Location = new System.Drawing.Point(216, 94);
this.btRestart.Margin = new System.Windows.Forms.Padding(5);
this.btRestart.Name = "btRestart";
this.btRestart.Size = new System.Drawing.Size(201, 79);
this.btRestart.TabIndex = 2;
this.btRestart.Text = "시스템 재시작";
this.btRestart.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btRestart.Click += new System.EventHandler(this.arLabel10_Click);
//
// btStartMenu
//
this.btStartMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btStartMenu.Cursor = System.Windows.Forms.Cursors.Hand;
this.btStartMenu.Dock = System.Windows.Forms.DockStyle.Fill;
this.btStartMenu.Font = new System.Drawing.Font("Consolas", 12F);
this.btStartMenu.ForeColor = System.Drawing.Color.White;
this.btStartMenu.Location = new System.Drawing.Point(427, 5);
this.btStartMenu.Margin = new System.Windows.Forms.Padding(5);
this.btStartMenu.Name = "btStartMenu";
this.btStartMenu.Size = new System.Drawing.Size(201, 79);
this.btStartMenu.TabIndex = 2;
this.btStartMenu.Text = "시작메뉴";
this.btStartMenu.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btStartMenu.Click += new System.EventHandler(this.arLabel1_Click);
//
// btTaskMgr
//
this.btTaskMgr.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btTaskMgr.Cursor = System.Windows.Forms.Cursors.Hand;
this.btTaskMgr.Dock = System.Windows.Forms.DockStyle.Fill;
this.btTaskMgr.Font = new System.Drawing.Font("Consolas", 12F);
this.btTaskMgr.ForeColor = System.Drawing.Color.White;
this.btTaskMgr.Location = new System.Drawing.Point(216, 5);
this.btTaskMgr.Margin = new System.Windows.Forms.Padding(5);
this.btTaskMgr.Name = "btTaskMgr";
this.btTaskMgr.Size = new System.Drawing.Size(201, 79);
this.btTaskMgr.TabIndex = 2;
this.btTaskMgr.Text = "작업관리자";
this.btTaskMgr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btTaskMgr.Click += new System.EventHandler(this.arLabel6_Click);
//
// btProcessList
//
this.btProcessList.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btProcessList.Cursor = System.Windows.Forms.Cursors.Hand;
this.btProcessList.Dock = System.Windows.Forms.DockStyle.Fill;
this.btProcessList.Font = new System.Drawing.Font("Consolas", 12F);
this.btProcessList.ForeColor = System.Drawing.Color.White;
this.btProcessList.Location = new System.Drawing.Point(427, 94);
this.btProcessList.Margin = new System.Windows.Forms.Padding(5);
this.btProcessList.Name = "btProcessList";
this.btProcessList.Size = new System.Drawing.Size(201, 79);
this.btProcessList.TabIndex = 2;
this.btProcessList.Text = "Process List";
this.btProcessList.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btProcessList.Click += new System.EventHandler(this.arLabel2_Click);
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(10, 389);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(633, 23);
this.label1.TabIndex = 3;
this.label1.Text = "label1";
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(10, 366);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(633, 23);
this.label2.TabIndex = 3;
this.label2.Text = "label1";
//
// btEmulator
//
this.btEmulator.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btEmulator.Cursor = System.Windows.Forms.Cursors.Hand;
this.btEmulator.Dock = System.Windows.Forms.DockStyle.Fill;
this.btEmulator.Font = new System.Drawing.Font("Consolas", 12F);
this.btEmulator.ForeColor = System.Drawing.Color.White;
this.btEmulator.Location = new System.Drawing.Point(5, 183);
this.btEmulator.Margin = new System.Windows.Forms.Padding(5);
this.btEmulator.Name = "btEmulator";
this.btEmulator.Size = new System.Drawing.Size(201, 79);
this.btEmulator.TabIndex = 4;
this.btEmulator.Text = "Emulator";
this.btEmulator.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btEmulator.Click += new System.EventHandler(this.arLabel3_Click);
//
// btMakePatch
//
this.btMakePatch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btMakePatch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btMakePatch.Dock = System.Windows.Forms.DockStyle.Fill;
this.btMakePatch.Font = new System.Drawing.Font("Consolas", 12F);
this.btMakePatch.ForeColor = System.Drawing.Color.White;
this.btMakePatch.Location = new System.Drawing.Point(216, 183);
this.btMakePatch.Margin = new System.Windows.Forms.Padding(5);
this.btMakePatch.Name = "btMakePatch";
this.btMakePatch.Size = new System.Drawing.Size(201, 79);
this.btMakePatch.TabIndex = 5;
this.btMakePatch.Text = "패치파일 생성";
this.btMakePatch.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btMakePatch.Click += new System.EventHandler(this.arLabel5_Click);
//
// btAutoRestart
//
this.btAutoRestart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
this.btAutoRestart.Cursor = System.Windows.Forms.Cursors.Hand;
this.btAutoRestart.Dock = System.Windows.Forms.DockStyle.Fill;
this.btAutoRestart.Font = new System.Drawing.Font("Consolas", 12F);
this.btAutoRestart.ForeColor = System.Drawing.Color.White;
this.btAutoRestart.Location = new System.Drawing.Point(427, 183);
this.btAutoRestart.Margin = new System.Windows.Forms.Padding(5);
this.btAutoRestart.Name = "btAutoRestart";
this.btAutoRestart.Size = new System.Drawing.Size(201, 79);
this.btAutoRestart.TabIndex = 6;
this.btAutoRestart.Text = "자동 재시작";
this.btAutoRestart.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btAutoRestart.Click += new System.EventHandler(this.arLabel7_Click);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 3;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.Controls.Add(this.btOpenDir, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.btAutoRestart, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.btTaskMgr, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.btMakePatch, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.btStartMenu, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.btEmulator, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.btShutdown, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.btRestart, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.btProcessList, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 3);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(10, 10);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(633, 356);
this.tableLayoutPanel1.TabIndex = 7;
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
this.button1.Location = new System.Drawing.Point(3, 270);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(205, 83);
this.button1.TabIndex = 7;
this.button1.Text = "Map Editor";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
this.button2.Enabled = false;
this.button2.Location = new System.Drawing.Point(214, 270);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(205, 83);
this.button2.TabIndex = 7;
this.button2.Text = "---";
this.button2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Dock = System.Windows.Forms.DockStyle.Fill;
this.button3.Enabled = false;
this.button3.Location = new System.Drawing.Point(425, 270);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(205, 83);
this.button3.TabIndex = 7;
this.button3.Text = "---";
this.button3.UseVisualStyleBackColor = true;
//
// fSystem
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.ClientSize = new System.Drawing.Size(653, 473);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.arLabel4);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fSystem";
this.Padding = new System.Windows.Forms.Padding(10);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fSystem";
this.Load += new System.EventHandler(this.fSystem_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button btOpenDir;
private System.Windows.Forms.Button arLabel4;
private System.Windows.Forms.Button btTaskMgr;
private System.Windows.Forms.Button btShutdown;
private System.Windows.Forms.Button btRestart;
private System.Windows.Forms.Button btStartMenu;
private System.Windows.Forms.Button btProcessList;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btEmulator;
private System.Windows.Forms.Button btMakePatch;
private System.Windows.Forms.Button btAutoRestart;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
}
}

View File

@@ -0,0 +1,166 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using AR;
using System.IO.Compression;
namespace Project.Dialog
{
public partial class fSystem : Form
{
public bool shutdown = false;
public fSystem()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
UTIL.RunProcess(@"c:\windows\system32\shutdown.exe", "-r -t 5");
}
private void button2_Click(object sender, EventArgs e)
{
UTIL.RunProcess(@"c:\windows\system32\shutdown.exe", "-s -t 5");
}
private void button3_Click(object sender, EventArgs e)
{
}
private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
{
}
private void lbMsg_Click(object sender, EventArgs e)
{
string path = AppDomain.CurrentDomain.BaseDirectory;
System.Diagnostics.Process prc = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo("explorer")
{
Arguments = path
};
prc.StartInfo = si;
prc.Start();
}
private void arLabel1_Click(object sender, EventArgs e)
{
SendKeys.Send("^{ESC}");
}
private void arLabel6_Click(object sender, EventArgs e)
{
SendKeys.Send("^+{ESC}");
}
private void arLabel9_Click(object sender, EventArgs e)
{
shutdown = true;
PUB.SystemShutdown(10);
this.Close();
}
private void arLabel10_Click(object sender, EventArgs e)
{
shutdown = true;
PUB.SystemReboot(10);
this.Close();
}
private void arLabel4_Click(object sender, EventArgs e)
{
this.Close();
}
private void arLabel2_Click(object sender, EventArgs e)
{
System.Text.StringBuilder sb = new StringBuilder();
sb.AppendLine("Current : " + System.Diagnostics.Process.GetCurrentProcess().ProcessName);
foreach (var prc in System.Diagnostics.Process.GetProcesses())
{
if (prc.ProcessName.StartsWith("svchost")) continue;
sb.Append(" " + prc.ProcessName);
}
UTIL.MsgI(sb.ToString(),true);
}
private void fSystem_Load(object sender, EventArgs e)
{
this.label1.Text = "Patch Version " + PUB.PatchVersion;
this.label2.Text = "HMI Version " + Application.ProductVersion.ToString();
}
private void arLabel3_Click(object sender, EventArgs e)
{
var file = System.IO.Path.Combine(UTIL.CurrentPath, "Emulator.exe");
if(System.IO.File.Exists(file)==false)
{
UTIL.MsgE("에물레이터 실행 파일이 없습니다", true);
return;
}
UTIL.RunProcess(file);
}
private void arLabel5_Click(object sender, EventArgs e)
{
//현재 폴더에서 dll 과, amkor.exe 파일을 압축한다
var path = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory);
var files_dll = path.GetFiles("*.dll");
var file_exe = System.IO.Path.Combine(path.FullName, "amkor.exe");
if(System.IO.File.Exists(file_exe)==false)
{
UTIL.MsgE("실행파일 amkor.exe 가 없습니다.");
return;
}
var veri = Application.ProductVersion.Split('.');
var newfilename = "Patch_AGV_" + veri[0] + veri[1] + veri[2] + "_" + veri[3] + ".zip";
// 임시 폴더 생성
var tempDir = Path.Combine(Path.GetTempPath(), "PatchTemp");
if (Directory.Exists(tempDir))
Directory.Delete(tempDir, true);
Directory.CreateDirectory(tempDir);
// 파일 복사
File.Copy(file_exe, Path.Combine(tempDir, "amkor.exe"));
foreach (var filedll in files_dll)
File.Copy(filedll.FullName, Path.Combine(tempDir, filedll.Name));
// 압축 파일 생성
ZipFile.CreateFromDirectory(tempDir, newfilename);
// 임시 폴더 삭제
Directory.Delete(tempDir, true);
UTIL.MsgI("다음 패치 파일이 생성됨\n" + newfilename);
}
private void arLabel7_Click(object sender, EventArgs e)
{
PUB.SystemReboot(5,true);
}
private void button1_Click_1(object sender, EventArgs e)
{
//mapeditor
var fn = new System.IO.FileInfo(@".\test\AGVMapEditor.exe");
if (fn.Exists == false) return;
UTIL.RunExplorer(fn.FullName);
}
}
}

View File

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

60
HMI/Project/Dialog/fTouchKey.Designer.cs generated Normal file
View File

@@ -0,0 +1,60 @@
namespace Project.Dialog
{
partial class fTouchKey
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.touchKeyCalc1 = new arCtl.TouchKeyCalc();
this.SuspendLayout();
//
// touchKeyCalc1
//
this.touchKeyCalc1.Dock = System.Windows.Forms.DockStyle.Fill;
this.touchKeyCalc1.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.touchKeyCalc1.Location = new System.Drawing.Point(0, 0);
this.touchKeyCalc1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.touchKeyCalc1.Name = "touchKeyCalc1";
this.touchKeyCalc1.Size = new System.Drawing.Size(374, 330);
this.touchKeyCalc1.TabIndex = 0;
//
// fTouchKey
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(374, 330);
this.Controls.Add(this.touchKeyCalc1);
this.Name = "fTouchKey";
this.Text = "fTouchKey";
this.ResumeLayout(false);
}
#endregion
private arCtl.TouchKeyCalc touchKeyCalc1;
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fTouchKey : Form
{
public fTouchKey()
{
InitializeComponent();
}
}
}

View File

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

View File

@@ -0,0 +1,147 @@
namespace Project.Dialog
{
partial class fTouchKeyFull
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.touchKeyFull1 = new arCtl.TouchKeyFull();
this.tbInput = new System.Windows.Forms.TextBox();
this.lbTitle = new arCtl.arLabel();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// touchKeyFull1
//
this.touchKeyFull1.Dock = System.Windows.Forms.DockStyle.Fill;
this.touchKeyFull1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.touchKeyFull1.Location = new System.Drawing.Point(6, 95);
this.touchKeyFull1.Name = "touchKeyFull1";
this.touchKeyFull1.Size = new System.Drawing.Size(788, 230);
this.touchKeyFull1.TabIndex = 0;
this.touchKeyFull1.keyClick += new arCtl.TouchKeyFull.KeyClickHandler(this.touchKeyFull1_keyClick);
//
// tbInput
//
this.tbInput.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.tbInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbInput.Dock = System.Windows.Forms.DockStyle.Top;
this.tbInput.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbInput.ForeColor = System.Drawing.Color.White;
this.tbInput.Location = new System.Drawing.Point(6, 49);
this.tbInput.Name = "tbInput";
this.tbInput.Size = new System.Drawing.Size(788, 46);
this.tbInput.TabIndex = 0;
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// lbTitle
//
this.lbTitle.BackColor = System.Drawing.Color.Gray;
this.lbTitle.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbTitle.BorderColorOver = System.Drawing.Color.DarkBlue;
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lbTitle.Enabled = false;
this.lbTitle.Enabled = true;
this.lbTitle.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTitle.ForeColor = System.Drawing.Color.White;
this.lbTitle.GradientEnable = true;
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lbTitle.GradientRepeatBG = false;
this.lbTitle.isButton = false;
this.lbTitle.Location = new System.Drawing.Point(6, 5);
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbTitle.msg = null;
this.lbTitle.Name = "lbTitle";
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbTitle.ProgressEnable = false;
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
this.lbTitle.ProgressMax = 100F;
this.lbTitle.ProgressMin = 0F;
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbTitle.ProgressValue = 0F;
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lbTitle.Sign = "";
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(788, 44);
this.lbTitle.TabIndex = 2;
this.lbTitle.Text = "INPUT";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbTitle.TextShadow = true;
this.lbTitle.TextVisible = true;
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.button1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.Location = new System.Drawing.Point(728, 11);
this.button1.Margin = new System.Windows.Forms.Padding(0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(60, 34);
this.button1.TabIndex = 3;
this.button1.Text = "CLOSE";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// fTouchKeyFull
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
this.ClientSize = new System.Drawing.Size(800, 330);
this.Controls.Add(this.button1);
this.Controls.Add(this.touchKeyFull1);
this.Controls.Add(this.tbInput);
this.Controls.Add(this.lbTitle);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.KeyPreview = true;
this.Name = "fTouchKeyFull";
this.Padding = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fTouchKeyFull";
this.Load += new System.EventHandler(this.fTouchKeyFull_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private arCtl.TouchKeyFull touchKeyFull1;
private arCtl.arLabel lbTitle;
public System.Windows.Forms.TextBox tbInput;
private System.Windows.Forms.Button button1;
}
}

View File

@@ -0,0 +1,99 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fTouchKeyFull : Form
{
public fTouchKeyFull(string title,string value)
{
InitializeComponent();
this.lbTitle.Text = title;
this.tbInput.Text = value;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape)
this.Close();
};
this.lbTitle.MouseMove += LbTitle_MouseMove;
this.lbTitle.MouseUp += LbTitle_MouseUp;
this.lbTitle.MouseDown += LbTitle_MouseDown;
}
private void fTouchKeyFull_Load(object sender, EventArgs e)
{
this.Show();
Application.DoEvents();
this.tbInput.SelectAll();
this.tbInput.Focus();
}
#region "Mouse Form Move"
private Boolean fMove = false;
private Point MDownPos;
private void LbTitle_MouseMove(object sender, MouseEventArgs e)
{
if (fMove)
{
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
this.Left += offset.X;
this.Top += offset.Y;
offset = new Point(0, 0);
}
}
private void LbTitle_MouseUp(object sender, MouseEventArgs e)
{
fMove = false;
}
private void LbTitle_MouseDown(object sender, MouseEventArgs e)
{
MDownPos = new Point(e.X, e.Y);
fMove = true;
}
#endregion
private void touchKeyFull1_keyClick(string key)
{
var seltext = tbInput.SelectedText;
switch(key)
{
case "CLR":
this.tbInput.Text = string.Empty;
break;
case "BACK":
if (this.tbInput.TextLength < 2) this.tbInput.Text = string.Empty;
else this.tbInput.Text = this.tbInput.Text.Substring(0,tbInput.TextLength-1);
this.tbInput.SelectionStart = this.tbInput.TextLength;
break;
case "ENTER":
this.DialogResult = DialogResult.OK;
break;
case "SPACE":
if (seltext.Length == tbInput.TextLength) tbInput.Text = "";
this.tbInput.Text += " ";
this.tbInput.SelectionStart = this.tbInput.TextLength;
break;
default:
if (seltext.Length == tbInput.TextLength) tbInput.Text = "";
this.tbInput.Text += key;
this.tbInput.SelectionStart = this.tbInput.TextLength;
break;
}
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

View File

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

View File

@@ -0,0 +1,835 @@
namespace Project.Dialog
{
partial class fTouchNumDot
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.arLabel1 = new arCtl.arLabel();
this.arLabel2 = new arCtl.arLabel();
this.arLabel3 = new arCtl.arLabel();
this.arLabel4 = new arCtl.arLabel();
this.arLabel5 = new arCtl.arLabel();
this.arLabel6 = new arCtl.arLabel();
this.arLabel7 = new arCtl.arLabel();
this.arLabel8 = new arCtl.arLabel();
this.arLabel9 = new arCtl.arLabel();
this.arLabel11 = new arCtl.arLabel();
this.arLabel12 = new arCtl.arLabel();
this.arLabel13 = new arCtl.arLabel();
this.arLabel14 = new arCtl.arLabel();
this.arLabel15 = new arCtl.arLabel();
this.arLabel10 = new arCtl.arLabel();
this.tbInput = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.Controls.Add(this.arLabel1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.arLabel2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.arLabel3, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.arLabel4, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.arLabel5, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.arLabel6, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.arLabel7, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.arLabel8, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.arLabel9, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.arLabel11, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.arLabel12, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.arLabel13, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.arLabel14, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.arLabel15, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.arLabel10, 3, 2);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 50);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(324, 265);
this.tableLayoutPanel1.TabIndex = 1;
//
// arLabel1
//
this.arLabel1.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel1.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel1.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel1.BorderColorOver = System.Drawing.Color.Red;
this.arLabel1.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel1.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel1.ForeColor = System.Drawing.Color.White;
this.arLabel1.GradientEnable = false;
this.arLabel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel1.GradientRepeatBG = false;
this.arLabel1.isButton = true;
this.arLabel1.Location = new System.Drawing.Point(0, 0);
this.arLabel1.Margin = new System.Windows.Forms.Padding(0);
this.arLabel1.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel1.msg = null;
this.arLabel1.Name = "arLabel1";
this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel1.ProgressEnable = false;
this.arLabel1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel1.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel1.ProgressMax = 100F;
this.arLabel1.ProgressMin = 0F;
this.arLabel1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel1.ProgressValue = 0F;
this.arLabel1.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel1.Sign = "";
this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel1.SignColor = System.Drawing.Color.Yellow;
this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel1.Size = new System.Drawing.Size(81, 66);
this.arLabel1.TabIndex = 0;
this.arLabel1.Tag = "1";
this.arLabel1.Text = "1";
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel1.TextShadow = false;
this.arLabel1.TextVisible = true;
this.arLabel1.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel2
//
this.arLabel2.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel2.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel2.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel2.BorderColorOver = System.Drawing.Color.Red;
this.arLabel2.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel2.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel2.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel2.ForeColor = System.Drawing.Color.White;
this.arLabel2.GradientEnable = false;
this.arLabel2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel2.GradientRepeatBG = false;
this.arLabel2.isButton = true;
this.arLabel2.Location = new System.Drawing.Point(81, 0);
this.arLabel2.Margin = new System.Windows.Forms.Padding(0);
this.arLabel2.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel2.msg = null;
this.arLabel2.Name = "arLabel2";
this.arLabel2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel2.ProgressEnable = false;
this.arLabel2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel2.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel2.ProgressMax = 100F;
this.arLabel2.ProgressMin = 0F;
this.arLabel2.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel2.ProgressValue = 0F;
this.arLabel2.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel2.Sign = "";
this.arLabel2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel2.SignColor = System.Drawing.Color.Yellow;
this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel2.Size = new System.Drawing.Size(81, 66);
this.arLabel2.TabIndex = 0;
this.arLabel2.Tag = "2";
this.arLabel2.Text = "2";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel2.TextShadow = false;
this.arLabel2.TextVisible = true;
this.arLabel2.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel3
//
this.arLabel3.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel3.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel3.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel3.BorderColorOver = System.Drawing.Color.Red;
this.arLabel3.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel3.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel3.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel3.ForeColor = System.Drawing.Color.White;
this.arLabel3.GradientEnable = false;
this.arLabel3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel3.GradientRepeatBG = false;
this.arLabel3.isButton = true;
this.arLabel3.Location = new System.Drawing.Point(162, 0);
this.arLabel3.Margin = new System.Windows.Forms.Padding(0);
this.arLabel3.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel3.msg = null;
this.arLabel3.Name = "arLabel3";
this.arLabel3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel3.ProgressEnable = false;
this.arLabel3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel3.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel3.ProgressMax = 100F;
this.arLabel3.ProgressMin = 0F;
this.arLabel3.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel3.ProgressValue = 0F;
this.arLabel3.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel3.Sign = "";
this.arLabel3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel3.SignColor = System.Drawing.Color.Yellow;
this.arLabel3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel3.Size = new System.Drawing.Size(81, 66);
this.arLabel3.TabIndex = 0;
this.arLabel3.Tag = "3";
this.arLabel3.Text = "3";
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel3.TextShadow = false;
this.arLabel3.TextVisible = true;
this.arLabel3.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel4
//
this.arLabel4.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel4.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel4.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel4.BorderColorOver = System.Drawing.Color.Red;
this.arLabel4.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel4.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel4.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel4.ForeColor = System.Drawing.Color.White;
this.arLabel4.GradientEnable = false;
this.arLabel4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel4.GradientRepeatBG = false;
this.arLabel4.isButton = true;
this.arLabel4.Location = new System.Drawing.Point(162, 66);
this.arLabel4.Margin = new System.Windows.Forms.Padding(0);
this.arLabel4.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel4.msg = null;
this.arLabel4.Name = "arLabel4";
this.arLabel4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel4.ProgressEnable = false;
this.arLabel4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel4.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel4.ProgressMax = 100F;
this.arLabel4.ProgressMin = 0F;
this.arLabel4.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel4.ProgressValue = 0F;
this.arLabel4.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel4.Sign = "";
this.arLabel4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel4.SignColor = System.Drawing.Color.Yellow;
this.arLabel4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel4.Size = new System.Drawing.Size(81, 66);
this.arLabel4.TabIndex = 0;
this.arLabel4.Tag = "6";
this.arLabel4.Text = "6";
this.arLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel4.TextShadow = false;
this.arLabel4.TextVisible = true;
this.arLabel4.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel5
//
this.arLabel5.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel5.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel5.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel5.BorderColorOver = System.Drawing.Color.Red;
this.arLabel5.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel5.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel5.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel5.ForeColor = System.Drawing.Color.White;
this.arLabel5.GradientEnable = false;
this.arLabel5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel5.GradientRepeatBG = false;
this.arLabel5.isButton = true;
this.arLabel5.Location = new System.Drawing.Point(81, 66);
this.arLabel5.Margin = new System.Windows.Forms.Padding(0);
this.arLabel5.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel5.msg = null;
this.arLabel5.Name = "arLabel5";
this.arLabel5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel5.ProgressEnable = false;
this.arLabel5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel5.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel5.ProgressMax = 100F;
this.arLabel5.ProgressMin = 0F;
this.arLabel5.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel5.ProgressValue = 0F;
this.arLabel5.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel5.Sign = "";
this.arLabel5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel5.SignColor = System.Drawing.Color.Yellow;
this.arLabel5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel5.Size = new System.Drawing.Size(81, 66);
this.arLabel5.TabIndex = 0;
this.arLabel5.Tag = "5";
this.arLabel5.Text = "5";
this.arLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel5.TextShadow = false;
this.arLabel5.TextVisible = true;
this.arLabel5.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel6
//
this.arLabel6.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel6.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel6.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel6.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel6.BorderColorOver = System.Drawing.Color.Red;
this.arLabel6.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel6.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel6.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel6.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel6.ForeColor = System.Drawing.Color.White;
this.arLabel6.GradientEnable = false;
this.arLabel6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel6.GradientRepeatBG = false;
this.arLabel6.isButton = true;
this.arLabel6.Location = new System.Drawing.Point(0, 66);
this.arLabel6.Margin = new System.Windows.Forms.Padding(0);
this.arLabel6.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel6.msg = null;
this.arLabel6.Name = "arLabel6";
this.arLabel6.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel6.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel6.ProgressEnable = false;
this.arLabel6.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel6.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel6.ProgressMax = 100F;
this.arLabel6.ProgressMin = 0F;
this.arLabel6.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel6.ProgressValue = 0F;
this.arLabel6.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel6.Sign = "";
this.arLabel6.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel6.SignColor = System.Drawing.Color.Yellow;
this.arLabel6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel6.Size = new System.Drawing.Size(81, 66);
this.arLabel6.TabIndex = 0;
this.arLabel6.Tag = "4";
this.arLabel6.Text = "4";
this.arLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel6.TextShadow = false;
this.arLabel6.TextVisible = true;
this.arLabel6.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel7
//
this.arLabel7.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel7.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel7.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel7.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel7.BorderColorOver = System.Drawing.Color.Red;
this.arLabel7.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel7.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel7.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel7.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel7.ForeColor = System.Drawing.Color.White;
this.arLabel7.GradientEnable = false;
this.arLabel7.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel7.GradientRepeatBG = false;
this.arLabel7.isButton = true;
this.arLabel7.Location = new System.Drawing.Point(0, 132);
this.arLabel7.Margin = new System.Windows.Forms.Padding(0);
this.arLabel7.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel7.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel7.msg = null;
this.arLabel7.Name = "arLabel7";
this.arLabel7.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel7.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel7.ProgressEnable = false;
this.arLabel7.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel7.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel7.ProgressMax = 100F;
this.arLabel7.ProgressMin = 0F;
this.arLabel7.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel7.ProgressValue = 0F;
this.arLabel7.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel7.Sign = "";
this.arLabel7.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel7.SignColor = System.Drawing.Color.Yellow;
this.arLabel7.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel7.Size = new System.Drawing.Size(81, 66);
this.arLabel7.TabIndex = 0;
this.arLabel7.Tag = "7";
this.arLabel7.Text = "7";
this.arLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel7.TextShadow = false;
this.arLabel7.TextVisible = true;
this.arLabel7.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel8
//
this.arLabel8.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel8.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel8.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel8.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel8.BorderColorOver = System.Drawing.Color.Red;
this.arLabel8.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel8.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel8.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel8.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel8.ForeColor = System.Drawing.Color.White;
this.arLabel8.GradientEnable = false;
this.arLabel8.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel8.GradientRepeatBG = false;
this.arLabel8.isButton = true;
this.arLabel8.Location = new System.Drawing.Point(81, 132);
this.arLabel8.Margin = new System.Windows.Forms.Padding(0);
this.arLabel8.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel8.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel8.msg = null;
this.arLabel8.Name = "arLabel8";
this.arLabel8.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel8.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel8.ProgressEnable = false;
this.arLabel8.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel8.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel8.ProgressMax = 100F;
this.arLabel8.ProgressMin = 0F;
this.arLabel8.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel8.ProgressValue = 0F;
this.arLabel8.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel8.Sign = "";
this.arLabel8.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel8.SignColor = System.Drawing.Color.Yellow;
this.arLabel8.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel8.Size = new System.Drawing.Size(81, 66);
this.arLabel8.TabIndex = 0;
this.arLabel8.Tag = "8";
this.arLabel8.Text = "8";
this.arLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel8.TextShadow = false;
this.arLabel8.TextVisible = true;
this.arLabel8.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel9
//
this.arLabel9.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel9.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel9.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel9.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel9.BorderColorOver = System.Drawing.Color.Red;
this.arLabel9.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel9.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel9.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel9.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel9.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel9.ForeColor = System.Drawing.Color.White;
this.arLabel9.GradientEnable = false;
this.arLabel9.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel9.GradientRepeatBG = false;
this.arLabel9.isButton = true;
this.arLabel9.Location = new System.Drawing.Point(162, 132);
this.arLabel9.Margin = new System.Windows.Forms.Padding(0);
this.arLabel9.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel9.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel9.msg = null;
this.arLabel9.Name = "arLabel9";
this.arLabel9.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel9.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel9.ProgressEnable = false;
this.arLabel9.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel9.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel9.ProgressMax = 100F;
this.arLabel9.ProgressMin = 0F;
this.arLabel9.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel9.ProgressValue = 0F;
this.arLabel9.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel9.Sign = "";
this.arLabel9.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel9.SignColor = System.Drawing.Color.Yellow;
this.arLabel9.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel9.Size = new System.Drawing.Size(81, 66);
this.arLabel9.TabIndex = 0;
this.arLabel9.Tag = "9";
this.arLabel9.Text = "9";
this.arLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel9.TextShadow = false;
this.arLabel9.TextVisible = true;
this.arLabel9.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel11
//
this.arLabel11.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel11.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel11.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel11.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel11.BorderColorOver = System.Drawing.Color.Red;
this.arLabel11.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel11.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel11.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel11.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel11.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel11.ForeColor = System.Drawing.Color.White;
this.arLabel11.GradientEnable = false;
this.arLabel11.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel11.GradientRepeatBG = false;
this.arLabel11.isButton = true;
this.arLabel11.Location = new System.Drawing.Point(81, 198);
this.arLabel11.Margin = new System.Windows.Forms.Padding(0);
this.arLabel11.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel11.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel11.msg = null;
this.arLabel11.Name = "arLabel11";
this.arLabel11.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel11.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel11.ProgressEnable = false;
this.arLabel11.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel11.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel11.ProgressMax = 100F;
this.arLabel11.ProgressMin = 0F;
this.arLabel11.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel11.ProgressValue = 0F;
this.arLabel11.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel11.Sign = "";
this.arLabel11.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel11.SignColor = System.Drawing.Color.Yellow;
this.arLabel11.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel11.Size = new System.Drawing.Size(81, 67);
this.arLabel11.TabIndex = 0;
this.arLabel11.Tag = "0";
this.arLabel11.Text = "0";
this.arLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel11.TextShadow = false;
this.arLabel11.TextVisible = true;
this.arLabel11.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel12
//
this.arLabel12.BackColor = System.Drawing.Color.Gray;
this.arLabel12.BackColor2 = System.Drawing.Color.Gold;
this.arLabel12.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel12.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel12.BorderColorOver = System.Drawing.Color.Red;
this.arLabel12.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel12.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel12.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel12.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel12.Font = new System.Drawing.Font("Consolas", 12F);
this.arLabel12.ForeColor = System.Drawing.Color.White;
this.arLabel12.GradientEnable = true;
this.arLabel12.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel12.GradientRepeatBG = false;
this.arLabel12.isButton = true;
this.arLabel12.Location = new System.Drawing.Point(243, 0);
this.arLabel12.Margin = new System.Windows.Forms.Padding(0);
this.arLabel12.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel12.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel12.msg = null;
this.arLabel12.Name = "arLabel12";
this.arLabel12.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel12.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel12.ProgressEnable = false;
this.arLabel12.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel12.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel12.ProgressMax = 100F;
this.arLabel12.ProgressMin = 0F;
this.arLabel12.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel12.ProgressValue = 0F;
this.arLabel12.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel12.Sign = "";
this.arLabel12.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel12.SignColor = System.Drawing.Color.Yellow;
this.arLabel12.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel12.Size = new System.Drawing.Size(81, 66);
this.arLabel12.TabIndex = 0;
this.arLabel12.Tag = "B";
this.arLabel12.Text = "BACK";
this.arLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel12.TextShadow = false;
this.arLabel12.TextVisible = true;
this.arLabel12.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel13
//
this.arLabel13.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel13.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel13.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel13.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel13.BorderColorOver = System.Drawing.Color.Red;
this.arLabel13.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel13.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel13.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel13.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel13.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel13.ForeColor = System.Drawing.Color.White;
this.arLabel13.GradientEnable = false;
this.arLabel13.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel13.GradientRepeatBG = false;
this.arLabel13.isButton = true;
this.arLabel13.Location = new System.Drawing.Point(162, 198);
this.arLabel13.Margin = new System.Windows.Forms.Padding(0);
this.arLabel13.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel13.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel13.msg = null;
this.arLabel13.Name = "arLabel13";
this.arLabel13.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel13.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel13.ProgressEnable = false;
this.arLabel13.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel13.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel13.ProgressMax = 100F;
this.arLabel13.ProgressMin = 0F;
this.arLabel13.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel13.ProgressValue = 0F;
this.arLabel13.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel13.Sign = "";
this.arLabel13.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel13.SignColor = System.Drawing.Color.Yellow;
this.arLabel13.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel13.Size = new System.Drawing.Size(81, 67);
this.arLabel13.TabIndex = 0;
this.arLabel13.Tag = ".";
this.arLabel13.Text = ".";
this.arLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel13.TextShadow = false;
this.arLabel13.TextVisible = true;
this.arLabel13.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel14
//
this.arLabel14.BackColor = System.Drawing.Color.SkyBlue;
this.arLabel14.BackColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel14.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel14.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel14.BorderColorOver = System.Drawing.Color.Red;
this.arLabel14.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel14.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel14.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel14.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.arLabel14.ForeColor = System.Drawing.Color.White;
this.arLabel14.GradientEnable = false;
this.arLabel14.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel14.GradientRepeatBG = false;
this.arLabel14.isButton = true;
this.arLabel14.Location = new System.Drawing.Point(0, 198);
this.arLabel14.Margin = new System.Windows.Forms.Padding(0);
this.arLabel14.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel14.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel14.msg = null;
this.arLabel14.Name = "arLabel14";
this.arLabel14.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel14.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel14.ProgressEnable = false;
this.arLabel14.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel14.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel14.ProgressMax = 100F;
this.arLabel14.ProgressMin = 0F;
this.arLabel14.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel14.ProgressValue = 0F;
this.arLabel14.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel14.Sign = "";
this.arLabel14.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel14.SignColor = System.Drawing.Color.Yellow;
this.arLabel14.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel14.Size = new System.Drawing.Size(81, 67);
this.arLabel14.TabIndex = 0;
this.arLabel14.Tag = "-";
this.arLabel14.Text = "-";
this.arLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel14.TextShadow = false;
this.arLabel14.TextVisible = true;
this.arLabel14.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel15
//
this.arLabel15.BackColor = System.Drawing.Color.Gray;
this.arLabel15.BackColor2 = System.Drawing.Color.SteelBlue;
this.arLabel15.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel15.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel15.BorderColorOver = System.Drawing.Color.Red;
this.arLabel15.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel15.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel15.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel15.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel15.Font = new System.Drawing.Font("Consolas", 12F);
this.arLabel15.ForeColor = System.Drawing.Color.White;
this.arLabel15.GradientEnable = true;
this.arLabel15.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel15.GradientRepeatBG = false;
this.arLabel15.isButton = true;
this.arLabel15.Location = new System.Drawing.Point(243, 66);
this.arLabel15.Margin = new System.Windows.Forms.Padding(0);
this.arLabel15.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel15.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel15.msg = null;
this.arLabel15.Name = "arLabel15";
this.arLabel15.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel15.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel15.ProgressEnable = false;
this.arLabel15.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel15.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel15.ProgressMax = 100F;
this.arLabel15.ProgressMin = 0F;
this.arLabel15.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel15.ProgressValue = 0F;
this.arLabel15.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel15.Sign = "";
this.arLabel15.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel15.SignColor = System.Drawing.Color.Yellow;
this.arLabel15.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel15.Size = new System.Drawing.Size(81, 66);
this.arLabel15.TabIndex = 0;
this.arLabel15.Tag = "C";
this.arLabel15.Text = "CLEAR";
this.arLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel15.TextShadow = false;
this.arLabel15.TextVisible = true;
this.arLabel15.Click += new System.EventHandler(this.arLabel1_Click);
//
// arLabel10
//
this.arLabel10.BackColor = System.Drawing.Color.CadetBlue;
this.arLabel10.BackColor2 = System.Drawing.Color.Lime;
this.arLabel10.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel10.BorderColor = System.Drawing.Color.SteelBlue;
this.arLabel10.BorderColorOver = System.Drawing.Color.Red;
this.arLabel10.BorderSize = new System.Windows.Forms.Padding(2);
this.arLabel10.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel10.Cursor = System.Windows.Forms.Cursors.Hand;
this.arLabel10.Dock = System.Windows.Forms.DockStyle.Fill;
this.arLabel10.Font = new System.Drawing.Font("Consolas", 12F);
this.arLabel10.ForeColor = System.Drawing.Color.White;
this.arLabel10.GradientEnable = true;
this.arLabel10.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arLabel10.GradientRepeatBG = false;
this.arLabel10.isButton = true;
this.arLabel10.Location = new System.Drawing.Point(243, 132);
this.arLabel10.Margin = new System.Windows.Forms.Padding(0);
this.arLabel10.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel10.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel10.msg = null;
this.arLabel10.Name = "arLabel10";
this.arLabel10.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel10.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel10.ProgressEnable = false;
this.arLabel10.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel10.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel10.ProgressMax = 100F;
this.arLabel10.ProgressMin = 0F;
this.arLabel10.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel10.ProgressValue = 0F;
this.tableLayoutPanel1.SetRowSpan(this.arLabel10, 2);
this.arLabel10.ShadowColor = System.Drawing.Color.WhiteSmoke;
this.arLabel10.Sign = "";
this.arLabel10.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel10.SignColor = System.Drawing.Color.Yellow;
this.arLabel10.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel10.Size = new System.Drawing.Size(81, 133);
this.arLabel10.TabIndex = 0;
this.arLabel10.Tag = "E";
this.arLabel10.Text = "ENTER";
this.arLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel10.TextShadow = false;
this.arLabel10.TextVisible = true;
this.arLabel10.Click += new System.EventHandler(this.arLabel1_Click);
//
// tbInput
//
this.tbInput.Dock = System.Windows.Forms.DockStyle.Top;
this.tbInput.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbInput.Location = new System.Drawing.Point(5, 5);
this.tbInput.Name = "tbInput";
this.tbInput.Size = new System.Drawing.Size(324, 40);
this.tbInput.TabIndex = 2;
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(5, 45);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(324, 5);
this.panel1.TabIndex = 3;
//
// fTouchNumDot
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.ClientSize = new System.Drawing.Size(334, 320);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.tbInput);
this.Name = "fTouchNumDot";
this.Padding = new System.Windows.Forms.Padding(5);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Input Value";
this.Load += new System.EventHandler(this.fTouchNumDot_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private arCtl.arLabel arLabel1;
private arCtl.arLabel arLabel2;
private arCtl.arLabel arLabel3;
private arCtl.arLabel arLabel4;
private arCtl.arLabel arLabel5;
private arCtl.arLabel arLabel6;
private arCtl.arLabel arLabel7;
private arCtl.arLabel arLabel8;
private arCtl.arLabel arLabel9;
private arCtl.arLabel arLabel10;
private arCtl.arLabel arLabel11;
private arCtl.arLabel arLabel12;
public System.Windows.Forms.TextBox tbInput;
private System.Windows.Forms.Panel panel1;
private arCtl.arLabel arLabel13;
private arCtl.arLabel arLabel14;
private arCtl.arLabel arLabel15;
}
}

View File

@@ -0,0 +1,85 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fTouchNumDot : Form
{
public fTouchNumDot(string value)
{
InitializeComponent();
this.tbInput.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Confirm(); };
this.KeyPreview = true;
this.tbInput.Text = value;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
private void fTouchNumDot_Load(object sender, EventArgs e)
{
this.tbInput.SelectAll();
this.tbInput.Focus();
}
private void Confirm()
{
string id = tbInput.Text.Trim();
if (id.isEmpty())
{
tbInput.Focus();
return;
}
DialogResult = DialogResult.OK;
}
public void ProcessKey(ref TextBox cmb_rfid, string key)
{
if (key == "B")
{
if (cmb_rfid.Text != "")
cmb_rfid.Text = cmb_rfid.Text.Substring(0, cmb_rfid.Text.Length - 1);
}
else if (key == "C")
{
cmb_rfid.Text = "";
}
else if (key == "E")
{
Confirm();
}
else
{
if (cmb_rfid.SelectionLength > 0 && cmb_rfid.TextLength == cmb_rfid.SelectionLength)
{
cmb_rfid.Text = key;
}
else if (cmb_rfid.SelectionLength > 0)
{
//선택된 영역을 대체해준다.
cmb_rfid.SelectedText = key;
}
else cmb_rfid.Text += key;
}
cmb_rfid.SelectionLength = 0;
if (cmb_rfid.Text != "")
cmb_rfid.SelectionStart = cmb_rfid.Text.Length;
}
private void arLabel1_Click(object sender, EventArgs e)
{
var ctl = sender as arCtl.arLabel;
ProcessKey(ref tbInput, ctl.Tag.ToString());
}
}
}

View File

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

500
HMI/Project/Dialog/fUpdateForm.Designer.cs generated Normal file
View File

@@ -0,0 +1,500 @@
namespace Project.Dialog
{
partial class fUpdateForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.tmBlink = new System.Windows.Forms.Timer(this.components);
this.arPanel1 = new arCtl.arPanel();
this.panButton = new System.Windows.Forms.Panel();
this.btYes = new arCtl.arLabel();
this.btNo = new arCtl.arLabel();
this.panel7 = new System.Windows.Forms.Panel();
this.lb3 = new arCtl.arLabel();
this.panel1 = new System.Windows.Forms.Panel();
this.lb2 = new arCtl.arLabel();
this.panel4 = new System.Windows.Forms.Panel();
this.lb1 = new arCtl.arLabel();
this.panel8 = new System.Windows.Forms.Panel();
this.lbTitle = new arCtl.arLabel();
this.arLabel1 = new arCtl.arLabel();
this.panel2 = new System.Windows.Forms.Panel();
this.arPanel1.SuspendLayout();
this.panButton.SuspendLayout();
this.SuspendLayout();
//
// tmBlink
//
this.tmBlink.Enabled = true;
this.tmBlink.Interval = 300;
this.tmBlink.Tick += new System.EventHandler(this.tmBlink_Tick);
//
// arPanel1
//
this.arPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.arPanel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.arPanel1.BorderColor = System.Drawing.Color.DimGray;
this.arPanel1.BorderSize = new System.Windows.Forms.Padding(1);
this.arPanel1.Controls.Add(this.panButton);
this.arPanel1.Controls.Add(this.panel7);
this.arPanel1.Controls.Add(this.lb3);
this.arPanel1.Controls.Add(this.panel2);
this.arPanel1.Controls.Add(this.arLabel1);
this.arPanel1.Controls.Add(this.panel1);
this.arPanel1.Controls.Add(this.lb2);
this.arPanel1.Controls.Add(this.panel4);
this.arPanel1.Controls.Add(this.lb1);
this.arPanel1.Controls.Add(this.panel8);
this.arPanel1.Controls.Add(this.lbTitle);
this.arPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.arPanel1.Font = new System.Drawing.Font("Consolas", 10F, System.Drawing.FontStyle.Italic);
this.arPanel1.ForeColor = System.Drawing.Color.Khaki;
this.arPanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.arPanel1.GradientRepeatBG = false;
this.arPanel1.Location = new System.Drawing.Point(5, 5);
this.arPanel1.Name = "arPanel1";
this.arPanel1.Padding = new System.Windows.Forms.Padding(6);
this.arPanel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arPanel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arPanel1.ProgressMax = 100F;
this.arPanel1.ProgressMin = 0F;
this.arPanel1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arPanel1.ProgressValue = 0F;
this.arPanel1.ShadowColor = System.Drawing.Color.Black;
this.arPanel1.ShowBorder = true;
this.arPanel1.Size = new System.Drawing.Size(508, 358);
this.arPanel1.TabIndex = 0;
this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.arPanel1.TextShadow = false;
this.arPanel1.UseProgressBar = false;
//
// panButton
//
this.panButton.Controls.Add(this.btYes);
this.panButton.Controls.Add(this.btNo);
this.panButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.panButton.Location = new System.Drawing.Point(6, 298);
this.panButton.Name = "panButton";
this.panButton.Size = new System.Drawing.Size(496, 54);
this.panButton.TabIndex = 10;
//
// btYes
//
this.btYes.BackColor = System.Drawing.Color.SeaGreen;
this.btYes.BackColor2 = System.Drawing.Color.SeaGreen;
this.btYes.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.btYes.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btYes.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btYes.BorderSize = new System.Windows.Forms.Padding(1);
this.btYes.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.btYes.Cursor = System.Windows.Forms.Cursors.Hand;
this.btYes.Dock = System.Windows.Forms.DockStyle.Fill;
this.btYes.Enabled = false;
this.btYes.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btYes.ForeColor = System.Drawing.Color.Black;
this.btYes.GradientEnable = true;
this.btYes.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.btYes.GradientRepeatBG = false;
this.btYes.isButton = true;
this.btYes.Location = new System.Drawing.Point(0, 0);
this.btYes.MouseDownColor = System.Drawing.Color.Yellow;
this.btYes.MouseOverColor = System.Drawing.Color.Yellow;
this.btYes.msg = null;
this.btYes.Name = "btYes";
this.btYes.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.btYes.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.btYes.ProgressEnable = false;
this.btYes.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.btYes.ProgressForeColor = System.Drawing.Color.Black;
this.btYes.ProgressMax = 100F;
this.btYes.ProgressMin = 0F;
this.btYes.ProgressPadding = new System.Windows.Forms.Padding(0);
this.btYes.ProgressValue = 0F;
this.btYes.ShadowColor = System.Drawing.Color.Gray;
this.btYes.Sign = "";
this.btYes.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.btYes.SignColor = System.Drawing.Color.Yellow;
this.btYes.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btYes.Size = new System.Drawing.Size(267, 54);
this.btYes.TabIndex = 0;
this.btYes.Text = "예(F5)";
this.btYes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btYes.TextShadow = true;
this.btYes.TextVisible = true;
this.btYes.Click += new System.EventHandler(this.btYes_Click);
//
// btNo
//
this.btNo.BackColor = System.Drawing.Color.Goldenrod;
this.btNo.BackColor2 = System.Drawing.Color.Goldenrod;
this.btNo.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.btNo.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btNo.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.btNo.BorderSize = new System.Windows.Forms.Padding(1);
this.btNo.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.btNo.Cursor = System.Windows.Forms.Cursors.Hand;
this.btNo.Dock = System.Windows.Forms.DockStyle.Right;
this.btNo.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btNo.ForeColor = System.Drawing.Color.Black;
this.btNo.GradientEnable = true;
this.btNo.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.btNo.GradientRepeatBG = false;
this.btNo.isButton = true;
this.btNo.Location = new System.Drawing.Point(267, 0);
this.btNo.MouseDownColor = System.Drawing.Color.Yellow;
this.btNo.MouseOverColor = System.Drawing.Color.Yellow;
this.btNo.msg = null;
this.btNo.Name = "btNo";
this.btNo.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.btNo.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.btNo.ProgressEnable = false;
this.btNo.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.btNo.ProgressForeColor = System.Drawing.Color.Black;
this.btNo.ProgressMax = 100F;
this.btNo.ProgressMin = 0F;
this.btNo.ProgressPadding = new System.Windows.Forms.Padding(0);
this.btNo.ProgressValue = 0F;
this.btNo.ShadowColor = System.Drawing.Color.Gray;
this.btNo.Sign = "";
this.btNo.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.btNo.SignColor = System.Drawing.Color.Yellow;
this.btNo.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btNo.Size = new System.Drawing.Size(229, 54);
this.btNo.TabIndex = 1;
this.btNo.Text = "아니오(ESC)";
this.btNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btNo.TextShadow = true;
this.btNo.TextVisible = true;
this.btNo.Click += new System.EventHandler(this.btNo_Click);
//
// panel7
//
this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
this.panel7.Location = new System.Drawing.Point(6, 293);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(496, 5);
this.panel7.TabIndex = 0;
//
// lb3
//
this.lb3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb3.BackColor2 = System.Drawing.Color.Gray;
this.lb3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb3.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb3.BorderSize = new System.Windows.Forms.Padding(1);
this.lb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb3.Dock = System.Windows.Forms.DockStyle.Top;
this.lb3.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb3.ForeColor = System.Drawing.Color.White;
this.lb3.GradientEnable = true;
this.lb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb3.GradientRepeatBG = false;
this.lb3.isButton = false;
this.lb3.Location = new System.Drawing.Point(6, 243);
this.lb3.MouseDownColor = System.Drawing.Color.Yellow;
this.lb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb3.msg = null;
this.lb3.Name = "lb3";
this.lb3.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb3.ProgressEnable = true;
this.lb3.ProgressFont = new System.Drawing.Font("Consolas", 20F);
this.lb3.ProgressForeColor = System.Drawing.Color.Black;
this.lb3.ProgressMax = 100F;
this.lb3.ProgressMin = 0F;
this.lb3.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb3.ProgressValue = 50F;
this.lb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb3.Sign = "";
this.lb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb3.SignColor = System.Drawing.Color.Yellow;
this.lb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb3.Size = new System.Drawing.Size(496, 50);
this.lb3.TabIndex = 5;
this.lb3.Text = "0%";
this.lb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lb3.TextShadow = true;
this.lb3.TextVisible = true;
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(6, 183);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(496, 5);
this.panel1.TabIndex = 11;
//
// lb2
//
this.lb2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb2.BackColor2 = System.Drawing.Color.Gray;
this.lb2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb2.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb2.BorderSize = new System.Windows.Forms.Padding(1);
this.lb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb2.Dock = System.Windows.Forms.DockStyle.Top;
this.lb2.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb2.ForeColor = System.Drawing.Color.White;
this.lb2.GradientEnable = true;
this.lb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb2.GradientRepeatBG = false;
this.lb2.isButton = false;
this.lb2.Location = new System.Drawing.Point(6, 133);
this.lb2.MouseDownColor = System.Drawing.Color.Yellow;
this.lb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb2.msg = null;
this.lb2.Name = "lb2";
this.lb2.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb2.ProgressEnable = false;
this.lb2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb2.ProgressForeColor = System.Drawing.Color.Black;
this.lb2.ProgressMax = 100F;
this.lb2.ProgressMin = 0F;
this.lb2.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb2.ProgressValue = 0F;
this.lb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb2.Sign = "";
this.lb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb2.SignColor = System.Drawing.Color.Yellow;
this.lb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb2.Size = new System.Drawing.Size(496, 50);
this.lb2.TabIndex = 4;
this.lb2.Text = "현재버젼 : {0}";
this.lb2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb2.TextShadow = true;
this.lb2.TextVisible = true;
//
// panel4
//
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(6, 128);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(496, 5);
this.panel4.TabIndex = 14;
//
// lb1
//
this.lb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.lb1.BackColor2 = System.Drawing.Color.Gray;
this.lb1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.lb1.BorderSize = new System.Windows.Forms.Padding(1);
this.lb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lb1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lb1.Dock = System.Windows.Forms.DockStyle.Top;
this.lb1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.lb1.ForeColor = System.Drawing.Color.White;
this.lb1.GradientEnable = true;
this.lb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.lb1.GradientRepeatBG = false;
this.lb1.isButton = false;
this.lb1.Location = new System.Drawing.Point(6, 78);
this.lb1.MouseDownColor = System.Drawing.Color.Yellow;
this.lb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lb1.msg = null;
this.lb1.Name = "lb1";
this.lb1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.lb1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lb1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lb1.ProgressEnable = false;
this.lb1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lb1.ProgressForeColor = System.Drawing.Color.Black;
this.lb1.ProgressMax = 100F;
this.lb1.ProgressMin = 0F;
this.lb1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lb1.ProgressValue = 0F;
this.lb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lb1.Sign = "";
this.lb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lb1.SignColor = System.Drawing.Color.Yellow;
this.lb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lb1.Size = new System.Drawing.Size(496, 50);
this.lb1.TabIndex = 2;
this.lb1.Text = "드라이브 : {0}";
this.lb1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lb1.TextShadow = true;
this.lb1.TextVisible = true;
//
// panel8
//
this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
this.panel8.Location = new System.Drawing.Point(6, 73);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(496, 5);
this.panel8.TabIndex = 18;
//
// lbTitle
//
this.lbTitle.BackColor = System.Drawing.Color.Brown;
this.lbTitle.BackColor2 = System.Drawing.Color.Tomato;
this.lbTitle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbTitle.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 22F, System.Drawing.FontStyle.Bold);
this.lbTitle.ForeColor = System.Drawing.Color.WhiteSmoke;
this.lbTitle.GradientEnable = true;
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
this.lbTitle.GradientRepeatBG = false;
this.lbTitle.isButton = true;
this.lbTitle.Location = new System.Drawing.Point(6, 6);
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbTitle.msg = null;
this.lbTitle.Name = "lbTitle";
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.lbTitle.ProgressEnable = false;
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
this.lbTitle.ProgressMax = 100F;
this.lbTitle.ProgressMin = 0F;
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
this.lbTitle.ProgressValue = 0F;
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.lbTitle.Sign = "";
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(496, 67);
this.lbTitle.TabIndex = 3;
this.lbTitle.Text = "프로그램 업데이트";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lbTitle.TextShadow = true;
this.lbTitle.TextVisible = true;
this.lbTitle.Click += new System.EventHandler(this.lbTitle_Click);
//
// arLabel1
//
this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.arLabel1.BackColor2 = System.Drawing.Color.Gray;
this.arLabel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.arLabel1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.arLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.arLabel1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.arLabel1.BorderSize = new System.Windows.Forms.Padding(1);
this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
this.arLabel1.ForeColor = System.Drawing.Color.White;
this.arLabel1.GradientEnable = true;
this.arLabel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.arLabel1.GradientRepeatBG = false;
this.arLabel1.isButton = false;
this.arLabel1.Location = new System.Drawing.Point(6, 188);
this.arLabel1.MouseDownColor = System.Drawing.Color.Yellow;
this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel1.msg = null;
this.arLabel1.Name = "arLabel1";
this.arLabel1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel1.ProgressEnable = false;
this.arLabel1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
this.arLabel1.ProgressForeColor = System.Drawing.Color.Black;
this.arLabel1.ProgressMax = 100F;
this.arLabel1.ProgressMin = 0F;
this.arLabel1.ProgressPadding = new System.Windows.Forms.Padding(0);
this.arLabel1.ProgressValue = 0F;
this.arLabel1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.arLabel1.Sign = "";
this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel1.SignColor = System.Drawing.Color.Yellow;
this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel1.Size = new System.Drawing.Size(496, 50);
this.arLabel1.TabIndex = 19;
this.arLabel1.Text = "패치버젼 : {0}";
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.arLabel1.TextShadow = true;
this.arLabel1.TextVisible = true;
//
// panel2
//
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(6, 238);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(496, 5);
this.panel2.TabIndex = 20;
//
// fUpdateForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
this.ClientSize = new System.Drawing.Size(518, 368);
this.Controls.Add(this.arPanel1);
this.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.KeyPreview = true;
this.MaximizeBox = false;
this.Name = "fUpdateForm";
this.Padding = new System.Windows.Forms.Padding(5);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Message Window";
this.TopMost = true;
this.Load += new System.EventHandler(this.fMsg_Load);
this.arPanel1.ResumeLayout(false);
this.panButton.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
public arCtl.arLabel lb1;
private arCtl.arPanel arPanel1;
public arCtl.arLabel lbTitle;
public arCtl.arLabel lb3;
public arCtl.arLabel lb2;
private System.Windows.Forms.Timer tmBlink;
public arCtl.arLabel btYes;
public arCtl.arLabel btNo;
private System.Windows.Forms.Panel panButton;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Panel panel2;
public arCtl.arLabel arLabel1;
}
}

View File

@@ -0,0 +1,247 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.IO.Compression;
using AR;
namespace Project.Dialog
{
public partial class fUpdateForm : Form
{
private Boolean fMove = false;
private Point MDownPos;
private string _drive = string.Empty;
public fUpdateForm()
{
InitializeComponent();
}
public fUpdateForm(string drvName)
{
InitializeComponent();
_drive = drvName;
this.FormClosing += fMsgWindow_FormClosing;
this.KeyDown += FJobSelect_KeyDown;
this.lbTitle.MouseMove += label1_MouseMove;
lbTitle.MouseUp += label1_MouseUp;
lbTitle.MouseDown += label1_MouseDown;
lbTitle.MouseDoubleClick += label1_MouseDoubleClick;
}
void fMsgWindow_FormClosing(object sender, FormClosingEventArgs e)
{
}
private void fMsg_Load(object sender, EventArgs e)
{
//해당드라이브에서 패치를 체크한다.
// AGV폴더 아래에 Patch_AGV_20200407.zip 식으로 파일을 처리한다
lb3.ProgressValue = 0;
lb3.Text = "--";
lb1.Text = string.Format("드라이브 : {0}", _drive);
lb2.Text = "현재버젼 : " + PUB.PatchVersion;
var dir = System.IO.Path.Combine(this._drive, "AGV");
if(System.IO.Directory.Exists(dir))
{
//폴더는 있다
var files = System.IO.Directory.GetFiles(dir, "Patch_AGV_*.zip");
if(files == null || files.Length == 0)
{
arLabel1.Text = "패치파일이 없습니다";
}
else
{
var LastFile = files.OrderByDescending(t => t).FirstOrDefault();
var splbuf = LastFile.Split('_');
patchversion = splbuf[2] + splbuf[3].ToUpper().Replace(".ZIP", "");
arLabel1.Text = "패치버젼 : " + patchversion;
arLabel1.Tag = LastFile;
btYes.Enabled = true;
}
}
else
{
arLabel1.Text = "패치폴더("+dir +")가 없습니다";
}
}
string patchversion = "";
private void FJobSelect_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
e.Handled = true;
e.SuppressKeyPress = false;
DialogResult = DialogResult.Cancel;
this.Close();
}
else if (e.KeyCode == Keys.F5)
btYes.PerformClick();
}
//public void setMessage(string msg)
//{
// //msg를 분리해서 표시를 한다.
// var lbs = new arCtl.arLabel[] { lbTitle, lb1, lb2, lb3 };
// var lineBuf = msg.Replace("\r", "").Split('\n');
// int maxLine = Math.Min(lbs.Length, lineBuf.Length);
// for (int i = 0; i < lbs.Length; i++) //최대줄을 넘어가는건 표시불가
// {
// if (i >= lineBuf.Length)
// {
// lbs[i].Text = string.Empty;
// }
// else
// {
// if (i > 0) lbs[i].Text = string.Format("{0}. {1}", i, lineBuf[i]);
// else lbs[i].Text = lineBuf[i];
// }
// }
//}
private void label1_MouseMove(object sender, MouseEventArgs e)
{
if (fMove)
{
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
this.Left += offset.X;
this.Top += offset.Y;
offset = new Point(0, 0);
}
}
private void label1_MouseUp(object sender, MouseEventArgs e)
{
fMove = false;
}
private void label1_MouseDown(object sender, MouseEventArgs e)
{
MDownPos = new Point(e.X, e.Y);
fMove = true;
}
private void label1_MouseDoubleClick(object sender, MouseEventArgs e)
{
}
public enum EWinColor
{
Attention = 0,
Error,
Information
}
public void SetWindowColor(EWinColor wincolor)
{
switch (wincolor)
{
case EWinColor.Attention:
lbTitle.BackColor = Color.Gold;
lbTitle.BackColor2 = Color.Orange;
lbTitle.ShadowColor = Color.FromArgb(150, 150, 150);
lbTitle.ForeColor = Color.FromArgb(50, 50, 50);
break;
case EWinColor.Error:
lbTitle.BackColor = Color.Brown;
lbTitle.BackColor2 = Color.Tomato;
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
lbTitle.ForeColor = Color.WhiteSmoke;
break;
default:
lbTitle.BackColor = Color.DarkTurquoise;
lbTitle.BackColor2 = Color.LightSkyBlue;
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
lbTitle.ForeColor = Color.WhiteSmoke;
break;
}
}
private void lbTitle_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
private void tmBlink_Tick(object sender, EventArgs e)
{
var bg1 = lbTitle.BackColor;
var bg2 = lbTitle.BackColor2;
lbTitle.BackColor = (Color)bg2;
lbTitle.BackColor2 = (Color)bg1;
}
private void btYes_Click(object sender, EventArgs e)
{
//파일
var file = arLabel1.Tag.ToString();
if(System.IO.File.Exists(file))
{
//이 파일을 _patch 폴더에 압축해제한다.
var dir_path = new System.IO.DirectoryInfo(System.IO.Path.Combine(UTIL.CurrentPath ,"_patch"));
if (dir_path.Exists == true)
{
try
{
dir_path.Delete(true);
} catch (Exception ex)
{
UTIL.MsgE(ex.Message);
return;
}
}
else
{
dir_path.Create(); //폴더를 생성해준다.
}
//해당폴더에 압축을 해제해준다.
ZipFile.ExtractToDirectory(file, dir_path.FullName);
//패치정보파일 추가
var infofile = System.IO.Path.Combine(dir_path.FullName, "version.txt");
System.IO.File.WriteAllText(infofile, patchversion, System.Text.Encoding.UTF8);
DialogResult = DialogResult.Yes;
this.Close();
}
else
{
UTIL.MsgE("패치파일이 없습니다\n" + file);
return;
}
}
private void F_ExtractProgress(object sender, EventArgs e)
{
// System.IO.Compression은 진행률 이벤트를 제공하지 않으므로
// 필요한 경우 별도의 진행률 계산 로직을 구현해야 합니다.
}
private void btNo_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
this.Close();
}
}
}

View File

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

168
HMI/Project/Dialog/fVolume.Designer.cs generated Normal file
View File

@@ -0,0 +1,168 @@
namespace Project.Dialog
{
partial class fVolume
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(10, 9);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(169, 103);
this.button1.TabIndex = 0;
this.button1.Text = "up";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(185, 9);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(169, 103);
this.button2.TabIndex = 1;
this.button2.Text = "down";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(360, 9);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(169, 103);
this.button3.TabIndex = 2;
this.button3.Text = "mute";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button4
//
this.button4.Location = new System.Drawing.Point(185, 118);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(169, 103);
this.button4.TabIndex = 4;
this.button4.Text = "music down";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button5
//
this.button5.Location = new System.Drawing.Point(10, 118);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(169, 103);
this.button5.TabIndex = 3;
this.button5.Text = "music up";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// button6
//
this.button6.Location = new System.Drawing.Point(359, 118);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(169, 46);
this.button6.TabIndex = 5;
this.button6.Text = "play";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
//
this.button7.Location = new System.Drawing.Point(359, 175);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(169, 46);
this.button7.TabIndex = 5;
this.button7.Text = "stop";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// button8
//
this.button8.Location = new System.Drawing.Point(10, 227);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(169, 46);
this.button8.TabIndex = 6;
this.button8.Text = "Speak";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// textBox1
//
this.textBox1.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.textBox1.Location = new System.Drawing.Point(185, 234);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(343, 32);
this.textBox1.TabIndex = 7;
this.textBox1.Text = "음성 테스트 메세지 입니다";
//
// fVolume
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(540, 282);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.button4);
this.Controls.Add(this.button5);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fVolume";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fVolume";
this.Load += new System.EventHandler(this.fVolume_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.TextBox textBox1;
}
}

View File

@@ -0,0 +1,128 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class fVolume : Form
{
//AudioSwitcher.AudioApi.CoreAudio.CoreAudioController ac;
//AudioSwitcher.AudioApi.CoreAudio.CoreAudioDevice dev;
System.Media.SoundPlayer snd;
private const int APPCOMMAND_VOLUME_MUTE = 0x80000;
private const int APPCOMMAND_VOLUME_UP = 0xA0000;
private const int APPCOMMAND_VOLUME_DOWN = 0x90000;
private const int WM_APPCOMMAND = 0x319;
[DllImport("user32.dll")]
public static extern IntPtr SendMessageW(IntPtr hWnd, int Msg,
IntPtr wParam, IntPtr lParam);
private void Mute()
{
SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle,
(IntPtr)APPCOMMAND_VOLUME_MUTE);
}
private void VolDown()
{
SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle,
(IntPtr)APPCOMMAND_VOLUME_DOWN);
}
private void VolUp()
{
SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle,
(IntPtr)APPCOMMAND_VOLUME_UP);
}
public fVolume()
{
InitializeComponent();
}
private void trackBar1_Scroll(object sender, EventArgs e)
{
//if(dev != null)
//{
// dev.Volume = this.trackBar1.Value;
// System.Media.SystemSounds.Beep.Play();
//}
}
private void fVolume_Load(object sender, EventArgs e)
{
snd = new System.Media.SoundPlayer();
//var dev = new AudioSwitcher.AudioApi.CoreAudio.CoreAudioController().GetPlaybackDevices();
//if (dev == null)
//{
// trackBar1.Enabled = false;
// UTIL.MsgE("사운드 장치가 없습니다", true);
//}
//else
//{
// this.trackBar1.Value = (int)dev.Volume;
// System.Media.SystemSounds.Beep.Play();
//}
}
private void button1_Click(object sender, EventArgs e)
{
//up
VolUp();
System.Media.SystemSounds.Beep.Play();
}
private void button2_Click(object sender, EventArgs e)
{
VolDown();
System.Media.SystemSounds.Beep.Play();
}
private void button3_Click(object sender, EventArgs e)
{
Mute();
}
private void button5_Click(object sender, EventArgs e)
{
var newvol = PUB.setting.musicvol + 10;
if (newvol > 100) newvol = 100;
if (newvol < 0) newvol = 0;
PUB.SetVolume(newvol);
}
private void button4_Click(object sender, EventArgs e)
{
var newvol = PUB.setting.musicvol - 10;
if (newvol > 100) newvol = 100;
if (newvol < 0) newvol = 0;
PUB.SetVolume(newvol);
}
private void button7_Click(object sender, EventArgs e)
{
PUB.mplayer.Stop();
}
private void button6_Click(object sender, EventArgs e)
{
PUB.mplayer.Play();
}
private void button8_Click(object sender, EventArgs e)
{
var s = "고수석님, 그 에러는 못고쳐요. 포기 하면 편해요";
var s1 = $"현재시간은 {DateTime.Now.Hour}시 입니다";
PUB.Speak(this.textBox1.Text);
}
}
}

View File

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

View File

@@ -0,0 +1,239 @@
namespace Project.Dialog
{
partial class fXbeeSetting
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.tbBaud = new System.Windows.Forms.TextBox();
this.tbPortName = new System.Windows.Forms.ComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.button2 = new System.Windows.Forms.Button();
this.btmy = new System.Windows.Forms.Button();
this.tbmy = new System.Windows.Forms.TextBox();
this.btch = new System.Windows.Forms.Button();
this.tbch = new System.Windows.Forms.TextBox();
this.btpand = new System.Windows.Forms.Button();
this.tbpanid = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.rtXbee = new arCtl.LogTextBox();
this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(25, 45);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(227, 26);
this.button1.TabIndex = 0;
this.button1.Text = "open/close";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// tbBaud
//
this.tbBaud.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbBaud.Location = new System.Drawing.Point(152, 13);
this.tbBaud.Name = "tbBaud";
this.tbBaud.Size = new System.Drawing.Size(100, 26);
this.tbBaud.TabIndex = 2;
this.tbBaud.Text = "9600";
this.tbBaud.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPortName
//
this.tbPortName.Font = new System.Drawing.Font("굴림", 12F);
this.tbPortName.FormattingEnabled = true;
this.tbPortName.Location = new System.Drawing.Point(25, 15);
this.tbPortName.Name = "tbPortName";
this.tbPortName.Size = new System.Drawing.Size(121, 24);
this.tbPortName.TabIndex = 3;
//
// panel1
//
this.panel1.Controls.Add(this.button2);
this.panel1.Controls.Add(this.btmy);
this.panel1.Controls.Add(this.tbmy);
this.panel1.Controls.Add(this.btch);
this.panel1.Controls.Add(this.tbch);
this.panel1.Controls.Add(this.btpand);
this.panel1.Controls.Add(this.tbpanid);
this.panel1.Controls.Add(this.tbPortName);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.tbBaud);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(580, 118);
this.panel1.TabIndex = 4;
//
// button2
//
this.button2.Location = new System.Drawing.Point(293, 15);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 89);
this.button2.TabIndex = 10;
this.button2.Text = "Read Setting";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// btmy
//
this.btmy.Location = new System.Drawing.Point(480, 78);
this.btmy.Name = "btmy";
this.btmy.Size = new System.Drawing.Size(86, 26);
this.btmy.TabIndex = 9;
this.btmy.Text = "My";
this.btmy.UseVisualStyleBackColor = true;
this.btmy.Click += new System.EventHandler(this.btmy_Click);
//
// tbmy
//
this.tbmy.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbmy.Location = new System.Drawing.Point(374, 78);
this.tbmy.Name = "tbmy";
this.tbmy.Size = new System.Drawing.Size(100, 26);
this.tbmy.TabIndex = 8;
this.tbmy.Text = "9600";
this.tbmy.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btch
//
this.btch.Location = new System.Drawing.Point(480, 47);
this.btch.Name = "btch";
this.btch.Size = new System.Drawing.Size(86, 26);
this.btch.TabIndex = 7;
this.btch.Text = "Channel";
this.btch.UseVisualStyleBackColor = true;
this.btch.Click += new System.EventHandler(this.btch_Click);
//
// tbch
//
this.tbch.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbch.Location = new System.Drawing.Point(374, 47);
this.tbch.Name = "tbch";
this.tbch.Size = new System.Drawing.Size(100, 26);
this.tbch.TabIndex = 6;
this.tbch.Text = "9600";
this.tbch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btpand
//
this.btpand.Location = new System.Drawing.Point(480, 15);
this.btpand.Name = "btpand";
this.btpand.Size = new System.Drawing.Size(86, 26);
this.btpand.TabIndex = 5;
this.btpand.Text = "PanID";
this.btpand.UseVisualStyleBackColor = true;
this.btpand.Click += new System.EventHandler(this.btpand_Click);
//
// tbpanid
//
this.tbpanid.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbpanid.Location = new System.Drawing.Point(374, 15);
this.tbpanid.Name = "tbpanid";
this.tbpanid.Size = new System.Drawing.Size(100, 26);
this.tbpanid.TabIndex = 4;
this.tbpanid.Text = "9600";
this.tbpanid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel2
//
this.panel2.Controls.Add(this.rtXbee);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 118);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(580, 338);
this.panel2.TabIndex = 5;
//
// rtXbee
//
this.rtXbee.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.rtXbee.ColorList = new arCtl.sLogMessageColor[0];
this.rtXbee.DateFormat = "mm:ss.fff";
this.rtXbee.DefaultColor = System.Drawing.Color.LightGray;
this.rtXbee.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtXbee.EnableDisplayTimer = false;
this.rtXbee.EnableGubunColor = true;
this.rtXbee.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtXbee.ListFormat = "[{0}] {1}";
this.rtXbee.Location = new System.Drawing.Point(0, 0);
this.rtXbee.MaxListCount = ((ushort)(1000));
this.rtXbee.MaxTextLength = ((uint)(400000u));
this.rtXbee.MessageInterval = 50;
this.rtXbee.Name = "rtXbee";
this.rtXbee.Size = new System.Drawing.Size(580, 338);
this.rtXbee.TabIndex = 2;
this.rtXbee.Text = "";
//
// serialPort1
//
this.serialPort1.ReadTimeout = 1000;
this.serialPort1.WriteTimeout = 1000;
//
// fXbeeSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(580, 456);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fXbeeSetting";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Form1";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.fXbeeSetting_FormClosed);
this.Load += new System.EventHandler(this.fXbeeSetting_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox tbBaud;
private System.Windows.Forms.ComboBox tbPortName;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private arCtl.LogTextBox rtXbee;
private System.Windows.Forms.Button btpand;
private System.Windows.Forms.TextBox tbpanid;
private System.Windows.Forms.Button btmy;
private System.Windows.Forms.TextBox tbmy;
private System.Windows.Forms.Button btch;
private System.Windows.Forms.TextBox tbch;
private System.Windows.Forms.Button button2;
private System.IO.Ports.SerialPort serialPort1;
}
}

View File

@@ -0,0 +1,193 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AR;
using COMM;
namespace Project.Dialog
{
public partial class fXbeeSetting : Form
{
public fXbeeSetting()
{
InitializeComponent();
VAR.BOOL[eVarBool.DISABLE_AUTOCONN_XBEE] = true;
PUB.XBE.Close();
this.serialPort1.DataReceived += SerialPort1_DataReceived;
}
private void fXbeeSetting_Load(object sender, EventArgs e)
{
this.tbPortName.Items.Clear();
foreach (var item in System.IO.Ports.SerialPort.GetPortNames())
{
this.tbPortName.Items.Add(item);
}
this.tbPortName.Text = PUB.setting.Port_XBE;
this.tbBaud.Text = PUB.setting.Baud_XBE.ToString();
}
void showlog(string Message)
{
if (rtXbee.Visible)
{
rtXbee.AddMsg(DateTime.Now, "NORMAL", Message);
}
}
void showlog(arCtl.LogTextBox rtRx, DateTime LogTime, string TypeStr, string Message)
{
if (rtRx.Visible)
{
rtRx.AddMsg(LogTime, TypeStr, Message);
}
}
private void button1_Click(object sender, EventArgs e)
{
if (this.serialPort1.IsOpen)
{
serialPort1.Close();
showlog("closed");
}
else
{
serialPort1.PortName = tbPortName.Text;
serialPort1.BaudRate = int.Parse(tbBaud.Text);
serialPort1.Open();
showlog("open");
}
}
private void fXbeeSetting_FormClosed(object sender, FormClosedEventArgs e)
{
VAR.BOOL[eVarBool.DISABLE_AUTOCONN_XBEE] = false;
}
private volatile bool isCommandExecuting = false;
private void SerialPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
{
if (isCommandExecuting) return;
try
{
string data = serialPort1.ReadExisting();
var hexdata = System.Text.Encoding.Default.GetBytes(data);
var hexstr = string.Join(" ", hexdata.Select(t => t.ToString("X2")));
if (!string.IsNullOrEmpty(data))
{
this.BeginInvoke(new Action(() =>
{
showlog($"RxAsync: {hexstr}");
}));
}
}
catch { }
}
private string Cmd(string cmd, int timeout = 1000)
{
isCommandExecuting = true;
try
{
if (!serialPort1.IsOpen) return "Error: Port Closed";
serialPort1.DiscardInBuffer();
serialPort1.Write(cmd);
System.Threading.Thread.Sleep(20);
serialPort1.ReadTimeout = timeout;
string res = serialPort1.ReadTo("\r");
System.Threading.Thread.Sleep(20);
showlog($"Tx:{cmd.Trim()}, Rx:{res}");
//명령수신호 10ms 대기후 다음 명령을 전송
System.Threading.Thread.Sleep(20);
return res;
}
catch (Exception ex)
{
showlog($"Err: {ex.Message}");
return "Error";
}
finally
{
isCommandExecuting = false;
}
}
private void btpand_Click(object sender, EventArgs e)
{
//각명령마다 회신을 확인하고 다음명령을 실행해야함
//명령수신호 10ms 대기후 다음 명령을 전송
//명령을 설정하면 응답은 OK\d 형태로 입력된다.
var cmds = new string[] {
"+++",
$"ATID{tbpanid.Text}\r" ,
$"ATCN\r"};
foreach (var cmd in cmds)
{
if(!Cmd(cmd).Contains("OK"))
{
showlog("FAIL");
break;
}
}
}
private void btch_Click(object sender, EventArgs e)
{
var cmds = new string[] {
"+++",
$"ATCH{tbch.Text}\r" ,
$"ATCN\r"};
foreach (var cmd in cmds)
{
if (!Cmd(cmd).Contains("OK"))
{
showlog("FAIL");
break;
}
}
}
private void btmy_Click(object sender, EventArgs e)
{
var cmds = new string[] {
"+++",
$"ATMY{tbmy.Text}\r" ,
$"ATCN\r"};
foreach (var cmd in cmds)
{
if (!Cmd(cmd).Contains("OK"))
{
showlog("FAIL");
break;
}
}
}
private void button2_Click(object sender, EventArgs e)
{
//read all(id,ch,my)
if (Cmd("+++").Contains("OK"))
{
var id = Cmd("ATID\r");
var ch = Cmd("ATCH\r");
var my = Cmd("ATMY\r");
Cmd("ATCN\r");
this.BeginInvoke(new Action(() => {
this.tbpanid.Text = id;
this.tbch.Text = ch;
this.tbmy.Text = my;
}));
}
}
}
}

View File

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