コード例 #1
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);
         }
     }
 }
コード例 #2
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._padding = dis.ReadUnsignedShort();
             this._damageLocation.Unmarshal(dis);
             this._damageDiameter = dis.ReadFloat();
             this._temperature = dis.ReadFloat();
             this._componentIdentification = dis.ReadUnsignedByte();
             this._componentDamageStatus = dis.ReadUnsignedByte();
             this._componentVisualDamageStatus = dis.ReadUnsignedByte();
             this._componentVisualSmokeColor = dis.ReadUnsignedByte();
             this._fireEventID.Unmarshal(dis);
             this._padding2 = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #3
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);
         }
     }
 }
コード例 #4
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);
         }
     }
 }
コード例 #5
0
 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);
         }
     }
 }
コード例 #6
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);
         }
     }
 }
コード例 #7
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedInt();
             this._recordLength = dis.ReadUnsignedShort();
             this._communcationsNodeType = dis.ReadUnsignedByte();
             this._padding = dis.ReadUnsignedByte();
             this._communicationsNode.Unmarshal(dis);
             this._elementID = dis.ReadUnsignedShort();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #8
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);
         }
     }
 }
コード例 #9
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._erp = dis.ReadFloat();
             this._frequency = dis.ReadFloat();
             this._pgrf = dis.ReadFloat();
             this._pulseWidth = dis.ReadFloat();
             this._burstLength = dis.ReadUnsignedInt();
             this._applicableModes = dis.ReadUnsignedByte();
             for (int idx = 0; idx < this._systemSpecificData.Length; idx++)
             {
                 this._systemSpecificData[idx] = dis.ReadUnsignedByte();
             }
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #10
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.ReadUnsignedByte();
             this._falseTargetCount = dis.ReadFloat();
             this._walkSpeed = dis.ReadFloat();
             this._walkAcceleration = dis.ReadFloat();
             this._maximumWalkDistance = dis.ReadFloat();
             this._keepTime = dis.ReadFloat();
             this._echoSpacing = dis.ReadFloat();
             this._padding3 = dis.ReadUnsignedInt();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #11
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._recordType = dis.ReadUnsignedByte();
             this._reasonForSeparation = dis.ReadUnsignedByte();
             this._preEntityIndicator = dis.ReadUnsignedByte();
             this._padding1 = dis.ReadUnsignedByte();
             this._parentEntityID.Unmarshal(dis);
             this._padding2 = dis.ReadUnsignedShort();
             this._stationLocation = dis.ReadUnsignedInt();
         }
         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._numberOfRecordSets = dis.ReadUnsignedInt();
                    for (int idx = 0; idx < this.NumberOfRecordSets; idx++)
                    {
                        RecordSpecificationElement anX = new RecordSpecificationElement();
                        anX.Unmarshal(dis);
                        this._recordSets.Add(anX);
                    };

                }
                catch (Exception e)
                {
            #if DEBUG
                    Trace.WriteLine(e);
                    Trace.Flush();
            #endif
                    this.OnException(e);
                }
            }
        }
コード例 #13
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._variableDatumID = dis.ReadUnsignedInt();
             this._variableDatumLength = dis.ReadUnsignedInt();
             this._variableDatumBits = dis.ReadUnsignedInt();
             this._padding = dis.ReadUnsignedInt();
         }
         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._segmentNumber = dis.ReadUnsignedByte();
             this._segmentAppearance.Unmarshal(dis);
             this._location.Unmarshal(dis);
             this._orientation.Unmarshal(dis);
             this._segmentLength = dis.ReadUnsignedShort();
             this._segmentWidth = dis.ReadUnsignedShort();
             this._segmentHeight = dis.ReadUnsignedShort();
             this._segmentDepth = dis.ReadUnsignedShort();
             this._pad1 = dis.ReadUnsignedInt();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #15
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._erp = dis.ReadFloat();
             this._frequency = dis.ReadFloat();
             this._pgrf = dis.ReadFloat();
             this._pulseWidth = dis.ReadFloat();
             this._burstLength = dis.ReadUnsignedInt();
             this._applicableModes = dis.ReadUnsignedByte();
             this._pad2 = dis.ReadUnsignedShort();
             this._pad3 = dis.ReadUnsignedByte();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #16
