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

            if (CmdCode.Length != 0)
            {
                hash ^= CmdCode.GetHashCode();
            }
            if (Identity.Length != 0)
            {
                hash ^= Identity.GetHashCode();
            }
            if (LightNo.Length != 0)
            {
                hash ^= LightNo.GetHashCode();
            }
            if (WaringCode.Length != 0)
            {
                hash ^= WaringCode.GetHashCode();
            }
            if (WaringDesc.Length != 0)
            {
                hash ^= WaringDesc.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LightNo.Length != 0)
            {
                hash ^= LightNo.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);
        }
Esempio n. 3
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 (TimeToken.Length != 0)
            {
                hash ^= TimeToken.GetHashCode();
            }
            if (ResultCode != 0)
            {
                hash ^= ResultCode.GetHashCode();
            }
            if (ServerId != 0)
            {
                hash ^= ServerId.GetHashCode();
            }
            if (LightNo.Length != 0)
            {
                hash ^= LightNo.GetHashCode();
            }
            if (WaringCode.Length != 0)
            {
                hash ^= WaringCode.GetHashCode();
            }
            if (WaringDesc.Length != 0)
            {
                hash ^= WaringDesc.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }