pathFollow.control

巡检-控制

模块:Path调用:piclient.emit('pathFollow.control', {...})

控制该巡检路线

输入

参数类型必填默认值说明
targetstringObjectId场景中的巡检路线
typestringplayplay/pause/stop
可选值:playpausestop

调用

typescript
piclient.emit("pathfollow.control",{
	target: "ObjectId", //场景中的巡检路线
	type: "play"//play/pause/stop
})
← 返回 Path 模块