| | |
| | | <button class="item" onclick="siteMove()">站到站</button> |
| | | <button class="item" onclick="coorMove()">坐标移动</button> |
| | | <button class="item" onclick="bacOrigin()">回原点</button> |
| | | <button class="item" onclick="reverseOrigin()">反原点</button> |
| | | <button class="item" onclick="taskComplete()">任务完成</button> |
| | | <button class="item" onclick="pause()">暂停</button> |
| | | <button class="item" onclick="boot()">启动</button> |
| | | <!-- <button class="item" onclick="pause()">暂停</button>--> |
| | | <!-- <button class="item" onclick="boot()">启动</button>--> |
| | | <button class="item" onclick="clearCommand()">清除命令</button> |
| | | </div> |
| | | </fieldset> |
| | |
| | | }); |
| | | } |
| | | |
| | | // 回原点 |
| | | function reverseOrigin() { |
| | | http.post(baseUrl+"/crn/operator/reverseOrigin", getReqParam(), function (res) { |
| | | layer.msg(res.msg); |
| | | }); |
| | | } |
| | | |
| | | // 任务完成 |
| | | function taskComplete() { |
| | | http.post(baseUrl+"/crn/operator/taskComplete", getReqParam(), function (res) { |