Microscopic Traffic Simulator
Settings.cs
Go to the documentation of this file.
2 
4 {
9  {
13  public string LastGeometricTopologyPath
14  {
15  get { return Properties.Settings.Default.LastGeometricTopologyPath; }
16  set { Properties.Settings.Default.LastGeometricTopologyPath = value; }
17  }
18 
22  public int PreviousSeed
23  {
24  get { return Properties.Settings.Default.PreviousSeed; }
25  set { Properties.Settings.Default.PreviousSeed = value; }
26  }
27 
31  public bool PreviousSeedNull
32  {
33  get { return Properties.Settings.Default.PreviousSeedNull; }
34  set { Properties.Settings.Default.PreviousSeedNull = value; }
35  }
36 
40  public bool IsSeedSettingAutomatic
41  {
42  get { return Properties.Settings.Default.IsSeedSettingAutomatic; }
43  set { Properties.Settings.Default.IsSeedSettingAutomatic = value; }
44  }
45 
49  public bool IsPreviousSeedUsed
50  {
51  get { return Properties.Settings.Default.IsPreviousSeedUsed; }
52  set { Properties.Settings.Default.IsPreviousSeedUsed = value; }
53  }
54 
58  public string PathToParameters
59  {
60  get { return Properties.Settings.Default.PathToParameters; }
61  set { Properties.Settings.Default.PathToParameters = value; }
62  }
63 
67  public void Save()
68  {
69  Properties.Settings.Default.Save();
70  }
71  }
72 }
string LastGeometricTopologyPath
Path of last opened geometric topology file.
Definition: Settings.cs:14
Class implementing ISetting interface using settings of visual studio application.
Definition: Settings.cs:8
Interface of application settings.
Definition: ISettings.cs:6
void Save()
Save settings.
Definition: Settings.cs:67
bool IsSeedSettingAutomatic
Determines whether the seed is initialized automatically.
Definition: Settings.cs:41
int PreviousSeed
Seed used in the previous simulation run.
Definition: Settings.cs:23
string PathToParameters
Path to last used file with parameters.
Definition: Settings.cs:59
bool PreviousSeedNull
Determines whether any simulation was performed (whether any previous seed is available).
Definition: Settings.cs:32
bool IsPreviousSeedUsed
Determines whether the seed from previous simulation run is used.
Definition: Settings.cs:50