消毒机设备
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
5.1 KiB

import{a as D,r,e as l,_ as O}from"../../assets/index-FZ48n_d9.js";import{d as H,r as B,w as M,ag as P,c as u,o as p,a as t,O as E,a6 as F,M as a,L as b,u as m,P as n}from"../@vue/@vue.B_jFLcBm.1751277099553.js";import"../element-plus/element-plus.DC0PKXec.1751277099553.js";import"../lodash-es/lodash-es.S0Y0Up6J.1751277099553.js";import"../@vueuse/@vueuse.VzzCFLRY.1751277099553.js";import"../@element-plus/@element-plus.C01e5HIG.1751277099553.js";import"../@popperjs/@popperjs.D_chPuIy.1751277099553.js";import"../@ctrl/@ctrl.r5W6hzzQ.1751277099553.js";import"../dayjs/dayjs.CWsDMI8D.1751277099553.js";import"../async-validator/async-validator.CDKkdPIV.1751277099553.js";import"../memoize-one/memoize-one.BdPwpGay.1751277099553.js";import"../normalize-wheel-es/normalize-wheel-es.BQoi3Ox2.1751277099553.js";import"../@floating-ui/@floating-ui.DwceP2Gb.1751277099553.js";import"../pinia/pinia.Col4Kkvr.1751277099553.js";import"../pinia-plugin-persistedstate/pinia-plugin-persistedstate.BUYkM9Wd.1751277099553.js";import"../destr/destr.Ctyiwlcu.1751277099553.js";import"../deep-pick-omit/deep-pick-omit.CegYQlcN.1751277099553.js";import"../vue-i18n/vue-i18n.DKgOWBxc.1751277099553.js";import"../@intlify/@intlify.Bpjdt8ji.1751277099553.js";import"../nanoid/nanoid.OxPLOBIU.1751277099553.js";import"../lodash/lodash.Cz9E_6Pa.1751277099553.js";import"../vue-router/vue-router.DaQm0NVE.1751277099553.js";const V={class:"dashboard-container"},R={class:"main-content"},I={class:"debug-env"},T={class:"debug-env-content"},$={class:"debug-label env-content-p",style:{"text-align":"center",width:"8rem"}},j={class:"env-content-p"},z={class:"debug-text"},G={class:"env-content-p"},J={class:"debug-text"},K={class:"env-content-p"},Q={class:"debug-text"},U={class:"debug-lower"},W={class:"debug-left-lh"},X={class:"debug-bw"},Y={class:"debug-left-lh"},Z={class:"debug-left-lh"},tt={class:"debug-left-lh"},st={class:"debug-right"},ot={class:"debug-left-lh"},nt={class:"debug-bw"},et={class:"debug-left-lh"},it={class:"debug-left-lh"},lt=H({__name:"index",setup(at){const c=D(),v=B(c.h2O2SensorData);M(()=>{const e=c.h2O2SensorData;e&&e.length&&(v.value=[...e])});const g=async()=>{await l({className:"AddLiquidService",fnName:"start",params:{stopatg:100}})},f=async()=>{l({className:"DrainLiquidService",fnName:"start",params:{}})},x=()=>{l({className:"AddLiquidService",fnName:"stop",params:{}}),l({className:"DrainLiquidService",fnName:"stop",params:{}})},y=()=>{},_=()=>{},C=()=>{},k=()=>{},S=()=>{},w=()=>{},N=()=>{},A=()=>{},L=()=>{},h=()=>{},q=()=>{};return(e,s)=>{const o=P("bt-button");return p(),u("div",V,[t("main",R,[t("section",I,[(p(!0),u(E,null,F(v.value,(i,d)=>(p(),u("div",{key:d,class:"debug-left-lh env-lh"},[t("div",T,[t("div",$,a(d===0?"仓内环境":i.title||`探头${d}`),1),t("div",j,[s[0]||(s[0]=t("span",null,"温度",-1)),t("span",z,a(m(r)(i.temp,2)),1),s[1]||(s[1]=b("°C "))]),t("div",G,[s[2]||(s[2]=t("span",null,"湿度",-1)),t("span",J,a(m(r)(i.rh,2)),1),s[3]||(s[3]=b("%RH "))]),t("div",K,[s[4]||(s[4]=t("span",null,"H202浓度",-1)),t("span",Q,a(m(r)(i.h2o2,2)),1),s[5]||(s[5]=b("ppm "))])])]))),128))]),t("div",U,[t("section",null,[t("div",null,[t("div",W,[s[6]||(s[6]=t("div",{class:"debug-label"}," 加液蠕动泵: ",-1)),t("div",X,[n(o,{type:"primary","button-text":"加液",onClick:g})]),t("div",null,[n(o,{type:"primary","button-text":"排液",onClick:f})]),t("div",null,[n(o,{"button-text":"关闭",onClick:x})])]),t("div",Y,[s[7]||(s[7]=t("div",{class:"debug-label"}," 空压机: ",-1)),s[8]||(s[8]=t("div",{class:"debug-bw"},[t("span",{class:"debug-text"},"0.00A")],-1)),t("div",null,[n(o,{type:"primary","button-text":"打开",onClick:y})]),t("div",null,[n(o,{"button-text":"关闭",onClick:_})])]),t("div",Z,[s[9]||(s[9]=t("div",{class:"debug-label"}," 加热片: ",-1)),s[10]||(s[10]=t("div",{class:"debug-bw"},[t("span",{class:"debug-text"},"0.00A")],-1)),t("div",null,[n(o,{type:"primary","button-text":"打开",onClick:C})]),t("div",null,[n(o,{"button-text":"关闭",onClick:k})])]),t("div",tt,[s[11]||(s[11]=t("div",{class:"debug-label"}," 蒸发仓水浸: ",-1)),s[12]||(s[12]=t("div",{class:"debug-bw"},[t("span",{class:"debug-text"},"没水")],-1)),t("div",null,[n(o,{type:"primary","button-text":"读取状态",onClick:S})])])])]),t("section",st,[t("div",null,[t("div",ot,[s[13]||(s[13]=t("div",{class:"debug-label"}," 注射蠕动泵: ",-1)),t("div",nt,[n(o,{type:"primary","button-text":"喷射",onClick:w})]),t("div",null,[n(o,{type:"primary","button-text":"回流",onClick:N})]),t("div",null,[n(o,{"button-text":"关闭",onClick:A})])]),t("div",et,[s[14]||(s[14]=t("div",{class:"debug-label"}," 风机: ",-1)),s[15]||(s[15]=t("div",{class:"debug-bw"},[t("span",{class:"debug-text"},"0.00A")],-1)),t("div",null,[n(o,{type:"primary","button-text":"打开",onClick:L})]),t("div",null,[n(o,{"button-text":"关闭",onClick:h})])]),t("div",it,[s[16]||(s[16]=t("div",{class:"debug-label"}," 设备底部水浸: ",-1)),s[17]||(s[17]=t("div",{class:"debug-bw"},[t("span",{class:"debug-text"},"没水")],-1)),t("div",null,[n(o,{type:"primary","button-text":"读取状态",onClick:q})])])])])])])])}}}),Dt=O(lt,[["__scopeId","data-v-dda3fcff"]]);export{Dt as default};