import{Y as t}from"./index-D8tPjwDN.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){}},i=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setPlateBoxTemperature?val=${a}`)).data}catch(e){}},s=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setLanguage?val=${a}`)).data}catch(e){}},c=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setDHCCP?val=${a}`)).data}catch(e){}},r=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){}},g=async a=>{try{return(await t.post(`/api/v1/app/DeviceSetting/setAutoLogoutTimeout?val=${a}`)).data}catch(e){}},y=async()=>{try{return(await t.post("/api/v1/app/DeviceSetting/getSetting")).data}catch(a){}},u={SINGLE_TRACK:"单向",DOUBLE_TRACK:"双向"},S={B9600:"9,600bps",B19200:"19,200bps",B38400:"38,400bps",B115200:"115,200bps"},w={SERIAL:"Serial",NETWORK:"TCP/IP"},d=async()=>{try{return(await t.post("/api/v1/app/LISSetting/getSetting")).data}catch(a){}},h=async()=>{try{return(await t.post("/api/v1/app/NetworkSetting/getNetworkSetting")).data}catch(a){}},l=async a=>{try{return(await t.post("/api/v1/app/NetworkSetting/setNetworkSetting",a)).data}catch(e){}},D=async a=>{try{return(await t.post("/api/v1/app/LISSetting/setSetting",a)).data}catch(e){}};export{w as L,r as a,y as b,n as c,c as d,i as e,p as f,h as g,e as h,g as i,o as j,v as k,s as l,a as m,S as n,u as o,d as p,D as q,l as s};
