-
X轴:
-
-
毫米
+
-
移动
-
停止
+
X轴:
+
+
毫米
+
+ 移动
+ 停止
+
-
-
-
Y轴:
-
-
毫米
-
-
移动
-
停止
+
+
Y轴:
+
+
毫米
+
+ 移动
+ 停止
+
-
+
Z轴:
-
毫米
+
毫米
移动
- 停止
+ 停止
@@ -50,8 +52,8 @@
- 指定电机转速
-
+ 电机转速
+
X
Y
@@ -65,31 +67,31 @@
placeholder=""
class="border-none outline-none h-[34px] bg-[#E8ECF7] text-primary font-medium rounded-md text-lg text-center w-[100px]" />毫米/秒
-
- 确定
-
+
+ 确定
+
- 电压控制器:
-
+ 电压控制器:
+
-
+
开启
- 关闭
+ 关闭
- 注射泵:
-
+ 注射泵:
+
@@ -325,10 +327,11 @@ import {
turnOffLightPanel,
turnOnLightPanel,
stopWash,
- stopDehumidify,
setMotorSpeed,
type WashType,
- startWash
+ startWash,
+ startDehumidify,
+ stopDehumidify,
} from "@/services/globalCmd/globalCmd";
import type { BaseResponse } from "@/services/httpRequest";
import type { WorkType } from '../../services/globalCmd/cmdTypes';
@@ -347,7 +350,7 @@ const workForm = ref({
matrixFlowVelocity: 1,
voltage: 1,
needPower: false,
- height: 6,
+ height: 15,
movementSpeed: 10,
position: [],
});
@@ -421,12 +424,6 @@ const onControlValve = (type: ControlNitrogen, open: boolean) => {
});
};
-const onStopDehumidify = () => {
- stopDehumidify().then((res) => {
- success(res);
- });
-};
-
function onStartWash(type: WashType) {
startWash({ type }).then(res => {
if (res.success) {
@@ -533,6 +530,21 @@ function onTurnOffLightPanel() {
});
}
+//开始除湿
+const humidity = ref(0)
+function onStartDehumidify(){
+ startDehumidify({ humidity: humidity.value! }).then(res=>{
+ success(res);
+ })
+}
+
+//停止除湿
+function onStopDehumidify(){
+ stopDehumidify().then((res) => {
+ success(res);
+ });
+}
+
function success(data:BaseResponse) {
if (data && data.msg == "ok") {
@@ -550,13 +562,11 @@ div {
background: linear-gradient(90deg, #0657c0 24%, #096ae0 101%);
}
.debug_axis {
- height: 3rem;
+ height: 6rem;
background: #fbfbfb;
margin-left: 3.5rem;
margin-right: 3.5rem;
border-radius: 6px;
- display: flex;
- align-items: center;
.axis {
display: flex;
@@ -569,20 +579,17 @@ div {
display: flex;
align-items: center;
margin-left: 4rem;
- margin-top: 2rem;
+ margin-top: 0.5rem;
.debug_left {
- width: 42vw;
- height: 18.75rem;
background: #fbfbfb;
- height: 70vh;
padding: 2rem;
}
.debug_right {
- width: 42vw;
- height: 70vh;
- background: #fbfbfb;
- margin-left: 2rem;
- padding: 2rem;
+ width: 47vw;
+ background: #fbfbfb;
+ margin-left: 2rem;
+ padding: 2rem;
+ margin-top: -1rem;
}
}