|
@@ -1904,18 +1904,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 +1913,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 +1930,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 +1942,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 +1975,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 +1984,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 +1993,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 +2002,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 +2035,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 +2044,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 +2053,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 +2062,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: '低风险', //风险监测
|
|
|
},
|
|
|
],
|
|
@@ -2715,12 +2651,12 @@ export const testConfigBDFire: Config[] = [
|
|
|
{
|
|
|
type: 'line_smooth_complex',
|
|
|
readFrom: 'arrayFiber',
|
|
|
- xAxis: [{ label: '${position}' }],
|
|
|
+ xAxis: [{ label: '' }],
|
|
|
yAxis: [{ label: '温度(℃)', align: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
- label: '${position}',
|
|
|
- prop: 'fibreTemperature|favg',
|
|
|
+ label: '${pos}',
|
|
|
+ prop: 'fibreTemperatureArr|value',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -2831,7 +2767,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'btTriBlast',
|
|
|
+ readFrom: '',
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
@@ -2872,21 +2808,13 @@ export const testConfigBDFire: Config[] = [
|
|
|
chart: [
|
|
|
{
|
|
|
type: 'line_smooth',
|
|
|
- readFrom: 'fibreTemperature',
|
|
|
- xAxis: [{ label: '${position}' }],
|
|
|
+ readFrom: 'fibreTemperatureArr',
|
|
|
+ xAxis: [{ label: '${pos}' }],
|
|
|
yAxis: [{ label: '温度(℃)', align: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
- label: '最高温度',
|
|
|
- prop: 'fmax',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '最低温度',
|
|
|
- prop: 'fmin',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '平均温度',
|
|
|
- prop: 'favg',
|
|
|
+ label: '${pos}',
|
|
|
+ prop: 'value',
|
|
|
},
|
|
|
],
|
|
|
},
|