mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 实现开关设备更新操作
This commit is contained in:
@@ -28,7 +28,7 @@ public class GlobalVariables {
|
||||
List<Device> deviceList = DB.getDeviceDao().loadAll();
|
||||
|
||||
for (Device device : deviceList) {
|
||||
DEVICE_INFO_MAP.put(device.getId() + "", DeviceInfo.convert(device));
|
||||
DEVICE_INFO_MAP.put(device.getId() + "", DeviceInfo.parseDevice(device));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user