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);
         }
     }
 }
Пример #2
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);
         }
     }
 }
 ///<summary>
 ///Automatically sets the length of the marshalled data, then calls the marshal method.
 ///</summary>
 public new void marshalAutoLengthSet(DataOutputStream dos)
 {
     //Set the length prior to marshalling data
        this.setLength((ushort)this.getMarshalledSize());
        this.marshal(dos);
 }
 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.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);
         }
     }
 }
Пример #6
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedByte((byte)this._associationType);
             dos.WriteUnsignedByte((byte)this._padding4);
             this._associatedEntityID.Marshal(dos);
             this._associatedLocation.Marshal(dos);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Пример #7
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public new void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
        _realWorldTime.marshal(dos);
        _simulationTime.marshal(dos);
        dos.writeUint((uint)_requestID);
     } // end try
     catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
Пример #8
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public void marshal(DataOutputStream dos)
 {
     try
     {
         dos.writeUshort((ushort)_parameterIndex);
         dos.writeShort((short)_parameterValue);
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteByte((byte)this._order);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public void marshal(DataOutputStream dos)
 {
     try
     {
        dos.writeFloat((float)_horizontalDeflectionAngle);
        dos.writeFloat((float)_verticalDeflectionAngle);
     } // end try
     catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
Пример #11
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
               _orginatingEntityID.marshal(dos);
               dos.writeUshort((ushort)_infraredSignatureRepresentationIndex);
               dos.writeUshort((ushort)_acousticSignatureRepresentationIndex);
               dos.writeUshort((ushort)_radarCrossSectionSignatureRepresentationIndex);
               dos.writeUshort((ushort)_propulsionSystemData.Count);
               dos.writeUshort((ushort)_vectoringSystemData.Count);

               for(int idx = 0; idx < _propulsionSystemData.Count; idx++)
               {
            PropulsionSystemData aPropulsionSystemData = (PropulsionSystemData)_propulsionSystemData[idx];
            aPropulsionSystemData.marshal(dos);
               } // end of list marshalling

               for(int idx = 0; idx < _vectoringSystemData.Count; idx++)
               {
            VectoringNozzleSystemData aVectoringNozzleSystemData = (VectoringNozzleSystemData)_vectoringSystemData[idx];
            aVectoringNozzleSystemData.marshal(dos);
               } // end of list marshalling

            } // end try
            catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #12
0
        public virtual void Marshal(DataOutputStream dos)
        {
            if (dos != null)
            {
                try
                {

                    for (int idx = 0; idx < this._otherParameters.Length; idx++)
                    {
                        dos.WriteByte(this._otherParameters[idx]);
                    }
                }
                catch (Exception e)
                {
            #if DEBUG
                    Trace.WriteLine(e);
                    Trace.Flush();
            #endif
                    this.OnException(e);
                }
            }
        }
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
               _minefieldID.marshal(dos);
               _requestingEntityID.marshal(dos);
               dos.writeByte((byte)_requestID);
               dos.writeByte((byte)_missingPduSequenceNumbers.Count);

               for(int idx = 0; idx < _missingPduSequenceNumbers.Count; idx++)
               {
            EightByteChunk aEightByteChunk = (EightByteChunk)_missingPduSequenceNumbers[idx];
            aEightByteChunk.marshal(dos);
               } // end of list marshalling

            } // end try
            catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #14
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteDouble((double)this._domainInitialXi);
             dos.WriteDouble((double)this._domainFinalXi);
             dos.WriteUnsignedShort((ushort)this._domainPointsXi);
             dos.WriteUnsignedByte((byte)this._interleafFactor);
             dos.WriteUnsignedByte((byte)this._axisType);
             dos.WriteUnsignedShort((ushort)this._numberOfPointsOnXiAxis);
             dos.WriteUnsignedShort((ushort)this._initialIndex);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
               dos.writeUint((uint)_requestID);
               dos.writeByte((byte)_requiredReliabilityService);
               dos.writeUshort((ushort)_pad1);
               dos.writeByte((byte)_pad2);
               dos.writeUshort((ushort)_eventType);
               dos.writeUint((uint)_time);
               dos.writeUint((uint)_recordIDs.Count);

               for(int idx = 0; idx < _recordIDs.Count; idx++)
               {
            FourByteChunk aFourByteChunk = (FourByteChunk)_recordIDs[idx];
            aFourByteChunk.marshal(dos);
               } // end of list marshalling

            } // end try
            catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedByte((byte)this._segmentNumber);
             dos.WriteUnsignedByte((byte)this._segmentModification);
             dos.WriteUnsignedShort((ushort)this._generalSegmentAppearance);
             dos.WriteUnsignedShort((ushort)this._specificSegmentAppearance);
             this._segmentLocation.Marshal(dos);
             this._segmentOrientation.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._segmentLength);
             dos.WriteUnsignedShort((ushort)this._segmentWidth);
             dos.WriteUnsignedShort((ushort)this._segmentHeight);
             dos.WriteUnsignedShort((ushort)this._segmentDepth);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public new void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
        _receivingEntityID.marshal(dos);
        _repairingEntityID.marshal(dos);
        dos.writeUshort((ushort)_repair);
        dos.writeShort((short)_padding2);
     } // end try
     catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
               dos.writeByte((byte)_controlType);
               dos.writeByte((byte)_communicationsChannelType);
               _sourceEntityID.marshal(dos);
               dos.writeByte((byte)_sourceCommunicationsDeviceID);
               dos.writeByte((byte)_sourceLineID);
               dos.writeByte((byte)_transmitPriority);
               dos.writeByte((byte)_transmitLineState);
               dos.writeByte((byte)_command);
               _masterEntityID.marshal(dos);
               dos.writeUshort((ushort)_masterCommunicationsDeviceID);
               dos.writeUint((uint)_intercomParameters.Count);

               for(int idx = 0; idx < _intercomParameters.Count; idx++)
               {
            IntercomCommunicationsParameters aIntercomCommunicationsParameters = (IntercomCommunicationsParameters)_intercomParameters[idx];
            aIntercomCommunicationsParameters.marshal(dos);
               } // end of list marshalling

            } // end try
            catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public new void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _entityId.marshal(dos);
         dos.writeUshort((ushort)_radioId);
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
Пример #20
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public void marshal(DataOutputStream dos)
 {
     try
     {
         dos.writeUshort((ushort)_acousticName);
         dos.writeByte((byte)_function);
         dos.writeByte((byte)_acousticIdNumber);
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
Пример #21
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedByte((byte)this._domain);
             dos.WriteUnsignedByte((byte)this._objectKind);
             dos.WriteUnsignedByte((byte)this._category);
             dos.WriteUnsignedByte((byte)this._subcategory);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Пример #22
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
               _entityID.marshal(dos);
               dos.writeByte((byte)_forceId);
               dos.writeByte((byte)_articulationParameters.Count);
               _entityType.marshal(dos);
               _alternativeEntityType.marshal(dos);
               _entityLinearVelocity.marshal(dos);
               _entityLocation.marshal(dos);
               _entityOrientation.marshal(dos);
               dos.writeUint((uint)_entityAppearance);
               _deadReckoningParameters.marshal(dos);
               _marking.marshal(dos);
               dos.writeUint((uint)_capabilities);

               for(int idx = 0; idx < _articulationParameters.Count; idx++)
               {
            ArticulationParameter aArticulationParameter = (ArticulationParameter)_articulationParameters[idx];
            aArticulationParameter.marshal(dos);
               } // end of list marshalling

            } // end try
            catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public void marshal(DataOutputStream dos)
        {
            try
            {
                dos.writeByte((byte)_systemDataLength);
                dos.writeByte((byte)_beamDataRecords.Count);
                dos.writeUshort((ushort)_emissionsPadding2);
                _emitterSystem.marshal(dos);
                _location.marshal(dos);

                for(int idx = 0; idx < _beamDataRecords.Count; idx++)
                {
                    ElectronicEmissionBeamData aElectronicEmissionBeamData = (ElectronicEmissionBeamData)_beamDataRecords[idx];
                    aElectronicEmissionBeamData.marshal(dos);
                } // end of list marshalling

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
Пример #24
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public void marshal(DataOutputStream dos)
 {
     try
     {
        dos.writeUint((uint)_hour);
        dos.writeUint((uint)_timePastHour);
     } // end try
     catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
Пример #25
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                dos.writeUint((uint)_requestID);
                dos.writeUint((uint)_padding1);
                dos.writeUint((uint)_fixedDatums.Count);
                dos.writeUint((uint)_variableDatums.Count);

                for(int idx = 0; idx < _fixedDatums.Count; idx++)
                {
                    FixedDatum aFixedDatum = (FixedDatum)_fixedDatums[idx];
                    aFixedDatum.marshal(dos);
                } // end of list marshalling

                for(int idx = 0; idx < _variableDatums.Count; idx++)
                {
                    VariableDatum aVariableDatum = (VariableDatum)_variableDatums[idx];
                    aVariableDatum.marshal(dos);
                } // end of list marshalling

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public new void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _emittingEntityId.marshal(dos);
         _eventID.marshal(dos);
         _location.marshal(dos);
         _systemID.marshal(dos);
         dos.writeUshort((ushort)_pad2);
         _fundamentalParameters.marshal(dos);
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        public new void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
               dos.writeByte((byte)_requiredReliabilityService);
               dos.writeUshort((ushort)_pad1);
               dos.writeByte((byte)_pad2);
               dos.writeUint((uint)_requestID);
               dos.writeUint((uint)_timeInterval);
               dos.writeUint((uint)_fixedDatumRecords.Count);
               dos.writeUint((uint)_variableDatumRecords.Count);

               for(int idx = 0; idx < _fixedDatumRecords.Count; idx++)
               {
            FixedDatum aFixedDatum = (FixedDatum)_fixedDatumRecords[idx];
            aFixedDatum.marshal(dos);
               } // end of list marshalling

               for(int idx = 0; idx < _variableDatumRecords.Count; idx++)
               {
            VariableDatum aVariableDatum = (VariableDatum)_variableDatumRecords[idx];
            aVariableDatum.marshal(dos);
               } // end of list marshalling

            } // end try
            catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #28
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public void marshal(DataOutputStream dos)
 {
     try
     {
        _antennaLocation.marshal(dos);
        _relativeAntennaLocation.marshal(dos);
     } // end try
     catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
 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);
         }
     }
 }
Пример #30
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedShort((ushort)this._systemType);
             dos.WriteUnsignedShort((ushort)this._systemName);
             dos.WriteUnsignedByte((byte)this._systemMode);
             dos.WriteUnsignedByte((byte)this._changeOptions);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }