diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs
index 1f4f0d6..031ecb8 100644
--- a/Project/Properties/AssemblyInfo.cs
+++ b/Project/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("21.03.25.1100")]
-[assembly: AssemblyFileVersion("21.03.25.1100")]
+[assembly: AssemblyVersion("21.03.29.2350")]
+[assembly: AssemblyFileVersion("21.03.29.2350")]
diff --git a/Project/_Management/fLineCode.Designer.cs b/Project/_Management/fLineCode.Designer.cs
index edfc2d1..ce37a13 100644
--- a/Project/_Management/fLineCode.Designer.cs
+++ b/Project/_Management/fLineCode.Designer.cs
@@ -54,6 +54,7 @@
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.plant = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.grp2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -146,6 +147,7 @@
//
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";
@@ -200,6 +202,7 @@
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4,
this.plant,
+ this.grp2,
this.except,
this.dataGridViewTextBoxColumn5});
this.dv.DataSource = this.bs;
@@ -276,6 +279,12 @@
this.plant.HeaderText = "plant";
this.plant.Name = "plant";
//
+ // grp2
+ //
+ this.grp2.DataPropertyName = "grp2";
+ this.grp2.HeaderText = "grp2";
+ this.grp2.Name = "grp2";
+ //
// except
//
this.except.DataPropertyName = "except";
@@ -336,6 +345,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn plant;
+ private System.Windows.Forms.DataGridViewTextBoxColumn grp2;
private System.Windows.Forms.DataGridViewCheckBoxColumn except;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
}
diff --git a/Project/_Management/fLineCode.resx b/Project/_Management/fLineCode.resx
index 5c2b494..7152d89 100644
--- a/Project/_Management/fLineCode.resx
+++ b/Project/_Management/fLineCode.resx
@@ -201,6 +201,9 @@
True
+
+ True
+
True
diff --git a/Project/dsMSSQL.Designer.cs b/Project/dsMSSQL.Designer.cs
index cae3adb..dcc2c21 100644
--- a/Project/dsMSSQL.Designer.cs
+++ b/Project/dsMSSQL.Designer.cs
@@ -2450,6 +2450,8 @@ namespace Project {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public LineCodeDataTable() {
@@ -2555,6 +2557,14 @@ namespace Project {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2592,7 +2602,7 @@ namespace Project {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public LineCodeRow AddLineCodeRow(string code, string team, string part, string memo, string wuid, System.DateTime wdate, bool except, string plant) {
+ public LineCodeRow AddLineCodeRow(string code, string team, string part, string memo, string wuid, System.DateTime wdate, bool except, string plant, string grp2) {
LineCodeRow rowLineCodeRow = ((LineCodeRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2603,7 +2613,8 @@ namespace Project {
wuid,
wdate,
except,
- plant};
+ plant,
+ grp2};
rowLineCodeRow.ItemArray = columnValuesArray;
this.Rows.Add(rowLineCodeRow);
return rowLineCodeRow;
@@ -2642,6 +2653,7 @@ namespace Project {
this.columnwdate = base.Columns["wdate"];
this.columnexcept = base.Columns["except"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2665,6 +2677,8 @@ namespace Project {
base.Columns.Add(this.columnexcept);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -2681,6 +2695,7 @@ namespace Project {
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6251,6 +6266,22 @@ namespace Project {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ if (this.Isgrp2Null()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableLineCode.grp2Column]));
+ }
+ }
+ set {
+ this[this.tableLineCode.grp2Column] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IscodeNull() {
@@ -6322,6 +6353,18 @@ namespace Project {
public void SetplantNull() {
this[this.tableLineCode.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableLineCode.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableLineCode.grp2Column] = global::System.Convert.DBNull;
+ }
}
///
@@ -11446,10 +11489,11 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj
tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("except", "except");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -11466,10 +11510,12 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [LineCode] ([code], [team], [part], [except], [memo], [wuid], [wdate], [plant]) VALUES (@code, @team, @part, @except, @memo, @wuid, @wdate, @plant);
-SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [LineCode] ([code], [team], [part], [except], [memo], [wuid], [wdate], [plant], [grp2]) VALUES (@code, @team, @part, @except, @memo, @wuid, @wdate, @plant, @grp2);
+SELECT idx, code, team, part, [except], memo, wuid, wdate, plant, grp2 FROM LineCode WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "team", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -11479,10 +11525,11 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = @"UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode WHERE (idx = @idx)";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [plant] = @plant, [grp2] = @grp2 WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)));
+SELECT idx, code, team, part, [except], memo, wuid, wdate, plant, grp2 FROM LineCode WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "team", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -11492,6 +11539,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -11507,6 +11555,8 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -11523,8 +11573,8 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT idx, code, team, part, [except], memo, wuid, wdate, plant\r\nFROM LineC" +
- "ode";
+ this._commandCollection[0].CommandText = "SELECT idx, code, team, part, [except], memo, wuid, wdate, plant, grp2\r\nFROM " +
+ " LineCode";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
@@ -11585,7 +11635,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(int Original_idx, string Original_code, string Original_team, string Original_part, global::System.Nullable Original_except, string Original_memo, string Original_wuid, System.DateTime Original_wdate, string Original_plant) {
+ public virtual int Delete(int Original_idx, string Original_code, string Original_team, string Original_part, global::System.Nullable Original_except, string Original_memo, string Original_wuid, System.DateTime Original_wdate, string Original_plant, string Original_grp2) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_code == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -11642,6 +11692,14 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_plant));
}
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_grp2));
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -11662,7 +11720,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(string code, string team, string part, global::System.Nullable except, string memo, string wuid, System.DateTime wdate, string plant) {
+ public virtual int Insert(string code, string team, string part, global::System.Nullable except, string memo, string wuid, System.DateTime wdate, string plant, string grp2) {
if ((code == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -11706,6 +11764,12 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(plant));
}
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(grp2));
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -11735,6 +11799,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
string wuid,
System.DateTime wdate,
string plant,
+ string grp2,
int Original_idx,
string Original_code,
string Original_team,
@@ -11744,6 +11809,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
string Original_wuid,
System.DateTime Original_wdate,
string Original_plant,
+ string Original_grp2,
int idx) {
if ((code == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -11788,63 +11854,77 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(plant));
}
- this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idx));
- if ((Original_code == null)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_code));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(grp2));
+ }
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idx));
+ if ((Original_code == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_code));
}
if ((Original_team == null)) {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_team));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_team));
}
if ((Original_part == null)) {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_part));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_part));
}
if ((Original_except.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_except.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
}
if ((Original_memo == null)) {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_wdate));
if ((Original_plant == null)) {
- this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_plant));
}
- this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(idx));
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_grp2));
+ }
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -11874,6 +11954,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
string wuid,
System.DateTime wdate,
string plant,
+ string grp2,
int Original_idx,
string Original_code,
string Original_team,
@@ -11882,8 +11963,9 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
string Original_memo,
string Original_wuid,
System.DateTime Original_wdate,
- string Original_plant) {
- return this.Update(code, team, part, except, memo, wuid, wdate, plant, Original_idx, Original_code, Original_team, Original_part, Original_except, Original_memo, Original_wuid, Original_wdate, Original_plant, Original_idx);
+ string Original_plant,
+ string Original_grp2) {
+ return this.Update(code, team, part, except, memo, wuid, wdate, plant, grp2, Original_idx, Original_code, Original_team, Original_part, Original_except, Original_memo, Original_wuid, Original_wdate, Original_plant, Original_grp2, Original_idx);
}
}
diff --git a/Project/dsMSSQL.xsd b/Project/dsMSSQL.xsd
index 4a22a10..37fa1ba 100644
--- a/Project/dsMSSQL.xsd
+++ b/Project/dsMSSQL.xsd
@@ -591,7 +591,7 @@ ORDER BY pdate
- DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))
+ DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)))
@@ -608,13 +608,15 @@ ORDER BY pdate
+
+
- INSERT INTO [LineCode] ([code], [team], [part], [except], [memo], [wuid], [wdate], [plant]) VALUES (@code, @team, @part, @except, @memo, @wuid, @wdate, @plant);
-SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [LineCode] ([code], [team], [part], [except], [memo], [wuid], [wdate], [plant], [grp2]) VALUES (@code, @team, @part, @except, @memo, @wuid, @wdate, @plant, @grp2);
+SELECT idx, code, team, part, [except], memo, wuid, wdate, plant, grp2 FROM LineCode WHERE (idx = SCOPE_IDENTITY())
@@ -624,20 +626,21 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
+
- SELECT idx, code, team, part, [except], memo, wuid, wdate, plant
+ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant, grp2
FROM LineCode
- UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode WHERE (idx = @idx)
+ UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [plant] = @plant, [grp2] = @grp2 WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)));
+SELECT idx, code, team, part, [except], memo, wuid, wdate, plant, grp2 FROM LineCode WHERE (idx = @idx)
@@ -647,6 +650,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
+
@@ -662,6 +666,8 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
+
+
@@ -678,6 +684,7 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate, plant FROM LineCode W
+
@@ -1142,7 +1149,7 @@ WHERE (idx = @idx)
-
+
@@ -1283,7 +1290,7 @@ WHERE (idx = @idx)
-
+
@@ -1354,7 +1361,7 @@ WHERE (idx = @idx)
-
+
@@ -1412,7 +1419,7 @@ WHERE (idx = @idx)
-
+
@@ -1482,7 +1489,7 @@ WHERE (idx = @idx)
-
+
@@ -1530,10 +1537,17 @@ WHERE (idx = @idx)
+
+
+
+
+
+
+
-
+
@@ -1562,7 +1576,7 @@ WHERE (idx = @idx)
-
+
@@ -1678,7 +1692,7 @@ WHERE (idx = @idx)
-
+
@@ -1717,7 +1731,7 @@ WHERE (idx = @idx)
-
+
diff --git a/Project/dsMSSQL.xss b/Project/dsMSSQL.xss
index 9f91642..2b2c7b5 100644
--- a/Project/dsMSSQL.xss
+++ b/Project/dsMSSQL.xss
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs
index c1c892d..f03957f 100644
--- a/Project/fMain.Designer.cs
+++ b/Project/fMain.Designer.cs
@@ -73,6 +73,8 @@
this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.잉여장비ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.otherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.summaryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.aLLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
this.라인코드관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.휴가관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -121,7 +123,6 @@
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
- this.summaryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmTab.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
@@ -440,6 +441,7 @@
this.잉여장비ToolStripMenuItem,
this.otherToolStripMenuItem,
this.summaryToolStripMenuItem,
+ this.aLLToolStripMenuItem,
this.toolStripMenuItem2,
this.라인코드관리ToolStripMenuItem});
this.mn_eq.Image = ((System.Drawing.Image)(resources.GetObject("mn_eq.Image")));
@@ -449,6 +451,7 @@
//
// dataFOLToolStripMenuItem
//
+ this.dataFOLToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.dataFOLToolStripMenuItem.Name = "dataFOLToolStripMenuItem";
this.dataFOLToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.dataFOLToolStripMenuItem.Text = "FOL";
@@ -456,6 +459,7 @@
//
// dataMoldEOLToolStripMenuItem
//
+ this.dataMoldEOLToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.dataMoldEOLToolStripMenuItem.Name = "dataMoldEOLToolStripMenuItem";
this.dataMoldEOLToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.dataMoldEOLToolStripMenuItem.Text = "MOLD & EOL";
@@ -463,6 +467,7 @@
//
// dataToolStripMenuItem
//
+ this.dataToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.dataToolStripMenuItem.Name = "dataToolStripMenuItem";
this.dataToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.dataToolStripMenuItem.Text = "BUMP";
@@ -470,6 +475,7 @@
//
// 잉여장비ToolStripMenuItem
//
+ this.잉여장비ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.잉여장비ToolStripMenuItem.Name = "잉여장비ToolStripMenuItem";
this.잉여장비ToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.잉여장비ToolStripMenuItem.Text = "잉여장비";
@@ -477,11 +483,27 @@
//
// otherToolStripMenuItem
//
+ this.otherToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.otherToolStripMenuItem.Name = "otherToolStripMenuItem";
this.otherToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.otherToolStripMenuItem.Text = "K3/K5";
this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click);
//
+ // summaryToolStripMenuItem
+ //
+ this.summaryToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
+ this.summaryToolStripMenuItem.Name = "summaryToolStripMenuItem";
+ this.summaryToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
+ this.summaryToolStripMenuItem.Text = "Summary";
+ this.summaryToolStripMenuItem.Click += new System.EventHandler(this.summaryToolStripMenuItem_Click);
+ //
+ // aLLToolStripMenuItem
+ //
+ this.aLLToolStripMenuItem.Name = "aLLToolStripMenuItem";
+ this.aLLToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
+ this.aLLToolStripMenuItem.Text = "ALL";
+ this.aLLToolStripMenuItem.Click += new System.EventHandler(this.aLLToolStripMenuItem_Click);
+ //
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
@@ -904,13 +926,6 @@
this.toolStripButton2.Text = "품목정보";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
//
- // summaryToolStripMenuItem
- //
- this.summaryToolStripMenuItem.Name = "summaryToolStripMenuItem";
- this.summaryToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
- this.summaryToolStripMenuItem.Text = "Summary";
- this.summaryToolStripMenuItem.Click += new System.EventHandler(this.summaryToolStripMenuItem_Click);
- //
// fMain
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1035,6 +1050,7 @@
private System.Windows.Forms.ToolStripMenuItem accessDBToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem otherToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem summaryToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem aLLToolStripMenuItem;
}
}
diff --git a/Project/fMain.cs b/Project/fMain.cs
index b646ed5..3593ed5 100644
--- a/Project/fMain.cs
+++ b/Project/fMain.cs
@@ -1171,5 +1171,12 @@ namespace Project
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipmentSummary(), "장비전체요약");
}
+
+ private void aLLToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ string formkey = "EQALL";
+ if (!ShowForm(formkey))
+ AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.ALL), "ALL");
+ }
}
}
diff --git a/Project/fMain.resx b/Project/fMain.resx
index 436292d..d4de568 100644
--- a/Project/fMain.resx
+++ b/Project/fMain.resx
@@ -374,53 +374,53 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB
- QwoXhVCNrK1o6oJog+iDkJrIvjRlkJQYgTUGI4Teo4g1o31bEGzqiG3e3bteTs/53StLVOiByz7ce55z
- nnPO1P9OzlC+r4aal9+iPHbaUL9nDfXHfb35yMdjWUMVCCj0HsNi8ByWBi9gOeyHvIP72foRNu9Ck8rn
- W7djMXAWpZt+lEcCKIf2YCXSip9zA6gFN1mQ26JiGUOZhTMnUIr048e1dphRD+yRXaiPOc+v1CDs6xss
- yDWpaZFWXxo4j/LdAKrhHai7QHtqL6xnXai9Og47P4rK2+a1C8hM8PLQRVQmgrDueBxgog2150dgZnpg
- fjmtH/v7OCrvPY0FvJmyyUywPbxTg60nHTA/ejXoW8aLhy+7EUq1YfTDELbF/jmBhvFmyl5ltpLdMLOn
- sCLg6Rdd8M3tRsfjFuyfbUb0XQhbJ9wFjIqZlm5dQvVGS4NZwMXPPbid3odOF3gyHkDfeALx5CccujLj
- LGDOjKoau6oN482UTWaCDwjw8IOj6LuXwGQyi6nkAu4/zToLhN3HkjBnRkV2bZgrm8wEh+MpDYxOvkFv
- JCnguHWwf+Y1zZtnw1gS5syo6DYN482UTWaC/cNpDey8/KhdS+eIgiLryYbp2yVnstNtGsabKZvMBLuw
- xsgCm91mPbV8KQkXMCrNLoaRnbLXMK8O7+cfg93W9ZSGsSTMmVHRbcewDdg5jE9U6D8Gu816smEsCXOm
- 03y0YetGqb9hx/RWhn9qhQAAAABJRU5ErkJggg==
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPvS1NhGH1B71/Qx/6HPqQrIYKEsDIVoiih
+ IYmLQihH1lY0dUK0QfhBSE1kX5wyUGoUgXUZjBD6HUWsGe3bgmBTR2zz7t5pnd7z3itLVPCByz7ce55z
+ nnPOxF4nownPD00syt+8fKykJv7ENfHXeb37yI8n0prIEZDrOY9l/1WsDF7HatAL+Q7OZ9tHsrmX6kU2
+ 23QAy74rKNzzojjmQzFwFGuhJqwvDKDi32VBpk5EUpowcpc7UQj14/edFhhhF6yxw6hO2M9GYhDW3R0W
+ ZOrFvJRWXRm4huJDH8rBg6g6QGv2GMyX7ai8vQArO47Sh4atC8hM8OpQH0pTfpgjLhsYa0bl1VkYqS4Y
+ 37vVY/2aROmTq7aAN1M2mQm2Rg8psPm8FcYXtwL9TLnx+E0HAolmjH8ewv7IfyfQMN5M2ZvMpt4BI30J
+ axI8/7odnoUjaH3WiBNPGxD+GMC+KWcBo2Kmhfs3UB5urDFLcP5bFx4kj6PNAV6M+tA7GUNU/4rTt+L2
+ AubMqMqR28ow3kzZZCb4pASemTuH3kcxzOhpzOpLmH6RthdIdg9LwpwZFdmVYY5sMhMcjCYUMDzzHj0h
+ XYKj5qn++Duat8iGsSTMmVHRbRrGmymbzAR7R5MK2HbzSYuSzpEK8qwnG6ZulzmTnW7TMN5M2WQm2IHV
+ Ri6w2G3WU8mXJeECRqXYpWFkp+wtzJvD+/nHYLdVPWXDWBLmzKjotm3YDuwcxidVqD8Gu816smEsCXOm
+ 03yUYdtGiH9Vo/RQZzaIAAAAAABJRU5ErkJggg==
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKTSURBVDhPlVJRSFNRGL5PEVE91Us99aTWU0S3iCJK0N6i
- hxAqGgy2hlPadIri5ly4Nadjd7q55XRymVdqM5sOQmUPbjqX00J0oEwwRd96EgYhW32dc7yJUlF9cLjw
- nfv9//f9/+H+hOfSLWhD1/A4UIY7vgvfZPrfoRgsKUQ/9eJNRsBt9/n/L/BMvIK3Hz2QPjhR7joLmeZC
- oRCCwSD6+vrg9XqfcKlUCvTMzMxgenoaeukuqsWbML57iNcLAoIpO54O3sBV22lcajvF/i0UCtjZ2YEg
- CFludnYWxWIRe3t77KgGL8MSe4TwghtC3ADr+2r0JtqgEMtx0XymuLu7i7W1NXR2dn7u6Oio5pLJJCO2
- t7eRTqextbWFKn8pDJH7ENMO+JIvoAxVEFdVGBkZQTabRSQSARGXy6k4Lh6PY25uDrFYjE8kEhgdHeUr
- hXPQSBVQS/dQZjqRouLu7m5ekiSW32q1lspyjpuYmMDy8jKbwcbGBqamppBbz4F/eRwPvNcPOg8NDWFp
- aYl2h9lsPinL9xGNRpHP5zE5OQnShR8fH0cgEOCpXafTyVOx3W7n+/v70draerCVA4TDYWMmk0EulwMV
- r66ugnBYWVkBXR3tTApicXERTU1N32XZUYiiiIGBAfj9fvT09MDlcsHhcNC8sFgs1DbGxsZgMBh+X+Bv
- IAWO1dfXo6am5otM7YPkKnlF4PP56KRpZpoX7e3trGtLSwsaGxtRV1fHsms0mjwT/gRZi5F+3W63rqur
- a5OIdeziEPR6va62tnZTq9Xq1Gr1V5neh8fjMZJnydY1Pz+P4eFhNunm5mY0NDSAiEEMsmdM3j8UCsW6
- LD0Km83GhmUymX5xQGzrVCoVlErloRVy3A8sRMI1VOLCmwAAAABJRU5ErkJggg==
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKUSURBVDhPlVJRSFNRGL5PEVE91Us99RBpPUV0iyiEBO0t
+ egihosFgazilTacobs6FW3M6dqebW04nl3mlNrPpIFT24KZzOS1EB8oEU/StJ2EQstXXOcebKBXVB4cL
+ 37nf/3/f/x/uT3gu3YE2dAOPA6Uo8134JtP/DsXgxUL0Uy/eZASUuc//f4Fn4jW8/eiB9MGJctdZyDQX
+ CoUQDAbR19cHr9f7hEulUqBnZmYG09PT0Et3US3ehvHdQ7xeEBBM2fF08Bau207jStsp9m+hUMDOzg4E
+ Qchys7OzKBaL2NvbY0c1eBWW2COEF9wQ4gZY31ejN9EGhViOy+Yzxd3dXaytraGzs/NzR0dHNZdMJhmx
+ vb2NdDqNra0tVPlLYIjch5h2wJd8AWWogriqwsjICLLZLCKRCIi4XE7FcfF4HHNzc4jFYnwikcDo6Chf
+ KZyDRqqAWrqHUtOJFBV3d3fzkiSx/FartUSWc9zExASWl5fZDDY2NjA1NYXceg78y+N44L150HloaAhL
+ S0u0O8xm80lZvo9oNIp8Po/JyUmQLvz4+DgCgQBP7TqdTp6K7XY739/fj9bW1oOtHCAcDhszmQxyuRyo
+ eHV1FYTDysoK6OpoZ1IQi4uLaGpq+i7LjkIURQwMDMDv96OnpwculwsOh4PmhcViobYxNjYGg8Hw+wJ/
+ AylwrL6+HjU1NV9kah8k16VXBD6fj06aZqZ50d7ezrq2tLSgsbERdXV1LLtGo8kz4U+QtRjp1+1267q6
+ ujaJWMcuDkGv1+tqa2s3tVqtTq1Wf5XpfXg8HiN5lmxd8/PzGB4eZpNubm5GQ0MDiBjEIHvG5P1DoVCs
+ y9KjsNlsbFgmk+kXB8S2TqVSQalUHlohx/0AHQbCMeRxeLIAAAAASUVORK5CYII=
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMUSURBVDhPfZNdTJtlGIZ7amJ2gGEVR382PUBQk0WXoNmy
- qBkjCtuYHfIzOj4YlJYfnZ10WGTU0dIWWqD8FCguQ0sRVtboZHSKQ7IZE90SXZh1qc51wWkxGM9IyPSy
- vOuSjRjv5D558tzX97zP+36ywUo16+2tUNMvqegtV9KjVdJVpsBVmo6zeBP2ok1YCx/jPU0arfsfRQD+
- +Mr9377YydJ8B/ELTn7/zM7tczZ+PXuCxZCFW6dbaCmQC8Bi5MxR4vNWYhOFdz1+gJv+17hxqoCffXuI
- 9r/K9e5cIs5dXGt7kR9dGn7xm2neKb+TAKhKpm27xRfDTduYPvYcprxUgke2Mt6wlVHDMwxXPy1qbm0m
- 9uIMvvc1EmzM4Z09Gwdka/JK6stXRqtZmHybqfonRPMHui2MVG5m4JCa7oMqUWvTKPnQcpBLzvJEOGXp
- SM6GFAHokxTbx03Z3P68nVDT86J5qGIzvWUqOotV2AqVotaq2cK3/W/xvj6bxrxHSkT4nnq0irELrgN8
- 7TMwN1jPjMfAJ916Qm49pztq+MihY9pVy8dNeZjyU79Mxu6qz5D58ICkDB0vU9zpfCX97/VXtbbt5r3y
- tTNzLD/1H8v+NHcyKpP5KtNTBiX1n8Hml5j36h7w3ICO2X4d53urOddTxdmuKqacEn11L9BaID8hAIOH
- VNGpll1cHK4leHQbEw1PMV6fhb8ui1OGLEZ0mXgPP4lHysClzWDYuJsxm0RXTXZiInlI1l2W9tdC0ETQ
- +CxjNY+LZf2fm/cqcBteZrKjVhxJAG7N2Yl92sSNqTf5aaKOaEDH9dHD/DCiZcFbwlVPId+59nHFns/l
- tly+sSQe1IhpbR9JwBftiVApkZP7ONlrw+PxCM86XueSJYfj75oxGo3o9XqWoqXC13wmMZEA3DxvZXHW
- QSzcTsDXRSwWIxKJ4Pf7cTgchMNhVlZWqKqs4OpQowg/ALj/j3M15DIzM0M8Hmd1dVV4eXmZQCCATrND
- jH3/TsRNrJfVan3DbDZH740tSdJvRUVFQxqN5qFkS1Iy2b+oGDVYvNay8wAAAABJRU5ErkJggg==
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMVSURBVDhPfZNdTJNnGIZ7arLsgAU7Jv3R7QBhW2KmCS7z
+ YFtEkoGKq4wfqX4glJafzdVRWRlSpaUttED5KVA04koZWtZsDqkbkxFdlmyabAbXmW7OGuYsC8vOSIh6
+ rbzWRMmyO7lPnjz39T3v876fbKBCzWp7y9X0SSp6Dijp1irpLFPgKk3HWbwOe9E6rIXPcUyTRsueZxGA
+ v751/7cvdbAw2078opO7X9q5c97GH+eOMx+ycPtsM80FcgGYj3x6mPisldh44UOP7eWW/21unirgN99O
+ on1vcaMrl4hzO9dbX+cXl4bf/WaatsnvJQCqkknbDvHFcOMWJo9sxpSXSvDQJsbqNzFieJmhqpdEza3N
+ xF6cwU++BoINOXy4c22/bEVeSX3l6kgVc2c+YKLuBdF8WreB4Yr19O9X07VPJWqtGiUfW/Zx2XkgEU5Z
+ OJTzdIoA9EqK18ZM2dz5qo1Q41bRPFi+np4yFR3FKmyFSlFr0Wzgh773OaHPpiHvmRIRfqRurWL0omsv
+ 3/kMzAzUMeUx8HmXnpBbz9n2aj5x6Jh01fBZYx6m/NRvkrGH6jVkPtUvKUNHyxT3OnLT76++qpVtN+2S
+ r5yZI/mpDyx70tzJqEzmq0hPGZDUfweb3mDWq3vCM/06pvt0XOip4nx3Jec6K5lwSvTWvkpLgfy4AAzs
+ V0UnmrdzaaiG4OEtjNe/yFhdFv7aLE4ZshjWZeI9uBGPlIFLm8GQcQejNonO6uzERPKQrKss7Z+5oImg
+ 8RVGq58Xy/o/N+1S4Da8yZn2GnEkAbg9Yyf2RSM3J97j1/FaogEdN0YO8vOwljlvCdc8hfzo2s1Vez5X
+ WnP53pJ4UMOmlX0kAV+3JUKlRE7u5mSPDY/HIzzteIfLlhyOfmTGaDSi1+tZiJYKX/eZxEQCcOuClflp
+ B7FwGwFfJ7FYjEgkgt/vx+FwEA6HWVpaorKinGuDDSL8BODxP85Vn8vU1BTxeJzl5WXhxcVFAoEAOs02
+ MfbjOxE3sVpWq/Vds9kcfTS2JEl/FhUVDWo0mjXJlqRksn8BnQo1VNrG3KYAAAAASUVORK5CYII=
diff --git a/SubProject/FEQ0000/Equipment/ReportA.rdlc b/SubProject/FEQ0000/Equipment/ReportA.rdlc
new file mode 100644
index 0000000..5e3fb4d
--- /dev/null
+++ b/SubProject/FEQ0000/Equipment/ReportA.rdlc
@@ -0,0 +1,1472 @@
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Process
+
+
+
+
+
+
+ Textbox2
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 4
+
+
+
+
+
+ true
+ true
+
+
+
+
+ G-TTL
+
+
+
+
+
+
+ Textbox3
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 4
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Manufacturer
+
+
+
+
+
+
+ Textbox5
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 4
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Model
+
+
+
+
+
+
+ Textbox6
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.65273cm
+
+
+ 1.17708cm
+
+
+ 1.01833cm
+
+
+ 1.12416cm
+
+
+ 3.21437cm
+
+
+
+
+ 0.6cm
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ Textbox22
+
+
+ WhiteSmoke
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ Textbox18
+
+
+ WhiteSmoke
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt1
+
+
+ WhiteSmoke
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Remark.Value
+
+
+
+
+
+
+ Remark
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.6cm
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt4
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ Textbox24
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ Textbox20
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt5
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox9
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+ =Fields!plant.Value
+
+
+
+
+ =Fields!plant.Value
+
+
+
+ 0.6cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!plant.Value
+
+
+
+
+
+
+ plant
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!grp2.Value
+
+
+
+
+ =Fields!grp2.Value
+
+
+
+ 0.6cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!grp2.Value
+
+
+
+
+
+
+ grp2
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!lineT.Value
+
+
+
+
+ =Fields!lineT.Value
+
+
+
+ 0.6cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!lineT.Value
+
+
+
+
+
+
+ team
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!lineP.Value
+
+
+
+
+ =Fields!lineP.Value
+
+
+
+ 0.6cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!lineP.Value
+
+
+
+
+
+
+ part
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.2cm
+
+
+ true
+ true
+
+
+
+
+ Sub
+Total
+
+
+
+
+
+
+ Textbox19
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+ 1.8cm
+
+
+ true
+ true
+
+
+
+
+ Sub
+Total
+
+
+
+
+
+
+ Textbox4
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+ 2.4cm
+
+
+ true
+ true
+
+
+
+
+ Total
+
+
+
+
+
+
+ Textbox12
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 2.4cm
+
+
+ true
+ true
+
+
+
+
+ Remark
+
+
+
+
+
+
+ Textbox13
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+ =Fields!grp.Value
+
+
+
+
+ =Fields!grp.Value
+
+
+
+ 4.96062cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!grp.Value
+
+
+
+
+
+
+ grp
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 1.46812cm
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt6
+
+
+ Khaki
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!manu.Value
+
+
+
+
+ =Fields!manu.Value
+
+
+
+
+
+ 3.02917cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!manu.Value
+
+
+
+
+
+
+ manu
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!model.Value
+
+
+
+
+ =Fields!model.Value
+
+
+
+ 3.26729cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!model.Value
+
+
+
+
+
+
+ model
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.96062cm
+
+
+ true
+ true
+
+
+
+
+ 합계
+
+
+
+
+
+
+ Textbox10
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 1.46812cm
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ Textbox23
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 3.02917cm
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox11
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 3.26729cm
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox34
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Before
+
+
+
+ true
+ true
+ true
+ true
+ DataSet1
+ 3.6cm
+ 20.91187cm
+
+
+ 맑은 고딕
+ 8pt
+
+
+
+ 1.41732in
+
+
+ 8.75385in
+
+ 29.7cm
+ 21cm
+ 1cm
+ 1cm
+ 1cm
+ 1cm
+ 0.13cm
+
+
+ 0
+
+
+
+ System.Data.DataSet
+ /* Local Connection */
+
+ 8657b62b-4a7a-40db-8710-5d7800626dfb
+
+
+
+
+
+ dsEQ
+ /* Local Query */
+
+
+
+ pdate
+ System.String
+
+
+ grp
+ System.String
+
+
+ manu
+ System.String
+
+
+ model
+ System.String
+
+
+ linecode
+ System.String
+
+
+ lineT
+ System.String
+
+
+ lineP
+ System.String
+
+
+ cnt
+ System.Int32
+
+
+ Remark
+ System.String
+
+
+ plant
+ System.String
+
+
+ grp2
+ System.String
+
+
+
+ dsEQ
+ D:\Source\##### 완료아이템\(014) GroupWare\Source\SubProject\FEQ0000\dsEQ.xsd
+ vEquStockAll
+ Fill
+ GetData
+ vEquStockAllTableAdapter
+
+
+
+ Cm
+ 28ae20b9-a02f-4a32-bdb9-0d695fb319b9
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/ReportB.rdlc b/SubProject/FEQ0000/Equipment/ReportB.rdlc
index 1673f8d..2c83d49 100644
--- a/SubProject/FEQ0000/Equipment/ReportB.rdlc
+++ b/SubProject/FEQ0000/Equipment/ReportB.rdlc
@@ -567,6 +567,7 @@
2pt
+ true
@@ -629,7 +630,6 @@
=Fields!lineP.Value
- Descending
diff --git a/SubProject/FEQ0000/Equipment/fEquipment.Designer.cs b/SubProject/FEQ0000/Equipment/fEquipment.Designer.cs
index 90511aa..38594cc 100644
--- a/SubProject/FEQ0000/Equipment/fEquipment.Designer.cs
+++ b/SubProject/FEQ0000/Equipment/fEquipment.Designer.cs
@@ -54,6 +54,24 @@
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.prb1 = new System.Windows.Forms.ToolStripProgressBar();
this.dv = new System.Windows.Forms.DataGridView();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.ing = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.plant = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.grp2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.flag = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.lineT = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.lineP = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dvc_param = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.autosizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label1 = new System.Windows.Forms.Label();
@@ -71,6 +89,14 @@
this.radexpa = new System.Windows.Forms.RadioButton();
this.radexpn = new System.Windows.Forms.RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.radioButton1 = new System.Windows.Forms.RadioButton();
+ this.radioButton2 = new System.Windows.Forms.RadioButton();
+ this.radioButton3 = new System.Windows.Forms.RadioButton();
+ this.cmbCate = new System.Windows.Forms.ComboBox();
+ this.cmbGrp2 = new System.Windows.Forms.Label();
+ this.cmbPlant = new System.Windows.Forms.ComboBox();
+ this.label6 = new System.Windows.Forms.Label();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
@@ -95,23 +121,8 @@
this.taIng = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentIngTableAdapter();
this.bsOther = new System.Windows.Forms.BindingSource(this.components);
this.taOther = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter();
- this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.plant = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.flag = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.lineT = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.lineP = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dvc_param = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.taAll = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentTableAdapter();
+ this.bsAll = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsB)).BeginInit();
@@ -120,11 +131,13 @@
this.cm1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel1.SuspendLayout();
+ this.groupBox2.SuspendLayout();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsF)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsME)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsIng)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsOther)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsAll)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -300,8 +313,8 @@
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(150, 22);
- this.toolStripButton1.Text = "Tem/Part/Plant Update";
+ this.toolStripButton1.Size = new System.Drawing.Size(181, 22);
+ this.toolStripButton1.Text = "Tem/Part/Plant/Grp2 Update";
this.toolStripButton1.ToolTipText = "Tem/Part 정보는 서버의 정보를 기준으로 변경 합니다.";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
//
@@ -318,8 +331,10 @@
this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
+ this.ing,
+ this.except,
this.plant,
- this.dataGridViewTextBoxColumn2,
+ this.grp2,
this.dataGridViewTextBoxColumn3,
this.flag,
this.dataGridViewTextBoxColumn4,
@@ -332,7 +347,6 @@
this.dvc_param,
this.dataGridViewTextBoxColumn7,
this.primary,
- this.except,
this.memo});
this.dv.ContextMenuStrip = this.cm1;
this.dv.DataSource = this.bsB;
@@ -343,6 +357,131 @@
this.dv.Size = new System.Drawing.Size(1105, 431);
this.dv.TabIndex = 1;
//
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
+ this.dataGridViewTextBoxColumn1.HeaderText = "idx";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
+ this.dataGridViewTextBoxColumn1.Width = 47;
+ //
+ // ing
+ //
+ this.ing.DataPropertyName = "ing";
+ this.ing.HeaderText = "잉여";
+ this.ing.Name = "ing";
+ //
+ // except
+ //
+ this.except.DataPropertyName = "except";
+ this.except.HeaderText = "제외";
+ this.except.Name = "except";
+ this.except.Width = 49;
+ //
+ // plant
+ //
+ this.plant.DataPropertyName = "plant";
+ this.plant.HeaderText = "plant";
+ this.plant.Name = "plant";
+ //
+ // grp2
+ //
+ this.grp2.DataPropertyName = "grp2";
+ this.grp2.HeaderText = "Cate";
+ this.grp2.Name = "grp2";
+ //
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
+ this.dataGridViewTextBoxColumn3.HeaderText = "asset";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ this.dataGridViewTextBoxColumn3.Width = 61;
+ //
+ // flag
+ //
+ this.flag.DataPropertyName = "flag";
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.flag.DefaultCellStyle = dataGridViewCellStyle2;
+ this.flag.HeaderText = "flag";
+ this.flag.Name = "flag";
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
+ this.dataGridViewTextBoxColumn4.HeaderText = "grp";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.Width = 48;
+ //
+ // type
+ //
+ this.type.DataPropertyName = "type";
+ this.type.HeaderText = "type";
+ this.type.Name = "type";
+ this.type.Width = 54;
+ //
+ // dataGridViewTextBoxColumn8
+ //
+ this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
+ this.dataGridViewTextBoxColumn8.HeaderText = "manu";
+ this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+ this.dataGridViewTextBoxColumn8.Width = 62;
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
+ this.dataGridViewTextBoxColumn5.HeaderText = "model";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.Width = 65;
+ //
+ // dataGridViewTextBoxColumn6
+ //
+ this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
+ this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
+ this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+ this.dataGridViewTextBoxColumn6.Width = 78;
+ //
+ // lineT
+ //
+ this.lineT.DataPropertyName = "lineT";
+ this.lineT.HeaderText = "Team";
+ this.lineT.Name = "lineT";
+ //
+ // lineP
+ //
+ this.lineP.DataPropertyName = "lineP";
+ this.lineP.HeaderText = "Part";
+ this.lineP.Name = "lineP";
+ //
+ // dvc_param
+ //
+ this.dvc_param.DataPropertyName = "param1";
+ this.dvc_param.HeaderText = "Wafer Size";
+ this.dvc_param.Name = "dvc_param";
+ //
+ // dataGridViewTextBoxColumn7
+ //
+ this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
+ this.dataGridViewTextBoxColumn7.HeaderText = "serial";
+ this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+ this.dataGridViewTextBoxColumn7.Width = 61;
+ //
+ // primary
+ //
+ this.primary.DataPropertyName = "primary";
+ this.primary.HeaderText = "primary";
+ this.primary.Name = "primary";
+ this.primary.Width = 54;
+ //
+ // memo
+ //
+ this.memo.DataPropertyName = "memo";
+ this.memo.HeaderText = "memo";
+ this.memo.Name = "memo";
+ this.memo.Width = 66;
+ //
// cm1
//
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -360,7 +499,7 @@
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(40, 36);
+ this.label1.Location = new System.Drawing.Point(40, 38);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(25, 12);
this.label1.TabIndex = 0;
@@ -371,7 +510,7 @@
this.cmbGrp.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbGrp.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbGrp.FormattingEnabled = true;
- this.cmbGrp.Location = new System.Drawing.Point(72, 32);
+ this.cmbGrp.Location = new System.Drawing.Point(72, 35);
this.cmbGrp.Name = "cmbGrp";
this.cmbGrp.Size = new System.Drawing.Size(142, 20);
this.cmbGrp.TabIndex = 1;
@@ -379,7 +518,7 @@
// label2
//
this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(8, 62);
+ this.label2.Location = new System.Drawing.Point(8, 61);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 12);
this.label2.TabIndex = 2;
@@ -398,7 +537,7 @@
// label3
//
this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(28, 91);
+ this.label3.Location = new System.Drawing.Point(28, 84);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(37, 12);
this.label3.TabIndex = 4;
@@ -409,7 +548,7 @@
this.cmbManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbManu.FormattingEnabled = true;
- this.cmbManu.Location = new System.Drawing.Point(72, 84);
+ this.cmbManu.Location = new System.Drawing.Point(72, 81);
this.cmbManu.Name = "cmbManu";
this.cmbManu.Size = new System.Drawing.Size(142, 20);
this.cmbManu.TabIndex = 5;
@@ -417,7 +556,7 @@
// label4
//
this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(31, 114);
+ this.label4.Location = new System.Drawing.Point(31, 107);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(34, 12);
this.label4.TabIndex = 6;
@@ -428,7 +567,7 @@
this.cmbType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbType.FormattingEnabled = true;
- this.cmbType.Location = new System.Drawing.Point(72, 110);
+ this.cmbType.Location = new System.Drawing.Point(72, 104);
this.cmbType.Name = "cmbType";
this.cmbType.Size = new System.Drawing.Size(142, 20);
this.cmbType.TabIndex = 7;
@@ -436,7 +575,7 @@
// label5
//
this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(21, 10);
+ this.label5.Location = new System.Drawing.Point(21, 15);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(44, 12);
this.label5.TabIndex = 8;
@@ -444,7 +583,7 @@
//
// tbSearch
//
- this.tbSearch.Location = new System.Drawing.Point(72, 5);
+ this.tbSearch.Location = new System.Drawing.Point(72, 11);
this.tbSearch.Name = "tbSearch";
this.tbSearch.Size = new System.Drawing.Size(142, 21);
this.tbSearch.TabIndex = 9;
@@ -454,7 +593,7 @@
this.groupBox1.Controls.Add(this.radexpy);
this.groupBox1.Controls.Add(this.radexpa);
this.groupBox1.Controls.Add(this.radexpn);
- this.groupBox1.Location = new System.Drawing.Point(220, 5);
+ this.groupBox1.Location = new System.Drawing.Point(237, 73);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(186, 48);
this.groupBox1.TabIndex = 13;
@@ -464,7 +603,7 @@
// radexpy
//
this.radexpy.AutoSize = true;
- this.radexpy.Location = new System.Drawing.Point(63, 19);
+ this.radexpy.Location = new System.Drawing.Point(66, 22);
this.radexpy.Name = "radexpy";
this.radexpy.Size = new System.Drawing.Size(45, 16);
this.radexpy.TabIndex = 12;
@@ -475,7 +614,7 @@
// radexpa
//
this.radexpa.AutoSize = true;
- this.radexpa.Location = new System.Drawing.Point(14, 21);
+ this.radexpa.Location = new System.Drawing.Point(14, 22);
this.radexpa.Name = "radexpa";
this.radexpa.Size = new System.Drawing.Size(36, 16);
this.radexpa.TabIndex = 12;
@@ -487,7 +626,7 @@
//
this.radexpn.AutoSize = true;
this.radexpn.Checked = true;
- this.radexpn.Location = new System.Drawing.Point(118, 21);
+ this.radexpn.Location = new System.Drawing.Point(130, 22);
this.radexpn.Name = "radexpn";
this.radexpn.Size = new System.Drawing.Size(39, 16);
this.radexpn.TabIndex = 12;
@@ -497,6 +636,11 @@
//
// panel1
//
+ this.panel1.Controls.Add(this.groupBox2);
+ this.panel1.Controls.Add(this.cmbCate);
+ this.panel1.Controls.Add(this.cmbGrp2);
+ this.panel1.Controls.Add(this.cmbPlant);
+ this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.groupBox1);
this.panel1.Controls.Add(this.tbSearch);
this.panel1.Controls.Add(this.label5);
@@ -515,6 +659,88 @@
this.panel1.TabIndex = 2;
this.panel1.Visible = false;
//
+ // groupBox2
+ //
+ this.groupBox2.Controls.Add(this.radioButton1);
+ this.groupBox2.Controls.Add(this.radioButton2);
+ this.groupBox2.Controls.Add(this.radioButton3);
+ this.groupBox2.Location = new System.Drawing.Point(431, 73);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Size = new System.Drawing.Size(186, 48);
+ this.groupBox2.TabIndex = 14;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "잉여";
+ //
+ // radioButton1
+ //
+ this.radioButton1.AutoSize = true;
+ this.radioButton1.Location = new System.Drawing.Point(66, 23);
+ this.radioButton1.Name = "radioButton1";
+ this.radioButton1.Size = new System.Drawing.Size(45, 16);
+ this.radioButton1.TabIndex = 12;
+ this.radioButton1.Text = "Yes";
+ this.radioButton1.UseVisualStyleBackColor = true;
+ //
+ // radioButton2
+ //
+ this.radioButton2.AutoSize = true;
+ this.radioButton2.Location = new System.Drawing.Point(14, 23);
+ this.radioButton2.Name = "radioButton2";
+ this.radioButton2.Size = new System.Drawing.Size(36, 16);
+ this.radioButton2.TabIndex = 12;
+ this.radioButton2.Text = "all";
+ this.radioButton2.UseVisualStyleBackColor = true;
+ //
+ // radioButton3
+ //
+ this.radioButton3.AutoSize = true;
+ this.radioButton3.Checked = true;
+ this.radioButton3.Location = new System.Drawing.Point(126, 23);
+ this.radioButton3.Name = "radioButton3";
+ this.radioButton3.Size = new System.Drawing.Size(39, 16);
+ this.radioButton3.TabIndex = 12;
+ this.radioButton3.TabStop = true;
+ this.radioButton3.Text = "No";
+ this.radioButton3.UseVisualStyleBackColor = true;
+ //
+ // cmbCate
+ //
+ this.cmbCate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.cmbCate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.cmbCate.FormattingEnabled = true;
+ this.cmbCate.Location = new System.Drawing.Point(301, 39);
+ this.cmbCate.Name = "cmbCate";
+ this.cmbCate.Size = new System.Drawing.Size(142, 20);
+ this.cmbCate.TabIndex = 17;
+ //
+ // cmbGrp2
+ //
+ this.cmbGrp2.AutoSize = true;
+ this.cmbGrp2.Location = new System.Drawing.Point(237, 43);
+ this.cmbGrp2.Name = "cmbGrp2";
+ this.cmbGrp2.Size = new System.Drawing.Size(56, 12);
+ this.cmbGrp2.TabIndex = 16;
+ this.cmbGrp2.Text = "Category";
+ //
+ // cmbPlant
+ //
+ this.cmbPlant.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.cmbPlant.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.cmbPlant.FormattingEnabled = true;
+ this.cmbPlant.Location = new System.Drawing.Point(301, 16);
+ this.cmbPlant.Name = "cmbPlant";
+ this.cmbPlant.Size = new System.Drawing.Size(142, 20);
+ this.cmbPlant.TabIndex = 15;
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(237, 20);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(33, 12);
+ this.label6.TabIndex = 14;
+ this.label6.Text = "Plant";
+ //
// toolStrip1
//
this.toolStrip1.AutoSize = false;
@@ -661,6 +887,7 @@
this.tam.BackupDataSetBeforeUpdate = false;
this.tam.EETGW_EquipmentIngTableAdapter = null;
this.tam.EETGW_EquipmentOtherTableAdapter = null;
+ this.tam.EETGW_EquipmentTableAdapter = null;
this.tam.EquipmentBTableAdapter = this.taB;
this.tam.EquipmentFilterTableAdapter = null;
this.tam.EquipmentFTableAdapter = this.taF;
@@ -695,126 +922,14 @@
//
this.taOther.ClearBeforeFill = true;
//
- // dataGridViewTextBoxColumn1
+ // taAll
//
- this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewTextBoxColumn1.HeaderText = "idx";
- this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
- this.dataGridViewTextBoxColumn1.ReadOnly = true;
- this.dataGridViewTextBoxColumn1.Width = 47;
+ this.taAll.ClearBeforeFill = true;
//
- // plant
+ // bsAll
//
- this.plant.DataPropertyName = "plant";
- this.plant.HeaderText = "plant";
- this.plant.Name = "plant";
- //
- // dataGridViewTextBoxColumn2
- //
- this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
- this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
- this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
- this.dataGridViewTextBoxColumn2.Visible = false;
- this.dataGridViewTextBoxColumn2.Width = 61;
- //
- // dataGridViewTextBoxColumn3
- //
- this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
- this.dataGridViewTextBoxColumn3.HeaderText = "asset";
- this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
- this.dataGridViewTextBoxColumn3.Width = 61;
- //
- // flag
- //
- this.flag.DataPropertyName = "flag";
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- this.flag.DefaultCellStyle = dataGridViewCellStyle2;
- this.flag.HeaderText = "flag";
- this.flag.Name = "flag";
- //
- // dataGridViewTextBoxColumn4
- //
- this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
- this.dataGridViewTextBoxColumn4.HeaderText = "grp";
- this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
- this.dataGridViewTextBoxColumn4.Width = 48;
- //
- // type
- //
- this.type.DataPropertyName = "type";
- this.type.HeaderText = "type";
- this.type.Name = "type";
- this.type.Width = 54;
- //
- // dataGridViewTextBoxColumn8
- //
- this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
- this.dataGridViewTextBoxColumn8.HeaderText = "manu";
- this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
- this.dataGridViewTextBoxColumn8.Width = 62;
- //
- // dataGridViewTextBoxColumn5
- //
- this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
- this.dataGridViewTextBoxColumn5.HeaderText = "model";
- this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
- this.dataGridViewTextBoxColumn5.Width = 65;
- //
- // dataGridViewTextBoxColumn6
- //
- this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
- this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
- this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
- this.dataGridViewTextBoxColumn6.Width = 78;
- //
- // lineT
- //
- this.lineT.DataPropertyName = "lineT";
- this.lineT.HeaderText = "Team";
- this.lineT.Name = "lineT";
- //
- // lineP
- //
- this.lineP.DataPropertyName = "lineP";
- this.lineP.HeaderText = "Part";
- this.lineP.Name = "lineP";
- //
- // dvc_param
- //
- this.dvc_param.DataPropertyName = "param1";
- this.dvc_param.HeaderText = "Wafer Size";
- this.dvc_param.Name = "dvc_param";
- //
- // dataGridViewTextBoxColumn7
- //
- this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
- this.dataGridViewTextBoxColumn7.HeaderText = "serial";
- this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
- this.dataGridViewTextBoxColumn7.Width = 61;
- //
- // primary
- //
- this.primary.DataPropertyName = "primary";
- this.primary.HeaderText = "primary";
- this.primary.Name = "primary";
- this.primary.Width = 54;
- //
- // except
- //
- this.except.DataPropertyName = "except";
- this.except.HeaderText = "except";
- this.except.Name = "except";
- this.except.Width = 49;
- //
- // memo
- //
- this.memo.DataPropertyName = "memo";
- this.memo.HeaderText = "memo";
- this.memo.Name = "memo";
- this.memo.Width = 66;
+ this.bsAll.DataMember = "EETGW_Equipment";
+ this.bsAll.DataSource = this.dsEQ;
//
// fEquipment
//
@@ -839,12 +954,15 @@
this.groupBox1.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bsF)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsME)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsIng)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsOther)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsAll)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -915,9 +1033,15 @@
private System.Windows.Forms.ToolStripProgressBar prb1;
private System.Windows.Forms.BindingSource bsOther;
private dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter taOther;
+ private System.Windows.Forms.ComboBox cmbCate;
+ private System.Windows.Forms.Label cmbGrp2;
+ private System.Windows.Forms.ComboBox cmbPlant;
+ private System.Windows.Forms.Label label6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn ing;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn except;
private System.Windows.Forms.DataGridViewTextBoxColumn plant;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn grp2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn flag;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
@@ -930,7 +1054,12 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_param;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewCheckBoxColumn primary;
- private System.Windows.Forms.DataGridViewCheckBoxColumn except;
private System.Windows.Forms.DataGridViewTextBoxColumn memo;
+ private System.Windows.Forms.GroupBox groupBox2;
+ private System.Windows.Forms.RadioButton radioButton1;
+ private System.Windows.Forms.RadioButton radioButton2;
+ private System.Windows.Forms.RadioButton radioButton3;
+ private dsEQTableAdapters.EETGW_EquipmentTableAdapter taAll;
+ private System.Windows.Forms.BindingSource bsAll;
}
}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/fEquipment.cs b/SubProject/FEQ0000/Equipment/fEquipment.cs
index 3dcd2d3..5f7da52 100644
--- a/SubProject/FEQ0000/Equipment/fEquipment.cs
+++ b/SubProject/FEQ0000/Equipment/fEquipment.cs
@@ -16,6 +16,7 @@ namespace FEQ0000
{
public enum eTabletype
{
+ ALL,
MOLD,
FOL,
BUMP,
@@ -57,6 +58,14 @@ namespace FEQ0000
this.dsEQ.EETGW_EquipmentOther.TableNewRow += Equipment_TableNewRow;
dvc_param.Visible = false;
}
+ else if (dataType == eTabletype.ALL)
+ {
+
+ tableName = "EETGW_Equipment";
+ this.dsEQ.EETGW_EquipmentOther.TableNewRow += Equipment_TableNewRow;
+ dvc_param.Visible = false;
+ panel1.Visible = true; //필터창보이게
+ }
else
{
@@ -65,6 +74,7 @@ namespace FEQ0000
dvc_param.Visible = true;
}
this.FormClosed += fEquipment_FormClosed;
+
}
void fEquipment_FormClosed(object sender, FormClosedEventArgs e)
@@ -83,6 +93,7 @@ namespace FEQ0000
else if (dataType == eTabletype.FOL) dtList = taDateList.GetDateListF();
else if (dataType == eTabletype.ING) dtList = taDateList.GetDateListIng();
else if (dataType == eTabletype.OTHER) dtList = taDateList.GetDateListOther();
+ else if (dataType == eTabletype.ALL) dtList = taDateList.GetDateListAll();
else dtList = taDateList.GetDateListME();
this.cmbDate.Items.Clear();
@@ -111,21 +122,29 @@ namespace FEQ0000
var lcList = DatabaseManager.getEQGroupLiist("linecode", this.tableName);
var manuList = DatabaseManager.getEQGroupLiist("manu", this.tableName);
var typeList = DatabaseManager.getEQGroupLiist("type", this.tableName);
+ var plantList = DatabaseManager.getEQGroupLiist("plant", this.tableName);
+ var grp2List = DatabaseManager.getEQGroupLiist("grp2", this.tableName);
cmbGrp.Items.Add("-- All --");
cmbLine.Items.Add("-- All --");
cmbManu.Items.Add("-- All --");
cmbType.Items.Add("-- All --");
+ cmbPlant.Items.Add("-- All --");
+ cmbCate.Items.Add("-- All --");
foreach (var item in grpList) this.cmbGrp.Items.Add(item);
foreach (var item in lcList) this.cmbLine.Items.Add(item);
foreach (var item in manuList) this.cmbManu.Items.Add(item);
foreach (var item in typeList) this.cmbType.Items.Add(item);
+ foreach (var item in plantList) this.cmbPlant.Items.Add(item);
+ foreach (var item in grp2List) this.cmbCate.Items.Add(item);
if (this.cmbGrp.Items.Count > 0) cmbGrp.SelectedIndex = 0;
if (this.cmbLine.Items.Count > 0) cmbLine.SelectedIndex = 0;
if (this.cmbManu.Items.Count > 0) cmbManu.SelectedIndex = 0;
if (this.cmbType.Items.Count > 0) cmbType.SelectedIndex = 0;
+ if (this.cmbPlant.Items.Count > 0) cmbPlant.SelectedIndex = 0;
+ if (this.cmbCate.Items.Count > 0) cmbCate.SelectedIndex = 0;
//if (this.dataType == eTabletype.ING)
// dvc_param.HeaderText = "RCS Flag";
@@ -157,10 +176,15 @@ namespace FEQ0000
{
this.taIng.Update(this.dsEQ.EETGW_EquipmentIng);
}
- else if(dataType == eTabletype.OTHER)
+ else if (dataType == eTabletype.OTHER)
{
this.taOther.Update(this.dsEQ.EETGW_EquipmentOther);
}
+ else if (dataType == eTabletype.ALL)
+ {
+
+ taAll.Update(this.dsEQ.EETGW_Equipment);
+ }
else
{
this.taF.Update(this.dsEQ.EquipmentF);
@@ -192,6 +216,7 @@ namespace FEQ0000
else if (dataType == eTabletype.MOLD) dRows = this.dsEQ.EquipmentME.Select(filter);
else if (dataType == eTabletype.ING) dRows = this.dsEQ.EETGW_EquipmentIng.Select(filter);
else if (dataType == eTabletype.OTHER) dRows = this.dsEQ.EETGW_EquipmentOther.Select(filter);
+ else if (dataType == eTabletype.ALL) dRows = this.dsEQ.EETGW_Equipment.Select(filter);
else dRows = this.dsEQ.EquipmentF.Select(filter);
int cnt = 0;
@@ -235,6 +260,7 @@ namespace FEQ0000
else if (dataType == eTabletype.BUMP) this.bsB.Filter = filter;
else if (dataType == eTabletype.ING) this.bsIng.Filter = filter;
else if (dataType == eTabletype.OTHER) this.bsOther.Filter = filter;
+ else if (dataType == eTabletype.ALL) this.bsAll.Filter = filter;
else this.bsF.Filter = filter;
if (key.isEmpty()) this.tbFilter.BackColor = Color.White;
@@ -258,8 +284,22 @@ namespace FEQ0000
private void toolStripButton4_Click(object sender, EventArgs e)
{
- var f = new rpt_equipmentB(dataType, this.cmbDate.Text);
- f.Show();
+ if(this.dataType == eTabletype.ALL)
+ {
+ if(this.dsEQ.EETGW_Equipment.Count < 1)
+ {
+ FCOMMON.Util.MsgE("자료가 없습니다. 자료를 조회하고 시도하세요");
+ return;
+ }
+ var f = new rpt_equipmentAll(this.dsEQ.EETGW_Equipment,this.grp2name);
+ f.Show();
+ }
+ else
+ {
+ var f = new rpt_equipmentB(dataType, this.cmbDate.Text);
+ f.Show();
+ }
+
}
private void toolStripButton2_Click(object sender, EventArgs e)
@@ -274,6 +314,7 @@ namespace FEQ0000
RefreshDate();
}
+ string grp2name = string.Empty;
private void toolStripButton6_Click(object sender, EventArgs e)
{
if (cmbDate.SelectedIndex < 0)
@@ -283,10 +324,12 @@ namespace FEQ0000
}
+ this.grp2name = this.cmbCate.Text;
+
//select query
string newSQL = "select * from {0}";
- string newWhere = string.Empty;
+ string newWhere = "pdate = '{1}'";
if (cmbGrp.SelectedIndex != 0 && !cmbGrp.Text.isEmpty())
{
if (!newWhere.isEmpty()) newWhere += " and ";
@@ -312,6 +355,16 @@ namespace FEQ0000
if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += string.Format("(asset like '%{0}%' or model like '%{0}%' or serial like '%{0}%')", tbSearch.Text);
}
+ if (this.cmbPlant.SelectedIndex > 0 && !this.cmbPlant.Text.isEmpty())
+ {
+ if (!newWhere.isEmpty()) newWhere += " and ";
+ newWhere += "[plant]='" + cmbPlant.Text + "'";
+ }
+ if (this.cmbCate.SelectedIndex > 0 && !this.cmbCate.Text.isEmpty())
+ {
+ if (!newWhere.isEmpty()) newWhere += " and ";
+ newWhere += "[grp2]='" + cmbCate.Text + "'";
+ }
if (radexpn.Checked)
{
if (!newWhere.isEmpty()) newWhere += " and ";
@@ -322,18 +375,30 @@ namespace FEQ0000
if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += string.Format("isnull([except],0) = 1");
}
-
+ if (radioButton1.Checked) //yes
+ {
+ if (!newWhere.isEmpty()) newWhere += " and ";
+ newWhere += string.Format("isnull([ing],0) = 1");
+ }
+ if (radioButton3.Checked) //no
+ {
+ if (!newWhere.isEmpty()) newWhere += " and ";
+ newWhere += string.Format("isnull([ing],0) = 0");
+ }
string CommandText = newSQL;
if (!newWhere.isEmpty()) CommandText += " where " + newWhere;
+
+
+
switch (dataType)
{
case eTabletype.MOLD:
//select command
if (this.taME.Adapter.SelectCommand == null)
this.taME.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
- this.taME.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentME");
+ this.taME.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentME", this.cmbDate.Text);
this.dsEQ.EquipmentME.Clear();
taME.Fill(this.dsEQ.EquipmentME, this.cmbDate.Text);
this.dsEQ.EquipmentME.AcceptChanges();
@@ -344,7 +409,7 @@ namespace FEQ0000
//select command
if (this.taB.Adapter.SelectCommand == null)
this.taB.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
- this.taB.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentB");
+ this.taB.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentB", this.cmbDate.Text);
this.dsEQ.EquipmentB.Clear();
taB.Fill(this.dsEQ.EquipmentB, this.cmbDate.Text);
this.dsEQ.EquipmentB.AcceptChanges();
@@ -355,7 +420,7 @@ namespace FEQ0000
//select command
if (this.taF.Adapter.SelectCommand == null)
this.taF.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
- this.taF.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentF");
+ this.taF.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentF",this.cmbDate.Text);
this.dsEQ.EquipmentF.Clear();
taF.Fill(this.dsEQ.EquipmentF, this.cmbDate.Text);
this.dsEQ.EquipmentF.AcceptChanges();
@@ -366,18 +431,37 @@ namespace FEQ0000
//select command
if (this.taIng.Adapter.SelectCommand == null)
this.taIng.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
- this.taIng.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_EquipmentIng");
+ this.taIng.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_EquipmentIng", this.cmbDate.Text);
this.dsEQ.EETGW_EquipmentIng.Clear();
taIng.Fill(this.dsEQ.EETGW_EquipmentIng, this.cmbDate.Text);
this.dsEQ.EETGW_EquipmentIng.AcceptChanges();
dv.DataSource = bsIng;
bn.BindingSource = bsIng;
break;
+ case eTabletype.ALL:
+ CommandText = string.Format(CommandText, "EETGW_Equipment", this.cmbDate.Text);
+ var cmd = new System.Data.SqlClient.SqlCommand(CommandText, this.taAll.Connection);
+ var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
+ dsEQ.EETGW_Equipment.Clear();
+ da.Fill(this.dsEQ.EETGW_Equipment);
+ dsEQ.EETGW_Equipment.AcceptChanges();
+
+
+ ////select command
+ //if (this.taAll.Adapter.SelectCommand == null)
+ // this.taAll.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
+ //this.taAll.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_Equipment");
+ //this.dsEQ.EETGW_Equipment.Clear();
+ //taAll.Fill(this.dsEQ.EETGW_Equipment, this.cmbDate.Text);
+ //this.dsEQ.EETGW_Equipment.AcceptChanges();
+ dv.DataSource = bsAll;
+ bn.BindingSource = bsAll;
+ break;
case eTabletype.OTHER:
//select command
if (this.taOther.Adapter.SelectCommand == null)
this.taOther.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
- this.taOther.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_EquipmentOther");
+ this.taOther.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_Equipment");
this.dsEQ.EETGW_EquipmentOther.Clear();
taOther.Fill(this.dsEQ.EETGW_EquipmentOther, this.cmbDate.Text);
this.dsEQ.EETGW_EquipmentOther.AcceptChanges();
@@ -507,11 +591,12 @@ namespace FEQ0000
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
- if (dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
+ if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
+ dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
@@ -528,11 +613,12 @@ namespace FEQ0000
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
- if (dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
+ if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
+ dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
@@ -549,11 +635,12 @@ namespace FEQ0000
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
- if (dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
+ if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
+ dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
@@ -570,11 +657,34 @@ namespace FEQ0000
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
- if (dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
+ if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
+ dr.grp2 = linedata.grp2;
+ dr.EndEdit();
+ ucnt += 1;
+ }
+ }
+ }
+ }
+ else if (dataType == eTabletype.ALL)
+ {
+ this.prb1.Maximum = this.dsEQ.EETGW_Equipment.Count;
+ foreach (dsEQ.EETGW_EquipmentRow dr in this.dsEQ.EETGW_Equipment)
+ {
+ if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
+ if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
+ var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
+ if (linedata != null)
+ {
+ if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
+ {
+ dr.lineP = linedata.part;
+ dr.lineT = linedata.team;
+ dr.plant = linedata.plant;
+ dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
@@ -591,11 +701,12 @@ namespace FEQ0000
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
- if (dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
+ if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
+ dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
diff --git a/SubProject/FEQ0000/Equipment/fEquipment.resx b/SubProject/FEQ0000/Equipment/fEquipment.resx
index 1e801e3..0031b2b 100644
--- a/SubProject/FEQ0000/Equipment/fEquipment.resx
+++ b/SubProject/FEQ0000/Equipment/fEquipment.resx
@@ -228,9 +228,18 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+
+ True
+
+
+ True
+
True
+
+ True
+
True
@@ -249,9 +258,6 @@
True
-
- True
-
True
@@ -273,12 +279,12 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPnZJLS8NAFIVHf2dbzGRt95piIHVR8VEVcWfF
- VpoWStRJQd2pq9Y02You484GXVqlMOZeZ0pjHkYPHLjMud8ZBoakiXOyMOgV9IFVXINZHOcTAF5fNV8e
- Nqdgr6+YuUt0XV902VI3eNye8tcWB8MMZ5CJtWQhbEfh+RLHVjqpJRB4F7QTPO3EYGkogZ3Yc/DNTDWz
- YGnYGTHanpXAMLJpOw8sjSUhgyVDq6iN/a1PGd5db/D1ahnnVkPjp8cVnKtGGTO5N/YPPu7PSqvEOY8W
- 3FzWuCEKTo403mx8FxjGMr+9qkULrNIKPsNltP72XH+X4W+GXWAQlnKZuhv4h5MkYN6JsJRr072sEsjg
- IrGerLQShMNMrGXrZ8mfYCmPKfsA/gsGwScZWoWKE/6T2a+LiZAvNU/p9XnZUIQAAAAASUVORK5CYII=
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE5SURBVDhPnZJLS8NAFIVHf2dbzGRt9zXFQCqYuqmKuLOi
+ laaCRJ0UqjvtqjVNVuoPiKAVRJc+KIy515nSmIexBw5c5tzvDAND0sQ5WRicFPSBXVyFWRznEwB+V7Ue
+ b9cnYL+rWLlLdF1f9NjS8fiuPuGvLQ6GGc4gE2vJQtiJwrMlrqN0Uksg8M9pZ3y/EYOloQR2Ys/BNzPV
+ yoKlYWfEaHtaAsPIoe08sDSWhAyWDO2i9hSYXzLsX9b5Wq2Mc6up8aP9Ks41o4yZ3HsOdj5vTksrxD2L
+ Flz1TG6IgoM9jR82fwoMY5lfX5jRArtUwWd4jDbeHhrvMvzLsAsMwlIeUzdfgt2PJGDWibCU59CtrBLI
+ 4CKxnqy0EoTDTKxl63fJv2ApnynbAM4Fg+CTDO1C1Q3/yfTXxUTIN1uh6VOm+F1TAAAAAElFTkSuQmCC
@@ -288,11 +294,11 @@
s9wremanoeO0rt072re8/d+x+e3/uO5j7VAtCFDaOU+1vHtOeUXfXCWoEApI6DneBTMgofNoJ1QYASq6
Z+dBmVgBQS9Uds9NhjKxgg37L5nsPXv33P5zd8+u3XPRCCqMAHUTF5Qv2namZNG200AaE28+dO3Uw9ef
/oPwjhM3ZzPEtu0WTuk/tbNo3rVrCV3Hl7TNXrvy////jFDzMMDmo1dCjlx//ByEtxy+GcQQ23N4YufW
- d/+7t3/4X7/u7p+iCVsPQdXiBMv2HBdftPOCGJgT23MMzYBtR8ASeIBv5UbxwPqdUANAXug7uStv9uWb
+ d/+7t3/4X7/u5p+iCVsPQdXiBMv2HBdftPOCGJgT23MMzYBtR8ASeIBv5UbxwPqdUANAXug7uStv9uWb
IC+0zli9rr6+ngksiQVEdxwNKZh/42nx7CtPYjsOB0GFEWDG6gPllV2zy0BpARtO7913CuRaEE7qPzEb
qg0Blmw9kwplYgWxnftNMqacvpA+9cz56M49mNG4aMfpHCgTK1i16grb5sNX+4C4F8SGCiPA4u2n1Bdv
O527ePtpSagQCthy/HrnvRcf/oPw1mPXMfMCCMzZcIR34fYz7ou2nwlFxxsPXd0IMwBkGFQL8QDVC1fY
- AA/RLxW0ki8TAAAAAElFTkSuQmCC
+ AP72Lw00N2hvAAAAAElFTkSuQmCC
@@ -310,14 +316,14 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGkSURBVDhPlZNNSwJBHIctKiJ6vQR9gujUV+i7BNGlU0S3
- BqQwU7PU1rbVtlw1S9vcdbWtzcTwpahEI4OI8NabWZeIImvajZFaW9Ie+F3m93+GGYZRVUJDbvSZPFuY
- idp0mty8QYv5u1H1NxrM1WHxhUP86e1zpgChlPT9B2SOLwriRgQAoA6N/kYsa61eIZy6K36J5Ymc599n
- 3JsYGv/NtJMdTORu35TkUrjjXF5NrPQgRQ7BxGgl6WfS+XdodIX0SJGzxB9ElKTyYOthEily7GyCUxJ+
- Ji3G5Nm2IEWOwRFSH169KIqlCNnLJ43V24cUOUOzVCvhEx6URCnS68x5BBqNywGAbNSRdJDYThat/r3H
- o+tXmRw/uynOre7sjE7ibUj5BlgszYZlJuriEx9TNq93AMebzCv8mI2LB+1sLDnPRGmDM9SvgrAGKd8A
- I9ludLC7TCwDdYu+gCjXo6oyw5ijc5Zi99n4CdSTtADAWgOqKjM+TXWZqUCKS55C8fiREa2tBVXVoSV8
- C9x+FkonkD4QWq4etdXRO4F7cOkaaOkfqFSfYfuXgmGBwFoAAAAASUVORK5CYII=
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGlSURBVDhPlZNNSwJBHIctKiJ6vQR9gujUV+i7BNGlU0S3
+ BqQwMzVf2m1ba8s1s7TNXTe1VhPFl6ISDT0VdOmFMusSUWRNuzFSq0vWA7/L/P7PMMMwqlpoqO0Bs2sX
+ M9MBh9kZ1Gsxby+qfkeDrXVZPWF/MHf7nC1CKCVz/wHZk7OiuBEJAGhAo9WIZT3uFsLpu9KXWJlI/uZ9
+ zhnA0Hg1Bgc3nLy4elOSy+FPLgpqcr0PKXJINs4oST+TKbxD45p/FilyVoKHESWpMthWmEKKnCUuySsJ
+ P5MRY3btWZEiR2/3q4+uXxTFcoT8+ZMGdw8gRc6IiW4nPcKDkihFep15l8CgcTkAUM06itnB91Il3Bt7
+ PL55lcmJ3GVpfiMUGp8mOpDyDbBaW/WrbHSVj33M2NzuIYJosawHJ2x8YmeJi6cW2Cijd/gHVRDWIeUb
+ YKQ6jXZun41noW7Z4xPlRlTVZhSzd5to7oBLnMJZihEA2GxCVW0mDXSPhfal+VQOisePjGltbaj6G1rS
+ s8gf5KF0AukDoeW/o8bt/VOEi5CugZb+gUr1CRb3l19ObxlcAAAAAElFTkSuQmCC
@@ -375,4 +381,10 @@
407, 56
+
+ 501, 56
+
+
+ 577, 56
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/fImpEquipment.Designer.cs b/SubProject/FEQ0000/Equipment/fImpEquipment.Designer.cs
index d2d0ffd..af2ed05 100644
--- a/SubProject/FEQ0000/Equipment/fImpEquipment.Designer.cs
+++ b/SubProject/FEQ0000/Equipment/fImpEquipment.Designer.cs
@@ -1,327 +1,328 @@
-namespace FEQ0000
-{
- partial class fImpEquipment
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fImpEquipment));
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.linkLabel1 = new System.Windows.Forms.LinkLabel();
- this.button1 = new System.Windows.Forms.Button();
- this.dataGridView1 = new System.Windows.Forms.DataGridView();
- this.button3 = new System.Windows.Forms.Button();
- this.panel1 = new System.Windows.Forms.Panel();
- this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
- this.bn = 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.progressBar1 = new System.Windows.Forms.ToolStripProgressBar();
- this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.label1 = new System.Windows.Forms.Label();
- this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
- this.panel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
- this.bn.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
- this.SuspendLayout();
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(42, 9);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(170, 21);
- this.textBox1.TabIndex = 1;
- //
- // linkLabel1
- //
- this.linkLabel1.AutoSize = true;
- this.linkLabel1.Location = new System.Drawing.Point(12, 13);
- this.linkLabel1.Name = "linkLabel1";
- this.linkLabel1.Size = new System.Drawing.Size(25, 12);
- this.linkLabel1.TabIndex = 0;
- this.linkLabel1.TabStop = true;
- this.linkLabel1.Text = "File";
- this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(312, 9);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(72, 21);
- this.button1.TabIndex = 4;
- this.button1.Text = "1.View";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // dataGridView1
- //
- this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridView1.Location = new System.Drawing.Point(0, 36);
- this.dataGridView1.Name = "dataGridView1";
- this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(693, 467);
- this.dataGridView1.TabIndex = 1;
- //
- // button3
- //
- this.button3.Location = new System.Drawing.Point(569, 9);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(114, 21);
- this.button3.TabIndex = 6;
- this.button3.Text = "2.Save";
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Click += new System.EventHandler(this.button3_Click);
- //
- // panel1
- //
- this.panel1.Controls.Add(this.numericUpDown1);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.dateTimePicker1);
- this.panel1.Controls.Add(this.button3);
- this.panel1.Controls.Add(this.textBox1);
- this.panel1.Controls.Add(this.linkLabel1);
- this.panel1.Controls.Add(this.button1);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(693, 36);
- this.panel1.TabIndex = 0;
- //
- // dateTimePicker1
- //
- this.dateTimePicker1.Location = new System.Drawing.Point(390, 9);
- this.dateTimePicker1.Name = "dateTimePicker1";
- this.dateTimePicker1.Size = new System.Drawing.Size(174, 21);
- this.dateTimePicker1.TabIndex = 5;
- //
- // bn
- //
- this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
- this.bn.CountItem = this.bindingNavigatorCountItem;
- this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
- this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.bn.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.progressBar1});
- this.bn.Location = new System.Drawing.Point(0, 503);
- this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
- this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
- this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
- this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
- this.bn.Name = "bn";
- this.bn.PositionItem = this.bindingNavigatorPositionItem;
- this.bn.Size = new System.Drawing.Size(693, 25);
- this.bn.TabIndex = 2;
- this.bn.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.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);
- //
- // progressBar1
- //
- this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
- this.progressBar1.Name = "progressBar1";
- this.progressBar1.Size = new System.Drawing.Size(200, 22);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(218, 13);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(37, 12);
- this.label1.TabIndex = 2;
- this.label1.Text = "Sheet";
- //
- // numericUpDown1
- //
- this.numericUpDown1.Location = new System.Drawing.Point(261, 9);
- this.numericUpDown1.Maximum = new decimal(new int[] {
- 10,
- 0,
- 0,
- 0});
- this.numericUpDown1.Name = "numericUpDown1";
- this.numericUpDown1.Size = new System.Drawing.Size(45, 21);
- this.numericUpDown1.TabIndex = 3;
- this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // fImpEquipment
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(693, 528);
- this.Controls.Add(this.dataGridView1);
- this.Controls.Add(this.bn);
- this.Controls.Add(this.panel1);
- this.Name = "fImpEquipment";
- this.Text = "fImpEquipment";
- this.Load += new System.EventHandler(this.@__Load);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
- this.bn.ResumeLayout(false);
- this.bn.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.LinkLabel linkLabel1;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.DataGridView dataGridView1;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.DateTimePicker dateTimePicker1;
- private System.Windows.Forms.BindingNavigator bn;
- 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.ToolStripProgressBar progressBar1;
- private System.Windows.Forms.BindingSource bs;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.NumericUpDown numericUpDown1;
- }
+namespace FEQ0000
+{
+ partial class fImpEquipment
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fImpEquipment));
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.linkLabel1 = new System.Windows.Forms.LinkLabel();
+ this.button1 = new System.Windows.Forms.Button();
+ this.dataGridView1 = new System.Windows.Forms.DataGridView();
+ this.button3 = new System.Windows.Forms.Button();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
+ this.label1 = new System.Windows.Forms.Label();
+ this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
+ this.bn = 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.progressBar1 = new System.Windows.Forms.ToolStripProgressBar();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ this.SuspendLayout();
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(42, 9);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(170, 21);
+ this.textBox1.TabIndex = 1;
+ //
+ // linkLabel1
+ //
+ this.linkLabel1.AutoSize = true;
+ this.linkLabel1.Location = new System.Drawing.Point(12, 13);
+ this.linkLabel1.Name = "linkLabel1";
+ this.linkLabel1.Size = new System.Drawing.Size(25, 12);
+ this.linkLabel1.TabIndex = 0;
+ this.linkLabel1.TabStop = true;
+ this.linkLabel1.Text = "File";
+ this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(312, 9);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(72, 21);
+ this.button1.TabIndex = 4;
+ this.button1.Text = "1.View";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // dataGridView1
+ //
+ this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dataGridView1.Location = new System.Drawing.Point(0, 36);
+ this.dataGridView1.Name = "dataGridView1";
+ this.dataGridView1.RowTemplate.Height = 23;
+ this.dataGridView1.Size = new System.Drawing.Size(807, 426);
+ this.dataGridView1.TabIndex = 1;
+ //
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(569, 9);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(114, 21);
+ this.button3.TabIndex = 6;
+ this.button3.Text = "2.Save";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.numericUpDown1);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.dateTimePicker1);
+ this.panel1.Controls.Add(this.button3);
+ this.panel1.Controls.Add(this.textBox1);
+ this.panel1.Controls.Add(this.linkLabel1);
+ this.panel1.Controls.Add(this.button1);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(807, 36);
+ this.panel1.TabIndex = 0;
+ //
+ // numericUpDown1
+ //
+ this.numericUpDown1.Location = new System.Drawing.Point(261, 9);
+ this.numericUpDown1.Maximum = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown1.Name = "numericUpDown1";
+ this.numericUpDown1.Size = new System.Drawing.Size(45, 21);
+ this.numericUpDown1.TabIndex = 3;
+ this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(218, 13);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(37, 12);
+ this.label1.TabIndex = 2;
+ this.label1.Text = "Sheet";
+ //
+ // dateTimePicker1
+ //
+ this.dateTimePicker1.Location = new System.Drawing.Point(390, 9);
+ this.dateTimePicker1.Name = "dateTimePicker1";
+ this.dateTimePicker1.Size = new System.Drawing.Size(174, 21);
+ this.dateTimePicker1.TabIndex = 5;
+ //
+ // bn
+ //
+ this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
+ this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bn.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.progressBar1});
+ this.bn.Location = new System.Drawing.Point(0, 462);
+ this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
+ this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
+ this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
+ this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
+ this.bn.Name = "bn";
+ this.bn.PositionItem = this.bindingNavigatorPositionItem;
+ this.bn.Size = new System.Drawing.Size(807, 25);
+ this.bn.TabIndex = 2;
+ this.bn.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);
+ //
+ // progressBar1
+ //
+ this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.progressBar1.Name = "progressBar1";
+ this.progressBar1.Size = new System.Drawing.Size(200, 22);
+ //
+ // fImpEquipment
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(807, 487);
+ this.Controls.Add(this.dataGridView1);
+ this.Controls.Add(this.bn);
+ this.Controls.Add(this.panel1);
+ this.Name = "fImpEquipment";
+ this.Text = "fImpEquipment";
+ this.Load += new System.EventHandler(this.@__Load);
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
+ this.bn.ResumeLayout(false);
+ this.bn.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.LinkLabel linkLabel1;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.DataGridView dataGridView1;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.DateTimePicker dateTimePicker1;
+ private System.Windows.Forms.BindingNavigator bn;
+ 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.ToolStripProgressBar progressBar1;
+ private System.Windows.Forms.BindingSource bs;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.NumericUpDown numericUpDown1;
+ }
}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/fImpEquipment.cs b/SubProject/FEQ0000/Equipment/fImpEquipment.cs
index b8f4def..41e6b56 100644
--- a/SubProject/FEQ0000/Equipment/fImpEquipment.cs
+++ b/SubProject/FEQ0000/Equipment/fImpEquipment.cs
@@ -71,7 +71,7 @@ namespace FEQ0000
{
List datas = new List();
var charlist = line.ToCharArray();
- // int c = 0;
+ // int c = 0;
System.Text.StringBuilder sb = new StringBuilder();
Boolean findCom = false;
foreach (var ch in charlist)
@@ -102,13 +102,13 @@ namespace FEQ0000
}
private void button1_Click(object sender, EventArgs e)
{
- if(textBox1.Text.isEmpty())
+ if (textBox1.Text.isEmpty())
{
FCOMMON.Util.MsgE("파일을 선택하세요");
textBox1.Focus();
return;
}
- if(!System.IO.File.Exists(textBox1.Text))
+ if (!System.IO.File.Exists(textBox1.Text))
{
FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다.");
textBox1.Focus();
@@ -119,14 +119,15 @@ namespace FEQ0000
dtExcel.Columns.Clear();
dtExcel.Rows.Clear();
dtExcel.AcceptChanges();
-
+
libxl.Book book;// = new libxl.BinBook();
book = new libxl.XmlBook();
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
try
{
book.load(textBox1.Text);
- }catch (Exception ex)
+ }
+ catch (Exception ex)
{
FCOMMON.Util.MsgE(ex.Message);
return;
@@ -146,11 +147,12 @@ namespace FEQ0000
var MinCol = sheet.firstCol();
List cols = new List();
bool firstRow = true;
- try{
+ try
+ {
for (int r = MinRow; r <= MaxRow; r++)
{
DataRow dr = null;
- if (firstRow ==false) dr = dtExcel.NewRow();
+ if (firstRow == false) dr = dtExcel.NewRow();
Boolean nullColumn = false;
for (int c = MinCol; c <= MaxCol; c++)
@@ -179,7 +181,7 @@ namespace FEQ0000
}
dtExcel.AcceptChanges();
}
- catch(Exception ex)
+ catch (Exception ex)
{
FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message);
}
@@ -190,7 +192,7 @@ namespace FEQ0000
this.dataGridView1.DataSource = dtExcel;
this.bn.BindingSource = this.bs;
- if(this.bs.Count < 1)
+ if (this.bs.Count < 1)
{
FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다.");
}
@@ -236,30 +238,28 @@ namespace FEQ0000
private void button3_Click(object sender, EventArgs e)
{
- if(dtExcel == null || dtExcel.Rows.Count < 1)
+ if (dtExcel == null || dtExcel.Rows.Count < 1)
{
FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
return;
}
-
System.Text.StringBuilder sb = new StringBuilder();
sb.AppendLine("다음 자료를 추가하시겠습니까?");
sb.AppendLine();
sb.AppendLine("등록일 : " + dateTimePicker1.Value.ToShortDateString());
- sb.AppendLine();
+ sb.AppendLine();
sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요.");
sb.AppendLine();
sb.AppendLine("실행 하려면 '예' 를 누르세요");
var dlg = FCOMMON.Util.MsgQ(sb.ToString());
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
-
-
+
//라인코드를 읽어서 값을 기록해준다.
- var taLine = new dsEQTableAdapters.LineCodeTableAdapter();
+ var taLine = new dsEQTableAdapters.LineCodeTableAdapter();
var lineTd = taLine.GetData();
lineTd.AcceptChanges();
@@ -300,17 +300,34 @@ namespace FEQ0000
}
//12,13
+ var i = 0;
foreach (DataRow dr in dtExcel.Rows)
{
this.progressBar1.Value += 1;
+ i += 1;
+ if (i % 1000 == 0) Application.DoEvents();
var linecode = dr[12].ToString();
var linedesc = dr[13].ToString();
var lineT = string.Empty;
var lineP = string.Empty;
+ var grp2 = string.Empty;
var rcsflag = dr[1].ToString();
//if (rcsflag != "M") continue;
+ if (linecode.StartsWith("AJ900T")) continue; //해외장비 제거
+ if (linecode.StartsWith("AJ9000E")) continue; //해외장비 제거
+ if (linecode.StartsWith("AJ9000S")) continue; //해외장비 제거
+
+ if (linecode.StartsWith("AF900T")) continue; //해외장비 제거
+ if (linecode.StartsWith("AF9000E")) continue; //해외장비 제거
+ if (linecode.StartsWith("AF9000S")) continue; //해외장비 제거
+
+ if (linecode.StartsWith("AS900T")) continue; //해외장비 제거
+ if (linecode.StartsWith("AS9000E")) continue; //해외장비 제거
+ if (linecode.StartsWith("AS9000S")) continue; //해외장비 제거
+
+
//없는 라인코드는 추가
var lineDrows = lineTd.Select("code='" + linecode + "'");
if (lineDrows.Length == 0)
@@ -343,6 +360,8 @@ namespace FEQ0000
var lineDr = lineDrows[0] as dsEQ.LineCodeRow;
lineT = lineDr.team;
lineP = lineDr.part;
+ grp2 = lineDr.grp2;
+
}
//데이터추가
@@ -355,6 +374,7 @@ namespace FEQ0000
newdr["linecode"] = linecode;
newdr["lineT"] = lineT;
newdr["lineP"] = lineP;
+ newdr["grp2"] = grp2;
newdr["serial"] = dr[7].ToString();
newdr["manu"] = dr[9].ToString();
newdr["primary"] = true;
diff --git a/SubProject/FEQ0000/Equipment/fImpEquipment.resx b/SubProject/FEQ0000/Equipment/fImpEquipment.resx
index 0fa823e..d25b38a 100644
--- a/SubProject/FEQ0000/Equipment/fImpEquipment.resx
+++ b/SubProject/FEQ0000/Equipment/fImpEquipment.resx
@@ -1,191 +1,191 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
-
-
- 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==
-
-
-
-
- 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=
-
-
-
-
- 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=
-
-
-
-
- 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
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
- n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
- N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
- oAc0QjgAAAAASUVORK5CYII=
-
-
-
-
- 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==
-
-
-
- 173, 17
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+
+
+ 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==
+
+
+
+
+ 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=
+
+
+
+
+ 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=
+
+
+
+
+ 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
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
+ N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
+ oAc0QjgAAAAASUVORK5CYII=
+
+
+
+
+ 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==
+
+
+
+ 173, 17
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/rpt_equipmentAll.Designer.cs b/SubProject/FEQ0000/Equipment/rpt_equipmentAll.Designer.cs
new file mode 100644
index 0000000..f695e91
--- /dev/null
+++ b/SubProject/FEQ0000/Equipment/rpt_equipmentAll.Designer.cs
@@ -0,0 +1,109 @@
+namespace FEQ0000
+{
+ partial class rpt_equipmentAll
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
+ this.rpv1 = new Microsoft.Reporting.WinForms.ReportViewer();
+ this.dsEQ = new FEQ0000.dsEQ();
+ this.taB = new FEQ0000.dsEQTableAdapters.vEquStockBTableAdapter();
+ this.taF = new FEQ0000.dsEQTableAdapters.vEquStockFTableAdapter();
+ this.taE = new FEQ0000.dsEQTableAdapters.vEquStockMETableAdapter();
+ this.taI = new FEQ0000.dsEQTableAdapters.vEquStockIngTableAdapter();
+ this.taO = new FEQ0000.dsEQTableAdapters.vEquStockOtherTableAdapter();
+ this.taSum = new FEQ0000.dsEQTableAdapters.vEquStockSummaryTableAdapter();
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).BeginInit();
+ this.SuspendLayout();
+ //
+ // rpv1
+ //
+ this.rpv1.Dock = System.Windows.Forms.DockStyle.Fill;
+ reportDataSource1.Name = "DataSet1";
+ reportDataSource1.Value = null;
+ this.rpv1.LocalReport.DataSources.Add(reportDataSource1);
+ this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.ReportB.rdlc";
+ this.rpv1.Location = new System.Drawing.Point(0, 0);
+ this.rpv1.Name = "rpv1";
+ this.rpv1.Size = new System.Drawing.Size(676, 487);
+ this.rpv1.TabIndex = 0;
+ //
+ // dsEQ
+ //
+ this.dsEQ.DataSetName = "dsEQ";
+ this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // taB
+ //
+ this.taB.ClearBeforeFill = true;
+ //
+ // taF
+ //
+ this.taF.ClearBeforeFill = true;
+ //
+ // taE
+ //
+ this.taE.ClearBeforeFill = true;
+ //
+ // taI
+ //
+ this.taI.ClearBeforeFill = true;
+ //
+ // taO
+ //
+ this.taO.ClearBeforeFill = true;
+ //
+ // taSum
+ //
+ this.taSum.ClearBeforeFill = true;
+ //
+ // rpt_equipmentB
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(676, 487);
+ this.Controls.Add(this.rpv1);
+ this.Name = "rpt_equipmentB";
+ this.Text = "Equipment Report (Bump)";
+ this.Load += new System.EventHandler(this.rpt_equipment_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private Microsoft.Reporting.WinForms.ReportViewer rpv1;
+ private dsEQ dsEQ;
+ private dsEQTableAdapters.vEquStockBTableAdapter taB;
+ private dsEQTableAdapters.vEquStockFTableAdapter taF;
+ private dsEQTableAdapters.vEquStockMETableAdapter taE;
+ private dsEQTableAdapters.vEquStockIngTableAdapter taI;
+ private dsEQTableAdapters.vEquStockOtherTableAdapter taO;
+ private dsEQTableAdapters.vEquStockSummaryTableAdapter taSum;
+ }
+}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/rpt_equipmentAll.cs b/SubProject/FEQ0000/Equipment/rpt_equipmentAll.cs
new file mode 100644
index 0000000..617a255
--- /dev/null
+++ b/SubProject/FEQ0000/Equipment/rpt_equipmentAll.cs
@@ -0,0 +1,94 @@
+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 FEQ0000
+{
+ public partial class rpt_equipmentAll : Form
+ {
+ dsEQ.EETGW_EquipmentDataTable dt;
+ public rpt_equipmentAll(dsEQ.EETGW_EquipmentDataTable dt_,string title)
+ {
+ //SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);
+ InitializeComponent();
+ this.dt = dt_;
+ this.Text = "Equipment List(" + title + ")";
+ }
+
+
+
+ private void rpt_equipment_Load(object sender, EventArgs e)
+ {
+ //this.Text = string.Format("Data Report({0})", "ALL");
+ this.Show();
+ Application.DoEvents();
+
+ //데이터를 집계해서 생성해준다.
+ var dtSum = new dsEQ.vEquStockAllDataTable();
+ var grpType = this.dt.GroupBy(t => t.type);
+ foreach (var gItemType in grpType)
+ {
+ var grpManu = gItemType.GroupBy(t => t.manu);
+ foreach (var gItemM in grpManu)
+ {
+ var grpMod = gItemM.GroupBy(t => t.model);
+ foreach (var gItemMod in grpMod)
+ {
+
+
+
+ var grpLine = gItemMod.GroupBy(t => t.lineT + "-" + t.lineP);
+ foreach (var gItemLine in grpLine)
+ {
+ var grpP1 = gItemLine.GroupBy(t => t.param1);
+ foreach(var gItemP1 in grpP1)
+ {
+ var grpPlant = gItemP1.GroupBy(t => t.plant);
+ foreach (var gItemPlant in grpPlant)
+ {
+ var grpGrp2 = gItemPlant.GroupBy(t => t.grp2);
+ foreach (var gItemGrp2 in grpGrp2)
+ {
+ var dr = gItemGrp2.FirstOrDefault();
+ var newdr = dtSum.NewvEquStockAllRow();
+ newdr.pdate = DateTime.Now.ToShortDateString();
+ newdr.grp = dr.type;
+ newdr.manu = dr.manu;
+ newdr.model = dr.model;
+ newdr.linecode = dr.linecode;
+ newdr.lineT = dr.lineT;
+ newdr.lineP = dr.lineP;
+ newdr.cnt = gItemGrp2.Count();
+ newdr.Remark = dr.memo;
+ newdr.plant = dr.plant;
+ newdr.grp2 = dr.grp2;
+ dtSum.AddvEquStockAllRow(newdr);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+
+ this.rpv1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual;
+ this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.PageWidth;
+
+ //Set DataSource
+ Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource();
+ DsEQ.Name = "DataSet1";
+
+ this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Equipment.ReportA.rdlc";
+ DsEQ.Value = dtSum;
+
+ this.rpv1.LocalReport.DataSources.Add(DsEQ);
+ this.rpv1.RefreshReport();
+ }
+ }
+}
diff --git a/SubProject/FEQ0000/Equipment/rpt_equipmentAll.resx b/SubProject/FEQ0000/Equipment/rpt_equipmentAll.resx
new file mode 100644
index 0000000..223fb88
--- /dev/null
+++ b/SubProject/FEQ0000/Equipment/rpt_equipmentAll.resx
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 97, 17
+
+
+ 166, 17
+
+
+ 234, 17
+
+
+ 303, 17
+
+
+ 369, 17
+
+
+ 441, 17
+
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Equipment/rpt_equipmentB.cs b/SubProject/FEQ0000/Equipment/rpt_equipmentB.cs
index 6c162f5..39621af 100644
--- a/SubProject/FEQ0000/Equipment/rpt_equipmentB.cs
+++ b/SubProject/FEQ0000/Equipment/rpt_equipmentB.cs
@@ -21,6 +21,8 @@ namespace FEQ0000
imptype = type_;
}
+
+
private void rpt_equipment_Load(object sender, EventArgs e)
{
this.Text = string.Format("Data Report({0})",this.imptype);
diff --git a/SubProject/FEQ0000/FEQ0000.csproj b/SubProject/FEQ0000/FEQ0000.csproj
index cac9846..4071f36 100644
--- a/SubProject/FEQ0000/FEQ0000.csproj
+++ b/SubProject/FEQ0000/FEQ0000.csproj
@@ -174,6 +174,12 @@
fImpEquipment.cs
+
+ Form
+
+
+ rpt_equipmentAll.cs
+
Form
@@ -271,8 +277,12 @@
fImpEquipment.cs
+
+
+ rpt_equipmentAll.cs
+
rpt_equipmentSum.cs
diff --git a/SubProject/FEQ0000/dsEQ.Designer.cs b/SubProject/FEQ0000/dsEQ.Designer.cs
index 22e5d38..22c4c6c 100644
--- a/SubProject/FEQ0000/dsEQ.Designer.cs
+++ b/SubProject/FEQ0000/dsEQ.Designer.cs
@@ -52,6 +52,10 @@ namespace FEQ0000 {
private vEquStockSummaryDataTable tablevEquStockSummary;
+ private EETGW_EquipmentDataTable tableEETGW_Equipment;
+
+ private vEquStockAllDataTable tablevEquStockAll;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -122,6 +126,12 @@ namespace FEQ0000 {
if ((ds.Tables["vEquStockSummary"] != null)) {
base.Tables.Add(new vEquStockSummaryDataTable(ds.Tables["vEquStockSummary"]));
}
+ if ((ds.Tables["EETGW_Equipment"] != null)) {
+ base.Tables.Add(new EETGW_EquipmentDataTable(ds.Tables["EETGW_Equipment"]));
+ }
+ if ((ds.Tables["vEquStockAll"] != null)) {
+ base.Tables.Add(new vEquStockAllDataTable(ds.Tables["vEquStockAll"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -280,6 +290,26 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public EETGW_EquipmentDataTable EETGW_Equipment {
+ get {
+ return this.tableEETGW_Equipment;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public vEquStockAllDataTable vEquStockAll {
+ get {
+ return this.tablevEquStockAll;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -389,6 +419,12 @@ namespace FEQ0000 {
if ((ds.Tables["vEquStockSummary"] != null)) {
base.Tables.Add(new vEquStockSummaryDataTable(ds.Tables["vEquStockSummary"]));
}
+ if ((ds.Tables["EETGW_Equipment"] != null)) {
+ base.Tables.Add(new EETGW_EquipmentDataTable(ds.Tables["EETGW_Equipment"]));
+ }
+ if ((ds.Tables["vEquStockAll"] != null)) {
+ base.Tables.Add(new vEquStockAllDataTable(ds.Tables["vEquStockAll"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -506,6 +542,18 @@ namespace FEQ0000 {
this.tablevEquStockSummary.InitVars();
}
}
+ this.tableEETGW_Equipment = ((EETGW_EquipmentDataTable)(base.Tables["EETGW_Equipment"]));
+ if ((initTable == true)) {
+ if ((this.tableEETGW_Equipment != null)) {
+ this.tableEETGW_Equipment.InitVars();
+ }
+ }
+ this.tablevEquStockAll = ((vEquStockAllDataTable)(base.Tables["vEquStockAll"]));
+ if ((initTable == true)) {
+ if ((this.tablevEquStockAll != null)) {
+ this.tablevEquStockAll.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -544,6 +592,10 @@ namespace FEQ0000 {
base.Tables.Add(this.tablevEquStockOther);
this.tablevEquStockSummary = new vEquStockSummaryDataTable();
base.Tables.Add(this.tablevEquStockSummary);
+ this.tableEETGW_Equipment = new EETGW_EquipmentDataTable();
+ base.Tables.Add(this.tableEETGW_Equipment);
+ this.tablevEquStockAll = new vEquStockAllDataTable();
+ base.Tables.Add(this.tablevEquStockAll);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -630,6 +682,18 @@ namespace FEQ0000 {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private bool ShouldSerializeEETGW_Equipment() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private bool ShouldSerializevEquStockAll() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -727,6 +791,12 @@ namespace FEQ0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void vEquStockSummaryRowChangeEventHandler(object sender, vEquStockSummaryRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public delegate void EETGW_EquipmentRowChangeEventHandler(object sender, EETGW_EquipmentRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public delegate void vEquStockAllRowChangeEventHandler(object sender, vEquStockAllRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -1031,6 +1101,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
+ private global::System.Data.DataColumn columning;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EquipmentFDataTable() {
@@ -1216,6 +1290,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ingColumn {
+ get {
+ return this.columning;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1271,7 +1361,9 @@ namespace FEQ0000 {
string lineP,
string param1,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ bool ing) {
EquipmentFRow rowEquipmentFRow = ((EquipmentFRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -1292,7 +1384,9 @@ namespace FEQ0000 {
lineP,
param1,
flag,
- plant};
+ plant,
+ grp2,
+ ing};
rowEquipmentFRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEquipmentFRow);
return rowEquipmentFRow;
@@ -1341,6 +1435,8 @@ namespace FEQ0000 {
this.columnparam1 = base.Columns["param1"];
this.columnflag = base.Columns["flag"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ this.columning = base.Columns["ing"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1384,6 +1480,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnflag);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columning = new global::System.Data.DataColumn("ing", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columning);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -1409,6 +1509,7 @@ namespace FEQ0000 {
this.columnparam1.MaxLength = 50;
this.columnflag.MaxLength = 50;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1580,6 +1681,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
+ private global::System.Data.DataColumn columning;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EquipmentBDataTable() {
@@ -1765,6 +1870,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ingColumn {
+ get {
+ return this.columning;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1820,7 +1941,9 @@ namespace FEQ0000 {
string lineP,
string param1,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ bool ing) {
EquipmentBRow rowEquipmentBRow = ((EquipmentBRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -1841,7 +1964,9 @@ namespace FEQ0000 {
lineP,
param1,
flag,
- plant};
+ plant,
+ grp2,
+ ing};
rowEquipmentBRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEquipmentBRow);
return rowEquipmentBRow;
@@ -1890,6 +2015,8 @@ namespace FEQ0000 {
this.columnparam1 = base.Columns["param1"];
this.columnflag = base.Columns["flag"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ this.columning = base.Columns["ing"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1933,6 +2060,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnflag);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columning = new global::System.Data.DataColumn("ing", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columning);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -1958,6 +2089,7 @@ namespace FEQ0000 {
this.columnparam1.MaxLength = 50;
this.columnflag.MaxLength = 50;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2129,6 +2261,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
+ private global::System.Data.DataColumn columning;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EquipmentMEDataTable() {
@@ -2314,6 +2450,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ingColumn {
+ get {
+ return this.columning;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2369,7 +2521,9 @@ namespace FEQ0000 {
string lineT,
string param1,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ bool ing) {
EquipmentMERow rowEquipmentMERow = ((EquipmentMERow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2390,7 +2544,9 @@ namespace FEQ0000 {
lineT,
param1,
flag,
- plant};
+ plant,
+ grp2,
+ ing};
rowEquipmentMERow.ItemArray = columnValuesArray;
this.Rows.Add(rowEquipmentMERow);
return rowEquipmentMERow;
@@ -2439,6 +2595,8 @@ namespace FEQ0000 {
this.columnparam1 = base.Columns["param1"];
this.columnflag = base.Columns["flag"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ this.columning = base.Columns["ing"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2482,6 +2640,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnflag);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columning = new global::System.Data.DataColumn("ing", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columning);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -2507,6 +2669,7 @@ namespace FEQ0000 {
this.columnparam1.MaxLength = 50;
this.columnflag.MaxLength = 50;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4170,6 +4333,8 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public LineCodeDataTable() {
@@ -4275,6 +4440,14 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -4312,7 +4485,7 @@ namespace FEQ0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public LineCodeRow AddLineCodeRow(string code, string team, string part, bool except, string memo, string wuid, System.DateTime wdate, string plant) {
+ public LineCodeRow AddLineCodeRow(string code, string team, string part, bool except, string memo, string wuid, System.DateTime wdate, string plant, string grp2) {
LineCodeRow rowLineCodeRow = ((LineCodeRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -4323,7 +4496,8 @@ namespace FEQ0000 {
memo,
wuid,
wdate,
- plant};
+ plant,
+ grp2};
rowLineCodeRow.ItemArray = columnValuesArray;
this.Rows.Add(rowLineCodeRow);
return rowLineCodeRow;
@@ -4362,6 +4536,7 @@ namespace FEQ0000 {
this.columnwuid = base.Columns["wuid"];
this.columnwdate = base.Columns["wdate"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4385,6 +4560,8 @@ namespace FEQ0000 {
base.Columns.Add(this.columnwdate);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -4401,6 +4578,7 @@ namespace FEQ0000 {
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4572,6 +4750,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
+ private global::System.Data.DataColumn columning;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_EquipmentIngDataTable() {
@@ -4757,6 +4939,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ingColumn {
+ get {
+ return this.columning;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -4812,7 +5010,9 @@ namespace FEQ0000 {
string wuid,
System.DateTime wdate,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ bool ing) {
EETGW_EquipmentIngRow rowEETGW_EquipmentIngRow = ((EETGW_EquipmentIngRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -4833,7 +5033,9 @@ namespace FEQ0000 {
wuid,
wdate,
flag,
- plant};
+ plant,
+ grp2,
+ ing};
rowEETGW_EquipmentIngRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_EquipmentIngRow);
return rowEETGW_EquipmentIngRow;
@@ -4882,6 +5084,8 @@ namespace FEQ0000 {
this.columnwdate = base.Columns["wdate"];
this.columnflag = base.Columns["flag"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ this.columning = base.Columns["ing"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4925,6 +5129,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnflag);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columning = new global::System.Data.DataColumn("ing", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columning);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -4950,6 +5158,7 @@ namespace FEQ0000 {
this.columnwdate.AllowDBNull = false;
this.columnflag.MaxLength = 50;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5503,6 +5712,10 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnplant;
+ private global::System.Data.DataColumn columngrp2;
+
+ private global::System.Data.DataColumn columning;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_EquipmentOtherDataTable() {
@@ -5688,6 +5901,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ingColumn {
+ get {
+ return this.columning;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -5743,7 +5972,9 @@ namespace FEQ0000 {
string memo,
string wuid,
System.DateTime wdate,
- string plant) {
+ string plant,
+ string grp2,
+ bool ing) {
EETGW_EquipmentOtherRow rowEETGW_EquipmentOtherRow = ((EETGW_EquipmentOtherRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -5764,7 +5995,9 @@ namespace FEQ0000 {
memo,
wuid,
wdate,
- plant};
+ plant,
+ grp2,
+ ing};
rowEETGW_EquipmentOtherRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_EquipmentOtherRow);
return rowEETGW_EquipmentOtherRow;
@@ -5813,6 +6046,8 @@ namespace FEQ0000 {
this.columnwuid = base.Columns["wuid"];
this.columnwdate = base.Columns["wdate"];
this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ this.columning = base.Columns["ing"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5856,6 +6091,10 @@ namespace FEQ0000 {
base.Columns.Add(this.columnwdate);
this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columning = new global::System.Data.DataColumn("ing", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columning);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -5881,6 +6120,7 @@ namespace FEQ0000 {
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6787,6 +7027,983 @@ namespace FEQ0000 {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class EETGW_EquipmentDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidx;
+
+ private global::System.Data.DataColumn columnpdate;
+
+ private global::System.Data.DataColumn columnasset;
+
+ private global::System.Data.DataColumn columngrp;
+
+ private global::System.Data.DataColumn columntype;
+
+ private global::System.Data.DataColumn columnflag;
+
+ private global::System.Data.DataColumn columnplant;
+
+ private global::System.Data.DataColumn columngrp2;
+
+ private global::System.Data.DataColumn columning;
+
+ private global::System.Data.DataColumn columnmodel;
+
+ private global::System.Data.DataColumn columnlinecode;
+
+ private global::System.Data.DataColumn columnlineT;
+
+ private global::System.Data.DataColumn columnlineP;
+
+ private global::System.Data.DataColumn columnserial;
+
+ private global::System.Data.DataColumn columnmanu;
+
+ private global::System.Data.DataColumn columnparam1;
+
+ private global::System.Data.DataColumn columnprimary;
+
+ private global::System.Data.DataColumn columnexcept;
+
+ private global::System.Data.DataColumn columnmemo;
+
+ private global::System.Data.DataColumn columnwuid;
+
+ private global::System.Data.DataColumn columnwdate;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentDataTable() {
+ this.TableName = "EETGW_Equipment";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal EETGW_EquipmentDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected EETGW_EquipmentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn idxColumn {
+ get {
+ return this.columnidx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn pdateColumn {
+ get {
+ return this.columnpdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn assetColumn {
+ get {
+ return this.columnasset;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grpColumn {
+ get {
+ return this.columngrp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn typeColumn {
+ get {
+ return this.columntype;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn flagColumn {
+ get {
+ return this.columnflag;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn plantColumn {
+ get {
+ return this.columnplant;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ingColumn {
+ get {
+ return this.columning;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn modelColumn {
+ get {
+ return this.columnmodel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn linecodeColumn {
+ get {
+ return this.columnlinecode;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn lineTColumn {
+ get {
+ return this.columnlineT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn linePColumn {
+ get {
+ return this.columnlineP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn serialColumn {
+ get {
+ return this.columnserial;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn manuColumn {
+ get {
+ return this.columnmanu;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn param1Column {
+ get {
+ return this.columnparam1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn primaryColumn {
+ get {
+ return this.columnprimary;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn exceptColumn {
+ get {
+ return this.columnexcept;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn memoColumn {
+ get {
+ return this.columnmemo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wuidColumn {
+ get {
+ return this.columnwuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wdateColumn {
+ get {
+ return this.columnwdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentRow this[int index] {
+ get {
+ return ((EETGW_EquipmentRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_EquipmentRowChangeEventHandler EETGW_EquipmentRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_EquipmentRowChangeEventHandler EETGW_EquipmentRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_EquipmentRowChangeEventHandler EETGW_EquipmentRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_EquipmentRowChangeEventHandler EETGW_EquipmentRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void AddEETGW_EquipmentRow(EETGW_EquipmentRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentRow AddEETGW_EquipmentRow(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string flag,
+ string plant,
+ string grp2,
+ bool ing,
+ string model,
+ string linecode,
+ string lineT,
+ string lineP,
+ string serial,
+ string manu,
+ string param1,
+ bool primary,
+ bool except,
+ string memo,
+ string wuid,
+ System.DateTime wdate) {
+ EETGW_EquipmentRow rowEETGW_EquipmentRow = ((EETGW_EquipmentRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ pdate,
+ asset,
+ grp,
+ type,
+ flag,
+ plant,
+ grp2,
+ ing,
+ model,
+ linecode,
+ lineT,
+ lineP,
+ serial,
+ manu,
+ param1,
+ primary,
+ except,
+ memo,
+ wuid,
+ wdate};
+ rowEETGW_EquipmentRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowEETGW_EquipmentRow);
+ return rowEETGW_EquipmentRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentRow FindByidx(int idx) {
+ return ((EETGW_EquipmentRow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ EETGW_EquipmentDataTable cln = ((EETGW_EquipmentDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new EETGW_EquipmentDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.columnidx = base.Columns["idx"];
+ this.columnpdate = base.Columns["pdate"];
+ this.columnasset = base.Columns["asset"];
+ this.columngrp = base.Columns["grp"];
+ this.columntype = base.Columns["type"];
+ this.columnflag = base.Columns["flag"];
+ this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ this.columning = base.Columns["ing"];
+ this.columnmodel = base.Columns["model"];
+ this.columnlinecode = base.Columns["linecode"];
+ this.columnlineT = base.Columns["lineT"];
+ this.columnlineP = base.Columns["lineP"];
+ this.columnserial = base.Columns["serial"];
+ this.columnmanu = base.Columns["manu"];
+ this.columnparam1 = base.Columns["param1"];
+ this.columnprimary = base.Columns["primary"];
+ this.columnexcept = base.Columns["except"];
+ this.columnmemo = base.Columns["memo"];
+ this.columnwuid = base.Columns["wuid"];
+ this.columnwdate = base.Columns["wdate"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidx);
+ this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnpdate);
+ this.columnasset = new global::System.Data.DataColumn("asset", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnasset);
+ this.columngrp = new global::System.Data.DataColumn("grp", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp);
+ this.columntype = new global::System.Data.DataColumn("type", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntype);
+ this.columnflag = new global::System.Data.DataColumn("flag", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnflag);
+ this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columning = new global::System.Data.DataColumn("ing", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columning);
+ this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnmodel);
+ this.columnlinecode = new global::System.Data.DataColumn("linecode", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlinecode);
+ this.columnlineT = new global::System.Data.DataColumn("lineT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlineT);
+ this.columnlineP = new global::System.Data.DataColumn("lineP", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlineP);
+ this.columnserial = new global::System.Data.DataColumn("serial", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnserial);
+ this.columnmanu = new global::System.Data.DataColumn("manu", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnmanu);
+ this.columnparam1 = new global::System.Data.DataColumn("param1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnparam1);
+ this.columnprimary = new global::System.Data.DataColumn("primary", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnprimary);
+ this.columnexcept = new global::System.Data.DataColumn("except", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnexcept);
+ this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnmemo);
+ this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwuid);
+ this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwdate);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnidx}, true));
+ this.columnidx.AutoIncrement = true;
+ this.columnidx.AutoIncrementSeed = -1;
+ this.columnidx.AutoIncrementStep = -1;
+ this.columnidx.AllowDBNull = false;
+ this.columnidx.ReadOnly = true;
+ this.columnidx.Unique = true;
+ this.columnpdate.MaxLength = 20;
+ this.columnasset.MaxLength = 50;
+ this.columngrp.MaxLength = 50;
+ this.columntype.MaxLength = 50;
+ this.columnflag.MaxLength = 50;
+ this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
+ this.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnlineT.MaxLength = 50;
+ this.columnlineP.MaxLength = 50;
+ this.columnserial.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnparam1.MaxLength = 50;
+ this.columnmemo.MaxLength = 255;
+ this.columnwuid.AllowDBNull = false;
+ this.columnwuid.MaxLength = 20;
+ this.columnwdate.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentRow NewEETGW_EquipmentRow() {
+ return ((EETGW_EquipmentRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new EETGW_EquipmentRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(EETGW_EquipmentRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.EETGW_EquipmentRowChanged != null)) {
+ this.EETGW_EquipmentRowChanged(this, new EETGW_EquipmentRowChangeEvent(((EETGW_EquipmentRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.EETGW_EquipmentRowChanging != null)) {
+ this.EETGW_EquipmentRowChanging(this, new EETGW_EquipmentRowChangeEvent(((EETGW_EquipmentRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.EETGW_EquipmentRowDeleted != null)) {
+ this.EETGW_EquipmentRowDeleted(this, new EETGW_EquipmentRowChangeEvent(((EETGW_EquipmentRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.EETGW_EquipmentRowDeleting != null)) {
+ this.EETGW_EquipmentRowDeleting(this, new EETGW_EquipmentRowChangeEvent(((EETGW_EquipmentRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void RemoveEETGW_EquipmentRow(EETGW_EquipmentRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ dsEQ ds = new dsEQ();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "EETGW_EquipmentDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class vEquStockAllDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnpdate;
+
+ private global::System.Data.DataColumn columngrp;
+
+ private global::System.Data.DataColumn columnmanu;
+
+ private global::System.Data.DataColumn columnmodel;
+
+ private global::System.Data.DataColumn columnlinecode;
+
+ private global::System.Data.DataColumn columnlineT;
+
+ private global::System.Data.DataColumn columnlineP;
+
+ private global::System.Data.DataColumn columncnt;
+
+ private global::System.Data.DataColumn columnRemark;
+
+ private global::System.Data.DataColumn columnplant;
+
+ private global::System.Data.DataColumn columngrp2;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllDataTable() {
+ this.TableName = "vEquStockAll";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal vEquStockAllDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected vEquStockAllDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn pdateColumn {
+ get {
+ return this.columnpdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grpColumn {
+ get {
+ return this.columngrp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn manuColumn {
+ get {
+ return this.columnmanu;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn modelColumn {
+ get {
+ return this.columnmodel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn linecodeColumn {
+ get {
+ return this.columnlinecode;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn lineTColumn {
+ get {
+ return this.columnlineT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn linePColumn {
+ get {
+ return this.columnlineP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn cntColumn {
+ get {
+ return this.columncnt;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn RemarkColumn {
+ get {
+ return this.columnRemark;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn plantColumn {
+ get {
+ return this.columnplant;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn grp2Column {
+ get {
+ return this.columngrp2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllRow this[int index] {
+ get {
+ return ((vEquStockAllRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event vEquStockAllRowChangeEventHandler vEquStockAllRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event vEquStockAllRowChangeEventHandler vEquStockAllRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event vEquStockAllRowChangeEventHandler vEquStockAllRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event vEquStockAllRowChangeEventHandler vEquStockAllRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void AddvEquStockAllRow(vEquStockAllRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllRow AddvEquStockAllRow(string pdate, string grp, string manu, string model, string linecode, string lineT, string lineP, int cnt, string Remark, string plant, string grp2) {
+ vEquStockAllRow rowvEquStockAllRow = ((vEquStockAllRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ pdate,
+ grp,
+ manu,
+ model,
+ linecode,
+ lineT,
+ lineP,
+ cnt,
+ Remark,
+ plant,
+ grp2};
+ rowvEquStockAllRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowvEquStockAllRow);
+ return rowvEquStockAllRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ vEquStockAllDataTable cln = ((vEquStockAllDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new vEquStockAllDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.columnpdate = base.Columns["pdate"];
+ this.columngrp = base.Columns["grp"];
+ this.columnmanu = base.Columns["manu"];
+ this.columnmodel = base.Columns["model"];
+ this.columnlinecode = base.Columns["linecode"];
+ this.columnlineT = base.Columns["lineT"];
+ this.columnlineP = base.Columns["lineP"];
+ this.columncnt = base.Columns["cnt"];
+ this.columnRemark = base.Columns["Remark"];
+ this.columnplant = base.Columns["plant"];
+ this.columngrp2 = base.Columns["grp2"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnpdate);
+ this.columngrp = new global::System.Data.DataColumn("grp", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp);
+ this.columnmanu = new global::System.Data.DataColumn("manu", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnmanu);
+ this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnmodel);
+ this.columnlinecode = new global::System.Data.DataColumn("linecode", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlinecode);
+ this.columnlineT = new global::System.Data.DataColumn("lineT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlineT);
+ this.columnlineP = new global::System.Data.DataColumn("lineP", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlineP);
+ this.columncnt = new global::System.Data.DataColumn("cnt", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncnt);
+ this.columnRemark = new global::System.Data.DataColumn("Remark", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRemark);
+ this.columnplant = new global::System.Data.DataColumn("plant", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnplant);
+ this.columngrp2 = new global::System.Data.DataColumn("grp2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp2);
+ this.columnpdate.MaxLength = 20;
+ this.columngrp.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnlineT.MaxLength = 101;
+ this.columnlineP.MaxLength = 50;
+ this.columnRemark.MaxLength = 255;
+ this.columnplant.MaxLength = 10;
+ this.columngrp2.MaxLength = 20;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllRow NewvEquStockAllRow() {
+ return ((vEquStockAllRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new vEquStockAllRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(vEquStockAllRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.vEquStockAllRowChanged != null)) {
+ this.vEquStockAllRowChanged(this, new vEquStockAllRowChangeEvent(((vEquStockAllRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.vEquStockAllRowChanging != null)) {
+ this.vEquStockAllRowChanging(this, new vEquStockAllRowChangeEvent(((vEquStockAllRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.vEquStockAllRowDeleted != null)) {
+ this.vEquStockAllRowDeleted(this, new vEquStockAllRowChangeEvent(((vEquStockAllRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.vEquStockAllRowDeleting != null)) {
+ this.vEquStockAllRowDeleting(this, new vEquStockAllRowChangeEvent(((vEquStockAllRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void RemovevEquStockAllRow(vEquStockAllRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ dsEQ ds = new dsEQ();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "vEquStockAllDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -7116,6 +8333,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentF.grp2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'grp2\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentF.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ing {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentF.ingColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'ing\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentF.ingColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -7307,6 +8556,30 @@ namespace FEQ0000 {
public void SetplantNull() {
this[this.tableEquipmentF.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableEquipmentF.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableEquipmentF.grp2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsingNull() {
+ return this.IsNull(this.tableEquipmentF.ingColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetingNull() {
+ this[this.tableEquipmentF.ingColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -7612,6 +8885,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.grp2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'grp2\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ing {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentB.ingColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'ing\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.ingColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -7803,6 +9108,30 @@ namespace FEQ0000 {
public void SetplantNull() {
this[this.tableEquipmentB.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableEquipmentB.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableEquipmentB.grp2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsingNull() {
+ return this.IsNull(this.tableEquipmentB.ingColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetingNull() {
+ this[this.tableEquipmentB.ingColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -8108,6 +9437,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.grp2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'grp2\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ing {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentME.ingColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'ing\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.ingColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -8299,6 +9660,30 @@ namespace FEQ0000 {
public void SetplantNull() {
this[this.tableEquipmentME.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableEquipmentME.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableEquipmentME.grp2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsingNull() {
+ return this.IsNull(this.tableEquipmentME.ingColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetingNull() {
+ this[this.tableEquipmentME.ingColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -9551,6 +10936,22 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ if (this.Isgrp2Null()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableLineCode.grp2Column]));
+ }
+ }
+ set {
+ this[this.tableLineCode.grp2Column] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IscodeNull() {
@@ -9622,6 +11023,18 @@ namespace FEQ0000 {
public void SetplantNull() {
this[this.tableLineCode.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableLineCode.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableLineCode.grp2Column] = global::System.Convert.DBNull;
+ }
}
///
@@ -9927,6 +11340,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ try {
+ return ((string)(this[this.tableEETGW_EquipmentIng.grp2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EETGW_EquipmentIng\' 테이블의 \'grp2\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEETGW_EquipmentIng.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ing {
+ get {
+ try {
+ return ((bool)(this[this.tableEETGW_EquipmentIng.ingColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EETGW_EquipmentIng\' 테이블의 \'ing\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEETGW_EquipmentIng.ingColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -10118,6 +11563,30 @@ namespace FEQ0000 {
public void SetplantNull() {
this[this.tableEETGW_EquipmentIng.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableEETGW_EquipmentIng.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableEETGW_EquipmentIng.grp2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsingNull() {
+ return this.IsNull(this.tableEETGW_EquipmentIng.ingColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetingNull() {
+ this[this.tableEETGW_EquipmentIng.ingColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -10718,6 +12187,38 @@ namespace FEQ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ try {
+ return ((string)(this[this.tableEETGW_EquipmentOther.grp2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EETGW_EquipmentOther\' 테이블의 \'grp2\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEETGW_EquipmentOther.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ing {
+ get {
+ try {
+ return ((bool)(this[this.tableEETGW_EquipmentOther.ingColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EETGW_EquipmentOther\' 테이블의 \'ing\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEETGW_EquipmentOther.ingColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -10909,6 +12410,30 @@ namespace FEQ0000 {
public void SetplantNull() {
this[this.tableEETGW_EquipmentOther.plantColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableEETGW_EquipmentOther.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableEETGW_EquipmentOther.grp2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsingNull() {
+ return this.IsNull(this.tableEETGW_EquipmentOther.ingColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetingNull() {
+ this[this.tableEETGW_EquipmentOther.ingColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -11512,6 +13037,881 @@ namespace FEQ0000 {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class EETGW_EquipmentRow : global::System.Data.DataRow {
+
+ private EETGW_EquipmentDataTable tableEETGW_Equipment;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal EETGW_EquipmentRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableEETGW_Equipment = ((EETGW_EquipmentDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableEETGW_Equipment.idxColumn]));
+ }
+ set {
+ this[this.tableEETGW_Equipment.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string pdate {
+ get {
+ if (this.IspdateNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.pdateColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string asset {
+ get {
+ if (this.IsassetNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.assetColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.assetColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp {
+ get {
+ if (this.IsgrpNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.grpColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string type {
+ get {
+ if (this.IstypeNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.typeColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.typeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string flag {
+ get {
+ if (this.IsflagNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.flagColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.flagColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string plant {
+ get {
+ if (this.IsplantNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.plantColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.plantColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ if (this.Isgrp2Null()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.grp2Column]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ing {
+ get {
+ if (this.IsingNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableEETGW_Equipment.ingColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.ingColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string model {
+ get {
+ if (this.IsmodelNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.modelColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string linecode {
+ get {
+ if (this.IslinecodeNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.linecodeColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string lineT {
+ get {
+ if (this.IslineTNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.lineTColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string lineP {
+ get {
+ if (this.IslinePNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.linePColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string serial {
+ get {
+ if (this.IsserialNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.serialColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.serialColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string manu {
+ get {
+ if (this.IsmanuNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.manuColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string param1 {
+ get {
+ if (this.Isparam1Null()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.param1Column]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.param1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool primary {
+ get {
+ if (this.IsprimaryNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableEETGW_Equipment.primaryColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.primaryColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool except {
+ get {
+ if (this.IsexceptNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableEETGW_Equipment.exceptColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.exceptColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string memo {
+ get {
+ if (this.IsmemoNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_Equipment.memoColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_Equipment.memoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string wuid {
+ get {
+ return ((string)(this[this.tableEETGW_Equipment.wuidColumn]));
+ }
+ set {
+ this[this.tableEETGW_Equipment.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ return ((global::System.DateTime)(this[this.tableEETGW_Equipment.wdateColumn]));
+ }
+ set {
+ this[this.tableEETGW_Equipment.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tableEETGW_Equipment.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tableEETGW_Equipment.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsassetNull() {
+ return this.IsNull(this.tableEETGW_Equipment.assetColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetassetNull() {
+ this[this.tableEETGW_Equipment.assetColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tableEETGW_Equipment.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tableEETGW_Equipment.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IstypeNull() {
+ return this.IsNull(this.tableEETGW_Equipment.typeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SettypeNull() {
+ this[this.tableEETGW_Equipment.typeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsflagNull() {
+ return this.IsNull(this.tableEETGW_Equipment.flagColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetflagNull() {
+ this[this.tableEETGW_Equipment.flagColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsplantNull() {
+ return this.IsNull(this.tableEETGW_Equipment.plantColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetplantNull() {
+ this[this.tableEETGW_Equipment.plantColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tableEETGW_Equipment.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tableEETGW_Equipment.grp2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsingNull() {
+ return this.IsNull(this.tableEETGW_Equipment.ingColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetingNull() {
+ this[this.tableEETGW_Equipment.ingColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tableEETGW_Equipment.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tableEETGW_Equipment.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tableEETGW_Equipment.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tableEETGW_Equipment.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tableEETGW_Equipment.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tableEETGW_Equipment.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tableEETGW_Equipment.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tableEETGW_Equipment.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsserialNull() {
+ return this.IsNull(this.tableEETGW_Equipment.serialColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetserialNull() {
+ this[this.tableEETGW_Equipment.serialColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tableEETGW_Equipment.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tableEETGW_Equipment.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isparam1Null() {
+ return this.IsNull(this.tableEETGW_Equipment.param1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setparam1Null() {
+ this[this.tableEETGW_Equipment.param1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsprimaryNull() {
+ return this.IsNull(this.tableEETGW_Equipment.primaryColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetprimaryNull() {
+ this[this.tableEETGW_Equipment.primaryColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsexceptNull() {
+ return this.IsNull(this.tableEETGW_Equipment.exceptColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetexceptNull() {
+ this[this.tableEETGW_Equipment.exceptColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsmemoNull() {
+ return this.IsNull(this.tableEETGW_Equipment.memoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetmemoNull() {
+ this[this.tableEETGW_Equipment.memoColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class vEquStockAllRow : global::System.Data.DataRow {
+
+ private vEquStockAllDataTable tablevEquStockAll;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal vEquStockAllRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablevEquStockAll = ((vEquStockAllDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string pdate {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.pdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string manu {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.manuColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string model {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.modelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int cnt {
+ get {
+ try {
+ return ((int)(this[this.tablevEquStockAll.cntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'cnt\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.cntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Remark {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.RemarkColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'Remark\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.RemarkColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string plant {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.plantColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'plant\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.plantColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grp2 {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockAll.grp2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockAll\' 테이블의 \'grp2\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockAll.grp2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tablevEquStockAll.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tablevEquStockAll.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tablevEquStockAll.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tablevEquStockAll.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tablevEquStockAll.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tablevEquStockAll.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tablevEquStockAll.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tablevEquStockAll.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tablevEquStockAll.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tablevEquStockAll.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tablevEquStockAll.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tablevEquStockAll.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tablevEquStockAll.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tablevEquStockAll.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IscntNull() {
+ return this.IsNull(this.tablevEquStockAll.cntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetcntNull() {
+ this[this.tablevEquStockAll.cntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsRemarkNull() {
+ return this.IsNull(this.tablevEquStockAll.RemarkColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetRemarkNull() {
+ this[this.tablevEquStockAll.RemarkColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsplantNull() {
+ return this.IsNull(this.tablevEquStockAll.plantColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetplantNull() {
+ this[this.tablevEquStockAll.plantColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isgrp2Null() {
+ return this.IsNull(this.tablevEquStockAll.grp2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setgrp2Null() {
+ this[this.tablevEquStockAll.grp2Column] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -11987,6 +14387,74 @@ namespace FEQ0000 {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public class EETGW_EquipmentRowChangeEvent : global::System.EventArgs {
+
+ private EETGW_EquipmentRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentRowChangeEvent(EETGW_EquipmentRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public class vEquStockAllRowChangeEvent : global::System.EventArgs {
+
+ private vEquStockAllRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllRowChangeEvent(vEquStockAllRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace FEQ0000.dsEQTableAdapters {
@@ -12127,7 +14595,7 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT pdate\r\nFROM EquipmentB\r\nGROUP BY pdate\r\nUNION ALL\r\nSELECT pdate\r\nFRO" +
@@ -12137,29 +14605,33 @@ namespace FEQ0000.dsEQTableAdapters {
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
- this._commandCollection[1].CommandText = "SELECT pdate\r\nFROM EquipmentB\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
+ this._commandCollection[1].CommandText = "SELECT pdate\r\nFROM EETGW_Equipment\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
- this._commandCollection[2].CommandText = "SELECT pdate\r\nFROM EquipmentF\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
+ this._commandCollection[2].CommandText = "SELECT pdate\r\nFROM EquipmentB\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = "SELECT pdate\r\nFROM EETGW_EquipmentIng\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
+ this._commandCollection[3].CommandText = "SELECT pdate\r\nFROM EquipmentF\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
- this._commandCollection[4].CommandText = "SELECT pdate\r\nFROM EquipmentME\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
+ this._commandCollection[4].CommandText = "SELECT pdate\r\nFROM EETGW_EquipmentIng\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
- this._commandCollection[5].CommandText = "SELECT pdate\r\nFROM EETGW_EquipmentOther\r\nGROUP BY pdate\r\nORDER BY pdate DESC" +
- "";
+ this._commandCollection[5].CommandText = "SELECT pdate\r\nFROM EquipmentME\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
- this._commandCollection[6].CommandText = "SELECT pdate\r\nFROM vEquStockSummary\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
+ this._commandCollection[6].CommandText = "SELECT pdate\r\nFROM EETGW_EquipmentOther\r\nGROUP BY pdate\r\nORDER BY pdate DESC" +
+ "";
this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[7].Connection = this.Connection;
+ this._commandCollection[7].CommandText = "SELECT pdate\r\nFROM vEquStockSummary\r\nGROUP BY pdate\r\nORDER BY pdate DESC";
+ this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12190,7 +14662,7 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsEQ.EqDateListDataTable GetDateListB() {
+ public virtual dsEQ.EqDateListDataTable GetDateListAll() {
this.Adapter.SelectCommand = this.CommandCollection[1];
dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
this.Adapter.Fill(dataTable);
@@ -12201,7 +14673,7 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsEQ.EqDateListDataTable GetDateListF() {
+ public virtual dsEQ.EqDateListDataTable GetDateListB() {
this.Adapter.SelectCommand = this.CommandCollection[2];
dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
this.Adapter.Fill(dataTable);
@@ -12212,7 +14684,7 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsEQ.EqDateListDataTable GetDateListIng() {
+ public virtual dsEQ.EqDateListDataTable GetDateListF() {
this.Adapter.SelectCommand = this.CommandCollection[3];
dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
this.Adapter.Fill(dataTable);
@@ -12223,7 +14695,7 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsEQ.EqDateListDataTable GetDateListME() {
+ public virtual dsEQ.EqDateListDataTable GetDateListIng() {
this.Adapter.SelectCommand = this.CommandCollection[4];
dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
this.Adapter.Fill(dataTable);
@@ -12234,7 +14706,7 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsEQ.EqDateListDataTable GetDateListOther() {
+ public virtual dsEQ.EqDateListDataTable GetDateListME() {
this.Adapter.SelectCommand = this.CommandCollection[5];
dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
this.Adapter.Fill(dataTable);
@@ -12245,12 +14717,23 @@ namespace FEQ0000.dsEQTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsEQ.EqDateListDataTable GetDateListSummary() {
+ public virtual dsEQ.EqDateListDataTable GetDateListOther() {
this.Adapter.SelectCommand = this.CommandCollection[6];
dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual dsEQ.EqDateListDataTable GetDateListSummary() {
+ this.Adapter.SelectCommand = this.CommandCollection[7];
+ dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
}
///
@@ -12393,10 +14876,12 @@ namespace FEQ0000.dsEQTableAdapters {
tableMapping.ColumnMappings.Add("param1", "param1");
tableMapping.ColumnMappings.Add("flag", "flag");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ tableMapping.ColumnMappings.Add("ing", "ing");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EquipmentF] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EquipmentF] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -12433,10 +14918,14 @@ namespace FEQ0000.dsEQTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [EquipmentF] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM EquipmentF WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EquipmentF] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing FROM EquipmentF WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12456,32 +14945,36 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [EquipmentF] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] " +
"= @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = " +
"@manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid," +
" [wdate] = @wdate, [lineT] = @lineT, [lineP] = @lineP, [param1] = @param1, [flag" +
- "] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate =" +
- " 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 " +
- "AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [" +
- "grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS N" +
- "ULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) " +
- "OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NUL" +
- "L) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] I" +
- "S NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS N" +
- "ULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NU" +
- "LL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS" +
- " NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NU" +
- "LL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @" +
- "Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Orig" +
- "inal_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Origina" +
- "l_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Origina" +
- "l_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_fla" +
- "g)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant))" +
- ");\r\nSELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary" +
- "], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM Equipment" +
- "F WHERE (idx = @idx)";
+ "] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Origi" +
+ "nal_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pd" +
+ "ate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset" +
+ ")) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@I" +
+ "sNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_m" +
+ "odel = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_line" +
+ "code = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@Is" +
+ "Null_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@I" +
+ "sNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_p" +
+ "rimary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsN" +
+ "ull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@Is" +
+ "Null_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @O" +
+ "riginal_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT" +
+ "] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] I" +
+ "S NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS" +
+ " NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NU" +
+ "LL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) O" +
+ "R ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([g" +
+ "rp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Or" +
+ "iginal_ing)));\r\nSELECT idx, pdate, asset, grp, type, model, linecode, serial, ma" +
+ "nu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, g" +
+ "rp2, ing FROM EquipmentF WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12501,6 +14994,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -12536,6 +15031,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -12553,8 +15052,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [" +
- "except], memo, wuid, wdate, lineT, lineP, param1, flag, plant\r\nFROM Equipmen" +
- "tF\r\nWHERE (pdate = @pdate)";
+ "except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing\r\nFROM " +
+ " EquipmentF\r\nWHERE (pdate = @pdate)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -12652,7 +15151,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_lineP,
string Original_param1,
string Original_flag,
- string Original_plant) {
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -12789,6 +15290,22 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_plant));
}
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -12827,7 +15344,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string lineP,
string param1,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ global::System.Nullable ing) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -12931,6 +15450,18 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(plant));
}
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -12970,6 +15501,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string param1,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -12989,6 +15522,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_param1,
string Original_flag,
string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -13093,143 +15628,171 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(plant));
}
- this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(grp2));
}
- if ((Original_asset == null)) {
+ if ((ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_asset));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_pdate));
}
- if ((Original_grp == null)) {
+ if ((Original_asset == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_grp));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_asset));
}
- if ((Original_type == null)) {
+ if ((Original_grp == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_type));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_grp));
}
- if ((Original_model == null)) {
+ if ((Original_type == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_model));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_type));
}
- if ((Original_linecode == null)) {
+ if ((Original_model == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_linecode));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_model));
}
- if ((Original_serial == null)) {
+ if ((Original_linecode == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_serial));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_linecode));
}
- if ((Original_manu == null)) {
+ if ((Original_serial == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_manu));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_serial));
}
- if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_primary.Value));
- }
- else {
+ if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
- if ((Original_except.HasValue == true)) {
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(Original_primary.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
- if ((Original_memo == null)) {
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((bool)(Original_except.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
+ }
else {
- this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[42].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((System.DateTime)(Original_wdate));
if ((Original_lineT == null)) {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_lineT));
- }
- if ((Original_lineP == null)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_lineP));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_lineT));
}
- if ((Original_param1 == null)) {
+ if ((Original_lineP == null)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_param1));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_lineP));
}
- if ((Original_flag == null)) {
+ if ((Original_param1 == null)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_flag));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_param1));
}
- if ((Original_plant == null)) {
+ if ((Original_flag == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_flag));
}
- this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(idx));
+ if ((Original_plant == null)) {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_plant));
+ }
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -13269,6 +15832,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string param1,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -13287,8 +15852,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_lineP,
string Original_param1,
string Original_flag,
- string Original_plant) {
- return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineT, lineP, param1, flag, plant, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_lineT, Original_lineP, Original_param1, Original_flag, Original_plant, Original_idx);
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
+ return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_lineT, Original_lineP, Original_param1, Original_flag, Original_plant, Original_grp2, Original_ing, Original_idx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -13461,10 +16028,12 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
tableMapping.ColumnMappings.Add("param1", "param1");
tableMapping.ColumnMappings.Add("flag", "flag");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ tableMapping.ColumnMappings.Add("ing", "ing");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EquipmentB] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EquipmentB] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -13501,10 +16070,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [EquipmentB] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM EquipmentB WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EquipmentB] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing FROM EquipmentB WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -13524,32 +16097,36 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [EquipmentB] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] " +
"= @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = " +
"@manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid," +
" [wdate] = @wdate, [lineT] = @lineT, [lineP] = @lineP, [param1] = @param1, [flag" +
- "] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate =" +
- " 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 " +
- "AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [" +
- "grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS N" +
- "ULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) " +
- "OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NUL" +
- "L) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] I" +
- "S NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS N" +
- "ULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NU" +
- "LL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS" +
- " NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NU" +
- "LL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @" +
- "Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Orig" +
- "inal_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Origina" +
- "l_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Origina" +
- "l_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_fla" +
- "g)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant))" +
- ");\r\nSELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary" +
- "], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM Equipment" +
- "B WHERE (idx = @idx)";
+ "] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Origi" +
+ "nal_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pd" +
+ "ate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset" +
+ ")) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@I" +
+ "sNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_m" +
+ "odel = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_line" +
+ "code = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@Is" +
+ "Null_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@I" +
+ "sNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_p" +
+ "rimary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsN" +
+ "ull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@Is" +
+ "Null_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @O" +
+ "riginal_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT" +
+ "] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] I" +
+ "S NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS" +
+ " NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NU" +
+ "LL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) O" +
+ "R ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([g" +
+ "rp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Or" +
+ "iginal_ing)));\r\nSELECT idx, pdate, asset, grp, type, model, linecode, serial, ma" +
+ "nu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, g" +
+ "rp2, ing FROM EquipmentB WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -13569,6 +16146,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -13604,6 +16183,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -13621,8 +16204,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [" +
- "except], memo, wuid, wdate, lineT, lineP, param1, flag, plant\r\nFROM Equipmen" +
- "tB\r\nWHERE (pdate = @pdate)";
+ "except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing\r\nFROM " +
+ " EquipmentB\r\nWHERE (pdate = @pdate)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -13720,7 +16303,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_lineP,
string Original_param1,
string Original_flag,
- string Original_plant) {
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -13857,6 +16442,22 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_plant));
}
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -13895,7 +16496,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string lineP,
string param1,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ global::System.Nullable ing) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -13999,6 +16602,18 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(plant));
}
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -14038,6 +16653,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string param1,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -14057,6 +16674,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_param1,
string Original_flag,
string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -14161,143 +16780,171 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(plant));
}
- this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(grp2));
}
- if ((Original_asset == null)) {
+ if ((ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_asset));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_pdate));
}
- if ((Original_grp == null)) {
+ if ((Original_asset == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_grp));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_asset));
}
- if ((Original_type == null)) {
+ if ((Original_grp == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_type));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_grp));
}
- if ((Original_model == null)) {
+ if ((Original_type == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_model));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_type));
}
- if ((Original_linecode == null)) {
+ if ((Original_model == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_linecode));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_model));
}
- if ((Original_serial == null)) {
+ if ((Original_linecode == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_serial));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_linecode));
}
- if ((Original_manu == null)) {
+ if ((Original_serial == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_manu));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_serial));
}
- if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_primary.Value));
- }
- else {
+ if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
- if ((Original_except.HasValue == true)) {
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(Original_primary.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
- if ((Original_memo == null)) {
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((bool)(Original_except.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
+ }
else {
- this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[42].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((System.DateTime)(Original_wdate));
if ((Original_lineT == null)) {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_lineT));
- }
- if ((Original_lineP == null)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_lineP));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_lineT));
}
- if ((Original_param1 == null)) {
+ if ((Original_lineP == null)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_param1));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_lineP));
}
- if ((Original_flag == null)) {
+ if ((Original_param1 == null)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_flag));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_param1));
}
- if ((Original_plant == null)) {
+ if ((Original_flag == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_flag));
}
- this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(idx));
+ if ((Original_plant == null)) {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_plant));
+ }
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -14337,6 +16984,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string param1,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -14355,8 +17004,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_lineP,
string Original_param1,
string Original_flag,
- string Original_plant) {
- return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineT, lineP, param1, flag, plant, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_lineT, Original_lineP, Original_param1, Original_flag, Original_plant, Original_idx);
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
+ return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_lineT, Original_lineP, Original_param1, Original_flag, Original_plant, Original_grp2, Original_ing, Original_idx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14529,10 +17180,30 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
tableMapping.ColumnMappings.Add("param1", "param1");
tableMapping.ColumnMappings.Add("flag", "flag");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ tableMapping.ColumnMappings.Add("ing", "ing");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EquipmentME] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))";
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [EquipmentME] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 " +
+ "AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND" +
+ " [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp" +
+ "] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL" +
+ ") OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR " +
+ "([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) " +
+ "OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS N" +
+ "ULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL" +
+ ") OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL)" +
+ " OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NU" +
+ "LL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL)" +
+ " OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Ori" +
+ "ginal_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Origina" +
+ "l_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_l" +
+ "ineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_p" +
+ "aram1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag))" +
+ " AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AN" +
+ "D ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@Is" +
+ "Null_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -14569,10 +17240,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [EquipmentME] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineP], [lineT], [param1], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineP, @lineT, @param1, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant FROM EquipmentME WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EquipmentME] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineP], [lineT], [param1], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineP, @lineT, @param1, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant, grp2, ing FROM EquipmentME WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -14592,32 +17267,36 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [EquipmentME] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type]" +
" = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] =" +
" @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid" +
", [wdate] = @wdate, [lineP] = @lineP, [lineT] = @lineT, [param1] = @param1, [fla" +
- "g] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate " +
- "= 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1" +
- " AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND " +
- "[grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS " +
- "NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL)" +
- " OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NU" +
- "LL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] " +
- "IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS " +
- "NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS N" +
- "ULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] I" +
- "S NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS N" +
- "ULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = " +
- "@Original_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Ori" +
- "ginal_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Origin" +
- "al_lineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Origin" +
- "al_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_fl" +
- "ag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)" +
- "));\r\nSELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primar" +
- "y], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant FROM Equipmen" +
- "tME WHERE (idx = @idx)";
+ "g] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Orig" +
+ "inal_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_p" +
+ "date)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asse" +
+ "t)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@" +
+ "IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_" +
+ "model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_lin" +
+ "ecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@I" +
+ "sNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@" +
+ "IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_" +
+ "primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@Is" +
+ "Null_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@I" +
+ "sNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @" +
+ "Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineP = 1 AND [line" +
+ "P] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] " +
+ "IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_param1 = 1 AND [param1] I" +
+ "S NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS N" +
+ "ULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) " +
+ "OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([" +
+ "grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @O" +
+ "riginal_ing)));\r\nSELECT idx, pdate, asset, grp, type, model, linecode, serial, m" +
+ "anu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant, " +
+ "grp2, ing FROM EquipmentME WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -14637,6 +17316,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -14672,6 +17353,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -14689,8 +17374,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [" +
- "except], memo, wuid, wdate, lineP, lineT, param1, flag, plant\r\nFROM Equipmen" +
- "tME\r\nWHERE (pdate = @pdate)";
+ "except], memo, wuid, wdate, lineP, lineT, param1, flag, plant, grp2, ing\r\nFROM " +
+ " EquipmentME\r\nWHERE (pdate = @pdate)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -14788,7 +17473,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_lineT,
string Original_param1,
string Original_flag,
- string Original_plant) {
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -14925,6 +17612,22 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_plant));
}
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -14963,7 +17666,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string lineT,
string param1,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ global::System.Nullable ing) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -15067,6 +17772,18 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(plant));
}
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -15106,6 +17823,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string param1,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -15125,6 +17844,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_param1,
string Original_flag,
string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -15229,143 +17950,171 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(plant));
}
- this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(grp2));
}
- if ((Original_asset == null)) {
+ if ((ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_asset));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_pdate));
}
- if ((Original_grp == null)) {
+ if ((Original_asset == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_grp));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_asset));
}
- if ((Original_type == null)) {
+ if ((Original_grp == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_type));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_grp));
}
- if ((Original_model == null)) {
+ if ((Original_type == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_model));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_type));
}
- if ((Original_linecode == null)) {
+ if ((Original_model == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_linecode));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_model));
}
- if ((Original_serial == null)) {
+ if ((Original_linecode == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_serial));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_linecode));
}
- if ((Original_manu == null)) {
+ if ((Original_serial == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_manu));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_serial));
}
- if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_primary.Value));
- }
- else {
+ if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
- if ((Original_except.HasValue == true)) {
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(Original_primary.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
- if ((Original_memo == null)) {
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((bool)(Original_except.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
+ }
else {
- this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[42].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((System.DateTime)(Original_wdate));
if ((Original_lineP == null)) {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_lineP));
- }
- if ((Original_lineT == null)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_lineT));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_lineP));
}
- if ((Original_param1 == null)) {
+ if ((Original_lineT == null)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_param1));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_lineT));
}
- if ((Original_flag == null)) {
+ if ((Original_param1 == null)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_flag));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_param1));
}
- if ((Original_plant == null)) {
+ if ((Original_flag == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_flag));
}
- this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(idx));
+ if ((Original_plant == null)) {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_plant));
+ }
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -15405,6 +18154,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string param1,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -15423,8 +18174,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_lineT,
string Original_param1,
string Original_flag,
- string Original_plant) {
- return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineP, lineT, param1, flag, plant, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_lineP, Original_lineT, Original_param1, Original_flag, Original_plant, Original_idx);
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
+ return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineP, lineT, param1, flag, plant, grp2, ing, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_lineP, Original_lineT, Original_param1, Original_flag, Original_plant, Original_grp2, Original_ing, Original_idx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16663,10 +19416,11 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
tableMapping.ColumnMappings.Add("wuid", "wuid");
tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -16683,10 +19437,12 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [LineCode] ([code], [team], [part], [plant], [except], [memo], [wuid], [wdate]) VALUES (@code, @team, @part, @plant, @except, @memo, @wuid, @wdate);
-SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [LineCode] ([code], [team], [part], [plant], [except], [memo], [wuid], [wdate], [grp2]) VALUES (@code, @team, @part, @plant, @except, @memo, @wuid, @wdate, @grp2);
+SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM LineCode WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "team", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -16696,10 +19452,11 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = @"UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [plant] = @plant, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
-SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode WHERE (idx = @idx)";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [plant] = @plant, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [grp2] = @grp2 WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)));
+SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM LineCode WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "team", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -16709,6 +19466,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -16724,6 +19482,8 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -16740,8 +19500,8 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT idx, code, team, part, plant, [except], memo, wuid, wdate\r\nFROM LineC" +
- "ode";
+ this._commandCollection[0].CommandText = "SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2\r\nFROM " +
+ " LineCode";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
@@ -16802,7 +19562,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(int Original_idx, string Original_code, string Original_team, string Original_part, string Original_plant, global::System.Nullable Original_except, string Original_memo, string Original_wuid, System.DateTime Original_wdate) {
+ public virtual int Delete(int Original_idx, string Original_code, string Original_team, string Original_part, string Original_plant, global::System.Nullable Original_except, string Original_memo, string Original_wuid, System.DateTime Original_wdate, string Original_grp2) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_code == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -16859,6 +19619,14 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_wuid));
}
this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_grp2));
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -16879,7 +19647,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(string code, string team, string part, string plant, global::System.Nullable except, string memo, string wuid, System.DateTime wdate) {
+ public virtual int Insert(string code, string team, string part, string plant, global::System.Nullable except, string memo, string wuid, System.DateTime wdate, string grp2) {
if ((code == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -16923,6 +19691,12 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(wuid));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(wdate));
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(grp2));
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -16952,6 +19726,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
string memo,
string wuid,
System.DateTime wdate,
+ string grp2,
int Original_idx,
string Original_code,
string Original_team,
@@ -16961,6 +19736,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
string Original_memo,
string Original_wuid,
System.DateTime Original_wdate,
+ string Original_grp2,
int idx) {
if ((code == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -17005,63 +19781,77 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(wuid));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(wdate));
- this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idx));
- if ((Original_code == null)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_code));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(grp2));
+ }
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idx));
+ if ((Original_code == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_code));
}
if ((Original_team == null)) {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_team));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_team));
}
if ((Original_part == null)) {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_part));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_part));
}
if ((Original_plant == null)) {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_plant));
}
if ((Original_except.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(Original_except.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
}
if ((Original_memo == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(Original_wdate));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(idx));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_grp2));
+ }
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -17091,6 +19881,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
string memo,
string wuid,
System.DateTime wdate,
+ string grp2,
int Original_idx,
string Original_code,
string Original_team,
@@ -17099,8 +19890,9 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
global::System.Nullable Original_except,
string Original_memo,
string Original_wuid,
- System.DateTime Original_wdate) {
- return this.Update(code, team, part, plant, except, memo, wuid, wdate, Original_idx, Original_code, Original_team, Original_part, Original_plant, Original_except, Original_memo, Original_wuid, Original_wdate, Original_idx);
+ System.DateTime Original_wdate,
+ string Original_grp2) {
+ return this.Update(code, team, part, plant, except, memo, wuid, wdate, grp2, Original_idx, Original_code, Original_team, Original_part, Original_plant, Original_except, Original_memo, Original_wuid, Original_wdate, Original_grp2, Original_idx);
}
}
@@ -17244,10 +20036,30 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("flag", "flag");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ tableMapping.ColumnMappings.Add("ing", "ing");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_EquipmentIng] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))";
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [EETGW_EquipmentIng] WHERE (([idx] = @Original_idx) AND ((@IsNull_pda" +
+ "te = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset " +
+ "= 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 A" +
+ "ND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] " +
+ "IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NU" +
+ "LL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS" +
+ " NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT]" +
+ " IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS" +
+ " NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS " +
+ "NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NUL" +
+ "L) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) " +
+ "OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NUL" +
+ "L) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS " +
+ "NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NUL" +
+ "L) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @O" +
+ "riginal_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original" +
+ "_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_pla" +
+ "nt)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AN" +
+ "D ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -17284,10 +20096,14 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_EquipmentIng] ([pdate], [asset], [grp], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant FROM EETGW_EquipmentIng WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_EquipmentIng] ([pdate], [asset], [grp], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant, grp2, ing FROM EETGW_EquipmentIng WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17307,32 +20123,36 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_EquipmentIng] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp," +
" [type] = @type, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [li" +
"neP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary]" +
" = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdat" +
- "e, [flag] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull" +
- "_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_as" +
- "set = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp =" +
- " 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [ty" +
- "pe] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] I" +
- "S NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode" +
- "] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [li" +
- "neT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP" +
- "] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial]" +
- " IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS" +
- " NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NU" +
- "LL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS" +
- " NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except]" +
- " IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS" +
- " NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] " +
- "= @Original_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Orig" +
- "inal_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original" +
- "_plant)));\r\nSELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, " +
- "serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant FROM E" +
- "ETGW_EquipmentIng WHERE (idx = @idx)";
+ "e, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] " +
+ "= @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Ori" +
+ "ginal_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Origin" +
+ "al_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) " +
+ "AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@" +
+ "IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsN" +
+ "ull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) A" +
+ "ND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND " +
+ "((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@" +
+ "IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((" +
+ "@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull" +
+ "_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNul" +
+ "l_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@" +
+ "IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((" +
+ "@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] =" +
+ " @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_flag = 1 AND [fla" +
+ "g] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS" +
+ " NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL" +
+ ") OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([in" +
+ "g] = @Original_ing)));\r\nSELECT idx, pdate, asset, grp, type, model, linecode, li" +
+ "neT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, " +
+ "plant, grp2, ing FROM EETGW_EquipmentIng WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17352,6 +20172,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -17387,6 +20209,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -17404,8 +20230,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu" +
- ", param1, [primary], [except], memo, wuid, wdate, flag, plant\r\nFROM EETGW_Eq" +
- "uipmentIng\r\nWHERE (pdate = @pdate)";
+ ", param1, [primary], [except], memo, wuid, wdate, flag, plant, grp2, ing\r\nFROM " +
+ " EETGW_EquipmentIng\r\nWHERE (pdate = @pdate)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -17503,7 +20329,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
string Original_wuid,
System.DateTime Original_wdate,
string Original_flag,
- string Original_plant) {
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -17640,6 +20468,22 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_plant));
}
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -17678,7 +20522,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
string wuid,
System.DateTime wdate,
string flag,
- string plant) {
+ string plant,
+ string grp2,
+ global::System.Nullable ing) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -17782,6 +20628,18 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(plant));
}
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -17821,6 +20679,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
System.DateTime wdate,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -17840,6 +20700,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
System.DateTime Original_wdate,
string Original_flag,
string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -17944,143 +20806,171 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(plant));
}
- this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(grp2));
}
- if ((Original_asset == null)) {
+ if ((ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_asset));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_pdate));
}
- if ((Original_grp == null)) {
+ if ((Original_asset == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_grp));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_asset));
}
- if ((Original_type == null)) {
+ if ((Original_grp == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_type));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_grp));
}
- if ((Original_model == null)) {
+ if ((Original_type == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_model));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_type));
}
- if ((Original_linecode == null)) {
+ if ((Original_model == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_linecode));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_model));
}
- if ((Original_lineT == null)) {
+ if ((Original_linecode == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_lineT));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_linecode));
}
- if ((Original_lineP == null)) {
+ if ((Original_lineT == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_lineP));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_lineT));
}
- if ((Original_serial == null)) {
+ if ((Original_lineP == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_serial));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_lineP));
}
- if ((Original_manu == null)) {
+ if ((Original_serial == null)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_manu));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_serial));
}
- if ((Original_param1 == null)) {
+ if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_param1));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_manu));
}
- if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[42].Value = ((bool)(Original_primary.Value));
- }
- else {
+ if ((Original_param1 == null)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
- if ((Original_except.HasValue == true)) {
+ else {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_param1));
+ }
+ if ((Original_primary.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[44].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((bool)(Original_primary.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
}
- if ((Original_memo == null)) {
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_except.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
+ }
else {
- this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[48].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((System.DateTime)(Original_wdate));
if ((Original_flag == null)) {
- this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_flag));
- }
- if ((Original_plant == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_flag));
}
- this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(idx));
+ if ((Original_plant == null)) {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_plant));
+ }
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -18120,6 +21010,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
System.DateTime wdate,
string flag,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -18138,8 +21030,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
string Original_wuid,
System.DateTime Original_wdate,
string Original_flag,
- string Original_plant) {
- return this.Update(pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, primary, except, memo, wuid, wdate, flag, plant, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_lineT, Original_lineP, Original_serial, Original_manu, Original_param1, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_flag, Original_plant, Original_idx);
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
+ return this.Update(pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, primary, except, memo, wuid, wdate, flag, plant, grp2, ing, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_model, Original_linecode, Original_lineT, Original_lineP, Original_serial, Original_manu, Original_param1, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_flag, Original_plant, Original_grp2, Original_ing, Original_idx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -18502,10 +21396,30 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
tableMapping.ColumnMappings.Add("wuid", "wuid");
tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ tableMapping.ColumnMappings.Add("ing", "ing");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_EquipmentOther] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))";
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [EETGW_EquipmentOther] WHERE (([idx] = @Original_idx) AND ((@IsNull_p" +
+ "date = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asse" +
+ "t = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1" +
+ " AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [flag" +
+ "] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] IS NU" +
+ "LL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) O" +
+ "R ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL" +
+ ") OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS N" +
+ "ULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL" +
+ ") OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL)" +
+ " OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR" +
+ " ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([" +
+ "param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR" +
+ " ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL)" +
+ " OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR" +
+ " ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Origin" +
+ "al_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_p" +
+ "lant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) " +
+ "AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -18542,10 +21456,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_EquipmentOther] ([pdate], [asset], [grp], [flag], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [plant]) VALUES (@pdate, @asset, @grp, @flag, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @plant);
-SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant FROM EETGW_EquipmentOther WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_EquipmentOther] ([pdate], [asset], [grp], [flag], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @flag, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant, grp2, ing FROM EETGW_EquipmentOther WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -18565,32 +21483,36 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_EquipmentOther] SET [pdate] = @pdate, [asset] = @asset, [grp] = @gr" +
"p, [flag] = @flag, [type] = @type, [model] = @model, [linecode] = @linecode, [li" +
"neT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = " +
"@param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wui" +
- "d, [wdate] = @wdate, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNu" +
- "ll_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_" +
- "asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp" +
- " = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [" +
- "flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] I" +
- "S NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NUL" +
- "L) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS " +
- "NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] " +
- "IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS " +
- "NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS N" +
- "ULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL" +
- ") OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) O" +
- "R ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL" +
- ") OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS N" +
- "ULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL" +
- ") OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Or" +
- "iginal_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Origin" +
- "al_plant)));\r\nSELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT," +
- " lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant FROM" +
- " EETGW_EquipmentOther WHERE (idx = @idx)";
+ "d, [wdate] = @wdate, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx" +
+ "] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @O" +
+ "riginal_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Orig" +
+ "inal_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)" +
+ ") AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND (" +
+ "(@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNul" +
+ "l_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_l" +
+ "inecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((" +
+ "@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@Is" +
+ "Null_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNul" +
+ "l_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNu" +
+ "ll_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_para" +
+ "m1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_pri" +
+ "mary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNul" +
+ "l_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNu" +
+ "ll_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Ori" +
+ "ginal_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] " +
+ "IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NU" +
+ "LL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([" +
+ "ing] = @Original_ing)));\r\nSELECT idx, pdate, asset, grp, flag, type, model, line" +
+ "code, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate" +
+ ", plant, grp2, ing FROM EETGW_EquipmentOther WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -18610,6 +21532,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -18645,6 +21569,10 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -18662,8 +21590,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial" +
- ", manu, param1, [primary], [except], memo, wuid, wdate, plant\r\nFROM EETGW_Eq" +
- "uipmentOther\r\nWHERE (pdate = @pdate)";
+ ", manu, param1, [primary], [except], memo, wuid, wdate, plant, grp2, ing\r\nFROM " +
+ " EETGW_EquipmentOther\r\nWHERE (pdate = @pdate)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -18761,7 +21689,9 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
string Original_memo,
string Original_wuid,
System.DateTime Original_wdate,
- string Original_plant) {
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -18898,6 +21828,22 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_plant));
}
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -18936,7 +21882,9 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
string memo,
string wuid,
System.DateTime wdate,
- string plant) {
+ string plant,
+ string grp2,
+ global::System.Nullable ing) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -19040,6 +21988,18 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(plant));
}
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -19079,6 +22039,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
string wuid,
System.DateTime wdate,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -19098,6 +22060,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
string Original_wuid,
System.DateTime Original_wdate,
string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -19202,143 +22166,171 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(plant));
}
- this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(grp2));
}
- if ((Original_asset == null)) {
+ if ((ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_asset));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_pdate));
}
- if ((Original_grp == null)) {
+ if ((Original_asset == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_grp));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_asset));
}
- if ((Original_flag == null)) {
+ if ((Original_grp == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_flag));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_grp));
}
- if ((Original_type == null)) {
+ if ((Original_flag == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_type));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_flag));
}
- if ((Original_model == null)) {
+ if ((Original_type == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_model));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_type));
}
- if ((Original_linecode == null)) {
+ if ((Original_model == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_linecode));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_model));
}
- if ((Original_lineT == null)) {
+ if ((Original_linecode == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_lineT));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_linecode));
}
- if ((Original_lineP == null)) {
+ if ((Original_lineT == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_lineP));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_lineT));
}
- if ((Original_serial == null)) {
+ if ((Original_lineP == null)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_serial));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_lineP));
}
- if ((Original_manu == null)) {
+ if ((Original_serial == null)) {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_manu));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_serial));
}
- if ((Original_param1 == null)) {
+ if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_param1));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_manu));
}
- if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[44].Value = ((bool)(Original_primary.Value));
- }
- else {
+ if ((Original_param1 == null)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
}
- if ((Original_except.HasValue == true)) {
+ else {
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_param1));
+ }
+ if ((Original_primary.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_primary.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
- if ((Original_memo == null)) {
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((bool)(Original_except.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
+ }
else {
- this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[50].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((System.DateTime)(Original_wdate));
if ((Original_plant == null)) {
- this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_plant));
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_plant));
}
- this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(idx));
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -19378,6 +22370,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
string wuid,
System.DateTime wdate,
string plant,
+ string grp2,
+ global::System.Nullable ing,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -19396,8 +22390,10 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
string Original_memo,
string Original_wuid,
System.DateTime Original_wdate,
- string Original_plant) {
- return this.Update(pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, primary, except, memo, wuid, wdate, plant, Original_idx, Original_pdate, Original_asset, Original_grp, Original_flag, Original_type, Original_model, Original_linecode, Original_lineT, Original_lineP, Original_serial, Original_manu, Original_param1, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_plant, Original_idx);
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing) {
+ return this.Update(pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, primary, except, memo, wuid, wdate, plant, grp2, ing, Original_idx, Original_pdate, Original_asset, Original_grp, Original_flag, Original_type, Original_model, Original_linecode, Original_lineT, Original_lineP, Original_serial, Original_manu, Original_param1, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_plant, Original_grp2, Original_ing, Original_idx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -19854,6 +22850,1367 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class EETGW_EquipmentTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_EquipmentTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "EETGW_Equipment";
+ tableMapping.ColumnMappings.Add("idx", "idx");
+ tableMapping.ColumnMappings.Add("pdate", "pdate");
+ tableMapping.ColumnMappings.Add("asset", "asset");
+ tableMapping.ColumnMappings.Add("grp", "grp");
+ tableMapping.ColumnMappings.Add("type", "type");
+ tableMapping.ColumnMappings.Add("flag", "flag");
+ tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ tableMapping.ColumnMappings.Add("ing", "ing");
+ tableMapping.ColumnMappings.Add("model", "model");
+ tableMapping.ColumnMappings.Add("linecode", "linecode");
+ tableMapping.ColumnMappings.Add("lineT", "lineT");
+ tableMapping.ColumnMappings.Add("lineP", "lineP");
+ tableMapping.ColumnMappings.Add("serial", "serial");
+ tableMapping.ColumnMappings.Add("manu", "manu");
+ tableMapping.ColumnMappings.Add("param1", "param1");
+ tableMapping.ColumnMappings.Add("primary", "primary");
+ tableMapping.ColumnMappings.Add("except", "except");
+ tableMapping.ColumnMappings.Add("memo", "memo");
+ tableMapping.ColumnMappings.Add("wuid", "wuid");
+ tableMapping.ColumnMappings.Add("wdate", "wdate");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [EETGW_Equipment] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate " +
+ "= 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1" +
+ " AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND " +
+ "[grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS " +
+ "NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) O" +
+ "R ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([p" +
+ "lant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] " +
+ "= @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Origina" +
+ "l_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_mod" +
+ "el)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Origin" +
+ "al_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Origin" +
+ "al_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_" +
+ "lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_" +
+ "serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)" +
+ ") AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1" +
+ ")) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_pr" +
+ "imary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_" +
+ "except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)" +
+ ") AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_flag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_linecode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lineT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lineT", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lineP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lineP", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_param1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_primary", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "primary", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_primary", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "primary", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_except", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "except", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_except", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "except", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_Equipment] ([pdate], [asset], [grp], [type], [flag], [plant], [grp2], [ing], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate]) VALUES (@pdate, @asset, @grp, @type, @flag, @plant, @grp2, @ing, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate);
+SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate FROM EETGW_Equipment WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lineT", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lineP", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@primary", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "primary", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@except", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "except", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_Equipment] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [t" +
+ "ype] = @type, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing, [m" +
+ "odel] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [ser" +
+ "ial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [excep" +
+ "t] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @" +
+ "Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Origin" +
+ "al_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_" +
+ "asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND" +
+ " ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsN" +
+ "ull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_pla" +
+ "nt = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 =" +
+ " 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [" +
+ "ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS" +
+ " NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode]" +
+ " IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lin" +
+ "eT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP]" +
+ " IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] " +
+ "IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS " +
+ "NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NUL" +
+ "L) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS " +
+ "NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] " +
+ "IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS " +
+ "NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] =" +
+ " @Original_wdate));\r\nSELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing" +
+ ", model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo" +
+ ", wuid, wdate FROM EETGW_Equipment WHERE (idx = @idx)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lineT", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lineP", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@primary", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "primary", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@except", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "except", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_flag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_flag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "flag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_plant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_plant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "plant", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ing", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ing", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ing", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_linecode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_linecode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "linecode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lineT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lineT", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lineP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lineP", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lineP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_param1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_param1", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "param1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_primary", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "primary", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_primary", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "primary", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_except", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "except", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_except", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "except", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::FEQ0000.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li" +
+ "neT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate\r\nFROM " +
+ " EETGW_Equipment\r\nWHERE (pdate = @pdate)";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "DELETE FROM [EETGW_Equipment] WHERE pdate = @pdate";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(dsEQ.EETGW_EquipmentDataTable dataTable, string pdate) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((pdate == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(pdate));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.EETGW_EquipmentDataTable GetData(string pdate) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((pdate == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(pdate));
+ }
+ dsEQ.EETGW_EquipmentDataTable dataTable = new dsEQ.EETGW_EquipmentDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ.EETGW_EquipmentDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ dataSet) {
+ return this.Adapter.Update(dataSet, "EETGW_Equipment");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_flag,
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
+ string Original_model,
+ string Original_linecode,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_serial,
+ string Original_manu,
+ string Original_param1,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_pdate));
+ }
+ if ((Original_asset == null)) {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_asset));
+ }
+ if ((Original_grp == null)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_grp));
+ }
+ if ((Original_type == null)) {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_type));
+ }
+ if ((Original_flag == null)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_flag));
+ }
+ if ((Original_plant == null)) {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_plant));
+ }
+ if ((Original_grp2 == null)) {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ if ((Original_model == null)) {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_model));
+ }
+ if ((Original_linecode == null)) {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_linecode));
+ }
+ if ((Original_lineT == null)) {
+ this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_lineT));
+ }
+ if ((Original_lineP == null)) {
+ this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_lineP));
+ }
+ if ((Original_serial == null)) {
+ this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_serial));
+ }
+ if ((Original_manu == null)) {
+ this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_manu));
+ }
+ if ((Original_param1 == null)) {
+ this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_param1));
+ }
+ if ((Original_primary.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[32].Value = ((bool)(Original_primary.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
+ }
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[34].Value = ((bool)(Original_except.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == null)) {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((System.DateTime)(Original_wdate));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string flag,
+ string plant,
+ string grp2,
+ global::System.Nullable ing,
+ string model,
+ string linecode,
+ string lineT,
+ string lineP,
+ string serial,
+ string manu,
+ string param1,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate) {
+ if ((pdate == null)) {
+ this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(pdate));
+ }
+ if ((asset == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(asset));
+ }
+ if ((grp == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(grp));
+ }
+ if ((type == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(type));
+ }
+ if ((flag == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(flag));
+ }
+ if ((plant == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(plant));
+ }
+ if ((grp2 == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((model == null)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(model));
+ }
+ if ((linecode == null)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(linecode));
+ }
+ if ((lineT == null)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(lineT));
+ }
+ if ((lineP == null)) {
+ this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[11].Value = ((string)(lineP));
+ }
+ if ((serial == null)) {
+ this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[12].Value = ((string)(serial));
+ }
+ if ((manu == null)) {
+ this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[13].Value = ((string)(manu));
+ }
+ if ((param1 == null)) {
+ this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[14].Value = ((string)(param1));
+ }
+ if ((primary.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[15].Value = ((bool)(primary.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ if ((except.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[16].Value = ((bool)(except.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[17].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(wuid));
+ }
+ this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(wdate));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string flag,
+ string plant,
+ string grp2,
+ global::System.Nullable ing,
+ string model,
+ string linecode,
+ string lineT,
+ string lineP,
+ string serial,
+ string manu,
+ string param1,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_flag,
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
+ string Original_model,
+ string Original_linecode,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_serial,
+ string Original_manu,
+ string Original_param1,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ int idx) {
+ if ((pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(pdate));
+ }
+ if ((asset == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(asset));
+ }
+ if ((grp == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(grp));
+ }
+ if ((type == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(type));
+ }
+ if ((flag == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(flag));
+ }
+ if ((plant == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(plant));
+ }
+ if ((grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(grp2));
+ }
+ if ((ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((model == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(model));
+ }
+ if ((linecode == null)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(linecode));
+ }
+ if ((lineT == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(lineT));
+ }
+ if ((lineP == null)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(lineP));
+ }
+ if ((serial == null)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(serial));
+ }
+ if ((manu == null)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(manu));
+ }
+ if ((param1 == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(param1));
+ }
+ if ((primary.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((bool)(primary.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ if ((except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(except.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(wdate));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_pdate));
+ }
+ if ((Original_asset == null)) {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_asset));
+ }
+ if ((Original_grp == null)) {
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_grp));
+ }
+ if ((Original_type == null)) {
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_type));
+ }
+ if ((Original_flag == null)) {
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_flag));
+ }
+ if ((Original_plant == null)) {
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_plant));
+ }
+ if ((Original_grp2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_grp2));
+ }
+ if ((Original_ing.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_ing.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ if ((Original_model == null)) {
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_model));
+ }
+ if ((Original_linecode == null)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_linecode));
+ }
+ if ((Original_lineT == null)) {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_lineT));
+ }
+ if ((Original_lineP == null)) {
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_lineP));
+ }
+ if ((Original_serial == null)) {
+ this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_serial));
+ }
+ if ((Original_manu == null)) {
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_manu));
+ }
+ if ((Original_param1 == null)) {
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_param1));
+ }
+ if ((Original_primary.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((bool)(Original_primary.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
+ }
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((bool)(Original_except.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string flag,
+ string plant,
+ string grp2,
+ global::System.Nullable ing,
+ string model,
+ string linecode,
+ string lineT,
+ string lineP,
+ string serial,
+ string manu,
+ string param1,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_flag,
+ string Original_plant,
+ string Original_grp2,
+ global::System.Nullable Original_ing,
+ string Original_model,
+ string Original_linecode,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_serial,
+ string Original_manu,
+ string Original_param1,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate) {
+ return this.Update(pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, primary, except, memo, wuid, wdate, Original_idx, Original_pdate, Original_asset, Original_grp, Original_type, Original_flag, Original_plant, Original_grp2, Original_ing, Original_model, Original_linecode, Original_lineT, Original_lineP, Original_serial, Original_manu, Original_param1, Original_primary, Original_except, Original_memo, Original_wuid, Original_wdate, Original_idx);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
+ public virtual int DeleteData(string pdate) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((pdate == null)) {
+ command.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[0].Value = ((string)(pdate));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class vEquStockAllTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public vEquStockAllTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "vEquStockAll";
+ tableMapping.ColumnMappings.Add("pdate", "pdate");
+ tableMapping.ColumnMappings.Add("grp", "grp");
+ tableMapping.ColumnMappings.Add("manu", "manu");
+ tableMapping.ColumnMappings.Add("model", "model");
+ tableMapping.ColumnMappings.Add("linecode", "linecode");
+ tableMapping.ColumnMappings.Add("lineT", "lineT");
+ tableMapping.ColumnMappings.Add("lineP", "lineP");
+ tableMapping.ColumnMappings.Add("cnt", "cnt");
+ tableMapping.ColumnMappings.Add("Remark", "Remark");
+ tableMapping.ColumnMappings.Add("plant", "plant");
+ tableMapping.ColumnMappings.Add("grp2", "grp2");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::FEQ0000.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark, plant, grp2" +
+ "\r\nFROM vEquStockAll\r\nWHERE (pdate = @pdate)";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(dsEQ.vEquStockAllDataTable dataTable, string pdate) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((pdate == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(pdate));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.vEquStockAllDataTable GetData(string pdate) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((pdate == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(pdate));
+ }
+ dsEQ.vEquStockAllDataTable dataTable = new dsEQ.vEquStockAllDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -19880,6 +24237,8 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
private EETGW_EquipmentOtherTableAdapter _eETGW_EquipmentOtherTableAdapter;
+ private EETGW_EquipmentTableAdapter _eETGW_EquipmentTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -19993,6 +24352,20 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public EETGW_EquipmentTableAdapter EETGW_EquipmentTableAdapter {
+ get {
+ return this._eETGW_EquipmentTableAdapter;
+ }
+ set {
+ this._eETGW_EquipmentTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -20040,6 +24413,10 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
&& (this._eETGW_EquipmentOtherTableAdapter.Connection != null))) {
return this._eETGW_EquipmentOtherTableAdapter.Connection;
}
+ if (((this._eETGW_EquipmentTableAdapter != null)
+ && (this._eETGW_EquipmentTableAdapter.Connection != null))) {
+ return this._eETGW_EquipmentTableAdapter.Connection;
+ }
return null;
}
set {
@@ -20074,6 +24451,9 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
if ((this._eETGW_EquipmentOtherTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._eETGW_EquipmentTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -20148,6 +24528,15 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._eETGW_EquipmentTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EETGW_Equipment.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._eETGW_EquipmentTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -20214,6 +24603,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._eETGW_EquipmentTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EETGW_Equipment.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._eETGW_EquipmentTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -20224,6 +24621,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private int UpdateDeletedRows(dsEQ dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._eETGW_EquipmentTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EETGW_Equipment.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._eETGW_EquipmentTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._eETGW_EquipmentOtherTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.EETGW_EquipmentOther.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -20347,6 +24752,10 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
&& (this.MatchTableAdapterConnection(this._eETGW_EquipmentOtherTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
}
+ if (((this._eETGW_EquipmentTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._eETGW_EquipmentTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
@@ -20441,6 +24850,15 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_EquipmentOtherTableAdapter.Adapter);
}
}
+ if ((this._eETGW_EquipmentTableAdapter != null)) {
+ revertConnections.Add(this._eETGW_EquipmentTableAdapter, this._eETGW_EquipmentTableAdapter.Connection);
+ this._eETGW_EquipmentTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._eETGW_EquipmentTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._eETGW_EquipmentTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._eETGW_EquipmentTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_EquipmentTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -20527,6 +24945,10 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
this._eETGW_EquipmentOtherTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_EquipmentOtherTableAdapter]));
this._eETGW_EquipmentOtherTableAdapter.Transaction = null;
}
+ if ((this._eETGW_EquipmentTableAdapter != null)) {
+ this._eETGW_EquipmentTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_EquipmentTableAdapter]));
+ this._eETGW_EquipmentTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/SubProject/FEQ0000/dsEQ.xsd b/SubProject/FEQ0000/dsEQ.xsd
index d8f4bbd..07f6b20 100644
--- a/SubProject/FEQ0000/dsEQ.xsd
+++ b/SubProject/FEQ0000/dsEQ.xsd
@@ -36,6 +36,17 @@ GROUP BY pdate
+
+
+
+ SELECT pdate
+FROM EETGW_Equipment
+GROUP BY pdate
+ORDER BY pdate DESC
+
+
+
+
@@ -109,7 +120,7 @@ ORDER BY pdate DESC
- DELETE FROM [EquipmentF] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))
+ DELETE FROM [EquipmentF] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))
@@ -146,13 +157,17 @@ ORDER BY pdate DESC
+
+
+
+
- INSERT INTO [EquipmentF] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM EquipmentF WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [EquipmentF] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing FROM EquipmentF WHERE (idx = SCOPE_IDENTITY())
@@ -172,12 +187,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
- SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant
+ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing
FROM EquipmentF
WHERE (pdate = @pdate)
@@ -187,8 +204,8 @@ WHERE (pdate = @pdate)
- UPDATE [EquipmentF] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [lineT] = @lineT, [lineP] = @lineP, [param1] = @param1, [flag] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM EquipmentF WHERE (idx = @idx)
+ UPDATE [EquipmentF] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [lineT] = @lineT, [lineP] = @lineP, [param1] = @param1, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)));
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing FROM EquipmentF WHERE (idx = @idx)
@@ -208,6 +225,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
@@ -243,6 +262,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
@@ -269,6 +292,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
@@ -288,7 +313,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
- DELETE FROM [EquipmentB] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))
+ DELETE FROM [EquipmentB] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))
@@ -325,13 +350,17 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
- INSERT INTO [EquipmentB] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM EquipmentB WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [EquipmentB] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing FROM EquipmentB WHERE (idx = SCOPE_IDENTITY())
@@ -351,12 +380,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
- SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant
+ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing
FROM EquipmentB
WHERE (pdate = @pdate)
@@ -366,8 +397,8 @@ WHERE (pdate = @pdate)
- UPDATE [EquipmentB] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [lineT] = @lineT, [lineP] = @lineP, [param1] = @param1, [flag] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant FROM EquipmentB WHERE (idx = @idx)
+ UPDATE [EquipmentB] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [lineT] = @lineT, [lineP] = @lineP, [param1] = @param1, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)));
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1, flag, plant, grp2, ing FROM EquipmentB WHERE (idx = @idx)
@@ -387,6 +418,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
@@ -422,6 +455,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
@@ -448,6 +485,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
@@ -467,7 +506,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
- DELETE FROM [EquipmentME] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))
+ DELETE FROM [EquipmentME] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))
@@ -504,13 +543,17 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
- INSERT INTO [EquipmentME] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineP], [lineT], [param1], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineP, @lineT, @param1, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant FROM EquipmentME WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [EquipmentME] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineP], [lineT], [param1], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineP, @lineT, @param1, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant, grp2, ing FROM EquipmentME WHERE (idx = SCOPE_IDENTITY())
@@ -530,12 +573,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
- SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant
+ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant, grp2, ing
FROM EquipmentME
WHERE (pdate = @pdate)
@@ -545,8 +590,8 @@ WHERE (pdate = @pdate)
- UPDATE [EquipmentME] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [lineP] = @lineP, [lineT] = @lineT, [param1] = @param1, [flag] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant FROM EquipmentME WHERE (idx = @idx)
+ UPDATE [EquipmentME] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [lineP] = @lineP, [lineT] = @lineT, [param1] = @param1, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)));
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1, flag, plant, grp2, ing FROM EquipmentME WHERE (idx = @idx)
@@ -566,6 +611,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
@@ -601,6 +648,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
@@ -627,6 +678,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
@@ -821,7 +874,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
- DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))
+ DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)))
@@ -838,13 +891,15 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
+
+
- INSERT INTO [LineCode] ([code], [team], [part], [plant], [except], [memo], [wuid], [wdate]) VALUES (@code, @team, @part, @plant, @except, @memo, @wuid, @wdate);
-SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [LineCode] ([code], [team], [part], [plant], [except], [memo], [wuid], [wdate], [grp2]) VALUES (@code, @team, @part, @plant, @except, @memo, @wuid, @wdate, @grp2);
+SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM LineCode WHERE (idx = SCOPE_IDENTITY())
@@ -854,20 +909,21 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
+
- SELECT idx, code, team, part, plant, [except], memo, wuid, wdate
+ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2
FROM LineCode
- UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [plant] = @plant, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
-SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode WHERE (idx = @idx)
+ UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [plant] = @plant, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [grp2] = @grp2 WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)));
+SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM LineCode WHERE (idx = @idx)
@@ -877,6 +933,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
+
@@ -892,6 +949,8 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
+
+
@@ -908,6 +967,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
+
@@ -916,7 +976,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
- DELETE FROM [EETGW_EquipmentIng] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))
+ DELETE FROM [EETGW_EquipmentIng] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))
@@ -953,13 +1013,17 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate FROM LineCode W
+
+
+
+
- INSERT INTO [EETGW_EquipmentIng] ([pdate], [asset], [grp], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [flag], [plant]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @flag, @plant);
-SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant FROM EETGW_EquipmentIng WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [EETGW_EquipmentIng] ([pdate], [asset], [grp], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [flag], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @flag, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant, grp2, ing FROM EETGW_EquipmentIng WHERE (idx = SCOPE_IDENTITY())
@@ -979,12 +1043,14 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
+
+
- SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant
+ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant, grp2, ing
FROM EETGW_EquipmentIng
WHERE (pdate = @pdate)
@@ -994,8 +1060,8 @@ WHERE (pdate = @pdate)
- UPDATE [EETGW_EquipmentIng] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [flag] = @flag, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant FROM EETGW_EquipmentIng WHERE (idx = @idx)
+ UPDATE [EETGW_EquipmentIng] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)));
+SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, flag, plant, grp2, ing FROM EETGW_EquipmentIng WHERE (idx = @idx)
@@ -1015,6 +1081,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
+
+
@@ -1050,6 +1118,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
+
+
+
+
@@ -1076,6 +1148,8 @@ SELECT idx, pdate, asset, grp, type, model, linecode, lineT, lineP, serial, manu
+
+
@@ -1124,7 +1198,7 @@ WHERE (pdate = @pdate)
- DELETE FROM [EETGW_EquipmentOther] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)))
+ DELETE FROM [EETGW_EquipmentOther] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)))
@@ -1161,13 +1235,17 @@ WHERE (pdate = @pdate)
+
+
+
+
- INSERT INTO [EETGW_EquipmentOther] ([pdate], [asset], [grp], [flag], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [plant]) VALUES (@pdate, @asset, @grp, @flag, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @plant);
-SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant FROM EETGW_EquipmentOther WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [EETGW_EquipmentOther] ([pdate], [asset], [grp], [flag], [type], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [plant], [grp2], [ing]) VALUES (@pdate, @asset, @grp, @flag, @type, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @plant, @grp2, @ing);
+SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant, grp2, ing FROM EETGW_EquipmentOther WHERE (idx = SCOPE_IDENTITY())
@@ -1187,12 +1265,14 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
+
+
- SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant
+ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant, grp2, ing
FROM EETGW_EquipmentOther
WHERE (pdate = @pdate)
@@ -1202,8 +1282,8 @@ WHERE (pdate = @pdate)
- UPDATE [EETGW_EquipmentOther] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [flag] = @flag, [type] = @type, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [plant] = @plant WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)));
-SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant FROM EETGW_EquipmentOther WHERE (idx = @idx)
+ UPDATE [EETGW_EquipmentOther] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [flag] = @flag, [type] = @type, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [plant] = @plant, [grp2] = @grp2, [ing] = @ing WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)));
+SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, plant, grp2, ing FROM EETGW_EquipmentOther WHERE (idx = @idx)
@@ -1223,6 +1303,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
+
+
@@ -1258,6 +1340,10 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
+
+
+
+
@@ -1284,6 +1370,8 @@ SELECT idx, pdate, asset, grp, flag, type, model, linecode, lineT, lineP, serial
+
+
@@ -1364,6 +1452,229 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+ DELETE FROM [EETGW_Equipment] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [EETGW_Equipment] ([pdate], [asset], [grp], [type], [flag], [plant], [grp2], [ing], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate]) VALUES (@pdate, @asset, @grp, @type, @flag, @plant, @grp2, @ing, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate);
+SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate FROM EETGW_Equipment WHERE (idx = SCOPE_IDENTITY())
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate
+FROM EETGW_Equipment
+WHERE (pdate = @pdate)
+
+
+
+
+
+
+
+ UPDATE [EETGW_Equipment] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
+SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate FROM EETGW_Equipment WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [EETGW_Equipment] WHERE pdate = @pdate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark, plant, grp2
+FROM vEquStockAll
+WHERE (pdate = @pdate)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1497,6 +1808,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
+
@@ -1612,6 +1931,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
+
@@ -1727,6 +2054,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
+
@@ -2038,6 +2373,13 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
@@ -2153,6 +2495,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
+
@@ -2338,6 +2688,14 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
+
@@ -2488,6 +2846,206 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2522,5 +3080,9 @@ WHERE (pdate = @pdateB) AND (Src = 'B') OR
+
+
+
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/dsEQ.xss b/SubProject/FEQ0000/dsEQ.xss
index 2fd3357..b58b642 100644
--- a/SubProject/FEQ0000/dsEQ.xss
+++ b/SubProject/FEQ0000/dsEQ.xss
@@ -4,22 +4,24 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SubProject/FPJ0000/Project/fProjectData.Designer.cs b/SubProject/FPJ0000/Project/fProjectData.Designer.cs
index 0a0cfc2..9cd591a 100644
--- a/SubProject/FPJ0000/Project/fProjectData.Designer.cs
+++ b/SubProject/FPJ0000/Project/fProjectData.Designer.cs
@@ -46,15 +46,14 @@
System.Windows.Forms.Label label6;
System.Windows.Forms.Label label8;
System.Windows.Forms.Label label9;
- System.Windows.Forms.Label label5;
System.Windows.Forms.Label label7;
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectData));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.Label label10;
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectData));
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.tbIdx = new System.Windows.Forms.TextBox();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.dsPRJ = new FPJ0000.dsPRJ();
this.nameTextBox = new System.Windows.Forms.TextBox();
this.reqstaffTextBox = new System.Windows.Forms.TextBox();
this.tbSdate = new System.Windows.Forms.TextBox();
@@ -86,6 +85,11 @@
this.btPath = new System.Windows.Forms.ToolStripButton();
this.btSendMail = new System.Windows.Forms.ToolStripButton();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.bsHistWeek = new System.Windows.Forms.BindingSource(this.components);
this.cmbProcess = new System.Windows.Forms.ComboBox();
this.cmbState = new System.Windows.Forms.ComboBox();
this.tbODate = new System.Windows.Forms.TextBox();
@@ -93,8 +97,8 @@
this.cmbPart = new System.Windows.Forms.ComboBox();
this.arLabel1 = new arCtl.arLabel();
this.panel1 = new System.Windows.Forms.Panel();
+ this.tbDue = new System.Windows.Forms.TextBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
- this.cmbCate = new System.Windows.Forms.ComboBox();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.textBox4 = new System.Windows.Forms.TextBox();
this.tbPath = new System.Windows.Forms.TextBox();
@@ -148,6 +152,10 @@
this.tabPage4 = new System.Windows.Forms.TabPage();
this.arPanel4 = new arCtl.arPanel();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.bsHistDay = new System.Windows.Forms.BindingSource(this.components);
this.bindingNavigator2 = new System.Windows.Forms.BindingNavigator(this.components);
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
@@ -163,45 +171,6 @@
this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.arLabel12 = new arCtl.arLabel();
- this.tabPage5 = new System.Windows.Forms.TabPage();
- this.arPanel5 = new arCtl.arPanel();
- this.dataGridView3 = new System.Windows.Forms.DataGridView();
- this.sort = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.cate = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.sw = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ww = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panel9 = new System.Windows.Forms.Panel();
- this.bnTodo = new System.Windows.Forms.BindingNavigator(this.components);
- this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
- this.toolStripButton8 = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton9 = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripTextBox2 = new System.Windows.Forms.ToolStripTextBox();
- this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripButton10 = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton11 = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripButton12 = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton14 = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton15 = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton13 = new System.Windows.Forms.ToolStripButton();
- this.tbDue = new System.Windows.Forms.TextBox();
- this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.bsHistWeek = new System.Windows.Forms.BindingSource(this.components);
- this.dsPRJ = new FPJ0000.dsPRJ();
- this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.bsHistDay = new System.Windows.Forms.BindingSource(this.components);
- this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.processDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bsTodo = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
@@ -225,12 +194,14 @@
label6 = new System.Windows.Forms.Label();
label8 = new System.Windows.Forms.Label();
label9 = new System.Windows.Forms.Label();
- label5 = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
label10 = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsHistWeek)).BeginInit();
this.panel7.SuspendLayout();
this.panel1.SuspendLayout();
this.panel5.SuspendLayout();
@@ -252,18 +223,10 @@
this.tabPage4.SuspendLayout();
this.arPanel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsHistDay)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator2)).BeginInit();
this.bindingNavigator2.SuspendLayout();
this.tabPage2.SuspendLayout();
- this.tabPage5.SuspendLayout();
- this.arPanel5.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.bnTodo)).BeginInit();
- this.bnTodo.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bsHistWeek)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.bsHistDay)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsTodo)).BeginInit();
this.SuspendLayout();
//
@@ -429,16 +392,6 @@
label9.TabIndex = 12;
label9.Text = "CR/CF#";
//
- // label5
- //
- label5.AutoSize = true;
- label5.Location = new System.Drawing.Point(212, 89);
- label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- label5.Name = "label5";
- label5.Size = new System.Drawing.Size(29, 12);
- label5.TabIndex = 88;
- label5.Text = "분류";
- //
// label7
//
label7.AutoSize = true;
@@ -449,6 +402,16 @@
label7.TabIndex = 89;
label7.Text = "공정";
//
+ // label10
+ //
+ label10.AutoSize = true;
+ label10.Location = new System.Drawing.Point(323, 144);
+ label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label10.Name = "label10";
+ label10.Size = new System.Drawing.Size(83, 12);
+ label10.TabIndex = 90;
+ label10.Text = "CR# Due Date";
+ //
// tbIdx
//
this.tbIdx.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "idx", true));
@@ -459,6 +422,17 @@
this.tbIdx.TabIndex = 9;
this.tbIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
+ // bs
+ //
+ this.bs.DataMember = "Projects";
+ this.bs.DataSource = this.dsPRJ;
+ this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
+ //
+ // dsPRJ
+ //
+ this.dsPRJ.DataSetName = "dsPRJ";
+ this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
// nameTextBox
//
this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true));
@@ -776,6 +750,46 @@
this.dataGridView1.TabIndex = 0;
this.dataGridView1.DoubleClick += new System.EventHandler(this.dataGridView1_DoubleClick);
//
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "div";
+ this.dataGridViewTextBoxColumn1.HeaderText = "*";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
+ this.dataGridViewTextBoxColumn1.Visible = false;
+ this.dataGridViewTextBoxColumn1.Width = 36;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
+ this.dataGridViewTextBoxColumn2.HeaderText = "등록일";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.ReadOnly = true;
+ this.dataGridViewTextBoxColumn2.Width = 72;
+ //
+ // dataGridViewTextBoxColumn10
+ //
+ this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.dataGridViewTextBoxColumn10.DataPropertyName = "remark";
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle1;
+ this.dataGridViewTextBoxColumn10.HeaderText = "비고";
+ this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
+ this.dataGridViewTextBoxColumn10.ReadOnly = true;
+ //
+ // dataGridViewCheckBoxColumn2
+ //
+ this.dataGridViewCheckBoxColumn2.DataPropertyName = "mailsend";
+ this.dataGridViewCheckBoxColumn2.HeaderText = "M";
+ this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
+ this.dataGridViewCheckBoxColumn2.ReadOnly = true;
+ this.dataGridViewCheckBoxColumn2.Width = 26;
+ //
+ // bsHistWeek
+ //
+ this.bsHistWeek.DataMember = "ProjectsHistory";
+ this.bsHistWeek.DataSource = this.dsPRJ;
+ //
// cmbProcess
//
this.cmbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
@@ -889,8 +903,6 @@
this.panel1.Controls.Add(label10);
this.panel1.Controls.Add(this.tbDue);
this.panel1.Controls.Add(this.checkBox2);
- this.panel1.Controls.Add(this.cmbCate);
- this.panel1.Controls.Add(label5);
this.panel1.Controls.Add(this.linkLabel1);
this.panel1.Controls.Add(label9);
this.panel1.Controls.Add(this.textBox4);
@@ -911,6 +923,14 @@
this.panel1.Size = new System.Drawing.Size(547, 169);
this.panel1.TabIndex = 86;
//
+ // tbDue
+ //
+ this.tbDue.Location = new System.Drawing.Point(413, 139);
+ this.tbDue.Name = "tbDue";
+ this.tbDue.Size = new System.Drawing.Size(127, 21);
+ this.tbDue.TabIndex = 91;
+ this.tbDue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
// checkBox2
//
this.checkBox2.AutoSize = true;
@@ -921,19 +941,6 @@
this.checkBox2.Text = "Fan-Out";
this.checkBox2.UseVisualStyleBackColor = true;
//
- // cmbCate
- //
- this.cmbCate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
- this.cmbCate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.cmbCate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbCate.FormattingEnabled = true;
- this.cmbCate.Location = new System.Drawing.Point(246, 85);
- this.cmbCate.Margin = new System.Windows.Forms.Padding(4);
- this.cmbCate.Name = "cmbCate";
- this.cmbCate.Size = new System.Drawing.Size(103, 20);
- this.cmbCate.TabIndex = 89;
- //
// linkLabel1
//
this.linkLabel1.AutoSize = true;
@@ -968,7 +975,7 @@
this.textBox2.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox2.Location = new System.Drawing.Point(93, 85);
this.textBox2.Name = "textBox2";
- this.textBox2.Size = new System.Drawing.Size(113, 21);
+ this.textBox2.Size = new System.Drawing.Size(256, 21);
this.textBox2.TabIndex = 7;
//
// arLabel2
@@ -1808,7 +1815,6 @@
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Controls.Add(this.tabPage5);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
@@ -1923,6 +1929,38 @@
this.dataGridView2.Size = new System.Drawing.Size(472, 270);
this.dataGridView2.TabIndex = 0;
//
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "div";
+ this.dataGridViewTextBoxColumn3.HeaderText = "*";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ this.dataGridViewTextBoxColumn3.ReadOnly = true;
+ this.dataGridViewTextBoxColumn3.Visible = false;
+ this.dataGridViewTextBoxColumn3.Width = 36;
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "pdate";
+ this.dataGridViewTextBoxColumn4.HeaderText = "등록일";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.ReadOnly = true;
+ this.dataGridViewTextBoxColumn4.Width = 72;
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.dataGridViewTextBoxColumn5.DataPropertyName = "remark";
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2;
+ this.dataGridViewTextBoxColumn5.HeaderText = "비고";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.ReadOnly = true;
+ //
+ // bsHistDay
+ //
+ this.bsHistDay.DataMember = "EETGW_ProjecthistoryD";
+ this.bsHistDay.DataSource = this.dsPRJ;
+ //
// bindingNavigator2
//
this.bindingNavigator2.AddNewItem = null;
@@ -2105,394 +2143,6 @@
this.arLabel12.TextShadow = true;
this.arLabel12.TextVisible = true;
//
- // tabPage5
- //
- this.tabPage5.Controls.Add(this.arPanel5);
- this.tabPage5.Location = new System.Drawing.Point(4, 22);
- this.tabPage5.Name = "tabPage5";
- this.tabPage5.Size = new System.Drawing.Size(1050, 653);
- this.tabPage5.TabIndex = 2;
- this.tabPage5.Text = "TODO";
- this.tabPage5.UseVisualStyleBackColor = true;
- //
- // arPanel5
- //
- this.arPanel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- this.arPanel5.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- this.arPanel5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
- this.arPanel5.BorderSize = new System.Windows.Forms.Padding(1);
- this.arPanel5.Controls.Add(this.dataGridView3);
- this.arPanel5.Controls.Add(this.panel9);
- this.arPanel5.Controls.Add(this.bnTodo);
- this.arPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.arPanel5.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.arPanel5.ForeColor = System.Drawing.Color.Black;
- this.arPanel5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- this.arPanel5.GradientRepeatBG = true;
- this.arPanel5.Location = new System.Drawing.Point(0, 0);
- this.arPanel5.Name = "arPanel5";
- this.arPanel5.Padding = new System.Windows.Forms.Padding(1);
- this.arPanel5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
- this.arPanel5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
- this.arPanel5.ProgressMax = 100F;
- this.arPanel5.ProgressMin = 0F;
- this.arPanel5.ProgressPadding = new System.Windows.Forms.Padding(0);
- this.arPanel5.ProgressValue = 0F;
- this.arPanel5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- this.arPanel5.ShowBorder = true;
- this.arPanel5.Size = new System.Drawing.Size(1050, 653);
- this.arPanel5.TabIndex = 91;
- this.arPanel5.Text = "arPanel5";
- this.arPanel5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.arPanel5.TextShadow = false;
- this.arPanel5.UseProgressBar = false;
- //
- // dataGridView3
- //
- this.dataGridView3.AllowUserToAddRows = false;
- this.dataGridView3.AllowUserToResizeRows = false;
- this.dataGridView3.AutoGenerateColumns = false;
- this.dataGridView3.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.dataGridView3.ColumnHeadersHeight = 35;
- this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
- this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.sort,
- this.cate,
- this.sw,
- this.ww,
- this.titleDataGridViewTextBoxColumn,
- this.pdateDataGridViewTextBoxColumn,
- this.processDataGridViewTextBoxColumn,
- this.edateDataGridViewTextBoxColumn,
- this.remarkDataGridViewTextBoxColumn});
- this.dataGridView3.DataSource = this.bsTodo;
- dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle4.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(3);
- dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridView3.DefaultCellStyle = dataGridViewCellStyle4;
- this.dataGridView3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridView3.Location = new System.Drawing.Point(1, 158);
- this.dataGridView3.Margin = new System.Windows.Forms.Padding(7, 3, 7, 7);
- this.dataGridView3.Name = "dataGridView3";
- this.dataGridView3.RowHeadersVisible = false;
- this.dataGridView3.RowTemplate.Height = 23;
- this.dataGridView3.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
- this.dataGridView3.Size = new System.Drawing.Size(1048, 469);
- this.dataGridView3.TabIndex = 0;
- //
- // sort
- //
- this.sort.DataPropertyName = "sort";
- this.sort.HeaderText = "순서";
- this.sort.Name = "sort";
- //
- // cate
- //
- this.cate.DataPropertyName = "cate";
- this.cate.HeaderText = "그룹";
- this.cate.Name = "cate";
- //
- // sw
- //
- this.sw.DataPropertyName = "sw";
- this.sw.HeaderText = "sw";
- this.sw.Name = "sw";
- //
- // ww
- //
- this.ww.DataPropertyName = "ww";
- this.ww.HeaderText = "ww";
- this.ww.Name = "ww";
- //
- // panel9
- //
- this.panel9.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel9.Location = new System.Drawing.Point(1, 1);
- this.panel9.Name = "panel9";
- this.panel9.Size = new System.Drawing.Size(1048, 157);
- this.panel9.TabIndex = 88;
- this.panel9.Paint += new System.Windows.Forms.PaintEventHandler(this.panel9_Paint);
- //
- // bnTodo
- //
- this.bnTodo.AddNewItem = null;
- this.bnTodo.BindingSource = this.bsTodo;
- this.bnTodo.CountItem = this.toolStripLabel2;
- this.bnTodo.DeleteItem = null;
- this.bnTodo.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.bnTodo.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripButton8,
- this.toolStripButton9,
- this.toolStripSeparator4,
- this.toolStripTextBox2,
- this.toolStripLabel2,
- this.toolStripSeparator5,
- this.toolStripButton10,
- this.toolStripButton11,
- this.toolStripSeparator6,
- this.toolStripButton12,
- this.toolStripButton14,
- this.toolStripButton15,
- this.toolStripButton13});
- this.bnTodo.Location = new System.Drawing.Point(1, 627);
- this.bnTodo.MoveFirstItem = this.toolStripButton8;
- this.bnTodo.MoveLastItem = this.toolStripButton11;
- this.bnTodo.MoveNextItem = this.toolStripButton10;
- this.bnTodo.MovePreviousItem = this.toolStripButton9;
- this.bnTodo.Name = "bnTodo";
- this.bnTodo.PositionItem = this.toolStripTextBox2;
- this.bnTodo.Size = new System.Drawing.Size(1048, 25);
- this.bnTodo.TabIndex = 87;
- this.bnTodo.Text = "bindingNavigator3";
- //
- // toolStripLabel2
- //
- this.toolStripLabel2.Name = "toolStripLabel2";
- this.toolStripLabel2.Size = new System.Drawing.Size(27, 22);
- this.toolStripLabel2.Text = "/{0}";
- this.toolStripLabel2.ToolTipText = "전체 항목 수";
- //
- // toolStripButton8
- //
- this.toolStripButton8.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image")));
- this.toolStripButton8.Name = "toolStripButton8";
- this.toolStripButton8.RightToLeftAutoMirrorImage = true;
- this.toolStripButton8.Size = new System.Drawing.Size(23, 22);
- this.toolStripButton8.Text = "처음으로 이동";
- //
- // toolStripButton9
- //
- this.toolStripButton9.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
- this.toolStripButton9.Name = "toolStripButton9";
- this.toolStripButton9.RightToLeftAutoMirrorImage = true;
- this.toolStripButton9.Size = new System.Drawing.Size(23, 22);
- this.toolStripButton9.Text = "이전으로 이동";
- //
- // toolStripSeparator4
- //
- this.toolStripSeparator4.Name = "toolStripSeparator4";
- this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
- //
- // toolStripTextBox2
- //
- this.toolStripTextBox2.AccessibleName = "위치";
- this.toolStripTextBox2.AutoSize = false;
- this.toolStripTextBox2.Font = new System.Drawing.Font("맑은 고딕", 9F);
- this.toolStripTextBox2.Name = "toolStripTextBox2";
- this.toolStripTextBox2.Size = new System.Drawing.Size(50, 23);
- this.toolStripTextBox2.Text = "0";
- this.toolStripTextBox2.ToolTipText = "현재 위치";
- //
- // toolStripSeparator5
- //
- this.toolStripSeparator5.Name = "toolStripSeparator5";
- this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
- //
- // toolStripButton10
- //
- this.toolStripButton10.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
- this.toolStripButton10.Name = "toolStripButton10";
- this.toolStripButton10.RightToLeftAutoMirrorImage = true;
- this.toolStripButton10.Size = new System.Drawing.Size(23, 22);
- this.toolStripButton10.Text = "다음으로 이동";
- //
- // toolStripButton11
- //
- this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
- this.toolStripButton11.Name = "toolStripButton11";
- this.toolStripButton11.RightToLeftAutoMirrorImage = true;
- this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
- this.toolStripButton11.Text = "마지막으로 이동";
- //
- // toolStripSeparator6
- //
- this.toolStripSeparator6.Name = "toolStripSeparator6";
- this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
- //
- // toolStripButton12
- //
- this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
- this.toolStripButton12.Name = "toolStripButton12";
- this.toolStripButton12.RightToLeftAutoMirrorImage = true;
- this.toolStripButton12.Size = new System.Drawing.Size(51, 22);
- this.toolStripButton12.Text = "추가";
- this.toolStripButton12.Click += new System.EventHandler(this.toolStripButton12_Click);
- //
- // toolStripButton14
- //
- this.toolStripButton14.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton14.Image")));
- this.toolStripButton14.Name = "toolStripButton14";
- this.toolStripButton14.RightToLeftAutoMirrorImage = true;
- this.toolStripButton14.Size = new System.Drawing.Size(51, 22);
- this.toolStripButton14.Text = "삭제";
- this.toolStripButton14.Click += new System.EventHandler(this.toolStripButton14_Click);
- //
- // toolStripButton15
- //
- this.toolStripButton15.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
- this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image")));
- this.toolStripButton15.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButton15.Name = "toolStripButton15";
- this.toolStripButton15.Size = new System.Drawing.Size(75, 22);
- this.toolStripButton15.Text = "새로고침";
- this.toolStripButton15.Click += new System.EventHandler(this.toolStripButton15_Click);
- //
- // toolStripButton13
- //
- this.toolStripButton13.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton13.Image")));
- this.toolStripButton13.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButton13.Name = "toolStripButton13";
- this.toolStripButton13.Size = new System.Drawing.Size(51, 22);
- this.toolStripButton13.Text = "저장";
- this.toolStripButton13.Click += new System.EventHandler(this.toolStripButton13_Click_1);
- //
- // label10
- //
- label10.AutoSize = true;
- label10.Location = new System.Drawing.Point(323, 144);
- label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- label10.Name = "label10";
- label10.Size = new System.Drawing.Size(83, 12);
- label10.TabIndex = 90;
- label10.Text = "CR# Due Date";
- //
- // tbDue
- //
- this.tbDue.Location = new System.Drawing.Point(413, 139);
- this.tbDue.Name = "tbDue";
- this.tbDue.Size = new System.Drawing.Size(127, 21);
- this.tbDue.TabIndex = 91;
- this.tbDue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // dataGridViewTextBoxColumn1
- //
- this.dataGridViewTextBoxColumn1.DataPropertyName = "div";
- this.dataGridViewTextBoxColumn1.HeaderText = "*";
- this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
- this.dataGridViewTextBoxColumn1.ReadOnly = true;
- this.dataGridViewTextBoxColumn1.Visible = false;
- this.dataGridViewTextBoxColumn1.Width = 36;
- //
- // dataGridViewTextBoxColumn2
- //
- this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
- this.dataGridViewTextBoxColumn2.HeaderText = "등록일";
- this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
- this.dataGridViewTextBoxColumn2.ReadOnly = true;
- this.dataGridViewTextBoxColumn2.Width = 72;
- //
- // dataGridViewTextBoxColumn10
- //
- this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.dataGridViewTextBoxColumn10.DataPropertyName = "remark";
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewTextBoxColumn10.HeaderText = "비고";
- this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
- this.dataGridViewTextBoxColumn10.ReadOnly = true;
- //
- // dataGridViewCheckBoxColumn2
- //
- this.dataGridViewCheckBoxColumn2.DataPropertyName = "mailsend";
- this.dataGridViewCheckBoxColumn2.HeaderText = "M";
- this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
- this.dataGridViewCheckBoxColumn2.ReadOnly = true;
- this.dataGridViewCheckBoxColumn2.Width = 26;
- //
- // bsHistWeek
- //
- this.bsHistWeek.DataMember = "ProjectsHistory";
- this.bsHistWeek.DataSource = this.dsPRJ;
- //
- // dsPRJ
- //
- this.dsPRJ.DataSetName = "dsPRJ";
- this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
- // dataGridViewTextBoxColumn3
- //
- this.dataGridViewTextBoxColumn3.DataPropertyName = "div";
- this.dataGridViewTextBoxColumn3.HeaderText = "*";
- this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
- this.dataGridViewTextBoxColumn3.ReadOnly = true;
- this.dataGridViewTextBoxColumn3.Visible = false;
- this.dataGridViewTextBoxColumn3.Width = 36;
- //
- // dataGridViewTextBoxColumn4
- //
- this.dataGridViewTextBoxColumn4.DataPropertyName = "pdate";
- this.dataGridViewTextBoxColumn4.HeaderText = "등록일";
- this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
- this.dataGridViewTextBoxColumn4.ReadOnly = true;
- this.dataGridViewTextBoxColumn4.Width = 72;
- //
- // dataGridViewTextBoxColumn5
- //
- this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.dataGridViewTextBoxColumn5.DataPropertyName = "remark";
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2;
- this.dataGridViewTextBoxColumn5.HeaderText = "비고";
- this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
- this.dataGridViewTextBoxColumn5.ReadOnly = true;
- //
- // bsHistDay
- //
- this.bsHistDay.DataMember = "EETGW_ProjecthistoryD";
- this.bsHistDay.DataSource = this.dsPRJ;
- //
- // bs
- //
- this.bs.DataMember = "Projects";
- this.bs.DataSource = this.dsPRJ;
- this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
- //
- // titleDataGridViewTextBoxColumn
- //
- this.titleDataGridViewTextBoxColumn.DataPropertyName = "title";
- this.titleDataGridViewTextBoxColumn.HeaderText = "항목";
- this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn";
- this.titleDataGridViewTextBoxColumn.Width = 59;
- //
- // pdateDataGridViewTextBoxColumn
- //
- this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
- this.pdateDataGridViewTextBoxColumn.HeaderText = "시작일";
- this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
- this.pdateDataGridViewTextBoxColumn.Width = 72;
- //
- // processDataGridViewTextBoxColumn
- //
- this.processDataGridViewTextBoxColumn.DataPropertyName = "process";
- this.processDataGridViewTextBoxColumn.HeaderText = "진행(%)";
- this.processDataGridViewTextBoxColumn.Name = "processDataGridViewTextBoxColumn";
- this.processDataGridViewTextBoxColumn.Width = 78;
- //
- // edateDataGridViewTextBoxColumn
- //
- this.edateDataGridViewTextBoxColumn.DataPropertyName = "edate";
- this.edateDataGridViewTextBoxColumn.HeaderText = "종료일";
- this.edateDataGridViewTextBoxColumn.Name = "edateDataGridViewTextBoxColumn";
- this.edateDataGridViewTextBoxColumn.Width = 72;
- //
- // remarkDataGridViewTextBoxColumn
- //
- this.remarkDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.remarkDataGridViewTextBoxColumn.DataPropertyName = "remark";
- dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.remarkDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
- this.remarkDataGridViewTextBoxColumn.HeaderText = "비고";
- this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn";
- //
// bsTodo
//
this.bsTodo.DataMember = "EETGW_ProjectToDo";
@@ -2546,10 +2196,13 @@
this.Name = "fProjectData";
this.Text = "프로젝트 정보 추가/편집";
this.Load += new System.EventHandler(this.fProjectData_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsHistWeek)).EndInit();
this.panel7.ResumeLayout(false);
this.panel7.PerformLayout();
this.panel1.ResumeLayout(false);
@@ -2580,21 +2233,11 @@
this.arPanel4.ResumeLayout(false);
this.arPanel4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsHistDay)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator2)).EndInit();
this.bindingNavigator2.ResumeLayout(false);
this.bindingNavigator2.PerformLayout();
this.tabPage2.ResumeLayout(false);
- this.tabPage5.ResumeLayout(false);
- this.arPanel5.ResumeLayout(false);
- this.arPanel5.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.bnTodo)).EndInit();
- this.bnTodo.ResumeLayout(false);
- this.bnTodo.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bsHistWeek)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.bsHistDay)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsTodo)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -2680,7 +2323,6 @@
private System.Windows.Forms.ToolStripButton btwEdit;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.LinkLabel linkLabel1;
- private System.Windows.Forms.ComboBox cmbCate;
private System.Windows.Forms.LinkLabel linkLabel2;
private System.Windows.Forms.LinkLabel linkLabel3;
private System.Windows.Forms.LinkLabel linkLabel5;
@@ -2727,35 +2369,8 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
- private System.Windows.Forms.TabPage tabPage5;
- private arCtl.arPanel arPanel5;
- private System.Windows.Forms.DataGridView dataGridView3;
- private System.Windows.Forms.BindingNavigator bnTodo;
private System.Windows.Forms.BindingSource bsTodo;
- private System.Windows.Forms.ToolStripLabel toolStripLabel2;
- private System.Windows.Forms.ToolStripButton toolStripButton8;
- private System.Windows.Forms.ToolStripButton toolStripButton9;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
- private System.Windows.Forms.ToolStripTextBox toolStripTextBox2;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
- private System.Windows.Forms.ToolStripButton toolStripButton10;
- private System.Windows.Forms.ToolStripButton toolStripButton11;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
- private System.Windows.Forms.ToolStripButton toolStripButton12;
- private System.Windows.Forms.ToolStripButton toolStripButton14;
private dsPRJTableAdapters.EETGW_ProjectToDoTableAdapter taToDo;
- private System.Windows.Forms.ToolStripButton toolStripButton15;
- private System.Windows.Forms.ToolStripButton toolStripButton13;
- private System.Windows.Forms.DataGridViewTextBoxColumn sort;
- private System.Windows.Forms.DataGridViewTextBoxColumn cate;
- private System.Windows.Forms.DataGridViewTextBoxColumn sw;
- private System.Windows.Forms.DataGridViewTextBoxColumn ww;
- private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn processDataGridViewTextBoxColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn edateDataGridViewTextBoxColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn;
- private System.Windows.Forms.Panel panel9;
private System.Windows.Forms.TextBox tbDue;
}
}
\ No newline at end of file
diff --git a/SubProject/FPJ0000/Project/fProjectData.cs b/SubProject/FPJ0000/Project/fProjectData.cs
index 1481d9e..91ac504 100644
--- a/SubProject/FPJ0000/Project/fProjectData.cs
+++ b/SubProject/FPJ0000/Project/fProjectData.cs
@@ -34,11 +34,11 @@ namespace FPJ0000
this.cmbProcess.ValueMember = "Value";
this.cmbProcess.DataSource = dt_eetproc;
- //분류 - 190903
- var dt_cate = FCOMMON.DBM.getCodeTable("20", "code");
- this.cmbCate.DisplayMember = "Value";
- this.cmbCate.ValueMember = "Value";
- this.cmbCate.DataSource = dt_cate;
+ //분류 - 190903 - -제거 210329(박성민)
+ //var dt_cate = FCOMMON.DBM.getCodeTable("20", "code");
+ ////.cmbCate.DisplayMember = "Value";
+ //this.cmbCate.ValueMember = "Value";
+ //this.cmbCate.DataSource = dt_cate;
//공정
var dt_status = FCOMMON.DBM.getCodeTable("01");
@@ -53,18 +53,14 @@ namespace FPJ0000
this.cmbPart.DataSource = dt_part;
this.bs.DataSource = dr;
- if (string.IsNullOrEmpty(dr.CMP_After) == false) rtAft.Rtf = dr.CMP_After;
- if (string.IsNullOrEmpty(dr.CMP_Before) == false) rtBef.Rtf = dr.CMP_Before;
- if (string.IsNullOrEmpty(dr.CMP_Description) == false) rtDesc.Rtf = dr.CMP_Description;
- if (string.IsNullOrEmpty(dr.CMP_Background) == false) rtBack.Rtf = dr.CMP_Background;
+
//주간일지내역을 업데이트
refresh_History();
//일업무현황 업데이트
this.taHistD.Fill(this.dsPRJ.EETGW_ProjecthistoryD, this.dr.idx);
- //todo 업데이트
- refreshTodo();
+
try
{
//if (dr.idx >= 0)
@@ -79,9 +75,14 @@ namespace FPJ0000
this.cmbProcess.Text = dr.process;
this.cmbState.Text = dr.status;
this.cmbPart.Text = dr.part;
- this.cmbCate.Text = dr.category;
+ //this.cmbCate.Text = dr.category;
this.tbDue.Text = dr.crdue;
+ rtAft.Text = string.Empty;
+ rtBef.Text = string.Empty;
+ rtDesc.Text = string.Empty;
+ rtBack.Text = string.Empty;
+
//신규데이터는 추가정보를 바로 저장할 수 없다.
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted)
{
@@ -95,8 +96,24 @@ namespace FPJ0000
btSendMail.Enabled = false;
tabControl2.Enabled = false;
+
}
+ else
+ {
+ //디비에서 조회한다.
+ var dtMessage = ta.GetbyIDX(dr.idx);
+ if(dtMessage.Rows.Count > 0)
+ {
+ var dr2 = dtMessage.Rows[0] as dsPRJ.ProjectsRow;
+ if (string.IsNullOrEmpty(dr2.CMP_After) == false) rtAft.Rtf = dr2.CMP_After;
+ if (string.IsNullOrEmpty(dr2.CMP_Before) == false) rtBef.Rtf = dr2.CMP_Before;
+ if (string.IsNullOrEmpty(dr2.CMP_Description) == false) rtDesc.Rtf = dr2.CMP_Description;
+ if (string.IsNullOrEmpty(dr2.CMP_Background) == false) rtBack.Rtf = dr2.CMP_Background;
+ }
+
+ }
+
btIO.Enabled = btPart.Enabled;
//btWeek.Enabled = btPart.Enabled;
btMailAddr.Enabled = btPart.Enabled;
@@ -123,11 +140,23 @@ namespace FPJ0000
this.dr.process = cmbProcess.Text;
this.dr.status = cmbState.Text;
this.dr.part = cmbPart.Text;
- this.dr.category = cmbCate.Text;
- this.dr.CMP_After = rtAft.Rtf;
- this.dr.CMP_Before = rtBef.Rtf;
- this.dr.CMP_Description = rtDesc.Rtf;
- this.dr.CMP_Background = rtBack.Rtf;
+ //this.dr.category = cmbCate.Text;
+
+ //신규데이터일때에만 완료 자료를 처리한다.
+ //if(this.dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted)
+ //{
+ this.dr.CMP_After = rtAft.Rtf;
+ this.dr.CMP_Before = rtBef.Rtf;
+ this.dr.CMP_Description = rtDesc.Rtf;
+ this.dr.CMP_Background = rtBack.Rtf;
+ //}
+ //else
+ //{
+ // //직접데이터를 저장한다.
+ // var taq = new dsPRJTableAdapters.QueriesTableAdapter();
+ // var ucnt = taq.UpdateProjectCompleteMessage(rtBack.Rtf, rtDesc.Rtf, rtBef.Rtf, rtAft.Rtf, dr.idx);
+ //}
+
this.dr.crdue = tbDue.Text.Trim();
@@ -428,94 +457,7 @@ namespace FPJ0000
this.bsHistDay.RemoveCurrent();
}
- private void toolStripButton15_Click(object sender, EventArgs e)
- {
- refreshTodo();
- }
-
- void refreshTodo()
- {
- taToDo.Fill(this.dsPRJ.EETGW_ProjectToDo, this.dr.idx);
- this.dataGridView3.AutoResizeColumns();
- updatetimetable();
- formmatingdata();
- }
-
- private void toolStripButton12_Click(object sender, EventArgs e)
- {
- //add
- var newdr = this.dsPRJ.EETGW_ProjectToDo.NewEETGW_ProjectToDoRow();
- newdr.pidx = this.dr.idx;
- newdr.wuid = FCOMMON.info.Login.no;
- newdr.wdate = DateTime.Now;
- this.dsPRJ.EETGW_ProjectToDo.AddEETGW_ProjectToDoRow(newdr);
- }
- private void toolStripButton14_Click(object sender, EventArgs e)
- {
- //delete
- this.bsTodo.RemoveCurrent();
- }
-
-
-
- void updatetimetable()
- {
- this.panel9.Invalidate();
- }
-
- void formmatingdata()
- {
- //색상을 변경해준다. (그룹은 자료가 있으나, 항목에 자료가 없다면 타이틀이다)
- foreach (DataGridViewRow dr in this.dataGridView3.Rows)
- {
- var o_grp = dr.Cells[1].Value;
- var o_item = dr.Cells[4].Value;
- var v_grp = string.Empty;
- var v_item = string.Empty;
- if (o_grp != null) v_grp = o_grp.ToString();
- if (o_item != null) v_item = o_item.ToString();
- if (v_grp.Equals("") == false && v_item.Equals(""))
- dr.DefaultCellStyle.BackColor = System.Drawing.Color.White;
- else
- dr.DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(220, 220, 220);
- }
- }
- private void toolStripButton13_Click_1(object sender, EventArgs e)
- {
- //save
- try
- {
- this.Validate();
- this.bsTodo.EndEdit();
- var cnt = taToDo.Update(this.dsPRJ.EETGW_ProjectToDo);
- this.dataGridView3.AutoResizeColumns();
- updatetimetable();
- }
- catch (Exception ex)
- {
- FCOMMON.Util.MsgE(ex.Message);
- }
- }
-
- private void panel9_Paint(object sender, PaintEventArgs e)
- {
- //타임테이블을 그린다.
- e.Graphics.Clear(System.Drawing.Color.Black);
- e.Graphics.DrawString("time table", this.Font, System.Drawing.Brushes.White, 10, 10);
- var lst = this.dsPRJ.EETGW_ProjectToDo.Where(t => t.title == null).OrderBy(t => t.sort).ToList();
- if (lst.Count < 1) return;
- var strh = panel9.Height / lst.Count;
- for (int i = 0; i < lst.Count; i++)
- {
- var y = strh * i;
- e.Graphics.DrawLine(System.Drawing.Pens.Yellow, 0, y, panel9.Width, y);
- }
- foreach (dsPRJ.EETGW_ProjectToDoRow dr in lst)
- {
- e.Graphics.DrawString(dr.title, this.Font, System.Drawing.Brushes.Black, 10, 10);
- }
- }
}
}
diff --git a/SubProject/FPJ0000/Project/fProjectData.resx b/SubProject/FPJ0000/Project/fProjectData.resx
index 10499ac..3334126 100644
--- a/SubProject/FPJ0000/Project/fProjectData.resx
+++ b/SubProject/FPJ0000/Project/fProjectData.resx
@@ -168,10 +168,10 @@
False
-
+
False
-
+
False
@@ -317,9 +317,6 @@
449, 17
-
- False
-
773, 17
@@ -487,118 +484,9 @@
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
-
- True
-
-
- True
-
-
- True
-
-
- True
-
173, 56
-
- 17, 56
-
-
-
- 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=
-
-
-
-
- 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
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
- n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
- N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
- oAc0QjgAAAAASUVORK5CYII=
-
-
-
-
- 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==
-
-
-
-
- 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==
-
-
-
-
- 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=
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
- YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
- 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
- bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
- VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
- c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
- Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
- mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
- kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
- TgDQASA1MVpwzwAAAABJRU5ErkJggg==
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
- YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
- 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
- bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
- VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
- c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
- Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
- mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
- kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
- TgDQASA1MVpwzwAAAABJRU5ErkJggg==
-
-
164, 17
diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs
index 1046687..d2e2c86 100644
--- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs
+++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs
@@ -98,6 +98,7 @@
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
+ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.cmbDateType = new System.Windows.Forms.ToolStripComboBox();
this.cmbYearS = new System.Windows.Forms.ToolStripComboBox();
@@ -159,13 +160,13 @@
this.button1 = new System.Windows.Forms.Button();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.label17 = new System.Windows.Forms.Label();
- this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.cm.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.toolStrip1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.panel4.SuspendLayout();
@@ -175,7 +176,6 @@
this.toolStrip2.SuspendLayout();
this.panel1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -606,6 +606,178 @@
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 2;
//
+ // fpSpread1_Sheet1
+ //
+ this.fpSpread1_Sheet1.Reset();
+ this.fpSpread1_Sheet1.SheetName = "Sheet1";
+ // Formulas and custom names must be loaded with R1C1 reference style
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
+ this.fpSpread1_Sheet1.ColumnCount = 19;
+ this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
+ this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
+ this.fpSpread1_Sheet1.ActiveRowIndex = -1;
+ this.fpSpread1_Sheet1.AutoGenerateColumns = false;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "상태";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "완료일";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "진행\r\n(%)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "파트";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "담당";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).ColumnSpan = 3;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "협업";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "자산번호";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "프로젝트";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "대수";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Original\r\n($K)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).StyleName = " ";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Input\r\n($K)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect\r\n($K)";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "CR/CF#";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).RowSpan = 2;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "비고";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "H/W";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "전장";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "S/W";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Asset No.";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "CR/CF#";
+ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
+ this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ numberCellType1.DecimalPlaces = 0;
+ numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType1.MaximumValue = 2147483647D;
+ numberCellType1.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
+ this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
+ this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status";
+ this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state";
+ this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(2).DataField = "edate";
+ this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ numberCellType2.MaximumValue = 999999999999999D;
+ numberCellType2.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ProgressPrj";
+ this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(4).DataField = "part";
+ this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process";
+ this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
+ this.fpSpread1_Sheet1.Columns.Get(6).DataField = "reqstaff";
+ this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
+ this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userManager";
+ this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(7).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
+ this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usermain";
+ this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(8).Label = "H/W";
+ this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
+ this.fpSpread1_Sheet1.Columns.Get(9).DataField = "userhw2";
+ this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(9).Label = "전장";
+ this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
+ this.fpSpread1_Sheet1.Columns.Get(10).DataField = "usersub";
+ this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(10).Label = "S/W";
+ this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
+ this.fpSpread1_Sheet1.Columns.Get(11).DataField = "asset";
+ this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(11).Label = "Asset No.";
+ this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(11).Width = 78F;
+ this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
+ this.fpSpread1_Sheet1.Columns.Get(12).DataField = "name";
+ this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(12).Width = 78F;
+ numberCellType3.DecimalPlaces = 0;
+ numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType3.MaximumValue = 2147483647D;
+ numberCellType3.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(13).DataField = "cnt";
+ this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(13).Width = 59F;
+ numberCellType4.MaximumValue = 999999999999999D;
+ numberCellType4.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(14).DataField = "costo";
+ this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ numberCellType5.MaximumValue = 999999999999999D;
+ numberCellType5.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType5;
+ this.fpSpread1_Sheet1.Columns.Get(15).DataField = "costn";
+ this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ numberCellType6.MaximumValue = 999999999999999D;
+ numberCellType6.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType6;
+ this.fpSpread1_Sheet1.Columns.Get(16).DataField = "coste";
+ this.fpSpread1_Sheet1.Columns.Get(16).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType12;
+ this.fpSpread1_Sheet1.Columns.Get(17).DataField = "orderno";
+ this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(17).Label = "CR/CF#";
+ this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
+ this.fpSpread1_Sheet1.Columns.Get(18).DataField = "memo";
+ this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
+ this.fpSpread1_Sheet1.DataSource = this.bs;
+ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
+ //
// toolStrip1
//
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
@@ -1339,178 +1511,6 @@
this.label17.Text = "구매 진행";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // fpSpread1_Sheet1
- //
- this.fpSpread1_Sheet1.Reset();
- this.fpSpread1_Sheet1.SheetName = "Sheet1";
- // Formulas and custom names must be loaded with R1C1 reference style
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
- this.fpSpread1_Sheet1.ColumnCount = 19;
- this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
- this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
- this.fpSpread1_Sheet1.ActiveRowIndex = -1;
- this.fpSpread1_Sheet1.AutoGenerateColumns = false;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "상태";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "완료일";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "진행\r\n(%)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "파트";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "담당";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).ColumnSpan = 3;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "협업";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "자산번호";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "프로젝트";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "대수";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Original\r\n($K)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).StyleName = " ";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Input\r\n($K)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect\r\n($K)";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "CR/CF#";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).RowSpan = 2;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "비고";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "H/W";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "전장";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "S/W";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Asset No.";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "CR/CF#";
- this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
- this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- numberCellType1.DecimalPlaces = 0;
- numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType1.MaximumValue = 2147483647D;
- numberCellType1.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
- this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
- this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
- this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
- this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status";
- this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state";
- this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
- this.fpSpread1_Sheet1.Columns.Get(2).DataField = "edate";
- this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType2.MaximumValue = 999999999999999D;
- numberCellType2.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2;
- this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ProgressPrj";
- this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
- this.fpSpread1_Sheet1.Columns.Get(4).DataField = "part";
- this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
- this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process";
- this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
- this.fpSpread1_Sheet1.Columns.Get(6).DataField = "reqstaff";
- this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
- this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userManager";
- this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(7).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
- this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usermain";
- this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(8).Label = "H/W";
- this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
- this.fpSpread1_Sheet1.Columns.Get(9).DataField = "userhw2";
- this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(9).Label = "전장";
- this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
- this.fpSpread1_Sheet1.Columns.Get(10).DataField = "usersub";
- this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(10).Label = "S/W";
- this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
- this.fpSpread1_Sheet1.Columns.Get(11).DataField = "asset";
- this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(11).Label = "Asset No.";
- this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(11).Width = 78F;
- this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
- this.fpSpread1_Sheet1.Columns.Get(12).DataField = "name";
- this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(12).Width = 78F;
- numberCellType3.DecimalPlaces = 0;
- numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType3.MaximumValue = 2147483647D;
- numberCellType3.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType3;
- this.fpSpread1_Sheet1.Columns.Get(13).DataField = "cnt";
- this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(13).Width = 59F;
- numberCellType4.MaximumValue = 999999999999999D;
- numberCellType4.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType4;
- this.fpSpread1_Sheet1.Columns.Get(14).DataField = "costo";
- this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType5.MaximumValue = 999999999999999D;
- numberCellType5.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType5;
- this.fpSpread1_Sheet1.Columns.Get(15).DataField = "costn";
- this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- numberCellType6.MaximumValue = 999999999999999D;
- numberCellType6.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType6;
- this.fpSpread1_Sheet1.Columns.Get(16).DataField = "coste";
- this.fpSpread1_Sheet1.Columns.Get(16).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType12;
- this.fpSpread1_Sheet1.Columns.Get(17).DataField = "orderno";
- this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(17).Label = "CR/CF#";
- this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
- this.fpSpread1_Sheet1.Columns.Get(18).DataField = "memo";
- this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
- this.fpSpread1_Sheet1.DataSource = this.bs;
- this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
- //
// fProjectList
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1532,6 +1532,7 @@
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
this.cm.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
@@ -1544,7 +1545,6 @@
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.tableLayoutPanel3.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs
index 4fabaa8..b58a6d7 100644
--- a/SubProject/FPJ0000/Project/fProjectList.cs
+++ b/SubProject/FPJ0000/Project/fProjectList.cs
@@ -30,7 +30,7 @@ namespace FPJ0000
private void __Load(object sender, EventArgs e)
{
//프로젝트 목록을 처리함
- //this.tbRequest.Text = FCOMMON.info.Login.nameK;
+ this.tbRequest.Text = FCOMMON.info.Login.nameK;
cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다
//분류 - 190905
@@ -146,7 +146,8 @@ namespace FPJ0000
// var orgQuery = this.ta.Adapter.SelectCommand.CommandText;
- string State_Select = " SELECT *,dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory FROM Projects";
+
+ string State_Select = " SELECT [idx],[pidx],[gcode],[isdel],[status],[asset],[level],[rev],[process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff],[costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress],[memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[div],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory FROM Projects";
string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and ";
if (btViewDel.Checked == false) State_where += " isnull(isdel,0)=0 and "; //삭제보기 햇을 경우
diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx
index a5550af..fc1bf57 100644
--- a/SubProject/FPJ0000/Project/fProjectList.resx
+++ b/SubProject/FPJ0000/Project/fProjectList.resx
@@ -230,34 +230,34 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL9S1NxGMXvfxQEKqVILGjVSl2btDRaYKAU
- IYVKzNqmDacyLCostSk3c6WstRajstzS2dTUpS3p1V5mL9tdm9taWxnd073fXXR3+VN94HDhPuccHr48
- 1H9jcnxE680ADNb30A8u4tTAG2joV4+FsYj+sai2b3R5qe9hBGZXGN0PwqCS6V/IVV3HI1bIiKDd0e+5
- XqrN2wyDRwv9qAYnXQ3kZ23PMwgZEb3ur2Q+sHAZtP8SzHMXQCEH3nD44vy6BT0jYTLPhrJ4QsgWbzh0
- 3icqqLTIleX0bpR2SaHqlov8lHUiKHRlCMfTUJ+ZXi2otJQoFSYZ2zTSCONYE8rO7iRBnsHxYKbAPhWC
- fTII50wQb78ksK99khSo+kuU8rYdrOZuHfb2lKH4dAGkLVsx5A3BymuC+XuD15/iKG/xQknvqig1StkG
- Zy0kukK2SJe33XRrCfHUCmxTDPHauS8pIFtwG9g4VVsPQtErQ9W1/TjmOIItuk3sZt3GbfxGRtsHxJIr
- cEwzuD2TETX8hEEitfay6isV0Ls1OGqvRrGugM1vzIR5mofeYfnbT9zxZTa4P8cdknOWQbZUXQpIWgtR
- pM9D/okNq2Ee7fVFUjDMBfkwKbjBPUQ2LwIxqE3ede9Ac/UlolyB62mYeN1+roAP5ErW7v4tZETU088R
- SfwAE0vjcySFAJMEtcfgQa4k9ffsQkbEcfPCeE2nP1nTOY+qcz4c6Fi7l3+Eov4A0xctA1rLaFoAAAAA
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL/TxJxHMbvP2prU1c612iL0lIJXKQt2mzT
+ 1ZqrqWtnARpDMvqyapYSusukdEREY5UlpDDUVNLI9dW+YF/gCAQiKFv3dHfclCN/qtf27LZ7P8+z9z57
+ E/+N0fERhltB6KzvoR1cwPGBNyCpV4+FsYj+sZi6b3Rpse9RFGZXBD0PIyBSmV/IV9NpLyNkRFDu2Pd8
+ L3HS1w6dRw3tKIljrhb+Z6PpGYSMiF73V34+MH8FVOAyzLMXQSAPznDg0tyaBaaRCD/PhbB4wsgVZ9h/
+ wS8qqLXIFNXUDlR2S6HskYn8hHU8JHRliSQyUJ2dWimotVQo5KfKmbaRVnSMtaHqXBkf5Bj0hrIF9skw
+ 7BMhOKdDePslid2dE3yBsr9CITNsY8h7TdhlqkLpiSJI9Zsx5AvDymmc/nuD158SqNb7oKC211TqpUyL
+ sxESTTFToinYary9iER6GbZJmvfa2S9fwG/BbmBjVW/dB3lvOequ78Fhx0Fs0mxgNmrWb+E26rB9QDy1
+ DMcUjTvTWRHDT2gk06svq7paA62bxCF7PUo1RUxhazbM0T70DkvffuKuP7vBg1n2kJwzNHKl7JZDYihG
+ ibYAhUfXrYQ51DcW+IJhNsiF+YKb7EPk8iIYh8roW/MOyGsvEWMLXE8jvNcdYAu4QL7KOt2/hYyIZuo5
+ oskfoOMZfI6mEaRTIHbqPMiXpPm+XciIOGKe9zZ0BVINXXOoO+/H3jOr9/KPEMQfxQUs/XWpP8sAAAAA
SUVORK5CYII=
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ9SURBVDhPpZFLTBNRGIVn4Z6dexduRCSKVHYuTExciRvD
- wsRE4wZMNJiwcAESA1ZMMEB9IcEoyFtQi4TWEIKBtoDQSisOpa3T0lZaoFNmOo9Op3O8LaPgwsTHyT2Z
- uZP7nf//71D/reXRElfQfFYJjZ7b43JldazM73t1ZL9/oKTgF78vKZicPLlPxylqvtsga1oWgEZWzjvv
- GSmO8GRles1+Qf7h6MI1KWivDtJvjp3XcYryjJQmNVWCHG6GEGiBwDyDGByClmFJVgqayhNv7+wzCSQT
- G2l62ODRcYry9hzlsso2gU1I+drAfa7H1lwl4vNXwbobwC7dAuu6iYSzhriadBaDd/g4r+MkYLBUyYjr
- YD0mJBaNiE3dgBibJVU5vXrumfzZQW4852CxpOO5Dk4o+fmzMrEIqEIeVEUacvQBPJ5+mG0OdE4w6J2O
- wOoMwdFVJus4CTAZ0poqQuUcyLAWKJtDSK93QFq7B/dSF0YXYlj9JuDrpoxZP4dx1wbemh+rOk7+QrtB
- zioclC0z0rHufFUp1AAxUIMBWxTLYR5zjAhbQMAMsTsqo+8DAx2nKOf9YklTWAI/hxxpgRSsJ3A1BO/l
- fNu+uAybP4VpXwoTNI+FkIzuqfBuwMrdoqiY9CQji73Z1GoneO9D8HQz+C+N6CMzL0cETHl34Jw/rslo
- H1vZDaAbC6/TxsM9njuH4k5jkbTX70aeqLM+DosEsjMS5kl18yceTaYuzVJ76qIe8Xu1WpgD7VambpDc
- Rf9MFE+trqzR1Ku5xzvgaKvgXlYVVuhH/1yva89csT+6xAYsrRi7fVLQP/+dXlQdrBivOy1am8p37+Lf
- RFHfAYswJMpC6AkvAAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ8SURBVDhPpZFLTBNRGIVn4Z6dexduRCSKFHcsTEzcKCtD
+ 4sJE4wZMNJiwcAESw0sTDBTFIMEIyFtUioTWEIKBtoClSEccSlunpVRagSkznUen0znellFwYeLj5J7M
+ 3Mn9zv//d6j/1spYwVJw9IIaspQc8EV1bfyM3/fyxGH/YEHOL35XkDM1VXzIwClqvtuk6HoagE5Wxnvv
+ KTmG8FRZct1xWfnhiOumHHRUBJk3py4ZOEXRrwrjuiZDCTdBDDRDZJ9BCg5DT3EkKwFdE4h39/apHXDb
+ sSQzYqINnKK8vSf5tLpL4FYkfGbwn2qwPV+G2MINcJ5acMt3wS3dwY67kriCdBaFd+S0YOAkYKhQTUmb
+ 4OhW7Cw2IDp9G1J0jlTljeqZZ/xnB5nx3EP5soFnOihSs/OnFWIJ0MQsqEkMlMgj0PQALHYnOidZ9M1s
+ wOYOwdldpBg4CWg1JXVNgsY7keKsULeGkdzsgLz+AJ7lboy5olj7KuLLloI5P4+JpW8YtbRpBk7+QrtJ
+ Sas81G0LktGebFU5VAspUIlBewQrYQHzrAR7QMQssSeioP89CwOnKPfDfFlXOQI/h7LRDDlYQ+AKiN5r
+ 2bZ9MQV2fwIzvgQmGQGukIKe6fB+wGpjXkSK0/Gwqy+dWOuE4H0MgWmC8LkO/WTmlQ0R0949OOMP6wra
+ x1f3A5i63FtMw/Feuv5YzN2QJx/021dPtDkfj0UCOVgZC6S65aOARnOXbq06e8WI+L1arOyRdhtbPUTu
+ YmA2gqc2d7re3Kt7JjrgNJfyL8pzS42jf67XVeevO9qucgFrC8bvFYvG579TV/nR0onqc5Ltfsn+Xfyb
+ KOo7Ogkkq+WJUZcAAAAASUVORK5CYII=
diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs
index 01c5616..8befb3a 100644
--- a/SubProject/FPJ0000/dsPRJ.Designer.cs
+++ b/SubProject/FPJ0000/dsPRJ.Designer.cs
@@ -19415,112 +19415,9 @@ namespace FPJ0000.dsPRJTableAdapters {
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = "DELETE FROM [Projects] WHERE (([idx] = @Original_idx) AND ((@IsNull_status = 1 AN" +
- "D [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_pdate = 1 AN" +
- "D [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_name = 1 AND [n" +
- "ame] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_usermain = 1 AND [user" +
- "main] IS NULL) OR ([usermain] = @Original_usermain)) AND ((@IsNull_usersub = 1 A" +
- "ND [usersub] IS NULL) OR ([usersub] = @Original_usersub)) AND ((@IsNull_reqstaff" +
- " = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull" +
- "_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_ed" +
- "ate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_odate" +
- " = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1" +
- " AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid)" +
- " AND ([wdate] = @Original_wdate) AND ((@IsNull_rev = 1 AND [rev] IS NULL) OR ([r" +
- "ev] = @Original_rev)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @O" +
- "riginal_pidx)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([use" +
- "rManager] = @Original_userManager)) AND ((@IsNull_level = 1 AND [level] IS NULL)" +
- " OR ([level] = @Original_level)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR (" +
- "[part] = @Original_part)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([" +
- "process] = @Original_process)) AND ((@IsNull_costo = 1 AND [costo] IS NULL) OR (" +
- "[costo] = @Original_costo)) AND ((@IsNull_costn = 1 AND [costn] IS NULL) OR ([co" +
- "stn] = @Original_costn)) AND ((@IsNull_cnt = 1 AND [cnt] IS NULL) OR ([cnt] = @O" +
- "riginal_cnt)) AND ((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Origin" +
- "al_ddate)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @" +
- "Original_progress)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] " +
- "= @Original_import)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = " +
- "@Original_asset)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Or" +
- "iginal_isdel)) AND ((@IsNull_path = 1 AND [path] IS NULL) OR ([path] = @Original" +
- "_path)) AND ((@IsNull_userhw2 = 1 AND [userhw2] IS NULL) OR ([userhw2] = @Origin" +
- "al_userhw2)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @O" +
- "riginal_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_category = 1 AND" +
- " [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userpro" +
- "cess = 1 AND [userprocess] IS NULL) OR ([userprocess] = @Original_userprocess)) " +
- "AND ((@IsNull_bCost = 1 AND [bCost] IS NULL) OR ([bCost] = @Original_bCost)) AND" +
- " ((@IsNull_bFanOut = 1 AND [bFanOut] IS NULL) OR ([bFanOut] = @Original_bFanOut)" +
- ") AND ((@IsNull_div = 1 AND [div] IS NULL) OR ([div] = @Original_div)) AND ((@Is" +
- "Null_crdue = 1 AND [crdue] IS NULL) OR ([crdue] = @Original_crdue)))";
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM Projects\r\nWHERE (idx = @Original_idx)";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usermain", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usermain", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usersub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usersub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costn", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_path", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_path", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userhw2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userhw2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_category", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userprocess", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userprocess", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bCost", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bFanOut", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bFanOut", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_div", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_div", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_crdue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_crdue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqsta" +
@@ -19587,174 +19484,71 @@ namespace FPJ0000.dsPRJTableAdapters {
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@crdue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = "UPDATE [Projects] SET [status] = @status, [pdate] = @pdate, [name] = @name, [user" +
- "main] = @usermain, [usersub] = @usersub, [reqstaff] = @reqstaff, [sdate] = @sdat" +
- "e, [edate] = @edate, [odate] = @odate, [memo] = @memo, [wuid] = @wuid, [wdate] =" +
- " @wdate, [rev] = @rev, [pidx] = @pidx, [userManager] = @userManager, [level] = @" +
- "level, [part] = @part, [process] = @process, [costo] = @costo, [costn] = @costn," +
- " [cnt] = @cnt, [remark_req] = @remark_req, [remark_ans] = @remark_ans, [ddate] =" +
- " @ddate, [progress] = @progress, [import] = @import, [asset] = @asset, [isdel] =" +
- " @isdel, [path] = @path, [userhw2] = @userhw2, [orderno] = @orderno, [gcode] = @" +
- "gcode, [category] = @category, [userprocess] = @userprocess, [CMP_Background] = " +
- "@CMP_Background, [CMP_Description] = @CMP_Description, [CMP_Before] = @CMP_Befor" +
- "e, [CMP_After] = @CMP_After, [bCost] = @bCost, [bFanOut] = @bFanOut, [div] = @di" +
- "v, [crdue] = @crdue WHERE (([idx] = @Original_idx) AND ((@IsNull_status = 1 AND " +
- "[status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_pdate = 1 AND " +
- "[pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_name = 1 AND [nam" +
- "e] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_usermain = 1 AND [userma" +
- "in] IS NULL) OR ([usermain] = @Original_usermain)) AND ((@IsNull_usersub = 1 AND" +
- " [usersub] IS NULL) OR ([usersub] = @Original_usersub)) AND ((@IsNull_reqstaff =" +
- " 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_s" +
- "date = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edat" +
- "e = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_odate =" +
- " 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 A" +
- "ND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) A" +
- "ND ([wdate] = @Original_wdate) AND ((@IsNull_rev = 1 AND [rev] IS NULL) OR ([rev" +
- "] = @Original_rev)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Ori" +
- "ginal_pidx)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userM" +
- "anager] = @Original_userManager)) AND ((@IsNull_level = 1 AND [level] IS NULL) O" +
- "R ([level] = @Original_level)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([p" +
- "art] = @Original_part)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([pr" +
- "ocess] = @Original_process)) AND ((@IsNull_costo = 1 AND [costo] IS NULL) OR ([c" +
- "osto] = @Original_costo)) AND ((@IsNull_costn = 1 AND [costn] IS NULL) OR ([cost" +
- "n] = @Original_costn)) AND ((@IsNull_cnt = 1 AND [cnt] IS NULL) OR ([cnt] = @Ori" +
- "ginal_cnt)) AND ((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original" +
- "_ddate)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Or" +
- "iginal_progress)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = " +
- "@Original_import)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @O" +
- "riginal_asset)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Orig" +
- "inal_isdel)) AND ((@IsNull_path = 1 AND [path] IS NULL) OR ([path] = @Original_p" +
- "ath)) AND ((@IsNull_userhw2 = 1 AND [userhw2] IS NULL) OR ([userhw2] = @Original" +
- "_userhw2)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Ori" +
- "ginal_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_category = 1 AND [" +
- "category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userproce" +
- "ss = 1 AND [userprocess] IS NULL) OR ([userprocess] = @Original_userprocess)) AN" +
- "D ((@IsNull_bCost = 1 AND [bCost] IS NULL) OR ([bCost] = @Original_bCost)) AND (" +
- "(@IsNull_bFanOut = 1 AND [bFanOut] IS NULL) OR ([bFanOut] = @Original_bFanOut)) " +
- "AND ((@IsNull_div = 1 AND [div] IS NULL) OR ([div] = @Original_div)) AND ((@IsNu" +
- "ll_crdue = 1 AND [crdue] IS NULL) OR ([crdue] = @Original_crdue)));\r\nSELECT idx," +
- " status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wu" +
- "id, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, rema" +
- "rk_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2, ordern" +
- "o, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Bac" +
- "kground, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue FROM" +
- " Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = \'검토\' THEN \'0\' WHEN (" +
- "[status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\')" +
- " THEN \'3\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' END)";
+ this._adapter.UpdateCommand.CommandText = "UPDATE Projects\r\nSET status = @status, pdate = @pdate, name = @name, userm" +
+ "ain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate" +
+ " = @edate, odate = @odate, memo = @memo, \r\n wuid = @wuid, wdate = " +
+ "@wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, pa" +
+ "rt = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt, \r\n " +
+ " remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate," +
+ " progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = " +
+ "@path, userhw2 = @userhw2, \r\n orderno = @orderno, gcode = @gcode, " +
+ "category = @category, userprocess = @userprocess, CMP_Background = @CMP_Backgrou" +
+ "nd, CMP_Description = @CMP_Description, \r\n CMP_Before = @CMP_Befor" +
+ "e, CMP_After = @CMP_After, bCost = @bCost, bFanOut = @bFanOut, div = @div, crdue" +
+ " = @crdue\r\nWHERE (idx = @Original_idx); \r\nSELECT idx, status, pdate, name, user" +
+ "main, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, user" +
+ "Manager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate," +
+ " progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx)" +
+ " AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, " +
+ "CMP_Before, CMP_After, bCost, bFanOut, div, crdue FROM Projects WHERE (idx = @id" +
+ "x) ORDER BY (CASE WHEN [status] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' " +
+ "WHEN ([status] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] =" +
+ " \'취소\') THEN \'9\' ELSE \'5\' END)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usermain", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usersub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costn", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_req", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark_req", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_ans", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark_ans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@path", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userprocess", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Background", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Background", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Before", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Before", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_After", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_After", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bCost", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bFanOut", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@div", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@crdue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usermain", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usermain", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usersub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usersub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costn", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_path", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_path", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userhw2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userhw2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_category", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userprocess", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userprocess", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bCost", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bFanOut", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bFanOut", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_div", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_div", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_crdue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_crdue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usermain", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usersub", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reqstaff", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@level", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costo", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costn", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cnt", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_req", global::System.Data.SqlDbType.VarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "remark_req", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_ans", global::System.Data.SqlDbType.VarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "remark_ans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@progress", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@path", global::System.Data.SqlDbType.VarChar, 300, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userprocess", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Background", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Background", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Description", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Before", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Before", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_After", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_After", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bCost", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bFanOut", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@div", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@crdue", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -19986,322 +19780,8 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(
- int Original_idx,
- string Original_status,
- string Original_pdate,
- string Original_name,
- string Original_usermain,
- string Original_usersub,
- string Original_reqstaff,
- string Original_sdate,
- string Original_edate,
- string Original_odate,
- string Original_memo,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_rev,
- global::System.Nullable Original_pidx,
- string Original_userManager,
- global::System.Nullable Original_level,
- string Original_part,
- string Original_process,
- global::System.Nullable Original_costo,
- global::System.Nullable Original_costn,
- global::System.Nullable Original_cnt,
- string Original_ddate,
- global::System.Nullable Original_progress,
- global::System.Nullable Original_import,
- string Original_asset,
- global::System.Nullable Original_isdel,
- string Original_path,
- string Original_userhw2,
- string Original_orderno,
- string Original_gcode,
- string Original_category,
- string Original_userprocess,
- global::System.Nullable Original_bCost,
- global::System.Nullable Original_bFanOut,
- string Original_div,
- string Original_crdue) {
+ public virtual int Delete(int Original_idx) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
- if ((Original_status == null)) {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_status));
- }
- if ((Original_pdate == null)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_pdate));
- }
- if ((Original_name == null)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_name));
- }
- if ((Original_usermain == null)) {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_usermain));
- }
- if ((Original_usersub == null)) {
- this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_usersub));
- }
- if ((Original_reqstaff == null)) {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_reqstaff));
- }
- if ((Original_sdate == null)) {
- this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_sdate));
- }
- if ((Original_edate == null)) {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_edate));
- }
- if ((Original_odate == null)) {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_odate));
- }
- if ((Original_memo == null)) {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_memo));
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_wuid));
- }
- this.Adapter.DeleteCommand.Parameters[22].Value = ((System.DateTime)(Original_wdate));
- if ((Original_rev.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[24].Value = ((int)(Original_rev.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
- }
- if ((Original_pidx.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[26].Value = ((int)(Original_pidx.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
- }
- if ((Original_userManager == null)) {
- this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_userManager));
- }
- if ((Original_level.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[30].Value = ((int)(Original_level.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
- }
- if ((Original_part == null)) {
- this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_part));
- }
- if ((Original_process == null)) {
- this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_process));
- }
- if ((Original_costo.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[36].Value = ((double)(Original_costo.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
- }
- if ((Original_costn.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[38].Value = ((double)(Original_costn.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
- }
- if ((Original_cnt.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[40].Value = ((int)(Original_cnt.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
- }
- if ((Original_ddate == null)) {
- this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_ddate));
- }
- if ((Original_progress.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[44].Value = ((int)(Original_progress.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value;
- }
- if ((Original_import.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[46].Value = ((bool)(Original_import.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value;
- }
- if ((Original_asset == null)) {
- this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[48].Value = ((string)(Original_asset));
- }
- if ((Original_isdel.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[50].Value = ((bool)(Original_isdel.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value;
- }
- if ((Original_path == null)) {
- this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_path));
- }
- if ((Original_userhw2 == null)) {
- this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_userhw2));
- }
- if ((Original_orderno == null)) {
- this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[56].Value = ((string)(Original_orderno));
- }
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[57].Value = ((string)(Original_gcode));
- }
- if ((Original_category == null)) {
- this.Adapter.DeleteCommand.Parameters[58].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[59].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[58].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[59].Value = ((string)(Original_category));
- }
- if ((Original_userprocess == null)) {
- this.Adapter.DeleteCommand.Parameters[60].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[61].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[60].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[61].Value = ((string)(Original_userprocess));
- }
- if ((Original_bCost.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[62].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[63].Value = ((bool)(Original_bCost.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[62].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[63].Value = global::System.DBNull.Value;
- }
- if ((Original_bFanOut.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[64].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[65].Value = ((bool)(Original_bFanOut.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[64].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[65].Value = global::System.DBNull.Value;
- }
- if ((Original_div == null)) {
- this.Adapter.DeleteCommand.Parameters[66].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[67].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[66].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[67].Value = ((string)(Original_div));
- }
- if ((Original_crdue == null)) {
- this.Adapter.DeleteCommand.Parameters[68].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[69].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[68].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[69].Value = ((string)(Original_crdue));
- }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -20676,42 +20156,6 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
string div,
string crdue,
int Original_idx,
- string Original_status,
- string Original_pdate,
- string Original_name,
- string Original_usermain,
- string Original_usersub,
- string Original_reqstaff,
- string Original_sdate,
- string Original_edate,
- string Original_odate,
- string Original_memo,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_rev,
- global::System.Nullable Original_pidx,
- string Original_userManager,
- global::System.Nullable Original_level,
- string Original_part,
- string Original_process,
- global::System.Nullable Original_costo,
- global::System.Nullable Original_costn,
- global::System.Nullable Original_cnt,
- string Original_ddate,
- global::System.Nullable Original_progress,
- global::System.Nullable Original_import,
- string Original_asset,
- global::System.Nullable Original_isdel,
- string Original_path,
- string Original_userhw2,
- string Original_orderno,
- string Original_gcode,
- string Original_category,
- string Original_userprocess,
- global::System.Nullable Original_bCost,
- global::System.Nullable Original_bFanOut,
- string Original_div,
- string Original_crdue,
int idx) {
if ((status == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -20961,284 +20405,7 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(crdue));
}
this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_idx));
- if ((Original_status == null)) {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_status));
- }
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_pdate));
- }
- if ((Original_name == null)) {
- this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_name));
- }
- if ((Original_usermain == null)) {
- this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_usermain));
- }
- if ((Original_usersub == null)) {
- this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_usersub));
- }
- if ((Original_reqstaff == null)) {
- this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_reqstaff));
- }
- if ((Original_sdate == null)) {
- this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_sdate));
- }
- if ((Original_edate == null)) {
- this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_edate));
- }
- if ((Original_odate == null)) {
- this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_odate));
- }
- if ((Original_memo == null)) {
- this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_memo));
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_wuid));
- }
- this.Adapter.UpdateCommand.Parameters[64].Value = ((System.DateTime)(Original_wdate));
- if ((Original_rev.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_rev.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
- }
- if ((Original_pidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(Original_pidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
- }
- if ((Original_userManager == null)) {
- this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_userManager));
- }
- if ((Original_level.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[72].Value = ((int)(Original_level.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
- }
- if ((Original_part == null)) {
- this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Original_part));
- }
- if ((Original_process == null)) {
- this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_process));
- }
- if ((Original_costo.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[78].Value = ((double)(Original_costo.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
- }
- if ((Original_costn.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[80].Value = ((double)(Original_costn.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
- }
- if ((Original_cnt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[82].Value = ((int)(Original_cnt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value;
- }
- if ((Original_ddate == null)) {
- this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[84].Value = ((string)(Original_ddate));
- }
- if ((Original_progress.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(Original_progress.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[86].Value = global::System.DBNull.Value;
- }
- if ((Original_import.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[88].Value = ((bool)(Original_import.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value;
- }
- if ((Original_asset == null)) {
- this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[90].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[90].Value = ((string)(Original_asset));
- }
- if ((Original_isdel.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[92].Value = ((bool)(Original_isdel.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[92].Value = global::System.DBNull.Value;
- }
- if ((Original_path == null)) {
- this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[94].Value = ((string)(Original_path));
- }
- if ((Original_userhw2 == null)) {
- this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[96].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(Original_userhw2));
- }
- if ((Original_orderno == null)) {
- this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(Original_orderno));
- }
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[99].Value = ((string)(Original_gcode));
- }
- if ((Original_category == null)) {
- this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[101].Value = ((string)(Original_category));
- }
- if ((Original_userprocess == null)) {
- this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[103].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[103].Value = ((string)(Original_userprocess));
- }
- if ((Original_bCost.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[105].Value = ((bool)(Original_bCost.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value;
- }
- if ((Original_bFanOut.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[107].Value = ((bool)(Original_bFanOut.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[107].Value = global::System.DBNull.Value;
- }
- if ((Original_div == null)) {
- this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[109].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[109].Value = ((string)(Original_div));
- }
- if ((Original_crdue == null)) {
- this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[111].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_crdue));
- }
- this.Adapter.UpdateCommand.Parameters[112].Value = ((int)(idx));
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -21255,93 +20422,6 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- string status,
- string pdate,
- string name,
- string usermain,
- string usersub,
- string reqstaff,
- string sdate,
- string edate,
- string odate,
- string memo,
- string wuid,
- System.DateTime wdate,
- global::System.Nullable rev,
- global::System.Nullable pidx,
- string userManager,
- global::System.Nullable level,
- string part,
- string process,
- global::System.Nullable costo,
- global::System.Nullable costn,
- global::System.Nullable cnt,
- string remark_req,
- string remark_ans,
- string ddate,
- global::System.Nullable progress,
- global::System.Nullable import,
- string asset,
- global::System.Nullable isdel,
- string path,
- string userhw2,
- string orderno,
- string gcode,
- string category,
- string userprocess,
- string CMP_Background,
- string CMP_Description,
- string CMP_Before,
- string CMP_After,
- global::System.Nullable bCost,
- global::System.Nullable bFanOut,
- string div,
- string crdue,
- int Original_idx,
- string Original_status,
- string Original_pdate,
- string Original_name,
- string Original_usermain,
- string Original_usersub,
- string Original_reqstaff,
- string Original_sdate,
- string Original_edate,
- string Original_odate,
- string Original_memo,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_rev,
- global::System.Nullable Original_pidx,
- string Original_userManager,
- global::System.Nullable Original_level,
- string Original_part,
- string Original_process,
- global::System.Nullable Original_costo,
- global::System.Nullable Original_costn,
- global::System.Nullable Original_cnt,
- string Original_ddate,
- global::System.Nullable Original_progress,
- global::System.Nullable Original_import,
- string Original_asset,
- global::System.Nullable Original_isdel,
- string Original_path,
- string Original_userhw2,
- string Original_orderno,
- string Original_gcode,
- string Original_category,
- string Original_userprocess,
- global::System.Nullable Original_bCost,
- global::System.Nullable Original_bFanOut,
- string Original_div,
- string Original_crdue) {
- return this.Update(status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2, orderno, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, Original_idx, Original_status, Original_pdate, Original_name, Original_usermain, Original_usersub, Original_reqstaff, Original_sdate, Original_edate, Original_odate, Original_memo, Original_wuid, Original_wdate, Original_rev, Original_pidx, Original_userManager, Original_level, Original_part, Original_process, Original_costo, Original_costn, Original_cnt, Original_ddate, Original_progress, Original_import, Original_asset, Original_isdel, Original_path, Original_userhw2, Original_orderno, Original_gcode, Original_category, Original_userprocess, Original_bCost, Original_bFanOut, Original_div, Original_crdue, Original_idx);
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -34159,7 +33239,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.IDbCommand[2];
+ this._commandCollection = new global::System.Data.IDbCommand[3];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::FPJ0000.Properties.Settings.Default.gwcs);
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.CopyProjectData";
@@ -34174,6 +33254,16 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandType = global::System.Data.CommandType.StoredProcedure;
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.ReturnValue, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@datevalue", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Connection = new global::System.Data.SqlClient.SqlConnection(global::FPJ0000.Properties.Settings.Default.gwcs);
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).CommandText = "UPDATE Projects\r\nSET CMP_Background = @back, CMP_Description = @desc, CMP_" +
+ "Before = @bef, CMP_After = @aft\r\nWHERE (idx = @idx)";
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).CommandType = global::System.Data.CommandType.Text;
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@back", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Background", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@desc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bef", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Before", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@aft", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_After", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[2])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -34256,6 +33346,54 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
return ((object)(returnValue));
}
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
+ public virtual int UpdateProjectCompleteMessage(string back, string desc, string bef, string aft, int idx) {
+ global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[2]));
+ if ((back == null)) {
+ command.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[0].Value = ((string)(back));
+ }
+ if ((desc == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(desc));
+ }
+ if ((bef == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(bef));
+ }
+ if ((aft == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(aft));
+ }
+ command.Parameters[4].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
}
///
diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd
index 45384a6..69231f5 100644
--- a/SubProject/FPJ0000/dsPRJ.xsd
+++ b/SubProject/FPJ0000/dsPRJ.xsd
@@ -11,79 +11,11 @@
-
- DELETE FROM [Projects] WHERE (([idx] = @Original_idx) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_usermain = 1 AND [usermain] IS NULL) OR ([usermain] = @Original_usermain)) AND ((@IsNull_usersub = 1 AND [usersub] IS NULL) OR ([usersub] = @Original_usersub)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_rev = 1 AND [rev] IS NULL) OR ([rev] = @Original_rev)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_costo = 1 AND [costo] IS NULL) OR ([costo] = @Original_costo)) AND ((@IsNull_costn = 1 AND [costn] IS NULL) OR ([costn] = @Original_costn)) AND ((@IsNull_cnt = 1 AND [cnt] IS NULL) OR ([cnt] = @Original_cnt)) AND ((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Original_progress)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_path = 1 AND [path] IS NULL) OR ([path] = @Original_path)) AND ((@IsNull_userhw2 = 1 AND [userhw2] IS NULL) OR ([userhw2] = @Original_userhw2)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userprocess = 1 AND [userprocess] IS NULL) OR ([userprocess] = @Original_userprocess)) AND ((@IsNull_bCost = 1 AND [bCost] IS NULL) OR ([bCost] = @Original_bCost)) AND ((@IsNull_bFanOut = 1 AND [bFanOut] IS NULL) OR ([bFanOut] = @Original_bFanOut)) AND ((@IsNull_div = 1 AND [div] IS NULL) OR ([div] = @Original_div)) AND ((@IsNull_crdue = 1 AND [crdue] IS NULL) OR ([crdue] = @Original_crdue)))
+
+ DELETE FROM Projects
+WHERE (idx = @Original_idx)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -156,123 +88,60 @@ ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN
-
- UPDATE [Projects] SET [status] = @status, [pdate] = @pdate, [name] = @name, [usermain] = @usermain, [usersub] = @usersub, [reqstaff] = @reqstaff, [sdate] = @sdate, [edate] = @edate, [odate] = @odate, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [rev] = @rev, [pidx] = @pidx, [userManager] = @userManager, [level] = @level, [part] = @part, [process] = @process, [costo] = @costo, [costn] = @costn, [cnt] = @cnt, [remark_req] = @remark_req, [remark_ans] = @remark_ans, [ddate] = @ddate, [progress] = @progress, [import] = @import, [asset] = @asset, [isdel] = @isdel, [path] = @path, [userhw2] = @userhw2, [orderno] = @orderno, [gcode] = @gcode, [category] = @category, [userprocess] = @userprocess, [CMP_Background] = @CMP_Background, [CMP_Description] = @CMP_Description, [CMP_Before] = @CMP_Before, [CMP_After] = @CMP_After, [bCost] = @bCost, [bFanOut] = @bFanOut, [div] = @div, [crdue] = @crdue WHERE (([idx] = @Original_idx) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_usermain = 1 AND [usermain] IS NULL) OR ([usermain] = @Original_usermain)) AND ((@IsNull_usersub = 1 AND [usersub] IS NULL) OR ([usersub] = @Original_usersub)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_rev = 1 AND [rev] IS NULL) OR ([rev] = @Original_rev)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_costo = 1 AND [costo] IS NULL) OR ([costo] = @Original_costo)) AND ((@IsNull_costn = 1 AND [costn] IS NULL) OR ([costn] = @Original_costn)) AND ((@IsNull_cnt = 1 AND [cnt] IS NULL) OR ([cnt] = @Original_cnt)) AND ((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Original_progress)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_path = 1 AND [path] IS NULL) OR ([path] = @Original_path)) AND ((@IsNull_userhw2 = 1 AND [userhw2] IS NULL) OR ([userhw2] = @Original_userhw2)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userprocess = 1 AND [userprocess] IS NULL) OR ([userprocess] = @Original_userprocess)) AND ((@IsNull_bCost = 1 AND [bCost] IS NULL) OR ([bCost] = @Original_bCost)) AND ((@IsNull_bFanOut = 1 AND [bFanOut] IS NULL) OR ([bFanOut] = @Original_bFanOut)) AND ((@IsNull_div = 1 AND [div] IS NULL) OR ([div] = @Original_div)) AND ((@IsNull_crdue = 1 AND [crdue] IS NULL) OR ([crdue] = @Original_crdue)));
+
+ UPDATE Projects
+SET status = @status, pdate = @pdate, name = @name, usermain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate = @edate, odate = @odate, memo = @memo,
+ wuid = @wuid, wdate = @wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, part = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt,
+ remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate, progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = @path, userhw2 = @userhw2,
+ orderno = @orderno, gcode = @gcode, category = @category, userprocess = @userprocess, CMP_Background = @CMP_Background, CMP_Description = @CMP_Description,
+ CMP_Before = @CMP_Before, CMP_After = @CMP_After, bCost = @bCost, bFanOut = @bFanOut, div = @div, crdue = @crdue
+WHERE (idx = @Original_idx);
SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -374,7 +243,7 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
-
+
UPDATE Projects
@@ -2693,6 +2562,22 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
+
+
+
+ UPDATE Projects
+SET CMP_Background = @back, CMP_Description = @desc, CMP_Before = @bef, CMP_After = @aft
+WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
@@ -2700,7 +2585,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -2939,7 +2824,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -2983,7 +2868,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3028,7 +2913,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3144,7 +3029,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3269,7 +3154,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3307,7 +3192,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3423,7 +3308,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3474,7 +3359,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3487,7 +3372,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3657,7 +3542,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3834,7 +3719,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3879,7 +3764,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -3948,7 +3833,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -4138,7 +4023,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
@@ -4277,7 +4162,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
-
+
diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss
index 123ceb7..3915187 100644
--- a/SubProject/FPJ0000/dsPRJ.xss
+++ b/SubProject/FPJ0000/dsPRJ.xss
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
@@ -22,7 +22,7 @@
-
+
\ No newline at end of file