diff --git a/EETGW.v12.suo b/EETGW.v12.suo
index 2d40dd9..4149c8a 100644
Binary files a/EETGW.v12.suo and b/EETGW.v12.suo differ
diff --git a/Project/_Management/EQfilter.Designer.cs b/Project/_Management/EQfilter.Designer.cs
new file mode 100644
index 0000000..9cf542a
--- /dev/null
+++ b/Project/_Management/EQfilter.Designer.cs
@@ -0,0 +1,405 @@
+namespace Project._Management
+{
+ partial class EQfilter
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EQfilter));
+ this.dataGridView1 = new System.Windows.Forms.DataGridView();
+ this.idxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.dsEQ = new Project.dsEQ();
+ this.ta = new Project.dsEQTableAdapters.EquipmentFilterTableAdapter();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
+ this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
+ this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.btRun = new System.Windows.Forms.ToolStripButton();
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ this.tableLayoutPanel1.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // dataGridView1
+ //
+ this.dataGridView1.AllowUserToAddRows = false;
+ this.dataGridView1.AutoGenerateColumns = false;
+ this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+ this.dataGridView1.ColumnHeadersHeight = 30;
+ this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+ this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.idxDataGridViewTextBoxColumn,
+ this.titleDataGridViewTextBoxColumn,
+ this.memoDataGridViewTextBoxColumn});
+ this.dataGridView1.DataSource = this.bs;
+ this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dataGridView1.Location = new System.Drawing.Point(3, 3);
+ this.dataGridView1.Name = "dataGridView1";
+ this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 2);
+ this.dataGridView1.RowTemplate.Height = 23;
+ this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.dataGridView1.Size = new System.Drawing.Size(454, 386);
+ this.dataGridView1.TabIndex = 2;
+ //
+ // idxDataGridViewTextBoxColumn
+ //
+ this.idxDataGridViewTextBoxColumn.DataPropertyName = "idx";
+ dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.idxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
+ this.idxDataGridViewTextBoxColumn.HeaderText = "idx";
+ this.idxDataGridViewTextBoxColumn.Name = "idxDataGridViewTextBoxColumn";
+ this.idxDataGridViewTextBoxColumn.ReadOnly = true;
+ this.idxDataGridViewTextBoxColumn.Width = 47;
+ //
+ // titleDataGridViewTextBoxColumn
+ //
+ this.titleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.titleDataGridViewTextBoxColumn.DataPropertyName = "Title";
+ this.titleDataGridViewTextBoxColumn.HeaderText = "Title";
+ this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn";
+ //
+ // memoDataGridViewTextBoxColumn
+ //
+ this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo";
+ this.memoDataGridViewTextBoxColumn.HeaderText = "memo";
+ this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn";
+ this.memoDataGridViewTextBoxColumn.Width = 66;
+ //
+ // bs
+ //
+ this.bs.DataMember = "EquipmentFilter";
+ this.bs.DataSource = this.dsEQ;
+ this.bs.Sort = "Title";
+ //
+ // dsEQ
+ //
+ this.dsEQ.DataSetName = "dsEQ";
+ this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // ta
+ //
+ this.ta.ClearBeforeFill = true;
+ //
+ // textBox1
+ //
+ this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Filter", true));
+ this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.textBox1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.textBox1.Location = new System.Drawing.Point(0, 21);
+ this.textBox1.Multiline = true;
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(246, 169);
+ this.textBox1.TabIndex = 0;
+ //
+ // textBox2
+ //
+ this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Apply", true));
+ this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.textBox2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.textBox2.Location = new System.Drawing.Point(0, 21);
+ this.textBox2.Multiline = true;
+ this.textBox2.Name = "textBox2";
+ this.textBox2.Size = new System.Drawing.Size(246, 169);
+ this.textBox2.TabIndex = 1;
+ //
+ // bn
+ //
+ this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
+ this.bn.BindingSource = this.bs;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
+ this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.bindingNavigatorMoveFirstItem,
+ this.bindingNavigatorMovePreviousItem,
+ this.bindingNavigatorSeparator,
+ this.bindingNavigatorPositionItem,
+ this.bindingNavigatorCountItem,
+ this.bindingNavigatorSeparator1,
+ this.bindingNavigatorMoveNextItem,
+ this.bindingNavigatorMoveLastItem,
+ this.bindingNavigatorSeparator2,
+ this.bindingNavigatorAddNewItem,
+ this.bindingNavigatorDeleteItem,
+ this.toolStripButton1,
+ this.btRun});
+ this.bn.Location = new System.Drawing.Point(0, 392);
+ this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
+ this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
+ this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
+ this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
+ this.bn.Name = "bn";
+ this.bn.PositionItem = this.bindingNavigatorPositionItem;
+ this.bn.Size = new System.Drawing.Size(712, 25);
+ this.bn.TabIndex = 4;
+ this.bn.Text = "bindingNavigator1";
+ //
+ // bindingNavigatorAddNewItem
+ //
+ 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(65, 22);
+ this.bindingNavigatorAddNewItem.Text = "Add(&A)";
+ //
+ // bindingNavigatorCountItem
+ //
+ this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
+ this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
+ this.bindingNavigatorCountItem.Text = "/{0}";
+ this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
+ //
+ // bindingNavigatorDeleteItem
+ //
+ 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(78, 22);
+ this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
+ //
+ // bindingNavigatorMoveFirstItem
+ //
+ this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
+ this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
+ this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
+ //
+ // bindingNavigatorMovePreviousItem
+ //
+ this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
+ this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
+ this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
+ // bindingNavigatorSeparator
+ //
+ this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorPositionItem
+ //
+ this.bindingNavigatorPositionItem.AccessibleName = "위치";
+ this.bindingNavigatorPositionItem.AutoSize = false;
+ this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
+ this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
+ this.bindingNavigatorPositionItem.Text = "0";
+ this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
+ //
+ // bindingNavigatorSeparator1
+ //
+ this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
+ this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorMoveNextItem
+ //
+ this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
+ this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
+ this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
+ //
+ // bindingNavigatorMoveLastItem
+ //
+ this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
+ this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
+ this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
+ // bindingNavigatorSeparator2
+ //
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
+ this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripButton1
+ //
+ this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(67, 22);
+ this.toolStripButton1.Text = "Save(&S)";
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 2;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 252F));
+ this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
+ this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 0);
+ this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 1);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(712, 392);
+ this.tableLayoutPanel1.TabIndex = 5;
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.textBox1);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(463, 3);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(246, 190);
+ this.panel1.TabIndex = 3;
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.textBox2);
+ this.panel2.Controls.Add(this.label2);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Location = new System.Drawing.Point(463, 199);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(246, 190);
+ this.panel2.TabIndex = 3;
+ //
+ // label1
+ //
+ this.label1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label1.Location = new System.Drawing.Point(0, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(246, 21);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Condition";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label2
+ //
+ this.label2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label2.Location = new System.Drawing.Point(0, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(246, 21);
+ this.label2.TabIndex = 0;
+ this.label2.Text = "Apply";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // btRun
+ //
+ this.btRun.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.btRun.Image = ((System.Drawing.Image)(resources.GetObject("btRun.Image")));
+ this.btRun.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btRun.Name = "btRun";
+ this.btRun.Size = new System.Drawing.Size(48, 22);
+ this.btRun.Text = "Run";
+ this.btRun.Click += new System.EventHandler(this.toolStripButton2_Click);
+ //
+ // EQfilter
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(712, 417);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.Controls.Add(this.bn);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "EQfilter";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "EQ_DataMacro";
+ this.Load += new System.EventHandler(this.EQfilter_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
+ this.bn.ResumeLayout(false);
+ this.bn.PerformLayout();
+ this.tableLayoutPanel1.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.DataGridView dataGridView1;
+ private System.Windows.Forms.BindingSource bs;
+ private dsEQ dsEQ;
+ private dsEQTableAdapters.EquipmentFilterTableAdapter ta;
+ private System.Windows.Forms.TextBox textBox2;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.BindingNavigator bn;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
+ private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
+ private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.ToolStripButton btRun;
+ }
+}
\ No newline at end of file
diff --git a/Project/_Management/EQfilter.cs b/Project/_Management/EQfilter.cs
new file mode 100644
index 0000000..29a5518
--- /dev/null
+++ b/Project/_Management/EQfilter.cs
@@ -0,0 +1,79 @@
+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 EQfilter : Form
+ {
+ string divtype = string.Empty;
+ public EQfilter(string type_)
+ {
+ InitializeComponent();
+ switch(type_.ToUpper())
+ {
+ case "EUQIPMENTB":
+ divtype = "B";
+ break;
+ case "EUQIPMENTF":
+ divtype = "F";
+ break;
+ default:
+ divtype = "E";
+ break;
+ }
+ this.dsEQ.EquipmentFilter.TableNewRow += EquipmentFilter_TableNewRow;
+ }
+
+ void EquipmentFilter_TableNewRow(object sender, DataTableNewRowEventArgs e)
+ {
+ e.Row["type"] = this.divtype;
+ e.Row["wuid"] = Pub.Login.no;
+ e.Row["wdate"] = DateTime.Now;
+ }
+
+ private void EQfilter_Load(object sender, EventArgs e)
+ {
+ try {
+ ta.Fill(this.dsEQ.EquipmentFilter);
+ }catch (Exception ex)
+ {
+ Util.MsgE(ex.Message);
+ }
+ }
+
+ private void toolStripButton1_Click(object sender, EventArgs e)
+ {
+ this.Invalidate();
+ this.bs.EndEdit();
+ try
+ {
+ var cnt = ta.Update(this.dsEQ.EquipmentFilter);
+ Util.MsgI("update : " + cnt.ToString());
+
+ }catch(Exception ex)
+ {
+ Util.MsgE(ex.Message);
+ }
+ }
+
+ public string filter = string.Empty;
+ public string apply = string.Empty;
+ private void button1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void toolStripButton2_Click(object sender, EventArgs e)
+ {
+ filter = textBox1.Text.Trim();
+ apply = textBox2.Text.Trim();
+ DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+ }
+}
diff --git a/Project/_Management/ReportF.rdlc b/Project/_Management/ReportF.rdlc
new file mode 100644
index 0000000..6a30252
--- /dev/null
+++ b/Project/_Management/ReportF.rdlc
@@ -0,0 +1,1102 @@
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Process
+
+
+
+
+
+
+ Textbox7
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 2
+
+
+
+
+
+ true
+ true
+
+
+
+
+ G-TTL
+
+
+
+
+
+
+ Textbox19
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 2
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Manufacturer
+
+
+
+
+
+
+ Textbox4
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 2
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Model
+
+
+
+
+
+
+ Textbox30
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.65273cm
+
+
+ 1.12416cm
+
+
+ 3.21437cm
+
+
+
+
+ 0.6cm
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt1
+
+
+ WhiteSmoke
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Remark.Value
+
+
+
+
+
+
+ Remark
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.6cm
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt4
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt5
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox9
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+ =Fields!lineT.Value
+
+
+
+
+ =Fields!lineT.Value
+
+
+
+ 0.6cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!lineT.Value
+
+
+
+
+
+
+ team
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!lineP.Value
+
+
+
+
+ =Fields!lineP.Value
+
+
+
+ 0.6cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!lineP.Value
+
+
+
+
+
+
+ part
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+ 1.2cm
+
+
+ true
+ true
+
+
+
+
+ Sub
+Total
+
+
+
+
+
+
+ Textbox16
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 1.2cm
+
+
+ true
+ true
+
+
+
+
+ Remark
+
+
+
+
+
+
+ Textbox1
+
+
+ Silver
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+ =Fields!grp.Value
+
+
+
+
+ =Fields!grp.Value
+
+
+
+ 4.96062cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!grp.Value
+
+
+
+
+
+
+ grp
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 1.46812cm
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ cnt6
+
+
+ Khaki
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!manu.Value
+
+
+
+
+ =Fields!manu.Value
+
+
+
+
+
+ 3.02917cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!manu.Value
+
+
+
+
+
+
+ manu
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Fields!model.Value
+
+
+
+
+ =Fields!model.Value
+
+
+
+ 3.26729cm
+
+
+ true
+ true
+
+
+
+
+ =Fields!model.Value
+
+
+
+
+
+
+ model
+
+
+ White
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.96062cm
+
+
+ true
+ true
+
+
+
+
+ 합계
+
+
+
+
+
+
+ Textbox10
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 1.46812cm
+
+
+ true
+ true
+
+
+
+
+ =Sum(Fields!cnt.Value)
+
+
+
+
+
+
+ Textbox23
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 3.02917cm
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox11
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 3.26729cm
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox34
+
+
+ #7292cc
+ Middle
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Before
+
+
+
+ DataSet1
+ 2.4cm
+ 18.71646cm
+
+
+ 맑은 고딕
+ 8pt
+
+
+
+ 0.94488in
+
+
+ 7.68119in
+
+ 29.7cm
+ 21cm
+ 1cm
+ 1cm
+ 1cm
+ 1cm
+ 0.13cm
+
+
+ 0
+
+
+
+ System.Data.DataSet
+ /* Local Connection */
+
+ 8657b62b-4a7a-40db-8710-5d7800626dfb
+
+
+
+
+
+ dsEQ
+ /* Local Query */
+
+
+
+ pdate
+ System.String
+
+
+ grp
+ System.String
+
+
+ manu
+ System.String
+
+
+ model
+ System.String
+
+
+ linecode
+ System.String
+
+
+ lineT
+ System.String
+
+
+ lineP
+ System.String
+
+
+ cnt
+ System.Int32
+
+
+ Remark
+ System.String
+
+
+
+ dsEQ
+ D:\Source\GroupWare\EET_GroupWare_180713_0000\Project\dsEQ.xsd
+ vEquStockB
+ Fill
+ GetData
+ vEquStockBTableAdapter
+
+
+
+ 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 06cf4e6..97516fd 100644
--- a/Project/_Management/fEquipment.Designer.cs
+++ b/Project/_Management/fEquipment.Designer.cs
@@ -30,11 +30,9 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEquipment));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = 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();
@@ -51,6 +49,13 @@
this.tbFilter = new System.Windows.Forms.ToolStripTextBox();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.dv = new System.Windows.Forms.DataGridView();
+ this.type = 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.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label1 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.cmbGrp = new System.Windows.Forms.ComboBox();
@@ -79,37 +84,33 @@
this.radf = new System.Windows.Forms.RadioButton();
this.radb = new System.Windows.Forms.RadioButton();
this.rade = new System.Windows.Forms.RadioButton();
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.button2 = new System.Windows.Forms.Button();
+ 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.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.bsB = new System.Windows.Forms.BindingSource(this.components);
+ this.dsEQ = new Project.dsEQ();
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.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.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.bsB)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsF)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsME)).BeginInit();
this.SuspendLayout();
@@ -151,22 +152,11 @@
//
// 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 = "새로 추가";
- //
- // bsB
- //
- this.bsB.DataMember = "EquipmentB";
- this.bsB.DataSource = this.dsEQ;
- //
- // dsEQ
- //
- this.dsEQ.DataSetName = "dsEQ";
- this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
+ this.bindingNavigatorAddNewItem.Text = "Add(&A)";
//
// bindingNavigatorCountItem
//
@@ -177,12 +167,11 @@
//
// 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 = "삭제";
+ this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
+ this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
//
// bindingNavigatorMoveFirstItem
//
@@ -246,11 +235,10 @@
//
// equipmentBindingNavigatorSaveItem
//
- this.equipmentBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.equipmentBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("equipmentBindingNavigatorSaveItem.Image")));
this.equipmentBindingNavigatorSaveItem.Name = "equipmentBindingNavigatorSaveItem";
- this.equipmentBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
- this.equipmentBindingNavigatorSaveItem.Text = "데이터 저장";
+ this.equipmentBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
+ this.equipmentBindingNavigatorSaveItem.Text = "Save(&S)";
this.equipmentBindingNavigatorSaveItem.Click += new System.EventHandler(this.equipmentBindingNavigatorSaveItem_Click);
//
// toolStripSeparator1
@@ -272,18 +260,19 @@
//
// 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.Size = new System.Drawing.Size(64, 22);
+ this.toolStripButton1.Text = "Find(&F)";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// dv
//
+ this.dv.AllowUserToAddRows = false;
this.dv.AutoGenerateColumns = false;
- this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dv.ColumnHeadersHeight = 30;
+ this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
@@ -308,6 +297,52 @@
this.dv.Size = new System.Drawing.Size(1155, 393);
this.dv.TabIndex = 1;
//
+ // type
+ //
+ this.type.DataPropertyName = "type";
+ this.type.HeaderText = "type";
+ this.type.Name = "type";
+ this.type.Width = 54;
+ //
+ // 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";
+ //
+ // primary
+ //
+ this.primary.DataPropertyName = "primary";
+ this.primary.HeaderText = "primary";
+ this.primary.Name = "primary";
+ this.primary.Width = 54;
+ //
+ // except
+ //
+ this.except.DataPropertyName = "except";
+ this.except.HeaderText = "except";
+ this.except.Name = "except";
+ this.except.Width = 49;
+ //
+ // memo
+ //
+ this.memo.DataPropertyName = "memo";
+ this.memo.HeaderText = "memo";
+ this.memo.Name = "memo";
+ this.memo.Width = 66;
+ //
// label1
//
this.label1.AutoSize = true;
@@ -511,6 +546,7 @@
//
// panel1
//
+ this.panel1.Controls.Add(this.button2);
this.panel1.Controls.Add(this.button5);
this.panel1.Controls.Add(this.button4);
this.panel1.Controls.Add(this.button1);
@@ -611,6 +647,95 @@
this.rade.Text = "eol";
this.rade.UseVisualStyleBackColor = true;
//
+ // 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";
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(423, 161);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(123, 28);
+ this.button2.TabIndex = 19;
+ this.button2.Text = "button2";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle4;
+ this.dataGridViewTextBoxColumn1.HeaderText = "idx";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
+ this.dataGridViewTextBoxColumn1.Width = 47;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
+ this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.Visible = false;
+ this.dataGridViewTextBoxColumn2.Width = 61;
+ //
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
+ this.dataGridViewTextBoxColumn3.HeaderText = "asset";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ this.dataGridViewTextBoxColumn3.Width = 61;
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
+ this.dataGridViewTextBoxColumn4.HeaderText = "grp";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.Width = 48;
+ //
+ // dataGridViewTextBoxColumn8
+ //
+ this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
+ this.dataGridViewTextBoxColumn8.HeaderText = "manu";
+ this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+ this.dataGridViewTextBoxColumn8.Width = 62;
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
+ this.dataGridViewTextBoxColumn5.HeaderText = "model";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.Width = 65;
+ //
+ // dataGridViewTextBoxColumn6
+ //
+ this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
+ this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
+ this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+ this.dataGridViewTextBoxColumn6.Width = 78;
+ //
+ // dataGridViewTextBoxColumn7
+ //
+ this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
+ this.dataGridViewTextBoxColumn7.HeaderText = "serial";
+ this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+ this.dataGridViewTextBoxColumn7.Width = 61;
+ //
+ // bsB
+ //
+ this.bsB.DataMember = "EquipmentB";
+ this.bsB.DataSource = this.dsEQ;
+ //
+ // dsEQ
+ //
+ this.dsEQ.DataSetName = "dsEQ";
+ this.dsEQ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
// taB
//
this.taB.ClearBeforeFill = true;
@@ -642,121 +767,6 @@
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";
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewTextBoxColumn1.HeaderText = "idx";
- this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
- this.dataGridViewTextBoxColumn1.ReadOnly = true;
- this.dataGridViewTextBoxColumn1.Width = 47;
- //
- // dataGridViewTextBoxColumn2
- //
- this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
- this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
- this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
- this.dataGridViewTextBoxColumn2.Visible = false;
- this.dataGridViewTextBoxColumn2.Width = 61;
- //
- // dataGridViewTextBoxColumn3
- //
- this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
- this.dataGridViewTextBoxColumn3.HeaderText = "asset";
- this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
- this.dataGridViewTextBoxColumn3.Width = 61;
- //
- // dataGridViewTextBoxColumn4
- //
- this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
- this.dataGridViewTextBoxColumn4.HeaderText = "grp";
- this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
- this.dataGridViewTextBoxColumn4.Width = 48;
- //
- // type
- //
- this.type.DataPropertyName = "type";
- this.type.HeaderText = "type";
- this.type.Name = "type";
- this.type.Width = 54;
- //
- // dataGridViewTextBoxColumn8
- //
- this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
- this.dataGridViewTextBoxColumn8.HeaderText = "manu";
- this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
- this.dataGridViewTextBoxColumn8.Width = 62;
- //
- // dataGridViewTextBoxColumn5
- //
- this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
- this.dataGridViewTextBoxColumn5.HeaderText = "model";
- this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
- this.dataGridViewTextBoxColumn5.Width = 65;
- //
- // dataGridViewTextBoxColumn6
- //
- this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
- this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
- this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
- this.dataGridViewTextBoxColumn6.Width = 78;
- //
- // lineT
- //
- this.lineT.DataPropertyName = "lineT";
- this.lineT.HeaderText = "Team";
- this.lineT.Name = "lineT";
- //
- // lineP
- //
- this.lineP.DataPropertyName = "lineP";
- this.lineP.HeaderText = "Part";
- this.lineP.Name = "lineP";
- //
- // dvc_param
- //
- this.dvc_param.DataPropertyName = "param1";
- this.dvc_param.HeaderText = "Wafer Size";
- this.dvc_param.Name = "dvc_param";
- //
- // dataGridViewTextBoxColumn7
- //
- this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
- this.dataGridViewTextBoxColumn7.HeaderText = "serial";
- this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
- this.dataGridViewTextBoxColumn7.Width = 61;
- //
- // primary
- //
- this.primary.DataPropertyName = "primary";
- this.primary.HeaderText = "primary";
- this.primary.Name = "primary";
- this.primary.Width = 54;
- //
- // except
- //
- this.except.DataPropertyName = "except";
- this.except.HeaderText = "except";
- this.except.Name = "except";
- this.except.Width = 49;
- //
- // memo
- //
- this.memo.DataPropertyName = "memo";
- this.memo.HeaderText = "memo";
- this.memo.Name = "memo";
- this.memo.Width = 66;
- //
// fEquipment
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -772,8 +782,6 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.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();
@@ -783,6 +791,8 @@
this.panel1.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bsB)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsF)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsME)).EndInit();
this.ResumeLayout(false);
@@ -862,5 +872,6 @@
private System.Windows.Forms.DataGridViewCheckBoxColumn primary;
private System.Windows.Forms.DataGridViewCheckBoxColumn except;
private System.Windows.Forms.DataGridViewTextBoxColumn memo;
+ private System.Windows.Forms.Button button2;
}
}
\ No newline at end of file
diff --git a/Project/_Management/fEquipment.cs b/Project/_Management/fEquipment.cs
index 03924f4..0f22413 100644
--- a/Project/_Management/fEquipment.cs
+++ b/Project/_Management/fEquipment.cs
@@ -21,19 +21,20 @@ namespace Project._Management
BUMP
}
string tableName = string.Empty;
+ eTabletype dataType = eTabletype.FOL;
- public fEquipment(eTabletype type)
+ public fEquipment(eTabletype type_)
{
InitializeComponent();
-
- if (type == eTabletype.MOLD)
+ dataType = type_;
+ if (dataType == eTabletype.MOLD)
{
rade.Checked = true;
tableName = "EquipmentME";
this.dsEQ.EquipmentME.TableNewRow += Equipment_TableNewRow;
dvc_param.Visible = false;
}
- else if (type == eTabletype.FOL)
+ else if (dataType == eTabletype.FOL)
{
radf.Checked = true;
tableName = "EquipmentF";
@@ -56,14 +57,8 @@ namespace Project._Management
Pub.SetFormStatus(ref form, this.Name + this.tableName, false);
}
-
- private void __Load(object sender, EventArgs e)
+ void RefreshDate()
{
- var form = this as Form;
- Pub.SetFormStatus(ref form, this.Name + this.tableName,true);
- this.Show();
- Application.DoEvents();
-
//등록된 날짜 목록을 가져온다.
var taDateList = new dsEQTableAdapters.EqDateListTableAdapter();
DataTable dtList = null;
@@ -79,6 +74,15 @@ namespace Project._Management
}
}
if (this.cmbDate.Items.Count > 0) this.cmbDate.SelectedIndex = 0;
+ }
+ 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();
+
+ RefreshDate();
//목록을 가져온다.
var grpList = Manager.DatabaseManager.getEQGroupLiist("grp", this.tableName);
@@ -236,7 +240,7 @@ namespace Project._Management
private void button1_Click(object sender, EventArgs e)
{
- _Management.rpt_equipmentB f = new _Management.rpt_equipmentB(this.cmbDate.Text);
+ _Management.rpt_equipmentB f = new _Management.rpt_equipmentB(dataType, this.cmbDate.Text);
f.Show();
}
@@ -308,5 +312,12 @@ namespace Project._Management
}
}
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ _Management.fImpEquipment f = new _Management.fImpEquipment(dataType);
+ f.ShowDialog();
+ RefreshDate();
+ }
}
}
diff --git a/Project/_Management/fEquipment.resx b/Project/_Management/fEquipment.resx
index 02f7bd1..91c54be 100644
--- a/Project/_Management/fEquipment.resx
+++ b/Project/_Management/fEquipment.resx
@@ -234,6 +234,33 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ 662, 17
+
+
+ 147, 17
+
227, 17
@@ -252,7 +279,4 @@
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 375de58..7ea6214 100644
--- a/Project/_Management/fImpEquipment.Designer.cs
+++ b/Project/_Management/fImpEquipment.Designer.cs
@@ -28,24 +28,39 @@
///
private void InitializeComponent()
{
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fImpEquipment));
this.textBox1 = new System.Windows.Forms.TextBox();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.button1 = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.button3 = new System.Windows.Forms.Button();
- this.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();
+ this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ 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.progressBar1 = new System.Windows.Forms.ToolStripProgressBar();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.SuspendLayout();
//
// textBox1
//
- this.textBox1.Location = new System.Drawing.Point(81, 34);
+ this.textBox1.Location = new System.Drawing.Point(42, 8);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(222, 21);
this.textBox1.TabIndex = 0;
@@ -53,21 +68,21 @@
// linkLabel1
//
this.linkLabel1.AutoSize = true;
- this.linkLabel1.Location = new System.Drawing.Point(12, 37);
+ this.linkLabel1.Location = new System.Drawing.Point(12, 12);
this.linkLabel1.Name = "linkLabel1";
- this.linkLabel1.Size = new System.Drawing.Size(59, 12);
+ this.linkLabel1.Size = new System.Drawing.Size(25, 12);
this.linkLabel1.TabIndex = 1;
this.linkLabel1.TabStop = true;
- this.linkLabel1.Text = "select file";
+ this.linkLabel1.Text = "File";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// button1
//
- this.button1.Location = new System.Drawing.Point(396, 15);
+ this.button1.Location = new System.Drawing.Point(270, 8);
this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(114, 25);
+ this.button1.Size = new System.Drawing.Size(114, 21);
this.button1.TabIndex = 3;
- this.button1.Text = "View";
+ this.button1.Text = "1.View";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -75,101 +90,183 @@
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridView1.Location = new System.Drawing.Point(0, 87);
+ this.dataGridView1.Location = new System.Drawing.Point(0, 59);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
- this.dataGridView1.Size = new System.Drawing.Size(825, 329);
+ this.dataGridView1.Size = new System.Drawing.Size(767, 444);
this.dataGridView1.TabIndex = 4;
//
// button3
//
- this.button3.Location = new System.Drawing.Point(636, 15);
+ this.button3.Location = new System.Drawing.Point(270, 32);
this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(114, 25);
+ this.button3.Size = new System.Drawing.Size(114, 21);
this.button3.TabIndex = 6;
- this.button3.Text = "Save";
+ this.button3.Text = "2.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.Size = new System.Drawing.Size(767, 59);
this.panel1.TabIndex = 10;
//
// dateTimePicker1
//
- this.dateTimePicker1.Location = new System.Drawing.Point(83, 60);
+ this.dateTimePicker1.Location = new System.Drawing.Point(42, 32);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(221, 21);
this.dateTimePicker1.TabIndex = 8;
//
+ // bn
+ //
+ this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
+ this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.bindingNavigatorMoveFirstItem,
+ this.bindingNavigatorMovePreviousItem,
+ this.bindingNavigatorSeparator,
+ this.bindingNavigatorPositionItem,
+ this.bindingNavigatorCountItem,
+ this.bindingNavigatorSeparator1,
+ this.bindingNavigatorMoveNextItem,
+ this.bindingNavigatorMoveLastItem,
+ this.bindingNavigatorSeparator2,
+ this.bindingNavigatorAddNewItem,
+ this.bindingNavigatorDeleteItem,
+ this.progressBar1});
+ this.bn.Location = new System.Drawing.Point(0, 503);
+ this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
+ this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
+ this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
+ this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
+ this.bn.Name = "bn";
+ this.bn.PositionItem = this.bindingNavigatorPositionItem;
+ this.bn.Size = new System.Drawing.Size(767, 25);
+ this.bn.TabIndex = 9;
+ this.bn.Text = "bindingNavigator1";
+ //
+ // bindingNavigatorMoveFirstItem
+ //
+ this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
+ this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
+ this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
+ //
+ // bindingNavigatorMovePreviousItem
+ //
+ this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
+ this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
+ this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
+ // bindingNavigatorSeparator
+ //
+ this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorPositionItem
+ //
+ this.bindingNavigatorPositionItem.AccessibleName = "위치";
+ this.bindingNavigatorPositionItem.AutoSize = false;
+ this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
+ this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
+ this.bindingNavigatorPositionItem.Text = "0";
+ this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
+ //
+ // 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.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorMoveNextItem
+ //
+ this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
+ this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
+ this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
+ //
+ // bindingNavigatorMoveLastItem
+ //
+ this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
+ this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
+ this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
+ // bindingNavigatorSeparator2
+ //
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator";
+ 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 = "삭제";
+ //
// progressBar1
//
- this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.progressBar1.Location = new System.Drawing.Point(0, 416);
+ this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.progressBar1.Name = "progressBar1";
- this.progressBar1.Size = new System.Drawing.Size(825, 21);
- this.progressBar1.TabIndex = 11;
+ this.progressBar1.Size = new System.Drawing.Size(200, 22);
//
// fImpEquipment
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(825, 437);
+ this.ClientSize = new System.Drawing.Size(767, 528);
this.Controls.Add(this.dataGridView1);
- this.Controls.Add(this.progressBar1);
+ this.Controls.Add(this.bn);
this.Controls.Add(this.panel1);
this.Name = "fImpEquipment";
this.Text = "fImpEquipment";
- this.Load += new System.EventHandler(this.__Load);
+ this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
+ this.bn.ResumeLayout(false);
+ this.bn.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.ResumeLayout(false);
+ this.PerformLayout();
}
@@ -180,11 +277,21 @@
private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridView dataGridView1;
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;
+ private System.Windows.Forms.BindingNavigator bn;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
+ private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
+ private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
+ private System.Windows.Forms.ToolStripProgressBar progressBar1;
+ private System.Windows.Forms.BindingSource bs;
}
}
\ No newline at end of file
diff --git a/Project/_Management/fImpEquipment.cs b/Project/_Management/fImpEquipment.cs
index 780cb99..e4bb9e3 100644
--- a/Project/_Management/fImpEquipment.cs
+++ b/Project/_Management/fImpEquipment.cs
@@ -11,15 +11,40 @@ namespace Project._Management
{
public partial class fImpEquipment : Form
{
+ DataTable dt = null;
DataTable dtExcel = new DataTable();
-
- public fImpEquipment()
+ Project._Management.fEquipment.eTabletype imptype = fEquipment.eTabletype.MOLD;
+ public fImpEquipment(Project._Management.fEquipment.eTabletype type_)
{
InitializeComponent();
- this.FormClosed += fImpEquipment_FormClosed;
+ this.FormClosed += __Closed;
+ imptype = type_;
+
+ switch (imptype)
+ {
+ case fEquipment.eTabletype.FOL:
+ dt = new dsEQ.EquipmentFDataTable();
+ break;
+ case fEquipment.eTabletype.MOLD:
+ dt = new dsEQ.EquipmentMEDataTable();
+ break;
+ case fEquipment.eTabletype.BUMP:
+ dt = new dsEQ.EquipmentBDataTable();
+ break;
+
+ }
}
- void fImpEquipment_FormClosed(object sender, FormClosedEventArgs e)
+ private void __Load(object sender, EventArgs e)
+ {
+ this.Text = string.Format("Data Import({0})", this.imptype);
+ var form = this as Form;
+ Pub.SetFormStatus(ref form, this.Name, true);
+ this.Show();
+ Application.DoEvents();
+ }
+
+ void __Closed(object sender, FormClosedEventArgs e)
{
var form = this as Form;
Pub.SetFormStatus(ref form, this.Name, false);
@@ -69,10 +94,11 @@ namespace Project._Management
}
return datas.ToArray();
}
- System.Data.DataTable dt = new DataTable();
private void button1_Click(object sender, EventArgs e)
{
+ dtExcel.Columns.Clear();
+
libxl.Book book;// = new libxl.BinBook();
book = new libxl.XmlBook();
book.setKey("Amkor Technology korea, Inc", "windows-282b2b0800c5e0016bb06a6fafjfd6o8");
@@ -107,7 +133,9 @@ namespace Project._Management
//
book = null;
+ this.bs.DataSource = dtExcel;
this.dataGridView1.DataSource = dtExcel;
+ this.bn.BindingSource = this.bs;
}
private void button2_Click(object sender, EventArgs e)
@@ -150,38 +178,29 @@ namespace Project._Management
private void button3_Click(object sender, EventArgs e)
{
- 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();
+ dt.Clear();
+ dt.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;
+ this.progressBar1.Value += 1;
var linecode = dr[12].ToString();
var linedesc = dr[13].ToString();
var lineT = string.Empty;
var lineP = string.Empty;
-
+
//없는 라인코드는 추가
var lineDrows = lineTd.Select("code='" + linecode + "'");
if (lineDrows.Length == 0)
@@ -197,8 +216,8 @@ namespace Project._Management
lineT = linedesc;
lineP = string.Empty;
}
-
-
+
+
var newli = lineTd.NewLineCodeRow();
newli.code = linecode;
newli.team = lineT;
@@ -233,7 +252,7 @@ namespace Project._Management
newdr["wdate"] = DateTime.Now;
newdr["except"] = false;
newdr["memo"] = string.Empty;
- if (radB.Checked) newdr["param1"] = "8\"";
+ if (imptype == fEquipment.eTabletype.BUMP) newdr["param1"] = "8\"";
else newdr["param1"] = string.Empty;
dt.Rows.Add(newdr);
}
@@ -241,34 +260,27 @@ namespace Project._Management
taLine.Update(lineTd);
lineTd.AcceptChanges();
- if(radE.Checked)
+ switch (imptype)
{
- 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);
+ case fEquipment.eTabletype.MOLD:
+ var taE = new dsEQTableAdapters.EquipmentMETableAdapter();
+ taE.DeleteData(dateStr);
+ taE.Update((dsEQ.EquipmentMEDataTable)dt);
+ break;
+ case fEquipment.eTabletype.BUMP:
+ var taB = new dsEQTableAdapters.EquipmentBTableAdapter();
+ taB.DeleteData(dateStr);
+ taB.Update((dsEQ.EquipmentBDataTable)dt);
+ break;
+ case fEquipment.eTabletype.FOL:
+ var taF = new dsEQTableAdapters.EquipmentFTableAdapter();
+ taF.DeleteData(dateStr);
+ taF.Update((dsEQ.EquipmentFDataTable)dt);
+ break;
}
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/fImpEquipment.resx b/Project/_Management/fImpEquipment.resx
index 29dcb1b..00c7efc 100644
--- a/Project/_Management/fImpEquipment.resx
+++ b/Project/_Management/fImpEquipment.resx
@@ -117,4 +117,75 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 17, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPYxi84O4C9v+35nH+vzqH6//FGbz/ocLEg+tA
+ jX8eNf7/87Dh/8nJAqQbcH46L9yAgz0ipBtwfJIgUHPd/z8Pqv7vaBcnbMClmTz/z07l+38SqPFIv9D/
+ fd0iQM3l///eK/q/vkHm/6oauf9LKxX/zy9V/j+rSBXTwFNAf/55WA/UVAvElf//3CsB4rz/f+9m/v97
+ J/n/39tx///djADikP+TcjQxDTjUKwx27t/7pUCNBUCN2UCNqUCNCf//3YoGagz7/+9G0P9/1/3+d6Xp
+ Yhqws13i/5Zmqf/rwM6V/7+kQvH/31sxQI3h/6fmafyfkKX1vztD9397qv7/5kRDwmEyG+hPkHP/3Qj4
+ 35OhQ1gDOgD5898NfyD2+9+arE+6Ad3pumD/gnB9nBHpBrQkGfxviDf8XxNr/L8y2oR0A+gEGBgAJCPY
+ nnX8iGkAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFvSURBVDhPtZBNKMNhHMd3Vd5K7eKCWjkgk7yEZDKksciE
+ yMwkBw6LhHZxcCDlQg64SA4kJeVE4jRv89qaWn8tUtoF/7g8H2Ootb+x4nt56nm+38/v+/xUfyJcJ9Bt
+ BMcOH1eRiZV5RGcVwqyHrfWwELweWJoJ9rC2AL0mRLse0VEBcxOKkLeGwlwGIz2h75w6ApC6bERjAdia
+ gkxiyIow5cKkPWxDFYvTiMrUdxDDVnCfwVh/AOo/P2zhhccFzcWBLxmzEPV50Nfyu/Cn2N/1V85DGNKh
+ Rhth+EaCxkLISUDWxvOgjYXa7F/Wv7kGUz4UJeKzGODi6H25d2l+yPLsDwu8v4NWHY8lSbhL0/HtbX8F
+ GLXh1MQgnxwoQ3h5hkEL6JI5TlPj21gNMd6WZyC1VSN7r0Mh7G4i56pxpkQhdTWA/KQ4aUcTh+x0KACm
+ RpBSo3HrM0G6Uq7pl2zvhvNDBcClE8YH4HDv2/A/SKV6BYojAxyEJtLJAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEqSURBVDhPYxg8oHDW8/9NC57/z5z4+D9UCAOEtz/AKceQ
+ O/PZ/1VH3v/HpSi++8H/4IZruA3ImPL0/8J9H7Aqiu95+H/p/v///asv4DYgoefJ/2lb3mMoimi/D9ac
+ Oev/f6/SE7gNiOx69L939QcURaGt98CaW9cBbe/8+98l/wBuAwKbH/6vm/8Orii45e7/RXv//+8Aas6Y
+ 8/O/Xd3P//YZ23Eb4FF1/3/+tDcoiuyKb/9Pn/P7v3/Xt/86he/+WySsx22Afend/9mTX2Mo0k85/9+k
+ 6MV/laxP/40jl+E2wCLvzv/U/tdYFRkknfgvm/b1v27wPNwGGGbd/h/W8hKnIv3Uy/81fKfhNkAn7cZ/
+ v+qHeBWpeEzAbYBT7pX/IAV4FQ1CwMAAAPB2wKul5ZpwAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC2SURBVDhPYxg6ILz9wX8ok3QQ3/3gf3DDNfIMiO95+H/p
+ /v///asvkG5ARPt9sObMWf//e5WeIM2A0NZ7YM2t64C2d/7975J/gHgDglvu/l+09///DqDmjDk//9vV
+ /fxvn7GdNBfYFd/+nz7n93//rm//dQrf/bdIWE96GOinnP9vUvTiv0rWp//GkctINwAEDJJO/JdN+/pf
+ N3geeQaAgH7q5f8avtPINwAEVDwmUGbAYAUMDADQFGCYBLpQVQAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACjSURBVDhPYxh8oHDW8/9QJnkgd+az/wnd98g3JGPK0//z
+ 9v/+n9B1hzxDEnqe/J+979f/zq1//7uVXibdkMiuR/+nbPv1v2Tp3/8J0//+t8k9S5ohgc0P/7eufQ/W
+ bFzy5b909LX/xpHLiDfEo+r+/5K57+CaFV16SHOBfend/4Etz8jTDAIWeXf+2xRcIU8zCBhm3SZfMwjo
+ pN0gX/NQBAwMAKB+X6AHNEI4AAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEsSURBVDhPYxhcoHDW8/9QJgYAyTUteP4/c+JjnGoYcmc+
+ +5/QfQ+rApDcqiPv/4e3P8BtQMaUp//n7f/9P6HrDoYikNzCfR/+Bzdcw21AQs+T/7P3/frfufXvf7fS
+ yygKQXLTtrz/7199AbcBkV2P/k/Z9ut/ydK//xOm//1vk3sWrhgk17v6w3+v0hO4DQhsfvi/de17sGbj
+ ki//paOv/TeOXAbWAJKrm//uv0v+AdwGeFTd/18y9x1cs6JLD1wxSC5/2pv/9hnbcRtgX3r3f2DLMwzN
+ IACSy578+r9FwnrcBljk3flvU3AFQzMIgORS+1/DvYQVGGbdxqoZBEByYS0v/+sGz8NtgE7aDZySIDm/
+ 6of/NXyn4TYAH3DKvfJfxWMCGEOFBgVgYAAAvtG/s7kMTpwAAAAASUVORK5CYII=
+
+
+
+ 173, 17
+
\ No newline at end of file
diff --git a/Project/_Management/fLineCode.Designer.cs b/Project/_Management/fLineCode.Designer.cs
index 54eeed7..f03df4a 100644
--- a/Project/_Management/fLineCode.Designer.cs
+++ b/Project/_Management/fLineCode.Designer.cs
@@ -284,7 +284,6 @@
// tam
//
this.tam.BackupDataSetBeforeUpdate = false;
- this.tam.EquipmentTableAdapter = null;
this.tam.InventoryTableAdapter = null;
this.tam.ItemsTableAdapter = null;
this.tam.LineCodeTableAdapter = this.ta;
diff --git a/Project/dsEQ.Designer.cs b/Project/dsEQ.Designer.cs
index e53e3eb..d31c01c 100644
--- a/Project/dsEQ.Designer.cs
+++ b/Project/dsEQ.Designer.cs
@@ -6583,7 +6583,7 @@ namespace Project.dsEQTableAdapters {
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
- this._commandCollection[1].CommandText = "SELECT pdate\r\nFROM EquipmentB\r\nGROUP BY pdate\r\norder by pdate";
+ this._commandCollection[1].CommandText = "SELECT pdate FROM EquipmentB GROUP BY pdate ORDER 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;
@@ -10366,23 +10366,16 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
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";
+ "ter\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) {
+ public virtual int Fill(dsEQ.EquipmentFilterDataTable dataTable) {
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();
}
@@ -10394,14 +10387,8 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
[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) {
+ public virtual dsEQ.EquipmentFilterDataTable GetData() {
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;
diff --git a/Project/dsEQ.xsd b/Project/dsEQ.xsd
index 4e709e1..ea3cf3f 100644
--- a/Project/dsEQ.xsd
+++ b/Project/dsEQ.xsd
@@ -34,18 +34,15 @@ GROUP BY pdate
-
- SELECT pdate
-FROM EquipmentB
-GROUP BY pdate
-order by pdate
+
+ SELECT pdate FROM EquipmentB GROUP BY pdate ORDER BY pdate
-
+
SELECT pdate
FROM EquipmentF
GROUP BY pdate
@@ -56,7 +53,7 @@ order by pdate
-
+
SELECT pdate
FROM EquipmentME
GROUP BY pdate
@@ -138,7 +135,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
FROM EquipmentF
WHERE (pdate = @pdate)
-
+
@@ -194,7 +191,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
@@ -222,10 +219,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
DELETE FROM [EquipmentF] WHERE pdate = @pdate
-
+
@@ -303,7 +300,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
FROM EquipmentB
WHERE (pdate = @pdate)
-
+
@@ -359,7 +356,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
@@ -387,10 +384,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
DELETE FROM [EquipmentB] WHERE pdate = @pdate
-
+
@@ -468,7 +465,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
FROM EquipmentME
WHERE (pdate = @pdate)
-
+
@@ -524,7 +521,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
@@ -552,10 +549,10 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
-
+
DELETE FROM [EquipmentME] where pdate = @pdate
-
+
@@ -571,7 +568,7 @@ SELECT idx, pdate, asset, grp, type, model, linecode, serial, manu, [primary], [
FROM vEquStockB
WHERE (pdate = @pdate)
-
+
@@ -599,7 +596,7 @@ WHERE (pdate = @pdate)
FROM vEquStockF
WHERE (pdate = @pdate)
-
+
@@ -627,7 +624,7 @@ WHERE (pdate = @pdate)
FROM vEquStockME
WHERE (pdate = @pdate)
-
+
@@ -683,14 +680,11 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
-
+
SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate
FROM EquipmentFilter
-WHERE (type = @type)
ORDER BY Title
-
-
-
+
@@ -716,7 +710,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
-
+
@@ -1058,7 +1052,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
-
+
@@ -1121,7 +1115,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
-
+
@@ -1184,7 +1178,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
-
+
diff --git a/Project/dsEQ.xss b/Project/dsEQ.xss
index ad80fdf..5f28270 100644
--- a/Project/dsEQ.xss
+++ b/Project/dsEQ.xss
@@ -1,15 +1 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/Project/dsMSSQL.Designer.cs b/Project/dsMSSQL.Designer.cs
index 891a8ea..d769f5f 100644
--- a/Project/dsMSSQL.Designer.cs
+++ b/Project/dsMSSQL.Designer.cs
@@ -34,10 +34,6 @@ namespace Project {
private LineCodeDataTable tableLineCode;
- private EquipmentDataTable tableEquipment;
-
- private vEquStockDataTable tablevEquStock;
-
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -81,12 +77,6 @@ namespace Project {
if ((ds.Tables["LineCode"] != null)) {
base.Tables.Add(new LineCodeDataTable(ds.Tables["LineCode"]));
}
- if ((ds.Tables["Equipment"] != null)) {
- base.Tables.Add(new EquipmentDataTable(ds.Tables["Equipment"]));
- }
- if ((ds.Tables["vEquStock"] != null)) {
- base.Tables.Add(new vEquStockDataTable(ds.Tables["vEquStock"]));
- }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -155,26 +145,6 @@ namespace Project {
}
}
- [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 EquipmentDataTable Equipment {
- get {
- return this.tableEquipment;
- }
- }
-
- [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 vEquStockDataTable vEquStock {
- get {
- return this.tablevEquStock;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -257,12 +227,6 @@ namespace Project {
if ((ds.Tables["LineCode"] != null)) {
base.Tables.Add(new LineCodeDataTable(ds.Tables["LineCode"]));
}
- if ((ds.Tables["Equipment"] != null)) {
- base.Tables.Add(new EquipmentDataTable(ds.Tables["Equipment"]));
- }
- if ((ds.Tables["vEquStock"] != null)) {
- base.Tables.Add(new vEquStockDataTable(ds.Tables["vEquStock"]));
- }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -326,18 +290,6 @@ namespace Project {
this.tableLineCode.InitVars();
}
}
- this.tableEquipment = ((EquipmentDataTable)(base.Tables["Equipment"]));
- if ((initTable == true)) {
- if ((this.tableEquipment != null)) {
- this.tableEquipment.InitVars();
- }
- }
- this.tablevEquStock = ((vEquStockDataTable)(base.Tables["vEquStock"]));
- if ((initTable == true)) {
- if ((this.tablevEquStock != null)) {
- this.tablevEquStock.InitVars();
- }
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -358,10 +310,6 @@ namespace Project {
base.Tables.Add(this.tableInventory);
this.tableLineCode = new LineCodeDataTable();
base.Tables.Add(this.tableLineCode);
- this.tableEquipment = new EquipmentDataTable();
- base.Tables.Add(this.tableEquipment);
- this.tablevEquStock = new vEquStockDataTable();
- base.Tables.Add(this.tablevEquStock);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -394,18 +342,6 @@ namespace Project {
return false;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeEquipment() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializevEquStock() {
- return false;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -476,12 +412,6 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void LineCodeRowChangeEventHandler(object sender, LineCodeRowChangeEvent e);
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public delegate void EquipmentRowChangeEventHandler(object sender, EquipmentRowChangeEvent e);
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public delegate void vEquStockRowChangeEventHandler(object sender, vEquStockRowChangeEvent e);
-
///
///Represents the strongly named DataTable class.
///
@@ -2534,799 +2464,6 @@ namespace Project {
}
}
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class EquipmentDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnidx;
-
- private global::System.Data.DataColumn columnpdate;
-
- private global::System.Data.DataColumn columnasset;
-
- private global::System.Data.DataColumn columngrp;
-
- private global::System.Data.DataColumn columnmodel;
-
- private global::System.Data.DataColumn columnlinecode;
-
- private global::System.Data.DataColumn columnserial;
-
- private global::System.Data.DataColumn columnmanu;
-
- private global::System.Data.DataColumn columnwuid;
-
- private global::System.Data.DataColumn columnwdate;
-
- private global::System.Data.DataColumn columnprimary;
-
- private global::System.Data.DataColumn columntype;
-
- private global::System.Data.DataColumn columnexcept;
-
- private global::System.Data.DataColumn columnmemo;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentDataTable() {
- this.TableName = "Equipment";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal EquipmentDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected EquipmentDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "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 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 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 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 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 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")]
- [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 EquipmentRow this[int index] {
- get {
- return ((EquipmentRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event EquipmentRowChangeEventHandler EquipmentRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddEquipmentRow(EquipmentRow 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 model, string linecode, string serial, string manu, string wuid, System.DateTime wdate, bool primary, string type, bool except, string memo) {
- EquipmentRow rowEquipmentRow = ((EquipmentRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- null,
- pdate,
- asset,
- grp,
- model,
- linecode,
- serial,
- manu,
- wuid,
- wdate,
- primary,
- type,
- except,
- memo};
- rowEquipmentRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowEquipmentRow);
- return rowEquipmentRow;
- }
-
- [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[] {
- 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()));
- 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 EquipmentDataTable();
- }
-
- [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.columnmodel = base.Columns["model"];
- this.columnlinecode = base.Columns["linecode"];
- this.columnserial = base.Columns["serial"];
- this.columnmanu = base.Columns["manu"];
- this.columnwuid = base.Columns["wuid"];
- this.columnwdate = base.Columns["wdate"];
- this.columnprimary = base.Columns["primary"];
- this.columntype = base.Columns["type"];
- this.columnexcept = base.Columns["except"];
- this.columnmemo = base.Columns["memo"];
- }
-
- [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.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.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.columnprimary = new global::System.Data.DataColumn("primary", typeof(bool), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnprimary);
- this.columntype = new global::System.Data.DataColumn("type", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columntype);
- 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.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.columnmodel.MaxLength = 50;
- this.columnlinecode.MaxLength = 50;
- this.columnserial.MaxLength = 50;
- this.columnmanu.MaxLength = 50;
- this.columnwuid.AllowDBNull = false;
- this.columnwuid.MaxLength = 20;
- this.columnwdate.AllowDBNull = false;
- this.columntype.MaxLength = 50;
- this.columnmemo.MaxLength = 255;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentRow NewEquipmentRow() {
- return ((EquipmentRow)(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);
- }
-
- [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);
- }
-
- [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));
- }
- }
-
- [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.EquipmentRowChanging != null)) {
- this.EquipmentRowChanging(this, new EquipmentRowChangeEvent(((EquipmentRow)(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.EquipmentRowDeleted != null)) {
- this.EquipmentRowDeleted(this, new EquipmentRowChangeEvent(((EquipmentRow)(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.EquipmentRowDeleting != null)) {
- this.EquipmentRowDeleting(this, new EquipmentRowChangeEvent(((EquipmentRow)(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) {
- 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();
- dsMSSQL ds = new dsMSSQL();
- 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 = "EquipmentDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class vEquStockDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columngrp;
-
- private global::System.Data.DataColumn columnmanu;
-
- private global::System.Data.DataColumn columnlinecode;
-
- private global::System.Data.DataColumn columnteam;
-
- private global::System.Data.DataColumn columnpart;
-
- private global::System.Data.DataColumn columncnt;
-
- private global::System.Data.DataColumn columnmodel;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vEquStockDataTable() {
- this.TableName = "vEquStock";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal vEquStockDataTable(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 vEquStockDataTable(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 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 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 teamColumn {
- get {
- return this.columnteam;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn partColumn {
- get {
- return this.columnpart;
- }
- }
-
- [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 modelColumn {
- get {
- return this.columnmodel;
- }
- }
-
- [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 vEquStockRow this[int index] {
- get {
- return ((vEquStockRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vEquStockRowChangeEventHandler vEquStockRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vEquStockRowChangeEventHandler vEquStockRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vEquStockRowChangeEventHandler vEquStockRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vEquStockRowChangeEventHandler vEquStockRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddvEquStockRow(vEquStockRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vEquStockRow AddvEquStockRow(string grp, string manu, string linecode, string team, string part, int cnt, string model) {
- vEquStockRow rowvEquStockRow = ((vEquStockRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- grp,
- manu,
- linecode,
- team,
- part,
- cnt,
- model};
- rowvEquStockRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowvEquStockRow);
- return rowvEquStockRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- vEquStockDataTable cln = ((vEquStockDataTable)(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 vEquStockDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars() {
- this.columngrp = base.Columns["grp"];
- this.columnmanu = base.Columns["manu"];
- this.columnlinecode = base.Columns["linecode"];
- this.columnteam = base.Columns["team"];
- this.columnpart = base.Columns["part"];
- this.columncnt = base.Columns["cnt"];
- this.columnmodel = base.Columns["model"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass() {
- 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.columnlinecode = new global::System.Data.DataColumn("linecode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnlinecode);
- this.columnteam = new global::System.Data.DataColumn("team", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnteam);
- this.columnpart = new global::System.Data.DataColumn("part", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnpart);
- this.columncnt = new global::System.Data.DataColumn("cnt", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncnt);
- this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnmodel);
- this.columngrp.MaxLength = 50;
- this.columnmanu.MaxLength = 50;
- this.columnlinecode.MaxLength = 50;
- this.columnteam.MaxLength = 20;
- this.columnpart.MaxLength = 20;
- this.columnmodel.MaxLength = 50;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vEquStockRow NewvEquStockRow() {
- return ((vEquStockRow)(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 vEquStockRow(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(vEquStockRow);
- }
-
- [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.vEquStockRowChanged != null)) {
- this.vEquStockRowChanged(this, new vEquStockRowChangeEvent(((vEquStockRow)(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.vEquStockRowChanging != null)) {
- this.vEquStockRowChanging(this, new vEquStockRowChangeEvent(((vEquStockRow)(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.vEquStockRowDeleted != null)) {
- this.vEquStockRowDeleted(this, new vEquStockRowChangeEvent(((vEquStockRow)(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.vEquStockRowDeleting != null)) {
- this.vEquStockRowDeleting(this, new vEquStockRowChangeEvent(((vEquStockRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemovevEquStockRow(vEquStockRow 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();
- dsMSSQL ds = new dsMSSQL();
- 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 = "vEquStockDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
///
///Represents strongly named DataRow class.
///
@@ -4544,11 +3681,11 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string team {
get {
- try {
- return ((string)(this[this.tableLineCode.teamColumn]));
+ if (this.IsteamNull()) {
+ return string.Empty;
}
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'LineCode\' 테이블의 \'team\' 열의 값이 DBNull입니다.", e);
+ else {
+ return ((string)(this[this.tableLineCode.teamColumn]));
}
}
set {
@@ -4560,11 +3697,11 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string part {
get {
- try {
- return ((string)(this[this.tableLineCode.partColumn]));
+ if (this.IspartNull()) {
+ return string.Empty;
}
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'LineCode\' 테이블의 \'part\' 열의 값이 DBNull입니다.", e);
+ else {
+ return ((string)(this[this.tableLineCode.partColumn]));
}
}
set {
@@ -4687,573 +3824,6 @@ namespace Project {
}
}
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class EquipmentRow : global::System.Data.DataRow {
-
- private EquipmentDataTable tableEquipment;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal EquipmentRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableEquipment = ((EquipmentDataTable)(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]));
- }
- set {
- this[this.tableEquipment.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.tableEquipment.pdateColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.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.tableEquipment.assetColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'asset\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.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.tableEquipment.grpColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.grpColumn] = 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.tableEquipment.modelColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.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.tableEquipment.linecodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.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.tableEquipment.serialColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'serial\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.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.tableEquipment.manuColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.manuColumn] = 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.tableEquipment.wuidColumn]));
- }
- set {
- this[this.tableEquipment.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.tableEquipment.wdateColumn]));
- }
- set {
- this[this.tableEquipment.wdateColumn] = 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.tableEquipment.primaryColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'primary\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.primaryColumn] = 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.tableEquipment.typeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'type\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.typeColumn] = 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.tableEquipment.exceptColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'except\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.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.tableEquipment.memoColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Equipment\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableEquipment.memoColumn] = 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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
-
- [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);
- }
-
- [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;
- }
- }
-
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class vEquStockRow : global::System.Data.DataRow {
-
- private vEquStockDataTable tablevEquStock;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal vEquStockRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tablevEquStock = ((vEquStockDataTable)(this.Table));
- }
-
- [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.tablevEquStock.grpColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.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.tablevEquStock.manuColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'manu\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.manuColumn] = 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.tablevEquStock.linecodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'linecode\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.linecodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string team {
- get {
- try {
- return ((string)(this[this.tablevEquStock.teamColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'team\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.teamColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string part {
- get {
- try {
- return ((string)(this[this.tablevEquStock.partColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'part\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.partColumn] = 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.tablevEquStock.cntColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'cnt\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.cntColumn] = 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.tablevEquStock.modelColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vEquStock\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevEquStock.modelColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsgrpNull() {
- return this.IsNull(this.tablevEquStock.grpColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetgrpNull() {
- this[this.tablevEquStock.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.tablevEquStock.manuColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetmanuNull() {
- this[this.tablevEquStock.manuColumn] = 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.tablevEquStock.linecodeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetlinecodeNull() {
- this[this.tablevEquStock.linecodeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsteamNull() {
- return this.IsNull(this.tablevEquStock.teamColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetteamNull() {
- this[this.tablevEquStock.teamColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IspartNull() {
- return this.IsNull(this.tablevEquStock.partColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetpartNull() {
- this[this.tablevEquStock.partColumn] = 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.tablevEquStock.cntColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetcntNull() {
- this[this.tablevEquStock.cntColumn] = 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.tablevEquStock.modelColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetmodelNull() {
- this[this.tablevEquStock.modelColumn] = global::System.Convert.DBNull;
- }
- }
-
///
///Row event argument class
///
@@ -5423,74 +3993,6 @@ 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 {
-
- private EquipmentRow 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) {
- 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 {
- 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 vEquStockRowChangeEvent : global::System.EventArgs {
-
- private vEquStockRow 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 vEquStockRowChangeEvent(vEquStockRow 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 vEquStockRow 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;
- }
- }
- }
}
}
namespace Project.dsMSSQLTableAdapters {
@@ -8722,945 +7224,6 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate FROM LineCode WHERE (i
}
}
- ///
- ///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 EquipmentTableAdapter : global::System.ComponentModel.Component {
-
- private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-
- private global::System.Data.SqlClient.SqlConnection _connection;
-
- private global::System.Data.SqlClient.SqlTransaction _transaction;
-
- private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-
- private bool _clearBeforeFill;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EquipmentTableAdapter() {
- 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 = "Equipment";
- tableMapping.ColumnMappings.Add("idx", "idx");
- tableMapping.ColumnMappings.Add("pdate", "pdate");
- tableMapping.ColumnMappings.Add("asset", "asset");
- tableMapping.ColumnMappings.Add("grp", "grp");
- tableMapping.ColumnMappings.Add("model", "model");
- tableMapping.ColumnMappings.Add("linecode", "linecode");
- tableMapping.ColumnMappings.Add("serial", "serial");
- tableMapping.ColumnMappings.Add("manu", "manu");
- tableMapping.ColumnMappings.Add("wuid", "wuid");
- tableMapping.ColumnMappings.Add("wdate", "wdate");
- tableMapping.ColumnMappings.Add("primary", "primary");
- tableMapping.ColumnMappings.Add("type", "type");
- tableMapping.ColumnMappings.Add("except", "except");
- tableMapping.ColumnMappings.Add("memo", "memo");
- 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_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 ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)))";
- 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_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("@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_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_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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
- this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [Equipment] ([pdate], [asset], [grp], [model], [linecode], [serial], [manu], [primary], [wuid], [wdate], [type], [except], [memo]) VALUES (@pdate, @asset, @grp, @model, @linecode, @serial, @manu, @primary, @wuid, @wdate, @type, @except, @memo);
-SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, wdate, type, [except], memo FROM Equipment WHERE (idx = SCOPE_IDENTITY())";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@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("@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("@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.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, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [wuid] = @wuid, [wdate] = @wdate, [type] = @type, [except] = @except, [memo] = @memo 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_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 ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)));
-SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, wdate, type, [except], memo FROM Equipment WHERE (idx = @idx)";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@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("@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("@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("@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_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("@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_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_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("@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, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w" +
- "date, type, [except], memo\r\nFROM Equipment";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- }
-
- [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(dsMSSQL.EquipmentDataTable dataTable) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- 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 dsMSSQL.EquipmentDataTable GetData() {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- dsMSSQL.EquipmentDataTable dataTable = new dsMSSQL.EquipmentDataTable();
- 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(dsMSSQL.EquipmentDataTable 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(dsMSSQL dataSet) {
- return this.Adapter.Update(dataSet, "Equipment");
- }
-
- [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_model, string Original_linecode, string Original_serial, string Original_manu, global::System.Nullable Original_primary, string Original_wuid, System.DateTime Original_wdate, string Original_type, global::System.Nullable Original_except, string Original_memo) {
- 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_model == 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_model));
- }
- if ((Original_linecode == 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_linecode));
- }
- if ((Original_serial == 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_serial));
- }
- if ((Original_manu == 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_manu));
- }
- if ((Original_primary.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_primary.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_wuid));
- }
- this.Adapter.DeleteCommand.Parameters[18].Value = ((System.DateTime)(Original_wdate));
- if ((Original_type == null)) {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_type));
- }
- if ((Original_except.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[22].Value = ((bool)(Original_except.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
- }
- if ((Original_memo == null)) {
- this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_memo));
- }
- 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 model, string linecode, string serial, string manu, global::System.Nullable primary, string wuid, System.DateTime wdate, string type, global::System.Nullable except, string memo) {
- 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 ((model == null)) {
- this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].Value = ((string)(model));
- }
- if ((linecode == null)) {
- this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[4].Value = ((string)(linecode));
- }
- if ((serial == null)) {
- this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[5].Value = ((string)(serial));
- }
- if ((manu == null)) {
- this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[6].Value = ((string)(manu));
- }
- if ((primary.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(primary.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- if ((wuid == null)) {
- throw new global::System.ArgumentNullException("wuid");
- }
- else {
- this.Adapter.InsertCommand.Parameters[8].Value = ((string)(wuid));
- }
- this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(wdate));
- if ((type == null)) {
- this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[10].Value = ((string)(type));
- }
- if ((except.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[11].Value = ((bool)(except.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
- if ((memo == null)) {
- this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[12].Value = ((string)(memo));
- }
- 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 model,
- string linecode,
- string serial,
- string manu,
- global::System.Nullable primary,
- string wuid,
- System.DateTime wdate,
- string type,
- global::System.Nullable except,
- string memo,
- int Original_idx,
- string Original_pdate,
- string Original_asset,
- string Original_grp,
- string Original_model,
- string Original_linecode,
- string Original_serial,
- string Original_manu,
- global::System.Nullable Original_primary,
- string Original_wuid,
- System.DateTime Original_wdate,
- string Original_type,
- global::System.Nullable Original_except,
- string Original_memo,
- 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 ((model == null)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(model));
- }
- if ((linecode == null)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(linecode));
- }
- if ((serial == null)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(serial));
- }
- if ((manu == null)) {
- this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(manu));
- }
- if ((primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(primary.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- if ((wuid == null)) {
- throw new global::System.ArgumentNullException("wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(wuid));
- }
- this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(wdate));
- if ((type == null)) {
- this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(type));
- }
- if ((except.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(except.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
- if ((memo == null)) {
- this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(memo));
- }
- this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx));
- if ((Original_pdate == 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_pdate));
- }
- if ((Original_asset == null)) {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[17].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;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_grp));
- }
- if ((Original_model == null)) {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_model));
- }
- if ((Original_linecode == null)) {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_linecode));
- }
- if ((Original_serial == null)) {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_serial));
- }
- if ((Original_manu == null)) {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_manu));
- }
- if ((Original_primary.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[29].Value = ((bool)(Original_primary.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_wuid));
- }
- this.Adapter.UpdateCommand.Parameters[31].Value = ((System.DateTime)(Original_wdate));
- if ((Original_type == null)) {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_type));
- }
- if ((Original_except.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[35].Value = ((bool)(Original_except.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
- }
- if ((Original_memo == null)) {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_memo));
- }
- this.Adapter.UpdateCommand.Parameters[38].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 model,
- string linecode,
- string serial,
- string manu,
- global::System.Nullable primary,
- string wuid,
- System.DateTime wdate,
- string type,
- global::System.Nullable except,
- string memo,
- int Original_idx,
- string Original_pdate,
- string Original_asset,
- string Original_grp,
- string Original_model,
- string Original_linecode,
- string Original_serial,
- string Original_manu,
- global::System.Nullable Original_primary,
- string Original_wuid,
- System.DateTime Original_wdate,
- string Original_type,
- global::System.Nullable Original_except,
- string Original_memo) {
- return this.Update(pdate, asset, grp, model, linecode, serial, manu, primary, wuid, wdate, type, except, memo, Original_idx, Original_pdate, Original_asset, Original_grp, Original_model, Original_linecode, Original_serial, Original_manu, Original_primary, Original_wuid, Original_wdate, Original_type, Original_except, Original_memo, Original_idx);
- }
- }
-
- ///
- ///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 vEquStockTableAdapter : 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 vEquStockTableAdapter() {
- 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 = "vEquStock";
- tableMapping.ColumnMappings.Add("grp", "grp");
- tableMapping.ColumnMappings.Add("manu", "manu");
- tableMapping.ColumnMappings.Add("linecode", "linecode");
- tableMapping.ColumnMappings.Add("team", "team");
- tableMapping.ColumnMappings.Add("part", "part");
- tableMapping.ColumnMappings.Add("cnt", "cnt");
- tableMapping.ColumnMappings.Add("model", "model");
- 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 grp, manu, model, linecode, team, part, cnt\r\nFROM vEquStock";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- }
-
- [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(dsMSSQL.vEquStockDataTable dataTable) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- 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 dsMSSQL.vEquStockDataTable GetData() {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- dsMSSQL.vEquStockDataTable dataTable = new dsMSSQL.vEquStockDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
- }
-
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -9782,8 +7345,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
private LineCodeTableAdapter _lineCodeTableAdapter;
- private EquipmentTableAdapter _equipmentTableAdapter;
-
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -9869,20 +7430,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
}
}
- [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 EquipmentTableAdapter EquipmentTableAdapter {
- get {
- return this._equipmentTableAdapter;
- }
- set {
- this._equipmentTableAdapter = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -9922,10 +7469,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
&& (this._lineCodeTableAdapter.Connection != null))) {
return this._lineCodeTableAdapter.Connection;
}
- if (((this._equipmentTableAdapter != null)
- && (this._equipmentTableAdapter.Connection != null))) {
- return this._equipmentTableAdapter.Connection;
- }
return null;
}
set {
@@ -9954,9 +7497,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
if ((this._lineCodeTableAdapter != null)) {
count = (count + 1);
}
- if ((this._equipmentTableAdapter != null)) {
- count = (count + 1);
- }
return count;
}
}
@@ -10013,15 +7553,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._equipmentTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.Equipment.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));
- allChangedRows.AddRange(updatedRows);
- }
- }
return result;
}
@@ -10072,14 +7603,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
allAddedRows.AddRange(addedRows);
}
}
- if ((this._equipmentTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.Equipment.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._equipmentTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
return result;
}
@@ -10090,14 +7613,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(dsMSSQL 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 (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._equipmentTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._lineCodeTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.LineCode.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -10197,10 +7712,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
&& (this.MatchTableAdapterConnection(this._lineCodeTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
}
- if (((this._equipmentTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._equipmentTableAdapter.Connection) == false))) {
- throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
- }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
@@ -10277,15 +7788,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
adaptersWithAcceptChangesDuringUpdate.Add(this._lineCodeTableAdapter.Adapter);
}
}
- 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);
- }
- }
//
//---- Perform updates -----------
//
@@ -10364,10 +7866,6 @@ SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, w
this._lineCodeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._lineCodeTableAdapter]));
this._lineCodeTableAdapter.Transaction = null;
}
- if ((this._equipmentTableAdapter != null)) {
- this._equipmentTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._equipmentTableAdapter]));
- this._equipmentTableAdapter.Transaction = null;
- }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/Project/dsMSSQL.xsd b/Project/dsMSSQL.xsd
index 37290a7..d7ae487 100644
--- a/Project/dsMSSQL.xsd
+++ b/Project/dsMSSQL.xsd
@@ -553,159 +553,6 @@ SELECT idx, code, team, part, [except], memo, wuid, wdate FROM LineCode WHERE (i
-
-
-
-
-
- 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_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 ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO [Equipment] ([pdate], [asset], [grp], [model], [linecode], [serial], [manu], [primary], [wuid], [wdate], [type], [except], [memo]) VALUES (@pdate, @asset, @grp, @model, @linecode, @serial, @manu, @primary, @wuid, @wdate, @type, @except, @memo);
-SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, wdate, type, [except], memo FROM Equipment WHERE (idx = SCOPE_IDENTITY())
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, wdate, type, [except], memo
-FROM Equipment
-
-
-
-
-
- UPDATE [Equipment] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [model] = @model, [linecode] = @linecode, [serial] = @serial, [manu] = @manu, [primary] = @primary, [wuid] = @wuid, [wdate] = @wdate, [type] = @type, [except] = @except, [memo] = @memo 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_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 ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)));
-SELECT idx, pdate, asset, grp, model, linecode, serial, manu, [primary], wuid, wdate, type, [except], memo FROM Equipment WHERE (idx = @idx)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT grp, manu, model, linecode, team, part, cnt
-FROM vEquStock
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -739,7 +586,7 @@ WHERE (idx = @idx)
-
+
@@ -817,7 +664,7 @@ WHERE (idx = @idx)
-
+
@@ -888,7 +735,7 @@ WHERE (idx = @idx)
-
+
@@ -945,7 +792,7 @@ WHERE (idx = @idx)
-
+
@@ -996,7 +843,7 @@ WHERE (idx = @idx)
-
+
@@ -1007,14 +854,14 @@ WHERE (idx = @idx)
-
+
-
+
@@ -1040,135 +887,6 @@ WHERE (idx = @idx)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1191,9 +909,5 @@ WHERE (idx = @idx)
-
-
-
-
\ No newline at end of file
diff --git a/Project/dsMSSQL.xss b/Project/dsMSSQL.xss
index 3c65d4f..c63967b 100644
--- a/Project/dsMSSQL.xss
+++ b/Project/dsMSSQL.xss
@@ -4,16 +4,14 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Project/fMain.cs b/Project/fMain.cs
index 830a81b..ac4dcba 100644
--- a/Project/fMain.cs
+++ b/Project/fMain.cs
@@ -223,9 +223,7 @@ namespace Project
private void importToolStripMenuItem_Click(object sender, EventArgs e)
{
- _Management.fImpEquipment f = new _Management.fImpEquipment();
- f.MdiParent = this;
- f.Show();
+
}
private void reportToolStripMenuItem_Click(object sender, EventArgs e)
diff --git a/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index aa72a38..338b99d 100644
Binary files a/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/Project/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 0eb1d0c..90849ba 100644
Binary files a/Project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Project/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt b/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt
index 7feb021..def8a08 100644
--- a/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt
+++ b/Project/obj/Debug/EETGW.csproj.FileListAbsolute.txt
@@ -172,3 +172,28 @@ 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
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\GWEE.exe
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\GWEE.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\EETGW.csprojResolveAssemblyReference.cache
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Dialog.fDebug.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Dialog.fMsgWindow.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Dialog.fLogin.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Dialog.fPassword.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.fErrorException.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Dialog.fTouchKeyFull.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.fLog.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.fMain.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.fSetting.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Common.fInventory.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Common.fItems.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Info.fInfo_Staff.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Management.EQfilter.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Management.fEquipment.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Management.fImpEquipment.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Management.fLineCode.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project._Management.rpt_equipmentB.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Prj.fProjectList.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\Project.Properties.Resources.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\EETGW.csproj.GenerateResource.Cache
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\RdlCompile.cache
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Project\obj\Debug\RdlCompile.compiled
diff --git a/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache b/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache
index a38fe41..cfc7124 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 ce145c5..ec079dc 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 726549a..ee1df2a 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 559a22d..a712440 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.fImpEquipment.resources b/Project/obj/Debug/Project._Management.fImpEquipment.resources
index 6c05a97..12d2f27 100644
Binary files a/Project/obj/Debug/Project._Management.fImpEquipment.resources and b/Project/obj/Debug/Project._Management.fImpEquipment.resources differ
diff --git a/Project/obj/Debug/Project._Management.rpt_equipmentB.resources b/Project/obj/Debug/Project._Management.rpt_equipmentB.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/Project/obj/Debug/Project._Management.rpt_equipmentB.resources differ
diff --git a/Project/obj/Debug/RdlCompile.cache b/Project/obj/Debug/RdlCompile.cache
index e2d32f7..9e50a52 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 83c3ec0..6143a74 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/DataSet2.Designer.cs.dll b/Project/obj/Debug/TempPE/DataSet2.Designer.cs.dll
index ca60935..fac74eb 100644
Binary files a/Project/obj/Debug/TempPE/DataSet2.Designer.cs.dll and b/Project/obj/Debug/TempPE/DataSet2.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 0f9a47a..68abbad 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 8f9d5b7..10cb734 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 281cba2..6bb3cd8 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/DesignTimeResolveAssemblyReferencesInput.cache b/Sub/StaffLayoutCtl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index c85659a..262eb71 100644
Binary files a/Sub/StaffLayoutCtl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Sub/StaffLayoutCtl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt
index 6d02ec0..25209e4 100644
--- a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt
+++ b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt
@@ -7,3 +7,7 @@ D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\StaffLayoutCtl\bin\Debug\Staff
D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\StaffLayoutCtl\bin\Debug\StaffLayoutCtl.pdb
D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.dll
D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\bin\Debug\StaffLayoutCtl.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\bin\Debug\StaffLayoutCtl.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.pdb
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll
index 8f9d5b7..10cb734 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 281cba2..6bb3cd8 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 4a3e170..ee1df2a 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 a5aa5f0..a712440 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/StaffLayoutCtl.dll b/Sub/test/bin/Debug/StaffLayoutCtl.dll
index 855568e..10cb734 100644
Binary files a/Sub/test/bin/Debug/StaffLayoutCtl.dll and b/Sub/test/bin/Debug/StaffLayoutCtl.dll differ
diff --git a/Sub/test/bin/Debug/StaffLayoutCtl.pdb b/Sub/test/bin/Debug/StaffLayoutCtl.pdb
index 2f18583..6bb3cd8 100644
Binary files a/Sub/test/bin/Debug/StaffLayoutCtl.pdb and b/Sub/test/bin/Debug/StaffLayoutCtl.pdb differ
diff --git a/Sub/test/bin/Debug/arControl.Net4.dll b/Sub/test/bin/Debug/arControl.Net4.dll
index 28ae8ed..cb67b41 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 e5bd511..da58b3d 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 50933dd..a96ac6a 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 490ea9c..53fb843 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/DesignTimeResolveAssemblyReferencesInput.cache b/Sub/test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index c60839d..3e73c08 100644
Binary files a/Sub/test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Sub/test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Sub/test/obj/Debug/test.csproj.FileListAbsolute.txt b/Sub/test/obj/Debug/test.csproj.FileListAbsolute.txt
index eabe62d..34c8758 100644
--- a/Sub/test/obj/Debug/test.csproj.FileListAbsolute.txt
+++ b/Sub/test/obj/Debug/test.csproj.FileListAbsolute.txt
@@ -39,3 +39,22 @@ D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\test\obj\Debug\test.Properties
D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\test\obj\Debug\test.csproj.GenerateResource.Cache
D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\test\obj\Debug\test.exe
D:\Source\GroupWare\EET_GroupWare_180713_0000\Sub\test\obj\Debug\test.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\libxl.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\test.exe
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\test.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\GWEE.exe
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\StaffLayoutCtl.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\ArSetting.Net4.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\arControl.Net4.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\ArLog.Net4.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\libxl.net.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\CarlosAg.ExcelXmlWriter.dll
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\GWEE.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\StaffLayoutCtl.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\bin\Debug\arControl.Net4.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\obj\Debug\test.csprojResolveAssemblyReference.cache
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\obj\Debug\test.Form1.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\obj\Debug\test.Properties.Resources.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\obj\Debug\test.csproj.GenerateResource.Cache
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\obj\Debug\test.exe
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\test\obj\Debug\test.pdb
diff --git a/Sub/test/obj/Debug/test.csprojResolveAssemblyReference.cache b/Sub/test/obj/Debug/test.csprojResolveAssemblyReference.cache
index b18450e..3cead03 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 50933dd..a96ac6a 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 490ea9c..53fb843 100644
Binary files a/Sub/test/obj/Debug/test.pdb and b/Sub/test/obj/Debug/test.pdb differ