|
@@ -1591,22 +1591,16 @@ export const testConfigBDDust: Config[] = [
|
|
|
chart: [
|
|
|
{
|
|
|
type: 'line_area',
|
|
|
- readFrom: 'historyList',
|
|
|
- xAxis: [
|
|
|
- {
|
|
|
- label: '${time}',
|
|
|
- },
|
|
|
- ],
|
|
|
- yAxis: [
|
|
|
- {
|
|
|
- label: '浓度',
|
|
|
- align: 'left',
|
|
|
- },
|
|
|
- ],
|
|
|
+ readFrom: '',
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '浓度', position: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
- label: '粉尘浓度',
|
|
|
- prop: 'dustval',
|
|
|
+ label: '${strinstallpos}',
|
|
|
+ readFrom: 'historyList',
|
|
|
+ xprop: 'time',
|
|
|
+ yprop: 'dustval',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -1685,6 +1679,7 @@ export const testConfigBDDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
+ to: 'http://10.248.210.154:8801',
|
|
|
// mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
@@ -1695,7 +1690,7 @@ export const testConfigBDDust: Config[] = [
|
|
|
},
|
|
|
{
|
|
|
deviceType: '',
|
|
|
- moduleName: '粉尘关联指标',
|
|
|
+ moduleName: '隔爆设施管理台账',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -1904,18 +1899,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [
|
|
|
- {
|
|
|
- fmax: '0', //最高浓度
|
|
|
- fmin: '1', //最低温度
|
|
|
- time: '1',
|
|
|
- },
|
|
|
- {
|
|
|
- fmax: '1', //最高浓度
|
|
|
- fmin: '0', //最低温度
|
|
|
- time: '1',
|
|
|
- },
|
|
|
- ], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -1923,18 +1908,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [
|
|
|
- {
|
|
|
- fmax: '0', //最高浓度
|
|
|
- fmin: '0', //最低温度
|
|
|
- time: '1',
|
|
|
- },
|
|
|
- {
|
|
|
- fmax: '1', //最高浓度
|
|
|
- fmin: '1', //最低温度
|
|
|
- time: '1',
|
|
|
- },
|
|
|
- ], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"7.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
],
|
|
@@ -1950,7 +1925,7 @@ const BDfireMock = {
|
|
|
o2Val: '0', //氧气值
|
|
|
connectSta: '连接', //连接状态
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
- btTriBlast: '', //爆炸三角信息
|
|
|
+ btTriBlast: '{"G_y":10.53,"G_x":0,"F_y":0,"A_x":5.0,"B_x":15.0,"A_y":19.93,"B_y":17.83,"E_y":10.0,"F_x":9.55,"E_x":5.0}', //爆炸三角信息
|
|
|
},
|
|
|
{
|
|
|
strinstallpos: '位置2', //安装位置
|
|
@@ -1962,7 +1937,7 @@ const BDfireMock = {
|
|
|
o2Val: '0', //氧气值
|
|
|
connectSta: '连接', //连接状态
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
- btTriBlast: '', //爆炸三角信息
|
|
|
+ btTriBlast: '{"G_y":10.53,"G_x":0,"F_y":0,"A_x":5.0,"B_x":15.0,"A_y":19.93,"B_y":17.83,"E_y":10.0,"F_x":9.55,"E_x":5.0}', //爆炸三角信息
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -1995,20 +1970,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [
|
|
|
- {
|
|
|
- favg: '20',
|
|
|
- time: '2024-09-10 17:04:50',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '32.0',
|
|
|
- },
|
|
|
- {
|
|
|
- favg: '24',
|
|
|
- time: '2024-09-11 00:00:00',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '31.99',
|
|
|
- },
|
|
|
- ], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -2016,20 +1979,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [
|
|
|
- {
|
|
|
- favg: '23',
|
|
|
- time: '2024-09-10 17:04:50',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '32.0',
|
|
|
- },
|
|
|
- {
|
|
|
- favg: '30',
|
|
|
- time: '2024-09-11 00:00:00',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '31.99',
|
|
|
- },
|
|
|
- ], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -2037,20 +1988,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [
|
|
|
- {
|
|
|
- favg: '10',
|
|
|
- time: '2024-09-10 17:04:50',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '32.0',
|
|
|
- },
|
|
|
- {
|
|
|
- favg: '13',
|
|
|
- time: '2024-09-11 00:00:00',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '31.99',
|
|
|
- },
|
|
|
- ], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"19.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -2058,20 +1997,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [
|
|
|
- {
|
|
|
- favg: '30',
|
|
|
- time: '2024-09-10 17:04:50',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '32.0',
|
|
|
- },
|
|
|
- {
|
|
|
- favg: '27',
|
|
|
- time: '2024-09-11 00:00:00',
|
|
|
- fmin: '19.01',
|
|
|
- fmax: '31.99',
|
|
|
- },
|
|
|
- ], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
],
|
|
@@ -2103,7 +2030,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -2111,7 +2039,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -2119,7 +2048,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
{
|
|
@@ -2127,7 +2057,8 @@ const BDfireMock = {
|
|
|
fmax: '0', //最高浓度
|
|
|
fmin: '0', //最低温度
|
|
|
favg: '0', //平均温度
|
|
|
- fibreTemperature: [], //曲线图数据
|
|
|
+ fibreTemperature:
|
|
|
+ '[{"pos":1,"value":"17.8"},{"pos":2,"value":"18.0"},{"pos":3,"value":"18.5"},{"pos":4,"value":"18.6"},{"pos":5,"value":"18.4"},{"pos":6,"value":"18.1"}]',
|
|
|
warnLevel: '低风险', //风险监测
|
|
|
},
|
|
|
],
|
|
@@ -2587,7 +2518,7 @@ const BDfireMock = {
|
|
|
export const testConfigBDFire: Config[] = [
|
|
|
{
|
|
|
deviceType: '',
|
|
|
- moduleName: '工作面风险监测',
|
|
|
+ moduleName: '重点区域风险监测',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -2631,7 +2562,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [
|
|
|
{
|
|
|
- type: 'A',
|
|
|
+ type: 'C',
|
|
|
readFrom: 'fireManageInfo.sysList',
|
|
|
mapFromData: true,
|
|
|
items: [
|
|
@@ -2687,6 +2618,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
|
+ ignoreOverflow: true,
|
|
|
basis: ['35%', '65%'],
|
|
|
},
|
|
|
layout: ['board', 'chart'],
|
|
@@ -2713,14 +2645,17 @@ export const testConfigBDFire: Config[] = [
|
|
|
],
|
|
|
chart: [
|
|
|
{
|
|
|
- type: 'line_smooth_complex',
|
|
|
+ type: 'line_smooth',
|
|
|
readFrom: 'arrayFiber',
|
|
|
- xAxis: [{ label: '${position}' }],
|
|
|
- yAxis: [{ label: '温度(℃)', align: 'left' }],
|
|
|
+ legend: { show: true },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
- label: '${position}',
|
|
|
- prop: 'fibreTemperature|favg',
|
|
|
+ label: '${strinstallpos}',
|
|
|
+ readFrom: 'fibreTemperatureArr',
|
|
|
+ xprop: 'pos',
|
|
|
+ yprop: 'value',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -2801,17 +2736,17 @@ export const testConfigBDFire: Config[] = [
|
|
|
},
|
|
|
{
|
|
|
// label: 'C₂H₄',
|
|
|
- label: 'H₂',
|
|
|
- value: '--',
|
|
|
+ label: 'O₂',
|
|
|
+ value: '${o2Val}',
|
|
|
color: 'blue',
|
|
|
- info: '氢气',
|
|
|
+ info: '氧气',
|
|
|
},
|
|
|
{
|
|
|
// label: 'O₂',
|
|
|
- label: 'N₂',
|
|
|
- value: '--',
|
|
|
+ label: 'C₂H₄',
|
|
|
+ value: '${c2h4Val}',
|
|
|
color: 'blue',
|
|
|
- info: '氮气',
|
|
|
+ info: '乙烯',
|
|
|
},
|
|
|
{
|
|
|
label: '温度',
|
|
@@ -2831,7 +2766,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'btTriBlast',
|
|
|
+ readFrom: '',
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
@@ -2872,21 +2807,16 @@ export const testConfigBDFire: Config[] = [
|
|
|
chart: [
|
|
|
{
|
|
|
type: 'line_smooth',
|
|
|
- readFrom: 'fibreTemperature',
|
|
|
- xAxis: [{ label: '${position}' }],
|
|
|
- yAxis: [{ label: '温度(℃)', align: 'left' }],
|
|
|
+ readFrom: '',
|
|
|
+ legend: { show: true },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
- label: '最高温度',
|
|
|
- prop: 'fmax',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '最低温度',
|
|
|
- prop: 'fmin',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '平均温度',
|
|
|
- prop: 'favg',
|
|
|
+ label: '${strinstallpos}',
|
|
|
+ readFrom: 'fibreTemperatureArr',
|
|
|
+ xprop: 'pos',
|
|
|
+ yprop: 'value',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -2984,9 +2914,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:230px;',
|
|
|
+ size: 'width:450px;height:240px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:210px;right:0;',
|
|
|
+ position: 'top:160px;right:0;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -3082,9 +3012,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:230px;',
|
|
|
+ size: 'width:450px;height:240px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:450px;right:0;',
|
|
|
+ position: 'top:410px;right:0;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -3147,9 +3077,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:230px;',
|
|
|
+ size: 'width:450px;height:260px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:690px;right:0;',
|
|
|
+ position: 'top:660px;right:0;',
|
|
|
},
|
|
|
},
|
|
|
];
|
|
@@ -3392,9 +3322,10 @@ export const testConfigBDNew: Config[] = [
|
|
|
{
|
|
|
type: 'line',
|
|
|
readFrom: 'btArray',
|
|
|
- xAxis: [{ label: '${strinstallpos}' }],
|
|
|
- yAxis: [{ label: '值', align: 'left' }],
|
|
|
- series: [{ prop: 'val', label: '值' }],
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '值', position: 'left' }],
|
|
|
+ series: [{ label: '', readFrom: '', xprop: 'value', yprop: 'pos' }],
|
|
|
},
|
|
|
],
|
|
|
gallery: [],
|