private void Defaults() { DatabaseList = new TimeSeriesDatabaseList(); FullPeriodOfRecord = false; Range = new MonthDayRange(10, 1, 9, 30); this.AggregateOption = AggregateType.None; WaterYearBeginningMonth = 10;// october WaterYears = new int[] { 2001, 2002, 2003, 2004, 2005, 2006 }; ExceedanceLevels = new int[] { 10, 50, 90 }; ExceedanceAlsoPlotYear = false; ExceedancePlotYear = 2006; ExceedancePlotMax = false; ExceedancePlotMin = false; AnalysisType = AnalysisType.TimeSeries; }
/// <summary> /// Constructs time Series Explorer. /// </summary> /// <param name="databaseList"></param> /// <param name="tree">DataTable to represent the tree, must have label and level columns /// label is a string, level is an integer</param> public Explorer(TimeSeriesDatabaseList databaseList, DataTable tree) { input = new TimeSeriesSettings(); input.DatabaseList = databaseList; Init(tree); }