import{p as e,_ as l,f as t,h as a,e as r,c as o,b as s,g as i,w as n,j as d,E as m}from"./index-vtcwYVzc.js";const u={class:"Parametersettings"},c={class:"Parametersettings_l"},p={style:{width:"100%",display:"flex","justify-content":"center","margin-top":"10rem"}},f={class:"Parametersettings_c"},g={class:"box",style:{display:"flex","justify-content":"space-between","flex-wrap":"wrap",padding:"0 5.25rem","margin-top":"3.03rem"}},y={class:"Parametersettings_r"},h={style:{display:"flex","flex-direction":"column","margin-top":"4.19rem","align-items":"center","justify-content":"space-around",height:"40%"}},b=l({__name:"Parametersettings",setup(l){const b=t({creater:"string",createDate:"2025-03-27T05:48:57.698Z",modifier:"string",modifyDate:"2025-03-27T05:48:57.698Z",id:0,extendSpeed:0,retractionSpeed:0,manualExtend:0,manualRetraction:0}),v=()=>{var l;(l=b.value,e.post("/api/Parameters/AddData",l)).then((e=>{0==e.code&&m.success("保存成功")}))};return(e,l)=>{const t=a("el-input"),m=a("el-form-item"),_=a("el-button"),x=a("el-form"),w=a("el-col"),V=a("el-row");return r(),o("div",u,[s("div",c,[l[12]||(l[12]=s("div",{style:{color:"rgba(0, 9, 56, 1)","font-size":"1.13rem","font-weight":"bold"}}," 伸出缩回速度设置 ",-1)),i(x,{ref:"ruleFormRef",style:{"margin-top":"2.13rem"},model:b.value,rules:e.rules,"label-width":"auto",class:"demo-ruleForm","label-position":"top","hide-required-asterisk":!0},{default:n((()=>[i(m,{prop:"extendSpeed"},{label:n((()=>l[6]||(l[6]=[s("span",{style:{color:"rgba(0, 9, 56, 1)","font-size":"0.88rem"}},"自动伸出速度m/min：",-1)]))),default:n((()=>[i(t,{style:{height:"1.88rem"},placeholder:"请输入",modelValue:b.value.extendSpeed,"onUpdate:modelValue":l[0]||(l[0]=e=>b.value.extendSpeed=e)},null,8,["modelValue"])])),_:1}),i(m,{prop:"retractionSpeed"},{label:n((()=>l[7]||(l[7]=[s("span",{style:{color:"rgba(0, 9, 56, 1)","font-size":"0.88rem"}},"自动缩回速度m/min：",-1)]))),default:n((()=>[i(t,{style:{height:"1.88rem"},placeholder:"请输入",modelValue:b.value.retractionSpeed,"onUpdate:modelValue":l[1]||(l[1]=e=>b.value.retractionSpeed=e)},null,8,["modelValue"])])),_:1}),i(m,{prop:"manualExtend"},{label:n((()=>l[8]||(l[8]=[s("span",{style:{color:"rgba(0, 9, 56, 1)","font-size":"0.88rem"}},"手动伸出速度m/min：",-1)]))),default:n((()=>[i(t,{style:{height:"1.88rem"},placeholder:"请输入",modelValue:b.value.manualExtend,"onUpdate:modelValue":l[2]||(l[2]=e=>b.value.manualExtend=e)},null,8,["modelValue"])])),_:1}),i(m,{prop:"manualRetraction"},{label:n((()=>l[9]||(l[9]=[s("span",{style:{color:"rgba(0, 9, 56, 1)","font-size":"0.88rem"}},"手动缩回速度m/min：",-1)]))),default:n((()=>[i(t,{style:{height:"1.88rem"},placeholder:"请输入",modelValue:b.value.manualRetraction,"onUpdate:modelValue":l[3]||(l[3]=e=>b.value.manualRetraction=e)},null,8,["modelValue"])])),_:1}),i(m,null,{default:n((()=>[s("div",p,[i(_,{style:{height:"1.88rem",width:"5.63rem"},onClick:l[4]||(l[4]=l=>e.resetForm(e.ruleFormRef))},{default:n((()=>l[10]||(l[10]=[d("取消")]))),_:1}),i(_,{style:{height:"1.88rem",width:"5.63rem"},type:"primary",onClick:l[5]||(l[5]=l=>v(e.ruleFormRef))},{default:n((()=>l[11]||(l[11]=[d(" 保存 ")]))),_:1})])])),_:1})])),_:1},8,["model","rules"])]),s("div",f,[l[15]||(l[15]=s("div",{style:{color:"rgba(0, 9, 56, 1)","font-size":"1.13rem","font-weight":"bold"}}," PLC信号监控 ",-1)),s("div",g,[i(V,null,{default:n((()=>[i(w,{style:{display:"flex","justify-content":"space-between"}},{default:n((()=>l[13]||(l[13]=[s("div",{class:"box_item"},null,-1),s("div",{class:"box_item"},null,-1),s("div",{class:"box_item"},null,-1)]))),_:1}),i(w,{style:{display:"flex","justify-content":"space-between","margin-top":"2.78rem"}},{default:n((()=>l[14]||(l[14]=[s("div",{class:"box_item"},null,-1),s("div",{class:"box_item"},null,-1),s("div",{style:{width:"6.25rem",height:"6.25rem"}},null,-1)]))),_:1})])),_:1})])]),s("div",y,[l[19]||(l[19]=s("div",{style:{color:"rgba(0, 9, 56, 1)","font-size":"1.13rem","font-weight":"bold"}}," 故障处理 ",-1)),s("div",h,[i(_,{type:"primary",style:{width:"7.38rem",height:"2.75rem","background-color":"rgba(230, 160, 0, 1)",color:"rgba(255, 255, 255, 1)","font-size":"1rem","margin-left":"1rem"}},{default:n((()=>l[16]||(l[16]=[d("回原点")]))),_:1}),i(_,{type:"primary",style:{width:"7.38rem",height:"2.75rem","background-color":"rgba(0, 207, 55, 1)",color:"rgba(255, 255, 255, 1)","font-size":"1rem"}},{default:n((()=>l[17]||(l[17]=[d("复位")]))),_:1}),i(_,{type:"primary",style:{width:"7.38rem",height:"2.75rem","background-color":"rgba(255, 0, 0, 1)",color:"rgba(255, 255, 255, 1)","font-size":"1rem"}},{default:n((()=>l[18]||(l[18]=[d("清除故障")]))),_:1})])])])}}},[["__scopeId","data-v-4004bb93"]]);export{b as default};
