added frequency to the return info of the port
This commit is contained in:
parent
b2f263e5ed
commit
39bab72621
@ -86,6 +86,7 @@ public class XMLHandler implements IXML {
|
|||||||
Element result = (Element) xPathExpression.evaluate(
|
Element result = (Element) xPathExpression.evaluate(
|
||||||
root, XPathConstants.NODE);
|
root, XPathConstants.NODE);
|
||||||
returnDictionary.put("protocol", result.getAttribute("protocol"));
|
returnDictionary.put("protocol", result.getAttribute("protocol"));
|
||||||
|
returnDictionary.put("frequency", result.getAttribute("frequency"));
|
||||||
NodeList childNodes = result.getChildNodes();
|
NodeList childNodes = result.getChildNodes();
|
||||||
List<String> pins = new ArrayList<>();
|
List<String> pins = new ArrayList<>();
|
||||||
for (int i = 0; i < childNodes.getLength(); i++) {
|
for (int i = 0; i < childNodes.getLength(); i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user