This commit is contained in:
atvstdla
2025-09-23 17:17:49 +09:00
parent 1d2bc49365
commit 7f18759004
17 changed files with 2407 additions and 2524 deletions

View File

@@ -28,7 +28,7 @@ namespace Project.Device
else else
{ {
PUB.log.AddAT("No ZPL file found, using ZPL code from settings"); PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
return Properties.Settings.Default.ZPL7; return string.Empty;
} }
} }

View File

@@ -36,7 +36,7 @@ namespace Project.Device
else else
{ {
PUB.log.AddAT("No ZPL file found, using ZPL code from settings"); PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
return Properties.Settings.Default.ZPL7; return string.Empty;
} }
} }

View File

@@ -12,7 +12,7 @@ namespace Project.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -71,48 +71,6 @@ namespace Project.Properties {
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(@"^XA
^MMT
^PW519
^LL0200
^LS0
^FO207,5^GB303,186,4^FS
^FT10,190^BQN,2,4
^FH\^FDLA,{qrData}^FS
^FO250,8^GB0,183,4^FS
^FO209,29^GB299,0,4^FS
^FO209,56^GB299,0,4^FS
^FO207,81^GB300,0,4^FS
^FO207,108^GB303,0,4^FS
^FT212,27^A0N,20,19^FH\^FDSID^FS
^FT212,52^A0N,20,19^FH\^FDLOT^FS
^FT211,132^A0N,20,19^FH\^FDRID^FS
^FT212,104^A0N,20,19^FH\^FDQ'ty^FS
^FT256,27^A0N,20,19^FH\^FD{sid}^FS
^FT257,53^A0N,20,19^FH\^FD{lot}^FS
^FT257,184^A0N,17,16^FH\^FD{partnum}^FS
^FT258,131^A0N,20,19^FH\^FD{rid}^FS
^FT257,104^A0N,20,19^FH\^FD{qty}^FS
^FO207,162^GB303,0,4^FS
^FO207,135^GB303,0,4^FS
^FT211,158^A0N,20,19^FH\^FDDate^FS
^FT258,158^A0N,20,19^FH\^FD{mfg}^FS
^FT212,183^A0N,17,16^FH\^FDPN#^FS
^FT212,79^A0N,20,19^FH\^FDSPY^FS
^FT256,79^A0N,20,19^FH\^FD{supply}^FS
^PQ1,0,1,Y^XZ
")]
public string ZPL7 {
get {
return ((string)(this["ZPL7"]));
}
set {
this["ZPL7"] = value;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]

View File

@@ -14,42 +14,9 @@
<Setting Name="libxl" Type="System.String" Scope="User"> <Setting Name="libxl" Type="System.String" Scope="User">
<Value Profile="(Default)">Amkor Technology/windows-242f240302c3e50d6cb1686ba2q4k0o9</Value> <Value Profile="(Default)">Amkor Technology/windows-242f240302c3e50d6cb1686ba2q4k0o9</Value>
</Setting> </Setting>
<Setting Name="ZPL7" Type="System.String" Scope="User">
<Value Profile="(Default)">^XA
^MMT
^PW519
^LL0200
^LS0
^FO207,5^GB303,186,4^FS
^FT10,190^BQN,2,4
^FH\^FDLA,{qrData}^FS
^FO250,8^GB0,183,4^FS
^FO209,29^GB299,0,4^FS
^FO209,56^GB299,0,4^FS
^FO207,81^GB300,0,4^FS
^FO207,108^GB303,0,4^FS
^FT212,27^A0N,20,19^FH\^FDSID^FS
^FT212,52^A0N,20,19^FH\^FDLOT^FS
^FT211,132^A0N,20,19^FH\^FDRID^FS
^FT212,104^A0N,20,19^FH\^FDQ'ty^FS
^FT256,27^A0N,20,19^FH\^FD{sid}^FS
^FT257,53^A0N,20,19^FH\^FD{lot}^FS
^FT257,184^A0N,17,16^FH\^FD{partnum}^FS
^FT258,131^A0N,20,19^FH\^FD{rid}^FS
^FT257,104^A0N,20,19^FH\^FD{qty}^FS
^FO207,162^GB303,0,4^FS
^FO207,135^GB303,0,4^FS
^FT211,158^A0N,20,19^FH\^FDDate^FS
^FT258,158^A0N,20,19^FH\^FD{mfg}^FS
^FT212,183^A0N,17,16^FH\^FDPN#^FS
^FT212,79^A0N,20,19^FH\^FDSPY^FS
^FT256,79^A0N,20,19^FH\^FD{supply}^FS
^PQ1,0,1,Y^XZ
</Value>
</Setting>
<Setting Name="CS" Type="(Connection string)" Scope="Application"> <Setting Name="CS" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt; <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ConnectionString&gt;Data Source=10.201.11.21,50150;Initial Catalog=WMS;Persist Security Info=True;User ID=wmsadm;Password=78#4AmWnh1!!;Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt; &lt;ConnectionString&gt;Data Source=10.201.11.21,50150;Initial Catalog=WMS;Persist Security Info=True;User ID=wmsadm;Password=78#4AmWnh1!!;Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt; &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue> &lt;/SerializableConnectionString&gt;</DesignTimeValue>
@@ -57,7 +24,7 @@
</Setting> </Setting>
<Setting Name="WMS_DEV" Type="(Connection string)" Scope="Application"> <Setting Name="WMS_DEV" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt; <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ConnectionString&gt;Data Source=10.201.11.21,50150;Initial Catalog=WMS;Persist Security Info=True;User ID=wmsadm;Password=78#4AmWnh1!!;Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt; &lt;ConnectionString&gt;Data Source=10.201.11.21,50150;Initial Catalog=WMS;Persist Security Info=True;User ID=wmsadm;Password=78#4AmWnh1!!;Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt; &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue> &lt;/SerializableConnectionString&gt;</DesignTimeValue>
@@ -65,7 +32,7 @@
</Setting> </Setting>
<Setting Name="WMS_PRD" Type="(Connection string)" Scope="Application"> <Setting Name="WMS_PRD" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt; <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ConnectionString&gt;Data Source=V1SPCSQL,51122;Initial Catalog=WMS;Persist Security Info=True;User ID=wmsadm;Password="2!x2$yY8R;}$";Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt; &lt;ConnectionString&gt;Data Source=V1SPCSQL,51122;Initial Catalog=WMS;Persist Security Info=True;User ID=wmsadm;Password="2!x2$yY8R;}$";Encrypt=False;TrustServerCertificate=True&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt; &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue> &lt;/SerializableConnectionString&gt;</DesignTimeValue>

View File

@@ -65,11 +65,9 @@ namespace Project
/// <summary> /// <summary>
/// database manager /// database manager
/// </summary> /// </summary>
//public static Manager.DatabaseManagerHistory dbmHistory; //Tray records (by date)
public static Manager.DatabaseManagerCount dbmCount; //Quantity records (by ID) public static Manager.DatabaseManagerCount dbmCount; //Quantity records (by ID)
public static Manager.DatabaseManagerSIDHistory dbmSidHistory; public static Manager.DatabaseManagerSIDHistory dbmSidHistory;
//public static Manager.DataBaseMSSQL dbSQL;
/// <summary> /// <summary>
/// model manager /// model manager
@@ -1098,7 +1096,7 @@ namespace Project
public static void initCore() public static void initCore()
{ {
system_mot = new System_MotParameter(UTIL.MakePath("System_mot.xml")); system_mot = new System_MotParameter(UTIL.MakePath("Data","System_mot.xml"));
system_mot.Load(); system_mot.Load();
//setting //setting
@@ -1123,8 +1121,7 @@ namespace Project
//zpl파일 만든다. //zpl파일 만든다.
var fn = Path.Combine(UTIL.CurrentPath, "Data", "zpl.txt"); var fn = Path.Combine(UTIL.CurrentPath, "Data", "zpl.txt");
if (File.Exists(fn) == false) // i// File.WriteAllText(fn, Properties.Settings.Default.ZPL7, Encoding.Default);
File.WriteAllText(fn, Properties.Settings.Default.ZPL7, Encoding.Default);
} }
static void popup_WindowOpen(object sender, EventArgs e) static void popup_WindowOpen(object sender, EventArgs e)
@@ -1227,12 +1224,9 @@ namespace Project
LoadDataTable(); LoadDataTable();
//allow list //allow list
userList = new DataSet1.UsersDataTable(); userList = new DataSet1.UsersDataTable();
string fn = AppDomain.CurrentDomain.BaseDirectory + "users.xml"; string fn = UTIL.MakePath("Data", "users.xml");
if (System.IO.File.Exists(fn)) userList.ReadXml(fn); if (System.IO.File.Exists(fn)) userList.ReadXml(fn);
else userList.WriteXml(fn, true); else userList.WriteXml(fn, true);

View File

@@ -129,7 +129,7 @@ namespace Project
var chTable = PUB.userList.GetChanges(); var chTable = PUB.userList.GetChanges();
if (chTable != null) if (chTable != null)
{ {
string fn = AppDomain.CurrentDomain.BaseDirectory + "users.xml"; string fn = UTIL.MakePath("Data", "users.xml");
PUB.userList.WriteXml(fn, true); PUB.userList.WriteXml(fn, true);
PUB.userList.AcceptChanges(); PUB.userList.AcceptChanges();
} }
@@ -352,7 +352,7 @@ namespace Project
var fi = new System.IO.FileInfo( UTIL.MakePath("data","zpl.txt")); var fi = new System.IO.FileInfo( UTIL.MakePath("data","zpl.txt"));
if (fi.Exists == false) if (fi.Exists == false)
{ {
System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default); //System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default);
UTIL.MsgI("New ZPL file has been created\n" + fi.FullName); UTIL.MsgI("New ZPL file has been created\n" + fi.FullName);
} }
using (var f = new Dialog.fZPLEditor(fi.FullName)) using (var f = new Dialog.fZPLEditor(fi.FullName))

View File

@@ -28,61 +28,61 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSystem_MotParameter)); 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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = 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 dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
this.motionParamDataGridView = new System.Windows.Forms.DataGridView(); this.dv1 = new System.Windows.Forms.DataGridView();
this.bs = new System.Windows.Forms.BindingSource(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dataSet1 = new DSSetup(); this.dataSet1 = new Project.DSSetup();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.dvc_idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dvc_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_title = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dvc_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.enableDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.enableDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.useOriginDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.useOriginDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.useEStopDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.useEStopDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.homeHighDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.homeHighDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.homeLowDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.homeLowDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.homeAccDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.homeAccDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.homeDccDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.homeDccDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MaxSpeed = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.MaxSpeed = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MaxAcc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.MaxAcc = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sWLimitPDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.sWLimitPDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InpositionAccr = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.InpositionAccr = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btSet = new System.Windows.Forms.DataGridViewButtonColumn(); this.btSet = new System.Windows.Forms.DataGridViewButtonColumn();
((System.ComponentModel.ISupportInitialize)(this.motionParamDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
this.bindingNavigator1.SuspendLayout(); this.bindingNavigator1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// motionParamDataGridView // dv1
// //
this.motionParamDataGridView.AutoGenerateColumns = false; this.dv1.AutoGenerateColumns = false;
this.motionParamDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dv1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.motionParamDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dv1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.motionParamDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.motionParamDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dvc_idx, this.dvc_idx,
this.dvc_title, this.dvc_title,
this.enableDataGridViewCheckBoxColumn, this.enableDataGridViewCheckBoxColumn,
@@ -97,47 +97,47 @@
this.sWLimitPDataGridViewTextBoxColumn, this.sWLimitPDataGridViewTextBoxColumn,
this.InpositionAccr, this.InpositionAccr,
this.btSet}); this.btSet});
this.motionParamDataGridView.DataSource = this.bs; this.dv1.DataSource = this.bs;
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.motionParamDataGridView.DefaultCellStyle = dataGridViewCellStyle8; this.dv1.DefaultCellStyle = dataGridViewCellStyle8;
this.motionParamDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
this.motionParamDataGridView.Location = new System.Drawing.Point(0, 0); this.dv1.Location = new System.Drawing.Point(0, 0);
this.motionParamDataGridView.Name = "motionParamDataGridView"; this.dv1.Name = "dv1";
this.motionParamDataGridView.RowTemplate.Height = 23; this.dv1.RowTemplate.Height = 23;
this.motionParamDataGridView.Size = new System.Drawing.Size(1007, 584); this.dv1.Size = new System.Drawing.Size(1039, 584);
this.motionParamDataGridView.TabIndex = 2; this.dv1.TabIndex = 2;
this.motionParamDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.motionParamDataGridView_CellContentClick); this.dv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.motionParamDataGridView_CellContentClick);
this.motionParamDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.motionParamDataGridView_DataError); this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.motionParamDataGridView_DataError);
// //
// bs // bs
// //
this.bs.DataMember = "MotionParam"; this.bs.DataMember = "MotionParam";
this.bs.DataSource = this.dataSet1; this.bs.DataSource = this.dataSet1;
// //
// dataSet1 // dataSet1
// //
this.dataSet1.DataSetName = "DataSet1"; this.dataSet1.DataSetName = "DataSet1";
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
// //
// contextMenuStrip1 // contextMenuStrip1
// //
this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
// //
// bindingNavigator1 // bindingNavigator1
// //
this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem; this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem;
this.bindingNavigator1.BindingSource = this.bs; this.bindingNavigator1.BindingSource = this.bs;
this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem; this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem; this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom; this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem, this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator, this.bindingNavigatorSeparator,
@@ -150,255 +150,253 @@
this.bindingNavigatorAddNewItem, this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem, this.bindingNavigatorDeleteItem,
this.toolStripButton1}); this.toolStripButton1});
this.bindingNavigator1.Location = new System.Drawing.Point(0, 559); this.bindingNavigator1.Location = new System.Drawing.Point(0, 559);
this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bindingNavigator1.Name = "bindingNavigator1"; this.bindingNavigator1.Name = "bindingNavigator1";
this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem; this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
this.bindingNavigator1.Size = new System.Drawing.Size(1007, 25); this.bindingNavigator1.Size = new System.Drawing.Size(1039, 25);
this.bindingNavigator1.TabIndex = 4; this.bindingNavigator1.TabIndex = 4;
this.bindingNavigator1.Text = "bindingNavigator1"; this.bindingNavigator1.Text = "bindingNavigator1";
// //
// bindingNavigatorAddNewItem // bindingNavigatorAddNewItem
// //
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "Add New"; this.bindingNavigatorAddNewItem.Text = "Add New";
// //
// bindingNavigatorCountItem // bindingNavigatorCountItem
// //
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); this.bindingNavigatorCountItem.Size = new System.Drawing.Size(26, 22);
this.bindingNavigatorCountItem.Text = "/{0}"; this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "Total item count"; this.bindingNavigatorCountItem.ToolTipText = "Total item count";
// //
// bindingNavigatorDeleteItem // bindingNavigatorDeleteItem
// //
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorDeleteItem.Text = "Delete"; this.bindingNavigatorDeleteItem.Text = "Delete";
// //
// bindingNavigatorMoveFirstItem // bindingNavigatorMoveFirstItem
// //
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "Move first"; this.bindingNavigatorMoveFirstItem.Text = "Move first";
// //
// bindingNavigatorMovePreviousItem // bindingNavigatorMovePreviousItem
// //
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "Move previous"; this.bindingNavigatorMovePreviousItem.Text = "Move previous";
// //
// bindingNavigatorSeparator // bindingNavigatorSeparator
// //
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
// //
// bindingNavigatorPositionItem // bindingNavigatorPositionItem
// //
this.bindingNavigatorPositionItem.AccessibleName = "Position"; this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false; this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0"; this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "Current position"; this.bindingNavigatorPositionItem.ToolTipText = "Current position";
// //
// bindingNavigatorSeparator1 // bindingNavigatorSeparator1
// //
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
// //
// bindingNavigatorMoveNextItem // bindingNavigatorMoveNextItem
// //
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "Move next"; this.bindingNavigatorMoveNextItem.Text = "Move next";
// //
// bindingNavigatorMoveLastItem // bindingNavigatorMoveLastItem
// //
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "Move last"; this.bindingNavigatorMoveLastItem.Text = "Move last";
// //
// bindingNavigatorSeparator2 // bindingNavigatorSeparator2
// //
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
// //
// toolStripButton1 // toolStripButton1
// //
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(52, 22); this.toolStripButton1.Size = new System.Drawing.Size(51, 22);
this.toolStripButton1.Text = "Save"; this.toolStripButton1.Text = "Save";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
// //
// dvc_idx // dvc_idx
// //
this.dvc_idx.DataPropertyName = "idx"; this.dvc_idx.DataPropertyName = "idx";
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_idx.DefaultCellStyle = dataGridViewCellStyle1; this.dvc_idx.DefaultCellStyle = dataGridViewCellStyle1;
this.dvc_idx.HeaderText = "Axis"; this.dvc_idx.HeaderText = "Axis";
this.dvc_idx.Name = "dvc_idx"; this.dvc_idx.Name = "dvc_idx";
this.dvc_idx.Width = 42; this.dvc_idx.Width = 55;
// //
// dvc_title // dvc_title
// //
this.dvc_title.DataPropertyName = "Title"; this.dvc_title.DataPropertyName = "Title";
this.dvc_title.HeaderText = "Name"; this.dvc_title.HeaderText = "Name";
this.dvc_title.Name = "dvc_title"; this.dvc_title.Name = "dvc_title";
this.dvc_title.Width = 54; this.dvc_title.Width = 64;
// //
// enableDataGridViewCheckBoxColumn // enableDataGridViewCheckBoxColumn
// //
this.enableDataGridViewCheckBoxColumn.DataPropertyName = "Enable"; this.enableDataGridViewCheckBoxColumn.DataPropertyName = "Enable";
this.enableDataGridViewCheckBoxColumn.HeaderText = "Enable"; this.enableDataGridViewCheckBoxColumn.HeaderText = "Enable";
this.enableDataGridViewCheckBoxColumn.Name = "enableDataGridViewCheckBoxColumn"; this.enableDataGridViewCheckBoxColumn.Name = "enableDataGridViewCheckBoxColumn";
this.enableDataGridViewCheckBoxColumn.Width = 59; this.enableDataGridViewCheckBoxColumn.Width = 50;
// //
// useOriginDataGridViewCheckBoxColumn // useOriginDataGridViewCheckBoxColumn
// //
this.useOriginDataGridViewCheckBoxColumn.DataPropertyName = "UseOrigin"; this.useOriginDataGridViewCheckBoxColumn.DataPropertyName = "UseOrigin";
this.useOriginDataGridViewCheckBoxColumn.HeaderText = "Origin Sensor"; this.useOriginDataGridViewCheckBoxColumn.HeaderText = "Origin";
this.useOriginDataGridViewCheckBoxColumn.Name = "useOriginDataGridViewCheckBoxColumn"; this.useOriginDataGridViewCheckBoxColumn.Name = "useOriginDataGridViewCheckBoxColumn";
this.useOriginDataGridViewCheckBoxColumn.Width = 59; this.useOriginDataGridViewCheckBoxColumn.Width = 44;
// //
// useEStopDataGridViewCheckBoxColumn // useEStopDataGridViewCheckBoxColumn
// //
this.useEStopDataGridViewCheckBoxColumn.DataPropertyName = "UseEStop"; this.useEStopDataGridViewCheckBoxColumn.DataPropertyName = "UseEStop";
this.useEStopDataGridViewCheckBoxColumn.HeaderText = "Emergency Stop Input"; this.useEStopDataGridViewCheckBoxColumn.HeaderText = "Emg";
this.useEStopDataGridViewCheckBoxColumn.Name = "useEStopDataGridViewCheckBoxColumn"; this.useEStopDataGridViewCheckBoxColumn.Name = "useEStopDataGridViewCheckBoxColumn";
this.useEStopDataGridViewCheckBoxColumn.Width = 53; this.useEStopDataGridViewCheckBoxColumn.Width = 37;
// //
// homeHighDataGridViewTextBoxColumn // homeHighDataGridViewTextBoxColumn
// //
this.homeHighDataGridViewTextBoxColumn.DataPropertyName = "HomeHigh"; this.homeHighDataGridViewTextBoxColumn.DataPropertyName = "HomeHigh";
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.homeHighDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2; this.homeHighDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
this.homeHighDataGridViewTextBoxColumn.HeaderText = "Home (High Speed)"; this.homeHighDataGridViewTextBoxColumn.HeaderText = "Home (Hig)";
this.homeHighDataGridViewTextBoxColumn.Name = "homeHighDataGridViewTextBoxColumn"; this.homeHighDataGridViewTextBoxColumn.Name = "homeHighDataGridViewTextBoxColumn";
this.homeHighDataGridViewTextBoxColumn.Width = 70; this.homeHighDataGridViewTextBoxColumn.Width = 95;
// //
// homeLowDataGridViewTextBoxColumn // homeLowDataGridViewTextBoxColumn
// //
this.homeLowDataGridViewTextBoxColumn.DataPropertyName = "HomeLow"; this.homeLowDataGridViewTextBoxColumn.DataPropertyName = "HomeLow";
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.homeLowDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3; this.homeLowDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
this.homeLowDataGridViewTextBoxColumn.HeaderText = "Home (Low Speed)"; this.homeLowDataGridViewTextBoxColumn.HeaderText = "Home (Low)";
this.homeLowDataGridViewTextBoxColumn.Name = "homeLowDataGridViewTextBoxColumn"; this.homeLowDataGridViewTextBoxColumn.Name = "homeLowDataGridViewTextBoxColumn";
this.homeLowDataGridViewTextBoxColumn.Width = 70; this.homeLowDataGridViewTextBoxColumn.Width = 93;
// //
// homeAccDataGridViewTextBoxColumn // homeAccDataGridViewTextBoxColumn
// //
this.homeAccDataGridViewTextBoxColumn.DataPropertyName = "HomeAcc"; this.homeAccDataGridViewTextBoxColumn.DataPropertyName = "HomeAcc";
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.homeAccDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4; this.homeAccDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
this.homeAccDataGridViewTextBoxColumn.HeaderText = "Home (Acceleration)"; this.homeAccDataGridViewTextBoxColumn.HeaderText = "Home (Acc)";
this.homeAccDataGridViewTextBoxColumn.Name = "homeAccDataGridViewTextBoxColumn"; this.homeAccDataGridViewTextBoxColumn.Name = "homeAccDataGridViewTextBoxColumn";
this.homeAccDataGridViewTextBoxColumn.Width = 66; this.homeAccDataGridViewTextBoxColumn.Width = 91;
// //
// homeDccDataGridViewTextBoxColumn // homeDccDataGridViewTextBoxColumn
// //
this.homeDccDataGridViewTextBoxColumn.DataPropertyName = "HomeDcc"; this.homeDccDataGridViewTextBoxColumn.DataPropertyName = "HomeDcc";
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.homeDccDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; this.homeDccDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
this.homeDccDataGridViewTextBoxColumn.HeaderText = "Home (Deceleration)"; this.homeDccDataGridViewTextBoxColumn.HeaderText = "Home (Dec)";
this.homeDccDataGridViewTextBoxColumn.Name = "homeDccDataGridViewTextBoxColumn"; this.homeDccDataGridViewTextBoxColumn.Name = "homeDccDataGridViewTextBoxColumn";
this.homeDccDataGridViewTextBoxColumn.Width = 66; this.homeDccDataGridViewTextBoxColumn.Width = 91;
// //
// MaxSpeed // MaxSpeed
// //
this.MaxSpeed.DataPropertyName = "MaxSpeed"; this.MaxSpeed.DataPropertyName = "MaxSpeed";
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.MaxSpeed.DefaultCellStyle = dataGridViewCellStyle6; this.MaxSpeed.DefaultCellStyle = dataGridViewCellStyle6;
this.MaxSpeed.HeaderText = "Max Speed"; this.MaxSpeed.HeaderText = "Max Speed";
this.MaxSpeed.Name = "MaxSpeed"; this.MaxSpeed.Name = "MaxSpeed";
this.MaxSpeed.Width = 66; this.MaxSpeed.Width = 87;
// //
// MaxAcc // MaxAcc
// //
this.MaxAcc.DataPropertyName = "MaxAcc"; this.MaxAcc.DataPropertyName = "MaxAcc";
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.MaxAcc.DefaultCellStyle = dataGridViewCellStyle7; this.MaxAcc.DefaultCellStyle = dataGridViewCellStyle7;
this.MaxAcc.HeaderText = "Max Acceleration"; this.MaxAcc.HeaderText = "Max Acc";
this.MaxAcc.Name = "MaxAcc"; this.MaxAcc.Name = "MaxAcc";
this.MaxAcc.Width = 77; this.MaxAcc.Width = 55;
// //
// sWLimitPDataGridViewTextBoxColumn // sWLimitPDataGridViewTextBoxColumn
// //
this.sWLimitPDataGridViewTextBoxColumn.DataPropertyName = "SWLimitP"; this.sWLimitPDataGridViewTextBoxColumn.DataPropertyName = "SWLimitP";
this.sWLimitPDataGridViewTextBoxColumn.HeaderText = "S/W Position Limit"; this.sWLimitPDataGridViewTextBoxColumn.HeaderText = "S/W Limit";
this.sWLimitPDataGridViewTextBoxColumn.Name = "sWLimitPDataGridViewTextBoxColumn"; this.sWLimitPDataGridViewTextBoxColumn.Name = "sWLimitPDataGridViewTextBoxColumn";
this.sWLimitPDataGridViewTextBoxColumn.Width = 79; this.sWLimitPDataGridViewTextBoxColumn.Width = 78;
// //
// InpositionAccr // InpositionAccr
// //
this.InpositionAccr.DataPropertyName = "InpositionAccr"; this.InpositionAccr.DataPropertyName = "InpositionAccr";
this.InpositionAccr.HeaderText = "Position Error"; this.InpositionAccr.HeaderText = "Pos accr";
this.InpositionAccr.Name = "InpositionAccr"; this.InpositionAccr.Name = "InpositionAccr";
this.InpositionAccr.Width = 72; this.InpositionAccr.Width = 75;
// //
// btSet // btSet
// //
this.btSet.HeaderText = "Set"; this.btSet.HeaderText = "Set";
this.btSet.Name = "btSet"; this.btSet.Name = "btSet";
this.btSet.Width = 32; this.btSet.Width = 29;
// //
// SystemParameter // fSystem_MotParameter
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1007, 584); this.ClientSize = new System.Drawing.Size(1039, 584);
this.Controls.Add(this.bindingNavigator1); this.Controls.Add(this.bindingNavigator1);
this.Controls.Add(this.motionParamDataGridView); this.Controls.Add(this.dv1);
this.KeyPreview = true; this.KeyPreview = true;
this.MaximizeBox = false; this.Name = "fSystem_MotParameter";
this.MinimizeBox = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Name = "SystemParameter"; this.Text = "Motion Parameter";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.SystemParameter_Load);
this.Text = "Motion Parameter"; ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
this.Load += new System.EventHandler(this.SystemParameter_Load); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.motionParamDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); this.bindingNavigator1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); this.bindingNavigator1.PerformLayout();
this.bindingNavigator1.ResumeLayout(false); this.ResumeLayout(false);
this.bindingNavigator1.PerformLayout(); this.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
} }
#endregion #endregion
private DSSetup dataSet1; private DSSetup dataSet1;
private System.Windows.Forms.BindingSource bs; private System.Windows.Forms.BindingSource bs;
private System.Windows.Forms.DataGridView motionParamDataGridView; private System.Windows.Forms.DataGridView dv1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.BindingNavigator bindingNavigator1; private System.Windows.Forms.BindingNavigator bindingNavigator1;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
@@ -413,19 +411,19 @@
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_idx; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_idx;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_title; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_title;
private System.Windows.Forms.DataGridViewCheckBoxColumn enableDataGridViewCheckBoxColumn; private System.Windows.Forms.DataGridViewCheckBoxColumn enableDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn useOriginDataGridViewCheckBoxColumn; private System.Windows.Forms.DataGridViewCheckBoxColumn useOriginDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn useEStopDataGridViewCheckBoxColumn; private System.Windows.Forms.DataGridViewCheckBoxColumn useEStopDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn homeHighDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn homeHighDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn homeLowDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn homeLowDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn homeAccDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn homeAccDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn homeDccDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn homeDccDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MaxSpeed; private System.Windows.Forms.DataGridViewTextBoxColumn MaxSpeed;
private System.Windows.Forms.DataGridViewTextBoxColumn MaxAcc; private System.Windows.Forms.DataGridViewTextBoxColumn MaxAcc;
private System.Windows.Forms.DataGridViewTextBoxColumn sWLimitPDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn sWLimitPDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InpositionAccr; private System.Windows.Forms.DataGridViewTextBoxColumn InpositionAccr;
private System.Windows.Forms.DataGridViewButtonColumn btSet; private System.Windows.Forms.DataGridViewButtonColumn btSet;
} }
} }

