From 891b394854d6fdc690e05d69056ee89335bbada2 Mon Sep 17 00:00:00 2001 From: shark219-hub Date: Mon, 23 Jun 2025 17:35:45 +0900 Subject: [PATCH] =?UTF-8?q?Frm=5Ftrend.cs,=20'Parallel.For(0,=20this.Chart?= =?UTF-8?q?ListData.Length=20-=201'=20->=20'Parallel.For(0,=20this.ChartLi?= =?UTF-8?q?stData.Length'=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Viewer/TrendViewer/Frm_trend.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Viewer/TrendViewer/Frm_trend.cs b/Viewer/TrendViewer/Frm_trend.cs index 7b3167c..63e2f69 100644 --- a/Viewer/TrendViewer/Frm_trend.cs +++ b/Viewer/TrendViewer/Frm_trend.cs @@ -361,7 +361,9 @@ namespace vmsnet var sttdate = PUB.TREND.graph_time_start; var enddate = PUB.TREND.graph_time_end; //각 파일 그룹별 대상 파일을 수집합니다. - Parallel.For(0, this.ChartListData.Length - 1, i => + /* 작성자: 이재웅, 작성일: 2025-06-23, 내용: 0 ~ this.ChartListData.Length - 1 */ + // 'this.ChartListData.Length - 1' -> 'this.ChartListData.Length' 변경 + Parallel.For(0, this.ChartListData.Length, i => { var DataFileName = $"DATAB{i + 1}"; if (ChartListData[i].ChannelList.Any() == true) this.ChartListData[i].FileList = PUB.DB.GetfileS(DataFileName, sttdate, enddate);