비용절감에 sfi 항목 추가

This commit is contained in:
chi
2023-03-17 13:34:50 +09:00
parent a827bdb4e0
commit a8f6effede
16 changed files with 882 additions and 680 deletions

View File

@@ -212,6 +212,7 @@ namespace FPJ0000
FCOMMON.DBM.buyinfo TotInfo = new FCOMMON.DBM.buyinfo();
List<string> sidlist = new List<string>();
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
{
var v_supply = string.Empty;
@@ -227,7 +228,21 @@ namespace FPJ0000
if (db_supply != null) v_supply = db_supply.ToString().Trim();
//해당 자료의 CR구매현황을 확인한다(gcode,project,sid)
var sidinfo = FCOMMON.DBM.GetPartBuyInfo(project, v_sid);
FCOMMON.DBM.buyinfo sidinfo;
if (sidlist.Contains(v_sid))
{
//한번 계산했던 SID이다
sidinfo = new FCOMMON.DBM.buyinfo();
row.ForeColor = Color.Gray;
row.BackColor = Color.WhiteSmoke;
continue;
}
else
{
sidinfo = FCOMMON.DBM.GetPartBuyInfo(project, v_sid);
sidlist.Add(v_sid);
}
fpSpread1.ActiveSheet.Cells[i, col_buyqty].Value = sidinfo.Total_Request;
fpSpread1.ActiveSheet.Cells[i, col_inqty].Value = sidinfo.Total_Buy;

View File

@@ -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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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();
@@ -314,7 +314,7 @@
//
usersubLabel.AutoSize = true;
usersubLabel.Font = new System.Drawing.Font("맑은 고딕", 12F);
usersubLabel.Location = new System.Drawing.Point(53, 141);
usersubLabel.Location = new System.Drawing.Point(53, 113);
usersubLabel.Name = "usersubLabel";
usersubLabel.Size = new System.Drawing.Size(40, 21);
usersubLabel.TabIndex = 26;
@@ -428,7 +428,7 @@
//
label8.AutoSize = true;
label8.Font = new System.Drawing.Font("맑은 고딕", 12F);
label8.Location = new System.Drawing.Point(35, 113);
label8.Location = new System.Drawing.Point(35, 85);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(58, 21);
label8.TabIndex = 87;
@@ -448,11 +448,13 @@
//
label7.AutoSize = true;
label7.Font = new System.Drawing.Font("맑은 고딕", 12F);
label7.Location = new System.Drawing.Point(13, 87);
label7.ForeColor = System.Drawing.Color.Red;
label7.Location = new System.Drawing.Point(13, 145);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(80, 21);
label7.TabIndex = 89;
label7.Text = "Assembly";
label7.Visible = false;
//
// label10
//
@@ -616,7 +618,7 @@
this.usersubTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usersub", true));
this.usersubTextBox.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.usersubTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.usersubTextBox.Location = new System.Drawing.Point(353, 138);
this.usersubTextBox.Location = new System.Drawing.Point(353, 110);
this.usersubTextBox.Name = "usersubTextBox";
this.usersubTextBox.Size = new System.Drawing.Size(185, 25);
this.usersubTextBox.TabIndex = 27;
@@ -678,7 +680,7 @@
this.remark_reqTextBox.Multiline = true;
this.remark_reqTextBox.Name = "remark_reqTextBox";
this.remark_reqTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.remark_reqTextBox.Size = new System.Drawing.Size(485, 327);
this.remark_reqTextBox.Size = new System.Drawing.Size(485, 304);
this.remark_reqTextBox.TabIndex = 49;
//
// tbXdate
@@ -722,7 +724,7 @@
this.btPath,
this.btSendMail,
this.toolStripButton8});
this.bn.Location = new System.Drawing.Point(0, 726);
this.bn.Location = new System.Drawing.Point(0, 703);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
@@ -767,7 +769,6 @@
//
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";
@@ -918,8 +919,8 @@
//
this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn10.DataPropertyName = "remark";
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle5;
this.dataGridViewTextBoxColumn10.HeaderText = "비고";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.ReadOnly = true;
@@ -1313,18 +1314,20 @@
this.panel5.Controls.Add(this.userManagerTextBox);
this.panel5.Location = new System.Drawing.Point(6, 309);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(547, 168);
this.panel5.Size = new System.Drawing.Size(547, 139);
this.panel5.TabIndex = 85;
//
// textBox10
//
this.textBox10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userAssembly", true));
this.textBox10.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.textBox10.ForeColor = System.Drawing.Color.Red;
this.textBox10.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox10.Location = new System.Drawing.Point(353, 83);
this.textBox10.Location = new System.Drawing.Point(353, 141);
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(185, 25);
this.textBox10.TabIndex = 96;
this.textBox10.Visible = false;
//
// cmbSW
//
@@ -1337,7 +1340,7 @@
this.cmbSW.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbSW.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cmbSW.FormattingEnabled = true;
this.cmbSW.Location = new System.Drawing.Point(101, 138);
this.cmbSW.Location = new System.Drawing.Point(101, 110);
this.cmbSW.Margin = new System.Windows.Forms.Padding(4);
this.cmbSW.Name = "cmbSW";
this.cmbSW.Size = new System.Drawing.Size(249, 25);
@@ -1365,7 +1368,7 @@
this.cmbEpanel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbEpanel.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cmbEpanel.FormattingEnabled = true;
this.cmbEpanel.Location = new System.Drawing.Point(101, 110);
this.cmbEpanel.Location = new System.Drawing.Point(101, 82);
this.cmbEpanel.Margin = new System.Windows.Forms.Padding(4);
this.cmbEpanel.Name = "cmbEpanel";
this.cmbEpanel.Size = new System.Drawing.Size(249, 25);
@@ -1387,13 +1390,15 @@
this.cmbAssembly.DisplayMember = "IDName";
this.cmbAssembly.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbAssembly.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cmbAssembly.ForeColor = System.Drawing.Color.Red;
this.cmbAssembly.FormattingEnabled = true;
this.cmbAssembly.Location = new System.Drawing.Point(101, 82);
this.cmbAssembly.Location = new System.Drawing.Point(101, 140);
this.cmbAssembly.Margin = new System.Windows.Forms.Padding(4);
this.cmbAssembly.Name = "cmbAssembly";
this.cmbAssembly.Size = new System.Drawing.Size(249, 25);
this.cmbAssembly.TabIndex = 93;
this.cmbAssembly.ValueMember = "ID";
this.cmbAssembly.Visible = false;
//
// bsAssembly
//
@@ -1451,7 +1456,7 @@
this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userhw2", true));
this.textBox3.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox3.Location = new System.Drawing.Point(353, 110);
this.textBox3.Location = new System.Drawing.Point(353, 82);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(185, 25);
this.textBox3.TabIndex = 88;
@@ -1520,7 +1525,7 @@
this.panel2.Controls.Add(this.tbXdate);
this.panel2.Controls.Add(this.tbEdate);
this.panel2.Controls.Add(this.tbODate);
this.panel2.Location = new System.Drawing.Point(6, 481);
this.panel2.Location = new System.Drawing.Point(6, 454);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(547, 126);
this.panel2.TabIndex = 86;
@@ -1706,7 +1711,7 @@
this.panel3.Controls.Add(costnLabel);
this.panel3.Controls.Add(this.costoTextBox);
this.panel3.Controls.Add(costoLabel);
this.panel3.Location = new System.Drawing.Point(6, 611);
this.panel3.Location = new System.Drawing.Point(6, 586);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(546, 86);
this.panel3.TabIndex = 86;
@@ -1825,7 +1830,7 @@
this.arPanel1.ProgressValue = 0F;
this.arPanel1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.arPanel1.ShowBorder = true;
this.arPanel1.Size = new System.Drawing.Size(487, 352);
this.arPanel1.Size = new System.Drawing.Size(487, 329);
this.arPanel1.TabIndex = 88;
this.arPanel1.Text = "arPanel1";
this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
@@ -1928,7 +1933,6 @@
//
this.bindingNavigatorPositionItem1.AccessibleName = "위치";
this.bindingNavigatorPositionItem1.AutoSize = false;
this.bindingNavigatorPositionItem1.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1";
this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem1.Text = "0";
@@ -2303,7 +2307,7 @@
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1058, 726);
this.tabControl1.Size = new System.Drawing.Size(1058, 703);
this.tabControl1.TabIndex = 93;
//
// tabPage1
@@ -2318,7 +2322,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(1050, 700);
this.tabPage1.Size = new System.Drawing.Size(1050, 677);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "일반사항";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -2329,7 +2333,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.tabControl2.Controls.Add(this.tabPage3);
this.tabControl2.Controls.Add(this.tabPage4);
this.tabControl2.Location = new System.Drawing.Point(559, 365);
this.tabControl2.Location = new System.Drawing.Point(559, 342);
this.tabControl2.Name = "tabControl2";
this.tabControl2.SelectedIndex = 0;
this.tabControl2.Size = new System.Drawing.Size(488, 329);
@@ -2435,8 +2439,8 @@
//
this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn5.DataPropertyName = "remark";
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle6;
this.dataGridViewTextBoxColumn5.HeaderText = "비고";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
@@ -2511,7 +2515,6 @@
//
this.toolStripTextBox1.AccessibleName = "위치";
this.toolStripTextBox1.AutoSize = false;
this.toolStripTextBox1.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.toolStripTextBox1.Name = "toolStripTextBox1";
this.toolStripTextBox1.Size = new System.Drawing.Size(50, 23);
this.toolStripTextBox1.Text = "0";
@@ -2675,7 +2678,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1058, 751);
this.ClientSize = new System.Drawing.Size(1058, 728);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.bn);
this.MinimizeBox = false;

View File

@@ -201,6 +201,12 @@
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
@@ -356,9 +362,30 @@
<metadata name="bsHistWeek.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>449, 17</value>
</metadata>
<metadata name="bsHistWeek.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>449, 17</value>
</metadata>
<metadata name="bsSW.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>676, 56</value>
</metadata>
<metadata name="bsEPanel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>537, 56</value>
</metadata>
<metadata name="bsAssembly.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>398, 56</value>
</metadata>
<metadata name="bsDesignID.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>259, 56</value>
</metadata>
<metadata name="bsChampionID.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>120, 56</value>
</metadata>
<metadata name="bsSW.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>676, 56</value>
</metadata>
<metadata name="dSComm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<metadata name="dSComm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
@@ -377,6 +404,9 @@
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>566, 17</value>
</metadata>
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>566, 17</value>
</metadata>
<data name="bindingNavigatorMoveFirstItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
@@ -456,6 +486,12 @@
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<metadata name="bindingNavigator2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>922, 17</value>
</metadata>
<metadata name="bsHistDay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>722, 17</value>
</metadata>
<metadata name="bsHistDay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>722, 17</value>
</metadata>

View File

@@ -60,7 +60,6 @@
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
@@ -166,6 +165,7 @@
this.label19 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label30 = new System.Windows.Forms.Label();
this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.prb1 = new arCtl.arLabel();
@@ -660,7 +660,7 @@
this.fpSpread1.Size = new System.Drawing.Size(1585, 520);
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 2;
this.fpSpread1.SetViewportLeftColumn(0, 0, 7);
this.fpSpread1.SetViewportLeftColumn(0, 0, 6);
//
// fpSpread1_Sheet1
//
@@ -668,7 +668,7 @@
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 = 32;
this.fpSpread1_Sheet1.ColumnCount = 31;
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
@@ -688,13 +688,13 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Budget";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 5;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 4;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Human Resource";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).ColumnSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "Comment";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Comment";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).ColumnSpan = 4;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "Ext.Info";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).ColumnSpan = 4;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Ext.Info";
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";
@@ -717,15 +717,14 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SCR/CF";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "S/W";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "Design";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "Assembly";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "ePanel";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "Champion";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "History";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Memo";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Asset";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Model#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "Serial#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 31).Value = "자스민";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "ePanel";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "Champion";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "History";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "Memo";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Asset";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Model#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Serial#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "자스민";
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)))));
@@ -873,53 +872,47 @@
this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_assembly";
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_epanel";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Label = "Assembly";
this.fpSpread1_Sheet1.Columns.Get(23).Label = "ePanel";
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_epanel";
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_champion";
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(24).Label = "ePanel";
this.fpSpread1_Sheet1.Columns.Get(24).Label = "Champion";
this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(25).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "name_champion";
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(25).Label = "Champion";
this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory";
this.fpSpread1_Sheet1.Columns.Get(25).Label = "History";
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "lasthistory";
this.fpSpread1_Sheet1.Columns.Get(26).Label = "History";
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo";
this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(27).Label = "Memo";
this.fpSpread1_Sheet1.Columns.Get(27).Width = 77F;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset";
this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "asset";
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model";
this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).Label = "Asset";
this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#";
this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "model";
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial";
this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(29).Label = "Model#";
this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#";
this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "serial";
this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(30).Label = "Serial#";
this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType9.DecimalPlaces = 0;
numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType9.MaximumValue = 2147483647D;
numberCellType9.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType9;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "jasmin";
this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(31).Label = "자스민";
this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType9;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin";
this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민";
this.fpSpread1_Sheet1.Columns.Get(30).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;
@@ -1403,6 +1396,7 @@
this.panel2.Controls.Add(this.label19);
this.panel2.Controls.Add(this.label18);
this.panel2.Controls.Add(this.label28);
this.panel2.Controls.Add(this.label30);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(1, 47);
this.panel2.Margin = new System.Windows.Forms.Padding(0);
@@ -1414,7 +1408,7 @@
//
this.button2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "jasmin", true));
this.button2.Dock = System.Windows.Forms.DockStyle.Left;
this.button2.Location = new System.Drawing.Point(1122, 0);
this.button2.Location = new System.Drawing.Point(1244, 0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(100, 31);
this.button2.TabIndex = 13;
@@ -1428,7 +1422,7 @@
this.label29.Dock = System.Windows.Forms.DockStyle.Left;
this.label29.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label29.ForeColor = System.Drawing.Color.Black;
this.label29.Location = new System.Drawing.Point(1048, 0);
this.label29.Location = new System.Drawing.Point(1170, 0);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(74, 31);
this.label29.TabIndex = 12;
@@ -1441,7 +1435,7 @@
this.label27.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name_software", true));
this.label27.Dock = System.Windows.Forms.DockStyle.Left;
this.label27.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label27.Location = new System.Drawing.Point(928, 0);
this.label27.Location = new System.Drawing.Point(1050, 0);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(120, 31);
this.label27.TabIndex = 10;
@@ -1455,7 +1449,7 @@
this.label26.Dock = System.Windows.Forms.DockStyle.Left;
this.label26.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label26.ForeColor = System.Drawing.Color.Black;
this.label26.Location = new System.Drawing.Point(854, 0);
this.label26.Location = new System.Drawing.Point(976, 0);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(74, 31);
this.label26.TabIndex = 9;
@@ -1468,7 +1462,7 @@
this.label25.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name_epanel", true));
this.label25.Dock = System.Windows.Forms.DockStyle.Left;
this.label25.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label25.Location = new System.Drawing.Point(734, 0);
this.label25.Location = new System.Drawing.Point(856, 0);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(120, 31);
this.label25.TabIndex = 8;
@@ -1482,7 +1476,7 @@
this.label24.Dock = System.Windows.Forms.DockStyle.Left;
this.label24.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label24.ForeColor = System.Drawing.Color.Black;
this.label24.Location = new System.Drawing.Point(660, 0);
this.label24.Location = new System.Drawing.Point(782, 0);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(74, 31);
this.label24.TabIndex = 7;
@@ -1495,34 +1489,37 @@
this.label23.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name_assembly", true));
this.label23.Dock = System.Windows.Forms.DockStyle.Left;
this.label23.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label23.Location = new System.Drawing.Point(540, 0);
this.label23.ForeColor = System.Drawing.Color.Red;
this.label23.Location = new System.Drawing.Point(662, 0);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(120, 31);
this.label23.TabIndex = 6;
this.label23.Text = "(담당자이름)";
this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolTip1.SetToolTip(this.label23, "시작일");
this.label23.Visible = false;
//
// label22
//
this.label22.BackColor = System.Drawing.Color.Silver;
this.label22.Dock = System.Windows.Forms.DockStyle.Left;
this.label22.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label22.ForeColor = System.Drawing.Color.Black;
this.label22.Location = new System.Drawing.Point(466, 0);
this.label22.ForeColor = System.Drawing.Color.Red;
this.label22.Location = new System.Drawing.Point(588, 0);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(74, 31);
this.label22.TabIndex = 5;
this.label22.Text = "Assembly";
this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolTip1.SetToolTip(this.label22, "시작일");
this.label22.Visible = false;
//
// label21
//
this.label21.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name_design", true));
this.label21.Dock = System.Windows.Forms.DockStyle.Left;
this.label21.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label21.Location = new System.Drawing.Point(346, 0);
this.label21.Location = new System.Drawing.Point(468, 0);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(120, 31);
this.label21.TabIndex = 4;
@@ -1536,7 +1533,7 @@
this.label20.Dock = System.Windows.Forms.DockStyle.Left;
this.label20.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label20.ForeColor = System.Drawing.Color.Black;
this.label20.Location = new System.Drawing.Point(272, 0);
this.label20.Location = new System.Drawing.Point(394, 0);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(74, 31);
this.label20.TabIndex = 3;
@@ -1549,7 +1546,7 @@
this.label19.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name_champion", true));
this.label19.Dock = System.Windows.Forms.DockStyle.Left;
this.label19.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label19.Location = new System.Drawing.Point(152, 0);
this.label19.Location = new System.Drawing.Point(274, 0);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(120, 31);
this.label19.TabIndex = 2;
@@ -1563,7 +1560,7 @@
this.label18.Dock = System.Windows.Forms.DockStyle.Left;
this.label18.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label18.ForeColor = System.Drawing.Color.Black;
this.label18.Location = new System.Drawing.Point(78, 0);
this.label18.Location = new System.Drawing.Point(200, 0);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(74, 31);
this.label18.TabIndex = 1;
@@ -1573,17 +1570,32 @@
//
// label28
//
this.label28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.label28.BackColor = System.Drawing.SystemColors.Control;
this.label28.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
this.label28.Dock = System.Windows.Forms.DockStyle.Left;
this.label28.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold);
this.label28.Location = new System.Drawing.Point(0, 0);
this.label28.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.label28.Location = new System.Drawing.Point(74, 0);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(78, 31);
this.label28.Size = new System.Drawing.Size(126, 31);
this.label28.TabIndex = 11;
this.label28.Text = "담당자";
this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolTip1.SetToolTip(this.label28, "시작일");
//
// label30
//
this.label30.BackColor = System.Drawing.Color.Silver;
this.label30.Dock = System.Windows.Forms.DockStyle.Left;
this.label30.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label30.ForeColor = System.Drawing.Color.Black;
this.label30.Location = new System.Drawing.Point(0, 0);
this.label30.Name = "label30";
this.label30.Size = new System.Drawing.Size(74, 31);
this.label30.TabIndex = 14;
this.label30.Text = "Request";
this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolTip1.SetToolTip(this.label30, "시작일");
//
// taHist
//
this.taHist.ClearBeforeFill = true;
@@ -2038,8 +2050,9 @@
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Label label27;
private System.Windows.Forms.Label label28;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label29;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.Label label30;
}
}

View File

@@ -595,7 +595,8 @@ namespace FPJ0000
newdr.wdate = DateTime.Now;
newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd");
newdr.sdate = DateTime.Now.ToString("yyyy-MM-dd");
newdr.userManager = FCOMMON.info.Login.nameK;
//newdr.userManager = FCOMMON.info.Login.nameK;
newdr.championid = FCOMMON.info.Login.no;
newdr.progress = 0;
newdr.userprocess = FCOMMON.info.Login.process;
newdr.costn = 0;