Initial commit
This commit is contained in:
81
Handler/Project/Setting/CounterSetting.cs
Normal file
81
Handler/Project/Setting/CounterSetting.cs
Normal file
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using AR;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public class CounterSetting : arUtil.Setting
|
||||
{
|
||||
public int seq { get; set; }
|
||||
public string DateStr { get; set; }
|
||||
|
||||
|
||||
|
||||
public void ClearP()
|
||||
{
|
||||
CountV0 = CountV1 = CountV2 = CountE = CountP0 = CountP1 = CountP2 = CountPrintL = CountPrintR = 0;
|
||||
PUB.log.Add("Count(Port) Clear");
|
||||
this.Save();
|
||||
}
|
||||
|
||||
public void ClearDay()
|
||||
{
|
||||
DateStr = string.Empty;
|
||||
CountDP0 = CountDP1 = CountDP2 = CountDP3 = CountDP4 = 0;
|
||||
PUB.log.Add("Count(Day) Clear");
|
||||
this.Save();
|
||||
}
|
||||
|
||||
public int CountD
|
||||
{
|
||||
get
|
||||
{
|
||||
return CountDP0 + CountDP1 + CountDP2 + CountDP3 + CountDP4;
|
||||
}
|
||||
}
|
||||
public int Count
|
||||
{
|
||||
get
|
||||
{
|
||||
return CountP0 + CountP1 + CountP2 + CountPrintL + CountPrintR;
|
||||
}
|
||||
}
|
||||
|
||||
public int CountDP0 { get; set; }
|
||||
public int CountDP1 { get; set; }
|
||||
public int CountDP2 { get; set; }
|
||||
public int CountDP3 { get; set; }
|
||||
public int CountDP4 { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
//메인카운터
|
||||
public int CountP0 { get; set; }
|
||||
public int CountP1 { get; set; }
|
||||
public int CountP2 { get; set; }
|
||||
public int CountPrintL { get; set; }
|
||||
public int CountPrintR { get; set; }
|
||||
public int CountE { get; set; }
|
||||
public int CountV0 { get; set; }
|
||||
public int CountV1 { get; set; }
|
||||
public int CountV2 { get; set; }
|
||||
|
||||
|
||||
public CounterSetting()
|
||||
{
|
||||
this.filename = AR.UTIL.CurrentPath + "counter.xml";
|
||||
}
|
||||
public override void AfterLoad()
|
||||
{
|
||||
//if (CountReset == null) CountReset = DateTime.Parse("1982-11-23");
|
||||
}
|
||||
public override void AfterSave()
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
263
Handler/Project/Setting/System_MotParameter.cs
Normal file
263
Handler/Project/Setting/System_MotParameter.cs
Normal file
@@ -0,0 +1,263 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public class System_MotParameter
|
||||
{
|
||||
|
||||
string filename;
|
||||
public DSSetup.MotionParamDataTable dt;
|
||||
public int MotaxisCount
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.dt.Rows.Count < 1) return 0;
|
||||
var maxid = this.dt.Max(t => t.idx);
|
||||
return maxid + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
double[] _maxspeed;
|
||||
public double MaxSpeed(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 0;
|
||||
else return dr.MaxSpeed;
|
||||
}
|
||||
public double[] GetMaxSpeed
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
|
||||
if (_maxspeed == null || _maxspeed.Length != MotaxisCount)
|
||||
{
|
||||
_maxspeed = new double[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
_maxspeed[i] = MaxSpeed(i);
|
||||
}
|
||||
}
|
||||
|
||||
return _maxspeed;
|
||||
}
|
||||
}
|
||||
|
||||
public void ClearCache()
|
||||
{
|
||||
_maxspeed = null;
|
||||
_maxacc = null;
|
||||
}
|
||||
|
||||
double[] _maxacc;
|
||||
|
||||
public double MaxAcc(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 0;
|
||||
else return dr.MaxAcc;
|
||||
}
|
||||
|
||||
public double[] GetMaxAcc
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
|
||||
if (_maxacc == null || _maxacc.Length != MotaxisCount)
|
||||
{
|
||||
_maxacc = new double[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
_maxacc[i] = MaxAcc(i);
|
||||
}
|
||||
}
|
||||
return _maxacc;
|
||||
}
|
||||
}
|
||||
|
||||
public double HomeSpeedHigh(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 30;
|
||||
else return dr.HomeHigh;
|
||||
}
|
||||
public double[] GetHomeSpeedHigh
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new double[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = HomeSpeedHigh(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
public double HomeSpeedLow(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 10;
|
||||
else return dr.HomeLow;
|
||||
}
|
||||
public double[] GetHomeSpeedLow
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new double[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = HomeSpeedLow(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
public double HomeSpeedAcc(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 50;
|
||||
else return dr.HomeAcc;
|
||||
}
|
||||
public double[] GetHomeSpeedAcc
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new double[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = HomeSpeedAcc(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
public Boolean UseEStopSignal(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return false;
|
||||
else return dr.UseEStop;
|
||||
}
|
||||
|
||||
public Boolean UseOriginSignal(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return false;
|
||||
else return dr.UseOrigin;
|
||||
}
|
||||
|
||||
public Boolean UseAxis(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return false;
|
||||
else return dr.Enable;
|
||||
}
|
||||
public double SWLimit(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 0;
|
||||
else return dr.SWLimitP;
|
||||
}
|
||||
|
||||
public double HomeSpeedDcc(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 50;
|
||||
else return dr.HomeDcc;
|
||||
}
|
||||
|
||||
|
||||
public float INPAccurary(int idx)
|
||||
{
|
||||
var dr = dt.Where(t => t.idx == idx).FirstOrDefault();
|
||||
if (dr == null) return 0.1f;
|
||||
else return dr.InpositionAccr;
|
||||
}
|
||||
|
||||
public double[] GetHomeSpeedDcc
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new double[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = HomeSpeedDcc(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
public Boolean[] GetUseAxis
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new bool[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = UseAxis(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
public Boolean[] GetUseOrigin
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new bool[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = UseOriginSignal(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
||||
public Boolean[] GetUseEStop
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MotaxisCount < 1) return null;
|
||||
var retval = new bool[MotaxisCount];
|
||||
for (int i = 0; i < MotaxisCount; i++)
|
||||
{
|
||||
retval[i] = UseEStopSignal(i);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
public System_MotParameter(string filename)
|
||||
{
|
||||
this.filename = filename;
|
||||
//if (string.IsNullOrEmpty(filename)
|
||||
//this.filename = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "system_mot.xml");
|
||||
dt = new DSSetup.MotionParamDataTable();
|
||||
}
|
||||
public void Save(DSSetup.MotionParamDataTable dt)
|
||||
{
|
||||
this.dt.Clear();
|
||||
this.dt.Merge(dt);
|
||||
this.dt.AcceptChanges();
|
||||
if (string.IsNullOrEmpty(this.filename) == false)
|
||||
this.dt.WriteXml(this.filename);
|
||||
}
|
||||
public void Load()
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.filename) == false)
|
||||
{
|
||||
dt.Clear();
|
||||
if (System.IO.File.Exists(this.filename))
|
||||
dt.ReadXml(this.filename);
|
||||
dt.AcceptChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
64
Handler/Project/Setting/System_Setting.cs
Normal file
64
Handler/Project/Setting/System_Setting.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using AR;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
|
||||
public class SystemSetting : arUtil.Setting
|
||||
{
|
||||
public int SaftySensor_Threshold { get; set; }
|
||||
|
||||
#region "System Setting"
|
||||
public int MotaxisCount { get; set; }
|
||||
#endregion
|
||||
|
||||
#region "Signal Reverse"
|
||||
|
||||
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_Emgergency { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_ButtonAir { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_DoorF { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_DoorR { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_AirCheck { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_PortLimitUp { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_PortLimitDn { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_PortDetect0Up { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_PortDetect1Up { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_PortDetect2Up { get; set; }
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_PickerSafe { get; set; }
|
||||
|
||||
[Category("Signal Reverse")]
|
||||
public Boolean ReverseSIG_ExtConvReady { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public SystemSetting()
|
||||
{
|
||||
this.filename = UTIL.CurrentPath + "system.xml";
|
||||
}
|
||||
public override void AfterLoad()
|
||||
{
|
||||
MotaxisCount = 7;
|
||||
}
|
||||
public override void AfterSave()
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
71
Handler/Project/Setting/UserSetting.cs
Normal file
71
Handler/Project/Setting/UserSetting.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public class UserSetting : arUtil.Setting
|
||||
{
|
||||
public Boolean Option_QtyUpdate1 { get; set; }
|
||||
public Boolean Option_PartUpdate { get; set; }
|
||||
public Boolean Option_printforce1 { get; set; }
|
||||
public Boolean Option_Confirm1 { get; set; }
|
||||
public Boolean Option_AutoConfirm { get; set; }
|
||||
public Boolean Option_vname { get; set; }
|
||||
public Boolean Option_FixPrint1 { get; set; }
|
||||
public string Option_PrintPos1 { get; set; }
|
||||
public Boolean Option_SidConv { get; set; }
|
||||
|
||||
//public Boolean Option_QtyUpdate3 { get; set; }
|
||||
//public Boolean Option_printforce3 { get; set; }
|
||||
//public Boolean Option_Confirm3 { get; set; }
|
||||
//public Boolean Option_FixPrint3 { get; set; }
|
||||
//public string Option_PrintPos3 { get; set; }
|
||||
|
||||
public string LastJobUnP11 { get; set; }
|
||||
public string LastJobUnP12 { get; set; }
|
||||
public string LastJobUnP21 { get; set; }
|
||||
public string LastJobUnP22 { get; set; }
|
||||
public string LastJobUnP31 { get; set; }
|
||||
public string LastJobUnP32 { get; set; }
|
||||
public string LastJobUnP41 { get; set; }
|
||||
public string LastJobUnP42 { get; set; }
|
||||
|
||||
|
||||
public string LastLot { get; set; }
|
||||
public string LastAltag { get; set; }
|
||||
public string LastModelM { get; set; }
|
||||
public string LastModelV { get; set; }
|
||||
|
||||
public string LastMC { get; set; }
|
||||
|
||||
public int jobtype { get; set; }
|
||||
public int scantype { get; set; }
|
||||
public bool useConv { get; set; }
|
||||
public UserSetting()
|
||||
{
|
||||
this.filename = AppDomain.CurrentDomain.BaseDirectory + "UserSet.xml";
|
||||
}
|
||||
|
||||
public override void AfterLoad()
|
||||
{
|
||||
|
||||
if (PUB.uSetting.LastJobUnP11.isEmpty()) PUB.uSetting.LastJobUnP11 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP12.isEmpty()) PUB.uSetting.LastJobUnP12 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP21.isEmpty()) PUB.uSetting.LastJobUnP21 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP22.isEmpty()) PUB.uSetting.LastJobUnP22 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP31.isEmpty()) PUB.uSetting.LastJobUnP31 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP32.isEmpty()) PUB.uSetting.LastJobUnP32 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP41.isEmpty()) PUB.uSetting.LastJobUnP41 = "AUTO";
|
||||
if (PUB.uSetting.LastJobUnP42.isEmpty()) PUB.uSetting.LastJobUnP42 = "AUTO";
|
||||
|
||||
}
|
||||
public override void AfterSave()
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
869
Handler/Project/Setting/fSetting.Designer.cs
generated
Normal file
869
Handler/Project/Setting/fSetting.Designer.cs
generated
Normal file
@@ -0,0 +1,869 @@
|
||||
namespace Project
|
||||
{
|
||||
partial class fSetting
|
||||
{
|
||||
/// <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();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSetting));
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.button10 = new System.Windows.Forms.Button();
|
||||
this.button13 = new System.Windows.Forms.Button();
|
||||
this.button14 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.btmag2 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
this.btPickerVac = new System.Windows.Forms.Button();
|
||||
this.btPort1 = new System.Windows.Forms.Button();
|
||||
this.btmag1 = new System.Windows.Forms.Button();
|
||||
this.btTWLamp = new System.Windows.Forms.Button();
|
||||
this.btBuz = new System.Windows.Forms.Button();
|
||||
this.btmag0 = new System.Windows.Forms.Button();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.btPort0 = new System.Windows.Forms.Button();
|
||||
this.btPort2 = new System.Windows.Forms.Button();
|
||||
this.btLeftVac = new System.Windows.Forms.Button();
|
||||
this.btPrintR = new System.Windows.Forms.Button();
|
||||
this.btPrintL = new System.Windows.Forms.Button();
|
||||
this.btRightVac = new System.Windows.Forms.Button();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.btDetectPrintR = new System.Windows.Forms.Button();
|
||||
this.btDetectPrintL = new System.Windows.Forms.Button();
|
||||
this.btCartDetR = new System.Windows.Forms.Button();
|
||||
this.btCartDetL = new System.Windows.Forms.Button();
|
||||
this.btCartDetC = new System.Windows.Forms.Button();
|
||||
this.btdoorr3 = new System.Windows.Forms.Button();
|
||||
this.btdoorr1 = new System.Windows.Forms.Button();
|
||||
this.btdoorf3 = new System.Windows.Forms.Button();
|
||||
this.btdoorr2 = new System.Windows.Forms.Button();
|
||||
this.btdoorf1 = new System.Windows.Forms.Button();
|
||||
this.btdoorf2 = new System.Windows.Forms.Button();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.tabPage3 = new System.Windows.Forms.TabPage();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.keyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.valueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bsLang = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dataSet1 = new Project.DataSet1();
|
||||
this.statusStrip2 = new System.Windows.Forms.StatusStrip();
|
||||
this.lbFile = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.tabPage4 = new System.Windows.Forms.TabPage();
|
||||
this.button12 = new System.Windows.Forms.Button();
|
||||
this.button11 = new System.Windows.Forms.Button();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.bsRecipient = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bsMailForm = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
|
||||
this.btSystemBypass = new System.Windows.Forms.Button();
|
||||
this.panel1.SuspendLayout();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.tabPage3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsLang)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
|
||||
this.statusStrip2.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.tabPage4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsRecipient)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsMailForm)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.button1.Location = new System.Drawing.Point(5, 5);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(604, 53);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "저장(&S)";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 623);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.panel1.Size = new System.Drawing.Size(614, 63);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// propertyGrid1
|
||||
//
|
||||
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.propertyGrid1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.propertyGrid1.LineColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.propertyGrid1.Location = new System.Drawing.Point(3, 3);
|
||||
this.propertyGrid1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.propertyGrid1.Name = "propertyGrid1";
|
||||
this.propertyGrid1.Size = new System.Drawing.Size(600, 536);
|
||||
this.propertyGrid1.TabIndex = 1;
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
this.tabControl1.Controls.Add(this.tabPage1);
|
||||
this.tabControl1.Controls.Add(this.tabPage3);
|
||||
this.tabControl1.Controls.Add(this.tabPage4);
|
||||
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(614, 623);
|
||||
this.tabControl1.TabIndex = 2;
|
||||
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.Controls.Add(this.groupBox1);
|
||||
this.tabPage2.Controls.Add(this.groupBox2);
|
||||
this.tabPage2.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 29);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.tabPage2.Size = new System.Drawing.Size(606, 590);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "간편설정";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.btSystemBypass);
|
||||
this.groupBox1.Controls.Add(this.button7);
|
||||
this.groupBox1.Controls.Add(this.button10);
|
||||
this.groupBox1.Controls.Add(this.button13);
|
||||
this.groupBox1.Controls.Add(this.button14);
|
||||
this.groupBox1.Controls.Add(this.button3);
|
||||
this.groupBox1.Controls.Add(this.btmag2);
|
||||
this.groupBox1.Controls.Add(this.button2);
|
||||
this.groupBox1.Controls.Add(this.button6);
|
||||
this.groupBox1.Controls.Add(this.btPickerVac);
|
||||
this.groupBox1.Controls.Add(this.btPort1);
|
||||
this.groupBox1.Controls.Add(this.btmag1);
|
||||
this.groupBox1.Controls.Add(this.btTWLamp);
|
||||
this.groupBox1.Controls.Add(this.btBuz);
|
||||
this.groupBox1.Controls.Add(this.btmag0);
|
||||
this.groupBox1.Controls.Add(this.button5);
|
||||
this.groupBox1.Controls.Add(this.btPort0);
|
||||
this.groupBox1.Controls.Add(this.btPort2);
|
||||
this.groupBox1.Controls.Add(this.btLeftVac);
|
||||
this.groupBox1.Controls.Add(this.btPrintR);
|
||||
this.groupBox1.Controls.Add(this.btPrintL);
|
||||
this.groupBox1.Controls.Add(this.btRightVac);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox1.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.groupBox1.Location = new System.Drawing.Point(5, 5);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(596, 403);
|
||||
this.groupBox1.TabIndex = 1;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "기능 사용";
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(230, 279);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(124, 43);
|
||||
this.button7.TabIndex = 48;
|
||||
this.button7.Text = "피커-실린더";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
this.button7.Click += new System.EventHandler(this.button7_Click_2);
|
||||
//
|
||||
// button10
|
||||
//
|
||||
this.button10.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.button10.Location = new System.Drawing.Point(18, 30);
|
||||
this.button10.Name = "button10";
|
||||
this.button10.Size = new System.Drawing.Size(135, 43);
|
||||
this.button10.TabIndex = 25;
|
||||
this.button10.Text = "작업완료 후 부저";
|
||||
this.button10.UseVisualStyleBackColor = true;
|
||||
this.button10.Click += new System.EventHandler(this.button10_Click);
|
||||
//
|
||||
// button13
|
||||
//
|
||||
this.button13.Location = new System.Drawing.Point(53, 215);
|
||||
this.button13.Name = "button13";
|
||||
this.button13.Size = new System.Drawing.Size(128, 42);
|
||||
this.button13.TabIndex = 46;
|
||||
this.button13.Text = "AIR(하)";
|
||||
this.button13.UseVisualStyleBackColor = true;
|
||||
this.button13.Click += new System.EventHandler(this.button13_Click);
|
||||
//
|
||||
// button14
|
||||
//
|
||||
this.button14.Location = new System.Drawing.Point(404, 213);
|
||||
this.button14.Name = "button14";
|
||||
this.button14.Size = new System.Drawing.Size(128, 42);
|
||||
this.button14.TabIndex = 47;
|
||||
this.button14.Text = "AIR(하)";
|
||||
this.button14.UseVisualStyleBackColor = true;
|
||||
this.button14.Click += new System.EventHandler(this.button14_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Bold);
|
||||
this.button3.Location = new System.Drawing.Point(230, 89);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(124, 43);
|
||||
this.button3.TabIndex = 38;
|
||||
this.button3.Text = "QR검증";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click_1);
|
||||
//
|
||||
// btmag2
|
||||
//
|
||||
this.btmag2.Location = new System.Drawing.Point(230, 233);
|
||||
this.btmag2.Name = "btmag2";
|
||||
this.btmag2.Size = new System.Drawing.Size(124, 43);
|
||||
this.btmag2.TabIndex = 42;
|
||||
this.btmag2.Text = "피커-자석";
|
||||
this.btmag2.UseVisualStyleBackColor = true;
|
||||
this.btmag2.Click += new System.EventHandler(this.button5_Click_1);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(429, 30);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(135, 43);
|
||||
this.button2.TabIndex = 28;
|
||||
this.button2.Text = "내부조명";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click_2);
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Font = new System.Drawing.Font("맑은 고딕", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.button6.Location = new System.Drawing.Point(404, 75);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(163, 49);
|
||||
this.button6.TabIndex = 44;
|
||||
this.button6.Text = "우측-기능";
|
||||
this.button6.UseVisualStyleBackColor = true;
|
||||
this.button6.Click += new System.EventHandler(this.button6_Click_3);
|
||||
//
|
||||
// btPickerVac
|
||||
//
|
||||
this.btPickerVac.Location = new System.Drawing.Point(230, 133);
|
||||
this.btPickerVac.Name = "btPickerVac";
|
||||
this.btPickerVac.Size = new System.Drawing.Size(124, 43);
|
||||
this.btPickerVac.TabIndex = 34;
|
||||
this.btPickerVac.Text = "피커-진공";
|
||||
this.btPickerVac.UseVisualStyleBackColor = true;
|
||||
this.btPickerVac.Click += new System.EventHandler(this.btPickerVac_Click);
|
||||
//
|
||||
// btPort1
|
||||
//
|
||||
this.btPort1.ForeColor = System.Drawing.Color.Black;
|
||||
this.btPort1.Location = new System.Drawing.Point(230, 187);
|
||||
this.btPort1.Name = "btPort1";
|
||||
this.btPort1.Size = new System.Drawing.Size(124, 43);
|
||||
this.btPort1.TabIndex = 23;
|
||||
this.btPort1.Text = "피커-포트";
|
||||
this.btPort1.UseVisualStyleBackColor = true;
|
||||
this.btPort1.Click += new System.EventHandler(this.btPort1_Click);
|
||||
//
|
||||
// btmag1
|
||||
//
|
||||
this.btmag1.Location = new System.Drawing.Point(404, 299);
|
||||
this.btmag1.Name = "btmag1";
|
||||
this.btmag1.Size = new System.Drawing.Size(128, 42);
|
||||
this.btmag1.TabIndex = 41;
|
||||
this.btmag1.Text = "자석";
|
||||
this.btmag1.UseVisualStyleBackColor = true;
|
||||
this.btmag1.Click += new System.EventHandler(this.button6_Click_2);
|
||||
//
|
||||
// btTWLamp
|
||||
//
|
||||
this.btTWLamp.Location = new System.Drawing.Point(292, 30);
|
||||
this.btTWLamp.Name = "btTWLamp";
|
||||
this.btTWLamp.Size = new System.Drawing.Size(135, 43);
|
||||
this.btTWLamp.TabIndex = 21;
|
||||
this.btTWLamp.Text = "타워램프";
|
||||
this.btTWLamp.UseVisualStyleBackColor = true;
|
||||
this.btTWLamp.Click += new System.EventHandler(this.btTWLamp_Click);
|
||||
//
|
||||
// btBuz
|
||||
//
|
||||
this.btBuz.Location = new System.Drawing.Point(155, 30);
|
||||
this.btBuz.Name = "btBuz";
|
||||
this.btBuz.Size = new System.Drawing.Size(135, 43);
|
||||
this.btBuz.TabIndex = 4;
|
||||
this.btBuz.Text = "부저";
|
||||
this.btBuz.UseVisualStyleBackColor = true;
|
||||
this.btBuz.Click += new System.EventHandler(this.button6_Click);
|
||||
//
|
||||
// btmag0
|
||||
//
|
||||
this.btmag0.Location = new System.Drawing.Point(53, 301);
|
||||
this.btmag0.Name = "btmag0";
|
||||
this.btmag0.Size = new System.Drawing.Size(128, 42);
|
||||
this.btmag0.TabIndex = 40;
|
||||
this.btmag0.Text = "자석";
|
||||
this.btmag0.UseVisualStyleBackColor = true;
|
||||
this.btmag0.Click += new System.EventHandler(this.button7_Click_1);
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Font = new System.Drawing.Font("맑은 고딕", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.button5.Location = new System.Drawing.Point(18, 77);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(163, 49);
|
||||
this.button5.TabIndex = 43;
|
||||
this.button5.Text = "좌측-기능";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.button5_Click_2);
|
||||
//
|
||||
// btPort0
|
||||
//
|
||||
this.btPort0.ForeColor = System.Drawing.Color.Black;
|
||||
this.btPort0.Location = new System.Drawing.Point(53, 258);
|
||||
this.btPort0.Name = "btPort0";
|
||||
this.btPort0.Size = new System.Drawing.Size(128, 42);
|
||||
this.btPort0.TabIndex = 22;
|
||||
this.btPort0.Text = "포트";
|
||||
this.btPort0.UseVisualStyleBackColor = true;
|
||||
this.btPort0.Click += new System.EventHandler(this.btPort0_Click);
|
||||
//
|
||||
// btPort2
|
||||
//
|
||||
this.btPort2.ForeColor = System.Drawing.Color.Black;
|
||||
this.btPort2.Location = new System.Drawing.Point(404, 256);
|
||||
this.btPort2.Name = "btPort2";
|
||||
this.btPort2.Size = new System.Drawing.Size(128, 42);
|
||||
this.btPort2.TabIndex = 35;
|
||||
this.btPort2.Text = "포트";
|
||||
this.btPort2.UseVisualStyleBackColor = true;
|
||||
this.btPort2.Click += new System.EventHandler(this.btPort2_Click);
|
||||
//
|
||||
// btLeftVac
|
||||
//
|
||||
this.btLeftVac.Location = new System.Drawing.Point(53, 172);
|
||||
this.btLeftVac.Name = "btLeftVac";
|
||||
this.btLeftVac.Size = new System.Drawing.Size(128, 42);
|
||||
this.btLeftVac.TabIndex = 32;
|
||||
this.btLeftVac.Text = "VAC(상)";
|
||||
this.btLeftVac.UseVisualStyleBackColor = true;
|
||||
this.btLeftVac.Click += new System.EventHandler(this.btLeftVac_Click);
|
||||
//
|
||||
// btPrintR
|
||||
//
|
||||
this.btPrintR.ForeColor = System.Drawing.Color.Black;
|
||||
this.btPrintR.Location = new System.Drawing.Point(404, 127);
|
||||
this.btPrintR.Name = "btPrintR";
|
||||
this.btPrintR.Size = new System.Drawing.Size(128, 42);
|
||||
this.btPrintR.TabIndex = 37;
|
||||
this.btPrintR.Text = "프린터";
|
||||
this.btPrintR.UseVisualStyleBackColor = true;
|
||||
this.btPrintR.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// btPrintL
|
||||
//
|
||||
this.btPrintL.ForeColor = System.Drawing.Color.Black;
|
||||
this.btPrintL.Location = new System.Drawing.Point(53, 129);
|
||||
this.btPrintL.Name = "btPrintL";
|
||||
this.btPrintL.Size = new System.Drawing.Size(128, 42);
|
||||
this.btPrintL.TabIndex = 36;
|
||||
this.btPrintL.Text = "프린터";
|
||||
this.btPrintL.UseVisualStyleBackColor = true;
|
||||
this.btPrintL.Click += new System.EventHandler(this.button4_Click_2);
|
||||
//
|
||||
// btRightVac
|
||||
//
|
||||
this.btRightVac.Location = new System.Drawing.Point(404, 170);
|
||||
this.btRightVac.Name = "btRightVac";
|
||||
this.btRightVac.Size = new System.Drawing.Size(128, 42);
|
||||
this.btRightVac.TabIndex = 33;
|
||||
this.btRightVac.Text = "VAC(상)";
|
||||
this.btRightVac.UseVisualStyleBackColor = true;
|
||||
this.btRightVac.Click += new System.EventHandler(this.btRightVac_Click);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.btDetectPrintR);
|
||||
this.groupBox2.Controls.Add(this.btDetectPrintL);
|
||||
this.groupBox2.Controls.Add(this.btCartDetR);
|
||||
this.groupBox2.Controls.Add(this.btCartDetL);
|
||||
this.groupBox2.Controls.Add(this.btCartDetC);
|
||||
this.groupBox2.Controls.Add(this.btdoorr3);
|
||||
this.groupBox2.Controls.Add(this.btdoorr1);
|
||||
this.groupBox2.Controls.Add(this.btdoorf3);
|
||||
this.groupBox2.Controls.Add(this.btdoorr2);
|
||||
this.groupBox2.Controls.Add(this.btdoorf1);
|
||||
this.groupBox2.Controls.Add(this.btdoorf2);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.groupBox2.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.groupBox2.Location = new System.Drawing.Point(5, 408);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(596, 177);
|
||||
this.groupBox2.TabIndex = 2;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "센서 사용";
|
||||
//
|
||||
// btDetectPrintR
|
||||
//
|
||||
this.btDetectPrintR.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btDetectPrintR.Location = new System.Drawing.Point(466, 32);
|
||||
this.btDetectPrintR.Name = "btDetectPrintR";
|
||||
this.btDetectPrintR.Size = new System.Drawing.Size(100, 43);
|
||||
this.btDetectPrintR.TabIndex = 24;
|
||||
this.btDetectPrintR.Text = "인쇄감지-R";
|
||||
this.btDetectPrintR.UseVisualStyleBackColor = true;
|
||||
this.btDetectPrintR.Click += new System.EventHandler(this.btDetectPrintR_Click);
|
||||
//
|
||||
// btDetectPrintL
|
||||
//
|
||||
this.btDetectPrintL.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btDetectPrintL.Location = new System.Drawing.Point(365, 32);
|
||||
this.btDetectPrintL.Name = "btDetectPrintL";
|
||||
this.btDetectPrintL.Size = new System.Drawing.Size(100, 43);
|
||||
this.btDetectPrintL.TabIndex = 23;
|
||||
this.btDetectPrintL.Text = "인쇄감지-L";
|
||||
this.btDetectPrintL.UseVisualStyleBackColor = true;
|
||||
this.btDetectPrintL.Click += new System.EventHandler(this.btDetectPrintL_Click);
|
||||
//
|
||||
// btCartDetR
|
||||
//
|
||||
this.btCartDetR.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btCartDetR.Location = new System.Drawing.Point(219, 122);
|
||||
this.btCartDetR.Name = "btCartDetR";
|
||||
this.btCartDetR.Size = new System.Drawing.Size(100, 43);
|
||||
this.btCartDetR.TabIndex = 20;
|
||||
this.btCartDetR.Text = "카트감지(R)";
|
||||
this.btCartDetR.UseVisualStyleBackColor = true;
|
||||
this.btCartDetR.Click += new System.EventHandler(this.button5_Click);
|
||||
//
|
||||
// btCartDetL
|
||||
//
|
||||
this.btCartDetL.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btCartDetL.Location = new System.Drawing.Point(16, 122);
|
||||
this.btCartDetL.Name = "btCartDetL";
|
||||
this.btCartDetL.Size = new System.Drawing.Size(100, 43);
|
||||
this.btCartDetL.TabIndex = 21;
|
||||
this.btCartDetL.Text = "카트감지(L)";
|
||||
this.btCartDetL.UseVisualStyleBackColor = true;
|
||||
this.btCartDetL.Click += new System.EventHandler(this.button6_Click_1);
|
||||
//
|
||||
// btCartDetC
|
||||
//
|
||||
this.btCartDetC.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btCartDetC.Location = new System.Drawing.Point(118, 122);
|
||||
this.btCartDetC.Name = "btCartDetC";
|
||||
this.btCartDetC.Size = new System.Drawing.Size(100, 43);
|
||||
this.btCartDetC.TabIndex = 22;
|
||||
this.btCartDetC.Text = "카트감지(C)";
|
||||
this.btCartDetC.UseVisualStyleBackColor = true;
|
||||
this.btCartDetC.Click += new System.EventHandler(this.button7_Click);
|
||||
//
|
||||
// btdoorr3
|
||||
//
|
||||
this.btdoorr3.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btdoorr3.Location = new System.Drawing.Point(219, 32);
|
||||
this.btdoorr3.Name = "btdoorr3";
|
||||
this.btdoorr3.Size = new System.Drawing.Size(100, 43);
|
||||
this.btdoorr3.TabIndex = 19;
|
||||
this.btdoorr3.Text = "DOOR-R3";
|
||||
this.btdoorr3.UseVisualStyleBackColor = true;
|
||||
this.btdoorr3.Click += new System.EventHandler(this.btSafetyP3_Click);
|
||||
//
|
||||
// btdoorr1
|
||||
//
|
||||
this.btdoorr1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btdoorr1.Location = new System.Drawing.Point(16, 32);
|
||||
this.btdoorr1.Name = "btdoorr1";
|
||||
this.btdoorr1.Size = new System.Drawing.Size(100, 43);
|
||||
this.btdoorr1.TabIndex = 0;
|
||||
this.btdoorr1.Text = "DOOR-R1";
|
||||
this.btdoorr1.UseVisualStyleBackColor = true;
|
||||
this.btdoorr1.Click += new System.EventHandler(this.button2_Click_1);
|
||||
//
|
||||
// btdoorf3
|
||||
//
|
||||
this.btdoorf3.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btdoorf3.Location = new System.Drawing.Point(219, 77);
|
||||
this.btdoorf3.Name = "btdoorf3";
|
||||
this.btdoorf3.Size = new System.Drawing.Size(100, 43);
|
||||
this.btdoorf3.TabIndex = 2;
|
||||
this.btdoorf3.Text = "DOOR-F3";
|
||||
this.btdoorf3.UseVisualStyleBackColor = true;
|
||||
this.btdoorf3.Click += new System.EventHandler(this.btLoaderDetect_Click);
|
||||
//
|
||||
// btdoorr2
|
||||
//
|
||||
this.btdoorr2.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btdoorr2.Location = new System.Drawing.Point(118, 32);
|
||||
this.btdoorr2.Name = "btdoorr2";
|
||||
this.btdoorr2.Size = new System.Drawing.Size(100, 43);
|
||||
this.btdoorr2.TabIndex = 2;
|
||||
this.btdoorr2.Text = "DOOR-R2";
|
||||
this.btdoorr2.UseVisualStyleBackColor = true;
|
||||
this.btdoorr2.Click += new System.EventHandler(this.button4_Click);
|
||||
//
|
||||
// btdoorf1
|
||||
//
|
||||
this.btdoorf1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btdoorf1.Location = new System.Drawing.Point(16, 77);
|
||||
this.btdoorf1.Name = "btdoorf1";
|
||||
this.btdoorf1.Size = new System.Drawing.Size(100, 43);
|
||||
this.btdoorf1.TabIndex = 5;
|
||||
this.btdoorf1.Text = "DOOR-F1";
|
||||
this.btdoorf1.UseVisualStyleBackColor = true;
|
||||
this.btdoorf1.Click += new System.EventHandler(this.btSafetyCvIn_Click);
|
||||
//
|
||||
// btdoorf2
|
||||
//
|
||||
this.btdoorf2.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.btdoorf2.Location = new System.Drawing.Point(118, 77);
|
||||
this.btdoorf2.Name = "btdoorf2";
|
||||
this.btdoorf2.Size = new System.Drawing.Size(100, 43);
|
||||
this.btdoorf2.TabIndex = 8;
|
||||
this.btdoorf2.Text = "DOOR-F2";
|
||||
this.btdoorf2.UseVisualStyleBackColor = true;
|
||||
this.btdoorf2.Click += new System.EventHandler(this.btSafetyCvOut_Click);
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.propertyGrid1);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 29);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(606, 542);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "상세설정";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tabPage3
|
||||
//
|
||||
this.tabPage3.Controls.Add(this.dataGridView1);
|
||||
this.tabPage3.Controls.Add(this.statusStrip2);
|
||||
this.tabPage3.Controls.Add(this.toolStrip1);
|
||||
this.tabPage3.Location = new System.Drawing.Point(4, 29);
|
||||
this.tabPage3.Name = "tabPage3";
|
||||
this.tabPage3.Size = new System.Drawing.Size(606, 542);
|
||||
this.tabPage3.TabIndex = 2;
|
||||
this.tabPage3.Text = "언어설정";
|
||||
this.tabPage3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AutoGenerateColumns = false;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.keyDataGridViewTextBoxColumn,
|
||||
this.valueDataGridViewTextBoxColumn});
|
||||
this.dataGridView1.DataSource = this.bsLang;
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 25);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(606, 495);
|
||||
this.dataGridView1.TabIndex = 2;
|
||||
//
|
||||
// keyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.keyDataGridViewTextBoxColumn.DataPropertyName = "Key";
|
||||
this.keyDataGridViewTextBoxColumn.HeaderText = "Key";
|
||||
this.keyDataGridViewTextBoxColumn.Name = "keyDataGridViewTextBoxColumn";
|
||||
//
|
||||
// valueDataGridViewTextBoxColumn
|
||||
//
|
||||
this.valueDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.valueDataGridViewTextBoxColumn.DataPropertyName = "Value";
|
||||
this.valueDataGridViewTextBoxColumn.HeaderText = "Value";
|
||||
this.valueDataGridViewTextBoxColumn.Name = "valueDataGridViewTextBoxColumn";
|
||||
//
|
||||
// bsLang
|
||||
//
|
||||
this.bsLang.DataMember = "language";
|
||||
this.bsLang.DataSource = this.dataSet1;
|
||||
//
|
||||
// dataSet1
|
||||
//
|
||||
this.dataSet1.DataSetName = "DataSet1";
|
||||
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// statusStrip2
|
||||
//
|
||||
this.statusStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.lbFile});
|
||||
this.statusStrip2.Location = new System.Drawing.Point(0, 520);
|
||||
this.statusStrip2.Name = "statusStrip2";
|
||||
this.statusStrip2.Size = new System.Drawing.Size(606, 22);
|
||||
this.statusStrip2.TabIndex = 1;
|
||||
this.statusStrip2.Text = "statusStrip2";
|
||||
//
|
||||
// lbFile
|
||||
//
|
||||
this.lbFile.Name = "lbFile";
|
||||
this.lbFile.Size = new System.Drawing.Size(17, 17);
|
||||
this.lbFile.Text = "--";
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton3,
|
||||
this.toolStripButton4,
|
||||
this.toolStripButton2});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(606, 25);
|
||||
this.toolStrip1.TabIndex = 0;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(75, 22);
|
||||
this.toolStripButton1.Text = "신규생성";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
|
||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton3.Name = "toolStripButton3";
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(75, 22);
|
||||
this.toolStripButton3.Text = "새로고침";
|
||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
|
||||
//
|
||||
// toolStripButton4
|
||||
//
|
||||
this.toolStripButton4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
|
||||
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton4.Name = "toolStripButton4";
|
||||
this.toolStripButton4.Size = new System.Drawing.Size(51, 22);
|
||||
this.toolStripButton4.Text = "적용";
|
||||
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(51, 22);
|
||||
this.toolStripButton2.Text = "저장";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// tabPage4
|
||||
//
|
||||
this.tabPage4.Controls.Add(this.button12);
|
||||
this.tabPage4.Controls.Add(this.button11);
|
||||
this.tabPage4.Controls.Add(this.button4);
|
||||
this.tabPage4.Location = new System.Drawing.Point(4, 29);
|
||||
this.tabPage4.Name = "tabPage4";
|
||||
this.tabPage4.Size = new System.Drawing.Size(606, 542);
|
||||
this.tabPage4.TabIndex = 3;
|
||||
this.tabPage4.Text = "기타";
|
||||
this.tabPage4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button12
|
||||
//
|
||||
this.button12.Location = new System.Drawing.Point(23, 135);
|
||||
this.button12.Name = "button12";
|
||||
this.button12.Size = new System.Drawing.Size(189, 43);
|
||||
this.button12.TabIndex = 48;
|
||||
this.button12.Text = "I/O 설명 정의";
|
||||
this.button12.UseVisualStyleBackColor = true;
|
||||
this.button12.Click += new System.EventHandler(this.button12_Click);
|
||||
//
|
||||
// button11
|
||||
//
|
||||
this.button11.Location = new System.Drawing.Point(23, 75);
|
||||
this.button11.Name = "button11";
|
||||
this.button11.Size = new System.Drawing.Size(189, 43);
|
||||
this.button11.TabIndex = 47;
|
||||
this.button11.Text = "오류 메세지 정의";
|
||||
this.button11.UseVisualStyleBackColor = true;
|
||||
this.button11.Click += new System.EventHandler(this.button11_Click);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(23, 15);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(189, 43);
|
||||
this.button4.TabIndex = 46;
|
||||
this.button4.Text = "ZPL 열기";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button4_Click_3);
|
||||
//
|
||||
// bsRecipient
|
||||
//
|
||||
this.bsRecipient.DataMember = "MailRecipient";
|
||||
this.bsRecipient.DataSource = this.dataSet1;
|
||||
//
|
||||
// bsMailForm
|
||||
//
|
||||
this.bsMailForm.DataMember = "MailFormat";
|
||||
this.bsMailForm.DataSource = this.dataSet1;
|
||||
//
|
||||
// errorProvider1
|
||||
//
|
||||
this.errorProvider1.ContainerControl = this;
|
||||
//
|
||||
// btSystemBypass
|
||||
//
|
||||
this.btSystemBypass.Location = new System.Drawing.Point(53, 349);
|
||||
this.btSystemBypass.Name = "btSystemBypass";
|
||||
this.btSystemBypass.Size = new System.Drawing.Size(479, 42);
|
||||
this.btSystemBypass.TabIndex = 49;
|
||||
this.btSystemBypass.Text = "SYSTEM BYPASS";
|
||||
this.btSystemBypass.UseVisualStyleBackColor = true;
|
||||
this.btSystemBypass.Click += new System.EventHandler(this.button8_Click);
|
||||
//
|
||||
// fSetting
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(614, 686);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.KeyPreview = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fSetting";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "프로그램 설정";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage3.ResumeLayout(false);
|
||||
this.tabPage3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsLang)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
|
||||
this.statusStrip2.ResumeLayout(false);
|
||||
this.statusStrip2.PerformLayout();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.tabPage4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsRecipient)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsMailForm)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.PropertyGrid propertyGrid1;
|
||||
private System.Windows.Forms.TabControl tabControl1;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.BindingSource bsLang;
|
||||
private DataSet1 dataSet1;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Button btdoorr2;
|
||||
private System.Windows.Forms.Button btdoorr1;
|
||||
private System.Windows.Forms.Button btdoorf1;
|
||||
private System.Windows.Forms.Button btBuz;
|
||||
private System.Windows.Forms.TabPage tabPage3;
|
||||
private System.Windows.Forms.StatusStrip statusStrip2;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lbFile;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn keyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn valueDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
||||
private System.Windows.Forms.Button btdoorf2;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.Button btdoorf3;
|
||||
private System.Windows.Forms.ErrorProvider errorProvider1;
|
||||
private System.Windows.Forms.Button btdoorr3;
|
||||
private System.Windows.Forms.Button btTWLamp;
|
||||
private System.Windows.Forms.BindingSource bsRecipient;
|
||||
private System.Windows.Forms.BindingSource bsMailForm;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button btPickerVac;
|
||||
private System.Windows.Forms.Button btRightVac;
|
||||
private System.Windows.Forms.Button btLeftVac;
|
||||
private System.Windows.Forms.Button btPort1;
|
||||
private System.Windows.Forms.Button btPort0;
|
||||
private System.Windows.Forms.Button btPort2;
|
||||
private System.Windows.Forms.Button btPrintR;
|
||||
private System.Windows.Forms.Button btPrintL;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button btCartDetR;
|
||||
private System.Windows.Forms.Button btCartDetL;
|
||||
private System.Windows.Forms.Button btCartDetC;
|
||||
private System.Windows.Forms.Button btmag2;
|
||||
private System.Windows.Forms.Button btmag1;
|
||||
private System.Windows.Forms.Button btmag0;
|
||||
private System.Windows.Forms.Button btDetectPrintR;
|
||||
private System.Windows.Forms.Button btDetectPrintL;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.TabPage tabPage4;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button10;
|
||||
private System.Windows.Forms.Button button12;
|
||||
private System.Windows.Forms.Button button11;
|
||||
private System.Windows.Forms.Button button13;
|
||||
private System.Windows.Forms.Button button14;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.Button btSystemBypass;
|
||||
}
|
||||
}
|
||||
523
Handler/Project/Setting/fSetting.cs
Normal file
523
Handler/Project/Setting/fSetting.cs
Normal file
@@ -0,0 +1,523 @@
|
||||
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;
|
||||
using AR;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public partial class fSetting : Form
|
||||
{
|
||||
CommonSetting dummySetting; //설정을 임시로 저장하고 있다가 완료시에 덮어준다.
|
||||
|
||||
public fSetting()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
//setting
|
||||
dummySetting = new CommonSetting();
|
||||
AR.SETTING.Data.CopyTo(dummySetting);
|
||||
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape)
|
||||
this.Close();
|
||||
if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now;
|
||||
};
|
||||
this.MouseMove += (s1, e1) => { if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now; };
|
||||
this.FormClosed += __Closed;
|
||||
|
||||
bsRecipient.DataSource = PUB.mailList;
|
||||
bsMailForm.DataSource = PUB.mailForm;
|
||||
}
|
||||
|
||||
private void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
|
||||
this.propertyGrid1.SelectedObject = this.dummySetting;
|
||||
this.propertyGrid1.Refresh();
|
||||
|
||||
//기능사용
|
||||
btdoorr1.BackColor = dummySetting.Disable_safty_R0 ? Color.Tomato : Color.Lime;
|
||||
btdoorr2.BackColor = dummySetting.Disable_safty_R1 ? Color.Tomato : Color.Lime;
|
||||
btdoorr3.BackColor = dummySetting.Disable_safty_R2 ? Color.Tomato : Color.Lime;
|
||||
btdoorf1.BackColor = dummySetting.Disable_safty_F0 ? Color.Tomato : Color.Lime;
|
||||
btdoorf2.BackColor = dummySetting.Disable_safty_F1 ? Color.Tomato : Color.Lime;
|
||||
btdoorf3.BackColor = dummySetting.Disable_safty_F2 ? Color.Tomato : Color.Lime;
|
||||
|
||||
btBuz.BackColor = dummySetting.Disable_Buzzer == false ? Color.Lime : Color.Tomato;
|
||||
this.btTWLamp.BackColor = dummySetting.Disable_TowerLamp ? Color.Tomato : Color.Lime;
|
||||
this.button2.BackColor = dummySetting.Disable_RoomLight == true ? Color.Tomato : Color.Lime;
|
||||
|
||||
//진공사용여부
|
||||
this.btLeftVac.BackColor = dummySetting.Disable_PLVac ? Color.Tomato : Color.Lime;
|
||||
this.btRightVac.BackColor = dummySetting.Disable_PRVac ? Color.Tomato : Color.Lime;
|
||||
this.btPickerVac.BackColor = dummySetting.Disable_PKVac ? Color.Tomato : Color.Lime;
|
||||
|
||||
//포트사용여부
|
||||
this.btPort0.BackColor = dummySetting.Disable_PortL ? Color.Tomato : Color.Lime;
|
||||
this.btPort1.BackColor = dummySetting.Disable_PortC ? Color.Tomato : Color.Lime;
|
||||
this.btPort2.BackColor = dummySetting.Disable_PortR ? Color.Tomato : Color.Lime;
|
||||
|
||||
//프린터사용여부
|
||||
this.btPrintL.BackColor = dummySetting.Disable_PrinterL ? Color.Tomato : Color.Lime;
|
||||
this.btPrintR.BackColor = dummySetting.Disable_PrinterR ? Color.Tomato : Color.Lime;
|
||||
|
||||
//언로더QR검증
|
||||
this.button3.BackColor = dummySetting.Enable_Unloader_QRValidation ? Color.Lime : Color.Tomato;
|
||||
|
||||
//카드감지센서
|
||||
this.btCartDetL.BackColor = dummySetting.Detect_CartL ? Color.Lime : Color.Tomato;
|
||||
this.btCartDetC.BackColor = dummySetting.Detect_CartC ? Color.Lime : Color.Tomato;
|
||||
this.btCartDetR.BackColor = dummySetting.Detect_CartR ? Color.Lime : Color.Tomato;
|
||||
|
||||
//마그넷사용
|
||||
this.btmag0.BackColor = dummySetting.Enable_Magnet0 ? Color.Lime : Color.Tomato;
|
||||
this.btmag1.BackColor = dummySetting.Enable_Magnet1 ? Color.Lime : Color.Tomato;
|
||||
this.btmag2.BackColor = dummySetting.Enable_Magnet2 ? Color.Lime : Color.Tomato;
|
||||
|
||||
//인쇄용지감지
|
||||
this.btDetectPrintL.BackColor = dummySetting.Detect_PrintL ? Color.Lime : Color.Tomato;
|
||||
this.btDetectPrintR.BackColor = dummySetting.Detect_PrintR ? Color.Lime : Color.Tomato;
|
||||
|
||||
//기능사용
|
||||
this.button5.BackColor = dummySetting.Disable_Left == false ? Color.Lime : Color.Tomato;
|
||||
this.button6.BackColor = dummySetting.Disable_Right == false ? Color.Lime : Color.Tomato;
|
||||
//this.button9.BackColor = dummySetting.Enable_RQAuto ? Color.Lime : Color.Tomato;
|
||||
|
||||
this.button13.BackColor = dummySetting.Disable_PLAir == false ? Color.Lime : Color.Tomato;
|
||||
this.button14.BackColor = dummySetting.Disable_PRAir == false ? Color.Lime : Color.Tomato;
|
||||
this.button10.BackColor = dummySetting.Force_JobEndBuzzer ? Color.Gold : SystemColors.Control;
|
||||
this.button7.BackColor = dummySetting.Enable_PickerCylinder ? Color.Lime : Color.Tomato;
|
||||
this.btSystemBypass.BackColor = dummySetting.SystemBypass ? Color.DarkBlue : Color.Transparent;
|
||||
this.btSystemBypass.ForeColor = dummySetting.SystemBypass ? Color.White : Color.Black;
|
||||
lbFile.Text = Lang.FileName;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (PUB.PasswordCheck() == false)
|
||||
{
|
||||
UTIL.MsgE("Password incorrect");
|
||||
return;
|
||||
}
|
||||
//check convmode - disable port0/2
|
||||
//if (dummySetting.Enable_ConveryorMode)
|
||||
//{
|
||||
// if (dummySetting.Disable_PortL == false)
|
||||
// {
|
||||
// UTIL.MsgE("컨베이어 사용시에는 포트(L/R)을 사용할 수 없습니다");
|
||||
// return;
|
||||
// }
|
||||
// if (dummySetting.Disable_PortR == false)
|
||||
// {
|
||||
// UTIL.MsgE("컨베이어 사용시에는 포트(L/R)을 사용할 수 없습니다");
|
||||
// return;
|
||||
// }
|
||||
//}
|
||||
|
||||
var ChangeL = dummySetting.Disable_Left != AR.SETTING.Data.Disable_Left;
|
||||
var ChangeR = dummySetting.Disable_Right != AR.SETTING.Data.Disable_Right;
|
||||
if (ChangeL || ChangeR)
|
||||
{
|
||||
UTIL.MsgI("좌/우 사용 옵션은 작업을 다시 시작해야 적용 됩니다");
|
||||
}
|
||||
|
||||
this.Invalidate();
|
||||
var chTable = PUB.userList.GetChanges();
|
||||
if (chTable != null)
|
||||
{
|
||||
string fn = AppDomain.CurrentDomain.BaseDirectory + "users.xml";
|
||||
PUB.userList.WriteXml(fn, true);
|
||||
PUB.userList.AcceptChanges();
|
||||
}
|
||||
|
||||
bsRecipient.EndEdit();
|
||||
this.Validate();
|
||||
var recpTable = PUB.mailList.GetChanges();
|
||||
if (recpTable != null)
|
||||
{
|
||||
string fn = AppDomain.CurrentDomain.BaseDirectory + "mailList.xml";
|
||||
|
||||
PUB.mailList.WriteXml(fn, true);
|
||||
PUB.mailList.AcceptChanges();
|
||||
}
|
||||
bsMailForm.EndEdit();
|
||||
var formTable = PUB.mailForm.GetChanges();
|
||||
if (formTable != null)
|
||||
{
|
||||
string fn = AppDomain.CurrentDomain.BaseDirectory + "mailForm.xml";
|
||||
PUB.mailForm.WriteXml(fn, true);
|
||||
PUB.mailForm.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
dummySetting.CopyTo(SETTING.Data);
|
||||
SETTING.Save();
|
||||
PUB.log.AddI("Setting Save");
|
||||
PUB.log.Add(SETTING.Data.ToString());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
PUB.log.AddE("Setting Save Error:" + ex.Message);
|
||||
UTIL.MsgE("Error\n" + ex.Message + "\n\n다시 시도하세요");
|
||||
}
|
||||
|
||||
//PUB.flag.set(eVarBool.TestRun, btLoaderDetect.BackColor == Color.Lime);
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
private void button6_Click(object sender, EventArgs e)
|
||||
{
|
||||
dummySetting.Disable_Buzzer = !dummySetting.Disable_Buzzer;
|
||||
btBuz.BackColor = dummySetting.Disable_Buzzer ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var langfile = Lang.FileName;
|
||||
Lang.CreateFile();
|
||||
UTIL.MsgI("다음 파일이 생성되었습니다.\n\n" + langfile);
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
var langfile = Lang.FileName;
|
||||
if (System.IO.File.Exists(langfile) == false)
|
||||
{
|
||||
UTIL.MsgE("언어파일이 없습니다\n" + langfile);
|
||||
return;
|
||||
}
|
||||
var ini = new arUtil.INIHelper();
|
||||
ini.Load(langfile);
|
||||
this.dataSet1.language.Clear();
|
||||
foreach (var item in ini.GetItemList("lang").OrderBy(t => t.Key))
|
||||
{
|
||||
this.dataSet1.language.Rows.Add(new string[] {
|
||||
"lang",
|
||||
item.Key,
|
||||
item.Value.Replace("\n","\\n"),
|
||||
});
|
||||
}
|
||||
this.dataSet1.language.AcceptChanges();
|
||||
}
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
var file = Lang.FileName;
|
||||
var ini = new arUtil.INIHelper(file);
|
||||
this.bsLang.EndEdit();
|
||||
this.dataSet1.language.AcceptChanges();
|
||||
foreach (DataSet1.languageRow dr in dataSet1.language.Rows)
|
||||
{
|
||||
if (dr.Key == "") continue;
|
||||
ini.set_Data("lang", dr.Key, dr.Value);
|
||||
}
|
||||
ini.Flush();
|
||||
UTIL.MsgE("다음 파일에 저장되었습니다.\n\n" + file);
|
||||
}
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
//적용
|
||||
var file = new System.IO.FileInfo(Lang.FileName);
|
||||
var langname = file.Name.Replace(file.Extension, "");
|
||||
|
||||
Lang.Loading(langname);
|
||||
}
|
||||
|
||||
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.tabControl1.SelectedIndex == 2)
|
||||
{
|
||||
if (this.dataSet1.language.Rows.Count < 1)
|
||||
toolStripButton3.PerformClick();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btTWLamp_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_TowerLamp = !dummySetting.Disable_TowerLamp;
|
||||
but.BackColor = dummySetting.Disable_TowerLamp ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void button2_Click_2(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_RoomLight = !dummySetting.Disable_RoomLight;
|
||||
but.BackColor = dummySetting.Disable_RoomLight == true ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button4_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_SidQtyCheck = !dummySetting.Disable_SidQtyCheck;
|
||||
but.BackColor = dummySetting.Disable_SidQtyCheck == true ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
private void button2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_safty_R0 = !dummySetting.Disable_safty_R0;
|
||||
but.BackColor = dummySetting.Disable_safty_R0 ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
|
||||
private void button4_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_safty_R1 = !dummySetting.Disable_safty_R1;
|
||||
but.BackColor = dummySetting.Disable_safty_R1 ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btSafetyP3_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_safty_R2 = !dummySetting.Disable_safty_R2;
|
||||
but.BackColor = dummySetting.Disable_safty_R2 ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btSafetyCvIn_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_safty_F0 = !dummySetting.Disable_safty_F0;
|
||||
but.BackColor = dummySetting.Disable_safty_F0 ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btSafetyCvOut_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_safty_F1 = !dummySetting.Disable_safty_F1;
|
||||
but.BackColor = dummySetting.Disable_safty_F1 ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btLoaderDetect_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_safty_F2 = !dummySetting.Disable_safty_F2;
|
||||
but.BackColor = dummySetting.Disable_safty_F2 ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btLeftVac_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PLVac = !dummySetting.Disable_PLVac;
|
||||
but.BackColor = dummySetting.Disable_PLVac ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btRightVac_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PRVac = !dummySetting.Disable_PRVac;
|
||||
but.BackColor = dummySetting.Disable_PRVac ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btPickerVac_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PKVac = !dummySetting.Disable_PKVac;
|
||||
but.BackColor = dummySetting.Disable_PKVac ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btPort0_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PortL = !dummySetting.Disable_PortL;
|
||||
but.BackColor = dummySetting.Disable_PortL ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btPort1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PortC = !dummySetting.Disable_PortC;
|
||||
but.BackColor = dummySetting.Disable_PortC ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btPort2_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PortR = !dummySetting.Disable_PortR;
|
||||
but.BackColor = dummySetting.Disable_PortR ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button4_Click_2(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PrinterL = !dummySetting.Disable_PrinterL;
|
||||
but.BackColor = dummySetting.Disable_PrinterL ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PrinterR = !dummySetting.Disable_PrinterR;
|
||||
but.BackColor = dummySetting.Disable_PrinterR ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Enable_Unloader_QRValidation = !dummySetting.Enable_Unloader_QRValidation;
|
||||
but.BackColor = dummySetting.Enable_Unloader_QRValidation == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button6_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
//카트감지l
|
||||
var but = sender as Button;
|
||||
dummySetting.Detect_CartL = !dummySetting.Detect_CartL;
|
||||
but.BackColor = dummySetting.Detect_CartL == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button7_Click(object sender, EventArgs e)
|
||||
{
|
||||
//카드감지c
|
||||
var but = sender as Button;
|
||||
dummySetting.Detect_CartC = !dummySetting.Detect_CartC;
|
||||
but.BackColor = dummySetting.Detect_CartC == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button5_Click(object sender, EventArgs e)
|
||||
{
|
||||
//카트감지r
|
||||
var but = sender as Button;
|
||||
dummySetting.Detect_CartR = !dummySetting.Detect_CartR;
|
||||
but.BackColor = dummySetting.Detect_CartR == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button7_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Enable_Magnet0 = !dummySetting.Enable_Magnet0;
|
||||
but.BackColor = dummySetting.Enable_Magnet0 == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button6_Click_2(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Enable_Magnet1 = !dummySetting.Enable_Magnet1;
|
||||
but.BackColor = dummySetting.Enable_Magnet1 == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button5_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Enable_Magnet2 = !dummySetting.Enable_Magnet2;
|
||||
but.BackColor = dummySetting.Enable_Magnet2 == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btDetectPrintL_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Detect_PrintL = !dummySetting.Detect_PrintL;
|
||||
but.BackColor = dummySetting.Detect_PrintL == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void btDetectPrintR_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Detect_PrintR = !dummySetting.Detect_PrintR;
|
||||
but.BackColor = dummySetting.Detect_PrintR == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button5_Click_2(object sender, EventArgs e)
|
||||
{
|
||||
//기능-좌
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_Left = !dummySetting.Disable_Left;
|
||||
but.BackColor = dummySetting.Disable_Left == true ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button6_Click_3(object sender, EventArgs e)
|
||||
{
|
||||
//기능-우
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_Right = !dummySetting.Disable_Right;
|
||||
but.BackColor = dummySetting.Disable_Right == true ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void button4_Click_3(object sender, EventArgs e)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(AR.SETTING.Data.baseZPLFile);
|
||||
if (fi.Exists == false)
|
||||
{
|
||||
System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default);
|
||||
UTIL.MsgI("ZPL파일을 신규 생성 했습니다\n" + fi.FullName);
|
||||
}
|
||||
var f = new Dialog.fZPLEditor(fi.FullName);
|
||||
f.ShowDialog();
|
||||
//Util.RunExplorer(fi.FullName);
|
||||
}
|
||||
|
||||
|
||||
private void button11_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var f = new fSetting_ErrorMessage())
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void button12_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var f = new fSetting_IOMessage())
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void button13_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PLAir = !dummySetting.Disable_PLAir;
|
||||
but.BackColor = dummySetting.Disable_PLAir ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button14_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Disable_PRAir = !dummySetting.Disable_PRAir;
|
||||
but.BackColor = dummySetting.Disable_PRAir ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button10_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Force_JobEndBuzzer = !dummySetting.Force_JobEndBuzzer;
|
||||
but.BackColor = dummySetting.Force_JobEndBuzzer ? Color.Gold : SystemColors.Control;
|
||||
}
|
||||
|
||||
private void button7_Click_2(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.Enable_PickerCylinder = !dummySetting.Enable_PickerCylinder;
|
||||
but.BackColor = dummySetting.Enable_PickerCylinder == false ? Color.Tomato : Color.Lime;
|
||||
}
|
||||
|
||||
private void button8_Click(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
dummySetting.SystemBypass = !dummySetting.SystemBypass;
|
||||
but.BackColor = dummySetting.SystemBypass ? Color.DarkBlue : Color.Transparent;
|
||||
but.ForeColor = dummySetting.SystemBypass ? Color.White : Color.Black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1985
Handler/Project/Setting/fSetting.resx
Normal file
1985
Handler/Project/Setting/fSetting.resx
Normal file
File diff suppressed because it is too large
Load Diff
276
Handler/Project/Setting/fSetting_ErrorMessage.Designer.cs
generated
Normal file
276
Handler/Project/Setting/fSetting_ErrorMessage.Designer.cs
generated
Normal file
@@ -0,0 +1,276 @@
|
||||
namespace Project
|
||||
{
|
||||
partial class fSetting_ErrorMessage
|
||||
{
|
||||
/// <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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.bsError = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dataSet1 = new Project.DataSet1();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bsI = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bsO = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
|
||||
this.dv1 = new arCtl.arDatagridView();
|
||||
this.idxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Shorts = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
this.descriptionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.exportCSVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsError)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsI)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsO)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bsError
|
||||
//
|
||||
this.bsError.DataMember = "ErrorDescription";
|
||||
this.bsError.DataSource = this.dataSet1;
|
||||
//
|
||||
// dataSet1
|
||||
//
|
||||
this.dataSet1.DataSetName = "DataSet1";
|
||||
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton2,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripButton3});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 822);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1084, 39);
|
||||
this.toolStrip1.TabIndex = 1;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = global::Project.Properties.Resources.icons8_repeat_40;
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(119, 36);
|
||||
this.toolStripButton1.Text = "다시 생성하기";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton2.Image = global::Project.Properties.Resources.icons8_save_close_40;
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(82, 36);
|
||||
this.toolStripButton2.Text = "저장(&S)";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39);
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
this.toolStripButton3.Image = global::Project.Properties.Resources.icons8_resize_horizontal_40;
|
||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton3.Name = "toolStripButton3";
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(103, 36);
|
||||
this.toolStripButton3.Text = "열너비조정";
|
||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
|
||||
//
|
||||
// bsI
|
||||
//
|
||||
this.bsI.DataMember = "InputDescription";
|
||||
this.bsI.DataSource = this.dataSet1;
|
||||
//
|
||||
// bsO
|
||||
//
|
||||
this.bsO.DataMember = "OutputDescription";
|
||||
this.bsO.DataSource = this.dataSet1;
|
||||
//
|
||||
// errorProvider1
|
||||
//
|
||||
this.errorProvider1.ContainerControl = this;
|
||||
//
|
||||
// dv1
|
||||
//
|
||||
this.dv1.A_DelCurrentCell = true;
|
||||
this.dv1.A_EnterToTab = true;
|
||||
this.dv1.A_KoreanField = null;
|
||||
this.dv1.A_UpperField = null;
|
||||
this.dv1.A_ViewRownumOnHeader = false;
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AutoGenerateColumns = false;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.idxDataGridViewTextBoxColumn,
|
||||
this.titleDataGridViewTextBoxColumn,
|
||||
this.Shorts,
|
||||
this.descriptionDataGridViewTextBoxColumn});
|
||||
this.dv1.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.dv1.DataSource = this.bsError;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dv1.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dv1.Name = "dv1";
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.Size = new System.Drawing.Size(1084, 822);
|
||||
this.dv1.TabIndex = 0;
|
||||
this.dv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.arDatagridView1_CellContentClick);
|
||||
//
|
||||
// idxDataGridViewTextBoxColumn
|
||||
//
|
||||
this.idxDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.idxDataGridViewTextBoxColumn.DataPropertyName = "Idx";
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
this.idxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.idxDataGridViewTextBoxColumn.HeaderText = "Code";
|
||||
this.idxDataGridViewTextBoxColumn.Name = "idxDataGridViewTextBoxColumn";
|
||||
this.idxDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
this.idxDataGridViewTextBoxColumn.Width = 70;
|
||||
//
|
||||
// titleDataGridViewTextBoxColumn
|
||||
//
|
||||
this.titleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.titleDataGridViewTextBoxColumn.DataPropertyName = "Title";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
this.titleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.titleDataGridViewTextBoxColumn.HeaderText = "CodeName";
|
||||
this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn";
|
||||
this.titleDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
this.titleDataGridViewTextBoxColumn.Width = 110;
|
||||
//
|
||||
// Shorts
|
||||
//
|
||||
this.Shorts.DataPropertyName = "Shorts";
|
||||
this.Shorts.HeaderText = "오류설명";
|
||||
this.Shorts.Name = "Shorts";
|
||||
this.Shorts.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Shorts.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.Shorts.Visible = false;
|
||||
this.Shorts.Width = 94;
|
||||
//
|
||||
// descriptionDataGridViewTextBoxColumn
|
||||
//
|
||||
this.descriptionDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.descriptionDataGridViewTextBoxColumn.DataPropertyName = "Description";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.descriptionDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.descriptionDataGridViewTextBoxColumn.HeaderText = "확인/조치사항";
|
||||
this.descriptionDataGridViewTextBoxColumn.Name = "descriptionDataGridViewTextBoxColumn";
|
||||
this.descriptionDataGridViewTextBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.descriptionDataGridViewTextBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.exportCSVToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(136, 26);
|
||||
//
|
||||
// exportCSVToolStripMenuItem
|
||||
//
|
||||
this.exportCSVToolStripMenuItem.Name = "exportCSVToolStripMenuItem";
|
||||
this.exportCSVToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
|
||||
this.exportCSVToolStripMenuItem.Text = "Export CSV";
|
||||
this.exportCSVToolStripMenuItem.Click += new System.EventHandler(this.exportCSVToolStripMenuItem_Click);
|
||||
//
|
||||
// fSetting_ErrorMessage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1084, 861);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.KeyPreview = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.Name = "fSetting_ErrorMessage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "오류메세지 정의";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsError)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsI)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsO)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DataSet1 dataSet1;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.ErrorProvider errorProvider1;
|
||||
private arCtl.arDatagridView dv1;
|
||||
private System.Windows.Forms.BindingSource bsError;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.BindingSource bsI;
|
||||
private System.Windows.Forms.BindingSource bsO;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn Shorts;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn descriptionDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportCSVToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
222
Handler/Project/Setting/fSetting_ErrorMessage.cs
Normal file
222
Handler/Project/Setting/fSetting_ErrorMessage.cs
Normal file
@@ -0,0 +1,222 @@
|
||||
using AR;
|
||||
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 fSetting_ErrorMessage : Form
|
||||
{
|
||||
|
||||
public fSetting_ErrorMessage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape)
|
||||
this.Close();
|
||||
if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now;
|
||||
};
|
||||
this.MouseMove += (s1, e1) => { if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now; };
|
||||
this.FormClosing += FSetting_ErrorMessage_FormClosing;
|
||||
}
|
||||
|
||||
private void FSetting_ErrorMessage_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
this.bsError.EndEdit();
|
||||
this.Validate();
|
||||
var chgs = this.dataSet1.ErrorDescription.GetChanges();
|
||||
if (chgs != null && chgs.Rows.Count > 0)
|
||||
{
|
||||
if (UTIL.MsgQ("변경된 사항이 있습니다. 지금 닫으면 해당 내용이 손실됩니다. 화면을 닫을까요?") != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
this.dv1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.dv1.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells;
|
||||
|
||||
RefreshError();
|
||||
}
|
||||
|
||||
void RefreshError()
|
||||
{
|
||||
this.dataSet1.ErrorDescription.Clear();
|
||||
this.dataSet1.ErrorDescription.Merge(PUB.mdm.dataSet.ErrorDescription);
|
||||
this.dataSet1.AcceptChanges();
|
||||
|
||||
//자료를 업데이트해준다.
|
||||
var ecodelist = Enum.GetValues(typeof(eECode));
|
||||
for (short valueI = 0; valueI < 255; valueI++)
|
||||
{
|
||||
eECode valu = (eECode)valueI;
|
||||
//short valueI = (short)valu;
|
||||
|
||||
var dr = this.dataSet1.ErrorDescription.Where(t => t.Idx == valueI).FirstOrDefault();
|
||||
if (dr == null)
|
||||
{
|
||||
//이 값이 없는경우에는 추가하지 않는다
|
||||
if (valu.ToString() == valueI.ToString())
|
||||
{
|
||||
//두 이름이 같다면 존재하는 코드 값이다
|
||||
}
|
||||
else
|
||||
{
|
||||
var newdr = dataSet1.ErrorDescription.NewErrorDescriptionRow();
|
||||
newdr.Idx = valueI;
|
||||
newdr.Title = valu.ToString();
|
||||
newdr.EndEdit();
|
||||
this.dataSet1.ErrorDescription.AddErrorDescriptionRow(newdr);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (valu.ToString() == valueI.ToString())
|
||||
{
|
||||
//해당 값이 업어졌다
|
||||
dr.Title = "n/a";
|
||||
dr.EndEdit();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dr.Title.Equals(valu.ToString()) == false)
|
||||
{
|
||||
dr.Title = valu.ToString();
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
this.dataSet1.AcceptChanges();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//다시생성한다.
|
||||
this.dataSet1.ErrorDescription.Clear();
|
||||
this.dataSet1.ErrorDescription.AcceptChanges();
|
||||
|
||||
var db = PUB.mdm.dataSet.ErrorDescription;
|
||||
|
||||
//자료를 업데이트해준다.
|
||||
var ecodelist = Enum.GetValues(typeof(eECode));
|
||||
for (short valueI = 0; valueI < 255; valueI++)
|
||||
{
|
||||
eECode valu = (eECode)valueI;
|
||||
|
||||
//변환된 이름과 숫자이름이 같다면 enum 에 정의되지 않은 데이터이다.
|
||||
if(valu.ToString().Equals(valueI.ToString()))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
//같은 이름으로 데이터를 검색
|
||||
var drT = db.Where(t => t.Title == valu.ToString()).FirstOrDefault();
|
||||
if(drT != null)
|
||||
{
|
||||
var newdr = dataSet1.ErrorDescription.NewErrorDescriptionRow();
|
||||
newdr.Idx = valueI;
|
||||
newdr.Title = valu.ToString();
|
||||
newdr.Description = drT.Description;
|
||||
this.dataSet1.ErrorDescription.AddErrorDescriptionRow(newdr);
|
||||
}
|
||||
else
|
||||
{
|
||||
//같은버호로 찾는다
|
||||
var drN = this.dataSet1.ErrorDescription.Where(t => t.Idx == valueI).FirstOrDefault();
|
||||
if(drN != null)
|
||||
{
|
||||
var newdr = dataSet1.ErrorDescription.NewErrorDescriptionRow();
|
||||
newdr.Idx = valueI;
|
||||
newdr.Title = valu.ToString();
|
||||
newdr.Description = drN.Description;
|
||||
this.dataSet1.ErrorDescription.AddErrorDescriptionRow(newdr);
|
||||
}
|
||||
else
|
||||
{
|
||||
//번호도 타이틀도 없다
|
||||
var newdr = dataSet1.ErrorDescription.NewErrorDescriptionRow();
|
||||
newdr.Idx = valueI;
|
||||
newdr.Title = valu.ToString();
|
||||
newdr.EndEdit();
|
||||
this.dataSet1.ErrorDescription.AddErrorDescriptionRow(newdr);
|
||||
}
|
||||
}
|
||||
}
|
||||
this.dataSet1.AcceptChanges();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void arDatagridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.RowIndex < 0) return;
|
||||
if (e.ColumnIndex == 2 || e.ColumnIndex == 3)
|
||||
{
|
||||
var dv = sender as DataGridView;
|
||||
var str = string.Empty;
|
||||
var cell = dv.Rows[e.RowIndex].Cells[e.ColumnIndex];
|
||||
if (cell != null && cell.Value != null) str = cell.Value.ToString();
|
||||
var f = new Dialog.fMessageInput(str);
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
cell.Value = f.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
this.bsError.EndEdit();
|
||||
this.Validate();
|
||||
|
||||
this.dataSet1.AcceptChanges();
|
||||
|
||||
PUB.mdm.dataSet.ErrorDescription.Clear();
|
||||
PUB.mdm.dataSet.Merge(this.dataSet1.ErrorDescription);
|
||||
PUB.mdm.dataSet.AcceptChanges();
|
||||
PUB.mdm.SaveModelE();
|
||||
|
||||
UTIL.MsgI("저장 완료");
|
||||
|
||||
//DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void exportCSVToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var sd = new SaveFileDialog();
|
||||
sd.Filter = "탭으로 분리된 텍스트 파일(*.txt)|*.txt";
|
||||
if (sd.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
var sb = new System.Text.StringBuilder();
|
||||
foreach (var dr in dataSet1.ErrorDescription.Select("","idx"))
|
||||
{
|
||||
var desc = dr["Description"].ToString();
|
||||
desc = desc.Replace("\r", "").Replace("\n", "");
|
||||
sb.AppendLine($"{dr["Idx"].ToString()}\t{dr["Title"].ToString()}\t{desc}");
|
||||
}
|
||||
System.IO.File.WriteAllText(sd.FileName, sb.ToString(), System.Text.Encoding.Default);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
147
Handler/Project/Setting/fSetting_ErrorMessage.resx
Normal file
147
Handler/Project/Setting/fSetting_ErrorMessage.resx
Normal file
@@ -0,0 +1,147 @@
|
||||
<?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="bsError.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>346, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>437, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsI.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>543, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsO.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>611, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>117, 17</value>
|
||||
</metadata>
|
||||
<metadata name="errorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>214, 17</value>
|
||||
</metadata>
|
||||
<metadata name="Shorts.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>685, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
653
Handler/Project/Setting/fSetting_IOMessage.Designer.cs
generated
Normal file
653
Handler/Project/Setting/fSetting_IOMessage.Designer.cs
generated
Normal file
@@ -0,0 +1,653 @@
|
||||
namespace Project
|
||||
{
|
||||
partial class fSetting_IOMessage
|
||||
{
|
||||
/// <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();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSetting_IOMessage));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.bsError = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dataSet1 = new Project.DataSet1();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.inputDescriptionDataGridView = new arCtl.arDatagridView();
|
||||
this.bsI = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.outputDescriptionDataGridView = new arCtl.arDatagridView();
|
||||
this.bsO = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bindingNavigator2 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorCountItem1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem1 = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.TerminalNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Invert = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.dataGridViewButtonColumn1 = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsError)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.inputDescriptionDataGridView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsI)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
|
||||
this.bindingNavigator1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.outputDescriptionDataGridView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsO)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator2)).BeginInit();
|
||||
this.bindingNavigator2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bsError
|
||||
//
|
||||
this.bsError.DataMember = "ErrorDescription";
|
||||
this.bsError.DataSource = this.dataSet1;
|
||||
//
|
||||
// dataSet1
|
||||
//
|
||||
this.dataSet1.DataSetName = "DataSet1";
|
||||
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 1;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.panel3, 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, 50F));
|
||||
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.Size = new System.Drawing.Size(1084, 822);
|
||||
this.tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.AutoScroll = true;
|
||||
this.panel2.Controls.Add(this.inputDescriptionDataGridView);
|
||||
this.panel2.Controls.Add(this.bindingNavigator1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(3, 3);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1078, 405);
|
||||
this.panel2.TabIndex = 0;
|
||||
//
|
||||
// inputDescriptionDataGridView
|
||||
//
|
||||
this.inputDescriptionDataGridView.A_DelCurrentCell = true;
|
||||
this.inputDescriptionDataGridView.A_EnterToTab = true;
|
||||
this.inputDescriptionDataGridView.A_KoreanField = null;
|
||||
this.inputDescriptionDataGridView.A_UpperField = null;
|
||||
this.inputDescriptionDataGridView.A_ViewRownumOnHeader = false;
|
||||
this.inputDescriptionDataGridView.AllowUserToAddRows = false;
|
||||
this.inputDescriptionDataGridView.AutoGenerateColumns = false;
|
||||
this.inputDescriptionDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.inputDescriptionDataGridView.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.inputDescriptionDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.inputDescriptionDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.TerminalNo,
|
||||
this.Invert,
|
||||
this.dataGridViewTextBoxColumn3});
|
||||
this.inputDescriptionDataGridView.DataSource = this.bsI;
|
||||
this.inputDescriptionDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.inputDescriptionDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||
this.inputDescriptionDataGridView.Name = "inputDescriptionDataGridView";
|
||||
this.inputDescriptionDataGridView.RowTemplate.Height = 23;
|
||||
this.inputDescriptionDataGridView.Size = new System.Drawing.Size(1078, 380);
|
||||
this.inputDescriptionDataGridView.TabIndex = 0;
|
||||
this.inputDescriptionDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.inputDescriptionDataGridView_CellContentClick);
|
||||
//
|
||||
// bsI
|
||||
//
|
||||
this.bsI.DataMember = "InputDescription";
|
||||
this.bsI.DataSource = this.dataSet1;
|
||||
//
|
||||
// bindingNavigator1
|
||||
//
|
||||
this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bindingNavigator1.BindingSource = this.bsI;
|
||||
this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem});
|
||||
this.bindingNavigator1.Location = new System.Drawing.Point(0, 380);
|
||||
this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bindingNavigator1.Name = "bindingNavigator1";
|
||||
this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bindingNavigator1.Size = new System.Drawing.Size(1078, 25);
|
||||
this.bindingNavigator1.TabIndex = 1;
|
||||
this.bindingNavigator1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.AutoScroll = true;
|
||||
this.panel3.Controls.Add(this.outputDescriptionDataGridView);
|
||||
this.panel3.Controls.Add(this.bindingNavigator2);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(3, 414);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(1078, 405);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// outputDescriptionDataGridView
|
||||
//
|
||||
this.outputDescriptionDataGridView.A_DelCurrentCell = true;
|
||||
this.outputDescriptionDataGridView.A_EnterToTab = true;
|
||||
this.outputDescriptionDataGridView.A_KoreanField = null;
|
||||
this.outputDescriptionDataGridView.A_UpperField = null;
|
||||
this.outputDescriptionDataGridView.A_ViewRownumOnHeader = false;
|
||||
this.outputDescriptionDataGridView.AllowUserToAddRows = false;
|
||||
this.outputDescriptionDataGridView.AutoGenerateColumns = false;
|
||||
this.outputDescriptionDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.outputDescriptionDataGridView.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
|
||||
this.outputDescriptionDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.outputDescriptionDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.dataGridViewCheckBoxColumn1,
|
||||
this.dataGridViewButtonColumn1});
|
||||
this.outputDescriptionDataGridView.DataSource = this.bsO;
|
||||
this.outputDescriptionDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.outputDescriptionDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||
this.outputDescriptionDataGridView.Name = "outputDescriptionDataGridView";
|
||||
this.outputDescriptionDataGridView.RowTemplate.Height = 23;
|
||||
this.outputDescriptionDataGridView.Size = new System.Drawing.Size(1078, 380);
|
||||
this.outputDescriptionDataGridView.TabIndex = 0;
|
||||
this.outputDescriptionDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.inputDescriptionDataGridView_CellContentClick);
|
||||
//
|
||||
// bsO
|
||||
//
|
||||
this.bsO.DataMember = "OutputDescription";
|
||||
this.bsO.DataSource = this.dataSet1;
|
||||
//
|
||||
// bindingNavigator2
|
||||
//
|
||||
this.bindingNavigator2.AddNewItem = this.bindingNavigatorAddNewItem1;
|
||||
this.bindingNavigator2.BindingSource = this.bsO;
|
||||
this.bindingNavigator2.CountItem = this.bindingNavigatorCountItem1;
|
||||
this.bindingNavigator2.DeleteItem = this.bindingNavigatorDeleteItem1;
|
||||
this.bindingNavigator2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bindingNavigator2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem1,
|
||||
this.bindingNavigatorMovePreviousItem1,
|
||||
this.bindingNavigatorSeparator3,
|
||||
this.bindingNavigatorPositionItem1,
|
||||
this.bindingNavigatorCountItem1,
|
||||
this.bindingNavigatorSeparator4,
|
||||
this.bindingNavigatorMoveNextItem1,
|
||||
this.bindingNavigatorMoveLastItem1,
|
||||
this.bindingNavigatorSeparator5,
|
||||
this.bindingNavigatorAddNewItem1,
|
||||
this.bindingNavigatorDeleteItem1});
|
||||
this.bindingNavigator2.Location = new System.Drawing.Point(0, 380);
|
||||
this.bindingNavigator2.MoveFirstItem = this.bindingNavigatorMoveFirstItem1;
|
||||
this.bindingNavigator2.MoveLastItem = this.bindingNavigatorMoveLastItem1;
|
||||
this.bindingNavigator2.MoveNextItem = this.bindingNavigatorMoveNextItem1;
|
||||
this.bindingNavigator2.MovePreviousItem = this.bindingNavigatorMovePreviousItem1;
|
||||
this.bindingNavigator2.Name = "bindingNavigator2";
|
||||
this.bindingNavigator2.PositionItem = this.bindingNavigatorPositionItem1;
|
||||
this.bindingNavigator2.Size = new System.Drawing.Size(1078, 25);
|
||||
this.bindingNavigator2.TabIndex = 1;
|
||||
this.bindingNavigator2.Text = "bindingNavigator2";
|
||||
//
|
||||
// bindingNavigatorAddNewItem1
|
||||
//
|
||||
this.bindingNavigatorAddNewItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorAddNewItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem1.Image")));
|
||||
this.bindingNavigatorAddNewItem1.Name = "bindingNavigatorAddNewItem1";
|
||||
this.bindingNavigatorAddNewItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem1.Text = "새로 추가";
|
||||
//
|
||||
// bindingNavigatorCountItem1
|
||||
//
|
||||
this.bindingNavigatorCountItem1.Name = "bindingNavigatorCountItem1";
|
||||
this.bindingNavigatorCountItem1.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem1.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem1.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem1
|
||||
//
|
||||
this.bindingNavigatorDeleteItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorDeleteItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem1.Image")));
|
||||
this.bindingNavigatorDeleteItem1.Name = "bindingNavigatorDeleteItem1";
|
||||
this.bindingNavigatorDeleteItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorDeleteItem1.Text = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem1
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem1.Image")));
|
||||
this.bindingNavigatorMoveFirstItem1.Name = "bindingNavigatorMoveFirstItem1";
|
||||
this.bindingNavigatorMoveFirstItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem1.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem1
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem1.Image")));
|
||||
this.bindingNavigatorMovePreviousItem1.Name = "bindingNavigatorMovePreviousItem1";
|
||||
this.bindingNavigatorMovePreviousItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem1.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator3
|
||||
//
|
||||
this.bindingNavigatorSeparator3.Name = "bindingNavigatorSeparator3";
|
||||
this.bindingNavigatorSeparator3.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem1
|
||||
//
|
||||
this.bindingNavigatorPositionItem1.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem1.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem1.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1";
|
||||
this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem1.Text = "0";
|
||||
this.bindingNavigatorPositionItem1.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator4
|
||||
//
|
||||
this.bindingNavigatorSeparator4.Name = "bindingNavigatorSeparator4";
|
||||
this.bindingNavigatorSeparator4.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem1
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem1.Image")));
|
||||
this.bindingNavigatorMoveNextItem1.Name = "bindingNavigatorMoveNextItem1";
|
||||
this.bindingNavigatorMoveNextItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem1.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem1
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem1.Image")));
|
||||
this.bindingNavigatorMoveLastItem1.Name = "bindingNavigatorMoveLastItem1";
|
||||
this.bindingNavigatorMoveLastItem1.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem1.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem1.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator5
|
||||
//
|
||||
this.bindingNavigatorSeparator5.Name = "bindingNavigatorSeparator5";
|
||||
this.bindingNavigatorSeparator5.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// errorProvider1
|
||||
//
|
||||
this.errorProvider1.ContainerControl = this;
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton3});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 822);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1084, 39);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = global::Project.Properties.Resources.icons8_repeat_40;
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(119, 36);
|
||||
this.toolStripButton1.Text = "다시 불러오기";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
this.toolStripButton3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton3.Image = global::Project.Properties.Resources.icons8_save_close_40;
|
||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton3.Name = "toolStripButton3";
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(82, 36);
|
||||
this.toolStripButton3.Text = "저장(&S)";
|
||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click_1);
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "Idx";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "No";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.Width = 54;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "Title";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "핀 이름";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.Width = 84;
|
||||
//
|
||||
// TerminalNo
|
||||
//
|
||||
this.TerminalNo.DataPropertyName = "TerminalNo";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.TerminalNo.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.TerminalNo.HeaderText = "터미널번호";
|
||||
this.TerminalNo.Name = "TerminalNo";
|
||||
this.TerminalNo.Width = 109;
|
||||
//
|
||||
// Invert
|
||||
//
|
||||
this.Invert.DataPropertyName = "Invert";
|
||||
this.Invert.HeaderText = "Invert";
|
||||
this.Invert.Name = "Invert";
|
||||
this.Invert.Width = 53;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "Description";
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "핀 설명";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewTextBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "Idx";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "No";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.Width = 54;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "Title";
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "핀 이름";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.Width = 84;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "TerminalNo";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "터미널번호";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.Width = 109;
|
||||
//
|
||||
// dataGridViewCheckBoxColumn1
|
||||
//
|
||||
this.dataGridViewCheckBoxColumn1.DataPropertyName = "Invert";
|
||||
this.dataGridViewCheckBoxColumn1.HeaderText = "Invert";
|
||||
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
|
||||
this.dataGridViewCheckBoxColumn1.Width = 53;
|
||||
//
|
||||
// dataGridViewButtonColumn1
|
||||
//
|
||||
this.dataGridViewButtonColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewButtonColumn1.DataPropertyName = "Description";
|
||||
this.dataGridViewButtonColumn1.HeaderText = "핀 설명";
|
||||
this.dataGridViewButtonColumn1.Name = "dataGridViewButtonColumn1";
|
||||
this.dataGridViewButtonColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewButtonColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// fSetting_IOMessage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1084, 861);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.KeyPreview = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.Name = "fSetting_IOMessage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "I/O 설명 정의";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsError)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.inputDescriptionDataGridView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsI)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
|
||||
this.bindingNavigator1.ResumeLayout(false);
|
||||
this.bindingNavigator1.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.outputDescriptionDataGridView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsO)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator2)).EndInit();
|
||||
this.bindingNavigator2.ResumeLayout(false);
|
||||
this.bindingNavigator2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DataSet1 dataSet1;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.ErrorProvider errorProvider1;
|
||||
private System.Windows.Forms.BindingSource bsError;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.BindingSource bsI;
|
||||
private System.Windows.Forms.BindingSource bsO;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private arCtl.arDatagridView inputDescriptionDataGridView;
|
||||
private System.Windows.Forms.BindingNavigator bindingNavigator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private arCtl.arDatagridView outputDescriptionDataGridView;
|
||||
private System.Windows.Forms.BindingNavigator bindingNavigator2;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem1;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem1;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator3;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem1;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator4;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem1;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator5;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn TerminalNo;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn Invert;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn dataGridViewTextBoxColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn dataGridViewButtonColumn1;
|
||||
}
|
||||
}
|
||||
187
Handler/Project/Setting/fSetting_IOMessage.cs
Normal file
187
Handler/Project/Setting/fSetting_IOMessage.cs
Normal file
@@ -0,0 +1,187 @@
|
||||
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;
|
||||
using AR;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public partial class fSetting_IOMessage : Form
|
||||
{
|
||||
AR.CommonSetting dummySetting; //설정을 임시로 저장하고 있다가 완료시에 덮어준다.
|
||||
|
||||
public fSetting_IOMessage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
//setting
|
||||
dummySetting = new AR.CommonSetting();
|
||||
AR.SETTING.Data.CopyTo(dummySetting);
|
||||
//COMM.SETTING.Data.CopyTo(dummySetting);
|
||||
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape)
|
||||
this.Close();
|
||||
if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now;
|
||||
};
|
||||
this.MouseMove += (s1, e1) => { if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now; };
|
||||
this.FormClosing += FSetting_IOMessage_FormClosing;
|
||||
this.bsI.Sort = "idx";
|
||||
this.bsO.Sort = "idx";
|
||||
}
|
||||
|
||||
private void FSetting_IOMessage_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
this.bsI.EndEdit();
|
||||
this.bsO.EndEdit();
|
||||
this.Validate();
|
||||
|
||||
var chgs1 = this.dataSet1.InputDescription.GetChanges();
|
||||
var chgs2 = this.dataSet1.ErrorDescription.GetChanges();
|
||||
if ((chgs1 != null && chgs1.Rows.Count > 0) || chgs2 != null && chgs2.Rows.Count > 0)
|
||||
{
|
||||
if (UTIL.MsgQ("변경된 사항이 있습니다. 지금 닫으면 해당 내용이 손실됩니다. 화면을 닫을까요?") != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshIn();
|
||||
RefreshOut();
|
||||
}
|
||||
|
||||
void RefreshIn()
|
||||
{
|
||||
this.dataSet1.InputDescription.Clear();
|
||||
this.dataSet1.InputDescription.Merge(PUB.mdm.dataSet.InputDescription);
|
||||
this.dataSet1.InputDescription.AcceptChanges();
|
||||
|
||||
//자료를 업데이트해준다.
|
||||
var ecodelist = Enum.GetValues(typeof(eDIPin));
|
||||
foreach (var item in ecodelist)
|
||||
{
|
||||
var pin = (eDIPin)item;
|
||||
var idx = (int)pin;
|
||||
var name = ((eDIName)idx).ToString();
|
||||
if (Enum.IsDefined(typeof(eDIName), (byte)idx) == false)
|
||||
name = string.Empty;
|
||||
|
||||
var title = $"[X{idx:X2}] {name}";
|
||||
var dr = this.dataSet1.InputDescription.Where(t => t.Idx == idx).FirstOrDefault();
|
||||
if (dr == null)
|
||||
{
|
||||
var newdr = dataSet1.InputDescription.NewInputDescriptionRow();
|
||||
newdr.Name = pin.ToString();
|
||||
newdr.Idx = (short)idx;
|
||||
newdr.Title = title;
|
||||
newdr.EndEdit();
|
||||
this.dataSet1.InputDescription.AddInputDescriptionRow(newdr);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dr.Title.Equals(title) == false)
|
||||
{
|
||||
dr.Title = title;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
}
|
||||
this.dataSet1.InputDescription.AcceptChanges();
|
||||
}
|
||||
|
||||
void RefreshOut()
|
||||
{
|
||||
this.dataSet1.OutputDescription.Clear();
|
||||
this.dataSet1.OutputDescription.Merge(PUB.mdm.dataSet.OutputDescription);
|
||||
this.dataSet1.OutputDescription.AcceptChanges();
|
||||
|
||||
//자료를 업데이트해준다.
|
||||
var ecodelist = Enum.GetValues(typeof(eDOPin));
|
||||
foreach (var item in ecodelist)
|
||||
{
|
||||
var pin = (eDOPin)item;
|
||||
var idx = (int)pin;
|
||||
var name = ((eDOName)idx).ToString();
|
||||
if (Enum.IsDefined(typeof(eDOName), (byte)idx) == false)
|
||||
name = string.Empty;
|
||||
|
||||
var title = $"[Y{idx:X2}] {name}";
|
||||
|
||||
var dr = this.dataSet1.OutputDescription.Where(t => t.Idx == idx).FirstOrDefault();
|
||||
if (dr == null)
|
||||
{
|
||||
var newdr = dataSet1.OutputDescription.NewOutputDescriptionRow();
|
||||
newdr.Name = pin.ToString();
|
||||
newdr.Idx = (short)idx;
|
||||
newdr.Title = title;
|
||||
newdr.EndEdit();
|
||||
this.dataSet1.OutputDescription.AddOutputDescriptionRow(newdr);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dr.Title.Equals(title) == false)
|
||||
{
|
||||
dr.Title = title;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
}
|
||||
this.dataSet1.OutputDescription.AcceptChanges();
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
this.bsI.EndEdit();
|
||||
this.bsO.EndEdit();
|
||||
this.Validate();
|
||||
|
||||
this.dataSet1.AcceptChanges();
|
||||
|
||||
PUB.mdm.dataSet.InputDescription.Clear();
|
||||
PUB.mdm.dataSet.Merge(this.dataSet1.InputDescription);
|
||||
PUB.mdm.dataSet.InputDescription.AcceptChanges();
|
||||
PUB.mdm.SaveModelI();
|
||||
|
||||
PUB.mdm.dataSet.OutputDescription.Clear();
|
||||
PUB.mdm.dataSet.Merge(this.dataSet1.OutputDescription);
|
||||
PUB.mdm.dataSet.OutputDescription.AcceptChanges();
|
||||
PUB.mdm.SaveModelO();
|
||||
|
||||
//핀설정적용 230831
|
||||
DIO.Pin.SetOutputData(PUB.mdm.dataSet.OutputDescription);
|
||||
DIO.Pin.SetInputData(PUB.mdm.dataSet.InputDescription);
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
RefreshIn();
|
||||
RefreshOut();
|
||||
}
|
||||
|
||||
private void inputDescriptionDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex ==4 )
|
||||
{
|
||||
var dv = sender as DataGridView;
|
||||
var str = string.Empty;
|
||||
var cell = dv.Rows[e.RowIndex].Cells[e.ColumnIndex];
|
||||
if (cell != null && cell.Value != null) str = cell.Value.ToString();
|
||||
var f = new Dialog.fMessageInput(str);
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
cell.Value = f.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
288
Handler/Project/Setting/fSetting_IOMessage.resx
Normal file
288
Handler/Project/Setting/fSetting_IOMessage.resx
Normal file
@@ -0,0 +1,288 @@
|
||||
<?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="bsError.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>346, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TerminalNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Invert.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="bsI.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>543, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>1000, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewCheckBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="bsO.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>767, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bindingNavigator2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<data name="bindingNavigatorAddNewItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorDeleteItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>117, 17</value>
|
||||
</metadata>
|
||||
<metadata name="errorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>214, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>173, 56</value>
|
||||
</metadata>
|
||||
</root>
|
||||
431
Handler/Project/Setting/fSystem_MotParameter.Designer.cs
generated
Normal file
431
Handler/Project/Setting/fSystem_MotParameter.Designer.cs
generated
Normal file
@@ -0,0 +1,431 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fSystem_MotParameter
|
||||
{
|
||||
/// <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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSystem_MotParameter));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.motionParamDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dataSet1 = new DSSetup();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.dvc_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.enableDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.useOriginDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.useEStopDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.homeHighDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.homeLowDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.homeAccDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.homeDccDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.MaxSpeed = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.MaxAcc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.sWLimitPDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.InpositionAccr = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.btSet = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.motionParamDataGridView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
|
||||
this.bindingNavigator1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// motionParamDataGridView
|
||||
//
|
||||
this.motionParamDataGridView.AutoGenerateColumns = false;
|
||||
this.motionParamDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.motionParamDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.motionParamDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.motionParamDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dvc_idx,
|
||||
this.dvc_title,
|
||||
this.enableDataGridViewCheckBoxColumn,
|
||||
this.useOriginDataGridViewCheckBoxColumn,
|
||||
this.useEStopDataGridViewCheckBoxColumn,
|
||||
this.homeHighDataGridViewTextBoxColumn,
|
||||
this.homeLowDataGridViewTextBoxColumn,
|
||||
this.homeAccDataGridViewTextBoxColumn,
|
||||
this.homeDccDataGridViewTextBoxColumn,
|
||||
this.MaxSpeed,
|
||||
this.MaxAcc,
|
||||
this.sWLimitPDataGridViewTextBoxColumn,
|
||||
this.InpositionAccr,
|
||||
this.btSet});
|
||||
this.motionParamDataGridView.DataSource = this.bs;
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.motionParamDataGridView.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.motionParamDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.motionParamDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||
this.motionParamDataGridView.Name = "motionParamDataGridView";
|
||||
this.motionParamDataGridView.RowTemplate.Height = 23;
|
||||
this.motionParamDataGridView.Size = new System.Drawing.Size(1007, 584);
|
||||
this.motionParamDataGridView.TabIndex = 2;
|
||||
this.motionParamDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.motionParamDataGridView_CellContentClick);
|
||||
this.motionParamDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.motionParamDataGridView_DataError);
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "MotionParam";
|
||||
this.bs.DataSource = this.dataSet1;
|
||||
//
|
||||
// dataSet1
|
||||
//
|
||||
this.dataSet1.DataSetName = "DataSet1";
|
||||
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
|
||||
//
|
||||
// bindingNavigator1
|
||||
//
|
||||
this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bindingNavigator1.BindingSource = this.bs;
|
||||
this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.toolStripButton1});
|
||||
this.bindingNavigator1.Location = new System.Drawing.Point(0, 559);
|
||||
this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bindingNavigator1.Name = "bindingNavigator1";
|
||||
this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bindingNavigator1.Size = new System.Drawing.Size(1007, 25);
|
||||
this.bindingNavigator1.TabIndex = 4;
|
||||
this.bindingNavigator1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(52, 22);
|
||||
this.toolStripButton1.Text = "Save";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// dvc_idx
|
||||
//
|
||||
this.dvc_idx.DataPropertyName = "idx";
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_idx.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dvc_idx.HeaderText = "축";
|
||||
this.dvc_idx.Name = "dvc_idx";
|
||||
this.dvc_idx.Width = 42;
|
||||
//
|
||||
// dvc_title
|
||||
//
|
||||
this.dvc_title.DataPropertyName = "Title";
|
||||
this.dvc_title.HeaderText = "이름";
|
||||
this.dvc_title.Name = "dvc_title";
|
||||
this.dvc_title.Width = 54;
|
||||
//
|
||||
// enableDataGridViewCheckBoxColumn
|
||||
//
|
||||
this.enableDataGridViewCheckBoxColumn.DataPropertyName = "Enable";
|
||||
this.enableDataGridViewCheckBoxColumn.HeaderText = "사용여부";
|
||||
this.enableDataGridViewCheckBoxColumn.Name = "enableDataGridViewCheckBoxColumn";
|
||||
this.enableDataGridViewCheckBoxColumn.Width = 59;
|
||||
//
|
||||
// useOriginDataGridViewCheckBoxColumn
|
||||
//
|
||||
this.useOriginDataGridViewCheckBoxColumn.DataPropertyName = "UseOrigin";
|
||||
this.useOriginDataGridViewCheckBoxColumn.HeaderText = "원점센서";
|
||||
this.useOriginDataGridViewCheckBoxColumn.Name = "useOriginDataGridViewCheckBoxColumn";
|
||||
this.useOriginDataGridViewCheckBoxColumn.Width = 59;
|
||||
//
|
||||
// useEStopDataGridViewCheckBoxColumn
|
||||
//
|
||||
this.useEStopDataGridViewCheckBoxColumn.DataPropertyName = "UseEStop";
|
||||
this.useEStopDataGridViewCheckBoxColumn.HeaderText = "비상정지입력";
|
||||
this.useEStopDataGridViewCheckBoxColumn.Name = "useEStopDataGridViewCheckBoxColumn";
|
||||
this.useEStopDataGridViewCheckBoxColumn.Width = 53;
|
||||
//
|
||||
// homeHighDataGridViewTextBoxColumn
|
||||
//
|
||||
this.homeHighDataGridViewTextBoxColumn.DataPropertyName = "HomeHigh";
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||
this.homeHighDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.homeHighDataGridViewTextBoxColumn.HeaderText = "홈(고속)";
|
||||
this.homeHighDataGridViewTextBoxColumn.Name = "homeHighDataGridViewTextBoxColumn";
|
||||
this.homeHighDataGridViewTextBoxColumn.Width = 70;
|
||||
//
|
||||
// homeLowDataGridViewTextBoxColumn
|
||||
//
|
||||
this.homeLowDataGridViewTextBoxColumn.DataPropertyName = "HomeLow";
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||
this.homeLowDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.homeLowDataGridViewTextBoxColumn.HeaderText = "홈(저속)";
|
||||
this.homeLowDataGridViewTextBoxColumn.Name = "homeLowDataGridViewTextBoxColumn";
|
||||
this.homeLowDataGridViewTextBoxColumn.Width = 70;
|
||||
//
|
||||
// homeAccDataGridViewTextBoxColumn
|
||||
//
|
||||
this.homeAccDataGridViewTextBoxColumn.DataPropertyName = "HomeAcc";
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||
this.homeAccDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.homeAccDataGridViewTextBoxColumn.HeaderText = "홈(가속도)";
|
||||
this.homeAccDataGridViewTextBoxColumn.Name = "homeAccDataGridViewTextBoxColumn";
|
||||
this.homeAccDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// homeDccDataGridViewTextBoxColumn
|
||||
//
|
||||
this.homeDccDataGridViewTextBoxColumn.DataPropertyName = "HomeDcc";
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||
this.homeDccDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.homeDccDataGridViewTextBoxColumn.HeaderText = "홈(감속도)";
|
||||
this.homeDccDataGridViewTextBoxColumn.Name = "homeDccDataGridViewTextBoxColumn";
|
||||
this.homeDccDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// MaxSpeed
|
||||
//
|
||||
this.MaxSpeed.DataPropertyName = "MaxSpeed";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
||||
this.MaxSpeed.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.MaxSpeed.HeaderText = "최대(속도)";
|
||||
this.MaxSpeed.Name = "MaxSpeed";
|
||||
this.MaxSpeed.Width = 66;
|
||||
//
|
||||
// MaxAcc
|
||||
//
|
||||
this.MaxAcc.DataPropertyName = "MaxAcc";
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
||||
this.MaxAcc.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.MaxAcc.HeaderText = "최대(가속도)";
|
||||
this.MaxAcc.Name = "MaxAcc";
|
||||
this.MaxAcc.Width = 77;
|
||||
//
|
||||
// sWLimitPDataGridViewTextBoxColumn
|
||||
//
|
||||
this.sWLimitPDataGridViewTextBoxColumn.DataPropertyName = "SWLimitP";
|
||||
this.sWLimitPDataGridViewTextBoxColumn.HeaderText = "S/W 위치 제한";
|
||||
this.sWLimitPDataGridViewTextBoxColumn.Name = "sWLimitPDataGridViewTextBoxColumn";
|
||||
this.sWLimitPDataGridViewTextBoxColumn.Width = 79;
|
||||
//
|
||||
// InpositionAccr
|
||||
//
|
||||
this.InpositionAccr.DataPropertyName = "InpositionAccr";
|
||||
this.InpositionAccr.HeaderText = "위치결정오차";
|
||||
this.InpositionAccr.Name = "InpositionAccr";
|
||||
this.InpositionAccr.Width = 72;
|
||||
//
|
||||
// btSet
|
||||
//
|
||||
this.btSet.HeaderText = "설정";
|
||||
this.btSet.Name = "btSet";
|
||||
this.btSet.Width = 32;
|
||||
//
|
||||
// SystemParameter
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1007, 584);
|
||||
this.Controls.Add(this.bindingNavigator1);
|
||||
this.Controls.Add(this.motionParamDataGridView);
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "SystemParameter";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Motion Parameter";
|
||||
this.Load += new System.EventHandler(this.SystemParameter_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.motionParamDataGridView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
|
||||
this.bindingNavigator1.ResumeLayout(false);
|
||||
this.bindingNavigator1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private DSSetup dataSet1;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private System.Windows.Forms.DataGridView motionParamDataGridView;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.BindingNavigator bindingNavigator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_title;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn enableDataGridViewCheckBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn useOriginDataGridViewCheckBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn useEStopDataGridViewCheckBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn homeHighDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn homeLowDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn homeAccDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn homeDccDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn MaxSpeed;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn MaxAcc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sWLimitPDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn InpositionAccr;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn btSet;
|
||||
}
|
||||
}
|
||||
120
Handler/Project/Setting/fSystem_MotParameter.cs
Normal file
120
Handler/Project/Setting/fSystem_MotParameter.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
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 fSystem_MotParameter : Form
|
||||
{
|
||||
public class cmdevents : EventArgs
|
||||
{
|
||||
public string cmd { get; set; }
|
||||
public string data { get; set; }
|
||||
public cmdevents(string cmd,string data)
|
||||
{
|
||||
this.cmd = cmd;
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
public EventHandler<cmdevents> Commands;
|
||||
public fSystem_MotParameter()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.KeyDown += SystemParameter_KeyDown;
|
||||
this.dataSet1.MotionParam.Clear();
|
||||
this.dataSet1.MotionParam.Merge(PUB.system_mot.dt);
|
||||
this.dataSet1.MotionParam.AcceptChanges();
|
||||
this.dataSet1.MotionParam.TableNewRow += MotionParam_TableNewRow;
|
||||
}
|
||||
|
||||
private void MotionParam_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["Enable"] = false;
|
||||
if (this.dataSet1.MotionParam.Rows.Count < 1) e.Row["idx"] = 0;
|
||||
else e.Row["idx"] = this.dataSet1.MotionParam.Rows.Count;
|
||||
e.Row["UseOrigin"] = true;
|
||||
e.Row["UseEStop"] = true;
|
||||
e.Row["HomeAcc"] = 100;
|
||||
e.Row["HomeDcc"] = 100;
|
||||
e.Row["HomeHigh"] = 50;
|
||||
e.Row["HomeLow"] = 30;
|
||||
e.Row["SWLimitP"] = 0;
|
||||
e.Row["InpositionAccr"] = 0.1f;
|
||||
}
|
||||
|
||||
void SystemParameter_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape) this.Close();
|
||||
}
|
||||
|
||||
private void SystemParameter_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
PUB.system_mot.Save(this.dataSet1.MotionParam);
|
||||
|
||||
//소스파일을 변경 해준다.
|
||||
//var sourcePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Don't change it");
|
||||
//var di = new System.IO.DirectoryInfo(sourcePath);
|
||||
//if (di.Exists)
|
||||
//{
|
||||
// var fiEnum = new System.IO.FileInfo(di.FullName + "\\Class\\EnumData.cs");
|
||||
// if (fiEnum.Exists)
|
||||
// {
|
||||
// var buffer = System.IO.File.ReadAllText(fiEnum.FullName, System.Text.Encoding.UTF8);
|
||||
// var axis_start_tag = "public enum eaxis";
|
||||
// var axis_sta = buffer.ToLower().IndexOf(axis_start_tag);
|
||||
// var axis_end = buffer.IndexOf("}", axis_sta);
|
||||
|
||||
// var buffer_axis = buffer.Substring(axis_sta, axis_end - axis_sta);
|
||||
|
||||
// //값을 생성해준다.
|
||||
// var sb_axis = new System.Text.StringBuilder();
|
||||
// sb_axis.AppendLine("public enum eAxis : byte {");
|
||||
// foreach (DSSetup.MotionParamRow dr in this.dataSet1.MotionParam)
|
||||
// {
|
||||
// if (dr.Enable == false) continue;
|
||||
// if (string.IsNullOrEmpty(dr.Title)) continue;
|
||||
// sb_axis.AppendLine($"\t\t{dr.Title} = {dr.idx},");
|
||||
// }
|
||||
// sb_axis.AppendLine("\t}");
|
||||
// var buffer_head = buffer.Substring(0, axis_sta);
|
||||
// var buffer_tail = buffer.Substring(axis_end + 1);
|
||||
// var newbuffer = buffer_head + sb_axis.ToString() + buffer_tail;
|
||||
// System.IO.File.WriteAllText(fiEnum.FullName, newbuffer, System.Text.Encoding.UTF8);
|
||||
// }
|
||||
//}
|
||||
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void motionParamDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
var idx = this.motionParamDataGridView.Rows[e.RowIndex].Cells["dvc_idx"].Value;
|
||||
if (idx == null) return;
|
||||
|
||||
if (e.ColumnIndex != 13) return;
|
||||
|
||||
var val = int.Parse(idx.ToString());
|
||||
|
||||
PUB.mot.ShowParameter(val);
|
||||
}
|
||||
|
||||
private void motionParamDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
223
Handler/Project/Setting/fSystem_MotParameter.resx
Normal file
223
Handler/Project/Setting/fSystem_MotParameter.resx
Normal file
@@ -0,0 +1,223 @@
|
||||
<?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="dvc_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MaxSpeed.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="MaxAcc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="InpositionAccr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="btSet.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>117, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>181, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>339, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE1SURBVDhPY/hPIQAbcOn57//T915BwW1rjoFx/oJz//N6
|
||||
VqHgsNxeMA03YN3lp/9vv4YYhAtsuQ6h55/9A8aBidVgPtiADZcegzWDFN1/9///qy8IDOKDcPfu1/9/
|
||||
/vn/v3rt/f9TD38BuwJuwIrT9wka0L79BdiAkuW3MA0A+fnog///V12GKAZ5BxcGGQByDYoXYAbA/Aey
|
||||
AYRBCkE2N256AnY6SDMoUEF8FANAoQ0zAFkzCCNrhhkAor3CczENwGYzuu1JM8+BaQwDQAGITzOyASDs
|
||||
4huPMAAkATIA3c/YNIdNPAHGKAaAUhUoBghphhng0rTnv71bGKoBoADE5mR0zVgNACUK9BgAGYbudJBG
|
||||
GNY0dEYYAMsgMAyKYxAGhTQIg/wLwiBbQRikGSUdkA/+/wcAgXJEf04PwQkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
77
Handler/Project/Setting/fSystem_Setting.Designer.cs
generated
Normal file
77
Handler/Project/Setting/fSystem_Setting.Designer.cs
generated
Normal file
@@ -0,0 +1,77 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fSystem_Setting
|
||||
{
|
||||
/// <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.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.button1.Location = new System.Drawing.Point(0, 564);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(527, 51);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "Save";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// propertyGrid1
|
||||
//
|
||||
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
|
||||
this.propertyGrid1.Name = "propertyGrid1";
|
||||
this.propertyGrid1.Size = new System.Drawing.Size(527, 564);
|
||||
this.propertyGrid1.TabIndex = 1;
|
||||
//
|
||||
// fSystem_Setting
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(527, 615);
|
||||
this.Controls.Add(this.propertyGrid1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fSystem_Setting";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "SystemParameter";
|
||||
this.Load += new System.EventHandler(this.SystemParameter_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.PropertyGrid propertyGrid1;
|
||||
}
|
||||
}
|
||||
49
Handler/Project/Setting/fSystem_Setting.cs
Normal file
49
Handler/Project/Setting/fSystem_Setting.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
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 fSystem_Setting : Form
|
||||
{
|
||||
public fSystem_Setting()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.KeyDown += SystemParameter_KeyDown;
|
||||
}
|
||||
|
||||
void SystemParameter_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape) this.Close();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Invalidate();
|
||||
PUB.system.Save();
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void SystemParameter_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.propertyGrid1.SelectedObject = PUB.system;
|
||||
this.propertyGrid1.Invalidate();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void button2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var but = sender as Button;
|
||||
var idx = int.Parse(but.Tag.ToString());
|
||||
PUB.mot.ShowParameter(idx);
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Handler/Project/Setting/fSystem_Setting.resx
Normal file
120
Handler/Project/Setting/fSystem_Setting.resx
Normal 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>
|
||||
Reference in New Issue
Block a user