import{X as t}from"./index-C1tQD-C0.js";const a=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setDateAndTime?datetime=${a}`)).data}catch(e){}},e=async a=>{try{const e=await t.post(`/api/v1/app/DeviceSetting/setIncubateBoxTemperature?val=${a}`);return await t.post(`/api/v1/app/DeviceSetting/setPlateBoxTemperature?val=${a}`),e.data}catch(e){}},p=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setIncubateBoxTemperature?val=${a}`)).data}catch(e){}},s=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setPlateBoxTemperature?val=${a}`)).data}catch(e){}},i=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setLanguage?val=${a}`)).data}catch(e){}},r=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setDHCCP?val=${a}`)).data}catch(e){}},c=async()=>{try{return(await t.post("/api/v1/app/DeviceSetting/getTemperatureAvailableRange")).data}catch(a){}},n=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setLocalIp?val=${a}`)).data}catch(e){}},v=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setAutoPrint?val=${a}`)).data}catch(e){}},o=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setAutoLogout?val=${a}`)).data}catch(e){}},y=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setAutoLogoutTimeout?val=${a}`)).data}catch(e){}},S=async()=>{try{return(await t.post("/api/v1/app/DeviceSetting/getSetting")).data}catch(a){}},u={SINGLE_TRACK:"单向",DOUBLE_TRACK:"双向"},g=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLISType?val=${a}`)).data}catch(e){}},w={B9600:"9,600bps",B12800:"12,800bps",B19200:"19,200bps",B115200:"115,200bps"},d=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLISSerialBaudrate?val=${a}`,a)).data}catch(e){}},l=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLISProtocol?val=${a}`)).data}catch(e){}},h=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLISNetPort?val=${a}`)).data}catch(e){}},I=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLISNetIp?val=${a}`)).data}catch(e){}},L=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLISAutoExport?val=${a}`)).data}catch(e){}},$={SERIAL:"Serial",NETWORK:"TCP/IP"},D=async a=>{try{return(await t.post(`/api/v1/app/LISSetting/setLIFIf?val=${a}`)).data}catch(e){}},T=async()=>{try{return(await t.post("/api/v1/app/LISSetting/getSetting")).data}catch(a){}},m=async()=>{try{return(await t.post("/api/v1/app/NetworkSetting/getNetworkSetting")).data}catch(a){}},B=async a=>{try{return(await t.post("/api/v1/app/NetworkSetting/setNetworkSetting",a)).data}catch(e){}};export{$ as L,m as a,S as b,r as c,s as d,p as e,e as f,c as g,y as h,o as i,v as j,i as k,a as l,B as m,w as n,u as o,T as p,l as q,L as r,n as s,I as t,h as u,g as v,D as w,d as x};
