- SmartX Framework V3.2.4 적용
- Printer - Test Send 버튼 눌렀을 때 현재 중량 전송 자리수 미세 조정 - 재전송 기능 OFF 후 사용 고속형은 재전송 카운트가 올라가지 않기 때문에 그 부분 수정함 - 랜덤모드 사용 안하므로 일부 문제의 소지가 있는 부분 삭제(추후 확인해야함)master V3.3.1
parent
ea9816f05f
commit
219b73f615
|
@ -49,7 +49,7 @@
|
||||||
this.label1.BackColor = System.Drawing.Color.Black;
|
this.label1.BackColor = System.Drawing.Color.Black;
|
||||||
this.label1.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
this.label1.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.label1.ForeColor = System.Drawing.Color.White;
|
this.label1.ForeColor = System.Drawing.Color.White;
|
||||||
this.label1.Location = new System.Drawing.Point(266, 243);
|
this.label1.Location = new System.Drawing.Point(265, 246);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(23, 56);
|
this.label1.Size = new System.Drawing.Size(23, 56);
|
||||||
this.label1.Text = "-";
|
this.label1.Text = "-";
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
this.label4.BackColor = System.Drawing.Color.Black;
|
this.label4.BackColor = System.Drawing.Color.Black;
|
||||||
this.label4.Font = new System.Drawing.Font("Arial", 30F, System.Drawing.FontStyle.Bold);
|
this.label4.Font = new System.Drawing.Font("Arial", 30F, System.Drawing.FontStyle.Bold);
|
||||||
this.label4.ForeColor = System.Drawing.Color.White;
|
this.label4.ForeColor = System.Drawing.Color.White;
|
||||||
this.label4.Location = new System.Drawing.Point(570, 235);
|
this.label4.Location = new System.Drawing.Point(570, 239);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(23, 56);
|
this.label4.Size = new System.Drawing.Size(23, 56);
|
||||||
this.label4.Text = ":";
|
this.label4.Text = ":";
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
this.label3.BackColor = System.Drawing.Color.Black;
|
this.label3.BackColor = System.Drawing.Color.Black;
|
||||||
this.label3.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
this.label3.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.label3.ForeColor = System.Drawing.Color.White;
|
this.label3.ForeColor = System.Drawing.Color.White;
|
||||||
this.label3.Location = new System.Drawing.Point(355, 243);
|
this.label3.Location = new System.Drawing.Point(355, 246);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(23, 56);
|
this.label3.Size = new System.Drawing.Size(23, 56);
|
||||||
this.label3.Text = "-";
|
this.label3.Text = "-";
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
this.upDownYear.LayoutStyle = SmartX.SmartUpDown.LAYOUTSTYPES.CUSTOM;
|
this.upDownYear.LayoutStyle = SmartX.SmartUpDown.LAYOUTSTYPES.CUSTOM;
|
||||||
this.upDownYear.Location = new System.Drawing.Point(150, 148);
|
this.upDownYear.Location = new System.Drawing.Point(150, 148);
|
||||||
this.upDownYear.MaxValue = ((long)(2100));
|
this.upDownYear.MaxValue = ((long)(2100));
|
||||||
this.upDownYear.MinValue = ((long)(2010));
|
this.upDownYear.MinValue = ((long)(2020));
|
||||||
this.upDownYear.Name = "upDownYear";
|
this.upDownYear.Name = "upDownYear";
|
||||||
this.upDownYear.RepeatInterval = 200;
|
this.upDownYear.RepeatInterval = 200;
|
||||||
this.upDownYear.RepeatIntervalAccelerate = null;
|
this.upDownYear.RepeatIntervalAccelerate = null;
|
||||||
|
@ -140,11 +140,12 @@
|
||||||
this.upDownYear.StepValue = 1;
|
this.upDownYear.StepValue = 1;
|
||||||
this.upDownYear.TabIndex = 97;
|
this.upDownYear.TabIndex = 97;
|
||||||
this.upDownYear.TextColor = System.Drawing.Color.White;
|
this.upDownYear.TextColor = System.Drawing.Color.White;
|
||||||
this.upDownYear.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Right;
|
this.upDownYear.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
||||||
|
this.upDownYear.TextLabelBoundaryLine = true;
|
||||||
this.upDownYear.TextLabelHeight = 30;
|
this.upDownYear.TextLabelHeight = 30;
|
||||||
this.upDownYear.TextLabelWidth = 80;
|
this.upDownYear.TextLabelWidth = 80;
|
||||||
this.upDownYear.TextLocation = new System.Drawing.Point(-40, 90);
|
this.upDownYear.TextLocation = new System.Drawing.Point(20, 97);
|
||||||
this.upDownYear.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Top;
|
this.upDownYear.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Middle;
|
||||||
this.upDownYear.TxtValue = "0000";
|
this.upDownYear.TxtValue = "0000";
|
||||||
this.upDownYear.Value = ((long)(0));
|
this.upDownYear.Value = ((long)(0));
|
||||||
this.upDownYear.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
this.upDownYear.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
||||||
|
@ -214,10 +215,11 @@
|
||||||
this.upDownMinute.TabIndex = 96;
|
this.upDownMinute.TabIndex = 96;
|
||||||
this.upDownMinute.TextColor = System.Drawing.Color.White;
|
this.upDownMinute.TextColor = System.Drawing.Color.White;
|
||||||
this.upDownMinute.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
this.upDownMinute.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
||||||
|
this.upDownMinute.TextLabelBoundaryLine = true;
|
||||||
this.upDownMinute.TextLabelHeight = 15;
|
this.upDownMinute.TextLabelHeight = 15;
|
||||||
this.upDownMinute.TextLabelWidth = 80;
|
this.upDownMinute.TextLabelWidth = 80;
|
||||||
this.upDownMinute.TextLocation = new System.Drawing.Point(-15, 90);
|
this.upDownMinute.TextLocation = new System.Drawing.Point(3, 105);
|
||||||
this.upDownMinute.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Top;
|
this.upDownMinute.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Middle;
|
||||||
this.upDownMinute.TxtValue = "00";
|
this.upDownMinute.TxtValue = "00";
|
||||||
this.upDownMinute.Value = ((long)(0));
|
this.upDownMinute.Value = ((long)(0));
|
||||||
this.upDownMinute.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
this.upDownMinute.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
||||||
|
@ -287,10 +289,11 @@
|
||||||
this.upDownHour.TabIndex = 95;
|
this.upDownHour.TabIndex = 95;
|
||||||
this.upDownHour.TextColor = System.Drawing.Color.White;
|
this.upDownHour.TextColor = System.Drawing.Color.White;
|
||||||
this.upDownHour.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
this.upDownHour.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
||||||
|
this.upDownHour.TextLabelBoundaryLine = true;
|
||||||
this.upDownHour.TextLabelHeight = 15;
|
this.upDownHour.TextLabelHeight = 15;
|
||||||
this.upDownHour.TextLabelWidth = 80;
|
this.upDownHour.TextLabelWidth = 80;
|
||||||
this.upDownHour.TextLocation = new System.Drawing.Point(-15, 90);
|
this.upDownHour.TextLocation = new System.Drawing.Point(3, 105);
|
||||||
this.upDownHour.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Top;
|
this.upDownHour.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Middle;
|
||||||
this.upDownHour.TxtValue = "00";
|
this.upDownHour.TxtValue = "00";
|
||||||
this.upDownHour.Value = ((long)(0));
|
this.upDownHour.Value = ((long)(0));
|
||||||
this.upDownHour.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
this.upDownHour.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
||||||
|
@ -360,10 +363,11 @@
|
||||||
this.upDownDate.TabIndex = 94;
|
this.upDownDate.TabIndex = 94;
|
||||||
this.upDownDate.TextColor = System.Drawing.Color.White;
|
this.upDownDate.TextColor = System.Drawing.Color.White;
|
||||||
this.upDownDate.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
this.upDownDate.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
||||||
|
this.upDownDate.TextLabelBoundaryLine = true;
|
||||||
this.upDownDate.TextLabelHeight = 15;
|
this.upDownDate.TextLabelHeight = 15;
|
||||||
this.upDownDate.TextLabelWidth = 80;
|
this.upDownDate.TextLabelWidth = 80;
|
||||||
this.upDownDate.TextLocation = new System.Drawing.Point(-15, 90);
|
this.upDownDate.TextLocation = new System.Drawing.Point(3, 105);
|
||||||
this.upDownDate.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Top;
|
this.upDownDate.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Middle;
|
||||||
this.upDownDate.TxtValue = "00";
|
this.upDownDate.TxtValue = "00";
|
||||||
this.upDownDate.Value = ((long)(0));
|
this.upDownDate.Value = ((long)(0));
|
||||||
this.upDownDate.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
this.upDownDate.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
||||||
|
@ -433,10 +437,11 @@
|
||||||
this.upDownMonth.TabIndex = 93;
|
this.upDownMonth.TabIndex = 93;
|
||||||
this.upDownMonth.TextColor = System.Drawing.Color.White;
|
this.upDownMonth.TextColor = System.Drawing.Color.White;
|
||||||
this.upDownMonth.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
this.upDownMonth.TextHAlign = SmartX.SmartUpDown.TextHorAlign.Middle;
|
||||||
|
this.upDownMonth.TextLabelBoundaryLine = true;
|
||||||
this.upDownMonth.TextLabelHeight = 15;
|
this.upDownMonth.TextLabelHeight = 15;
|
||||||
this.upDownMonth.TextLabelWidth = 80;
|
this.upDownMonth.TextLabelWidth = 80;
|
||||||
this.upDownMonth.TextLocation = new System.Drawing.Point(-15, 90);
|
this.upDownMonth.TextLocation = new System.Drawing.Point(3, 105);
|
||||||
this.upDownMonth.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Top;
|
this.upDownMonth.TextVAlign = SmartX.SmartUpDown.TextVerAlign.Middle;
|
||||||
this.upDownMonth.TxtValue = "00";
|
this.upDownMonth.TxtValue = "00";
|
||||||
this.upDownMonth.Value = ((long)(0));
|
this.upDownMonth.Value = ((long)(0));
|
||||||
this.upDownMonth.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
this.upDownMonth.OnIncButClick += new System.EventHandler(this.buttonTimeSetting_Click);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -81,7 +81,7 @@
|
||||||
this.buttonMainBoard.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
|
this.buttonMainBoard.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
|
||||||
this.buttonMainBoard.GroupID = 0;
|
this.buttonMainBoard.GroupID = 0;
|
||||||
this.buttonMainBoard.InitVisible = true;
|
this.buttonMainBoard.InitVisible = true;
|
||||||
this.buttonMainBoard.Location = new System.Drawing.Point(255, 298);
|
this.buttonMainBoard.Location = new System.Drawing.Point(460, 298);
|
||||||
this.buttonMainBoard.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
this.buttonMainBoard.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
this.buttonMainBoard.Name = "buttonMainBoard";
|
this.buttonMainBoard.Name = "buttonMainBoard";
|
||||||
this.buttonMainBoard.NestedClickEventPrevent = false;
|
this.buttonMainBoard.NestedClickEventPrevent = false;
|
||||||
|
@ -237,7 +237,7 @@
|
||||||
this.buttonLcd.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
|
this.buttonLcd.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
|
||||||
this.buttonLcd.GroupID = 0;
|
this.buttonLcd.GroupID = 0;
|
||||||
this.buttonLcd.InitVisible = true;
|
this.buttonLcd.InitVisible = true;
|
||||||
this.buttonLcd.Location = new System.Drawing.Point(461, 298);
|
this.buttonLcd.Location = new System.Drawing.Point(255, 298);
|
||||||
this.buttonLcd.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
this.buttonLcd.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
this.buttonLcd.Name = "buttonLcd";
|
this.buttonLcd.Name = "buttonLcd";
|
||||||
this.buttonLcd.NestedClickEventPrevent = false;
|
this.buttonLcd.NestedClickEventPrevent = false;
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
this.labelReceiveCount = new SmartX.SmartLabel();
|
this.labelReceiveCount = new SmartX.SmartLabel();
|
||||||
this.buttonBypassDirection = new SmartX.SmartButton();
|
this.buttonBypassDirection = new SmartX.SmartButton();
|
||||||
this.labelStartAddress = new SmartX.SmartLabel();
|
this.labelStartAddress = new SmartX.SmartLabel();
|
||||||
this.labelOffset1 = new SmartX.SmartLabel();
|
|
||||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||||
this.labelHelp = new SmartX.SmartLabel();
|
this.labelHelp = new SmartX.SmartLabel();
|
||||||
this.labelTitleReceiveCount = new SmartX.SmartLabel();
|
this.labelTitleReceiveCount = new SmartX.SmartLabel();
|
||||||
|
@ -107,6 +106,7 @@
|
||||||
this.labelOffset4 = new SmartX.SmartLabel();
|
this.labelOffset4 = new SmartX.SmartLabel();
|
||||||
this.labelOffset3 = new SmartX.SmartLabel();
|
this.labelOffset3 = new SmartX.SmartLabel();
|
||||||
this.labelOffset2 = new SmartX.SmartLabel();
|
this.labelOffset2 = new SmartX.SmartLabel();
|
||||||
|
this.labelOffset1 = new SmartX.SmartLabel();
|
||||||
this.smartGroupBox1.SuspendLayout();
|
this.smartGroupBox1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
@ -540,30 +540,12 @@
|
||||||
this.labelStartAddress.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelStartAddress.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelStartAddress.Wordwrap = false;
|
this.labelStartAddress.Wordwrap = false;
|
||||||
//
|
//
|
||||||
// labelOffset1
|
|
||||||
//
|
|
||||||
this.labelOffset1.BackColor = System.Drawing.Color.Black;
|
|
||||||
this.labelOffset1.BackPictureBox1 = null;
|
|
||||||
this.labelOffset1.BackPictureBox2 = this.smartGroupBox1;
|
|
||||||
this.labelOffset1.BorderColor = System.Drawing.Color.Black;
|
|
||||||
this.labelOffset1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
||||||
this.labelOffset1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
|
||||||
this.labelOffset1.ForeColor = System.Drawing.Color.White;
|
|
||||||
this.labelOffset1.InitVisible = true;
|
|
||||||
this.labelOffset1.LineSpacing = 0F;
|
|
||||||
this.labelOffset1.Location = new System.Drawing.Point(21, 95);
|
|
||||||
this.labelOffset1.Name = "labelOffset1";
|
|
||||||
this.labelOffset1.Size = new System.Drawing.Size(51, 21);
|
|
||||||
this.labelOffset1.TabIndex = 730;
|
|
||||||
this.labelOffset1.Text = "0x000A";
|
|
||||||
this.labelOffset1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
|
||||||
this.labelOffset1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
|
||||||
this.labelOffset1.Wordwrap = false;
|
|
||||||
//
|
|
||||||
// smartGroupBox1
|
// smartGroupBox1
|
||||||
//
|
//
|
||||||
this.smartGroupBox1.BackPictureBox = null;
|
this.smartGroupBox1.BackPictureBox = null;
|
||||||
this.smartGroupBox1.BackPictureBox1 = null;
|
this.smartGroupBox1.BackPictureBox1 = null;
|
||||||
|
this.smartGroupBox1.Controls.Add(this.labelOffset1);
|
||||||
|
this.smartGroupBox1.Controls.Add(this.labelOffset2);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelHelp);
|
this.smartGroupBox1.Controls.Add(this.labelHelp);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelTitleReceiveCount);
|
this.smartGroupBox1.Controls.Add(this.labelTitleReceiveCount);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelTitleStartAddr);
|
this.smartGroupBox1.Controls.Add(this.labelTitleStartAddr);
|
||||||
|
@ -619,8 +601,6 @@
|
||||||
this.smartGroupBox1.Controls.Add(this.labelOffset5);
|
this.smartGroupBox1.Controls.Add(this.labelOffset5);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelOffset4);
|
this.smartGroupBox1.Controls.Add(this.labelOffset4);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelOffset3);
|
this.smartGroupBox1.Controls.Add(this.labelOffset3);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelOffset2);
|
|
||||||
this.smartGroupBox1.Controls.Add(this.labelOffset1);
|
|
||||||
this.smartGroupBox1.Controls.Add(this.labelStartAddress);
|
this.smartGroupBox1.Controls.Add(this.labelStartAddress);
|
||||||
this.smartGroupBox1.Controls.Add(this.buttonBypassDirection);
|
this.smartGroupBox1.Controls.Add(this.buttonBypassDirection);
|
||||||
this.smartGroupBox1.Controls.Add(this.labelReceiveCount);
|
this.smartGroupBox1.Controls.Add(this.labelReceiveCount);
|
||||||
|
@ -1767,6 +1747,26 @@
|
||||||
this.labelOffset2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelOffset2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelOffset2.Wordwrap = false;
|
this.labelOffset2.Wordwrap = false;
|
||||||
//
|
//
|
||||||
|
// labelOffset1
|
||||||
|
//
|
||||||
|
this.labelOffset1.BackColor = System.Drawing.Color.Black;
|
||||||
|
this.labelOffset1.BackPictureBox1 = null;
|
||||||
|
this.labelOffset1.BackPictureBox2 = this.smartGroupBox1;
|
||||||
|
this.labelOffset1.BorderColor = System.Drawing.Color.Black;
|
||||||
|
this.labelOffset1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.labelOffset1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||||
|
this.labelOffset1.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.labelOffset1.InitVisible = true;
|
||||||
|
this.labelOffset1.LineSpacing = 0F;
|
||||||
|
this.labelOffset1.Location = new System.Drawing.Point(21, 95);
|
||||||
|
this.labelOffset1.Name = "labelOffset1";
|
||||||
|
this.labelOffset1.Size = new System.Drawing.Size(51, 21);
|
||||||
|
this.labelOffset1.TabIndex = 788;
|
||||||
|
this.labelOffset1.Text = "0x000A";
|
||||||
|
this.labelOffset1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
|
this.labelOffset1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
|
this.labelOffset1.Wordwrap = false;
|
||||||
|
//
|
||||||
// ControlMainDisplayModbus
|
// ControlMainDisplayModbus
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||||
|
@ -1802,7 +1802,6 @@
|
||||||
public SmartX.SmartLabel labelReceiveCount;
|
public SmartX.SmartLabel labelReceiveCount;
|
||||||
private SmartX.SmartButton buttonBypassDirection;
|
private SmartX.SmartButton buttonBypassDirection;
|
||||||
public SmartX.SmartLabel labelStartAddress;
|
public SmartX.SmartLabel labelStartAddress;
|
||||||
public SmartX.SmartLabel labelOffset1;
|
|
||||||
public SmartX.SmartLabel labelOffset2;
|
public SmartX.SmartLabel labelOffset2;
|
||||||
public SmartX.SmartLabel labelOffset3;
|
public SmartX.SmartLabel labelOffset3;
|
||||||
public SmartX.SmartLabel labelOffset4;
|
public SmartX.SmartLabel labelOffset4;
|
||||||
|
@ -1860,6 +1859,7 @@
|
||||||
public SmartX.SmartLabel labelTitlePort;
|
public SmartX.SmartLabel labelTitlePort;
|
||||||
public SmartX.SmartLabel labelHelp;
|
public SmartX.SmartLabel labelHelp;
|
||||||
public SmartX.SmartLabel labelTitleReceiveCount;
|
public SmartX.SmartLabel labelTitleReceiveCount;
|
||||||
|
public SmartX.SmartLabel labelOffset1;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -338,21 +338,9 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelEquipmentID.Text = mData.EquipmentID.ToString();
|
this.labelEquipmentID.Text = mData.EquipmentID.ToString();
|
||||||
this.labelCurrentNo.Text = mData.ProductNo.ToString();
|
this.labelCurrentNo.Text = mData.ProductNo.ToString();
|
||||||
|
|
||||||
if(mData.UnderValue.ToString().Contains('.') == false)
|
|
||||||
this.labelUnder.Text = Helper.StringToDecimalPlacesPlusZero(mData.UnderValue.ToString(), this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces);
|
|
||||||
else
|
|
||||||
this.labelUnder.Text = mData.UnderValue.ToString();
|
this.labelUnder.Text = mData.UnderValue.ToString();
|
||||||
if (mData.PassValue.ToString().Contains('.') == false)
|
|
||||||
this.labelPass.Text = Helper.StringToDecimalPlacesPlusZero(mData.PassValue.ToString(), this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces);
|
|
||||||
else
|
|
||||||
this.labelPass.Text = mData.PassValue.ToString();
|
this.labelPass.Text = mData.PassValue.ToString();
|
||||||
if (mData.OverValue.ToString().Contains('.') == false)
|
|
||||||
this.labelOver.Text = Helper.StringToDecimalPlacesPlusZero(mData.OverValue.ToString(), this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces);
|
|
||||||
else
|
|
||||||
this.labelOver.Text = mData.OverValue.ToString();
|
this.labelOver.Text = mData.OverValue.ToString();
|
||||||
if (mData.TareValue.ToString().Contains('.') == false)
|
|
||||||
this.labelTare.Text = Helper.StringToDecimalPlacesPlusZero(mData.TareValue.ToString(), this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces);
|
|
||||||
else
|
|
||||||
this.labelTare.Text = mData.TareValue.ToString();
|
this.labelTare.Text = mData.TareValue.ToString();
|
||||||
|
|
||||||
this.labelUnderCount.Text = mData.UnderCount.ToString();
|
this.labelUnderCount.Text = mData.UnderCount.ToString();
|
||||||
|
@ -363,9 +351,6 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelTotalCount.Text = mData.TotalCount.ToString();
|
this.labelTotalCount.Text = mData.TotalCount.ToString();
|
||||||
|
|
||||||
this.labelGrade.Text = mData.Grade.ToString();
|
this.labelGrade.Text = mData.Grade.ToString();
|
||||||
if (mData.Weight.ToString().Contains('.') == false)
|
|
||||||
this.labelWeight.Text = Helper.StringToDecimalPlacesPlusZero(mData.Weight.ToString(), this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces);
|
|
||||||
else
|
|
||||||
this.labelWeight.Text = mData.Weight.ToString();
|
this.labelWeight.Text = mData.Weight.ToString();
|
||||||
this.labelOperationStatus.Text = mData.OperationStatus.ToString();
|
this.labelOperationStatus.Text = mData.OperationStatus.ToString();
|
||||||
this.labelAlarmStatus.Text = mData.AlarmStatus.ToString();
|
this.labelAlarmStatus.Text = mData.AlarmStatus.ToString();
|
||||||
|
|
|
@ -383,14 +383,6 @@ namespace ITC81DB_0H.Controls
|
||||||
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
||||||
this.ParentForm.Part11AutomaticLogoutReset();
|
this.ParentForm.Part11AutomaticLogoutReset();
|
||||||
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig1.ProductNumber >= 996
|
|
||||||
&& this.ParentForm.ParentForm.SystemConfig1.ProductNumber <= 1000)
|
|
||||||
{
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(27, this.ParentForm.ParentForm.SystemConfig1.Language);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
string value = "", sValue = "", before = "", after = "";
|
string value = "", sValue = "", before = "", after = "";
|
||||||
double dValue = 0.0;
|
double dValue = 0.0;
|
||||||
|
|
||||||
|
@ -464,6 +456,7 @@ namespace ITC81DB_0H.Controls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange);
|
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.UnderRange, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.UnderRange, value);
|
||||||
|
|
||||||
|
@ -477,14 +470,6 @@ namespace ITC81DB_0H.Controls
|
||||||
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
||||||
this.ParentForm.Part11AutomaticLogoutReset();
|
this.ParentForm.Part11AutomaticLogoutReset();
|
||||||
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig1.ProductNumber >= 996
|
|
||||||
&& this.ParentForm.ParentForm.SystemConfig1.ProductNumber <= 1000)
|
|
||||||
{
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(27, this.ParentForm.ParentForm.SystemConfig1.Language);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
string value = "", underRange = "", overRange = "", viewValue = "";
|
string value = "", underRange = "", overRange = "", viewValue = "";
|
||||||
string beforeOver = "", beforeUnder = "", afterOver = "", afterUnder = "", before = "", after = "";
|
string beforeOver = "", beforeUnder = "", afterOver = "", afterUnder = "", before = "", after = "";
|
||||||
int digit = 0, temp = 0;
|
int digit = 0, temp = 0;
|
||||||
|
@ -539,6 +524,7 @@ namespace ITC81DB_0H.Controls
|
||||||
this.ParentForm.RescaleControl(this.ParentForm.ParentForm.CurrentProductItem);
|
this.ParentForm.RescaleControl(this.ParentForm.ParentForm.CurrentProductItem);
|
||||||
this.ParentForm.ParentForm.SaveProductFile(this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
this.ParentForm.ParentForm.SaveProductFile(this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange));
|
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange));
|
||||||
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.PassRange));
|
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.PassRange));
|
||||||
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange));
|
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange));
|
||||||
|
@ -588,14 +574,6 @@ namespace ITC81DB_0H.Controls
|
||||||
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
||||||
this.ParentForm.Part11AutomaticLogoutReset();
|
this.ParentForm.Part11AutomaticLogoutReset();
|
||||||
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig1.ProductNumber >= 996
|
|
||||||
&& this.ParentForm.ParentForm.SystemConfig1.ProductNumber <= 1000)
|
|
||||||
{
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(27, this.ParentForm.ParentForm.SystemConfig1.Language);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
string value = "", sValue = "", before = "", after = "";
|
string value = "", sValue = "", before = "", after = "";
|
||||||
double dValue = 0.0;
|
double dValue = 0.0;
|
||||||
|
|
||||||
|
@ -673,6 +651,7 @@ namespace ITC81DB_0H.Controls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange);
|
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.OverRange, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.OverRange, value);
|
||||||
|
|
||||||
|
@ -687,14 +666,6 @@ namespace ITC81DB_0H.Controls
|
||||||
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
if (this.ParentForm.ParentForm.SystemConfig3.IsPart11 == true)
|
||||||
this.ParentForm.Part11AutomaticLogoutReset();
|
this.ParentForm.Part11AutomaticLogoutReset();
|
||||||
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig1.ProductNumber >= 996
|
|
||||||
&& this.ParentForm.ParentForm.SystemConfig1.ProductNumber <= 1000)
|
|
||||||
{
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(27, this.ParentForm.ParentForm.SystemConfig1.Language);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
string value = "", before = "", after = "";
|
string value = "", before = "", after = "";
|
||||||
|
|
||||||
before = this.buttonTareRange.Text;
|
before = this.buttonTareRange.Text;
|
||||||
|
@ -721,6 +692,7 @@ namespace ITC81DB_0H.Controls
|
||||||
this.ParentForm.MainDisplayWeightBigScreen.SetIconNET(this.ParentForm.ParentForm.CurrentProductItem);
|
this.ParentForm.MainDisplayWeightBigScreen.SetIconNET(this.ParentForm.ParentForm.CurrentProductItem);
|
||||||
this.ParentForm.MainDisplayWeightSmall.SetIconNET(this.ParentForm.ParentForm.CurrentProductItem);
|
this.ParentForm.MainDisplayWeightSmall.SetIconNET(this.ParentForm.ParentForm.CurrentProductItem);
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.TareRange);
|
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.TareRange);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.TareRange, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.TareRange, value);
|
||||||
|
|
||||||
|
|
|
@ -380,6 +380,7 @@ namespace ITC81DB_0H.Controls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange);
|
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.UnderRange, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.UnderRange, value);
|
||||||
|
|
||||||
|
@ -457,6 +458,7 @@ namespace ITC81DB_0H.Controls
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SaveProductFile(this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
this.ParentForm.ParentForm.SaveProductFile(this.ParentForm.ParentForm.CurrentProductItem, this.ParentForm.ParentForm.SystemConfig1.ProductNumber - 1);
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange));
|
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.UnderRange));
|
||||||
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.PassRange));
|
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.PassRange));
|
||||||
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange));
|
sb.Append(Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange));
|
||||||
|
@ -591,6 +593,7 @@ namespace ITC81DB_0H.Controls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.ParentForm.ParentForm.Update30000ModbusItem();
|
||||||
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange);
|
value = Helper.StringZeroFillDigits7(this.ParentForm.ParentForm.CurrentProductItem.OverRange);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.OverRange, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress.OverRange, value);
|
||||||
|
|
||||||
|
|
|
@ -2129,6 +2129,8 @@ namespace ITC81DB_0H.Forms
|
||||||
this.CurrentSystemStatus.Equipment = Define.E_EquipmentStatus.Start;
|
this.CurrentSystemStatus.Equipment = Define.E_EquipmentStatus.Start;
|
||||||
this.SetTrackingHistoryData(Define.E_TrackingOperation.Start, "");
|
this.SetTrackingHistoryData(Define.E_TrackingOperation.Start, "");
|
||||||
|
|
||||||
|
this.Update30000ModbusItem();
|
||||||
|
|
||||||
// OPT1(액트라 - 안리쯔 금속검출기)
|
// OPT1(액트라 - 안리쯔 금속검출기)
|
||||||
if (this.SystemConfig1.SerialCOM1Mode == 14)
|
if (this.SystemConfig1.SerialCOM1Mode == 14)
|
||||||
this.TransferSerialCOM1(this.Transfer_14_OPT1("12"));
|
this.TransferSerialCOM1(this.Transfer_14_OPT1("12"));
|
||||||
|
@ -2202,6 +2204,8 @@ namespace ITC81DB_0H.Forms
|
||||||
|
|
||||||
this.CommID = 0;
|
this.CommID = 0;
|
||||||
|
|
||||||
|
this.Update30000ModbusItem();
|
||||||
|
|
||||||
// OPT1(액트라 - 안리쯔 금속검출기)
|
// OPT1(액트라 - 안리쯔 금속검출기)
|
||||||
if (this.SystemConfig1.SerialCOM1Mode == 14)
|
if (this.SystemConfig1.SerialCOM1Mode == 14)
|
||||||
this.TransferSerialCOM1(this.Transfer_14_OPT1("13"));
|
this.TransferSerialCOM1(this.Transfer_14_OPT1("13"));
|
||||||
|
@ -2607,6 +2611,8 @@ namespace ITC81DB_0H.Forms
|
||||||
this.UpdateFeedbackDeviation(this.CurrentProductItem, this.CurrentSystemParameter2);
|
this.UpdateFeedbackDeviation(this.CurrentProductItem, this.CurrentSystemParameter2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.Update30000ModbusItem();
|
||||||
|
|
||||||
// OverloadWeight 값 확인을 위한 MaxWeight 값 읽기
|
// OverloadWeight 값 확인을 위한 MaxWeight 값 읽기
|
||||||
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress.ParameterRead3901, "");
|
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress.ParameterRead3901, "");
|
||||||
break;
|
break;
|
||||||
|
@ -2954,8 +2960,9 @@ namespace ITC81DB_0H.Forms
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.BLDCMotorIndex = 0;
|
this.BLDCMotorIndex = 0;
|
||||||
if (this.SystemConfig2.IsUsingRandomMode == true)
|
// V3.3.1 왜 996이 전송되지?
|
||||||
this.SystemConfig1.ProductNumber = 996;
|
//if (this.SystemConfig2.IsUsingRandomMode == true)
|
||||||
|
// this.SystemConfig1.ProductNumber = 996;
|
||||||
this.TransferProductParameter(this.SystemConfig1.ProductNumber);
|
this.TransferProductParameter(this.SystemConfig1.ProductNumber);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3145,6 +3152,8 @@ namespace ITC81DB_0H.Forms
|
||||||
this.CurrentWeightData.Weight = this.OverloadWeight;
|
this.CurrentWeightData.Weight = this.OverloadWeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.Update30000ModbusItem();
|
||||||
|
|
||||||
#region 통신
|
#region 통신
|
||||||
// 통신 COM1
|
// 통신 COM1
|
||||||
if (this.SystemConfig1.SerialCOM1Mode != 0)
|
if (this.SystemConfig1.SerialCOM1Mode != 0)
|
||||||
|
@ -7110,6 +7119,15 @@ namespace ITC81DB_0H.Forms
|
||||||
this.Current30000ModbusData.OverValue = Helper.StringToWeight(this.CurrentProductItem.OverRange, this.SystemConfig1.DecimalPlaces);
|
this.Current30000ModbusData.OverValue = Helper.StringToWeight(this.CurrentProductItem.OverRange, this.SystemConfig1.DecimalPlaces);
|
||||||
this.Current30000ModbusData.TareValue = Helper.StringToWeight(this.CurrentProductItem.TareRange, this.SystemConfig1.DecimalPlaces);
|
this.Current30000ModbusData.TareValue = Helper.StringToWeight(this.CurrentProductItem.TareRange, this.SystemConfig1.DecimalPlaces);
|
||||||
|
|
||||||
|
//// 통신 확인 로그
|
||||||
|
//if (this.IsCommunicationLogOpen == true)
|
||||||
|
//{
|
||||||
|
// this.smartFileCommunicationLog.WriteString(string.Format("UnderValue ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, this.Current30000ModbusData.UnderValue.ToString()));
|
||||||
|
// this.smartFileCommunicationLog.WriteString(string.Format("PassValue ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, this.Current30000ModbusData.PassValue.ToString()));
|
||||||
|
// this.smartFileCommunicationLog.WriteString(string.Format("OverValue ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, this.Current30000ModbusData.OverValue.ToString()));
|
||||||
|
// this.smartFileCommunicationLog.WriteString(string.Format("TareValue ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, this.Current30000ModbusData.TareValue.ToString()));
|
||||||
|
//}
|
||||||
|
|
||||||
this.Current30000ModbusData.UnderCount = (UInt32)this.CurrentWeightData.UnderCount;
|
this.Current30000ModbusData.UnderCount = (UInt32)this.CurrentWeightData.UnderCount;
|
||||||
this.Current30000ModbusData.PassCount = (UInt32)this.CurrentWeightData.PassCount;
|
this.Current30000ModbusData.PassCount = (UInt32)this.CurrentWeightData.PassCount;
|
||||||
this.Current30000ModbusData.OverCount = (UInt32)this.CurrentWeightData.OverCount;
|
this.Current30000ModbusData.OverCount = (UInt32)this.CurrentWeightData.OverCount;
|
||||||
|
@ -9933,35 +9951,36 @@ namespace ITC81DB_0H.Forms
|
||||||
|
|
||||||
pItem = this.CollectionProductItem[995];
|
pItem = this.CollectionProductItem[995];
|
||||||
sb.Append("0996"); // 품번(4)
|
sb.Append("0996"); // 품번(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(this.SystemConfig2.IsGroup1UsingRandomMode)).ToString())); // 사용여부(4)
|
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(false)).ToString())); // 사용여부(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
||||||
|
|
||||||
pItem = this.CollectionProductItem[996];
|
pItem = this.CollectionProductItem[996];
|
||||||
sb.Append("0997"); // 품번(4)
|
sb.Append("0997"); // 품번(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(this.SystemConfig2.IsGroup2UsingRandomMode)).ToString())); // 사용여부(4)
|
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(false)).ToString())); // 사용여부(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
||||||
|
|
||||||
pItem = this.CollectionProductItem[997];
|
pItem = this.CollectionProductItem[997];
|
||||||
sb.Append("0998"); // 품번(4)
|
sb.Append("0998"); // 품번(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(this.SystemConfig2.IsGroup3UsingRandomMode)).ToString())); // 사용여부(4)
|
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(false)).ToString())); // 사용여부(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
||||||
|
|
||||||
pItem = this.CollectionProductItem[998];
|
pItem = this.CollectionProductItem[998];
|
||||||
sb.Append("0999"); // 품번(4)
|
sb.Append("0999"); // 품번(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(this.SystemConfig2.IsGroup4UsingRandomMode)).ToString())); // 사용여부(4)
|
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(false)).ToString())); // 사용여부(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
||||||
|
|
||||||
pItem = this.CollectionProductItem[999];
|
pItem = this.CollectionProductItem[999];
|
||||||
sb.Append("1000"); // 품번(4)
|
sb.Append("1000"); // 품번(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(this.SystemConfig2.IsGroup5UsingRandomMode)).ToString())); // 사용여부(4)
|
sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(false)).ToString())); // 사용여부(4)
|
||||||
|
//sb.Append(Helper.StringZeroFillDigits4((Convert.ToInt32(this.SystemConfig2.IsGroup5UsingRandomMode)).ToString())); // 사용여부(4)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.UnderRange)); // 하한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.OverRange)); // 상한값(7)
|
||||||
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
sb.Append(Helper.StringZeroFillDigits7(pItem.TareRange)); // 용기(7)
|
||||||
|
@ -14065,8 +14084,8 @@ namespace ITC81DB_0H.Forms
|
||||||
// 로그
|
// 로그
|
||||||
if (this.IsCommunicationLogOpen == true)
|
if (this.IsCommunicationLogOpen == true)
|
||||||
{
|
{
|
||||||
this.smartFileCommunicationLog.WriteString(string.Format("Receive TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(readByte)));
|
//this.smartFileCommunicationLog.WriteString(string.Format("Receive TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(readByte)));
|
||||||
this.smartFileCommunicationLog.WriteString(string.Format("Send TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(responseData)));
|
//this.smartFileCommunicationLog.WriteString(string.Format("Send TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(responseData)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
@ -14098,8 +14117,8 @@ namespace ITC81DB_0H.Forms
|
||||||
// 로그
|
// 로그
|
||||||
if (this.IsCommunicationLogOpen == true)
|
if (this.IsCommunicationLogOpen == true)
|
||||||
{
|
{
|
||||||
this.smartFileCommunicationLog.WriteString(string.Format("Receive TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(readByte)));
|
//this.smartFileCommunicationLog.WriteString(string.Format("Receive TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(readByte)));
|
||||||
this.smartFileCommunicationLog.WriteString(string.Format("Send TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(responseData)));
|
//this.smartFileCommunicationLog.WriteString(string.Format("Send TCP ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, BitConverter.ToString(responseData)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
@ -14399,6 +14418,7 @@ namespace ITC81DB_0H.Forms
|
||||||
|
|
||||||
private void CurrentAlarmList_Change(Define.E_TrackingAlarm alarm, string status)
|
private void CurrentAlarmList_Change(Define.E_TrackingAlarm alarm, string status)
|
||||||
{
|
{
|
||||||
|
this.Update30000ModbusItem();
|
||||||
this.SetTrackingHistoryData(alarm, status);
|
this.SetTrackingHistoryData(alarm, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,13 +53,13 @@
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.WindowsCE.Forms" />
|
<Reference Include="Microsoft.WindowsCE.Forms" />
|
||||||
<Reference Include="mscorlib" />
|
<Reference Include="mscorlib" />
|
||||||
<Reference Include="SmartXCommon, Version=3.1.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SmartXCommon, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.1.1_20190321\SmartX3.1.0_IEC1000_DOTNETCF3.5수동설치파일\SmartXCommon.dll</HintPath>
|
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.2.4_V3대 마지막버전\SmartX3.2.4_IEC1000_DOTNETCF3.5수동설치파일\SmartXCommon.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SmartX_IEC1000, Version=3.1.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SmartX_IEC1000, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.1.1_20190321\SmartX3.1.0_IEC1000_DOTNETCF3.5수동설치파일\SmartX_IEC1000.dll</HintPath>
|
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.2.4_V3대 마지막버전\SmartX3.2.4_IEC1000_DOTNETCF3.5수동설치파일\SmartX_IEC1000.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
H/W : IEC1000-104
|
H/W : IEC1000-104
|
||||||
O/S : WinCE 6.0
|
O/S : WinCE 6.0
|
||||||
Framework : SmartX Framework V3.1.1(update: 2019.03.21)
|
Framework : SmartX Framework V3.1.1(update: 2019.03.21)
|
||||||
|
V3.3.1부터 SmartX Framework V3.2.4 사용(Modbus 통신 수신 시, Server Stop 안되는 버그 수정본)
|
||||||
|
|
||||||
Modify ITC81DB
|
Modify ITC81DB
|
||||||
|
|
||||||
|
@ -15,10 +16,12 @@
|
||||||
@ Ver 3.3.1 by CJY
|
@ Ver 3.3.1 by CJY
|
||||||
- 2024.02.07
|
- 2024.02.07
|
||||||
- Ver 3.3.0 Modify
|
- Ver 3.3.0 Modify
|
||||||
|
- SmartX Framework V3.2.4 적용
|
||||||
- Printer - Test Send 버튼 눌렀을 때 현재 중량 전송
|
- Printer - Test Send 버튼 눌렀을 때 현재 중량 전송
|
||||||
자리수 미세 조정
|
자리수 미세 조정
|
||||||
- 재전송 기능 OFF 후 사용
|
- 재전송 기능 OFF 후 사용
|
||||||
고속형은 재전송 카운트가 올라가지 않기 때문에 그 부분 수정함
|
고속형은 재전송 카운트가 올라가지 않기 때문에 그 부분 수정함
|
||||||
|
- 랜덤모드 사용 안하므로 일부 문제의 소지가 있는 부분 삭제(추후 확인해야함)
|
||||||
|
|
||||||
@ Ver 3.3.0 by CJY
|
@ Ver 3.3.0 by CJY
|
||||||
- 2024.02.01
|
- 2024.02.01
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue