更新法语语言包

This commit is contained in:
wyf
2026-01-31 14:43:47 +08:00
parent 2aedbb3d74
commit 97ffc1220d
48 changed files with 1608 additions and 1837 deletions

View File

@@ -69,7 +69,7 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
bridge: bridge,
onConnect: (args1, args2) {
final devices = args1.devices as Map<String, dynamic>;
final mac = args2 as String;
final mac = args2 as String;
if (devices.containsKey(mac)) {
final device = devices[mac];
ef.log('Minibleapp connected(Android): $mac -> $device');
@@ -340,6 +340,17 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
}
return true;
});
bridge.sdk.sendCommand((args) async {
ef.log('wifi控制指令: $args[0]');
try {
MHTBlueToothController blueToothController = Get.find();
// await blueToothController.saveHabitData(args[0]);
await blueToothController.sendCommand(args[0]);
} catch (e) {
ef.log("[wifi控制下发指令失败]:$e");
}
return true;
});
});
} catch (e, s) {
ef.log('$e,$s');