1. 환경설정에 window 파일 저장 주기 추가(단위:분)
2. window1(2).grp 파일 생성시 임시(.temp) 파일에 생성 후 원본을 덮어쓰기 함 (window 파일 손상시 프로그램에 치명적이므로 임시파일로 처리)
This commit is contained in:
@@ -9,10 +9,18 @@ namespace vmsnet
|
||||
{
|
||||
private void SPS_250ms()
|
||||
{
|
||||
if(VAR.isInit)
|
||||
if (VAR.isInit)
|
||||
{
|
||||
VAR.STR[EVarString.MCStatus] = PUB.sm.Step.ToString();
|
||||
}
|
||||
|
||||
//셀정보자동저장
|
||||
if (PUB.CONFIG.savetermcellinfo > 0)
|
||||
{
|
||||
var ts_saveCellinfo = DateTime.Now - PUB.LastWindowCellinfoSaved;
|
||||
if (ts_saveCellinfo.TotalMinutes > PUB.CONFIG.savetermcellinfo)
|
||||
PUB.RaiseRemoteCommandEvent(rCommand.SaveGroupClass);
|
||||
}
|
||||
}
|
||||
|
||||
private void SPS_Max()
|
||||
|
||||
Reference in New Issue
Block a user