-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingsContainer.cs
67 lines (44 loc) · 1.52 KB
/
SettingsContainer.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
using AzimuthSuite.AzmCore;
using UCNLDrivers;
using UCNLPhysics;
namespace AzimuthSuite
{
public class SettingsContainer : SimpleSettingsContainer
{
#region Properties
public bool UseAUXGNSSCompas;
public BaudRate AUXGNSSCompasBaudrate;
public BaudRate SerialOutputPortBaudrate;
public double HeadingAdjust_deg;
public double LongitudalOffset_m;
public double TransverseOffset_m;
public double Salinity_PSU;
public ushort AddressMask;
public double MaxDist_m;
public string CustomLabel;
public string CultureOverride;
public bool SpecControlsEnabled;
public bool IsUseMagneticCompassOnly;
#endregion
#region Constructor
#endregion
#region Methods
public override void SetDefaults()
{
UseAUXGNSSCompas = false;
AUXGNSSCompasBaudrate = BaudRate.baudRate38400;
SerialOutputPortBaudrate = BaudRate.baudRate9600;
HeadingAdjust_deg = 0;
LongitudalOffset_m = 0;
TransverseOffset_m = 0;
Salinity_PSU = PHX.PHX_FWTR_SALINITY_PSU;
AddressMask = 1;
MaxDist_m = 1000;
IsUseMagneticCompassOnly = false;
CustomLabel = string.Empty;
CultureOverride = string.Empty;
SpecControlsEnabled = false;
}
#endregion
}
}