public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._aggregateKind = dis.ReadUnsignedByte();
             this._domain = dis.ReadUnsignedByte();
             this._country = dis.ReadUnsignedShort();
             this._category = dis.ReadUnsignedByte();
             this._subcategory = dis.ReadUnsignedByte();
             this._specific = dis.ReadUnsignedByte();
             this._extra = 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._segmentNumber = dis.ReadUnsignedByte();
             this._segmentModification = dis.ReadUnsignedByte();
             this._generalSegmentAppearance = dis.ReadUnsignedShort();
             this._specificSegmentAppearance = dis.ReadUnsignedShort();
             this._segmentLocation.Unmarshal(dis);
             this._segmentOrientation.Unmarshal(dis);
             this._segmentLength = dis.ReadUnsignedShort();
             this._segmentWidth = dis.ReadUnsignedShort();
             this._segmentHeight = dis.ReadUnsignedShort();
             this._segmentDepth = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 3
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._ioStatus = dis.ReadUnsignedByte();
             this._ioLinkType = dis.ReadUnsignedByte();
             this._ioEffect.Unmarshal(dis);
             this._ioEffectDutyCycle = dis.ReadUnsignedByte();
             this._ioEffectDuration = dis.ReadUnsignedShort();
             this._ioProcess = dis.ReadUnsignedShort();
             this._padding = dis.ReadUnsignedShort();
         }
         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._simulationAddress.Unmarshal(dis);
             this._objectNumber = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 5
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._systemType = dis.ReadUnsignedShort();
             this._systemName = dis.ReadUnsignedShort();
             this._systemMode = dis.ReadUnsignedByte();
             this._changeOptions = 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.ReadUnsignedByte();
             this._changeIndicator = dis.ReadUnsignedByte();
             this._associationStatus = dis.ReadUnsignedByte();
             this._associationType = dis.ReadUnsignedByte();
             this._entityID.Unmarshal(dis);
             this._owsSttionLocation = dis.ReadUnsignedShort();
             this._physicalConnectionType = dis.ReadUnsignedShort();
             this._groupMemberType = dis.ReadUnsignedByte();
             this._groupNumber = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 7
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedByte();
             this._changeIndicator = dis.ReadUnsignedByte();
             this._entityType.Unmarshal(dis);
             this._padding = dis.ReadUnsignedShort();
             this._padding1 = 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._systemStatus = dis.ReadUnsignedByte();
             this._alternateParameter4 = dis.ReadUnsignedByte();
             this._informationLayers = dis.ReadUnsignedByte();
             this._modifier = dis.ReadUnsignedByte();
             this._parameter1 = dis.ReadUnsignedShort();
             this._parameter2 = dis.ReadUnsignedShort();
             this._parameter3 = dis.ReadUnsignedShort();
             this._parameter4 = dis.ReadUnsignedShort();
             this._parameter5 = dis.ReadUnsignedShort();
             this._parameter6 = dis.ReadUnsignedShort();
         }
         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._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._beamDataLength = dis.ReadUnsignedByte();
                    this._beamIDNumber = dis.ReadUnsignedByte();
                    this._beamParameterIndex = dis.ReadUnsignedShort();
                    this._fundamentalParameterData.Unmarshal(dis);
                    this._beamFunction = dis.ReadUnsignedByte();
                    this._numberOfTrackJamTargets = dis.ReadUnsignedByte();
                    this._highDensityTrackJam = dis.ReadUnsignedByte();
                    this._pad4 = dis.ReadUnsignedByte();
                    this._jammingModeSequence = dis.ReadUnsignedInt();
                    for (int idx = 0; idx < this.NumberOfTrackJamTargets; idx++)
                    {
                        TrackJamTarget anX = new TrackJamTarget();
                        anX.Unmarshal(dis);
                        this._trackJamTargets.Add(anX);
                    };

                }
                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._siteNumber = dis.ReadUnsignedShort();
             this._applicationNumber = dis.ReadUnsignedShort();
             this._referenceNumber = dis.ReadUnsignedShort();
             this._intercomNumber = dis.ReadUnsignedShort();
         }
         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);
         }
     }
 }
Esempio n. 14
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._munitionType.Unmarshal(dis);
             this._station = dis.ReadUnsignedInt();
             this._quantity = dis.ReadUnsignedShort();
             this._munitionStatus = dis.ReadUnsignedByte();
             this._padding = 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._acousticName = dis.ReadUnsignedShort();
             this._function = dis.ReadUnsignedByte();
             this._acousticIdNumber = 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._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);
         }
     }
 }
Esempio n. 17
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordID = dis.ReadUnsignedInt();
             this._recordSetSerialNumber = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._recordCount = dis.ReadUnsignedShort();
             this._recordValues = dis.ReadUnsignedShort();
             this._pad4 = dis.ReadUnsignedByte();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 18
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._protocolVersion = dis.ReadUnsignedByte();
             this._exerciseID = dis.ReadUnsignedByte();
             this._pduType = dis.ReadUnsignedByte();
             this._protocolFamily = dis.ReadUnsignedByte();
             this._timestamp = dis.ReadUnsignedInt();
             this._length = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 19
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._layerNumber = dis.ReadUnsignedByte();
             this._layerSpecificInformaiton = dis.ReadUnsignedByte();
             this._length = dis.ReadUnsignedShort();
         }
         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._fireEventID.Unmarshal(dis);
             this._padding = dis.ReadUnsignedShort();
             this._firingEntityID.Unmarshal(dis);
             this._padding2 = dis.ReadUnsignedShort();
             this._targetEntityID.Unmarshal(dis);
             this._padding3 = dis.ReadUnsignedShort();
             this._targetLocation.Unmarshal(dis);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 21
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._nature = dis.ReadUnsignedShort();
             this._position = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 22
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedByte();
             this._detachedIndicator = dis.ReadUnsignedByte();
             this._partAttachedTo = dis.ReadUnsignedShort();
             this._parameterType = dis.ReadUnsignedInt();
             this._parameterValue = dis.ReadUnsignedLong();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 23
0
 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._expendable.Unmarshal(dis);
             this._station = dis.ReadUnsignedInt();
             this._standardQuantity = dis.ReadUnsignedShort();
             this._maximumQuantity = dis.ReadUnsignedShort();
             this._standardQuantityReloadTime = dis.ReadUnsignedInt();
             this._maximumQuantityReloadTime = dis.ReadUnsignedInt();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 25
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._domainInitialXi = dis.ReadDouble();
             this._domainFinalXi = dis.ReadDouble();
             this._domainPointsXi = dis.ReadUnsignedShort();
             this._interleafFactor = dis.ReadUnsignedByte();
             this._axisType = dis.ReadUnsignedByte();
             this._numberOfPointsOnXiAxis = dis.ReadUnsignedShort();
             this._initialIndex = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 26
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._spreadSpectrum = dis.ReadUnsignedShort();
             this._major = dis.ReadUnsignedShort();
             this._detail = dis.ReadUnsignedShort();
             this._system = dis.ReadUnsignedShort();
         }
         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.ReadUnsignedByte();
             this._variableParameterFields1 = dis.ReadDouble();
             this._variableParameterFields2 = dis.ReadUnsignedInt();
             this._variableParameterFields3 = dis.ReadUnsignedShort();
             this._variableParameterFields4 = dis.ReadUnsignedByte();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Esempio n. 28
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._environmentType = dis.ReadUnsignedInt();
             this._length = dis.ReadUnsignedShort();
             this._index = dis.ReadUnsignedByte();
             this._padding = 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.ReadUnsignedShort();
             this._recordLength = dis.ReadUnsignedShort();
             this._recordSpecificField = 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._emitterSystemDataLength = dis.ReadUnsignedByte();
                    this._numberOfBeams = dis.ReadUnsignedByte();
                    this._pad2 = dis.ReadUnsignedShort();
                    this._acousticEmitterSystem.Unmarshal(dis);
                    this._emitterLocation.Unmarshal(dis);
                    for (int idx = 0; idx < this.NumberOfBeams; idx++)
                    {
                        AcousticBeamData anX = new AcousticBeamData();
                        anX.Unmarshal(dis);
                        this._beamRecords.Add(anX);
                    };

                }
                catch (Exception e)
                {
            #if DEBUG
                    Trace.WriteLine(e);
                    Trace.Flush();
            #endif
                    this.OnException(e);
                }
            }
        }