..
This commit is contained in:
		
							
								
								
									
										122
									
								
								SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										122
									
								
								SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,20 +30,20 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReport)); | ||||
|             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.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.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 textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             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.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 numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = 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(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FPJ0000.dsPRJ(); | ||||
| @@ -69,8 +69,7 @@ | ||||
|             this.btReportDay = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton5 = new System.Windows.Forms.ToolStripDropDownButton(); | ||||
|             this.k5DailyFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.btImport = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.cm = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
| @@ -107,7 +106,7 @@ | ||||
|             this.태그자료만조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.richTextBox1 = new System.Windows.Forms.RichTextBox(); | ||||
|             this.btImport = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
| @@ -353,24 +352,15 @@ | ||||
|             this.toolStripButton3.Text = "적정인원보고서"; | ||||
|             this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); | ||||
|             //  | ||||
|             // toolStripButton5 | ||||
|             // btImport | ||||
|             //  | ||||
|             this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.toolStripButton5.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.k5DailyFormToolStripMenuItem}); | ||||
|             this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); | ||||
|             this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton5.Name = "toolStripButton5"; | ||||
|             this.toolStripButton5.Size = new System.Drawing.Size(72, 22); | ||||
|             this.toolStripButton5.Text = "보고서"; | ||||
|             this.toolStripButton5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             //  | ||||
|             // k5DailyFormToolStripMenuItem | ||||
|             //  | ||||
|             this.k5DailyFormToolStripMenuItem.Name = "k5DailyFormToolStripMenuItem"; | ||||
|             this.k5DailyFormToolStripMenuItem.Size = new System.Drawing.Size(147, 22); | ||||
|             this.k5DailyFormToolStripMenuItem.Text = "K5 DailyForm"; | ||||
|             this.k5DailyFormToolStripMenuItem.Click += new System.EventHandler(this.k5DailyFormToolStripMenuItem_Click); | ||||
|             this.btImport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.btImport.Image = ((System.Drawing.Image)(resources.GetObject("btImport.Image"))); | ||||
|             this.btImport.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btImport.Name = "btImport"; | ||||
|             this.btImport.Size = new System.Drawing.Size(23, 22); | ||||
|             this.btImport.Text = "가져오기"; | ||||
|             this.btImport.Click += new System.EventHandler(this.btImport_Click); | ||||
|             //  | ||||
|             // cm | ||||
|             //  | ||||
| @@ -553,82 +543,82 @@ | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "비고"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "#"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType23; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "날짜"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 58F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType24; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ww"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "WW"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType25; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "username"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "담당"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType26; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "requestpart"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청부서"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType27; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "package"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "패키지"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 86F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType28; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "status"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "상태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType29; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "type"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "업무형태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType30; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "process"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "업무분류"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 80F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType31; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "projectName"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "프로젝트(아이템)"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 158F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType7.DecimalPlaces = 0; | ||||
|             numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType7.MaximumValue = 2147483647D; | ||||
|             numberCellType7.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType7; | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "*"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 39F; | ||||
|             numberCellType8.MaximumValue = 999999999999999D; | ||||
|             numberCellType8.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType8; | ||||
|             numberCellType2.MaximumValue = 999999999999999D; | ||||
|             numberCellType2.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "hrs"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Label = "시간"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Width = 52F; | ||||
|             numberCellType9.MaximumValue = 999999999999999D; | ||||
|             numberCellType9.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType9; | ||||
|             numberCellType3.MaximumValue = 999999999999999D; | ||||
|             numberCellType3.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ot"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).ForeColor = System.Drawing.Color.Red; | ||||
|             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; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType32; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType10; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "description"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             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 = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType33; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "tag"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "#"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
| @@ -793,15 +783,16 @@ | ||||
|             this.richTextBox1.TabIndex = 5; | ||||
|             this.richTextBox1.Text = ""; | ||||
|             //  | ||||
|             // btImport | ||||
|             // toolStripButton5 | ||||
|             //  | ||||
|             this.btImport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.btImport.Image = ((System.Drawing.Image)(resources.GetObject("btImport.Image"))); | ||||
|             this.btImport.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btImport.Name = "btImport"; | ||||
|             this.btImport.Size = new System.Drawing.Size(23, 22); | ||||
|             this.btImport.Text = "가져오기"; | ||||
|             this.btImport.Click += new System.EventHandler(this.btImport_Click); | ||||
|             this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
|             this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); | ||||
|             this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton5.Name = "toolStripButton5"; | ||||
|             this.toolStripButton5.Size = new System.Drawing.Size(63, 22); | ||||
|             this.toolStripButton5.Text = "보고서"; | ||||
|             this.toolStripButton5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); | ||||
|             //  | ||||
|             // fJobReport | ||||
|             //  | ||||
| @@ -894,8 +885,7 @@ | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel4; | ||||
|         private System.Windows.Forms.ToolStripTextBox tbProcess; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton4; | ||||
|         private System.Windows.Forms.ToolStripDropDownButton toolStripButton5; | ||||
|         private System.Windows.Forms.ToolStripMenuItem k5DailyFormToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripButton btImport; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton5; | ||||
|     } | ||||
| } | ||||
| @@ -269,9 +269,6 @@ namespace FPJ0000 | ||||
|             da.Fill(this.dsMSSQL.JobReport); | ||||
|             dsMSSQL.JobReport.AcceptChanges(); | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|             //if (tagonly == false) | ||||
|             //    this.ta.Fill(this.dsMSSQL.JobReport, dtSD.Text, dtED.Text, request, FCOMMON.info.Login.gcode); | ||||
|             //else | ||||
| @@ -678,5 +675,11 @@ namespace FPJ0000 | ||||
|         { | ||||
|              | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton5_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var f = new JobReport_.rK5Dailyform(); | ||||
|             f.Show(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -260,20 +260,20 @@ | ||||
|   <data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG | ||||
|         MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++ | ||||
|         i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J | ||||
|         LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ | ||||
|         5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP | ||||
|         GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2 | ||||
|         VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs | ||||
|         JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav | ||||
|         kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu | ||||
|         ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD | ||||
|         5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD | ||||
|         AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ | ||||
|         FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3 | ||||
|         xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII= | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL4SURBVDhPhZLrS1NhHMf3qv6EsF70UohSSiupF5WpTQ3s | ||||
|         ZipleZlTLLWhK4PMmJNMW2iiQkUkRS8qonRObV6ac7nRjEwzM++38DJ1l3Me3Tnz23PORisI+sGH58Vz | ||||
|         vh/O73uORJjIG4aU4xVmfdxd87K01MzSk4hohNNC4ip6SMwd08BBpbFqR/yLTWLoz4ku7TYuOMjST5ud | ||||
|         t7nWYHP6WXIIEHybc6CoYQoXNEOMNEe32Rf1TmyZaWFxxcn3TLhhmeRgmeJgnuBgGl+H4ccaWgZdWOMA | ||||
|         7RCLojeTSL8/wP4liVJ1snZmHb3TPD5Nc/Tk8FGUrKNrZA3vBhkq8KB3jodl1g21bgrh1zuei+FEzZGx | ||||
|         s6XxG/La00ivOYOa1nqUvNYgvDgIRyhS9QFEqvahUlspruIkHOZXGERe6+JEQUJF+KuO/iY0DT9CjblA | ||||
|         lFysjkHBs2Tk1idBVncCaXVp0PbNo2nAicYvdqzSnqJU3UQUSKukm4+r83jz9/d42q9CuSFHlKTUxtLw | ||||
|         SWQ9yIRxxCWu0j7MQk97WHG5EVXywSsQJrqsiygep8I6YkKd5Sput+UjUXMUKdXxsE4wsNJihYKNo95O | ||||
|         bFQQqfpDcOhmsXt/4XYkV0nRO9oD9ftsqHQKJN2LQL3hLT7PcLDSYnvG3fhAWXC4EX7LJ9ijDJCHKLch | ||||
|         98k5nK+NxrnKY6JEoUuG8nUmfZMICPe9Uzw+Cp+Y4qBFhilNXkGIcstMiHIrfSgAIQUBOFUegUsPU2Ec | ||||
|         1EOtL0T2y1TIahNgpQIL/TfMVEDcHoTmGfwrHFZ2k7lVgr4ZXqTr+yyuPM5CBg3K65KQ/+Ty7zsBZp1H | ||||
|         cF6LX7BXYSDTNr/gf7joCsGZWr8gTNHJDM0sb/zr4X9hd7GeXRe1Tl+cFpnVNjZtZxxDs6uesUUWYwss | ||||
|         RnwsOt0iQvNOwsNmZzwsIauBF5q/+uISSWhW66VgWUvbbrneFixvJL/J8BKU0eBF1kACZc0rO9Oa24NS | ||||
|         dekSiUTyC9B/oc2h827VAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="btImport.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
| @@ -288,9 +288,6 @@ | ||||
|         QmCC | ||||
| </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>325, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
							
								
								
									
										1552
									
								
								SubProject/FPJ0000/JobReport_/fJobReportImport.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1552
									
								
								SubProject/FPJ0000/JobReport_/fJobReportImport.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -121,7 +121,18 @@ namespace FPJ0000.JobReport_ | ||||
|  | ||||
|                     //날짜읽기 | ||||
|                     var colidx = 0;// | ||||
|                     if (nuddate.Value > 0) | ||||
|                     if (nudMon.Value > 0 && nuddate.Value > 0)   //월이 지정되 ㄴ경우 | ||||
|                     { | ||||
|                         var colidxm = (int)(nudMon.Value - 1); | ||||
|                         colidx = (int)(nuddate.Value - 1); | ||||
|  | ||||
|                         var monstr = sheet.readStr(r, colidxm); | ||||
|                         var dayval = sheet.readNum(r, colidx); | ||||
|                         var daystr = string.Format("{0}-{1}-{2}",DateTime.Now.Year,monstr,dayval); | ||||
|                         var dt = DateTime.Parse(daystr); | ||||
|                         dr.pdate = dt.ToShortDateString(); | ||||
|                     } | ||||
|                     else if (nuddate.Value > 0) | ||||
|                     { | ||||
|                         colidx = (int)(nuddate.Value - 1); | ||||
|                         if (sheet.isDate(r, colidx)) | ||||
| @@ -200,8 +211,8 @@ namespace FPJ0000.JobReport_ | ||||
|                         { | ||||
|                             dr.hrs = sheet.readNum(r, colidx); | ||||
|                         } | ||||
|                         catch { dr.hrs = 0; }  | ||||
|                          | ||||
|                         catch { dr.hrs = 0; } | ||||
|  | ||||
|                     } | ||||
|                     //OT | ||||
|                     if (nudot.Value > 0) | ||||
| @@ -225,16 +236,16 @@ namespace FPJ0000.JobReport_ | ||||
|                     if (nudname.Value > 0) | ||||
|                     { | ||||
|                         colidx = (int)(nudname.Value - 1); | ||||
|                         if(string.IsNullOrEmpty(dr.uid)==true) | ||||
|                         if (string.IsNullOrEmpty(dr.uid) == true) | ||||
|                         { | ||||
|                             var username = sheet.readStr(r, colidx); | ||||
|                             var users = dt_users.Select("name='" + username + "'"); | ||||
|                             if(users.Length == 1) | ||||
|                             if (users.Length == 1) | ||||
|                             { | ||||
|                                 dr.uid = users[0]["id"].ToString(); | ||||
|                             } | ||||
|                         } | ||||
|                           | ||||
|  | ||||
|                     } | ||||
|  | ||||
|                     this.dsPRJ.JobReport.AddJobReportRow(dr); | ||||
|   | ||||
| @@ -120,6 +120,9 @@ | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>83, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>147, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| @@ -136,12 +139,6 @@ | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>83, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>147, 17</value> | ||||
|   </metadata> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
| @@ -194,9 +191,6 @@ | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>147, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="jobReportTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>230, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
| @@ -55,6 +55,8 @@ | ||||
|             this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); | ||||
|             this.progressBar1 = new System.Windows.Forms.ProgressBar(); | ||||
|             this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); | ||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.chkallto = new System.Windows.Forms.ToolStripButton(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsReport)).BeginInit(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
| @@ -84,7 +86,9 @@ | ||||
|             this.btSearch, | ||||
|             this.toolStripButton2, | ||||
|             this.toolStripButton1, | ||||
|             this.toolStripButton3}); | ||||
|             this.toolStripButton3, | ||||
|             this.toolStripSeparator1, | ||||
|             this.chkallto}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(1093, 37); | ||||
| @@ -239,6 +243,23 @@ | ||||
|             this.chart1.Text = "chart1"; | ||||
|             this.chart1.Visible = false; | ||||
|             //  | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 37); | ||||
|             //  | ||||
|             // chkallto | ||||
|             //  | ||||
|             this.chkallto.Checked = true; | ||||
|             this.chkallto.CheckOnClick = true; | ||||
|             this.chkallto.CheckState = System.Windows.Forms.CheckState.Checked; | ||||
|             this.chkallto.Image = global::FPJ0000.Properties.Resources.accept; | ||||
|             this.chkallto.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.chkallto.Name = "chkallto"; | ||||
|             this.chkallto.Size = new System.Drawing.Size(189, 34); | ||||
|             this.chkallto.Text = "근무인원에 휴가+파견 포함"; | ||||
|             this.chkallto.Click += new System.EventHandler(this.chkallto_Click); | ||||
|             //  | ||||
|             // rK5Dailyform | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| @@ -280,5 +301,7 @@ | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton3; | ||||
|         private System.Windows.Forms.DataVisualization.Charting.Chart chart1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
|         private System.Windows.Forms.ToolStripButton chkallto; | ||||
|     } | ||||
| } | ||||
| @@ -64,9 +64,9 @@ namespace FPJ0000.JobReport_ | ||||
|  | ||||
|  | ||||
|  | ||||
|         //    var rawdata = rawdata0.GroupBy(t => t.pdate); | ||||
|             //    var rawdata = rawdata0.GroupBy(t => t.pdate); | ||||
|  | ||||
|                 this.progressBar1.Maximum = rawdata.Count(); | ||||
|             this.progressBar1.Maximum = rawdata.Count(); | ||||
|  | ||||
|             //날짜별로 묶음처리한다. | ||||
|             //var grplist = rawdata.GroupBy(t => t.pdate); | ||||
| @@ -76,7 +76,12 @@ namespace FPJ0000.JobReport_ | ||||
|                 var drDate = item.FirstOrDefault(); | ||||
|  | ||||
|                 //근무일원 | ||||
|                 var 근무인원 = item.GroupBy(t => t.id).Count(); | ||||
|                 var 휴가인원 = item.Where(t => t.svalue == "휴가").Count(); | ||||
|                 var 파견인원 = item.Where(t => t.svalue == "파견").Count(); | ||||
|                 var 전체인원 = item.GroupBy(t => t.id).Count(); | ||||
|                 var 근무인원 = 전체인원 - 휴가인원 - 파견인원; | ||||
|                 if (chkallto.Checked) 근무인원 = 전체인원; | ||||
|                 //var 근무인원 = 전체인원; | ||||
|  | ||||
|                 //완료 | ||||
|                 var newdr = this.dsReport.K5DailyForm.NewK5DailyFormRow(); | ||||
| @@ -259,9 +264,37 @@ namespace FPJ0000.JobReport_ | ||||
|                 newdr10.graph = false; | ||||
|                 dsReport.K5DailyForm.AddK5DailyFormRow(newdr10); | ||||
|  | ||||
|                 //휴가 | ||||
|                 newdr10 = this.dsReport.K5DailyForm.NewK5DailyFormRow(); | ||||
|                 newdr10.Grp = "3.휴가"; | ||||
|                 newdr10.Item = "1.(p.s)"; | ||||
|                 newdr10.Format = "N0"; | ||||
|                 newdr10.Sign = ""; | ||||
|                 newdr10.ww = item.Key.Substring(2, 2) + "-" + int.Parse(drDate.ww).ToString("00"); | ||||
|                 newdr10.pdate = int.Parse(item.Key.Substring(8, 2)).ToString("00"); | ||||
|                 newdr10.value = 휴가인원; | ||||
|                 newdr10.graph = false; | ||||
|                 dsReport.K5DailyForm.AddK5DailyFormRow(newdr10); | ||||
|  | ||||
|                 //파견 | ||||
|                 newdr10 = this.dsReport.K5DailyForm.NewK5DailyFormRow(); | ||||
|                 newdr10.Grp = "4.파견"; | ||||
|                 newdr10.Item = "1.(p.s)"; | ||||
|                 newdr10.Format = "N0"; | ||||
|                 newdr10.Sign = ""; | ||||
|                 newdr10.ww = item.Key.Substring(2, 2) + "-" + int.Parse(drDate.ww).ToString("00"); | ||||
|                 newdr10.pdate = int.Parse(item.Key.Substring(8, 2)).ToString("00"); | ||||
|                 newdr10.value = 파견인원; | ||||
|                 newdr10.graph = false; | ||||
|                 dsReport.K5DailyForm.AddK5DailyFormRow(newdr10); | ||||
|  | ||||
|                 //3.근무인원 | ||||
|                 newdr10 = this.dsReport.K5DailyForm.NewK5DailyFormRow(); | ||||
|                 newdr10.Grp = "3.근무인원"; | ||||
|                 if (chkallto.Checked) | ||||
|                     newdr10.Grp = "5.근무인원(전체)"; | ||||
|                 else | ||||
|                     newdr10.Grp = "5.근무인원"; | ||||
|  | ||||
|                 newdr10.Item = "1.(8hrs/p.s)"; | ||||
|                 newdr10.Format = "N0"; | ||||
|                 newdr10.Sign = ""; | ||||
| @@ -276,7 +309,7 @@ namespace FPJ0000.JobReport_ | ||||
|                 var v2 = (newdr5.value / (근무인원 * 8) + newdr6.value / (근무인원 * 8) + newdr7.value / (근무인원 * 8) + newdr8.value / (근무인원 * 8)) * 100.0; | ||||
|  | ||||
|                 newdr10 = this.dsReport.K5DailyForm.NewK5DailyFormRow(); | ||||
|                 newdr10.Grp = "4.TTL"; | ||||
|                 newdr10.Grp = "6.TTL"; | ||||
|                 newdr10.Item = "1.Working Utilization(%)"; | ||||
|                 newdr10.Format = "N1"; | ||||
|                 newdr10.Sign = "%"; | ||||
| @@ -319,7 +352,7 @@ namespace FPJ0000.JobReport_ | ||||
|             this.dsReport.K5DailyForm.Clear(); | ||||
|             this.dsReport.K5DailyForm.ReadXml(fn); | ||||
|             this.dsReport.K5DailyForm.AcceptChanges(); | ||||
|              | ||||
|  | ||||
|  | ||||
|  | ||||
|             var ser1 = this.chart1.Series[0];// new System.Windows.Forms.DataVisualization.Charting.Series("Completed"); | ||||
| @@ -364,5 +397,11 @@ namespace FPJ0000.JobReport_ | ||||
|             if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||
|             dtED.Text = f.dtPick.SelectionStart.ToShortDateString(); | ||||
|         } | ||||
|  | ||||
|         private void chkallto_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|             //makedata(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi