diff --git a/src/api/index.js b/src/api/index.js index 4f71700..bdc144c 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -400,6 +400,11 @@ geteqetdata(data) { readskylight(data) { return sendGetRequest(`/readControl/readskylight`, data) }, + //空调 + airconditioner(data) { + return sendGetRequest(`/readControl/airconditioner`, data) + }, + //固有参数 intrinsicParameter(data) { return sendGetRequest(`/readControl/intrinsicParameter`, data) diff --git a/src/components/setParamsControl.vue b/src/components/setParamsControl.vue index 1a1cce4..04be4b2 100644 --- a/src/components/setParamsControl.vue +++ b/src/components/setParamsControl.vue @@ -245,7 +245,13 @@ if (el.child.length) { id: el.id, sort: el.sort, name: el.nickName, list: newList, router: "circulationCan", }); - } else if (el.id == 20) { + } else if (el.id == 28) { + this.routerList.push({ + id: el.id, sort: el.sort, + name: el.nickName, list: [], router: "air-conditioning", + isRouter: true, + }); + }else if (el.id == 20) { this.routerList.push({ id: el.id, sort: el.sort, diff --git a/src/router/index.js b/src/router/index.js index d3999a3..9305eca 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -215,6 +215,10 @@ const routes = [ path: '/wetFan', name: 'wetFan', component: () => import('../views/page/wetFan.vue') + },{ + path: '/air-conditioning', + name: 'air-conditioning', + component: () => import('../views/page/air-conditioning.vue') },{ path: '/LED', name: 'LED', diff --git a/src/views/page/air-conditioning.vue b/src/views/page/air-conditioning.vue new file mode 100644 index 0000000..b724f38 --- /dev/null +++ b/src/views/page/air-conditioning.vue @@ -0,0 +1,530 @@ + + + + {{ pageName }} + + + 工作方式选择 + + + {{ inputData[22040] == 0 ? "无效" : "有效" }} + + + + + + + 自动运行 + + + 手动打开 + + + 手动关闭 + + + + 手动开启设置 + + + 1.手动开启时空调设置的温度追踪目标温度 + + + + + 2.空调设置风速 + + + + + + + + + {{ item.label }} + + + (0是空调自动调整风速)。 + + + + + 3.空调设置冷暖模式 + + + + + + + + + {{ item.label }} + + + + + 自动设置 + + + 目标值控制精度 + + PID采样时间 + + + + + + 空调制冷 加暖模式切换时间 + + 分钟 + 比例系数(P) + + + + + + 空调设置风速 + + + + + + + + + {{ item.label }} + + + (0是空调自动调整风速)。 + + + 积分系数(I) + + + + + + 空调调整间隔时间 + + 微分系数(D) + + + + + + 空调设置最高温度俏 + + ℃ + 积分限制 + + + + + + 空调设置最低温庶值 + + ℃ + + + + + + + \ No newline at end of file