public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._x = dis.ReadFloat();
             this._y = dis.ReadFloat();
             this._z = 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._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._padding = dis.ReadUnsignedShort();
             this._emitterNumber = dis.ReadUnsignedByte();
             this._beamNumber = dis.ReadUnsignedByte();
             this._stateIndicator = dis.ReadUnsignedByte();
             this._padding2 = dis.ReadUnsignedInt();
             this._azimuthOffset = dis.ReadFloat();
             this._azimuthWidth = dis.ReadFloat();
             this._azimuthPullRate = dis.ReadFloat();
             this._azimuthPullAcceleration = dis.ReadFloat();
             this._elevationOffset = dis.ReadFloat();
             this._elevationWidth = dis.ReadFloat();
             this._elevationPullRate = dis.ReadFloat();
             this._elevationPullAcceleration = dis.ReadFloat();
             this._padding3 = 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._frequency = dis.ReadFloat();
             this._frequencyRange = dis.ReadFloat();
             this._effectiveRadiatedPower = dis.ReadFloat();
             this._pulseRepetitionFrequency = dis.ReadFloat();
             this._pulseWidth = dis.ReadFloat();
             this._beamAzimuthCenter = dis.ReadFloat();
             this._beamAzimuthSweep = dis.ReadFloat();
             this._beamElevationCenter = dis.ReadFloat();
             this._beamElevationSweep = dis.ReadFloat();
             this._beamSweepSync = dis.ReadFloat();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
示例#4
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._currentShaftRPMs = dis.ReadShort();
             this._orderedShaftRPMs = dis.ReadShort();
             this._shaftRPMRateOfChange = dis.ReadFloat();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
示例#5
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._beamAzimuthCenter = dis.ReadFloat();
             this._beamAzimuthSweep = dis.ReadFloat();
             this._beamElevationCenter = dis.ReadFloat();
             this._beamElevationSweep = dis.ReadFloat();
             this._beamSweepSync = 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._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._emitterNumber = dis.ReadUnsignedByte();
             this._beamNumber = dis.ReadUnsignedByte();
             this._stateIndicator = dis.ReadUnsignedByte();
             this._leftAzimuth = dis.ReadFloat();
             this._rightAzimuth = dis.ReadFloat();
             this._lowerElevation = dis.ReadFloat();
             this._upperElevation = dis.ReadFloat();
             this._residualPower = 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._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._horizontalDeflectionAngle = dis.ReadFloat();
             this._verticalDeflectionAngle = 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._activeEmissionParameterIndex = dis.ReadUnsignedShort();
             this._scanPattern = dis.ReadUnsignedShort();
             this._beamCenterAzimuthHorizontal = dis.ReadFloat();
             this._azimuthalBeamwidthHorizontal = dis.ReadFloat();
             this._beamCenterDepressionElevation = dis.ReadFloat();
             this._beamwidthDownElevation = 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._explodingObject.Unmarshal(dis);
             this._explosiveMaterial = dis.ReadUnsignedShort();
             this._padding = dis.ReadUnsignedShort();
             this._explosiveForce = 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._beamDirection.Unmarshal(dis);
             this._azimuthBeamwidth = dis.ReadFloat();
             this._elevationBeamwidth = dis.ReadFloat();
             this._referenceSystem = dis.ReadFloat();
             this._padding1 = dis.ReadUnsignedByte();
             this._padding2 = dis.ReadUnsignedShort();
             this._ez = dis.ReadFloat();
             this._ex = dis.ReadFloat();
             this._phase = dis.ReadFloat();
             this._padding3 = 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._targetEntityID.Unmarshal(dis);
             this._padding = dis.ReadUnsignedShort();
             this._peakIrradiance = 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._erp = dis.ReadFloat();
             this._frequency = dis.ReadFloat();
             this._pgrf = dis.ReadFloat();
             this._pulseWidth = dis.ReadFloat();
             this._burstLength = dis.ReadUnsignedInt();
             this._applicableModes = dis.ReadUnsignedByte();
             this._pad2 = dis.ReadUnsignedShort();
             this._pad3 = 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._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._padding = dis.ReadUnsignedShort();
             this._emitterNumber = dis.ReadUnsignedByte();
             this._beamNumber = dis.ReadUnsignedByte();
             this._stateIndicator = dis.ReadUnsignedByte();
             this._padding2 = dis.ReadUnsignedByte();
             this._falseTargetCount = dis.ReadFloat();
             this._walkSpeed = dis.ReadFloat();
             this._walkAcceleration = dis.ReadFloat();
             this._maximumWalkDistance = dis.ReadFloat();
             this._keepTime = dis.ReadFloat();
             this._echoSpacing = dis.ReadFloat();
             this._padding3 = 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._erp = dis.ReadFloat();
             this._frequency = dis.ReadFloat();
             this._pgrf = dis.ReadFloat();
             this._pulseWidth = dis.ReadFloat();
             this._burstLength = dis.ReadUnsignedInt();
             this._applicableModes = dis.ReadUnsignedByte();
             for (int idx = 0; idx < this._systemSpecificData.Length; idx++)
             {
                 this._systemSpecificData[idx] = 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._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._padding = dis.ReadUnsignedShort();
             this._damageLocation.Unmarshal(dis);
             this._damageDiameter = dis.ReadFloat();
             this._temperature = dis.ReadFloat();
             this._componentIdentification = dis.ReadUnsignedByte();
             this._componentDamageStatus = dis.ReadUnsignedByte();
             this._componentVisualDamageStatus = dis.ReadUnsignedByte();
             this._componentVisualSmokeColor = dis.ReadUnsignedByte();
             this._fireEventID.Unmarshal(dis);
             this._padding2 = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }