- 최대속도 120까지 표시되도록 수정

- Hidden 버튼 누르면 최대속도 200으로 변경
master
DESKTOP-999R8N3\CJY 2025-07-08 17:48:13 +09:00
parent 1a86e33f6d
commit ddf9005245
5 changed files with 20 additions and 3 deletions

View File

@ -27,6 +27,7 @@ namespace ITC81DB_2H.Controls
//private ProductItem SelectedProductItem;
//private JudgmentSetItem SelectedJudgmentSetItem;
private JudgmentSetItem CaptureJudgmentSetItem;
private int MaxSpeed;
#endregion
#region Constructor
@ -95,6 +96,7 @@ namespace ITC81DB_2H.Controls
{
this.RefrenceADC = "0";
this.CaptureJudgmentSetItem = new JudgmentSetItem();
this.MaxSpeed = 120;
this.ControlInitializeAsEquipmentType();
this.ControlInitialize();
@ -133,6 +135,11 @@ namespace ITC81DB_2H.Controls
this.smartDraw.ChartDrawStep = 1;
}
public void DisplayHiddenMenu(bool bValue)
{
this.MaxSpeed = 200;
}
private void ControlInitializeAsEquipmentType()
{
@ -468,6 +475,7 @@ namespace ITC81DB_2H.Controls
}
this.IsAutoMode(false);
this.MaxSpeed = 120;
this.smartDraw.PutDataAllClear();
//// Read Calibration Constant
@ -665,10 +673,10 @@ namespace ITC81DB_2H.Controls
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > 100)
if (myKeyPad.doubleValue < 1 || myKeyPad.doubleValue > this.MaxSpeed)
{
// 입력범위를 확인하세요
message = "1~100";
message = "1~" + this.MaxSpeed.ToString();
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig1.Language, message);
myMsg.ShowDialog();
}

View File

@ -1352,6 +1352,9 @@ namespace ITC81DB_2H.Forms
case Define.E_DisplayStore.EquipUser:
this.CenterEquipUser.DisplayHiddenMenu(true);
break;
case Define.E_DisplayStore.SystemJudgment:
this.CenterSystemJudgment.DisplayHiddenMenu(true);
break;
case Define.E_DisplayStore.EquipHelp:
DialogFormPasswordKeyPad password = new DialogFormPasswordKeyPad(8, this.ParentForm.SystemConfig1.Language, this.ParentForm.CurrentSystemStatus.CurrentUserPasswordType);
DialogResult dialogResult = password.ShowDialog();

View File

@ -13,6 +13,12 @@
기본형 컨베어 고정밀센서 계량기
*/
@ Ver 3.4.1 by CJY
- 2025.07.08
- Ver 3.4.0 Modify
- 최대속도 120까지 표시되도록 수정
- Hidden 버튼 누르면 최대속도 200으로 변경
@ Ver 3.4.0 by CJY
- 2025.05.30
- Ver 3.3.7 Modify