|
@@ -1,4 +1,5 @@
|
|
|
import { Config } from '../../deviceManager/configurationTable/types';
|
|
|
+import { BDdustMock, BDfireMock } from './configurable.data.bd';
|
|
|
|
|
|
export const testConfigVent: Config[] = [
|
|
|
{
|
|
@@ -510,7 +511,7 @@ export const testConfigDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [
|
|
|
{
|
|
|
- type: 'A',
|
|
|
+ type: 'C',
|
|
|
readFrom: 'dustManageInfo.sysList',
|
|
|
mapFromData: true,
|
|
|
items: [
|
|
@@ -535,12 +536,12 @@ export const testConfigDust: Config[] = [
|
|
|
},
|
|
|
],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:750px;',
|
|
|
+ size: 'width:450px;height:860px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:170px;left:0;',
|
|
|
+ position: 'top:60px;left:0;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -593,6 +594,7 @@ export const testConfigDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:1000px;height:280px;',
|
|
@@ -630,7 +632,7 @@ export const testConfigDust: Config[] = [
|
|
|
chart: [],
|
|
|
gallery: [
|
|
|
{
|
|
|
- type: 'E',
|
|
|
+ type: 'A',
|
|
|
readFrom: 'atomObj',
|
|
|
items: [
|
|
|
{
|
|
@@ -662,7 +664,7 @@ export const testConfigDust: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
to: 'http://10.248.210.154:8801',
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:280px;',
|
|
@@ -723,7 +725,7 @@ export const testConfigDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:280px;',
|
|
@@ -785,7 +787,7 @@ export const testConfigDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:280px;',
|
|
@@ -871,7 +873,7 @@ export const testConfigFire: Config[] = [
|
|
|
},
|
|
|
],
|
|
|
preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
+ mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:280px;',
|
|
@@ -954,13 +956,13 @@ export const testConfigFire: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'obfObj.arrayDev',
|
|
|
+ deviceType: '',
|
|
|
moduleName: '矿井火情走势',
|
|
|
pageType: '',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
- show: true,
|
|
|
- showSelector: true,
|
|
|
+ show: false,
|
|
|
+ showSelector: false,
|
|
|
showSlot: false,
|
|
|
selector: {
|
|
|
value: '${strinstallpos}',
|
|
@@ -982,17 +984,17 @@ export const testConfigFire: Config[] = [
|
|
|
board: [],
|
|
|
chart: [
|
|
|
{
|
|
|
- type: 'line_area',
|
|
|
- readFrom: '',
|
|
|
- legend: { show: true },
|
|
|
- xAxis: [{ show: true }],
|
|
|
- yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
|
|
|
+ type: 'pie',
|
|
|
+ readFrom: 'sgGxObj',
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: false }],
|
|
|
+ yAxis: [{ show: false, name: '温度(℃)', position: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
- label: '${strinstallpos}',
|
|
|
- readFrom: 'fibreTemperatureArr',
|
|
|
- xprop: 'pos',
|
|
|
- yprop: 'value',
|
|
|
+ label: '',
|
|
|
+ readFrom: 'btArray',
|
|
|
+ xprop: 'name',
|
|
|
+ yprop: 'val',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -1003,7 +1005,7 @@ export const testConfigFire: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
+ mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:280px;',
|
|
@@ -1061,7 +1063,7 @@ export const testConfigFire: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
+ mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:1000px;height:280px;',
|
|
@@ -1092,9 +1094,10 @@ export const testConfigFire: Config[] = [
|
|
|
},
|
|
|
slice: {
|
|
|
direction: 'column',
|
|
|
- basis: ['40%', '60%'],
|
|
|
+ basis: ['30%', '50%', '20%'],
|
|
|
+ ignoreOverflow: true,
|
|
|
},
|
|
|
- layout: ['gallery_list', 'list'],
|
|
|
+ layout: ['gallery_list', 'blast_delta', 'list'],
|
|
|
board: [],
|
|
|
chart: [],
|
|
|
// chart: [
|
|
@@ -1198,36 +1201,40 @@ export const testConfigFire: Config[] = [
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
- {
|
|
|
- label: '乙烯',
|
|
|
- value: '${c2h4Val}',
|
|
|
- color: 'blue',
|
|
|
- info: '',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '甲烷',
|
|
|
- value: '${ch4Val}',
|
|
|
- color: 'blue',
|
|
|
- info: '',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '乙炔',
|
|
|
- value: '${c2h2Val}',
|
|
|
- color: 'blue',
|
|
|
- info: '',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '压差',
|
|
|
- value: '${dpVal}',
|
|
|
- color: 'blue',
|
|
|
- info: '',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: '乙烯',
|
|
|
+ // value: '${c2h4Val}',
|
|
|
+ // color: 'blue',
|
|
|
+ // info: '',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '甲烷',
|
|
|
+ // value: '${ch4Val}',
|
|
|
+ // color: 'blue',
|
|
|
+ // info: '',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '乙炔',
|
|
|
+ // value: '${c2h2Val}',
|
|
|
+ // color: 'blue',
|
|
|
+ // info: '',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '压差',
|
|
|
+ // value: '${dpVal}',
|
|
|
+ // color: 'blue',
|
|
|
+ // info: '',
|
|
|
+ // },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
complex_list: [],
|
|
|
- preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
+ preset: [
|
|
|
+ {
|
|
|
+ readFrom: '',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:570px;',
|
|
@@ -1292,7 +1299,7 @@ export const testConfigFire: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
+ mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:450px;height:280px;',
|