-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsContainer.cs
83 lines (59 loc) · 2.14 KB
/
sContainer.cs
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
83
using UCNLDrivers;
namespace uNav
{
public class sContainer : SimpleSettingsContainer
{
#region Properties
public BaudRate InPortBaudrate;
public BaudRate SerialBypassBaudrate;
public int RWLT_Mode;
public int RWLT_DRating;
public bool IsAutoSalinity;
public double Salinity_PSU;
public bool IsAutoSoundSpeed;
public double SoundSpeed_mps;
public double WaterTemperature_C;
public double TargetMaxSpeed_mps;
public double TrackSmootherRangeThreshold_m;
public int TrackSmootherFIFOSize;
public double DHFilterRangeThreshold_m;
public int DHFilterFIFOSize;
public int CourseEstimatorFIFOSize;
public int TrackPointsToShow;
public int TileSizePx;
public bool IsEmuEnabled;
public string[] TileServers;
public bool EnableTilesDownloading;
#endregion
#region Methods
public override void SetDefaults()
{
InPortBaudrate = BaudRate.baudRate38400;
SerialBypassBaudrate = BaudRate.baudRate38400;
RWLT_Mode = 0;
RWLT_DRating = 0;
IsAutoSalinity = true;
Salinity_PSU = UCNLPhysics.PHX.PHX_FWTR_SALINITY_PSU;
IsAutoSoundSpeed = true;
SoundSpeed_mps = UCNLPhysics.PHX.PHX_FWTR_SOUND_SPEED_MPS;
WaterTemperature_C = 17;
TargetMaxSpeed_mps = 1.0;
TrackSmootherRangeThreshold_m = 100;
TrackSmootherFIFOSize = 4;
DHFilterRangeThreshold_m = 10;
DHFilterFIFOSize = 8;
CourseEstimatorFIFOSize = 4;
TrackPointsToShow = 512;
TileSizePx = 256;
IsEmuEnabled = true;
TileServers = new string[]
{
"https://a.tile.openstreetmap.org",
"https://b.tile.openstreetmap.org",
"https://c.tile.openstreetmap.org"
};
EnableTilesDownloading = false;
}
#endregion
}
}