示例#1
0
 public void MergeFrom(FrontDeskCurrentDateReportManifest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ArrivalsReport != false)
     {
         ArrivalsReport = other.ArrivalsReport;
     }
     if (other.DeparturesReport != false)
     {
         DeparturesReport = other.DeparturesReport;
     }
     if (other.InHouseGuestsReport != false)
     {
         InHouseGuestsReport = other.InHouseGuestsReport;
     }
     if (other.GuestReportSorting != 0)
     {
         GuestReportSorting = other.GuestReportSorting;
     }
     if (other.VehiclesReport != false)
     {
         VehiclesReport = other.VehiclesReport;
     }
     if (other.NoShowsReport != false)
     {
         NoShowsReport = other.NoShowsReport;
     }
     if (other.UnoccupiedRoomsReport != false)
     {
         UnoccupiedRoomsReport = other.UnoccupiedRoomsReport;
     }
     if (other.CashDropReport != false)
     {
         CashDropReport = other.CashDropReport;
     }
     if (other.StartTime.Length != 0)
     {
         StartTime = other.StartTime;
     }
     if (other.CashDropFor.Length != 0)
     {
         CashDropFor = other.CashDropFor;
     }
     if (other.EndTime.Length != 0)
     {
         EndTime = other.EndTime;
     }
     if (other.NoteCategory != 0)
     {
         NoteCategory = other.NoteCategory;
     }
     if (other.DepartureReportSorting != 0)
     {
         DepartureReportSorting = other.DepartureReportSorting;
     }
     if (other.selectedDate_ != null)
     {
         if (selectedDate_ == null)
         {
             selectedDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         SelectedDate.MergeFrom(other.SelectedDate);
     }
     if (other.ArrivalReportSorting != 0)
     {
         ArrivalReportSorting = other.ArrivalReportSorting;
     }
 }