|
|
@ -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( |
|
|
|