public class FanControl extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
FanControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Sets up the fan speed control loop timer task.
|
double |
getGain()
Gets the gain.
|
double |
getSetTemp()
Gets the target temperature difference.
|
double |
getTimeConstant()
Gets the time constant.
|
boolean |
isLoopActive()
Gets the control loop state.
|
void |
postInit()
Initializes the parameters.
|
void |
reset()
Resets the PI controller.
|
void |
setGain(double gain)
Sets the gain.
|
void |
setSetTemp(double temp)
Sets the target temperature difference.
|
void |
setTimeConstant(double time)
Sets the time constant.
|
void |
startLoop()
Starts the control loop.
|
void |
startLoop(double duty)
Starts the control loop.
|
void |
stopLoop()
Stops the control loop.
|
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecycle@ConfigurationParameterChanger public void setSetTemp(double temp)
temp - The temperature to setpublic double getSetTemp()
@ConfigurationParameterChanger public void setGain(double gain)
gain - The gain to setpublic double getGain()
public void setTimeConstant(double time)
time - The time constant to setpublic double getTimeConstant()
public void startLoop(double duty)
duty - The initial duty cycle valuepublic void startLoop()
public void stopLoop()
public boolean isLoopActive()
public void reset()
Copyright © 2020 LSST. All rights reserved.