SFI 계산기능 추가

This commit is contained in:
chi
2023-05-17 08:18:05 +09:00
parent ba717f542a
commit a74a47b582
16 changed files with 1215 additions and 412 deletions

View File

@@ -149,6 +149,12 @@
<Compile Include="fSelectProcess.Designer.cs">
<DependentUpon>fSelectProcess.cs</DependentUpon>
</Compile>
<Compile Include="fSFI.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fSFI.Designer.cs">
<DependentUpon>fSFI.cs</DependentUpon>
</Compile>
<Compile Include="ISO8601.cs" />
<Compile Include="keyValuedataTable.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
@@ -190,6 +196,9 @@
<EmbeddedResource Include="fSelectProcess.resx">
<DependentUpon>fSelectProcess.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fSFI.resx">
<DependentUpon>fSFI.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
</ItemGroup>
<ItemGroup>

520
SubProject/FCOMMON/fSFI.Designer.cs generated Normal file
View File

@@ -0,0 +1,520 @@

namespace FCOMMON
{
partial class fSFI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.nudOsavetime = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
this.panel2 = new System.Windows.Forms.Panel();
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.nudMsavetime = new System.Windows.Forms.NumericUpDown();
this.label9 = new System.Windows.Forms.Label();
this.nudMSaveCnt = new System.Windows.Forms.NumericUpDown();
this.label10 = new System.Windows.Forms.Label();
this.numericUpDown9 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown10 = new System.Windows.Forms.NumericUpDown();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudOsavetime)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMsavetime)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMSaveCnt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit();
this.SuspendLayout();
//
// radioButton1
//
this.radioButton1.AutoSize = true;
this.radioButton1.Checked = true;
this.radioButton1.Location = new System.Drawing.Point(21, 18);
this.radioButton1.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(347, 41);
this.radioButton1.TabIndex = 0;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "Office 인원(PE, PCS, 물류)";
this.radioButton1.UseVisualStyleBackColor = true;
this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
//
// radioButton2
//
this.radioButton2.AutoSize = true;
this.radioButton2.Location = new System.Drawing.Point(21, 200);
this.radioButton2.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(155, 41);
this.radioButton2.TabIndex = 0;
this.radioButton2.Text = "MFG 인원";
this.radioButton2.UseVisualStyleBackColor = true;
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.panel1.Controls.Add(this.numericUpDown3);
this.panel1.Controls.Add(this.numericUpDown2);
this.panel1.Controls.Add(this.nudOsavetime);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(43, 72);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(720, 115);
this.panel1.TabIndex = 2;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(221, 37);
this.label1.TabIndex = 2;
this.label1.Text = "1일 총 절감 시간";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// nudOsavetime
//
this.nudOsavetime.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.nudOsavetime.DecimalPlaces = 2;
this.nudOsavetime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.nudOsavetime.Location = new System.Drawing.Point(233, 9);
this.nudOsavetime.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudOsavetime.Name = "nudOsavetime";
this.nudOsavetime.Size = new System.Drawing.Size(161, 43);
this.nudOsavetime.TabIndex = 3;
this.nudOsavetime.Tag = "o";
this.nudOsavetime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudOsavetime.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(400, 12);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(64, 37);
this.label2.TabIndex = 2;
this.label2.Text = "분 /";
this.label2.Click += new System.EventHandler(this.label1_Click);
//
// numericUpDown2
//
this.numericUpDown2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.numericUpDown2.Location = new System.Drawing.Point(466, 9);
this.numericUpDown2.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(196, 43);
this.numericUpDown2.TabIndex = 4;
this.numericUpDown2.Tag = "o";
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown2.Value = new decimal(new int[] {
480,
0,
0,
0});
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(668, 12);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(44, 37);
this.label3.TabIndex = 2;
this.label3.Text = "분";
this.label3.Click += new System.EventHandler(this.label1_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(122, 61);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(105, 37);
this.label4.TabIndex = 2;
this.label4.Text = "(SFI) = ";
this.label4.Click += new System.EventHandler(this.label1_Click);
//
// numericUpDown3
//
this.numericUpDown3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown3.DecimalPlaces = 2;
this.numericUpDown3.Location = new System.Drawing.Point(233, 58);
this.numericUpDown3.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown3.Name = "numericUpDown3";
this.numericUpDown3.Size = new System.Drawing.Size(161, 43);
this.numericUpDown3.TabIndex = 5;
this.numericUpDown3.Tag = "o";
this.numericUpDown3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.panel2.Controls.Add(this.label12);
this.panel2.Controls.Add(this.numericUpDown10);
this.panel2.Controls.Add(this.label11);
this.panel2.Controls.Add(this.numericUpDown9);
this.panel2.Controls.Add(this.nudMSaveCnt);
this.panel2.Controls.Add(this.label10);
this.panel2.Controls.Add(this.nudMsavetime);
this.panel2.Controls.Add(this.label13);
this.panel2.Controls.Add(this.label9);
this.panel2.Controls.Add(this.numericUpDown4);
this.panel2.Controls.Add(this.numericUpDown5);
this.panel2.Controls.Add(this.numericUpDown6);
this.panel2.Controls.Add(this.label5);
this.panel2.Controls.Add(this.label6);
this.panel2.Controls.Add(this.label7);
this.panel2.Controls.Add(this.label8);
this.panel2.Enabled = false;
this.panel2.Location = new System.Drawing.Point(43, 254);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(720, 223);
this.panel2.TabIndex = 2;
//
// numericUpDown4
//
this.numericUpDown4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown4.DecimalPlaces = 2;
this.numericUpDown4.Location = new System.Drawing.Point(233, 169);
this.numericUpDown4.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown4.Name = "numericUpDown4";
this.numericUpDown4.Size = new System.Drawing.Size(429, 43);
this.numericUpDown4.TabIndex = 5;
this.numericUpDown4.Tag = "m";
this.numericUpDown4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// numericUpDown5
//
this.numericUpDown5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.numericUpDown5.Location = new System.Drawing.Point(466, 120);
this.numericUpDown5.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown5.Name = "numericUpDown5";
this.numericUpDown5.Size = new System.Drawing.Size(196, 43);
this.numericUpDown5.TabIndex = 4;
this.numericUpDown5.Tag = "m";
this.numericUpDown5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown5.Value = new decimal(new int[] {
420,
0,
0,
0});
//
// numericUpDown6
//
this.numericUpDown6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown6.DecimalPlaces = 2;
this.numericUpDown6.Location = new System.Drawing.Point(233, 120);
this.numericUpDown6.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown6.Name = "numericUpDown6";
this.numericUpDown6.Size = new System.Drawing.Size(161, 43);
this.numericUpDown6.TabIndex = 3;
this.numericUpDown6.Tag = "m";
this.numericUpDown6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown6.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(668, 123);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(44, 37);
this.label5.TabIndex = 2;
this.label5.Text = "분";
this.label5.Click += new System.EventHandler(this.label1_Click);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(122, 172);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(105, 37);
this.label6.TabIndex = 2;
this.label6.Text = "(SFI) = ";
this.label6.Click += new System.EventHandler(this.label1_Click);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(400, 123);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(64, 37);
this.label7.TabIndex = 2;
this.label7.Text = "분 /";
this.label7.Click += new System.EventHandler(this.label1_Click);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(6, 123);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(221, 37);
this.label8.TabIndex = 2;
this.label8.Text = "1일 총 절감 시간";
this.label8.Click += new System.EventHandler(this.label1_Click);
//
// nudMsavetime
//
this.nudMsavetime.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.nudMsavetime.DecimalPlaces = 2;
this.nudMsavetime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.nudMsavetime.Location = new System.Drawing.Point(233, 11);
this.nudMsavetime.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudMsavetime.Name = "nudMsavetime";
this.nudMsavetime.Size = new System.Drawing.Size(161, 43);
this.nudMsavetime.TabIndex = 7;
this.nudMsavetime.Tag = "m";
this.nudMsavetime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudMsavetime.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(6, 14);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(212, 37);
this.label9.TabIndex = 6;
this.label9.Text = "1회 당 절감시간";
//
// nudMSaveCnt
//
this.nudMSaveCnt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.nudMSaveCnt.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.nudMSaveCnt.Location = new System.Drawing.Point(600, 11);
this.nudMSaveCnt.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudMSaveCnt.Name = "nudMSaveCnt";
this.nudMSaveCnt.Size = new System.Drawing.Size(112, 43);
this.nudMSaveCnt.TabIndex = 9;
this.nudMSaveCnt.Tag = "m";
this.nudMSaveCnt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudMSaveCnt.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(400, 14);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(194, 37);
this.label10.TabIndex = 8;
this.label10.Text = "x Shift 당 횟수";
//
// numericUpDown9
//
this.numericUpDown9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown9.DecimalPlaces = 2;
this.numericUpDown9.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.numericUpDown9.Location = new System.Drawing.Point(317, 64);
this.numericUpDown9.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown9.Name = "numericUpDown9";
this.numericUpDown9.Size = new System.Drawing.Size(165, 43);
this.numericUpDown9.TabIndex = 11;
this.numericUpDown9.Tag = "m";
this.numericUpDown9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown9.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// numericUpDown10
//
this.numericUpDown10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.numericUpDown10.Location = new System.Drawing.Point(529, 64);
this.numericUpDown10.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown10.Name = "numericUpDown10";
this.numericUpDown10.Size = new System.Drawing.Size(62, 43);
this.numericUpDown10.TabIndex = 13;
this.numericUpDown10.Tag = "m";
this.numericUpDown10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown10.Value = new decimal(new int[] {
4,
0,
0,
0});
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(496, 67);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(30, 37);
this.label11.TabIndex = 12;
this.label11.Text = "x";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(597, 67);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(73, 37);
this.label12.TabIndex = 14;
this.label12.Text = "Shift";
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(8, 67);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(313, 37);
this.label13.TabIndex = 6;
this.label13.Text = "1 Shift 당 개선절감 횟수";
//
// button1
//
this.button1.Location = new System.Drawing.Point(43, 487);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(720, 55);
this.button1.TabIndex = 3;
this.button1.Text = "확 인";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// fSFI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(15F, 37F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(774, 553);
this.Controls.Add(this.button1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.radioButton2);
this.Controls.Add(this.radioButton1);
this.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10);
this.Name = "fSFI";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fSFI";
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudOsavetime)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMsavetime)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMSaveCnt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.NumericUpDown nudOsavetime;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown numericUpDown3;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.NumericUpDown numericUpDown4;
private System.Windows.Forms.NumericUpDown numericUpDown5;
private System.Windows.Forms.NumericUpDown numericUpDown6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.NumericUpDown nudMSaveCnt;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.NumericUpDown nudMsavetime;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.NumericUpDown numericUpDown9;
private System.Windows.Forms.NumericUpDown numericUpDown10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Button button1;
}
}

