GetLimitEnergy returns the session limit energy
()
| 317 | |
| 318 | // GetLimitEnergy returns the session limit energy |
| 319 | func (lp *Loadpoint) GetLimitEnergy() float64 { |
| 320 | lp.RLock() |
| 321 | defer lp.RUnlock() |
| 322 | return lp.getLimitEnergy() |
| 323 | } |
| 324 | |
| 325 | // getLimitEnergy returns the session limit energy |
| 326 | func (lp *Loadpoint) getLimitEnergy() float64 { |
nothing calls this directly
no test coverage detected