otPMS추가(테스트버젼)

This commit is contained in:
chi
2025-07-02 23:41:25 +09:00
parent cc4430a553
commit 4f4625b56b
42 changed files with 6901 additions and 3122 deletions

View File

@@ -1,4 +1,5 @@
using FCOMMON;
using AR;
using FCOMMON;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -25,12 +26,66 @@ namespace FPJ0000.OtConfirm
private void btOK_Click(object sender, EventArgs e)
{
if (radInput.Checked)
{
if (checkBox1.Checked)
{
var mv = (float)nudValue.Value;
if (mv == 0)
{
nudValue.Focus();
UTIL.MsgE("배수입력 상태입니다 0은 허용되지 않습니다");
return;
}
}
if (checkBox2.Checked)
{
var mv = (float)nudValuePMS.Value;
if (mv == 0)
{
nudValuePMS.Focus();
UTIL.MsgE("배수입력 상태입니다 0은 허용되지 않습니다");
return;
}
}
}
this.DialogResult = DialogResult.OK;
}
private void radInput_CheckedChanged(object sender, EventArgs e)
{
nudValue.Enabled = radInput.Checked;
nudValuePMS.Enabled = nudValue.Enabled;
}
bool warnmulti = false;
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (checkBox1.Checked)
{
if (warnmulti == false)
{
AR.UTIL.MsgI("요청시간에 입려한 값이 곱셈 처리 됩니다\n1.5를 입력하면 요청값*1.5가 됩니다");
warnmulti = true;
}
}
}
private void checkBox2_CheckedChanged(object sender, EventArgs e)
{
if (checkBox2.Checked)
{
if (warnmulti == false)
{
AR.UTIL.MsgI("요청시간에 입려한 값이 곱셈 처리 됩니다\n1.5를 입력하면 요청값*1.5가 됩니다");
warnmulti = true;
}
}
}
}
}