| 448 | } |
| 449 | |
| 450 | bool CoilHeatingDXMultiSpeed_Impl::removeStage(const CoilHeatingDXMultiSpeedStageData& stage) { |
| 451 | boost::optional<unsigned> idx = stageIndex(stage); |
| 452 | if (!idx) { |
| 453 | LOG(Warn, "For " << briefDescription() << " cannot remove stage " << stage.briefDescription() << " since it is not part of it."); |
| 454 | return false; |
| 455 | } |
| 456 | |
| 457 | return removeStage(idx.get()); |
| 458 | } |
| 459 | |
| 460 | bool CoilHeatingDXMultiSpeed_Impl::removeStage(unsigned index) { |
| 461 | bool result = false; |