Exemplo n.º 1
0
 public GPSData(global::RTC.GPSData source)
 {
     _Tm = Converter.RtcTimeToDateTime(source.tm);
     _TimeFromGPS = new ReactiveRTM.RTC.GPSTime(source.timeFromGPS);
     _Latitude = source.latitude;
     _Longitude = source.longitude;
     _Altitude = source.altitude;
     _HorizontalError = source.horizontalError;
     _VerticalError = source.verticalError;
     _Heading = source.heading;
     _HorizontalSpeed = source.horizontalSpeed;
     _VerticalSpeed = source.verticalSpeed;
     _NumSatellites = source.numSatellites;
     _FixType = (ReactiveRTM.RTC.GPSFixType)source.fixType;
 }
Exemplo n.º 2
0
 public GPSData()
 {
     _Tm = default(System.DateTime);
     _TimeFromGPS = new ReactiveRTM.RTC.GPSTime();
     _Latitude = new System.Double();
     _Longitude = new System.Double();
     _Altitude = new System.Double();
     _HorizontalError = new System.Double();
     _VerticalError = new System.Double();
     _Heading = new System.Double();
     _HorizontalSpeed = new System.Double();
     _VerticalSpeed = new System.Double();
     _NumSatellites = new System.Int16();
     _FixType = new ReactiveRTM.RTC.GPSFixType();
 }