GetSmartCostLimit gets the smart cost limit
()
| 875 | |
| 876 | // GetSmartCostLimit gets the smart cost limit |
| 877 | func (lp *Loadpoint) GetSmartCostLimit() *float64 { |
| 878 | lp.RLock() |
| 879 | defer lp.RUnlock() |
| 880 | return lp.smartCostLimit |
| 881 | } |
| 882 | |
| 883 | // SetSmartCostLimit sets the smart cost limit |
| 884 | func (lp *Loadpoint) SetSmartCostLimit(val *float64) { |
no test coverage detected