diff --git a/Viewer/TrendViewer/Frm_trend.cs b/Viewer/TrendViewer/Frm_trend.cs index ecdda20..be2dd36 100644 --- a/Viewer/TrendViewer/Frm_trend.cs +++ b/Viewer/TrendViewer/Frm_trend.cs @@ -362,7 +362,7 @@ namespace vmsnet var enddate = PUB.TREND.graph_time_end; //각 파일 그룹별 대상 파일을 수집합니다. /* 작성자: 이재웅, 작성일: 2025-06-23, 내용: 0 ~ this.ChartListData.Length - 1 */ - // Parallel.For(시작_값, 종료_값, ...) 형태라고 했을 때, 루프는 '시작_값 ~ 종료_값' 임 + // Parallel.For(시작값, 종료값, ...) 형태라고 했을 때, 루프 진행은 '시작값 ~ 종료값-1' 실행된다. // 'this.ChartListData.Length - 1' -> 'this.ChartListData.Length' 변경 Parallel.For(0, this.ChartListData.Length, i => { @@ -499,6 +499,7 @@ namespace vmsnet //대상파일의 자료를 읽어와서 차트데이터를 구축한다. RecordCount = 0; + // Parallel.For(시작값, 종료값, ...) 형태라고 했을 때, 루프 진행은 '시작값 ~ 종료값-1' 실행된다. Parallel.For(0, this.ChartListData.Length, i => { ParseChDataToChart(i, ChartListData[i], DTCHLIST);