Browse Source

取消加液蠕动转速选项

master
maochaoying 2 years ago
parent
commit
43c7912eb2
  1. 14
      src/components/Test.vue

14
src/components/Test.vue

@ -2,7 +2,7 @@
<div class="test_container">
<div class="common_set switch_wrap">
<p class="title">加液蠕动泵</p>
<div class="num">
<!-- <div class="num">
<van-field
type="number"
v-model="addLiquidVal"
@ -13,7 +13,7 @@
class="add_liquid_input"
/>
<p>g/min</p>
</div>
</div> -->
<div class="btn_wrap">
<div
:class="
@ -396,7 +396,7 @@ const setAddLiquidConfig = flag => {
if (flag == 1) {
websocketStore.sendCommandMsg(
//
test_replenishingFluidsPumpCtrJSON(1, addLiquidVal.value),
test_replenishingFluidsPumpCtrJSON(1, 300),
)
showSuccessToast('设置成功')
return
@ -408,16 +408,12 @@ const setAddLiquidConfig = flag => {
return
} else if (flag == 3) {
//
websocketStore.sendCommandMsg(
test_replenishingFluidsPumpCtrJSON(0, addLiquidVal.value),
)
websocketStore.sendCommandMsg(test_replenishingFluidsPumpCtrJSON(0, 0))
showSuccessToast('关闭加液蠕动泵成功')
return
} else if (flag == 5) {
//
websocketStore.sendCommandMsg(
test_replenishingFluidsPumpCtrJSON(-1, addLiquidVal.value),
)
websocketStore.sendCommandMsg(test_replenishingFluidsPumpCtrJSON(-1, 300))
showSuccessToast('设置成功')
} else if (flag == 6) {
websocketStore.sendCommandMsg(

Loading…
Cancel
Save