@ray-js/robot-data-stream 0.0.17-beta.7 → 0.0.17-beta.8
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.
|
@@ -12,6 +12,8 @@ export interface SetCruiseData {
|
|
|
12
12
|
cruiseType?: CruiseType;
|
|
13
13
|
/** spot 定点巡航时的净化点坐标列表,格式 "x, y";不传表示全部净化点 */
|
|
14
14
|
polygons?: string[];
|
|
15
|
+
/** spot 定点巡航时的净化点数量,= polygons.length;不传时由设备侧根据 polygons 长度推断 */
|
|
16
|
+
num?: number;
|
|
15
17
|
version?: string;
|
|
16
18
|
}
|
|
17
19
|
export interface RequestCruiseData {
|
|
@@ -25,6 +27,8 @@ export interface CruiseResponse extends BaseResponse {
|
|
|
25
27
|
cruiseType?: CruiseType;
|
|
26
28
|
/** spot 定点巡航时的净化点坐标列表,格式 "x, y" */
|
|
27
29
|
polygons?: string[];
|
|
30
|
+
/** spot 定点巡航时的净化点数量 */
|
|
31
|
+
num?: number;
|
|
28
32
|
/** 当前正在净化的坐标 "x, y" */
|
|
29
33
|
currentPolygon?: string;
|
|
30
34
|
}
|