1. 알람 AUTO설정 時, 관련 오류수정 후 적용

2.    NullBalance 관련 요청사항(절대치로 비교) 적용

3.    알람목록의 '비고'컬럼에 알람수치 입력 기능 추가
This commit is contained in:
Arin(asus)
2025-06-21 11:24:18 +09:00
parent d4c6715811
commit b189af27c3
9 changed files with 241 additions and 219 deletions

View File

@@ -1589,12 +1589,12 @@ namespace vmsnet
}
}
private void DispCtrl1_OnAlamChangeL(int ch, COMM.EALAMRAISETYPE ison, COMM.EALAMTYPE atype, string AM, float value, float maxvalue, float minvalue)
private void DispCtrl1_OnAlamChangeL(int ch, COMM.EALAMRAISETYPE ison, COMM.EALAMTYPE atype, string AM, float value, float maxvalue, float minvalue, string remark)
{
TimeSpan ts = DateTime.Now - PUB.StartupTime;
if (ts.TotalSeconds < PUB.CONFIG.Startup_DelayTime_Alam) return;
bool rlt = PUB.Alarm.InsertData(DateTime.Now, ch, ison, value, atype, maxvalue, minvalue, AM, "");
bool rlt = PUB.Alarm.InsertData(DateTime.Now, ch, ison, value, atype, maxvalue, minvalue, AM, remark);
PUB.log.Add(AR.Log.ETYPE.NORMAL, "알람이 발생되었습니다(ch=" + ch.ToString() + ",type=" + ison.ToString() + ", value=" + value.ToString() + ", min=:" + minvalue.ToString() + ",max=" + maxvalue.ToString() + ",atype=" + atype.ToString() + " ,am=" + AM);
}