public interface ControllerParameterServer
ControllerParameterManager| Modifier and Type | Method and Description |
|---|---|
void |
burnData(java.lang.String configurationName)
initiates a burn command to the named configuration.
|
ControllerParameter |
getControllerParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName)
retrieves a
ControllerParameter by name. |
java.lang.String[] |
getParameterNames(java.lang.String ecuConfigurationName)
returns a list of all parameter names in the current controller configuration
these names would have been defined in the ecu configuration or ini file
|
void |
subscribe(java.lang.String ecuConfigurationName,
java.lang.String parameterName,
ControllerParameterChangeListener listener)
subscribes the listener to be notified any time there is a change in
value for the parameter referenced by name.
|
void |
unsubscribe(ControllerParameterChangeListener listener)
unsubscribes the listener from all parameters
|
void |
updateParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName,
double value)
updates the value of a scalar parameter.
|
void |
updateParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName,
double[][] values)
updates an Array.
|
void |
updateParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName,
java.lang.String option)
used to update the value of a bit selection
|
void subscribe(java.lang.String ecuConfigurationName,
java.lang.String parameterName,
ControllerParameterChangeListener listener)
throws ControllerException
getParameterNames() to retrieve a full
list of ecu Paramenter name in the current ecuConfigurationControllerExceptionvoid unsubscribe(ControllerParameterChangeListener listener)
java.lang.String[] getParameterNames(java.lang.String ecuConfigurationName)
ControllerParameter getControllerParameter(java.lang.String ecuConfigurationName, java.lang.String controllerParameterName) throws ControllerException
ControllerParameter by name.
valid names are defined in the ecu configuration or ini file and
can be retrieved with getParameterNames()ecuConfigurationName - controllerParameterName - ControllerExceptionvoid updateParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName,
double value)
throws ControllerException
ControllerException The Exception message will provide greater
detail on the error.ControllerExceptionvoid updateParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName,
double[][] values)
throws ControllerException
ControllerParameter
throws ControllerException The Exception message will provide greater
detail on the error.ControllerExceptionvoid updateParameter(java.lang.String ecuConfigurationName,
java.lang.String controllerParameterName,
java.lang.String option)
throws ControllerException
controllerParameterName - - Valid Parameter nameoption - - String value description, must be equal to a valid value retrieved
from ControllerParameter
throws ControllerException The Exception message will provide greater
detail on the error.ControllerExceptionvoid burnData(java.lang.String configurationName)
throws ControllerException
configurationName - - the name of the configuration to initiate the burn command.ControllerException