mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
e50hx: use the new bacnetutil class
This commit removes functionality that is now present in the bacnetutil class. This simplifies the driver considerably. The examples were modified to reflect the renaming of some utility functions in bacnetutil. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -58,8 +58,10 @@ public class E50HX_Example
|
||||
// sensor.setDebug(true);
|
||||
|
||||
System.out.println();
|
||||
System.out.println("Device Description: " + sensor.getDescription());
|
||||
System.out.println("Device Location: " + sensor.getLocation());
|
||||
System.out.println("Device Description: "
|
||||
+ sensor.getDeviceDescription());
|
||||
System.out.println("Device Location: "
|
||||
+ sensor.getDeviceLocation());
|
||||
System.out.println();
|
||||
|
||||
// update and print a few values every 5 seconds
|
||||
@ -84,7 +86,6 @@ public class E50HX_Example
|
||||
System.out.println();
|
||||
Thread.sleep(5000);
|
||||
}
|
||||
|
||||
// ! [Interesting]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user