SetKA 함수 수정 / AlarmViewer, TrendViewer 중복실행 방지 추가

This commit is contained in:
shark219
2024-12-04 20:03:13 +09:00
parent 4f49b072dc
commit 4bb7dda9aa
12 changed files with 240 additions and 190 deletions

View File

@@ -944,7 +944,7 @@ namespace vmsnet.HMI
if (Item.)
{
Color cc;
if (Item.ismin) cc = Color.DarkBlue;
if (Item.ismin) cc = Color.Blue; //Color.DarkBlue;
else if (Item.ismax) cc = Color.Red;
else cc = BrColor;
@@ -1448,7 +1448,10 @@ namespace vmsnet.HMI
//끝부분에 KA 를 표시한다.
String Kaunit = grp._ampunit;// +grp._ampidx.ToString() + "/" + grp._ampdecpos.ToString();
String MaxKA = grp._amp.ToString("#0.00");
/* 작성자: 이재웅, 작성일: 2024-12-04, 작성내용: {전류량[KA] × 100} 변경 */
String MaxKA = (grp._amp * 10f).ToString("#0.00");
//Console.WriteLine($"{grp.이름} : {MaxKA} {grp._ampunit}");
//if (grp.이름 == "EL2500E") MaxKA = "0.01";