public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._order = dis.ReadByte();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._deadReckoningAlgorithm = dis.ReadUnsignedByte();
             for (int idx = 0; idx < this._otherParameters.Length; idx++)
             {
                 this._otherParameters[idx] = dis.ReadByte();
             }
             this._entityLinearAcceleration.Unmarshal(dis);
             this._entityAngularVelocity.Unmarshal(dis);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Exemplo n.º 3
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             for (int idx = 0; idx < this._otherParameters.Length; idx++)
             {
                 this._otherParameters[idx] = dis.ReadByte();
             }
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._beamDirection.Unmarshal(dis);
             this._azimuthBeamwidth = dis.ReadFloat();
             this._referenceSystem = dis.ReadFloat();
             this._padding1 = dis.ReadShort();
             this._padding2 = dis.ReadByte();
             this._ez = dis.ReadFloat();
             this._ex = dis.ReadFloat();
             this._phase = dis.ReadFloat();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }