Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (header_ != null)
            {
                hash ^= Header.GetHashCode();
            }
            if (MeasureType != 0)
            {
                hash ^= MeasureType.GetHashCode();
            }
            if (FrameType != 0)
            {
                hash ^= FrameType.GetHashCode();
            }
            if (position_ != null)
            {
                hash ^= Position.GetHashCode();
            }
            if (velocity_ != null)
            {
                hash ^= Velocity.GetHashCode();
            }
            if (Yaw != 0D)
            {
                hash ^= Yaw.GetHashCode();
            }
            if (ZoneId != 0)
            {
                hash ^= ZoneId.GetHashCode();
            }
            if (IsHaveVariance != false)
            {
                hash ^= IsHaveVariance.GetHashCode();
            }
            if (IsGnssDoubleAntenna != false)
            {
                hash ^= IsGnssDoubleAntenna.GetHashCode();
            }
            hash ^= measureCovar_.GetHashCode();
            return(hash);
        }