Skip to content

Commit

Permalink
Rename SystemInfo-Type
Browse files Browse the repository at this point in the history
  • Loading branch information
xprojects-de committed Feb 11, 2021
1 parent be39ae5 commit ef451ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/x/DeviceUtils/Types.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class Types {

public static final int TYPE_BUSINFO = 100000;
public static final int TYPE_SYSTEMINFO = 100000;

public static final int TYPE_INPUT = 1000;
public static final int TYPE_OUTPUT = 2000;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/x/utils/RemoteAccessRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private void getStatefulDeviceProperties(Object deviceHandleObject, int deviceHa
private void addSystemInfo(AutomationRequestParams atRequestParams) {

HashMap<Object, Object> busInfoMap = new HashMap<>();
busInfoMap.put("type", Types.TYPE_BUSINFO);
busInfoMap.put("type", Types.TYPE_SYSTEMINFO);
busInfoMap.put("categorie", "System");
busInfoMap.put("name", "Systeminfo");

Expand All @@ -75,7 +75,7 @@ private void addSystemInfo(AutomationRequestParams atRequestParams) {
list.add(0, m);
busInfoMap.put("properties", list);

atRequestParams.getParams().put((Types.TYPE_BUSINFO * -1), busInfoMap);
atRequestParams.getParams().put((Types.TYPE_SYSTEMINFO * -1), busInfoMap);
}

private AutomationRequest generateCommitMessage() {
Expand Down

0 comments on commit ef451ac

Please sign in to comment.