/
IGnssResult.cs
44 lines (38 loc) · 1.33 KB
/
IGnssResult.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
namespace Meadow.Peripherals.Sensors.Location.Gnss;
/// <summary>
///
/// </summary>
public interface IGnssResult
{
///// <summary>
///// Time the reading was generated.
///// </summary>
//DateTime TimeOfReading { get; set; }
// TODO: when we switch to .NET Core, put the implementation here with a
// default value of "GP";
/// <summary>
/// The first two letters (after the starting delimiter) comprise the
/// Talker ID, which describes the system in use, for instance "GL" means
/// that the data came from the GLONASS system. "BD" means BeiDou, etc.
///
/// Default value is "GP".
/// </summary>
// public string TalkerID { get; set; } = "GP";
string TalkerID { get; set; }
// TODO: implementation @ core switchover
///// <summary>
///// Retrieves the full name associated with the TalkerID via the
///// `KnownTalkerIDs` property of the Lookups class.
///// </summary>
//public string TalkerSystemName {
// get {
// string name = Lookups.KnownTalkerIDs[TalkerID];
// return (name != null) ? name : "";
// }
//}
/// <summary>
/// Retrieves the full name associated with the TalkerID via the
/// `KnownTalkerIDs` property of the Lookups class.
/// </summary>
public string TalkerSystemName { get; }
}