Added scanning button animation, detection of scannable controllers and scan start
This commit is contained in:
parent
6656882859
commit
a80a1c5cdc
26 changed files with 100 additions and 70 deletions
|
|
@ -49,7 +49,7 @@
|
|||
package se.hal.plugin.nutups;
|
||||
|
||||
import se.hal.HalContext;
|
||||
import se.hal.intf.HalAutoScannableController;
|
||||
import se.hal.intf.HalAutostartController;
|
||||
import se.hal.intf.HalDeviceConfig;
|
||||
import se.hal.intf.HalDeviceReportListener;
|
||||
import se.hal.intf.HalSensorController;
|
||||
|
|
@ -64,7 +64,7 @@ import java.util.logging.Level;
|
|||
import java.util.logging.Logger;
|
||||
|
||||
|
||||
public class NutUpsController implements HalSensorController, HalAutoScannableController, Runnable {
|
||||
public class NutUpsController implements HalSensorController, HalAutostartController, Runnable {
|
||||
public static Logger logger = LogUtil.getLogger();
|
||||
|
||||
private static final int SYNC_INTERVAL = 60 * 1000;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"version": 1.0,
|
||||
"name": "Hal-NUT UPS",
|
||||
"interfaces": [
|
||||
{"se.hal.intf.HalAutoScannableController": "se.hal.plugin.nutups.NutUpsController"},
|
||||
{"se.hal.intf.HalAutostartController": "se.hal.plugin.nutups.NutUpsController"},
|
||||
{"se.hal.intf.HalSensorConfig": "se.hal.plugin.nutups.NutUpsDevice"}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue