Skip to content

Commit

Permalink
work with declared hardware fields
Browse files Browse the repository at this point in the history
  • Loading branch information
noursaidi committed Apr 28, 2022
1 parent 57ff4e2 commit 71ef770
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pubber/src/main/java/daq/pubber/Pubber.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,8 @@ private void initializeDevice() {

deviceState.system.operational = true;
deviceState.system.serial_no = configuration.serialNo;
deviceState.system.hardware = new HashMap<>();
deviceState.system.hardware.put("make", "BOS");
deviceState.system.hardware.put("model", "pubber");
deviceState.system.hardware.make = "BOS";
deviceState.system.hardware.model = "pubber";
deviceState.system.software = new HashMap<>();
deviceState.system.software.put("firmware", "v1");
devicePoints.extraField = configuration.extraField;
Expand Down

0 comments on commit 71ef770

Please sign in to comment.