Example #1
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._ioStatus);
             dos.WriteUnsignedByte((byte)this._ioLinkType);
             this._ioEffect.Marshal(dos);
             dos.WriteUnsignedByte((byte)this._ioEffectDutyCycle);
             dos.WriteUnsignedShort((ushort)this._ioEffectDuration);
             dos.WriteUnsignedShort((ushort)this._ioProcess);
             dos.WriteUnsignedShort((ushort)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._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.WriteUnsignedByte((byte)this._recordType);
             dos.WriteUnsignedByte((byte)this._changeIndicator);
             this._entityType.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._padding);
             dos.WriteUnsignedInt((uint)this._padding1);
         }
         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.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
         {
             this._expendable.Marshal(dos);
             dos.WriteUnsignedInt((uint)this._station);
             dos.WriteUnsignedShort((ushort)this._standardQuantity);
             dos.WriteUnsignedShort((ushort)this._maximumQuantity);
             dos.WriteUnsignedInt((uint)this._standardQuantityReloadTime);
             dos.WriteUnsignedInt((uint)this._maximumQuantityReloadTime);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Example #6
0
 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 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.WriteUnsignedByte((byte)this._communcationsNodeType);
             dos.WriteUnsignedByte((byte)this._padding);
             this._communicationsNode.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._elementID);
         }
         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._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);
         }
         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);
             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.WriteUnsignedByte((byte)this._recordType);
             dos.WriteUnsignedByte((byte)this._reasonForSeparation);
             dos.WriteUnsignedByte((byte)this._preEntityIndicator);
             dos.WriteUnsignedByte((byte)this._padding1);
             this._parentEntityID.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._padding2);
             dos.WriteUnsignedInt((uint)this._stationLocation);
         }
         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._recordSets.Count);

                    for (int idx = 0; idx < this._recordSets.Count; idx++)
                    {
                        RecordSpecificationElement aRecordSpecificationElement = (RecordSpecificationElement)this._recordSets[idx];
                        aRecordSpecificationElement.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._variableDatumLength);
             dos.WriteUnsignedInt((uint)this._variableDatumBits);
             dos.WriteUnsignedInt((uint)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.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 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);
             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);
         }
     }
 }
Example #17
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             this._munitionType.Marshal(dos);
             dos.WriteUnsignedInt((uint)this._station);
             dos.WriteUnsignedShort((ushort)this._quantity);
             dos.WriteUnsignedByte((byte)this._munitionStatus);
             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.WriteUnsignedByte((byte)this._recordType);
             dos.WriteUnsignedByte((byte)this._detachedIndicator);
             dos.WriteUnsignedShort((ushort)this._partAttachedTo);
             dos.WriteUnsignedInt((uint)this._parameterType);
             dos.WriteUnsignedLong((ulong)this._parameterValue);
         }
         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);
         }
     }
 }
Example #20
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedInt((uint)this._environmentType);
             dos.WriteUnsignedShort((ushort)this._length);
             dos.WriteUnsignedByte((byte)this._index);
             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.WriteUnsignedByte((byte)this._beamDataLength);
                    dos.WriteUnsignedByte((byte)this._beamIDNumber);
                    dos.WriteUnsignedShort((ushort)this._beamParameterIndex);
                    this._fundamentalParameterData.Marshal(dos);
                    dos.WriteUnsignedByte((byte)this._beamFunction);
                    dos.WriteUnsignedByte((byte)this._trackJamTargets.Count);
                    dos.WriteUnsignedByte((byte)this._highDensityTrackJam);
                    dos.WriteUnsignedByte((byte)this._pad4);
                    dos.WriteUnsignedInt((uint)this._jammingModeSequence);

                    for (int idx = 0; idx < this._trackJamTargets.Count; idx++)
                    {
                        TrackJamTarget aTrackJamTarget = (TrackJamTarget)this._trackJamTargets[idx];
                        aTrackJamTarget.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.WriteUnsignedInt((uint)this._standardQuantityReloadTime);
             dos.WriteUnsignedInt((uint)this._maximumQuantityReloadTime);
             dos.WriteUnsignedByte((byte)this._fuelMeasurmentUnits);
             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._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);
                }
            }
        }
Example #24
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedInt((uint)this._hour);
             dos.WriteUnsignedInt((uint)this._timePastHour);
         }
         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.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.WriteUnsignedByte((byte)this._recordType);
             dos.WriteDouble((double)this._variableParameterFields1);
             dos.WriteUnsignedInt((uint)this._variableParameterFields2);
             dos.WriteUnsignedShort((ushort)this._variableParameterFields3);
             dos.WriteUnsignedByte((byte)this._variableParameterFields4);
         }
         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++)
                    {
                        FixedDatum aFixedDatum = (FixedDatum)this._fixedDatumIDList[idx];
                        aFixedDatum.Marshal(dos);
                    }

                    for (int idx = 0; idx < this._variableDatumIDList.Count; idx++)
                    {
                        VariableDatum aVariableDatum = (VariableDatum)this._variableDatumIDList[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.WriteUnsignedShort((ushort)this._recordType);
             dos.WriteUnsignedShort((ushort)this._recordLength);
             dos.WriteUnsignedInt((uint)this._recordSpecificField);
         }
         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.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);
                }
            }
        }