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

Loading…
Cancel
Save