실시간트렌드뷰 Pub_RemoteCommandEvent 화면UI 오류에 대한 예외처리 추가

This commit is contained in:
shark219-hub
2024-12-13 18:42:24 +09:00
parent 9d580a0f98
commit 50d5ea91fc
11 changed files with 341 additions and 314 deletions

View File

@@ -153,10 +153,10 @@ namespace vmsnet.HMI
{
//값에따른 색상입히기
Color BarColor = Color.Green;
if (item.ismin) BarColor = Color.DeepSkyBlue;
if (item.ismin) BarColor = Color.Blue; //<-- Color.DeepSkyBlue;
else if (item.ismax) BarColor = Color.Tomato;
else if (item.onalamh ) BarColor = Color.Red;
else if (item.onalaml) BarColor = Color.Blue;
else if (item.onalaml) BarColor = Color.DeepSkyBlue; //<-- Color.Blue;
Single Percent = (100 * item.CurValue) / (YMax - YMin);