diff --git a/src/views/clean/index.vue b/src/views/clean/index.vue
index 3e60316..c9d575e 100644
--- a/src/views/clean/index.vue
+++ b/src/views/clean/index.vue
@@ -92,38 +92,128 @@ const syringePipelineWashStop = async () => {
}
await sendControl(params)
}
+
+const form = ref({
+ speed: undefined,
+ direction: 'forward',
+})
+
+const pumpStart = ref(false)
+
+const syringePumpInjectionVolumeSet = async () => {
+ if (!form.value.speed) {
+ FtMessage.error('请输入注射泵速度')
+ return
+ }
+ if (form.value.speed > 100) {
+ FtMessage.error('清洗速度最大为100 uL/min')
+ return
+ }
+ const params = {
+ cmdCode: 'syringe_pump_start',
+ cmdId: '',
+ params: {
+ direction: form.value.direction,
+ speed: form.value.speed,
+ },
+ }
+ await sendControl(params, 'debug')
+ pumpStart.value = true
+}
+
+const syringePumpStop = async () => {
+ const params = {
+ cmdCode: 'syringe_pump_stop',
+ cmdId: '',
+ }
+ await sendControl(params, 'debug')
+ pumpStart.value = false
+}
+ 注射泵控制
+
+ 清洗控制
+