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

            if (CmdCode.Length != 0)
            {
                hash ^= CmdCode.GetHashCode();
            }
            if (Identity.Length != 0)
            {
                hash ^= Identity.GetHashCode();
            }
            if (OppositeId.Length != 0)
            {
                hash ^= OppositeId.GetHashCode();
            }
            if (ServerId != 0)
            {
                hash ^= ServerId.GetHashCode();
            }
            if (CellAddr != 0)
            {
                hash ^= CellAddr.GetHashCode();
            }
            if (LightNo.Length != 0)
            {
                hash ^= LightNo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CellAddr != 0)
            {
                hash ^= CellAddr.GetHashCode();
            }
            if (Status.Length != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (LightPw != 0)
            {
                hash ^= LightPw.GetHashCode();
            }
            if (LightLu != 0)
            {
                hash ^= LightLu.GetHashCode();
            }
            if (LightLi != 0)
            {
                hash ^= LightLi.GetHashCode();
            }
            if (LightBu != 0)
            {
                hash ^= LightBu.GetHashCode();
            }
            if (LightBt != 0)
            {
                hash ^= LightBt.GetHashCode();
            }
            if (LightUu != 0)
            {
                hash ^= LightUu.GetHashCode();
            }
            if (LightUi != 0)
            {
                hash ^= LightUi.GetHashCode();
            }
            hash ^= lightBgus_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CellAddr != 0)
            {
                hash ^= CellAddr.GetHashCode();
            }
            if (LightNo.Length != 0)
            {
                hash ^= LightNo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#4
0
 public override int GetHashCode()
 {
     return((ulCa.GetHashCode() * 29 + lrCa.GetHashCode()) * 37 + sheet.GetHashCode());
 }