From 4b9e54ed09a53ff706530cf6edd7db544677305f Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Tue, 15 Aug 2023 14:38:26 +0800 Subject: [PATCH] test --- src/components/Test.vue | 69 +++++++++++++++++++++++++++++++++++++++--- src/mock/command.js | 16 ++++++++++ src/store/modules/test.js | 45 ++++++++++++++++++++++++++- src/store/modules/websocket.js | 53 ++++++++++++++++++++++++++++++-- 4 files changed, 174 insertions(+), 9 deletions(-) diff --git a/src/components/Test.vue b/src/components/Test.vue index 4882daf..671b639 100644 --- a/src/components/Test.vue +++ b/src/components/Test.vue @@ -2,7 +2,7 @@
加液蠕动泵
-000 RPM
+{{ Math.abs(testStore.chargingPump) }} RPM
喷液蠕动泵
-000 RPM
+{{ testStore.sprinklerPump }} RPM
空压机
-000 A
+{{ testStore?.airCompressorObj?.currentVal }} A
风机
-000 RPM
+{{ testStore?.airBlowerObj?.currentVal }} RPM
加热片
+{{ testStore?.heatingStripObj?.currentVal }} ℃
+水浸
有水
@@ -105,18 +123,31 @@