@ Ver 6.5.0 by LSJ

- 2025.09.23
 - Ver 6.4.0 Modify
 - Framework : SmartX Framework V3.2.4(update: 2021.01.20)
 - MainBoard Ver 10.3.1
 - 일본 산코 전시회 요청
   1. 메인화면 서브메뉴 - CUT 히든 메뉴 추가
      기본 CUT 신호, timer로 CUT 신호 기능
   2. 소수점 3자리 추가
master V6.5.0
sj84 2025-09-23 17:40:57 +09:00
parent 9dd9489e7e
commit 28bc21131f
73 changed files with 3347 additions and 2514 deletions

View File

@ -257,28 +257,20 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
this.CollectionLabelWeightValue7[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
this.CollectionLabelWeightValue8[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue8[i]);
this.CollectionLabelWeightValue9[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue9[i]);
this.CollectionLabelWeightValue10[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue10[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -113,11 +113,11 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -133,13 +133,12 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -150,15 +150,13 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -167,17 +167,14 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -185,20 +185,16 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -203,22 +203,17 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
this.CollectionLabelWeightValue7[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -221,24 +221,18 @@ namespace INT69DB_2A.Controls
for (int i = 0; i < 12; i++)
{
this.CollectionLabelWeightValue1[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue1[i]);
this.CollectionLabelWeightValue2[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue2[i]);
this.CollectionLabelWeightValue3[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue3[i]);
this.CollectionLabelWeightValue4[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue4[i]);
this.CollectionLabelWeightValue5[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue5[i]);
this.CollectionLabelWeightValue6[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue6[i]);
this.CollectionLabelWeightValue7[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue7[i]);
this.CollectionLabelWeightValue8[i].Text = "0";
this.SetLabelProperty(this.CollectionLabelWeightValue8[i]);
}
this.UpdateLabelDisplay();
}
private void SetLabelProperty(Control label)
{

View File

@ -192,6 +192,7 @@ namespace INT69DB_2A.Forms
this.comboBoxDecimalPlaces.Items.Add("0");
this.comboBoxDecimalPlaces.Items.Add("0.0");
this.comboBoxDecimalPlaces.Items.Add("0.00");
this.comboBoxDecimalPlaces.Items.Add("0.000");
this.comboBoxDecimalPlaces.SelectedIndex = 0;
this.comboBoxDecimalPlaces.SelectedIndexChanged += new EventHandler(this.comboBoxDecimalPlaces_SelectedIndexChanged);

View File

@ -113,7 +113,7 @@ namespace INT69DB_2A.Forms
}
private void DefaultSetting()
{
this.labelDisplayVer.Text = "6.4.0";
this.labelDisplayVer.Text = "6.5.0";
this.labelUserMgerVer.Text = "";
this.labelAes128Ver.Text = "";
this.labelSerialNo.Text = this.ParentForm.SystemConfig.SerialNumber;

View File

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay));
this.smartForm1 = new SmartX.SmartForm();
this.buttonUnder = new SmartX.SmartButton();
@ -90,7 +91,6 @@
this.buttonBypassDirection = new SmartX.SmartButton();
this.buttonBypassOnce = new SmartX.SmartButton();
this.buttonSubMenu = new SmartX.SmartButton();
this.buttonCut = new SmartX.SmartButton();
this.pictureBoxEthernetDisconnection = new System.Windows.Forms.PictureBox();
this.pictureBoxEthernetConnection = new System.Windows.Forms.PictureBox();
this.timerServer = new System.Windows.Forms.Timer();
@ -122,6 +122,13 @@
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.smartLabel3 = new SmartX.SmartLabel();
this.buttonAlarm4OK = new SmartX.SmartButton();
this.panelSubMenu3 = new System.Windows.Forms.Panel();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.labelCutInterval = new SmartX.SmartLabel();
this.smartLabel13 = new SmartX.SmartLabel();
this.buttonCutRun = new SmartX.SmartButton();
this.buttonCutOnce = new SmartX.SmartButton();
this.smartTimerCut = new SmartX.SmartTimer(this.components);
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.panelSetting.SuspendLayout();
this.groupBoxConveyor.SuspendLayout();
@ -131,6 +138,7 @@
this.panelAlarmMessageBox1.SuspendLayout();
this.panelAlarmMessageBox3.SuspendLayout();
this.panelAlarmMessageBox4.SuspendLayout();
this.panelSubMenu3.SuspendLayout();
this.SuspendLayout();
//
// smartForm1
@ -388,7 +396,7 @@
this.labelTitleTotalCount.BackPictureBox2 = null;
this.labelTitleTotalCount.BorderColor = System.Drawing.Color.Black;
this.labelTitleTotalCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleTotalCount.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleTotalCount.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleTotalCount.ForeColor = System.Drawing.Color.White;
this.labelTitleTotalCount.InitVisible = true;
this.labelTitleTotalCount.LineSpacing = 0F;
@ -410,7 +418,7 @@
this.labelTitleNGCount.BackPictureBox2 = null;
this.labelTitleNGCount.BorderColor = System.Drawing.Color.Black;
this.labelTitleNGCount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleNGCount.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleNGCount.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleNGCount.ForeColor = System.Drawing.Color.White;
this.labelTitleNGCount.InitVisible = true;
this.labelTitleNGCount.LineSpacing = 0F;
@ -554,7 +562,7 @@
this.groupBoxConveyor.Controls.Add(this.labelStaticFeedingRunTime);
this.groupBoxConveyor.Controls.Add(this.labelStaticFeedingDelayTime);
this.groupBoxConveyor.Controls.Add(this.labelStaticRejectConveyorRunTime);
this.groupBoxConveyor.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxConveyor.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxConveyor.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxConveyor.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxConveyor.FrameLineThickness = 1;
@ -641,7 +649,7 @@
this.labelStaticFeedingConveyor.BackPictureBox2 = null;
this.labelStaticFeedingConveyor.BorderColor = System.Drawing.Color.Black;
this.labelStaticFeedingConveyor.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFeedingConveyor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingConveyor.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingConveyor.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingConveyor.InitVisible = true;
this.labelStaticFeedingConveyor.LineSpacing = 0F;
@ -662,7 +670,7 @@
this.labelStaticRejectConveyor.BackPictureBox2 = null;
this.labelStaticRejectConveyor.BorderColor = System.Drawing.Color.Black;
this.labelStaticRejectConveyor.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticRejectConveyor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyor.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyor.ForeColor = System.Drawing.Color.White;
this.labelStaticRejectConveyor.InitVisible = true;
this.labelStaticRejectConveyor.LineSpacing = 0F;
@ -683,7 +691,7 @@
this.labelStaticRejectConveyorDelayTime.BackPictureBox2 = null;
this.labelStaticRejectConveyorDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticRejectConveyorDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticRejectConveyorDelayTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyorDelayTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyorDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticRejectConveyorDelayTime.InitVisible = true;
this.labelStaticRejectConveyorDelayTime.LineSpacing = 0F;
@ -725,7 +733,7 @@
this.labelStaticFeedingRunTime.BackPictureBox2 = null;
this.labelStaticFeedingRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticFeedingRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFeedingRunTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingRunTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingRunTime.InitVisible = true;
this.labelStaticFeedingRunTime.LineSpacing = 0F;
@ -746,7 +754,7 @@
this.labelStaticFeedingDelayTime.BackPictureBox2 = null;
this.labelStaticFeedingDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticFeedingDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticFeedingDelayTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingDelayTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticFeedingDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticFeedingDelayTime.InitVisible = true;
this.labelStaticFeedingDelayTime.LineSpacing = 0F;
@ -767,7 +775,7 @@
this.labelStaticRejectConveyorRunTime.BackPictureBox2 = null;
this.labelStaticRejectConveyorRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticRejectConveyorRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticRejectConveyorRunTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyorRunTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticRejectConveyorRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticRejectConveyorRunTime.InitVisible = true;
this.labelStaticRejectConveyorRunTime.LineSpacing = 0F;
@ -790,7 +798,7 @@
this.groupBoxSorter.Controls.Add(this.labelSorterDelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorterDelayTime);
this.groupBoxSorter.Controls.Add(this.labelStaticSorterRunTime);
this.groupBoxSorter.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorter.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxSorter.FrameLineColor1 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineColor2 = System.Drawing.Color.Black;
this.groupBoxSorter.FrameLineThickness = 1;
@ -864,7 +872,7 @@
this.labelStaticSorterDelayTime.BackPictureBox2 = null;
this.labelStaticSorterDelayTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterDelayTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterDelayTime.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterDelayTime.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterDelayTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorterDelayTime.InitVisible = true;
this.labelStaticSorterDelayTime.LineSpacing = 0F;
@ -885,7 +893,7 @@
this.labelStaticSorterRunTime.BackPictureBox2 = null;
this.labelStaticSorterRunTime.BorderColor = System.Drawing.Color.Black;
this.labelStaticSorterRunTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticSorterRunTime.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterRunTime.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelStaticSorterRunTime.ForeColor = System.Drawing.Color.White;
this.labelStaticSorterRunTime.InitVisible = true;
this.labelStaticSorterRunTime.LineSpacing = 0F;
@ -1021,7 +1029,7 @@
this.smartLabel5.BackPictureBox2 = null;
this.smartLabel5.BorderColor = System.Drawing.Color.Black;
this.smartLabel5.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel5.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel5.ForeColor = System.Drawing.Color.White;
this.smartLabel5.InitVisible = true;
this.smartLabel5.LineSpacing = 0F;
@ -1207,7 +1215,7 @@
this.labelUserID.BackPictureBox2 = null;
this.labelUserID.BorderColor = System.Drawing.Color.Black;
this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserID.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelUserID.ForeColor = System.Drawing.Color.White;
this.labelUserID.InitVisible = true;
this.labelUserID.LineSpacing = 0F;
@ -1227,7 +1235,7 @@
this.labelUserLevel.BackPictureBox2 = null;
this.labelUserLevel.BorderColor = System.Drawing.Color.Black;
this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.ForeColor = System.Drawing.Color.White;
this.labelUserLevel.InitVisible = true;
this.labelUserLevel.LineSpacing = 0F;
@ -1315,7 +1323,7 @@
this.labelStaticAlarmContinuousNG.BackPictureBox2 = null;
this.labelStaticAlarmContinuousNG.BorderColor = System.Drawing.Color.Black;
this.labelStaticAlarmContinuousNG.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticAlarmContinuousNG.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticAlarmContinuousNG.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticAlarmContinuousNG.ForeColor = System.Drawing.Color.White;
this.labelStaticAlarmContinuousNG.InitVisible = true;
this.labelStaticAlarmContinuousNG.LineSpacing = 0F;
@ -1373,7 +1381,7 @@
this.labelTitleBypass.BackPictureBox2 = null;
this.labelTitleBypass.BorderColor = System.Drawing.Color.Black;
this.labelTitleBypass.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleBypass.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleBypass.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleBypass.ForeColor = System.Drawing.Color.White;
this.labelTitleBypass.InitVisible = true;
this.labelTitleBypass.LineSpacing = 0F;
@ -1510,39 +1518,6 @@
this.buttonSubMenu.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonSubMenu.UpImage")));
this.buttonSubMenu.Click += new System.EventHandler(this.buttonSubMenu_Click);
//
// buttonCut
//
this.buttonCut.BackColor = System.Drawing.Color.SteelBlue;
this.buttonCut.BackPictureBox = null;
this.buttonCut.BackPictureBox1 = null;
this.buttonCut.BackPictureBox2 = null;
this.buttonCut.ButtonColor = System.Drawing.Color.SteelBlue;
this.buttonCut.ButtonImageAutoSize = true;
this.buttonCut.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCut.DisableImage = null;
this.buttonCut.DownImage = null;
this.buttonCut.GroupID = 0;
this.buttonCut.InitVisible = true;
this.buttonCut.Location = new System.Drawing.Point(399, 558);
this.buttonCut.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCut.Name = "buttonCut";
this.buttonCut.NestedClickEventPrevent = false;
this.buttonCut.OutlinePixel = 1;
this.buttonCut.RepeatInterval = 200;
this.buttonCut.RepeatIntervalAccelerate = null;
this.buttonCut.SafeInterval = 200;
this.buttonCut.Size = new System.Drawing.Size(62, 41);
this.buttonCut.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCut.TabIndex = 672;
this.buttonCut.Text = "CUT";
this.buttonCut.TextColor = System.Drawing.Color.White;
this.buttonCut.TextDownColor = System.Drawing.Color.White;
this.buttonCut.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCut.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCut.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCut.UpImage = null;
this.buttonCut.Click += new System.EventHandler(this.buttonCut_Click);
//
// pictureBoxEthernetDisconnection
//
this.pictureBoxEthernetDisconnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisconnection.Image")));
@ -1571,7 +1546,7 @@
this.labelExpireOfPassword.BackPictureBox2 = null;
this.labelExpireOfPassword.BorderColor = System.Drawing.Color.Black;
this.labelExpireOfPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelExpireOfPassword.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.ForeColor = System.Drawing.Color.White;
this.labelExpireOfPassword.InitVisible = true;
this.labelExpireOfPassword.LineSpacing = 0F;
@ -1612,7 +1587,7 @@
this.buttonATPC_Reset.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonATPC_Reset.DisableImage = null;
this.buttonATPC_Reset.DownImage = null;
this.buttonATPC_Reset.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.buttonATPC_Reset.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.buttonATPC_Reset.GroupID = 0;
this.buttonATPC_Reset.InitVisible = true;
this.buttonATPC_Reset.Location = new System.Drawing.Point(353, 31);
@ -1642,7 +1617,7 @@
this.labelStaticATPC_Lack.BackPictureBox2 = null;
this.labelStaticATPC_Lack.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC_Lack.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC_Lack.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Lack.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Lack.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC_Lack.InitVisible = true;
this.labelStaticATPC_Lack.LineSpacing = 0F;
@ -1690,7 +1665,7 @@
this.labelStaticATPC_Pass.BackPictureBox2 = null;
this.labelStaticATPC_Pass.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC_Pass.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC_Pass.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Pass.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Pass.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC_Pass.InitVisible = true;
this.labelStaticATPC_Pass.LineSpacing = 0F;
@ -1730,7 +1705,7 @@
this.labelStaticATPC_Count.BackPictureBox2 = null;
this.labelStaticATPC_Count.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC_Count.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC_Count.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Count.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC_Count.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC_Count.InitVisible = true;
this.labelStaticATPC_Count.LineSpacing = 0F;
@ -1823,7 +1798,7 @@
this.labelStaticATPC.BackPictureBox2 = null;
this.labelStaticATPC.BorderColor = System.Drawing.Color.Black;
this.labelStaticATPC.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticATPC.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStaticATPC.ForeColor = System.Drawing.Color.White;
this.labelStaticATPC.InitVisible = true;
this.labelStaticATPC.LineSpacing = 0F;
@ -1854,7 +1829,7 @@
this.labelMessage1.BackPictureBox2 = null;
this.labelMessage1.BorderColor = System.Drawing.Color.Black;
this.labelMessage1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage1.InitVisible = true;
this.labelMessage1.LineSpacing = 0F;
this.labelMessage1.Location = new System.Drawing.Point(75, 62);
@ -1880,7 +1855,7 @@
this.smartLabel2.BackPictureBox2 = null;
this.smartLabel2.BorderColor = System.Drawing.Color.Black;
this.smartLabel2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(11, 4);
@ -1941,7 +1916,7 @@
this.labelMessage3.BackPictureBox2 = null;
this.labelMessage3.BorderColor = System.Drawing.Color.Black;
this.labelMessage3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage3.InitVisible = true;
this.labelMessage3.LineSpacing = 0F;
this.labelMessage3.Location = new System.Drawing.Point(75, 30);
@ -1967,7 +1942,7 @@
this.smartLabel4.BackPictureBox2 = null;
this.smartLabel4.BorderColor = System.Drawing.Color.Black;
this.smartLabel4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel4.InitVisible = true;
this.smartLabel4.LineSpacing = 0F;
this.smartLabel4.Location = new System.Drawing.Point(11, 4);
@ -2028,7 +2003,7 @@
this.labelMessage4.BackPictureBox2 = null;
this.labelMessage4.BorderColor = System.Drawing.Color.Black;
this.labelMessage4.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelMessage4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage4.InitVisible = true;
this.labelMessage4.LineSpacing = 0F;
this.labelMessage4.Location = new System.Drawing.Point(75, 30);
@ -2054,7 +2029,7 @@
this.smartLabel3.BackPictureBox2 = null;
this.smartLabel3.BorderColor = System.Drawing.Color.Black;
this.smartLabel3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.smartLabel3.InitVisible = true;
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(11, 4);
@ -2097,12 +2072,144 @@
this.buttonAlarm4OK.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonAlarm4OK.UpImage")));
this.buttonAlarm4OK.Click += new System.EventHandler(this.buttonAlarm4OK_Click);
//
// panelSubMenu3
//
this.panelSubMenu3.Controls.Add(this.buttonCutRun);
this.panelSubMenu3.Controls.Add(this.buttonCutOnce);
this.panelSubMenu3.Controls.Add(this.labelCutInterval);
this.panelSubMenu3.Controls.Add(this.smartLabel13);
this.panelSubMenu3.Controls.Add(this.pictureBox5);
this.panelSubMenu3.Location = new System.Drawing.Point(820, 682);
this.panelSubMenu3.Name = "panelSubMenu3";
this.panelSubMenu3.Size = new System.Drawing.Size(572, 70);
this.panelSubMenu3.Visible = false;
//
// pictureBox5
//
this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
this.pictureBox5.Location = new System.Drawing.Point(0, 0);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(572, 70);
//
// labelCutInterval
//
this.labelCutInterval.BackColor = System.Drawing.Color.White;
this.labelCutInterval.BackPictureBox = null;
this.labelCutInterval.BackPictureBox1 = null;
this.labelCutInterval.BackPictureBox2 = null;
this.labelCutInterval.BorderColor = System.Drawing.Color.Black;
this.labelCutInterval.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.labelCutInterval.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
this.labelCutInterval.InitVisible = true;
this.labelCutInterval.LineSpacing = 0F;
this.labelCutInterval.Location = new System.Drawing.Point(136, 8);
this.labelCutInterval.Name = "labelCutInterval";
this.labelCutInterval.Size = new System.Drawing.Size(100, 25);
this.labelCutInterval.TabIndex = 703;
this.labelCutInterval.Text = "9999";
this.labelCutInterval.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelCutInterval.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelCutInterval.Wordwrap = false;
this.labelCutInterval.Click += new System.EventHandler(this.labelCutInterval_Click);
//
// smartLabel13
//
this.smartLabel13.BackPictureBox = this.pictureBox5;
this.smartLabel13.BackPictureBox1 = null;
this.smartLabel13.BackPictureBox2 = null;
this.smartLabel13.BorderColor = System.Drawing.Color.Black;
this.smartLabel13.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel13.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.smartLabel13.ForeColor = System.Drawing.Color.White;
this.smartLabel13.InitVisible = true;
this.smartLabel13.LineSpacing = 0F;
this.smartLabel13.Location = new System.Drawing.Point(10, 20);
this.smartLabel13.Name = "smartLabel13";
this.smartLabel13.Size = new System.Drawing.Size(120, 30);
this.smartLabel13.TabIndex = 690;
this.smartLabel13.Text = "CUT";
this.smartLabel13.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.smartLabel13.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel13.Wordwrap = false;
//
// buttonCutRun
//
this.buttonCutRun.BackPictureBox = null;
this.buttonCutRun.BackPictureBox1 = null;
this.buttonCutRun.BackPictureBox2 = null;
this.buttonCutRun.ButtonColor = System.Drawing.Color.Gray;
this.buttonCutRun.ButtonImageAutoSize = true;
this.buttonCutRun.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCutRun.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonCutRun.DisableImage")));
this.buttonCutRun.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCutRun.DownImage")));
this.buttonCutRun.GroupID = 0;
this.buttonCutRun.InitVisible = true;
this.buttonCutRun.Location = new System.Drawing.Point(246, 11);
this.buttonCutRun.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCutRun.Name = "buttonCutRun";
this.buttonCutRun.NestedClickEventPrevent = false;
this.buttonCutRun.OutlinePixel = 1;
this.buttonCutRun.RepeatInterval = 200;
this.buttonCutRun.RepeatIntervalAccelerate = null;
this.buttonCutRun.SafeInterval = 200;
this.buttonCutRun.Size = new System.Drawing.Size(50, 50);
this.buttonCutRun.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCutRun.TabIndex = 714;
this.buttonCutRun.TextColor = System.Drawing.Color.Black;
this.buttonCutRun.TextDownColor = System.Drawing.Color.White;
this.buttonCutRun.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCutRun.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCutRun.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCutRun.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonCutRun.UpImage")));
this.buttonCutRun.Click += new System.EventHandler(this.buttonCutRun_Click);
//
// buttonCutOnce
//
this.buttonCutOnce.BackPictureBox = null;
this.buttonCutOnce.BackPictureBox1 = null;
this.buttonCutOnce.BackPictureBox2 = null;
this.buttonCutOnce.ButtonColor = System.Drawing.Color.Gray;
this.buttonCutOnce.ButtonImageAutoSize = true;
this.buttonCutOnce.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCutOnce.DisableImage = null;
this.buttonCutOnce.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCutOnce.DownImage")));
this.buttonCutOnce.GroupID = 0;
this.buttonCutOnce.InitVisible = true;
this.buttonCutOnce.Location = new System.Drawing.Point(136, 37);
this.buttonCutOnce.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonCutOnce.Name = "buttonCutOnce";
this.buttonCutOnce.NestedClickEventPrevent = false;
this.buttonCutOnce.OutlinePixel = 1;
this.buttonCutOnce.RepeatInterval = 200;
this.buttonCutOnce.RepeatIntervalAccelerate = null;
this.buttonCutOnce.SafeInterval = 200;
this.buttonCutOnce.Size = new System.Drawing.Size(100, 25);
this.buttonCutOnce.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCutOnce.TabIndex = 713;
this.buttonCutOnce.TextColor = System.Drawing.Color.Black;
this.buttonCutOnce.TextDownColor = System.Drawing.Color.White;
this.buttonCutOnce.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCutOnce.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCutOnce.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCutOnce.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonCutOnce.UpImage")));
this.buttonCutOnce.Click += new System.EventHandler(this.buttonCutOnce_Click);
//
// smartTimerCut
//
this.smartTimerCut.EndTime = ((long)(100000000000));
this.smartTimerCut.Interval = 100;
this.smartTimerCut.IntervalSeries = null;
this.smartTimerCut.NowMillisecond = ((long)(0));
this.smartTimerCut.StartTime = ((long)(0));
this.smartTimerCut.Tick += new System.EventHandler(this.smartTimerCut_Tick);
//
// FormMainDisplay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(800, 600);
this.Controls.Add(this.panelSubMenu3);
this.Controls.Add(this.panelAlarmMessageBox4);
this.Controls.Add(this.panelAlarmMessageBox3);
this.Controls.Add(this.panelAlarmMessageBox1);
@ -2110,7 +2217,6 @@
this.Controls.Add(this.labelExpireOfPassword);
this.Controls.Add(this.pictureBoxEthernetDisconnection);
this.Controls.Add(this.pictureBoxEthernetConnection);
this.Controls.Add(this.buttonCut);
this.Controls.Add(this.buttonSubMenu);
this.Controls.Add(this.panelSubMenu1);
this.Controls.Add(this.labelUserLevel);
@ -2156,6 +2262,7 @@
this.panelAlarmMessageBox1.ResumeLayout(false);
this.panelAlarmMessageBox3.ResumeLayout(false);
this.panelAlarmMessageBox4.ResumeLayout(false);
this.panelSubMenu3.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -2219,7 +2326,6 @@
private SmartX.SmartButton buttonBypassDirection;
private SmartX.SmartButton buttonBypassOnce;
private SmartX.SmartButton buttonSubMenu;
private SmartX.SmartButton buttonCut;
private SmartX.SmartButton buttonPrint;
private System.Windows.Forms.PictureBox pictureBoxEthernetDisconnection;
private System.Windows.Forms.PictureBox pictureBoxEthernetConnection;
@ -2255,5 +2361,12 @@
private System.Windows.Forms.PictureBox pictureBox3;
private SmartX.SmartLabel smartLabel3;
private SmartX.SmartButton buttonAlarm4OK;
private System.Windows.Forms.Panel panelSubMenu3;
private SmartX.SmartButton buttonCutRun;
private SmartX.SmartButton buttonCutOnce;
private SmartX.SmartLabel labelCutInterval;
private SmartX.SmartLabel smartLabel13;
private System.Windows.Forms.PictureBox pictureBox5;
private SmartX.SmartTimer smartTimerCut;
}
}

