summaryrefslogtreecommitdiff
path: root/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/ReadDID.java
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/ReadDID.java')
-rwxr-xr-xSDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/ReadDID.java106
1 files changed, 0 insertions, 106 deletions
diff --git a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/ReadDID.java b/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/ReadDID.java
deleted file mode 100755
index a8d73bfdd..000000000
--- a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/ReadDID.java
+++ /dev/null
@@ -1,106 +0,0 @@
-package com.smartdevicelink.proxy.rpc;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-import com.smartdevicelink.proxy.RPCRequest;
-import com.smartdevicelink.proxy.constants.Names;
-
-/**
- * Non periodic vehicle data read request. This is an RPC to get diagnostics
- * data from certain vehicle modules. DIDs of a certain module might differ from
- * vehicle type to vehicle type
- * <p>
- * Function Group: ProprietaryData
- * <p>
- * <b>HMILevel needs to be FULL, LIMITED or BACKGROUND</b>
- * <p>
- *
- * @since SmartDeviceLink 2.0
- */
-public class ReadDID extends RPCRequest {
-
- /**
- * Constructs a new ReadDID object
- */
- public ReadDID() {
- super("ReadDID");
- }
-
- /**
- * Constructs a new ReadDID object indicated by the Hashtable parameter
- * <p>
- *
- * @param hash
- * The Hashtable to use
- */
- public ReadDID(Hashtable hash) {
- super(hash);
- }
-
- /**
- * Sets an ID of the vehicle module
- *
- * @param ecuName
- * an Integer value representing the ID of the vehicle module
- * <p>
- * <b>Notes: </b>Minvalue:0; Maxvalue:65535
- */
- public void setEcuName(Integer ecuName) {
- if (ecuName != null) {
- parameters.put(Names.ecuName, ecuName);
- } else {
- parameters.remove(Names.ecuName);
- }
- }
-
- /**
- * Gets the ID of the vehicle module
- *
- * @return Integer -an Integer value representing the ID of the vehicle
- * module
- */
- public Integer getEcuName() {
- return (Integer) parameters.get(Names.ecuName);
- }
-
- /**
- * Sets raw data from vehicle data DID location(s)
- *
- * @param didLocation
- * a Vector<Integer> value representing raw data from vehicle
- * data DID location(s)
- * <p>
- * <b>Notes: </b>
- * <ul>
- * <li>Minvalue:0; Maxvalue:65535</li>
- * <li>ArrayMin:0; ArrayMax:1000</li>
- * </ul>
- */
- public void setDidLocation(Vector<Integer> didLocation) {
- if (didLocation != null) {
- parameters.put(Names.didLocation, didLocation);
- } else {
- parameters.remove(Names.didLocation);
- }
- }
-
- /**
- * Gets raw data from vehicle data DID location(s)
- *
- * @return Vector<Integer> -a Vector<Integer> value representing raw data
- * from vehicle data DID location(s)
- */
- public Vector<Integer> getDidLocation() {
- if (parameters.get(Names.didLocation) instanceof Vector<?>) {
- Vector<?> list = (Vector<?>)parameters.get(Names.didLocation);
- if (list != null && list.size() > 0) {
- Object obj = list.get(0);
- if (obj instanceof Integer) {
- return (Vector<Integer>) list;
- }
- }
- }
- return null;
- }
-}