/**
         * Compares for reference equality and value equality.
         */
        public bool equals(StartResumeReliablePdu rhs)
        {
            bool ivarsEqual = true;

            if (rhs.GetType() != this.GetType())
            {
                return(false);
            }

            ivarsEqual = base.Equals(rhs);

            if (!(_realWorldTime.Equals(rhs._realWorldTime)))
            {
                ivarsEqual = false;
            }
            if (!(_simulationTime.Equals(rhs._simulationTime)))
            {
                ivarsEqual = false;
            }
            if (!(_requiredReliabilityService == rhs._requiredReliabilityService))
            {
                ivarsEqual = false;
            }
            if (!(_pad1 == rhs._pad1))
            {
                ivarsEqual = false;
            }
            if (!(_pad2 == rhs._pad2))
            {
                ivarsEqual = false;
            }
            if (!(_requestID == rhs._requestID))
            {
                ivarsEqual = false;
            }

            return(ivarsEqual);
        }
        /**
         * Compares for reference equality and value equality.
         */
        public bool equals(StartResumeReliablePdu rhs)
        {
            bool ivarsEqual = true;

            if(rhs.GetType() != this.GetType())
                return false;

            ivarsEqual = base.Equals(rhs);

            if( ! (_realWorldTime.Equals( rhs._realWorldTime) )) ivarsEqual = false;
            if( ! (_simulationTime.Equals( rhs._simulationTime) )) ivarsEqual = false;
            if( ! (_requiredReliabilityService == rhs._requiredReliabilityService)) ivarsEqual = false;
            if( ! (_pad1 == rhs._pad1)) ivarsEqual = false;
            if( ! (_pad2 == rhs._pad2)) ivarsEqual = false;
            if( ! (_requestID == rhs._requestID)) ivarsEqual = false;

            return ivarsEqual;
        }