Example #1
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     if (other.HolderCategory != 0)
     {
         HolderCategory = other.HolderCategory;
     }
     if (other.BeginTime.Length != 0)
     {
         BeginTime = other.BeginTime;
     }
     if (other.EndTime.Length != 0)
     {
         EndTime = other.EndTime;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #2
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.RehabType != 0)
     {
         RehabType = other.RehabType;
     }
     if (other.KlType != 0)
     {
         KlType = other.KlType;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     if (other.ReqNum != 0)
     {
         ReqNum = other.ReqNum;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (security_ == null)
                    {
                        Security = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Security);
                    break;
                }

                case 18: {
                    brokerAskList_.AddEntriesFrom(input, _repeated_brokerAskList_codec);
                    break;
                }

                case 26: {
                    brokerBidList_.AddEntriesFrom(input, _repeated_brokerBidList_codec);
                    break;
                }
                }
            }
        }
Example #4
0
 public void MergeFrom(S2C other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     klList_.Add(other.klList_);
     if (other.NextKLTime.Length != 0)
     {
         NextKLTime = other.NextKLTime;
     }
     if (other.NextKLTimestamp != 0D)
     {
         NextKLTimestamp = other.NextKLTimestamp;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #5
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (security_ == null)
                    {
                        Security = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Security);
                    break;
                }

                case 16: {
                    MaxRetNum = input.ReadInt32();
                    break;
                }
                }
            }
        }
Example #6
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.owner_ != null)
     {
         if (owner_ == null)
         {
             Owner = new global::QotCommon.Security();
         }
         Owner.MergeFrom(other.Owner);
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
     if (other.Condition != 0)
     {
         Condition = other.Condition;
     }
     if (other.BeginTime.Length != 0)
     {
         BeginTime = other.BeginTime;
     }
     if (other.EndTime.Length != 0)
     {
         EndTime = other.EndTime;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #7
0
 public void MergeFrom(S2C other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     if (other.orderDetailAsk_ != null)
     {
         if (orderDetailAsk_ == null)
         {
             OrderDetailAsk = new global::QotCommon.OrderDetail();
         }
         OrderDetailAsk.MergeFrom(other.OrderDetailAsk);
     }
     if (other.orderDetailBid_ != null)
     {
         if (orderDetailBid_ == null)
         {
             OrderDetailBid = new global::QotCommon.OrderDetail();
         }
         OrderDetailBid.MergeFrom(other.OrderDetailBid);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (security_ == null)
                    {
                        Security = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Security);
                    break;
                }

                case 18: {
                    RequestTime = input.ReadString();
                    break;
                }

                case 24: {
                    RequestTimeStamp = input.ReadInt64();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    RehabType = input.ReadInt32();
                    break;
                }

                case 16: {
                    KlType = input.ReadInt32();
                    break;
                }

                case 26: {
                    if (security_ == null)
                    {
                        Security = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Security);
                    break;
                }

                case 34: {
                    BeginTime = input.ReadString();
                    break;
                }

                case 42: {
                    EndTime = input.ReadString();
                    break;
                }

                case 48: {
                    MaxAckKLNum = input.ReadInt32();
                    break;
                }

                case 56: {
                    NeedKLFieldsFlag = input.ReadInt64();
                    break;
                }

                case 66: {
                    NextReqKey = input.ReadBytes();
                    break;
                }
                }
            }
        }
Example #10
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #11
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.plate_ != null)
     {
         if (plate_ == null)
         {
             Plate = new global::QotCommon.Security();
         }
         Plate.MergeFrom(other.Plate);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #12
0
 public void MergeFrom(S2C other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     tickerList_.Add(other.tickerList_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #13
0
 public void MergeFrom(SecurityOwnerPlate other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     plateInfoList_.Add(other.plateInfoList_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.RehabType != 0)
     {
         RehabType = other.RehabType;
     }
     if (other.KlType != 0)
     {
         KlType = other.KlType;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     if (other.BeginTime.Length != 0)
     {
         BeginTime = other.BeginTime;
     }
     if (other.EndTime.Length != 0)
     {
         EndTime = other.EndTime;
     }
     if (other.MaxAckKLNum != 0)
     {
         MaxAckKLNum = other.MaxAckKLNum;
     }
     if (other.NeedKLFieldsFlag != 0L)
     {
         NeedKLFieldsFlag = other.NeedKLFieldsFlag;
     }
     if (other.NextReqKey.Length != 0)
     {
         NextReqKey = other.NextReqKey;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #15
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (owner_ == null)
                    {
                        Owner = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Owner);
                    break;
                }

                case 16: {
                    Type = input.ReadInt32();
                    break;
                }

                case 24: {
                    Condition = input.ReadInt32();
                    break;
                }

                case 34: {
                    BeginTime = input.ReadString();
                    break;
                }

                case 42: {
                    EndTime = input.ReadString();
                    break;
                }
                }
            }
        }
Example #16
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (security_ == null)
                    {
                        Security = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Security);
                    break;
                }

                case 18: {
                    if (orderDetailAsk_ == null)
                    {
                        OrderDetailAsk = new global::QotCommon.OrderDetail();
                    }
                    input.ReadMessage(OrderDetailAsk);
                    break;
                }

                case 26: {
                    if (orderDetailBid_ == null)
                    {
                        OrderDetailBid = new global::QotCommon.OrderDetail();
                    }
                    input.ReadMessage(OrderDetailBid);
                    break;
                }
                }
            }
        }
Example #17
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (security_ == null)
                    {
                        Security = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Security);
                    break;
                }

                case 16: {
                    HolderCategory = input.ReadInt32();
                    break;
                }

                case 26: {
                    BeginTime = input.ReadString();
                    break;
                }

                case 34: {
                    EndTime = input.ReadString();
                    break;
                }
                }
            }
        }
Example #18
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (plate_ == null)
                    {
                        Plate = new global::QotCommon.Security();
                    }
                    input.ReadMessage(Plate);
                    break;
                }
                }
            }
        }
 public void MergeFrom(DetailItem other)
 {
     if (other == null)
     {
         return;
     }
     if (other.security_ != null)
     {
         if (security_ == null)
         {
             Security = new global::QotCommon.Security();
         }
         Security.MergeFrom(other.Security);
     }
     if (other.RequestTime.Length != 0)
     {
         RequestTime = other.RequestTime;
     }
     if (other.RequestTimeStamp != 0L)
     {
         RequestTimeStamp = other.RequestTimeStamp;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }