| 357 | } |
| 358 | |
| 359 | bool ShadingControl_Impl::setSetpoint2(double setpoint2) { |
| 360 | bool result = false; |
| 361 | std::string shadingControlType = this->shadingControlType(); |
| 362 | if (ShadingControl_Impl::isControlTypeValueNeedingSetpoint2(shadingControlType)) { |
| 363 | result = setDouble(OS_ShadingControlFields::Setpoint2, setpoint2); |
| 364 | } else { |
| 365 | LOG(Warn, briefDescription() << " has a Shading Control Type '" << shadingControlType << "' which does not require a Setpoint2"); |
| 366 | } |
| 367 | return result; |
| 368 | } |
| 369 | |
| 370 | void ShadingControl_Impl::resetSetpoint2() { |
| 371 | std::string shadingControlType = this->shadingControlType(); |