Frm_trend.cs, 'Parallel.For(0, this.ChartListData.Length - 1' -> 'Parallel.For(0, this.ChartListData.Length' 변경
This commit is contained in:
@@ -361,7 +361,9 @@ namespace vmsnet
|
|||||||
var sttdate = PUB.TREND.graph_time_start;
|
var sttdate = PUB.TREND.graph_time_start;
|
||||||
var enddate = PUB.TREND.graph_time_end;
|
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}";
|
var DataFileName = $"DATAB{i + 1}";
|
||||||
if (ChartListData[i].ChannelList.Any() == true) this.ChartListData[i].FileList = PUB.DB.GetfileS(DataFileName, sttdate, enddate);
|
if (ChartListData[i].ChannelList.Any() == true) this.ChartListData[i].FileList = PUB.DB.GetfileS(DataFileName, sttdate, enddate);
|
||||||
|
|||||||
Reference in New Issue
Block a user