Commit 4b7e4c9d authored by 方建宇's avatar 方建宇

计量站工艺图

parent 65cd7448
...@@ -156,31 +156,22 @@ getPipeData(); ...@@ -156,31 +156,22 @@ getPipeData();
function getPipeData() { function getPipeData() {
pipeRealArt.title.forEach(element => { pipeRealArt.title.forEach(element => {
pipeRealArt.realData.forEach(item => { pipeRealArt.realData.forEach(item => {
PipeData[element.enName] = item[element.enName]; if (item.id === id.value) {
}); PipeData[element.enName] = item[element.enName[0].toLowerCase() + element.enName.substring(1)];
}); }
// SupplyClearPressure.value = PipeData["SupplyClearPressure"]; })
// SupplyValuePressure.value = PipeData["SupplyValuePressure"]; })
// FirstInTemp.value = PipeData["FirstInTemp"]; SupplyClearPressure.value = PipeData["SupplyClearPressure"];
// SupplyFlow.value = PipeData["SupplyFlow"]; SupplyValuePressure.value = PipeData["SupplyValuePressure"];
// SupplyFlowSum.value = PipeData["SupplyFlowSum"]; FirstInTemp.value = PipeData["FirstInTemp"];
// SupplyHeat.value = PipeData["SupplyHeat"]; SupplyFlow.value = PipeData["SupplyFlow"];
// SupplyHeatSum.value = PipeData["SupplyHeatSum"]; SupplyFlowSum.value = PipeData["SupplyFlowSum"];
// FirstOutTemp.value = PipeData["FirstOutTemp"]; SupplyHeat.value = PipeData["SupplyHeat"];
// BackClearPressure.value = PipeData["BackClearPressure"]; SupplyHeatSum.value = PipeData["SupplyHeatSum"];
// BackFlow.value = PipeData["BackFlow"]; FirstOutTemp.value = PipeData["FirstOutTemp"];
// BackFlowSum.value = PipeData["BackFlowSum"]; BackClearPressure.value = PipeData["BackClearPressure"];
SupplyClearPressure.value = 0.84; BackFlow.value = PipeData["BackFlow"];
SupplyValuePressure.value = 0; BackFlowSum.value = PipeData["BackFlowSum"];
FirstInTemp.value = 87.2;
SupplyFlow.value = 1197;
SupplyFlowSum.value = 36897000;
SupplyHeat.value = 235.27;
SupplyHeatSum.value = 6602950;
FirstOutTemp.value = 38.7;
BackClearPressure.value = 0.33;
BackFlow.value = 1119;
BackFlowSum.value = 4284070;
} }
setInterval(() => { setInterval(() => {
getPipeData(); getPipeData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment