- Printer - Test Send 버튼 눌렀을 때 현재 중량 전송
자리수 미세 조정 - 재전송 기능 OFF 후 사용 고속형은 재전송 카운트가 올라가지 않기 때문에 그 부분 수정함master
parent
5755987667
commit
ea9816f05f
|
@ -641,7 +641,9 @@ namespace ITC81DB_0H.Controls
|
|||
#region Printer
|
||||
sb.Append("0001");
|
||||
sb.Append(" Pass");
|
||||
sb.Append(" " + Helper.StringToDecimalPlaces("1234", this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces));
|
||||
sb.Append(this.ParentForm.ParentForm.PadLeft(9, Helper.DoubleToString
|
||||
(this.ParentForm.ParentForm.CurrentWeightData.Weight, this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces)));
|
||||
sb.Append(" ");
|
||||
sb.Append("1234567890");
|
||||
#endregion
|
||||
break;
|
||||
|
@ -1020,6 +1022,19 @@ namespace ITC81DB_0H.Controls
|
|||
byteArray[11] = Helper.ChecksumCalculator(byteArray);
|
||||
#endregion
|
||||
break;
|
||||
case (int)Define.E_CommMode.f22_Modbus:
|
||||
#region Modbus TCP(16. Write Multiple Registers)
|
||||
if (this.ParentForm.ParentForm.SystemConfig3.IsModbus == true)
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig2.ModbusTCPSelectFunction == (int)Define.E_ModbusFunction._16_WriteMultipleRegister)
|
||||
{
|
||||
byte[] sendData = this.ParentForm.ParentForm.Modbus.MakeTCPSendAllData(this.ParentForm.ParentForm.Transfer_22_Modbus_Write(), this.ParentForm.ParentForm.SystemConfig2.ModbusTCPStartAddress);
|
||||
|
||||
this.ParentForm.ParentForm.EthernetWeightDataForModbus(sendData);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
case 23:
|
||||
#region STD2
|
||||
sb.Append((char)0x02);
|
||||
|
|
|
@ -1038,7 +1038,9 @@ namespace ITC81DB_0H.Controls
|
|||
#region Printer
|
||||
sb.Append("0001");
|
||||
sb.Append(" Pass");
|
||||
sb.Append(" " + Helper.StringToDecimalPlaces("1234", this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces));
|
||||
sb.Append(this.ParentForm.ParentForm.PadLeft(9, Helper.DoubleToString
|
||||
(this.ParentForm.ParentForm.CurrentWeightData.Weight, this.ParentForm.ParentForm.SystemConfig1.DecimalPlaces)));
|
||||
sb.Append(" ");
|
||||
sb.Append("1234567890");
|
||||
#endregion
|
||||
break;
|
||||
|
|
|
@ -2829,6 +2829,7 @@ namespace ITC81DB_0H
|
|||
public class SystemConfigurationItem3
|
||||
{
|
||||
#region Field
|
||||
private bool m_IsModbus;
|
||||
private bool m_IsPart11;
|
||||
|
||||
private int m_MULTiJETSlaveAddressCOM1;
|
||||
|
@ -2847,6 +2848,11 @@ namespace ITC81DB_0H
|
|||
#endregion
|
||||
|
||||
#region Property
|
||||
public bool IsModbus
|
||||
{
|
||||
get { return this.m_IsModbus; }
|
||||
set { this.m_IsModbus = value; }
|
||||
}
|
||||
public bool IsPart11
|
||||
{
|
||||
get { return this.m_IsPart11; }
|
||||
|
@ -2884,6 +2890,7 @@ namespace ITC81DB_0H
|
|||
#region Method
|
||||
public void Initialization()
|
||||
{
|
||||
this.IsModbus = false;
|
||||
this.IsPart11 = false;
|
||||
|
||||
this.MULTiJETSlaveAddressCOM1 = 58;
|
||||
|
@ -2928,7 +2935,7 @@ namespace ITC81DB_0H
|
|||
public bool DummyBool26;
|
||||
public bool DummyBool27;
|
||||
public bool DummyBool28;
|
||||
public bool DummyBool29;
|
||||
public bool IsModbus;
|
||||
public bool IsPart11;
|
||||
|
||||
public int DummyInt1;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -654,6 +654,22 @@ namespace ITC81DB_0H.Forms
|
|||
if (this.labelUserID.Text != id)
|
||||
this.labelUserID.Text = id;
|
||||
}
|
||||
public void UpdateMainTitleDisplay(ProductItem pItem)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = pItem.Number.ToString();
|
||||
if (this.buttonProductNo.Text != value)
|
||||
this.buttonProductNo.Text = value;
|
||||
|
||||
value = pItem.Name;
|
||||
if (this.labelProductName.Text != value)
|
||||
this.labelProductName.Text = value;
|
||||
|
||||
value = pItem.LotNo;
|
||||
if (this.labelLotNo.Text != value)
|
||||
this.labelLotNo.Text = value;
|
||||
}
|
||||
public void UpdateEquipmentStatusDisplay(Define.E_EquipmentStatus status)
|
||||
{
|
||||
if (status == Define.E_EquipmentStatus.Start)
|
||||
|
@ -1429,7 +1445,12 @@ namespace ITC81DB_0H.Forms
|
|||
this.ParentForm.CurrentSystemStatus.CurrentDisplay = Define.E_DisplayStore.MainDisplay;
|
||||
this.ParentForm.SetDisplayMode(Define.E_DisplayMode.Normal);
|
||||
|
||||
this.ProductChange(this.ParentForm.SystemConfig1.ProductNumber);
|
||||
#region 순서변경 금지(품번 중량 변경)
|
||||
this.ParentForm.TransferCurrentProductItem(this.ParentForm.CurrentProductItem);
|
||||
this.RescaleControl(this.ParentForm.CurrentProductItem);
|
||||
this.UpdateMainTitleDisplay(this.ParentForm.CurrentProductItem);
|
||||
//this.SendCommProductChange(this.ParentForm.SystemConfig1.ProductNumber);
|
||||
#endregion
|
||||
|
||||
// Log - smartFile Close
|
||||
this.ParentForm.ChildFormMenu.FileClose();
|
||||
|
@ -1465,8 +1486,8 @@ namespace ITC81DB_0H.Forms
|
|||
|
||||
//this.CurrentDisplay = Define.E_MainDisplayStore.DisplayStartBarGraph;
|
||||
//this.DisplayBottomMain(this.CurrentDisplay);
|
||||
//this.MainDisplayWeightBigScreen.DisplayRefresh(status);
|
||||
//this.MainDisplayWeightSmall.DisplayRefresh(status);
|
||||
this.MainDisplayWeightBigScreen.DisplayRefresh(status);
|
||||
this.MainDisplayWeightSmall.DisplayRefresh(status);
|
||||
//this.MainDisplayMenu.DisplayRefresh(status);
|
||||
//this.MainDisplayStart.DisplayRefresh(status);
|
||||
//this.MainDisplayFeedback.DisplayRefresh(status);
|
||||
|
|
|
@ -12,6 +12,14 @@
|
|||
기본형 컨베어 고정밀센서 계량기
|
||||
*/
|
||||
|
||||
@ Ver 3.3.1 by CJY
|
||||
- 2024.02.07
|
||||
- Ver 3.3.0 Modify
|
||||
- Printer - Test Send 버튼 눌렀을 때 현재 중량 전송
|
||||
자리수 미세 조정
|
||||
- 재전송 기능 OFF 후 사용
|
||||
고속형은 재전송 카운트가 올라가지 않기 때문에 그 부분 수정함
|
||||
|
||||
@ Ver 3.3.0 by CJY
|
||||
- 2024.02.01
|
||||
- Ver 3.2.0 Modify
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue