public class FanControl extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
FanControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
double |
getGain()
Gets the gain.
|
double |
getTemperature()
Gets the target temperature.
|
double |
getTimeConstant()
Gets the time constant.
|
void |
initialize(org.lsst.ccs.utilities.logging.Logger log)
Initializes the parameters.
|
boolean |
isLoopActive()
Gets the control loop state.
|
void |
reset()
Resets the controller.
|
void |
setGain(double gain)
Sets the gain.
|
void |
setTemperature(double temp)
Sets the target temperature.
|
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 initialize(org.lsst.ccs.utilities.logging.Logger log)
log - The subsystem loggerpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void setTemperature(double temp)
temp - The temperature to setpublic double getTemperature()
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 © 2018 LSST. All rights reserved.