89 lines
2.6 KiB
Vue
89 lines
2.6 KiB
Vue
<!--
|
|
filename: KilnInfo.vue
|
|
author: liubin
|
|
date: 2023-12-11 09:01:15
|
|
description:
|
|
-->
|
|
|
|
<template>
|
|
<div class="kiln-info" style="flex: 1">
|
|
<Container name="窑炉信息" size="small" style="">
|
|
<div
|
|
class="absolute"
|
|
style="
|
|
padding: 12px;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-auto-rows: auto;
|
|
gap: 8px;
|
|
">
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">窑炉压力:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.kilnPressure }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">循环水温度:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.waterTemp }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">循环水流量:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.waterFlow }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">循环水压力:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.waterPressure }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">助燃风压力:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.combustionAirPressure }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">碹顶加权温度:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.topTemp }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">压缩气压力:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.compressedAirPressure }}</span>
|
|
</ShadowRect>
|
|
<ShadowRect :rounded="false">
|
|
<span class="kiln-info-item">熔化加权温度:</span>
|
|
<span style="font-size: 20px; line-height: 1.7; flex: 1">{{ kilnInfoMsg?.meltTemp }}</span>
|
|
</ShadowRect>
|
|
</div>
|
|
</Container>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Container from '../components/Container.vue';
|
|
import ShadowRect from '../components/ShadowRect.vue';
|
|
export default {
|
|
name: 'KilnInfo',
|
|
components: { Container, ShadowRect },
|
|
props: {},
|
|
data() {
|
|
return {
|
|
};
|
|
},
|
|
computed: {
|
|
kilnInfoMsg() {
|
|
return this.$store.state.websocket.kilnInfo
|
|
}
|
|
},
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.kiln-info {
|
|
.kiln-info-item {
|
|
font-size: 20px;
|
|
line-height: 1.7;
|
|
flex: 1.5;
|
|
text-align: right;
|
|
padding-right: 8px;
|
|
letter-spacing: 1px;
|
|
}
|
|
}
|
|
</style>
|