更新设备详情的设备校准和wifi配置
This commit is contained in:
@@ -236,11 +236,11 @@ class _BluetoothPageState extends State<BluetoothPage> {
|
||||
});
|
||||
}
|
||||
}),
|
||||
_buildMenuButton(context, '设备校准', ""),
|
||||
_buildMenuButton(context, '设备校准', "/mhtCalibrationAfterPage", arguments: obsData,),
|
||||
_buildMenuButton(
|
||||
context, '体征传感器', "/vitalSignsSensorPage",
|
||||
arguments: obsData),
|
||||
_buildMenuButton(context, 'WIFI配置', ""),
|
||||
_buildMenuButton(context, 'WIFI配置', "/mhtWifiAfterPage",arguments: obsData,),
|
||||
// _buildMenuButton(
|
||||
// context, '睡眠习惯', "/sleepHabitPage"),
|
||||
_buildMenuButton(
|
||||
|
||||
1016
lib/pages/mh_page/device/mht_device_calibration_after.dart
Normal file
1016
lib/pages/mh_page/device/mht_device_calibration_after.dart
Normal file
File diff suppressed because it is too large
Load Diff
@@ -68,7 +68,6 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
blueteethBindController.updateAll();
|
||||
}
|
||||
|
||||
@override
|
||||
@override
|
||||
void dispose() {
|
||||
_isDisposed = true;
|
||||
|
||||
1089
lib/pages/mh_page/device/mht_wifi_page_after.dart
Normal file
1089
lib/pages/mh_page/device/mht_wifi_page_after.dart
Normal file
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,10 @@ import 'package:vbvs_app/pages/mh_page/device/mht_bind_device_success.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_bind_device_type.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_blueteeth_device_page.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_device_calibration.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_device_calibration_after.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_people_info.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_wifi_page.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device/mht_wifi_page_after.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device_list.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device_people_info.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/device_share_page.dart';
|
||||
@@ -100,6 +102,8 @@ var mhroutes = {
|
||||
MHTBlueteethDevicePage(deviceType: arguments),
|
||||
"/mHTwifiPage": (contxt, {arguments}) => MHTWifiPage(deviceInfo: arguments),
|
||||
"/calibrationPage": (contxt) => MHTCalibrationPage(),
|
||||
"/mhtCalibrationAfterPage": (contxt, {arguments}) =>
|
||||
MHTCalibrationAfterPage(deviceInfo: arguments),
|
||||
"/bindDeviceSuccess": (contxt) => MHTBindDeviceSuccess(),
|
||||
"/newSleepReportPage": (contxt, {arguments}) =>
|
||||
NewSleepReportPage(data: arguments),
|
||||
@@ -119,6 +123,8 @@ var mhroutes = {
|
||||
"/vitalSignsSensorPage": (context, {arguments}) => VitalSignsSensorPage(
|
||||
data: arguments,
|
||||
),
|
||||
"/mhtWifiAfterPage": (contxt, {arguments}) =>
|
||||
MHTWifiAfterPage(deviceInfo: arguments),
|
||||
};
|
||||
var mhonGenerateRoute = (RouteSettings settings) {
|
||||
final String? name = settings.name; // 获取路由名称,如 /news 或 /search
|
||||
|
||||
Reference in New Issue
Block a user