-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusContainer.cs
64 lines (52 loc) · 1.73 KB
/
usContainer.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
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using UCNLDrivers;
using uNav.uNavCore;
namespace uNav
{
public class usContainer : SimpleSettingsContainer
{
#region Properties
public string SerialOutputPortName;
public string UDPOutputAddressAndPort;
public bool MarkedPointsVisible;
public bool BasePointsVisible;
public bool HistoryVisible;
public bool LegendVisible;
public bool NotesVisible;
public bool ExtraInfoVisible;
public bool FollowTarget;
public bool ShowMapTiles;
public REF_POINT_TYPE_Enum RefPointTypeToNavigate;
public bool SerialBypass;
public bool UDPBypass;
public Size WindowSize;
public Point WindowLocation;
public FormWindowState WindowState;
#endregion
public override void SetDefaults()
{
SerialOutputPortName = "COM1";
UDPOutputAddressAndPort = "255.255.255.255:28128";
MarkedPointsVisible = true;
BasePointsVisible = true;
HistoryVisible = true;
LegendVisible = true;
NotesVisible = true;
ExtraInfoVisible = true;
FollowTarget = true;
ShowMapTiles = true;
RefPointTypeToNavigate = REF_POINT_TYPE_Enum.AUX_GNSS;
SerialBypass = false;
UDPBypass = false;
WindowState = FormWindowState.Normal;
WindowSize = new Size(800, 600);
WindowLocation = new Point(0, 0);
}
}
}