Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RehabType != 0)
            {
                hash ^= RehabType.GetHashCode();
            }
            if (KlType != 0)
            {
                hash ^= KlType.GetHashCode();
            }
            if (security_ != null)
            {
                hash ^= Security.GetHashCode();
            }
            if (ReqNum != 0)
            {
                hash ^= ReqNum.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RehabType != 0)
            {
                hash ^= RehabType.GetHashCode();
            }
            if (KlType != 0)
            {
                hash ^= KlType.GetHashCode();
            }
            if (security_ != null)
            {
                hash ^= Security.GetHashCode();
            }
            if (BeginTime.Length != 0)
            {
                hash ^= BeginTime.GetHashCode();
            }
            if (EndTime.Length != 0)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (MaxAckKLNum != 0)
            {
                hash ^= MaxAckKLNum.GetHashCode();
            }
            if (NeedKLFieldsFlag != 0L)
            {
                hash ^= NeedKLFieldsFlag.GetHashCode();
            }
            if (NextReqKey.Length != 0)
            {
                hash ^= NextReqKey.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }