Beispiel #1
0
 public void MergeFrom(ActiveData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.total_ != null)
     {
         if (total_ == null)
         {
             total_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Total.MergeFrom(other.Total);
     }
     if (other.zap_ != null)
     {
         if (zap_ == null)
         {
             zap_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Zap.MergeFrom(other.Zap);
     }
     if (other.nds_ != null)
     {
         if (nds_ == null)
         {
             nds_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Nds.MergeFrom(other.Nds);
     }
     if (other.deb_ != null)
     {
         if (deb_ == null)
         {
             deb_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Deb.MergeFrom(other.Deb);
     }
     if (other.fin_ != null)
     {
         if (fin_ == null)
         {
             fin_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Fin.MergeFrom(other.Fin);
     }
     if (other.mon_ != null)
     {
         if (mon_ == null)
         {
             mon_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Mon.MergeFrom(other.Mon);
     }
     if (other.oth_ != null)
     {
         if (oth_ == null)
         {
             oth_ = new global::Grpc.Business.ExpressService.Pair();
         }
         Oth.MergeFrom(other.Oth);
     }
 }