EffectivePlanId returns the id for the current plan
()
| 121 | |
| 122 | // EffectivePlanId returns the id for the current plan |
| 123 | func (lp *Loadpoint) EffectivePlanId() int { |
| 124 | lp.RLock() |
| 125 | defer lp.RUnlock() |
| 126 | return lp.getPlanId() |
| 127 | } |
| 128 | |
| 129 | // EffectivePlanTime returns the effective plan time |
| 130 | func (lp *Loadpoint) EffectivePlanTime() time.Time { |
no test coverage detected