1. 데이터 수신전에는 알람이 울리지 않도록 함

This commit is contained in:
2025-07-01 23:02:33 +09:00
parent f480b508b7
commit 7e3f87542c
7 changed files with 102 additions and 52 deletions

View File

@@ -74,7 +74,7 @@ namespace vmsnet
try
{
PUB.KA1_SUM += (float)(PUB.Values[di1, di2, di3 - 1] / (Math.Pow(10, _ampdecpos)));
PUB.KA1_SUM += (float)(PUB._Values[di1, di2, di3 - 1] / (Math.Pow(10, _ampdecpos)));
}
catch { }
}
@@ -89,7 +89,7 @@ namespace vmsnet
try
{
PUB.KA2_SUM += (float)(PUB.Values[di1, di2, di3 - 1] / (Math.Pow(10, _ampdecpos)));
PUB.KA2_SUM += (float)(PUB._Values[di1, di2, di3 - 1] / (Math.Pow(10, _ampdecpos)));
}
catch { }
}

View File

@@ -15,7 +15,7 @@ namespace vmsnet
}
//셀정보자동저장
if (PUB.CONFIG.savetermcellinfo > 0)
if (PUB.sm != null && PUB.sm.Step == ESMStep.RUN && PUB.CONFIG.savetermcellinfo > 0)
{
var ts_saveCellinfo = DateTime.Now - PUB.LastWindowCellinfoSaved;
if (ts_saveCellinfo.TotalMinutes > PUB.CONFIG.savetermcellinfo)