/**
         * 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(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;
        }