Frm_trend.cs, 'Parallel.For(0, this.ChartListData.Length - 1' -> 'Parallel.For(0, this.ChartListData.Length' 변경

This commit is contained in:
shark219-hub
2025-06-23 17:35:45 +09:00
parent bdd929a984
commit 891b394854

View File

@@ -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);