View File

@ -23,6 +23,7 @@ namespace INT69DB_2A.Forms
#region Field
public string ChangeID;
private int SubmenuIndex;
private bool IsCutOnce = true; // SubMenu3
private FormMain m_ParentForm;
@ -326,7 +327,6 @@ namespace INT69DB_2A.Forms
this.labelProductName.Text = this.ParentForm.CurrentProductItem.Name;
this.labelLotNo.Text = this.ParentForm.CurrentProductItem.LotNo;
this.labelProductionSpeed.Text = "0";
this.buttonCut.Visible = this.ParentForm.SystemConfig.IsCutView;
this.pictureBoxUSBBackOn.Visible = this.ParentForm.SystemConfig.IsDataBackup;
this.labelIconBypassMode.Visible = this.ParentForm.SystemConfig.IsBypassMode;
@ -361,6 +361,10 @@ namespace INT69DB_2A.Forms
this.Mode_TotalCnt = DataStore.E_TotalCnt.f0_Total;
this.Mode_TotalCntNG = DataStore.E_TotalCntNG.f0_NG;
// SubMenu3
this.labelCutInterval.Text = "1200";
this.smartTimerCut.Interval = 1200;
switch (this.ParentForm.SystemConfig.EquipmentColumns)
{
case 2:
@ -530,6 +534,11 @@ namespace INT69DB_2A.Forms
this.panelSubMenu2.Visible = false;
this.panelSubMenu2.BringToFront();
// Panel SubMenu3
this.panelSubMenu3.Location = new Point(10, 489);
this.panelSubMenu3.Visible = false;
this.panelSubMenu3.BringToFront();
// AlarmMessageBox
x = Screen.PrimaryScreen.Bounds.Width / 2 - this.panelAlarmMessageBox1.Size.Width / 2;
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.panelAlarmMessageBox1.Size.Height / 2;
@ -1783,6 +1792,9 @@ namespace INT69DB_2A.Forms
if (this.panelSetting.Visible == true)
this.panelSetting.Visible = false;
this.smartTimerCut.Stop();
this.buttonCutRun.ButtonUp();
#endregion
}
@ -2859,7 +2871,6 @@ namespace INT69DB_2A.Forms
this.UpdateDisplayUser(this.ParentForm.SystemConfig.CurrentUser);
this.buttonSubMenu.ButtonUp();
this.panelSubMenu1.Visible = false;
this.buttonCut.Visible = this.ParentForm.SystemConfig.IsCutView;
}
#endregion
@ -3424,6 +3435,30 @@ namespace INT69DB_2A.Forms
this.SetTotalCount();
}
private void buttonClose_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.Visible = false;
}
private void timerServer_Tick(object sender, EventArgs e)
{
if (this.ParentForm.smartTCPMultiServer.IsStart == true)
{
if (this.ParentForm.smartTCPMultiServer.ClientInfoList == null)
{
this.UpdateEthernetStatusDisplay(false);
}
else
{
this.UpdateEthernetStatusDisplay(true);
}
}
}
private void buttonSubMenu_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
@ -3436,25 +3471,43 @@ namespace INT69DB_2A.Forms
this.panelSubMenu1.Visible = true;
this.panelSubMenu2.Visible = false;
this.panelSubMenu3.Visible = false;
this.SubmenuIndex = 1;
}
else if (this.SubmenuIndex == 1)
{
this.panelSubMenu1.Visible = false;
this.panelSubMenu3.Visible = false;
this.panelSubMenu2.BringToFront();
this.panelSubMenu2.Visible = true;
this.SubmenuIndex = 2;
if (this.ParentForm.SystemConfig.IsCutView == true)
this.SubmenuIndex = 2;
else
this.SubmenuIndex = 3;
}
else if (this.SubmenuIndex == 2)
{
this.panelSubMenu1.Visible = false;
this.panelSubMenu2.Visible = false;
this.panelSubMenu3.BringToFront();
this.panelSubMenu3.Visible = true;
this.SubmenuIndex = 3;
}
else
{
this.panelSubMenu1.Visible = false;
this.panelSubMenu2.Visible = false;
this.panelSubMenu3.Visible = false;
this.SubmenuIndex = 0;
}
}
#region SubMenu1
private void buttonBypassDirection_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
@ -3539,62 +3592,6 @@ namespace INT69DB_2A.Forms
}
}
private void buttonPrint_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonPrint.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = true;
this.ParentForm.PrintingHeadLine();
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "ON");
}
else
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = false;
this.ParentForm.smartSerialPortCom3.WriteNoneFrame("\n\n\n\n", SmartSerialPort.CODETYPES.ASCIICODE);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "OFF");
}
}
private void buttonClose_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.panelSetting.Visible = false;
}
private void buttonCut_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}
private void timerServer_Tick(object sender, EventArgs e)
{
if (this.ParentForm.smartTCPMultiServer.IsStart == true)
{
if (this.ParentForm.smartTCPMultiServer.ClientInfoList == null)
{
this.UpdateEthernetStatusDisplay(false);
}
else
{
this.UpdateEthernetStatusDisplay(true);
}
}
}
private void buttonAlarmContinuousNG_Click(object sender, EventArgs e)
{
string before = "", after = "";
@ -3664,6 +3661,30 @@ namespace INT69DB_2A.Forms
}
}
private void buttonPrint_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonPrint.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = true;
this.ParentForm.PrintingHeadLine();
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "ON");
}
else
{
this.ParentForm.SystemConfig.IsPrintPerProductEnable = false;
this.ParentForm.smartSerialPortCom3.WriteNoneFrame("\n\n\n\n", SmartSerialPort.CODETYPES.ASCIICODE);
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.Print, "OFF");
}
}
#endregion
#region SubMenu2
private void labelATPC_SetCNT_Click(object sender, EventArgs e)
{
string before = "", after = "";
@ -3755,7 +3776,87 @@ namespace INT69DB_2A.Forms
// Part11
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.ATPC_Reset, "");
}
#endregion
#region SubMenu3
private void labelCutInterval_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelCutInterval.Text, 4, 0, false, this.ParentForm.SystemConfig.Language);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 500 || myKeyPad.doubleValue > 9999)
{
// 입력범위를 확인하세요
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
this.labelCutInterval.Text = myKeyPad.StringValue;
this.smartTimerCut.Interval = myKeyPad.IntValue;
}
}
}
private void buttonCutOnce_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.buttonCutOnce.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.IsCutOnce = false;
this.buttonCutRun.Mode = SmartButton.BUTTONMODE.PUSH;
}
else
{
this.IsCutOnce = true;
this.buttonCutRun.Mode = SmartButton.BUTTONMODE.NORMAL;
}
}
private void buttonCutRun_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.Part11AutomaticLogoutReset();
if (this.IsCutOnce == true)
{
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}
else
{
if (this.buttonCutRun.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
{
this.labelCutInterval.Enabled = false;
this.buttonCutOnce.Enabled = false;
this.smartTimerCut.Start();
}
else
{
this.labelCutInterval.Enabled = true;
this.buttonCutOnce.Enabled = true;
this.smartTimerCut.Stop();
}
}
}
private void smartTimerCut_Tick(object sender, EventArgs e)
{
this.ParentForm.TransferData(CommunicationCommand.CutInput, CommunicationID.MainBoard);
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.MainCut, "");
}
#endregion
private void buttonAlarm1Ok_Click(object sender, EventArgs e)
{

File diff suppressed because it is too large Load Diff

View File

@ -15,9 +15,20 @@
멀티형 2~6열 스틱 계량기
*/
@ Ver 6.5.0 by LSJ
- 2025.09.23
- Ver 6.4.0 Modify
- Framework : SmartX Framework V3.2.4(update: 2021.01.20)
- MainBoard Ver 10.3.1
- 일본 산코 전시회 요청
1. 메인화면 서브메뉴 - CUT 히든 메뉴 추가
기본 CUT 신호, timer로 CUT 신호 기능
2. 소수점 3자리 추가
@ Ver 6.4.0 by CJY
- 2025.08.27
- Ver 6.3.1 Modify
- Framework : SmartX Framework V3.2.4(update: 2021.01.20)
- 일본어 추가
@ Ver 6.3.1 by LSJ