@ray-js/robot-data-stream 0.0.17-beta.1 → 0.0.17-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BaseResponse } from './base';
|
|
2
2
|
/** 工作类型:select_room 选房净化 / whole_house 整屋净化 */
|
|
3
3
|
export type PurifierWorkType = 'select_room' | 'whole_house';
|
|
4
|
-
/**
|
|
5
|
-
export type PurifierFanMode =
|
|
4
|
+
/** 风速档位,透传字符串,不限制具体取值(不同设备支持的档位不同) */
|
|
5
|
+
export type PurifierFanMode = string;
|
|
6
6
|
export interface PurifierScheduleItem {
|
|
7
7
|
/** 是否启用:1 启用 / 0 禁用 */
|
|
8
8
|
active: number;
|
|
@@ -16,6 +16,8 @@ export interface PurifierScheduleItem {
|
|
|
16
16
|
workTypes: PurifierWorkType[];
|
|
17
17
|
/** 风速,与 ids 对齐(整屋时单元素) */
|
|
18
18
|
fanModes: PurifierFanMode[];
|
|
19
|
+
/** 风速速度百分比 percent_setting(0-100),与 ids 对齐(整屋时单元素);仅当对应 fanMode 为 manual 时才下发 */
|
|
20
|
+
percents?: number[];
|
|
19
21
|
/** 净化顺序,与 ids 对齐 */
|
|
20
22
|
orders?: number[];
|
|
21
23
|
/** 房间名称,与 ids 对齐 */
|