0
 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);
         }
     }
 }
コード例 #17
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);
         }
     }
 }
コード例 #18
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);
         }
     }
 }
コード例 #19
0
 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);
         }
     }
 }
コード例 #20
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);
         }
     }
 }
コード例 #21
0
        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);
                }
            }
        }
コード例 #22
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._standardQuantity = dis.ReadUnsignedInt();
             this._maximumQuantity = dis.ReadUnsignedInt();
             this._standardQuantityReloadTime = dis.ReadUnsignedInt();
             this._maximumQuantityReloadTime = dis.ReadUnsignedInt();
             this._fuelMeasurmentUnits = dis.ReadUnsignedByte();
             this._fuelLocation = dis.ReadUnsignedByte();
             this._padding = dis.ReadUnsignedByte();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #23
0
        public virtual void Unmarshal(DataInputStream dis)
        {
            if (dis != null)
            {
                try
                {
                    this._variableDatumID = dis.ReadUnsignedInt();
                    this._variableDatumLength = dis.ReadUnsignedInt();
                    for (int idx = 0; idx < this.VariableDatumLength; idx++)
                    {
                        EightByteChunk anX = new EightByteChunk();
                        anX.Unmarshal(dis);
                        this._variableDatums.Add(anX);
                    };

                }
                catch (Exception e)
                {
            #if DEBUG
                    Trace.WriteLine(e);
                    Trace.Flush();
            #endif
                    this.OnException(e);
                }
            }
        }
コード例 #24
0
 public virtual void Unmarshal(DataInputStream dis)
 {
     if (dis != null)
     {
         try
         {
             this._hour = dis.ReadUnsignedInt();
             this._timePastHour = dis.ReadUnsignedInt();
         }
         catch (Exception e)
         {
     #if DEBUG
             Trace.WriteLine(e);
             Trace.Flush();
     #endif
             this.OnException(e);
         }
     }
 }
コード例 #25
0
 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);
         }
     }
 }
コード例 #26
0
 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);
         }
     }
 }
コード例 #27
0
        public virtual void Unmarshal(DataInputStream dis)
        {
            if (dis != null)
            {
                try
                {
                    this._numberOfFixedDatums = dis.ReadUnsignedInt();
                    this._numberOfVariableDatums = dis.ReadUnsignedInt();
                    for (int idx = 0; idx < this.NumberOfFixedDatums; idx++)
                    {
                        FixedDatum anX = new FixedDatum();
                        anX.Unmarshal(dis);
                        this._fixedDatumIDList.Add(anX);
                    };

                    for (int idx = 0; idx < this.NumberOfVariableDatums; idx++)
                    {
                        VariableDatum anX = new VariableDatum();
                        anX.Unmarshal(dis);
                        this._variableDatumIDList.Add(anX);
                    };

                }
                catch (Exception e)
                {
            #if DEBUG
                    Trace.WriteLine(e);
                    Trace.Flush();
            #endif
                    this.OnException(e);
                }
            }
        }
コード例 #28
0
 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);
         }
     }
 }
コード例 #29
0
        public virtual void Unmarshal(DataInputStream dis)
        {
            if (dis != null)
            {
                try
                {
                    this._recordType = dis.ReadUnsignedInt();
                    this._recordLength = dis.ReadUnsignedShort();
                    this._padding = dis.ReadUnsignedShort();
                    this._beamAntennaPatternRecordCount = dis.ReadUnsignedShort();
                    this._directedEnergyTargetEnergyDepositionRecordCount = dis.ReadUnsignedShort();
                    for (int idx = 0; idx < this.BeamAntennaPatternRecordCount; idx++)
                    {
                        BeamAntennaPattern anX = new BeamAntennaPattern();
                        anX.Unmarshal(dis);
                        this._beamAntennaParameterList.Add(anX);
                    };

                    for (int idx = 0; idx < this.DirectedEnergyTargetEnergyDepositionRecordCount; idx++)
                    {
                        DirectedEnergyTargetEnergyDeposition anX = new DirectedEnergyTargetEnergyDeposition();
                        anX.Unmarshal(dis);
                        this._directedEnergyTargetEnergyDepositionRecordList.Add(anX);
                    };

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