Esempio n. 1
0
 public Satellite(int nmeaId, string elevation, string aziumuth, string srn)
 {
     NmeaID        = nmeaId;
     Elevation     = string.IsNullOrEmpty(elevation) ? null : (float?)float.Parse(elevation);
     Azimuth       = string.IsNullOrEmpty(aziumuth) ? null : (float?)float.Parse(aziumuth);
     SRN           = string.IsNullOrEmpty(srn) ? null : (float?)float.Parse(srn);
     this.GnssType = GeoSpatialTypes.ParseNmeaId(NmeaID);
 }
Esempio n. 2
0
 public Satellite(int nmeaId, float?elevation, float?aziumuth, float?srn)
 {
     NmeaID        = nmeaId;
     Elevation     = elevation;
     Azimuth       = aziumuth;
     SRN           = srn;
     this.GnssType = GeoSpatialTypes.ParseNmeaId(NmeaID);
 }