-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUISettingsContainer.cs
72 lines (56 loc) · 1.98 KB
/
UISettingsContainer.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
using AzimuthSuite.AzmCore;
using System;
using System.Drawing;
using System.Windows.Forms;
using UCNLDrivers;
namespace AzimuthSuite
{
[Serializable]
public class UISettingsContainer : SimpleSettingsContainer
{
#region Properties
public FormWindowState WState;
public Size WSize;
public Point WLocation;
public bool LimboVisible;
public bool HistoryVisible;
public bool NotesVisible;
public bool MiscInfoVisible;
public bool RemDistanceAzimuthVisible;
public bool RemDepthVisible;
public bool RemReverseAzimuthVisible;
public bool RemElevationVisible;
public bool RemMiscInfoVisible;
public bool RemLocationVisible;
public string VisualStyle;
public REMOTE_ADDR_Enum RemAddrToOutput;
public string OutPortName;
public string UDPOutAddrAndPort;
public string AZMPreferredPortName;
public string AUXGNSSCompasPreferredPortName;
#endregion
#region SimpleSettingsContainer
public override void SetDefaults()
{
WState = FormWindowState.Normal;
WLocation = new Point(0, 0);
LimboVisible = true;
HistoryVisible = true;
NotesVisible = true;
MiscInfoVisible = true;
RemDistanceAzimuthVisible = true;
RemDepthVisible = true;
RemReverseAzimuthVisible = true;
RemElevationVisible = true;
RemMiscInfoVisible = true;
RemLocationVisible = true;
VisualStyle = VisualStyleContainer.DefaultName;
RemAddrToOutput = REMOTE_ADDR_Enum.REM_ADDR_1;
OutPortName = "COM1";
UDPOutAddrAndPort = "255.255.255.255:28128";
AZMPreferredPortName = string.Empty;
AUXGNSSCompasPreferredPortName = string.Empty;
}
#endregion
}
}