/**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _entityID.GetHashCode();
            result = GenerateHash(result) ^ _forceId.GetHashCode();
            result = GenerateHash(result) ^ _numberOfArticulationParameters.GetHashCode();
            result = GenerateHash(result) ^ _entityType.GetHashCode();
            result = GenerateHash(result) ^ _alternativeEntityType.GetHashCode();
            result = GenerateHash(result) ^ _entityLinearVelocity.GetHashCode();
            result = GenerateHash(result) ^ _entityLocation.GetHashCode();
            result = GenerateHash(result) ^ _entityOrientation.GetHashCode();
            result = GenerateHash(result) ^ _entityAppearance.GetHashCode();
            result = GenerateHash(result) ^ _deadReckoningParameters.GetHashCode();
            result = GenerateHash(result) ^ _marking.GetHashCode();
            result = GenerateHash(result) ^ _capabilities.GetHashCode();

            if (_articulationParameters.Count > 0)
            {
                for (int idx = 0; idx < _articulationParameters.Count; idx++)
                {
                    result = GenerateHash(result) ^ _articulationParameters[idx].GetHashCode();
                }
            }


            return(result);
        }
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _entityID.GetHashCode();
            result = GenerateHash(result) ^ _padding1.GetHashCode();
            result = GenerateHash(result) ^ _numberOfArticulationParameters.GetHashCode();
            result = GenerateHash(result) ^ _entityLinearVelocity.GetHashCode();
            result = GenerateHash(result) ^ _entityLocation.GetHashCode();
            result = GenerateHash(result) ^ _entityOrientation.GetHashCode();
            result = GenerateHash(result) ^ _entityAppearance.GetHashCode();

            if (_articulationParameters.Count > 0)
            {
                for (int idx = 0; idx < _articulationParameters.Count; idx++)
                {
                    result = GenerateHash(result) ^ _articulationParameters[idx].GetHashCode();
                }
            }


            return(result);
        }
Exemple #3
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _munitionID.GetHashCode();
            result = GenerateHash(result) ^ _eventID.GetHashCode();
            result = GenerateHash(result) ^ _velocity.GetHashCode();
            result = GenerateHash(result) ^ _locationInWorldCoordinates.GetHashCode();
            result = GenerateHash(result) ^ _burstDescriptor.GetHashCode();
            result = GenerateHash(result) ^ _locationInEntityCoordinates.GetHashCode();
            result = GenerateHash(result) ^ _detonationResult.GetHashCode();
            result = GenerateHash(result) ^ _numberOfArticulationParameters.GetHashCode();
            result = GenerateHash(result) ^ _pad.GetHashCode();

            if (_articulationParameters.Count > 0)
            {
                for (int idx = 0; idx < _articulationParameters.Count; idx++)
                {
                    result = GenerateHash(result) ^ _articulationParameters[idx].GetHashCode();
                }
            }


            return(result);
        }
Exemple #4
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ _antennaLocation.GetHashCode();
            result = GenerateHash(result) ^ _relativeAntennaLocation.GetHashCode();

            return(result);
        }
Exemple #5
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _munitionID.GetHashCode();
            result = GenerateHash(result) ^ _eventID.GetHashCode();
            result = GenerateHash(result) ^ _fireMissionIndex.GetHashCode();
            result = GenerateHash(result) ^ _locationInWorldCoordinates.GetHashCode();
            result = GenerateHash(result) ^ _burstDescriptor.GetHashCode();
            result = GenerateHash(result) ^ _velocity.GetHashCode();
            result = GenerateHash(result) ^ _range.GetHashCode();

            return(result);
        }
Exemple #6
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ _segmentNumber.GetHashCode();
            result = GenerateHash(result) ^ _segmentAppearance.GetHashCode();
            result = GenerateHash(result) ^ _location.GetHashCode();
            result = GenerateHash(result) ^ _orientation.GetHashCode();
            result = GenerateHash(result) ^ _segmentLength.GetHashCode();
            result = GenerateHash(result) ^ _segmentWidth.GetHashCode();
            result = GenerateHash(result) ^ _segmentHeight.GetHashCode();
            result = GenerateHash(result) ^ _segmentDepth.GetHashCode();
            result = GenerateHash(result) ^ _pad1.GetHashCode();

            return(result);
        }
Exemple #7
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _radioEntityType.GetHashCode();
            result = GenerateHash(result) ^ _transmitState.GetHashCode();
            result = GenerateHash(result) ^ _inputSource.GetHashCode();
            result = GenerateHash(result) ^ _padding1.GetHashCode();
            result = GenerateHash(result) ^ _antennaLocation.GetHashCode();
            result = GenerateHash(result) ^ _relativeAntennaLocation.GetHashCode();
            result = GenerateHash(result) ^ _antennaPatternType.GetHashCode();
            result = GenerateHash(result) ^ _antennaPatternCount.GetHashCode();
            result = GenerateHash(result) ^ _frequency.GetHashCode();
            result = GenerateHash(result) ^ _transmitFrequencyBandwidth.GetHashCode();
            result = GenerateHash(result) ^ _power.GetHashCode();
            result = GenerateHash(result) ^ _modulationType.GetHashCode();
            result = GenerateHash(result) ^ _cryptoSystem.GetHashCode();
            result = GenerateHash(result) ^ _cryptoKeyId.GetHashCode();
            result = GenerateHash(result) ^ _modulationParameterCount.GetHashCode();
            result = GenerateHash(result) ^ _padding2.GetHashCode();
            result = GenerateHash(result) ^ _padding3.GetHashCode();

            if (_modulationParametersList.Count > 0)
            {
                for (int idx = 0; idx < _modulationParametersList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _modulationParametersList[idx].GetHashCode();
                }
            }


            if (_antennaPatternList.Count > 0)
            {
                for (int idx = 0; idx < _antennaPatternList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _antennaPatternList[idx].GetHashCode();
                }
            }


            return(result);
        }
Exemple #8
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _objectID.GetHashCode();
            result = GenerateHash(result) ^ _referencedObjectID.GetHashCode();
            result = GenerateHash(result) ^ _updateNumber.GetHashCode();
            result = GenerateHash(result) ^ _forceID.GetHashCode();
            result = GenerateHash(result) ^ _modifications.GetHashCode();
            result = GenerateHash(result) ^ _objectType.GetHashCode();
            result = GenerateHash(result) ^ _objectLocation.GetHashCode();
            result = GenerateHash(result) ^ _objectOrientation.GetHashCode();
            result = GenerateHash(result) ^ _objectAppearance.GetHashCode();
            result = GenerateHash(result) ^ _requesterID.GetHashCode();
            result = GenerateHash(result) ^ _receivingID.GetHashCode();
            result = GenerateHash(result) ^ _pad2.GetHashCode();

            return(result);
        }
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _designatingEntityID.GetHashCode();
            result = GenerateHash(result) ^ _codeName.GetHashCode();
            result = GenerateHash(result) ^ _designatedEntityID.GetHashCode();
            result = GenerateHash(result) ^ _designatorCode.GetHashCode();
            result = GenerateHash(result) ^ _designatorPower.GetHashCode();
            result = GenerateHash(result) ^ _designatorWavelength.GetHashCode();
            result = GenerateHash(result) ^ _designatorSpotWrtDesignated.GetHashCode();
            result = GenerateHash(result) ^ _designatorSpotLocation.GetHashCode();
            result = GenerateHash(result) ^ _deadReckoningAlgorithm.GetHashCode();
            result = GenerateHash(result) ^ _padding1.GetHashCode();
            result = GenerateHash(result) ^ _padding2.GetHashCode();
            result = GenerateHash(result) ^ _entityLinearAcceleration.GetHashCode();

            return(result);
        }
Exemple #10
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _minefieldID.GetHashCode();
            result = GenerateHash(result) ^ _minefieldSequence.GetHashCode();
            result = GenerateHash(result) ^ _forceID.GetHashCode();
            result = GenerateHash(result) ^ _numberOfPerimeterPoints.GetHashCode();
            result = GenerateHash(result) ^ _minefieldType.GetHashCode();
            result = GenerateHash(result) ^ _numberOfMineTypes.GetHashCode();
            result = GenerateHash(result) ^ _minefieldLocation.GetHashCode();
            result = GenerateHash(result) ^ _minefieldOrientation.GetHashCode();
            result = GenerateHash(result) ^ _appearance.GetHashCode();
            result = GenerateHash(result) ^ _protocolMode.GetHashCode();

            if (_perimeterPoints.Count > 0)
            {
                for (int idx = 0; idx < _perimeterPoints.Count; idx++)
                {
                    result = GenerateHash(result) ^ _perimeterPoints[idx].GetHashCode();
                }
            }


            if (_mineType.Count > 0)
            {
                for (int idx = 0; idx < _mineType.Count; idx++)
                {
                    result = GenerateHash(result) ^ _mineType[idx].GetHashCode();
                }
            }


            return(result);
        }
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _aggregateID.GetHashCode();
            result = GenerateHash(result) ^ _forceID.GetHashCode();
            result = GenerateHash(result) ^ _aggregateState.GetHashCode();
            result = GenerateHash(result) ^ _aggregateType.GetHashCode();
            result = GenerateHash(result) ^ _formation.GetHashCode();
            result = GenerateHash(result) ^ _aggregateMarking.GetHashCode();
            result = GenerateHash(result) ^ _dimensions.GetHashCode();
            result = GenerateHash(result) ^ _orientation.GetHashCode();
            result = GenerateHash(result) ^ _centerOfMass.GetHashCode();
            result = GenerateHash(result) ^ _velocity.GetHashCode();
            result = GenerateHash(result) ^ _numberOfDisAggregates.GetHashCode();
            result = GenerateHash(result) ^ _numberOfDisEntities.GetHashCode();
            result = GenerateHash(result) ^ _numberOfSilentAggregateTypes.GetHashCode();
            result = GenerateHash(result) ^ _numberOfSilentEntityTypes.GetHashCode();

            if (_aggregateIDList.Count > 0)
            {
                for (int idx = 0; idx < _aggregateIDList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _aggregateIDList[idx].GetHashCode();
                }
            }


            if (_entityIDList.Count > 0)
            {
                for (int idx = 0; idx < _entityIDList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _entityIDList[idx].GetHashCode();
                }
            }

            result = GenerateHash(result) ^ _pad2.GetHashCode();

            if (_silentAggregateSystemList.Count > 0)
            {
                for (int idx = 0; idx < _silentAggregateSystemList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _silentAggregateSystemList[idx].GetHashCode();
                }
            }


            if (_silentEntitySystemList.Count > 0)
            {
                for (int idx = 0; idx < _silentEntitySystemList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _silentEntitySystemList[idx].GetHashCode();
                }
            }

            result = GenerateHash(result) ^ _numberOfVariableDatumRecords.GetHashCode();

            if (_variableDatumList.Count > 0)
            {
                for (int idx = 0; idx < _variableDatumList.Count; idx++)
                {
                    result = GenerateHash(result) ^ _variableDatumList[idx].GetHashCode();
                }
            }


            return(result);
        }