configurable.data.ts 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068
  1. import { Config } from '../../deviceManager/configurationTable/types';
  2. // import { BDdustMock, BDfireMock } from './configurable.data.bd';
  3. export const testConfigVent: Config[] = [
  4. {
  5. deviceType: 'fanmain',
  6. moduleName: '主通风机系统',
  7. pageType: 'vent',
  8. moduleData: {
  9. header: {
  10. show: true,
  11. readFrom: '',
  12. selector: {
  13. show: true,
  14. value: '${strinstallpos}',
  15. },
  16. slot: {
  17. show: true,
  18. value: '运行风机:${readData.Fan1StartStatus}',
  19. trans: {
  20. '1': '一号',
  21. '0': '二号',
  22. },
  23. },
  24. },
  25. background: {
  26. show: false,
  27. type: 'image',
  28. link: '',
  29. },
  30. layout: {
  31. direction: 'column',
  32. items: [
  33. {
  34. name: 'qh_curve',
  35. basis: '67%',
  36. },
  37. {
  38. name: 'board',
  39. basis: '33%',
  40. },
  41. ],
  42. },
  43. board: [
  44. {
  45. type: 'D',
  46. readFrom: '',
  47. layout: 'label-top',
  48. items: [
  49. {
  50. label: '风量(m³/min)',
  51. value: '${flow_merge}',
  52. },
  53. {
  54. label: '负压(Pa)',
  55. value: '${fy_merge}',
  56. },
  57. {
  58. label: '漏风率(%)',
  59. value: '${leakage}',
  60. },
  61. ],
  62. },
  63. ],
  64. list: [],
  65. chart: [],
  66. table: [],
  67. gallery: [],
  68. complex_list: [],
  69. gallery_list: [],
  70. preset: [
  71. {
  72. readFrom: '',
  73. fan1Prop: ['flow_merge', 'fy_merge'],
  74. fan2Prop: ['flow_merge', 'fy_merge'],
  75. },
  76. ],
  77. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=fanmain',
  78. },
  79. showStyle: {
  80. size: 'width:470px;height:280px;',
  81. version: '原版',
  82. position: 'top:60px;left:0;',
  83. },
  84. },
  85. {
  86. deviceType: 'fanlocal',
  87. moduleName: '局部通风机系统',
  88. pageType: 'vent',
  89. moduleData: {
  90. header: {
  91. show: true,
  92. readFrom: '',
  93. selector: {
  94. show: true,
  95. value: '${strinstallpos}',
  96. },
  97. slot: {
  98. show: false,
  99. value: '运行风机:${readData.Fan1StartStatus}',
  100. trans: {
  101. '1': '一号',
  102. '0': '二号',
  103. },
  104. },
  105. },
  106. background: {
  107. show: false,
  108. type: 'image',
  109. link: '',
  110. },
  111. layout: {
  112. direction: 'column',
  113. items: [
  114. {
  115. name: 'chart',
  116. basis: '100%',
  117. },
  118. ],
  119. },
  120. board: [],
  121. list: [],
  122. chart: [
  123. {
  124. type: 'bar_cylinder_wide',
  125. readFrom: '',
  126. legend: { show: false },
  127. xAxis: [{ show: true }],
  128. yAxis: [{ show: true, name: '(m³/min)', position: 'left' }],
  129. series: [{ readFrom: 'chartData', xprop: 'x', yprop: 'y', label: '风量' }],
  130. },
  131. ],
  132. table: [],
  133. gallery: [],
  134. complex_list: [],
  135. gallery_list: [],
  136. preset: [],
  137. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=fanlocal',
  138. },
  139. showStyle: {
  140. size: 'width:470px;height:280px;',
  141. version: '原版',
  142. position: 'top:350px;left:0;',
  143. },
  144. },
  145. {
  146. deviceType: '',
  147. moduleName: '通风设施远程控制',
  148. pageType: 'vent',
  149. moduleData: {
  150. header: {
  151. show: false,
  152. readFrom: '',
  153. selector: {
  154. show: false,
  155. value: '',
  156. },
  157. slot: {
  158. show: false,
  159. value: '',
  160. },
  161. },
  162. background: {
  163. // show: true,
  164. show: false,
  165. type: 'video',
  166. link: '/video/gate.mp4',
  167. },
  168. layout: {
  169. direction: 'row',
  170. items: [
  171. {
  172. name: 'device_alarm',
  173. basis: '100%',
  174. },
  175. ],
  176. },
  177. board: [],
  178. list: [],
  179. chart: [],
  180. table: [],
  181. gallery: [],
  182. complex_list: [],
  183. gallery_list: [],
  184. preset: [
  185. {
  186. readFrom: 'device',
  187. },
  188. ],
  189. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=gate_xinJianFuXieJin',
  190. },
  191. showStyle: {
  192. size: 'width:470px;height:280px;',
  193. version: '原版',
  194. position: 'top:640px;left:0;',
  195. },
  196. },
  197. {
  198. deviceType: 'sys_wind',
  199. moduleName: '风量监测',
  200. pageType: 'vent',
  201. moduleData: {
  202. header: {
  203. show: false,
  204. readFrom: '',
  205. selector: {
  206. show: false,
  207. value: '',
  208. },
  209. slot: {
  210. show: false,
  211. value: '',
  212. },
  213. },
  214. background: {
  215. show: false,
  216. type: 'video',
  217. link: '',
  218. },
  219. layout: {
  220. direction: 'row',
  221. items: [
  222. {
  223. name: 'chart',
  224. basis: '100%',
  225. },
  226. ],
  227. },
  228. board: [],
  229. list: [],
  230. table: [],
  231. preset: [],
  232. gallery: [],
  233. complex_list: [],
  234. gallery_list: [],
  235. chart: [
  236. {
  237. type: 'bar',
  238. readFrom: '',
  239. legend: { show: true },
  240. xAxis: [{ show: true }],
  241. yAxis: [
  242. { show: true, name: '风量(m³/min)', position: 'left' },
  243. { show: true, name: '风速(m/s)', position: 'right' },
  244. ],
  245. dataZoom: [
  246. {
  247. show: true,
  248. end: 20,
  249. },
  250. ],
  251. series: [
  252. { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.m3', label: '风量' },
  253. { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.va', label: '风速' },
  254. ],
  255. },
  256. ],
  257. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=windrect',
  258. },
  259. showStyle: {
  260. size: 'width:1000px;height:280px;',
  261. version: '原版',
  262. position: 'top:640px;left:460px;',
  263. },
  264. },
  265. {
  266. deviceType: 'sys_majorpath',
  267. moduleName: '关键通风路线',
  268. pageType: 'vent',
  269. moduleData: {
  270. header: {
  271. show: true,
  272. readFrom: '',
  273. selector: {
  274. show: true,
  275. value: '${devicePos}',
  276. },
  277. slot: {
  278. show: false,
  279. value: '',
  280. },
  281. },
  282. background: {
  283. show: false,
  284. type: 'video',
  285. link: '',
  286. },
  287. layout: {
  288. direction: 'column',
  289. items: [
  290. {
  291. name: 'chart',
  292. basis: '67%',
  293. },
  294. {
  295. name: 'board',
  296. basis: '33%',
  297. },
  298. ],
  299. },
  300. board: [
  301. {
  302. type: 'D',
  303. readFrom: 'readData',
  304. layout: 'label-top',
  305. items: [
  306. {
  307. label: '风量(m³/min)',
  308. value: '${retM3_merge.value}',
  309. },
  310. {
  311. label: '矿井阻力(Pa)',
  312. value: '${fy_merge.value}',
  313. },
  314. {
  315. label: '等积孔',
  316. value: '${dengjikong_merge}',
  317. },
  318. ],
  319. },
  320. ],
  321. complex_list: [],
  322. gallery: [],
  323. list: [],
  324. table: [],
  325. chart: [
  326. {
  327. type: 'pie_drag',
  328. readFrom: '',
  329. legend: { show: false },
  330. xAxis: [{ show: false }],
  331. yAxis: [{ show: false, name: '风量', position: 'left' }],
  332. series: [{ readFrom: 'piechart', xprop: 'label', yprop: 'valMock', label: '' }],
  333. },
  334. ],
  335. gallery_list: [],
  336. preset: [],
  337. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=sys_majorpath&deviceid=${deviceID}',
  338. },
  339. showStyle: {
  340. size: 'width:470px;height:280px;',
  341. version: '原版',
  342. position: 'top:60px;right:0;',
  343. },
  344. },
  345. {
  346. deviceType: 'sys_surface_caimei',
  347. moduleName: '工作面智能监控',
  348. pageType: 'vent',
  349. moduleData: {
  350. header: {
  351. show: true,
  352. readFrom: '',
  353. selector: {
  354. show: true,
  355. value: '${devicePos}',
  356. },
  357. slot: {
  358. show: false,
  359. value: '',
  360. },
  361. },
  362. background: {
  363. show: false,
  364. type: 'video',
  365. link: '',
  366. },
  367. layout: {
  368. direction: 'column',
  369. items: [
  370. {
  371. name: 'chart',
  372. basis: '65%',
  373. },
  374. {
  375. name: 'board',
  376. basis: '35%',
  377. },
  378. ],
  379. },
  380. board: [
  381. {
  382. type: 'B',
  383. readFrom: '',
  384. layout: 'label-top',
  385. items: [
  386. {
  387. label: '进风(m³/min)',
  388. value: '${faceIntM3}',
  389. },
  390. {
  391. label: '回风(m³/min)',
  392. value: '${faceRetM3}',
  393. },
  394. {
  395. label: '需风量(m³/min)',
  396. value: '${facePlanM3}',
  397. },
  398. ],
  399. },
  400. ],
  401. list: [],
  402. preset: [],
  403. table: [],
  404. gallery: [],
  405. chart: [
  406. {
  407. type: 'line',
  408. readFrom: '',
  409. legend: { show: true },
  410. xAxis: [{ show: true }],
  411. yAxis: [{ show: true, name: '风量(m³/min)', position: 'left' }],
  412. series: [
  413. { readFrom: 'history_report', xprop: 'time', yprop: 'faceIntM3', label: '进风' },
  414. { readFrom: 'history_report', xprop: 'time', yprop: 'faceRetM3', label: '回风' },
  415. ],
  416. },
  417. ],
  418. gallery_list: [],
  419. complex_list: [],
  420. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=sys_surface_caimei&deviceid=${deviceID}',
  421. },
  422. showStyle: {
  423. size: 'width:470px;height:280px;',
  424. version: '原版',
  425. position: 'top:350px;right:0;',
  426. },
  427. },
  428. {
  429. // deviceType: 'warn',
  430. // moduleName: '预警监测',
  431. deviceType: '',
  432. moduleName: '智能通风Deepseek',
  433. pageType: 'vent',
  434. moduleData: {
  435. header: {
  436. show: true,
  437. readFrom: '',
  438. selector: {
  439. show: false,
  440. value: '',
  441. },
  442. slot: {
  443. show: true,
  444. value: '网络异常:${warn[0].netstatus.val}',
  445. },
  446. },
  447. background: {
  448. show: false,
  449. type: 'video',
  450. link: '',
  451. },
  452. layout: {
  453. direction: 'row',
  454. items: [
  455. {
  456. // name: 'list',
  457. name: 'ai_chat',
  458. basis: '100%',
  459. },
  460. ],
  461. },
  462. board: [],
  463. list: [
  464. {
  465. type: 'timeline',
  466. readFrom: 'warn[0]',
  467. items: [
  468. {
  469. label: '报警',
  470. value: '${alarm.val}',
  471. info: '',
  472. color: 'red',
  473. },
  474. {
  475. label: '重大风险预警',
  476. value: '${red.val}',
  477. info: '',
  478. color: 'red',
  479. },
  480. {
  481. label: '较大风险预警',
  482. value: '${orange.val}',
  483. info: '',
  484. color: 'orange',
  485. },
  486. {
  487. label: '一般风险预警',
  488. value: '${yellow.val}',
  489. info: '',
  490. color: 'yellow',
  491. },
  492. {
  493. label: '低风险预警',
  494. value: '${blue.val}',
  495. info: '',
  496. color: 'blue',
  497. },
  498. ],
  499. },
  500. ],
  501. preset: [{ readFrom: '' }],
  502. table: [],
  503. gallery: [],
  504. chart: [],
  505. gallery_list: [],
  506. complex_list: [],
  507. to: '/monitorChannel/monitor-alarm-home',
  508. },
  509. showStyle: {
  510. size: 'width:470px;height:280px;',
  511. version: '原版',
  512. position: 'top:640px;right:0;',
  513. },
  514. },
  515. ];
  516. export const testConfigDust: Config[] = [
  517. {
  518. deviceType: '',
  519. moduleName: '工作面风险监测',
  520. pageType: 'dust',
  521. moduleData: {
  522. header: {
  523. show: false,
  524. readFrom: '',
  525. selector: {
  526. show: false,
  527. value: '',
  528. },
  529. slot: {
  530. show: false,
  531. value: '',
  532. },
  533. },
  534. background: {
  535. show: false,
  536. type: 'video',
  537. link: '',
  538. },
  539. layout: {
  540. direction: 'column',
  541. items: [
  542. {
  543. name: 'gallery',
  544. basis: '20%',
  545. },
  546. {
  547. name: 'complex_list',
  548. basis: '80%',
  549. },
  550. ],
  551. },
  552. board: [],
  553. chart: [],
  554. gallery: [
  555. {
  556. type: 'D',
  557. readFrom: 'dustManageInfo',
  558. items: [
  559. {
  560. label: '监测总数',
  561. value: '${totalNum}',
  562. color: 'blue',
  563. },
  564. {
  565. label: '低风险',
  566. value: '${dfxNum}',
  567. color: 'blue',
  568. },
  569. {
  570. label: '一般风险',
  571. value: '${ybNum}',
  572. color: 'blue',
  573. },
  574. {
  575. label: '较大风险',
  576. value: '${jdNum}',
  577. color: 'blue',
  578. },
  579. {
  580. label: '重大风险',
  581. value: '${zdNum}',
  582. color: 'blue',
  583. },
  584. ],
  585. },
  586. ],
  587. gallery_list: [],
  588. table: [],
  589. complex_list: [
  590. {
  591. type: 'C',
  592. readFrom: 'dustManageInfo.sysList',
  593. mapFromData: true,
  594. items: [
  595. {
  596. title: '${sysNamme}',
  597. contents: [
  598. {
  599. label: '风险监测',
  600. value: '${warnLevel}',
  601. color: 'blue',
  602. info: '',
  603. },
  604. {
  605. label: '最高粉尘浓度',
  606. value: '${maxVal}',
  607. color: 'blue',
  608. info: '',
  609. },
  610. ],
  611. },
  612. ],
  613. },
  614. ],
  615. preset: [],
  616. // mock: BDdustMock,
  617. },
  618. showStyle: {
  619. size: 'width:450px;height:860px;',
  620. version: '新版',
  621. position: 'top:60px;left:0;',
  622. },
  623. },
  624. {
  625. deviceType: 'dustDustGraph',
  626. moduleName: '综放工作面粉尘浓度',
  627. pageType: 'dust',
  628. moduleData: {
  629. header: {
  630. show: true,
  631. readFrom: '',
  632. selector: {
  633. show: true,
  634. value: '${strinstallpos}',
  635. },
  636. slot: {
  637. show: false,
  638. value: '',
  639. },
  640. },
  641. background: {
  642. show: false,
  643. type: 'video',
  644. link: '',
  645. },
  646. layout: {
  647. direction: 'row',
  648. items: [
  649. {
  650. name: 'chart',
  651. basis: '100%',
  652. },
  653. ],
  654. },
  655. board: [],
  656. chart: [
  657. {
  658. type: 'line_area',
  659. readFrom: '',
  660. legend: { show: false },
  661. xAxis: [{ show: true }],
  662. yAxis: [{ show: true, name: '浓度', position: 'left' }],
  663. series: [
  664. {
  665. label: '${strinstallpos}',
  666. readFrom: 'historyList',
  667. xprop: 'time',
  668. yprop: 'dustval',
  669. },
  670. ],
  671. },
  672. ],
  673. gallery: [],
  674. gallery_list: [],
  675. table: [],
  676. list: [],
  677. complex_list: [],
  678. preset: [],
  679. // mock: BDdustMock,
  680. },
  681. showStyle: {
  682. size: 'width:1000px;height:280px;',
  683. version: '新版',
  684. position: 'top:640px;left:460px;',
  685. },
  686. },
  687. {
  688. deviceType: '',
  689. moduleName: '智能喷雾降尘装置',
  690. pageType: 'dust',
  691. moduleData: {
  692. header: {
  693. show: false,
  694. readFrom: '',
  695. selector: {
  696. show: false,
  697. value: '',
  698. },
  699. slot: {
  700. show: false,
  701. value: '',
  702. },
  703. },
  704. background: {
  705. show: false,
  706. type: 'video',
  707. link: '',
  708. },
  709. layout: {
  710. direction: 'row',
  711. items: [
  712. {
  713. name: 'gallery',
  714. basis: '100%',
  715. },
  716. ],
  717. },
  718. board: [],
  719. chart: [],
  720. gallery: [
  721. {
  722. type: 'A',
  723. readFrom: 'atomObj',
  724. items: [
  725. {
  726. label: '设备总数',
  727. value: '${totalNum}',
  728. color: 'blue',
  729. },
  730. {
  731. label: '喷雾开启数',
  732. value: '${atomOpenNum}',
  733. color: 'blue',
  734. },
  735. {
  736. label: '连网数量',
  737. value: '${openNum}',
  738. color: 'blue',
  739. },
  740. {
  741. label: '断网数量',
  742. value: '${breakNum}',
  743. color: 'blue',
  744. },
  745. ],
  746. },
  747. ],
  748. gallery_list: [],
  749. table: [],
  750. list: [],
  751. complex_list: [],
  752. preset: [],
  753. to: 'http://10.248.210.154:8801',
  754. // mock: BDdustMock,
  755. },
  756. showStyle: {
  757. size: 'width:450px;height:280px;',
  758. version: '新版',
  759. position: 'top:60px;right:0;',
  760. },
  761. },
  762. {
  763. deviceType: '',
  764. moduleName: '隔爆设施管理台账',
  765. pageType: 'dust',
  766. moduleData: {
  767. header: {
  768. show: false,
  769. readFrom: '',
  770. selector: {
  771. show: false,
  772. value: '',
  773. },
  774. slot: {
  775. show: false,
  776. value: '',
  777. },
  778. },
  779. background: {
  780. show: false,
  781. type: 'video',
  782. link: '',
  783. },
  784. layout: {
  785. direction: 'row',
  786. items: [
  787. {
  788. name: 'table',
  789. basis: '100%',
  790. },
  791. ],
  792. },
  793. board: [],
  794. chart: [],
  795. gallery: [],
  796. gallery_list: [],
  797. table: [
  798. {
  799. type: 'C',
  800. readFrom: 'devGbsb',
  801. columns: [
  802. {
  803. name: '地点',
  804. prop: 'strinstallpos',
  805. },
  806. {
  807. name: '吊挂位置',
  808. prop: 'addr',
  809. },
  810. {
  811. name: '性质',
  812. prop: 'kind',
  813. },
  814. ],
  815. },
  816. ],
  817. list: [],
  818. complex_list: [],
  819. preset: [],
  820. // mock: BDdustMock,
  821. },
  822. showStyle: {
  823. size: 'width:450px;height:280px;',
  824. version: '新版',
  825. position: 'top:350px;right:0;',
  826. },
  827. },
  828. {
  829. deviceType: 'statics',
  830. moduleName: '粉尘静态指标',
  831. pageType: 'dust',
  832. moduleData: {
  833. header: {
  834. show: false,
  835. readFrom: '',
  836. selector: {
  837. show: false,
  838. value: '',
  839. },
  840. slot: {
  841. show: false,
  842. value: '',
  843. },
  844. },
  845. background: {
  846. show: false,
  847. type: 'video',
  848. link: '',
  849. },
  850. layout: {
  851. direction: 'row',
  852. items: [
  853. {
  854. name: 'board',
  855. basis: '100%',
  856. },
  857. ],
  858. },
  859. board: [
  860. {
  861. type: 'E',
  862. readFrom: '',
  863. layout: 'label-top',
  864. items: [
  865. {
  866. label: '火焰长度',
  867. value: '>400mm',
  868. },
  869. {
  870. label: '抑制煤层爆炸最低岩粉量',
  871. value: '75%',
  872. },
  873. {
  874. label: '鉴定结论',
  875. value: '有煤层爆炸性',
  876. },
  877. ],
  878. },
  879. ],
  880. chart: [],
  881. gallery: [],
  882. gallery_list: [],
  883. table: [],
  884. list: [],
  885. complex_list: [],
  886. preset: [],
  887. // mock: BDdustMock,
  888. },
  889. showStyle: {
  890. size: 'width:450px;height:280px;',
  891. version: '新版',
  892. position: 'top:640px;right:0;',
  893. },
  894. },
  895. ];
  896. export const testConfigFire: Config[] = [
  897. {
  898. deviceType: 'fireManageInfo',
  899. moduleName: '重点区域风险监测',
  900. pageType: 'fire',
  901. moduleData: {
  902. header: {
  903. show: false,
  904. readFrom: '',
  905. selector: {
  906. show: false,
  907. value: '',
  908. },
  909. slot: {
  910. show: false,
  911. value: '',
  912. },
  913. },
  914. background: {
  915. show: false,
  916. type: 'video',
  917. link: '',
  918. },
  919. layout: {
  920. direction: 'column',
  921. items: [
  922. {
  923. name: 'board',
  924. basis: '35%',
  925. },
  926. {
  927. name: 'complex_list',
  928. basis: '65%',
  929. },
  930. ],
  931. },
  932. board: [
  933. {
  934. type: 'A',
  935. readFrom: 'fireManageInfo',
  936. layout: 'label-top',
  937. items: [
  938. {
  939. label: '内因风险等级',
  940. value: '${nyWarnLevel}',
  941. },
  942. {
  943. label: '外因风险等级',
  944. value: '${wyWarnLevel}',
  945. },
  946. ],
  947. },
  948. ],
  949. chart: [],
  950. gallery: [],
  951. gallery_list: [],
  952. table: [],
  953. list: [],
  954. complex_list: [
  955. {
  956. type: 'D',
  957. readFrom: 'fireManageInfo.sysList',
  958. mapFromData: true,
  959. items: [
  960. {
  961. title: '${sysNamme}',
  962. contents: [
  963. {
  964. label: '风险监测',
  965. value: '${warnLevel}',
  966. color: 'blue',
  967. info: '',
  968. },
  969. {
  970. label: '最高温度',
  971. value: '${maxVal}',
  972. color: 'blue',
  973. info: '',
  974. },
  975. ],
  976. },
  977. ],
  978. },
  979. ],
  980. preset: [],
  981. // mock: BDfireMock,
  982. },
  983. showStyle: {
  984. size: 'width:450px;height:425px;',
  985. version: '原版',
  986. position: 'top:60px;left:0;',
  987. },
  988. },
  989. {
  990. deviceType: 'pdArray',
  991. moduleName: '带式输送机防灭火监控系统',
  992. pageType: 'fire',
  993. moduleData: {
  994. header: {
  995. show: true,
  996. readFrom: '',
  997. selector: {
  998. show: true,
  999. value: '${systemname}',
  1000. },
  1001. slot: {
  1002. show: false,
  1003. value: '',
  1004. },
  1005. },
  1006. background: {
  1007. show: false,
  1008. type: 'video',
  1009. link: '',
  1010. },
  1011. layout: {
  1012. direction: 'column',
  1013. items: [
  1014. {
  1015. name: 'board',
  1016. basis: '30%',
  1017. },
  1018. {
  1019. name: 'chart',
  1020. basis: '70%',
  1021. },
  1022. ],
  1023. },
  1024. board: [
  1025. {
  1026. type: 'F',
  1027. layout: 'val-top',
  1028. readFrom: 'arrayCount',
  1029. items: [
  1030. {
  1031. label: '光纤预警',
  1032. value: '${[0].val}℃',
  1033. },
  1034. {
  1035. label: '一氧化碳预警',
  1036. value: '${[1].val}ppm',
  1037. },
  1038. {
  1039. label: '烟雾预警',
  1040. value: '${[2].val}',
  1041. },
  1042. ],
  1043. },
  1044. ],
  1045. chart: [
  1046. {
  1047. type: 'line_smooth',
  1048. readFrom: 'arrayFiber',
  1049. legend: { show: true },
  1050. xAxis: [{ show: true }],
  1051. yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
  1052. series: [
  1053. {
  1054. label: '${strinstallpos}',
  1055. readFrom: 'fibreTemperature',
  1056. xprop: 'pos',
  1057. yprop: 'value',
  1058. },
  1059. ],
  1060. },
  1061. ],
  1062. gallery: [],
  1063. gallery_list: [],
  1064. table: [],
  1065. list: [],
  1066. complex_list: [],
  1067. preset: [],
  1068. // mock: BDfireMock,
  1069. },
  1070. showStyle: {
  1071. size: 'width:450px;height:425px;',
  1072. version: '原版',
  1073. position: 'top:495px;left:0;',
  1074. },
  1075. },
  1076. {
  1077. deviceType: 'sgGxObj',
  1078. moduleName: '工作面光纤监测',
  1079. pageType: 'fire',
  1080. moduleData: {
  1081. header: {
  1082. show: true,
  1083. readFrom: 'devGxcw',
  1084. selector: {
  1085. show: true,
  1086. value: '${strinstallpos}',
  1087. },
  1088. slot: {
  1089. show: false,
  1090. value: '',
  1091. },
  1092. },
  1093. background: {
  1094. show: false,
  1095. type: 'video',
  1096. link: '',
  1097. },
  1098. layout: {
  1099. direction: 'row',
  1100. items: [
  1101. {
  1102. name: 'chart',
  1103. basis: '100%',
  1104. },
  1105. ],
  1106. },
  1107. board: [],
  1108. chart: [
  1109. {
  1110. type: 'line_smooth',
  1111. readFrom: '',
  1112. legend: { show: true },
  1113. xAxis: [{ show: true }],
  1114. yAxis: [{ show: true, name: '温度(℃)', position: 'left' }],
  1115. series: [
  1116. {
  1117. label: '${strinstallpos}',
  1118. readFrom: 'fibreTemperature',
  1119. xprop: 'pos',
  1120. yprop: 'value',
  1121. },
  1122. ],
  1123. },
  1124. ],
  1125. gallery: [],
  1126. gallery_list: [],
  1127. table: [],
  1128. list: [],
  1129. complex_list: [],
  1130. preset: [],
  1131. // mock: BDfireMock,
  1132. },
  1133. showStyle: {
  1134. size: 'width:1040px;height:280px;',
  1135. version: '原版',
  1136. position: 'top:640px;left:440px;',
  1137. },
  1138. },
  1139. {
  1140. deviceType: 'sgGxObj',
  1141. moduleName: '工作面束管监测',
  1142. pageType: 'fire',
  1143. moduleData: {
  1144. header: {
  1145. show: true,
  1146. readFrom: 'devSgjc',
  1147. selector: {
  1148. show: true,
  1149. value: '${strinstallpos}',
  1150. },
  1151. slot: {
  1152. show: false,
  1153. value: '',
  1154. },
  1155. },
  1156. background: {
  1157. show: false,
  1158. type: 'video',
  1159. link: '',
  1160. },
  1161. layout: {
  1162. direction: 'column',
  1163. items: [
  1164. {
  1165. name: 'gallery_list',
  1166. basis: '40%',
  1167. },
  1168. {
  1169. name: 'blast_delta',
  1170. basis: '52%',
  1171. overflow: false,
  1172. },
  1173. ],
  1174. },
  1175. board: [],
  1176. chart: [],
  1177. // chart: [
  1178. // {
  1179. // type: 'line_bar',
  1180. // readFrom: 'dsArray',
  1181. // xAxis: [
  1182. // {
  1183. // label: 'null',
  1184. // },
  1185. // ],
  1186. // yAxis: [
  1187. // {
  1188. // label: 'A',
  1189. // align: 'left',
  1190. // },
  1191. // {
  1192. // label: 'A',
  1193. // align: 'left',
  1194. // },
  1195. // ],
  1196. // series: [
  1197. // {
  1198. // label: 'A',
  1199. // prop: 'top',
  1200. // },
  1201. // {
  1202. // label: 'B',
  1203. // prop: 'bot',
  1204. // },
  1205. // ],
  1206. // },
  1207. // ],
  1208. gallery: [],
  1209. gallery_list: [
  1210. {
  1211. type: 'B',
  1212. readFrom: '',
  1213. items: [
  1214. {
  1215. label: '一氧化碳',
  1216. value: '${coVal}',
  1217. color: 'blue',
  1218. info: '',
  1219. },
  1220. {
  1221. label: '二氧化碳',
  1222. value: '${co2Val}',
  1223. color: 'blue',
  1224. info: '',
  1225. },
  1226. {
  1227. label: '氧气',
  1228. value: '${o2Val}',
  1229. color: 'blue',
  1230. info: '',
  1231. },
  1232. {
  1233. label: '乙烯',
  1234. value: '${c2h4Val}',
  1235. color: 'blue',
  1236. info: '',
  1237. },
  1238. {
  1239. label: '甲烷',
  1240. value: '${ch4Val}',
  1241. color: 'blue',
  1242. info: '',
  1243. },
  1244. {
  1245. label: '乙炔',
  1246. value: '${c2h2Val}',
  1247. color: 'blue',
  1248. info: '',
  1249. },
  1250. ],
  1251. galleryItems: [
  1252. {
  1253. label: '风险等级',
  1254. value: '${warnLevel}',
  1255. color: 'blue',
  1256. },
  1257. ],
  1258. },
  1259. ],
  1260. table: [],
  1261. list: [
  1262. {
  1263. type: 'E',
  1264. readFrom: 'arrayCount',
  1265. items: [
  1266. {
  1267. label: '一氧化碳',
  1268. value: '${coVal}',
  1269. color: 'blue',
  1270. info: '',
  1271. },
  1272. {
  1273. label: '二氧化碳',
  1274. value: '${co2Val}',
  1275. color: 'blue',
  1276. info: '',
  1277. },
  1278. {
  1279. label: '氧气',
  1280. value: '${o2Val}',
  1281. color: 'blue',
  1282. info: '',
  1283. },
  1284. {
  1285. label: '温度',
  1286. value: '${tempVal}',
  1287. color: 'blue',
  1288. info: '',
  1289. },
  1290. // {
  1291. // label: '乙烯',
  1292. // value: '${c2h4Val}',
  1293. // color: 'blue',
  1294. // info: '',
  1295. // },
  1296. // {
  1297. // label: '甲烷',
  1298. // value: '${ch4Val}',
  1299. // color: 'blue',
  1300. // info: '',
  1301. // },
  1302. // {
  1303. // label: '乙炔',
  1304. // value: '${c2h2Val}',
  1305. // color: 'blue',
  1306. // info: '',
  1307. // },
  1308. // {
  1309. // label: '压差',
  1310. // value: '${dpVal}',
  1311. // color: 'blue',
  1312. // info: '',
  1313. // },
  1314. ],
  1315. },
  1316. ],
  1317. complex_list: [],
  1318. preset: [
  1319. {
  1320. readFrom: '',
  1321. },
  1322. ],
  1323. // mock: BDfireMock,
  1324. },
  1325. showStyle: {
  1326. size: 'width:450px;height:570px;',
  1327. version: '原版',
  1328. position: 'top:60px;right:0;',
  1329. },
  1330. },
  1331. {
  1332. deviceType: 'aqjkArray',
  1333. moduleName: '安全监控系统',
  1334. pageType: 'fire',
  1335. moduleData: {
  1336. header: {
  1337. show: false,
  1338. readFrom: '',
  1339. selector: {
  1340. show: false,
  1341. value: '',
  1342. },
  1343. slot: {
  1344. show: false,
  1345. value: '',
  1346. },
  1347. },
  1348. background: {
  1349. show: false,
  1350. type: 'video',
  1351. link: '',
  1352. },
  1353. layout: {
  1354. direction: 'row',
  1355. items: [
  1356. {
  1357. name: 'table',
  1358. basis: '100%',
  1359. },
  1360. ],
  1361. },
  1362. board: [],
  1363. chart: [],
  1364. gallery: [],
  1365. gallery_list: [],
  1366. table: [
  1367. {
  1368. type: 'C',
  1369. readFrom: 'aqjkArray',
  1370. columns: [
  1371. {
  1372. name: '测点位置',
  1373. prop: 'strinstallpos',
  1374. },
  1375. {
  1376. name: '温度',
  1377. prop: 'nowVal',
  1378. },
  1379. {
  1380. name: '预警级别',
  1381. prop: 'warnLevel',
  1382. },
  1383. // {
  1384. // name: '时间',
  1385. // prop: 'time',
  1386. // },
  1387. ],
  1388. },
  1389. ],
  1390. list: [],
  1391. complex_list: [],
  1392. preset: [],
  1393. // mock: BDfireMock,
  1394. },
  1395. showStyle: {
  1396. size: 'width:450px;height:280px;',
  1397. version: '原版',
  1398. position: 'top:640px;right:0;',
  1399. },
  1400. },
  1401. ];
  1402. export const testConfigVentRealtime: Config[] = [
  1403. {
  1404. deviceType: 'fanmain',
  1405. moduleName: '主通风机系统',
  1406. pageType: 'vent_realtime',
  1407. moduleData: {
  1408. header: {
  1409. show: true,
  1410. readFrom: '',
  1411. selector: {
  1412. show: true,
  1413. value: '${strinstallpos}',
  1414. },
  1415. slot: {
  1416. show: true,
  1417. value: '运行风机:${readData.Fan1StartStatus}',
  1418. trans: {
  1419. '1': '一号',
  1420. '0': '二号',
  1421. },
  1422. },
  1423. },
  1424. background: {
  1425. show: false,
  1426. type: 'image',
  1427. link: '',
  1428. },
  1429. layout: {
  1430. direction: 'column',
  1431. items: [
  1432. {
  1433. name: 'qh_curve',
  1434. basis: '67%',
  1435. },
  1436. {
  1437. name: 'board',
  1438. basis: '33%',
  1439. },
  1440. ],
  1441. },
  1442. board: [
  1443. {
  1444. type: 'D',
  1445. readFrom: '',
  1446. layout: 'label-top',
  1447. items: [
  1448. {
  1449. label: '风量(m³/min)',
  1450. trans: {
  1451. '0': '${readData.Fan2_FanFlow}',
  1452. '1': '${readData.Fan1_FanFlow}',
  1453. },
  1454. value: '${readData.Fan1StartStatus}',
  1455. },
  1456. {
  1457. label: '负压(Pa)',
  1458. trans: {
  1459. '0': '${readData.Fan2FanPre}',
  1460. '1': '${readData.Fan1FanPre}',
  1461. },
  1462. value: '${readData.Fan1StartStatus}',
  1463. },
  1464. {
  1465. label: '漏风率(%)',
  1466. value: '${leakage}',
  1467. },
  1468. ],
  1469. },
  1470. ],
  1471. list: [],
  1472. chart: [],
  1473. table: [],
  1474. gallery: [],
  1475. complex_list: [],
  1476. gallery_list: [],
  1477. preset: [
  1478. {
  1479. readFrom: '',
  1480. fan1Prop: ['readData.Fan1_FanFlow', 'readData.Fan1FanPre'],
  1481. fan2Prop: ['readData.Fan2_FanFlow', 'readData.Fan2FanPre'],
  1482. },
  1483. ],
  1484. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=fanmain',
  1485. },
  1486. showStyle: {
  1487. size: 'width:470px;height:280px;',
  1488. version: '原版',
  1489. position: 'top:60px;left:0;',
  1490. },
  1491. },
  1492. {
  1493. deviceType: 'fanlocal',
  1494. moduleName: '局部通风机系统',
  1495. pageType: 'vent_realtime',
  1496. moduleData: {
  1497. header: {
  1498. show: true,
  1499. readFrom: '',
  1500. selector: {
  1501. show: true,
  1502. value: '${strinstallpos}',
  1503. },
  1504. slot: {
  1505. show: false,
  1506. value: '运行风机:${readData.Fan1StartStatus}',
  1507. trans: {
  1508. '1': '一号',
  1509. '0': '二号',
  1510. },
  1511. },
  1512. },
  1513. background: {
  1514. show: false,
  1515. type: 'image',
  1516. link: '',
  1517. },
  1518. layout: {
  1519. direction: 'column',
  1520. items: [
  1521. {
  1522. name: 'chart',
  1523. basis: '100%',
  1524. },
  1525. ],
  1526. },
  1527. board: [],
  1528. list: [],
  1529. chart: [
  1530. {
  1531. type: 'bar_cylinder_wide',
  1532. readFrom: '',
  1533. legend: { show: false },
  1534. xAxis: [{ show: true }],
  1535. yAxis: [{ show: true, name: '(m³/min)', position: 'left' }],
  1536. series: [
  1537. { readFrom: 'chartData', xprop: 'x', yprop: 'yMock', label: '风量' },
  1538. // { readFrom: '', xprop: 'x', yprop: 'y2', label: '风量' },
  1539. ],
  1540. },
  1541. ],
  1542. table: [],
  1543. gallery: [],
  1544. complex_list: [],
  1545. gallery_list: [],
  1546. preset: [],
  1547. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=fanlocal',
  1548. },
  1549. showStyle: {
  1550. size: 'width:470px;height:280px;',
  1551. version: '原版',
  1552. position: 'top:350px;left:0;',
  1553. },
  1554. },
  1555. {
  1556. deviceType: '',
  1557. moduleName: '通风设施远程控制',
  1558. pageType: 'vent_realtime',
  1559. moduleData: {
  1560. header: {
  1561. show: false,
  1562. readFrom: '',
  1563. selector: {
  1564. show: false,
  1565. value: '',
  1566. },
  1567. slot: {
  1568. show: false,
  1569. value: '',
  1570. },
  1571. },
  1572. background: {
  1573. show: false,
  1574. type: 'image',
  1575. link: '',
  1576. },
  1577. layout: {
  1578. direction: 'row',
  1579. items: [
  1580. {
  1581. name: 'device_alarm',
  1582. basis: '100%',
  1583. },
  1584. ],
  1585. },
  1586. board: [],
  1587. list: [],
  1588. chart: [],
  1589. table: [],
  1590. gallery: [],
  1591. complex_list: [],
  1592. gallery_list: [],
  1593. preset: [
  1594. {
  1595. readFrom: 'device',
  1596. },
  1597. ],
  1598. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=gate_xinJianFuXieJin',
  1599. },
  1600. showStyle: {
  1601. size: 'width:470px;height:280px;',
  1602. version: '原版',
  1603. position: 'top:640px;left:0;',
  1604. },
  1605. },
  1606. {
  1607. deviceType: 'sys_wind',
  1608. moduleName: '风量监测',
  1609. pageType: 'vent_realtime',
  1610. moduleData: {
  1611. header: {
  1612. show: false,
  1613. readFrom: '',
  1614. selector: {
  1615. show: false,
  1616. value: '',
  1617. },
  1618. slot: {
  1619. show: false,
  1620. value: '',
  1621. },
  1622. },
  1623. background: {
  1624. show: false,
  1625. type: 'video',
  1626. link: '',
  1627. },
  1628. layout: {
  1629. direction: 'row',
  1630. items: [
  1631. {
  1632. name: 'chart',
  1633. basis: '100%',
  1634. },
  1635. ],
  1636. },
  1637. board: [],
  1638. list: [],
  1639. table: [],
  1640. preset: [],
  1641. gallery: [],
  1642. complex_list: [],
  1643. gallery_list: [],
  1644. chart: [
  1645. {
  1646. type: 'bar',
  1647. readFrom: '',
  1648. legend: { show: true },
  1649. xAxis: [{ show: true }],
  1650. yAxis: [
  1651. { show: true, name: '风量(m³/min)', position: 'left' },
  1652. { show: true, name: '风速(m/s)', position: 'right' },
  1653. ],
  1654. series: [
  1655. { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.m3', label: '风量' },
  1656. { readFrom: 'sys_wind', xprop: 'strinstallpos', yprop: 'readData.va', label: '风速' },
  1657. ],
  1658. },
  1659. ],
  1660. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=windrect',
  1661. },
  1662. showStyle: {
  1663. size: 'width:1000px;height:280px;',
  1664. version: '原版',
  1665. position: 'top:640px;left:460px;',
  1666. },
  1667. },
  1668. {
  1669. deviceType: 'sys_majorpath',
  1670. moduleName: '关键通风路线',
  1671. pageType: 'vent_realtime',
  1672. moduleData: {
  1673. header: {
  1674. show: true,
  1675. readFrom: '',
  1676. selector: {
  1677. show: true,
  1678. value: '${devicePos}',
  1679. },
  1680. slot: {
  1681. show: false,
  1682. value: '',
  1683. },
  1684. },
  1685. background: {
  1686. show: false,
  1687. type: 'video',
  1688. link: '',
  1689. },
  1690. layout: {
  1691. direction: 'column',
  1692. items: [
  1693. {
  1694. name: 'chart',
  1695. basis: '67%',
  1696. },
  1697. {
  1698. name: 'board',
  1699. basis: '33%',
  1700. },
  1701. ],
  1702. },
  1703. board: [
  1704. {
  1705. type: 'D',
  1706. readFrom: 'majorpath',
  1707. layout: 'label-top',
  1708. items: [
  1709. {
  1710. label: '风量(m³/min)',
  1711. value: '${m3_total}',
  1712. },
  1713. {
  1714. label: '矿井阻力(Pa)',
  1715. value: '${drag_total}',
  1716. },
  1717. {
  1718. label: '等积孔',
  1719. value: '${dengjikong}',
  1720. },
  1721. ],
  1722. },
  1723. ],
  1724. complex_list: [],
  1725. gallery: [],
  1726. list: [],
  1727. table: [],
  1728. chart: [
  1729. {
  1730. type: 'pie_drag',
  1731. readFrom: '',
  1732. legend: { show: false },
  1733. xAxis: [{ show: false }],
  1734. yAxis: [{ show: false, name: '风量', position: 'left' }],
  1735. series: [{ readFrom: 'piechart', xprop: 'label', yprop: 'val', label: '-' }],
  1736. },
  1737. ],
  1738. gallery_list: [],
  1739. preset: [],
  1740. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=sys_majorpath',
  1741. },
  1742. showStyle: {
  1743. size: 'width:470px;height:280px;',
  1744. version: '原版',
  1745. position: 'top:60px;right:0;',
  1746. },
  1747. },
  1748. {
  1749. deviceType: 'sys_surface_caimei',
  1750. moduleName: '工作面智能监控',
  1751. pageType: 'vent_realtime',
  1752. moduleData: {
  1753. header: {
  1754. show: true,
  1755. readFrom: '',
  1756. selector: {
  1757. show: true,
  1758. value: '${devicePos}',
  1759. },
  1760. slot: {
  1761. show: false,
  1762. value: '',
  1763. },
  1764. },
  1765. background: {
  1766. show: false,
  1767. type: 'video',
  1768. link: '',
  1769. },
  1770. layout: {
  1771. direction: 'column',
  1772. items: [
  1773. {
  1774. name: 'chart',
  1775. basis: '65%',
  1776. },
  1777. {
  1778. name: 'board',
  1779. basis: '35%',
  1780. },
  1781. ],
  1782. },
  1783. board: [
  1784. {
  1785. type: 'B',
  1786. readFrom: '',
  1787. layout: 'label-top',
  1788. items: [
  1789. {
  1790. label: '进风(m³/min)',
  1791. value: '${jin}',
  1792. },
  1793. {
  1794. label: '回风(m³/min)',
  1795. value: '${hui}',
  1796. },
  1797. // {
  1798. // label: '需风量(m³/min)',
  1799. // value: '${xufengliang}',
  1800. // },
  1801. ],
  1802. },
  1803. ],
  1804. list: [],
  1805. preset: [],
  1806. table: [],
  1807. gallery: [],
  1808. chart: [
  1809. {
  1810. type: 'line',
  1811. readFrom: '',
  1812. legend: { show: true },
  1813. xAxis: [{ show: true }],
  1814. yAxis: [{ show: true, name: '风量(m³/min)', position: 'left' }],
  1815. series: [
  1816. { readFrom: 'history', xprop: 'time', yprop: 'jin', label: '进风' },
  1817. { readFrom: 'history', xprop: 'time', yprop: 'hui', label: '回风' },
  1818. ],
  1819. },
  1820. ],
  1821. gallery_list: [],
  1822. complex_list: [],
  1823. to: '/micro-vent-3dModal/dashboard/analysis?type=tunMonitor&deviceType=sys_surface_caimei&deviceid=${deviceID}',
  1824. },
  1825. showStyle: {
  1826. size: 'width:470px;height:280px;',
  1827. version: '原版',
  1828. position: 'top:350px;right:0;',
  1829. },
  1830. },
  1831. {
  1832. deviceType: 'warn',
  1833. moduleName: '预警监测',
  1834. pageType: 'vent_realtime',
  1835. moduleData: {
  1836. header: {
  1837. show: true,
  1838. readFrom: '',
  1839. selector: {
  1840. show: false,
  1841. value: '',
  1842. },
  1843. slot: {
  1844. show: true,
  1845. value: '网络异常:${warn[0].netstatus.val}',
  1846. },
  1847. },
  1848. background: {
  1849. show: false,
  1850. type: 'video',
  1851. link: '',
  1852. },
  1853. layout: {
  1854. direction: 'row',
  1855. items: [
  1856. {
  1857. name: 'list',
  1858. basis: '100%',
  1859. },
  1860. ],
  1861. },
  1862. board: [],
  1863. list: [
  1864. {
  1865. type: 'timeline',
  1866. readFrom: 'warn[0]',
  1867. items: [
  1868. {
  1869. label: '报警',
  1870. value: '${alarm.val}',
  1871. info: '',
  1872. color: 'red',
  1873. },
  1874. {
  1875. label: '重大风险预警',
  1876. value: '${red.val}',
  1877. info: '',
  1878. color: 'red',
  1879. },
  1880. {
  1881. label: '较大风险预警',
  1882. value: '${orange.val}',
  1883. info: '',
  1884. color: 'orange',
  1885. },
  1886. {
  1887. label: '一般风险预警',
  1888. value: '${yellow.val}',
  1889. info: '',
  1890. color: 'yellow',
  1891. },
  1892. {
  1893. label: '低风险预警',
  1894. value: '${blue.val}',
  1895. info: '',
  1896. color: 'blue',
  1897. },
  1898. ],
  1899. },
  1900. ],
  1901. preset: [],
  1902. table: [],
  1903. gallery: [],
  1904. chart: [],
  1905. gallery_list: [],
  1906. complex_list: [],
  1907. to: '/monitorChannel/monitor-alarm-home',
  1908. },
  1909. showStyle: {
  1910. size: 'width:470px;height:280px;',
  1911. version: '原版',
  1912. position: 'top:640px;right:0;',
  1913. },
  1914. },
  1915. ];
  1916. // {
  1917. // deviceType: 'fanmain',
  1918. // moduleName: '主通风机系统',
  1919. // pageType: 'vent',
  1920. // moduleData: {
  1921. // header: {
  1922. // show: true,
  1923. // readFrom: '',
  1924. // selector: {
  1925. // show: true,
  1926. // value: '${strinstallpos}',
  1927. // },
  1928. // slot: {
  1929. // show: true,
  1930. // value: '运行风机:${readData.Fan1StartStatus}',
  1931. // trans: {
  1932. // '1': '一号',
  1933. // '0': '二号',
  1934. // },
  1935. // },
  1936. // },
  1937. // background: {
  1938. // show: true,
  1939. // type: 'video',
  1940. // link: '/video/mainFan.mp4',
  1941. // },
  1942. // layout: {
  1943. // direction: 'column',
  1944. // items: [
  1945. // {
  1946. // name: 'board',
  1947. // basis: '40%',
  1948. // },
  1949. // ],
  1950. // },
  1951. // board: [
  1952. // {
  1953. // type: 'A',
  1954. // readFrom: 'readData',
  1955. // layout: 'val-top',
  1956. // items: [
  1957. // {
  1958. // label: '风量(m³/min)',
  1959. // value: '${m3}',
  1960. // },
  1961. // {
  1962. // label: '负压(Pa)',
  1963. // value: '${Fan1StartStatus}',
  1964. // trans: {
  1965. // '1': '${Fan1FreqHz}',
  1966. // '0': '${Fan1FreqHz}',
  1967. // },
  1968. // },
  1969. // {
  1970. // label: '频率(Hz)',
  1971. // value: '${DataPa}',
  1972. // },
  1973. // ],
  1974. // },
  1975. // ],
  1976. // list: [],
  1977. // chart: [],
  1978. // table: [],
  1979. // gallery: [],
  1980. // complex_list: [],
  1981. // gallery_list: [],
  1982. // preset: [],
  1983. // },
  1984. // showStyle: {
  1985. // size: 'width:470px;height:280px;',
  1986. // version: '原版',
  1987. // position: 'top:60px;left:0;',
  1988. // },
  1989. // },
  1990. // {
  1991. // deviceType: 'fanlocal',
  1992. // moduleName: '局部通风机系统',
  1993. // pageType: 'vent',
  1994. // moduleData: {
  1995. // header: {
  1996. // show: true,
  1997. // readFrom: '',
  1998. // selector: {
  1999. // show: true,
  2000. // value: '${strinstallpos}',
  2001. // },
  2002. // slot: {
  2003. // show: true,
  2004. // value: '运行风机:${readData.Fan1StartStatus}',
  2005. // trans: {
  2006. // '1': '一号',
  2007. // '0': '二号',
  2008. // },
  2009. // },
  2010. // },
  2011. // background: {
  2012. // show: true,
  2013. // type: 'video',
  2014. // link: '/video/fanLocal.mp4',
  2015. // },
  2016. // layout: {
  2017. // direction: 'column',
  2018. // items: [
  2019. // {
  2020. // name: 'board',
  2021. // basis: '40%',
  2022. // },
  2023. // ],
  2024. // },
  2025. // board: [
  2026. // {
  2027. // type: 'A',
  2028. // readFrom: 'readData',
  2029. // layout: 'val-top',
  2030. // items: [
  2031. // {
  2032. // label: '吸风量(m³/min)',
  2033. // value: '${windQuantity1}',
  2034. // },
  2035. // {
  2036. // label: '供风量(m³/min)',
  2037. // value: '${windQuantity2}',
  2038. // },
  2039. // {
  2040. // label: '频率(Hz)',
  2041. // value: '${Fan1StartStatus}',
  2042. // trans: {
  2043. // '1': '${Fan1fHz}',
  2044. // '0': '${Fan2fHz}',
  2045. // },
  2046. // },
  2047. // ],
  2048. // },
  2049. // ],
  2050. // list: [],
  2051. // chart: [],
  2052. // table: [],
  2053. // gallery: [],
  2054. // complex_list: [],
  2055. // gallery_list: [],
  2056. // preset: [],
  2057. // },
  2058. // showStyle: {
  2059. // size: 'width:450px;height:280px;',
  2060. // version: '新版',
  2061. // position: 'top:350px;left:0;',
  2062. // },
  2063. // },