3#include "AisAbstractElement.h"
4#include "AisSquidstatGlobal.h"
7class ConstantCurrentAdvElement;
25 double samplingInterval,
225 std::shared_ptr<ConstantCurrentAdvElement> m_dataDerived;
an experiment that simulates a constant current flow with more advance options for stopping the exper...
Definition: AisConstantCurrentElement.h:15
double getApproxMaxVoltage() const
get the value set for the expected maximum voltage.
double getMaxVoltage() const
get the value set for the maximum voltage. The experiment will end when it reaches this value.
void setMaxCapacity(double maxCapacity)
set the value for the maximum capacity / cumulative charge in Coulomb.
AisConstantCurrentElement & operator=(const AisConstantCurrentElement &)
overload equal to operator for the AisConstantCurrentElement object.
void setSamplingInterval(double samplingInterval)
set how frequently we are sampling the data.
QString getName() const override
get the name of the element.
void setApproxMaxCurrent(double approxMaxCurrent)
set maximum current expected, for manual current range selection.
double getApproxMaxCurrent() const
get the value set for the expected maximum current.
void setAutoRange()
set to auto-select the current range.
double getMaxDuration() const
get the maximum duration set for the experiment. The experiment will end when the duration of the exp...
void setMaxDuration(double maxDuration)
set the maximum duration for the experiment.
void setAutoVoltageRange()
set to auto-select the voltage range.
double getMaxCapacity() const
get the value set for the maximum capacity / cumulative charge.
void setApproxMaxVoltage(double approxMaxVoltage)
set maximum voltage expected, for manual voltage range selection.
double getMinSamplingVoltageDifference() const
get the minimum sampling voltage difference for reporting the data.
void setMaxVoltage(double maxVoltage)
set a maximum voltage to stop the experiment.
AisConstantCurrentElement(const AisConstantCurrentElement &)
copy constructor for the AisConstantCurrentElement object.
void setMinVoltage(double minVoltage)
set a minimum voltage to stop the experiment.
double getSamplingInterval() const
get how frequently we are sampling the data.
QStringList getCategory() const override
get a list of applicable categories of the element.
void setMinSamplingVoltageDifference(double minVoltageDifference)
set a minimum sampling voltage difference for reporting the voltage.
double getCurrent() const
get the value set for the current.
double getMinVoltage() const
get the value set minimum for the voltage in volts.
bool isAutoRange() const
tells whether the current range is set to auto-select or not.
void setCurrent(double current)
set the value for the current.
bool isAutoVoltageRange() const
tells whether the voltage range is set to auto-select or not.
AisConstantCurrentElement(double current, double samplingInterval, double duration)
the constant current element constructor.