public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteFloat((float)this._x);
             dos.WriteFloat((float)this._y);
             dos.WriteFloat((float)this._z);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Exemplo n.º 2
0
 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 virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteFloat((float)this._frequency);
             dos.WriteFloat((float)this._frequencyRange);
             dos.WriteFloat((float)this._effectiveRadiatedPower);
             dos.WriteFloat((float)this._pulseRepetitionFrequency);
             dos.WriteFloat((float)this._pulseWidth);
             dos.WriteFloat((float)this._beamAzimuthCenter);
             dos.WriteFloat((float)this._beamAzimuthSweep);
             dos.WriteFloat((float)this._beamElevationCenter);
             dos.WriteFloat((float)this._beamElevationSweep);
             dos.WriteFloat((float)this._beamSweepSync);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Exemplo n.º 4
0
 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 DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Exemplo n.º 5
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteFloat((float)this._beamAzimuthCenter);
             dos.WriteFloat((float)this._beamAzimuthSweep);
             dos.WriteFloat((float)this._beamElevationCenter);
             dos.WriteFloat((float)this._beamElevationSweep);
             dos.WriteFloat((float)this._beamSweepSync);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Exemplo n.º 6
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedInt((uint)this._recordType);
             dos.WriteUnsignedShort((ushort)this._recordLength);
             dos.WriteUnsignedByte((byte)this._emitterNumber);
             dos.WriteUnsignedByte((byte)this._beamNumber);
             dos.WriteUnsignedByte((byte)this._stateIndicator);
             dos.WriteFloat((float)this._leftAzimuth);
             dos.WriteFloat((float)this._rightAzimuth);
             dos.WriteFloat((float)this._lowerElevation);
             dos.WriteFloat((float)this._upperElevation);
             dos.WriteFloat((float)this._residualPower);
         }
         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._targetSpotLocation.Marshal(dos);
             this._targetSpotEntityLocation.Marshal(dos);
             this._targetSpotVelocity.Marshal(dos);
             this._targetSpotAcceleration.Marshal(dos);
             this._targetEntityID.Marshal(dos);
             dos.WriteUnsignedByte((byte)this._targetComponentID);
             dos.WriteUnsignedByte((byte)this._SpotShape);
             dos.WriteFloat((float)this._BeamSpotXSecSemiMajorAxis);
             dos.WriteFloat((float)this._BeamSpotCrossSectionSemiMinorAxis);
             dos.WriteFloat((float)this._BeamSpotCrossSectionOrientAngle);
         }
         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._horizontalDeflectionAngle);
             dos.WriteFloat((float)this._verticalDeflectionAngle);
         }
         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._activeEmissionParameterIndex);
             dos.WriteUnsignedShort((ushort)this._scanPattern);
             dos.WriteFloat((float)this._beamCenterAzimuthHorizontal);
             dos.WriteFloat((float)this._azimuthalBeamwidthHorizontal);
             dos.WriteFloat((float)this._beamCenterDepressionElevation);
             dos.WriteFloat((float)this._beamwidthDownElevation);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             this._explodingObject.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._explosiveMaterial);
             dos.WriteUnsignedShort((ushort)this._padding);
             dos.WriteFloat((float)this._explosiveForce);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             this._beamDirection.Marshal(dos);
             dos.WriteFloat((float)this._azimuthBeamwidth);
             dos.WriteFloat((float)this._elevationBeamwidth);
             dos.WriteFloat((float)this._referenceSystem);
             dos.WriteUnsignedByte((byte)this._padding1);
             dos.WriteUnsignedShort((ushort)this._padding2);
             dos.WriteFloat((float)this._ez);
             dos.WriteFloat((float)this._ex);
             dos.WriteFloat((float)this._phase);
             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
         {
             this._targetEntityID.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._padding);
             dos.WriteFloat((float)this._peakIrradiance);
         }
         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);
             dos.WriteUnsignedShort((ushort)this._pad2);
             dos.WriteUnsignedByte((byte)this._pad3);
         }
         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);
             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.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.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);
         }
     }
 }