This commit is contained in:
chi
2024-01-29 15:26:42 +09:00
parent e9993009a0
commit ed37fd6c40
13 changed files with 750 additions and 525 deletions

View File

@@ -165,8 +165,11 @@ namespace FPJ0000
btMailAddr.Enabled = btPart.Enabled;
btPath.Enabled = btPart.Enabled;
btSendMail.Enabled = btPart.Enabled;
if(dr.IssficNull()==false)
tbSFI.Text = dr.sfic.ToString("N2");
//if (dr.Issfi_typeNull() == false && dr.sfi_type == "M")
// tbSFI.Text = dr.sfic.ToString("N2");
//else
tbSFI.Text = dr.sfi.ToString("N2");
//일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project));
@@ -272,7 +275,10 @@ namespace FPJ0000
{
if (float.TryParse(tbSFI.Text, out float sfi))
{
this.dr.sfi = sfi;
// if (dr.sfi_type == "O")
this.dr.sfic = sfi;
//else
// this.dr.sfic = sfi; //mfg는 이곳으로
}
else
{
@@ -280,7 +286,7 @@ namespace FPJ0000
return;
}
}
else this.dr.sfi = 0.0;
else this.dr.sfic = 0.0;
//날짜박스의 날짜데이터 검증
if (checkDateValue() == false) return;
@@ -678,7 +684,7 @@ namespace FPJ0000
{
int cnt;
if(int.TryParse(cntTextBox.Text, out cnt)==false)
if (int.TryParse(cntTextBox.Text, out cnt) == false)
{
FCOMMON.Util.MsgE($"수량이 입려되지 않았습니다");
cntTextBox.Focus();
@@ -695,20 +701,28 @@ namespace FPJ0000
if (dr.Issfi_shiftcountNull() == false) sfi_shiftcount = dr.sfi_shiftcount;
if (sfi_shiftcount == 0) sfi_shiftcount = 4;
var f = new FCOMMON.fSFI(sfi_type, sfi_time, sfi_count,sfi_shiftcount, cnt);
var f = new FCOMMON.fSFI(sfi_type, sfi_time, sfi_count, sfi_shiftcount, cnt);
if (f.ShowDialog() == DialogResult.OK)
{
tbSFI.Text = f.Value.ToString("N2");
dr.sfi_type = f.radO.Checked ? "O" : "M";
if (f.radO.Checked)
{
dr.sfi = f.Value; //office 는 sfi와 sfic 가 동일하다
dr.sfi_savetime = (float)f.nudOsavetime.Value;
}
else
{
//m 데이터는 sfi가 아닌sfic에 값이 들어간다.
dr.sfi = (float)f.nudSFIMFG.Value;
dr.sfi_savetime = (float)f.nudMsavetime.Value;
}
dr.sfi_savecount = (float)f.nudMSaveCnt.Value;
dr.sfi_shiftcount = (float)f.nudShiftCnt.Value;
dr.EndEdit();
}
}
private void arLabel9_Click(object sender, EventArgs e)

View File

@@ -30,44 +30,45 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList));
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
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.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType41 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType101 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType102 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType42 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType103 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType104 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType105 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType106 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType107 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType108 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType109 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType43 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType44 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType110 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType111 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType112 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType113 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType114 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType115 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType45 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType46 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType47 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType48 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType49 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType116 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType117 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType118 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType119 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType120 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType121 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType122 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType123 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType124 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType125 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType50 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType17 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType18 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType19 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType20 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FPJ0000.dsPRJ();
@@ -216,6 +217,13 @@
this.lbcnt5 = new System.Windows.Forms.Label();
this.lbcnt6 = new System.Windows.Forms.Label();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.panel6 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.label36 = new System.Windows.Forms.Label();
this.panel8 = new System.Windows.Forms.Panel();
this.label37 = new System.Windows.Forms.Label();
this.panel9 = new System.Windows.Forms.Panel();
this.label38 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -236,6 +244,7 @@
this.tableLayoutPanel3.SuspendLayout();
this.tableLayoutPanel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.panel6.SuspendLayout();
this.SuspendLayout();
//
// bn
@@ -328,7 +337,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(30, 23);
this.bindingNavigatorPositionItem.Text = "0";
@@ -451,7 +459,6 @@
// tbFind
//
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbFind.Name = "tbFind";
this.tbFind.Size = new System.Drawing.Size(100, 25);
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
@@ -689,10 +696,10 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1339, 295);
this.fpSpread1.Size = new System.Drawing.Size(1339, 261);
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 2;
this.fpSpread1.SetViewportLeftColumn(0, 0, 14);
this.fpSpread1.SetViewportLeftColumn(0, 0, 15);
//
// toolStrip1
//
@@ -1482,7 +1489,7 @@
this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb1.SignColor = System.Drawing.Color.Yellow;
this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb1.Size = new System.Drawing.Size(1181, 11);
this.prb1.Size = new System.Drawing.Size(1181, 15);
this.prb1.TabIndex = 32;
this.prb1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.prb1.TextShadow = false;
@@ -1767,12 +1774,14 @@
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel3.Controls.Add(this.label17, 0, 0);
this.tableLayoutPanel3.Controls.Add(this.prb1, 1, 0);
this.tableLayoutPanel3.Controls.Add(this.panel6, 0, 1);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 403);
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 369);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 1;
this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(1339, 21);
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(1339, 55);
this.tableLayoutPanel3.TabIndex = 34;
//
// label17
@@ -1781,7 +1790,7 @@
this.label17.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label17.Location = new System.Drawing.Point(3, 0);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(142, 21);
this.label17.Size = new System.Drawing.Size(142, 25);
this.label17.TabIndex = 0;
this.label17.Text = "구매 진행";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1929,7 +1938,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 = 38;
this.fpSpread1_Sheet1.ColumnCount = 39;
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
@@ -1965,7 +1974,9 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 36).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 36).Value = "Fan Out";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "Major Item";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "High\r\nLight";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 38).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 38).Value = "Major\r\nItem";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Project\r\nNo";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Process / Equipment";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "Site";
@@ -1998,231 +2009,318 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 32).Value = "Model#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 33).Value = "Serial#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 34).Value = "자스민";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 37).Value = "Major Item";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 35).Value = "Cost\r\nSave";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 36).Value = "Fan\r\nOut";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 37).Value = "High\r\nLight";
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)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
numberCellType41.DecimalPlaces = 0;
numberCellType41.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType41.MaximumValue = 2147483647D;
numberCellType41.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType41;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
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).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType101;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "category";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType102;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "userprocess";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).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(3).CellType = numberCellType2;
numberCellType42.DecimalPlaces = 0;
numberCellType42.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType42.MaximumValue = 2147483647D;
numberCellType42.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType42;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "pno";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "Project\r\nNo";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType103;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "process";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "Process / Equipment";
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType104;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqSite";
this.fpSpread1_Sheet1.Columns.Get(5).Label = "Site";
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType105;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqPlant";
this.fpSpread1_Sheet1.Columns.Get(6).Label = "Plant";
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType106;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "ReqPackage";
this.fpSpread1_Sheet1.Columns.Get(7).Label = "PKG";
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType107;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "ReqLine";
this.fpSpread1_Sheet1.Columns.Get(8).Label = "Line";
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType108;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "part";
this.fpSpread1_Sheet1.Columns.Get(9).Label = "Request Team";
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType109;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "Project Title";
this.fpSpread1_Sheet1.Columns.Get(10).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(11).CellType = numberCellType3;
numberCellType43.DecimalPlaces = 0;
numberCellType43.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType43.MaximumValue = 2147483647D;
numberCellType43.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType43;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "finishrate";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "준수(%)";
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.DecimalPlaces = 0;
numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType4.MaximumValue = 2147483647D;
numberCellType4.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType4;
numberCellType44.DecimalPlaces = 0;
numberCellType44.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType44.MaximumValue = 2147483647D;
numberCellType44.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType44;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "ProgressPrj";
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Label = "완료(%)";
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Width = 63F;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType110;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "status";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Label = "Status";
this.fpSpread1_Sheet1.Columns.Get(13).Tag = "Status";
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType111;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "kdate";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "검토\r\n기한";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType112;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "lasthistory_date";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "업데이트";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).Width = 58F;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType113;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "sdate";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "Start Date";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Width = 52F;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType114;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "ddate";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "Due Date";
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType115;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "edate";
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).Label = "Done Date";
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType5.DecimalPlaces = 0;
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType5.MaximumValue = 2147483647D;
numberCellType5.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType5;
numberCellType45.DecimalPlaces = 0;
numberCellType45.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType45.MaximumValue = 2147483647D;
numberCellType45.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType45;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "cnt";
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(19).Label = "Q\'ty";
this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(19).Width = 42F;
numberCellType6.MaximumValue = 999999999999999D;
numberCellType6.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType6;
numberCellType46.MaximumValue = 999999999999999D;
numberCellType46.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType46;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "costo";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "Outsourced Cost ($K)/Set\r\n";
this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Width = 63F;
numberCellType7.MaximumValue = 999999999999999D;
numberCellType7.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType7;
numberCellType47.MaximumValue = 999999999999999D;
numberCellType47.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType47;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "costn";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Label = "In-house Cost ($K/Set)";
this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Width = 63F;
this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType8.MaximumValue = 999999999999999D;
numberCellType8.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType8;
numberCellType48.MaximumValue = 999999999999999D;
numberCellType48.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType48;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "coste";
this.fpSpread1_Sheet1.Columns.Get(22).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(22).Label = "Cost Save ($k)/Set";
this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(22).Width = 67F;
numberCellType9.MaximumValue = 999999999999999D;
numberCellType9.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType9;
numberCellType49.MaximumValue = 999999999999999D;
numberCellType49.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType49;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "sfic";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Label = "SFI";
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Width = 52F;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType116;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(24).Label = "SCR/CF";
this.fpSpread1_Sheet1.Columns.Get(25).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType117;
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(26).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType118;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "name_software";
this.fpSpread1_Sheet1.Columns.Get(26).Label = "S/W";
this.fpSpread1_Sheet1.Columns.Get(27).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType19;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType119;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "name_design";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "Design";
this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType20;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType120;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "name_epanel";
this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).Label = "ePanel";
this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType121;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "lasthistory";
this.fpSpread1_Sheet1.Columns.Get(29).Label = "History";
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType122;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(30).Label = "Memo";
this.fpSpread1_Sheet1.Columns.Get(30).Width = 77F;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType123;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "asset";
this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(31).Label = "Asset";
this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType24;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType124;
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "model";
this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(32).Label = "Model#";
this.fpSpread1_Sheet1.Columns.Get(32).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType25;
this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType125;
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "serial";
this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(33).Label = "Serial#";
this.fpSpread1_Sheet1.Columns.Get(33).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType10.DecimalPlaces = 0;
numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType10.MaximumValue = 2147483647D;
numberCellType10.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType10;
numberCellType50.DecimalPlaces = 0;
numberCellType50.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType50.MaximumValue = 2147483647D;
numberCellType50.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType50;
this.fpSpread1_Sheet1.Columns.Get(34).DataField = "jasmin";
this.fpSpread1_Sheet1.Columns.Get(34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(34).Label = "자스민";
this.fpSpread1_Sheet1.Columns.Get(34).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(35).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(35).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(35).CellType = checkBoxCellType17;
this.fpSpread1_Sheet1.Columns.Get(35).DataField = "bCost";
this.fpSpread1_Sheet1.Columns.Get(35).Label = "Cost\r\nSave";
this.fpSpread1_Sheet1.Columns.Get(35).Tag = "costsave";
this.fpSpread1_Sheet1.Columns.Get(35).Width = 44F;
this.fpSpread1_Sheet1.Columns.Get(36).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(36).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(36).CellType = checkBoxCellType18;
this.fpSpread1_Sheet1.Columns.Get(36).DataField = "bFanOut";
this.fpSpread1_Sheet1.Columns.Get(36).Label = "Fan\r\nOut";
this.fpSpread1_Sheet1.Columns.Get(36).Width = 44F;
this.fpSpread1_Sheet1.Columns.Get(37).CellType = checkBoxCellType3;
this.fpSpread1_Sheet1.Columns.Get(37).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(37).CellType = checkBoxCellType19;
this.fpSpread1_Sheet1.Columns.Get(37).DataField = "bHighlight";
this.fpSpread1_Sheet1.Columns.Get(37).Label = "Major Item";
this.fpSpread1_Sheet1.Columns.Get(37).Label = "High\r\nLight";
this.fpSpread1_Sheet1.Columns.Get(37).Tag = "Highlight";
this.fpSpread1_Sheet1.Columns.Get(37).Width = 39F;
this.fpSpread1_Sheet1.Columns.Get(38).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(38).CellType = checkBoxCellType20;
this.fpSpread1_Sheet1.Columns.Get(38).DataField = "bmajoritem";
this.fpSpread1_Sheet1.Columns.Get(38).Tag = "majoritem";
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;
//
// panel6
//
this.tableLayoutPanel3.SetColumnSpan(this.panel6, 5);
this.panel6.Controls.Add(this.label38);
this.panel6.Controls.Add(this.panel9);
this.panel6.Controls.Add(this.label37);
this.panel6.Controls.Add(this.panel8);
this.panel6.Controls.Add(this.label36);
this.panel6.Controls.Add(this.panel7);
this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel6.Location = new System.Drawing.Point(3, 28);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(1333, 24);
this.panel6.TabIndex = 33;
//
// panel7
//
this.panel7.BackColor = System.Drawing.Color.Gold;
this.panel7.Dock = System.Windows.Forms.DockStyle.Left;
this.panel7.Location = new System.Drawing.Point(0, 0);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(20, 24);
this.panel7.TabIndex = 0;
//
// label36
//
this.label36.Dock = System.Windows.Forms.DockStyle.Left;
this.label36.Location = new System.Drawing.Point(20, 0);
this.label36.Name = "label36";
this.label36.Padding = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label36.Size = new System.Drawing.Size(87, 24);
this.label36.TabIndex = 1;
this.label36.Text = "CostSave";
this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel8
//
this.panel8.BackColor = System.Drawing.Color.Lime;
this.panel8.Dock = System.Windows.Forms.DockStyle.Left;
this.panel8.Location = new System.Drawing.Point(107, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(20, 24);
this.panel8.TabIndex = 2;
//
// label37
//
this.label37.Dock = System.Windows.Forms.DockStyle.Left;
this.label37.Location = new System.Drawing.Point(127, 0);
this.label37.Name = "label37";
this.label37.Padding = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label37.Size = new System.Drawing.Size(87, 24);
this.label37.TabIndex = 3;
this.label37.Text = "HighLight";
this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel9
//
this.panel9.BackColor = System.Drawing.Color.HotPink;
this.panel9.Dock = System.Windows.Forms.DockStyle.Left;
this.panel9.Location = new System.Drawing.Point(214, 0);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(20, 24);
this.panel9.TabIndex = 4;
//
// label38
//
this.label38.Dock = System.Windows.Forms.DockStyle.Left;
this.label38.Location = new System.Drawing.Point(234, 0);
this.label38.Name = "label38";
this.label38.Padding = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label38.Size = new System.Drawing.Size(87, 24);
this.label38.TabIndex = 5;
this.label38.Text = "MajorItem";
this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// fProjectList
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -2262,6 +2360,7 @@
this.tableLayoutPanel3.ResumeLayout(false);
this.tableLayoutPanel4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.panel6.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -2417,5 +2516,12 @@
private System.Windows.Forms.Label lbcnt5;
private System.Windows.Forms.Label lbcnt6;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Label label36;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel9;
private System.Windows.Forms.Label label37;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Label label38;
}
}

View File

@@ -212,7 +212,7 @@ namespace FPJ0000
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]," +
" [costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress],bmajoritem," +
" [memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[bHighlight],[div]," +
" dbo.getScheduleProgress(idx) as ProgressPrj,'' AS lasthistory,'' AS wws, '' AS wwo, '' AS wwe, '' AS wwd,model,serial," +
" [championid], dbo.getProjectFinishRate(gcode, idx) AS finishrate,sfic,sfi_shiftcount, sfi_type, sfi_savetime, sfi_savecount," +
@@ -230,6 +230,7 @@ namespace FPJ0000
if (btViewDel.Checked == false) State_where += " isnull(isdel,0)=0 and "; //삭제보기 햇을 경우
// if(chk비용절감.Checked== false) State_where += " isnull(bcost,0)=0 and "; //삭제보기 햇을 경우
//만료,완료,출고
if (cmbDateType.SelectedIndex > 0)
@@ -243,8 +244,6 @@ namespace FPJ0000
}
// "ISNULL(usermain, '') LIKE @username OR " +
// "ISNULL(reqstaff, '') LIKE @username OR " +
// "ISNULL(usersub, '') LIKE @username) ";
@@ -326,18 +325,33 @@ namespace FPJ0000
//삭제컬럼인덱스
this.fpSpread1.SuspendLayout();
var statindex = this.fpSpread1.ActiveSheet.Columns["Status"].Index;
var majorindex = this.fpSpread1.ActiveSheet.Columns["Highlight"].Index;
var hoighlightindex = this.fpSpread1.ActiveSheet.Columns["Highlight"].Index;
var costindex = this.fpSpread1.ActiveSheet.Columns["costsave"].Index;
var majorindex = this.fpSpread1.ActiveSheet.Columns["majoritem"].Index;
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
{
var major = this.fpSpread1.ActiveSheet.GetValue(i, majorindex);
var hightlight = this.fpSpread1.ActiveSheet.GetValue(i, hoighlightindex);
var state = this.fpSpread1.ActiveSheet.GetValue(i, statindex);
string stateStr = string.Empty;
string majorstr = string.Empty;
if (major != null) majorstr = major.ToString();
if (state != null) stateStr = state.ToString();
var cost = this.fpSpread1.ActiveSheet.GetValue(i, costindex);
var major = this.fpSpread1.ActiveSheet.GetValue(i, majorindex);
if (majorstr == "True")
string stateStr = string.Empty;
string highstr = string.Empty;
string coststr = string.Empty;
string majorstr = string.Empty;
if (hightlight != null) highstr = hightlight.ToString();
if (state != null) stateStr = state.ToString();
if (cost != null) coststr = cost.ToString();
if (major != null) majorstr = major.ToString();
if (highstr == "True")
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.Lime;
else if (coststr == "True")
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.Gold;
else if (majorstr == "True")
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.HotPink;
else
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White;

View File

@@ -290,6 +290,9 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>387, 17</value>
</metadata>
@@ -347,6 +350,12 @@
<metadata name="bsHistD.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>934, 17</value>
</metadata>
<metadata name="bsHistD.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>934, 17</value>
</metadata>
<metadata name="bsHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>561, 17</value>
</metadata>
<metadata name="bsHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>561, 17</value>
</metadata>
@@ -356,6 +365,9 @@
<metadata name="taHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>647, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>731, 17</value>
</metadata>
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>828, 17</value>
</metadata>