public class HeaterPIControl extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
HeaterPIControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Starts the temperature control task.
|
int |
getPowerChannel()
Gets the power channel,
|
PowerDevice |
getPowerDevice()
Gets the power device,
|
void |
postInit()
Initializes the parameters.
|
void |
reset()
Resets the controller.
|
void |
restart()
Restarts the control loop.
|
void |
setTemp(double value)
Sets the target temperature.
|
void |
setTempWeight(String cName,
double weight)
Sets a temperature weight.
|
void |
setTempWeights(Map<String,Double> weights)
Sets the temperature weights.
|
void |
start(double power)
Starts the control loop.
|
void |
stop()
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 setTempWeights(Map<String,Double> weights)
weights - A map of channel names to weight factors@Command(type=ACTION, description="Set a temperature weight") public void setTempWeight(@Argument(description="Channel name") String cName, @Argument(description="Channel weight") double weight) throws RefrigException
cName - The name of the temperature channelweight - The weight factor to setRefrigExceptionpublic PowerDevice getPowerDevice()
public int getPowerChannel()
public void setTemp(double value)
value - The temperature to setpublic void reset()
public void restart()
public void start(double power)
power - The starting power valuepublic void stop()
Copyright © 2023 LSST. All rights reserved.