- 입력센서 연속입력 시 정지 기능 추가

master
CJY 2025-12-18 14:48:26 +09:00
parent 28bc21131f
commit ffb25ee7a9
70 changed files with 671 additions and 31 deletions

View File

@ -1176,6 +1176,7 @@ namespace INT69DB_2A
private bool m_IsPingTimer;
private bool m_IsOptDataStatistics;
private bool m_IsIntegratedTransmission;
private bool m_IsEmergencyStopEntrySensorError;
private int m_DecimalPlaces;
private int m_EthernetPort;
@ -1322,6 +1323,11 @@ namespace INT69DB_2A
get { return this.m_IsIntegratedTransmission; }
set { this.m_IsIntegratedTransmission = value; }
}
public bool IsEmergencyStopEntrySensorError
{
get { return this.m_IsEmergencyStopEntrySensorError; }
set { this.m_IsEmergencyStopEntrySensorError = value; }
}
public int DecimalPlaces
{
@ -1544,6 +1550,7 @@ namespace INT69DB_2A
this.IsPingTimer = false;
this.IsOptDataStatistics = false;
this.IsIntegratedTransmission = false;
this.IsEmergencyStopEntrySensorError = false;
this.DecimalPlaces = 1;
this.EthernetPort = 5000;
@ -1630,7 +1637,7 @@ namespace INT69DB_2A
public DataStore.LanguageID Language;
public bool DummyBool1;
public bool IsEmergencyStopEntrySensorError;
public bool IsIntegratedTransmission;
public bool IsLogin;
public bool IsFeedingConveyorRunPass;

View File

@ -7,12 +7,14 @@ using System.Drawing;
using System.Text;
using System.Windows.Forms;
using INT69DB_2A.Forms;
namespace INT69DB_2A.DialogForms
{
public partial class DialogFormMessage : Form
{
#region Field
private FormMain m_ParentForm;
#endregion
#region Constructor
@ -1324,6 +1326,112 @@ namespace INT69DB_2A.DialogForms
break;
}
}
public DialogFormMessage(int code, DataStore.LanguageID language, FormMain parent)
{
InitializeComponent();
this.ParentForm = parent;
this.labelErrorCode.Text = "";
this.labelMessage1.Text = "";
this.labelMessage2.Text = "";
switch (language)
{
case DataStore.LanguageID.Korean:
#region 한글
switch (code)
{
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "입력센서 에러에 의해 정지하였습니다.";
break;
default:
this.labelErrorCode.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
#endregion
break;
case DataStore.LanguageID.English:
#region 영문
switch (code)
{
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "Emergency stop due to entry sensor error";
break;
default:
this.labelErrorCode.Text = "Error 99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
#endregion
break;
case DataStore.LanguageID.Chinese:
#region 중문
this.buttonOK.Text = "好";
switch (code)
{
case 11:
this.labelErrorCode.Text = "錯誤 11";
this.labelMessage1.Text = "由于进入传感器错误导致紧急停止";
break;
default:
this.labelErrorCode.Text = "錯誤 99";
this.labelMessage1.Text = "请联系厂商";
break;
}
#endregion
break;
case DataStore.LanguageID.Czech:
#region 체코어
switch (code)
{
case 11:
this.labelErrorCode.Text = "Chybě 11";
this.labelMessage1.Text = "Nouzové zastavení z důvodu chyby snímače vstupu";
break;
default:
this.labelErrorCode.Text = "Chybě 99";
this.labelMessage1.Text = "Kontaktujte výrobce";
break;
}
#endregion
break;
case DataStore.LanguageID.German:
#region 독일어
switch (code)
{
case 11:
this.labelErrorCode.Text = "Fehler 11";
this.labelMessage1.Text = "Notstopp aufgrund eines Eintrittssensorfehlers";
break;
default:
this.labelErrorCode.Text = "Fehler 99";
this.labelMessage1.Text = "Hersteller kontaktieren";
break;
}
#endregion
break;
default:
#region 한글
switch (code)
{
case 11:
this.labelErrorCode.Text = "Error 11";
this.labelMessage1.Text = "입력센서 에러에 의해 정지하였습니다.";
break;
default:
this.labelErrorCode.Text = "Error 99";
this.labelMessage1.Text = "제조사에 문의하세요";
break;
}
#endregion
break;
}
}
public DialogFormMessage(DataStore.MessageBoxIcon icon, string code, string message1, string message2, int autoClose_sec)
{
InitializeComponent();
@ -1379,7 +1487,11 @@ namespace INT69DB_2A.DialogForms
#endregion
#region Property
public FormMain ParentForm
{
get { return this.m_ParentForm; }
set { this.m_ParentForm = value; }
}
#endregion
#region Method

View File

@ -95,6 +95,8 @@
this.pictureBoxFormIcon = new System.Windows.Forms.PictureBox();
this.buttonSave = new SmartX.SmartButton();
this.buttonBack = new SmartX.SmartButton();
this.buttonEmergencyStopEntrySensorError = new SmartX.SmartButton();
this.labelStaticEmergencyStopEntrySensorError = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.panel1.SuspendLayout();
this.panel3.SuspendLayout();
@ -150,9 +152,9 @@
this.labelStaticEquipmentLine.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticEquipmentLine.InitVisible = true;
this.labelStaticEquipmentLine.LineSpacing = 0F;
this.labelStaticEquipmentLine.Location = new System.Drawing.Point(16, 112);
this.labelStaticEquipmentLine.Location = new System.Drawing.Point(614, 81);
this.labelStaticEquipmentLine.Name = "labelStaticEquipmentLine";
this.labelStaticEquipmentLine.Size = new System.Drawing.Size(204, 25);
this.labelStaticEquipmentLine.Size = new System.Drawing.Size(87, 25);
this.labelStaticEquipmentLine.TabIndex = 119;
this.labelStaticEquipmentLine.Text = "장비 열";
this.labelStaticEquipmentLine.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
@ -189,7 +191,7 @@
this.labelStaticSelectSensor.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticSelectSensor.InitVisible = true;
this.labelStaticSelectSensor.LineSpacing = 0F;
this.labelStaticSelectSensor.Location = new System.Drawing.Point(12, 206);
this.labelStaticSelectSensor.Location = new System.Drawing.Point(12, 174);
this.labelStaticSelectSensor.Name = "labelStaticSelectSensor";
this.labelStaticSelectSensor.Size = new System.Drawing.Size(208, 25);
this.labelStaticSelectSensor.TabIndex = 119;
@ -229,7 +231,7 @@
this.labelStaticIndividualNG.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticIndividualNG.InitVisible = true;
this.labelStaticIndividualNG.LineSpacing = 0F;
this.labelStaticIndividualNG.Location = new System.Drawing.Point(12, 175);
this.labelStaticIndividualNG.Location = new System.Drawing.Point(12, 143);
this.labelStaticIndividualNG.Name = "labelStaticIndividualNG";
this.labelStaticIndividualNG.Size = new System.Drawing.Size(208, 25);
this.labelStaticIndividualNG.TabIndex = 125;
@ -250,7 +252,7 @@
this.buttonEachNG.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonEachNG.DownImage")));
this.buttonEachNG.GroupID = 0;
this.buttonEachNG.InitVisible = true;
this.buttonEachNG.Location = new System.Drawing.Point(226, 175);
this.buttonEachNG.Location = new System.Drawing.Point(226, 143);
this.buttonEachNG.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonEachNG.Name = "buttonEachNG";
this.buttonEachNG.NestedClickEventPrevent = false;
@ -372,16 +374,16 @@
// comboBoxEquipmentColumn
//
this.comboBoxEquipmentColumn.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.comboBoxEquipmentColumn.Location = new System.Drawing.Point(226, 109);
this.comboBoxEquipmentColumn.Location = new System.Drawing.Point(707, 78);
this.comboBoxEquipmentColumn.Name = "comboBoxEquipmentColumn";
this.comboBoxEquipmentColumn.Size = new System.Drawing.Size(104, 29);
this.comboBoxEquipmentColumn.Size = new System.Drawing.Size(83, 29);
this.comboBoxEquipmentColumn.TabIndex = 127;
this.comboBoxEquipmentColumn.SelectedIndexChanged += new System.EventHandler(this.control_Click);
//
// comboBoxInputSensorSelect
//
this.comboBoxInputSensorSelect.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.comboBoxInputSensorSelect.Location = new System.Drawing.Point(226, 202);
this.comboBoxInputSensorSelect.Location = new System.Drawing.Point(226, 170);
this.comboBoxInputSensorSelect.Name = "comboBoxInputSensorSelect";
this.comboBoxInputSensorSelect.Size = new System.Drawing.Size(165, 29);
this.comboBoxInputSensorSelect.TabIndex = 127;
@ -687,7 +689,7 @@
this.smartLabel12.ForeColor = System.Drawing.Color.Red;
this.smartLabel12.InitVisible = true;
this.smartLabel12.LineSpacing = 0F;
this.smartLabel12.Location = new System.Drawing.Point(428, 176);
this.smartLabel12.Location = new System.Drawing.Point(428, 144);
this.smartLabel12.Name = "smartLabel12";
this.smartLabel12.Size = new System.Drawing.Size(267, 23);
this.smartLabel12.TabIndex = 145;
@ -708,7 +710,7 @@
this.smartLabel14.ForeColor = System.Drawing.Color.Red;
this.smartLabel14.InitVisible = true;
this.smartLabel14.LineSpacing = 0F;
this.smartLabel14.Location = new System.Drawing.Point(428, 207);
this.smartLabel14.Location = new System.Drawing.Point(428, 175);
this.smartLabel14.Name = "smartLabel14";
this.smartLabel14.Size = new System.Drawing.Size(267, 23);
this.smartLabel14.TabIndex = 145;
@ -962,6 +964,8 @@
//
this.groupBoxSpecialMenu.BackPictureBox = this.smartForm1;
this.groupBoxSpecialMenu.BackPictureBox1 = null;
this.groupBoxSpecialMenu.Controls.Add(this.buttonEmergencyStopEntrySensorError);
this.groupBoxSpecialMenu.Controls.Add(this.labelStaticEmergencyStopEntrySensorError);
this.groupBoxSpecialMenu.Controls.Add(this.smartLabel6);
this.groupBoxSpecialMenu.Controls.Add(this.labelDataStoragePeriod);
this.groupBoxSpecialMenu.Controls.Add(this.labelStaticDataStoragePeriod);
@ -1030,7 +1034,7 @@
this.smartLabel6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.smartLabel6.InitVisible = true;
this.smartLabel6.LineSpacing = 0F;
this.smartLabel6.Location = new System.Drawing.Point(316, 299);
this.smartLabel6.Location = new System.Drawing.Point(320, 299);
this.smartLabel6.Name = "smartLabel6";
this.smartLabel6.Size = new System.Drawing.Size(174, 25);
this.smartLabel6.TabIndex = 259;
@ -1050,7 +1054,7 @@
this.labelDataStoragePeriod.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelDataStoragePeriod.InitVisible = true;
this.labelDataStoragePeriod.LineSpacing = 0F;
this.labelDataStoragePeriod.Location = new System.Drawing.Point(226, 299);
this.labelDataStoragePeriod.Location = new System.Drawing.Point(230, 299);
this.labelDataStoragePeriod.Name = "labelDataStoragePeriod";
this.labelDataStoragePeriod.Size = new System.Drawing.Size(84, 25);
this.labelDataStoragePeriod.TabIndex = 258;
@ -1070,7 +1074,7 @@
this.labelStaticDataStoragePeriod.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticDataStoragePeriod.InitVisible = true;
this.labelStaticDataStoragePeriod.LineSpacing = 0F;
this.labelStaticDataStoragePeriod.Location = new System.Drawing.Point(12, 299);
this.labelStaticDataStoragePeriod.Location = new System.Drawing.Point(16, 299);
this.labelStaticDataStoragePeriod.Name = "labelStaticDataStoragePeriod";
this.labelStaticDataStoragePeriod.Size = new System.Drawing.Size(208, 25);
this.labelStaticDataStoragePeriod.TabIndex = 257;
@ -1091,7 +1095,7 @@
this.smartLabel2.ForeColor = System.Drawing.Color.Red;
this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(428, 144);
this.smartLabel2.Location = new System.Drawing.Point(428, 112);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.Size = new System.Drawing.Size(267, 25);
this.smartLabel2.TabIndex = 248;
@ -1112,7 +1116,7 @@
this.buttonIntegratedTransmission.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonIntegratedTransmission.DownImage")));
this.buttonIntegratedTransmission.GroupID = 0;
this.buttonIntegratedTransmission.InitVisible = true;
this.buttonIntegratedTransmission.Location = new System.Drawing.Point(226, 144);
this.buttonIntegratedTransmission.Location = new System.Drawing.Point(226, 112);
this.buttonIntegratedTransmission.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonIntegratedTransmission.Name = "buttonIntegratedTransmission";
this.buttonIntegratedTransmission.NestedClickEventPrevent = false;
@ -1141,7 +1145,7 @@
this.labelStaticIntegratedTransmission.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticIntegratedTransmission.InitVisible = true;
this.labelStaticIntegratedTransmission.LineSpacing = 0F;
this.labelStaticIntegratedTransmission.Location = new System.Drawing.Point(12, 144);
this.labelStaticIntegratedTransmission.Location = new System.Drawing.Point(12, 112);
this.labelStaticIntegratedTransmission.Name = "labelStaticIntegratedTransmission";
this.labelStaticIntegratedTransmission.Size = new System.Drawing.Size(208, 25);
this.labelStaticIntegratedTransmission.TabIndex = 246;
@ -1240,6 +1244,56 @@
this.buttonBack.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.UpImage")));
this.buttonBack.Click += new System.EventHandler(this.buttonBack_Click);
//
// buttonEmergencyStopEntrySensorError
//
this.buttonEmergencyStopEntrySensorError.BackPictureBox = null;
this.buttonEmergencyStopEntrySensorError.BackPictureBox1 = null;
this.buttonEmergencyStopEntrySensorError.BackPictureBox2 = null;
this.buttonEmergencyStopEntrySensorError.ButtonColor = System.Drawing.Color.Gray;
this.buttonEmergencyStopEntrySensorError.ButtonImageAutoSize = true;
this.buttonEmergencyStopEntrySensorError.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonEmergencyStopEntrySensorError.DisableImage = null;
this.buttonEmergencyStopEntrySensorError.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonEmergencyStopEntrySensorError.DownImage")));
this.buttonEmergencyStopEntrySensorError.GroupID = 0;
this.buttonEmergencyStopEntrySensorError.InitVisible = true;
this.buttonEmergencyStopEntrySensorError.Location = new System.Drawing.Point(226, 205);
this.buttonEmergencyStopEntrySensorError.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonEmergencyStopEntrySensorError.Name = "buttonEmergencyStopEntrySensorError";
this.buttonEmergencyStopEntrySensorError.NestedClickEventPrevent = false;
this.buttonEmergencyStopEntrySensorError.OutlinePixel = 1;
this.buttonEmergencyStopEntrySensorError.RepeatInterval = 200;
this.buttonEmergencyStopEntrySensorError.RepeatIntervalAccelerate = null;
this.buttonEmergencyStopEntrySensorError.SafeInterval = 200;
this.buttonEmergencyStopEntrySensorError.Size = new System.Drawing.Size(84, 25);
this.buttonEmergencyStopEntrySensorError.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonEmergencyStopEntrySensorError.TabIndex = 269;
this.buttonEmergencyStopEntrySensorError.TextColor = System.Drawing.Color.Black;
this.buttonEmergencyStopEntrySensorError.TextDownColor = System.Drawing.Color.White;
this.buttonEmergencyStopEntrySensorError.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonEmergencyStopEntrySensorError.TextLocation = new System.Drawing.Point(0, 0);
this.buttonEmergencyStopEntrySensorError.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonEmergencyStopEntrySensorError.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonEmergencyStopEntrySensorError.UpImage")));
this.buttonEmergencyStopEntrySensorError.Click += new System.EventHandler(this.control_Click);
//
// labelStaticEmergencyStopEntrySensorError
//
this.labelStaticEmergencyStopEntrySensorError.BackPictureBox = this.smartForm1;
this.labelStaticEmergencyStopEntrySensorError.BackPictureBox1 = null;
this.labelStaticEmergencyStopEntrySensorError.BackPictureBox2 = null;
this.labelStaticEmergencyStopEntrySensorError.BorderColor = System.Drawing.Color.Black;
this.labelStaticEmergencyStopEntrySensorError.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStaticEmergencyStopEntrySensorError.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold);
this.labelStaticEmergencyStopEntrySensorError.InitVisible = true;
this.labelStaticEmergencyStopEntrySensorError.LineSpacing = 0F;
this.labelStaticEmergencyStopEntrySensorError.Location = new System.Drawing.Point(16, 205);
this.labelStaticEmergencyStopEntrySensorError.Name = "labelStaticEmergencyStopEntrySensorError";
this.labelStaticEmergencyStopEntrySensorError.Size = new System.Drawing.Size(204, 25);
this.labelStaticEmergencyStopEntrySensorError.TabIndex = 268;
this.labelStaticEmergencyStopEntrySensorError.Text = "입력센서 오류 시 정지";
this.labelStaticEmergencyStopEntrySensorError.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.labelStaticEmergencyStopEntrySensorError.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelStaticEmergencyStopEntrySensorError.Wordwrap = false;
//
// FormEquipmentSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -1331,5 +1385,7 @@
private SmartX.SmartLabel labelStaticDataStoragePeriod;
private SmartX.SmartLabel smartLabel6;
public System.Windows.Forms.RadioButton radioButtonJapanese;
private SmartX.SmartButton buttonEmergencyStopEntrySensorError;
private SmartX.SmartLabel labelStaticEmergencyStopEntrySensorError;
}
}

View File

@ -55,6 +55,7 @@ namespace INT69DB_2A.Forms
this.radioButtonEquipmentModeStick2.Text = "Stick-II";
this.radioButtonEquipmentModeStick3.Text = "Stick-III";
this.labelStaticEquipmentLine.Text = "Line";
this.labelStaticEmergencyStopEntrySensorError.Text = "Emergency stop due to entry sensor error";
this.labelStaticWeightCheck.Text = "Order";
this.labelStaticIndividualNG.Text = "Individual NG";
this.labelStaticSelectSensor.Text = "Select Entry sensor";
@ -82,6 +83,7 @@ namespace INT69DB_2A.Forms
this.radioButtonEquipmentModeStick2.Text = "球杆-II";
this.radioButtonEquipmentModeStick3.Text = "球杆-III";
this.labelStaticEquipmentLine.Text = "列";
this.labelStaticEmergencyStopEntrySensorError.Text = "由于进入传感器错误导致紧急停止";
this.labelStaticWeightCheck.Text = "重量标示";
this.labelStaticIndividualNG.Text = "单独NG";
this.labelStaticSelectSensor.Text = "选择输入传感器";
@ -123,6 +125,7 @@ namespace INT69DB_2A.Forms
this.radioButtonEquipmentModeStick2.Text = "スティック-II";
this.radioButtonEquipmentModeStick3.Text = "スティック-III";
this.labelStaticEquipmentLine.Text = "ライン";
this.labelStaticEmergencyStopEntrySensorError.Text = "入力センサエラー時に停止";
this.labelStaticWeightCheck.Text = "重量表示";
this.labelStaticIndividualNG.Text = "個別NG";
this.labelStaticSelectSensor.Text = "入力センサㅡの選択";
@ -223,6 +226,12 @@ namespace INT69DB_2A.Forms
// 입력센서 선택
this.comboBoxInputSensorSelect.SelectedItem = this.ParentForm.SystemConfig.InputSensorSelect;
// 입력센서 연속입력 시 정지
if (this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError == true)
this.buttonEmergencyStopEntrySensorError.ButtonDown();
else
this.buttonEmergencyStopEntrySensorError.ButtonUp();
// 배출 컨베어
if (this.ParentForm.SystemConfig.IsDischargeConveyor == true)
this.buttonDischargeConveyor.ButtonDown();
@ -435,6 +444,12 @@ namespace INT69DB_2A.Forms
// 입력센서 선택
this.ParentForm.SystemConfig.InputSensorSelect = this.comboBoxInputSensorSelect.SelectedIndex + 1;
// 입력센서 연속입력 시 정지
if (this.buttonEmergencyStopEntrySensorError.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError = true;
else
this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError = false;
// 배출 컨베어
if (this.buttonDischargeConveyor.ButtonStatus == SmartX.SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsDischargeConveyor = true;

View File

@ -851,6 +851,134 @@
/s7OzleDoTt0d3czODMp0jUkCpPQjo6OkG2327e3t2nLfxkM0xEjc05OTnx8PN1EojAJjaO+ubnJ11hX
VxffbX8ajM1mo4LSRBgi3NzcJAqT0Bi/GNqQnZeXRw//YjB0Snd3d2QrJAqT0GhdxcXFZINDKBF9IhKF
SWh8deTn56t/1Hw+EoUp6PoPBG3lC8cKurQAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonEmergencyStopEntrySensorError.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAFQAAAAZCAIAAAAgz54kAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3A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GJglx
Kf+3+Lfk8YNt9VjM73Zscpcb3xbkvGJYxfAsS9OrUjSly/ZLxdVCjuVNM9sq3RVlrnW5rw3MU51+VMMq
2rsqZUtG2lGZZKdYWJ7IsTyWes5LJntMp+lRKS8rFGfkrCK3p0ptElGVMLFMIDAmcCxveK7X9quhLa+X
SXcli00iVhFtThIUJUCbwLG85o4qo1GeUicRlifRPq0YHMuXtpUUHjMWmPPzTXkrjSnvJx7FwsVQayNS
AAAAAElFTkSuQmCC
</value>
</data>
<data name="buttonEmergencyStopEntrySensorError.UpImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAFQAAAAZCAIAAAAgz54kAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5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U1Mt7e3Nzc3FxcX5waDcrvdPj8/397e
brPZJAqT0CSo8/Ozs7PDw8O/DYbTTs47OjoKCgqSkpIkCpPQSAWcnJwcHBx8QgVaXV3t7++vqKjIzMyM
jo4Wr0n8WnxtbW1CQkJiYmJcXFx5efn6+rryz83NlZaWlpWV4VRwJee5oaHho7+yspITrm4By4hfW1sL
Dw8PCQlpa2ujMtfU1AQGBnJWlX40eHl5FRUVUbcUXDY1NZWSksI1PALlbG1tHRgYUD8IlhFPAiMiImZn
Z8XW9Z6enrCwsJKSEtZIiomJWVlZUVvvpKWldXZ2iuGCZcT7+vpWVVWJ4SQ9PT01NXVpaQnxPAiql2w4
Ybe6uloMF6whnhD9/PxGR0fFdtLS0kIJYHdoaMjDw2NkZEQ2nCQnJ2dkZIjhgjXEk9igoKDBwUGxneCh
CvT29g4PD3t7e4eGhnp6ev7xRnBwMBcgnoW/v79y+vj4NDc3q3vBGuIRGRAQ8LFWKdRD6evrQzzlcGJi
grJPXQAWXMCxb2xspOwrJ4vl5WV1L1hD/Pj4OIl1LV2U8cjIyLGxMQ58VFTU4uKibDhBPBVeDBcsU/DI
fHZ2thhOaGO5ubl0OzL/2xY8qK+v52DzV2xdr6ur431WVZD34ncWD4WFhQwtlHeIjY3lnNPqt7a22CLz
CFhYWFBXvpOVlfVxpPsJK4kHZjtebyocCae9i1fXWePZ2NgQ2wnapqenxXDBYuL/W/534h0Ox/Hx8f7+
/s7OzleDoTt0d3czODMp0jUkCpPQjo6OkG2327e3t2nLfxkM0xEjc05OTnx8PN1EojAJjaO+ubnJ11hX
VxffbX8ajM1mo4LSRBgi3NzcJAqT0Bi/GNqQnZeXRw//YjB0Snd3d2QrJAqT0GhdxcXFZINDKBF9IhKF
SWh8deTn56t/1Hw+EoUp6PoPBG3lC8cKurQAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonIntegratedTransmission.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

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

View File

@ -154,7 +154,7 @@ namespace INT69DB_2A.Forms
structItem1.SerialNumber = this.ParentForm.SystemConfig.SerialNumber;
// Dummy bool
structItem1.DummyBool1 = false;
structItem1.IsEmergencyStopEntrySensorError = this.ParentForm.SystemConfig.IsEmergencyStopEntrySensorError;
structItem1.IsIntegratedTransmission = this.ParentForm.SystemConfig.IsIntegratedTransmission;
structItem1.IsLogin = this.ParentForm.SystemConfig.IsLogin;
structItem1.IsFeedingConveyorRunPass = this.ParentForm.SystemConfig.IsFeedingConveyorRunPass;
@ -195,8 +195,8 @@ namespace INT69DB_2A.Forms
structItem2.DummyBool16 = false;
structItem2.DummyBool17 = false;
structItem2.DummyBool18 = false;
structItem2.IsAlarmContinuousNGEnable = false;
structItem2.IsAlarmTotalPassCntEnable = false;
structItem2.IsAlarmContinuousNGEnable = this.ParentForm.SystemConfig.IsAlarmContinuousNGEnable;
structItem2.IsAlarmTotalPassCntEnable = this.ParentForm.SystemConfig.IsAlarmTotalPassCntEnable;
structItem2.DummyInt1 = 0;
structItem2.DummyInt2 = 0;
@ -205,8 +205,8 @@ namespace INT69DB_2A.Forms
structItem2.DummyInt5 = 0;
structItem2.DummyInt6 = 0;
structItem2.DummyInt7 = 0;
structItem2.AlarmContinuousNG = 0;
structItem2.AlarmTotalPassCnt = 0;
structItem2.AlarmContinuousNG = this.ParentForm.SystemConfig.AlarmContinuousNG;
structItem2.AlarmTotalPassCnt = this.ParentForm.SystemConfig.AlarmTotalPassCnt;
structItem2.ModbusTcpStartAddress = this.ParentForm.SystemConfig.ModbusTcpStartAddress;
structItem2.ModbusRtuSlaveID = this.ParentForm.SystemConfig.ModbusRtuSlaveID;
structItem2.ModbusTcpAddress1 = this.ParentForm.SystemConfig.ModbusTcpAddress1;

View File

@ -43,6 +43,7 @@
this.smartSerialPortCom3 = new SmartX.SmartSerialPort();
this.smartSerialPortLink = new SmartX.SmartSerialPort();
this.smartFileCom3Log = new SmartX.SmartFile();
this.smartThread = new SmartX.SmartThread(this.components);
((System.ComponentModel.ISupportInitialize)(this.smartForm)).BeginInit();
this.SuspendLayout();
//
@ -150,6 +151,13 @@
//
this.smartFileCom3Log.FilePathName = null;
//
// smartThread
//
this.smartThread.Priority = System.Threading.ThreadPriority.Normal;
this.smartThread.WorkerReportsProgress = false;
this.smartThread.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThread_UIThreadFunction);
this.smartThread.OnEnding += new SmartX.SmartThread.EndingHandler(this.smartThread_OnEnding);
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -180,5 +188,6 @@
public SmartX.SmartSerialPort smartSerialPortCom3;
private SmartX.SmartSerialPort smartSerialPortLink;
public SmartX.SmartFile smartFileCom3Log;
public SmartX.SmartThread smartThread;
}
}

View File

@ -43,6 +43,7 @@ namespace INT69DB_2A.Forms
public string ComPortMainToLCD; // DllSerial Port
public bool FlagDllSerial; // DllSerial 사용여부
private string TransferNum; // 수신데이터 ID저장 (재전송 시 사용)
public bool FlagThreadMessage1; // 플레그 쓰레드 메시지 11
// Motor Download 통신용 변수
public int LineNum;
@ -440,6 +441,7 @@ namespace INT69DB_2A.Forms
this.ColorLogOff = Color.Red;
this.ColorLogOn = Color.Yellow;
this.TransferNum = "-";
this.FlagThreadMessage1 = false;
this.PathLaunchFolder = "SD Card\\";
this.PathSystemFileFolder1 = this.PathLaunchFolder + "SystemFile1\\";
@ -730,6 +732,15 @@ namespace INT69DB_2A.Forms
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9016_ParameterProduct, sb.ToString());
}
private void StartThreadMessage1()
{
if (this.smartThread.State != SmartThread.ThreadState.Running)
{
this.smartThread.Start();
this.FlagThreadMessage1 = false;
}
}
#region Communication Protocol
public void PrintingHeadLine()
@ -4928,6 +4939,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[0].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 1].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5012,6 +5049,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[1].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 2].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5096,6 +5159,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[2].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 3].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5180,6 +5269,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[3].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 4].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5264,6 +5379,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[4].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 5].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5348,6 +5489,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[5].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 6].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5432,6 +5599,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[6].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 7].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5516,6 +5709,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[7].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 8].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5600,6 +5819,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[8].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 9].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5684,6 +5929,32 @@ namespace INT69DB_2A.Forms
}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.SystemConfig.IsWeightViewForward == true)
{
if (this.CollectionWeightData[9].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
else
{
if (this.CollectionWeightData[this.CollectionWeightData.Count - 10].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
}
}
}
#endregion
#region 통신
if (this.SystemConfig.IsIntegratedTransmission == false)
{
@ -5790,12 +6061,29 @@ namespace INT69DB_2A.Forms
#endregion
#region 진입센서에러
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
//for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
//{
// if (this.CollectionWeightData[i].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
// {
// this.ChildFormMainDisplay.UpdateAlarmMessage4Display(true);
// break;
// }
//}
#endregion
#region 입력센서 연속 입력 시 정지
if (this.SystemConfig.IsEmergencyStopEntrySensorError == true)
{
if (this.CollectionWeightData[i].JudgmentStatus == DataStore.JudgmentStatus.SensorError)
foreach (WeightData data in this.CollectionWeightData)
{
this.ChildFormMainDisplay.UpdateAlarmMessage4Display(true);
break;
if (data.JudgmentStatus == DataStore.JudgmentStatus.SensorError)
{
this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
// 메시지 11 - 입력센서 에러에 의해 정지하였습니다
this.StartThreadMessage1();
break;
}
}
}
#endregion
@ -6587,7 +6875,7 @@ namespace INT69DB_2A.Forms
structItem.Serial3BaudRate = this.SystemConfig.Serial3BaudRate;
structItem.Serial3Mode = this.SystemConfig.Serial3Mode;
structItem.DummyBool1 = false;
structItem.IsEmergencyStopEntrySensorError = this.SystemConfig.IsEmergencyStopEntrySensorError;
structItem.IsIntegratedTransmission = this.SystemConfig.IsIntegratedTransmission;
structItem.IsLogin = this.SystemConfig.IsLogin;
structItem.IsFeedingConveyorRunPass = this.SystemConfig.IsFeedingConveyorRunPass;
@ -6709,7 +6997,7 @@ namespace INT69DB_2A.Forms
structItem1.Serial3BaudRate = item.Serial3BaudRate;
structItem1.Serial3Mode = item.Serial3Mode;
structItem1.DummyBool1 = false;
structItem1.IsEmergencyStopEntrySensorError = item.IsEmergencyStopEntrySensorError;
structItem1.IsIntegratedTransmission = item.IsIntegratedTransmission;
structItem1.IsLogin = item.IsLogin;
structItem1.IsFeedingConveyorRunPass = item.IsFeedingConveyorRunPass;
@ -6821,6 +7109,7 @@ namespace INT69DB_2A.Forms
this.SystemConfig.IsPingTimer = structItem1.IsPingTimer;
this.SystemConfig.IsLogin = structItem1.IsLogin;
this.SystemConfig.IsIntegratedTransmission = structItem1.IsIntegratedTransmission;
this.SystemConfig.IsEmergencyStopEntrySensorError = structItem1.IsEmergencyStopEntrySensorError;
this.SystemConfig.DecimalPlaces = structItem1.DecimalPlaces;
this.SystemConfig.EthernetPort = structItem1.EthernetPort;
@ -8777,6 +9066,22 @@ namespace INT69DB_2A.Forms
data.IsUpdate = false;
}
private void smartThread_UIThreadFunction(ThreadArgs args)
{
// 메시지 11. 입력센서 에러에 의해 정지하였습니다.
if (this.FlagThreadMessage1 == false)
{
DialogFormMessage msg = new DialogFormMessage(11, this.SystemConfig.Language, this);
msg.ShowDialog();
this.FlagThreadMessage1 = true;
}
}
private void smartThread_OnEnding(ThreadArgs args)
{
}
#region DLL_SerialportEvent
private void Serialport_ReceiveDataEvent(string data)
{

View File

@ -156,6 +156,9 @@
<metadata name="smartFileCom3Log.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>676, 54</value>
</metadata>
<metadata name="smartThread.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>831, 54</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>

View File

@ -15,6 +15,11 @@
멀티형 2~6열 스틱 계량기
*/
@ Ver 6.6.0 by CJY
- 2025.09.29
- Ver 6.5.0 Modify
- 입력센서 연속입력 시 정지 기능 추가
@ Ver 6.5.0 by LSJ
- 2025.09.23
- Ver 6.4.0 Modify