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

            if (BrokerId.Length != 0)
            {
                hash ^= BrokerId.GetHashCode();
            }
            if (InvestorId.Length != 0)
            {
                hash ^= InvestorId.GetHashCode();
            }
            if (UserId.Length != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (InstrumentId.Length != 0)
            {
                hash ^= InstrumentId.GetHashCode();
            }
            if (ExchangeId.Length != 0)
            {
                hash ^= ExchangeId.GetHashCode();
            }
            if (OrderSysId.Length != 0)
            {
                hash ^= OrderSysId.GetHashCode();
            }
            if (OrderRef.Length != 0)
            {
                hash ^= OrderRef.GetHashCode();
            }
            if (FrontId != 0)
            {
                hash ^= FrontId.GetHashCode();
            }
            if (SessionId != 0)
            {
                hash ^= SessionId.GetHashCode();
            }
            if (ActionFlag != 0)
            {
                hash ^= ActionFlag.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TradingDay.Length != 0)
            {
                hash ^= TradingDay.GetHashCode();
            }
            if (LoginTime.Length != 0)
            {
                hash ^= LoginTime.GetHashCode();
            }
            if (BrokerId.Length != 0)
            {
                hash ^= BrokerId.GetHashCode();
            }
            if (UserId.Length != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (SystemName.Length != 0)
            {
                hash ^= SystemName.GetHashCode();
            }
            if (FrontId != 0)
            {
                hash ^= FrontId.GetHashCode();
            }
            if (SessionId != 0)
            {
                hash ^= SessionId.GetHashCode();
            }
            if (MaxOrderRef.Length != 0)
            {
                hash ^= MaxOrderRef.GetHashCode();
            }
            if (ShfeTime.Length != 0)
            {
                hash ^= ShfeTime.GetHashCode();
            }
            if (DceTime.Length != 0)
            {
                hash ^= DceTime.GetHashCode();
            }
            if (CzceTime.Length != 0)
            {
                hash ^= CzceTime.GetHashCode();
            }
            if (FfexTime.Length != 0)
            {
                hash ^= FfexTime.GetHashCode();
            }
            if (IneTime.Length != 0)
            {
                hash ^= IneTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }