|
@@ -823,15 +823,15 @@ function testShoesFlip(){
|
|
|
socketStore.sendMessage({
|
|
socketStore.sendMessage({
|
|
|
type: 'run_mcu_single',
|
|
type: 'run_mcu_single',
|
|
|
data: {
|
|
data: {
|
|
|
- camera_height: editRowData.value.camera_height,
|
|
|
|
|
- camera_angle: editRowData.value.camera_angle,
|
|
|
|
|
|
|
+`` camera_height: Number(editRowData.value.camera_height),
|
|
|
|
|
+ camera_angle: Number(editRowData.value.camera_angle),
|
|
|
led_switch:editRowData.value.led_switch,
|
|
led_switch:editRowData.value.led_switch,
|
|
|
id:0,
|
|
id:0,
|
|
|
mode_type:'执行'+ activeTab.value === 'left' ? '左脚' : '右脚'+'程序',
|
|
mode_type:'执行'+ activeTab.value === 'left' ? '左脚' : '右脚'+'程序',
|
|
|
- turntable_position:editRowData.value.turntable_position,
|
|
|
|
|
|
|
+ turntable_position:Number(editRowData.value.turntable_position),
|
|
|
action_name:editRowData.value.action_name || '测试',
|
|
action_name:editRowData.value.action_name || '测试',
|
|
|
- turntable_angle: editRowData.value.turntable_angle,
|
|
|
|
|
- shoe_upturn: editRowData.value.shoe_upturn,
|
|
|
|
|
|
|
+ turntable_angle: Number(editRowData.value.turntable_angle),
|
|
|
|
|
+ shoe_upturn: Number(editRowData.value.shoe_upturn),
|
|
|
action_index:1,
|
|
action_index:1,
|
|
|
number_focus:0,
|
|
number_focus:0,
|
|
|
take_picture:false,
|
|
take_picture:false,
|
|
@@ -844,6 +844,7 @@ function testShoesFlip(){
|
|
|
|
|
|
|
|
clientStore.ipc.on(icpList.socket.message+'_run_mcu_single_finish', async (event, result) => {
|
|
clientStore.ipc.on(icpList.socket.message+'_run_mcu_single_finish', async (event, result) => {
|
|
|
|
|
|
|
|
|
|
+/*
|
|
|
clientStore.ipc.removeAllListeners(icpList.camera.takePictures);
|
|
clientStore.ipc.removeAllListeners(icpList.camera.takePictures);
|
|
|
clientStore.ipc.send(icpList.camera.takePictures,false);
|
|
clientStore.ipc.send(icpList.camera.takePictures,false);
|
|
|
clientStore.ipc.on(icpList.camera.takePictures, async (event, result) => {
|
|
clientStore.ipc.on(icpList.camera.takePictures, async (event, result) => {
|
|
@@ -854,6 +855,7 @@ function testShoesFlip(){
|
|
|
},5000)
|
|
},5000)
|
|
|
clientStore.ipc.removeAllListeners(icpList.camera.takePictures);
|
|
clientStore.ipc.removeAllListeners(icpList.camera.takePictures);
|
|
|
})
|
|
})
|
|
|
|
|
+*/
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
})
|