public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._variableDatumID); dos.WriteUnsignedInt((uint)this._variableDatums.Count); for (int idx = 0; idx < this._variableDatums.Count; idx++) { EightByteChunk aEightByteChunk = (EightByteChunk)this._variableDatums[idx]; aEightByteChunk.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._standardQuantity); dos.WriteUnsignedInt((uint)this._maximumQuantity); dos.WriteUnsignedByte((byte)this._standardQuantityReloadTime); dos.WriteUnsignedByte((byte)this._maximumQuantityReloadTime); dos.WriteUnsignedByte((byte)this._fuelMeasurementUnits); dos.WriteUnsignedByte((byte)this._fuelType); dos.WriteUnsignedByte((byte)this._fuelLocation); dos.WriteUnsignedByte((byte)this._padding); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._recordID); dos.WriteUnsignedInt((uint)this._recordSetSerialNumber); dos.WriteUnsignedShort((ushort)this._recordLength); dos.WriteUnsignedShort((ushort)this._recordCount); dos.WriteUnsignedShort((ushort)this._recordValues); dos.WriteUnsignedByte((byte)this._pad4); } 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.WriteUnsignedInt((uint)this._recordType); dos.WriteUnsignedShort((ushort)this._recordLength); dos.WriteUnsignedShort((ushort)this._padding); dos.WriteUnsignedByte((byte)this._emitterNumber); dos.WriteUnsignedByte((byte)this._beamNumber); dos.WriteUnsignedByte((byte)this._stateIndicator); dos.WriteUnsignedByte((byte)this._padding2); dos.WriteFloat((float)this._falseTargetCount); dos.WriteFloat((float)this._walkSpeed); dos.WriteFloat((float)this._walkAcceleration); dos.WriteFloat((float)this._maximumWalkDistance); dos.WriteFloat((float)this._keepTime); dos.WriteFloat((float)this._echoSpacing); dos.WriteUnsignedInt((uint)this._padding3); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._fixedDatumID); dos.WriteUnsignedInt((uint)this._fixedDatumValue); } 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.WriteUnsignedInt((uint)this._recordType); dos.WriteUnsignedShort((ushort)this._recordLength); dos.WriteUnsignedShort((ushort)this._padding); dos.WriteUnsignedByte((byte)this._emitterNumber); dos.WriteUnsignedByte((byte)this._beamNumber); dos.WriteUnsignedByte((byte)this._stateIndicator); dos.WriteUnsignedInt((uint)this._padding2); dos.WriteFloat((float)this._azimuthOffset); dos.WriteFloat((float)this._azimuthWidth); dos.WriteFloat((float)this._azimuthPullRate); dos.WriteFloat((float)this._azimuthPullAcceleration); dos.WriteFloat((float)this._elevationOffset); dos.WriteFloat((float)this._elevationWidth); dos.WriteFloat((float)this._elevationPullRate); dos.WriteFloat((float)this._elevationPullAcceleration); dos.WriteUnsignedInt((uint)this._padding3); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedInt((uint)this._requestID); dos.WriteUnsignedInt((uint)this._requestStatus); dos.WriteUnsignedInt((uint)this._fixedDatums.Count); dos.WriteUnsignedInt((uint)this._variableDatums.Count); for (int idx = 0; idx < this._fixedDatums.Count; idx++) { FixedDatum aFixedDatum = (FixedDatum)this._fixedDatums[idx]; aFixedDatum.Marshal(dos); } for (int idx = 0; idx < this._variableDatums.Count; idx++) { VariableDatum aVariableDatum = (VariableDatum)this._variableDatums[idx]; aVariableDatum.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._fixedDatumIDList.Count); dos.WriteUnsignedInt((uint)this._variableDatumIDList.Count); for (int idx = 0; idx < this._fixedDatumIDList.Count; idx++) { UnsignedDISInteger aUnsignedDISInteger = (UnsignedDISInteger)this._fixedDatumIDList[idx]; aUnsignedDISInteger.Marshal(dos); } for (int idx = 0; idx < this._variableDatumIDList.Count; idx++) { UnsignedDISInteger aUnsignedDISInteger = (UnsignedDISInteger)this._variableDatumIDList[idx]; aUnsignedDISInteger.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._variableDatumID); dos.WriteUnsignedInt((uint)this._variableDatums.Count); for (int idx = 0; idx < this._variableDatums.Count; idx++) { EightByteChunk aEightByteChunk = (EightByteChunk)this._variableDatums[idx]; aEightByteChunk.Marshal(dos); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedInt((uint)this._requestID); dos.WriteUnsignedByte((byte)this._requiredReliabilityService); dos.WriteUnsignedShort((ushort)this._pad1); dos.WriteUnsignedByte((byte)this._pad2); dos.WriteUnsignedShort((ushort)this._eventType); dos.WriteUnsignedInt((uint)this._time); dos.WriteUnsignedInt((uint)this._recordIDs.Count); for (int idx = 0; idx < this._recordIDs.Count; idx++) { FourByteChunk aFourByteChunk = (FourByteChunk)this._recordIDs[idx]; aFourByteChunk.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedByte((byte)this._requiredReliabilityService); dos.WriteUnsignedShort((ushort)this._pad1); dos.WriteUnsignedByte((byte)this._pad2); dos.WriteUnsignedInt((uint)this._requestID); } 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.WriteUnsignedInt((uint)this._recordType); dos.WriteUnsignedShort((ushort)this._recordLength); dos.WriteUnsignedShort((ushort)this._padding); dos.WriteUnsignedShort((ushort)this._beamAntennaParameterList.Count); dos.WriteUnsignedShort((ushort)this._directedEnergyTargetEnergyDepositionRecordList.Count); for (int idx = 0; idx < this._beamAntennaParameterList.Count; idx++) { BeamAntennaPattern aBeamAntennaPattern = (BeamAntennaPattern)this._beamAntennaParameterList[idx]; aBeamAntennaPattern.Marshal(dos); } for (int idx = 0; idx < this._directedEnergyTargetEnergyDepositionRecordList.Count; idx++) { DirectedEnergyTargetEnergyDeposition aDirectedEnergyTargetEnergyDeposition = (DirectedEnergyTargetEnergyDeposition)this._directedEnergyTargetEnergyDepositionRecordList[idx]; aDirectedEnergyTargetEnergyDeposition.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._entityID.Marshal(dos); dos.WriteUnsignedShort((ushort)this._communicationsDeviceID); dos.WriteUnsignedShort((ushort)this._encodingScheme); dos.WriteUnsignedShort((ushort)this._tdlType); dos.WriteUnsignedInt((uint)this._sampleRate); dos.WriteUnsignedShort((ushort)this._data.Length); dos.WriteUnsignedShort((ushort)this._samples); dos.WriteByte(this._data); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._recordType); dos.WriteUnsignedShort((ushort)this._recordLength); dos.WriteUnsignedShort((ushort)this._padding); this._damageLocation.Marshal(dos); dos.WriteFloat((float)this._damageDiameter); dos.WriteFloat((float)this._temperature); dos.WriteUnsignedByte((byte)this._componentIdentification); dos.WriteUnsignedByte((byte)this._componentDamageStatus); dos.WriteUnsignedByte((byte)this._componentVisualDamageStatus); dos.WriteUnsignedByte((byte)this._componentVisualSmokeColor); this._fireEventID.Marshal(dos); dos.WriteUnsignedShort((ushort)this._padding2); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._environmentType); dos.WriteUnsignedByte((byte)this._length); dos.WriteUnsignedByte((byte)this._index); dos.WriteUnsignedByte((byte)this._padding1); dos.WriteUnsignedByte((byte)this._geometry); dos.WriteUnsignedByte((byte)this._padding2); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._originatingSimulationAddress.Marshal(dos); dos.WriteInt((int)this._padding1); dos.WriteShort((short)this._padding2); dos.WriteUnsignedByte((byte)this._attributeRecordPduType); dos.WriteUnsignedByte((byte)this._attributeRecordProtocolVersion); dos.WriteUnsignedInt((uint)this._masterAttributeRecordType); dos.WriteUnsignedByte((byte)this._actionCode); dos.WriteByte((byte)this._padding3); dos.WriteUnsignedShort((ushort)this._numberAttributeRecordSet); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._entityID.Marshal(dos); dos.WriteByte((byte)this._padding1); dos.WriteUnsignedByte((byte)this._variableParameters.Count); this._entityLinearVelocity.Marshal(dos); this._entityLocation.Marshal(dos); this._entityOrientation.Marshal(dos); dos.WriteUnsignedInt((uint)this._entityAppearance); for (int idx = 0; idx < this._variableParameters.Count; idx++) { VariableParameter aVariableParameter = (VariableParameter)this._variableParameters[idx]; aVariableParameter.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedShort((ushort)this._recordType); dos.WriteUnsignedShort((ushort)this._recordLength); dos.WriteUnsignedInt((uint)this._recordSpecificField); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedShort((ushort)this._encodingScheme); dos.WriteUnsignedShort((ushort)this._tdlType); dos.WriteUnsignedInt((uint)this._sampleRate); dos.WriteShort((short)((this._dataLength == 0 && this._data.Length > 0) ? this._data.Length * 8 : this._dataLength)); //09062009 Post processed. If value is zero then default to every byte will use all 8 bits dos.WriteShort((short)this._samples); dos.WriteByte(this._data); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._orginatingEntityID.Marshal(dos); this._recevingEntityID.Marshal(dos); dos.WriteUnsignedInt((uint)this._requestID); dos.WriteUnsignedByte((byte)this._requiredReliabilityService); dos.WriteUnsignedByte((byte)this._tranferType); this._transferEntityID.Marshal(dos); dos.WriteUnsignedByte((byte)this._recordSets.Count); for (int idx = 0; idx < this._recordSets.Count; idx++) { RecordSet aRecordSet = (RecordSet)this._recordSets[idx]; aRecordSet.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._entityID.Marshal(dos); dos.WriteUnsignedShort((ushort)this._communicationsDeviceID); dos.WriteUnsignedShort((ushort)this._encodingScheme); dos.WriteUnsignedShort((ushort)this._tdlType); dos.WriteUnsignedInt((uint)this._sampleRate); dos.WriteUnsignedShort((ushort)this._data.Length); dos.WriteUnsignedShort((ushort)this._samples); dos.WriteByte(this._data); } 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.WriteUnsignedByte((byte)this._pduLength); dos.WriteUnsignedShort((ushort)this._pduStatus); dos.WriteUnsignedByte((byte)this._padding); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteFloat((float)this._erp); dos.WriteFloat((float)this._frequency); dos.WriteFloat((float)this._pgrf); dos.WriteFloat((float)this._pulseWidth); dos.WriteUnsignedInt((uint)this._burstLength); dos.WriteUnsignedByte((byte)this._applicableModes); for (int idx = 0; idx < this._systemSpecificData.Length; idx++) { dos.WriteUnsignedByte(this._systemSpecificData[idx]); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedByte((byte)this._segmentNumber); this._segmentAppearance.Marshal(dos); this._location.Marshal(dos); this._orientation.Marshal(dos); dos.WriteUnsignedShort((ushort)this._segmentLength); dos.WriteUnsignedShort((ushort)this._segmentWidth); dos.WriteUnsignedShort((ushort)this._segmentHeight); dos.WriteUnsignedShort((ushort)this._segmentDepth); dos.WriteUnsignedInt((uint)this._pad1); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._realWorldTime.Marshal(dos); this._simulationTime.Marshal(dos); dos.WriteUnsignedInt((uint)this._requestID); } 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; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedShort((ushort)this._acknowledgeFlag); dos.WriteUnsignedShort((ushort)this._responseFlag); dos.WriteUnsignedInt((uint)this._requestID); } 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.WriteFloat((float)this._erp); dos.WriteFloat((float)this._frequency); dos.WriteFloat((float)this._pgrf); dos.WriteFloat((float)this._pulseWidth); dos.WriteUnsignedInt((uint)this._burstLength); dos.WriteUnsignedByte((byte)this._applicableModes); dos.WriteUnsignedShort((ushort)this._pad2); dos.WriteUnsignedByte((byte)this._pad3); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._objectID.Marshal(dos); this._referencedObjectID.Marshal(dos); dos.WriteUnsignedShort((ushort)this._updateNumber); dos.WriteUnsignedByte((byte)this._forceID); dos.WriteUnsignedByte((byte)this._modifications); this._objectType.Marshal(dos); this._objectLocation.Marshal(dos); this._objectOrientation.Marshal(dos); dos.WriteDouble((double)this._objectAppearance); this._requesterID.Marshal(dos); this._receivingID.Marshal(dos); dos.WriteUnsignedInt((uint)this._pad2); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { this._realWorldTime.Marshal(dos); dos.WriteUnsignedByte((byte)this._reason); dos.WriteUnsignedByte((byte)this._frozenBehavior); dos.WriteShort((short)this._padding1); dos.WriteUnsignedInt((uint)this._requestID); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }