-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUISettingsContainer.cs
More file actions
96 lines (76 loc) · 2.82 KB
/
Copy pathUISettingsContainer.cs
File metadata and controls
96 lines (76 loc) · 2.82 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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 double SplitterDistanceRatio;
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 bool LocPressureVisible;
public bool LocDepthVisible;
public bool LocWaterTemperatureVisible;
public bool LocPitchRollVisible;
public bool LocLatLonVisible;
public bool LocSpeedVisible;
public bool LocCourseVisible;
public bool LocHeadingVisible;
public string VisualStyle;
public REMOTE_ADDR_Enum RemAddrToOutput;
public string OutPortName;
public string UDPOutAddrAndPort;
public string AZMPreferredPortName;
public string AUXGNSSCompasPreferredPortName;
public string MagneticCompassPreferredPortName;
#endregion
#region SimpleSettingsContainer
public override void SetDefaults()
{
WState = FormWindowState.Normal;
WLocation = new Point(0, 0);
SplitterDistanceRatio = 0.75;
LimboVisible = true;
HistoryVisible = true;
NotesVisible = true;
MiscInfoVisible = true;
RemDistanceAzimuthVisible = true;
RemDepthVisible = true;
RemReverseAzimuthVisible = true;
RemElevationVisible = true;
RemMiscInfoVisible = true;
RemLocationVisible = true;
LocPressureVisible = false;
LocDepthVisible = true;
LocWaterTemperatureVisible = true;
LocPitchRollVisible = true;
LocLatLonVisible = true;
LocSpeedVisible = true;
LocCourseVisible = true;
LocHeadingVisible = 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;
MagneticCompassPreferredPortName = string.Empty;
}
#endregion
}
}