From a74a47b582de88a71a8e157083b20a7f741ff301 Mon Sep 17 00:00:00 2001 From: chi Date: Wed, 17 May 2023 08:18:05 +0900 Subject: [PATCH] =?UTF-8?q?SFI=20=EA=B3=84=EC=82=B0=EA=B8=B0=EB=8A=A5=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 --- SubProject/FCOMMON/FCOMMON.csproj | 9 + SubProject/FCOMMON/fSFI.Designer.cs | 520 ++++++++++++++++++ SubProject/FCOMMON/fSFI.cs | 81 +++ SubProject/FCOMMON/fSFI.resx | 120 ++++ .../FPJ0000/Project/fProjectData.Designer.cs | 49 +- SubProject/FPJ0000/Project/fProjectData.cs | 32 +- SubProject/FPJ0000/Project/fProjectData.resx | 24 +- SubProject/FPJ0000/Project/fProjectList.cs | 3 +- .../FPJ0000/Project/fProjectListU.Designer.cs | 400 +++++++------- SubProject/FPJ0000/Project/fProjectListU.resx | 50 +- .../SaveCost/fSaveCostData.Designer.cs | 43 +- SubProject/FPJ0000/SaveCost/fSaveCostData.cs | 6 + .../FPJ0000/SaveCost/fSaveCostData.resx | 6 - SubProject/FPJ0000/dsPRJ.Designer.cs | 102 ++-- SubProject/FPJ0000/dsPRJ.xsd | 180 +++--- SubProject/FPJ0000/dsPRJ.xss | 2 +- 16 files changed, 1215 insertions(+), 412 deletions(-) create mode 100644 SubProject/FCOMMON/fSFI.Designer.cs create mode 100644 SubProject/FCOMMON/fSFI.cs create mode 100644 SubProject/FCOMMON/fSFI.resx diff --git a/SubProject/FCOMMON/FCOMMON.csproj b/SubProject/FCOMMON/FCOMMON.csproj index 924541d..3b12e29 100644 --- a/SubProject/FCOMMON/FCOMMON.csproj +++ b/SubProject/FCOMMON/FCOMMON.csproj @@ -149,6 +149,12 @@ fSelectProcess.cs + + Form + + + fSFI.cs + @@ -190,6 +196,9 @@ fSelectProcess.cs + + fSFI.cs + diff --git a/SubProject/FCOMMON/fSFI.Designer.cs b/SubProject/FCOMMON/fSFI.Designer.cs new file mode 100644 index 0000000..1050164 --- /dev/null +++ b/SubProject/FCOMMON/fSFI.Designer.cs @@ -0,0 +1,520 @@ + +namespace FCOMMON +{ + partial class fSFI + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.radioButton2 = new System.Windows.Forms.RadioButton(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label1 = new System.Windows.Forms.Label(); + this.nudOsavetime = new System.Windows.Forms.NumericUpDown(); + this.label2 = new System.Windows.Forms.Label(); + this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.numericUpDown3 = new System.Windows.Forms.NumericUpDown(); + this.panel2 = new System.Windows.Forms.Panel(); + this.numericUpDown4 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown5 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown6 = new System.Windows.Forms.NumericUpDown(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.nudMsavetime = new System.Windows.Forms.NumericUpDown(); + this.label9 = new System.Windows.Forms.Label(); + this.nudMSaveCnt = new System.Windows.Forms.NumericUpDown(); + this.label10 = new System.Windows.Forms.Label(); + this.numericUpDown9 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown10 = new System.Windows.Forms.NumericUpDown(); + this.label11 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudOsavetime)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMsavetime)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMSaveCnt)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit(); + this.SuspendLayout(); + // + // radioButton1 + // + this.radioButton1.AutoSize = true; + this.radioButton1.Checked = true; + this.radioButton1.Location = new System.Drawing.Point(21, 18); + this.radioButton1.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10); + this.radioButton1.Name = "radioButton1"; + this.radioButton1.Size = new System.Drawing.Size(347, 41); + this.radioButton1.TabIndex = 0; + this.radioButton1.TabStop = true; + this.radioButton1.Text = "Office 인원(PE, PCS, 물류)"; + this.radioButton1.UseVisualStyleBackColor = true; + this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); + // + // radioButton2 + // + this.radioButton2.AutoSize = true; + this.radioButton2.Location = new System.Drawing.Point(21, 200); + this.radioButton2.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10); + this.radioButton2.Name = "radioButton2"; + this.radioButton2.Size = new System.Drawing.Size(155, 41); + this.radioButton2.TabIndex = 0; + this.radioButton2.Text = "MFG 인원"; + this.radioButton2.UseVisualStyleBackColor = true; + this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.panel1.Controls.Add(this.numericUpDown3); + this.panel1.Controls.Add(this.numericUpDown2); + this.panel1.Controls.Add(this.nudOsavetime); + this.panel1.Controls.Add(this.label3); + this.panel1.Controls.Add(this.label4); + this.panel1.Controls.Add(this.label2); + this.panel1.Controls.Add(this.label1); + this.panel1.Location = new System.Drawing.Point(43, 72); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(720, 115); + this.panel1.TabIndex = 2; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 12); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(221, 37); + this.label1.TabIndex = 2; + this.label1.Text = "1일 총 절감 시간"; + this.label1.Click += new System.EventHandler(this.label1_Click); + // + // nudOsavetime + // + this.nudOsavetime.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.nudOsavetime.DecimalPlaces = 2; + this.nudOsavetime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.nudOsavetime.Location = new System.Drawing.Point(233, 9); + this.nudOsavetime.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.nudOsavetime.Name = "nudOsavetime"; + this.nudOsavetime.Size = new System.Drawing.Size(161, 43); + this.nudOsavetime.TabIndex = 3; + this.nudOsavetime.Tag = "o"; + this.nudOsavetime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudOsavetime.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(400, 12); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(64, 37); + this.label2.TabIndex = 2; + this.label2.Text = "분 /"; + this.label2.Click += new System.EventHandler(this.label1_Click); + // + // numericUpDown2 + // + this.numericUpDown2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.numericUpDown2.Location = new System.Drawing.Point(466, 9); + this.numericUpDown2.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown2.Name = "numericUpDown2"; + this.numericUpDown2.Size = new System.Drawing.Size(196, 43); + this.numericUpDown2.TabIndex = 4; + this.numericUpDown2.Tag = "o"; + this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown2.Value = new decimal(new int[] { + 480, + 0, + 0, + 0}); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(668, 12); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(44, 37); + this.label3.TabIndex = 2; + this.label3.Text = "분"; + this.label3.Click += new System.EventHandler(this.label1_Click); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(122, 61); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(105, 37); + this.label4.TabIndex = 2; + this.label4.Text = "(SFI) = "; + this.label4.Click += new System.EventHandler(this.label1_Click); + // + // numericUpDown3 + // + this.numericUpDown3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.numericUpDown3.DecimalPlaces = 2; + this.numericUpDown3.Location = new System.Drawing.Point(233, 58); + this.numericUpDown3.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown3.Name = "numericUpDown3"; + this.numericUpDown3.Size = new System.Drawing.Size(161, 43); + this.numericUpDown3.TabIndex = 5; + this.numericUpDown3.Tag = "o"; + this.numericUpDown3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.panel2.Controls.Add(this.label12); + this.panel2.Controls.Add(this.numericUpDown10); + this.panel2.Controls.Add(this.label11); + this.panel2.Controls.Add(this.numericUpDown9); + this.panel2.Controls.Add(this.nudMSaveCnt); + this.panel2.Controls.Add(this.label10); + this.panel2.Controls.Add(this.nudMsavetime); + this.panel2.Controls.Add(this.label13); + this.panel2.Controls.Add(this.label9); + this.panel2.Controls.Add(this.numericUpDown4); + this.panel2.Controls.Add(this.numericUpDown5); + this.panel2.Controls.Add(this.numericUpDown6); + this.panel2.Controls.Add(this.label5); + this.panel2.Controls.Add(this.label6); + this.panel2.Controls.Add(this.label7); + this.panel2.Controls.Add(this.label8); + this.panel2.Enabled = false; + this.panel2.Location = new System.Drawing.Point(43, 254); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(720, 223); + this.panel2.TabIndex = 2; + // + // numericUpDown4 + // + this.numericUpDown4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.numericUpDown4.DecimalPlaces = 2; + this.numericUpDown4.Location = new System.Drawing.Point(233, 169); + this.numericUpDown4.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown4.Name = "numericUpDown4"; + this.numericUpDown4.Size = new System.Drawing.Size(429, 43); + this.numericUpDown4.TabIndex = 5; + this.numericUpDown4.Tag = "m"; + this.numericUpDown4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // numericUpDown5 + // + this.numericUpDown5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.numericUpDown5.Location = new System.Drawing.Point(466, 120); + this.numericUpDown5.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown5.Name = "numericUpDown5"; + this.numericUpDown5.Size = new System.Drawing.Size(196, 43); + this.numericUpDown5.TabIndex = 4; + this.numericUpDown5.Tag = "m"; + this.numericUpDown5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown5.Value = new decimal(new int[] { + 420, + 0, + 0, + 0}); + // + // numericUpDown6 + // + this.numericUpDown6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.numericUpDown6.DecimalPlaces = 2; + this.numericUpDown6.Location = new System.Drawing.Point(233, 120); + this.numericUpDown6.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown6.Name = "numericUpDown6"; + this.numericUpDown6.Size = new System.Drawing.Size(161, 43); + this.numericUpDown6.TabIndex = 3; + this.numericUpDown6.Tag = "m"; + this.numericUpDown6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown6.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(668, 123); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(44, 37); + this.label5.TabIndex = 2; + this.label5.Text = "분"; + this.label5.Click += new System.EventHandler(this.label1_Click); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(122, 172); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(105, 37); + this.label6.TabIndex = 2; + this.label6.Text = "(SFI) = "; + this.label6.Click += new System.EventHandler(this.label1_Click); + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(400, 123); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(64, 37); + this.label7.TabIndex = 2; + this.label7.Text = "분 /"; + this.label7.Click += new System.EventHandler(this.label1_Click); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(6, 123); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(221, 37); + this.label8.TabIndex = 2; + this.label8.Text = "1일 총 절감 시간"; + this.label8.Click += new System.EventHandler(this.label1_Click); + // + // nudMsavetime + // + this.nudMsavetime.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.nudMsavetime.DecimalPlaces = 2; + this.nudMsavetime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.nudMsavetime.Location = new System.Drawing.Point(233, 11); + this.nudMsavetime.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.nudMsavetime.Name = "nudMsavetime"; + this.nudMsavetime.Size = new System.Drawing.Size(161, 43); + this.nudMsavetime.TabIndex = 7; + this.nudMsavetime.Tag = "m"; + this.nudMsavetime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudMsavetime.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(6, 14); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(212, 37); + this.label9.TabIndex = 6; + this.label9.Text = "1회 당 절감시간"; + // + // nudMSaveCnt + // + this.nudMSaveCnt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.nudMSaveCnt.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.nudMSaveCnt.Location = new System.Drawing.Point(600, 11); + this.nudMSaveCnt.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.nudMSaveCnt.Name = "nudMSaveCnt"; + this.nudMSaveCnt.Size = new System.Drawing.Size(112, 43); + this.nudMSaveCnt.TabIndex = 9; + this.nudMSaveCnt.Tag = "m"; + this.nudMSaveCnt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudMSaveCnt.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(400, 14); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(194, 37); + this.label10.TabIndex = 8; + this.label10.Text = "x Shift 당 횟수"; + // + // numericUpDown9 + // + this.numericUpDown9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.numericUpDown9.DecimalPlaces = 2; + this.numericUpDown9.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.numericUpDown9.Location = new System.Drawing.Point(317, 64); + this.numericUpDown9.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown9.Name = "numericUpDown9"; + this.numericUpDown9.Size = new System.Drawing.Size(165, 43); + this.numericUpDown9.TabIndex = 11; + this.numericUpDown9.Tag = "m"; + this.numericUpDown9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown9.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); + // + // numericUpDown10 + // + this.numericUpDown10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.numericUpDown10.Location = new System.Drawing.Point(529, 64); + this.numericUpDown10.Maximum = new decimal(new int[] { + 999999999, + 0, + 0, + 0}); + this.numericUpDown10.Name = "numericUpDown10"; + this.numericUpDown10.Size = new System.Drawing.Size(62, 43); + this.numericUpDown10.TabIndex = 13; + this.numericUpDown10.Tag = "m"; + this.numericUpDown10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown10.Value = new decimal(new int[] { + 4, + 0, + 0, + 0}); + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(496, 67); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(30, 37); + this.label11.TabIndex = 12; + this.label11.Text = "x"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(597, 67); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(73, 37); + this.label12.TabIndex = 14; + this.label12.Text = "Shift"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(8, 67); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(313, 37); + this.label13.TabIndex = 6; + this.label13.Text = "1 Shift 당 개선절감 횟수"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(43, 487); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(720, 55); + this.button1.TabIndex = 3; + this.button1.Text = "확 인"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // fSFI + // + this.AutoScaleDimensions = new System.Drawing.SizeF(15F, 37F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(774, 553); + this.Controls.Add(this.button1); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Controls.Add(this.radioButton2); + this.Controls.Add(this.radioButton1); + this.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10); + this.Name = "fSFI"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "fSFI"; + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudOsavetime)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMsavetime)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMSaveCnt)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.RadioButton radioButton1; + private System.Windows.Forms.RadioButton radioButton2; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.NumericUpDown nudOsavetime; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.NumericUpDown numericUpDown2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.NumericUpDown numericUpDown3; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.NumericUpDown numericUpDown4; + private System.Windows.Forms.NumericUpDown numericUpDown5; + private System.Windows.Forms.NumericUpDown numericUpDown6; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.NumericUpDown nudMSaveCnt; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.NumericUpDown nudMsavetime; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.NumericUpDown numericUpDown9; + private System.Windows.Forms.NumericUpDown numericUpDown10; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/SubProject/FCOMMON/fSFI.cs b/SubProject/FCOMMON/fSFI.cs new file mode 100644 index 0000000..ca0cd16 --- /dev/null +++ b/SubProject/FCOMMON/fSFI.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FCOMMON +{ + public partial class fSFI : Form + { + public fSFI() + { + InitializeComponent(); + } + + private void label1_Click(object sender, EventArgs e) + { + + } + + private void radioButton1_CheckedChanged(object sender, EventArgs e) + { + panel1.Enabled = radioButton1.Checked; + panel2.Enabled = !panel1.Enabled; + } + + private void numericUpDown1_ValueChanged(object sender, EventArgs e) + { + //mfg 절감시간 업데이트 + var nud = sender as NumericUpDown; + if (nud.Tag.ToString().ToLower() == "o") + { + updateOFF(); + } + else + { + updateMFG(); + } + } + private void numericUpDown6_ValueChanged(object sender, EventArgs e) + { + var nud = sender as NumericUpDown; + //mfg의 총 절감 시간이 변경되었다 + var 총절감시간 = (double)nud.Value; + var sfi = 총절감시간 / (int)numericUpDown5.Value; + numericUpDown4.Value = (Decimal)sfi; + } + public double Value { get; set; } = 0; + void updateMFG() + { + var 절감시간 = (double)nudMsavetime.Value; + var SHIFT수 = (int)nudMSaveCnt.Value; + var shift총수 = (double)(절감시간 * SHIFT수); + numericUpDown9.Value = (decimal)shift총수; //1쉬프트 개선절감횟수 + var 쉬프트수 = (int)numericUpDown10.Value; + numericUpDown6.Value = (decimal)(shift총수 * 쉬프트수); + } + void updateOFF() + { + var savetime = (double)nudOsavetime.Value; + var min = (int)numericUpDown2.Value; + var sfi = savetime / min; + numericUpDown3.Value = (decimal)sfi; + } + + private void button1_Click(object sender, EventArgs e) + { + this.Invalidate(); + if (radioButton1.Checked) + this.Value = (double)numericUpDown3.Value; + else + this.Value = (double)numericUpDown4.Value; + DialogResult = DialogResult.OK; + + } + } +} diff --git a/SubProject/FCOMMON/fSFI.resx b/SubProject/FCOMMON/fSFI.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/SubProject/FCOMMON/fSFI.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectData.Designer.cs b/SubProject/FPJ0000/Project/fProjectData.Designer.cs index 7926571..1accc64 100644 --- a/SubProject/FPJ0000/Project/fProjectData.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectData.Designer.cs @@ -57,8 +57,8 @@ System.Windows.Forms.Label label16; System.Windows.Forms.Label label17; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectData)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.tbIdx = new System.Windows.Forms.TextBox(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsPRJ = new FPJ0000.dsPRJ(); @@ -153,6 +153,8 @@ this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.arLabel4 = new arCtl.arLabel(); this.panel3 = new System.Windows.Forms.Panel(); + this.linkLabel11 = new System.Windows.Forms.LinkLabel(); + this.tbSFI = new System.Windows.Forms.TextBox(); this.arLabel5 = new arCtl.arLabel(); this.arLabel6 = new arCtl.arLabel(); this.arPanel1 = new arCtl.arPanel(); @@ -919,8 +921,8 @@ // this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn10.DataPropertyName = "remark"; - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle3; this.dataGridViewTextBoxColumn10.HeaderText = "비고"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; @@ -1702,6 +1704,8 @@ // panel3 // this.panel3.BackColor = System.Drawing.Color.Gainsboro; + this.panel3.Controls.Add(this.linkLabel11); + this.panel3.Controls.Add(this.tbSFI); this.panel3.Controls.Add(this.arLabel5); this.panel3.Controls.Add(this.costeTextBox); this.panel3.Controls.Add(this.cntTextBox); @@ -1716,6 +1720,25 @@ this.panel3.Size = new System.Drawing.Size(546, 86); this.panel3.TabIndex = 86; // + // linkLabel11 + // + this.linkLabel11.AutoSize = true; + this.linkLabel11.Location = new System.Drawing.Point(230, 63); + this.linkLabel11.Name = "linkLabel11"; + this.linkLabel11.Size = new System.Drawing.Size(23, 12); + this.linkLabel11.TabIndex = 95; + this.linkLabel11.TabStop = true; + this.linkLabel11.Text = "SFI"; + this.linkLabel11.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel11_LinkClicked); + // + // tbSFI + // + this.tbSFI.Location = new System.Drawing.Point(261, 59); + this.tbSFI.Name = "tbSFI"; + this.tbSFI.Size = new System.Drawing.Size(88, 21); + this.tbSFI.TabIndex = 94; + this.tbSFI.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // arLabel5 // this.arLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); @@ -2001,7 +2024,7 @@ this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(3, 257); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(516, 402); + this.panel4.Size = new System.Drawing.Size(516, 379); this.panel4.TabIndex = 90; // // rtBef @@ -2010,7 +2033,7 @@ this.rtBef.Location = new System.Drawing.Point(0, 23); this.rtBef.Name = "rtBef"; this.rtBef.ReadOnly = true; - this.rtBef.Size = new System.Drawing.Size(516, 379); + this.rtBef.Size = new System.Drawing.Size(516, 356); this.rtBef.TabIndex = 87; this.rtBef.Text = ""; this.rtBef.Click += new System.EventHandler(this.rtBack_Click); @@ -2075,7 +2098,7 @@ this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 254F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1044, 662); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1044, 639); this.tableLayoutPanel1.TabIndex = 91; // // panel8 @@ -2240,7 +2263,7 @@ this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; this.panel6.Location = new System.Drawing.Point(525, 257); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(516, 402); + this.panel6.Size = new System.Drawing.Size(516, 379); this.panel6.TabIndex = 90; // // rtAft @@ -2249,7 +2272,7 @@ this.rtAft.Location = new System.Drawing.Point(0, 23); this.rtAft.Name = "rtAft"; this.rtAft.ReadOnly = true; - this.rtAft.Size = new System.Drawing.Size(516, 379); + this.rtAft.Size = new System.Drawing.Size(516, 356); this.rtAft.TabIndex = 87; this.rtAft.Text = ""; this.rtAft.Click += new System.EventHandler(this.rtBack_Click); @@ -2439,8 +2462,8 @@ // this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn5.DataPropertyName = "remark"; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle4; this.dataGridViewTextBoxColumn5.HeaderText = "비고"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; @@ -2582,7 +2605,7 @@ this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(1050, 700); + this.tabPage2.Size = new System.Drawing.Size(1050, 677); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "완료내역"; this.tabPage2.UseVisualStyleBackColor = true; @@ -2897,5 +2920,7 @@ private System.Windows.Forms.TextBox textBox11; private System.Windows.Forms.TextBox textBox12; private System.Windows.Forms.LinkLabel linkLabel10; + private System.Windows.Forms.LinkLabel linkLabel11; + private System.Windows.Forms.TextBox tbSFI; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectData.cs b/SubProject/FPJ0000/Project/fProjectData.cs index 9d54178..aed54c3 100644 --- a/SubProject/FPJ0000/Project/fProjectData.cs +++ b/SubProject/FPJ0000/Project/fProjectData.cs @@ -10,7 +10,7 @@ namespace FPJ0000 { dsPRJ.ProjectsRow dr = null; bool EditMode = false; - public fProjectData(dsPRJ.ProjectsRow pidx_,bool editmode_=true) + public fProjectData(dsPRJ.ProjectsRow pidx_, bool editmode_ = true) { InitializeComponent(); this.UseFormSetting = false; @@ -113,7 +113,7 @@ namespace FPJ0000 this.cmbReqPlant.Text = dr.ReqPlant; this.cmbReqPackage.Text = dr.ReqPackage; this.cmbReqLine.Text = dr.ReqLine; - + //this.tbSFI.Text = dr.sfi.ToString(); rtAft.Text = string.Empty; rtBef.Text = string.Empty; @@ -146,7 +146,6 @@ namespace FPJ0000 if (string.IsNullOrEmpty(dr2.CMP_Description) == false) rtDesc.Rtf = dr2.CMP_Description; if (string.IsNullOrEmpty(dr2.CMP_Background) == false) rtBack.Rtf = dr2.CMP_Background; } - } btIO.Enabled = btPart.Enabled; @@ -154,7 +153,7 @@ namespace FPJ0000 btMailAddr.Enabled = btPart.Enabled; btPath.Enabled = btPart.Enabled; btSendMail.Enabled = btPart.Enabled; - + tbSFI.Text = dr.sfi.ToString("N2"); //일반사용자의경우에는 상태를 변경하지 못한다. int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); @@ -173,7 +172,7 @@ namespace FPJ0000 void UpdateUserList() { //담당자목록 - 사용자목록으로 처리한다. - + var dt = new DSComm.UserListDataTable(); var taUserList = new dsReportTableAdapters.ProcessUserListTableAdapter(); var processStr = "%"; @@ -251,6 +250,20 @@ namespace FPJ0000 this.dr.ReqPackage = cmbReqPackage.Text; this.dr.ReqPlant = cmbReqPlant.Text; + if (tbSFI.Text.isEmpty() == false) + { + if (float.TryParse(tbSFI.Text, out float sfi)) + { + this.dr.sfi = sfi; + } + else + { + FCOMMON.Util.MsgE("SFI 값을 확인할 수 없습니다. 입력하지 않으려면 입력된 문자를 모두 지우세요"); + return; + } + } + else this.dr.sfi = 0.0; + //날짜박스의 날짜데이터 검증 if (checkDateValue() == false) return; @@ -665,7 +678,7 @@ namespace FPJ0000 private void toolStripButton8_Click(object sender, EventArgs e) { - var f = new fProjectSchedule(int.Parse(tbIdx.Text),false); + var f = new fProjectSchedule(int.Parse(tbIdx.Text), false); f.MdiParent = this.MdiParent; f.ShowDialog(); } @@ -675,5 +688,12 @@ namespace FPJ0000 var url = $"https://scwa.amkor.co.kr/jasmine/view/{textBox12.Text}"; FCOMMON.Util.RunExplorer(url); } + + private void linkLabel11_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + var f = new FCOMMON.fSFI(); + if (f.ShowDialog() == DialogResult.OK) + tbSFI.Text = f.Value.ToString("N2"); + } } } diff --git a/SubProject/FPJ0000/Project/fProjectData.resx b/SubProject/FPJ0000/Project/fProjectData.resx index d970018..146e7a7 100644 --- a/SubProject/FPJ0000/Project/fProjectData.resx +++ b/SubProject/FPJ0000/Project/fProjectData.resx @@ -368,18 +368,6 @@ 676, 56 - - 537, 56 - - - 398, 56 - - - 259, 56 - - - 120, 56 - 676, 56 @@ -392,12 +380,24 @@ 537, 56 + + 537, 56 + + + 398, 56 + 398, 56 259, 56 + + 259, 56 + + + 120, 56 + 120, 56 diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs index a8db7dd..d94528c 100644 --- a/SubProject/FPJ0000/Project/fProjectList.cs +++ b/SubProject/FPJ0000/Project/fProjectList.cs @@ -168,7 +168,6 @@ namespace FPJ0000 // var orgQuery = this.ta.Adapter.SelectCommand.CommandText; - string State_Select = " SELECT [idx],[pidx],[gcode],[isdel],[status],[asset],[level],[rev]," + " [process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff]," + " [costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress]," + @@ -181,7 +180,7 @@ namespace FPJ0000 "dbo.getUserName2(assemblyid,userAssembly) as name_assembly," + "dbo.getUserName2(epanelid,userhw2) as name_epanel," + "dbo.getUserName2(softwareid,usersub) as name_software," + - "ReqLine,ReqSite,ReqPackage,ReqPlant,pno,kdate,jasmin" + + "ReqLine,ReqSite,ReqPackage,ReqPlant,pno,kdate,jasmin,sfi" + " FROM Projects"; //string State_Select = " SELECT [idx],[pidx],[gcode],[isdel],[status],[asset],[level],[rev],[process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff],[costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress],[memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[div],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory, dbo.getWorkWeek(sdate) AS wws, dbo.getWorkWeek(odate) AS wwo, dbo.getWorkWeek(edate) AS wwe, dbo.getWorkWeek(ddate) AS wwd FROM Projects"; string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and "; diff --git a/SubProject/FPJ0000/Project/fProjectListU.Designer.cs b/SubProject/FPJ0000/Project/fProjectListU.Designer.cs index f421899..4cb86a2 100644 --- a/SubProject/FPJ0000/Project/fProjectListU.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectListU.Designer.cs @@ -100,6 +100,7 @@ this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.label1 = new System.Windows.Forms.Label(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.panel4 = new System.Windows.Forms.Panel(); @@ -155,22 +156,22 @@ this.chk완료 = new System.Windows.Forms.ToolStripButton(); this.chk완료보고 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.tbRequest = new System.Windows.Forms.ToolStripComboBox(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); + this.btSearch = new System.Windows.Forms.ToolStripButton(); this.panel1 = new System.Windows.Forms.Panel(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.label17 = new System.Windows.Forms.Label(); - this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); - this.tbRequest = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); - this.btSearch = new System.Windows.Forms.ToolStripButton(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); this.cm.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); @@ -180,7 +181,6 @@ this.toolStrip2.SuspendLayout(); this.panel1.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // // bn @@ -636,6 +636,167 @@ this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 2; // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 19; + this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).ColumnSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Effect"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Human Resource"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 0).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Title"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "완료(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "Start"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Due"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "Done"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Q\'ty"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Champion"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "S/W"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Design"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "ePanel"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; + this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "상태"; + this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; + this.fpSpread1_Sheet1.Columns.Get(0).Tag = "Status"; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request"; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "Title"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "ProgressPrj"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "완료(%)"; + this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "sdate"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "Start"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 52F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ddate"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "Due"; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "Done"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType3.DecimalPlaces = 0; + numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType3.MaximumValue = 2147483647D; + numberCellType3.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "cnt"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "Q\'ty"; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Width = 42F; + this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType4.MaximumValue = 999999999999999D; + numberCellType4.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste"; + this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 67F; + this.fpSpread1_Sheet1.Columns.Get(15).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "name_champion"; + this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "Champion"; + this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "name_software"; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "S/W"; + this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "name_design"; + this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "Design"; + this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "name_epanel"; + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "ePanel"; + this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // // label1 // this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; @@ -1374,6 +1535,18 @@ this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 39); // + // toolStripLabel4 + // + this.toolStripLabel4.IsLink = true; + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(43, 36); + this.toolStripLabel4.Text = "담당자"; + // + // tbRequest + // + this.tbRequest.Name = "tbRequest"; + this.tbRequest.Size = new System.Drawing.Size(121, 39); + // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; @@ -1398,6 +1571,26 @@ this.cmbSort.Size = new System.Drawing.Size(100, 39); this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged); // + // toolStripButton6 + // + this.toolStripButton6.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); + this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton6.Name = "toolStripButton6"; + this.toolStripButton6.Size = new System.Drawing.Size(67, 36); + this.toolStripButton6.Text = "닫기"; + this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); + // + // btSearch + // + this.btSearch.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSearch.Name = "btSearch"; + this.btSearch.Size = new System.Drawing.Size(106, 36); + this.btSearch.Text = "새로고침(&R)"; + this.btSearch.Click += new System.EventHandler(this.toolStripButton7_Click); + // // panel1 // this.panel1.Controls.Add(this.toolStrip2); @@ -1437,199 +1630,6 @@ this.label17.Text = "구매 진행"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // toolStripLabel4 - // - this.toolStripLabel4.IsLink = true; - this.toolStripLabel4.Name = "toolStripLabel4"; - this.toolStripLabel4.Size = new System.Drawing.Size(43, 36); - this.toolStripLabel4.Text = "담당자"; - // - // tbRequest - // - this.tbRequest.Name = "tbRequest"; - this.tbRequest.Size = new System.Drawing.Size(121, 39); - // - // toolStripButton6 - // - this.toolStripButton6.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); - this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton6.Name = "toolStripButton6"; - this.toolStripButton6.Size = new System.Drawing.Size(67, 36); - this.toolStripButton6.Text = "닫기"; - this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); - // - // btSearch - // - this.btSearch.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); - this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btSearch.Name = "btSearch"; - this.btSearch.Size = new System.Drawing.Size(106, 36); - this.btSearch.Text = "새로고침(&R)"; - this.btSearch.Click += new System.EventHandler(this.toolStripButton7_Click); - // - // fpSpread1_Sheet1 - // - this.fpSpread1_Sheet1.Reset(); - this.fpSpread1_Sheet1.SheetName = "Sheet1"; - // Formulas and custom names must be loaded with R1C1 reference style - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; - this.fpSpread1_Sheet1.ColumnCount = 19; - this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "상태"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).ColumnSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Effect"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Human Resource"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 0).Value = "상태"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Title"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "완료(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "Start"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Due"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "Done"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Q\'ty"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Champion"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "S/W"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Design"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "ePanel"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; - this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(0).DataField = "status"; - this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Label = "상태"; - this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; - this.fpSpread1_Sheet1.Columns.Get(0).Tag = "Status"; - this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; - numberCellType1.DecimalPlaces = 0; - numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType1.MaximumValue = 2147483647D; - numberCellType1.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType1; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; - this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; - this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; - this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request"; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "Title"; - this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType2.DecimalPlaces = 0; - numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType2.MaximumValue = 2147483647D; - numberCellType2.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType2; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "ProgressPrj"; - this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Label = "완료(%)"; - this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "sdate"; - this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "Start"; - this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Width = 52F; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ddate"; - this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Label = "Due"; - this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "edate"; - this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "Done"; - this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType3.DecimalPlaces = 0; - numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType3.MaximumValue = 2147483647D; - numberCellType3.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType3; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "cnt"; - this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Label = "Q\'ty"; - this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Width = 42F; - this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType4.MaximumValue = 999999999999999D; - numberCellType4.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType4; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste"; - this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Label = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Width = 67F; - this.fpSpread1_Sheet1.Columns.Get(15).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; - this.fpSpread1_Sheet1.Columns.Get(15).DataField = "name_champion"; - this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Label = "Champion"; - this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "name_software"; - this.fpSpread1_Sheet1.Columns.Get(16).Label = "S/W"; - this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType14; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "name_design"; - this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).Label = "Design"; - this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType15; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "name_epanel"; - this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Label = "ePanel"; - this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.DataAutoSizeColumns = false; - this.fpSpread1_Sheet1.DataSource = this.bs; - this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; - // // fProjectListU // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1651,6 +1651,7 @@ ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); this.cm.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); @@ -1662,7 +1663,6 @@ this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/SubProject/FPJ0000/Project/fProjectListU.resx b/SubProject/FPJ0000/Project/fProjectListU.resx index 4927638..4af9c4b 100644 --- a/SubProject/FPJ0000/Project/fProjectListU.resx +++ b/SubProject/FPJ0000/Project/fProjectListU.resx @@ -497,31 +497,31 @@ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWOSURBVFhH3VjZU1pXGGem20OXl65/QBc79aHLc6dN20yd - Nlqxw2okg4lommaiUafikquyKRqMOCbtqNG82EySSYwCYlJAhAgqRqdTMVBbyUQb0Yp2eWlSQ89XjnDv - 9QJGhIf8Zr4Z7ny/e86Pc863nMt6ZJH1jeEdoXJYfUB9w3Dw1LhTop2YKWyb/FWidXmRTQlV1lFMTR2y - yvueFaosDfkap6u8x/OHcmAl2DS4zmhFbTfn8WvJxweE5XG+0qJAq+SVXVl6wCSIbikTyCWG0vPUdlfd - pcX7TEKiGZNAXr15AW3/fDQTyC3L7BPXGjE9PgRyk+hw+9RttWGNUQSYSrcarDrv2yjt9ga+PvPjnSPI - jp/1BNDZXMLDhAGimcYAqzp/+2+BwtaKqfEhUJiPlXTO+pkGUxsCweJO97JYM+YQKq2nc2p0e7KqB9/Y - Wzr0dMZRw1OZ0qsvf1E18CEeKoxoAkPirNsXx6s15SFxd+kDqQ3rwbJz3lVRo93Iq772JqZvG9EEFne4 - /bx6Uw6mxQacOdhW+iANukBQfNL5E69u8H1MfWjE2uKitsl5HnH9dUxlBkQrBAT9zMn6/P/ub7Tbsisu - P4+pOwJVIHUOtX4tmNdod3I4Fx7D9K2AVEKPVli5vAbbiETiegLTdoxNgZXf+/7KVVnnYGzyXMSlxXt8 - haUa06mAJAx5jvwC/EvY1kRXbhMgEMShCqTdR/S/cKhlfJY633qwoHXiFgQbfiUCqBD0JFzW41lN5MzR - gYQtgzj8yOLKzZ+W9XhXyHPKrtzdQDtZhykR5GvGXGQipBKR2j6A3bsCdo1RjX+GIVLbjPQzj3ZtArtD - gMIPtZVMKuma9e8klTws2MQP75Z2eyirCEmfLR1KxxSoGJZmeuEXa5wp60bymx0O8tzK/pWgQDGsxG4W - 60DTqJ5MgPIFFQK7kw6hYqSjUU+NaFHzqA670T9oGRsjO1GkbbCr9B9hd9KBzubeyl4fJb0dbBl3YDeL - JWl1ucnO0h5vILtCHzur7yI+rx54DUXzKlkDaMJuFquw7eYc2XnkzPQdDmF5BruTDpgL5iRrAE3YjVZQ - O/kL2ZlqgRmE4bmvTk8vkjWg60NEYEHrJCWjo7BfzawwvordSQe0asVd7nWyhgKtawa7GYPkfg4x+Al2 - Jx2ZKEikvb4NsoaDmjEndqM0g25mZCcUcaFypAO7kw5U/r6lNw6oikXSDOqem1QoOZIJYo0jZYkaVos8 - dyhRmyOJmkMMvV12zrNGJh3v8vyeXWN+D1OSBq5iKL20a5Za6no8a2zUOGNKCFubhTW0zDYjdofBVPAT - wf6GkevQmJDnFjc7qM0CgIeWVHaZ2m6Vd3tX+DJLBqbAWdFCy4QfEwavzvwxStAB8pzQboEWTIkAGlaU - bjxkMtihUxO30HK/BOKg2YSmE7+SEDKkhhfRrs3ARYw8X9SGFcCXW+pqGVr+XKV1DsTB824I5BAXnkT3 - D/uWlv/iwj2ezFqLaVsRujTZxrde1CPPiQqElQNxij4/Je+FLk228ZiXJkCOwph2uH06xvVw5wLhzMG2 - 0lcODNVeXw5hTMPU2ODUm7jQUdMHAduJwC+rB9/KbRjRQ0DQzxzYsU63nysz52J6fAhkltbK3vk/6QOB - MQnMkur2fFamewU+e0CTsU/anwblK1dh/Q6tmLPk7OwKPZVsWnHnzBJXYTqKh4qPWOLAmATChyL4YAQf - jlBXslDS6V5HYzxg2spNgzMH28qXmQR4mPiAT18ocf5W1D71czTjyS0+TA8DRDOJiGYnLi78AwGx7TOX - KLYrEJIw5Dm+fJiIG627iVgCFVeX/6+t4pOOCagQqWyEw4AP5hKtawqZtxB15/BBPR9dekRNN/RCpVkF - UYypjxpYrP8AVUyhVNNGtiwAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWOSURBVFhH3VjZU1tVGM+M24PLi+sf4IIjDy7PjlbtyGhB + wMkOyBoKTgVZRsLihewLZW0ZHaDQh2KnaKWQhNCahCxNSBMK4xhKsDY4pS0FWVxebKXxfHBIbi43CSUk + D/3NfAN3vt8955dzz7ecw3hgkfaV7g2ebFz1mfKirqDNOVHU4fIUd7qvob9zgg73FE9utmNq4pBWPfQk + T25S5LVMuKv7Zv+UjSz71aPrtHa4c9KHX4s/3iFMD3NkJimsjujsrXt0gqiWMIEsYiw5S2lzNw0u3KUT + Es7oBLKbjAvoR/rCGVdsXMr4+rwS06ODKzHklByb+l2lW6MVASbXrPhrT/s2Kk54Vz/v+vl6KbIve72r + OSrbIh4mABBNNwZY3en5f7hSazumRgdXaiwr75m5TTeYSrfqL+/2LOW1OB08mbkrs0FzIK1+9JWDlWOP + pxzRPZYqPPf8J3Uj7+KhAggncEuceffi2I2G7PLuK7eoA6l06/6qk3MrOUqrnl1//lVM3zXCCSzrnrnN + FhkyMS0yYM/BZ6UOotCs+vOaHb+wm0bfxtT7RqRPfLjT7WMTF17GVHpAtEJAUPecaGjxP77SZk2vOfs0 + pu4JoQJD51Bp1/zZCtsEk3nmIUzfCUgl1GiFlcuWWywCgfsRTNsztgUKB3x/82XmqzA2eS7i+xt3OFJT + PaaHApIwCvU58gvwK+Gzxrpy2wCBIA5VoI5DxPAzBa3OK6HzrfuL2l2zEGz4lSCgQlCTcFW/dyWWPUcF + T2ZaAnH4kcGSGD+s6ptbJs8p/vHmBvqSTZgSBEoZbjIRUgnKZSPYvS/IaNCr8L8B5Kiseuqez212uLB7 + C1D4obaSSZAD95JK7hcZxE9vVvZ5Q1YRkn6GcCwZU1BSFpuaqYU/96gjYd1IntruIM8tG172c6XjMuxG + y6y2a8kEKF9QIbA77uBJLd1KbWhEZzfbNdiNfkHrhJPsFH7n28io076H3XEH2psHhad8Iektv/WSA7sZ + DEG7a4bsrOjzrqbXaCNn9X3Ex/UjL1X1z62QNYAm7GYwijsvXyU7S7umrjMJ0xPYHXfAXDAnWQNowm4G + o6hj8jeyM9ECUwjdUyVd0zfIGoo7J4MCC9smQzI6CvuV1Br9i9gdd0CrVtbrWSdrKERnHOymCZIB391M + YvQD7I47UlGQ1Az4NsgaCo46J7CbwYCTGdkJRRxCH7vjDlQCv6E2DtlKazDNcCVGtRwlRzIhkYkaVos8 + 91aiNgYTNZMYe73q5OwamVTR4/0jvcH4FqbEDSzpWHJl70xIqavsn13LQI0zpmxhZ7OwhpoFqx67A6Ar + +LGArzBfgMaEPHeu2h7aLADYaElFP4S2W9WoFeKITSmYgvbKeAe0TPgxZqBj6PsoY6yS54R2C7RgShCb + DWub20smgxW2uWbRcj8H4qDZhKYTvxITUoS6Z/NbnB44iJHnC9uwAjgSU1MjTcsP7TmIg+f9EMgkzjya + pbDZdrT8gwt32GJzI6btBByaspWWSzsP6sHnWAXCyoE46dBiSN7bPDShuSMemgCZUn1SybHpCMfDvQuE + PQeflbpyYIKOy/OZhD4JUyODKTKwwt0q7EXgp/Wjr/EVFi0EBHXPgX2B5mKJjXxMjw6uyNReO+D7izoQ + GJ3ANKHmwEdVmhfg2gOajEPC4SQoX3yp+dt8lITLT8wsU1PJtpX3eBZZUsMRPFR0RBIHRicQLorgwggu + jkqPTy+gSddrT127R/cptw32HHxWjtjAxcNEB1x9ZSksN4uPT/0azlgS0zymBwCi6USEs4bBhX8hIHa9 + 52LFbgVCEoY8x5GME1GjdT8RSaD03NJmbc1ttrugQiSyEQ4ALszh4hyuTgSoO0d/PXno0JOjvqjlyYxy + iGJMfdDAYPwPx/igTWdlNegAAAAASUVORK5CYII= diff --git a/SubProject/FPJ0000/SaveCost/fSaveCostData.Designer.cs b/SubProject/FPJ0000/SaveCost/fSaveCostData.Designer.cs index 829fba0..4d3d30e 100644 --- a/SubProject/FPJ0000/SaveCost/fSaveCostData.Designer.cs +++ b/SubProject/FPJ0000/SaveCost/fSaveCostData.Designer.cs @@ -49,7 +49,6 @@ System.Windows.Forms.Label label10; System.Windows.Forms.Label label11; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSaveCostData)); - System.Windows.Forms.Label label12; this.tbIdx = new System.Windows.Forms.TextBox(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsPRJ = new FPJ0000.dsPRJ(); @@ -92,6 +91,7 @@ this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.arLabel2 = new arCtl.arLabel(); this.panel3 = new System.Windows.Forms.Panel(); + this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.arLabel5 = new arCtl.arLabel(); @@ -104,7 +104,7 @@ this.textBox1 = new System.Windows.Forms.TextBox(); this.arLabel7 = new arCtl.arLabel(); this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_SaveCostTableAdapter(); - this.textBox5 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); nameLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); userManagerLabel = new System.Windows.Forms.Label(); @@ -124,7 +124,6 @@ label9 = new System.Windows.Forms.Label(); label10 = new System.Windows.Forms.Label(); label11 = new System.Windows.Forms.Label(); - label12 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); @@ -503,6 +502,7 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -820,8 +820,8 @@ // panel3 // this.panel3.BackColor = System.Drawing.Color.Gainsboro; + this.panel3.Controls.Add(this.linkLabel1); this.panel3.Controls.Add(this.textBox5); - this.panel3.Controls.Add(label12); this.panel3.Controls.Add(this.textBox3); this.panel3.Controls.Add(label10); this.panel3.Controls.Add(this.textBox4); @@ -840,6 +840,15 @@ this.panel3.Size = new System.Drawing.Size(546, 113); this.panel3.TabIndex = 86; // + // textBox5 + // + this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sfi", true)); + this.textBox5.Location = new System.Drawing.Point(93, 86); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(88, 21); + this.textBox5.TabIndex = 92; + this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // textBox3 // this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "bef_time", true)); @@ -1117,23 +1126,16 @@ // this.ta.ClearBeforeFill = true; // - // textBox5 + // linkLabel1 // - this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sfi", true)); - this.textBox5.Location = new System.Drawing.Point(93, 86); - this.textBox5.Name = "textBox5"; - this.textBox5.Size = new System.Drawing.Size(88, 21); - this.textBox5.TabIndex = 92; - this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label12 - // - label12.AutoSize = true; - label12.Location = new System.Drawing.Point(62, 91); - label12.Name = "label12"; - label12.Size = new System.Drawing.Size(23, 12); - label12.TabIndex = 91; - label12.Text = "SFI"; + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(62, 90); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(23, 12); + this.linkLabel1.TabIndex = 93; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "SFI"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // fSaveCostData // @@ -1225,5 +1227,6 @@ private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.LinkLabel linkLabel1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/SaveCost/fSaveCostData.cs b/SubProject/FPJ0000/SaveCost/fSaveCostData.cs index 4d54f94..27b27ac 100644 --- a/SubProject/FPJ0000/SaveCost/fSaveCostData.cs +++ b/SubProject/FPJ0000/SaveCost/fSaveCostData.cs @@ -168,5 +168,11 @@ namespace FPJ0000 } + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + var f = new FCOMMON.fSFI(); + if (f.ShowDialog() == DialogResult.OK) + textBox5.Text = f.Value.ToString("N2"); + } } } diff --git a/SubProject/FPJ0000/SaveCost/fSaveCostData.resx b/SubProject/FPJ0000/SaveCost/fSaveCostData.resx index 3e6f79d..82c4262 100644 --- a/SubProject/FPJ0000/SaveCost/fSaveCostData.resx +++ b/SubProject/FPJ0000/SaveCost/fSaveCostData.resx @@ -245,16 +245,10 @@ TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - False - 164, 17 303, 17 - - False - \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index 16b89e5..dd4c786 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -1037,6 +1037,8 @@ namespace FPJ0000 { private global::System.Data.DataColumn columnjasmin; + private global::System.Data.DataColumn columnsfi; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public ProjectsDataTable() : @@ -1679,6 +1681,14 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn sfiColumn { + get { + return this.columnsfi; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1790,7 +1800,8 @@ namespace FPJ0000 { string ReqPlant, int pno, string kdate, - int jasmin) { + int jasmin, + double sfi) { ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -1867,7 +1878,8 @@ namespace FPJ0000 { ReqPlant, pno, kdate, - jasmin}; + jasmin, + sfi}; rowProjectsRow.ItemArray = columnValuesArray; this.Rows.Add(rowProjectsRow); return rowProjectsRow; @@ -1948,7 +1960,8 @@ namespace FPJ0000 { string ReqPlant, int pno, string kdate, - int jasmin) { + int jasmin, + double sfi) { ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -2025,7 +2038,8 @@ namespace FPJ0000 { ReqPlant, pno, kdate, - jasmin}; + jasmin, + sfi}; rowProjectsRow.ItemArray = columnValuesArray; this.Rows.Add(rowProjectsRow); return rowProjectsRow; @@ -2130,6 +2144,7 @@ namespace FPJ0000 { this.columnpno = base.Columns["pno"]; this.columnkdate = base.Columns["kdate"]; this.columnjasmin = base.Columns["jasmin"]; + this.columnsfi = base.Columns["sfi"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2285,6 +2300,8 @@ namespace FPJ0000 { base.Columns.Add(this.columnkdate); this.columnjasmin = new global::System.Data.DataColumn("jasmin", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnjasmin); + this.columnsfi = new global::System.Data.DataColumn("sfi", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsfi); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -12941,6 +12958,22 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double sfi { + get { + if (this.IssfiNull()) { + return 0D; + } + else { + return ((double)(this[this.tableProjects.sfiColumn])); + } + } + set { + this[this.tableProjects.sfiColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsnameNull() { @@ -13792,6 +13825,18 @@ namespace FPJ0000 { public void SetjasminNull() { this[this.tableProjects.jasminColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IssfiNull() { + return this.IsNull(this.tableProjects.sfiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetsfiNull() { + this[this.tableProjects.sfiColumn] = global::System.Convert.DBNull; + } } /// @@ -22873,6 +22918,7 @@ namespace FPJ0000.dsPRJTableAdapters { tableMapping.ColumnMappings.Add("pno", "pno"); tableMapping.ColumnMappings.Add("kdate", "kdate"); tableMapping.ColumnMappings.Add("jasmin", "jasmin"); + tableMapping.ColumnMappings.Add("sfi", "sfi"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; @@ -22881,37 +22927,7 @@ namespace FPJ0000.dsPRJTableAdapters { this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = "INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqsta" + - "ff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userMan" + - "ager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remar" + - "k_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [ord" + - "erno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], " + - "[CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial]" + - ", [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid]," + - " [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [" + - "pno], [kdate], [jasmin]) VALUES (@status, @pdate, @name, @usermain, @usersub, @r" + - "eqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager" + - ", @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddat" + - "e, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @categ" + - "ory, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @" + - "bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @champio" + - "nid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @R" + - "eqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin);\r\nSELECT idx, status, pda" + - "te, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, r" + - "ev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, rema" + - "rk_ans, ddate, progress, import, asset, isdel, path, userhw2, orderno, dbo.getLa" + - "stHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP" + - "_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, dbo.getSchedule" + - "ProgressI(idx) AS ProgressPrj, \'\' AS wws, \'\' AS wwo, \'\' AS wwe, \'\' AS wwd, model" + - ", serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) " + - "AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(champ" + - "ionid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserNa" + - "me(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.g" + - "etUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, ReqPack" + - "age, ReqPlant, pno, kdate, jasmin FROM Projects WHERE (idx = SCOPE_IDENTITY()) O" + - "RDER BY (CASE WHEN [status] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN" + - " ([status] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소" + - "\') THEN \'9\' ELSE \'5\' END)"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.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, "", "", "")); @@ -22973,6 +22989,7 @@ namespace FPJ0000.dsPRJTableAdapters { this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jasmin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jasmin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = "UPDATE Projects\r\nSET status = @status, pdate = @pdate, name = @name, userm" + @@ -23090,7 +23107,7 @@ namespace FPJ0000.dsPRJTableAdapters { bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, - ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin + ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi FROM Projects WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR ISNULL(usermain, '') LIKE @username OR @@ -23113,7 +23130,7 @@ ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN bCost, bFanOut, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, - ReqPackage, ReqPlant, pno, kdate, jasmin + ReqPackage, ReqPlant, pno, kdate, jasmin, sfi FROM Projects WHERE (idx = @idx)"; this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; @@ -23125,7 +23142,7 @@ WHERE (idx = @idx)"; bCost, bFanOut, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, - ReqPackage, ReqPlant, pno, kdate, jasmin + ReqPackage, ReqPlant, pno, kdate, jasmin, sfi FROM Projects WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) OR (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (CAST(idx AS varchar) LIKE @search) OR @@ -23392,7 +23409,8 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = string ReqPlant, global::System.Nullable pno, string kdate, - global::System.Nullable jasmin) { + global::System.Nullable jasmin, + global::System.Nullable sfi) { if ((status == null)) { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } @@ -23748,6 +23766,12 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = else { this.Adapter.InsertCommand.Parameters[59].Value = global::System.DBNull.Value; } + if ((sfi.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[60].Value = ((double)(sfi.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[60].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)) { diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index c8719a4..777a24f 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -11,18 +11,17 @@ - + DELETE FROM Projects WHERE (idx = @Original_idx) - + - INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin); -SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin FROM Projects WHERE (idx = SCOPE_IDENTITY()) ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END) + INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi) @@ -84,6 +83,7 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat + @@ -94,7 +94,7 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, - ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin + ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi FROM Projects WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR ISNULL(usermain, '') LIKE @username OR @@ -109,7 +109,7 @@ ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN - + UPDATE Projects SET status = @status, pdate = @pdate, name = @name, usermain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate = @edate, odate = @odate, memo = @memo, wuid = @wuid, wdate = @wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, part = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt, @@ -121,68 +121,68 @@ SET status = @status, pdate = @pdate, name = @name, usermain = @usermain, WHERE (idx = @Original_idx); SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -262,6 +262,7 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat + @@ -289,7 +290,7 @@ WHERE (import = 1) AND (gcode = @gcode) bCost, bFanOut, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, - ReqPackage, ReqPlant, pno, kdate, jasmin + ReqPackage, ReqPlant, pno, kdate, jasmin, sfi FROM Projects WHERE (idx = @idx) @@ -306,7 +307,7 @@ WHERE (idx = @idx) bCost, bFanOut, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, ReqLine, ReqSite, - ReqPackage, ReqPlant, pno, kdate, jasmin + ReqPackage, ReqPlant, pno, kdate, jasmin, sfi FROM Projects WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) OR (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (CAST(idx AS varchar) LIKE @search) OR @@ -2976,7 +2977,7 @@ WHERE (idx = @idx) - + @@ -3390,10 +3391,11 @@ WHERE (idx = @idx) + - + @@ -3437,7 +3439,7 @@ WHERE (idx = @idx) - + @@ -3482,7 +3484,7 @@ WHERE (idx = @idx) - + @@ -3592,7 +3594,7 @@ WHERE (idx = @idx) - + @@ -3766,7 +3768,7 @@ WHERE (idx = @idx) - + @@ -3804,7 +3806,7 @@ WHERE (idx = @idx) - + @@ -3920,7 +3922,7 @@ WHERE (idx = @idx) - + @@ -3971,7 +3973,7 @@ WHERE (idx = @idx) - + @@ -3984,7 +3986,7 @@ WHERE (idx = @idx) - + @@ -4153,11 +4155,11 @@ WHERE (idx = @idx) - + - + @@ -4363,7 +4365,7 @@ WHERE (idx = @idx) - + @@ -4408,7 +4410,7 @@ WHERE (idx = @idx) - + @@ -4485,7 +4487,7 @@ WHERE (idx = @idx) - + @@ -4676,7 +4678,7 @@ WHERE (idx = @idx) - + @@ -4815,7 +4817,7 @@ WHERE (idx = @idx) - + @@ -4882,7 +4884,7 @@ WHERE (idx = @idx) - + @@ -4928,7 +4930,7 @@ WHERE (idx = @idx) - + diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss index fbb5d3c..7d25866 100644 --- a/SubProject/FPJ0000/dsPRJ.xss +++ b/SubProject/FPJ0000/dsPRJ.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - +