diff --git a/pages/searchDevice/searchDevice.js b/pages/searchDevice/searchDevice.js index 84250e7..d722e6a 100644 --- a/pages/searchDevice/searchDevice.js +++ b/pages/searchDevice/searchDevice.js @@ -113,48 +113,48 @@ Page({ this.setData({ initText: "设备搜索中..." }); - let seviceList = [{ - advLength: 999, - calorieStatus: 0, - createBy: null, - deviceAccuracyType: 2, - deviceCalcuteType: 4, - deviceConnectType: 2, - deviceFuncType: 223, - deviceName: "CF577", - devicePowerType: 3, - deviceProtocolType: 3, - deviceType: 1, - deviceUnitType: "0,1,11", - id: 51, - imgUrl: null, - macAddressStart: 6, - remark: null, - sign: "FF", - status: 0, - uhStatus: 1, - updateBy: null - }, { + let seviceList = [{ "advLength": 999, "calorieStatus": 0, "createBy": null, "deviceAccuracyType": 2, "deviceCalcuteType": 3, "deviceConnectType": 2, - "deviceFuncType": 223, - "deviceName": "CF568_G", + "deviceFuncType": 32991, + "deviceName": "CF568_G", "devicePowerType": 3, "deviceProtocolType": 3, "deviceType": 1, "deviceUnitType": "0,1,11", - "id": 65, + "id": 7, "imgUrl": null, "macAddressStart": 6, "remark": null, "sign": "FF", "status": 0, "uhStatus": 1, - "updateBy": null + "updateBy": null + }, { + "advLength": 999, + "calorieStatus": 0, + "createBy": null, + "deviceAccuracyType": 2, + "deviceCalcuteType": 4, + "deviceConnectType": 2, + "deviceFuncType": 65759, + "deviceName": "CF636_G", + "devicePowerType": 3, + "deviceProtocolType": 3, + "deviceType": 1, + "deviceUnitType": "0,1,2", + "id": 216, + "imgUrl": null, + "macAddressStart": 6, + "remark": null, + "sign": "FF", + "status": 0, + "uhStatus": 1, + "updateBy": null }]; app.globalData.ppScale.plugin.Blue.setDeviceSetting(seviceList); app.globalData.ppScale.device.setting = seviceList;