|
@@ -154,16 +154,16 @@ export const testConfigTSFire: Config[] = [
|
|
|
},
|
|
|
// 3. 光纤测温系统(左下)
|
|
|
{
|
|
|
- deviceType: 'pdArray',
|
|
|
+ deviceType: 'deviceInfo',
|
|
|
moduleName: '光纤测温系统',
|
|
|
pageType: 'ts_fire',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
show: true,
|
|
|
- readFrom: '',
|
|
|
+ readFrom: 'fiber.datalist',
|
|
|
selector: {
|
|
|
show: true,
|
|
|
- value: '${systemname}',
|
|
|
+ value: '${strinstallpos}',
|
|
|
},
|
|
|
slot: {
|
|
|
show: false,
|
|
@@ -187,14 +187,15 @@ export const testConfigTSFire: Config[] = [
|
|
|
chart: [
|
|
|
{
|
|
|
type: 'line_smooth',
|
|
|
- readFrom: 'deviceInfo.fiber.datalist',
|
|
|
- legend: { show: false },
|
|
|
+ readFrom: 'readData.fibreTemperature',
|
|
|
+ parser: 'json',
|
|
|
+ legend: { show: true },
|
|
|
xAxis: [{ show: true }],
|
|
|
yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
|
|
|
series: [
|
|
|
{
|
|
|
label: '${strinstallpos}',
|
|
|
- readFrom: 'readData.fibreTemperature',
|
|
|
+ readFrom: '',
|
|
|
xprop: 'pos',
|
|
|
yprop: 'value',
|
|
|
},
|
|
@@ -254,6 +255,7 @@ export const testConfigTSFire: Config[] = [
|
|
|
table: [
|
|
|
{
|
|
|
type: 'A',
|
|
|
+ parser: 'json',
|
|
|
readFrom: 'sysInfo.coalSpoCha',
|
|
|
columns: [
|
|
|
{
|
|
@@ -506,7 +508,7 @@ export const testConfigTSFire: Config[] = [
|
|
|
preset: [
|
|
|
{
|
|
|
readFrom: '',
|
|
|
- selectorConfig1: {
|
|
|
+ selectorConfig2: {
|
|
|
options: [
|
|
|
{
|
|
|
value: 'o2',
|
|
@@ -518,7 +520,7 @@ export const testConfigTSFire: Config[] = [
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
- selectorConfig2: {
|
|
|
+ selectorConfig1: {
|
|
|
options: [
|
|
|
{
|
|
|
value: '1',
|
|
@@ -552,8 +554,8 @@ export const testConfigTSFire: Config[] = [
|
|
|
mockChart: [
|
|
|
{
|
|
|
label: '工作面1氧气',
|
|
|
- deviceType: 'o2',
|
|
|
- deviceId: '1',
|
|
|
+ deviceId: 'o2',
|
|
|
+ deviceType: '1',
|
|
|
seriesData: [
|
|
|
{ pos: '0', value: 21 },
|
|
|
{ pos: '10', value: 21 },
|
|
@@ -569,8 +571,8 @@ export const testConfigTSFire: Config[] = [
|
|
|
},
|
|
|
{
|
|
|
label: '工作面1一氧化碳',
|
|
|
- deviceType: 'co',
|
|
|
- deviceId: '1',
|
|
|
+ deviceId: 'co',
|
|
|
+ deviceType: '1',
|
|
|
seriesData: [
|
|
|
{ pos: '0', value: 11 },
|
|
|
{ pos: '10', value: 11 },
|
|
@@ -586,8 +588,8 @@ export const testConfigTSFire: Config[] = [
|
|
|
},
|
|
|
{
|
|
|
label: '工作面2氧气',
|
|
|
- deviceType: 'o2',
|
|
|
- deviceId: '2',
|
|
|
+ deviceId: 'o2',
|
|
|
+ deviceType: '2',
|
|
|
seriesData: [
|
|
|
{ pos: '0', value: 25 },
|
|
|
{ pos: '10', value: 25 },
|
|
@@ -603,8 +605,8 @@ export const testConfigTSFire: Config[] = [
|
|
|
},
|
|
|
{
|
|
|
label: '工作面2一氧化碳',
|
|
|
- deviceType: 'co',
|
|
|
- deviceId: '2',
|
|
|
+ deviceId: 'co',
|
|
|
+ deviceType: '2',
|
|
|
seriesData: [
|
|
|
{ pos: '0', value: 15 },
|
|
|
{ pos: '10', value: 15 },
|
|
@@ -666,51 +668,23 @@ export const testConfigTSFire: Config[] = [
|
|
|
table: [
|
|
|
{
|
|
|
type: 'A',
|
|
|
- readFrom: 'mockTable',
|
|
|
+ readFrom: 'deviceInfo.bundletube.enterWind',
|
|
|
columns: [
|
|
|
- { name: '序号', prop: 'serialVal' },
|
|
|
- { name: '监测点', prop: 'MonitorPoint' },
|
|
|
- { name: '报警等级', prop: 'warnLevel' },
|
|
|
- { name: '类型', prop: 'warnType' },
|
|
|
- { name: '值', prop: 'nowVal' },
|
|
|
+ { name: '监测点', prop: 'strinstallpos' },
|
|
|
+ { name: '温度', prop: 'readData.temperature' },
|
|
|
+ { name: 'ch2', prop: 'readData.ch2val' },
|
|
|
+ { name: 'ch', prop: 'readData.chval' },
|
|
|
+ { name: 'co2', prop: 'readData.co2val' },
|
|
|
+ { name: 'co', prop: 'readData.coval' },
|
|
|
+ { name: 'gas', prop: 'readData.gasval' },
|
|
|
+ { name: 'o2', prop: 'readData.o2val' },
|
|
|
+ { name: '报警等级', prop: 'syswarnLevel_str' },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- mock: {
|
|
|
- mockTable: [
|
|
|
- {
|
|
|
- serialVal: '1',
|
|
|
- MonitorPoint: '130608工作面采空区1',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '2',
|
|
|
- MonitorPoint: '130608工作面采空区1',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '3',
|
|
|
- MonitorPoint: '130608工作面采空区1',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '4',
|
|
|
- MonitorPoint: '130608工作面采空区1',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:980px;height:270px;',
|
|
@@ -718,10 +692,10 @@ export const testConfigTSFire: Config[] = [
|
|
|
position: 'bottom:8px;left:470px',
|
|
|
},
|
|
|
},
|
|
|
- // 8. 进风侧设备监测(中下2)
|
|
|
+ // 8. 回风侧设备监测(中下2)
|
|
|
{
|
|
|
deviceType: 'RealtimeMonitor',
|
|
|
- moduleName: '进风侧设备监测',
|
|
|
+ moduleName: '回风侧设备监测',
|
|
|
pageType: 'ts_fire',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -757,51 +731,23 @@ export const testConfigTSFire: Config[] = [
|
|
|
table: [
|
|
|
{
|
|
|
type: 'A',
|
|
|
- readFrom: 'mockTable',
|
|
|
+ readFrom: 'deviceInfo.bundletube.returnWind',
|
|
|
columns: [
|
|
|
- { name: '序号', prop: 'serialVal' },
|
|
|
- { name: '监测点', prop: 'MonitorPoint' },
|
|
|
- { name: '报警等级', prop: 'warnLevel' },
|
|
|
- { name: '类型', prop: 'warnType' },
|
|
|
- { name: '值', prop: 'nowVal' },
|
|
|
+ { name: '监测点', prop: 'strinstallpos' },
|
|
|
+ { name: '温度', prop: 'readData.temperature' },
|
|
|
+ { name: 'ch2', prop: 'readData.ch2val' },
|
|
|
+ { name: 'ch', prop: 'readData.chval' },
|
|
|
+ { name: 'co2', prop: 'readData.co2val' },
|
|
|
+ { name: 'co', prop: 'readData.coval' },
|
|
|
+ { name: 'gas', prop: 'readData.gasval' },
|
|
|
+ { name: 'o2', prop: 'readData.o2val' },
|
|
|
+ { name: '报警等级', prop: 'syswarnLevel_str' },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- mock: {
|
|
|
- mockTable: [
|
|
|
- {
|
|
|
- serialVal: '1',
|
|
|
- MonitorPoint: '130608工作面采空区2',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '2',
|
|
|
- MonitorPoint: '130608工作面采空区2',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '3',
|
|
|
- MonitorPoint: '130608工作面采空区2',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '4',
|
|
|
- MonitorPoint: '130608工作面采空区2',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:980px;height:270px;',
|
|
@@ -848,51 +794,19 @@ export const testConfigTSFire: Config[] = [
|
|
|
table: [
|
|
|
{
|
|
|
type: 'A',
|
|
|
- readFrom: 'mockTable',
|
|
|
+ readFrom: 'alarmLog',
|
|
|
columns: [
|
|
|
- { name: '序号', prop: 'serialVal' },
|
|
|
- { name: '监测点', prop: 'MonitorPoint' },
|
|
|
- { name: '报警等级', prop: 'warnLevel' },
|
|
|
- { name: '类型', prop: 'warnType' },
|
|
|
- { name: '值', prop: 'nowVal' },
|
|
|
+ { name: '设备名称', prop: 'devicename' },
|
|
|
+ { name: '预警描述', prop: 'devicekind_dictText' },
|
|
|
+ { name: '预警值名称', prop: 'valuename' },
|
|
|
+ { name: '报警等级', prop: 'nwartype_dictText' },
|
|
|
+ { name: '值', prop: 'val' },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- mock: {
|
|
|
- mockTable: [
|
|
|
- {
|
|
|
- serialVal: '1',
|
|
|
- MonitorPoint: '130608工作面采空区3',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '2',
|
|
|
- MonitorPoint: '130608工作面采空区3',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '3',
|
|
|
- MonitorPoint: '130608工作面采空区3',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- {
|
|
|
- serialVal: '4',
|
|
|
- MonitorPoint: '130608工作面采空区3',
|
|
|
- warnLevel: '低风险',
|
|
|
- warnType: '乙烷',
|
|
|
- nowVal: '0ppm',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
},
|
|
|
showStyle: {
|
|
|
size: 'width:980px;height:270px;',
|