public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedByte((byte)this._aggregateKind);
             dos.WriteUnsignedByte((byte)this._domain);
             dos.WriteUnsignedShort((ushort)this._country);
             dos.WriteUnsignedByte((byte)this._category);
             dos.WriteUnsignedByte((byte)this._subcategory);
             dos.WriteUnsignedByte((byte)this._specific);
             dos.WriteUnsignedByte((byte)this._extra);
         }
         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);
             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);
         }
     }
 }
Esempio n. 3
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
         {
             this._simulationAddress.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._objectNumber);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 5
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);
         }
     }
 }
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedByte((byte)this._recordType);
             dos.WriteUnsignedByte((byte)this._changeIndicator);
             dos.WriteUnsignedByte((byte)this._associationStatus);
             dos.WriteUnsignedByte((byte)this._associationType);
             this._entityID.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._owsSttionLocation);
             dos.WriteUnsignedShort((ushort)this._physicalConnectionType);
             dos.WriteUnsignedByte((byte)this._groupMemberType);
             dos.WriteUnsignedShort((ushort)this._groupNumber);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 7
0
 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.WriteUnsignedByte((byte)this._systemStatus);
             dos.WriteUnsignedByte((byte)this._alternateParameter4);
             dos.WriteUnsignedByte((byte)this._informationLayers);
             dos.WriteUnsignedByte((byte)this._modifier);
             dos.WriteUnsignedShort((ushort)this._parameter1);
             dos.WriteUnsignedShort((ushort)this._parameter2);
             dos.WriteUnsignedShort((ushort)this._parameter3);
             dos.WriteUnsignedShort((ushort)this._parameter4);
             dos.WriteUnsignedShort((ushort)this._parameter5);
             dos.WriteUnsignedShort((ushort)this._parameter6);
         }
         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.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
                {
                    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.WriteUnsignedShort((ushort)this._siteNumber);
             dos.WriteUnsignedShort((ushort)this._applicationNumber);
             dos.WriteUnsignedShort((ushort)this._referenceNumber);
             dos.WriteUnsignedShort((ushort)this._intercomNumber);
         }
         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);
         }
     }
 }
Esempio n. 14
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.WriteUnsignedShort((ushort)this._acousticName);
             dos.WriteUnsignedByte((byte)this._function);
             dos.WriteUnsignedByte((byte)this._acousticIdNumber);
         }
         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);
         }
     }
 }
Esempio n. 17
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);
         }
     }
 }
Esempio n. 18
0
 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);
         }
     }
 }
Esempio n. 19
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedByte((byte)this._layerNumber);
             dos.WriteUnsignedByte((byte)this._layerSpecificInformaiton);
             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
         {
             this._fireEventID.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._padding);
             this._firingEntityID.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._padding2);
             this._targetEntityID.Marshal(dos);
             dos.WriteUnsignedShort((ushort)this._padding3);
             this._targetLocation.Marshal(dos);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 21
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedShort((ushort)this._nature);
             dos.WriteUnsignedShort((ushort)this._position);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 22
0
 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);
         }
     }
 }
Esempio n. 23
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
         {
             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);
         }
     }
 }
Esempio n. 25
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);
         }
     }
 }
Esempio n. 26
0
 public virtual void Marshal(DataOutputStream dos)
 {
     if (dos != null)
     {
         try
         {
             dos.WriteUnsignedShort((ushort)this._spreadSpectrum);
             dos.WriteUnsignedShort((ushort)this._major);
             dos.WriteUnsignedShort((ushort)this._detail);
             dos.WriteUnsignedShort((ushort)this._system);
         }
         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);
         }
     }
 }
Esempio n. 28
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.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.WriteUnsignedByte((byte)this._emitterSystemDataLength);
                    dos.WriteUnsignedByte((byte)this._beamRecords.Count);
                    dos.WriteUnsignedShort((ushort)this._pad2);
                    this._acousticEmitterSystem.Marshal(dos);
                    this._emitterLocation.Marshal(dos);

                    for (int idx = 0; idx < this._beamRecords.Count; idx++)
                    {
                        AcousticBeamData aAcousticBeamData = (AcousticBeamData)this._beamRecords[idx];
                        aAcousticBeamData.Marshal(dos);
                    }
                }
                catch (Exception e)
                {
            #if DEBUG
                    Trace.WriteLine(e);
                    Trace.Flush();
            #endif
                    this.OnException(e);
                }
            }
        }