Class SimulatedCentrifuge
java.lang.Object
org.episteme.core.device.AbstractDevice
org.episteme.core.device.AbstractActuator<Quantity<Frequency>>
org.episteme.core.device.sim.AbstractSimulatedActuator<Quantity<Frequency>>
org.episteme.natural.device.sim.SimulatedCentrifuge
- All Implemented Interfaces:
Serializable, AutoCloseable, Actuator<Quantity<Frequency>>, Device, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Centrifuge
public class SimulatedCentrifuge
extends AbstractSimulatedActuator<Quantity<Frequency>>
implements Centrifuge
Simulated implementation of Centrifuge.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractDevice
AbstractDevice.RecordNested classes/interfaces inherited from interface Centrifuge
Centrifuge.RotorTypeNested classes/interfaces inherited from interface Device
Device.Record, Device.Status -
Field Summary
Fields inherited from class AbstractSimulatedActuator
supportFields inherited from class AbstractDevice
accuracy, calibrationHistory, currentValue, displayUnit, firmware, history, identification, lastCalibration, locationDescription, manufacturer, maxRange, minRange, model, precisionDescription, resolution, sensitivity, status -
Constructor Summary
ConstructorsConstructorDescriptionSimulatedCentrifuge(Identification id, Quantity<Frequency> maxRPM, Quantity<Dimensionless> maxRCF, Centrifuge.RotorType rotorType) -
Method Summary
Modifier and TypeMethodDescriptioncalculateRCF(Quantity<Length> radius) booleanvoidSends a command or value to the actuator.voidvoidstop()Methods inherited from class AbstractSimulatedActuator
addCustomReadings, close, connect, disconnect, getCapabilities, getFormattedInfo, getReadings, getStatus, isConnectedMethods inherited from class AbstractDevice
calibrate, getAccuracy, getCalibrationHistory, getDeviceStatus, getDisplayUnit, getFirmware, getHistory, getId, getLastCalibration, getLocationDescription, getManufacturer, getMaxRange, getMeasurableQuantities, getMinRange, getModel, getPrecisionDescription, getResolution, getSensitivity, getTrait, getTraitOptional, getTraits, getValue, isEnabled, measure, needsCalibration, performCalibration, recordMeasurement, setAccuracy, setCurrentValue, setDisplayUnit, setEnabled, setFirmware, setLastCalibration, setLocationDescription, setManufacturer, setMaxRange, setMinRange, setModel, setPrecisionDescription, setResolution, setSensitivity, setStatusMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AutoCloseable
closeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, getTraits, setName, setTraitMethods inherited from interface Device
calibrate, calibrate, connect, disconnect, getAccuracy, getCalibrationHistory, getCapabilities, getDeviceStatus, getDisplayUnit, getFirmware, getHistory, getId, getLastCalibration, getLocationDescription, getManufacturer, getMaxRange, getMeasurableQuantities, getMinRange, getModel, getPrecisionDescription, getReadings, getResolution, getSensitivity, getStatus, getValue, isConnected, isEnabled, measure, needsCalibration, setDisplayUnit, setEnabled
-
Constructor Details
-
SimulatedCentrifuge
public SimulatedCentrifuge(Identification id, Quantity<Frequency> maxRPM, Quantity<Dimensionless> maxRCF, Centrifuge.RotorType rotorType)
-
-
Method Details
-
stop
public void stop()- Specified by:
stopin interfaceCentrifuge
-
calculateRCF
- Specified by:
calculateRCFin interfaceCentrifuge
-
getMaxRPM
- Specified by:
getMaxRPMin interfaceCentrifuge
-
getMaxRCF
- Specified by:
getMaxRCFin interfaceCentrifuge
-
getRotorType
- Specified by:
getRotorTypein interfaceCentrifuge
-
getCurrentRPM
- Specified by:
getCurrentRPMin interfaceCentrifuge
-
start
- Specified by:
startin interfaceCentrifuge
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceCentrifuge
-
send
-