View File

@@ -54,7 +54,7 @@ namespace Project.Dialog
private void SystemParameter_Load(object sender, EventArgs e) private void SystemParameter_Load(object sender, EventArgs e)
{ {
this.dv1.AutoResizeColumns();
} }
private void toolStripButton1_Click(object sender, EventArgs e) private void toolStripButton1_Click(object sender, EventArgs e)
@@ -102,7 +102,7 @@ namespace Project.Dialog
private void motionParamDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e) private void motionParamDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
{ {
var idx = this.motionParamDataGridView.Rows[e.RowIndex].Cells["dvc_idx"].Value; var idx = this.dv1.Rows[e.RowIndex].Cells["dvc_idx"].Value;
if (idx == null) return; if (idx == null) return;
if (e.ColumnIndex != 13) return; if (e.ColumnIndex != 13) return;

View File

@@ -70,39 +70,6 @@
<setting name="libxl" serializeAs="String"> <setting name="libxl" serializeAs="String">
<value>Amkor Technology/windows-242f240302c3e50d6cb1686ba2q4k0o9</value> <value>Amkor Technology/windows-242f240302c3e50d6cb1686ba2q4k0o9</value>
</setting> </setting>
<setting name="ZPL7" serializeAs="String">
<value>^XA
^MMT
^PW519
^LL0200
^LS0
^FO207,5^GB303,186,4^FS
^FT10,190^BQN,2,4
^FH\^FDLA,{qrData}^FS
^FO250,8^GB0,183,4^FS
^FO209,29^GB299,0,4^FS
^FO209,56^GB299,0,4^FS
^FO207,81^GB300,0,4^FS
^FO207,108^GB303,0,4^FS
^FT212,27^A0N,20,19^FH\^FDSID^FS
^FT212,52^A0N,20,19^FH\^FDLOT^FS
^FT211,132^A0N,20,19^FH\^FDRID^FS
^FT212,104^A0N,20,19^FH\^FDQ'ty^FS
^FT256,27^A0N,20,19^FH\^FD{sid}^FS
^FT257,53^A0N,20,19^FH\^FD{lot}^FS
^FT257,184^A0N,17,16^FH\^FD{partnum}^FS
^FT258,131^A0N,20,19^FH\^FD{rid}^FS
^FT257,104^A0N,20,19^FH\^FD{qty}^FS
^FO207,162^GB303,0,4^FS
^FO207,135^GB303,0,4^FS
^FT211,158^A0N,20,19^FH\^FDDate^FS
^FT258,158^A0N,20,19^FH\^FD{mfg}^FS
^FT212,183^A0N,17,16^FH\^FDPN#^FS
^FT212,79^A0N,20,19^FH\^FDSPY^FS
^FT256,79^A0N,20,19^FH\^FD{supply}^FS
^PQ1,0,1,Y^XZ
</value>
</setting>
</Project.Properties.Settings> </Project.Properties.Settings>
</userSettings> </userSettings>
<entityFramework> <entityFramework>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,7 @@
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<OutputPath>..\..\..\..\..\..\Amkor\STDLabelAttach%28Conv%29\ResultView\</OutputPath> <OutputPath>..\..\..\STDLabelAttach%28ATV%29\ResultView\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>

View File

@@ -68,19 +68,18 @@ namespace AR
PORTL_MOT_RUN = 0x1A, PORTL_MOT_DIR, CART_MAG0, PORTL_MOT_RUN = 0x1A, PORTL_MOT_DIR, CART_MAG0,
PORTC_MOT_RUN = 0x10, PORTC_MOT_DIR, CART_MAG1, PORTC_MOT_RUN = 0x10, PORTC_MOT_DIR, CART_MAG1,
PORTR_MOT_RUN = 0x14, PORTR_MOT_DIR, CART_MAG2, PORTR_MOT_RUN = 0x14, PORTR_MOT_DIR, CART_MAG2,
PRINTL_FWD = 0x1D,
PRINTL_VACO = 0x1E, PRINTL_VACI, PRINTL_VACO = 0x1E, PRINTL_VACI,
PRINTR_FWD = 0x17,
PRINTR_VACO = 0x18, PRINTR_VACI, PRINTR_VACO = 0x18, PRINTR_VACI,
PRINTL_AIRON = 0x20, PRINTR_AIRON, PRINTL_AIRON = 0x20, PRINTR_AIRON,
PICK_VAC1 = 0x23, PICK_VAC2, PICK_VAC3, PICK_VAC4, PICK_VAC1 = 0x23, PICK_VAC2, PICK_VAC3, PICK_VAC4,
SVR_PWR_0 = 0x28, SVR_PWR_1, SVR_PWR_2, SVR_PWR_3, SVR_PWR_4, SVR_PWR_5, SVR_PWR_6, SVR_PWR_0 = 0x28, SVR_PWR_1, SVR_PWR_2, SVR_PWR_3, SVR_PWR_4, SVR_PWR_5, SVR_PWR_6,
RIGHT_CONV = 0x30, LEFT_CONV,
R_CYLDN = 0x38, L_CYLDN = 0x39, R_CYLDN = 0x38, L_CYLDN = 0x39,
LEFT_CONV = 0x3A, RIGHT_CONV = 0x3B,
PRINTL_FWD = 0x3D,
PRINTR_FWD = 0x3C,
//SVR_EMG_0 = 0x30, SVR_EMG_1, SVR_EMG_2, SVR_EMG_3, SVR_EMG_4, SVR_EMG_5, SVR_EMG_6, //SVR_EMG_0 = 0x30, SVR_EMG_1, SVR_EMG_2, SVR_EMG_3, SVR_EMG_4, SVR_EMG_5, SVR_EMG_6,
} }
} }

