/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(RepairResponsePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_receivingEntityID.Equals(rhs._receivingEntityID))) { ivarsEqual = false; } if (!(_repairingEntityID.Equals(rhs._repairingEntityID))) { ivarsEqual = false; } if (!(_repairResult == rhs._repairResult)) { ivarsEqual = false; } if (!(_padding1 == rhs._padding1)) { ivarsEqual = false; } if (!(_padding2 == rhs._padding2)) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(RepairCompletePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_receivingEntityID.Equals(rhs._receivingEntityID))) { ivarsEqual = false; } if (!(_repairingEntityID.Equals(rhs._repairingEntityID))) { ivarsEqual = false; } if (!(_repair == rhs._repair)) { ivarsEqual = false; } if (!(_padding2 == rhs._padding2)) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(ReceiverPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_receiverState == rhs._receiverState)) { ivarsEqual = false; } if (!(_padding1 == rhs._padding1)) { ivarsEqual = false; } if (!(_receivedPoser == rhs._receivedPoser)) { ivarsEqual = false; } if (!(_transmitterEntityId.Equals(rhs._transmitterEntityId))) { ivarsEqual = false; } if (!(_transmitterRadioId == rhs._transmitterRadioId)) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(DesignatorPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_designatingEntityID.Equals(rhs._designatingEntityID))) { ivarsEqual = false; } if (!(_codeName == rhs._codeName)) { ivarsEqual = false; } if (!(_designatedEntityID.Equals(rhs._designatedEntityID))) { ivarsEqual = false; } if (!(_designatorCode == rhs._designatorCode)) { ivarsEqual = false; } if (!(_designatorPower == rhs._designatorPower)) { ivarsEqual = false; } if (!(_designatorWavelength == rhs._designatorWavelength)) { ivarsEqual = false; } if (!(_designatorSpotWrtDesignated.Equals(rhs._designatorSpotWrtDesignated))) { ivarsEqual = false; } if (!(_designatorSpotLocation.Equals(rhs._designatorSpotLocation))) { ivarsEqual = false; } if (!(_deadReckoningAlgorithm == rhs._deadReckoningAlgorithm)) { ivarsEqual = false; } if (!(_padding1 == rhs._padding1)) { ivarsEqual = false; } if (!(_padding2 == rhs._padding2)) { ivarsEqual = false; } if (!(_entityLinearAcceleration.Equals(rhs._entityLinearAcceleration))) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(TrackJamTarget rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_trackJam.Equals(rhs._trackJam))) { ivarsEqual = false; } if (!(_emitterID == rhs._emitterID)) { ivarsEqual = false; } if (!(_beamID == rhs._beamID)) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(PointObjectStatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_objectID.Equals(rhs._objectID))) { ivarsEqual = false; } if (!(_referencedObjectID.Equals(rhs._referencedObjectID))) { ivarsEqual = false; } if (!(_updateNumber == rhs._updateNumber)) { ivarsEqual = false; } if (!(_forceID == rhs._forceID)) { ivarsEqual = false; } if (!(_modifications == rhs._modifications)) { ivarsEqual = false; } if (!(_objectType.Equals(rhs._objectType))) { ivarsEqual = false; } if (!(_objectLocation.Equals(rhs._objectLocation))) { ivarsEqual = false; } if (!(_objectOrientation.Equals(rhs._objectOrientation))) { ivarsEqual = false; } if (!(_objectAppearance == rhs._objectAppearance)) { ivarsEqual = false; } if (!(_requesterID.Equals(rhs._requesterID))) { ivarsEqual = false; } if (!(_receivingID.Equals(rhs._receivingID))) { ivarsEqual = false; } if (!(_pad2 == rhs._pad2)) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(EntityStateUpdatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_entityID.Equals(rhs._entityID))) { ivarsEqual = false; } if (!(_padding1 == rhs._padding1)) { ivarsEqual = false; } if (!(_numberOfArticulationParameters == rhs._numberOfArticulationParameters)) { ivarsEqual = false; } if (!(_entityLinearVelocity.Equals(rhs._entityLinearVelocity))) { ivarsEqual = false; } if (!(_entityLocation.Equals(rhs._entityLocation))) { ivarsEqual = false; } if (!(_entityOrientation.Equals(rhs._entityOrientation))) { ivarsEqual = false; } if (!(_entityAppearance == rhs._entityAppearance)) { ivarsEqual = false; } if (!(_articulationParameters.Count == rhs._articulationParameters.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _articulationParameters.Count; idx++) { if (!(_articulationParameters[idx].Equals(rhs._articulationParameters[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(TransferControlRequestPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_orginatingEntityID.Equals(rhs._orginatingEntityID))) { ivarsEqual = false; } if (!(_recevingEntityID.Equals(rhs._recevingEntityID))) { ivarsEqual = false; } if (!(_requestID == rhs._requestID)) { ivarsEqual = false; } if (!(_requiredReliabilityService == rhs._requiredReliabilityService)) { ivarsEqual = false; } if (!(_tranferType == rhs._tranferType)) { ivarsEqual = false; } if (!(_transferEntityID.Equals(rhs._transferEntityID))) { ivarsEqual = false; } if (!(_numberOfRecordSets == rhs._numberOfRecordSets)) { ivarsEqual = false; } if (!(_recordSets.Count == rhs._recordSets.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _recordSets.Count; idx++) { if (!(_recordSets[idx].Equals(rhs._recordSets[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(DetonationPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_munitionID.Equals(rhs._munitionID))) { ivarsEqual = false; } if (!(_eventID.Equals(rhs._eventID))) { ivarsEqual = false; } if (!(_velocity.Equals(rhs._velocity))) { ivarsEqual = false; } if (!(_locationInWorldCoordinates.Equals(rhs._locationInWorldCoordinates))) { ivarsEqual = false; } if (!(_burstDescriptor.Equals(rhs._burstDescriptor))) { ivarsEqual = false; } if (!(_locationInEntityCoordinates.Equals(rhs._locationInEntityCoordinates))) { ivarsEqual = false; } if (!(_detonationResult == rhs._detonationResult)) { ivarsEqual = false; } if (!(_numberOfArticulationParameters == rhs._numberOfArticulationParameters)) { ivarsEqual = false; } if (!(_pad == rhs._pad)) { ivarsEqual = false; } for (int idx = 0; idx < _articulationParameters.Count; idx++) { ArticulationParameter x = (ArticulationParameter)_articulationParameters[idx]; if (!(_articulationParameters[idx].Equals(rhs._articulationParameters[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(SeesPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_orginatingEntityID.Equals(rhs._orginatingEntityID))) { ivarsEqual = false; } if (!(_infraredSignatureRepresentationIndex == rhs._infraredSignatureRepresentationIndex)) { ivarsEqual = false; } if (!(_acousticSignatureRepresentationIndex == rhs._acousticSignatureRepresentationIndex)) { ivarsEqual = false; } if (!(_radarCrossSectionSignatureRepresentationIndex == rhs._radarCrossSectionSignatureRepresentationIndex)) { ivarsEqual = false; } if (!(_numberOfPropulsionSystems == rhs._numberOfPropulsionSystems)) { ivarsEqual = false; } if (!(_numberOfVectoringNozzleSystems == rhs._numberOfVectoringNozzleSystems)) { ivarsEqual = false; } for (int idx = 0; idx < _propulsionSystemData.Count; idx++) { PropulsionSystemData x = (PropulsionSystemData)_propulsionSystemData[idx]; if (!(_propulsionSystemData[idx].Equals(rhs._propulsionSystemData[idx]))) { ivarsEqual = false; } } for (int idx = 0; idx < _vectoringSystemData.Count; idx++) { VectoringNozzleSystemData x = (VectoringNozzleSystemData)_vectoringSystemData[idx]; if (!(_vectoringSystemData[idx].Equals(rhs._vectoringSystemData[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(EnvironmentalProcessPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_environementalProcessID.Equals(rhs._environementalProcessID))) { ivarsEqual = false; } if (!(_environmentType.Equals(rhs._environmentType))) { ivarsEqual = false; } if (!(_modelType == rhs._modelType)) { ivarsEqual = false; } if (!(_environmentStatus == rhs._environmentStatus)) { ivarsEqual = false; } if (!(_numberOfEnvironmentRecords == rhs._numberOfEnvironmentRecords)) { ivarsEqual = false; } if (!(_sequenceNumber == rhs._sequenceNumber)) { ivarsEqual = false; } if (!(_environmentRecords.Count == rhs._environmentRecords.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _environmentRecords.Count; idx++) { if (!(_environmentRecords[idx].Equals(rhs._environmentRecords[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(IsGroupOfPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_groupEntityID.Equals(rhs._groupEntityID))) { ivarsEqual = false; } if (!(_groupedEntityCategory == rhs._groupedEntityCategory)) { ivarsEqual = false; } if (!(_numberOfGroupedEntities == rhs._numberOfGroupedEntities)) { ivarsEqual = false; } if (!(_pad2 == rhs._pad2)) { ivarsEqual = false; } if (!(_latitude == rhs._latitude)) { ivarsEqual = false; } if (!(_longitude == rhs._longitude)) { ivarsEqual = false; } if (!(_groupedEntityDescriptions.Count == rhs._groupedEntityDescriptions.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _groupedEntityDescriptions.Count; idx++) { if (!(_groupedEntityDescriptions[idx].Equals(rhs._groupedEntityDescriptions[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(LinearObjectStatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_objectID.Equals(rhs._objectID))) { ivarsEqual = false; } if (!(_referencedObjectID.Equals(rhs._referencedObjectID))) { ivarsEqual = false; } if (!(_updateNumber == rhs._updateNumber)) { ivarsEqual = false; } if (!(_forceID == rhs._forceID)) { ivarsEqual = false; } if (!(_numberOfSegments == rhs._numberOfSegments)) { ivarsEqual = false; } if (!(_requesterID.Equals(rhs._requesterID))) { ivarsEqual = false; } if (!(_receivingID.Equals(rhs._receivingID))) { ivarsEqual = false; } if (!(_objectType.Equals(rhs._objectType))) { ivarsEqual = false; } for (int idx = 0; idx < _linearSegmentParameters.Count; idx++) { LinearSegmentParameter x = (LinearSegmentParameter)_linearSegmentParameters[idx]; if (!(_linearSegmentParameters[idx].Equals(rhs._linearSegmentParameters[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(ElectronicEmissionsPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_emittingEntityID.Equals(rhs._emittingEntityID))) { ivarsEqual = false; } if (!(_eventID.Equals(rhs._eventID))) { ivarsEqual = false; } if (!(_stateUpdateIndicator == rhs._stateUpdateIndicator)) { ivarsEqual = false; } if (!(_numberOfSystems == rhs._numberOfSystems)) { ivarsEqual = false; } if (!(_paddingForEmissionsPdu == rhs._paddingForEmissionsPdu)) { ivarsEqual = false; } if (!(_systems.Count == rhs._systems.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _systems.Count; idx++) { if (!(_systems[idx].Equals(rhs._systems[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(ServiceRequestPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_requestingEntityID.Equals(rhs._requestingEntityID))) { ivarsEqual = false; } if (!(_servicingEntityID.Equals(rhs._servicingEntityID))) { ivarsEqual = false; } if (!(_serviceTypeRequested == rhs._serviceTypeRequested)) { ivarsEqual = false; } if (!(_numberOfSupplyTypes == rhs._numberOfSupplyTypes)) { ivarsEqual = false; } if (!(_serviceRequestPadding == rhs._serviceRequestPadding)) { ivarsEqual = false; } if (!(_supplies.Count == rhs._supplies.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _supplies.Count; idx++) { if (!(_supplies[idx].Equals(rhs._supplies[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(ResupplyOfferPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_receivingEntityID.Equals(rhs._receivingEntityID))) { ivarsEqual = false; } if (!(_supplyingEntityID.Equals(rhs._supplyingEntityID))) { ivarsEqual = false; } if (!(_numberOfSupplyTypes == rhs._numberOfSupplyTypes)) { ivarsEqual = false; } if (!(_padding1 == rhs._padding1)) { ivarsEqual = false; } if (!(_padding2 == rhs._padding2)) { ivarsEqual = false; } if (!(_supplies.Count == rhs._supplies.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _supplies.Count; idx++) { if (!(_supplies[idx].Equals(rhs._supplies[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(IntercomSignalPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_entityID.Equals(rhs._entityID))) { ivarsEqual = false; } if (!(_communicationsDeviceID == rhs._communicationsDeviceID)) { ivarsEqual = false; } if (!(_encodingScheme == rhs._encodingScheme)) { ivarsEqual = false; } if (!(_tdlType == rhs._tdlType)) { ivarsEqual = false; } if (!(_sampleRate == rhs._sampleRate)) { ivarsEqual = false; } if (!(_dataLength == rhs._dataLength)) { ivarsEqual = false; } if (!(_samples == rhs._samples)) { ivarsEqual = false; } if (!(_data.Equals(rhs._data))) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(CollisionPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_issuingEntityID.Equals(rhs._issuingEntityID))) { ivarsEqual = false; } if (!(_collidingEntityID.Equals(rhs._collidingEntityID))) { ivarsEqual = false; } if (!(_eventID.Equals(rhs._eventID))) { ivarsEqual = false; } if (!(_collisionType == rhs._collisionType)) { ivarsEqual = false; } if (!(_pad == rhs._pad)) { ivarsEqual = false; } if (!(_velocity.Equals(rhs._velocity))) { ivarsEqual = false; } if (!(_mass == rhs._mass)) { ivarsEqual = false; } if (!(_location.Equals(rhs._location))) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(MinefieldResponseNackPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_minefieldID.Equals(rhs._minefieldID))) { ivarsEqual = false; } if (!(_requestingEntityID.Equals(rhs._requestingEntityID))) { ivarsEqual = false; } if (!(_requestID == rhs._requestID)) { ivarsEqual = false; } if (!(_numberOfMissingPdus == rhs._numberOfMissingPdus)) { ivarsEqual = false; } if (!(_missingPduSequenceNumbers.Count == rhs._missingPduSequenceNumbers.Count)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < _missingPduSequenceNumbers.Count; idx++) { if (!(_missingPduSequenceNumbers[idx].Equals(rhs._missingPduSequenceNumbers[idx]))) { ivarsEqual = false; } } } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(FirePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_munitionID.Equals(rhs._munitionID))) { ivarsEqual = false; } if (!(_eventID.Equals(rhs._eventID))) { ivarsEqual = false; } if (!(_fireMissionIndex == rhs._fireMissionIndex)) { ivarsEqual = false; } if (!(_locationInWorldCoordinates.Equals(rhs._locationInWorldCoordinates))) { ivarsEqual = false; } if (!(_burstDescriptor.Equals(rhs._burstDescriptor))) { ivarsEqual = false; } if (!(_velocity.Equals(rhs._velocity))) { ivarsEqual = false; } if (!(_range == rhs._range)) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(RadioCommunicationsFamilyPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_entityId.Equals(rhs._entityId))) { ivarsEqual = false; } if (!(_radioId == rhs._radioId)) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(WarfareFamilyPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_firingEntityID.Equals(rhs._firingEntityID))) { ivarsEqual = false; } if (!(_targetEntityID.Equals(rhs._targetEntityID))) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(ResupplyCancelPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_receivingEntityID.Equals(rhs._receivingEntityID))) { ivarsEqual = false; } if (!(_supplyingEntityID.Equals(rhs._supplyingEntityID))) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(SimulationManagementFamilyPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_originatingEntityID.Equals(rhs._originatingEntityID))) { ivarsEqual = false; } if (!(_receivingEntityID.Equals(rhs._receivingEntityID))) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(IffAtcNavAidsLayer1Pdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_emittingEntityId.Equals(rhs._emittingEntityId))) { ivarsEqual = false; } if (!(_eventID.Equals(rhs._eventID))) { ivarsEqual = false; } if (!(_location.Equals(rhs._location))) { ivarsEqual = false; } if (!(_systemID.Equals(rhs._systemID))) { ivarsEqual = false; } if (!(_pad2 == rhs._pad2)) { ivarsEqual = false; } if (!(_fundamentalParameters.Equals(rhs._fundamentalParameters))) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(IsPartOfPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } ivarsEqual = base.Equals(rhs); if (!(_orginatingEntityID.Equals(rhs._orginatingEntityID))) { ivarsEqual = false; } if (!(_receivingEntityID.Equals(rhs._receivingEntityID))) { ivarsEqual = false; } if (!(_relationship.Equals(rhs._relationship))) { ivarsEqual = false; } if (!(_partLocation.Equals(rhs._partLocation))) { ivarsEqual = false; } if (!(_namedLocationID.Equals(rhs._namedLocationID))) { ivarsEqual = false; } if (!(_partEntityType.Equals(rhs._partEntityType))) { ivarsEqual = false; } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(MinefieldStatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_minefieldID.Equals(rhs._minefieldID))) { ivarsEqual = false; } if (!(_minefieldSequence == rhs._minefieldSequence)) { ivarsEqual = false; } if (!(_forceID == rhs._forceID)) { ivarsEqual = false; } if (!(_numberOfPerimeterPoints == rhs._numberOfPerimeterPoints)) { ivarsEqual = false; } if (!(_minefieldType.Equals(rhs._minefieldType))) { ivarsEqual = false; } if (!(_numberOfMineTypes == rhs._numberOfMineTypes)) { ivarsEqual = false; } if (!(_minefieldLocation.Equals(rhs._minefieldLocation))) { ivarsEqual = false; } if (!(_minefieldOrientation.Equals(rhs._minefieldOrientation))) { ivarsEqual = false; } if (!(_appearance == rhs._appearance)) { ivarsEqual = false; } if (!(_protocolMode == rhs._protocolMode)) { ivarsEqual = false; } for (int idx = 0; idx < _perimeterPoints.Count; idx++) { Point x = (Point)_perimeterPoints[idx]; if (!(_perimeterPoints[idx].Equals(rhs._perimeterPoints[idx]))) { ivarsEqual = false; } } for (int idx = 0; idx < _mineType.Count; idx++) { EntityType x = (EntityType)_mineType[idx]; if (!(_mineType[idx].Equals(rhs._mineType[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(EntityStatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_entityID.Equals(rhs._entityID))) { ivarsEqual = false; } if (!(_forceId == rhs._forceId)) { ivarsEqual = false; } if (!(_numberOfArticulationParameters == rhs._numberOfArticulationParameters)) { ivarsEqual = false; } if (!(_entityType.Equals(rhs._entityType))) { ivarsEqual = false; } if (!(_alternativeEntityType.Equals(rhs._alternativeEntityType))) { ivarsEqual = false; } if (!(_entityLinearVelocity.Equals(rhs._entityLinearVelocity))) { ivarsEqual = false; } if (!(_entityLocation.Equals(rhs._entityLocation))) { ivarsEqual = false; } if (!(_entityOrientation.Equals(rhs._entityOrientation))) { ivarsEqual = false; } if (!(_entityAppearance == rhs._entityAppearance)) { ivarsEqual = false; } if (!(_deadReckoningParameters.Equals(rhs._deadReckoningParameters))) { ivarsEqual = false; } if (!(_marking.Equals(rhs._marking))) { ivarsEqual = false; } if (!(_capabilities == rhs._capabilities)) { ivarsEqual = false; } for (int idx = 0; idx < _articulationParameters.Count; idx++) { ArticulationParameter x = (ArticulationParameter)_articulationParameters[idx]; if (!(_articulationParameters[idx].Equals(rhs._articulationParameters[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(ArealObjectStatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_objectID.Equals(rhs._objectID))) { ivarsEqual = false; } if (!(_referencedObjectID.Equals(rhs._referencedObjectID))) { ivarsEqual = false; } if (!(_updateNumber == rhs._updateNumber)) { ivarsEqual = false; } if (!(_forceID == rhs._forceID)) { ivarsEqual = false; } if (!(_modifications == rhs._modifications)) { ivarsEqual = false; } if (!(_objectType.Equals(rhs._objectType))) { ivarsEqual = false; } if (!(_objectAppearance.Equals(rhs._objectAppearance))) { ivarsEqual = false; } if (!(_numberOfPoints == rhs._numberOfPoints)) { ivarsEqual = false; } if (!(_requesterID.Equals(rhs._requesterID))) { ivarsEqual = false; } if (!(_receivingID.Equals(rhs._receivingID))) { ivarsEqual = false; } for (int idx = 0; idx < _objectLocation.Count; idx++) { Vector3Double x = (Vector3Double)_objectLocation[idx]; if (!(_objectLocation[idx].Equals(rhs._objectLocation[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(AggregateStatePdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_aggregateID.Equals(rhs._aggregateID))) { ivarsEqual = false; } if (!(_forceID == rhs._forceID)) { ivarsEqual = false; } if (!(_aggregateState == rhs._aggregateState)) { ivarsEqual = false; } if (!(_aggregateType.Equals(rhs._aggregateType))) { ivarsEqual = false; } if (!(_formation == rhs._formation)) { ivarsEqual = false; } if (!(_aggregateMarking.Equals(rhs._aggregateMarking))) { ivarsEqual = false; } if (!(_dimensions.Equals(rhs._dimensions))) { ivarsEqual = false; } if (!(_orientation.Equals(rhs._orientation))) { ivarsEqual = false; } if (!(_centerOfMass.Equals(rhs._centerOfMass))) { ivarsEqual = false; } if (!(_velocity.Equals(rhs._velocity))) { ivarsEqual = false; } if (!(_numberOfDisAggregates == rhs._numberOfDisAggregates)) { ivarsEqual = false; } if (!(_numberOfDisEntities == rhs._numberOfDisEntities)) { ivarsEqual = false; } if (!(_numberOfSilentAggregateTypes == rhs._numberOfSilentAggregateTypes)) { ivarsEqual = false; } if (!(_numberOfSilentEntityTypes == rhs._numberOfSilentEntityTypes)) { ivarsEqual = false; } for (int idx = 0; idx < _aggregateIDList.Count; idx++) { AggregateID x = (AggregateID)_aggregateIDList[idx]; if (!(_aggregateIDList[idx].Equals(rhs._aggregateIDList[idx]))) { ivarsEqual = false; } } for (int idx = 0; idx < _entityIDList.Count; idx++) { EntityID x = (EntityID)_entityIDList[idx]; if (!(_entityIDList[idx].Equals(rhs._entityIDList[idx]))) { ivarsEqual = false; } } if (!(_pad2 == rhs._pad2)) { ivarsEqual = false; } for (int idx = 0; idx < _silentAggregateSystemList.Count; idx++) { EntityType x = (EntityType)_silentAggregateSystemList[idx]; if (!(_silentAggregateSystemList[idx].Equals(rhs._silentAggregateSystemList[idx]))) { ivarsEqual = false; } } for (int idx = 0; idx < _silentEntitySystemList.Count; idx++) { EntityType x = (EntityType)_silentEntitySystemList[idx]; if (!(_silentEntitySystemList[idx].Equals(rhs._silentEntitySystemList[idx]))) { ivarsEqual = false; } } if (!(_numberOfVariableDatumRecords == rhs._numberOfVariableDatumRecords)) { ivarsEqual = false; } for (int idx = 0; idx < _variableDatumList.Count; idx++) { VariableDatum x = (VariableDatum)_variableDatumList[idx]; if (!(_variableDatumList[idx].Equals(rhs._variableDatumList[idx]))) { ivarsEqual = false; } } return(ivarsEqual); }