diff options
Diffstat (limited to 'src/Heating/Pid.h')
-rw-r--r-- | src/Heating/Pid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Heating/Pid.h b/src/Heating/Pid.h index 90e98e2b..67e019c4 100644 --- a/src/Heating/Pid.h +++ b/src/Heating/Pid.h @@ -68,6 +68,9 @@ public: void UseModel(bool b) // Use or don't use the model to provide the PID parameters { useModel = b; } + bool IsHeaterEnabled() const // Is this heater enabled? + { return model.IsEnabled(); } + void GetHeaterProtection(float& pMaxTempExcursion, float& pMaxFaultTime) const { pMaxTempExcursion = maxTempExcursion; pMaxFaultTime = maxHeatingFaultTime; } |