修复部分语言中文

This commit is contained in:
wyf
2026-03-27 15:42:52 +08:00
parent a1e835ecbc
commit 446d884ac2
13 changed files with 192 additions and 692 deletions

View File

@@ -352,6 +352,7 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
await blueToothController.sendCommand(args[0]);
} catch (e) {
ef.log("[wifi控制下发指令失败]:$e");
edm.EasyDartModule.logger.error("[wifi控制下发指令失败]:$e");
}
return true;
});
@@ -495,12 +496,13 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
return;
}
if (tmp['data'] != null && tmp['data'] is Map) {
var newData = tmp['data'];
var newData = tmp['data'];
MHTBlueToothController mhtBlueToothController = Get.find();
edm.EasyDartModule.logger.info("收到设备数据:${newData['mac']}" +"wifi指令控制回复时间-->${DateTime.now()}");
edm.EasyDartModule.logger.info("收到设备数据:${newData['mac']}" +
"wifi指令控制回复时间-->${DateTime.now()}");
ef.log("wifi指令控制回复时间-->${DateTime.now()}");
// mhtBlueToothController.onCommandResponse(true);
var mac = newData['mac'];
ef.log("收到设备数据:${newData['mac']}");
String order = Base64Tool.decode(newData['data']);
@@ -510,7 +512,7 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
}
// ef.log("切换设备调试:" + "当前选中设备:${selectDevice['mac']}" +""+"收到设备数据:${mac}");
webviewTestController.web.jsbridge?.dart
?.updateDeviceStatusByWifi(order,mac);
?.updateDeviceStatusByWifi(order, mac);
}
} catch (e) {
ef.log("ws error =>$e");