|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.efiAnalytics.plugin.ecu.ControllerParameter
public class ControllerParameter
This contains information and values for a single controller Parameter, A Controller parameter is segment of controller memory identified in the ecu configuration or ini file and given a name. A controller parameter can be a set of options or bit param, a single value or an array of values.
Field Summary | |
---|---|
static java.lang.String |
PARAM_CLASS_ARRAY
An array of values, can be 1 dimension or 2 |
static java.lang.String |
PARAM_CLASS_BITS
Parameter to be set from a discrete set of provided options |
static java.lang.String |
PARAM_CLASS_SCALAR
a numeric value that can be set to anything between min and max |
Constructor Summary | |
---|---|
ControllerParameter()
Creates a new instance of ControllerParameter |
Method Summary | |
---|---|
double[][] |
getArrayValues()
returns the values of this Parameter. |
int |
getDecimalPlaces()
The number of digits to the right of the decimal point for this Parameter. |
double |
getMax()
Maximum allowed value for this parameter to element of this Parameter. |
double |
getMin()
minimum allowed value for this parameter to element of this Parameter. |
java.util.ArrayList |
getOptionDescriptions()
All valid String Options for a bit selection. |
java.lang.String |
getParamClass()
returns the parameter class for this Parameter as defined in the ecu configuration or ini file. |
double |
getScalarValue()
the value for a scalar parameter. |
java.awt.Dimension |
getShape()
returns the shape of an array. |
java.lang.String |
getStringValue()
Gets the correct bit value to this String. |
java.lang.String |
getUnits()
Units this number is represented in. |
void |
setArrayValues(double[][] arrayValues)
returns the values of this Parameter. |
void |
setDecimalPlaces(int decimalPlaces)
The number of digits to the right of the decimal point for this Parameter. |
void |
setMax(double max)
Maximum allowed value for this parameter to element of this Parameter. |
void |
setMin(double min)
minimum allowed value for this parameter to element of this Parameter. |
void |
setOptionDescriptions(java.util.ArrayList optionDescriptions)
Sets valid String Options for a bit selection. |
void |
setParamClass(java.lang.String paramClass)
the parameter class for this Parameter as defined in the ecu configuration or ini file. |
void |
setScalarValue(double scalar)
the value for a scalar parameter. |
void |
setShape(java.awt.Dimension shape)
The shape of an array. |
void |
setStringValue(java.lang.String stringValue)
Sets the correct bit value to this String. |
void |
setUnits(java.lang.String units)
Units this number is represented in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAM_CLASS_BITS
public static final java.lang.String PARAM_CLASS_SCALAR
public static final java.lang.String PARAM_CLASS_ARRAY
Constructor Detail |
---|
public ControllerParameter()
Method Detail |
---|
public java.lang.String getParamClass()
public void setParamClass(java.lang.String paramClass)
public int getDecimalPlaces()
public void setDecimalPlaces(int decimalPlaces)
public java.awt.Dimension getShape()
public void setShape(java.awt.Dimension shape)
public java.lang.String getUnits()
public void setUnits(java.lang.String units)
public double getMin()
public void setMin(double min)
public double getMax()
public void setMax(double max)
public java.util.ArrayList getOptionDescriptions()
public void setOptionDescriptions(java.util.ArrayList optionDescriptions)
getOptionDescriptions()
ControllerParameterServer
in the Application
public double[][] getArrayValues()
public void setScalarValue(double scalar)
public double getScalarValue()
public void setArrayValues(double[][] arrayValues)
getShape()
public java.lang.String getStringValue()
getOptionDescriptions()
public void setStringValue(java.lang.String stringValue)
getOptionDescriptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |