Browse Source

测试

feature/debug
LiLongLong 5 months ago
parent
commit
ef34660d3f
  1. 2
      src/views/debug/index.vue

2
src/views/debug/index.vue

@ -258,7 +258,6 @@ import {
//websocket //websocket
const wsClient = createWebSocket(sharedWsUrl); const wsClient = createWebSocket(sharedWsUrl);
subscription = wsClient.dataOb.subscribe(data => { subscription = wsClient.dataOb.subscribe(data => {
}); });
wsClient.connect(); wsClient.connect();
}) })
@ -271,7 +270,6 @@ import {
const onMoveMachinery = (axis:string) => { const onMoveMachinery = (axis:string) => {
if(!axis)return; if(!axis)return;
const x = parseFloat(parseFloat(machineryForm.value[axis]).toFixed(1)); const x = parseFloat(parseFloat(machineryForm.value[axis]).toFixed(1));
console.log('x-------', x)
const params = { const params = {
commandName:'moveMotorToPosition', commandName:'moveMotorToPosition',
params: <MachineryType>{ params: <MachineryType>{

Loading…
Cancel
Save