public class TempControl extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
TempControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Start temperature control task.
|
double |
getTemperature()
Gets the target temperature.
|
void |
init()
Checks parameters and initializes the PI controller.
|
boolean |
isLoopActive()
Gets the control loop state.
|
void |
reset()
Resets the controller.
|
void |
setTemperature(double temp)
Sets the target temperature.
|
void |
startLoop()
Starts the control loop.
|
void |
startLoop(double power)
Starts the control loop.
|
void |
stopLoop()
Stops the control loop.
|
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void setTemperature(double temp)
temp - The temperature to setpublic double getTemperature()
public void startLoop(double power)
power - The initial power valuepublic void startLoop()
public void stopLoop()
public boolean isLoopActive()
public void reset()
Copyright © 2019 LSST. All rights reserved.