public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteShort((short)this._currentShaftRPMs); dos.WriteShort((short)this._orderedShaftRPMs); dos.WriteFloat((float)this._shaftRPMRateOfChange); } 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.WriteUnsignedShort((ushort)this._parameterIndex); dos.WriteShort((short)this._parameterValue); } 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.WriteUnsignedByte((byte)this._protocolVersion); dos.WriteUnsignedByte((byte)this._exerciseID); dos.WriteUnsignedByte((byte)this._pduType); dos.WriteUnsignedByte((byte)this._protocolFamily); dos.WriteUnsignedInt((uint)this._timestamp); dos.WriteUnsignedShort((ushort)this._length); dos.WriteShort((short)this._padding); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }