removed last traces of value info
This commit is contained in:
parent
39bab72621
commit
e5cdfb05a8
@ -11,13 +11,6 @@ public interface IXML {
|
|||||||
*/
|
*/
|
||||||
List<String> getDeviceNames();
|
List<String> 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<String, Object> getValueInfo(String deviceName);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* reads the port information of a given device from the XML.
|
* reads the port information of a given device from the XML.
|
||||||
* @param deviceName the name of the relevant device
|
* @param deviceName the name of the relevant device
|
||||||
|
@ -17,16 +17,6 @@ public class TestXML implements IXML {
|
|||||||
return returnList;
|
return returnList;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Dictionary<String, Object> getValueInfo(String deviceName) {
|
|
||||||
Dictionary<String, Object> returnDict = new Hashtable<>();
|
|
||||||
returnDict.put("type", "boolean");
|
|
||||||
returnDict.put("unit", "");
|
|
||||||
returnDict.put("Offset", 1.0);
|
|
||||||
returnDict.put("Factor", 1.0);
|
|
||||||
return returnDict;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Dictionary<String, Object> getPort(String deviceName) {
|
public Dictionary<String, Object> getPort(String deviceName) {
|
||||||
Dictionary<String, Object> returnDict = new Hashtable<>();
|
Dictionary<String, Object> returnDict = new Hashtable<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user