- hDay = dpd.hDay;
- mDay = dpd.mDay;
- hNight = dpd.hNight;
- mNight = dpd.mNight;
- priceDayA = dpd.priceDayA;
- priceNightA = dpd.priceNightA;
- priceDayB = dpd.priceDayB;
- priceNightB = dpd.priceNightB;
- threshold = dpd.threshold;
- singlePrice = dpd.singlePrice;
- noDiscount = dpd.noDiscount;
+ hDay = rvalue.hDay;
+ mDay = rvalue.mDay;
+ hNight = rvalue.hNight;
+ mNight = rvalue.mNight;
+ priceDayA = rvalue.priceDayA;
+ priceNightA = rvalue.priceNightA;
+ priceDayB = rvalue.priceDayB;
+ priceNightB = rvalue.priceNightB;
+ threshold = rvalue.threshold;
+ singlePrice = rvalue.singlePrice;
+ noDiscount = rvalue.noDiscount;