cloudflight
2024-06-10 07ffb6029da759a8ce4498207cfa5f6d069c44b1
Hydraulic/Hydro.CommonBase/Helper/CalcExt.cs
@@ -1,4 +1,5 @@
using AForge;
using System;
//using NPOI.SS.Formula.Functions;
using System.Collections.Generic;
using System.ComponentModel;
@@ -6,6 +7,7 @@
namespace Hydro.CommonBase
{
    [Serializable]
    public class CalcExt
    {
        /// <summary>
@@ -38,10 +40,7 @@
        /// </summary>
        public int MaxThread { get; set; } = 4;
        /// <summary>
        /// 多时刻
        /// </summary>
        public int MultiTimes { get; set; } = 0;
        /// <summary>
        /// 是否只显示最优解
@@ -167,15 +166,32 @@
        ///// </summary>
        //public int[] ChildSolutionsThread = new int[0];
        /// <summary>
        /// 模型的计算时刻,-1则计算该模型的所有时刻,n则表示计算该模型的第n个时刻(n>=0);
        /// 最终会生成影响TimeStep和TimeDuration的值,从而决定PeriodCount的值,实际生效的为PeriodCount
        /// </summary>
        public int MultiTimes { get; set; } = 0;
        public int EPAPeriodCount { get; set; }
        /// <summary>
        /// 程序计算的步长,单位是分钟
        /// </summary>
        public int TimeStep;
        /// <summary>
        /// 程序计算的总时长,单位是分钟
        /// </summary>
        public int TimeDuration;
        /// <summary>
        /// 程序的阶段数,即程序计算的总时长/程序计算的步长
        /// </summary>
        public int PeriodCount;
        //public string SolutionSaveName;
        /// <summary>
        /// 开始的时间,主要用来显示,单位是分钟
        /// </summary>
        public int TimeStart { get; set; }
        public string[] Branchs { get; set; }
    }
    //public class Solution