| 635 | //} |
| 636 | |
| 637 | unsigned FanSystemModel_Impl::numberofSpeeds() const { |
| 638 | // number of different speed levels available when Speed Control Method is set to Discrete |
| 639 | // note Speed need to be arranged in increasing order in remaining field sets. |
| 640 | // If set to 1, or omitted, and Speed Control Method is Discrete then constant fan speed is the design maximum. |
| 641 | return std::max<unsigned>(1, numExtensibleGroups()); |
| 642 | } |
| 643 | |
| 644 | boost::optional<unsigned> FanSystemModel_Impl::speedIndex(const FanSystemModelSpeed& t_speed) const { |
| 645 | boost::optional<unsigned> result; |