Пример #1
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);
         }
     }
 }
Пример #2
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _requestID = dis.readUint();
                _padding1 = dis.readUint();
                _numberOfFixedDatumRecords = dis.readUint();
                _numberOfVariableDatumRecords = dis.readUint();
                for(int idx = 0; idx < _numberOfFixedDatumRecords; idx++)
                {
                    FixedDatum anX = new FixedDatum();
                    anX.unmarshal(dis);
                    _fixedDatums.Add(anX);
                };

                for(int idx = 0; idx < _numberOfVariableDatumRecords; idx++)
                {
                    VariableDatum anX = new VariableDatum();
                    anX.unmarshal(dis);
                    _variableDatums.Add(anX);
                };

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _requiredReliabilityService = dis.readByte();
               _pad1 = dis.readUshort();
               _pad2 = dis.readByte();
               _requestID = dis.readUint();
               _timeInterval = dis.readUint();
               _numberOfFixedDatumRecords = dis.readUint();
               _numberOfVariableDatumRecords = dis.readUint();
            for(int idx = 0; idx < _numberOfFixedDatumRecords; idx++)
            {
               FixedDatum anX = new FixedDatum();
            anX.unmarshal(dis);
            _fixedDatumRecords.Add(anX);
            };

            for(int idx = 0; idx < _numberOfVariableDatumRecords; idx++)
            {
               VariableDatum anX = new VariableDatum();
            anX.unmarshal(dis);
            _variableDatumRecords.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #4
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._domain = dis.ReadUnsignedByte();
             this._objectKind = dis.ReadUnsignedByte();
             this._category = dis.ReadUnsignedByte();
             this._subcategory = dis.ReadUnsignedByte();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
        public void unmarshal(DataInputStream dis)
        {
            try
            {
                _systemDataLength = dis.readByte();
                _numberOfBeams = dis.readByte();
                _emissionsPadding2 = dis.readUshort();
                _emitterSystem.unmarshal(dis);
                _location.unmarshal(dis);
                for(int idx = 0; idx < _numberOfBeams; idx++)
                {
                    ElectronicEmissionBeamData anX = new ElectronicEmissionBeamData();
                    anX.unmarshal(dis);
                    _beamDataRecords.Add(anX);
                };

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _receivingEntityID.unmarshal(dis);
               _repairingEntityID.unmarshal(dis);
               _repair = dis.readUshort();
               _padding2 = dis.readShort();
            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _entityId.unmarshal(dis);
                _radioId = dis.readUshort();
            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
 public void unmarshal(DataInputStream dis)
 {
     try
     {
        _horizontalDeflectionAngle = dis.readFloat();
        _verticalDeflectionAngle = dis.readFloat();
     } // end try
        catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
Пример #9
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _orginatingEntityID.unmarshal(dis);
               _infraredSignatureRepresentationIndex = dis.readUshort();
               _acousticSignatureRepresentationIndex = dis.readUshort();
               _radarCrossSectionSignatureRepresentationIndex = dis.readUshort();
               _numberOfPropulsionSystems = dis.readUshort();
               _numberOfVectoringNozzleSystems = dis.readUshort();
            for(int idx = 0; idx < _numberOfPropulsionSystems; idx++)
            {
               PropulsionSystemData anX = new PropulsionSystemData();
            anX.unmarshal(dis);
            _propulsionSystemData.Add(anX);
            };

            for(int idx = 0; idx < _numberOfVectoringNozzleSystems; idx++)
            {
               VectoringNozzleSystemData anX = new VectoringNozzleSystemData();
            anX.unmarshal(dis);
            _vectoringSystemData.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _minefieldID.unmarshal(dis);
               _requestingEntityID.unmarshal(dis);
               _requestID = dis.readByte();
               _numberOfMissingPdus = dis.readByte();
            for(int idx = 0; idx < _numberOfMissingPdus; idx++)
            {
               EightByteChunk anX = new EightByteChunk();
            anX.unmarshal(dis);
            _missingPduSequenceNumbers.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #11
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             for (int idx = 0; idx < this._otherParameters.Length; idx++)
             {
                 this._otherParameters[idx] = dis.ReadByte();
             }
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Пример #12
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);
         }
     }
 }
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._frequency = dis.ReadFloat();
             this._frequencyRange = dis.ReadFloat();
             this._effectiveRadiatedPower = dis.ReadFloat();
             this._pulseRepetitionFrequency = dis.ReadFloat();
             this._pulseWidth = dis.ReadFloat();
             this._beamAzimuthCenter = dis.ReadFloat();
             this._beamAzimuthSweep = dis.ReadFloat();
             this._beamElevationCenter = dis.ReadFloat();
             this._beamElevationSweep = dis.ReadFloat();
             this._beamSweepSync = dis.ReadFloat();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Пример #14
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);
         }
     }
 }