View File

@@ -0,0 +1,81 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FCOMMON
{
public partial class fSFI : Form
{
public fSFI()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
{
}
private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
panel1.Enabled = radioButton1.Checked;
panel2.Enabled = !panel1.Enabled;
}
private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
//mfg 절감시간 업데이트
var nud = sender as NumericUpDown;
if (nud.Tag.ToString().ToLower() == "o")
{
updateOFF();
}
else
{
updateMFG();
}
}
private void numericUpDown6_ValueChanged(object sender, EventArgs e)
{
var nud = sender as NumericUpDown;
//mfg의 총 절감 시간이 변경되었다
var = (double)nud.Value;
var sfi = / (int)numericUpDown5.Value;
numericUpDown4.Value = (Decimal)sfi;
}
public double Value { get; set; } = 0;
void updateMFG()
{
var = (double)nudMsavetime.Value;
var SHIFT수 = (int)nudMSaveCnt.Value;
var shift총수 = (double)( * SHIFT수);
numericUpDown9.Value = (decimal)shift총수; //1쉬프트 개선절감횟수
var = (int)numericUpDown10.Value;
numericUpDown6.Value = (decimal)(shift총수 * );
}
void updateOFF()
{
var savetime = (double)nudOsavetime.Value;
var min = (int)numericUpDown2.Value;
var sfi = savetime / min;
numericUpDown3.Value = (decimal)sfi;
}
private void button1_Click(object sender, EventArgs e)
{
this.Invalidate();
if (radioButton1.Checked)
this.Value = (double)numericUpDown3.Value;
else
this.Value = (double)numericUpDown4.Value;
DialogResult = DialogResult.OK;
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>