设备 预约接口
This commit is contained in:
@@ -16,36 +16,32 @@ class MattressControlPage extends StatefulWidget {
|
||||
class _MattressControlPageState extends State<MattressControlPage> {
|
||||
final controller = Get.put(ControlCardController());
|
||||
|
||||
final data ={
|
||||
"_id": "6840ee86693db58798000000",
|
||||
"uid": "68465947a0cff49592000000",
|
||||
"bind_type": 1,
|
||||
"device_type": 1,
|
||||
"mac": "B43A45C3E9A8",
|
||||
"bind_mac": null,
|
||||
"position": 0,
|
||||
"share_uid": null,
|
||||
"person": {
|
||||
"name": "bb",
|
||||
"gender": 0,
|
||||
"birthday": "2025/05/27",
|
||||
"weight": "10",
|
||||
"height": "100",
|
||||
"disease": []
|
||||
},
|
||||
"show": true,
|
||||
"create_time": 1749085830536,
|
||||
"shareNum": 0,
|
||||
"status": {
|
||||
"signal": -1,
|
||||
"status": 0,
|
||||
"inBed": 0,
|
||||
"upgrade": 0,
|
||||
"failure": 0,
|
||||
"updateTime": 1749110182000
|
||||
},
|
||||
"code": "B43A45C3E9A8"
|
||||
};
|
||||
final data = {
|
||||
"_id": "684bf0845a81f423c0000000",
|
||||
"uid": "68465947a0cff49592000000",
|
||||
"bind_type": 1,
|
||||
"device_type": 3,
|
||||
"mac": "545024122617",
|
||||
"bind_mac": null,
|
||||
"bind_mac_a": "48CA43B2E8C8",
|
||||
"bind_mac_b": "48CA43B2E8B0",
|
||||
"position": 0,
|
||||
"share_uid": null,
|
||||
"person": null,
|
||||
"op_type": null,
|
||||
"show": true,
|
||||
"create_time": 1749807236514,
|
||||
"shareNum": 0,
|
||||
"status": {
|
||||
"signal": -1,
|
||||
"status": 0,
|
||||
"inBed": 0,
|
||||
"upgrade": 0,
|
||||
"failure": 0,
|
||||
"updateTime": -1
|
||||
},
|
||||
"code": "545024122617"
|
||||
};
|
||||
int selectedIndex = 1; // 当前选中的tab索引
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user