Пример #15
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
        _antennaLocation.unmarshal(dis);
        _relativeAntennaLocation.unmarshal(dis);
     } // end try
        catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
Пример #16
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
         _parameterIndex = dis.readUshort();
         _parameterValue = dis.readShort();
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _requestID = dis.readUint();
               _requiredReliabilityService = dis.readByte();
               _pad1 = dis.readUshort();
               _pad2 = dis.readByte();
               _eventType = dis.readUshort();
               _time = dis.readUint();
               _numberOfRecords = dis.readUint();
            for(int idx = 0; idx < _numberOfRecords; idx++)
            {
               FourByteChunk anX = new FourByteChunk();
            anX.unmarshal(dis);
            _recordIDs.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
 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);
         }
     }
 }
Пример #19
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._associationType = dis.ReadUnsignedByte();
             this._padding4 = dis.ReadUnsignedByte();
             this._associatedEntityID.Unmarshal(dis);
             this._associatedLocation.Unmarshal(dis);
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _controlType = dis.readByte();
               _communicationsChannelType = dis.readByte();
               _sourceEntityID.unmarshal(dis);
               _sourceCommunicationsDeviceID = dis.readByte();
               _sourceLineID = dis.readByte();
               _transmitPriority = dis.readByte();
               _transmitLineState = dis.readByte();
               _command = dis.readByte();
               _masterEntityID.unmarshal(dis);
               _masterCommunicationsDeviceID = dis.readUshort();
               _intercomParametersLength = dis.readUint();
            for(int idx = 0; idx < _intercomParametersLength; idx++)
            {
               IntercomCommunicationsParameters anX = new IntercomCommunicationsParameters();
            anX.unmarshal(dis);
            _intercomParameters.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #21
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _realWorldTime.unmarshal(dis);
               _simulationTime.unmarshal(dis);
               _requestID = dis.readUint();
            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
Пример #22
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
         _acousticName = dis.readUshort();
         _function = dis.readByte();
         _acousticIdNumber = dis.readByte();
     } // end try
     catch(Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 }
 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);
         }
     }
 }
Пример #24
0
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _entityID.unmarshal(dis);
               _forceId = dis.readByte();
               _numberOfArticulationParameters = dis.readByte();
               _entityType.unmarshal(dis);
               _alternativeEntityType.unmarshal(dis);
               _entityLinearVelocity.unmarshal(dis);
               _entityLocation.unmarshal(dis);
               _entityOrientation.unmarshal(dis);
               _entityAppearance = dis.readUint();
               _deadReckoningParameters.unmarshal(dis);
               _marking.unmarshal(dis);
               _capabilities = dis.readUint();
            for(int idx = 0; idx < _numberOfArticulationParameters; idx++)
            {
               ArticulationParameter anX = new ArticulationParameter();
            anX.unmarshal(dis);
            _articulationParameters.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._x = dis.ReadFloat();
             this._y = dis.ReadFloat();
             this._z = dis.ReadFloat();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
Пример #26
0
 public void unmarshal(DataInputStream dis)
 {
     try
     {
        _hour = dis.readUint();
        _timePastHour = dis.readUint();
     } // end try
        catch(Exception e)
     {
       Trace.WriteLine(e);
       Trace.Flush();
     }
 }
Пример #27
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 new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _emittingEntityId.unmarshal(dis);
                _eventID.unmarshal(dis);
                _location.unmarshal(dis);
                _systemID.unmarshal(dis);
                _pad2 = dis.readUshort();
                _fundamentalParameters.unmarshal(dis);
            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }
 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 new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _objectID.unmarshal(dis);
               _referencedObjectID.unmarshal(dis);
               _updateNumber = dis.readUshort();
               _forceID = dis.readByte();
               _modifications = dis.readByte();
               _objectType.unmarshal(dis);
               _objectLocation.unmarshal(dis);
               _objectOrientation.unmarshal(dis);
               _objectAppearance = dis.readDouble();
               _requesterID.unmarshal(dis);
               _receivingID.unmarshal(dis);
               _pad2 = dis.readUint();
            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }