|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControllerParameterServer
This interface will be implemented by the Host Application.
Plugins will retrieve an instance of it from
ControllerParameterManager
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 ecuConfiguration
ControllerException
void 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()
ControllerException
- The Exception message will provide greater
detail on the error.
ControllerException
void updateParameter(java.lang.String ecuConfigurationName, java.lang.String controllerParameterName, double value) throws ControllerException
ControllerException
- The Exception message will provide greater
detail on the error.
ControllerException
void updateParameter(java.lang.String ecuConfigurationName, java.lang.String controllerParameterName, double[][] values) throws ControllerException
ControllerParameter
ControllerException
- The Exception message will provide greater
detail on the error.
ControllerException
void 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
ControllerException
- The Exception message will provide greater
detail on the error.
ControllerException
void burnData(java.lang.String configurationName) throws ControllerException
configurationName
- - the name of the configuration to initiate the burn command.
ControllerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |