public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedByte((byte)this._deadReckoningAlgorithm); for (int idx = 0; idx < this._otherParameters.Length; idx++) { dos.WriteByte(this._otherParameters[idx]); } this._entityLinearAcceleration.Marshal(dos); this._entityAngularVelocity.Marshal(dos); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { for (int idx = 0; idx < this._otherParameters.Length; idx++) { dos.WriteByte(this._otherParameters[idx]); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { this._beamDirection.Marshal(dos); dos.WriteFloat((float)this._azimuthBeamwidth); dos.WriteFloat((float)this._referenceSystem); dos.WriteShort((short)this._padding1); dos.WriteByte((byte)this._padding2); dos.WriteFloat((float)this._ez); dos.WriteFloat((float)this._ex); dos.WriteFloat((float)this._phase); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteByte((byte)this._order); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }