getPanelUserList(devId: Object)
Requires:
@ray-js/ray≥1.5.40
Description
Get panel user list
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
devId | string | Yes | Device ID |
Return Value
Type: Promise<Object↓[]>
| Property | Type | Description |
|---|---|---|
userId | string | User ID |
devId | string | Device ID |
type | 1 | 2 | 3 | 6 | Business type: 1 - blood pressure monitor; 2 - kitchen scale; 3 - body fat scale; 6 - pulse oximeter |
userName | string | Username |
sex | 0 | 1 | Gender: 0 - male, 1 - female |
birthday | number | Birthdate timestamp |
height | number | Height |
heightUnit | "cm" | "inch" | Height unit |
weight | number | Weight |
weightUnit | "kg" | "lb" | "st" | "jin" | Weight unit |
userType | number | User type: 1 - primary user, 2 - temporary user, others - DP-configured user |
avatar | string | Avatar |
| Extended info; weight may need to be stored at 10x scale |
Valid Values
return.type
| Value | Description | Since |
|---|---|---|
1 | - | - |
2 | - | - |
3 | - | - |
6 | - | - |
return.sex
| Value | Description | Since |
|---|---|---|
0 | - | - |
1 | - | - |
return.heightUnit
| Value | Description | Since |
|---|---|---|
cm | - | - |
inch | - | - |
return.weightUnit
| Value | Description | Since |
|---|---|---|
kg | - | - |
lb | - | - |
st | - | - |
jin | - | - |