public abstract class LatchActuatorModule extends Object
| Modifier and Type | Field and Description |
|---|---|
protected double |
currentLimitInVolt |
protected String |
name |
protected double |
speedVoltageInVolt |
int |
speedVoltageMaxValue |
int |
speedVoltageMinValue |
| Constructor and Description |
|---|
LatchActuatorModule(double currentLimitInVolt,
double speedVoltageInVolt,
int speedVoltageMinValue,
int speedVoltageMaxValue)
Build a LatchActuatorModule with a tickMillis value of 3000 ms.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
close()
This is the command that has to be sent to the latch actuator to close
the latch it (same as lock it).
|
double |
getCurrentLimitInVolt()
***********************************************************************************************
|
double |
getSpeedVoltageInVolt() |
int |
getSpeedVoltageMaxValue() |
int |
getSpeedVoltageMinValue() |
abstract String |
open()
This is the command that has to be sent to the latch actuator to open the
latch (same as unlock it).
|
abstract String |
powerOff()
Power off the latch actuator.
|
void |
setCurrentLimitInVolt(double currentLimitInVolt) |
void |
setSpeedVoltageInVolt(int speedVoltageInVolt) |
void |
setSpeedVoltageMaxValue(int speedVoltageMaxValue) |
void |
setSpeedVoltageMinValue(int speedVoltageMinValue) |
@LookupName protected String name
@ConfigurationParameter(description="decimal value of the current limit (in Ampere) to determine the couple") protected double currentLimitInVolt
@ConfigurationParameter(range="-10..10",
description="decimal value of the voltage (in Volt) to send to the actuator to determine the speed")
protected double speedVoltageInVolt
@ConfigurationParameter(description="minimal decimal value of the speed voltage (used for the GUI)") public int speedVoltageMinValue
@ConfigurationParameter(description="maximal decimal value of the speed voltage (used for the GUI)") public int speedVoltageMaxValue
public LatchActuatorModule(double currentLimitInVolt,
double speedVoltageInVolt,
int speedVoltageMinValue,
int speedVoltageMaxValue)
currentLimitInVolt - speedVoltageInVolt - speedVoltageMinValue - speedVoltageMaxValue - public double getCurrentLimitInVolt()
public void setCurrentLimitInVolt(double currentLimitInVolt)
public double getSpeedVoltageInVolt()
public void setSpeedVoltageInVolt(int speedVoltageInVolt)
public int getSpeedVoltageMaxValue()
public void setSpeedVoltageMaxValue(int speedVoltageMaxValue)
public int getSpeedVoltageMinValue()
public void setSpeedVoltageMinValue(int speedVoltageMinValue)
public abstract String open()
FailedCommandExceptionFcsHardwareExceptionpublic abstract String close()
FailedCommandExceptionFcsHardwareExceptionpublic abstract String powerOff()
FailedCommandExceptionFcsHardwareExceptionCopyright © 2017 LSST. All rights reserved.