|
@@ -319,6 +319,25 @@ function takePictures() {
|
|
|
if (clientStore.isClient) {
|
|
if (clientStore.isClient) {
|
|
|
loading.value = true;
|
|
loading.value = true;
|
|
|
console.log('takePictures');
|
|
console.log('takePictures');
|
|
|
|
|
+ console.log({
|
|
|
|
|
+ camera_height: Number(editData.value.editRowData.camera_height),
|
|
|
|
|
+ camera_angle: Number(editData.value.editRowData.camera_angle),
|
|
|
|
|
+ led_switch:editData.value.editRowData.led_switch,
|
|
|
|
|
+ id:0,
|
|
|
|
|
+ mode_type:editData.value.editRowData.mode_type,
|
|
|
|
|
+ turntable_position:Number(editData.value.editRowData.turntable_position),
|
|
|
|
|
+ action_name:editData.value.editRowData.action_name || '测试',
|
|
|
|
|
+ turntable_angle: Number(editData.value.editRowData.turntable_angle),
|
|
|
|
|
+ shoe_upturn: Number(editData.value.editRowData.shoe_upturn),
|
|
|
|
|
+ camera_focal_distance: Number(editData.value.editRowData.camera_focal_distance),
|
|
|
|
|
+ action_index:1,
|
|
|
|
|
+ number_focus:0,
|
|
|
|
|
+ take_picture:true,
|
|
|
|
|
+ pre_delay:0,
|
|
|
|
|
+ after_delay:0,
|
|
|
|
|
+ point_name:editData.value.editRowData.point_name || currentPointName.value || 'A',
|
|
|
|
|
+ is_move_device:editData.value.editRowData.is_move_device
|
|
|
|
|
+ })
|
|
|
hideVideo(currentPointName.value).then(() => {
|
|
hideVideo(currentPointName.value).then(() => {
|
|
|
socketStore.sendMessage({
|
|
socketStore.sendMessage({
|
|
|
type: 'run_mcu_single',
|
|
type: 'run_mcu_single',
|