<template>
  <div id="paramSetting">
    <el-main>

      <div style="margin-bottom: 10px">
        <el-button size="medium" icon="el-icon-back" type="text">返回</el-button>
        <span style="margin-left: 20px; font-size: 18px">参数设定</span>
      </div>

      <div style="background-color: white;padding: 20px">
        &nbsp; &nbsp;&nbsp; &nbsp; 排风温度修正：23.0℃ &nbsp; &nbsp;&nbsp; &nbsp;
        &nbsp; &nbsp;&nbsp; &nbsp;
        排风湿度修正：55.0%
      </div>

      <div class="divdiv">
        <el-header style="margin-top: 20px">PID控制参数</el-header>
        <el-form label-position="left" label-width="80px" :model="formData">
          <el-form-item label="加热比例">
            <el-input v-model="formData.jrbl" readonly></el-input>
          </el-form-item>
          <el-form-item label="加热积分">
            <el-input v-model="formData.jrjf" readonly></el-input>
          </el-form-item>
          <el-form-item label="降温比例">
            <el-input v-model="formData.jwbl" readonly></el-input>
          </el-form-item>
          <el-form-item label="降温积分">
            <el-input v-model="formData.jwjf" readonly></el-input>
          </el-form-item>
          <el-form-item label="加湿比例">
            <el-input v-model="formData.jsbl" readonly></el-input>
          </el-form-item>
          <el-form-item label="加湿积分">
            <el-input v-model="formData.jsjf" readonly></el-input>
          </el-form-item>
          <el-form-item label="除湿比例">
            <el-input v-model="formData.csbl" readonly></el-input>
          </el-form-item>
          <el-form-item label="除湿积分">
            <el-input v-model="formData.csjf" readonly></el-input>
          </el-form-item>
        </el-form>

        <div>
          <el-button type="primary" style="  background-color: #545c64;
  color: white;border: 0px">恢复出厂设置
          </el-button>
        </div>
      </div>


    </el-main>
  </div>

</template>

<script>
export default {
  name: 'paramSetting',
  data() {
    return {
      dialogFormVisible: false,

      tableData:
          [{
            deviceId: '空调送风机',
            kzms: '自动',
            sdml: '停止',
            ssfk: '运行'
          }, {
            deviceId: '空调排风机',
            kzms: '自动',
            sdml: '停止',
            ssfk: '运行'
          }, {
            deviceId: '一级电加热',
            kzms: '自动',
            sdml: '停止',
            ssfk: '开启'
          }, {
            deviceId: '二级电加热',
            kzms: '自动',
            sdml: '停止',
            ssfk: '开启'
          }, {
            deviceId: '三级电加热',
            kzms: '自动',
            sdml: '停止',
            ssfk: '关闭'
          }],

      formData: {
        jrbl: '14.0',
        jrjf: '8.0%',
        jwbl: '-15.0',
        jwjf: '15.0',
        jsbl: '10.0',
        jsjf: '7.0',
        csbl: '-18.0',
        csjf: '40.0',
      },


    }
  },

  created: function () {

  },

  methods: {}
}
</script>

<style scoped>
.el-form-item {
  width: 350px;
}

.divdiv {
  margin-top: 20px;
  text-align: center;
  width: 420px;
  height: 640px;

  margin-left: 550px;
  border: solid 3px gray;
}


</style>
