diff --git a/EETGW.v12.suo b/EETGW.v12.suo
index a03c177..2d40dd9 100644
Binary files a/EETGW.v12.suo and b/EETGW.v12.suo differ
diff --git a/Project/EETGW.csproj b/Project/EETGW.csproj
index 979830b..41ab65e 100644
--- a/Project/EETGW.csproj
+++ b/Project/EETGW.csproj
@@ -237,6 +237,12 @@
fInfo_Staff.cs
+
+ Form
+
+
+ EQfilter.cs
+
Form
@@ -255,11 +261,11 @@
fLineCode.cs
-
+
Form
-
- rpt_equipment.cs
+
+ rpt_equipmentB.cs
Form
@@ -313,6 +319,9 @@
fInfo_Staff.cs
+
+ EQfilter.cs
+
fEquipment.cs
@@ -322,9 +331,10 @@
fLineCode.cs
-
-
- rpt_equipment.cs
+
+
+
+ rpt_equipmentB.cs
fProjectList.cs
diff --git a/Project/Manager/DataBaseManager.cs b/Project/Manager/DataBaseManager.cs
index 16e12bb..8b897eb 100644
--- a/Project/Manager/DataBaseManager.cs
+++ b/Project/Manager/DataBaseManager.cs
@@ -14,13 +14,13 @@ namespace Project.Manager
cn.ConnectionString = cs;
return cn;
}
- public static List getEQGroupLiist(string GroupColumn)
+ public static List getEQGroupLiist(string GroupColumn,string table)
{
List retval = new List();
var cn = getCn();
cn.Open();
- var sql = "select {0} from Equipment where isnull({0},'') != '' group by {0} order by {0}";
- sql = string.Format(sql, "[" + GroupColumn +"]");
+ var sql = "select {0} from {1} where isnull({0},'') != '' group by {0} order by {0}";
+ sql = string.Format(sql, "[" + GroupColumn +"]",table);
var cmd = new System.Data.SqlClient.SqlCommand(sql,cn);
var rdr = cmd.ExecuteReader();
while(rdr.Read())
diff --git a/Project/Properties/Settings.Designer.cs b/Project/Properties/Settings.Designer.cs
index 5c99141..af3c980 100644
--- a/Project/Properties/Settings.Designer.cs
+++ b/Project/Properties/Settings.Designer.cs
@@ -33,5 +33,19 @@ namespace Project.Properties {
return ((string)(this["gwcs"]));
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("using System; \r\nnamespace HelloWorld \r\n{ \r\n public static class HelloWorldCla" +
+ "ss \r\n { \r\n public static string test() \r\n { \r\n " +
+ " return {0};\r\n } \r\n } \r\n};")]
+ public string nilliila {
+ get {
+ return ((string)(this["nilliila"]));
+ }
+ set {
+ this["nilliila"] = value;
+ }
+ }
}
}
diff --git a/Project/Properties/Settings.settings b/Project/Properties/Settings.settings
index ecfa3f2..ca634ed 100644
--- a/Project/Properties/Settings.settings
+++ b/Project/Properties/Settings.settings
@@ -10,5 +10,18 @@
</SerializableConnectionString>
Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!
+
+ using System;
+namespace HelloWorld
+{
+ public static class HelloWorldClass
+ {
+ public static string test()
+ {
+ return {0};
+ }
+ }
+};
+
\ No newline at end of file
diff --git a/Project/Pub.cs b/Project/Pub.cs
index 67a1d1f..9320832 100644
--- a/Project/Pub.cs
+++ b/Project/Pub.cs
@@ -29,7 +29,7 @@ namespace Project
public static DateTime LastInputTime = DateTime.Now;
public static CResult Result = new CResult();
- public static void init()
+ public static void init()
{
string Path = Util.CurrentPath;
if (Util.isLocalApplication())
@@ -53,5 +53,51 @@ namespace Project
//language
Lang.Loading(Pub.setting.Language + ".ini");
}
+
+ public static void SetFormStatus(ref System.Windows.Forms.Form f, string formid,Boolean read)
+ {
+ var fi = new System.IO.FileInfo(Util.CurrentPath + "formSetting\\" + formid + ".xml");
+ if (fi.Directory.Exists == false) fi.Directory.Create();
+ arUtil.XMLHelper xml = new arUtil.XMLHelper(fi.FullName);
+ if (!xml.Exist())
+ {
+ xml.CreateFile();
+ if (read) return; //읽기인데 파일이 없으므로 넘어간다.
+ }
+ if (read)
+ {
+ var leftStr = xml.get_Data("position", "left");
+ var topStr = xml.get_Data("position", "top");
+ int l = 0;
+ int t = 0;
+ if (!int.TryParse(leftStr, out l)) l = 0;
+ if (!int.TryParse(topStr, out t)) t = 0;
+ if (l != 0 || t != 0)
+ {
+ f.Location = new System.Drawing.Point(l, t);
+ }
+
+ var wStr = xml.get_Data("size", "width");
+ var hStr = xml.get_Data("size", "height");
+ int w = 0;
+ int h = 0;
+ if (!int.TryParse(wStr, out w)) w = 0;
+ if (!int.TryParse(hStr, out h)) h = 0;
+ if (w != 0 || h != 0)
+ {
+ f.Size = new System.Drawing.Size(w, h);
+ }
+ }
+ else
+ {
+ xml.set_Data("position", "left", f.Left.ToString());
+ xml.set_Data("position", "top", f.Top.ToString());
+ xml.set_Data("size", "width", f.Width.ToString());
+ xml.set_Data("size", "height", f.Height.ToString());
+ xml.Save();
+ }
+
+ }
+
}
}
diff --git a/Project/_Management/Report1.rdlc b/Project/_Management/Report1.rdlc
deleted file mode 100644
index 70b1bb1..0000000
--- a/Project/_Management/Report1.rdlc
+++ /dev/null
@@ -1,1156 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox7
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox4
-
-
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox30
-
-
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Process
-
-
-
-
-
-
- Textbox8
-
-
- #4c68a2
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- manu
-
-
-
-
-
-
- Textbox5
-
-
- #4c68a2
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- model
-
-
-
-
-
-
- Textbox31
-
-
- #4c68a2
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
-
- 1.01833cm
-
-
- 1.17708cm
-
-
-
-
- 0.6cm
-
-
-
-
- true
- true
-
-
-
-
- =Sum(Fields!cnt.Value)
-
-
-
-
-
-
- cnt
-
-
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Sum(Fields!cnt.Value)
-
-
-
-
-
-
- Textbox18
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 0.6cm
-
-
-
-
- true
- true
-
-
-
-
- =Sum(Fields!cnt.Value)
-
-
-
-
-
-
- Textbox15
-
-
- #9eb6e4
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Sum(Fields!cnt.Value)
-
-
-
-
-
-
- Textbox19
-
-
- #9eb6e4
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 0.6cm
-
-
-
-
- true
- true
-
-
-
-
- =Sum(Fields!cnt.Value)
-
-
-
-
-
-
- Textbox12
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Sum(Fields!cnt.Value)
-
-
-
-
-
-
- Textbox20
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
-
-
-
-
- =Fields!team.Value
-
-
-
-
- =Fields!team.Value
-
-
-
- 0.6cm
-
-
- true
- true
-
-
-
-
- =Fields!team.Value
-
-
-
-
-
-
- team
-
-
- #9eb6e4
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
- =Fields!part.Value
-
-
-
-
- =Fields!part.Value
-
-
-
- 0.6cm
-
-
- true
- true
-
-
-
-
- =Fields!part.Value
-
-
-
-
-
-
- part
-
-
- #c6daf8
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
- true
- team
-
-
-
-
-
-
- 0.6cm
-
-
- true
- true
-
-
-
-
- Total
-
-
-
-
-
-
- Textbox16
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 0.6cm
-
-
- true
- true
-
-
-
-
- cnt
-
-
-
-
-
-
- Textbox17
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- =Fields!grp.Value
-
-
-
-
- =Fields!grp.Value
-
-
-
- 4.96062cm
-
-
- true
- true
-
-
-
-
- =Fields!grp.Value
-
-
-
-
-
-
- grp
-
-
- #9eb6e4
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
- =Fields!manu.Value
-
-
-
-
- =Fields!manu.Value
-
-
-
- 2.5cm
-
-
- true
- true
-
-
-
-
- =Fields!manu.Value
-
-
-
-
-
-
- manu
-
-
- #c6daf8
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
- =Fields!model.Value
-
-
-
-
- =Fields!model.Value
-
-
-
- 2.79104cm
-
-
- true
- true
-
-
-
-
- =Fields!model.Value
-
-
-
-
-
-
- model
-
-
- #c6daf8
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
-
- true
- grp
-
-
-
-
- 2.5cm
-
-
- true
- true
-
-
-
-
- = "Total (" & count(Fields!manu.Value) & ")"
-
-
-
-
-
-
- Textbox14
-
-
- #9eb6e4
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 2.79104cm
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox33
-
-
- #9eb6e4
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
- Before
-
-
-
-
-
- 4.96062cm
-
-
- true
- true
-
-
-
-
- Total
-
-
-
-
-
-
- Textbox10
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 2.5cm
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox11
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 2.79104cm
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox34
-
-
- #7292cc
- Middle
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
-
-
- Before
-
-
-
- DataSet1
- 3cm
- 12.44708cm
-
-
- 맑은 고딕
- 8pt
-
-
-
- 1.65354in
-
-
- 5.4106in
-
- 21cm
- 29.7cm
- 1cm
- 1cm
- 1cm
- 1cm
- 0.13cm
-
-
- 0
-
-
-
- System.Data.DataSet
- /* Local Connection */
-
- db5ccf88-4aec-463f-af34-2dc05881084c
-
-
-
-
-
- dsMSSQL
- /* Local Query */
-
-
-
- grp
- System.String
-
-
- manu
- System.String
-
-
- linecode
- System.String
-
-
- team
- System.String
-
-
- part
- System.String
-
-
- cnt
- System.Int32
-
-
- model
- System.String
-
-
-
- dsMSSQL
- D:\Source\GroupWare\EET_GroupWare_180604_1000\Project\dsMSSQL.xsd
- vEquStock
- Fill
- GetData
- vEquStockTableAdapter
-
-
-
- Cm
- 28ae20b9-a02f-4a32-bdb9-0d695fb319b9
-
\ No newline at end of file
diff --git a/Project/_Management/fEquipment.Designer.cs b/Project/_Management/fEquipment.Designer.cs
index ecaeb28..06cf4e6 100644
--- a/Project/_Management/fEquipment.Designer.cs
+++ b/Project/_Management/fEquipment.Designer.cs
@@ -30,9 +30,11 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEquipment));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
+ this.bsB = new System.Windows.Forms.BindingSource(this.components);
+ this.dsEQ = new Project.dsEQ();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
@@ -44,58 +46,78 @@
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.equipmentBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
- this.equipmentDataGridView = new System.Windows.Forms.DataGridView();
- this.type = 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.panel1 = new System.Windows.Forms.Panel();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.radprionly = new System.Windows.Forms.RadioButton();
- this.radpriall = new System.Windows.Forms.RadioButton();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
+ this.tbFilter = new System.Windows.Forms.ToolStripTextBox();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.dv = new System.Windows.Forms.DataGridView();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.cmbGrp = new System.Windows.Forms.ComboBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.cmbLine = new System.Windows.Forms.ComboBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.cmbManu = new System.Windows.Forms.ComboBox();
+ this.label4 = new System.Windows.Forms.Label();
+ this.cmbType = new System.Windows.Forms.ComboBox();
+ this.label5 = new System.Windows.Forms.Label();
+ this.tbSearch = new System.Windows.Forms.TextBox();
+ this.btSearch = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.radexpy = new System.Windows.Forms.RadioButton();
this.radexpa = new System.Windows.Forms.RadioButton();
this.radexpn = new System.Windows.Forms.RadioButton();
- this.btSearch = new System.Windows.Forms.Button();
- this.tbSearch = new System.Windows.Forms.TextBox();
- this.label5 = new System.Windows.Forms.Label();
- this.cmbType = new System.Windows.Forms.ComboBox();
- this.label4 = new System.Windows.Forms.Label();
- this.cmbManu = new System.Windows.Forms.ComboBox();
- this.label3 = new System.Windows.Forms.Label();
- this.cmbLine = new System.Windows.Forms.ComboBox();
- this.label2 = new System.Windows.Forms.Label();
- this.cmbGrp = new System.Windows.Forms.ComboBox();
- this.label1 = new System.Windows.Forms.Label();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.radprionly = new System.Windows.Forms.RadioButton();
+ this.radpriall = new System.Windows.Forms.RadioButton();
this.cmbDate = new System.Windows.Forms.ComboBox();
- this.label6 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.button5 = new System.Windows.Forms.Button();
+ this.button4 = new System.Windows.Forms.Button();
+ this.button1 = new System.Windows.Forms.Button();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.radf = new System.Windows.Forms.RadioButton();
+ this.radb = new System.Windows.Forms.RadioButton();
+ this.rade = new System.Windows.Forms.RadioButton();
+ this.taB = new Project.dsEQTableAdapters.EquipmentBTableAdapter();
+ this.bsF = new System.Windows.Forms.BindingSource(this.components);
+ this.taF = new Project.dsEQTableAdapters.EquipmentFTableAdapter();
+ this.tam = new Project.dsEQTableAdapters.TableAdapterManager();
+ this.taME = new Project.dsEQTableAdapters.EquipmentMETableAdapter();
+ this.bsME = new System.Windows.Forms.BindingSource(this.components);
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = 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.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
- this.dsEQ = new Project.dsEQ();
- this.ta = new Project.dsEQTableAdapters.EquipmentTableAdapter();
+ this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.equipmentDataGridView)).BeginInit();
- this.panel1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.groupBox1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsB)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
+ this.groupBox1.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.groupBox3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bsF)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsME)).BeginInit();
this.SuspendLayout();
//
// bn
//
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
- this.bn.BindingSource = this.bs;
+ this.bn.BindingSource = this.bsB;
this.bn.CountItem = this.bindingNavigatorCountItem;
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
@@ -111,7 +133,11 @@
this.bindingNavigatorSeparator2,
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
- this.equipmentBindingNavigatorSaveItem});
+ this.equipmentBindingNavigatorSaveItem,
+ this.toolStripSeparator1,
+ this.toolStripLabel1,
+ this.tbFilter,
+ this.toolStripButton1});
this.bn.Location = new System.Drawing.Point(0, 614);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -132,6 +158,16 @@
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "새로 추가";
//
+ // bsB
+ //
+ this.bsB.DataMember = "EquipmentB";
+ this.bsB.DataSource = this.dsEQ;
+ //
+ // dsEQ
+ //
+ this.dsEQ.DataSetName = "dsEQ";
+ this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
@@ -217,123 +253,178 @@
this.equipmentBindingNavigatorSaveItem.Text = "데이터 저장";
this.equipmentBindingNavigatorSaveItem.Click += new System.EventHandler(this.equipmentBindingNavigatorSaveItem_Click);
//
- // equipmentDataGridView
+ // toolStripSeparator1
//
- this.equipmentDataGridView.AutoGenerateColumns = false;
- this.equipmentDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
- this.equipmentDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
- this.equipmentDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.equipmentDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripLabel1
+ //
+ this.toolStripLabel1.Name = "toolStripLabel1";
+ this.toolStripLabel1.Size = new System.Drawing.Size(33, 22);
+ this.toolStripLabel1.Text = "Filter";
+ //
+ // tbFilter
+ //
+ this.tbFilter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.tbFilter.Name = "tbFilter";
+ this.tbFilter.Size = new System.Drawing.Size(150, 25);
+ //
+ // toolStripButton1
+ //
+ this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ 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(23, 22);
+ this.toolStripButton1.Text = "toolStripButton1";
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
+ // dv
+ //
+ this.dv.AutoGenerateColumns = false;
+ this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4,
this.type,
+ this.dataGridViewTextBoxColumn8,
this.dataGridViewTextBoxColumn5,
this.dataGridViewTextBoxColumn6,
+ this.lineT,
+ this.lineP,
+ this.dvc_param,
this.dataGridViewTextBoxColumn7,
- this.dataGridViewTextBoxColumn8,
this.primary,
this.except,
this.memo});
- this.equipmentDataGridView.DataSource = this.bs;
- this.equipmentDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
- this.equipmentDataGridView.Location = new System.Drawing.Point(0, 176);
- this.equipmentDataGridView.Name = "equipmentDataGridView";
- this.equipmentDataGridView.RowTemplate.Height = 23;
- this.equipmentDataGridView.Size = new System.Drawing.Size(1155, 438);
- this.equipmentDataGridView.TabIndex = 1;
+ this.dv.DataSource = this.bsB;
+ this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dv.Location = new System.Drawing.Point(0, 221);
+ this.dv.Name = "dv";
+ this.dv.RowTemplate.Height = 23;
+ this.dv.Size = new System.Drawing.Size(1155, 393);
+ this.dv.TabIndex = 1;
//
- // type
+ // label1
//
- this.type.DataPropertyName = "type";
- this.type.HeaderText = "type";
- this.type.Name = "type";
- this.type.Width = 54;
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(44, 42);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(25, 12);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Grp";
//
- // primary
+ // label6
//
- this.primary.DataPropertyName = "primary";
- this.primary.HeaderText = "primary";
- this.primary.Name = "primary";
- this.primary.Width = 54;
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(16, 15);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(59, 12);
+ this.label6.TabIndex = 0;
+ this.label6.Text = "Paid Date";
//
- // except
+ // cmbGrp
//
- this.except.DataPropertyName = "except";
- this.except.HeaderText = "except";
- this.except.Name = "except";
- this.except.Width = 49;
+ 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(81, 38);
+ this.cmbGrp.Name = "cmbGrp";
+ this.cmbGrp.Size = new System.Drawing.Size(142, 20);
+ this.cmbGrp.TabIndex = 1;
//
- // memo
+ // label2
//
- this.memo.DataPropertyName = "memo";
- this.memo.HeaderText = "memo";
- this.memo.Name = "memo";
- this.memo.Width = 66;
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(11, 68);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(57, 12);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "line code";
//
- // panel1
+ // cmbLine
//
- this.panel1.Controls.Add(this.cmbDate);
- this.panel1.Controls.Add(this.groupBox2);
- this.panel1.Controls.Add(this.groupBox1);
- this.panel1.Controls.Add(this.btSearch);
- this.panel1.Controls.Add(this.tbSearch);
- this.panel1.Controls.Add(this.label5);
- this.panel1.Controls.Add(this.cmbType);
- this.panel1.Controls.Add(this.label4);
- this.panel1.Controls.Add(this.cmbManu);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.cmbLine);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Controls.Add(this.cmbGrp);
- this.panel1.Controls.Add(this.label6);
- this.panel1.Controls.Add(this.label1);
- 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(1155, 176);
- this.panel1.TabIndex = 2;
+ this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.cmbLine.FormattingEnabled = true;
+ this.cmbLine.Location = new System.Drawing.Point(81, 64);
+ this.cmbLine.Name = "cmbLine";
+ this.cmbLine.Size = new System.Drawing.Size(142, 20);
+ this.cmbLine.TabIndex = 3;
//
- // groupBox2
+ // label3
//
- this.groupBox2.Controls.Add(this.radprionly);
- this.groupBox2.Controls.Add(this.radpriall);
- this.groupBox2.Location = new System.Drawing.Point(738, 42);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(186, 51);
- this.groupBox2.TabIndex = 13;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "primary";
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(31, 97);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(37, 12);
+ this.label3.TabIndex = 4;
+ this.label3.Text = "Manu";
//
- // radprionly
+ // cmbManu
//
- this.radprionly.AutoSize = true;
- this.radprionly.Checked = true;
- this.radprionly.Location = new System.Drawing.Point(74, 21);
- this.radprionly.Name = "radprionly";
- this.radprionly.Size = new System.Drawing.Size(49, 16);
- this.radprionly.TabIndex = 13;
- this.radprionly.TabStop = true;
- this.radprionly.Text = "Only";
- this.radprionly.UseVisualStyleBackColor = true;
+ 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(81, 90);
+ this.cmbManu.Name = "cmbManu";
+ this.cmbManu.Size = new System.Drawing.Size(142, 20);
+ this.cmbManu.TabIndex = 5;
//
- // radpriall
+ // label4
//
- this.radpriall.AutoSize = true;
- this.radpriall.Location = new System.Drawing.Point(20, 21);
- this.radpriall.Name = "radpriall";
- this.radpriall.Size = new System.Drawing.Size(36, 16);
- this.radpriall.TabIndex = 14;
- this.radpriall.Text = "all";
- this.radpriall.UseVisualStyleBackColor = true;
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(34, 120);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(34, 12);
+ this.label4.TabIndex = 6;
+ this.label4.Text = "Type";
+ //
+ // cmbType
+ //
+ 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(81, 116);
+ this.cmbType.Name = "cmbType";
+ this.cmbType.Size = new System.Drawing.Size(142, 20);
+ this.cmbType.TabIndex = 7;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(234, 16);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(44, 12);
+ this.label5.TabIndex = 8;
+ this.label5.Text = "search";
+ //
+ // tbSearch
+ //
+ this.tbSearch.Location = new System.Drawing.Point(296, 11);
+ this.tbSearch.Name = "tbSearch";
+ this.tbSearch.Size = new System.Drawing.Size(138, 21);
+ this.tbSearch.TabIndex = 9;
+ //
+ // btSearch
+ //
+ this.btSearch.Location = new System.Drawing.Point(439, 90);
+ this.btSearch.Name = "btSearch";
+ this.btSearch.Size = new System.Drawing.Size(123, 57);
+ this.btSearch.TabIndex = 10;
+ this.btSearch.Text = "search";
+ this.btSearch.UseVisualStyleBackColor = true;
+ this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
//
// groupBox1
//
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(738, 99);
+ this.groupBox1.Location = new System.Drawing.Point(247, 99);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(186, 48);
this.groupBox1.TabIndex = 13;
@@ -374,134 +465,197 @@
this.radexpn.Text = "No";
this.radexpn.UseVisualStyleBackColor = true;
//
- // btSearch
+ // groupBox2
//
- this.btSearch.Location = new System.Drawing.Point(930, 51);
- this.btSearch.Name = "btSearch";
- this.btSearch.Size = new System.Drawing.Size(123, 96);
- this.btSearch.TabIndex = 10;
- this.btSearch.Text = "search";
- this.btSearch.UseVisualStyleBackColor = true;
- this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
+ this.groupBox2.Controls.Add(this.radprionly);
+ this.groupBox2.Controls.Add(this.radpriall);
+ this.groupBox2.Location = new System.Drawing.Point(247, 42);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Size = new System.Drawing.Size(186, 51);
+ this.groupBox2.TabIndex = 13;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "primary";
//
- // tbSearch
+ // radprionly
//
- this.tbSearch.Location = new System.Drawing.Point(582, 38);
- this.tbSearch.Name = "tbSearch";
- this.tbSearch.Size = new System.Drawing.Size(138, 21);
- this.tbSearch.TabIndex = 9;
+ this.radprionly.AutoSize = true;
+ this.radprionly.Checked = true;
+ this.radprionly.Location = new System.Drawing.Point(74, 21);
+ this.radprionly.Name = "radprionly";
+ this.radprionly.Size = new System.Drawing.Size(49, 16);
+ this.radprionly.TabIndex = 13;
+ this.radprionly.TabStop = true;
+ this.radprionly.Text = "Only";
+ this.radprionly.UseVisualStyleBackColor = true;
//
- // label5
+ // radpriall
//
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(520, 43);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(44, 12);
- this.label5.TabIndex = 8;
- this.label5.Text = "search";
+ this.radpriall.AutoSize = true;
+ this.radpriall.Location = new System.Drawing.Point(20, 21);
+ this.radpriall.Name = "radpriall";
+ this.radpriall.Size = new System.Drawing.Size(36, 16);
+ this.radpriall.TabIndex = 14;
+ this.radpriall.Text = "all";
+ this.radpriall.UseVisualStyleBackColor = true;
//
- // cmbType
- //
- 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(363, 125);
- this.cmbType.Name = "cmbType";
- this.cmbType.Size = new System.Drawing.Size(142, 20);
- this.cmbType.TabIndex = 7;
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(316, 129);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(34, 12);
- this.label4.TabIndex = 6;
- this.label4.Text = "Type";
- //
- // cmbManu
- //
- 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(363, 99);
- this.cmbManu.Name = "cmbManu";
- this.cmbManu.Size = new System.Drawing.Size(142, 20);
- this.cmbManu.TabIndex = 5;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(313, 106);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(37, 12);
- this.label3.TabIndex = 4;
- this.label3.Text = "Manu";
- //
- // cmbLine
- //
- this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
- this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.cmbLine.FormattingEnabled = true;
- this.cmbLine.Location = new System.Drawing.Point(363, 73);
- this.cmbLine.Name = "cmbLine";
- this.cmbLine.Size = new System.Drawing.Size(142, 20);
- this.cmbLine.TabIndex = 3;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(293, 77);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(57, 12);
- this.label2.TabIndex = 2;
- this.label2.Text = "line code";
- //
- // cmbGrp
- //
- 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(363, 47);
- this.cmbGrp.Name = "cmbGrp";
- this.cmbGrp.Size = new System.Drawing.Size(142, 20);
- this.cmbGrp.TabIndex = 1;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(326, 51);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(25, 12);
- this.label1.TabIndex = 0;
- this.label1.Text = "Grp";
- //
- // comboBox1
+ // cmbDate
//
this.cmbDate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbDate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbDate.FormattingEnabled = true;
this.cmbDate.Location = new System.Drawing.Point(81, 12);
- this.cmbDate.Name = "comboBox1";
+ this.cmbDate.Name = "cmbDate";
this.cmbDate.Size = new System.Drawing.Size(142, 20);
this.cmbDate.TabIndex = 14;
//
- // label6
+ // panel1
//
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(16, 15);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(59, 12);
- this.label6.TabIndex = 0;
- this.label6.Text = "Paid Date";
+ this.panel1.Controls.Add(this.button5);
+ this.panel1.Controls.Add(this.button4);
+ this.panel1.Controls.Add(this.button1);
+ this.panel1.Controls.Add(this.groupBox3);
+ this.panel1.Controls.Add(this.cmbDate);
+ this.panel1.Controls.Add(this.groupBox2);
+ this.panel1.Controls.Add(this.groupBox1);
+ this.panel1.Controls.Add(this.btSearch);
+ this.panel1.Controls.Add(this.tbSearch);
+ this.panel1.Controls.Add(this.label5);
+ this.panel1.Controls.Add(this.cmbType);
+ this.panel1.Controls.Add(this.label4);
+ this.panel1.Controls.Add(this.cmbManu);
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.cmbLine);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.cmbGrp);
+ this.panel1.Controls.Add(this.label6);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Location = new System.Drawing.Point(0, 25);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1155, 196);
+ this.panel1.TabIndex = 2;
+ //
+ // button5
+ //
+ this.button5.Location = new System.Drawing.Point(584, 22);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(123, 57);
+ this.button5.TabIndex = 18;
+ this.button5.Text = "Macro Apply";
+ this.button5.UseVisualStyleBackColor = true;
+ //
+ // button4
+ //
+ this.button4.Location = new System.Drawing.Point(455, 26);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(123, 57);
+ this.button4.TabIndex = 17;
+ this.button4.Text = "Macro Edit";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(568, 90);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(123, 57);
+ this.button1.TabIndex = 16;
+ this.button1.Text = "report";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.radf);
+ this.groupBox3.Controls.Add(this.radb);
+ this.groupBox3.Controls.Add(this.rade);
+ this.groupBox3.Location = new System.Drawing.Point(37, 142);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Size = new System.Drawing.Size(186, 48);
+ this.groupBox3.TabIndex = 15;
+ this.groupBox3.TabStop = false;
+ this.groupBox3.Text = "data";
+ //
+ // radf
+ //
+ this.radf.AutoSize = true;
+ this.radf.Location = new System.Drawing.Point(63, 19);
+ this.radf.Name = "radf";
+ this.radf.Size = new System.Drawing.Size(36, 16);
+ this.radf.TabIndex = 12;
+ this.radf.TabStop = true;
+ this.radf.Text = "fol";
+ this.radf.UseVisualStyleBackColor = true;
+ //
+ // radb
+ //
+ this.radb.AutoSize = true;
+ this.radb.Location = new System.Drawing.Point(14, 21);
+ this.radb.Name = "radb";
+ this.radb.Size = new System.Drawing.Size(55, 16);
+ this.radb.TabIndex = 12;
+ this.radb.TabStop = true;
+ this.radb.Text = "bump";
+ this.radb.UseVisualStyleBackColor = true;
+ //
+ // rade
+ //
+ this.rade.AutoSize = true;
+ this.rade.Checked = true;
+ this.rade.Location = new System.Drawing.Point(118, 21);
+ this.rade.Name = "rade";
+ this.rade.Size = new System.Drawing.Size(40, 16);
+ this.rade.TabIndex = 12;
+ this.rade.TabStop = true;
+ this.rade.Text = "eol";
+ this.rade.UseVisualStyleBackColor = true;
+ //
+ // taB
+ //
+ this.taB.ClearBeforeFill = true;
+ //
+ // bsF
+ //
+ this.bsF.DataMember = "EquipmentF";
+ this.bsF.DataSource = this.dsEQ;
+ //
+ // taF
+ //
+ this.taF.ClearBeforeFill = true;
+ //
+ // tam
+ //
+ this.tam.BackupDataSetBeforeUpdate = false;
+ this.tam.EquipmentBTableAdapter = this.taB;
+ this.tam.EquipmentFilterTableAdapter = null;
+ this.tam.EquipmentFTableAdapter = this.taF;
+ this.tam.EquipmentMETableAdapter = this.taME;
+ this.tam.UpdateOrder = Project.dsEQTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
+ //
+ // taME
+ //
+ this.taME.ClearBeforeFill = true;
+ //
+ // bsME
+ //
+ this.bsME.DataMember = "EquipmentME";
+ this.bsME.DataSource = this.dsEQ;
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(1155, 25);
+ this.toolStrip1.TabIndex = 3;
+ this.toolStrip1.Text = "toolStrip1";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle2;
+ 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;
@@ -512,6 +666,7 @@
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.Visible = false;
this.dataGridViewTextBoxColumn2.Width = 61;
//
// dataGridViewTextBoxColumn3
@@ -528,6 +683,20 @@
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";
@@ -542,6 +711,24 @@
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";
@@ -549,60 +736,55 @@
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 61;
//
- // dataGridViewTextBoxColumn8
+ // primary
//
- this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
- this.dataGridViewTextBoxColumn8.HeaderText = "manu";
- this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
- this.dataGridViewTextBoxColumn8.Width = 62;
+ this.primary.DataPropertyName = "primary";
+ this.primary.HeaderText = "primary";
+ this.primary.Name = "primary";
+ this.primary.Width = 54;
//
- // bs
+ // except
//
- this.bs.DataMember = "Equipment";
- this.bs.DataSource = this.dsEQ;
+ this.except.DataPropertyName = "except";
+ this.except.HeaderText = "except";
+ this.except.Name = "except";
+ this.except.Width = 49;
//
- // tam
+ // memo
//
- this.tam.BackupDataSetBeforeUpdate = false;
- this.tam.InventoryTableAdapter = null;
- this.tam.ItemsTableAdapter = null;
- this.tam.LineCodeTableAdapter = null;
- this.tam.ProjectsTableAdapter = null;
- this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
- this.tam.UsersTableAdapter = null;
- //
- // dsEQ
- //
- this.dsEQ.DataSetName = "dsEQ";
- this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
- // ta
- //
- this.ta.ClearBeforeFill = true;
+ this.memo.DataPropertyName = "memo";
+ this.memo.HeaderText = "memo";
+ this.memo.Name = "memo";
+ this.memo.Width = 66;
//
// fEquipment
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1155, 639);
- this.Controls.Add(this.equipmentDataGridView);
+ this.Controls.Add(this.dv);
this.Controls.Add(this.panel1);
this.Controls.Add(this.bn);
+ this.Controls.Add(this.toolStrip1);
this.Name = "fEquipment";
this.Text = "fEquipment";
- this.Load += new System.EventHandler(this.__Load);
+ this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.equipmentDataGridView)).EndInit();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bsB)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.groupBox3.ResumeLayout(false);
+ this.groupBox3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bsF)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bsME)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -610,8 +792,7 @@
#endregion
- private System.Windows.Forms.BindingSource bs;
- private dsMSSQLTableAdapters.TableAdapterManager tam;
+ private System.Windows.Forms.BindingSource bsB;
private System.Windows.Forms.BindingNavigator bn;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
@@ -625,41 +806,61 @@
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton equipmentBindingNavigatorSaveItem;
- private System.Windows.Forms.DataGridView equipmentDataGridView;
- private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.DataGridView dv;
+ private dsEQ dsEQ;
+ private dsEQTableAdapters.EquipmentBTableAdapter taB;
private System.Windows.Forms.Label label1;
- private System.Windows.Forms.ComboBox cmbLine;
- private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox cmbGrp;
- private System.Windows.Forms.ComboBox cmbManu;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.ComboBox cmbLine;
private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox cmbType;
+ private System.Windows.Forms.ComboBox cmbManu;
private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.ComboBox cmbType;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox tbSearch;
private System.Windows.Forms.Button btSearch;
- private System.Windows.Forms.RadioButton radexpn;
+ private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.RadioButton radexpy;
private System.Windows.Forms.RadioButton radexpa;
+ private System.Windows.Forms.RadioButton radexpn;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.RadioButton radprionly;
private System.Windows.Forms.RadioButton radpriall;
- private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.ComboBox cmbDate;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.GroupBox groupBox3;
+ private System.Windows.Forms.RadioButton radf;
+ private System.Windows.Forms.RadioButton radb;
+ private System.Windows.Forms.RadioButton rade;
+ private System.Windows.Forms.BindingSource bsF;
+ private dsEQTableAdapters.EquipmentFTableAdapter taF;
+ private dsEQTableAdapters.TableAdapterManager tam;
+ private dsEQTableAdapters.EquipmentMETableAdapter taME;
+ private System.Windows.Forms.BindingSource bsME;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button button5;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+ private System.Windows.Forms.ToolStripLabel toolStripLabel1;
+ private System.Windows.Forms.ToolStripTextBox tbFilter;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn type;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
+ private System.Windows.Forms.DataGridViewTextBoxColumn lineT;
+ private System.Windows.Forms.DataGridViewTextBoxColumn lineP;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dvc_param;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewCheckBoxColumn primary;
private System.Windows.Forms.DataGridViewCheckBoxColumn except;
private System.Windows.Forms.DataGridViewTextBoxColumn memo;
- private System.Windows.Forms.ComboBox cmbDate;
- private System.Windows.Forms.Label label6;
- private dsEQ dsEQ;
- private dsEQTableAdapters.EquipmentTableAdapter ta;
}
}
\ No newline at end of file
diff --git a/Project/_Management/fEquipment.cs b/Project/_Management/fEquipment.cs
index c79b009..03924f4 100644
--- a/Project/_Management/fEquipment.cs
+++ b/Project/_Management/fEquipment.cs
@@ -6,52 +6,85 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
+using System.CodeDom.Compiler;
+using System.Reflection;
+using Microsoft.CSharp;
namespace Project._Management
{
public partial class fEquipment : Form
{
- public fEquipment()
+ public enum eTabletype
+ {
+ MOLD,
+ FOL,
+ BUMP
+ }
+ string tableName = string.Empty;
+
+ public fEquipment(eTabletype type)
{
InitializeComponent();
- this.dsEQ.Equipment.TableNewRow += Equipment_TableNewRow;
+
+ if (type == eTabletype.MOLD)
+ {
+ rade.Checked = true;
+ tableName = "EquipmentME";
+ this.dsEQ.EquipmentME.TableNewRow += Equipment_TableNewRow;
+ dvc_param.Visible = false;
+ }
+ else if (type == eTabletype.FOL)
+ {
+ radf.Checked = true;
+ tableName = "EquipmentF";
+ this.dsEQ.EquipmentF.TableNewRow += Equipment_TableNewRow;
+ dvc_param.Visible = false;
+ }
+ else
+ {
+ radb.Checked = true;
+ tableName = "EquipmentB";
+ this.dsEQ.EquipmentB.TableNewRow += Equipment_TableNewRow;
+ dvc_param.Visible = true;
+ }
+ this.FormClosed += fEquipment_FormClosed;
}
- private void equipmentBindingNavigatorSaveItem_Click(object sender, EventArgs e)
+ void fEquipment_FormClosed(object sender, FormClosedEventArgs e)
{
- this.Validate();
- this.bs.EndEdit();
- try
- {
- this.ta.Update(this.dsEQ.Equipment);
- this.dsEQ.Equipment.AcceptChanges();
- }
- catch (Exception ex)
- {
- Util.MsgE(ex.Message);
- }
+ var form = this as Form;
+ Pub.SetFormStatus(ref form, this.Name + this.tableName, false);
}
+
private void __Load(object sender, EventArgs e)
{
+ var form = this as Form;
+ Pub.SetFormStatus(ref form, this.Name + this.tableName,true);
+ this.Show();
+ Application.DoEvents();
//등록된 날짜 목록을 가져온다.
- dsEQTableAdapters.EqDateListTableAdapter taDate = new dsEQTableAdapters.EqDateListTableAdapter();
- var dateList = taDate.GetData();
- if (dateList != null)
+ var taDateList = new dsEQTableAdapters.EqDateListTableAdapter();
+ DataTable dtList = null;
+ if (radb.Checked) dtList = taDateList.GetDateListB();
+ else if (radf.Checked) dtList = taDateList.GetDateListF();
+ else dtList = taDateList.GetDateListME();
+
+ if (dtList != null)
{
- foreach(dsEQ.EqDateListRow dr in dateList.Rows)
+ foreach (DataRow dr in dtList.Rows)
{
- this.cmbDate.Items.Add(dr.pdate);
+ this.cmbDate.Items.Add(dr["pdate"].ToString());
}
}
if (this.cmbDate.Items.Count > 0) this.cmbDate.SelectedIndex = 0;
//목록을 가져온다.
- var grpList = Manager.DatabaseManager.getEQGroupLiist("grp");
- var lcList = Manager.DatabaseManager.getEQGroupLiist("linecode");
- var manuList = Manager.DatabaseManager.getEQGroupLiist("manu");
- var typeList = Manager.DatabaseManager.getEQGroupLiist("type");
+ var grpList = Manager.DatabaseManager.getEQGroupLiist("grp", this.tableName);
+ var lcList = Manager.DatabaseManager.getEQGroupLiist("linecode", this.tableName);
+ var manuList = Manager.DatabaseManager.getEQGroupLiist("manu", this.tableName);
+ var typeList = Manager.DatabaseManager.getEQGroupLiist("type", this.tableName);
cmbGrp.Items.Add("-- All --");
cmbLine.Items.Add("-- All --");
@@ -63,13 +96,42 @@ namespace Project._Management
foreach (var item in manuList) this.cmbManu.Items.Add(item);
foreach (var item in typeList) this.cmbType.Items.Add(item);
- cmbGrp.SelectedIndex = 0;
- cmbLine.SelectedIndex = 0;
- cmbManu.SelectedIndex = 0;
- cmbType.SelectedIndex = 0;
+ 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;
}
+ private void equipmentBindingNavigatorSaveItem_Click(object sender, EventArgs e)
+ {
+ this.Validate();
+ this.bsB.EndEdit();
+ this.bsF.EndEdit();
+ this.bsME.EndEdit();
+ try
+ {
+ if (radb.Checked)
+ {
+ this.taB.Update(this.dsEQ.EquipmentB);
+ }
+ else if (rade.Checked)
+ {
+ this.taME.Update(this.dsEQ.EquipmentME);
+ }
+ else
+ {
+ this.taF.Update(this.dsEQ.EquipmentF);
+ }
+ this.dsEQ.AcceptChanges();
+ }
+ catch (Exception ex)
+ {
+ Util.MsgE(ex.Message);
+ }
+ }
+
+
void Equipment_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["wuid"] = Pub.Login.no;
@@ -78,16 +140,16 @@ namespace Project._Management
private void btSearch_Click(object sender, EventArgs e)
{
- if(cmbDate.SelectedIndex < 0)
+ if (cmbDate.SelectedIndex < 0)
{
Util.MsgE("No Date");
return;
}
- //select command
- if (this.ta.Adapter.SelectCommand == null) this.ta.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
+
+
//select query
- string newSQL = "select * from Equipment";
+ string newSQL = "select * from {0}";
string newWhere = string.Empty;
if (cmbGrp.SelectedIndex != 0 && !cmbGrp.Text.isEmpty())
{
@@ -129,13 +191,122 @@ namespace Project._Management
if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += string.Format("isnull([primary],0) = 1");
}
- if (newWhere.isEmpty()) ta.Adapter.SelectCommand.CommandText = newSQL;
- else ta.Adapter.SelectCommand.CommandText = newSQL + " where " + newWhere;
- //refresh data
- this.dsEQ.Equipment.Clear();
- ta.Fill(this.dsEQ.Equipment, this.cmbDate.Text);
- this.dsEQ.Equipment.AcceptChanges();
+ string CommandText = newSQL;
+ if (!newWhere.isEmpty()) CommandText += " where " + newWhere;
+
+ if (radb.Checked)
+ {
+ //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.dsEQ.EquipmentB.Clear();
+ taB.Fill(this.dsEQ.EquipmentB, this.cmbDate.Text);
+ this.dsEQ.EquipmentB.AcceptChanges();
+ dv.DataSource = bsB;
+ bn.BindingSource = bsB;
+ }
+ else if (radf.Checked)
+ {
+ //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.dsEQ.EquipmentF.Clear();
+ taF.Fill(this.dsEQ.EquipmentF, this.cmbDate.Text);
+ this.dsEQ.EquipmentF.AcceptChanges();
+ dv.DataSource = bsF;
+ bn.BindingSource = bsF;
+ }
+ else
+ {
+ //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.dsEQ.EquipmentME.Clear();
+ taME.Fill(this.dsEQ.EquipmentME, this.cmbDate.Text);
+ this.dsEQ.EquipmentME.AcceptChanges();
+ dv.DataSource = bsME;
+ bn.BindingSource = bsME;
+ }
+
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ _Management.rpt_equipmentB f = new _Management.rpt_equipmentB(this.cmbDate.Text);
+ f.Show();
+ }
+
+ private void button4_Click(object sender, EventArgs e)
+ {
+ _Management.EQfilter f = new EQfilter(this.tableName);
+ if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ var filter = f.filter;
+ var apply = f.apply;
+ if (filter.isEmpty() || apply.isEmpty())
+ {
+ Util.MsgE("no data");
+ return;
+ }
+
+ var dlg = Util.MsgQ("다음 매크로를 적용 하시겠습니까?\nFilter:" + filter + "\n" +
+ "apply : " + apply);
+ if (dlg != System.Windows.Forms.DialogResult.Yes) return;
+
+ var cnt = applyFilter(filter, apply);
+ if (cnt == -1) Util.MsgE("오류로 인해 실행되지 않았습니다.");
+ else Util.MsgI(cnt.ToString() + "건의 자료가 변경되었습니다.");
+ }
+ }
+
+ private int applyFilter(string filter, string apply)
+ {
+ if (filter.isEmpty() || apply.isEmpty()) return -1;
+
+ try
+ {
+ var dRows = this.dsEQ.EquipmentB.Select(filter);
+ int cnt = 0;
+ foreach(dsEQ.EquipmentBRow dr in dRows)
+ {
+ var appList = apply.Split(';');
+ foreach (var item in appList)
+ {
+ if(item.isEmpty()) continue;
+ var field = item.Split('=')[0].Trim();
+ var value = item.Split('=')[1].Trim();
+ dr[field] =value;
+ }
+ cnt += 1;
+ }
+ //this.bsB.Filter = filter;
+ //Util.MsgI(string.Format("{0} 건의 자료가 업데이트 되었습니다.",cnt));
+ return cnt;
+ }
+ catch (Exception ex)
+ {
+ Util.MsgE(ex.Message);
+ return -1;
+ }
+ }
+
+ private void toolStripButton1_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ this.bsB.Filter = tbFilter.Text;
+ if (tbFilter.Text.isEmpty()) tbFilter.BackColor = Color.White;
+ else tbFilter.BackColor = Color.Lime;
+ }
+ catch (Exception ex)
+ {
+ Util.MsgE(ex.Message);
+ }
+
}
}
}
diff --git a/Project/_Management/fEquipment.resx b/Project/_Management/fEquipment.resx
index 6acfdb5..02f7bd1 100644
--- a/Project/_Management/fEquipment.resx
+++ b/Project/_Management/fEquipment.resx
@@ -118,7 +118,7 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- 154, 17
+ 81, 17
@@ -133,11 +133,11 @@
rkJggg==
-
+
17, 17
- 220, 17
+ 147, 17
@@ -196,11 +196,35 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
+
+
+
+
+ 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==
True
+
+ True
+
+
+ True
+
+
+ True
+
True
@@ -210,10 +234,25 @@
True
-
- 81, 17
+
+ 227, 17
-
- 300, 17
+
+ 289, 17
+
+
+ 359, 17
+
+
+ 427, 17
+
+
+ 582, 17
+
+
+ 500, 17
+
+
+ 662, 17
\ No newline at end of file
diff --git a/Project/_Management/fImpEquipment.Designer.cs b/Project/_Management/fImpEquipment.Designer.cs
index 3a8c93f..375de58 100644
--- a/Project/_Management/fImpEquipment.Designer.cs
+++ b/Project/_Management/fImpEquipment.Designer.cs
@@ -32,22 +32,28 @@
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.button1 = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
- this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
+ this.radB = new System.Windows.Forms.RadioButton();
+ this.radF = new System.Windows.Forms.RadioButton();
+ this.radE = new System.Windows.Forms.RadioButton();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
+ this.progressBar1 = new System.Windows.Forms.ProgressBar();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// textBox1
//
- this.textBox1.Location = new System.Drawing.Point(42, 13);
+ this.textBox1.Location = new System.Drawing.Point(81, 34);
this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(100, 21);
+ this.textBox1.Size = new System.Drawing.Size(222, 21);
this.textBox1.TabIndex = 0;
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
- this.linkLabel1.Location = new System.Drawing.Point(181, 22);
+ this.linkLabel1.Location = new System.Drawing.Point(12, 37);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(59, 12);
this.linkLabel1.TabIndex = 1;
@@ -57,59 +63,113 @@
//
// button1
//
- this.button1.Location = new System.Drawing.Point(297, 8);
+ this.button1.Location = new System.Drawing.Point(396, 15);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(114, 25);
this.button1.TabIndex = 3;
- this.button1.Text = "run";
+ this.button1.Text = "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.Location = new System.Drawing.Point(47, 57);
+ this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dataGridView1.Location = new System.Drawing.Point(0, 87);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(744, 413);
+ this.dataGridView1.Size = new System.Drawing.Size(825, 329);
this.dataGridView1.TabIndex = 4;
//
- // button2
- //
- this.button2.Location = new System.Drawing.Point(417, 9);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(114, 25);
- this.button2.TabIndex = 5;
- this.button2.Text = "make line code";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
// button3
//
- this.button3.Location = new System.Drawing.Point(537, 8);
+ this.button3.Location = new System.Drawing.Point(636, 15);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(114, 25);
this.button3.TabIndex = 6;
- this.button3.Text = "make equp ment";
+ this.button3.Text = "Save";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
+ // radB
+ //
+ this.radB.AutoSize = true;
+ this.radB.Location = new System.Drawing.Point(83, 11);
+ this.radB.Name = "radB";
+ this.radB.Size = new System.Drawing.Size(58, 16);
+ this.radB.TabIndex = 7;
+ this.radB.TabStop = true;
+ this.radB.Text = "BUMP";
+ this.radB.UseVisualStyleBackColor = true;
+ //
+ // radF
+ //
+ this.radF.AutoSize = true;
+ this.radF.Location = new System.Drawing.Point(145, 11);
+ this.radF.Name = "radF";
+ this.radF.Size = new System.Drawing.Size(46, 16);
+ this.radF.TabIndex = 7;
+ this.radF.TabStop = true;
+ this.radF.Text = "FOL";
+ this.radF.UseVisualStyleBackColor = true;
+ //
+ // radE
+ //
+ this.radE.AutoSize = true;
+ this.radE.Location = new System.Drawing.Point(197, 11);
+ this.radE.Name = "radE";
+ this.radE.Size = new System.Drawing.Size(90, 16);
+ this.radE.TabIndex = 7;
+ this.radE.TabStop = true;
+ this.radE.Text = "MOLD & EOL";
+ this.radE.UseVisualStyleBackColor = true;
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.dateTimePicker1);
+ this.panel1.Controls.Add(this.button3);
+ this.panel1.Controls.Add(this.radE);
+ this.panel1.Controls.Add(this.textBox1);
+ this.panel1.Controls.Add(this.radF);
+ this.panel1.Controls.Add(this.linkLabel1);
+ this.panel1.Controls.Add(this.radB);
+ 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(825, 87);
+ this.panel1.TabIndex = 10;
+ //
+ // dateTimePicker1
+ //
+ this.dateTimePicker1.Location = new System.Drawing.Point(83, 60);
+ this.dateTimePicker1.Name = "dateTimePicker1";
+ this.dateTimePicker1.Size = new System.Drawing.Size(221, 21);
+ this.dateTimePicker1.TabIndex = 8;
+ //
+ // progressBar1
+ //
+ this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.progressBar1.Location = new System.Drawing.Point(0, 416);
+ this.progressBar1.Name = "progressBar1";
+ this.progressBar1.Size = new System.Drawing.Size(825, 21);
+ this.progressBar1.TabIndex = 11;
+ //
// fImpEquipment
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(836, 551);
- this.Controls.Add(this.button3);
- this.Controls.Add(this.button2);
+ this.ClientSize = new System.Drawing.Size(825, 437);
this.Controls.Add(this.dataGridView1);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.linkLabel1);
- this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.progressBar1);
+ 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();
this.ResumeLayout(false);
- this.PerformLayout();
}
@@ -119,7 +179,12 @@
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridView dataGridView1;
- private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.RadioButton radB;
+ private System.Windows.Forms.RadioButton radF;
+ private System.Windows.Forms.RadioButton radE;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.DateTimePicker dateTimePicker1;
+ private System.Windows.Forms.ProgressBar progressBar1;
}
}
\ No newline at end of file
diff --git a/Project/_Management/fImpEquipment.cs b/Project/_Management/fImpEquipment.cs
index c411511..780cb99 100644
--- a/Project/_Management/fImpEquipment.cs
+++ b/Project/_Management/fImpEquipment.cs
@@ -11,15 +11,25 @@ namespace Project._Management
{
public partial class fImpEquipment : Form
{
+ DataTable dtExcel = new DataTable();
+
public fImpEquipment()
{
InitializeComponent();
+ this.FormClosed += fImpEquipment_FormClosed;
+ }
+
+ void fImpEquipment_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ var form = this as Form;
+ Pub.SetFormStatus(ref form, this.Name, false);
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
OpenFileDialog od = new OpenFileDialog();
- od.Filter = "csv|*.csv|excel|*.xls|all files|*.*";
+ od.Filter = "excel|*.xlsx|all files|*.*";
+ od.InitialDirectory = Util.CurrentPath + "model";
od.FilterIndex = 1;
od.RestoreDirectory = true;
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
@@ -33,9 +43,9 @@ namespace Project._Management
int c = 0;
System.Text.StringBuilder sb = new StringBuilder();
Boolean findCom = false;
- foreach(var ch in charlist)
+ foreach (var ch in charlist)
{
- if(ch == '"')
+ if (ch == '"')
{
if (findCom == false)
findCom = true;
@@ -43,7 +53,7 @@ namespace Project._Management
}
else if (ch == ',')
{
- if(findCom)
+ if (findCom)
{
sb.Append(ch);
}
@@ -53,7 +63,7 @@ namespace Project._Management
sb.Clear();
findCom = false;
}
-
+
}
else sb.Append(ch);
}
@@ -62,70 +72,42 @@ namespace Project._Management
System.Data.DataTable dt = new DataTable();
private void button1_Click(object sender, EventArgs e)
{
-
- //데이터를 모두 읽어서 처리한다.
- //엑셀파일을 읽어서 처리한다.
- if(textBox1.Text.EndsWith("CSV"))
+ libxl.Book book;// = new libxl.BinBook();
+ book = new libxl.XmlBook();
+ book.setKey("Amkor Technology korea, Inc", "windows-282b2b0800c5e0016bb06a6fafjfd6o8");
+ book.load(textBox1.Text);
+
+ var sheet = book.getSheet(0);
+ var MaxRow = sheet.lastRow();
+ var MinRow = sheet.firstRow();
+ List cols = new List();
+ for (int r = MinRow; r <= MaxRow; r++)
{
- var lines = System.IO.File.ReadAllLines(textBox1.Text, System.Text.Encoding.Default);
- int rowNum = 0;
- foreach(var line in lines)
+ DataRow dr = null;
+ if (r > 0) dr = dtExcel.NewRow();
+
+ for (int c = sheet.firstCol(); c <= sheet.lastCol(); c++)
{
- var buf = getCSVFormat(line);//.Split(',');
- if(rowNum == 0)
+ var strVallue = sheet.readStr(r, c);
+ if (r == 0)
{
- foreach(var colname in buf)
- {
- dt.Columns.Add(colname);
- }
+ cols.Add(strVallue);
+ this.dtExcel.Columns.Add(strVallue);
}
else
{
- var newdr = dt.NewRow();
- for(int c=0; c< buf.Length;c++)
- {
- if(c < dt.Columns.Count)
- newdr[c] = buf[c];
-
- }
- dt.Rows.Add(newdr);
- }
- rowNum += 1;
- }
- }
- else
- {
- libxl.Book book;// = new libxl.BinBook();
- if (textBox1.Text.EndsWith("xlsx")) book = new libxl.XmlBook();
- else book = new libxl.BinBook();
-
- book.load(textBox1.Text);
-
-
- var sheet = book.getSheet(0);
- for (int r = sheet.firstRow(); r <= sheet.lastRow(); r++)
- {
- for (int c = sheet.firstCol(); c <= sheet.lastCol(); c++)
- {
- var strVallue = sheet.readStr(r, c);
- // //var numValue = sheet.readNum(r, c);
- if (r == 0)
- {
- //column row
- dt.Columns.Add(strVallue);
- }
+ if (!cols[c].isEmpty())
+ dr[cols[c]] = strVallue;
}
}
- //
- book = null;
+ if (dr != null) dtExcel.Rows.Add(dr);
}
-
- this.dataGridView1.DataSource = dt;
-
+ dtExcel.AcceptChanges();
+ //
+ book = null;
-
-
+ this.dataGridView1.DataSource = dtExcel;
}
private void button2_Click(object sender, EventArgs e)
@@ -134,12 +116,12 @@ namespace Project._Management
var lineTd = ta.GetData();
lineTd.AcceptChanges();
//12,13
- foreach(DataRow dr in dt.Rows)
+ foreach (DataRow dr in dt.Rows)
{
var linecode = dr[12].ToString();
var linedesc = dr[13].ToString();
var codeDrows = lineTd.Select("code='" + linecode + "'");
- if(codeDrows.Length == 0)
+ if (codeDrows.Length == 0)
{
var newdr = lineTd.NewLineCodeRow();
newdr.code = linecode;
@@ -154,7 +136,7 @@ namespace Project._Management
{
newdr.team = linedesc;
}
-
+
newdr.wuid = Pub.Login.no;
newdr.wdate = DateTime.Now;
lineTd.AddLineCodeRow(newdr);
@@ -163,40 +145,130 @@ namespace Project._Management
ta.Update(lineTd);
lineTd.AcceptChanges();
Util.MsgE("test");
-
+
}
private void button3_Click(object sender, EventArgs e)
{
- dsMSSQLTableAdapters.EquipmentTableAdapter ta = new dsMSSQLTableAdapters.EquipmentTableAdapter();
- var lineTd = ta.GetData();
- lineTd.AcceptChanges();
- //12,13
- foreach (DataRow dr in dt.Rows)
+ if(radB.Checked==false && radE.Checked==false && radF.Checked==false)
{
+ Util.MsgE("파일형태를 선택하세요(bump/bold&eol/fol)");
+ return;
+ }
+
+ //라인코드를 읽어서 값을 기록해준다.
+ var taLine = new dsMSSQLTableAdapters.LineCodeTableAdapter();
+ var lineTd = taLine.GetData();
+ lineTd.AcceptChanges();
+
+ var dateStr = this.dateTimePicker1.Value.ToShortDateString();
+
+
+ DataTable dt = null;
+ if (radB.Checked) dt = new dsEQ.EquipmentBDataTable();
+ else if (radE.Checked) dt = new dsEQ.EquipmentMEDataTable();
+ else dt = new dsEQ.EquipmentFDataTable();
+
+ this.progressBar1.Value = 0;
+ this.progressBar1.Maximum = dtExcel.Rows.Count;
+
+ //12,13
+ foreach (DataRow dr in dtExcel.Rows)
+ {
+ this.progressBar1.Value +=1;
+
var linecode = dr[12].ToString();
var linedesc = dr[13].ToString();
- var codeDrows = lineTd.Select("asset='" + dr[6].ToString() + "' and serial = '"+ dr[7].ToString() +"'");
- if (codeDrows.Length == 0)
+ var lineT = string.Empty;
+ var lineP = string.Empty;
+
+ //없는 라인코드는 추가
+ var lineDrows = lineTd.Select("code='" + linecode + "'");
+ if (lineDrows.Length == 0)
{
- var newdr = lineTd.NewEquipmentRow();
- newdr.pdate = DateTime.Now.ToShortDateString();
- newdr.asset = dr[6].ToString();
- newdr.grp = dr[0].ToString();
- newdr.type = dr[2].ToString();
- newdr.model = dr[3].ToString();
- newdr.linecode = linecode;
- newdr.serial = dr[7].ToString();
- newdr.manu = dr[9].ToString();
- newdr.primary = true;
- newdr.wuid = Pub.Login.no;
- newdr.wdate = DateTime.Now;
- lineTd.AddEquipmentRow(newdr);
+ var linebuf = linedesc.Split('-');
+ if (linebuf.Length > 1)
+ {
+ lineT = linebuf[0];
+ lineP = linebuf[1];
+ }
+ else
+ {
+ lineT = linedesc;
+ lineP = string.Empty;
+ }
+
+
+ var newli = lineTd.NewLineCodeRow();
+ newli.code = linecode;
+ newli.team = lineT;
+ newli.part = lineP;
+ newli.memo = linedesc;
+ newli.except = false;
+ newli.wuid = Pub.Login.no;
+ newli.wdate = DateTime.Now;
+ lineTd.AddLineCodeRow(newli);
}
+ else
+ {
+ var lineDr = lineDrows[0] as dsMSSQL.LineCodeRow;
+ lineT = lineDr.team;
+ lineP = lineDr.part;
+ }
+
+ //데이터추가
+ var newdr = dt.NewRow();
+ newdr["pdate"] = dateTimePicker1.Value.ToShortDateString();
+ newdr["asset"] = dr[6].ToString();
+ newdr["grp"] = dr[0].ToString();
+ newdr["type"] = dr[2].ToString();
+ newdr["model"] = dr[3].ToString();
+ newdr["linecode"] = linecode;
+ newdr["lineT"] = lineT;
+ newdr["lineP"] = lineP;
+ newdr["serial"] = dr[7].ToString();
+ newdr["manu"] = dr[9].ToString();
+ newdr["primary"] = true;
+ newdr["wuid"] = Pub.Login.no;
+ newdr["wdate"] = DateTime.Now;
+ newdr["except"] = false;
+ newdr["memo"] = string.Empty;
+ if (radB.Checked) newdr["param1"] = "8\"";
+ else newdr["param1"] = string.Empty;
+ dt.Rows.Add(newdr);
}
- ta.Update(lineTd);
+
+ taLine.Update(lineTd);
lineTd.AcceptChanges();
+
+ if(radE.Checked)
+ {
+ var taE = new dsEQTableAdapters.EquipmentMETableAdapter();
+ taE.DeleteData(dateStr);
+ taE.Update((dsEQ.EquipmentMEDataTable)dt);
+ }
+ else if (radF.Checked)
+ {
+ var taF = new dsEQTableAdapters.EquipmentFTableAdapter();
+ taF.DeleteData(dateStr);
+ taF.Update((dsEQ.EquipmentFDataTable)dt);
+ }
+ else
+ {
+ var taB = new dsEQTableAdapters.EquipmentBTableAdapter();
+ taB.DeleteData(dateStr);
+ taB.Update((dsEQ.EquipmentBDataTable)dt);
+ }
+ dt.AcceptChanges();
Util.MsgE("test");
}
+
+ private void __Load(object sender, EventArgs e)
+ {
+ var form = this as Form;
+ Pub.SetFormStatus(ref form, this.Name , true);
+ this.Show();
+ Application.DoEvents();
+ }
}
}
diff --git a/Project/_Management/fLineCode.Designer.cs b/Project/_Management/fLineCode.Designer.cs
index 73dfceb..54eeed7 100644
--- a/Project/_Management/fLineCode.Designer.cs
+++ b/Project/_Management/fLineCode.Designer.cs
@@ -31,23 +31,21 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLineCode));
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.dsMSSQL = new Project.dsMSSQL();
+ 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.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
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.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.lineCodeBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.lineCodeDataGridView = new System.Windows.Forms.DataGridView();
- this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.dsMSSQL = new Project.dsMSSQL();
- this.ta = new Project.dsMSSQLTableAdapters.LineCodeTableAdapter();
- this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -56,11 +54,13 @@
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.ta = new Project.dsMSSQLTableAdapters.LineCodeTableAdapter();
+ this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -89,10 +89,45 @@
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
- this.bn.Size = new System.Drawing.Size(876, 25);
+ this.bn.Size = new System.Drawing.Size(574, 25);
this.bn.TabIndex = 0;
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 = "새로 추가";
+ //
+ // bs
+ //
+ this.bs.DataMember = "LineCode";
+ this.bs.DataSource = this.dsMSSQL;
+ //
+ // dsMSSQL
+ //
+ this.dsMSSQL.DataSetName = "dsMSSQL";
+ this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // 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;
@@ -125,16 +160,9 @@
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
//
- // bindingNavigatorCountItem
- //
- this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
- this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
- this.bindingNavigatorCountItem.Text = "/{0}";
- this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
- //
// bindingNavigatorSeparator1
//
- this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorMoveNextItem
@@ -157,27 +185,9 @@
//
// bindingNavigatorSeparator2
//
- this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
//
- // 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 = "새로 추가";
- //
- // 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 = "삭제";
- //
// lineCodeBindingNavigatorSaveItem
//
this.lineCodeBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@@ -207,34 +217,9 @@
this.lineCodeDataGridView.Location = new System.Drawing.Point(0, 25);
this.lineCodeDataGridView.Name = "lineCodeDataGridView";
this.lineCodeDataGridView.RowTemplate.Height = 23;
- this.lineCodeDataGridView.Size = new System.Drawing.Size(876, 528);
+ this.lineCodeDataGridView.Size = new System.Drawing.Size(574, 520);
this.lineCodeDataGridView.TabIndex = 1;
//
- // bs
- //
- this.bs.DataMember = "LineCode";
- this.bs.DataSource = this.dsMSSQL;
- //
- // dsMSSQL
- //
- this.dsMSSQL.DataSetName = "dsMSSQL";
- this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
- // ta
- //
- this.ta.ClearBeforeFill = true;
- //
- // tam
- //
- this.tam.BackupDataSetBeforeUpdate = false;
- this.tam.EquipmentTableAdapter = null;
- this.tam.InventoryTableAdapter = null;
- this.tam.ItemsTableAdapter = null;
- this.tam.LineCodeTableAdapter = this.ta;
- this.tam.ProjectsTableAdapter = null;
- this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
- this.tam.UsersTableAdapter = null;
- //
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
@@ -292,11 +277,26 @@
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 64;
//
+ // ta
+ //
+ this.ta.ClearBeforeFill = true;
+ //
+ // tam
+ //
+ this.tam.BackupDataSetBeforeUpdate = false;
+ this.tam.EquipmentTableAdapter = null;
+ this.tam.InventoryTableAdapter = null;
+ this.tam.ItemsTableAdapter = null;
+ this.tam.LineCodeTableAdapter = this.ta;
+ this.tam.ProjectsTableAdapter = null;
+ this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
+ this.tam.UsersTableAdapter = null;
+ //
// fLineCode
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(876, 553);
+ this.ClientSize = new System.Drawing.Size(574, 545);
this.Controls.Add(this.lineCodeDataGridView);
this.Controls.Add(this.bn);
this.Name = "fLineCode";
@@ -305,9 +305,9 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/Project/_Management/fLineCode.resx b/Project/_Management/fLineCode.resx
index ecf2270..19ffa6f 100644
--- a/Project/_Management/fLineCode.resx
+++ b/Project/_Management/fLineCode.resx
@@ -198,12 +198,12 @@
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
-
- True
-
17, 17
+
+ True
+
186, 17
diff --git a/Project/_Management/rpt_equipment.Designer.cs b/Project/_Management/rpt_equipment.Designer.cs
deleted file mode 100644
index 487e2eb..0000000
--- a/Project/_Management/rpt_equipment.Designer.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-namespace Project._Management
-{
- partial class rpt_equipment
- {
- ///
- /// 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();
- Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
- this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
- this.dsMSSQL = new Project.dsMSSQL();
- this.vEquStockBindingSource = new System.Windows.Forms.BindingSource(this.components);
- this.vEquStockTableAdapter = new Project.dsMSSQLTableAdapters.vEquStockTableAdapter();
- ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.vEquStockBindingSource)).BeginInit();
- this.SuspendLayout();
- //
- // reportViewer1
- //
- this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
- reportDataSource1.Name = "DataSet1";
- reportDataSource1.Value = this.vEquStockBindingSource;
- this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
- this.reportViewer1.LocalReport.ReportEmbeddedResource = "Project._Management.Report1.rdlc";
- this.reportViewer1.Location = new System.Drawing.Point(0, 0);
- this.reportViewer1.Name = "reportViewer1";
- this.reportViewer1.Size = new System.Drawing.Size(1238, 731);
- this.reportViewer1.TabIndex = 0;
- //
- // dsMSSQL
- //
- this.dsMSSQL.DataSetName = "dsMSSQL";
- this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
- // vEquStockBindingSource
- //
- this.vEquStockBindingSource.DataMember = "vEquStock";
- this.vEquStockBindingSource.DataSource = this.dsMSSQL;
- //
- // vEquStockTableAdapter
- //
- this.vEquStockTableAdapter.ClearBeforeFill = true;
- //
- // rpt_equipment
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1238, 731);
- this.Controls.Add(this.reportViewer1);
- this.Name = "rpt_equipment";
- this.Text = "rpt_equipment";
- this.Load += new System.EventHandler(this.rpt_equipment_Load);
- ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.vEquStockBindingSource)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
- private dsMSSQL dsMSSQL;
- private System.Windows.Forms.BindingSource vEquStockBindingSource;
- private dsMSSQLTableAdapters.vEquStockTableAdapter vEquStockTableAdapter;
- }
-}
\ No newline at end of file
diff --git a/Project/_Management/rpt_equipment.cs b/Project/_Management/rpt_equipment.cs
deleted file mode 100644
index ad2bcf1..0000000
--- a/Project/_Management/rpt_equipment.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-
-namespace Project._Management
-{
- public partial class rpt_equipment : Form
- {
- public rpt_equipment()
- {
- InitializeComponent();
- }
-
- private void rpt_equipment_Load(object sender, EventArgs e)
- {
- // TODO: 이 코드는 데이터를 'dsMSSQL.vEquStock' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
- this.vEquStockTableAdapter.Fill(this.dsMSSQL.vEquStock);
- this.reportViewer1.RefreshReport();
- }
- }
-}
diff --git a/Project/_Management/rpt_equipment.resx b/Project/_Management/rpt_equipment.resx
deleted file mode 100644
index ee25fc7..0000000
--- a/Project/_Management/rpt_equipment.resx
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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
-
-
- 122, 17
-
-
- 17, 17
-
-
- 312, 17
-
-
\ No newline at end of file
diff --git a/Project/app.config b/Project/app.config
index f5986b7..1c5b86e 100644
--- a/Project/app.config
+++ b/Project/app.config
@@ -1,9 +1,29 @@
+
+
+
+
+
+
+ using System;
+namespace HelloWorld
+{
+ public static class HelloWorldClass
+ {
+ public static string test()
+ {
+ return {0};
+ }
+ }
+};
+
+
+
\ No newline at end of file
diff --git a/Project/dsEQ.Designer.cs b/Project/dsEQ.Designer.cs
index 4bd1966..e53e3eb 100644
--- a/Project/dsEQ.Designer.cs
+++ b/Project/dsEQ.Designer.cs
@@ -26,7 +26,19 @@ namespace Project {
private EqDateListDataTable tableEqDateList;
- private EquipmentDataTable tableEquipment;
+ private EquipmentFDataTable tableEquipmentF;
+
+ private EquipmentBDataTable tableEquipmentB;
+
+ private EquipmentMEDataTable tableEquipmentME;
+
+ private vEquStockBDataTable tablevEquStockB;
+
+ private vEquStockFDataTable tablevEquStockF;
+
+ private vEquStockMEDataTable tablevEquStockME;
+
+ private EquipmentFilterDataTable tableEquipmentFilter;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
@@ -59,8 +71,26 @@ namespace Project {
if ((ds.Tables["EqDateList"] != null)) {
base.Tables.Add(new EqDateListDataTable(ds.Tables["EqDateList"]));
}
- if ((ds.Tables["Equipment"] != null)) {
- base.Tables.Add(new EquipmentDataTable(ds.Tables["Equipment"]));
+ if ((ds.Tables["EquipmentF"] != null)) {
+ base.Tables.Add(new EquipmentFDataTable(ds.Tables["EquipmentF"]));
+ }
+ if ((ds.Tables["EquipmentB"] != null)) {
+ base.Tables.Add(new EquipmentBDataTable(ds.Tables["EquipmentB"]));
+ }
+ if ((ds.Tables["EquipmentME"] != null)) {
+ base.Tables.Add(new EquipmentMEDataTable(ds.Tables["EquipmentME"]));
+ }
+ if ((ds.Tables["vEquStockB"] != null)) {
+ base.Tables.Add(new vEquStockBDataTable(ds.Tables["vEquStockB"]));
+ }
+ if ((ds.Tables["vEquStockF"] != null)) {
+ base.Tables.Add(new vEquStockFDataTable(ds.Tables["vEquStockF"]));
+ }
+ if ((ds.Tables["vEquStockME"] != null)) {
+ base.Tables.Add(new vEquStockMEDataTable(ds.Tables["vEquStockME"]));
+ }
+ if ((ds.Tables["EquipmentFilter"] != null)) {
+ base.Tables.Add(new EquipmentFilterDataTable(ds.Tables["EquipmentFilter"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
@@ -94,9 +124,69 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public EquipmentDataTable Equipment {
+ public EquipmentFDataTable EquipmentF {
get {
- return this.tableEquipment;
+ return this.tableEquipmentF;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public EquipmentBDataTable EquipmentB {
+ get {
+ return this.tableEquipmentB;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public EquipmentMEDataTable EquipmentME {
+ get {
+ return this.tableEquipmentME;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public vEquStockBDataTable vEquStockB {
+ get {
+ return this.tablevEquStockB;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public vEquStockFDataTable vEquStockF {
+ get {
+ return this.tablevEquStockF;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public vEquStockMEDataTable vEquStockME {
+ get {
+ return this.tablevEquStockME;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public EquipmentFilterDataTable EquipmentFilter {
+ get {
+ return this.tableEquipmentFilter;
}
}
@@ -170,8 +260,26 @@ namespace Project {
if ((ds.Tables["EqDateList"] != null)) {
base.Tables.Add(new EqDateListDataTable(ds.Tables["EqDateList"]));
}
- if ((ds.Tables["Equipment"] != null)) {
- base.Tables.Add(new EquipmentDataTable(ds.Tables["Equipment"]));
+ if ((ds.Tables["EquipmentF"] != null)) {
+ base.Tables.Add(new EquipmentFDataTable(ds.Tables["EquipmentF"]));
+ }
+ if ((ds.Tables["EquipmentB"] != null)) {
+ base.Tables.Add(new EquipmentBDataTable(ds.Tables["EquipmentB"]));
+ }
+ if ((ds.Tables["EquipmentME"] != null)) {
+ base.Tables.Add(new EquipmentMEDataTable(ds.Tables["EquipmentME"]));
+ }
+ if ((ds.Tables["vEquStockB"] != null)) {
+ base.Tables.Add(new vEquStockBDataTable(ds.Tables["vEquStockB"]));
+ }
+ if ((ds.Tables["vEquStockF"] != null)) {
+ base.Tables.Add(new vEquStockFDataTable(ds.Tables["vEquStockF"]));
+ }
+ if ((ds.Tables["vEquStockME"] != null)) {
+ base.Tables.Add(new vEquStockMEDataTable(ds.Tables["vEquStockME"]));
+ }
+ if ((ds.Tables["EquipmentFilter"] != null)) {
+ base.Tables.Add(new EquipmentFilterDataTable(ds.Tables["EquipmentFilter"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
@@ -212,10 +320,46 @@ namespace Project {
this.tableEqDateList.InitVars();
}
}
- this.tableEquipment = ((EquipmentDataTable)(base.Tables["Equipment"]));
+ this.tableEquipmentF = ((EquipmentFDataTable)(base.Tables["EquipmentF"]));
if ((initTable == true)) {
- if ((this.tableEquipment != null)) {
- this.tableEquipment.InitVars();
+ if ((this.tableEquipmentF != null)) {
+ this.tableEquipmentF.InitVars();
+ }
+ }
+ this.tableEquipmentB = ((EquipmentBDataTable)(base.Tables["EquipmentB"]));
+ if ((initTable == true)) {
+ if ((this.tableEquipmentB != null)) {
+ this.tableEquipmentB.InitVars();
+ }
+ }
+ this.tableEquipmentME = ((EquipmentMEDataTable)(base.Tables["EquipmentME"]));
+ if ((initTable == true)) {
+ if ((this.tableEquipmentME != null)) {
+ this.tableEquipmentME.InitVars();
+ }
+ }
+ this.tablevEquStockB = ((vEquStockBDataTable)(base.Tables["vEquStockB"]));
+ if ((initTable == true)) {
+ if ((this.tablevEquStockB != null)) {
+ this.tablevEquStockB.InitVars();
+ }
+ }
+ this.tablevEquStockF = ((vEquStockFDataTable)(base.Tables["vEquStockF"]));
+ if ((initTable == true)) {
+ if ((this.tablevEquStockF != null)) {
+ this.tablevEquStockF.InitVars();
+ }
+ }
+ this.tablevEquStockME = ((vEquStockMEDataTable)(base.Tables["vEquStockME"]));
+ if ((initTable == true)) {
+ if ((this.tablevEquStockME != null)) {
+ this.tablevEquStockME.InitVars();
+ }
+ }
+ this.tableEquipmentFilter = ((EquipmentFilterDataTable)(base.Tables["EquipmentFilter"]));
+ if ((initTable == true)) {
+ if ((this.tableEquipmentFilter != null)) {
+ this.tableEquipmentFilter.InitVars();
}
}
}
@@ -230,8 +374,20 @@ namespace Project {
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tableEqDateList = new EqDateListDataTable();
base.Tables.Add(this.tableEqDateList);
- this.tableEquipment = new EquipmentDataTable();
- base.Tables.Add(this.tableEquipment);
+ this.tableEquipmentF = new EquipmentFDataTable();
+ base.Tables.Add(this.tableEquipmentF);
+ this.tableEquipmentB = new EquipmentBDataTable();
+ base.Tables.Add(this.tableEquipmentB);
+ this.tableEquipmentME = new EquipmentMEDataTable();
+ base.Tables.Add(this.tableEquipmentME);
+ this.tablevEquStockB = new vEquStockBDataTable();
+ base.Tables.Add(this.tablevEquStockB);
+ this.tablevEquStockF = new vEquStockFDataTable();
+ base.Tables.Add(this.tablevEquStockF);
+ this.tablevEquStockME = new vEquStockMEDataTable();
+ base.Tables.Add(this.tablevEquStockME);
+ this.tableEquipmentFilter = new EquipmentFilterDataTable();
+ base.Tables.Add(this.tableEquipmentFilter);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -242,7 +398,43 @@ namespace Project {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeEquipment() {
+ private bool ShouldSerializeEquipmentF() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeEquipmentB() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeEquipmentME() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializevEquStockB() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializevEquStockF() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializevEquStockME() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeEquipmentFilter() {
return false;
}
@@ -305,7 +497,25 @@ namespace Project {
public delegate void EqDateListRowChangeEventHandler(object sender, EqDateListRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public delegate void EquipmentRowChangeEventHandler(object sender, EquipmentRowChangeEvent e);
+ public delegate void EquipmentFRowChangeEventHandler(object sender, EquipmentFRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void EquipmentBRowChangeEventHandler(object sender, EquipmentBRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void EquipmentMERowChangeEventHandler(object sender, EquipmentMERowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void vEquStockBRowChangeEventHandler(object sender, vEquStockBRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void vEquStockFRowChangeEventHandler(object sender, vEquStockFRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void vEquStockMERowChangeEventHandler(object sender, vEquStockMERowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void EquipmentFilterRowChangeEventHandler(object sender, EquipmentFilterRowChangeEvent e);
///
///Represents the strongly named DataTable class.
@@ -571,7 +781,7 @@ namespace Project {
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class EquipmentDataTable : global::System.Data.TypedTableBase {
+ public partial class EquipmentFDataTable : global::System.Data.TypedTableBase {
private global::System.Data.DataColumn columnidx;
@@ -601,10 +811,16 @@ namespace Project {
private global::System.Data.DataColumn columnwdate;
+ private global::System.Data.DataColumn columnlineT;
+
+ private global::System.Data.DataColumn columnlineP;
+
+ private global::System.Data.DataColumn columnparam1;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentDataTable() {
- this.TableName = "Equipment";
+ public EquipmentFDataTable() {
+ this.TableName = "EquipmentF";
this.BeginInit();
this.InitClass();
this.EndInit();
@@ -612,7 +828,7 @@ namespace Project {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal EquipmentDataTable(global::System.Data.DataTable table) {
+ internal EquipmentFDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
@@ -629,7 +845,7 @@ namespace Project {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected EquipmentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ protected EquipmentFDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
@@ -746,6 +962,30 @@ namespace Project {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -757,34 +997,50 @@ namespace Project {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentRow this[int index] {
+ public EquipmentFRow this[int index] {
get {
- return ((EquipmentRow)(this.Rows[index]));
+ return ((EquipmentFRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowChanging;
+ public event EquipmentFRowChangeEventHandler EquipmentFRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowChanged;
+ public event EquipmentFRowChangeEventHandler EquipmentFRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowDeleting;
+ public event EquipmentFRowChangeEventHandler EquipmentFRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowDeleted;
+ public event EquipmentFRowChangeEventHandler EquipmentFRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddEquipmentRow(EquipmentRow row) {
+ public void AddEquipmentFRow(EquipmentFRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentRow AddEquipmentRow(string pdate, string asset, string grp, string type, string model, string linecode, string serial, string manu, bool primary, bool except, string memo, string wuid, System.DateTime wdate) {
- EquipmentRow rowEquipmentRow = ((EquipmentRow)(this.NewRow()));
+ public EquipmentFRow AddEquipmentFRow(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string model,
+ string linecode,
+ string serial,
+ string manu,
+ bool primary,
+ bool except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1) {
+ EquipmentFRow rowEquipmentFRow = ((EquipmentFRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
pdate,
@@ -799,23 +1055,26 @@ namespace Project {
except,
memo,
wuid,
- wdate};
- rowEquipmentRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowEquipmentRow);
- return rowEquipmentRow;
+ wdate,
+ lineT,
+ lineP,
+ param1};
+ rowEquipmentFRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowEquipmentFRow);
+ return rowEquipmentFRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentRow FindByidx(int idx) {
- return ((EquipmentRow)(this.Rows.Find(new object[] {
+ public EquipmentFRow FindByidx(int idx) {
+ return ((EquipmentFRow)(this.Rows.Find(new object[] {
idx})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
- EquipmentDataTable cln = ((EquipmentDataTable)(base.Clone()));
+ EquipmentFDataTable cln = ((EquipmentFDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
@@ -823,7 +1082,7 @@ namespace Project {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
- return new EquipmentDataTable();
+ return new EquipmentFDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -843,6 +1102,9 @@ namespace Project {
this.columnmemo = base.Columns["memo"];
this.columnwuid = base.Columns["wuid"];
this.columnwdate = base.Columns["wdate"];
+ this.columnlineT = base.Columns["lineT"];
+ this.columnlineP = base.Columns["lineP"];
+ this.columnparam1 = base.Columns["param1"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -876,6 +1138,12 @@ namespace Project {
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.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.columnparam1 = new global::System.Data.DataColumn("param1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnparam1);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -896,32 +1164,35 @@ namespace Project {
this.columnwuid.AllowDBNull = false;
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
+ this.columnlineT.MaxLength = 50;
+ this.columnlineP.MaxLength = 50;
+ this.columnparam1.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentRow NewEquipmentRow() {
- return ((EquipmentRow)(this.NewRow()));
+ public EquipmentFRow NewEquipmentFRow() {
+ return ((EquipmentFRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new EquipmentRow(builder);
+ return new EquipmentFRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
- return typeof(EquipmentRow);
+ return typeof(EquipmentFRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
- if ((this.EquipmentRowChanged != null)) {
- this.EquipmentRowChanged(this, new EquipmentRowChangeEvent(((EquipmentRow)(e.Row)), e.Action));
+ if ((this.EquipmentFRowChanged != null)) {
+ this.EquipmentFRowChanged(this, new EquipmentFRowChangeEvent(((EquipmentFRow)(e.Row)), e.Action));
}
}
@@ -929,8 +1200,8 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
- if ((this.EquipmentRowChanging != null)) {
- this.EquipmentRowChanging(this, new EquipmentRowChangeEvent(((EquipmentRow)(e.Row)), e.Action));
+ if ((this.EquipmentFRowChanging != null)) {
+ this.EquipmentFRowChanging(this, new EquipmentFRowChangeEvent(((EquipmentFRow)(e.Row)), e.Action));
}
}
@@ -938,8 +1209,8 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
- if ((this.EquipmentRowDeleted != null)) {
- this.EquipmentRowDeleted(this, new EquipmentRowChangeEvent(((EquipmentRow)(e.Row)), e.Action));
+ if ((this.EquipmentFRowDeleted != null)) {
+ this.EquipmentFRowDeleted(this, new EquipmentFRowChangeEvent(((EquipmentFRow)(e.Row)), e.Action));
}
}
@@ -947,14 +1218,14 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
- if ((this.EquipmentRowDeleting != null)) {
- this.EquipmentRowDeleting(this, new EquipmentRowChangeEvent(((EquipmentRow)(e.Row)), e.Action));
+ if ((this.EquipmentFRowDeleting != null)) {
+ this.EquipmentFRowDeleting(this, new EquipmentFRowChangeEvent(((EquipmentFRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveEquipmentRow(EquipmentRow row) {
+ public void RemoveEquipmentFRow(EquipmentFRow row) {
this.Rows.Remove(row);
}
@@ -981,7 +1252,2508 @@ namespace Project {
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "EquipmentDataTable";
+ attribute2.FixedValue = "EquipmentFDataTable";
+ 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 EquipmentBDataTable : 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 columnmodel;
+
+ private global::System.Data.DataColumn columnlinecode;
+
+ private global::System.Data.DataColumn columnserial;
+
+ private global::System.Data.DataColumn columnmanu;
+
+ 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;
+
+ private global::System.Data.DataColumn columnlineT;
+
+ private global::System.Data.DataColumn columnlineP;
+
+ private global::System.Data.DataColumn columnparam1;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentBDataTable() {
+ this.TableName = "EquipmentB";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal EquipmentBDataTable(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", "4.0.0.0")]
+ protected EquipmentBDataTable(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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
+ public EquipmentBRow this[int index] {
+ get {
+ return ((EquipmentBRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentBRowChangeEventHandler EquipmentBRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentBRowChangeEventHandler EquipmentBRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentBRowChangeEventHandler EquipmentBRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentBRowChangeEventHandler EquipmentBRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddEquipmentBRow(EquipmentBRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentBRow AddEquipmentBRow(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string model,
+ string linecode,
+ string serial,
+ string manu,
+ bool primary,
+ bool except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1) {
+ EquipmentBRow rowEquipmentBRow = ((EquipmentBRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ pdate,
+ asset,
+ grp,
+ type,
+ model,
+ linecode,
+ serial,
+ manu,
+ primary,
+ except,
+ memo,
+ wuid,
+ wdate,
+ lineT,
+ lineP,
+ param1};
+ rowEquipmentBRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowEquipmentBRow);
+ return rowEquipmentBRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentBRow FindByidx(int idx) {
+ return ((EquipmentBRow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ EquipmentBDataTable cln = ((EquipmentBDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new EquipmentBDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.columnmodel = base.Columns["model"];
+ this.columnlinecode = base.Columns["linecode"];
+ this.columnserial = base.Columns["serial"];
+ this.columnmanu = base.Columns["manu"];
+ 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"];
+ this.columnlineT = base.Columns["lineT"];
+ this.columnlineP = base.Columns["lineP"];
+ this.columnparam1 = base.Columns["param1"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.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.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.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.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.columnparam1 = new global::System.Data.DataColumn("param1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnparam1);
+ 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.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnserial.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnmemo.MaxLength = 255;
+ this.columnwuid.AllowDBNull = false;
+ this.columnwuid.MaxLength = 20;
+ this.columnwdate.AllowDBNull = false;
+ this.columnlineT.MaxLength = 50;
+ this.columnlineP.MaxLength = 50;
+ this.columnparam1.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentBRow NewEquipmentBRow() {
+ return ((EquipmentBRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new EquipmentBRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(EquipmentBRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.EquipmentBRowChanged != null)) {
+ this.EquipmentBRowChanged(this, new EquipmentBRowChangeEvent(((EquipmentBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.EquipmentBRowChanging != null)) {
+ this.EquipmentBRowChanging(this, new EquipmentBRowChangeEvent(((EquipmentBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.EquipmentBRowDeleted != null)) {
+ this.EquipmentBRowDeleted(this, new EquipmentBRowChangeEvent(((EquipmentBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.EquipmentBRowDeleting != null)) {
+ this.EquipmentBRowDeleting(this, new EquipmentBRowChangeEvent(((EquipmentBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveEquipmentBRow(EquipmentBRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "EquipmentBDataTable";
+ 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 EquipmentMEDataTable : 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 columnmodel;
+
+ private global::System.Data.DataColumn columnlinecode;
+
+ private global::System.Data.DataColumn columnserial;
+
+ private global::System.Data.DataColumn columnmanu;
+
+ 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;
+
+ private global::System.Data.DataColumn columnlineP;
+
+ private global::System.Data.DataColumn columnlineT;
+
+ private global::System.Data.DataColumn columnparam1;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentMEDataTable() {
+ this.TableName = "EquipmentME";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal EquipmentMEDataTable(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", "4.0.0.0")]
+ protected EquipmentMEDataTable(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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
+ public EquipmentMERow this[int index] {
+ get {
+ return ((EquipmentMERow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentMERowChangeEventHandler EquipmentMERowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentMERowChangeEventHandler EquipmentMERowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentMERowChangeEventHandler EquipmentMERowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentMERowChangeEventHandler EquipmentMERowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddEquipmentMERow(EquipmentMERow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentMERow AddEquipmentMERow(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string model,
+ string linecode,
+ string serial,
+ string manu,
+ bool primary,
+ bool except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineP,
+ string lineT,
+ string param1) {
+ EquipmentMERow rowEquipmentMERow = ((EquipmentMERow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ pdate,
+ asset,
+ grp,
+ type,
+ model,
+ linecode,
+ serial,
+ manu,
+ primary,
+ except,
+ memo,
+ wuid,
+ wdate,
+ lineP,
+ lineT,
+ param1};
+ rowEquipmentMERow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowEquipmentMERow);
+ return rowEquipmentMERow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentMERow FindByidx(int idx) {
+ return ((EquipmentMERow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ EquipmentMEDataTable cln = ((EquipmentMEDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new EquipmentMEDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.columnmodel = base.Columns["model"];
+ this.columnlinecode = base.Columns["linecode"];
+ this.columnserial = base.Columns["serial"];
+ this.columnmanu = base.Columns["manu"];
+ 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"];
+ this.columnlineP = base.Columns["lineP"];
+ this.columnlineT = base.Columns["lineT"];
+ this.columnparam1 = base.Columns["param1"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.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.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.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.columnlineP = new global::System.Data.DataColumn("lineP", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlineP);
+ this.columnlineT = new global::System.Data.DataColumn("lineT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlineT);
+ this.columnparam1 = new global::System.Data.DataColumn("param1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnparam1);
+ 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.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnserial.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnmemo.MaxLength = 255;
+ this.columnwuid.AllowDBNull = false;
+ this.columnwuid.MaxLength = 20;
+ this.columnwdate.AllowDBNull = false;
+ this.columnlineP.MaxLength = 50;
+ this.columnlineT.MaxLength = 50;
+ this.columnparam1.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentMERow NewEquipmentMERow() {
+ return ((EquipmentMERow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new EquipmentMERow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(EquipmentMERow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.EquipmentMERowChanged != null)) {
+ this.EquipmentMERowChanged(this, new EquipmentMERowChangeEvent(((EquipmentMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.EquipmentMERowChanging != null)) {
+ this.EquipmentMERowChanging(this, new EquipmentMERowChangeEvent(((EquipmentMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.EquipmentMERowDeleted != null)) {
+ this.EquipmentMERowDeleted(this, new EquipmentMERowChangeEvent(((EquipmentMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.EquipmentMERowDeleting != null)) {
+ this.EquipmentMERowDeleting(this, new EquipmentMERowChangeEvent(((EquipmentMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveEquipmentMERow(EquipmentMERow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "EquipmentMEDataTable";
+ 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 vEquStockBDataTable : 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;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockBDataTable() {
+ this.TableName = "vEquStockB";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal vEquStockBDataTable(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", "4.0.0.0")]
+ protected vEquStockBDataTable(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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
+ public vEquStockBRow this[int index] {
+ get {
+ return ((vEquStockBRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockBRowChangeEventHandler vEquStockBRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockBRowChangeEventHandler vEquStockBRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockBRowChangeEventHandler vEquStockBRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockBRowChangeEventHandler vEquStockBRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddvEquStockBRow(vEquStockBRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockBRow AddvEquStockBRow(string pdate, string grp, string manu, string model, string linecode, string lineT, string lineP, int cnt, string Remark) {
+ vEquStockBRow rowvEquStockBRow = ((vEquStockBRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ pdate,
+ grp,
+ manu,
+ model,
+ linecode,
+ lineT,
+ lineP,
+ cnt,
+ Remark};
+ rowvEquStockBRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowvEquStockBRow);
+ return rowvEquStockBRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ vEquStockBDataTable cln = ((vEquStockBDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new vEquStockBDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.columnpdate.MaxLength = 20;
+ this.columngrp.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnlineT.MaxLength = 50;
+ this.columnlineP.MaxLength = 50;
+ this.columnRemark.MaxLength = 255;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockBRow NewvEquStockBRow() {
+ return ((vEquStockBRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new vEquStockBRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(vEquStockBRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.vEquStockBRowChanged != null)) {
+ this.vEquStockBRowChanged(this, new vEquStockBRowChangeEvent(((vEquStockBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.vEquStockBRowChanging != null)) {
+ this.vEquStockBRowChanging(this, new vEquStockBRowChangeEvent(((vEquStockBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.vEquStockBRowDeleted != null)) {
+ this.vEquStockBRowDeleted(this, new vEquStockBRowChangeEvent(((vEquStockBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.vEquStockBRowDeleting != null)) {
+ this.vEquStockBRowDeleting(this, new vEquStockBRowChangeEvent(((vEquStockBRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemovevEquStockBRow(vEquStockBRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "vEquStockBDataTable";
+ 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 vEquStockFDataTable : 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;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockFDataTable() {
+ this.TableName = "vEquStockF";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal vEquStockFDataTable(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", "4.0.0.0")]
+ protected vEquStockFDataTable(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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
+ public vEquStockFRow this[int index] {
+ get {
+ return ((vEquStockFRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockFRowChangeEventHandler vEquStockFRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockFRowChangeEventHandler vEquStockFRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockFRowChangeEventHandler vEquStockFRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockFRowChangeEventHandler vEquStockFRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddvEquStockFRow(vEquStockFRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockFRow AddvEquStockFRow(string pdate, string grp, string manu, string model, string linecode, string lineT, string lineP, int cnt, string Remark) {
+ vEquStockFRow rowvEquStockFRow = ((vEquStockFRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ pdate,
+ grp,
+ manu,
+ model,
+ linecode,
+ lineT,
+ lineP,
+ cnt,
+ Remark};
+ rowvEquStockFRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowvEquStockFRow);
+ return rowvEquStockFRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ vEquStockFDataTable cln = ((vEquStockFDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new vEquStockFDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.columnpdate.MaxLength = 20;
+ this.columngrp.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnlineT.MaxLength = 50;
+ this.columnlineP.MaxLength = 50;
+ this.columnRemark.MaxLength = 255;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockFRow NewvEquStockFRow() {
+ return ((vEquStockFRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new vEquStockFRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(vEquStockFRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.vEquStockFRowChanged != null)) {
+ this.vEquStockFRowChanged(this, new vEquStockFRowChangeEvent(((vEquStockFRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.vEquStockFRowChanging != null)) {
+ this.vEquStockFRowChanging(this, new vEquStockFRowChangeEvent(((vEquStockFRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.vEquStockFRowDeleted != null)) {
+ this.vEquStockFRowDeleted(this, new vEquStockFRowChangeEvent(((vEquStockFRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.vEquStockFRowDeleting != null)) {
+ this.vEquStockFRowDeleting(this, new vEquStockFRowChangeEvent(((vEquStockFRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemovevEquStockFRow(vEquStockFRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "vEquStockFDataTable";
+ 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 vEquStockMEDataTable : 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;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockMEDataTable() {
+ this.TableName = "vEquStockME";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal vEquStockMEDataTable(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", "4.0.0.0")]
+ protected vEquStockMEDataTable(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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
+ public vEquStockMERow this[int index] {
+ get {
+ return ((vEquStockMERow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockMERowChangeEventHandler vEquStockMERowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockMERowChangeEventHandler vEquStockMERowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockMERowChangeEventHandler vEquStockMERowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event vEquStockMERowChangeEventHandler vEquStockMERowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddvEquStockMERow(vEquStockMERow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockMERow AddvEquStockMERow(string pdate, string grp, string manu, string model, string linecode, string lineT, string lineP, int cnt, string Remark) {
+ vEquStockMERow rowvEquStockMERow = ((vEquStockMERow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ pdate,
+ grp,
+ manu,
+ model,
+ linecode,
+ lineT,
+ lineP,
+ cnt,
+ Remark};
+ rowvEquStockMERow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowvEquStockMERow);
+ return rowvEquStockMERow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ vEquStockMEDataTable cln = ((vEquStockMEDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new vEquStockMEDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.columnpdate.MaxLength = 20;
+ this.columngrp.MaxLength = 50;
+ this.columnmanu.MaxLength = 50;
+ this.columnmodel.MaxLength = 50;
+ this.columnlinecode.MaxLength = 50;
+ this.columnlineT.MaxLength = 50;
+ this.columnlineP.MaxLength = 50;
+ this.columnRemark.MaxLength = 255;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockMERow NewvEquStockMERow() {
+ return ((vEquStockMERow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new vEquStockMERow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(vEquStockMERow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.vEquStockMERowChanged != null)) {
+ this.vEquStockMERowChanged(this, new vEquStockMERowChangeEvent(((vEquStockMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.vEquStockMERowChanging != null)) {
+ this.vEquStockMERowChanging(this, new vEquStockMERowChangeEvent(((vEquStockMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.vEquStockMERowDeleted != null)) {
+ this.vEquStockMERowDeleted(this, new vEquStockMERowChangeEvent(((vEquStockMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.vEquStockMERowDeleting != null)) {
+ this.vEquStockMERowDeleting(this, new vEquStockMERowChangeEvent(((vEquStockMERow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemovevEquStockMERow(vEquStockMERow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "vEquStockMEDataTable";
+ 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 EquipmentFilterDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidx;
+
+ private global::System.Data.DataColumn columntype;
+
+ private global::System.Data.DataColumn columnTitle;
+
+ private global::System.Data.DataColumn columnFilter;
+
+ private global::System.Data.DataColumn columnApply;
+
+ 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", "4.0.0.0")]
+ public EquipmentFilterDataTable() {
+ this.TableName = "EquipmentFilter";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal EquipmentFilterDataTable(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", "4.0.0.0")]
+ protected EquipmentFilterDataTable(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", "4.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", "4.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", "4.0.0.0")]
+ public global::System.Data.DataColumn TitleColumn {
+ get {
+ return this.columnTitle;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FilterColumn {
+ get {
+ return this.columnFilter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ApplyColumn {
+ get {
+ return this.columnApply;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
+ public EquipmentFilterRow this[int index] {
+ get {
+ return ((EquipmentFilterRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentFilterRowChangeEventHandler EquipmentFilterRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentFilterRowChangeEventHandler EquipmentFilterRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentFilterRowChangeEventHandler EquipmentFilterRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event EquipmentFilterRowChangeEventHandler EquipmentFilterRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddEquipmentFilterRow(EquipmentFilterRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentFilterRow AddEquipmentFilterRow(string type, string Title, string Filter, string Apply, string memo, string wuid, System.DateTime wdate) {
+ EquipmentFilterRow rowEquipmentFilterRow = ((EquipmentFilterRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ type,
+ Title,
+ Filter,
+ Apply,
+ memo,
+ wuid,
+ wdate};
+ rowEquipmentFilterRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowEquipmentFilterRow);
+ return rowEquipmentFilterRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentFilterRow FindByidx(int idx) {
+ return ((EquipmentFilterRow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ EquipmentFilterDataTable cln = ((EquipmentFilterDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new EquipmentFilterDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnidx = base.Columns["idx"];
+ this.columntype = base.Columns["type"];
+ this.columnTitle = base.Columns["Title"];
+ this.columnFilter = base.Columns["Filter"];
+ this.columnApply = base.Columns["Apply"];
+ 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", "4.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.columntype = new global::System.Data.DataColumn("type", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntype);
+ this.columnTitle = new global::System.Data.DataColumn("Title", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTitle);
+ this.columnFilter = new global::System.Data.DataColumn("Filter", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFilter);
+ this.columnApply = new global::System.Data.DataColumn("Apply", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnApply);
+ 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.columntype.MaxLength = 1;
+ this.columnTitle.MaxLength = 200;
+ this.columnFilter.MaxLength = 2147483647;
+ this.columnApply.MaxLength = 2147483647;
+ this.columnmemo.MaxLength = 255;
+ this.columnwuid.MaxLength = 20;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentFilterRow NewEquipmentFilterRow() {
+ return ((EquipmentFilterRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new EquipmentFilterRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(EquipmentFilterRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.EquipmentFilterRowChanged != null)) {
+ this.EquipmentFilterRowChanged(this, new EquipmentFilterRowChangeEvent(((EquipmentFilterRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.EquipmentFilterRowChanging != null)) {
+ this.EquipmentFilterRowChanging(this, new EquipmentFilterRowChangeEvent(((EquipmentFilterRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.EquipmentFilterRowDeleted != null)) {
+ this.EquipmentFilterRowDeleted(this, new EquipmentFilterRowChangeEvent(((EquipmentFilterRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.EquipmentFilterRowDeleting != null)) {
+ this.EquipmentFilterRowDeleting(this, new EquipmentFilterRowChangeEvent(((EquipmentFilterRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveEquipmentFilterRow(EquipmentFilterRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "EquipmentFilterDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
@@ -1051,25 +3823,25 @@ namespace Project {
///
///Represents strongly named DataRow class.
///
- public partial class EquipmentRow : global::System.Data.DataRow {
+ public partial class EquipmentFRow : global::System.Data.DataRow {
- private EquipmentDataTable tableEquipment;
+ private EquipmentFDataTable tableEquipmentF;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal EquipmentRow(global::System.Data.DataRowBuilder rb) :
+ internal EquipmentFRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
- this.tableEquipment = ((EquipmentDataTable)(this.Table));
+ this.tableEquipmentF = ((EquipmentFDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int idx {
get {
- return ((int)(this[this.tableEquipment.idxColumn]));
+ return ((int)(this[this.tableEquipmentF.idxColumn]));
}
set {
- this[this.tableEquipment.idxColumn] = value;
+ this[this.tableEquipmentF.idxColumn] = value;
}
}
@@ -1078,14 +3850,14 @@ namespace Project {
public string pdate {
get {
try {
- return ((string)(this[this.tableEquipment.pdateColumn]));
+ return ((string)(this[this.tableEquipmentF.pdateColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.pdateColumn] = value;
+ this[this.tableEquipmentF.pdateColumn] = value;
}
}
@@ -1094,14 +3866,14 @@ namespace Project {
public string asset {
get {
try {
- return ((string)(this[this.tableEquipment.assetColumn]));
+ return ((string)(this[this.tableEquipmentF.assetColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'asset\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'asset\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.assetColumn] = value;
+ this[this.tableEquipmentF.assetColumn] = value;
}
}
@@ -1110,14 +3882,14 @@ namespace Project {
public string grp {
get {
try {
- return ((string)(this[this.tableEquipment.grpColumn]));
+ return ((string)(this[this.tableEquipmentF.grpColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.grpColumn] = value;
+ this[this.tableEquipmentF.grpColumn] = value;
}
}
@@ -1126,14 +3898,14 @@ namespace Project {
public string type {
get {
try {
- return ((string)(this[this.tableEquipment.typeColumn]));
+ return ((string)(this[this.tableEquipmentF.typeColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'type\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'type\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.typeColumn] = value;
+ this[this.tableEquipmentF.typeColumn] = value;
}
}
@@ -1142,14 +3914,14 @@ namespace Project {
public string model {
get {
try {
- return ((string)(this[this.tableEquipment.modelColumn]));
+ return ((string)(this[this.tableEquipmentF.modelColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.modelColumn] = value;
+ this[this.tableEquipmentF.modelColumn] = value;
}
}
@@ -1158,14 +3930,14 @@ namespace Project {
public string linecode {
get {
try {
- return ((string)(this[this.tableEquipment.linecodeColumn]));
+ return ((string)(this[this.tableEquipmentF.linecodeColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.linecodeColumn] = value;
+ this[this.tableEquipmentF.linecodeColumn] = value;
}
}
@@ -1174,14 +3946,14 @@ namespace Project {
public string serial {
get {
try {
- return ((string)(this[this.tableEquipment.serialColumn]));
+ return ((string)(this[this.tableEquipmentF.serialColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'serial\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'serial\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.serialColumn] = value;
+ this[this.tableEquipmentF.serialColumn] = value;
}
}
@@ -1190,14 +3962,14 @@ namespace Project {
public string manu {
get {
try {
- return ((string)(this[this.tableEquipment.manuColumn]));
+ return ((string)(this[this.tableEquipmentF.manuColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.manuColumn] = value;
+ this[this.tableEquipmentF.manuColumn] = value;
}
}
@@ -1206,14 +3978,14 @@ namespace Project {
public bool primary {
get {
try {
- return ((bool)(this[this.tableEquipment.primaryColumn]));
+ return ((bool)(this[this.tableEquipmentF.primaryColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'primary\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'primary\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.primaryColumn] = value;
+ this[this.tableEquipmentF.primaryColumn] = value;
}
}
@@ -1222,14 +3994,14 @@ namespace Project {
public bool except {
get {
try {
- return ((bool)(this[this.tableEquipment.exceptColumn]));
+ return ((bool)(this[this.tableEquipmentF.exceptColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'except\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'except\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.exceptColumn] = value;
+ this[this.tableEquipmentF.exceptColumn] = value;
}
}
@@ -1238,14 +4010,14 @@ namespace Project {
public string memo {
get {
try {
- return ((string)(this[this.tableEquipment.memoColumn]));
+ return ((string)(this[this.tableEquipmentF.memoColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
}
}
set {
- this[this.tableEquipment.memoColumn] = value;
+ this[this.tableEquipmentF.memoColumn] = value;
}
}
@@ -1253,10 +4025,10 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string wuid {
get {
- return ((string)(this[this.tableEquipment.wuidColumn]));
+ return ((string)(this[this.tableEquipmentF.wuidColumn]));
}
set {
- this[this.tableEquipment.wuidColumn] = value;
+ this[this.tableEquipmentF.wuidColumn] = value;
}
}
@@ -1264,143 +4036,2130 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime wdate {
get {
- return ((global::System.DateTime)(this[this.tableEquipment.wdateColumn]));
+ return ((global::System.DateTime)(this[this.tableEquipmentF.wdateColumn]));
}
set {
- this[this.tableEquipment.wdateColumn] = value;
+ this[this.tableEquipmentF.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentF.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentF.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentF.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentF.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string param1 {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentF.param1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentF\' 테이블의 \'param1\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentF.param1Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IspdateNull() {
- return this.IsNull(this.tableEquipment.pdateColumn);
+ return this.IsNull(this.tableEquipmentF.pdateColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetpdateNull() {
- this[this.tableEquipment.pdateColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.pdateColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsassetNull() {
- return this.IsNull(this.tableEquipment.assetColumn);
+ return this.IsNull(this.tableEquipmentF.assetColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetassetNull() {
- this[this.tableEquipment.assetColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.assetColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsgrpNull() {
- return this.IsNull(this.tableEquipment.grpColumn);
+ return this.IsNull(this.tableEquipmentF.grpColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetgrpNull() {
- this[this.tableEquipment.grpColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.grpColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IstypeNull() {
- return this.IsNull(this.tableEquipment.typeColumn);
+ return this.IsNull(this.tableEquipmentF.typeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SettypeNull() {
- this[this.tableEquipment.typeColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.typeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsmodelNull() {
- return this.IsNull(this.tableEquipment.modelColumn);
+ return this.IsNull(this.tableEquipmentF.modelColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetmodelNull() {
- this[this.tableEquipment.modelColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.modelColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IslinecodeNull() {
- return this.IsNull(this.tableEquipment.linecodeColumn);
+ return this.IsNull(this.tableEquipmentF.linecodeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetlinecodeNull() {
- this[this.tableEquipment.linecodeColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.linecodeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsserialNull() {
- return this.IsNull(this.tableEquipment.serialColumn);
+ return this.IsNull(this.tableEquipmentF.serialColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetserialNull() {
- this[this.tableEquipment.serialColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.serialColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsmanuNull() {
- return this.IsNull(this.tableEquipment.manuColumn);
+ return this.IsNull(this.tableEquipmentF.manuColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetmanuNull() {
- this[this.tableEquipment.manuColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.manuColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsprimaryNull() {
- return this.IsNull(this.tableEquipment.primaryColumn);
+ return this.IsNull(this.tableEquipmentF.primaryColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetprimaryNull() {
- this[this.tableEquipment.primaryColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.primaryColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsexceptNull() {
- return this.IsNull(this.tableEquipment.exceptColumn);
+ return this.IsNull(this.tableEquipmentF.exceptColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetexceptNull() {
- this[this.tableEquipment.exceptColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.exceptColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsmemoNull() {
- return this.IsNull(this.tableEquipment.memoColumn);
+ return this.IsNull(this.tableEquipmentF.memoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetmemoNull() {
- this[this.tableEquipment.memoColumn] = global::System.Convert.DBNull;
+ this[this.tableEquipmentF.memoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tableEquipmentF.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tableEquipmentF.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tableEquipmentF.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tableEquipmentF.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Isparam1Null() {
+ return this.IsNull(this.tableEquipmentF.param1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Setparam1Null() {
+ this[this.tableEquipmentF.param1Column] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class EquipmentBRow : global::System.Data.DataRow {
+
+ private EquipmentBDataTable tableEquipmentB;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal EquipmentBRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableEquipmentB = ((EquipmentBDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableEquipmentB.idxColumn]));
+ }
+ set {
+ this[this.tableEquipmentB.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string pdate {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.pdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string asset {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.assetColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'asset\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.assetColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string type {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.typeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'type\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.typeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string model {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.modelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string serial {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.serialColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'serial\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.serialColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string manu {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.manuColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool primary {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentB.primaryColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'primary\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.primaryColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool except {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentB.exceptColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'except\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.exceptColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string memo {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.memoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.memoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string wuid {
+ get {
+ return ((string)(this[this.tableEquipmentB.wuidColumn]));
+ }
+ set {
+ this[this.tableEquipmentB.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ return ((global::System.DateTime)(this[this.tableEquipmentB.wdateColumn]));
+ }
+ set {
+ this[this.tableEquipmentB.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string param1 {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentB.param1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentB\' 테이블의 \'param1\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentB.param1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tableEquipmentB.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tableEquipmentB.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsassetNull() {
+ return this.IsNull(this.tableEquipmentB.assetColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetassetNull() {
+ this[this.tableEquipmentB.assetColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tableEquipmentB.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tableEquipmentB.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstypeNull() {
+ return this.IsNull(this.tableEquipmentB.typeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettypeNull() {
+ this[this.tableEquipmentB.typeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tableEquipmentB.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tableEquipmentB.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tableEquipmentB.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tableEquipmentB.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsserialNull() {
+ return this.IsNull(this.tableEquipmentB.serialColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetserialNull() {
+ this[this.tableEquipmentB.serialColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tableEquipmentB.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tableEquipmentB.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsprimaryNull() {
+ return this.IsNull(this.tableEquipmentB.primaryColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetprimaryNull() {
+ this[this.tableEquipmentB.primaryColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsexceptNull() {
+ return this.IsNull(this.tableEquipmentB.exceptColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetexceptNull() {
+ this[this.tableEquipmentB.exceptColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmemoNull() {
+ return this.IsNull(this.tableEquipmentB.memoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmemoNull() {
+ this[this.tableEquipmentB.memoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tableEquipmentB.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tableEquipmentB.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tableEquipmentB.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tableEquipmentB.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Isparam1Null() {
+ return this.IsNull(this.tableEquipmentB.param1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Setparam1Null() {
+ this[this.tableEquipmentB.param1Column] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class EquipmentMERow : global::System.Data.DataRow {
+
+ private EquipmentMEDataTable tableEquipmentME;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal EquipmentMERow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableEquipmentME = ((EquipmentMEDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableEquipmentME.idxColumn]));
+ }
+ set {
+ this[this.tableEquipmentME.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string pdate {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.pdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string asset {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.assetColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'asset\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.assetColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string type {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.typeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'type\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.typeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string model {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.modelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string serial {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.serialColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'serial\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.serialColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string manu {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.manuColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool primary {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentME.primaryColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'primary\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.primaryColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool except {
+ get {
+ try {
+ return ((bool)(this[this.tableEquipmentME.exceptColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'except\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.exceptColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string memo {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.memoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.memoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string wuid {
+ get {
+ return ((string)(this[this.tableEquipmentME.wuidColumn]));
+ }
+ set {
+ this[this.tableEquipmentME.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ return ((global::System.DateTime)(this[this.tableEquipmentME.wdateColumn]));
+ }
+ set {
+ this[this.tableEquipmentME.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string param1 {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentME.param1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentME\' 테이블의 \'param1\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentME.param1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tableEquipmentME.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tableEquipmentME.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsassetNull() {
+ return this.IsNull(this.tableEquipmentME.assetColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetassetNull() {
+ this[this.tableEquipmentME.assetColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tableEquipmentME.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tableEquipmentME.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstypeNull() {
+ return this.IsNull(this.tableEquipmentME.typeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettypeNull() {
+ this[this.tableEquipmentME.typeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tableEquipmentME.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tableEquipmentME.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tableEquipmentME.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tableEquipmentME.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsserialNull() {
+ return this.IsNull(this.tableEquipmentME.serialColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetserialNull() {
+ this[this.tableEquipmentME.serialColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tableEquipmentME.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tableEquipmentME.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsprimaryNull() {
+ return this.IsNull(this.tableEquipmentME.primaryColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetprimaryNull() {
+ this[this.tableEquipmentME.primaryColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsexceptNull() {
+ return this.IsNull(this.tableEquipmentME.exceptColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetexceptNull() {
+ this[this.tableEquipmentME.exceptColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmemoNull() {
+ return this.IsNull(this.tableEquipmentME.memoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmemoNull() {
+ this[this.tableEquipmentME.memoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tableEquipmentME.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tableEquipmentME.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tableEquipmentME.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tableEquipmentME.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Isparam1Null() {
+ return this.IsNull(this.tableEquipmentME.param1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Setparam1Null() {
+ this[this.tableEquipmentME.param1Column] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class vEquStockBRow : global::System.Data.DataRow {
+
+ private vEquStockBDataTable tablevEquStockB;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal vEquStockBRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablevEquStockB = ((vEquStockBDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string pdate {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.pdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string manu {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.manuColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string model {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.modelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int cnt {
+ get {
+ try {
+ return ((int)(this[this.tablevEquStockB.cntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'cnt\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.cntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Remark {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockB.RemarkColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockB\' 테이블의 \'Remark\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockB.RemarkColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tablevEquStockB.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tablevEquStockB.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tablevEquStockB.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tablevEquStockB.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tablevEquStockB.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tablevEquStockB.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tablevEquStockB.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tablevEquStockB.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tablevEquStockB.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tablevEquStockB.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tablevEquStockB.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tablevEquStockB.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tablevEquStockB.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tablevEquStockB.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscntNull() {
+ return this.IsNull(this.tablevEquStockB.cntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcntNull() {
+ this[this.tablevEquStockB.cntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsRemarkNull() {
+ return this.IsNull(this.tablevEquStockB.RemarkColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetRemarkNull() {
+ this[this.tablevEquStockB.RemarkColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class vEquStockFRow : global::System.Data.DataRow {
+
+ private vEquStockFDataTable tablevEquStockF;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal vEquStockFRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablevEquStockF = ((vEquStockFDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string pdate {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.pdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string manu {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.manuColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string model {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.modelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int cnt {
+ get {
+ try {
+ return ((int)(this[this.tablevEquStockF.cntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'cnt\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.cntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Remark {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockF.RemarkColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockF\' 테이블의 \'Remark\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockF.RemarkColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tablevEquStockF.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tablevEquStockF.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tablevEquStockF.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tablevEquStockF.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tablevEquStockF.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tablevEquStockF.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tablevEquStockF.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tablevEquStockF.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tablevEquStockF.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tablevEquStockF.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tablevEquStockF.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tablevEquStockF.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tablevEquStockF.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tablevEquStockF.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscntNull() {
+ return this.IsNull(this.tablevEquStockF.cntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcntNull() {
+ this[this.tablevEquStockF.cntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsRemarkNull() {
+ return this.IsNull(this.tablevEquStockF.RemarkColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetRemarkNull() {
+ this[this.tablevEquStockF.RemarkColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class vEquStockMERow : global::System.Data.DataRow {
+
+ private vEquStockMEDataTable tablevEquStockME;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal vEquStockMERow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablevEquStockME = ((vEquStockMEDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string pdate {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.pdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string manu {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.manuColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.manuColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string model {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.modelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.modelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string linecode {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.linecodeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.linecodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineT {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.lineTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'lineT\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.lineTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string lineP {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.linePColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'lineP\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.linePColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int cnt {
+ get {
+ try {
+ return ((int)(this[this.tablevEquStockME.cntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'cnt\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.cntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Remark {
+ get {
+ try {
+ return ((string)(this[this.tablevEquStockME.RemarkColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'vEquStockME\' 테이블의 \'Remark\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tablevEquStockME.RemarkColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tablevEquStockME.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tablevEquStockME.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tablevEquStockME.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tablevEquStockME.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmanuNull() {
+ return this.IsNull(this.tablevEquStockME.manuColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmanuNull() {
+ this[this.tablevEquStockME.manuColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmodelNull() {
+ return this.IsNull(this.tablevEquStockME.modelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmodelNull() {
+ this[this.tablevEquStockME.modelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinecodeNull() {
+ return this.IsNull(this.tablevEquStockME.linecodeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinecodeNull() {
+ this[this.tablevEquStockME.linecodeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslineTNull() {
+ return this.IsNull(this.tablevEquStockME.lineTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlineTNull() {
+ this[this.tablevEquStockME.lineTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslinePNull() {
+ return this.IsNull(this.tablevEquStockME.linePColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlinePNull() {
+ this[this.tablevEquStockME.linePColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscntNull() {
+ return this.IsNull(this.tablevEquStockME.cntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcntNull() {
+ this[this.tablevEquStockME.cntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsRemarkNull() {
+ return this.IsNull(this.tablevEquStockME.RemarkColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetRemarkNull() {
+ this[this.tablevEquStockME.RemarkColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class EquipmentFilterRow : global::System.Data.DataRow {
+
+ private EquipmentFilterDataTable tableEquipmentFilter;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal EquipmentFilterRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableEquipmentFilter = ((EquipmentFilterDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableEquipmentFilter.idxColumn]));
+ }
+ set {
+ this[this.tableEquipmentFilter.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string type {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentFilter.typeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'type\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.typeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Title {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentFilter.TitleColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'Title\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.TitleColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Filter {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentFilter.FilterColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'Filter\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.FilterColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Apply {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentFilter.ApplyColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'Apply\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.ApplyColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string memo {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentFilter.memoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.memoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string wuid {
+ get {
+ try {
+ return ((string)(this[this.tableEquipmentFilter.wuidColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'wuid\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableEquipmentFilter.wdateColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'EquipmentFilter\' 테이블의 \'wdate\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableEquipmentFilter.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstypeNull() {
+ return this.IsNull(this.tableEquipmentFilter.typeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettypeNull() {
+ this[this.tableEquipmentFilter.typeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsTitleNull() {
+ return this.IsNull(this.tableEquipmentFilter.TitleColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetTitleNull() {
+ this[this.tableEquipmentFilter.TitleColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFilterNull() {
+ return this.IsNull(this.tableEquipmentFilter.FilterColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFilterNull() {
+ this[this.tableEquipmentFilter.FilterColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsApplyNull() {
+ return this.IsNull(this.tableEquipmentFilter.ApplyColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetApplyNull() {
+ this[this.tableEquipmentFilter.ApplyColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmemoNull() {
+ return this.IsNull(this.tableEquipmentFilter.memoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmemoNull() {
+ this[this.tableEquipmentFilter.memoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IswuidNull() {
+ return this.IsNull(this.tableEquipmentFilter.wuidColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetwuidNull() {
+ this[this.tableEquipmentFilter.wuidColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IswdateNull() {
+ return this.IsNull(this.tableEquipmentFilter.wdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetwdateNull() {
+ this[this.tableEquipmentFilter.wdateColumn] = global::System.Convert.DBNull;
}
}
@@ -1442,22 +6201,226 @@ namespace Project {
///Row event argument class
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public class EquipmentRowChangeEvent : global::System.EventArgs {
+ public class EquipmentFRowChangeEvent : global::System.EventArgs {
- private EquipmentRow eventRow;
+ private EquipmentFRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentRowChangeEvent(EquipmentRow row, global::System.Data.DataRowAction action) {
+ public EquipmentFRowChangeEvent(EquipmentFRow 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", "4.0.0.0")]
- public EquipmentRow Row {
+ public EquipmentFRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public class EquipmentBRowChangeEvent : global::System.EventArgs {
+
+ private EquipmentBRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentBRowChangeEvent(EquipmentBRow 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", "4.0.0.0")]
+ public EquipmentBRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public class EquipmentMERowChangeEvent : global::System.EventArgs {
+
+ private EquipmentMERow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentMERowChangeEvent(EquipmentMERow 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", "4.0.0.0")]
+ public EquipmentMERow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public class vEquStockBRowChangeEvent : global::System.EventArgs {
+
+ private vEquStockBRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockBRowChangeEvent(vEquStockBRow 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", "4.0.0.0")]
+ public vEquStockBRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public class vEquStockFRowChangeEvent : global::System.EventArgs {
+
+ private vEquStockFRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockFRowChangeEvent(vEquStockFRow 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", "4.0.0.0")]
+ public vEquStockFRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public class vEquStockMERowChangeEvent : global::System.EventArgs {
+
+ private vEquStockMERow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public vEquStockMERowChangeEvent(vEquStockMERow 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", "4.0.0.0")]
+ public vEquStockMERow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public class EquipmentFilterRowChangeEvent : global::System.EventArgs {
+
+ private EquipmentFilterRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public EquipmentFilterRowChangeEvent(EquipmentFilterRow 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", "4.0.0.0")]
+ public EquipmentFilterRow Row {
get {
return this.eventRow;
}
@@ -1611,11 +6574,25 @@ namespace Project.dsEQTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT pdate\r\nFROM Equipment\r\nGROUP BY pdate\r\nORDER BY pdate";
+ this._commandCollection[0].CommandText = "SELECT pdate\r\nFROM EquipmentB\r\nGROUP BY pdate\r\nUNION ALL\r\nSELECT pdate\r\nFRO" +
+ "M EquipmentF\r\nGROUP BY pdate\r\nUNION ALL\r\nSELECT pdate\r\nFROM EquipmentME" +
+ "\r\nGROUP BY pdate";
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";
+ 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";
+ 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 EquipmentME\r\nGROUP BY pdate\r\norder by pdate";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1641,6 +6618,39 @@ namespace Project.dsEQTableAdapters {
this.Adapter.Fill(dataTable);
return dataTable;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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() {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ 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", "4.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() {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ 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", "4.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() {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ dsEQ.EqDateListDataTable dataTable = new dsEQ.EqDateListDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
}
///
@@ -1652,7 +6662,7 @@ namespace Project.dsEQTableAdapters {
[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 EquipmentTableAdapter : global::System.ComponentModel.Component {
+ public partial class EquipmentFTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
@@ -1666,7 +6676,7 @@ namespace Project.dsEQTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentTableAdapter() {
+ public EquipmentFTableAdapter() {
this.ClearBeforeFill = true;
}
@@ -1763,7 +6773,7 @@ namespace Project.dsEQTableAdapters {
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 = "Equipment";
+ tableMapping.DataSetTable = "EquipmentF";
tableMapping.ColumnMappings.Add("idx", "idx");
tableMapping.ColumnMappings.Add("pdate", "pdate");
tableMapping.ColumnMappings.Add("asset", "asset");
@@ -1778,10 +6788,13 @@ namespace Project.dsEQTableAdapters {
tableMapping.ColumnMappings.Add("memo", "memo");
tableMapping.ColumnMappings.Add("wuid", "wuid");
tableMapping.ColumnMappings.Add("wdate", "wdate");
+ tableMapping.ColumnMappings.Add("lineT", "lineT");
+ tableMapping.ColumnMappings.Add("lineP", "lineP");
+ tableMapping.ColumnMappings.Add("param1", "param1");
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 [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_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))";
+ 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)))";
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, "", "", ""));
@@ -1808,10 +6821,16 @@ namespace Project.dsEQTableAdapters {
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.DateTime, 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_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_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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [Equipment] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate FROM Equipment 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]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1 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, "", "", ""));
@@ -1826,10 +6845,32 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
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.DateTime, 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("@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("@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 = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = @"UPDATE [Equipment] 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 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));
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate FROM Equipment WHERE (idx = @idx)";
+ 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 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] = @Origina" +
+ "l_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)) AN" +
+ "D ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_line" +
+ "code)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_s" +
+ "erial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu))" +
+ " AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_prim" +
+ "ary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_ex" +
+ "cept)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) " +
+ "AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_line" +
+ "T = 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)));\r\nSELECT idx, pdate, a" +
+ "sset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid," +
+ " wdate, lineT, lineP, param1 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, "", "", ""));
@@ -1844,6 +6885,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
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.DateTime, 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("@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("@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("@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, "", "", ""));
@@ -1869,6 +6913,12 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
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.DateTime, 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_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_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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -1882,20 +6932,26 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ 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, model, linecode, serial, manu, [primary], [" +
- "except], memo, wuid, wdate\r\nFROM Equipment\r\nWHERE (pdate = @pdate)";
+ "except], memo, wuid, wdate, lineT, lineP, param1\r\nFROM EquipmentF\r\nWHERE (p" +
+ "date = @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 [EquipmentF] 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", "4.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.EquipmentDataTable dataTable, string pdate) {
+ public virtual int Fill(dsEQ.EquipmentFDataTable dataTable, string pdate) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((pdate == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -1914,7 +6970,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual dsEQ.EquipmentDataTable GetData(string pdate) {
+ public virtual dsEQ.EquipmentFDataTable GetData(string pdate) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((pdate == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -1922,7 +6978,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(pdate));
}
- dsEQ.EquipmentDataTable dataTable = new dsEQ.EquipmentDataTable();
+ dsEQ.EquipmentFDataTable dataTable = new dsEQ.EquipmentFDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
@@ -1930,7 +6986,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(dsEQ.EquipmentDataTable dataTable) {
+ public virtual int Update(dsEQ.EquipmentFDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
@@ -1938,7 +6994,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(dsEQ dataSet) {
- return this.Adapter.Update(dataSet, "Equipment");
+ return this.Adapter.Update(dataSet, "EquipmentF");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1960,7 +7016,24 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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_model, string Original_linecode, string Original_serial, string Original_manu, global::System.Nullable Original_primary, global::System.Nullable Original_except, string Original_memo, string Original_wuid, System.DateTime Original_wdate) {
+ public virtual int Delete(
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_param1) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -2057,6 +7130,30 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_wuid));
}
this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_lineT == 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_lineT));
+ }
+ if ((Original_lineP == 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_lineP));
+ }
+ 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));
+ }
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)) {
@@ -2077,7 +7174,23 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 model, string linecode, string serial, string manu, global::System.Nullable primary, global::System.Nullable except, string memo, string wuid, System.DateTime wdate) {
+ public virtual int Insert(
+ string pdate,
+ string asset,
+ string grp,
+ string type,
+ string model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -2151,6 +7264,24 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(wuid));
}
this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(wdate));
+ if ((lineT == null)) {
+ this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[13].Value = ((string)(lineT));
+ }
+ if ((lineP == null)) {
+ this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[14].Value = ((string)(lineP));
+ }
+ if ((param1 == null)) {
+ this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[15].Value = ((string)(param1));
+ }
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)) {
@@ -2185,6 +7316,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string memo,
string wuid,
System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -2199,6 +7333,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string Original_memo,
string Original_wuid,
System.DateTime Original_wdate,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_param1,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -2273,103 +7410,145 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(wuid));
}
this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(wdate));
- this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx));
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ if ((lineT == null)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(lineT));
+ }
+ if ((lineP == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(lineP));
+ }
+ if ((param1 == null)) {
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_pdate));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(param1));
+ }
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_pdate));
}
if ((Original_asset == null)) {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_asset));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_asset));
}
if ((Original_grp == null)) {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_grp));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_grp));
}
if ((Original_type == null)) {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_type));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_type));
}
if ((Original_model == null)) {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_model));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_model));
}
if ((Original_linecode == null)) {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_linecode));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_linecode));
}
if ((Original_serial == null)) {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_serial));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_serial));
}
if ((Original_manu == null)) {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_manu));
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_manu));
}
if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_primary.Value));
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((bool)(Original_primary.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
if ((Original_except.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[33].Value = ((bool)(Original_except.Value));
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_except.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
if ((Original_memo == null)) {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_memo));
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_memo));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_wuid));
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_wuid));
}
- this.Adapter.UpdateCommand.Parameters[37].Value = ((System.DateTime)(Original_wdate));
- this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(idx));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((System.DateTime)(Original_wdate));
+ 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_param1 == 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_param1));
+ }
+ this.Adapter.UpdateCommand.Parameters[47].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)) {
@@ -2404,6 +7583,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
string memo,
string wuid,
System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1,
int Original_idx,
string Original_pdate,
string Original_asset,
@@ -2417,8 +7599,3079 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
global::System.Nullable Original_except,
string Original_memo,
string Original_wuid,
- System.DateTime Original_wdate) {
- return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, 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_idx);
+ System.DateTime Original_wdate,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_param1) {
+ return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineT, lineP, param1, 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_idx);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 EquipmentBTableAdapter : 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", "4.0.0.0")]
+ public EquipmentBTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "EquipmentB";
+ 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("model", "model");
+ tableMapping.ColumnMappings.Add("linecode", "linecode");
+ tableMapping.ColumnMappings.Add("serial", "serial");
+ tableMapping.ColumnMappings.Add("manu", "manu");
+ 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");
+ tableMapping.ColumnMappings.Add("lineT", "lineT");
+ tableMapping.ColumnMappings.Add("lineP", "lineP");
+ tableMapping.ColumnMappings.Add("param1", "param1");
+ 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)))";
+ 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_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_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_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.DateTime, 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_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_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.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]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1 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, "", "", ""));
+ 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("@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("@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("@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.DateTime, 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("@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("@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 = 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 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] = @Origina" +
+ "l_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)) AN" +
+ "D ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_line" +
+ "code)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_s" +
+ "erial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu))" +
+ " AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_prim" +
+ "ary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_ex" +
+ "cept)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) " +
+ "AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_line" +
+ "T = 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)));\r\nSELECT idx, pdate, a" +
+ "sset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid," +
+ " wdate, lineT, lineP, param1 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, "", "", ""));
+ 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("@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("@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("@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.DateTime, 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("@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("@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("@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_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_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_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.DateTime, 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_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_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("@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", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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, model, linecode, serial, manu, [primary], [" +
+ "except], memo, wuid, wdate, lineT, lineP, param1\r\nFROM EquipmentB\r\nWHERE (p" +
+ "date = @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 [EquipmentB] 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", "4.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.EquipmentBDataTable 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.EquipmentBDataTable 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.EquipmentBDataTable dataTable = new dsEQ.EquipmentBDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ.EquipmentBDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ dataSet) {
+ return this.Adapter.Update(dataSet, "EquipmentB");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_param1) {
+ 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_model == 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_model));
+ }
+ if ((Original_linecode == 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_linecode));
+ }
+ if ((Original_serial == 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_serial));
+ }
+ if ((Original_manu == 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_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((bool)(Original_primary.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((bool)(Original_except.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == 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_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_lineT == 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_lineT));
+ }
+ if ((Original_lineP == 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_lineP));
+ }
+ 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));
+ }
+ 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", "4.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 model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1) {
+ 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 ((model == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(model));
+ }
+ if ((linecode == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(linecode));
+ }
+ if ((serial == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(serial));
+ }
+ if ((manu == null)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(manu));
+ }
+ if ((primary.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(primary.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((except.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(except.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[11].Value = ((string)(wuid));
+ }
+ this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(wdate));
+ if ((lineT == null)) {
+ this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[13].Value = ((string)(lineT));
+ }
+ if ((lineP == null)) {
+ this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[14].Value = ((string)(lineP));
+ }
+ if ((param1 == null)) {
+ this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[15].Value = ((string)(param1));
+ }
+ 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", "4.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 model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1,
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_param1,
+ 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 ((model == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(model));
+ }
+ if ((linecode == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(linecode));
+ }
+ if ((serial == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(serial));
+ }
+ if ((manu == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(manu));
+ }
+ if ((primary.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(primary.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(except.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(wdate));
+ if ((lineT == null)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(lineT));
+ }
+ if ((lineP == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(lineP));
+ }
+ if ((param1 == null)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(param1));
+ }
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_pdate));
+ }
+ if ((Original_asset == null)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_asset));
+ }
+ if ((Original_grp == 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_grp));
+ }
+ if ((Original_type == 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_type));
+ }
+ if ((Original_model == 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_model));
+ }
+ if ((Original_linecode == 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_linecode));
+ }
+ if ((Original_serial == 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_serial));
+ }
+ if ((Original_manu == 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_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((bool)(Original_primary.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
+ }
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_except.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == 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_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((System.DateTime)(Original_wdate));
+ 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_param1 == 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_param1));
+ }
+ this.Adapter.UpdateCommand.Parameters[47].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", "4.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 model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineT,
+ string lineP,
+ string param1,
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineT,
+ string Original_lineP,
+ string Original_param1) {
+ return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineT, lineP, param1, 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_idx);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 EquipmentMETableAdapter : 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", "4.0.0.0")]
+ public EquipmentMETableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "EquipmentME";
+ 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("model", "model");
+ tableMapping.ColumnMappings.Add("linecode", "linecode");
+ tableMapping.ColumnMappings.Add("serial", "serial");
+ tableMapping.ColumnMappings.Add("manu", "manu");
+ 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");
+ tableMapping.ColumnMappings.Add("lineP", "lineP");
+ tableMapping.ColumnMappings.Add("lineT", "lineT");
+ tableMapping.ColumnMappings.Add("param1", "param1");
+ 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)))";
+ 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_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_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_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.DateTime, 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_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_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_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.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]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineP, @lineT, @param1);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1 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, "", "", ""));
+ 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("@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("@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("@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.DateTime, 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("@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("@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("@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 = 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 WHERE" +
+ " (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdat" +
+ "e] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] " +
+ "= @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Origin" +
+ "al_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)) A" +
+ "ND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_lin" +
+ "ecode)) 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_pri" +
+ "mary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_e" +
+ "xcept)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo))" +
+ " AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_lin" +
+ "eP = 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)));\r\nSELECT idx, pdate, " +
+ "asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid" +
+ ", wdate, lineP, lineT, param1 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, "", "", ""));
+ 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("@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("@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("@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.DateTime, 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("@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("@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("@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("@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_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_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_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.DateTime, 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_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_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_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("@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", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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, model, linecode, serial, manu, [primary], [" +
+ "except], memo, wuid, wdate, lineP, lineT, param1\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();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "DELETE FROM [EquipmentME] 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", "4.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.EquipmentMEDataTable 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.EquipmentMEDataTable 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.EquipmentMEDataTable dataTable = new dsEQ.EquipmentMEDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ.EquipmentMEDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ dataSet) {
+ return this.Adapter.Update(dataSet, "EquipmentME");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineP,
+ string Original_lineT,
+ string Original_param1) {
+ 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_model == 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_model));
+ }
+ if ((Original_linecode == 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_linecode));
+ }
+ if ((Original_serial == 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_serial));
+ }
+ if ((Original_manu == 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_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((bool)(Original_primary.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((bool)(Original_except.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == 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_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_lineP == 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_lineP));
+ }
+ if ((Original_lineT == 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_lineT));
+ }
+ 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));
+ }
+ 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", "4.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 model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineP,
+ string lineT,
+ string param1) {
+ 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 ((model == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(model));
+ }
+ if ((linecode == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(linecode));
+ }
+ if ((serial == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(serial));
+ }
+ if ((manu == null)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(manu));
+ }
+ if ((primary.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(primary.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((except.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(except.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[11].Value = ((string)(wuid));
+ }
+ this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(wdate));
+ if ((lineP == null)) {
+ this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[13].Value = ((string)(lineP));
+ }
+ if ((lineT == null)) {
+ this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[14].Value = ((string)(lineT));
+ }
+ if ((param1 == null)) {
+ this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[15].Value = ((string)(param1));
+ }
+ 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", "4.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 model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineP,
+ string lineT,
+ string param1,
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineP,
+ string Original_lineT,
+ string Original_param1,
+ 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 ((model == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(model));
+ }
+ if ((linecode == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(linecode));
+ }
+ if ((serial == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(serial));
+ }
+ if ((manu == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(manu));
+ }
+ if ((primary.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(primary.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(except.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(wdate));
+ if ((lineP == null)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(lineP));
+ }
+ if ((lineT == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(lineT));
+ }
+ if ((param1 == null)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(param1));
+ }
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
+ if ((Original_pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_pdate));
+ }
+ if ((Original_asset == null)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_asset));
+ }
+ if ((Original_grp == 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_grp));
+ }
+ if ((Original_type == 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_type));
+ }
+ if ((Original_model == 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_model));
+ }
+ if ((Original_linecode == 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_linecode));
+ }
+ if ((Original_serial == 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_serial));
+ }
+ if ((Original_manu == 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_manu));
+ }
+ if ((Original_primary.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((bool)(Original_primary.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
+ }
+ if ((Original_except.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_except.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == 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_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_lineP == 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_lineP));
+ }
+ 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_param1 == 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_param1));
+ }
+ this.Adapter.UpdateCommand.Parameters[47].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", "4.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 model,
+ string linecode,
+ string serial,
+ string manu,
+ global::System.Nullable primary,
+ global::System.Nullable except,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ string lineP,
+ string lineT,
+ string param1,
+ int Original_idx,
+ string Original_pdate,
+ string Original_asset,
+ string Original_grp,
+ string Original_type,
+ string Original_model,
+ string Original_linecode,
+ string Original_serial,
+ string Original_manu,
+ global::System.Nullable Original_primary,
+ global::System.Nullable Original_except,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_lineP,
+ string Original_lineT,
+ string Original_param1) {
+ return this.Update(pdate, asset, grp, type, model, linecode, serial, manu, primary, except, memo, wuid, wdate, lineP, lineT, param1, 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_idx);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 vEquStockBTableAdapter : 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", "4.0.0.0")]
+ public vEquStockBTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "vEquStockB";
+ 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");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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\r\nFROM vE" +
+ "quStockB\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", "4.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.vEquStockBDataTable 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.vEquStockBDataTable 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.vEquStockBDataTable dataTable = new dsEQ.vEquStockBDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///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 vEquStockFTableAdapter : 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", "4.0.0.0")]
+ public vEquStockFTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "vEquStockF";
+ 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");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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\r\nFROM vE" +
+ "quStockF\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", "4.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.vEquStockFDataTable 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.vEquStockFDataTable 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.vEquStockFDataTable dataTable = new dsEQ.vEquStockFDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///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 vEquStockMETableAdapter : 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", "4.0.0.0")]
+ public vEquStockMETableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "vEquStockME";
+ 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");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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\r\nFROM vE" +
+ "quStockME\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", "4.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.vEquStockMEDataTable 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.vEquStockMEDataTable 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.vEquStockMEDataTable dataTable = new dsEQ.vEquStockMEDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///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 EquipmentFilterTableAdapter : 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", "4.0.0.0")]
+ public EquipmentFilterTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "EquipmentFilter";
+ tableMapping.ColumnMappings.Add("idx", "idx");
+ tableMapping.ColumnMappings.Add("type", "type");
+ tableMapping.ColumnMappings.Add("Title", "Title");
+ tableMapping.ColumnMappings.Add("Filter", "Filter");
+ tableMapping.ColumnMappings.Add("Apply", "Apply");
+ 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 [EquipmentFilter] WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([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_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_Title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Title", 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("@IsNull_wuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_wdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 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 [EquipmentFilter] ([type], [Title], [Filter], [Apply], [memo], [wuid], [wdate]) VALUES (@type, @Title, @Filter, @Apply, @memo, @wuid, @wdate);
+SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter WHERE (idx = SCOPE_IDENTITY()) ORDER BY Title";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ 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("@Title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Filter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Filter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Apply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Apply", 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.DateTime, 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 [EquipmentFilter] SET [type] = @type, [Title] = @Title, [Filter] = @Filter, [Apply] = @Apply, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)));
+SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter WHERE (idx = @idx) ORDER BY Title";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ 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("@Title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Filter", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Filter", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Apply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Apply", 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.DateTime, 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_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_Title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Title", 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("@IsNull_wuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_wdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 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", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 idx, type, Title, Filter, Apply, memo, wuid, wdate\r\nFROM EquipmentFil" +
+ "ter\r\nWHERE (type = @type)\r\nORDER BY Title";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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.EquipmentFilterDataTable dataTable, string type) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((type == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(type));
+ }
+ 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsEQ.EquipmentFilterDataTable GetData(string type) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((type == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(type));
+ }
+ dsEQ.EquipmentFilterDataTable dataTable = new dsEQ.EquipmentFilterDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ.EquipmentFilterDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsEQ dataSet) {
+ return this.Adapter.Update(dataSet, "EquipmentFilter");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_type, string Original_Title, string Original_memo, string Original_wuid, global::System.Nullable Original_wdate) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
+ if ((Original_type == 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_type));
+ }
+ if ((Original_Title == 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_Title));
+ }
+ if ((Original_memo == 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_memo));
+ }
+ if ((Original_wuid == 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_wuid));
+ }
+ if ((Original_wdate.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((System.DateTime)(Original_wdate.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].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)) {
+ 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", "4.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 type, string Title, string Filter, string Apply, string memo, string wuid, global::System.Nullable wdate) {
+ if ((type == null)) {
+ this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(type));
+ }
+ if ((Title == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Title));
+ }
+ if ((Filter == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Filter));
+ }
+ if ((Apply == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Apply));
+ }
+ if ((memo == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(wuid));
+ }
+ if ((wdate.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(wdate.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].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)) {
+ 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", "4.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 type, string Title, string Filter, string Apply, string memo, string wuid, global::System.Nullable wdate, int Original_idx, string Original_type, string Original_Title, string Original_memo, string Original_wuid, global::System.Nullable Original_wdate, int idx) {
+ if ((type == null)) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(type));
+ }
+ if ((Title == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Title));
+ }
+ if ((Filter == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Filter));
+ }
+ if ((Apply == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Apply));
+ }
+ if ((memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(wuid));
+ }
+ if ((wdate.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(wdate.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_idx));
+ if ((Original_type == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_type));
+ }
+ if ((Original_Title == 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_Title));
+ }
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_memo));
+ }
+ if ((Original_wuid == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_wuid));
+ }
+ if ((Original_wdate.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_wdate.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[18].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", "4.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 type, string Title, string Filter, string Apply, string memo, string wuid, global::System.Nullable wdate, int Original_idx, string Original_type, string Original_Title, string Original_memo, string Original_wuid, global::System.Nullable Original_wdate) {
+ return this.Update(type, Title, Filter, Apply, memo, wuid, wdate, Original_idx, Original_type, Original_Title, Original_memo, Original_wuid, Original_wdate, Original_idx);
}
}
@@ -2434,7 +10687,13 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
private UpdateOrderOption _updateOrder;
- private EquipmentTableAdapter _equipmentTableAdapter;
+ private EquipmentFTableAdapter _equipmentFTableAdapter;
+
+ private EquipmentBTableAdapter _equipmentBTableAdapter;
+
+ private EquipmentMETableAdapter _equipmentMETableAdapter;
+
+ private EquipmentFilterTableAdapter _equipmentFilterTableAdapter;
private bool _backupDataSetBeforeUpdate;
@@ -2456,12 +10715,54 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[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 EquipmentTableAdapter EquipmentTableAdapter {
+ public EquipmentFTableAdapter EquipmentFTableAdapter {
get {
- return this._equipmentTableAdapter;
+ return this._equipmentFTableAdapter;
}
set {
- this._equipmentTableAdapter = value;
+ this._equipmentFTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 EquipmentBTableAdapter EquipmentBTableAdapter {
+ get {
+ return this._equipmentBTableAdapter;
+ }
+ set {
+ this._equipmentBTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 EquipmentMETableAdapter EquipmentMETableAdapter {
+ get {
+ return this._equipmentMETableAdapter;
+ }
+ set {
+ this._equipmentMETableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 EquipmentFilterTableAdapter EquipmentFilterTableAdapter {
+ get {
+ return this._equipmentFilterTableAdapter;
+ }
+ set {
+ this._equipmentFilterTableAdapter = value;
}
}
@@ -2484,9 +10785,21 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
if ((this._connection != null)) {
return this._connection;
}
- if (((this._equipmentTableAdapter != null)
- && (this._equipmentTableAdapter.Connection != null))) {
- return this._equipmentTableAdapter.Connection;
+ if (((this._equipmentFTableAdapter != null)
+ && (this._equipmentFTableAdapter.Connection != null))) {
+ return this._equipmentFTableAdapter.Connection;
+ }
+ if (((this._equipmentBTableAdapter != null)
+ && (this._equipmentBTableAdapter.Connection != null))) {
+ return this._equipmentBTableAdapter.Connection;
+ }
+ if (((this._equipmentMETableAdapter != null)
+ && (this._equipmentMETableAdapter.Connection != null))) {
+ return this._equipmentMETableAdapter.Connection;
+ }
+ if (((this._equipmentFilterTableAdapter != null)
+ && (this._equipmentFilterTableAdapter.Connection != null))) {
+ return this._equipmentFilterTableAdapter.Connection;
}
return null;
}
@@ -2501,7 +10814,16 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
public int TableAdapterInstanceCount {
get {
int count = 0;
- if ((this._equipmentTableAdapter != null)) {
+ if ((this._equipmentFTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._equipmentBTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._equipmentMETableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._equipmentFilterTableAdapter != null)) {
count = (count + 1);
}
return count;
@@ -2515,12 +10837,39 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateUpdatedRows(dsEQ dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
- if ((this._equipmentTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.Equipment.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._equipmentFTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EquipmentF.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._equipmentTableAdapter.Update(updatedRows));
+ result = (result + this._equipmentFTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._equipmentBTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EquipmentB.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._equipmentBTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._equipmentMETableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EquipmentME.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._equipmentMETableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._equipmentFilterTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EquipmentFilter.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._equipmentFilterTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -2534,11 +10883,35 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateInsertedRows(dsEQ dataSet, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
- if ((this._equipmentTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.Equipment.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._equipmentFTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EquipmentF.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._equipmentTableAdapter.Update(addedRows));
+ result = (result + this._equipmentFTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._equipmentBTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EquipmentB.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._equipmentBTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._equipmentMETableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EquipmentME.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._equipmentMETableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._equipmentFilterTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EquipmentFilter.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._equipmentFilterTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -2552,11 +10925,35 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(dsEQ dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
- if ((this._equipmentTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.Equipment.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._equipmentFilterTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EquipmentFilter.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._equipmentTableAdapter.Update(deletedRows));
+ result = (result + this._equipmentFilterTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._equipmentMETableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EquipmentME.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._equipmentMETableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._equipmentBTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EquipmentB.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._equipmentBTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._equipmentFTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EquipmentF.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._equipmentFTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -2599,8 +10996,20 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
if ((dataSet.HasChanges() == false)) {
return 0;
}
- if (((this._equipmentTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._equipmentTableAdapter.Connection) == false))) {
+ if (((this._equipmentFTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._equipmentFTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
+ if (((this._equipmentBTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._equipmentBTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
+ if (((this._equipmentMETableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._equipmentMETableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
+ if (((this._equipmentFilterTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._equipmentFilterTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
}
global::System.Data.IDbConnection workConnection = this.Connection;
@@ -2634,13 +11043,40 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
try {
// ---- Prepare for update -----------
//
- if ((this._equipmentTableAdapter != null)) {
- revertConnections.Add(this._equipmentTableAdapter, this._equipmentTableAdapter.Connection);
- this._equipmentTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
- this._equipmentTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
- if (this._equipmentTableAdapter.Adapter.AcceptChangesDuringUpdate) {
- this._equipmentTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
- adaptersWithAcceptChangesDuringUpdate.Add(this._equipmentTableAdapter.Adapter);
+ if ((this._equipmentFTableAdapter != null)) {
+ revertConnections.Add(this._equipmentFTableAdapter, this._equipmentFTableAdapter.Connection);
+ this._equipmentFTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._equipmentFTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._equipmentFTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._equipmentFTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._equipmentFTableAdapter.Adapter);
+ }
+ }
+ if ((this._equipmentBTableAdapter != null)) {
+ revertConnections.Add(this._equipmentBTableAdapter, this._equipmentBTableAdapter.Connection);
+ this._equipmentBTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._equipmentBTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._equipmentBTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._equipmentBTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._equipmentBTableAdapter.Adapter);
+ }
+ }
+ if ((this._equipmentMETableAdapter != null)) {
+ revertConnections.Add(this._equipmentMETableAdapter, this._equipmentMETableAdapter.Connection);
+ this._equipmentMETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._equipmentMETableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._equipmentMETableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._equipmentMETableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._equipmentMETableAdapter.Adapter);
+ }
+ }
+ if ((this._equipmentFilterTableAdapter != null)) {
+ revertConnections.Add(this._equipmentFilterTableAdapter, this._equipmentFilterTableAdapter.Connection);
+ this._equipmentFilterTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._equipmentFilterTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._equipmentFilterTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._equipmentFilterTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._equipmentFilterTableAdapter.Adapter);
}
}
//
@@ -2701,9 +11137,21 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
if (workConnOpened) {
workConnection.Close();
}
- if ((this._equipmentTableAdapter != null)) {
- this._equipmentTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._equipmentTableAdapter]));
- this._equipmentTableAdapter.Transaction = null;
+ if ((this._equipmentFTableAdapter != null)) {
+ this._equipmentFTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._equipmentFTableAdapter]));
+ this._equipmentFTableAdapter.Transaction = null;
+ }
+ if ((this._equipmentBTableAdapter != null)) {
+ this._equipmentBTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._equipmentBTableAdapter]));
+ this._equipmentBTableAdapter.Transaction = null;
+ }
+ if ((this._equipmentMETableAdapter != null)) {
+ this._equipmentMETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._equipmentMETableAdapter]));
+ this._equipmentMETableAdapter.Transaction = null;
+ }
+ if ((this._equipmentFilterTableAdapter != null)) {
+ this._equipmentFilterTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._equipmentFilterTableAdapter]));
+ this._equipmentFilterTableAdapter.Transaction = null;
}
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
diff --git a/Project/dsEQ.xsd b/Project/dsEQ.xsd
index dde2373..4e709e1 100644
--- a/Project/dsEQ.xsd
+++ b/Project/dsEQ.xsd
@@ -9,13 +9,20 @@
-
+
-
+
SELECT pdate
-FROM Equipment
+FROM EquipmentB
GROUP BY pdate
-ORDER BY pdate
+UNION ALL
+SELECT pdate
+FROM EquipmentF
+GROUP BY pdate
+UNION ALL
+SELECT pdate
+FROM EquipmentME
+GROUP BY pdate
@@ -24,14 +31,48 @@ ORDER BY pdate
-
+
+
+
+
+ SELECT pdate
+FROM EquipmentB
+GROUP BY pdate
+order by pdate
+
+
+
+
+
+
+
+ SELECT pdate
+FROM EquipmentF
+GROUP BY pdate
+order by pdate
+
+
+
+
+
+
+
+ SELECT pdate
+FROM EquipmentME
+GROUP BY pdate
+order by pdate
+
+
+
+
+
-
+
-
+
- DELETE FROM [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_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))
+ 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)))
@@ -58,13 +99,19 @@ ORDER BY pdate
+
+
+
+
+
+
- INSERT INTO [Equipment] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate);
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate FROM Equipment WHERE (idx = SCOPE_IDENTITY())
+ INSERT INTO [EquipmentF] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1 FROM EquipmentF WHERE (idx = SCOPE_IDENTITY())
@@ -79,23 +126,26 @@ 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
-FROM Equipment
+ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1
+FROM EquipmentF
WHERE (pdate = @pdate)
-
+
- UPDATE [Equipment] 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 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));
-SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate FROM Equipment 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 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)));
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1 FROM EquipmentF WHERE (idx = @idx)
@@ -110,6 +160,9 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
@@ -135,7 +188,13 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
+
+
+
+
+
+
@@ -156,6 +215,522 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
+
+
+
+
+ DELETE FROM [EquipmentF] WHERE pdate = @pdate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [EquipmentB] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineT], [lineP], [param1]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineT, @lineP, @param1);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1 FROM EquipmentB WHERE (idx = SCOPE_IDENTITY())
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1
+FROM EquipmentB
+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 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)));
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineT, lineP, param1 FROM EquipmentB WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [EquipmentB] WHERE pdate = @pdate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [EquipmentME] ([pdate], [asset], [grp], [type], [model], [linecode], [serial], [manu], [primary], [except], [memo], [wuid], [wdate], [lineP], [lineT], [param1]) VALUES (@pdate, @asset, @grp, @type, @model, @linecode, @serial, @manu, @primary, @except, @memo, @wuid, @wdate, @lineP, @lineT, @param1);
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1 FROM EquipmentME WHERE (idx = SCOPE_IDENTITY())
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1
+FROM EquipmentME
+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 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)));
+SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [except], memo, wuid, wdate, lineP, lineT, param1 FROM EquipmentME WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [EquipmentME] where pdate = @pdate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark
+FROM vEquStockB
+WHERE (pdate = @pdate)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark
+FROM vEquStockF
+WHERE (pdate = @pdate)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark
+FROM vEquStockME
+WHERE (pdate = @pdate)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [EquipmentFilter] WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [EquipmentFilter] ([type], [Title], [Filter], [Apply], [memo], [wuid], [wdate]) VALUES (@type, @Title, @Filter, @Apply, @memo, @wuid, @wdate);
+SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter WHERE (idx = SCOPE_IDENTITY()) ORDER BY Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate
+FROM EquipmentFilter
+WHERE (type = @type)
+ORDER BY Title
+
+
+
+
+
+
+
+ UPDATE [EquipmentFilter] SET [type] = @type, [Title] = @Title, [Filter] = @Filter, [Apply] = @Apply, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)));
+SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter WHERE (idx = @idx) ORDER BY Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -167,7 +742,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
@@ -180,7 +755,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
@@ -257,6 +832,468 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -266,8 +1303,20 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Project/dsEQ.xss b/Project/dsEQ.xss
index 5f28270..ad80fdf 100644
--- a/Project/dsEQ.xss
+++ b/Project/dsEQ.xss
@@ -1 +1,15 @@
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Project/dsMSSQL.xss b/Project/dsMSSQL.xss
index 3878cc7..3c65d4f 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.
-->
-
+
@@ -12,7 +12,7 @@
-
+
diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs
index 060591c..6e84517 100644
--- a/Project/fMain.Designer.cs
+++ b/Project/fMain.Designer.cs
@@ -65,9 +65,10 @@
this.todoListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.managementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.equipmentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.reportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.infoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.staffToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStrip = new System.Windows.Forms.ToolStrip();
@@ -79,6 +80,7 @@
this.printPreviewToolStripButton = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tbpProject = new System.Windows.Forms.ToolStripButton();
+ this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmVision.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
@@ -336,7 +338,8 @@
// managementToolStripMenuItem
//
this.managementToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.equipmentToolStripMenuItem});
+ this.equipmentToolStripMenuItem,
+ this.personalInventoryToolStripMenuItem});
this.managementToolStripMenuItem.Name = "managementToolStripMenuItem";
this.managementToolStripMenuItem.Size = new System.Drawing.Size(90, 20);
this.managementToolStripMenuItem.Text = "Management";
@@ -344,35 +347,43 @@
// equipmentToolStripMenuItem
//
this.equipmentToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.dataFOLToolStripMenuItem,
+ this.dataMoldEOLToolStripMenuItem,
this.dataToolStripMenuItem,
- this.importToolStripMenuItem,
- this.reportToolStripMenuItem});
+ this.importToolStripMenuItem});
this.equipmentToolStripMenuItem.Name = "equipmentToolStripMenuItem";
this.equipmentToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.equipmentToolStripMenuItem.Text = "Equipment";
this.equipmentToolStripMenuItem.Click += new System.EventHandler(this.equipmentToolStripMenuItem_Click);
//
+ // dataFOLToolStripMenuItem
+ //
+ this.dataFOLToolStripMenuItem.Name = "dataFOLToolStripMenuItem";
+ this.dataFOLToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
+ this.dataFOLToolStripMenuItem.Text = "Data(FOL)";
+ this.dataFOLToolStripMenuItem.Click += new System.EventHandler(this.dataFOLToolStripMenuItem_Click);
+ //
+ // dataMoldEOLToolStripMenuItem
+ //
+ this.dataMoldEOLToolStripMenuItem.Name = "dataMoldEOLToolStripMenuItem";
+ this.dataMoldEOLToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
+ this.dataMoldEOLToolStripMenuItem.Text = "Data(Mold & EOL)";
+ this.dataMoldEOLToolStripMenuItem.Click += new System.EventHandler(this.dataMoldEOLToolStripMenuItem_Click);
+ //
// dataToolStripMenuItem
//
this.dataToolStripMenuItem.Name = "dataToolStripMenuItem";
- this.dataToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.dataToolStripMenuItem.Text = "Data";
+ this.dataToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
+ this.dataToolStripMenuItem.Text = "Data(Bump)";
this.dataToolStripMenuItem.Click += new System.EventHandler(this.dataToolStripMenuItem_Click);
//
// importToolStripMenuItem
//
this.importToolStripMenuItem.Name = "importToolStripMenuItem";
- this.importToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.importToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
this.importToolStripMenuItem.Text = "Import";
this.importToolStripMenuItem.Click += new System.EventHandler(this.importToolStripMenuItem_Click);
//
- // reportToolStripMenuItem
- //
- this.reportToolStripMenuItem.Name = "reportToolStripMenuItem";
- this.reportToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.reportToolStripMenuItem.Text = "Report";
- this.reportToolStripMenuItem.Click += new System.EventHandler(this.reportToolStripMenuItem_Click);
- //
// infoToolStripMenuItem
//
this.infoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -468,6 +479,13 @@
this.tbpProject.Text = "Project";
this.tbpProject.Click += new System.EventHandler(this.helpToolStripButton_Click);
//
+ // personalInventoryToolStripMenuItem
+ //
+ this.personalInventoryToolStripMenuItem.Enabled = false;
+ this.personalInventoryToolStripMenuItem.Name = "personalInventoryToolStripMenuItem";
+ this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
+ this.personalInventoryToolStripMenuItem.Text = "Personal Inventory";
+ //
// fMain
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -548,7 +566,9 @@
private System.Windows.Forms.ToolStripMenuItem staffGridToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dataToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem reportToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem dataFOLToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem dataMoldEOLToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem personalInventoryToolStripMenuItem;
}
}
diff --git a/Project/fMain.cs b/Project/fMain.cs
index 0558476..830a81b 100644
--- a/Project/fMain.cs
+++ b/Project/fMain.cs
@@ -216,7 +216,7 @@ namespace Project
private void dataToolStripMenuItem_Click(object sender, EventArgs e)
{
- _Management.fEquipment f = new _Management.fEquipment();
+ _Management.fEquipment f = new _Management.fEquipment(_Management.fEquipment.eTabletype.BUMP);
f.MdiParent = this;
f.Show();
}
@@ -230,8 +230,20 @@ namespace Project
private void reportToolStripMenuItem_Click(object sender, EventArgs e)
{
- _Management.rpt_equipment f = new _Management.rpt_equipment();
- //f.MdiParent = this;
+
+ }
+
+ private void dataMoldEOLToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ _Management.fEquipment f = new _Management.fEquipment(_Management.fEquipment.eTabletype.MOLD);
+ f.MdiParent = this;
+ f.Show();
+ }
+
+ private void dataFOLToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ _Management.fEquipment f = new _Management.fEquipment(_Management.fEquipment.eTabletype.FOL);
+ f.MdiParent = this;
f.Show();
}
diff --git a/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 830ef46..aa72a38 100644
Binary files a/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt b/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt
index bcde1de..7feb021 100644
--- a/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt
+++ b/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt
@@ -163,7 +163,6 @@ D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Info.fI
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Management.fEquipment.resources
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Management.fImpEquipment.resources
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Management.fLineCode.resources
-D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Management.rpt_equipment.resources
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project.Prj.fProjectList.resources
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project.Properties.Resources.resources
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\EETGW.csproj.GenerateResource.Cache
@@ -171,3 +170,5 @@ D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\RdlCompile.cache
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\RdlCompile.compiled
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\GWEE.exe
D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\GWEE.pdb
+D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Management.rpt_equipmentB.resources
+D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\obj\Debug\Project._Management.EQfilter.resources
diff --git a/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache b/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache
index ee8fc64..a38fe41 100644
Binary files a/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache and b/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache differ
diff --git a/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache b/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache
index 811f218..ce145c5 100644
Binary files a/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache and b/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache differ
diff --git a/Project/obj/Debug/GWEE.exe b/Project/obj/Debug/GWEE.exe
index e3fdbc0..726549a 100644
Binary files a/Project/obj/Debug/GWEE.exe and b/Project/obj/Debug/GWEE.exe differ
diff --git a/Project/obj/Debug/GWEE.pdb b/Project/obj/Debug/GWEE.pdb
index 0a669a3..559a22d 100644
Binary files a/Project/obj/Debug/GWEE.pdb and b/Project/obj/Debug/GWEE.pdb differ
diff --git a/Project/obj/Debug/Project._Management.fEquipment.resources b/Project/obj/Debug/Project._Management.fEquipment.resources
index 238b40a..757ce4c 100644
Binary files a/Project/obj/Debug/Project._Management.fEquipment.resources and b/Project/obj/Debug/Project._Management.fEquipment.resources differ
diff --git a/Project/obj/Debug/Project._Management.rpt_equipment.resources b/Project/obj/Debug/Project._Management.rpt_equipment.resources
deleted file mode 100644
index 6c05a97..0000000
Binary files a/Project/obj/Debug/Project._Management.rpt_equipment.resources and /dev/null differ
diff --git a/Project/obj/Debug/RdlCompile.cache b/Project/obj/Debug/RdlCompile.cache
index 325b8c0..e2d32f7 100644
Binary files a/Project/obj/Debug/RdlCompile.cache and b/Project/obj/Debug/RdlCompile.cache differ
diff --git a/Project/obj/Debug/TempPE/DataSet1.Designer.cs.dll b/Project/obj/Debug/TempPE/DataSet1.Designer.cs.dll
index a3ad775..83c3ec0 100644
Binary files a/Project/obj/Debug/TempPE/DataSet1.Designer.cs.dll and b/Project/obj/Debug/TempPE/DataSet1.Designer.cs.dll differ
diff --git a/Project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
index c386f45..76154fc 100644
Binary files a/Project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and b/Project/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/Project/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll b/Project/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll
index e44c628..0f9a47a 100644
Binary files a/Project/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll and b/Project/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll differ
diff --git a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll
index 855568e..8f9d5b7 100644
Binary files a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll and b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll differ
diff --git a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb
index 2f18583..281cba2 100644
Binary files a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb and b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb differ
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll
index 855568e..8f9d5b7 100644
Binary files a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll and b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll differ
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb
index 2f18583..281cba2 100644
Binary files a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb and b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb differ
diff --git a/Sub/test/bin/Debug/GWEE.exe b/Sub/test/bin/Debug/GWEE.exe
index 8e80bd2..4a3e170 100644
Binary files a/Sub/test/bin/Debug/GWEE.exe and b/Sub/test/bin/Debug/GWEE.exe differ
diff --git a/Sub/test/bin/Debug/GWEE.pdb b/Sub/test/bin/Debug/GWEE.pdb
index 67fc25f..a5aa5f0 100644
Binary files a/Sub/test/bin/Debug/GWEE.pdb and b/Sub/test/bin/Debug/GWEE.pdb differ
diff --git a/Sub/test/bin/Debug/arControl.Net4.dll b/Sub/test/bin/Debug/arControl.Net4.dll
index 97e5be5..28ae8ed 100644
Binary files a/Sub/test/bin/Debug/arControl.Net4.dll and b/Sub/test/bin/Debug/arControl.Net4.dll differ
diff --git a/Sub/test/bin/Debug/arControl.Net4.pdb b/Sub/test/bin/Debug/arControl.Net4.pdb
index 85c25fb..e5bd511 100644
Binary files a/Sub/test/bin/Debug/arControl.Net4.pdb and b/Sub/test/bin/Debug/arControl.Net4.pdb differ
diff --git a/Sub/test/bin/Debug/test.exe b/Sub/test/bin/Debug/test.exe
index 8d1d847..50933dd 100644
Binary files a/Sub/test/bin/Debug/test.exe and b/Sub/test/bin/Debug/test.exe differ
diff --git a/Sub/test/bin/Debug/test.pdb b/Sub/test/bin/Debug/test.pdb
index 5f396e1..490ea9c 100644
Binary files a/Sub/test/bin/Debug/test.pdb and b/Sub/test/bin/Debug/test.pdb differ
diff --git a/Sub/test/obj/Debug/test.csprojResolveAssemblyReference.cache b/Sub/test/obj/Debug/test.csprojResolveAssemblyReference.cache
index 10b3fdb..b18450e 100644
Binary files a/Sub/test/obj/Debug/test.csprojResolveAssemblyReference.cache and b/Sub/test/obj/Debug/test.csprojResolveAssemblyReference.cache differ
diff --git a/Sub/test/obj/Debug/test.exe b/Sub/test/obj/Debug/test.exe
index 8d1d847..50933dd 100644
Binary files a/Sub/test/obj/Debug/test.exe and b/Sub/test/obj/Debug/test.exe differ
diff --git a/Sub/test/obj/Debug/test.pdb b/Sub/test/obj/Debug/test.pdb
index 5f396e1..490ea9c 100644
Binary files a/Sub/test/obj/Debug/test.pdb and b/Sub/test/obj/Debug/test.pdb differ