Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
海康威视
web-project
Commits
80dd6d1a
Commit
80dd6d1a
authored
Jan 08, 2025
by
方建宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计量站工艺图
parent
4b7e4c9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
20 deletions
+25
-20
BoilerArt.vue
src/components/art/BoilerArt.vue
+25
-20
No files found.
src/components/art/BoilerArt.vue
View file @
80dd6d1a
...
@@ -128,6 +128,8 @@ import store from "../../store/index";
...
@@ -128,6 +128,8 @@ import store from "../../store/index";
import
http
from
'../../api/http'
;
import
http
from
'../../api/http'
;
import
{
getOneImgUrl
,
getAllImgUrl
}
from
'../../utils/utils'
;
import
{
getOneImgUrl
,
getAllImgUrl
}
from
'../../utils/utils'
;
import
{
boilerArtWork
,
deviceArt
,
deviceArt2
,
deviceArt3
,
pipeArt
,
weatherArt
}
from
'../../dataJson/RealPage/boilerArt'
;
import
{
boilerArtWork
,
deviceArt
,
deviceArt2
,
deviceArt3
,
pipeArt
,
weatherArt
}
from
'../../dataJson/RealPage/boilerArt'
;
import
{
weatherReal
}
from
'@/dataJson/exchangeStation/realData/realData'
import
{
pipeReal
}
from
'../../dataJson/RealPage/RealPipePage'
;
const
props
=
defineProps
([
'id'
,
'refreshTime'
]);
const
props
=
defineProps
([
'id'
,
'refreshTime'
]);
const
route
=
useRoute
()
const
route
=
useRoute
()
const
Boiler
=
ref
();
const
Boiler
=
ref
();
...
@@ -245,7 +247,7 @@ function getweather() {
...
@@ -245,7 +247,7 @@ function getweather() {
getBoilerData
();
getBoilerData
();
//获取锅炉实时数据
//获取锅炉实时数据
// function getBoilerData() {
// function getBoilerData() {
// result.data.realData.forEach(element => {
// result.data.realData.forEach(element => {
// BoilerData[element.enName] = element.paramValue;
// BoilerData[element.enName] = element.paramValue;
// })
// })
...
@@ -272,7 +274,7 @@ getBoilerData();
...
@@ -272,7 +274,7 @@ getBoilerData();
// NOx.value = BoilerData["NOx"];
// NOx.value = BoilerData["NOx"];
// OutletInstantaneousFlow.value = BoilerData["OutletInstantaneousFlow"];
// OutletInstantaneousFlow.value = BoilerData["OutletInstantaneousFlow"];
// EconomizerInletWaterTemp.value = BoilerData["EconomizerInletWaterTemp"];
// EconomizerInletWaterTemp.value = BoilerData["EconomizerInletWaterTemp"];
// http.post("/api/device/Real", { "enterpriseId": enterpriseId.value, "deviceType": 5 }).then((result) => {
// http.post("/api/device/Real", { "enterpriseId": enterpriseId.value, "deviceType": 5 }).then((result) => {
// result.data.realData.forEach(item => {
// result.data.realData.forEach(item => {
// if (item.name === "滦河水水表") {
// if (item.name === "滦河水水表") {
...
@@ -302,7 +304,7 @@ getBoilerData();
...
@@ -302,7 +304,7 @@ getBoilerData();
// }
// }
function
getBoilerData
()
{
function
getBoilerData
()
{
boilerArtWork
.
realData
.
forEach
(
element
=>
{
boilerArtWork
.
realData
.
forEach
(
element
=>
{
BoilerData
[
element
.
enName
]
=
element
.
paramValue
;
BoilerData
[
element
.
enName
]
=
element
.
paramValue
;
})
})
...
@@ -381,25 +383,28 @@ getPipeData();
...
@@ -381,25 +383,28 @@ getPipeData();
// }
// }
//静态
//静态
function
getPipeData
()
{
function
getPipeData
()
{
pipeRealArt
.
title
.
forEach
(
element
=>
{
pipeArt
.
title
.
forEach
(
element
=>
{
pipeRealArt
.
realData
.
forEach
(
item
=>
{
pipeArt
.
realData
.
forEach
(
item
=>
{
if
(
item
.
id
===
id
.
value
)
{
BoilerData
[
element
.
enName
]
=
item
[
element
.
enName
];
PipeData
[
element
.
enName
]
=
item
[
element
.
enName
];
}
});
});
});
});
SupplyClearPressure
.
value
=
PipeData
[
"SupplyClearPressure"
];
SupplyPipePressure
.
value
=
BoilerData
[
"SupplyPipePressure"
];
SupplyValuePressure
.
value
=
PipeData
[
"SupplyValuePressure"
];
SupplyPipeTemp
.
value
=
BoilerData
[
"SupplyPipeTemp"
];
FirstInTemp
.
value
=
PipeData
[
"FirstInTemp"
];
CirculatingOutPressure
.
value
=
BoilerData
[
"CirculatingOutPressure"
];
SupplyFlow
.
value
=
PipeData
[
"SupplyFlow"
];
WaterBoxLiquidLevel
.
value
=
BoilerData
[
"WaterBoxLiquidLevel"
];
SupplyFlowSum
.
value
=
PipeData
[
"SupplyFlowSum"
];
TroubledWaterSideElecValueBack
.
value
=
BoilerData
[
"TroubledWaterSideElecValueBack"
];
SupplyHeat
.
value
=
PipeData
[
"SupplyHeat"
];
FirstDirtSeparatorOutletPressure
.
value
=
BoilerData
[
"FirstDirtSeparatorOutletPressure"
];
SupplyHeatSum
.
value
=
PipeData
[
"SupplyHeatSum"
];
AfterMixingInletCommonHeaderTemp
.
value
=
BoilerData
[
"AfterMixingInletCommonHeaderTemp"
];
FirstOutTemp
.
value
=
PipeData
[
"FirstOutTemp"
];
FirstDirtSeparatorInletPressure
.
value
=
BoilerData
[
"FirstDirtSeparatorInletPressure"
];
BackClearPressure
.
value
=
PipeData
[
"BackClearPressure"
];
MixingPipeTemp
.
value
=
BoilerData
[
"MixingPipeTemp"
];
BackFlow
.
value
=
PipeData
[
"BackFlow"
];
ReturnPipeTemp
.
value
=
BoilerData
[
"ReturnPipeTemp"
];
BackFlowSum
.
value
=
PipeData
[
"BackFlowSum"
];
FirstCirculatingFreqBack
.
value
=
BoilerData
[
"FirstCirculatingFreqBack"
];
FirstCirculatingElec
.
value
=
BoilerData
[
"FirstCirculatingElec"
];
SecondCirculatingFreqBack
.
value
=
BoilerData
[
"SecondCirculatingFreqBack"
];
SecondCirculatingElec
.
value
=
BoilerData
[
"SecondCirculatingElec"
];
ThirdCirculatingFreqBack
.
value
=
BoilerData
[
"ThirdCirculatingFreqBack"
];
ThirdCirculatingElec
.
value
=
BoilerData
[
"ThirdCirculatingElec"
];
}
}
setInterval
(()
=>
{
setInterval
(()
=>
{
...
@@ -447,4 +452,4 @@ div {
...
@@ -447,4 +452,4 @@ div {
position
:
absolute
;
position
:
absolute
;
font-weight
:
900
;
font-weight
:
900
;
}
}
</
style
>
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment