| | |
| | | using AForge; |
| | | using System; |
| | | //using NPOI.SS.Formula.Functions; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | |
| | | |
| | | namespace Hydro.CommonBase |
| | | { |
| | | [Serializable] |
| | | public class CalcExt |
| | | { |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public int MaxThread { get; set; } = 4; |
| | | |
| | | /// <summary> |
| | | /// 多时刻 |
| | | /// </summary> |
| | | public int MultiTimes { get; set; } = 0; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否只显示最优解 |
| | |
| | | |
| | | public bool 是否新版本读取 { get; set; } = true; |
| | | public bool 是否枚举 { get; set; } = false; |
| | | public bool BreakSearchWhenOver { get; set; } = false; |
| | | |
| | | /// <summary> |
| | | /// 开启水力计算 |
| | |
| | | /// </summary> |
| | | public bool waterdistribute { get; set; } = false; |
| | | |
| | | |
| | | public bool 本地项目编译 { get; set; } = false; |
| | | /// <summary> |
| | | /// 0当量分配;1随机分配; |
| | | /// </summary> |
| | |
| | | ///// </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 |