-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome_module.cs
More file actions
82 lines (70 loc) · 2.83 KB
/
home_module.cs
File metadata and controls
82 lines (70 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using static SWAT__Toolbox.model_evaluation_module;
using static SWAT__Toolbox.observations_classes;
using static SWAT__Toolbox.parameters_module;
using static SWAT__Toolbox.run_model_module;
namespace SWAT__Toolbox
{
class home_module
{
public class project
{
public string project_name { get; set; }
public string project_path { get; set; }
public string txtinout { get; set; }
public ObservableCollection<parameter> current_parameters { get; set; }
public ObservableCollection<observation> current_observations { get; set; }
public DateTime created { get; set; }
public DateTime last_modified { get; set; }
public DateTime run_date_start { get; set; }
public DateTime run_date_end { get; set; }
public int run_warmup { get; set; }
public bool print_csv { get; set; }
public print_options print_settings { get; set; }
public run_options run_options { get; set; }
public sensitivity_analysis_settings sensivity_settings { get; set; }
public double best_sensitivity_nse { get; set; } = -1000;
public water_balance_results water_balance { get; set; }
public nutrient_balance_results nutrient_balance { get; set; }
public plant_results plant_summary { get; set; }
public int selected_eval_index { get; set; } = 0;
}
public class recent_project
{
public string project_name { get; set; }
public string project_path { get; set; }
public string txtinout { get; set; }
public DateTime last_modified { get; set; }
}
public class run_options
{
public string pet_method { get; set; }
public string routing_method { get; set; }
}
public class sensitivity_analysis_settings
{
public int seed { get; set; }
public string sensitivity_method { get; set; }
}
public static sensitivity_analysis_settings default_sensitivity_analysis_settings()
{
sensitivity_analysis_settings defaults = new sensitivity_analysis_settings();
defaults.seed = 1000;
defaults.sensitivity_method = "Sobol";
return defaults;
}
public static run_options default_run_options()
{
run_options defaults = new run_options();
defaults.pet_method = "Penman-Monteith";
defaults.routing_method = "Muskingum";
return defaults;
}
}
}