This commit is contained in:
chi
2024-01-16 10:09:25 +09:00
parent d76b40ddf0
commit c2be3da94a
40 changed files with 3288 additions and 2627 deletions

View File

@@ -40,6 +40,8 @@ namespace FCOMMON
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.label19 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.nudShiftCnt = new System.Windows.Forms.NumericUpDown();
@@ -60,8 +62,10 @@ namespace FCOMMON
this.button1 = new System.Windows.Forms.Button();
this.label14 = new System.Windows.Forms.Label();
this.nudCnt = new System.Windows.Forms.NumericUpDown();
this.label18 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.nudMultiMFG = new System.Windows.Forms.NumericUpDown();
this.label15 = new System.Windows.Forms.Label();
this.nudCSFIMFG = new System.Windows.Forms.NumericUpDown();
this.label16 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudSFIOffice)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
@@ -75,6 +79,8 @@ namespace FCOMMON
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudCnt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMultiMFG)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudCSFIMFG)).BeginInit();
this.SuspendLayout();
//
// radO
@@ -216,6 +222,10 @@ namespace FCOMMON
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.panel2.Controls.Add(this.label16);
this.panel2.Controls.Add(this.nudCSFIMFG);
this.panel2.Controls.Add(this.label15);
this.panel2.Controls.Add(this.nudMultiMFG);
this.panel2.Controls.Add(this.label19);
this.panel2.Controls.Add(this.label18);
this.panel2.Controls.Add(this.label17);
@@ -238,9 +248,28 @@ namespace FCOMMON
this.panel2.Enabled = false;
this.panel2.Location = new System.Drawing.Point(43, 254);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(720, 223);
this.panel2.Size = new System.Drawing.Size(720, 269);
this.panel2.TabIndex = 2;
//
// label19
//
this.label19.AutoSize = true;
this.label19.Location = new System.Drawing.Point(424, 125);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(28, 37);
this.label19.TabIndex = 19;
this.label19.Text = "/";
//
// label18
//
this.label18.AutoSize = true;
this.label18.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label18.Location = new System.Drawing.Point(399, 28);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(26, 21);
this.label18.TabIndex = 18;
this.label18.Text = "분";
//
// label17
//
this.label17.AutoSize = true;
@@ -374,7 +403,7 @@ namespace FCOMMON
//
// nudSFIMFG
//
this.nudSFIMFG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.nudSFIMFG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.nudSFIMFG.DecimalPlaces = 2;
this.nudSFIMFG.Location = new System.Drawing.Point(233, 169);
this.nudSFIMFG.Maximum = new decimal(new int[] {
@@ -470,7 +499,7 @@ namespace FCOMMON
//
// button1
//
this.button1.Location = new System.Drawing.Point(43, 483);
this.button1.Location = new System.Drawing.Point(43, 529);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(720, 55);
this.button1.TabIndex = 3;
@@ -508,30 +537,66 @@ namespace FCOMMON
0});
this.nudCnt.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label18
// nudMultiMFG
//
this.label18.AutoSize = true;
this.label18.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label18.Location = new System.Drawing.Point(399, 28);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(26, 21);
this.label18.TabIndex = 18;
this.label18.Text = "분";
this.nudMultiMFG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.nudMultiMFG.DecimalPlaces = 2;
this.nudMultiMFG.Location = new System.Drawing.Point(425, 169);
this.nudMultiMFG.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudMultiMFG.Name = "nudMultiMFG";
this.nudMultiMFG.Size = new System.Drawing.Size(89, 43);
this.nudMultiMFG.TabIndex = 20;
this.nudMultiMFG.Tag = "m";
this.nudMultiMFG.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudMultiMFG.Value = new decimal(new int[] {
125,
0,
0,
131072});
//
// label19
// label15
//
this.label19.AutoSize = true;
this.label19.Location = new System.Drawing.Point(424, 125);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(28, 37);
this.label19.TabIndex = 19;
this.label19.Text = "/";
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(395, 172);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(28, 37);
this.label15.TabIndex = 21;
this.label15.Text = "*";
//
// nudCSFIMFG
//
this.nudCSFIMFG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.nudCSFIMFG.DecimalPlaces = 2;
this.nudCSFIMFG.Location = new System.Drawing.Point(233, 218);
this.nudCSFIMFG.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudCSFIMFG.Name = "nudCSFIMFG";
this.nudCSFIMFG.Size = new System.Drawing.Size(281, 43);
this.nudCSFIMFG.TabIndex = 22;
this.nudCSFIMFG.Tag = "m";
this.nudCSFIMFG.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label16
//
this.label16.AutoSize = true;
this.label16.Location = new System.Drawing.Point(96, 220);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(133, 37);
this.label16.TabIndex = 23;
this.label16.Text = "(C-SFI) = ";
//
// fSFI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(15F, 37F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(774, 545);
this.ClientSize = new System.Drawing.Size(774, 596);
this.Controls.Add(this.nudCnt);
this.Controls.Add(this.label14);
this.Controls.Add(this.button1);
@@ -560,6 +625,8 @@ namespace FCOMMON
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudCnt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMultiMFG)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudCSFIMFG)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -599,5 +666,9 @@ namespace FCOMMON
public System.Windows.Forms.NumericUpDown nudShiftCnt;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.NumericUpDown nudMultiMFG;
private System.Windows.Forms.NumericUpDown nudCSFIMFG;
private System.Windows.Forms.Label label16;
}
}

View File

@@ -62,7 +62,9 @@ namespace FCOMMON
//mfg의 총 절감 시간이 변경되었다
var = (double)nud.Value;
var sfi = / (float)numericUpDown5.Value;
var csfi = sfi * (float)nudMultiMFG.Value;
nudSFIMFG.Value = (Decimal)sfi;
nudCSFIMFG.Value = (Decimal)csfi;
}
public double Value { get; set; } = 0;
void updateMFG()
@@ -93,7 +95,7 @@ namespace FCOMMON
if (radO.Checked)
this.Value = (double)nudSFIOffice.Value;
else
this.Value = (double)nudSFIMFG.Value;
this.Value = (double)nudCSFIMFG.Value;
DialogResult = DialogResult.OK;
}