Пример #1
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             Header = new global::TrdCommon.TrdHeader();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.filterConditions_ != null)
     {
         if (filterConditions_ == null)
         {
             FilterConditions = new global::TrdCommon.TrdFilterConditions();
         }
         FilterConditions.MergeFrom(other.FilterConditions);
     }
     filterStatusList_.Add(other.filterStatusList_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Пример #2
0
 public void MergeFrom(C2S other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             Header = new global::TrdCommon.TrdHeader();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.filterConditions_ != null)
     {
         if (filterConditions_ == null)
         {
             FilterConditions = new global::TrdCommon.TrdFilterConditions();
         }
         FilterConditions.MergeFrom(other.FilterConditions);
     }
     if (other.FilterPLRatioMin != 0D)
     {
         FilterPLRatioMin = other.FilterPLRatioMin;
     }
     if (other.FilterPLRatioMax != 0D)
     {
         FilterPLRatioMax = other.FilterPLRatioMax;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }