| 267 | } |
| 268 | |
| 269 | void ShadingControl_Impl::resetSchedule() { |
| 270 | std::string shadingControlType = this->shadingControlType(); |
| 271 | if (ShadingControl_Impl::isControlTypeValueRequiringSchedule(shadingControlType)) { |
| 272 | LOG(Warn, briefDescription() << " has a Shading Control Type '" << shadingControlType << "' which does require a Schedule, not resetting it"); |
| 273 | } else { |
| 274 | bool test = setString(OS_ShadingControlFields::ScheduleName, ""); |
| 275 | OS_ASSERT(test); |
| 276 | |
| 277 | test = setString(OS_ShadingControlFields::ShadingControlIsScheduled, "No"); |
| 278 | OS_ASSERT(test); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | bool ShadingControl_Impl::setSetpoint(double setpoint) { |
| 283 | bool result = false; |
nothing calls this directly
no test coverage detected