From e5cdfb05a802d38fd803912158e28ddbb4644ddd Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 4 Jan 2021 23:32:40 +0100 Subject: [PATCH] removed last traces of value info --- .../app/src/main/java/com/example/aped/utils/IXML.java | 7 ------- .../src/main/java/com/example/aped/utils/TestXML.java | 10 ---------- 2 files changed, 17 deletions(-) diff --git a/APED/app/src/main/java/com/example/aped/utils/IXML.java b/APED/app/src/main/java/com/example/aped/utils/IXML.java index ec38d82..109e9eb 100644 --- a/APED/app/src/main/java/com/example/aped/utils/IXML.java +++ b/APED/app/src/main/java/com/example/aped/utils/IXML.java @@ -11,13 +11,6 @@ public interface IXML { */ List getDeviceNames(); - /** - * reads the value info of a given device from the XML. - * @param deviceName the name of the relevant device - * @return the value info as a Dictionary - */ - Dictionary getValueInfo(String deviceName); - /** * reads the port information of a given device from the XML. * @param deviceName the name of the relevant device diff --git a/APED/app/src/main/java/com/example/aped/utils/TestXML.java b/APED/app/src/main/java/com/example/aped/utils/TestXML.java index 701014a..ed10000 100644 --- a/APED/app/src/main/java/com/example/aped/utils/TestXML.java +++ b/APED/app/src/main/java/com/example/aped/utils/TestXML.java @@ -17,16 +17,6 @@ public class TestXML implements IXML { return returnList; } - @Override - public Dictionary getValueInfo(String deviceName) { - Dictionary returnDict = new Hashtable<>(); - returnDict.put("type", "boolean"); - returnDict.put("unit", ""); - returnDict.put("Offset", 1.0); - returnDict.put("Factor", 1.0); - return returnDict; - } - @Override public Dictionary getPort(String deviceName) { Dictionary returnDict = new Hashtable<>();