Ecu Interface Reference
Ecu.
Inheritance diagram for Ecu:

Public Member Functions | |
| EcuProtocol | getCurrentProtocol () throws EcuNotAvailableException, EcuLowLevelException |
| Method to request for the ecu protocol in use. More... | |
| List< EcuParameter > | getParameter (List< String > EPIDs) throws EcuNotAvailableException, EcuLowLevelException |
| Method to request the value of the parameters. More... | |
| List< String > | getAvailableEPIDs () throws EcuNotAvailableException, EcuLowLevelException |
| Method to get the available parameters in the device. More... | |
| int | setAlarm (EcuAlarm alarm) throws EcuNotAvailableException, EcuLowLevelException |
| To configure the available alarms. More... | |
| int | deleteAlarm (int id) throws EcuNotAvailableException, EcuLowLevelException |
| To delete a configured alarm. More... | |
| List< EcuAlarm > | getConfiguredAlarms () throws EcuNotAvailableException, EcuLowLevelException |
| Method to request the configured alarms. More... | |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
| void | subscribe (T observer) throws CannotSubscribeException |
| void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Member Function Documentation
| int deleteAlarm | ( | int | id | ) | throws EcuNotAvailableException, EcuLowLevelException |
- Returns
- Id of the alarm deleted.
- Exceptions
-
EcuNotAvailableException EcuLowLevelException
- Parameters
-
id Id of the alarm to be deleted
| List<String> getAvailableEPIDs | ( | ) | throws EcuNotAvailableException, EcuLowLevelException |
- Returns
- Available EPIDs list.
- Exceptions
-
EcuNotAvailableException EcuLowLevelException
| List<EcuAlarm> getConfiguredAlarms | ( | ) | throws EcuNotAvailableException, EcuLowLevelException |
- Returns
- Configured alarms list.
- Exceptions
-
EcuNotAvailableException EcuLowLevelException
| EcuProtocol getCurrentProtocol | ( | ) | throws EcuNotAvailableException, EcuLowLevelException |
- Returns
- Ecu protocol in use.
- Exceptions
-
EcuNotAvailableException EcuLowLevelException
| List<EcuParameter> getParameter | ( | List< String > | EPIDs | ) | throws EcuNotAvailableException, EcuLowLevelException |
- Returns
- Ecu parameters list.
- Exceptions
-
EcuNotAvailableException EcuLowLevelException
- Parameters
-
EPIDs The requested ECU Parameter IDs
| int setAlarm | ( | EcuAlarm | alarm | ) | throws EcuNotAvailableException, EcuLowLevelException |
- Returns
- Id of the alarm configured.
- Exceptions
-
EcuNotAvailableException EcuLowLevelException
- Parameters
-
alarm Struct to configure the alarm.

Public Member Functions inherited from