From ac45a7429cf1bdfae93683cd9da4cd32713580a3 Mon Sep 17 00:00:00 2001 From: chi Date: Thu, 1 Jul 2021 11:47:28 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=EC=BC=80=EC=A5=B4=20=EC=A7=80?= =?UTF-8?q?=EC=97=B0=EC=82=AC=EC=9C=A0=20=EC=9E=85=EB=A0=A5=20=EC=B9=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Project/Properties/AssemblyInfo.cs | 4 +- .../Project/fProjectSchedule.Designer.cs | 471 +++- .../FPJ0000/Project/fProjectSchedule.cs | 73 +- .../FPJ0000/Project/fProjectSchedule.resx | 95 + SubProject/FPJ0000/dsPRJ.Designer.cs | 2148 ++++++++++++++--- SubProject/FPJ0000/dsPRJ.xsd | 186 +- SubProject/FPJ0000/dsPRJ.xss | 37 +- 7 files changed, 2565 insertions(+), 449 deletions(-) diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index a4a9f3b..b5d0d83 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("21.06.28.2100")] -[assembly: AssemblyFileVersion("21.06.28.2100")] +[assembly: AssemblyVersion("21.07.01.1130")] +[assembly: AssemblyFileVersion("21.07.01.1130")] diff --git a/SubProject/FPJ0000/Project/fProjectSchedule.Designer.cs b/SubProject/FPJ0000/Project/fProjectSchedule.Designer.cs index 8e0e394..acdc3de 100644 --- a/SubProject/FPJ0000/Project/fProjectSchedule.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectSchedule.Designer.cs @@ -39,20 +39,20 @@ System.Windows.Forms.Label pdateLabel; System.Windows.Forms.Label label2; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectSchedule)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType29 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType30 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType31 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType32 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType33 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType34 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType35 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType57 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType57 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType58 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType59 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType60 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType61 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType62 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType58 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType59 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType60 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType61 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType62 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType63 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType63 = new FarPoint.Win.Spread.CellType.NumberCellType(); this.dsPRJ = new FPJ0000.dsPRJ(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectsScheduleTableAdapter(); @@ -73,6 +73,8 @@ this.projectsScheduleBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton10 = new System.Windows.Forms.ToolStripButton(); + this.chkapp2 = new System.Windows.Forms.ToolStripButton(); + this.chkapp1 = new System.Windows.Forms.ToolStripButton(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -131,8 +133,28 @@ this.pdateTextBox = new System.Windows.Forms.TextBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.taProjectInfo = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); - this.chkapp1 = new System.Windows.Forms.ToolStripButton(); - this.chkapp2 = new System.Windows.Forms.ToolStripButton(); + this.panel4 = new System.Windows.Forms.Panel(); + this.groupBox5 = new System.Windows.Forms.GroupBox(); + this.bsReason = new System.Windows.Forms.BindingSource(this.components); + this.bnReason = new System.Windows.Forms.BindingNavigator(this.components); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripButton11 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton12 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripTextBox2 = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton13 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton14 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton15 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton16 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton17 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton18 = new System.Windows.Forms.ToolStripButton(); + this.taReason = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectResonTableAdapter(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.label3 = new System.Windows.Forms.Label(); statusLabel = new System.Windows.Forms.Label(); odateLabel = new System.Windows.Forms.Label(); edateLabel = new System.Windows.Forms.Label(); @@ -162,6 +184,12 @@ this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsPrjinfo)).BeginInit(); + this.panel4.SuspendLayout(); + this.groupBox5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsReason)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bnReason)).BeginInit(); + this.bnReason.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // statusLabel @@ -257,6 +285,7 @@ this.tam.EETGW_JobReport_EBoardTableAdapter = null; this.tam.EETGW_NoteTableAdapter = null; this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectResonTableAdapter = null; this.tam.EETGW_ProjectsScheduleTableAdapter = this.ta; this.tam.EETGW_ProjectToDoTableAdapter = this.taTodo; this.tam.EETGW_SaveCostTableAdapter = null; @@ -302,14 +331,14 @@ this.toolStripButton10, this.chkapp2, this.chkapp1}); - this.bn.Location = new System.Drawing.Point(5, 259); + this.bn.Location = new System.Drawing.Point(5, 248); 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(795, 25); + this.bn.Size = new System.Drawing.Size(1014, 25); this.bn.TabIndex = 0; this.bn.Text = "bindingNavigator1"; // @@ -437,6 +466,26 @@ this.toolStripButton10.Text = "기본목록생성"; this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click); // + // chkapp2 + // + this.chkapp2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.chkapp2.Image = global::FPJ0000.Properties.Resources.accept; + this.chkapp2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chkapp2.Name = "chkapp2"; + this.chkapp2.Size = new System.Drawing.Size(58, 22); + this.chkapp2.Text = "승인2"; + this.chkapp2.Click += new System.EventHandler(this.chkapp2_Click); + // + // chkapp1 + // + this.chkapp1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.chkapp1.Image = global::FPJ0000.Properties.Resources.accept; + this.chkapp1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chkapp1.Name = "chkapp1"; + this.chkapp1.Size = new System.Drawing.Size(58, 22); + this.chkapp1.Text = "승인1"; + this.chkapp1.Click += new System.EventHandler(this.chkapp1_Click); + // // fpSpread1 // this.fpSpread1.AccessibleDescription = ""; @@ -447,7 +496,7 @@ this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(795, 240); + this.fpSpread1.Size = new System.Drawing.Size(1014, 229); this.fpSpread1.TabIndex = 1; // // cm1 @@ -546,68 +595,68 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "완료"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "%"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 21F; - numberCellType29.DecimalPlaces = 0; - numberCellType29.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType29.MaximumValue = 2147483647D; - numberCellType29.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType29; + numberCellType57.DecimalPlaces = 0; + numberCellType57.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType57.MaximumValue = 2147483647D; + numberCellType57.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType57; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "seq"; this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType29; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType57; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "title"; this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType30.DecimalPlaces = 0; - numberCellType30.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType30.MaximumValue = 2147483647D; - numberCellType30.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType30; + numberCellType58.DecimalPlaces = 0; + numberCellType58.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType58.MaximumValue = 2147483647D; + numberCellType58.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType58; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "sw"; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).Label = "시작"; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType31.DecimalPlaces = 0; - numberCellType31.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType31.MaximumValue = 2147483647D; - numberCellType31.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType31; + numberCellType59.DecimalPlaces = 0; + numberCellType59.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType59.MaximumValue = 2147483647D; + numberCellType59.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType59; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ew"; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Label = "완료"; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType32.DecimalPlaces = 0; - numberCellType32.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType32.MaximumValue = 2147483647D; - numberCellType32.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType32; + numberCellType60.DecimalPlaces = 0; + numberCellType60.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType60.MaximumValue = 2147483647D; + numberCellType60.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType60; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "swa"; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Label = "시작"; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType33.DecimalPlaces = 0; - numberCellType33.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType33.MaximumValue = 2147483647D; - numberCellType33.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType33; + numberCellType61.DecimalPlaces = 0; + numberCellType61.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType61.MaximumValue = 2147483647D; + numberCellType61.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType61; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ewa"; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Label = "완료"; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType34.DecimalPlaces = 0; - numberCellType34.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType34.MaximumValue = 2147483647D; - numberCellType34.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType34; + numberCellType62.DecimalPlaces = 0; + numberCellType62.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType62.MaximumValue = 2147483647D; + numberCellType62.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType62; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "progress"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Label = "%"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType30; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType58; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "uid"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType31; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType59; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; @@ -623,7 +672,7 @@ this.groupBox1.Location = new System.Drawing.Point(332, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(5); - this.groupBox1.Size = new System.Drawing.Size(805, 289); + this.groupBox1.Size = new System.Drawing.Size(1024, 278); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Schedule"; @@ -632,10 +681,10 @@ // this.groupBox2.Controls.Add(this.panel1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBox2.Location = new System.Drawing.Point(5, 322); + this.groupBox2.Location = new System.Drawing.Point(5, 311); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(5); - this.groupBox2.Size = new System.Drawing.Size(654, 344); + this.groupBox2.Size = new System.Drawing.Size(907, 607); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Time Table"; @@ -646,7 +695,7 @@ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(5, 19); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(644, 320); + this.panel1.Size = new System.Drawing.Size(897, 583); this.panel1.TabIndex = 0; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); this.panel1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseClick); @@ -656,14 +705,14 @@ this.groupBox3.Controls.Add(this.fpSpread2); this.groupBox3.Controls.Add(this.groupBox4); this.groupBox3.Controls.Add(this.bnTodo); - this.groupBox3.Dock = System.Windows.Forms.DockStyle.Right; - this.groupBox3.Location = new System.Drawing.Point(659, 322); + this.groupBox3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.groupBox3.Location = new System.Drawing.Point(0, 307); this.groupBox3.Name = "groupBox3"; this.groupBox3.Padding = new System.Windows.Forms.Padding(10); - this.groupBox3.Size = new System.Drawing.Size(483, 344); + this.groupBox3.Size = new System.Drawing.Size(449, 300); this.groupBox3.TabIndex = 4; this.groupBox3.TabStop = false; - this.groupBox3.Text = "Todo"; + this.groupBox3.Text = "할일 세부 목록"; // // fpSpread2 // @@ -675,7 +724,7 @@ this.fpSpread2.Name = "fpSpread2"; this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread2_Sheet1}); - this.fpSpread2.Size = new System.Drawing.Size(463, 185); + this.fpSpread2.Size = new System.Drawing.Size(429, 160); this.fpSpread2.TabIndex = 1; // // cm2 @@ -759,27 +808,27 @@ this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "완료일"; this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "진행"; this.fpSpread2_Sheet1.ColumnHeader.Rows.Get(0).Height = 31F; - this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType32; + this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType60; this.fpSpread2_Sheet1.Columns.Get(0).DataField = "sort"; this.fpSpread2_Sheet1.Columns.Get(0).Label = "No"; this.fpSpread2_Sheet1.Columns.Get(0).Width = 58F; - this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType33; + this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType61; this.fpSpread2_Sheet1.Columns.Get(1).DataField = "title"; this.fpSpread2_Sheet1.Columns.Get(1).Label = "항목"; this.fpSpread2_Sheet1.Columns.Get(1).Width = 151F; - this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType34; + this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType62; this.fpSpread2_Sheet1.Columns.Get(2).DataField = "pdate"; this.fpSpread2_Sheet1.Columns.Get(2).Label = "시작일"; this.fpSpread2_Sheet1.Columns.Get(2).Width = 84F; - this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType35; + this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType63; this.fpSpread2_Sheet1.Columns.Get(3).DataField = "edate"; this.fpSpread2_Sheet1.Columns.Get(3).Label = "완료일"; this.fpSpread2_Sheet1.Columns.Get(3).Width = 76F; - numberCellType35.DecimalPlaces = 0; - numberCellType35.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType35.MaximumValue = 2147483647D; - numberCellType35.MinimumValue = -2147483648D; - this.fpSpread2_Sheet1.Columns.Get(4).CellType = numberCellType35; + numberCellType63.DecimalPlaces = 0; + numberCellType63.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType63.MaximumValue = 2147483647D; + numberCellType63.MinimumValue = -2147483648D; + this.fpSpread2_Sheet1.Columns.Get(4).CellType = numberCellType63; this.fpSpread2_Sheet1.Columns.Get(4).DataField = "process"; this.fpSpread2_Sheet1.Columns.Get(4).Label = "진행"; this.fpSpread2_Sheet1.Columns.Get(4).Width = 77F; @@ -797,13 +846,13 @@ // this.groupBox4.Controls.Add(this.textBox1); this.groupBox4.Dock = System.Windows.Forms.DockStyle.Bottom; - this.groupBox4.Location = new System.Drawing.Point(10, 209); + this.groupBox4.Location = new System.Drawing.Point(10, 184); this.groupBox4.Name = "groupBox4"; this.groupBox4.Padding = new System.Windows.Forms.Padding(10); - this.groupBox4.Size = new System.Drawing.Size(463, 100); + this.groupBox4.Size = new System.Drawing.Size(429, 81); this.groupBox4.TabIndex = 4; this.groupBox4.TabStop = false; - this.groupBox4.Text = "Todo 비고"; + this.groupBox4.Text = "비고"; // // textBox1 // @@ -812,7 +861,7 @@ this.textBox1.Location = new System.Drawing.Point(10, 24); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(443, 66); + this.textBox1.Size = new System.Drawing.Size(409, 47); this.textBox1.TabIndex = 3; // // bnTodo @@ -836,14 +885,14 @@ this.toolStripButton7, this.toolStripButton8, this.toolStripButton9}); - this.bnTodo.Location = new System.Drawing.Point(10, 309); + this.bnTodo.Location = new System.Drawing.Point(10, 265); this.bnTodo.MoveFirstItem = this.toolStripButton2; this.bnTodo.MoveLastItem = this.toolStripButton5; this.bnTodo.MoveNextItem = this.toolStripButton4; this.bnTodo.MovePreviousItem = this.toolStripButton3; this.bnTodo.Name = "bnTodo"; this.bnTodo.PositionItem = this.toolStripTextBox1; - this.bnTodo.Size = new System.Drawing.Size(463, 25); + this.bnTodo.Size = new System.Drawing.Size(429, 25); this.bnTodo.TabIndex = 2; this.bnTodo.Text = "bindingNavigator1"; // @@ -959,9 +1008,9 @@ // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.button1.Location = new System.Drawing.Point(5, 666); + this.button1.Location = new System.Drawing.Point(5, 918); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(1137, 38); + this.button1.Size = new System.Drawing.Size(1356, 38); this.button1.TabIndex = 5; this.button1.Text = "저장(&S)"; this.button1.UseVisualStyleBackColor = true; @@ -975,7 +1024,7 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(5, 5); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1137, 317); + this.panel2.Size = new System.Drawing.Size(1356, 306); this.panel2.TabIndex = 6; // // panel3 @@ -1004,7 +1053,7 @@ this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 28); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(332, 289); + this.panel3.Size = new System.Drawing.Size(332, 278); this.panel3.TabIndex = 36; // // textBox3 @@ -1124,7 +1173,7 @@ this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(0, 0); this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(1137, 28); + this.comboBox1.Size = new System.Drawing.Size(1356, 28); this.comboBox1.TabIndex = 2; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // @@ -1132,33 +1181,227 @@ // this.taProjectInfo.ClearBeforeFill = true; // - // chkapp1 + // panel4 // - this.chkapp1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.chkapp1.Image = global::FPJ0000.Properties.Resources.accept; - this.chkapp1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chkapp1.Name = "chkapp1"; - this.chkapp1.Size = new System.Drawing.Size(58, 22); - this.chkapp1.Text = "승인1"; - this.chkapp1.Click += new System.EventHandler(this.chkapp1_Click); + this.panel4.Controls.Add(this.groupBox5); + this.panel4.Controls.Add(this.groupBox3); + this.panel4.Dock = System.Windows.Forms.DockStyle.Right; + this.panel4.Location = new System.Drawing.Point(912, 311); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(449, 607); + this.panel4.TabIndex = 7; // - // chkapp2 + // groupBox5 // - this.chkapp2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.chkapp2.Image = global::FPJ0000.Properties.Resources.accept; - this.chkapp2.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chkapp2.Name = "chkapp2"; - this.chkapp2.Size = new System.Drawing.Size(58, 22); - this.chkapp2.Text = "승인2"; - this.chkapp2.Click += new System.EventHandler(this.chkapp2_Click); + this.groupBox5.Controls.Add(this.dataGridView1); + this.groupBox5.Controls.Add(this.label3); + this.groupBox5.Controls.Add(this.bnReason); + this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox5.Location = new System.Drawing.Point(0, 0); + this.groupBox5.Name = "groupBox5"; + this.groupBox5.Padding = new System.Windows.Forms.Padding(10); + this.groupBox5.Size = new System.Drawing.Size(449, 307); + this.groupBox5.TabIndex = 5; + this.groupBox5.TabStop = false; + this.groupBox5.Text = "프로젝트 지연 사유"; + // + // bsReason + // + this.bsReason.DataMember = "EETGW_ProjectReson"; + this.bsReason.DataSource = this.dsPRJ; + // + // bnReason + // + this.bnReason.AddNewItem = null; + this.bnReason.BindingSource = this.bsReason; + this.bnReason.CountItem = this.toolStripLabel2; + this.bnReason.DeleteItem = null; + this.bnReason.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bnReason.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripButton11, + this.toolStripButton12, + this.toolStripSeparator5, + this.toolStripTextBox2, + this.toolStripLabel2, + this.toolStripSeparator6, + this.toolStripButton13, + this.toolStripButton14, + this.toolStripSeparator7, + this.toolStripButton15, + this.toolStripButton16, + this.toolStripButton17, + this.toolStripButton18}); + this.bnReason.Location = new System.Drawing.Point(10, 272); + this.bnReason.MoveFirstItem = this.toolStripButton11; + this.bnReason.MoveLastItem = this.toolStripButton14; + this.bnReason.MoveNextItem = this.toolStripButton13; + this.bnReason.MovePreviousItem = this.toolStripButton12; + this.bnReason.Name = "bnReason"; + this.bnReason.PositionItem = this.toolStripTextBox2; + this.bnReason.Size = new System.Drawing.Size(429, 25); + this.bnReason.TabIndex = 2; + this.bnReason.Text = "bindingNavigator1"; + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(27, 22); + this.toolStripLabel2.Text = "/{0}"; + this.toolStripLabel2.ToolTipText = "전체 항목 수"; + // + // toolStripButton11 + // + this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image"))); + this.toolStripButton11.Name = "toolStripButton11"; + this.toolStripButton11.RightToLeftAutoMirrorImage = true; + this.toolStripButton11.Size = new System.Drawing.Size(23, 22); + this.toolStripButton11.Text = "처음으로 이동"; + // + // toolStripButton12 + // + this.toolStripButton12.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image"))); + this.toolStripButton12.Name = "toolStripButton12"; + this.toolStripButton12.RightToLeftAutoMirrorImage = true; + this.toolStripButton12.Size = new System.Drawing.Size(23, 22); + this.toolStripButton12.Text = "이전으로 이동"; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); + // + // toolStripTextBox2 + // + this.toolStripTextBox2.AccessibleName = "위치"; + this.toolStripTextBox2.AutoSize = false; + this.toolStripTextBox2.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.toolStripTextBox2.Name = "toolStripTextBox2"; + this.toolStripTextBox2.Size = new System.Drawing.Size(50, 23); + this.toolStripTextBox2.Text = "0"; + this.toolStripTextBox2.ToolTipText = "현재 위치"; + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); + // + // toolStripButton13 + // + this.toolStripButton13.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton13.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton13.Image"))); + this.toolStripButton13.Name = "toolStripButton13"; + this.toolStripButton13.RightToLeftAutoMirrorImage = true; + this.toolStripButton13.Size = new System.Drawing.Size(23, 22); + this.toolStripButton13.Text = "다음으로 이동"; + // + // toolStripButton14 + // + this.toolStripButton14.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton14.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton14.Image"))); + this.toolStripButton14.Name = "toolStripButton14"; + this.toolStripButton14.RightToLeftAutoMirrorImage = true; + this.toolStripButton14.Size = new System.Drawing.Size(23, 22); + this.toolStripButton14.Text = "마지막으로 이동"; + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25); + // + // toolStripButton15 + // + this.toolStripButton15.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image"))); + this.toolStripButton15.Name = "toolStripButton15"; + this.toolStripButton15.RightToLeftAutoMirrorImage = true; + this.toolStripButton15.Size = new System.Drawing.Size(23, 22); + this.toolStripButton15.Text = "새로 추가"; + this.toolStripButton15.Click += new System.EventHandler(this.toolStripButton15_Click); + // + // toolStripButton16 + // + this.toolStripButton16.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton16.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton16.Image"))); + this.toolStripButton16.Name = "toolStripButton16"; + this.toolStripButton16.RightToLeftAutoMirrorImage = true; + this.toolStripButton16.Size = new System.Drawing.Size(23, 22); + this.toolStripButton16.Text = "삭제"; + this.toolStripButton16.Click += new System.EventHandler(this.toolStripButton16_Click); + // + // toolStripButton17 + // + this.toolStripButton17.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton17.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton17.Image"))); + this.toolStripButton17.Name = "toolStripButton17"; + this.toolStripButton17.Size = new System.Drawing.Size(23, 22); + this.toolStripButton17.Text = "데이터 저장"; + this.toolStripButton17.Visible = false; + this.toolStripButton17.Click += new System.EventHandler(this.toolStripButton17_Click); + // + // toolStripButton18 + // + this.toolStripButton18.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton18.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton18.Image"))); + this.toolStripButton18.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton18.Name = "toolStripButton18"; + this.toolStripButton18.Size = new System.Drawing.Size(66, 20); + this.toolStripButton18.Text = "Refresh"; + this.toolStripButton18.Visible = false; + // + // taReason + // + this.taReason.ClearBeforeFill = true; + // + // dataGridView1 + // + this.dataGridView1.AllowUserToAddRows = false; + this.dataGridView1.AllowUserToDeleteRows = false; + this.dataGridView1.AutoGenerateColumns = false; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.pdateDataGridViewTextBoxColumn, + this.remarkDataGridViewTextBoxColumn}); + this.dataGridView1.DataSource = this.bsReason; + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridView1.Location = new System.Drawing.Point(10, 24); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.RowHeadersVisible = false; + this.dataGridView1.RowTemplate.Height = 23; + this.dataGridView1.Size = new System.Drawing.Size(429, 208); + this.dataGridView1.TabIndex = 3; + // + // pdateDataGridViewTextBoxColumn + // + this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate"; + this.pdateDataGridViewTextBoxColumn.HeaderText = "등록일"; + this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn"; + // + // remarkDataGridViewTextBoxColumn + // + this.remarkDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.remarkDataGridViewTextBoxColumn.DataPropertyName = "remark"; + this.remarkDataGridViewTextBoxColumn.HeaderText = "사유"; + this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn"; + // + // label3 + // + this.label3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsReason, "remark", true)); + this.label3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label3.Location = new System.Drawing.Point(10, 232); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(429, 40); + this.label3.TabIndex = 4; + this.label3.Text = "label3"; // // fProjectSchedule // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1147, 709); + this.ClientSize = new System.Drawing.Size(1366, 961); this.Controls.Add(this.groupBox2); - this.Controls.Add(this.groupBox3); + this.Controls.Add(this.panel4); this.Controls.Add(this.panel2); this.Controls.Add(this.button1); this.Name = "fProjectSchedule"; @@ -1192,6 +1435,14 @@ this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsPrjinfo)).EndInit(); + this.panel4.ResumeLayout(false); + this.groupBox5.ResumeLayout(false); + this.groupBox5.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsReason)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bnReason)).EndInit(); + this.bnReason.ResumeLayout(false); + this.bnReason.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); } @@ -1278,5 +1529,27 @@ private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.ToolStripButton chkapp1; private System.Windows.Forms.ToolStripButton chkapp2; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.GroupBox groupBox5; + private System.Windows.Forms.BindingNavigator bnReason; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripButton toolStripButton11; + private System.Windows.Forms.ToolStripButton toolStripButton12; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripTextBox toolStripTextBox2; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripButton toolStripButton13; + private System.Windows.Forms.ToolStripButton toolStripButton14; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripButton toolStripButton15; + private System.Windows.Forms.ToolStripButton toolStripButton16; + private System.Windows.Forms.ToolStripButton toolStripButton17; + private System.Windows.Forms.ToolStripButton toolStripButton18; + private System.Windows.Forms.BindingSource bsReason; + private dsPRJTableAdapters.EETGW_ProjectResonTableAdapter taReason; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn; + private System.Windows.Forms.Label label3; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectSchedule.cs b/SubProject/FPJ0000/Project/fProjectSchedule.cs index bb4225f..d8b523c 100644 --- a/SubProject/FPJ0000/Project/fProjectSchedule.cs +++ b/SubProject/FPJ0000/Project/fProjectSchedule.cs @@ -17,7 +17,7 @@ namespace FPJ0000 EEEntities db; List list; Boolean bInit = false; - + public fProjectSchedule(int project_) { InitializeComponent(); @@ -28,8 +28,11 @@ namespace FPJ0000 this.FormClosed += FProjectSchedule_FormClosed; this.FormClosing += FProjectSchedule_FormClosing; this.dsPRJ.EETGW_ProjectsSchedule.TableNewRow += ProjectsSchedule_TableNewRow; + //this.dsPRJ.EETGW_ProjectReson.TableNewRow += EETGW_ProjectReson_TableNewRow; } + + private void FProjectSchedule_FormClosing(object sender, FormClosingEventArgs e) { this.Validate(); @@ -52,6 +55,13 @@ namespace FPJ0000 this.dsPRJ.EETGW_ProjectsSchedule.TableNewRow -= ProjectsSchedule_TableNewRow; this.dsPRJ.EETGW_ProjectsSchedule.RowChanged += EETGW_ProjectsSchedule_RowChanged; } + private void EETGW_ProjectReson_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["project"] = this.projectindex; + e.Row["gcode"] = FCOMMON.info.Login.gcode; + } void ProjectsSchedule_TableNewRow(object sender, DataTableNewRowEventArgs e) { @@ -95,7 +105,7 @@ namespace FPJ0000 RefreshData(); RefreshGraph(); this.dsPRJ.EETGW_ProjectsSchedule.RowChanged += EETGW_ProjectsSchedule_RowChanged; - + //시작할떄 cww 를 가져오낟. var sql = "select dbo.getWorkWeek('" + DateTime.Now.ToShortDateString() + "')"; @@ -129,6 +139,7 @@ namespace FPJ0000 this.ta.Fill(this.dsPRJ.EETGW_ProjectsSchedule, FCOMMON.info.Login.gcode, this.projectindex, scno); this.taTodo.Fill(this.dsPRJ.EETGW_ProjectToDo, this.projectindex); + this.taReason.Fill(this.dsPRJ.EETGW_ProjectReson, FCOMMON.info.Login.gcode, this.projectindex, int.Parse(comboBox1.Text)); //this.bs.DataSource = list;//.ToList();// db.EETGW_ProjectsSchedule.Local; //this.fpSpread1_Sheet1.DataSource = this.bs; FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); @@ -148,7 +159,7 @@ namespace FPJ0000 chkapp1.Checked = false; chkapp2.Checked = false; - + } else if (dr.appoval == 1) { @@ -172,8 +183,8 @@ namespace FPJ0000 this.fpSpread1.Sheets[0].Columns[3].BackColor = Color.FromArgb(230, 230, 230); } - - + + @@ -271,7 +282,9 @@ namespace FPJ0000 { this.fpSpread2.Enabled = true; bnTodo.Enabled = true; + this.bsTodo.Filter = "pseq=" + dr.idx; //해당데이터만 처리하게 한다 + this.bsReason.Filter = "pseq=" + dr.idx; } } @@ -288,6 +301,8 @@ namespace FPJ0000 newdr.wdate = DateTime.Now; newdr.pidx = this.projectindex; newdr.pseq = dr.idx; + newdr.gcode = FCOMMON.info.Login.gcode; + newdr.no = int.Parse(comboBox1.Text); this.dsPRJ.EETGW_ProjectToDo.AddEETGW_ProjectToDoRow(newdr); bsTodo.EndEdit(); @@ -321,6 +336,8 @@ namespace FPJ0000 this.Validate(); this.bs.EndEdit(); this.bsTodo.EndEdit(); + this.bsReason.EndEdit(); + if (this.dsPRJ.HasChanges() == false) { FCOMMON.Util.MsgE("변경된 내용이 없습니다"); @@ -330,7 +347,8 @@ namespace FPJ0000 { var cnt1 = this.ta.Update(this.dsPRJ.EETGW_ProjectsSchedule); var cnt2 = this.taTodo.Update(this.dsPRJ.EETGW_ProjectToDo); - var cnt = cnt1 + cnt2;// this.tam.UpdateAll(this.dsPRJ); + var cnt3 = this.taReason.Update(this.dsPRJ.EETGW_ProjectReson); + var cnt = cnt1 + cnt2 + cnt3;// this.tam.UpdateAll(this.dsPRJ); if (cnt == 0) { FCOMMON.Util.MsgE("저장된 자료가 없습니다"); @@ -595,14 +613,14 @@ namespace FPJ0000 util.MsgE("'승인권한1'이 없습니다"); return; } - if(chkapp1.Checked) + if (chkapp1.Checked) { util.MsgE("'승인해제1'는 현재 구현 중"); } else { chkapp1.Checked = true; - foreach(var item in this.dsPRJ.EETGW_ProjectsSchedule) + foreach (var item in this.dsPRJ.EETGW_ProjectsSchedule) { if (item.RowState == DataRowState.Deleted || item.RowState == DataRowState.Deleted) continue; item.appoval = 1; @@ -638,11 +656,48 @@ namespace FPJ0000 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { if (bInit == false) return; - if(comboBox1.SelectedIndex == this.comboBox1.Items.Count-1) + if (comboBox1.SelectedIndex == this.comboBox1.Items.Count - 1) { util.MsgE("스케쥴 신규 추가 기능은 준비 중 입니다"); this.comboBox1.SelectedIndex = this.comboBox1.Items.Count - 2; } } + + private void toolStripButton15_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.EETGW_ProjectsScheduleRow; + + //사유추가 + var newdr = this.dsPRJ.EETGW_ProjectReson.NewEETGW_ProjectResonRow(); + newdr.wuid = FCOMMON.info.Login.no; + newdr.wdate = DateTime.Now; + newdr.pidx = this.projectindex; + newdr.pdate = DateTime.Now.ToShortDateString(); + newdr.pseq = dr.idx; + newdr.gcode = FCOMMON.info.Login.gcode; + newdr.no = int.Parse(comboBox1.Text); + this.dsPRJ.EETGW_ProjectReson.AddEETGW_ProjectResonRow(newdr); + + bsReason.EndEdit(); + this.dataGridView1.Focus(); + + if (this.bsReason.Count > 0) + this.bsReason.Position = this.bsReason.Count - 1; + } + + private void toolStripButton17_Click(object sender, EventArgs e) + { + this.Validate(); + this.bsReason.EndEdit(); + var cnt = taReason.Update(this.dsPRJ.EETGW_ProjectReson); + FCOMMON.Util.MsgI($"{cnt}건의 자료가 업데이트 되었습니다"); + } + + private void toolStripButton16_Click(object sender, EventArgs e) + { + bsReason.RemoveCurrent(); + } } } diff --git a/SubProject/FPJ0000/Project/fProjectSchedule.resx b/SubProject/FPJ0000/Project/fProjectSchedule.resx index 4813b7b..3af9ef5 100644 --- a/SubProject/FPJ0000/Project/fProjectSchedule.resx +++ b/SubProject/FPJ0000/Project/fProjectSchedule.resx @@ -443,4 +443,99 @@ 17, 56 + + 411, 56 + + + 255, 56 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ + Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ + /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA + zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ + IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E + rkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + 550, 56 + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index 9af96c8..f658fbd 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -54,6 +54,8 @@ namespace FPJ0000 { private EETGW_ProjectsScheduleDataTable tableEETGW_ProjectsSchedule; + private EETGW_ProjectResonDataTable tableEETGW_ProjectReson; + private SCTableDataTable tableSCTable; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; @@ -133,6 +135,9 @@ namespace FPJ0000 { if ((ds.Tables["EETGW_ProjectsSchedule"] != null)) { base.Tables.Add(new EETGW_ProjectsScheduleDataTable(ds.Tables["EETGW_ProjectsSchedule"])); } + if ((ds.Tables["EETGW_ProjectReson"] != null)) { + base.Tables.Add(new EETGW_ProjectResonDataTable(ds.Tables["EETGW_ProjectReson"])); + } if ((ds.Tables["SCTable"] != null)) { base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); } @@ -305,6 +310,16 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_ProjectResonDataTable EETGW_ProjectReson { + get { + return this.tableEETGW_ProjectReson; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -428,6 +443,9 @@ namespace FPJ0000 { if ((ds.Tables["EETGW_ProjectsSchedule"] != null)) { base.Tables.Add(new EETGW_ProjectsScheduleDataTable(ds.Tables["EETGW_ProjectsSchedule"])); } + if ((ds.Tables["EETGW_ProjectReson"] != null)) { + base.Tables.Add(new EETGW_ProjectResonDataTable(ds.Tables["EETGW_ProjectReson"])); + } if ((ds.Tables["SCTable"] != null)) { base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); } @@ -554,6 +572,12 @@ namespace FPJ0000 { this.tableEETGW_ProjectsSchedule.InitVars(); } } + this.tableEETGW_ProjectReson = ((EETGW_ProjectResonDataTable)(base.Tables["EETGW_ProjectReson"])); + if ((initTable == true)) { + if ((this.tableEETGW_ProjectReson != null)) { + this.tableEETGW_ProjectReson.InitVars(); + } + } this.tableSCTable = ((SCTableDataTable)(base.Tables["SCTable"])); if ((initTable == true)) { if ((this.tableSCTable != null)) { @@ -600,6 +624,8 @@ namespace FPJ0000 { base.Tables.Add(this.tableEETGW_JobReport_AutoInput); this.tableEETGW_ProjectsSchedule = new EETGW_ProjectsScheduleDataTable(); base.Tables.Add(this.tableEETGW_ProjectsSchedule); + this.tableEETGW_ProjectReson = new EETGW_ProjectResonDataTable(); + base.Tables.Add(this.tableEETGW_ProjectReson); this.tableSCTable = new SCTableDataTable(); base.Tables.Add(this.tableSCTable); } @@ -694,6 +720,12 @@ namespace FPJ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeEETGW_ProjectReson() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private bool ShouldSerializeSCTable() { @@ -807,6 +839,9 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void EETGW_ProjectsScheduleRowChangeEventHandler(object sender, EETGW_ProjectsScheduleRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void EETGW_ProjectResonRowChangeEventHandler(object sender, EETGW_ProjectResonRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void SCTableRowChangeEventHandler(object sender, SCTableRowChangeEvent e); @@ -7560,6 +7595,10 @@ namespace FPJ0000 { private global::System.Data.DataColumn columnpseq; + private global::System.Data.DataColumn columnno; + + private global::System.Data.DataColumn columngcode; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public EETGW_ProjectToDoDataTable() { @@ -7713,6 +7752,22 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn noColumn { + get { + return this.columnno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -7750,7 +7805,23 @@ namespace FPJ0000 { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public EETGW_ProjectToDoRow AddEETGW_ProjectToDoRow(int pidx, string title, string pdate, string edate, int process, string remark, string remark2, string wuid, System.DateTime wdate, string sort, string cate, int ww, int sw, int pseq) { + public EETGW_ProjectToDoRow AddEETGW_ProjectToDoRow( + int pidx, + string title, + string pdate, + string edate, + int process, + string remark, + string remark2, + string wuid, + System.DateTime wdate, + string sort, + string cate, + int ww, + int sw, + int pseq, + int no, + string gcode) { EETGW_ProjectToDoRow rowEETGW_ProjectToDoRow = ((EETGW_ProjectToDoRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -7767,7 +7838,9 @@ namespace FPJ0000 { cate, ww, sw, - pseq}; + pseq, + no, + gcode}; rowEETGW_ProjectToDoRow.ItemArray = columnValuesArray; this.Rows.Add(rowEETGW_ProjectToDoRow); return rowEETGW_ProjectToDoRow; @@ -7812,6 +7885,8 @@ namespace FPJ0000 { this.columnww = base.Columns["ww"]; this.columnsw = base.Columns["sw"]; this.columnpseq = base.Columns["pseq"]; + this.columnno = base.Columns["no"]; + this.columngcode = base.Columns["gcode"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -7847,6 +7922,10 @@ namespace FPJ0000 { base.Columns.Add(this.columnsw); this.columnpseq = new global::System.Data.DataColumn("pseq", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnpseq); + this.columnno = new global::System.Data.DataColumn("no", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnno); + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -7866,6 +7945,7 @@ namespace FPJ0000 { this.columnwdate.AllowDBNull = false; this.columnsort.MaxLength = 2; this.columncate.MaxLength = 100; + this.columngcode.MaxLength = 10; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -9903,6 +9983,402 @@ namespace FPJ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_ProjectResonDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columngcode; + + private global::System.Data.DataColumn columnpidx; + + private global::System.Data.DataColumn columnpseq; + + private global::System.Data.DataColumn columnpdate; + + private global::System.Data.DataColumn columnremark; + + private global::System.Data.DataColumn columnremark2; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + private global::System.Data.DataColumn columnno; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonDataTable() { + this.TableName = "EETGW_ProjectReson"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_ProjectResonDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected EETGW_ProjectResonDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn pidxColumn { + get { + return this.columnpidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn pseqColumn { + get { + return this.columnpseq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn pdateColumn { + get { + return this.columnpdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn remarkColumn { + get { + return this.columnremark; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn remark2Column { + get { + return this.columnremark2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn noColumn { + get { + return this.columnno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonRow this[int index] { + get { + return ((EETGW_ProjectResonRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_ProjectResonRowChangeEventHandler EETGW_ProjectResonRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_ProjectResonRowChangeEventHandler EETGW_ProjectResonRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_ProjectResonRowChangeEventHandler EETGW_ProjectResonRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_ProjectResonRowChangeEventHandler EETGW_ProjectResonRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddEETGW_ProjectResonRow(EETGW_ProjectResonRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonRow AddEETGW_ProjectResonRow(string gcode, int pidx, int pseq, string pdate, string remark, string remark2, string wuid, System.DateTime wdate, int no) { + EETGW_ProjectResonRow rowEETGW_ProjectResonRow = ((EETGW_ProjectResonRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + gcode, + pidx, + pseq, + pdate, + remark, + remark2, + wuid, + wdate, + no}; + rowEETGW_ProjectResonRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_ProjectResonRow); + return rowEETGW_ProjectResonRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonRow FindByidx(int idx) { + return ((EETGW_ProjectResonRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_ProjectResonDataTable cln = ((EETGW_ProjectResonDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_ProjectResonDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columngcode = base.Columns["gcode"]; + this.columnpidx = base.Columns["pidx"]; + this.columnpseq = base.Columns["pseq"]; + this.columnpdate = base.Columns["pdate"]; + this.columnremark = base.Columns["remark"]; + this.columnremark2 = base.Columns["remark2"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + this.columnno = base.Columns["no"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + this.columnpidx = new global::System.Data.DataColumn("pidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpidx); + this.columnpseq = new global::System.Data.DataColumn("pseq", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpseq); + this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpdate); + this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnremark); + this.columnremark2 = new global::System.Data.DataColumn("remark2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnremark2); + 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.columnno = new global::System.Data.DataColumn("no", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnno); + 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.columngcode.MaxLength = 10; + this.columnpidx.AllowDBNull = false; + this.columnpdate.MaxLength = 10; + this.columnremark.MaxLength = 2147483647; + this.columnremark2.MaxLength = 2147483647; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonRow NewEETGW_ProjectResonRow() { + return ((EETGW_ProjectResonRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_ProjectResonRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_ProjectResonRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_ProjectResonRowChanged != null)) { + this.EETGW_ProjectResonRowChanged(this, new EETGW_ProjectResonRowChangeEvent(((EETGW_ProjectResonRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_ProjectResonRowChanging != null)) { + this.EETGW_ProjectResonRowChanging(this, new EETGW_ProjectResonRowChangeEvent(((EETGW_ProjectResonRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_ProjectResonRowDeleted != null)) { + this.EETGW_ProjectResonRowDeleted(this, new EETGW_ProjectResonRowChangeEvent(((EETGW_ProjectResonRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_ProjectResonRowDeleting != null)) { + this.EETGW_ProjectResonRowDeleting(this, new EETGW_ProjectResonRowChangeEvent(((EETGW_ProjectResonRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveEETGW_ProjectResonRow(EETGW_ProjectResonRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPRJ ds = new dsPRJ(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "EETGW_ProjectResonDataTable"; + 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. /// @@ -16775,6 +17251,38 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int no { + get { + try { + return ((int)(this[this.tableEETGW_ProjectToDo.noColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_ProjectToDo\' 테이블의 \'no\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_ProjectToDo.noColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + try { + return ((string)(this[this.tableEETGW_ProjectToDo.gcodeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_ProjectToDo\' 테이블의 \'gcode\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_ProjectToDo.gcodeColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IstitleNull() { @@ -16906,6 +17414,30 @@ namespace FPJ0000 { public void SetpseqNull() { this[this.tableEETGW_ProjectToDo.pseqColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsnoNull() { + return this.IsNull(this.tableEETGW_ProjectToDo.noColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetnoNull() { + this[this.tableEETGW_ProjectToDo.noColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsgcodeNull() { + return this.IsNull(this.tableEETGW_ProjectToDo.gcodeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetgcodeNull() { + this[this.tableEETGW_ProjectToDo.gcodeColumn] = global::System.Convert.DBNull; + } } /// @@ -18866,6 +19398,233 @@ namespace FPJ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_ProjectResonRow : global::System.Data.DataRow { + + private EETGW_ProjectResonDataTable tableEETGW_ProjectReson; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_ProjectResonRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_ProjectReson = ((EETGW_ProjectResonDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_ProjectReson.idxColumn])); + } + set { + this[this.tableEETGW_ProjectReson.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + if (this.IsgcodeNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_ProjectReson.gcodeColumn])); + } + } + set { + this[this.tableEETGW_ProjectReson.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pidx { + get { + return ((int)(this[this.tableEETGW_ProjectReson.pidxColumn])); + } + set { + this[this.tableEETGW_ProjectReson.pidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pseq { + get { + try { + return ((int)(this[this.tableEETGW_ProjectReson.pseqColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_ProjectReson\' 테이블의 \'pseq\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_ProjectReson.pseqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pdate { + get { + if (this.IspdateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_ProjectReson.pdateColumn])); + } + } + set { + this[this.tableEETGW_ProjectReson.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string remark { + get { + if (this.IsremarkNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_ProjectReson.remarkColumn])); + } + } + set { + this[this.tableEETGW_ProjectReson.remarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string remark2 { + get { + if (this.Isremark2Null()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_ProjectReson.remark2Column])); + } + } + set { + this[this.tableEETGW_ProjectReson.remark2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_ProjectReson.wuidColumn])); + } + set { + this[this.tableEETGW_ProjectReson.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_ProjectReson.wdateColumn])); + } + set { + this[this.tableEETGW_ProjectReson.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int no { + get { + try { + return ((int)(this[this.tableEETGW_ProjectReson.noColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_ProjectReson\' 테이블의 \'no\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_ProjectReson.noColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsgcodeNull() { + return this.IsNull(this.tableEETGW_ProjectReson.gcodeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetgcodeNull() { + this[this.tableEETGW_ProjectReson.gcodeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspseqNull() { + return this.IsNull(this.tableEETGW_ProjectReson.pseqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpseqNull() { + this[this.tableEETGW_ProjectReson.pseqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tableEETGW_ProjectReson.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpdateNull() { + this[this.tableEETGW_ProjectReson.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsremarkNull() { + return this.IsNull(this.tableEETGW_ProjectReson.remarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetremarkNull() { + this[this.tableEETGW_ProjectReson.remarkColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isremark2Null() { + return this.IsNull(this.tableEETGW_ProjectReson.remark2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setremark2Null() { + this[this.tableEETGW_ProjectReson.remark2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsnoNull() { + return this.IsNull(this.tableEETGW_ProjectReson.noColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetnoNull() { + this[this.tableEETGW_ProjectReson.noColumn] = global::System.Convert.DBNull; + } + } + /// ///Represents strongly named DataRow class. /// @@ -19570,6 +20329,40 @@ namespace FPJ0000 { } } + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class EETGW_ProjectResonRowChangeEvent : global::System.EventArgs { + + private EETGW_ProjectResonRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonRowChangeEvent(EETGW_ProjectResonRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + /// ///Row event argument class /// @@ -29583,10 +30376,12 @@ SELECT idx, pidx, pdate, div, remark, remark2, mailsend, wuid, wdate FROM EETGW_ tableMapping.ColumnMappings.Add("ww", "ww"); tableMapping.ColumnMappings.Add("sw", "sw"); tableMapping.ColumnMappings.Add("pseq", "pseq"); + tableMapping.ColumnMappings.Add("no", "no"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; - this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_ProjectToDo] WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)))"; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_ProjectToDo] WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)))"; 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("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); @@ -29610,10 +30405,14 @@ SELECT idx, pidx, pdate, div, remark, remark2, mailsend, wuid, wdate FROM EETGW_ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_ProjectToDo] ([pidx], [title], [pdate], [edate], [process], [remark], [remark2], [wuid], [wdate], [sort], [cate], [ww], [sw], [pseq]) VALUES (@pidx, @title, @pdate, @edate, @process, @remark, @remark2, @wuid, @wdate, @sort, @cate, @ww, @sw, @pseq); -SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq FROM EETGW_ProjectToDo WHERE (idx = SCOPE_IDENTITY()) ORDER BY sort, pdate"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_ProjectToDo] ([pidx], [title], [pdate], [edate], [process], [remark], [remark2], [wuid], [wdate], [sort], [cate], [ww], [sw], [pseq], [no], [gcode]) VALUES (@pidx, @title, @pdate, @edate, @process, @remark, @remark2, @wuid, @wdate, @sort, @cate, @ww, @sw, @pseq, @no, @gcode); +SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, no, gcode FROM EETGW_ProjectToDo WHERE (idx = SCOPE_IDENTITY()) ORDER BY sort, pdate"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -29629,10 +30428,12 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ww", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ww", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_ProjectToDo] SET [pidx] = @pidx, [title] = @title, [pdate] = @pdate, [edate] = @edate, [process] = @process, [remark] = @remark, [remark2] = @remark2, [wuid] = @wuid, [wdate] = @wdate, [sort] = @sort, [cate] = @cate, [ww] = @ww, [sw] = @sw, [pseq] = @pseq WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq))); -SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq FROM EETGW_ProjectToDo WHERE (idx = @idx) ORDER BY sort, pdate"; + this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_ProjectToDo] SET [pidx] = @pidx, [title] = @title, [pdate] = @pdate, [edate] = @edate, [process] = @process, [remark] = @remark, [remark2] = @remark2, [wuid] = @wuid, [wdate] = @wdate, [sort] = @sort, [cate] = @cate, [ww] = @ww, [sw] = @sw, [pseq] = @pseq, [no] = @no, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))); +SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, no, gcode FROM EETGW_ProjectToDo WHERE (idx = @idx) ORDER BY sort, pdate"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -29648,6 +30449,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ww", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ww", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); @@ -29670,6 +30473,10 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } @@ -29687,8 +30494,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so" + - "rt, cate, ww, sw, pseq\r\nFROM EETGW_ProjectToDo\r\nWHERE (pidx = @pidx)\r\nORDER" + - " BY sort, pdate"; + "rt, cate, ww, sw, pseq, no, gcode\r\nFROM EETGW_ProjectToDo\r\nWHERE (pidx = @p" + + "idx)\r\nORDER BY sort, pdate"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } @@ -29752,7 +30559,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(int Original_idx, int Original_pidx, string Original_title, string Original_pdate, string Original_edate, global::System.Nullable Original_process, string Original_wuid, System.DateTime Original_wdate, string Original_sort, string Original_cate, global::System.Nullable Original_ww, global::System.Nullable Original_sw, global::System.Nullable Original_pseq) { + public virtual int Delete(int Original_idx, int Original_pidx, string Original_title, string Original_pdate, string Original_edate, global::System.Nullable Original_process, string Original_wuid, System.DateTime Original_wdate, string Original_sort, string Original_cate, global::System.Nullable Original_ww, global::System.Nullable Original_sw, global::System.Nullable Original_pseq, global::System.Nullable Original_no, string Original_gcode) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_pidx)); if ((Original_title == null)) { @@ -29834,6 +30641,22 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; } + if ((Original_no.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_no.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((Original_gcode == null)) { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_gcode)); + } 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)) { @@ -29854,7 +30677,23 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(int pidx, string title, string pdate, string edate, global::System.Nullable process, string remark, string remark2, string wuid, System.DateTime wdate, string sort, string cate, global::System.Nullable ww, global::System.Nullable sw, global::System.Nullable pseq) { + public virtual int Insert( + int pidx, + string title, + string pdate, + string edate, + global::System.Nullable process, + string remark, + string remark2, + string wuid, + System.DateTime wdate, + string sort, + string cate, + global::System.Nullable ww, + global::System.Nullable sw, + global::System.Nullable pseq, + global::System.Nullable no, + string gcode) { this.Adapter.InsertCommand.Parameters[0].Value = ((int)(pidx)); if ((title == null)) { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; @@ -29929,6 +30768,18 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so else { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } + if ((no.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[14].Value = ((int)(no.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((gcode == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(gcode)); + } 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)) { @@ -29964,6 +30815,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so global::System.Nullable ww, global::System.Nullable sw, global::System.Nullable pseq, + global::System.Nullable no, + string gcode, int Original_idx, int Original_pidx, string Original_title, @@ -29977,6 +30830,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so global::System.Nullable Original_ww, global::System.Nullable Original_sw, global::System.Nullable Original_pseq, + global::System.Nullable Original_no, + string Original_gcode, int idx) { this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(pidx)); if ((title == null)) { @@ -30052,88 +30907,116 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so else { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } - this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_idx)); - this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_pidx)); - if ((Original_title == null)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + if ((no.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(no.Value)); } else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_title)); + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } - if ((Original_pdate == null)) { + if ((gcode == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(gcode)); + } + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_pidx)); + if ((Original_title == 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_pdate)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_title)); } - if ((Original_edate == null)) { + if ((Original_pdate == 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_edate)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_pdate)); } - if ((Original_process.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_process.Value)); - } - else { + if ((Original_edate == 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_edate)); + } + if ((Original_process.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_process.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } if ((Original_wuid == null)) { throw new global::System.ArgumentNullException("Original_wuid"); } else { - this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_wuid)); + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_wuid)); } - this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(Original_wdate)); + this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_wdate)); if ((Original_sort == 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_sort)); - } - if ((Original_cate == null)) { this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_cate)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_sort)); } - if ((Original_ww.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_ww.Value)); - } - else { + if ((Original_cate == null)) { this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; } - if ((Original_sw.HasValue == true)) { + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_cate)); + } + if ((Original_ww.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_sw.Value)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_ww.Value)); } else { this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; } - if ((Original_pseq.HasValue == true)) { + if ((Original_sw.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_pseq.Value)); + this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_sw.Value)); } else { this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; } - this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(idx)); + if ((Original_pseq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(Original_pseq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((Original_no.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(Original_no.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + if ((Original_gcode == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_gcode)); + } + this.Adapter.UpdateCommand.Parameters[42].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)) { @@ -30169,6 +31052,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so global::System.Nullable ww, global::System.Nullable sw, global::System.Nullable pseq, + global::System.Nullable no, + string gcode, int Original_idx, int Original_pidx, string Original_title, @@ -30181,8 +31066,10 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so string Original_cate, global::System.Nullable Original_ww, global::System.Nullable Original_sw, - global::System.Nullable Original_pseq) { - return this.Update(pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, Original_idx, Original_pidx, Original_title, Original_pdate, Original_edate, Original_process, Original_wuid, Original_wdate, Original_sort, Original_cate, Original_ww, Original_sw, Original_pseq, Original_idx); + global::System.Nullable Original_pseq, + global::System.Nullable Original_no, + string Original_gcode) { + return this.Update(pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, no, gcode, Original_idx, Original_pidx, Original_title, Original_pdate, Original_edate, Original_process, Original_wuid, Original_wdate, Original_sort, Original_cate, Original_ww, Original_sw, Original_pseq, Original_no, Original_gcode, Original_idx); } } @@ -33828,6 +34715,576 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class EETGW_ProjectResonTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_ProjectResonTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_ProjectReson"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); + tableMapping.ColumnMappings.Add("pidx", "pidx"); + tableMapping.ColumnMappings.Add("pseq", "pseq"); + tableMapping.ColumnMappings.Add("pdate", "pdate"); + tableMapping.ColumnMappings.Add("remark", "remark"); + tableMapping.ColumnMappings.Add("remark2", "remark2"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + tableMapping.ColumnMappings.Add("no", "no"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_ProjectReson] WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ([pidx] = @Original_pidx) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)))"; + 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_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", 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("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_ProjectReson] ([gcode], [pidx], [pseq], [pdate], [remark], [remark2], [wuid], [wdate], [no]) VALUES (@gcode, @pidx, @pseq, @pdate, @remark, @remark2, @wuid, @wdate, @no); +SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETGW_ProjectReson WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_ProjectReson] SET [gcode] = @gcode, [pidx] = @pidx, [pseq] = @pseq, [pdate] = @pdate, [remark] = @remark, [remark2] = @remark2, [wuid] = @wuid, [wdate] = @wdate, [no] = @no WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ([pidx] = @Original_pidx) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no))); +SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETGW_ProjectReson WHERE (idx = @idx) ORDER BY pdate"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", 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_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pseq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pseq", 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("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no\r\nFROM " + + " EETGW_ProjectReson\r\nWHERE (gcode = @gcode) AND (pidx = @pidx) AND (no = @no)\r\n" + + "ORDER BY pdate"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(dsPRJ.EETGW_ProjectResonDataTable dataTable, string gcode, int pidx, global::System.Nullable no) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(pidx)); + if ((no.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(no.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual dsPRJ.EETGW_ProjectResonDataTable GetData(string gcode, int pidx, global::System.Nullable no) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(pidx)); + if ((no.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(no.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + dsPRJ.EETGW_ProjectResonDataTable dataTable = new dsPRJ.EETGW_ProjectResonDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPRJ.EETGW_ProjectResonDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPRJ dataSet) { + return this.Adapter.Update(dataSet, "EETGW_ProjectReson"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_idx, string Original_gcode, int Original_pidx, global::System.Nullable Original_pseq, string Original_pdate, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable Original_no) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_gcode == 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_gcode)); + } + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_pidx)); + if ((Original_pseq.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_pseq.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Original_pdate == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_pdate)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_wdate)); + if ((Original_no.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_no.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string gcode, int pidx, global::System.Nullable pseq, string pdate, string remark, string remark2, string wuid, System.DateTime wdate, global::System.Nullable no) { + if ((gcode == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(pidx)); + if ((pseq.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(pseq.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((pdate == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(pdate)); + } + if ((remark == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(remark)); + } + if ((remark2 == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(remark2)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(wdate)); + if ((no.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[8].Value = ((int)(no.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string gcode, + int pidx, + global::System.Nullable pseq, + string pdate, + string remark, + string remark2, + string wuid, + System.DateTime wdate, + global::System.Nullable no, + int Original_idx, + string Original_gcode, + int Original_pidx, + global::System.Nullable Original_pseq, + string Original_pdate, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_no, + int idx) { + if ((gcode == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(pidx)); + if ((pseq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(pseq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((pdate == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(pdate)); + } + if ((remark == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(remark)); + } + if ((remark2 == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(remark2)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(wdate)); + if ((no.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(no.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_gcode)); + } + this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_pidx)); + if ((Original_pseq.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_pseq.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((Original_pdate == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_pdate)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(Original_wdate)); + if ((Original_no.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_no.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(idx)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string gcode, + int pidx, + global::System.Nullable pseq, + string pdate, + string remark, + string remark2, + string wuid, + System.DateTime wdate, + global::System.Nullable no, + int Original_idx, + string Original_gcode, + int Original_pidx, + global::System.Nullable Original_pseq, + string Original_pdate, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_no) { + return this.Update(gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no, Original_idx, Original_gcode, Original_pidx, Original_pseq, Original_pdate, Original_wuid, Original_wdate, Original_no, Original_idx); + } + } + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -34054,6 +35511,8 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, private EETGW_ProjectsScheduleTableAdapter _eETGW_ProjectsScheduleTableAdapter; + private EETGW_ProjectResonTableAdapter _eETGW_ProjectResonTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -34279,6 +35738,20 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EETGW_ProjectResonTableAdapter EETGW_ProjectResonTableAdapter { + get { + return this._eETGW_ProjectResonTableAdapter; + } + set { + this._eETGW_ProjectResonTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -34358,6 +35831,10 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, && (this._eETGW_ProjectsScheduleTableAdapter.Connection != null))) { return this._eETGW_ProjectsScheduleTableAdapter.Connection; } + if (((this._eETGW_ProjectResonTableAdapter != null) + && (this._eETGW_ProjectResonTableAdapter.Connection != null))) { + return this._eETGW_ProjectResonTableAdapter.Connection; + } return null; } set { @@ -34416,6 +35893,9 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, if ((this._eETGW_ProjectsScheduleTableAdapter != null)) { count = (count + 1); } + if ((this._eETGW_ProjectResonTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -34436,102 +35916,12 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allChangedRows.AddRange(updatedRows); } } - if ((this._projectsIOMapTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ProjectsIOMap.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._projectsIOMapTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._projectsMailListTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ProjectsMailList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._projectsMailListTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._projectsPartTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._projectsPartTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._jobReportTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._jobReportTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._projectsHistoryTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._projectsHistoryTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._sPMasterTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._sPMasterTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._eETGW_NoteTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.EETGW_Note.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._eETGW_NoteTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._eETGW_SaveCostTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.EETGW_SaveCost.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._eETGW_SaveCostTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._projectPartStatusTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._projectPartStatusTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._eETGW_ProjectToDoTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._eETGW_ProjectToDoTableAdapter.Update(updatedRows)); + result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -34544,12 +35934,39 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allChangedRows.AddRange(updatedRows); } } - if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._eETGW_ProjectToDoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(updatedRows)); + result = (result + this._eETGW_ProjectToDoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._projectPartStatusTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._projectPartStatusTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eETGW_SaveCostTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_SaveCost.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_SaveCostTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -34562,6 +35979,78 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allChangedRows.AddRange(updatedRows); } } + if ((this._sPMasterTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._sPMasterTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._projectsHistoryTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._projectsHistoryTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._jobReportTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._jobReportTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._projectsPartTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._projectsPartTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._projectsMailListTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ProjectsMailList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._projectsMailListTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._projectsIOMapTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ProjectsIOMap.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._projectsIOMapTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eETGW_NoteTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_Note.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_NoteTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eETGW_ProjectResonTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_ProjectResonTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -34580,91 +36069,11 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allAddedRows.AddRange(addedRows); } } - if ((this._projectsIOMapTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ProjectsIOMap.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._projectsIOMapTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._projectsMailListTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ProjectsMailList.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._projectsMailListTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._projectsPartTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._projectsPartTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._jobReportTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._jobReportTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._projectsHistoryTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._projectsHistoryTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._sPMasterTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._sPMasterTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._eETGW_NoteTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.EETGW_Note.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._eETGW_NoteTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._eETGW_SaveCostTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.EETGW_SaveCost.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._eETGW_SaveCostTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._projectPartStatusTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._projectPartStatusTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._eETGW_ProjectToDoTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._eETGW_ProjectToDoTableAdapter.Update(addedRows)); + result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -34676,11 +36085,35 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allAddedRows.AddRange(addedRows); } } - if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._eETGW_ProjectToDoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(addedRows)); + result = (result + this._eETGW_ProjectToDoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._projectPartStatusTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._projectPartStatusTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eETGW_SaveCostTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_SaveCost.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_SaveCostTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -34692,6 +36125,70 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allAddedRows.AddRange(addedRows); } } + if ((this._sPMasterTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._sPMasterTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._projectsHistoryTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._projectsHistoryTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._jobReportTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._jobReportTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._projectsPartTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._projectsPartTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._projectsMailListTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ProjectsMailList.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._projectsMailListTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._projectsIOMapTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ProjectsIOMap.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._projectsIOMapTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eETGW_NoteTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_Note.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_NoteTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eETGW_ProjectResonTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_ProjectResonTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -34702,59 +36199,11 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private int UpdateDeletedRows(dsPRJ dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; - if ((this._eETGW_ProjectsScheduleTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectsSchedule.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._eETGW_ProjectResonTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._eETGW_ProjectsScheduleTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_EBoard.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eETGW_JobReport_EBoardTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._eETGW_ProjectToDoTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eETGW_ProjectToDoTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._projectPartStatusTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._projectPartStatusTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._eETGW_SaveCostTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.EETGW_SaveCost.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._eETGW_SaveCostTableAdapter.Update(deletedRows)); + result = (result + this._eETGW_ProjectResonTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -34766,35 +36215,11 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allChangedRows.AddRange(deletedRows); } } - if ((this._sPMasterTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._projectsIOMapTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ProjectsIOMap.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._sPMasterTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._projectsHistoryTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._projectsHistoryTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._jobReportTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._jobReportTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._projectsPartTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._projectsPartTableAdapter.Update(deletedRows)); + result = (result + this._projectsIOMapTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -34806,11 +36231,91 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, allChangedRows.AddRange(deletedRows); } } - if ((this._projectsIOMapTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.ProjectsIOMap.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._projectsPartTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._projectsIOMapTableAdapter.Update(deletedRows)); + result = (result + this._projectsPartTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._jobReportTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._jobReportTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._projectsHistoryTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._projectsHistoryTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._sPMasterTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._sPMasterTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_ProjectsScheduleTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectsSchedule.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_ProjectsScheduleTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_SaveCostTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_SaveCost.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_SaveCostTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._projectPartStatusTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._projectPartStatusTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_ProjectToDoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_ProjectToDoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_EBoard.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_JobReport_EBoardTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -34921,6 +36426,10 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, && (this.MatchTableAdapterConnection(this._eETGW_ProjectsScheduleTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._eETGW_ProjectResonTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_ProjectResonTableAdapter.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" + @@ -35087,6 +36596,15 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_ProjectsScheduleTableAdapter.Adapter); } } + if ((this._eETGW_ProjectResonTableAdapter != null)) { + revertConnections.Add(this._eETGW_ProjectResonTableAdapter, this._eETGW_ProjectResonTableAdapter.Connection); + this._eETGW_ProjectResonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_ProjectResonTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_ProjectResonTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_ProjectResonTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_ProjectResonTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -35205,6 +36723,10 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, this._eETGW_ProjectsScheduleTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_ProjectsScheduleTableAdapter])); this._eETGW_ProjectsScheduleTableAdapter.Transaction = null; } + if ((this._eETGW_ProjectResonTableAdapter != null)) { + this._eETGW_ProjectResonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_ProjectResonTableAdapter])); + this._eETGW_ProjectResonTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index b40496b..5a11a17 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -1860,7 +1860,7 @@ SELECT idx, pidx, pdate, div, remark, remark2, mailsend, wuid, wdate FROM EETGW_ - DELETE FROM [EETGW_ProjectToDo] WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq))) + DELETE FROM [EETGW_ProjectToDo] WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))) @@ -1884,13 +1884,17 @@ SELECT idx, pidx, pdate, div, remark, remark2, mailsend, wuid, wdate FROM EETGW_ + + + + - INSERT INTO [EETGW_ProjectToDo] ([pidx], [title], [pdate], [edate], [process], [remark], [remark2], [wuid], [wdate], [sort], [cate], [ww], [sw], [pseq]) VALUES (@pidx, @title, @pdate, @edate, @process, @remark, @remark2, @wuid, @wdate, @sort, @cate, @ww, @sw, @pseq); -SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq FROM EETGW_ProjectToDo WHERE (idx = SCOPE_IDENTITY()) ORDER BY sort, pdate + INSERT INTO [EETGW_ProjectToDo] ([pidx], [title], [pdate], [edate], [process], [remark], [remark2], [wuid], [wdate], [sort], [cate], [ww], [sw], [pseq], [no], [gcode]) VALUES (@pidx, @title, @pdate, @edate, @process, @remark, @remark2, @wuid, @wdate, @sort, @cate, @ww, @sw, @pseq, @no, @gcode); +SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, no, gcode FROM EETGW_ProjectToDo WHERE (idx = SCOPE_IDENTITY()) ORDER BY sort, pdate @@ -1906,12 +1910,14 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + - SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq + SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, no, gcode FROM EETGW_ProjectToDo WHERE (pidx = @pidx) ORDER BY sort, pdate @@ -1922,8 +1928,8 @@ ORDER BY sort, pdate - UPDATE [EETGW_ProjectToDo] SET [pidx] = @pidx, [title] = @title, [pdate] = @pdate, [edate] = @edate, [process] = @process, [remark] = @remark, [remark2] = @remark2, [wuid] = @wuid, [wdate] = @wdate, [sort] = @sort, [cate] = @cate, [ww] = @ww, [sw] = @sw, [pseq] = @pseq WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq))); -SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq FROM EETGW_ProjectToDo WHERE (idx = @idx) ORDER BY sort, pdate + UPDATE [EETGW_ProjectToDo] SET [pidx] = @pidx, [title] = @title, [pdate] = @pdate, [edate] = @edate, [process] = @process, [remark] = @remark, [remark2] = @remark2, [wuid] = @wuid, [wdate] = @wdate, [sort] = @sort, [cate] = @cate, [ww] = @ww, [sw] = @sw, [pseq] = @pseq, [no] = @no, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_sort = 1 AND [sort] IS NULL) OR ([sort] = @Original_sort)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_ww = 1 AND [ww] IS NULL) OR ([ww] = @Original_ww)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))); +SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, sort, cate, ww, sw, pseq, no, gcode FROM EETGW_ProjectToDo WHERE (idx = @idx) ORDER BY sort, pdate @@ -1939,6 +1945,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + @@ -1961,6 +1969,10 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + + + @@ -1983,6 +1995,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + @@ -2595,6 +2609,104 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, + + + + + + DELETE FROM [EETGW_ProjectReson] WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ([pidx] = @Original_pidx) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no))) + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_ProjectReson] ([gcode], [pidx], [pseq], [pdate], [remark], [remark2], [wuid], [wdate], [no]) VALUES (@gcode, @pidx, @pseq, @pdate, @remark, @remark2, @wuid, @wdate, @no); +SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETGW_ProjectReson WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate + + + + + + + + + + + + + + + + SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no +FROM EETGW_ProjectReson +WHERE (gcode = @gcode) AND (pidx = @pidx) AND (no = @no) +ORDER BY pdate + + + + + + + + + + UPDATE [EETGW_ProjectReson] SET [gcode] = @gcode, [pidx] = @pidx, [pseq] = @pseq, [pdate] = @pdate, [remark] = @remark, [remark2] = @remark2, [wuid] = @wuid, [wdate] = @wdate, [no] = @no WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ([pidx] = @Original_pidx) AND ((@IsNull_pseq = 1 AND [pseq] IS NULL) OR ([pseq] = @Original_pseq)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no))); +SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETGW_ProjectReson WHERE (idx = @idx) ORDER BY pdate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3626,8 +3738,8 @@ WHERE (idx = @idx) - - + + @@ -3919,6 +4031,14 @@ WHERE (idx = @idx) + + + + + + + + @@ -4303,6 +4423,52 @@ WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4369,5 +4535,9 @@ WHERE (idx = @idx) + + + + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss index 8ec5b83..4d975f9 100644 --- a/SubProject/FPJ0000/dsPRJ.xss +++ b/SubProject/FPJ0000/dsPRJ.xss @@ -4,25 +4,26 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + \ No newline at end of file