fix: 实现开关设备更新操作

This commit is contained in:
niushuai233
2022-10-25 14:55:46 +08:00
parent 5b3497ea4f
commit 3f376200e5
5 changed files with 79 additions and 32 deletions

View File

@@ -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));
}
}