"use strict";(self["webpackChunkset_vue"]=self["webpackChunkset_vue"]||[]).push([[928],{3133:function(e,l,a){a.r(l),a.d(l,{default:function(){return x}});var o=a(6769),t=a(6987),n=(a(6463),a(3788)),s=(a(7540),a(5050)),i=(a(9766),a(4726)),r=a(6768),c=a(5828),d=a(6370);const[u,v]=(0,c.YX)("divider"),m={dashed:Boolean,hairline:d.Rd,vertical:Boolean,contentPosition:(0,d.Ts)("center")};var b=(0,r.pM)({name:u,props:m,setup(e,{slots:l}){return()=>{var a;return(0,r.bF)("div",{role:"separator",class:v({dashed:e.dashed,hairline:e.hairline,vertical:e.vertical,[`content-${e.contentPosition}`]:!!l.default&&!e.vertical})},[!e.vertical&&(null==(a=l.default)?void 0:a.call(l))])}}});const f=(0,i.G)(b);a(6647);var p=a(4758);const k=e=>((0,r.Qi)("data-v-96208070"),e=e(),(0,r.jt)(),e),R={class:"page-container"},F={class:"content"},_={class:"item"},g=k((()=>(0,r.Lk)("p",{class:"title"},"双色LED屏驱动板",-1))),h={class:"item"},L=k((()=>(0,r.Lk)("p",{class:"title"},"车辆识别",-1))),y={class:"item"},T=k((()=>(0,r.Lk)("p",{class:"title"},"4G声卡",-1)));function V(e,l,a,i,c,d){const u=p.A,v=f,m=s.D0,b=n.Qh,k=t.j5,V=o["default"];return(0,r.uX)(),(0,r.CE)("div",R,[(0,r.bF)(u,{title:i.currentTitle},null,8,["title"]),(0,r.bF)(k,{modelValue:i.loading,"onUpdate:modelValue":l[0]||(l[0]=e=>i.loading=e),"success-text":"刷新成功",onRefresh:i.onRefresh},{default:(0,r.k6)((()=>[(0,r.Lk)("div",F,[(0,r.Lk)("div",_,[(0,r.bF)(b,{inset:""},{default:(0,r.k6)((()=>[g,(0,r.bF)(v,{style:{color:"black"}}),(0,r.bF)(m,{label:"版本号:","model-value":i.ledVision,readonly:""},null,8,["model-value"]),(0,r.bF)(m,{label:"编译时间:","model-value":i.ledTime,readonly:""},null,8,["model-value"])])),_:1})]),(0,r.Lk)("div",h,[(0,r.bF)(b,{inset:""},{default:(0,r.k6)((()=>[L,(0,r.bF)(v,{style:{color:"black"}}),(0,r.bF)(m,{label:"版本号:","model-value":i.carVision,readonly:""},null,8,["model-value"]),(0,r.bF)(m,{label:"编译时间:","model-value":i.carTime,readonly:""},null,8,["model-value"])])),_:1})]),(0,r.Lk)("div",y,[(0,r.bF)(b,{inset:""},{default:(0,r.k6)((()=>[T,(0,r.bF)(v,{style:{color:"black"}}),(0,r.bF)(m,{label:"版本号:","model-value":i.g4Vision,readonly:""},null,8,["model-value"]),(0,r.bF)(m,{label:"编译时间:","model-value":i.g4Time,readonly:""},null,8,["model-value"])])),_:1})])])])),_:1},8,["modelValue","onRefresh"]),(0,r.bF)(V)])}var K=a(144),P=a(5149),w=(a(8628),{components:{Header:p.A,Footer:o["default"]},setup(){const e=(0,K.KR)("系统信息"),l=(0,K.KR)(!1),a=(0,K.KR)(""),o=(0,K.KR)(""),t=(0,K.KR)(""),n=(0,K.KR)(""),s=(0,K.KR)(""),i=(0,K.KR)("");let c,d=(0,K.KR)(1);c=P.connect("wss://broker.emqx.io:8084/mqtt");const u=()=>{l.value=!0,v()},v=()=>{c.publish("recewive/abc",JSON.stringify({JSON_id:d.value,LPR_card:{get_info:1}})),d.value+=1},m=()=>{c.on("connect",(()=>{console.log("Connected to MQTT broker"),c.subscribe("/mytest/abc")})),c.on("message",((e,r)=>{const c=JSON.parse(r.toString());if(console.log("Received message:",c),c.LPR_card&&c.LPR_card.info){const e=c.LPR_card.info;a.value=e.versions,o.value=e.compile_time,t.value=e.versions,n.value=e.compile_time,s.value=e.versions,i.value=e.compile_time,l.value=!1}}))};return(0,r.sV)((()=>{m()})),(0,r.xo)((()=>{c&&c.end()})),{currentTitle:e,loading:l,onRefresh:u,ledVision:a,ledTime:o,carVision:t,carTime:n,g4Vision:s,g4Time:i}}}),C=a(1241);const S=(0,C.A)(w,[["render",V],["__scopeId","data-v-96208070"]]);var x=S}}]);