View File

@@ -12,7 +12,10 @@ namespace AR
{ {
public class CommonSetting : Setting public class CommonSetting : Setting
{ {
public CommonSetting()
{
this.filename = UTIL.MakePath("Data", "Setting.xml");
}
public string WebAPI_R1 { get; set; } public string WebAPI_R1 { get; set; }
public string WebAPI_R2 { get; set; } public string WebAPI_R2 { get; set; }
public string WebAPI_R3 { get; set; } public string WebAPI_R3 { get; set; }

View File

@@ -64,7 +64,7 @@ namespace AR
public CounterSetting() public CounterSetting()
{ {
this.filename = AR.UTIL.CurrentPath + "counter.xml"; this.filename = AR.UTIL.MakePath("Data", "counter.xml");
} }
public override void AfterLoad() public override void AfterLoad()
{ {

View File

@@ -16,7 +16,7 @@ namespace AR
#endregion #endregion
#region "Signal Reverse" #region "Signal Reverse"
[Category("Signal Reverse")] [Category("Signal Reverse")]
public Boolean ReverseSIG_Emgergency { get; set; } public Boolean ReverseSIG_Emgergency { get; set; }
@@ -47,8 +47,8 @@ namespace AR
#endregion #endregion
[Category("Door Safty"),DisplayName("Disable Front - Left")] [Category("Door Safty"), DisplayName("Disable Front - Left")]
public Boolean Disable_safty_F0 { get; set; } public Boolean Disable_safty_F0 { get; set; }
[Category("Door Safty"), DisplayName("Disable Front - Center")] [Category("Door Safty"), DisplayName("Disable Front - Center")]
@@ -68,11 +68,11 @@ namespace AR
public SystemSetting() public SystemSetting()
{ {
this.filename = UTIL.CurrentPath + "system.xml"; this.filename = UTIL.MakePath("Data", "system.xml");
} }
public override void AfterLoad() public override void AfterLoad()
{ {
MotaxisCount = 7; MotaxisCount = 7;
} }
public override void AfterSave() public override void AfterSave()
{ {

View File

@@ -48,7 +48,7 @@ namespace AR
public bool useConv { get; set; } public bool useConv { get; set; }
public UserSetting() public UserSetting()
{ {
this.filename = AppDomain.CurrentDomain.BaseDirectory + "UserSet.xml"; this.filename = UTIL.MakePath("data", "UserSet.xml");
} }
public override void AfterLoad() public override void AfterLoad()