we200
parent
c6f9dea300
commit
f6bc35f884
@ -0,0 +1,100 @@
|
||||
/**蓝牙命令合集*/
|
||||
export const we200BleCommand = {
|
||||
/**发送配对码*/
|
||||
match: {
|
||||
commandType: "BleMatch",
|
||||
bleCommandType: "SendMatchCode",
|
||||
},
|
||||
|
||||
InfoQuery: {
|
||||
/**查询版本指令*/
|
||||
versionInfo: {
|
||||
commandType: "InfoQuery",
|
||||
infoQueryType: "versionInfo",
|
||||
otaDeviceType: "FR200",
|
||||
},
|
||||
/**时间同步*/
|
||||
timeSync: {
|
||||
commandType: "InfoQuery",
|
||||
infoQueryType: "timeSync",
|
||||
date: new Date(),
|
||||
},
|
||||
/**查询离线记录概要*/
|
||||
clockSummary: {
|
||||
commandType: "InfoQuery",
|
||||
infoQueryType: "offlineClockInInfo",
|
||||
dataType: "summary",
|
||||
},
|
||||
/**查询离线明细第一条*/
|
||||
clockDetail: {
|
||||
commandType: "InfoQuery",
|
||||
infoQueryType: "offlineClockInInfo",
|
||||
dataType: "detail",
|
||||
dataIndex: 0,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/**控制设备命令合集*/
|
||||
export const we200DeviceControlCommand = {
|
||||
/**查询设备状态指令*/
|
||||
queryDeviceStatus: {
|
||||
commandType: "DeviceStatusSync",
|
||||
deviceSyncCommandType: "onlySyncStatusToDevice",
|
||||
},
|
||||
/**控制设备暂停 pause暂停 working启动 end关闭*/
|
||||
pause: {
|
||||
commandType: "DeviceControl",
|
||||
workStatus: "pause",
|
||||
},
|
||||
standby: {
|
||||
commandType: "DeviceControl",
|
||||
workStatus: "standby",
|
||||
},
|
||||
end: {
|
||||
commandType: "DeviceControl",
|
||||
workStatus: "end",
|
||||
},
|
||||
|
||||
/**
|
||||
* '进入水分测试模式' = 'switchTestMode',
|
||||
* '启动水分测试模式' = 'startTestMode',
|
||||
*
|
||||
* face: "01", 面部
|
||||
* eyes: "02", 眼部
|
||||
*
|
||||
* nasolabialFold: "03", 法令纹Pro
|
||||
* mandibularLine: "04", 下颌线Pro
|
||||
* led: "05", led
|
||||
* headLiftingPro: "09", 抬头纹Pro
|
||||
*
|
||||
* moistureTest: "06", 水分测试
|
||||
* maskPenetration: "07",面膜促渗
|
||||
* essence: "08", 精华模式
|
||||
*
|
||||
* neck: "0A", 颈纹
|
||||
* partition: "11", 分区模式 废弃VM1001
|
||||
* ignore: "255", 不改变/无模式
|
||||
*/
|
||||
|
||||
// 普通工作模式
|
||||
work: {
|
||||
commandType: "DeviceControl",
|
||||
workStatus: "working",
|
||||
workMode: "ignore", // face
|
||||
},
|
||||
// 切换/进入水分测试
|
||||
switchTestMode: {
|
||||
commandType: "DeviceControl",
|
||||
workStatus: "working",
|
||||
workMode: "moistureTest",
|
||||
testStatus: "standby",
|
||||
},
|
||||
// 启动水分测试
|
||||
startTestMode: {
|
||||
commandType: "DeviceControl",
|
||||
workStatus: "working",
|
||||
workMode: "moistureTest",
|
||||
testStatus: "start",
|
||||
},
|
||||
};
|
||||
@ -0,0 +1 @@
|
||||
@import url(./WL200.less);
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue