Browse Source

调试页面去掉注射泵的时间

master
LiLongLong 5 months ago
parent
commit
bb171c0549
  1. 2
      src/services/globalCmd/cmdTypes.ts
  2. 11
      src/views/debug/index.vue

2
src/services/globalCmd/cmdTypes.ts

@ -9,7 +9,7 @@ export type ControlType = {
export type SyringeParams = {
rotationSpeed: number;
direction: string;
time: number;
// time: number;
}
export type SyringeType = {
params: SyringeParams;

11
src/views/debug/index.vue

@ -50,7 +50,7 @@
<div class="debug_main">
<div class="debug_left">
<div class="">
<div>
<el-row>
<el-col :span="6" >电机回原点</el-col>
<el-col :span="14">
@ -59,15 +59,13 @@
<el-radio value="Y">Y</el-radio>
<el-radio value="Z">Z</el-radio>
</el-radio-group>
</el-col>
<el-col :span="2">
<el-button type="primary" @click="onMotorMoveToHome">回原点</el-button>
</el-col>
</el-row>
<el-divider />
<el-row>
<el-row class="mt-[10px]">
<el-col :span="6" >电机转速</el-col>
<el-col :span="14">
<el-radio-group v-model="rotateForm.axis">
@ -115,13 +113,13 @@
type="number"
class="border-none outline-none h-[34px] bg-[#E8ECF7] text-primary font-medium rounded-md text-lg text-center w-[100px]" />uL/Min
</div>
<div class="mt-[10px] ml-[20px]">
<!-- <div class="mt-[10px] ml-[20px]">
<input
v-model="syringeForm.time"
placeholder="时间"
type="number"
class="border-none outline-none h-[34px] bg-[#E8ECF7] text-primary font-medium rounded-md text-lg text-center w-[100px]" />s
</div>
</div> -->
<div class="ml-[20px] mt-[10px]">
方向
<el-radio v-model="syringeForm.direction" value="0">后退</el-radio>
@ -356,7 +354,6 @@ const activeName = ref("debug");
const voltageValue = ref();
const syringeForm = ref<SyringeParams>({
rotationSpeed: 1,
time: 0,
direction: "1",
});
const workForm = ref<WorkType>({

Loading…
Cancel
Save