import{ab as e,r as a}from"./index-C1tQD-C0.js";import{e as t}from"./equals-cwY-6C0z.js";const s=e("device",(()=>{const e=a({workState:"IDLE",pending:!1}),s=a([]),l=a(),r=a();const o=a({pboxTemperature:20,incubateBoxTemperature:20,wasteBinFullFlag:!1}),u=a({topMessage:{time:0,messageLevel:"Info",message:"空闲"},messageBoxList:[]}),i=a({loginFlag:!1,deviceInitedFlag:!1,loginUser:{id:0,account:"",password:"",usrRole:"",isBuiltInUser:!1}});return{deviceState:e,setDeviceState:function(a){t(a,e.value)||(e.value=a)},sensorState:o,setSensorState:e=>{t(e,o.value)||(o.value={...e})},messageState:u,setMessageState:e=>{u.value=e},contextState:i,setContextState:e=>{t(e,i.value)||(i.value=e)},alarmList:s,setAlarmList:e=>{s.value=e},alarmFlagState:l,updatealarmFlagState:e=>{l.value=e},alarmItem:r,updateAlarmItem:e=>{r.value=e}}}));export{s as u};
