public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._numberOfRecords = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfRecords; idx++) { FourByteChunk anX = new FourByteChunk(); anX.Unmarshal(dis); this._records.Add(anX); } ; } 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._beamDataLength = dis.ReadUnsignedByte(); this._beamIDNumber = dis.ReadUnsignedByte(); this._beamParameterIndex = dis.ReadUnsignedShort(); this._fundamentalParameterData.Unmarshal(dis); this._beamFunction = dis.ReadUnsignedByte(); this._numberOfTrackJamTargets = dis.ReadUnsignedByte(); this._highDensityTrackJam = dis.ReadUnsignedByte(); this._pad4 = dis.ReadUnsignedByte(); this._jammingModeSequence = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfTrackJamTargets; idx++) { TrackJamTarget anX = new TrackJamTarget(); anX.Unmarshal(dis); this._trackJamTargets.Add(anX); } ; } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._realWorldTime.Unmarshal(dis); this._simulationTime.Unmarshal(dis); this._requestID = dis.ReadUnsignedInt(); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._realWorldTime.Unmarshal(dis); this._reason = dis.ReadUnsignedByte(); this._frozenBehavior = dis.ReadUnsignedByte(); this._requiredReliablityService = dis.ReadUnsignedByte(); this._pad1 = dis.ReadUnsignedByte(); this._requestID = dis.ReadUnsignedInt(); } 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._recordType = dis.ReadUnsignedInt(); this._recordLength = dis.ReadUnsignedShort(); this._ioStatus = dis.ReadUnsignedByte(); this._ioLinkType = dis.ReadUnsignedByte(); this._ioEffect.Unmarshal(dis); this._ioEffectDutyCycle = dis.ReadUnsignedByte(); this._ioEffectDuration = dis.ReadUnsignedShort(); this._ioProcess = dis.ReadUnsignedShort(); this._padding = dis.ReadUnsignedShort(); } 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._segmentNumber = dis.ReadUnsignedByte(); this._segmentAppearance.Unmarshal(dis); this._location.Unmarshal(dis); this._orientation.Unmarshal(dis); this._segmentLength = dis.ReadUnsignedShort(); this._segmentWidth = dis.ReadUnsignedShort(); this._segmentHeight = dis.ReadUnsignedShort(); this._segmentDepth = dis.ReadUnsignedShort(); this._pad1 = dis.ReadUnsignedInt(); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._protocolVersion = dis.ReadUnsignedByte(); this._exerciseID = dis.ReadUnsignedByte(); this._pduType = dis.ReadUnsignedByte(); this._protocolFamily = dis.ReadUnsignedByte(); this._timestamp = dis.ReadUnsignedInt(); this._length = dis.ReadUnsignedShort(); this._padding = dis.ReadShort(); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._requiredReliabilityService = dis.ReadUnsignedByte(); this._pad1 = dis.ReadUnsignedShort(); this._pad2 = dis.ReadUnsignedByte(); this._requestID = dis.ReadUnsignedInt(); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._environmentType = dis.ReadUnsignedInt(); this._length = dis.ReadUnsignedByte(); this._index = dis.ReadUnsignedByte(); this._padding1 = dis.ReadUnsignedByte(); this._geometry = dis.ReadUnsignedByte(); this._padding2 = dis.ReadUnsignedByte(); } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._recordType = dis.ReadUnsignedInt(); this._recordLength = dis.ReadUnsignedShort(); this._padding = dis.ReadUnsignedShort(); this._targetSpotLocation.Unmarshal(dis); this._targetSpotEntityLocation.Unmarshal(dis); this._targetSpotVelocity.Unmarshal(dis); this._targetSpotAcceleration.Unmarshal(dis); this._targetEntityID.Unmarshal(dis); this._targetComponentID = dis.ReadUnsignedByte(); this._SpotShape = dis.ReadUnsignedByte(); this._BeamSpotXSecSemiMajorAxis = dis.ReadFloat(); this._BeamSpotCrossSectionSemiMinorAxis = dis.ReadFloat(); this._BeamSpotCrossSectionOrientAngle = dis.ReadFloat(); } 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._protocolVersion = dis.ReadUnsignedByte(); this._exerciseID = dis.ReadUnsignedByte(); this._pduType = dis.ReadUnsignedByte(); this._protocolFamily = dis.ReadUnsignedByte(); this._timestamp = dis.ReadUnsignedInt(); this._pduLength = dis.ReadUnsignedByte(); this._pduStatus = dis.ReadUnsignedShort(); this._padding = dis.ReadUnsignedByte(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._requiredReliabilityService = dis.ReadUnsignedByte(); this._pad1 = dis.ReadUnsignedShort(); this._pad2 = dis.ReadUnsignedByte(); this._requestID = dis.ReadUnsignedInt(); this._actionID = dis.ReadUnsignedInt(); this._numberOfFixedDatumRecords = dis.ReadUnsignedInt(); this._numberOfVariableDatumRecords = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfFixedDatumRecords; idx++) { FixedDatum anX = new FixedDatum(); anX.Unmarshal(dis); this._fixedDatumRecords.Add(anX); } for (int idx = 0; idx < this.NumberOfVariableDatumRecords; idx++) { VariableDatum anX = new VariableDatum(); anX.Unmarshal(dis); this._variableDatumRecords.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._requestID = dis.ReadUnsignedInt(); this._actionID = dis.ReadUnsignedInt(); this._fixedDatumRecordCount = dis.ReadUnsignedInt(); this._variableDatumRecordCount = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.FixedDatumRecordCount; idx++) { FixedDatum anX = new FixedDatum(); anX.Unmarshal(dis); this._fixedDatums.Add(anX); } for (int idx = 0; idx < this.VariableDatumRecordCount; idx++) { VariableDatum anX = new VariableDatum(); anX.Unmarshal(dis); this._variableDatums.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._eventType = dis.ReadUnsignedInt(); this._padding1 = dis.ReadUnsignedInt(); this._numberOfFixedDatumRecords = dis.ReadUnsignedInt(); this._numberOfVariableDatumRecords = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfFixedDatumRecords; idx++) { FixedDatum anX = new FixedDatum(); anX.Unmarshal(dis); this._fixedDatums.Add(anX); } for (int idx = 0; idx < this.NumberOfVariableDatumRecords; idx++) { VariableDatum anX = new VariableDatum(); anX.Unmarshal(dis); this._variableDatums.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._fixedDatumID = dis.ReadUnsignedInt(); this._fixedDatumValue = dis.ReadUnsignedInt(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._requiredReliabilityService = dis.ReadUnsignedByte(); this._pad1 = dis.ReadUnsignedShort(); this._pad2 = dis.ReadUnsignedByte(); this._requestID = dis.ReadUnsignedInt(); this._timeInterval = dis.ReadUnsignedInt(); this._numberOfFixedDatumRecords = dis.ReadUnsignedInt(); this._numberOfVariableDatumRecords = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfFixedDatumRecords; idx++) { FixedDatum anX = new FixedDatum(); anX.Unmarshal(dis); this._fixedDatumRecords.Add(anX); } ; for (int idx = 0; idx < this.NumberOfVariableDatumRecords; idx++) { VariableDatum anX = new VariableDatum(); anX.Unmarshal(dis); this._variableDatumRecords.Add(anX); } ; } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._minefieldID.Unmarshal(dis); this._requestingEntityID.Unmarshal(dis); this._minefieldSequenceNumbeer = dis.ReadUnsignedShort(); this._requestID = dis.ReadUnsignedByte(); this._pduSequenceNumber = dis.ReadUnsignedByte(); this._numberOfPdus = dis.ReadUnsignedByte(); this._numberOfMinesInThisPdu = dis.ReadUnsignedByte(); this._numberOfSensorTypes = dis.ReadUnsignedByte(); this._pad2 = dis.ReadUnsignedByte(); this._dataFilter = dis.ReadUnsignedInt(); this._mineType.Unmarshal(dis); for (int idx = 0; idx < this.NumberOfSensorTypes; idx++) { TwoByteChunk anX = new TwoByteChunk(); anX.Unmarshal(dis); this._sensorTypes.Add(anX); } this._pad3 = dis.ReadUnsignedByte(); for (int idx = 0; idx < this.NumberOfMinesInThisPdu; idx++) { Vector3Float anX = new Vector3Float(); anX.Unmarshal(dis); this._mineLocation.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._variableDatumID = dis.ReadUnsignedInt(); this._variableDatumLength = dis.ReadUnsignedInt(); this._variableDatumBits = dis.ReadUnsignedInt(); this._padding = dis.ReadUnsignedInt(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._requestID = dis.ReadUnsignedInt(); this._requiredReliabilityService = dis.ReadUnsignedByte(); this._pad1 = dis.ReadUnsignedShort(); this._pad2 = dis.ReadUnsignedByte(); this._eventType = dis.ReadUnsignedShort(); this._time = dis.ReadUnsignedInt(); this._numberOfRecords = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfRecords; idx++) { FourByteChunk anX = new FourByteChunk(); anX.Unmarshal(dis); this._recordIDs.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._originatingID.Unmarshal(dis); this._receivingID.Unmarshal(dis); this._requestID = dis.ReadUnsignedInt(); this._actionID = dis.ReadUnsignedInt(); this._numberOfFixedDatumRecords = dis.ReadUnsignedInt(); this._numberOfVariableDatumRecords = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfFixedDatumRecords; idx++) { FixedDatum anX = new FixedDatum(); anX.Unmarshal(dis); this._fixedDatums.Add(anX); } ; for (int idx = 0; idx < this.NumberOfVariableDatumRecords; idx++) { VariableDatum anX = new VariableDatum(); anX.Unmarshal(dis); this._variableDatums.Add(anX); } ; } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._entityID.Unmarshal(dis); this._forceId = dis.ReadUnsignedByte(); this._numberOfVariableParameters = dis.ReadUnsignedByte(); this._entityType.Unmarshal(dis); this._alternativeEntityType.Unmarshal(dis); this._entityLinearVelocity.Unmarshal(dis); this._entityLocation.Unmarshal(dis); this._entityOrientation.Unmarshal(dis); this._entityAppearance = dis.ReadUnsignedInt(); this._deadReckoningParameters.Unmarshal(dis); this._marking.Unmarshal(dis); this._capabilities = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.NumberOfVariableParameters; idx++) { VariableParameter anX = new VariableParameter(); anX.Unmarshal(dis); this._variableParameters.Add(anX); } ; } 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._expendable.Unmarshal(dis); this._station = dis.ReadUnsignedInt(); this._standardQuantity = dis.ReadUnsignedShort(); this._maximumQuantity = dis.ReadUnsignedShort(); this._standardQuantityReloadTime = dis.ReadUnsignedInt(); this._maximumQuantityReloadTime = dis.ReadUnsignedInt(); } 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._recordID = dis.ReadUnsignedInt(); this._recordSetSerialNumber = dis.ReadUnsignedInt(); this._recordLength = dis.ReadUnsignedShort(); this._recordCount = dis.ReadUnsignedShort(); this._recordValues = dis.ReadUnsignedShort(); this._pad4 = dis.ReadUnsignedByte(); } 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._standardQuantity = dis.ReadUnsignedInt(); this._maximumQuantity = dis.ReadUnsignedInt(); this._standardQuantityReloadTime = dis.ReadUnsignedInt(); this._maximumQuantityReloadTime = dis.ReadUnsignedInt(); this._fuelMeasurmentUnits = dis.ReadUnsignedByte(); this._fuelLocation = dis.ReadUnsignedByte(); this._padding = dis.ReadUnsignedByte(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._minefieldID.Unmarshal(dis); this._requestingEntityID.Unmarshal(dis); this._requestID = dis.ReadUnsignedByte(); this._numberOfPerimeterPoints = dis.ReadUnsignedByte(); this._pad2 = dis.ReadUnsignedByte(); this._numberOfSensorTypes = dis.ReadUnsignedByte(); this._dataFilter = dis.ReadUnsignedInt(); this._requestedMineType.Unmarshal(dis); for (int idx = 0; idx < this.NumberOfPerimeterPoints; idx++) { Point anX = new Point(); anX.Unmarshal(dis); this._requestedPerimeterPoints.Add(anX); } for (int idx = 0; idx < this.NumberOfSensorTypes; idx++) { TwoByteChunk anX = new TwoByteChunk(); anX.Unmarshal(dis); this._sensorTypes.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._environmentalSimulationApplicationID.Unmarshal(dis); this._fieldNumber = dis.ReadUnsignedShort(); this._pduNumber = dis.ReadUnsignedShort(); this._pduTotal = dis.ReadUnsignedShort(); this._coordinateSystem = dis.ReadUnsignedShort(); this._numberOfGridAxes = dis.ReadUnsignedByte(); this._constantGrid = dis.ReadUnsignedByte(); this._environmentType.Unmarshal(dis); this._orientation.Unmarshal(dis); this._sampleTime = dis.ReadLong(); this._totalValues = dis.ReadUnsignedInt(); this._vectorDimension = dis.ReadUnsignedByte(); this._padding1 = dis.ReadUnsignedShort(); this._padding2 = dis.ReadUnsignedByte(); for (int idx = 0; idx < this.NumberOfGridAxes; idx++) { GridAxisRecord anX = new GridAxisRecord(); anX.Unmarshal(dis); this._gridDataList.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._controlType = dis.ReadUnsignedByte(); this._communicationsChannelType = dis.ReadUnsignedByte(); this._sourceEntityID.Unmarshal(dis); this._sourceCommunicationsDeviceID = dis.ReadUnsignedByte(); this._sourceLineID = dis.ReadUnsignedByte(); this._transmitPriority = dis.ReadUnsignedByte(); this._transmitLineState = dis.ReadUnsignedByte(); this._command = dis.ReadUnsignedByte(); this._masterEntityID.Unmarshal(dis); this._masterCommunicationsDeviceID = dis.ReadUnsignedShort(); this._intercomParametersLength = dis.ReadUnsignedInt(); for (int idx = 0; idx < this.IntercomParametersLength; idx++) { IntercomCommunicationsParameters anX = new IntercomCommunicationsParameters(); anX.Unmarshal(dis); this._intercomParameters.Add(anX); } } catch (Exception e) { if (PduBase.TraceExceptions) { Trace.WriteLine(e); Trace.Flush(); } this.RaiseExceptionOccured(e); if (PduBase.ThrowExceptions) { throw e; } } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._requestID = dis.ReadUnsignedInt(); } 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._recordType = dis.ReadUnsignedInt(); this._recordLength = dis.ReadUnsignedByte(); this._recordSpecificFields = dis.ReadUnsignedLong(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Unmarshal(DataInputStream dis) { base.Unmarshal(dis); if (dis != null) { try { this._munitionType.Unmarshal(dis); this._shotStartTime.Unmarshal(dis); this._commulativeShotTime = dis.ReadFloat(); this._ApertureEmitterLocation.Unmarshal(dis); this._apertureDiameter = dis.ReadFloat(); this._wavelength = dis.ReadFloat(); this._peakIrradiance = dis.ReadFloat(); this._pulseRepetitionFrequency = dis.ReadFloat(); this._pulseWidth = dis.ReadInt(); this._flags = dis.ReadInt(); this._pulseShape = dis.ReadByte(); this._padding1 = dis.ReadUnsignedByte(); this._padding2 = dis.ReadUnsignedInt(); this._padding3 = dis.ReadUnsignedShort(); this._numberOfDERecords = dis.ReadUnsignedShort(); for (int idx = 0; idx < this.NumberOfDERecords; idx++) { StandardVariableSpecification anX = new StandardVariableSpecification(); anX.Unmarshal(dis); this._dERecords.Add(anX); } ; } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }