|
@@ -1,11 +1,11 @@
|
|
import { Config } from '../../deviceManager/configurationTable/types';
|
|
import { Config } from '../../deviceManager/configurationTable/types';
|
|
-import { BDdustMock, BDfireMock } from './configurable.data.bd';
|
|
|
|
|
|
+// import { BDdustMock, BDfireMock } from './configurable.data.bd';
|
|
|
|
|
|
export const testConfigVent: Config[] = [
|
|
export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'fanmain',
|
|
deviceType: 'fanmain',
|
|
moduleName: '主通风机系统',
|
|
moduleName: '主通风机系统',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -79,7 +79,7 @@ export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'fanlocal',
|
|
deviceType: 'fanlocal',
|
|
moduleName: '局部通风机系统',
|
|
moduleName: '局部通风机系统',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -153,7 +153,7 @@ export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: '',
|
|
deviceType: '',
|
|
moduleName: '通风设施远程控制',
|
|
moduleName: '通风设施远程控制',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -194,7 +194,7 @@ export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'sys_wind',
|
|
deviceType: 'sys_wind',
|
|
moduleName: '风量监测',
|
|
moduleName: '风量监测',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -255,7 +255,7 @@ export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'sys_majorpath',
|
|
deviceType: 'sys_majorpath',
|
|
moduleName: '关键通风路线',
|
|
moduleName: '关键通风路线',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -334,7 +334,7 @@ export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'sys_surface_caimei',
|
|
deviceType: 'sys_surface_caimei',
|
|
moduleName: '工作面智能监控',
|
|
moduleName: '工作面智能监控',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -416,7 +416,7 @@ export const testConfigVent: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'warn',
|
|
deviceType: 'warn',
|
|
moduleName: '预警监测',
|
|
moduleName: '预警监测',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'vent',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -502,7 +502,7 @@ export const testConfigDust: Config[] = [
|
|
{
|
|
{
|
|
deviceType: '',
|
|
deviceType: '',
|
|
moduleName: '工作面风险监测',
|
|
moduleName: '工作面风险监测',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'dust',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -611,7 +611,7 @@ export const testConfigDust: Config[] = [
|
|
},
|
|
},
|
|
],
|
|
],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDdustMock,
|
|
|
|
|
|
+ // mock: BDdustMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:860px;',
|
|
size: 'width:450px;height:860px;',
|
|
@@ -622,7 +622,7 @@ export const testConfigDust: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'dustDustGraph',
|
|
deviceType: 'dustDustGraph',
|
|
moduleName: '综放工作面粉尘浓度',
|
|
moduleName: '综放工作面粉尘浓度',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'dust',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -674,7 +674,7 @@ export const testConfigDust: Config[] = [
|
|
list: [],
|
|
list: [],
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDdustMock,
|
|
|
|
|
|
+ // mock: BDdustMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:1000px;height:280px;',
|
|
size: 'width:1000px;height:280px;',
|
|
@@ -685,7 +685,7 @@ export const testConfigDust: Config[] = [
|
|
{
|
|
{
|
|
deviceType: '',
|
|
deviceType: '',
|
|
moduleName: '智能喷雾降尘装置',
|
|
moduleName: '智能喷雾降尘装置',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'dust',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -749,7 +749,7 @@ export const testConfigDust: Config[] = [
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
to: 'http://10.248.210.154:8801',
|
|
to: 'http://10.248.210.154:8801',
|
|
- mock: BDdustMock,
|
|
|
|
|
|
+ // mock: BDdustMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:280px;',
|
|
size: 'width:450px;height:280px;',
|
|
@@ -760,7 +760,7 @@ export const testConfigDust: Config[] = [
|
|
{
|
|
{
|
|
deviceType: '',
|
|
deviceType: '',
|
|
moduleName: '隔爆设施管理台账',
|
|
moduleName: '隔爆设施管理台账',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'dust',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -815,7 +815,7 @@ export const testConfigDust: Config[] = [
|
|
list: [],
|
|
list: [],
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDdustMock,
|
|
|
|
|
|
+ // mock: BDdustMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:280px;',
|
|
size: 'width:450px;height:280px;',
|
|
@@ -826,7 +826,7 @@ export const testConfigDust: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'statics',
|
|
deviceType: 'statics',
|
|
moduleName: '粉尘静态指标',
|
|
moduleName: '粉尘静态指标',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'dust',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -882,7 +882,7 @@ export const testConfigDust: Config[] = [
|
|
list: [],
|
|
list: [],
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDdustMock,
|
|
|
|
|
|
+ // mock: BDdustMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:280px;',
|
|
size: 'width:450px;height:280px;',
|
|
@@ -896,7 +896,7 @@ export const testConfigFire: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'fireManageInfo',
|
|
deviceType: 'fireManageInfo',
|
|
moduleName: '重点区域风险监测',
|
|
moduleName: '重点区域风险监测',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'fire',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -977,7 +977,7 @@ export const testConfigFire: Config[] = [
|
|
},
|
|
},
|
|
],
|
|
],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDfireMock,
|
|
|
|
|
|
+ // mock: BDfireMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:425px;',
|
|
size: 'width:450px;height:425px;',
|
|
@@ -988,7 +988,7 @@ export const testConfigFire: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'pdArray',
|
|
deviceType: 'pdArray',
|
|
moduleName: '带式输送机防灭火监控系统',
|
|
moduleName: '带式输送机防灭火监控系统',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'fire',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -1051,7 +1051,7 @@ export const testConfigFire: Config[] = [
|
|
series: [
|
|
series: [
|
|
{
|
|
{
|
|
label: '${strinstallpos}',
|
|
label: '${strinstallpos}',
|
|
- readFrom: 'fibreTemperatureArr',
|
|
|
|
|
|
+ readFrom: 'fibreTemperature',
|
|
xprop: 'pos',
|
|
xprop: 'pos',
|
|
yprop: 'value',
|
|
yprop: 'value',
|
|
},
|
|
},
|
|
@@ -1064,7 +1064,7 @@ export const testConfigFire: Config[] = [
|
|
list: [],
|
|
list: [],
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDfireMock,
|
|
|
|
|
|
+ // mock: BDfireMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:425px;',
|
|
size: 'width:450px;height:425px;',
|
|
@@ -1075,7 +1075,7 @@ export const testConfigFire: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'sgGxObj',
|
|
deviceType: 'sgGxObj',
|
|
moduleName: '工作面光纤监测',
|
|
moduleName: '工作面光纤监测',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'fire',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -1114,7 +1114,7 @@ export const testConfigFire: Config[] = [
|
|
series: [
|
|
series: [
|
|
{
|
|
{
|
|
label: '${strinstallpos}',
|
|
label: '${strinstallpos}',
|
|
- readFrom: 'fibreTemperatureArr',
|
|
|
|
|
|
+ readFrom: 'fibreTemperature',
|
|
xprop: 'pos',
|
|
xprop: 'pos',
|
|
yprop: 'value',
|
|
yprop: 'value',
|
|
},
|
|
},
|
|
@@ -1127,7 +1127,7 @@ export const testConfigFire: Config[] = [
|
|
list: [],
|
|
list: [],
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDfireMock,
|
|
|
|
|
|
+ // mock: BDfireMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:1000px;height:280px;',
|
|
size: 'width:1000px;height:280px;',
|
|
@@ -1138,7 +1138,7 @@ export const testConfigFire: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'sgGxObj',
|
|
deviceType: 'sgGxObj',
|
|
moduleName: '工作面束管监测',
|
|
moduleName: '工作面束管监测',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'fire',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: true,
|
|
show: true,
|
|
@@ -1319,7 +1319,7 @@ export const testConfigFire: Config[] = [
|
|
readFrom: '',
|
|
readFrom: '',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- mock: BDfireMock,
|
|
|
|
|
|
+ // mock: BDfireMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:570px;',
|
|
size: 'width:450px;height:570px;',
|
|
@@ -1330,7 +1330,7 @@ export const testConfigFire: Config[] = [
|
|
{
|
|
{
|
|
deviceType: 'aqjkArray',
|
|
deviceType: 'aqjkArray',
|
|
moduleName: '安全监控系统',
|
|
moduleName: '安全监控系统',
|
|
- pageType: '',
|
|
|
|
|
|
+ pageType: 'fire',
|
|
moduleData: {
|
|
moduleData: {
|
|
header: {
|
|
header: {
|
|
show: false,
|
|
show: false,
|
|
@@ -1389,7 +1389,7 @@ export const testConfigFire: Config[] = [
|
|
list: [],
|
|
list: [],
|
|
complex_list: [],
|
|
complex_list: [],
|
|
preset: [],
|
|
preset: [],
|
|
- mock: BDfireMock,
|
|
|
|
|
|
+ // mock: BDfireMock,
|
|
},
|
|
},
|
|
showStyle: {
|
|
showStyle: {
|
|
size: 'width:450px;height:280px;',
|
|
size: 'width:450px;height:280px;',
|