Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2287 - 1

2
namespace GMap.NET
3
{
4
   using System;
5
 
6
   public struct GpsLog
7
   {
8
      public DateTime TimeUTC;
9
      public long SessionCounter;
10
      public double? Delta;
11
      public double? Speed;
12
      public double? SeaLevelAltitude;
13
      public double? EllipsoidAltitude;
14
      public short? SatellitesInView;
15
      public short? SatelliteCount;
16
      public PointLatLng Position;
17
      public double? PositionDilutionOfPrecision;
18
      public double? HorizontalDilutionOfPrecision;
19
      public double? VerticalDilutionOfPrecision;
20
      public FixQuality FixQuality;
21
      public FixType FixType;
22
      public FixSelection FixSelection;
23
 
24
      public override string ToString()
25
      {
26
         return string.Format("{0}: {1}", SessionCounter, TimeUTC);
27
      }
28
   }
29
 
30
   public enum FixQuality : int
31
   {
32
      Unknown=0,
33
      Gps,
34
      DGps
35
   }
36
   public enum FixType : int
37
   {
38
      Unknown=0,
39
      XyD,
40
      XyzD
41
   }
42
 
43
   public enum FixSelection : int
44
   {
45
      Unknown=0,
46
      Auto,
47
      Manual
48
   }
49
}