configurable.data.ts 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518
  1. import { Config } from '../../deviceManager/configurationTable/types';
  2. export const posMonitorData = {
  3. msgType: null,
  4. deviceID: '1657545388451663008',
  5. strname: '束管3',
  6. strinstallpos: '束管3',
  7. fsectarea: '11.0',
  8. stationname: '测试分站',
  9. stationtype: 'plc',
  10. deviceType: 'bundletube_auto',
  11. typeName: '束管监测',
  12. netStatus: 1,
  13. warnFlag: 0,
  14. warnLevel: 0,
  15. warnLevel_str: '正常',
  16. syswarnLevel: 101,
  17. syswarnLevel_str: '绿色预警',
  18. syswarnLevel_des: '缓慢氧化阶段(吸氧蓄热期)',
  19. warnTime: null,
  20. readTime: '10:03:08',
  21. warnDes: '',
  22. frontGateOpenCtrl: null,
  23. rearGateOpenCtrl: null,
  24. readData: {
  25. ch2val_datainfo: {
  26. dayMaxTime: '2024-08-05 09:59:54',
  27. dayAvg: 0,
  28. dayMin: 0,
  29. dayMinTime: '2024-08-05 09:59:54',
  30. avgHour: 0,
  31. hourMinTime: '2024-08-05 09:59:54',
  32. hourNum: 85,
  33. hourMax: 0,
  34. hourAvg: 0,
  35. hourMin: 0,
  36. dayNum: 85,
  37. hourMaxTime: '2024-08-05 09:59:54',
  38. dayMax: 0,
  39. avgDay: 0,
  40. },
  41. o2val_datainfo: {
  42. dayMaxTime: '2024-08-05 10:00:04',
  43. dayAvg: 1670.6299999999999,
  44. dayMin: 19.51,
  45. dayMinTime: '2024-08-05 10:00:02',
  46. avgHour: 19,
  47. hourMinTime: '2024-08-05 10:00:02',
  48. hourNum: 85,
  49. hourMax: 19.8,
  50. hourAvg: 1670.6299999999999,
  51. hourMin: 19.51,
  52. dayNum: 85,
  53. hourMaxTime: '2024-08-05 10:00:04',
  54. dayMax: 19.8,
  55. avgDay: 19,
  56. },
  57. sign: '0',
  58. o2val: '19.67',
  59. gasval_datainfo: {
  60. dayMaxTime: '2024-08-05 10:00:00',
  61. dayAvg: 33.25,
  62. dayMin: 0.38,
  63. dayMinTime: '2024-08-05 09:59:54',
  64. avgHour: 0,
  65. hourMinTime: '2024-08-05 09:59:54',
  66. hourNum: 85,
  67. hourMax: 0.4,
  68. hourAvg: 33.25,
  69. hourMin: 0.38,
  70. dayNum: 85,
  71. hourMaxTime: '2024-08-05 10:00:00',
  72. dayMax: 0.4,
  73. avgDay: 0,
  74. },
  75. chval_datainfo: {
  76. dayMaxTime: '2024-08-05 09:59:54',
  77. dayAvg: 0,
  78. dayMin: 0,
  79. dayMinTime: '2024-08-05 09:59:54',
  80. avgHour: 0,
  81. hourMinTime: '2024-08-05 09:59:54',
  82. hourNum: 85,
  83. hourMax: 0,
  84. hourAvg: 0,
  85. hourMin: 0,
  86. dayNum: 85,
  87. hourMaxTime: '2024-08-05 09:59:54',
  88. dayMax: 0,
  89. avgDay: 0,
  90. },
  91. coval_datainfo: {
  92. dayMaxTime: '2024-08-05 10:02:36',
  93. dayAvg: 1075.0000000000007,
  94. dayMin: 12.5,
  95. dayMinTime: '2024-08-05 10:00:10',
  96. avgHour: 12,
  97. hourMinTime: '2024-08-05 10:00:10',
  98. hourNum: 85,
  99. hourMax: 12.8,
  100. hourAvg: 1075.0000000000007,
  101. hourMin: 12.5,
  102. dayNum: 85,
  103. hourMaxTime: '2024-08-05 10:02:36',
  104. dayMax: 12.8,
  105. avgDay: 12,
  106. },
  107. co2val_datainfo: {
  108. dayMaxTime: '2024-08-05 10:00:08',
  109. dayAvg: 18.74000000000002,
  110. dayMin: 0.2,
  111. dayMinTime: '2024-08-05 09:59:54',
  112. avgHour: 0,
  113. hourMinTime: '2024-08-05 09:59:54',
  114. hourNum: 85,
  115. hourMax: 0.24,
  116. hourAvg: 18.74000000000002,
  117. hourMin: 0.2,
  118. dayNum: 85,
  119. hourMaxTime: '2024-08-05 10:00:08',
  120. dayMax: 0.24,
  121. avgDay: 0,
  122. },
  123. deviceStatus: '1',
  124. coval: '12.57',
  125. ch2val: '0.0',
  126. btTriBlast: '{"G_y":10.52,"G_x":0,"F_y":0,"A_x":5.01,"B_x":15.04,"A_y":19.93,"B_y":17.82,"E_y":9.9953,"F_x":9.57,"E_x":5.01}',
  127. gasval: '0.4',
  128. chval: '0.0',
  129. isRun: '-2',
  130. co2val: '0.24',
  131. },
  132. readDataDes: null,
  133. summaryHour: [],
  134. summaryDay: [],
  135. history: [
  136. { coval: '12.72', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.54', time: '2024-08-05 10:01:30', co2val: '0.23' },
  137. { coval: '12.74', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.66', time: '2024-08-05 10:01:32', co2val: '0.24' },
  138. { coval: '12.7', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.51', time: '2024-08-05 10:01:34', co2val: '0.23' },
  139. { coval: '12.7', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.65', time: '2024-08-05 10:01:36', co2val: '0.23' },
  140. { coval: '12.62', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.54', time: '2024-08-05 10:01:38', co2val: '0.23' },
  141. { coval: '12.62', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.54', time: '2024-08-05 10:01:40', co2val: '0.23' },
  142. { coval: '12.51', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.67', time: '2024-08-05 10:01:42', co2val: '0.22' },
  143. { coval: '12.69', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.7', time: '2024-08-05 10:01:44', co2val: '0.24' },
  144. { coval: '12.7', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.66', time: '2024-08-05 10:01:46', co2val: '0.22' },
  145. { coval: '12.7', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.61', time: '2024-08-05 10:01:48', co2val: '0.22' },
  146. { coval: '12.68', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.76', time: '2024-08-05 10:01:50', co2val: '0.22' },
  147. { coval: '12.6', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.73', time: '2024-08-05 10:01:52', co2val: '0.22' },
  148. { coval: '12.58', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.53', time: '2024-08-05 10:01:54', co2val: '0.23' },
  149. { coval: '12.64', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.62', time: '2024-08-05 10:01:56', co2val: '0.22' },
  150. { coval: '12.53', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.73', time: '2024-08-05 10:01:58', co2val: '0.23' },
  151. { coval: '12.58', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.65', time: '2024-08-05 10:02:00', co2val: '0.22' },
  152. { coval: '12.79', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.7', time: '2024-08-05 10:02:02', co2val: '0.22' },
  153. { coval: '12.65', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.52', time: '2024-08-05 10:02:04', co2val: '0.2' },
  154. { coval: '12.61', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.52', time: '2024-08-05 10:02:06', co2val: '0.22' },
  155. { coval: '12.61', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.52', time: '2024-08-05 10:02:08', co2val: '0.22' },
  156. { coval: '12.64', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.53', time: '2024-08-05 10:02:10', co2val: '0.2' },
  157. { coval: '12.61', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.76', time: '2024-08-05 10:02:12', co2val: '0.2' },
  158. { coval: '12.62', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.73', time: '2024-08-05 10:02:14', co2val: '0.21' },
  159. { coval: '12.69', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.74', time: '2024-08-05 10:02:16', co2val: '0.23' },
  160. { coval: '12.69', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.6', time: '2024-08-05 10:02:18', co2val: '0.23' },
  161. { coval: '12.77', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.67', time: '2024-08-05 10:02:20', co2val: '0.21' },
  162. { coval: '12.75', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.67', time: '2024-08-05 10:02:22', co2val: '0.24' },
  163. { coval: '12.51', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.6', time: '2024-08-05 10:02:24', co2val: '0.23' },
  164. { coval: '12.51', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.6', time: '2024-08-05 10:02:26', co2val: '0.23' },
  165. { coval: '12.7', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.52', time: '2024-08-05 10:02:28', co2val: '0.24' },
  166. { coval: '12.7', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.52', time: '2024-08-05 10:02:30', co2val: '0.24' },
  167. { coval: '12.75', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.58', time: '2024-08-05 10:02:32', co2val: '0.22' },
  168. { coval: '12.78', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.67', time: '2024-08-05 10:02:34', co2val: '0.21' },
  169. { coval: '12.58', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.52', time: '2024-08-05 10:02:36', co2val: '0.21' },
  170. { coval: '12.8', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.57', time: '2024-08-05 10:02:38', co2val: '0.22' },
  171. { coval: '12.8', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.57', time: '2024-08-05 10:02:40', co2val: '0.22' },
  172. { coval: '12.69', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.58', time: '2024-08-05 10:02:42', co2val: '0.23' },
  173. { coval: '12.69', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.73', time: '2024-08-05 10:02:44', co2val: '0.24' },
  174. { coval: '12.57', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.66', time: '2024-08-05 10:02:46', co2val: '0.21' },
  175. { coval: '12.79', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.63', time: '2024-08-05 10:02:48', co2val: '0.23' },
  176. { coval: '12.68', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.56', time: '2024-08-05 10:02:50', co2val: '0.22' },
  177. { coval: '12.74', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.74', time: '2024-08-05 10:02:52', co2val: '0.21' },
  178. { coval: '12.77', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.74', time: '2024-08-05 10:02:54', co2val: '0.21' },
  179. { coval: '12.59', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.68', time: '2024-08-05 10:02:56', co2val: '0.21' },
  180. { coval: '12.79', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.79', time: '2024-08-05 10:02:58', co2val: '0.21' },
  181. { coval: '12.56', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.73', time: '2024-08-05 10:03:00', co2val: '0.21' },
  182. { coval: '12.68', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.73', time: '2024-08-05 10:03:02', co2val: '0.23' },
  183. { coval: '12.52', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.59', time: '2024-08-05 10:03:04', co2val: '0.2' },
  184. { coval: '12.64', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.72', time: '2024-08-05 10:03:06', co2val: '0.23' },
  185. { coval: '12.57', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.67', time: '2024-08-05 10:03:08', co2val: '0.24' },
  186. ],
  187. dayhistory: [
  188. { coval: '12.78', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.74', time: '2024-07-17 10:41:46', co2val: '0.24' },
  189. { coval: '12.51', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.63', time: '2024-07-18 00:00:00', co2val: '0.24' },
  190. { coval: '12.63', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.58', time: '2024-07-19 00:00:00', co2val: '0.23' },
  191. { coval: '12.65', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.76', time: '2024-07-20 00:00:00', co2val: '0.22' },
  192. { coval: '12.79', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.55', time: '2024-07-21 00:00:00', co2val: '0.22' },
  193. { coval: '12.71', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.69', time: '2024-07-22 00:00:00', co2val: '0.23' },
  194. { coval: '12.65', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.55', time: '2024-07-23 00:00:00', co2val: '0.21' },
  195. { coval: '12.57', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.58', time: '2024-07-24 00:00:00', co2val: '0.22' },
  196. { coval: '12.5', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.7', time: '2024-07-25 00:00:00', co2val: '0.24' },
  197. { coval: '12.72', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.62', time: '2024-07-26 00:00:00', co2val: '0.21' },
  198. { coval: '12.77', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.55', time: '2024-07-27 00:00:00', co2val: '0.23' },
  199. { coval: '12.75', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.65', time: '2024-07-28 00:00:00', co2val: '0.22' },
  200. { coval: '12.53', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.61', time: '2024-07-29 00:00:00', co2val: '0.22' },
  201. { coval: '12.79', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.59', time: '2024-07-30 00:00:00', co2val: '0.21' },
  202. { coval: '12.74', ch2val: '0.0', gasval: '0.4', chval: '0.0', o2val: '19.69', time: '2024-07-31 00:00:00', co2val: '0.2' },
  203. { coval: '12.52', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.65', time: '2024-08-01 00:00:00', co2val: '0.21' },
  204. { coval: '12.63', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.59', time: '2024-08-02 00:00:00', co2val: '0.23' },
  205. { coval: '12.77', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.69', time: '2024-08-03 00:00:00', co2val: '0.21' },
  206. { coval: '12.64', ch2val: '0.0', gasval: '0.39', chval: '0.0', o2val: '19.64', time: '2024-08-04 00:00:00', co2val: '0.21' },
  207. { coval: '12.54', ch2val: '0.0', gasval: '0.38', chval: '0.0', o2val: '19.73', time: '2024-08-05 00:00:00', co2val: '0.23' },
  208. ],
  209. totalInfo: null,
  210. sign: '0',
  211. cameras: [],
  212. links: [],
  213. other1: null,
  214. other2: null,
  215. other3: null,
  216. remarkInfo: null,
  217. linkInfo: null,
  218. addrIndex: null,
  219. warnLogNotOkCount: 0,
  220. ch2val_datainfo: {
  221. dayMaxTime: '2024-08-05 09:59:54',
  222. dayAvg: 0,
  223. dayMin: 0,
  224. dayMinTime: '2024-08-05 09:59:54',
  225. avgHour: 0,
  226. hourMinTime: '2024-08-05 09:59:54',
  227. hourNum: 85,
  228. hourMax: 0,
  229. hourAvg: 0,
  230. hourMin: 0,
  231. dayNum: 85,
  232. hourMaxTime: '2024-08-05 09:59:54',
  233. dayMax: 0,
  234. avgDay: 0,
  235. },
  236. o2val_datainfo: {
  237. dayMaxTime: '2024-08-05 10:00:04',
  238. dayAvg: 1670.6299999999999,
  239. dayMin: 19.51,
  240. dayMinTime: '2024-08-05 10:00:02',
  241. avgHour: 19,
  242. hourMinTime: '2024-08-05 10:00:02',
  243. hourNum: 85,
  244. hourMax: 19.8,
  245. hourAvg: 1670.6299999999999,
  246. hourMin: 19.51,
  247. dayNum: 85,
  248. hourMaxTime: '2024-08-05 10:00:04',
  249. dayMax: 19.8,
  250. avgDay: 19,
  251. },
  252. o2val: '19.67',
  253. gasval_datainfo: {
  254. dayMaxTime: '2024-08-05 10:00:00',
  255. dayAvg: 33.25,
  256. dayMin: 0.38,
  257. dayMinTime: '2024-08-05 09:59:54',
  258. avgHour: 0,
  259. hourMinTime: '2024-08-05 09:59:54',
  260. hourNum: 85,
  261. hourMax: 0.4,
  262. hourAvg: 33.25,
  263. hourMin: 0.38,
  264. dayNum: 85,
  265. hourMaxTime: '2024-08-05 10:00:00',
  266. dayMax: 0.4,
  267. avgDay: 0,
  268. },
  269. chval_datainfo: {
  270. dayMaxTime: '2024-08-05 09:59:54',
  271. dayAvg: 0,
  272. dayMin: 0,
  273. dayMinTime: '2024-08-05 09:59:54',
  274. avgHour: 0,
  275. hourMinTime: '2024-08-05 09:59:54',
  276. hourNum: 85,
  277. hourMax: 0,
  278. hourAvg: 0,
  279. hourMin: 0,
  280. dayNum: 85,
  281. hourMaxTime: '2024-08-05 09:59:54',
  282. dayMax: 0,
  283. avgDay: 0,
  284. },
  285. coval_datainfo: {
  286. dayMaxTime: '2024-08-05 10:02:36',
  287. dayAvg: 1075.0000000000007,
  288. dayMin: 12.5,
  289. dayMinTime: '2024-08-05 10:00:10',
  290. avgHour: 12,
  291. hourMinTime: '2024-08-05 10:00:10',
  292. hourNum: 85,
  293. hourMax: 12.8,
  294. hourAvg: 1075.0000000000007,
  295. hourMin: 12.5,
  296. dayNum: 85,
  297. hourMaxTime: '2024-08-05 10:02:36',
  298. dayMax: 12.8,
  299. avgDay: 12,
  300. },
  301. co2val_datainfo: {
  302. dayMaxTime: '2024-08-05 10:00:08',
  303. dayAvg: 18.74000000000002,
  304. dayMin: 0.2,
  305. dayMinTime: '2024-08-05 09:59:54',
  306. avgHour: 0,
  307. hourMinTime: '2024-08-05 09:59:54',
  308. hourNum: 85,
  309. hourMax: 0.24,
  310. hourAvg: 18.74000000000002,
  311. hourMin: 0.2,
  312. dayNum: 85,
  313. hourMaxTime: '2024-08-05 10:00:08',
  314. dayMax: 0.24,
  315. avgDay: 0,
  316. },
  317. deviceStatus: '1',
  318. coval: '12.57',
  319. ch2val: '0.0',
  320. btTriBlast: '{"G_y":10.52,"G_x":0,"F_y":0,"A_x":5.01,"B_x":15.04,"A_y":19.93,"B_y":17.82,"E_y":9.9953,"F_x":9.57,"E_x":5.01}',
  321. gasval: '0.4',
  322. chval: '0.0',
  323. isRun: '-2',
  324. co2val: '0.24',
  325. };
  326. export const testConfigA: Config[] = [
  327. // {
  328. // deviceType: 'fanlocal',
  329. // moduleName: 'fanlocal-左上',
  330. // pageType: '',
  331. // moduleData: {
  332. // header: {
  333. // show: true,
  334. // showSelector: true,
  335. // showSlot: true,
  336. // selector: {
  337. // value: '${strinstallpos}',
  338. // },
  339. // slot: {
  340. // value: '${strinstallpos}',
  341. // },
  342. // },
  343. // background: {
  344. // show: true,
  345. // type: 'video',
  346. // link: '/src/assets/vedio/fanLocal.mp4',
  347. // },
  348. // layout: ['board'],
  349. // board: [
  350. // {
  351. // type: 'A',
  352. // layout: 'val-top',
  353. // items: [
  354. // {
  355. // value: '${readData}.windSpeed1',
  356. // label: '风速1',
  357. // },
  358. // {
  359. // label: '风速2',
  360. // value: '${readData}.windSpeed2',
  361. // },
  362. // ],
  363. // },
  364. // ],
  365. // list: [],
  366. // chart: [],
  367. // table: [],
  368. // gallery: [],
  369. // preset: [],
  370. // },
  371. // showStyle: {
  372. // size: '标准尺寸(450*280)',
  373. // version: 'enhanced',
  374. // position: '左上',
  375. // },
  376. // },
  377. // {
  378. // deviceType: 'fanmain',
  379. // moduleName: 'fanmain-左中',
  380. // pageType: '',
  381. // moduleData: {
  382. // header: {
  383. // show: true,
  384. // showSelector: true,
  385. // showSlot: true,
  386. // selector: {
  387. // value: '${strinstallpos}',
  388. // },
  389. // slot: {
  390. // value: '${strinstallpos}',
  391. // },
  392. // },
  393. // background: {
  394. // show: false,
  395. // type: 'video',
  396. // link: '',
  397. // },
  398. // layout: ['chart'],
  399. // board: [],
  400. // list: [],
  401. // chart: [
  402. // {
  403. // type: 'line_area',
  404. // readFrom: 'majorpath.paths',
  405. // xAxis: [{ value: '${name}' }],
  406. // yAxis: [
  407. // { label: 'Drag', align: 'left' },
  408. // { label: 'M3', align: 'right' },
  409. // ],
  410. // series: [
  411. // { label: 'Drag', value: '${drag}' },
  412. // { label: 'M3', value: '${m3}' },
  413. // // { label: '回2', value: '${hui2}' },
  414. // ],
  415. // },
  416. // ],
  417. // gallery: [],
  418. // table: [],
  419. // preset: [],
  420. // },
  421. // showStyle: {
  422. // size: '标准尺寸(450*280)',
  423. // version: 'enhanced',
  424. // position: '左中',
  425. // },
  426. // },
  427. {
  428. deviceType: 'dust',
  429. moduleName: '工作面监测',
  430. pageType: '',
  431. moduleData: {
  432. header: {
  433. show: false,
  434. showSelector: false,
  435. showSlot: false,
  436. selector: {
  437. value: '${name}',
  438. },
  439. slot: {
  440. value: '网络异常:${netstatus.val} 台',
  441. },
  442. },
  443. background: {
  444. show: false,
  445. type: 'video',
  446. link: '',
  447. },
  448. // layout: ['table'],
  449. // layout: ['list'],
  450. // layout: ['board'],
  451. // layout: ['complex_list'],
  452. layout: ['chart'],
  453. // layout: ['gallery'],
  454. board: [
  455. {
  456. type: 'E',
  457. layout: 'label-top',
  458. readFrom: '',
  459. items: [
  460. {
  461. label: '火焰长度(mm)',
  462. value: '>${flameLength}',
  463. },
  464. {
  465. label: '抑制煤层爆炸最低岩粉量(%)',
  466. value: '${minDust}',
  467. },
  468. {
  469. label: '鉴定结论',
  470. value: '${conclution}',
  471. },
  472. ],
  473. },
  474. ],
  475. chart: [
  476. {
  477. type: 'line_bar',
  478. readFrom: 'dust',
  479. xAxis: [{ label: '${name}' }],
  480. yAxis: [
  481. { label: 'minDust', align: 'left' },
  482. { label: 'flameLength', align: 'right' },
  483. ],
  484. series: [
  485. { label: 'minDust', prop: 'minDust' },
  486. { label: 'flameLength', prop: 'flameLength' },
  487. ],
  488. },
  489. ],
  490. gallery: [
  491. {
  492. type: 'G',
  493. readFrom: 'dust',
  494. items: [
  495. {
  496. label: '${[0].conclution}',
  497. value: '${[0].minDust}',
  498. color: 'blue',
  499. },
  500. {
  501. label: '${[1].conclution}',
  502. value: '${[1].minDust}',
  503. color: 'blue',
  504. },
  505. {
  506. label: '${[0].conclution}',
  507. value: '${[0].minDust}',
  508. color: 'blue',
  509. },
  510. {
  511. label: '${[1].conclution}',
  512. value: '${[1].minDust}',
  513. color: 'blue',
  514. },
  515. {
  516. label: '${[2].conclution}',
  517. value: '${[2].minDust}',
  518. color: 'blue',
  519. },
  520. {
  521. label: '${[1].conclution}',
  522. value: '${[1].minDust}',
  523. color: 'blue',
  524. },
  525. {
  526. label: '${[2].conclution}',
  527. value: '${[2].minDust}',
  528. color: 'blue',
  529. },
  530. ],
  531. },
  532. ],
  533. gallery_list: [],
  534. table: [
  535. {
  536. type: 'C',
  537. readFrom: 'dust',
  538. columns: [
  539. {
  540. name: '类别',
  541. prop: 'name',
  542. },
  543. {
  544. name: '长度',
  545. prop: 'flameLength',
  546. },
  547. {
  548. name: '结论',
  549. prop: 'conclution',
  550. },
  551. {
  552. name: '岩粉量',
  553. prop: 'minDust',
  554. },
  555. ],
  556. },
  557. ],
  558. list: [
  559. {
  560. type: 'F',
  561. readFrom: 'worksurface',
  562. items: [
  563. {
  564. label: '${[0].name}',
  565. value: '${[0]}',
  566. color: 'white',
  567. info: 'AInfo',
  568. },
  569. {
  570. label: 'B',
  571. value: '${b}',
  572. color: 'white',
  573. info: 'AInfo',
  574. },
  575. {
  576. label: 'C',
  577. value: '${c}',
  578. color: 'white',
  579. info: 'AInfo',
  580. },
  581. ],
  582. },
  583. ],
  584. complex_list: [
  585. {
  586. type: 'A',
  587. readFrom: 'worksurface',
  588. items: [
  589. {
  590. title: 'CO',
  591. contents: [
  592. {
  593. label: '风险监测',
  594. value: '${[0].risk}',
  595. color: 'blue',
  596. info: '',
  597. },
  598. {
  599. label: '温度最大值',
  600. value: '${[0].max}℃',
  601. color: 'blue',
  602. info: '',
  603. },
  604. {
  605. label: '气体异常值',
  606. value: '${[0].gas}',
  607. color: 'blue',
  608. info: '',
  609. },
  610. {
  611. label: '预测风险区域',
  612. value: '${[0].prediction}',
  613. color: 'white',
  614. info: '',
  615. },
  616. ],
  617. },
  618. {
  619. title: '甲烷',
  620. contents: [
  621. {
  622. label: '风险监测',
  623. value: '${[1].risk}',
  624. color: 'blue',
  625. info: '',
  626. },
  627. {
  628. label: '温度最大值',
  629. value: '${[1].max}℃',
  630. color: 'blue',
  631. info: '',
  632. },
  633. {
  634. label: '气体异常值',
  635. value: '${[1].gas}',
  636. color: 'blue',
  637. info: '',
  638. },
  639. {
  640. label: '预测风险区域',
  641. value: '${[1].prediction}',
  642. color: 'white',
  643. info: '',
  644. },
  645. ],
  646. },
  647. {
  648. title: 'CH',
  649. contents: [
  650. {
  651. label: '风险监测',
  652. value: '${[2].risk}',
  653. color: 'blue',
  654. info: '',
  655. },
  656. {
  657. label: '温度最大值',
  658. value: '${[2].max}℃',
  659. color: 'blue',
  660. info: '',
  661. },
  662. {
  663. label: '气体异常值',
  664. value: '${[2].gas}',
  665. color: 'blue',
  666. info: '',
  667. },
  668. {
  669. label: '预测风险区域',
  670. value: '${[2].prediction}',
  671. color: 'white',
  672. info: '',
  673. },
  674. ],
  675. },
  676. ],
  677. },
  678. ],
  679. preset: [],
  680. to: 'https://baidu.com',
  681. mock: {
  682. worksurface: [
  683. {
  684. name: '综采工作面1',
  685. max: '6',
  686. risk: '低',
  687. gas: '0',
  688. prediction: '暂无捏',
  689. },
  690. {
  691. name: '综采工作面1',
  692. max: '6',
  693. risk: '低',
  694. gas: '0',
  695. prediction: '暂无捏',
  696. },
  697. {
  698. name: '综采工作面1',
  699. max: '6',
  700. risk: '低',
  701. gas: '0',
  702. prediction: '暂无捏',
  703. },
  704. ],
  705. dust: [
  706. {
  707. name: '10#煤层',
  708. flameLength: '400',
  709. minDust: '75',
  710. conclution: '有爆炸性',
  711. },
  712. {
  713. name: '10#煤层',
  714. flameLength: '400',
  715. minDust: '75',
  716. conclution: '有爆炸性',
  717. },
  718. {
  719. name: '10#煤层',
  720. flameLength: '400',
  721. minDust: '75',
  722. conclution: '有爆炸性',
  723. },
  724. {
  725. name: '10#煤层',
  726. flameLength: '400',
  727. minDust: '75',
  728. conclution: '有爆炸性',
  729. },
  730. ],
  731. },
  732. },
  733. showStyle: {
  734. size: 'width:450px;height:280px;',
  735. version: '保德',
  736. // version: '原版',
  737. // version: '新版',
  738. // version: '普通版',
  739. position: 'top:640px;left:0;',
  740. },
  741. },
  742. // {
  743. // deviceType: 'warn',
  744. // moduleName: '采空区火情综合预警',
  745. // pageType: '',
  746. // moduleData: {
  747. // header: {
  748. // show: false,
  749. // showSelector: false,
  750. // showSlot: true,
  751. // selector: {
  752. // value: '${strinstallpos}',
  753. // },
  754. // slot: {
  755. // value: '网络异常:${netstatus.val} 台',
  756. // },
  757. // },
  758. // background: {
  759. // show: false,
  760. // type: 'video',
  761. // link: '',
  762. // },
  763. // layout: ['list', 'list'],
  764. // // layout: ['list'],
  765. // board: [],
  766. // chart: [],
  767. // gallery: [],
  768. // table: [],
  769. // list: [
  770. // {
  771. // type: 'B',
  772. // readFrom: '',
  773. // items: [
  774. // {
  775. // label: '堵塞状态',
  776. // value: '${fsectarea}',
  777. // color: 'yellow',
  778. // info: '',
  779. // },
  780. // {
  781. // label: '甲烷浓度',
  782. // value: '${stationname}',
  783. // color: 'yellow',
  784. // info: '',
  785. // },
  786. // ],
  787. // },
  788. // {
  789. // type: 'B',
  790. // readFrom: '',
  791. // items: [
  792. // {
  793. // label: '堵塞状态',
  794. // value: '${fsectarea}',
  795. // color: 'yellow',
  796. // info: '',
  797. // },
  798. // {
  799. // label: '甲烷浓度',
  800. // value: '${stationname}',
  801. // color: 'yellow',
  802. // info: '',
  803. // },
  804. // ],
  805. // },
  806. // ],
  807. // complex_list: [
  808. // {
  809. // type: 'A',
  810. // readFrom: '',
  811. // items: [
  812. // {
  813. // label: '火情状态',
  814. // value: '${fsectarea}',
  815. // color: 'yellow',
  816. // info: '',
  817. // },
  818. // {
  819. // label: '回采位置',
  820. // value: '${stationname}',
  821. // color: 'white',
  822. // info: '',
  823. // },
  824. // {
  825. // label: '硐室火情',
  826. // value: '${stationtype}',
  827. // color: 'blue',
  828. // info: '',
  829. // },
  830. // {
  831. // label: '联动设备状态',
  832. // value: '${typeName}',
  833. // color: 'blue',
  834. // info: '',
  835. // },
  836. // ],
  837. // galleryItems: [
  838. // {
  839. // value: '低风险',
  840. // label: '',
  841. // color: 'white',
  842. // },
  843. // {
  844. // value: '${CO}',
  845. // label: '',
  846. // color: 'white',
  847. // },
  848. // ],
  849. // },
  850. // ],
  851. // preset: [],
  852. // to: 'https://baidu.com',
  853. // },
  854. // showStyle: {
  855. // size: 'width:450px;height:280px;',
  856. // version: '保德',
  857. // // version: '原版',
  858. // // version: '新版',
  859. // // version: '普通版',
  860. // position: 'top:640px;left:0;',
  861. // },
  862. // },
  863. {
  864. deviceType: 'midinfo',
  865. moduleName: 'midinfo-中间',
  866. pageType: '',
  867. moduleData: {
  868. header: {
  869. show: false,
  870. showSelector: false,
  871. showSlot: false,
  872. selector: {
  873. value: '${strinstallpos}',
  874. },
  875. slot: {
  876. value: '${strinstallpos}',
  877. },
  878. },
  879. background: {
  880. show: false,
  881. type: 'video',
  882. link: '',
  883. },
  884. layout: ['chart'],
  885. board: [],
  886. list: [],
  887. table: [],
  888. preset: [],
  889. gallery: [],
  890. complex_list: [],
  891. gallery_list: [],
  892. chart: [
  893. {
  894. type: 'bar',
  895. readFrom: 'sysdata.history',
  896. xAxis: [{ label: '${time}' }],
  897. yAxis: [
  898. { label: '回1', align: 'left' },
  899. // { label: '回2', align: 'right' },
  900. ],
  901. series: [
  902. { label: '回1', prop: 'hui1' },
  903. // { label: '回2', value: '${hui2}' },
  904. ],
  905. },
  906. ],
  907. },
  908. showStyle: {
  909. size: 'width:1000px;height:280px;',
  910. version: '新版',
  911. position: 'top:640px;left:460px;',
  912. },
  913. },
  914. {
  915. deviceType: 'sys_wind',
  916. moduleName: 'blast_delta-右上预设类',
  917. pageType: '',
  918. moduleData: {
  919. header: {
  920. show: false,
  921. showSelector: true,
  922. showSlot: false,
  923. selector: {
  924. value: '${strinstallpos}',
  925. },
  926. slot: {
  927. value: '${strinstallpos}',
  928. },
  929. },
  930. background: {
  931. show: false,
  932. type: 'video',
  933. link: '',
  934. },
  935. layout: ['list', 'list'],
  936. // layout: ['blast_delta'],
  937. board: [],
  938. complex_list: [],
  939. gallery: [],
  940. list: [
  941. {
  942. type: 'D',
  943. readFrom: 'sys_wind[0]',
  944. items: [
  945. {
  946. label: '面积',
  947. value: '${fsectarea}',
  948. color: 'blue',
  949. info: '',
  950. },
  951. {
  952. label: '分站名称',
  953. value: '${stationname}',
  954. color: 'blue',
  955. info: '',
  956. },
  957. {
  958. label: '分站类别',
  959. value: '${stationtype}',
  960. color: 'blue',
  961. info: '',
  962. },
  963. {
  964. label: '分类',
  965. value: '${typeName}',
  966. color: 'blue',
  967. info: '',
  968. },
  969. {
  970. label: '告警标识',
  971. value: '${warnFlag}',
  972. color: 'blue',
  973. info: '',
  974. },
  975. {
  976. label: '告警等级',
  977. value: '${warnLevel}',
  978. color: 'blue',
  979. info: '',
  980. },
  981. {
  982. label: '告警描述',
  983. value: '${warnLevel_str}',
  984. color: 'blue',
  985. info: '',
  986. },
  987. {
  988. label: '错误记录',
  989. value: '${warnLogNotOkCount}',
  990. color: 'blue',
  991. info: '',
  992. },
  993. ],
  994. },
  995. {
  996. type: 'E',
  997. readFrom: 'sys_wind[0]',
  998. items: [
  999. {
  1000. label: '面积',
  1001. value: '${fsectarea}',
  1002. color: 'blue',
  1003. info: '',
  1004. },
  1005. {
  1006. label: '分站名称',
  1007. value: '${stationname}',
  1008. color: 'blue',
  1009. info: '',
  1010. },
  1011. {
  1012. label: '分站类别',
  1013. value: '${stationtype}',
  1014. color: 'blue',
  1015. info: '',
  1016. },
  1017. {
  1018. label: '分类',
  1019. value: '${typeName}',
  1020. color: 'blue',
  1021. info: '',
  1022. },
  1023. ],
  1024. },
  1025. ],
  1026. table: [],
  1027. chart: [],
  1028. gallery_list: [],
  1029. preset: [
  1030. {
  1031. readFrom: '',
  1032. },
  1033. ],
  1034. },
  1035. showStyle: {
  1036. size: 'width:450px;height:280px;',
  1037. version: '新版',
  1038. position: 'top:350px;left:0;',
  1039. // position: 'top:60px;right:0;',
  1040. },
  1041. },
  1042. // {
  1043. // deviceType: 'sys_majorpath',
  1044. // moduleName: 'unknown-右中',
  1045. // pageType: '',
  1046. // moduleData: {
  1047. // header: {
  1048. // show: false,
  1049. // showSelector: true,
  1050. // showSlot: true,
  1051. // selector: {
  1052. // value: '${devicePos}',
  1053. // },
  1054. // slot: {
  1055. // value: '${devicePos}',
  1056. // },
  1057. // },
  1058. // background: {
  1059. // show: false,
  1060. // type: 'video',
  1061. // link: '',
  1062. // },
  1063. // layout: ['table'],
  1064. // board: [],
  1065. // list: [],
  1066. // preset: [],
  1067. // table: [
  1068. // {
  1069. // type: 'A',
  1070. // readFrom: 'history',
  1071. // columns: [
  1072. // {
  1073. // value: '${index}',
  1074. // label: '编号',
  1075. // },
  1076. // {
  1077. // value: '${time}',
  1078. // label: '报警时间',
  1079. // },
  1080. // {
  1081. // value: '${warn}',
  1082. // label: '报警内容',
  1083. // },
  1084. // ],
  1085. // },
  1086. // ],
  1087. // chart: [],
  1088. // },
  1089. // showStyle: {
  1090. // size: '标准尺寸(450*280)',
  1091. // version: 'enhanced',
  1092. // position: '右中',
  1093. // },
  1094. // },
  1095. // {
  1096. // deviceType: 'sys_majorpath',
  1097. // moduleName: 'fire_control-右下预设类',
  1098. // pageType: '',
  1099. // moduleData: {
  1100. // header: {
  1101. // show: false,
  1102. // showSelector: true,
  1103. // showSlot: true,
  1104. // selector: {
  1105. // value: '${devicePos}',
  1106. // },
  1107. // slot: {
  1108. // value: '${devicePos}',
  1109. // },
  1110. // },
  1111. // background: {
  1112. // show: false,
  1113. // type: 'video',
  1114. // link: '',
  1115. // },
  1116. // layout: ['fire_control'],
  1117. // board: [],
  1118. // list: [],
  1119. // table: [],
  1120. // chart: [],
  1121. // preset: [{}],
  1122. // },
  1123. // showStyle: {
  1124. // size: '标准尺寸(450*280)',
  1125. // version: 'enhanced',
  1126. // position: '右下',
  1127. // },
  1128. // },
  1129. // {
  1130. // deviceType: 'sys_majorpath',
  1131. // moduleName: 'unknown-右中',
  1132. // pageType: '',
  1133. // moduleData: {
  1134. // header: {
  1135. // show: true,
  1136. // showSelector: true,
  1137. // showSlot: true,
  1138. // selector: {
  1139. // value: '${devicePos}',
  1140. // },
  1141. // slot: {
  1142. // value: '${devicePos}',
  1143. // },
  1144. // },
  1145. // background: {
  1146. // show: false,
  1147. // type: 'video',
  1148. // link: '',
  1149. // },
  1150. // layout: ['table'],
  1151. // board: [],
  1152. // list: [],
  1153. // preset: [],
  1154. // gallery: [],
  1155. // complex_list: [],
  1156. // table: [
  1157. // {
  1158. // type: 'B',
  1159. // readFrom: 'history',
  1160. // columns: [
  1161. // {
  1162. // value: '${cate}',
  1163. // label: '类别',
  1164. // },
  1165. // {
  1166. // value: '${temp}',
  1167. // label: '温度',
  1168. // },
  1169. // {
  1170. // value: '${wspd}',
  1171. // label: '风速',
  1172. // },
  1173. // {
  1174. // value: '${spst}',
  1175. // label: '喷雾状态',
  1176. // },
  1177. // ],
  1178. // },
  1179. // ],
  1180. // chart: [],
  1181. // },
  1182. // showStyle: {
  1183. // size: 'width:450px;height:280px;',
  1184. // version: '新版',
  1185. // position: 'top:350px;right:0;',
  1186. // },
  1187. // },
  1188. {
  1189. deviceType: 'sys_majorpath',
  1190. moduleName: '重点区域实时火情',
  1191. pageType: '',
  1192. moduleData: {
  1193. header: {
  1194. show: false,
  1195. showSelector: true,
  1196. showSlot: true,
  1197. selector: {
  1198. value: '${devicePos}',
  1199. },
  1200. slot: {
  1201. value: '${devicePos}',
  1202. },
  1203. },
  1204. background: {
  1205. show: false,
  1206. type: 'video',
  1207. link: '',
  1208. },
  1209. layout: ['gallery_list', 'blast_delta', 'list'],
  1210. board: [],
  1211. gallery: [],
  1212. list: [
  1213. {
  1214. type: 'E',
  1215. readFrom: '',
  1216. items: [
  1217. {
  1218. label: '火情状态',
  1219. value: '${fsectarea}',
  1220. color: 'yellow',
  1221. info: '',
  1222. },
  1223. {
  1224. label: '回采位置',
  1225. value: '${stationname}',
  1226. color: 'white',
  1227. info: '',
  1228. },
  1229. {
  1230. label: '硐室火情',
  1231. value: '${stationtype}',
  1232. color: 'blue',
  1233. info: '',
  1234. },
  1235. {
  1236. label: '联动设备状态',
  1237. value: '${typeName}',
  1238. color: 'blue',
  1239. info: '',
  1240. },
  1241. {
  1242. label: '火情状态',
  1243. value: '${fsectarea}',
  1244. color: 'yellow',
  1245. info: '',
  1246. },
  1247. {
  1248. label: '回采位置',
  1249. value: '${stationname}',
  1250. color: 'white',
  1251. info: '',
  1252. },
  1253. {
  1254. label: '硐室火情',
  1255. value: '${stationtype}',
  1256. color: 'blue',
  1257. info: '',
  1258. },
  1259. {
  1260. label: '联动设备状态',
  1261. value: '${typeName}',
  1262. color: 'blue',
  1263. info: '',
  1264. },
  1265. // {
  1266. // label: '火情状态',
  1267. // value: '${fsectarea}',
  1268. // color: 'yellow',
  1269. // info: '',
  1270. // },
  1271. // {
  1272. // label: '回采位置',
  1273. // value: '${stationname}',
  1274. // color: 'white',
  1275. // info: '',
  1276. // },
  1277. // {
  1278. // label: '硐室火情',
  1279. // value: '${stationtype}',
  1280. // color: 'blue',
  1281. // info: '',
  1282. // },
  1283. // {
  1284. // label: '联动设备状态',
  1285. // value: '${typeName}',
  1286. // color: 'blue',
  1287. // info: '',
  1288. // },
  1289. ],
  1290. },
  1291. ],
  1292. table: [],
  1293. chart: [],
  1294. preset: [
  1295. {
  1296. readFrom: 'bd',
  1297. mock: posMonitorData,
  1298. },
  1299. ],
  1300. complex_list: [],
  1301. gallery_list: [
  1302. {
  1303. type: 'B',
  1304. readFrom: '',
  1305. items: [
  1306. {
  1307. label: '火情状态',
  1308. value: '${fsectarea}',
  1309. color: 'yellow',
  1310. info: '',
  1311. },
  1312. {
  1313. label: '回采位置',
  1314. value: '${stationname}',
  1315. color: 'white',
  1316. info: '',
  1317. },
  1318. {
  1319. label: '硐室火情',
  1320. value: '${stationtype}',
  1321. color: 'blue',
  1322. info: '',
  1323. },
  1324. {
  1325. label: '联动设备状态',
  1326. value: '${typeName}',
  1327. color: 'blue',
  1328. info: '',
  1329. },
  1330. ],
  1331. galleryItems: [
  1332. {
  1333. value: '低风险',
  1334. label: '风险等级',
  1335. color: 'white',
  1336. },
  1337. ],
  1338. },
  1339. ],
  1340. },
  1341. showStyle: {
  1342. size: 'width:450px;height:570px;',
  1343. version: '新版',
  1344. position: 'top:350px;right:0;',
  1345. },
  1346. },
  1347. ];
  1348. const BDdustMock = {
  1349. // 工作面风险监测
  1350. worksurface: {
  1351. risk: [
  1352. {
  1353. name: '低风险',
  1354. count: 3,
  1355. },
  1356. {
  1357. name: '一般风险',
  1358. count: 0,
  1359. },
  1360. {
  1361. name: '较大风险',
  1362. count: 0,
  1363. },
  1364. {
  1365. name: '重大风险',
  1366. count: 2,
  1367. },
  1368. ],
  1369. count: 5,
  1370. contents: [
  1371. {
  1372. risk: '低',
  1373. name: '81202综放工作面',
  1374. tmax: '30',
  1375. },
  1376. {
  1377. risk: '低',
  1378. name: '81205主运掘进面',
  1379. tmax: '30',
  1380. },
  1381. {
  1382. risk: '低',
  1383. name: '81202综放工作面',
  1384. tmax: '30',
  1385. },
  1386. {
  1387. risk: '低',
  1388. name: '81205主运掘进面',
  1389. tmax: '30',
  1390. },
  1391. {
  1392. risk: '低',
  1393. name: '81202综放工作面',
  1394. tmax: '30',
  1395. },
  1396. ],
  1397. },
  1398. // 粉尘浓度
  1399. dust: [
  1400. {
  1401. name: '82101综放',
  1402. deviceID: '82101',
  1403. history: [
  1404. {
  1405. val: '40',
  1406. },
  1407. {
  1408. val: '30',
  1409. },
  1410. {
  1411. val: '40',
  1412. },
  1413. {
  1414. val: '50',
  1415. },
  1416. {
  1417. val: '20',
  1418. },
  1419. {
  1420. val: '30',
  1421. },
  1422. {
  1423. val: '50',
  1424. },
  1425. ],
  1426. },
  1427. ],
  1428. // 降尘装置
  1429. jczz: {
  1430. devicetotal: '10',
  1431. forgetotal: '10',
  1432. onlinetotal: '24',
  1433. offlinetotal: '0',
  1434. },
  1435. // 粉尘关联指标
  1436. glzb: [
  1437. {
  1438. pos: '81202综采工作面隅角',
  1439. temp: '20',
  1440. ws: '1.8',
  1441. status: '打开',
  1442. },
  1443. {
  1444. pos: '81202综采工作面隅角',
  1445. temp: '20',
  1446. ws: '1.8',
  1447. status: '打开',
  1448. },
  1449. {
  1450. pos: '81202综采工作面隅角',
  1451. temp: '20',
  1452. ws: '1.8',
  1453. status: '打开',
  1454. },
  1455. {
  1456. pos: '81202综采工作面隅角',
  1457. temp: '20',
  1458. ws: '1.8',
  1459. status: '打开',
  1460. },
  1461. ],
  1462. // 静态指标
  1463. statics: [
  1464. {
  1465. name: '10#煤层',
  1466. flameLength: '400',
  1467. min: '75',
  1468. con: '有爆炸性',
  1469. deviceID: '1',
  1470. },
  1471. ],
  1472. };
  1473. export const testConfigBDDust: Config[] = [
  1474. {
  1475. deviceType: '',
  1476. moduleName: '工作面风险监测',
  1477. pageType: '',
  1478. moduleData: {
  1479. header: {
  1480. show: false,
  1481. showSelector: false,
  1482. showSlot: false,
  1483. selector: {
  1484. value: '',
  1485. },
  1486. slot: {
  1487. value: '',
  1488. },
  1489. },
  1490. background: {
  1491. show: false,
  1492. type: 'video',
  1493. link: '',
  1494. },
  1495. layout: ['gallery', 'complex_list'],
  1496. board: [],
  1497. chart: [],
  1498. gallery: [
  1499. {
  1500. type: 'F',
  1501. readFrom: 'worksurface',
  1502. items: [
  1503. {
  1504. label: '',
  1505. value: '${count}',
  1506. color: 'blue',
  1507. },
  1508. {
  1509. label: '${risk[0].name}',
  1510. value: '${risk[0].count}',
  1511. color: 'blue',
  1512. },
  1513. {
  1514. label: '${risk[1].name}',
  1515. value: '${risk[1].count}',
  1516. color: 'blue',
  1517. },
  1518. {
  1519. label: '${risk[2].name}',
  1520. value: '${risk[2].count}',
  1521. color: 'blue',
  1522. },
  1523. {
  1524. label: '${risk[3].name}',
  1525. value: '${risk[3].count}',
  1526. color: 'blue',
  1527. },
  1528. ],
  1529. },
  1530. ],
  1531. gallery_list: [],
  1532. table: [],
  1533. list: [],
  1534. complex_list: [
  1535. {
  1536. type: 'A',
  1537. readFrom: 'worksurface.contents',
  1538. items: [
  1539. {
  1540. title: '${[0].name}',
  1541. contents: [
  1542. {
  1543. label: '风险监测',
  1544. value: '${[0].risk}',
  1545. color: 'blue',
  1546. info: '',
  1547. },
  1548. {
  1549. label: '温度最大值',
  1550. value: '${[0].tmax}℃',
  1551. color: 'blue',
  1552. info: '',
  1553. },
  1554. ],
  1555. },
  1556. {
  1557. title: '${[1].name}',
  1558. contents: [
  1559. {
  1560. label: '风险监测',
  1561. value: '${[1].risk}',
  1562. color: 'blue',
  1563. info: '',
  1564. },
  1565. {
  1566. label: '温度最大值',
  1567. value: '${[1].tmax}℃',
  1568. color: 'blue',
  1569. info: '',
  1570. },
  1571. ],
  1572. },
  1573. {
  1574. title: '${[2].name}',
  1575. contents: [
  1576. {
  1577. label: '风险监测',
  1578. value: '${[2].risk}',
  1579. color: 'blue',
  1580. info: '',
  1581. },
  1582. {
  1583. label: '温度最大值',
  1584. value: '${[2].tmax}℃',
  1585. color: 'blue',
  1586. info: '',
  1587. },
  1588. ],
  1589. },
  1590. {
  1591. title: '${[3].name}',
  1592. contents: [
  1593. {
  1594. label: '风险监测',
  1595. value: '${[3].risk}',
  1596. color: 'blue',
  1597. info: '',
  1598. },
  1599. {
  1600. label: '温度最大值',
  1601. value: '${[3].tmax}℃',
  1602. color: 'blue',
  1603. info: '',
  1604. },
  1605. ],
  1606. },
  1607. ],
  1608. },
  1609. ],
  1610. preset: [],
  1611. mock: BDdustMock,
  1612. },
  1613. showStyle: {
  1614. size: 'width:450px;height:760px;',
  1615. version: '保德',
  1616. position: 'top:160px;left:0;',
  1617. },
  1618. },
  1619. {
  1620. deviceType: 'dust',
  1621. moduleName: '综放工作面粉尘浓度',
  1622. pageType: '',
  1623. moduleData: {
  1624. header: {
  1625. show: true,
  1626. showSelector: true,
  1627. showSlot: false,
  1628. selector: {
  1629. value: '${name}',
  1630. },
  1631. slot: {
  1632. value: '',
  1633. },
  1634. },
  1635. background: {
  1636. show: false,
  1637. type: 'video',
  1638. link: '',
  1639. },
  1640. layout: ['chart'],
  1641. board: [],
  1642. chart: [
  1643. {
  1644. type: 'line_area',
  1645. readFrom: 'history',
  1646. xAxis: [
  1647. {
  1648. label: 'null',
  1649. },
  1650. ],
  1651. yAxis: [
  1652. {
  1653. label: 'A',
  1654. align: 'left',
  1655. },
  1656. ],
  1657. series: [
  1658. {
  1659. label: 'A',
  1660. prop: 'val',
  1661. },
  1662. ],
  1663. },
  1664. ],
  1665. gallery: [],
  1666. gallery_list: [],
  1667. table: [],
  1668. list: [],
  1669. complex_list: [],
  1670. preset: [],
  1671. mock: BDdustMock,
  1672. },
  1673. showStyle: {
  1674. size: 'width:1000px;height:280px;',
  1675. version: '保德',
  1676. position: 'top:640px;left:460px',
  1677. },
  1678. },
  1679. {
  1680. deviceType: '',
  1681. moduleName: '智能喷雾降尘装置',
  1682. pageType: '',
  1683. moduleData: {
  1684. header: {
  1685. show: false,
  1686. showSelector: false,
  1687. showSlot: false,
  1688. selector: {
  1689. value: '',
  1690. },
  1691. slot: {
  1692. value: '',
  1693. },
  1694. },
  1695. background: {
  1696. show: false,
  1697. type: 'video',
  1698. link: '',
  1699. },
  1700. layout: ['gallery'],
  1701. board: [],
  1702. chart: [],
  1703. gallery: [
  1704. {
  1705. type: 'E',
  1706. readFrom: 'jczz',
  1707. items: [
  1708. {
  1709. label: '设备总数',
  1710. value: '${devicetotal}',
  1711. color: 'blue',
  1712. },
  1713. {
  1714. label: '喷雾开启数',
  1715. value: '${forgetotal}',
  1716. color: 'blue',
  1717. },
  1718. {
  1719. label: '连网数量',
  1720. value: '${onlinetotal}',
  1721. color: 'blue',
  1722. },
  1723. {
  1724. label: '断网数量',
  1725. value: '${offlinetotal}',
  1726. color: 'blue',
  1727. },
  1728. ],
  1729. },
  1730. ],
  1731. gallery_list: [],
  1732. table: [],
  1733. list: [],
  1734. complex_list: [],
  1735. preset: [],
  1736. mock: BDdustMock,
  1737. },
  1738. showStyle: {
  1739. size: 'width:450px;height:280px;',
  1740. version: '保德',
  1741. position: 'top:60px;right:0;',
  1742. },
  1743. },
  1744. {
  1745. deviceType: '',
  1746. moduleName: '粉尘关联指标',
  1747. pageType: '',
  1748. moduleData: {
  1749. header: {
  1750. show: false,
  1751. showSelector: false,
  1752. showSlot: false,
  1753. selector: {
  1754. value: '',
  1755. },
  1756. slot: {
  1757. value: '',
  1758. },
  1759. },
  1760. background: {
  1761. show: false,
  1762. type: 'video',
  1763. link: '',
  1764. },
  1765. layout: ['table'],
  1766. board: [],
  1767. chart: [],
  1768. gallery: [],
  1769. gallery_list: [],
  1770. table: [
  1771. {
  1772. type: 'C',
  1773. readFrom: 'glzb',
  1774. columns: [
  1775. {
  1776. name: '类别',
  1777. prop: 'pos',
  1778. },
  1779. {
  1780. name: '温度',
  1781. prop: 'temp',
  1782. },
  1783. {
  1784. name: '风速',
  1785. prop: 'ws',
  1786. },
  1787. {
  1788. name: '状态',
  1789. prop: 'status',
  1790. },
  1791. ],
  1792. },
  1793. ],
  1794. list: [],
  1795. complex_list: [],
  1796. preset: [],
  1797. mock: BDdustMock,
  1798. },
  1799. showStyle: {
  1800. size: 'width:450px;height:280px;',
  1801. version: '保德',
  1802. position: 'top:350px;right:0;',
  1803. },
  1804. },
  1805. {
  1806. deviceType: 'statics',
  1807. moduleName: '粉尘静态指标',
  1808. pageType: '',
  1809. moduleData: {
  1810. header: {
  1811. show: true,
  1812. showSelector: true,
  1813. showSlot: false,
  1814. selector: {
  1815. value: '${name}',
  1816. },
  1817. slot: {
  1818. value: '',
  1819. },
  1820. },
  1821. background: {
  1822. show: false,
  1823. type: 'video',
  1824. link: '',
  1825. },
  1826. layout: ['board'],
  1827. board: [
  1828. {
  1829. type: 'E',
  1830. readFrom: '',
  1831. layout: 'label-top',
  1832. items: [
  1833. {
  1834. label: '火焰长度',
  1835. value: '>${flameLength}mm',
  1836. },
  1837. {
  1838. label: '抑制煤层爆炸最低岩粉量',
  1839. value: '${min}%',
  1840. },
  1841. {
  1842. label: '鉴定结论',
  1843. value: '${con}',
  1844. },
  1845. ],
  1846. },
  1847. ],
  1848. chart: [],
  1849. gallery: [],
  1850. gallery_list: [],
  1851. table: [],
  1852. list: [],
  1853. complex_list: [],
  1854. preset: [],
  1855. mock: BDdustMock,
  1856. },
  1857. showStyle: {
  1858. size: 'width:450px;height:280px;',
  1859. version: '保德',
  1860. position: 'top:640px;right:0;',
  1861. },
  1862. },
  1863. ];
  1864. const BDfireMock = {
  1865. // 工作面风险监测
  1866. worksurface: {
  1867. risk: '低',
  1868. count: 3,
  1869. contents: [
  1870. {
  1871. risk: '低',
  1872. name: '81202综放工作面',
  1873. tmax: '30',
  1874. gaserr: '0',
  1875. riskarea: '散热带、氧化带',
  1876. },
  1877. {
  1878. risk: '低',
  1879. name: '81205主运掘进面',
  1880. tmax: '30',
  1881. gaserr: '0',
  1882. riskarea: '全部',
  1883. },
  1884. ],
  1885. },
  1886. // 采空区
  1887. ckq: [
  1888. {
  1889. name: '全部',
  1890. co2: '30',
  1891. co: '100',
  1892. temp: '90',
  1893. gas: '200',
  1894. windspeed: '1',
  1895. m3: '20',
  1896. // 馈电器
  1897. kdq: '8',
  1898. deviceID: '1',
  1899. },
  1900. ],
  1901. // 束管监测 | 光纤监测
  1902. fiber: {
  1903. contents: [
  1904. {
  1905. name: 'O₂',
  1906. max: '20',
  1907. pos: '81202综采工作面隅角',
  1908. time: '2024-08-13 12:00:00',
  1909. },
  1910. {
  1911. name: 'CH₄',
  1912. max: '20',
  1913. pos: '81202综采工作面隅角',
  1914. time: '2024-08-13 12:00:00',
  1915. },
  1916. {
  1917. name: 'CO',
  1918. max: '20',
  1919. pos: '81202综采工作面隅角',
  1920. time: '2024-08-13 12:00:00',
  1921. },
  1922. {
  1923. name: 'CO₂',
  1924. max: '20',
  1925. pos: '81202综采工作面隅角',
  1926. time: '2024-08-13 12:00:00',
  1927. },
  1928. ],
  1929. },
  1930. // 带式传输机
  1931. csj: [
  1932. {
  1933. name: '全部',
  1934. max1: '35',
  1935. max2: '24',
  1936. max3: '无烟',
  1937. deviceID: '1',
  1938. },
  1939. ],
  1940. // 防灭火
  1941. fmh: {
  1942. history: [
  1943. {
  1944. top: '40',
  1945. bot: '20',
  1946. },
  1947. {
  1948. top: '30',
  1949. bot: '20',
  1950. },
  1951. {
  1952. top: '40',
  1953. bot: '30',
  1954. },
  1955. {
  1956. top: '50',
  1957. bot: '20',
  1958. },
  1959. {
  1960. top: '20',
  1961. bot: '20',
  1962. },
  1963. {
  1964. top: '30',
  1965. bot: '30',
  1966. },
  1967. {
  1968. top: '50',
  1969. bot: '10',
  1970. },
  1971. ],
  1972. },
  1973. // 安全监控
  1974. safty: [
  1975. {
  1976. pos: '81202综采',
  1977. temp: '20',
  1978. level: '低',
  1979. time: '2024-09-06 00:00:00',
  1980. },
  1981. {
  1982. pos: '81202综采',
  1983. temp: '20',
  1984. level: '低',
  1985. time: '2024-09-06 00:00:00',
  1986. },
  1987. {
  1988. pos: '81202综采',
  1989. temp: '20',
  1990. level: '低',
  1991. time: '2024-09-06 00:00:00',
  1992. },
  1993. {
  1994. pos: '81202综采',
  1995. temp: '20',
  1996. level: '低',
  1997. time: '2024-09-06 00:00:00',
  1998. },
  1999. ],
  2000. };
  2001. export const testConfigBDFire: Config[] = [
  2002. {
  2003. deviceType: '',
  2004. moduleName: '工作面风险监测',
  2005. pageType: '',
  2006. moduleData: {
  2007. header: {
  2008. show: false,
  2009. showSelector: false,
  2010. showSlot: false,
  2011. selector: {
  2012. value: '',
  2013. },
  2014. slot: {
  2015. value: '',
  2016. },
  2017. },
  2018. background: {
  2019. show: false,
  2020. type: 'video',
  2021. link: '',
  2022. },
  2023. layout: ['gallery', 'complex_list'],
  2024. board: [],
  2025. chart: [],
  2026. gallery: [
  2027. {
  2028. type: 'D',
  2029. readFrom: 'worksurface',
  2030. items: [
  2031. {
  2032. label: '${risk}风险',
  2033. value: '${count}',
  2034. color: 'blue',
  2035. },
  2036. ],
  2037. },
  2038. ],
  2039. gallery_list: [],
  2040. table: [],
  2041. list: [],
  2042. complex_list: [
  2043. {
  2044. type: 'A',
  2045. readFrom: 'worksurface.contents',
  2046. items: [
  2047. {
  2048. title: '${[0].name}',
  2049. contents: [
  2050. {
  2051. label: '风险监测',
  2052. value: '${[0].risk}',
  2053. color: 'blue',
  2054. info: '',
  2055. },
  2056. {
  2057. label: '温度最大值',
  2058. value: '${[0].tmax}℃',
  2059. color: 'blue',
  2060. info: '',
  2061. },
  2062. {
  2063. label: '气体异常值',
  2064. value: '${[0].gaserr}',
  2065. color: 'blue',
  2066. info: '',
  2067. },
  2068. ],
  2069. },
  2070. {
  2071. title: '${[1].name}',
  2072. contents: [
  2073. {
  2074. label: '风险监测',
  2075. value: '${[1].risk}',
  2076. color: 'blue',
  2077. info: '',
  2078. },
  2079. {
  2080. label: '温度最大值',
  2081. value: '${[1].tmax}℃',
  2082. color: 'blue',
  2083. info: '',
  2084. },
  2085. {
  2086. label: '气体异常值',
  2087. value: '${[1].gaserr}',
  2088. color: 'blue',
  2089. info: '',
  2090. },
  2091. ],
  2092. },
  2093. ],
  2094. },
  2095. ],
  2096. preset: [],
  2097. mock: BDfireMock,
  2098. },
  2099. showStyle: {
  2100. size: 'width:450px;height:470px;',
  2101. version: '保德',
  2102. position: 'top:160px;left:0;',
  2103. },
  2104. },
  2105. {
  2106. deviceType: 'ckq',
  2107. moduleName: '密闭采空区监测区域',
  2108. pageType: '',
  2109. moduleData: {
  2110. header: {
  2111. show: true,
  2112. showSelector: true,
  2113. showSlot: false,
  2114. selector: {
  2115. value: '${name}',
  2116. },
  2117. slot: {
  2118. value: '',
  2119. },
  2120. },
  2121. background: {
  2122. show: false,
  2123. type: 'video',
  2124. link: '',
  2125. },
  2126. layout: ['gallery'],
  2127. board: [],
  2128. chart: [],
  2129. gallery: [
  2130. {
  2131. type: 'G',
  2132. readFrom: '',
  2133. items: [
  2134. {
  2135. label: '一氧化碳',
  2136. value: '${co}',
  2137. color: 'blue',
  2138. },
  2139. {
  2140. label: '二氧化碳',
  2141. value: '${co2}',
  2142. color: 'blue',
  2143. },
  2144. {
  2145. label: '温度',
  2146. value: '${temp}',
  2147. color: 'blue',
  2148. },
  2149. {
  2150. label: '风速',
  2151. value: '${windspeed}',
  2152. color: 'blue',
  2153. },
  2154. {
  2155. label: '风量',
  2156. value: '${m3}',
  2157. color: 'blue',
  2158. },
  2159. {
  2160. label: '馈电器',
  2161. value: '${kdq}',
  2162. color: 'blue',
  2163. },
  2164. {
  2165. label: '瓦斯',
  2166. value: '${gas}',
  2167. color: 'blue',
  2168. },
  2169. ],
  2170. },
  2171. ],
  2172. gallery_list: [],
  2173. table: [],
  2174. list: [],
  2175. complex_list: [],
  2176. preset: [],
  2177. mock: BDfireMock,
  2178. },
  2179. showStyle: {
  2180. size: 'width:450px;height:280px;',
  2181. version: '保德',
  2182. position: 'top:640px;left:0;',
  2183. },
  2184. },
  2185. {
  2186. deviceType: '',
  2187. moduleName: '工作面束管监测 | 工作面光纤监测',
  2188. pageType: '',
  2189. moduleData: {
  2190. header: {
  2191. show: false,
  2192. showSelector: false,
  2193. showSlot: false,
  2194. selector: {
  2195. value: '',
  2196. },
  2197. slot: {
  2198. value: '',
  2199. },
  2200. },
  2201. background: {
  2202. show: false,
  2203. type: 'video',
  2204. link: '',
  2205. },
  2206. layout: ['complex_list'],
  2207. board: [],
  2208. chart: [],
  2209. gallery: [],
  2210. gallery_list: [],
  2211. table: [],
  2212. list: [],
  2213. complex_list: [
  2214. {
  2215. type: 'B',
  2216. readFrom: 'fiber.contents',
  2217. items: [
  2218. {
  2219. title: '${[0].name}',
  2220. contents: [
  2221. {
  2222. label: '最大浓度',
  2223. value: '${[0].max}%',
  2224. color: 'blue',
  2225. info: '',
  2226. },
  2227. {
  2228. label: '位置',
  2229. value: '${[0].pos}',
  2230. color: 'blue',
  2231. info: '',
  2232. },
  2233. {
  2234. label: '时间',
  2235. value: '${[0].time}',
  2236. color: 'blue',
  2237. info: '',
  2238. },
  2239. ],
  2240. },
  2241. {
  2242. title: '${[1].name}',
  2243. contents: [
  2244. {
  2245. label: '最大浓度',
  2246. value: '${[1].max}%',
  2247. color: 'blue',
  2248. info: '',
  2249. },
  2250. {
  2251. label: '位置',
  2252. value: '${[1].pos}',
  2253. color: 'blue',
  2254. info: '',
  2255. },
  2256. {
  2257. label: '时间',
  2258. value: '${[1].time}',
  2259. color: 'blue',
  2260. info: '',
  2261. },
  2262. ],
  2263. },
  2264. {
  2265. title: '${[2].name}',
  2266. contents: [
  2267. {
  2268. label: '最大浓度',
  2269. value: '${[2].max}%',
  2270. color: 'blue',
  2271. info: '',
  2272. },
  2273. {
  2274. label: '位置',
  2275. value: '${[2].pos}',
  2276. color: 'blue',
  2277. info: '',
  2278. },
  2279. {
  2280. label: '时间',
  2281. value: '${[2].time}',
  2282. color: 'blue',
  2283. info: '',
  2284. },
  2285. ],
  2286. },
  2287. {
  2288. title: '${[3].name}',
  2289. contents: [
  2290. {
  2291. label: '最大浓度',
  2292. value: '${[3].max}%',
  2293. color: 'blue',
  2294. info: '',
  2295. },
  2296. {
  2297. label: '位置',
  2298. value: '${[3].pos}',
  2299. color: 'blue',
  2300. info: '',
  2301. },
  2302. {
  2303. label: '时间',
  2304. value: '${[3].time}',
  2305. color: 'blue',
  2306. info: '',
  2307. },
  2308. ],
  2309. },
  2310. ],
  2311. },
  2312. ],
  2313. preset: [],
  2314. mock: BDfireMock,
  2315. },
  2316. showStyle: {
  2317. size: 'width:1000px;height:280px;',
  2318. version: '保德',
  2319. position: 'top:640px;left:460px',
  2320. },
  2321. },
  2322. {
  2323. deviceType: 'csj',
  2324. moduleName: '带式输送机防灭火监控系统',
  2325. pageType: '',
  2326. moduleData: {
  2327. header: {
  2328. show: true,
  2329. showSelector: true,
  2330. showSlot: false,
  2331. selector: {
  2332. value: '${name}',
  2333. },
  2334. slot: {
  2335. value: '',
  2336. },
  2337. },
  2338. background: {
  2339. show: false,
  2340. type: 'video',
  2341. link: '',
  2342. },
  2343. layout: ['list'],
  2344. board: [],
  2345. chart: [],
  2346. gallery: [],
  2347. gallery_list: [],
  2348. table: [],
  2349. list: [
  2350. {
  2351. type: 'F',
  2352. readFrom: '',
  2353. items: [
  2354. {
  2355. label: '光纤预警',
  2356. info: '最高温度',
  2357. value: '${max1}℃',
  2358. color: 'blue',
  2359. },
  2360. {
  2361. label: '一氧化碳预警',
  2362. info: '最高浓度',
  2363. value: '${max2}ppm',
  2364. color: 'blue',
  2365. },
  2366. {
  2367. label: '烟雾预警',
  2368. info: '状态',
  2369. value: '${max3}',
  2370. color: 'blue',
  2371. },
  2372. ],
  2373. },
  2374. ],
  2375. complex_list: [],
  2376. preset: [],
  2377. mock: BDfireMock,
  2378. },
  2379. showStyle: {
  2380. size: 'width:450px;height:230px;',
  2381. version: '保德',
  2382. position: 'top:210px;right:0;',
  2383. },
  2384. },
  2385. {
  2386. deviceType: '',
  2387. moduleName: '变电硐室防灭火监控系统',
  2388. pageType: '',
  2389. moduleData: {
  2390. header: {
  2391. show: false,
  2392. showSelector: false,
  2393. showSlot: false,
  2394. selector: {
  2395. value: '',
  2396. },
  2397. slot: {
  2398. value: '',
  2399. },
  2400. },
  2401. background: {
  2402. show: false,
  2403. type: 'video',
  2404. link: '',
  2405. },
  2406. layout: ['chart'],
  2407. board: [],
  2408. chart: [
  2409. {
  2410. type: 'line_bar',
  2411. readFrom: 'fmh.history',
  2412. xAxis: [
  2413. {
  2414. label: 'null',
  2415. },
  2416. ],
  2417. yAxis: [
  2418. {
  2419. label: 'A',
  2420. align: 'left',
  2421. },
  2422. {
  2423. label: 'A',
  2424. align: 'left',
  2425. },
  2426. ],
  2427. series: [
  2428. {
  2429. label: 'A',
  2430. prop: 'top',
  2431. },
  2432. {
  2433. label: 'B',
  2434. prop: 'bot',
  2435. },
  2436. ],
  2437. },
  2438. ],
  2439. gallery: [],
  2440. gallery_list: [],
  2441. table: [],
  2442. list: [],
  2443. complex_list: [],
  2444. preset: [],
  2445. mock: BDfireMock,
  2446. },
  2447. showStyle: {
  2448. size: 'width:450px;height:230px;',
  2449. version: '保德',
  2450. position: 'top:450px;right:0;',
  2451. },
  2452. },
  2453. {
  2454. deviceType: '',
  2455. moduleName: '安全监控系统',
  2456. pageType: '',
  2457. moduleData: {
  2458. header: {
  2459. show: false,
  2460. showSelector: false,
  2461. showSlot: false,
  2462. selector: {
  2463. value: '',
  2464. },
  2465. slot: {
  2466. value: '',
  2467. },
  2468. },
  2469. background: {
  2470. show: false,
  2471. type: 'video',
  2472. link: '',
  2473. },
  2474. layout: ['table'],
  2475. board: [],
  2476. chart: [],
  2477. gallery: [],
  2478. gallery_list: [],
  2479. table: [
  2480. {
  2481. type: 'C',
  2482. readFrom: 'safty',
  2483. columns: [
  2484. {
  2485. name: '测点位置',
  2486. prop: 'pos',
  2487. },
  2488. {
  2489. name: '温度',
  2490. prop: 'temp',
  2491. },
  2492. {
  2493. name: '预警级别',
  2494. prop: 'level',
  2495. },
  2496. {
  2497. name: '时间',
  2498. prop: 'time',
  2499. },
  2500. ],
  2501. },
  2502. ],
  2503. list: [],
  2504. complex_list: [],
  2505. preset: [],
  2506. mock: BDfireMock,
  2507. },
  2508. showStyle: {
  2509. size: 'width:450px;height:230px;',
  2510. version: '保德',
  2511. position: 'top:690px;right:0;',
  2512. },
  2513. },
  2514. ];