Ejemplo n.º 1
0
 public LocationInfo_r10 Decode(BitArrayInputStream input)
 {
     int nBits;
     LocationInfo_r10 _r = new LocationInfo_r10();
     _r.InitDefaults();
     BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2);
     _r.locationCoordinates_r10 = locationCoordinates_r10_Type.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         nBits = input.ReadBits(8);
         _r.horizontalVelocity_r10 = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         nBits = input.ReadBits(8);
         _r.gnss_TOD_msec_r10 = input.readOctetString(nBits);
     }
     return _r;
 }
Ejemplo n.º 2
0
 public LocationInfo_r10 Decode(BitArrayInputStream input)
 {
     int nBits;
     LocationInfo_r10 _r = new LocationInfo_r10();
     _r.InitDefaults();
     BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2);
     _r.locationCoordinates_r10 = locationCoordinates_r10_Type.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         nBits = input.ReadBits(8);
         _r.horizontalVelocity_r10 = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         nBits = input.ReadBits(8);
         _r.gnss_TOD_msec_r10 = input.readOctetString(nBits);
     }
     return _r;
 }