fanLocal.data2.ts 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961
  1. import { BasicColumn } from '/@/components/Table';
  2. import { FormSchema } from '/@/components/Table';
  3. import { rules } from '/@/utils/helper/validator';
  4. import { ref, reactive } from 'vue';
  5. import { cloneDeep } from 'lodash-es';
  6. export const columns: BasicColumn[] = [
  7. {
  8. title: '名称',
  9. dataIndex: 'strname',
  10. width: 120,
  11. },
  12. {
  13. title: '安装位置',
  14. dataIndex: 'strinstallpos',
  15. width: 100,
  16. },
  17. {
  18. title: '是否为常闭型',
  19. dataIndex: 'bnormalclose',
  20. width: 100,
  21. // customRender: render.renderAvatar,
  22. },
  23. {
  24. title: '净宽',
  25. dataIndex: 'fclearwidth',
  26. width: 80,
  27. },
  28. {
  29. title: '净高',
  30. dataIndex: 'fclearheight',
  31. width: 100,
  32. },
  33. {
  34. title: '风门道数',
  35. dataIndex: 'ndoorcount',
  36. width: 100,
  37. },
  38. {
  39. title: '所属分站',
  40. width: 150,
  41. dataIndex: 'stationname',
  42. },
  43. {
  44. title: '点表',
  45. width: 100,
  46. dataIndex: 'strtype',
  47. },
  48. {
  49. title: '监测类型',
  50. dataIndex: 'monitorflag',
  51. width: 100,
  52. },
  53. {
  54. title: '是否模拟数据',
  55. dataIndex: 'testflag',
  56. width: 100,
  57. },
  58. ];
  59. export const recycleColumns: BasicColumn[] = [
  60. {
  61. title: '名称',
  62. dataIndex: 'strname',
  63. width: 100,
  64. },
  65. {
  66. title: '是否为常闭型',
  67. dataIndex: 'bnormalclose',
  68. width: 100,
  69. },
  70. ];
  71. export const searchFormSchema: FormSchema[] = [
  72. {
  73. label: '名称',
  74. field: 'strname',
  75. component: 'Input',
  76. colProps: { span: 6 },
  77. },
  78. {
  79. label: '安装位置',
  80. field: 'strinstallpos',
  81. component: 'Input',
  82. colProps: { span: 6 },
  83. },
  84. {
  85. label: '是否为常闭型',
  86. field: 'bnormalclose',
  87. component: 'JDictSelectTag',
  88. componentProps: {
  89. dictCode: 'user_status',
  90. placeholder: '请选择读写类型',
  91. stringToNumber: true,
  92. },
  93. colProps: { span: 6 },
  94. },
  95. ];
  96. export const formSchema: FormSchema[] = [
  97. {
  98. label: '',
  99. field: 'id',
  100. component: 'Input',
  101. show: false,
  102. },
  103. {
  104. label: '名称',
  105. field: 'strname',
  106. component: 'Input',
  107. },
  108. {
  109. label: '安装位置',
  110. field: 'strinstallpos',
  111. component: 'Input',
  112. },
  113. {
  114. label: '是否为常闭型',
  115. field: 'bnormalclose',
  116. component: 'RadioGroup',
  117. defaultValue: 1,
  118. componentProps: () => {
  119. return {
  120. options: [
  121. { label: '是', value: 1, key: '1' },
  122. { label: '否', value: 0, key: '2' },
  123. ],
  124. };
  125. },
  126. },
  127. {
  128. label: '净宽',
  129. field: 'fclearwidth',
  130. component: 'Input',
  131. },
  132. {
  133. label: '净高',
  134. field: 'fclearheight',
  135. component: 'Input',
  136. },
  137. {
  138. label: '风门道数',
  139. field: 'ndoorcount',
  140. component: 'Input',
  141. },
  142. {
  143. label: '所属分站',
  144. field: 'stationname',
  145. component: 'JDictSelectTag',
  146. componentProps: {
  147. dictCode: 'user_status',
  148. placeholder: '请选择状态',
  149. stringToNumber: true,
  150. },
  151. },
  152. {
  153. label: '点表',
  154. field: 'strtype',
  155. component: 'JDictSelectTag',
  156. componentProps: {
  157. dictCode: 'user_status',
  158. placeholder: '请选择状态',
  159. stringToNumber: true,
  160. },
  161. },
  162. {
  163. label: '监测类型',
  164. field: 'monitorflag',
  165. component: 'JDictSelectTag',
  166. componentProps: {
  167. dictCode: 'user_status',
  168. placeholder: '请选择状态',
  169. stringToNumber: true,
  170. },
  171. },
  172. {
  173. label: '是否模拟数据',
  174. field: 'testflag',
  175. component: 'RadioGroup',
  176. defaultValue: 1,
  177. componentProps: () => {
  178. return {
  179. options: [
  180. { label: '是', value: 1, key: '1' },
  181. { label: '否', value: 0, key: '2' },
  182. ],
  183. };
  184. },
  185. },
  186. ];
  187. export const formPasswordSchema: FormSchema[] = [
  188. {
  189. label: '用户账号',
  190. field: 'username',
  191. component: 'Input',
  192. componentProps: { readOnly: true },
  193. },
  194. {
  195. label: '登录密码',
  196. field: 'password',
  197. component: 'StrengthMeter',
  198. componentProps: {
  199. placeholder: '请输入登录密码',
  200. },
  201. rules: [
  202. {
  203. required: true,
  204. message: '请输入登录密码',
  205. },
  206. ],
  207. },
  208. {
  209. label: '确认密码',
  210. field: 'confirmPassword',
  211. component: 'InputPassword',
  212. dynamicRules: ({ values }) => rules.confirmPassword(values, true),
  213. },
  214. ];
  215. export const formAgentSchema: FormSchema[] = [
  216. {
  217. label: '',
  218. field: 'id',
  219. component: 'Input',
  220. show: false,
  221. },
  222. {
  223. field: 'userName',
  224. label: '用户名',
  225. component: 'Input',
  226. componentProps: {
  227. readOnly: true,
  228. allowClear: false,
  229. },
  230. },
  231. {
  232. field: 'agentUserName',
  233. label: '代理人用户名',
  234. required: true,
  235. component: 'JSelectUser',
  236. componentProps: {
  237. rowKey: 'username',
  238. labelKey: 'realname',
  239. maxSelectCount: 10,
  240. },
  241. },
  242. {
  243. field: 'startTime',
  244. label: '代理开始时间',
  245. component: 'DatePicker',
  246. required: true,
  247. componentProps: {
  248. showTime: true,
  249. valueFormat: 'YYYY-MM-DD HH:mm:ss',
  250. placeholder: '请选择代理开始时间',
  251. },
  252. },
  253. {
  254. field: 'endTime',
  255. label: '代理结束时间',
  256. component: 'DatePicker',
  257. required: true,
  258. componentProps: {
  259. showTime: true,
  260. valueFormat: 'YYYY-MM-DD HH:mm:ss',
  261. placeholder: '请选择代理结束时间',
  262. },
  263. },
  264. {
  265. field: 'status',
  266. label: '状态',
  267. component: 'JDictSelectTag',
  268. defaultValue: '1',
  269. componentProps: {
  270. dictCode: 'valid_status',
  271. type: 'radioButton',
  272. },
  273. },
  274. ];
  275. export const chartsColumns = [
  276. {
  277. legend: '瓦斯浓度',
  278. seriesName: '瓦斯浓度(%)',
  279. ymax: 100,
  280. yname: '%',
  281. linetype: 'bar',
  282. yaxispos: 'left',
  283. color: '#cd5fff',
  284. sort: 1,
  285. dataIndex: '',
  286. xRotate: 0,
  287. },
  288. ];
  289. export const chartsColumns1 = [
  290. {
  291. legend: '风量',
  292. seriesName: 'm³/min',
  293. ymax: 1000,
  294. yname: '',
  295. linetype: 'bar',
  296. yaxispos: 'left',
  297. color: '#755cf8',
  298. sort: 1,
  299. dataIndex: '',
  300. xRotate: 0,
  301. },
  302. ];
  303. export const transformMobileH = [
  304. {
  305. title: 'A相电流(A)',
  306. code: '',
  307. },
  308. {
  309. title: 'B相电流(A)',
  310. code: '',
  311. },
  312. {
  313. title: 'C相电流(A)',
  314. code: '',
  315. },
  316. {
  317. title: '电压(V)',
  318. code: '',
  319. },
  320. {
  321. title: '温度(℃)',
  322. code: '',
  323. },
  324. {
  325. title: '额定电流(A)',
  326. code: '',
  327. },
  328. {
  329. title: '短路电流(A)',
  330. code: '',
  331. },
  332. ];
  333. export const transformMobileL = [
  334. {
  335. title: 'A相电流(A)',
  336. code: '',
  337. },
  338. {
  339. title: 'B相电流(A)',
  340. code: '',
  341. },
  342. {
  343. title: 'C相电流(A)',
  344. code: '',
  345. },
  346. {
  347. title: '电压(V)',
  348. code: '',
  349. },
  350. {
  351. title: '功率(KW)',
  352. code: '',
  353. },
  354. {
  355. title: '额定电流(A)',
  356. code: '',
  357. },
  358. {
  359. title: '短路电流(A)',
  360. code: '',
  361. },
  362. ];
  363. export const protectionEnableH = [
  364. {
  365. title: '短路',
  366. code: '',
  367. value: '使能',
  368. },
  369. {
  370. title: '不平衡',
  371. code: '',
  372. value: '未使能',
  373. },
  374. {
  375. title: '过载',
  376. code: '',
  377. value: '使能',
  378. },
  379. {
  380. title: '过压',
  381. code: '',
  382. value: '使能',
  383. },
  384. {
  385. title: '欠压',
  386. code: '',
  387. value: '使能',
  388. },
  389. {
  390. title: '短路延时(ms)',
  391. code: '',
  392. value: 0,
  393. },
  394. {
  395. title: '过压延时(s)',
  396. code: '',
  397. value: 10,
  398. },
  399. {
  400. title: '欠压延时(s)',
  401. code: '',
  402. value: 10,
  403. },
  404. ];
  405. export const protectionEnableL = [
  406. {
  407. title: '短路',
  408. code: '',
  409. value: '使能',
  410. },
  411. {
  412. title: '不平衡',
  413. code: '',
  414. value: '未使能',
  415. },
  416. {
  417. title: '过载',
  418. code: '',
  419. value: '使能',
  420. },
  421. {
  422. title: '过压',
  423. code: '',
  424. value: '使能',
  425. },
  426. {
  427. title: '欠压',
  428. code: '',
  429. value: '使能',
  430. },
  431. {
  432. title: '漏电',
  433. code: '',
  434. value: '使能',
  435. },
  436. {
  437. title: '漏电闭锁',
  438. code: '',
  439. value: '使能',
  440. },
  441. {
  442. title: '漏电延时(ms)',
  443. code: '',
  444. value: 10,
  445. },
  446. {
  447. title: '短路延时(ms)',
  448. code: '',
  449. value: 1,
  450. },
  451. {
  452. title: '过压延时(s)',
  453. code: '',
  454. value: 10,
  455. },
  456. {
  457. title: '欠压延时(s)',
  458. code: '',
  459. value: 10,
  460. },
  461. ];
  462. export const electricMonitor = {
  463. 电流: [
  464. {
  465. title: 'A相电流 (A)',
  466. code: '',
  467. },
  468. {
  469. title: 'B相电流 (A)',
  470. code: '',
  471. },
  472. {
  473. title: 'C相电流 (A)',
  474. code: '',
  475. },
  476. {
  477. title: '额定电流 (A)',
  478. code: '',
  479. },
  480. ],
  481. 电压: [
  482. {
  483. title: 'Uac (V)',
  484. code: '',
  485. },
  486. {
  487. title: '功率 (KW)',
  488. code: '',
  489. },
  490. ],
  491. 保护状态: [
  492. {
  493. title: '短路',
  494. code: '',
  495. value: 1,
  496. },
  497. {
  498. title: '失压',
  499. code: '',
  500. value: 1,
  501. },
  502. {
  503. title: '过载',
  504. code: '',
  505. value: 1,
  506. },
  507. {
  508. title: '过压',
  509. code: '',
  510. value: 1,
  511. },
  512. {
  513. title: '缺相',
  514. code: '',
  515. value: 1,
  516. },
  517. {
  518. title: '漏电保护',
  519. code: '',
  520. value: 1,
  521. },
  522. {
  523. title: '相不平衡',
  524. code: '',
  525. value: 1,
  526. },
  527. {
  528. title: '漏电闭锁',
  529. code: '',
  530. value: 1,
  531. },
  532. {
  533. title: '瓦斯闭锁',
  534. code: '',
  535. value: 1,
  536. },
  537. {
  538. title: '选择性漏电保护',
  539. code: '',
  540. value: 1,
  541. },
  542. ],
  543. };
  544. export const electricState = [
  545. {
  546. title: '额定电流(A)',
  547. code: '',
  548. value: 100.0,
  549. },
  550. {
  551. title: '额定电压(V)',
  552. code: '',
  553. value: 660,
  554. },
  555. {
  556. title: '短路倍数',
  557. code: '',
  558. value: 8,
  559. },
  560. {
  561. title: '欠压倍数',
  562. code: '',
  563. value: 0.85,
  564. },
  565. {
  566. title: '漏电延时(s)',
  567. code: '',
  568. value: 5.0,
  569. },
  570. {
  571. title: '不平衡倍数',
  572. code: '',
  573. value: 0.0,
  574. },
  575. {
  576. title: '漏电闭锁(KΩ)',
  577. code: '',
  578. value: 11,
  579. },
  580. {
  581. title: '末端短路倍数',
  582. code: '',
  583. value: 1.0,
  584. },
  585. {
  586. title: '相敏倍数',
  587. code: '',
  588. value: 41.0,
  589. },
  590. {
  591. title: '过压延时(s)',
  592. code: '',
  593. value: 1.2,
  594. },
  595. {
  596. title: '过压定值',
  597. code: '',
  598. value: 1.2,
  599. },
  600. ];
  601. export const fanControlState1 = {
  602. 电流电压: {
  603. 'la1(A)': [
  604. {
  605. code: '',
  606. value: 0.0,
  607. },
  608. {
  609. code: '',
  610. value: 0.0,
  611. },
  612. ],
  613. 'lb1(A)': [
  614. {
  615. code: '',
  616. value: 0.0,
  617. },
  618. {
  619. code: '',
  620. value: 0.0,
  621. },
  622. ],
  623. 'lc1(A)': [
  624. {
  625. code: '',
  626. value: 0.0,
  627. },
  628. {
  629. code: '',
  630. value: 0.0,
  631. },
  632. ],
  633. '额定电流(A)': [
  634. {
  635. code: '',
  636. value: 55.0,
  637. },
  638. {
  639. code: '',
  640. value: 55.0,
  641. },
  642. ],
  643. 'Uac(V)': [
  644. {
  645. code: '',
  646. value: 658,
  647. },
  648. ],
  649. },
  650. 功率: {
  651. '功率(KW)': [
  652. {
  653. code: '',
  654. value: 0.0,
  655. },
  656. {
  657. code: '',
  658. value: 0.0,
  659. },
  660. ],
  661. },
  662. 运行状态: {
  663. 开合闸状态: [
  664. {
  665. code: '',
  666. value: 0,
  667. },
  668. {
  669. code: '',
  670. value: 0,
  671. },
  672. ],
  673. },
  674. };
  675. export const fanControlState2 = {
  676. 电流电压: {
  677. 'la1(A)': [
  678. {
  679. code: '',
  680. value: 35.0,
  681. },
  682. {
  683. code: '',
  684. value: 28.0,
  685. },
  686. ],
  687. 'lb1(A)': [
  688. {
  689. code: '',
  690. value: 34.0,
  691. },
  692. {
  693. code: '',
  694. value: 28.0,
  695. },
  696. ],
  697. 'lc1(A)': [
  698. {
  699. code: '',
  700. value: 34.0,
  701. },
  702. {
  703. code: '',
  704. value: 29.0,
  705. },
  706. ],
  707. '额定电流(A)': [
  708. {
  709. code: '',
  710. value: 75.0,
  711. },
  712. {
  713. code: '',
  714. value: 75.0,
  715. },
  716. ],
  717. 'Uac(V)': [
  718. {
  719. code: '',
  720. value: 697,
  721. },
  722. ],
  723. },
  724. 功率: {
  725. '功率(KW)': [
  726. {
  727. code: '',
  728. value: 42,
  729. },
  730. {
  731. code: '',
  732. value: 34,
  733. },
  734. ],
  735. },
  736. 运行状态: {
  737. 开合闸状态: [
  738. {
  739. code: '',
  740. value: 1,
  741. },
  742. {
  743. code: '',
  744. value: 1,
  745. },
  746. ],
  747. },
  748. };
  749. export const fanSetting1 = [
  750. {
  751. title: 'I额定电流(A)',
  752. code: '',
  753. value: '55',
  754. },
  755. {
  756. title: 'II额定电流(A)',
  757. code: '',
  758. value: '55',
  759. },
  760. {
  761. title: '电压等级(V)',
  762. code: '',
  763. value: '660',
  764. },
  765. {
  766. title: 'I速断定值',
  767. code: '',
  768. value: '8',
  769. },
  770. {
  771. title: 'II速断定值',
  772. code: '',
  773. value: '8',
  774. },
  775. {
  776. title: '欠压定值',
  777. code: '',
  778. value: '1',
  779. },
  780. {
  781. title: '欠压延时',
  782. code: '',
  783. value: '6',
  784. },
  785. {
  786. title: '过压定值',
  787. code: '',
  788. value: '1',
  789. },
  790. {
  791. title: '过压延时',
  792. code: '',
  793. value: '6',
  794. },
  795. {
  796. title: 'I启动II延时(s)',
  797. code: '',
  798. value: '5',
  799. },
  800. {
  801. title: '启动对侧延时(s)',
  802. code: '',
  803. value: '5',
  804. },
  805. {
  806. title: '风电瓦斯延时(s)',
  807. code: '',
  808. value: '0',
  809. },
  810. ];
  811. export const fanSetting2 = [
  812. {
  813. title: 'I额定电流(A)',
  814. code: '',
  815. value: '75',
  816. },
  817. {
  818. title: 'II额定电流(A)',
  819. code: '',
  820. value: '75',
  821. },
  822. {
  823. title: '电压等级(V)',
  824. code: '',
  825. value: '660',
  826. },
  827. {
  828. title: 'I速断定值',
  829. code: '',
  830. value: '8',
  831. },
  832. {
  833. title: 'II速断定值',
  834. code: '',
  835. value: '9',
  836. },
  837. {
  838. title: '欠压定值',
  839. code: '',
  840. value: '0',
  841. },
  842. {
  843. title: '欠压延时',
  844. code: '',
  845. value: '6',
  846. },
  847. {
  848. title: '过压定值',
  849. code: '',
  850. value: '1',
  851. },
  852. {
  853. title: '过压延时',
  854. code: '',
  855. value: '6',
  856. },
  857. {
  858. title: 'I启动II延时(s)',
  859. code: '',
  860. value: '5',
  861. },
  862. {
  863. title: '启动对侧延时(s)',
  864. code: '',
  865. value: '5',
  866. },
  867. {
  868. title: '风电瓦斯延时(s)',
  869. code: '',
  870. value: '0',
  871. },
  872. ];
  873. export const data_model = ref<any>({
  874. layout_center: { x: 727, y: 226 },
  875. config: {
  876. background_color: '#00000000',
  877. scale: 0.9,
  878. position_center: { x: 0, y: 0 },
  879. svg_position_center: { x: 50, y: 50 },
  880. grid: true,
  881. ruler: false,
  882. },
  883. done_json: [
  884. {
  885. id: 'connection_lineSAVIxZbu1U',
  886. x: -322,
  887. y: 297,
  888. client: { x: -345, y: 316 },
  889. scale_x: 1,
  890. scale_y: 1,
  891. rotate: 0,
  892. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  893. point_coordinate: {
  894. tl: { x: -345.5, y: 292 },
  895. tc: { x: -345, y: 292 },
  896. tr: { x: -344.5, y: 292 },
  897. l: { x: -345.5, y: 316 },
  898. r: { x: -344.5, y: 316 },
  899. bl: { x: -345.5, y: 340 },
  900. bc: { x: -345, y: 340 },
  901. br: { x: -344.5, y: 340 },
  902. },
  903. name: 'connection_line',
  904. title: 'changeLine',
  905. type: 'ConnectionLine',
  906. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  907. display: true,
  908. props: {
  909. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  910. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  911. point_position: {
  912. title: '点坐标',
  913. type: 'JsonEdit',
  914. val: [
  915. { x: 50, y: 47 },
  916. { x: 50, y: 20 },
  917. ],
  918. },
  919. },
  920. animations: {
  921. type: {
  922. title: '动画类型',
  923. type: 'Select',
  924. val: 'None',
  925. options: [
  926. { label: '无', value: 'None' },
  927. { label: '电流', value: 'Electricity' },
  928. { label: '轨迹', value: 'Track' },
  929. { label: '水珠', value: 'WaterDrop' },
  930. ],
  931. },
  932. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  933. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  934. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  935. reverse: { title: '反转动画', type: 'Switch', val: false },
  936. },
  937. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  938. },
  939. {
  940. id: 'connection_lineYOym7m1COw',
  941. x: -499,
  942. y: 293,
  943. client: { x: -499, y: 313 },
  944. scale_x: 1,
  945. scale_y: 1,
  946. rotate: 0,
  947. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  948. point_coordinate: {
  949. tl: { x: -499.5, y: 289 },
  950. tc: { x: -499, y: 289 },
  951. tr: { x: -498.5, y: 289 },
  952. l: { x: -499.5, y: 313 },
  953. r: { x: -498.5, y: 313 },
  954. bl: { x: -499.5, y: 337 },
  955. bc: { x: -499, y: 337 },
  956. br: { x: -498.5, y: 337 },
  957. },
  958. name: 'connection_line',
  959. title: 'changeLine',
  960. type: 'ConnectionLine',
  961. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  962. display: true,
  963. props: {
  964. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  965. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  966. point_position: {
  967. title: '点坐标',
  968. type: 'JsonEdit',
  969. val: [
  970. { x: 51, y: 53 },
  971. { x: 51, y: 21 },
  972. ],
  973. },
  974. },
  975. animations: {
  976. type: {
  977. title: '动画类型',
  978. type: 'Select',
  979. val: 'None',
  980. options: [
  981. { label: '无', value: 'None' },
  982. { label: '电流', value: 'Electricity' },
  983. { label: '轨迹', value: 'Track' },
  984. { label: '水珠', value: 'WaterDrop' },
  985. ],
  986. },
  987. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  988. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  989. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  990. reverse: { title: '反转动画', type: 'Switch', val: false },
  991. },
  992. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  993. },
  994. {
  995. id: 'arrowWVIq74qgBO',
  996. x: -520.5,
  997. y: -143,
  998. client: { x: -520.5, y: -143 },
  999. scale_x: 0.45,
  1000. scale_y: 0.44799998632812543,
  1001. rotate: 179.9812559818536,
  1002. actual_bound: { x: 0.0000014901161193847656, y: 14.285714149475098, width: 100, height: 71.42857360839844 },
  1003. point_coordinate: {
  1004. tl: { x: -497.9947668868031, y: -127.00736161477208 },
  1005. tc: { x: -520.494765682786, y: -127.00000085618991 },
  1006. tr: { x: -542.994764478769, y: -126.99264009760776 },
  1007. l: { x: -498.00000120401705, y: -143.00736075858217 },
  1008. r: { x: -542.999998795983, y: -142.99263924141783 },
  1009. bl: { x: -498.00523552123104, y: -159.00735990239224 },
  1010. bc: { x: -520.505234317214, y: -158.99999914381007 },
  1011. br: { x: -543.0052331131969, y: -158.99263838522793 },
  1012. },
  1013. name: 'arrow',
  1014. title: '箭头',
  1015. type: 'File',
  1016. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1017. display: true,
  1018. props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
  1019. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1020. },
  1021. {
  1022. id: 'arrowUFvMb6HR6G',
  1023. x: -298.5,
  1024. y: -142,
  1025. client: { x: -302.5, y: -142 },
  1026. scale_x: 0.45,
  1027. scale_y: 0.44799998632812543,
  1028. rotate: 0,
  1029. actual_bound: { x: 0.0000014901161193847656, y: 14.285714149475098, width: 100, height: 71.42857360839844 },
  1030. point_coordinate: {
  1031. tl: { x: -325, y: -158 },
  1032. tc: { x: -302.5, y: -158 },
  1033. tr: { x: -280, y: -158 },
  1034. l: { x: -325, y: -142 },
  1035. r: { x: -280, y: -142 },
  1036. bl: { x: -325, y: -126 },
  1037. bc: { x: -302.5, y: -126 },
  1038. br: { x: -280, y: -126 },
  1039. },
  1040. name: 'arrow',
  1041. title: '箭头-copy',
  1042. type: 'File',
  1043. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1044. display: true,
  1045. props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
  1046. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1047. },
  1048. {
  1049. id: 'straight-lineTy3uyr5DOv',
  1050. x: 508,
  1051. y: 177,
  1052. client: { x: 508, y: 177 },
  1053. scale_x: 1,
  1054. scale_y: 1,
  1055. rotate: 0,
  1056. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1057. point_coordinate: {
  1058. tl: { x: -551.999998795983, y: -137.99263924141783 },
  1059. tc: { x: -551.999998795983, y: -137.99263924141783 },
  1060. tr: { x: -551.999998795983, y: -137.99263924141783 },
  1061. l: { x: -551.999998795983, y: -137.99263924141783 },
  1062. r: { x: -551.999998795983, y: -137.99263924141783 },
  1063. bl: { x: -551.999998795983, y: -137.99263924141783 },
  1064. bc: { x: -551.999998795983, y: -137.99263924141783 },
  1065. br: { x: -551.999998795983, y: -137.99263924141783 },
  1066. },
  1067. name: 'connection_line',
  1068. title: '连接线',
  1069. type: 'ConnectionLine',
  1070. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1071. display: true,
  1072. props: {
  1073. stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
  1074. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1075. point_position: { title: '点坐标', type: 'JsonEdit', val: [{ x: 50, y: 50 }] },
  1076. },
  1077. animations: {
  1078. type: {
  1079. title: '动画类型',
  1080. type: 'Select',
  1081. val: 'None',
  1082. options: [
  1083. { label: '无', value: 'None' },
  1084. { label: '电流', value: 'Electricity' },
  1085. { label: '轨迹', value: 'Track' },
  1086. { label: '水珠', value: 'WaterDrop' },
  1087. ],
  1088. },
  1089. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1090. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1091. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1092. reverse: { title: '反转动画', type: 'Switch', val: false },
  1093. },
  1094. bind_anchors: { start: { type: 'Right', target_id: 'arrowWVIq74qgBO' }, end: null },
  1095. },
  1096. {
  1097. id: 'rect3OD1llFsFbQ',
  1098. x: -688,
  1099. y: -224.5,
  1100. client: { x: -688, y: -224.5 },
  1101. scale_x: 1.9694118000598109,
  1102. scale_y: 0.3599999890136722,
  1103. rotate: 0,
  1104. actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
  1105. point_coordinate: {
  1106. tl: { x: -781, y: -227 },
  1107. tc: { x: -688, y: -227 },
  1108. tr: { x: -595, y: -227 },
  1109. l: { x: -781, y: -224.5 },
  1110. r: { x: -595, y: -224.5 },
  1111. bl: { x: -781, y: -222 },
  1112. bc: { x: -688, y: -222 },
  1113. br: { x: -595, y: -222 },
  1114. },
  1115. name: 'rect3',
  1116. title: '矩形',
  1117. type: 'File',
  1118. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1119. display: true,
  1120. props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
  1121. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1122. },
  1123. {
  1124. id: 'rect3z6ep3DMpbX',
  1125. x: -138,
  1126. y: -226.5,
  1127. client: { x: -138, y: -226.5 },
  1128. scale_x: 1.9694118000598109,
  1129. scale_y: 0.3599999890136722,
  1130. rotate: 0,
  1131. actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
  1132. point_coordinate: {
  1133. tl: { x: -231, y: -229 },
  1134. tc: { x: -138, y: -229 },
  1135. tr: { x: -45, y: -229 },
  1136. l: { x: -231, y: -226.5 },
  1137. r: { x: -45, y: -226.5 },
  1138. bl: { x: -231, y: -224 },
  1139. bc: { x: -138, y: -224 },
  1140. br: { x: -45, y: -224 },
  1141. },
  1142. name: 'rect3',
  1143. title: '矩形-copy',
  1144. type: 'File',
  1145. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1146. display: true,
  1147. props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
  1148. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1149. },
  1150. {
  1151. id: 'straight-lineYTEQVhroc2',
  1152. x: -542.999998795983,
  1153. y: -142.99263924141783,
  1154. client: { x: 588, y: 224 },
  1155. scale_x: 1,
  1156. scale_y: 1,
  1157. rotate: 0,
  1158. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1159. point_coordinate: {
  1160. tl: { x: -585.999998795983, y: -185.99263924141783 },
  1161. tc: { x: -542.999998795983, y: -185.99263924141783 },
  1162. tr: { x: -499.99999879598295, y: -185.99263924141783 },
  1163. l: { x: -585.999998795983, y: -142.99263924141783 },
  1164. r: { x: -499.99999879598295, y: -142.99263924141783 },
  1165. bl: { x: -585.999998795983, y: -99.99263924141783 },
  1166. bc: { x: -542.999998795983, y: -99.99263924141783 },
  1167. br: { x: -499.99999879598295, y: -99.99263924141783 },
  1168. },
  1169. name: 'connection_line',
  1170. title: '连接线',
  1171. type: 'ConnectionLine',
  1172. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1173. display: true,
  1174. props: {
  1175. stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
  1176. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1177. point_position: {
  1178. title: '点坐标',
  1179. type: 'JsonEdit',
  1180. val: [
  1181. { x: 50, y: 50 },
  1182. { x: -36, y: 51 },
  1183. { x: -36, y: -35 },
  1184. { x: -34, y: -34 },
  1185. ],
  1186. },
  1187. },
  1188. animations: {
  1189. type: {
  1190. title: '动画类型',
  1191. type: 'Select',
  1192. val: 'None',
  1193. options: [
  1194. { label: '无', value: 'None' },
  1195. { label: '电流', value: 'Electricity' },
  1196. { label: '轨迹', value: 'Track' },
  1197. { label: '水珠', value: 'WaterDrop' },
  1198. ],
  1199. },
  1200. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1201. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1202. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1203. reverse: { title: '反转动画', type: 'Switch', val: false },
  1204. },
  1205. bind_anchors: { start: { type: 'Right', target_id: 'arrowWVIq74qgBO' }, end: null },
  1206. },
  1207. {
  1208. id: 'connection_lineHE0iHAc7sh',
  1209. x: -107.99999879598295,
  1210. y: -139.99263924141783,
  1211. client: { x: -107.99999879598295, y: -139.99263924141783 },
  1212. scale_x: 1,
  1213. scale_y: 1,
  1214. rotate: 0,
  1215. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1216. point_coordinate: {
  1217. tl: { x: -150.99999879598295, y: -182.99263924141783 },
  1218. tc: { x: -107.99999879598295, y: -182.99263924141783 },
  1219. tr: { x: -64.99999879598295, y: -182.99263924141783 },
  1220. l: { x: -150.99999879598295, y: -139.99263924141783 },
  1221. r: { x: -64.99999879598295, y: -139.99263924141783 },
  1222. bl: { x: -150.99999879598295, y: -96.99263924141783 },
  1223. bc: { x: -107.99999879598295, y: -96.99263924141783 },
  1224. br: { x: -64.99999879598295, y: -96.99263924141783 },
  1225. },
  1226. name: 'connection_line',
  1227. title: '连接线-copy',
  1228. type: 'ConnectionLine',
  1229. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1230. display: true,
  1231. props: {
  1232. stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
  1233. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1234. point_position: {
  1235. title: '点坐标',
  1236. type: 'JsonEdit',
  1237. val: [
  1238. { x: -124, y: 49 },
  1239. { x: -35, y: 49 },
  1240. { x: -36, y: -35 },
  1241. { x: -34, y: -34 },
  1242. ],
  1243. },
  1244. },
  1245. animations: {
  1246. type: {
  1247. title: '动画类型',
  1248. type: 'Select',
  1249. val: 'None',
  1250. options: [
  1251. { label: '无', value: 'None' },
  1252. { label: '电流', value: 'Electricity' },
  1253. { label: '轨迹', value: 'Track' },
  1254. { label: '水珠', value: 'WaterDrop' },
  1255. ],
  1256. },
  1257. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1258. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1259. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1260. reverse: { title: '反转动画', type: 'Switch', val: false },
  1261. },
  1262. bind_anchors: { start: { type: 'Right', target_id: 'arrowWVIq74qgBO' }, end: null },
  1263. },
  1264. {
  1265. id: 'straight-lineGewWfZACIy',
  1266. x: -688,
  1267. y: -222,
  1268. client: { x: 452, y: 146 },
  1269. scale_x: 1,
  1270. scale_y: 1,
  1271. rotate: 0,
  1272. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1273. point_coordinate: {
  1274. tl: { x: -688.5, y: -284 },
  1275. tc: { x: -688, y: -284 },
  1276. tr: { x: -687.5, y: -284 },
  1277. l: { x: -688.5, y: -222 },
  1278. r: { x: -687.5, y: -222 },
  1279. bl: { x: -688.5, y: -160 },
  1280. bc: { x: -688, y: -160 },
  1281. br: { x: -687.5, y: -160 },
  1282. },
  1283. name: 'connection_line',
  1284. title: '连接线',
  1285. type: 'ConnectionLine',
  1286. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1287. display: true,
  1288. props: {
  1289. stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
  1290. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1291. point_position: {
  1292. title: '点坐标',
  1293. type: 'JsonEdit',
  1294. val: [
  1295. { x: 50, y: 50 },
  1296. { x: 49, y: 174 },
  1297. ],
  1298. },
  1299. },
  1300. animations: {
  1301. type: {
  1302. title: '动画类型',
  1303. type: 'Select',
  1304. val: 'None',
  1305. options: [
  1306. { label: '无', value: 'None' },
  1307. { label: '电流', value: 'Electricity' },
  1308. { label: '轨迹', value: 'Track' },
  1309. { label: '水珠', value: 'WaterDrop' },
  1310. ],
  1311. },
  1312. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1313. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1314. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1315. reverse: { title: '反转动画', type: 'Switch', val: false },
  1316. },
  1317. bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect3OD1llFsFbQ' }, end: null },
  1318. },
  1319. {
  1320. id: 'connection_linekOe9aqybJ7',
  1321. x: -132,
  1322. y: -227,
  1323. client: { x: -132, y: -227 },
  1324. scale_x: 1,
  1325. scale_y: 1,
  1326. rotate: 0,
  1327. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1328. point_coordinate: {
  1329. tl: { x: -132.5, y: -289 },
  1330. tc: { x: -132, y: -289 },
  1331. tr: { x: -131.5, y: -289 },
  1332. l: { x: -132.5, y: -227 },
  1333. r: { x: -131.5, y: -227 },
  1334. bl: { x: -132.5, y: -165 },
  1335. bc: { x: -132, y: -165 },
  1336. br: { x: -131.5, y: -165 },
  1337. },
  1338. name: 'connection_line',
  1339. title: '连接线-copy',
  1340. type: 'ConnectionLine',
  1341. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1342. display: true,
  1343. props: {
  1344. stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
  1345. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1346. point_position: {
  1347. title: '点坐标',
  1348. type: 'JsonEdit',
  1349. val: [
  1350. { x: 50, y: 50 },
  1351. { x: 50, y: 180 },
  1352. ],
  1353. },
  1354. },
  1355. animations: {
  1356. type: {
  1357. title: '动画类型',
  1358. type: 'Select',
  1359. val: 'None',
  1360. options: [
  1361. { label: '无', value: 'None' },
  1362. { label: '电流', value: 'Electricity' },
  1363. { label: '轨迹', value: 'Track' },
  1364. { label: '水珠', value: 'WaterDrop' },
  1365. ],
  1366. },
  1367. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1368. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1369. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1370. reverse: { title: '反转动画', type: 'Switch', val: false },
  1371. },
  1372. bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect3OD1llFsFbQ' }, end: null },
  1373. },
  1374. {
  1375. id: 'rect1u3AJvpzHYv',
  1376. x: -689.5,
  1377. y: -63,
  1378. client: { x: -689.5, y: -63 },
  1379. scale_x: 0.7082353259023925,
  1380. scale_y: 0.7259259095159254,
  1381. rotate: 0,
  1382. actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
  1383. point_coordinate: {
  1384. tl: { x: -711, y: -98 },
  1385. tc: { x: -689.5, y: -98 },
  1386. tr: { x: -668, y: -98 },
  1387. l: { x: -711, y: -63 },
  1388. r: { x: -668, y: -63 },
  1389. bl: { x: -711, y: -28 },
  1390. bc: { x: -689.5, y: -28 },
  1391. br: { x: -668, y: -28 },
  1392. },
  1393. name: 'rect1',
  1394. title: '矩形',
  1395. type: 'File',
  1396. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1397. display: true,
  1398. props: {},
  1399. state: {
  1400. OnOff: {
  1401. title: '开关',
  1402. default: false,
  1403. props: { stroke: { openVal: '#ff0000', closeVal: '#ff0000' }, fill: { openVal: '#ff0000', closeVal: '#ff000000' } },
  1404. },
  1405. },
  1406. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1407. },
  1408. {
  1409. id: 'rect1sMuXufr2Gk',
  1410. x: -133.5,
  1411. y: -63,
  1412. client: { x: -133.5, y: -69 },
  1413. scale_x: 0.7082353259023925,
  1414. scale_y: 0.7259259095159254,
  1415. rotate: 0,
  1416. actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
  1417. point_coordinate: {
  1418. tl: { x: -155, y: -104 },
  1419. tc: { x: -133.5, y: -104 },
  1420. tr: { x: -112, y: -104 },
  1421. l: { x: -155, y: -69 },
  1422. r: { x: -112, y: -69 },
  1423. bl: { x: -155, y: -34 },
  1424. bc: { x: -133.5, y: -34 },
  1425. br: { x: -112, y: -34 },
  1426. },
  1427. name: 'rect1',
  1428. title: '矩形-copy',
  1429. type: 'File',
  1430. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1431. display: true,
  1432. props: {},
  1433. state: {
  1434. OnOff: {
  1435. title: '开关',
  1436. default: false,
  1437. props: { stroke: { openVal: '#ff0000', closeVal: '#ff0000' }, fill: { openVal: '#ff0000', closeVal: '#ff000000' } },
  1438. },
  1439. },
  1440. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1441. },
  1442. {
  1443. id: 'straight-linevfbRmEjOka',
  1444. x: -689.5,
  1445. y: -28,
  1446. client: { x: 452, y: 336 },
  1447. scale_x: 1,
  1448. scale_y: 1,
  1449. rotate: 0,
  1450. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1451. point_coordinate: {
  1452. tl: { x: -690, y: -57.5 },
  1453. tc: { x: -689.5, y: -57.5 },
  1454. tr: { x: -689, y: -57.5 },
  1455. l: { x: -690, y: -28 },
  1456. r: { x: -689, y: -28 },
  1457. bl: { x: -690, y: 1.5 },
  1458. bc: { x: -689.5, y: 1.5 },
  1459. br: { x: -689, y: 1.5 },
  1460. },
  1461. name: 'connection_line',
  1462. title: 'changeLine',
  1463. type: 'ConnectionLine',
  1464. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1465. display: true,
  1466. props: {
  1467. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  1468. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1469. point_position: {
  1470. title: '点坐标',
  1471. type: 'JsonEdit',
  1472. val: [
  1473. { x: 50, y: 50 },
  1474. { x: 49, y: 109 },
  1475. ],
  1476. },
  1477. },
  1478. animations: {
  1479. type: {
  1480. title: '动画类型',
  1481. type: 'Select',
  1482. val: 'None',
  1483. options: [
  1484. { label: '无', value: 'None' },
  1485. { label: '电流', value: 'Electricity' },
  1486. { label: '轨迹', value: 'Track' },
  1487. { label: '水珠', value: 'WaterDrop' },
  1488. ],
  1489. },
  1490. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1491. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1492. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1493. reverse: { title: '反转动画', type: 'Switch', val: false },
  1494. },
  1495. bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect1u3AJvpzHYv' }, end: null },
  1496. },
  1497. {
  1498. id: 'connection_line8SKNmdI7NY',
  1499. x: -133.5,
  1500. y: -27,
  1501. client: { x: -133.5, y: -27 },
  1502. scale_x: 1,
  1503. scale_y: 1,
  1504. rotate: 0,
  1505. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1506. point_coordinate: {
  1507. tl: { x: -134, y: -56.5 },
  1508. tc: { x: -133.5, y: -56.5 },
  1509. tr: { x: -133, y: -56.5 },
  1510. l: { x: -134, y: -27 },
  1511. r: { x: -133, y: -27 },
  1512. bl: { x: -134, y: 2.5 },
  1513. bc: { x: -133.5, y: 2.5 },
  1514. br: { x: -133, y: 2.5 },
  1515. },
  1516. name: 'connection_line',
  1517. title: 'changeLine',
  1518. type: 'ConnectionLine',
  1519. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1520. display: true,
  1521. props: {
  1522. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  1523. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1524. point_position: {
  1525. title: '点坐标',
  1526. type: 'JsonEdit',
  1527. val: [
  1528. { x: 50, y: 50 },
  1529. { x: 49, y: 109 },
  1530. ],
  1531. },
  1532. },
  1533. animations: {
  1534. type: {
  1535. title: '动画类型',
  1536. type: 'Select',
  1537. val: 'None',
  1538. options: [
  1539. { label: '无', value: 'None' },
  1540. { label: '电流', value: 'Electricity' },
  1541. { label: '轨迹', value: 'Track' },
  1542. { label: '水珠', value: 'WaterDrop' },
  1543. ],
  1544. },
  1545. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1546. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1547. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1548. reverse: { title: '反转动画', type: 'Switch', val: false },
  1549. },
  1550. bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect1u3AJvpzHYv' }, end: null },
  1551. },
  1552. {
  1553. id: 'electric-transformerRBBJGgk12b',
  1554. x: -687,
  1555. y: 81,
  1556. client: { x: -687, y: 81 },
  1557. scale_x: 1,
  1558. scale_y: 1,
  1559. rotate: 0,
  1560. actual_bound: { x: 1, y: 1, width: 88, height: 160 },
  1561. point_coordinate: {
  1562. tl: { x: -731, y: 1 },
  1563. tc: { x: -687, y: 1 },
  1564. tr: { x: -643, y: 1 },
  1565. l: { x: -731, y: 81 },
  1566. r: { x: -643, y: 81 },
  1567. bl: { x: -731, y: 161 },
  1568. bc: { x: -687, y: 161 },
  1569. br: { x: -643, y: 161 },
  1570. },
  1571. name: 'electric-transformer',
  1572. title: '变压器',
  1573. tag: 'electric-transformer',
  1574. type: 'CustomSvg',
  1575. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1576. display: true,
  1577. props: { isOpen: { title: '开关', type: 'Switch', val: false } },
  1578. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1579. },
  1580. {
  1581. id: 'electric-transformerWFdpgdmG1o',
  1582. x: -129,
  1583. y: 80,
  1584. client: { x: -129, y: 80 },
  1585. scale_x: 1,
  1586. scale_y: 1,
  1587. rotate: 0,
  1588. actual_bound: { x: 1, y: 1, width: 88, height: 160 },
  1589. point_coordinate: {
  1590. tl: { x: -173, y: 0 },
  1591. tc: { x: -129, y: 0 },
  1592. tr: { x: -85, y: 0 },
  1593. l: { x: -173, y: 80 },
  1594. r: { x: -85, y: 80 },
  1595. bl: { x: -173, y: 160 },
  1596. bc: { x: -129, y: 160 },
  1597. br: { x: -85, y: 160 },
  1598. },
  1599. name: 'electric-transformer',
  1600. title: '变压器-copy',
  1601. tag: 'electric-transformer',
  1602. type: 'CustomSvg',
  1603. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1604. display: true,
  1605. props: { isOpen: { title: '开关', type: 'Switch', val: false } },
  1606. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1607. },
  1608. {
  1609. id: 'straight-lineQunQ4hosc2',
  1610. x: -692,
  1611. y: 193,
  1612. client: { x: -692, y: 193 },
  1613. scale_x: 1,
  1614. scale_y: 1,
  1615. rotate: 0,
  1616. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1617. point_coordinate: {
  1618. tl: { x: -692, y: 114.5 },
  1619. tc: { x: -692, y: 114.5 },
  1620. tr: { x: -692, y: 114.5 },
  1621. l: { x: -692, y: 193 },
  1622. r: { x: -692, y: 193 },
  1623. bl: { x: -692, y: 271.5 },
  1624. bc: { x: -692, y: 271.5 },
  1625. br: { x: -692, y: 271.5 },
  1626. },
  1627. name: 'connection_line',
  1628. title: 'changeLine',
  1629. type: 'ConnectionLine',
  1630. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1631. display: true,
  1632. props: {
  1633. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  1634. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1635. point_position: {
  1636. title: '点坐标',
  1637. type: 'JsonEdit',
  1638. val: [
  1639. { x: 50, y: 50 },
  1640. { x: 50, y: 207 },
  1641. { x: 50, y: 207 },
  1642. ],
  1643. },
  1644. },
  1645. animations: {
  1646. type: {
  1647. title: '动画类型',
  1648. type: 'Select',
  1649. val: 'None',
  1650. options: [
  1651. { label: '无', value: 'None' },
  1652. { label: '电流', value: 'Electricity' },
  1653. { label: '轨迹', value: 'Track' },
  1654. { label: '水珠', value: 'WaterDrop' },
  1655. ],
  1656. },
  1657. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1658. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1659. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1660. reverse: { title: '反转动画', type: 'Switch', val: false },
  1661. },
  1662. bind_anchors: { start: { type: 'BottomCenter', target_id: 'electric-transformerRBBJGgk12b' }, end: null },
  1663. },
  1664. {
  1665. id: 'connection_lineVp68SNcEFL',
  1666. x: -132,
  1667. y: 192,
  1668. client: { x: -134, y: 193 },
  1669. scale_x: 1,
  1670. scale_y: 1,
  1671. rotate: 0,
  1672. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1673. point_coordinate: {
  1674. tl: { x: -134, y: 114.5 },
  1675. tc: { x: -134, y: 114.5 },
  1676. tr: { x: -134, y: 114.5 },
  1677. l: { x: -134, y: 193 },
  1678. r: { x: -134, y: 193 },
  1679. bl: { x: -134, y: 271.5 },
  1680. bc: { x: -134, y: 271.5 },
  1681. br: { x: -134, y: 271.5 },
  1682. },
  1683. name: 'connection_line',
  1684. title: 'changeLine',
  1685. type: 'ConnectionLine',
  1686. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1687. display: true,
  1688. props: {
  1689. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  1690. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1691. point_position: {
  1692. title: '点坐标',
  1693. type: 'JsonEdit',
  1694. val: [
  1695. { x: 50, y: 50 },
  1696. { x: 50, y: 207 },
  1697. { x: 50, y: 207 },
  1698. ],
  1699. },
  1700. },
  1701. animations: {
  1702. type: {
  1703. title: '动画类型',
  1704. type: 'Select',
  1705. val: 'None',
  1706. options: [
  1707. { label: '无', value: 'None' },
  1708. { label: '电流', value: 'Electricity' },
  1709. { label: '轨迹', value: 'Track' },
  1710. { label: '水珠', value: 'WaterDrop' },
  1711. ],
  1712. },
  1713. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1714. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1715. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1716. reverse: { title: '反转动画', type: 'Switch', val: false },
  1717. },
  1718. bind_anchors: { start: { type: 'BottomCenter', target_id: 'electric-transformerRBBJGgk12b' }, end: null },
  1719. },
  1720. {
  1721. id: 'rect2b2ua906HAT',
  1722. x: -695,
  1723. y: 266.5,
  1724. client: { x: -695, y: 266.5 },
  1725. scale_x: 0.677647070988322,
  1726. scale_y: 0.5039999846191411,
  1727. rotate: 0,
  1728. actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
  1729. point_coordinate: {
  1730. tl: { x: -727, y: 263 },
  1731. tc: { x: -695, y: 263 },
  1732. tr: { x: -663, y: 263 },
  1733. l: { x: -727, y: 266.5 },
  1734. r: { x: -663, y: 266.5 },
  1735. bl: { x: -727, y: 270 },
  1736. bc: { x: -695, y: 270 },
  1737. br: { x: -663, y: 270 },
  1738. },
  1739. name: 'rect2',
  1740. title: '矩形',
  1741. type: 'File',
  1742. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1743. display: true,
  1744. props: {},
  1745. state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
  1746. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1747. },
  1748. {
  1749. id: 'rect2iNmTsLMCnq',
  1750. x: -132,
  1751. y: 268.5,
  1752. client: { x: -132, y: 268.5 },
  1753. scale_x: 0.677647070988322,
  1754. scale_y: 0.5039999846191411,
  1755. rotate: 0,
  1756. actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
  1757. point_coordinate: {
  1758. tl: { x: -164, y: 265 },
  1759. tc: { x: -132, y: 265 },
  1760. tr: { x: -100, y: 265 },
  1761. l: { x: -164, y: 268.5 },
  1762. r: { x: -100, y: 268.5 },
  1763. bl: { x: -164, y: 272 },
  1764. bc: { x: -132, y: 272 },
  1765. br: { x: -100, y: 272 },
  1766. },
  1767. name: 'rect2',
  1768. title: '矩形-copy',
  1769. type: 'File',
  1770. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1771. display: true,
  1772. props: {},
  1773. state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
  1774. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1775. },
  1776. {
  1777. id: 'rectiQQbMJHYM9',
  1778. x: -692.5,
  1779. y: 388.5,
  1780. client: { x: -692.5, y: 388.5 },
  1781. scale_x: 0.7411765038513409,
  1782. scale_y: 0.7777777601956344,
  1783. rotate: 0,
  1784. actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
  1785. point_coordinate: {
  1786. tl: { x: -715, y: 351 },
  1787. tc: { x: -692.5, y: 351 },
  1788. tr: { x: -670, y: 351 },
  1789. l: { x: -715, y: 388.5 },
  1790. r: { x: -670, y: 388.5 },
  1791. bl: { x: -715, y: 426 },
  1792. bc: { x: -692.5, y: 426 },
  1793. br: { x: -670, y: 426 },
  1794. },
  1795. name: 'rect',
  1796. title: '矩形',
  1797. type: 'File',
  1798. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1799. display: true,
  1800. props: {},
  1801. state: {
  1802. OnOff: {
  1803. title: '开关',
  1804. default: false,
  1805. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  1806. },
  1807. },
  1808. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1809. },
  1810. {
  1811. id: 'rectjl8XE7uvYW',
  1812. x: -132.5,
  1813. y: 387.5,
  1814. client: { x: -132.5, y: 382.5 },
  1815. scale_x: 0.7411765038513409,
  1816. scale_y: 0.7777777601956344,
  1817. rotate: 0,
  1818. actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
  1819. point_coordinate: {
  1820. tl: { x: -155, y: 345 },
  1821. tc: { x: -132.5, y: 345 },
  1822. tr: { x: -110, y: 345 },
  1823. l: { x: -155, y: 382.5 },
  1824. r: { x: -110, y: 382.5 },
  1825. bl: { x: -155, y: 420 },
  1826. bc: { x: -132.5, y: 420 },
  1827. br: { x: -110, y: 420 },
  1828. },
  1829. name: 'rect',
  1830. title: '矩形-copy',
  1831. type: 'File',
  1832. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1833. display: true,
  1834. props: {},
  1835. state: {
  1836. OnOff: {
  1837. title: '开关',
  1838. default: false,
  1839. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  1840. },
  1841. },
  1842. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1843. },
  1844. {
  1845. id: 'arrow-linetgtW9T3tlM',
  1846. x: -693,
  1847. y: 477,
  1848. client: { x: -693, y: 477 },
  1849. scale_x: 1,
  1850. scale_y: 1,
  1851. rotate: 0,
  1852. actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
  1853. point_coordinate: {
  1854. tl: { x: -702.1135158538818, y: 429.05868911743164 },
  1855. tc: { x: -693, y: 429.05868911743164 },
  1856. tr: { x: -683.8864841461182, y: 429.05868911743164 },
  1857. l: { x: -702.1135158538818, y: 477 },
  1858. r: { x: -683.8864841461182, y: 477 },
  1859. bl: { x: -702.1135158538818, y: 524.9413108825684 },
  1860. bc: { x: -693, y: 524.9413108825684 },
  1861. br: { x: -683.8864841461182, y: 524.9413108825684 },
  1862. },
  1863. name: 'arrow-line',
  1864. title: '箭头1',
  1865. type: 'File',
  1866. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1867. display: true,
  1868. state: {
  1869. OnOff: {
  1870. title: '开关',
  1871. default: false,
  1872. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  1873. },
  1874. },
  1875. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1876. },
  1877. {
  1878. id: 'arrow-lineB8uDtRCKgx',
  1879. x: -133,
  1880. y: 477,
  1881. client: { x: -134, y: 476 },
  1882. scale_x: 1,
  1883. scale_y: 1,
  1884. rotate: 0,
  1885. actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
  1886. point_coordinate: {
  1887. tl: { x: -143.11351585388184, y: 428.05868911743164 },
  1888. tc: { x: -134, y: 428.05868911743164 },
  1889. tr: { x: -124.88648414611816, y: 428.05868911743164 },
  1890. l: { x: -143.11351585388184, y: 476 },
  1891. r: { x: -124.88648414611816, y: 476 },
  1892. bl: { x: -143.11351585388184, y: 523.9413108825684 },
  1893. bc: { x: -134, y: 523.9413108825684 },
  1894. br: { x: -124.88648414611816, y: 523.9413108825684 },
  1895. },
  1896. name: 'arrow-line',
  1897. title: '箭头1-copy',
  1898. type: 'File',
  1899. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  1900. display: true,
  1901. state: {
  1902. OnOff: {
  1903. title: '开关',
  1904. default: false,
  1905. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  1906. },
  1907. },
  1908. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  1909. },
  1910. {
  1911. id: 'straight-linewAYhKBlISA',
  1912. x: -693,
  1913. y: 524.9413108825684,
  1914. client: { x: 450, y: 889 },
  1915. scale_x: 1,
  1916. scale_y: 1,
  1917. rotate: 0,
  1918. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1919. point_coordinate: {
  1920. tl: { x: -742, y: 393.94131088256836 },
  1921. tc: { x: -693, y: 393.94131088256836 },
  1922. tr: { x: -644, y: 393.94131088256836 },
  1923. l: { x: -742, y: 524.9413108825684 },
  1924. r: { x: -644, y: 524.9413108825684 },
  1925. bl: { x: -742, y: 655.9413108825684 },
  1926. bc: { x: -693, y: 655.9413108825684 },
  1927. br: { x: -644, y: 655.9413108825684 },
  1928. },
  1929. name: 'connection_line',
  1930. title: 'changeLine',
  1931. type: 'ConnectionLine',
  1932. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1933. display: true,
  1934. props: {
  1935. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  1936. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1937. point_position: {
  1938. title: '点坐标',
  1939. type: 'JsonEdit',
  1940. val: [
  1941. { x: 50, y: 50 },
  1942. { x: 134, y: 50 },
  1943. { x: 135, y: -205 },
  1944. { x: 140, y: -209 },
  1945. ],
  1946. },
  1947. },
  1948. animations: {
  1949. type: {
  1950. title: '动画类型',
  1951. type: 'Select',
  1952. val: 'None',
  1953. options: [
  1954. { label: '无', value: 'None' },
  1955. { label: '电流', value: 'Electricity' },
  1956. { label: '轨迹', value: 'Track' },
  1957. { label: '水珠', value: 'WaterDrop' },
  1958. ],
  1959. },
  1960. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  1961. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  1962. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  1963. reverse: { title: '反转动画', type: 'Switch', val: false },
  1964. },
  1965. bind_anchors: { start: { type: 'BottomCenter', target_id: 'arrow-linetgtW9T3tlM' }, end: null },
  1966. },
  1967. {
  1968. id: 'connection_linezKEzYcoJeW',
  1969. x: -335,
  1970. y: 524.9413108825684,
  1971. client: { x: -335, y: 524.9413108825684 },
  1972. scale_x: 1,
  1973. scale_y: 1,
  1974. rotate: 0,
  1975. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  1976. point_coordinate: {
  1977. tl: { x: -388, y: 393.94131088256836 },
  1978. tc: { x: -335, y: 393.94131088256836 },
  1979. tr: { x: -282, y: 393.94131088256836 },
  1980. l: { x: -388, y: 524.9413108825684 },
  1981. r: { x: -282, y: 524.9413108825684 },
  1982. bl: { x: -388, y: 655.9413108825684 },
  1983. bc: { x: -335, y: 655.9413108825684 },
  1984. br: { x: -282, y: 655.9413108825684 },
  1985. },
  1986. name: 'connection_line',
  1987. title: 'changeLine',
  1988. type: 'ConnectionLine',
  1989. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  1990. display: true,
  1991. props: {
  1992. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  1993. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  1994. point_position: {
  1995. title: '点坐标',
  1996. type: 'JsonEdit',
  1997. val: [
  1998. { x: 253, y: 50 },
  1999. { x: 172, y: 51 },
  2000. { x: 173, y: -208 },
  2001. { x: 173, y: -208 },
  2002. ],
  2003. },
  2004. },
  2005. animations: {
  2006. type: {
  2007. title: '动画类型',
  2008. type: 'Select',
  2009. val: 'None',
  2010. options: [
  2011. { label: '无', value: 'None' },
  2012. { label: '电流', value: 'Electricity' },
  2013. { label: '轨迹', value: 'Track' },
  2014. { label: '水珠', value: 'WaterDrop' },
  2015. ],
  2016. },
  2017. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2018. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2019. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2020. reverse: { title: '反转动画', type: 'Switch', val: false },
  2021. },
  2022. bind_anchors: { start: { type: 'BottomCenter', target_id: 'arrow-linetgtW9T3tlM' }, end: null },
  2023. },
  2024. {
  2025. id: 'rect20w5PJBsB2x',
  2026. x: -539.5,
  2027. y: 268.5,
  2028. client: { x: -539.5, y: 268.5 },
  2029. scale_x: 1.810588267796923,
  2030. scale_y: 0.5039999846191411,
  2031. rotate: 0,
  2032. actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
  2033. point_coordinate: {
  2034. tl: { x: -625, y: 265 },
  2035. tc: { x: -539.5, y: 265 },
  2036. tr: { x: -454, y: 265 },
  2037. l: { x: -625, y: 268.5 },
  2038. r: { x: -454, y: 268.5 },
  2039. bl: { x: -625, y: 272 },
  2040. bc: { x: -539.5, y: 272 },
  2041. br: { x: -454, y: 272 },
  2042. },
  2043. name: 'rect2',
  2044. title: '矩形',
  2045. type: 'File',
  2046. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2047. display: true,
  2048. props: {},
  2049. state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
  2050. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2051. },
  2052. {
  2053. id: 'rect2RxYeI9K6JU',
  2054. x: -272.5,
  2055. y: 267.5,
  2056. client: { x: -272.5, y: 267.5 },
  2057. scale_x: 1.810588267796923,
  2058. scale_y: 0.5039999846191411,
  2059. rotate: 0,
  2060. actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
  2061. point_coordinate: {
  2062. tl: { x: -358, y: 264 },
  2063. tc: { x: -272.5, y: 264 },
  2064. tr: { x: -187, y: 264 },
  2065. l: { x: -358, y: 267.5 },
  2066. r: { x: -187, y: 267.5 },
  2067. bl: { x: -358, y: 271 },
  2068. bc: { x: -272.5, y: 271 },
  2069. br: { x: -187, y: 271 },
  2070. },
  2071. name: 'rect2',
  2072. title: '矩形-copy',
  2073. type: 'File',
  2074. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2075. display: true,
  2076. props: {},
  2077. state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
  2078. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2079. },
  2080. {
  2081. id: 'custom-svg-text662jqUKDwd',
  2082. x: -102,
  2083. y: -64,
  2084. client: { x: -102, y: -64 },
  2085. scale_x: 1,
  2086. scale_y: 1,
  2087. rotate: 0,
  2088. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  2089. point_coordinate: {
  2090. tl: { x: -117.5, y: -74 },
  2091. tc: { x: -102, y: -74 },
  2092. tr: { x: -86.5, y: -74 },
  2093. l: { x: -117.5, y: -64 },
  2094. r: { x: -86.5, y: -64 },
  2095. bl: { x: -117.5, y: -54 },
  2096. bc: { x: -102, y: -54 },
  2097. br: { x: -86.5, y: -54 },
  2098. },
  2099. name: 'custom-svg-text',
  2100. title: '文字',
  2101. tag: 'custom-svg-text',
  2102. type: 'CustomSvg',
  2103. display: true,
  2104. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2105. props: {
  2106. text: { title: '文字内容', type: 'Input', val: '主风机移变' },
  2107. fontFamily: {
  2108. title: '字体',
  2109. type: 'Select',
  2110. val: 'Microsoft YaHei',
  2111. options: [
  2112. { value: 'Microsoft YaHei', label: '微软雅黑' },
  2113. { value: 'NSimSun', label: '新宋体' },
  2114. ],
  2115. },
  2116. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  2117. fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
  2118. },
  2119. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2120. },
  2121. {
  2122. id: 'straight-lineqQLg7eRl0i',
  2123. x: -502,
  2124. y: 295,
  2125. client: { x: -485, y: 314 },
  2126. scale_x: 1,
  2127. scale_y: 1,
  2128. rotate: 0,
  2129. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2130. point_coordinate: {
  2131. tl: { x: -512, y: 314 },
  2132. tc: { x: -485, y: 314 },
  2133. tr: { x: -458, y: 314 },
  2134. l: { x: -512, y: 314 },
  2135. r: { x: -458, y: 314 },
  2136. bl: { x: -512, y: 314 },
  2137. bc: { x: -485, y: 314 },
  2138. br: { x: -458, y: 314 },
  2139. },
  2140. name: 'connection_line',
  2141. title: 'changeLine',
  2142. type: 'ConnectionLine',
  2143. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2144. display: true,
  2145. props: {
  2146. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2147. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2148. point_position: {
  2149. title: '点坐标',
  2150. type: 'JsonEdit',
  2151. val: [
  2152. { x: 51, y: 50 },
  2153. { x: 97, y: 50 },
  2154. ],
  2155. },
  2156. },
  2157. animations: {
  2158. type: {
  2159. title: '动画类型',
  2160. type: 'Select',
  2161. val: 'None',
  2162. options: [
  2163. { label: '无', value: 'None' },
  2164. { label: '电流', value: 'Electricity' },
  2165. { label: '轨迹', value: 'Track' },
  2166. { label: '水珠', value: 'WaterDrop' },
  2167. ],
  2168. },
  2169. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2170. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2171. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2172. reverse: { title: '反转动画', type: 'Switch', val: false },
  2173. },
  2174. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2175. },
  2176. {
  2177. id: 'connection_linek2NgvxH4Nd',
  2178. x: -554,
  2179. y: 294,
  2180. client: { x: -538, y: 313 },
  2181. scale_x: 1,
  2182. scale_y: 1,
  2183. rotate: 0,
  2184. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2185. point_coordinate: {
  2186. tl: { x: -565, y: 313 },
  2187. tc: { x: -538, y: 313 },
  2188. tr: { x: -511, y: 313 },
  2189. l: { x: -565, y: 313 },
  2190. r: { x: -511, y: 313 },
  2191. bl: { x: -565, y: 313 },
  2192. bc: { x: -538, y: 313 },
  2193. br: { x: -511, y: 313 },
  2194. },
  2195. name: 'connection_line',
  2196. title: 'changeLine',
  2197. type: 'ConnectionLine',
  2198. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2199. display: true,
  2200. props: {
  2201. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2202. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2203. point_position: {
  2204. title: '点坐标',
  2205. type: 'JsonEdit',
  2206. val: [
  2207. { x: 59, y: 51 },
  2208. { x: 103, y: 51 },
  2209. ],
  2210. },
  2211. },
  2212. animations: {
  2213. type: {
  2214. title: '动画类型',
  2215. type: 'Select',
  2216. val: 'None',
  2217. options: [
  2218. { label: '无', value: 'None' },
  2219. { label: '电流', value: 'Electricity' },
  2220. { label: '轨迹', value: 'Track' },
  2221. { label: '水珠', value: 'WaterDrop' },
  2222. ],
  2223. },
  2224. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2225. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2226. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2227. reverse: { title: '反转动画', type: 'Switch', val: false },
  2228. },
  2229. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2230. },
  2231. {
  2232. id: 'connection_lineZu9slDCUUd',
  2233. x: -321,
  2234. y: 293,
  2235. client: { x: -321, y: 314 },
  2236. scale_x: 1,
  2237. scale_y: 1,
  2238. rotate: 0,
  2239. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2240. point_coordinate: {
  2241. tl: { x: -343.5, y: 314 },
  2242. tc: { x: -321, y: 314 },
  2243. tr: { x: -298.5, y: 314 },
  2244. l: { x: -343.5, y: 314 },
  2245. r: { x: -298.5, y: 314 },
  2246. bl: { x: -343.5, y: 314 },
  2247. bc: { x: -321, y: 314 },
  2248. br: { x: -298.5, y: 314 },
  2249. },
  2250. name: 'connection_line',
  2251. title: 'changeLine',
  2252. type: 'ConnectionLine',
  2253. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2254. display: true,
  2255. props: {
  2256. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2257. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2258. point_position: {
  2259. title: '点坐标',
  2260. type: 'JsonEdit',
  2261. val: [
  2262. { x: 50, y: 50 },
  2263. { x: 95, y: 50 },
  2264. ],
  2265. },
  2266. },
  2267. animations: {
  2268. type: {
  2269. title: '动画类型',
  2270. type: 'Select',
  2271. val: 'None',
  2272. options: [
  2273. { label: '无', value: 'None' },
  2274. { label: '电流', value: 'Electricity' },
  2275. { label: '轨迹', value: 'Track' },
  2276. { label: '水珠', value: 'WaterDrop' },
  2277. ],
  2278. },
  2279. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2280. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2281. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2282. reverse: { title: '反转动画', type: 'Switch', val: false },
  2283. },
  2284. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2285. },
  2286. {
  2287. id: 'connection_linelZOGc5aG2N',
  2288. x: -375,
  2289. y: 292,
  2290. client: { x: -399, y: 313 },
  2291. scale_x: 1,
  2292. scale_y: 1,
  2293. rotate: 0,
  2294. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2295. point_coordinate: {
  2296. tl: { x: -426, y: 313 },
  2297. tc: { x: -399, y: 313 },
  2298. tr: { x: -372, y: 313 },
  2299. l: { x: -426, y: 313 },
  2300. r: { x: -372, y: 313 },
  2301. bl: { x: -426, y: 313 },
  2302. bc: { x: -399, y: 313 },
  2303. br: { x: -372, y: 313 },
  2304. },
  2305. name: 'connection_line',
  2306. title: 'changeLine',
  2307. type: 'ConnectionLine',
  2308. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2309. display: true,
  2310. props: {
  2311. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2312. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2313. point_position: {
  2314. title: '点坐标',
  2315. type: 'JsonEdit',
  2316. val: [
  2317. { x: 61, y: 51 },
  2318. { x: 103, y: 51 },
  2319. ],
  2320. },
  2321. },
  2322. animations: {
  2323. type: {
  2324. title: '动画类型',
  2325. type: 'Select',
  2326. val: 'None',
  2327. options: [
  2328. { label: '无', value: 'None' },
  2329. { label: '电流', value: 'Electricity' },
  2330. { label: '轨迹', value: 'Track' },
  2331. { label: '水珠', value: 'WaterDrop' },
  2332. ],
  2333. },
  2334. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2335. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2336. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2337. reverse: { title: '反转动画', type: 'Switch', val: false },
  2338. },
  2339. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2340. },
  2341. {
  2342. id: 'connection_linePOFwnnzvAq',
  2343. x: -546,
  2344. y: 343,
  2345. client: { x: -546, y: 365 },
  2346. scale_x: 1,
  2347. scale_y: 1,
  2348. rotate: 0,
  2349. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2350. point_coordinate: {
  2351. tl: { x: -546.5, y: 342.5 },
  2352. tc: { x: -546, y: 342.5 },
  2353. tr: { x: -545.5, y: 342.5 },
  2354. l: { x: -546.5, y: 365 },
  2355. r: { x: -545.5, y: 365 },
  2356. bl: { x: -546.5, y: 387.5 },
  2357. bc: { x: -546, y: 387.5 },
  2358. br: { x: -545.5, y: 387.5 },
  2359. },
  2360. name: 'connection_line',
  2361. title: 'changeLine',
  2362. type: 'ConnectionLine',
  2363. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2364. display: true,
  2365. props: {
  2366. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2367. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2368. point_position: {
  2369. title: '点坐标',
  2370. type: 'JsonEdit',
  2371. val: [
  2372. { x: 51, y: 32 },
  2373. { x: 51, y: 2 },
  2374. ],
  2375. },
  2376. },
  2377. animations: {
  2378. type: {
  2379. title: '动画类型',
  2380. type: 'Select',
  2381. val: 'None',
  2382. options: [
  2383. { label: '无', value: 'None' },
  2384. { label: '电流', value: 'Electricity' },
  2385. { label: '轨迹', value: 'Track' },
  2386. { label: '水珠', value: 'WaterDrop' },
  2387. ],
  2388. },
  2389. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2390. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2391. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2392. reverse: { title: '反转动画', type: 'Switch', val: false },
  2393. },
  2394. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2395. },
  2396. {
  2397. id: 'electric-breakerfztlV6HGOI',
  2398. x: -568,
  2399. y: 375,
  2400. client: { x: -568, y: 393 },
  2401. scale_x: 1,
  2402. scale_y: 1,
  2403. rotate: 0,
  2404. actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
  2405. point_coordinate: {
  2406. tl: { x: -590.0588989257812, y: 343.82001876831055 },
  2407. tc: { x: -568, y: 343.82001876831055 },
  2408. tr: { x: -545.9411010742188, y: 343.82001876831055 },
  2409. l: { x: -590.0588989257812, y: 393 },
  2410. r: { x: -545.9411010742188, y: 393 },
  2411. bl: { x: -590.0588989257812, y: 442.17998123168945 },
  2412. bc: { x: -568, y: 442.17998123168945 },
  2413. br: { x: -545.9411010742188, y: 442.17998123168945 },
  2414. },
  2415. name: 'electric-breaker',
  2416. title: '电源断路器',
  2417. tag: 'electric-breaker',
  2418. type: 'CustomSvg',
  2419. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2420. display: true,
  2421. props: {
  2422. stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
  2423. fill: { title: '填充色', type: 'Color', val: '#00ff00' },
  2424. isOpen: { title: '开关', type: 'Switch', val: false },
  2425. },
  2426. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2427. },
  2428. {
  2429. id: 'connection_line26MoSsACzZ',
  2430. x: -456,
  2431. y: 343,
  2432. client: { x: -456, y: 365 },
  2433. scale_x: 1,
  2434. scale_y: 1,
  2435. rotate: 0,
  2436. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2437. point_coordinate: {
  2438. tl: { x: -456.5, y: 342.5 },
  2439. tc: { x: -456, y: 342.5 },
  2440. tr: { x: -455.5, y: 342.5 },
  2441. l: { x: -456.5, y: 365 },
  2442. r: { x: -455.5, y: 365 },
  2443. bl: { x: -456.5, y: 387.5 },
  2444. bc: { x: -456, y: 387.5 },
  2445. br: { x: -455.5, y: 387.5 },
  2446. },
  2447. name: 'connection_line',
  2448. title: 'changeLine',
  2449. type: 'ConnectionLine',
  2450. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2451. display: true,
  2452. props: {
  2453. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2454. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2455. point_position: {
  2456. title: '点坐标',
  2457. type: 'JsonEdit',
  2458. val: [
  2459. { x: 50, y: 33 },
  2460. { x: 51, y: 2 },
  2461. ],
  2462. },
  2463. },
  2464. animations: {
  2465. type: {
  2466. title: '动画类型',
  2467. type: 'Select',
  2468. val: 'None',
  2469. options: [
  2470. { label: '无', value: 'None' },
  2471. { label: '电流', value: 'Electricity' },
  2472. { label: '轨迹', value: 'Track' },
  2473. { label: '水珠', value: 'WaterDrop' },
  2474. ],
  2475. },
  2476. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2477. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2478. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2479. reverse: { title: '反转动画', type: 'Switch', val: false },
  2480. },
  2481. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2482. },
  2483. {
  2484. id: 'electric-breakeraE7ngUn8TD',
  2485. x: -478,
  2486. y: 374,
  2487. client: { x: -478, y: 391 },
  2488. scale_x: 1,
  2489. scale_y: 1,
  2490. rotate: 0,
  2491. actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
  2492. point_coordinate: {
  2493. tl: { x: -500.05889892578125, y: 341.82001876831055 },
  2494. tc: { x: -478, y: 341.82001876831055 },
  2495. tr: { x: -455.94110107421875, y: 341.82001876831055 },
  2496. l: { x: -500.05889892578125, y: 391 },
  2497. r: { x: -455.94110107421875, y: 391 },
  2498. bl: { x: -500.05889892578125, y: 440.17998123168945 },
  2499. bc: { x: -478, y: 440.17998123168945 },
  2500. br: { x: -455.94110107421875, y: 440.17998123168945 },
  2501. },
  2502. name: 'electric-breaker',
  2503. title: '电源断路器-copy',
  2504. tag: 'electric-breaker',
  2505. type: 'CustomSvg',
  2506. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2507. display: true,
  2508. props: {
  2509. stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
  2510. fill: { title: '填充色', type: 'Color', val: '#00ff00' },
  2511. isOpen: { title: '开关', type: 'Switch', val: false },
  2512. },
  2513. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2514. },
  2515. {
  2516. id: 'connection_lineibxBHM0S9F',
  2517. x: -364,
  2518. y: 339,
  2519. client: { x: -367, y: 363 },
  2520. scale_x: 1,
  2521. scale_y: 1,
  2522. rotate: 0,
  2523. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2524. point_coordinate: {
  2525. tl: { x: -367.5, y: 340.5 },
  2526. tc: { x: -367, y: 340.5 },
  2527. tr: { x: -366.5, y: 340.5 },
  2528. l: { x: -367.5, y: 363 },
  2529. r: { x: -366.5, y: 363 },
  2530. bl: { x: -367.5, y: 385.5 },
  2531. bc: { x: -367, y: 385.5 },
  2532. br: { x: -366.5, y: 385.5 },
  2533. },
  2534. name: 'connection_line',
  2535. title: 'changeLine',
  2536. type: 'ConnectionLine',
  2537. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2538. display: true,
  2539. props: {
  2540. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2541. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2542. point_position: {
  2543. title: '点坐标',
  2544. type: 'JsonEdit',
  2545. val: [
  2546. { x: 50, y: 36 },
  2547. { x: 51, y: 2 },
  2548. ],
  2549. },
  2550. },
  2551. animations: {
  2552. type: {
  2553. title: '动画类型',
  2554. type: 'Select',
  2555. val: 'None',
  2556. options: [
  2557. { label: '无', value: 'None' },
  2558. { label: '电流', value: 'Electricity' },
  2559. { label: '轨迹', value: 'Track' },
  2560. { label: '水珠', value: 'WaterDrop' },
  2561. ],
  2562. },
  2563. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2564. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2565. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2566. reverse: { title: '反转动画', type: 'Switch', val: false },
  2567. },
  2568. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2569. },
  2570. {
  2571. id: 'connection_lineJUvw4pt6ft',
  2572. x: -277,
  2573. y: 339,
  2574. client: { x: -277, y: 360 },
  2575. scale_x: 1,
  2576. scale_y: 1,
  2577. rotate: 0,
  2578. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  2579. point_coordinate: {
  2580. tl: { x: -277.5, y: 337.5 },
  2581. tc: { x: -277, y: 337.5 },
  2582. tr: { x: -276.5, y: 337.5 },
  2583. l: { x: -277.5, y: 360 },
  2584. r: { x: -276.5, y: 360 },
  2585. bl: { x: -277.5, y: 382.5 },
  2586. bc: { x: -277, y: 382.5 },
  2587. br: { x: -276.5, y: 382.5 },
  2588. },
  2589. name: 'connection_line',
  2590. title: 'changeLine',
  2591. type: 'ConnectionLine',
  2592. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  2593. display: true,
  2594. props: {
  2595. stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
  2596. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  2597. point_position: {
  2598. title: '点坐标',
  2599. type: 'JsonEdit',
  2600. val: [
  2601. { x: 50, y: 37 },
  2602. { x: 51, y: 2 },
  2603. ],
  2604. },
  2605. },
  2606. animations: {
  2607. type: {
  2608. title: '动画类型',
  2609. type: 'Select',
  2610. val: 'None',
  2611. options: [
  2612. { label: '无', value: 'None' },
  2613. { label: '电流', value: 'Electricity' },
  2614. { label: '轨迹', value: 'Track' },
  2615. { label: '水珠', value: 'WaterDrop' },
  2616. ],
  2617. },
  2618. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  2619. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  2620. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  2621. reverse: { title: '反转动画', type: 'Switch', val: false },
  2622. },
  2623. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
  2624. },
  2625. {
  2626. id: 'electric-breakerO6pjkUkcp7',
  2627. x: -386,
  2628. y: 376,
  2629. client: { x: -386, y: 392 },
  2630. scale_x: 1,
  2631. scale_y: 1,
  2632. rotate: 0,
  2633. actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
  2634. point_coordinate: {
  2635. tl: { x: -408.05889892578125, y: 342.82001876831055 },
  2636. tc: { x: -386, y: 342.82001876831055 },
  2637. tr: { x: -363.94110107421875, y: 342.82001876831055 },
  2638. l: { x: -408.05889892578125, y: 392 },
  2639. r: { x: -363.94110107421875, y: 392 },
  2640. bl: { x: -408.05889892578125, y: 441.17998123168945 },
  2641. bc: { x: -386, y: 441.17998123168945 },
  2642. br: { x: -363.94110107421875, y: 441.17998123168945 },
  2643. },
  2644. name: 'electric-breaker',
  2645. title: '电源断路器-copy-copy',
  2646. tag: 'electric-breaker',
  2647. type: 'CustomSvg',
  2648. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2649. display: true,
  2650. props: {
  2651. stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
  2652. fill: { title: '填充色', type: 'Color', val: '#00ff00' },
  2653. isOpen: { title: '开关', type: 'Switch', val: false },
  2654. },
  2655. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2656. },
  2657. {
  2658. id: 'electric-breakerzbNanrnQvI',
  2659. x: -301,
  2660. y: 375,
  2661. client: { x: -301, y: 375 },
  2662. scale_x: 1,
  2663. scale_y: 1,
  2664. rotate: 0,
  2665. actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
  2666. point_coordinate: {
  2667. tl: { x: -323.05889892578125, y: 325.82001876831055 },
  2668. tc: { x: -301, y: 325.82001876831055 },
  2669. tr: { x: -278.94110107421875, y: 325.82001876831055 },
  2670. l: { x: -323.05889892578125, y: 375 },
  2671. r: { x: -278.94110107421875, y: 375 },
  2672. bl: { x: -323.05889892578125, y: 424.17998123168945 },
  2673. bc: { x: -301, y: 424.17998123168945 },
  2674. br: { x: -278.94110107421875, y: 424.17998123168945 },
  2675. },
  2676. name: 'electric-breaker',
  2677. title: '电源断路器-copy-copy-copy',
  2678. tag: 'electric-breaker',
  2679. type: 'CustomSvg',
  2680. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2681. display: true,
  2682. props: {
  2683. stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
  2684. fill: { title: '填充色', type: 'Color', val: '#00ff00' },
  2685. isOpen: { title: '开关', type: 'Switch', val: false },
  2686. },
  2687. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2688. },
  2689. {
  2690. id: 'arrow-line5bLLa1fo6m',
  2691. x: -547,
  2692. y: 471,
  2693. client: { x: -547, y: 488 },
  2694. scale_x: 1,
  2695. scale_y: 1,
  2696. rotate: 0,
  2697. actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
  2698. point_coordinate: {
  2699. tl: { x: -556.1135158538818, y: 440.05868911743164 },
  2700. tc: { x: -547, y: 440.05868911743164 },
  2701. tr: { x: -537.8864841461182, y: 440.05868911743164 },
  2702. l: { x: -556.1135158538818, y: 488 },
  2703. r: { x: -537.8864841461182, y: 488 },
  2704. bl: { x: -556.1135158538818, y: 535.9413108825684 },
  2705. bc: { x: -547, y: 535.9413108825684 },
  2706. br: { x: -537.8864841461182, y: 535.9413108825684 },
  2707. },
  2708. name: 'arrow-line',
  2709. title: '箭头1',
  2710. type: 'File',
  2711. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2712. display: true,
  2713. state: {
  2714. OnOff: {
  2715. title: '开关',
  2716. default: false,
  2717. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  2718. },
  2719. },
  2720. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2721. },
  2722. {
  2723. id: 'arrow-lineqPB3ix7BkL',
  2724. x: -457,
  2725. y: 472,
  2726. client: { x: -457, y: 472 },
  2727. scale_x: 1,
  2728. scale_y: 1,
  2729. rotate: 0,
  2730. actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
  2731. point_coordinate: {
  2732. tl: { x: -466.11351585388184, y: 424.05868911743164 },
  2733. tc: { x: -457, y: 424.05868911743164 },
  2734. tr: { x: -447.88648414611816, y: 424.05868911743164 },
  2735. l: { x: -466.11351585388184, y: 472 },
  2736. r: { x: -447.88648414611816, y: 472 },
  2737. bl: { x: -466.11351585388184, y: 519.9413108825684 },
  2738. bc: { x: -457, y: 519.9413108825684 },
  2739. br: { x: -447.88648414611816, y: 519.9413108825684 },
  2740. },
  2741. name: 'arrow-line',
  2742. title: '箭头1-copy',
  2743. type: 'File',
  2744. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2745. display: true,
  2746. state: {
  2747. OnOff: {
  2748. title: '开关',
  2749. default: false,
  2750. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  2751. },
  2752. },
  2753. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2754. },
  2755. {
  2756. id: 'arrow-lineBoydWOHHmr',
  2757. x: -366,
  2758. y: 471,
  2759. client: { x: -366, y: 471 },
  2760. scale_x: 1,
  2761. scale_y: 1,
  2762. rotate: 0,
  2763. actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
  2764. point_coordinate: {
  2765. tl: { x: -375.11351585388184, y: 423.05868911743164 },
  2766. tc: { x: -366, y: 423.05868911743164 },
  2767. tr: { x: -356.88648414611816, y: 423.05868911743164 },
  2768. l: { x: -375.11351585388184, y: 471 },
  2769. r: { x: -356.88648414611816, y: 471 },
  2770. bl: { x: -375.11351585388184, y: 518.9413108825684 },
  2771. bc: { x: -366, y: 518.9413108825684 },
  2772. br: { x: -356.88648414611816, y: 518.9413108825684 },
  2773. },
  2774. name: 'arrow-line',
  2775. title: '箭头1-copy-copy',
  2776. type: 'File',
  2777. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2778. display: true,
  2779. state: {
  2780. OnOff: {
  2781. title: '开关',
  2782. default: false,
  2783. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  2784. },
  2785. },
  2786. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2787. },
  2788. {
  2789. id: 'arrow-line5waKsA7PHF',
  2790. x: -280,
  2791. y: 473,
  2792. client: { x: -282, y: 473 },
  2793. scale_x: 1,
  2794. scale_y: 1,
  2795. rotate: 0,
  2796. actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
  2797. point_coordinate: {
  2798. tl: { x: -291.11351585388184, y: 425.05868911743164 },
  2799. tc: { x: -282, y: 425.05868911743164 },
  2800. tr: { x: -272.88648414611816, y: 425.05868911743164 },
  2801. l: { x: -291.11351585388184, y: 473 },
  2802. r: { x: -272.88648414611816, y: 473 },
  2803. bl: { x: -291.11351585388184, y: 520.9413108825684 },
  2804. bc: { x: -282, y: 520.9413108825684 },
  2805. br: { x: -272.88648414611816, y: 520.9413108825684 },
  2806. },
  2807. name: 'arrow-line',
  2808. title: '箭头1-copy-copy-copy',
  2809. type: 'File',
  2810. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2811. display: true,
  2812. state: {
  2813. OnOff: {
  2814. title: '开关',
  2815. default: false,
  2816. props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
  2817. },
  2818. },
  2819. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2820. },
  2821. {
  2822. id: 'custom-svg-text9mE6DlRsxq',
  2823. x: -662,
  2824. y: -63,
  2825. client: { x: -662, y: -63 },
  2826. scale_x: 1,
  2827. scale_y: 1,
  2828. rotate: 0,
  2829. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  2830. point_coordinate: {
  2831. tl: { x: -700, y: -73 },
  2832. tc: { x: -662, y: -73 },
  2833. tr: { x: -624, y: -73 },
  2834. l: { x: -700, y: -63 },
  2835. r: { x: -624, y: -63 },
  2836. bl: { x: -700, y: -53 },
  2837. bc: { x: -662, y: -53 },
  2838. br: { x: -624, y: -53 },
  2839. },
  2840. name: 'custom-svg-text',
  2841. title: '文字-copy',
  2842. tag: 'custom-svg-text',
  2843. type: 'CustomSvg',
  2844. display: true,
  2845. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2846. props: {
  2847. text: { title: '文字内容', type: 'Input', val: '备风机移变' },
  2848. fontFamily: {
  2849. title: '字体',
  2850. type: 'Select',
  2851. val: 'Microsoft YaHei',
  2852. options: [
  2853. { value: 'Microsoft YaHei', label: '微软雅黑' },
  2854. { value: 'NSimSun', label: '新宋体' },
  2855. ],
  2856. },
  2857. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  2858. fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
  2859. },
  2860. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2861. },
  2862. {
  2863. id: 'custom-svg-textffQAK2KK7l',
  2864. x: -512,
  2865. y: 313,
  2866. client: { x: -512, y: 313 },
  2867. scale_x: 1,
  2868. scale_y: 1,
  2869. rotate: 0,
  2870. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  2871. point_coordinate: {
  2872. tl: { x: -524.4000005722046, y: 297 },
  2873. tc: { x: -512, y: 297 },
  2874. tr: { x: -499.5999994277954, y: 297 },
  2875. l: { x: -524.4000005722046, y: 313 },
  2876. r: { x: -499.5999994277954, y: 313 },
  2877. bl: { x: -524.4000005722046, y: 329 },
  2878. bc: { x: -512, y: 329 },
  2879. br: { x: -499.5999994277954, y: 329 },
  2880. },
  2881. name: 'custom-svg-text',
  2882. title: '文字',
  2883. tag: 'custom-svg-text',
  2884. type: 'CustomSvg',
  2885. display: true,
  2886. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2887. props: {
  2888. text: { title: '文字内容', type: 'Input', val: '备' },
  2889. fontFamily: {
  2890. title: '字体',
  2891. type: 'Select',
  2892. val: 'Microsoft YaHei',
  2893. options: [
  2894. { value: 'Microsoft YaHei', label: '微软雅黑' },
  2895. { value: 'NSimSun', label: '新宋体' },
  2896. ],
  2897. },
  2898. fontSize: { title: '文字大小', type: 'InputNumber', val: 24 },
  2899. fill: { title: '文字颜色', type: 'Color', val: '#00DDFF' },
  2900. },
  2901. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2902. },
  2903. {
  2904. id: 'custom-svg-textErE3B1l7S1',
  2905. x: -334,
  2906. y: 312,
  2907. client: { x: -334, y: 312 },
  2908. scale_x: 1,
  2909. scale_y: 1,
  2910. rotate: 0,
  2911. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  2912. point_coordinate: {
  2913. tl: { x: -346.4000005722046, y: 296 },
  2914. tc: { x: -334, y: 296 },
  2915. tr: { x: -321.5999994277954, y: 296 },
  2916. l: { x: -346.4000005722046, y: 312 },
  2917. r: { x: -321.5999994277954, y: 312 },
  2918. bl: { x: -346.4000005722046, y: 328 },
  2919. bc: { x: -334, y: 328 },
  2920. br: { x: -321.5999994277954, y: 328 },
  2921. },
  2922. name: 'custom-svg-text',
  2923. title: '文字-copy',
  2924. tag: 'custom-svg-text',
  2925. type: 'CustomSvg',
  2926. display: true,
  2927. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2928. props: {
  2929. text: { title: '文字内容', type: 'Input', val: '主' },
  2930. fontFamily: {
  2931. title: '字体',
  2932. type: 'Select',
  2933. val: 'Microsoft YaHei',
  2934. options: [
  2935. { value: 'Microsoft YaHei', label: '微软雅黑' },
  2936. { value: 'NSimSun', label: '新宋体' },
  2937. ],
  2938. },
  2939. fontSize: { title: '文字大小', type: 'InputNumber', val: 24 },
  2940. fill: { title: '文字颜色', type: 'Color', val: '#00DDFF' },
  2941. },
  2942. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2943. },
  2944. {
  2945. id: 'custom-svg-textIjsFbs6fID',
  2946. x: -675,
  2947. y: -172,
  2948. client: { x: -675, y: -172 },
  2949. scale_x: 1,
  2950. scale_y: 1,
  2951. rotate: 0,
  2952. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  2953. point_coordinate: {
  2954. tl: { x: -782.466552734375, y: -182 },
  2955. tc: { x: -675, y: -182 },
  2956. tr: { x: -567.533447265625, y: -182 },
  2957. l: { x: -782.466552734375, y: -172 },
  2958. r: { x: -567.533447265625, y: -172 },
  2959. bl: { x: -782.466552734375, y: -162 },
  2960. bc: { x: -675, y: -162 },
  2961. br: { x: -567.533447265625, y: -162 },
  2962. },
  2963. name: 'custom-svg-text',
  2964. title: '文字',
  2965. tag: 'custom-svg-text',
  2966. type: 'CustomSvg',
  2967. display: true,
  2968. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  2969. props: {
  2970. text: { title: '文字内容', type: 'Input', val: '来在12煤三盘区变电所G1211柜' },
  2971. fontFamily: {
  2972. title: '字体',
  2973. type: 'Select',
  2974. val: 'Microsoft YaHei',
  2975. options: [
  2976. { value: 'Microsoft YaHei', label: '微软雅黑' },
  2977. { value: 'NSimSun', label: '新宋体' },
  2978. ],
  2979. },
  2980. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  2981. fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
  2982. },
  2983. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  2984. },
  2985. {
  2986. id: 'custom-svg-textWilG5jRH7w',
  2987. x: -353,
  2988. y: -172,
  2989. client: { x: -353, y: -172 },
  2990. scale_x: 1,
  2991. scale_y: 1,
  2992. rotate: 0,
  2993. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  2994. point_coordinate: {
  2995. tl: { x: -460.466552734375, y: -182 },
  2996. tc: { x: -353, y: -182 },
  2997. tr: { x: -245.533447265625, y: -182 },
  2998. l: { x: -460.466552734375, y: -172 },
  2999. r: { x: -245.533447265625, y: -172 },
  3000. bl: { x: -460.466552734375, y: -162 },
  3001. bc: { x: -353, y: -162 },
  3002. br: { x: -245.533447265625, y: -162 },
  3003. },
  3004. name: 'custom-svg-text',
  3005. title: '文字-copy',
  3006. tag: 'custom-svg-text',
  3007. type: 'CustomSvg',
  3008. display: true,
  3009. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3010. props: {
  3011. text: { title: '文字内容', type: 'Input', val: '来在12煤三盘区变电所G1107柜' },
  3012. fontFamily: {
  3013. title: '字体',
  3014. type: 'Select',
  3015. val: 'Microsoft YaHei',
  3016. options: [
  3017. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3018. { value: 'NSimSun', label: '新宋体' },
  3019. ],
  3020. },
  3021. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3022. fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
  3023. },
  3024. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3025. },
  3026. {
  3027. id: 'custom-svg-textcxjU8wN810',
  3028. x: -137,
  3029. y: 553,
  3030. client: { x: -137, y: 553 },
  3031. scale_x: 1,
  3032. scale_y: 1,
  3033. rotate: 0,
  3034. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3035. point_coordinate: {
  3036. tl: { x: -152.5, y: 543 },
  3037. tc: { x: -137, y: 543 },
  3038. tr: { x: -121.5, y: 543 },
  3039. l: { x: -152.5, y: 553 },
  3040. r: { x: -121.5, y: 553 },
  3041. bl: { x: -152.5, y: 563 },
  3042. bc: { x: -137, y: 563 },
  3043. br: { x: -121.5, y: 563 },
  3044. },
  3045. name: 'custom-svg-text',
  3046. title: '文字',
  3047. tag: 'custom-svg-text',
  3048. type: 'CustomSvg',
  3049. display: true,
  3050. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3051. props: {
  3052. text: { title: '文字内容', type: 'Input', val: '主风机馈电' },
  3053. fontFamily: {
  3054. title: '字体',
  3055. type: 'Select',
  3056. val: 'Microsoft YaHei',
  3057. options: [
  3058. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3059. { value: 'NSimSun', label: '新宋体' },
  3060. ],
  3061. },
  3062. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3063. fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
  3064. },
  3065. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3066. },
  3067. {
  3068. id: 'custom-svg-textHXkhPmUMWE',
  3069. x: -742,
  3070. y: 551,
  3071. client: { x: -742, y: 551 },
  3072. scale_x: 1,
  3073. scale_y: 1,
  3074. rotate: 0,
  3075. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3076. point_coordinate: {
  3077. tl: { x: -779.6000022888184, y: 541 },
  3078. tc: { x: -742, y: 541 },
  3079. tr: { x: -704.3999977111816, y: 541 },
  3080. l: { x: -779.6000022888184, y: 551 },
  3081. r: { x: -704.3999977111816, y: 551 },
  3082. bl: { x: -779.6000022888184, y: 561 },
  3083. bc: { x: -742, y: 561 },
  3084. br: { x: -704.3999977111816, y: 561 },
  3085. },
  3086. name: 'custom-svg-text',
  3087. title: '文字-copy',
  3088. tag: 'custom-svg-text',
  3089. type: 'CustomSvg',
  3090. display: true,
  3091. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3092. props: {
  3093. text: { title: '文字内容', type: 'Input', val: '备风机馈电' },
  3094. fontFamily: {
  3095. title: '字体',
  3096. type: 'Select',
  3097. val: 'Microsoft YaHei',
  3098. options: [
  3099. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3100. { value: 'NSimSun', label: '新宋体' },
  3101. ],
  3102. },
  3103. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3104. fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
  3105. },
  3106. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3107. },
  3108. {
  3109. id: 'custom-svg-textH6apeUpS25',
  3110. x: -280,
  3111. y: -100,
  3112. client: { x: -280, y: -100 },
  3113. scale_x: 1,
  3114. scale_y: 1,
  3115. rotate: 0,
  3116. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3117. point_coordinate: {
  3118. tl: { x: -325.5, y: -110 },
  3119. tc: { x: -280, y: -110 },
  3120. tr: { x: -234.5, y: -110 },
  3121. l: { x: -325.5, y: -100 },
  3122. r: { x: -234.5, y: -100 },
  3123. bl: { x: -325.5, y: -90 },
  3124. bc: { x: -280, y: -90 },
  3125. br: { x: -234.5, y: -90 },
  3126. },
  3127. name: 'custom-svg-text',
  3128. title: '文字',
  3129. tag: 'custom-svg-text',
  3130. type: 'CustomSvg',
  3131. display: true,
  3132. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3133. props: {
  3134. text: { title: '文字内容', type: 'Input', val: '高压运行状态' },
  3135. fontFamily: {
  3136. title: '字体',
  3137. type: 'Select',
  3138. val: 'Microsoft YaHei',
  3139. options: [
  3140. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3141. { value: 'NSimSun', label: '新宋体' },
  3142. ],
  3143. },
  3144. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3145. fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
  3146. },
  3147. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3148. },
  3149. {
  3150. id: 'custom-svg-textdlSMN5CrsK',
  3151. x: -281,
  3152. y: 127,
  3153. client: { x: -281, y: 127 },
  3154. scale_x: 1,
  3155. scale_y: 1,
  3156. rotate: 0,
  3157. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3158. point_coordinate: {
  3159. tl: { x: -326.5, y: 117 },
  3160. tc: { x: -281, y: 117 },
  3161. tr: { x: -235.5, y: 117 },
  3162. l: { x: -326.5, y: 127 },
  3163. r: { x: -235.5, y: 127 },
  3164. bl: { x: -326.5, y: 137 },
  3165. bc: { x: -281, y: 137 },
  3166. br: { x: -235.5, y: 137 },
  3167. },
  3168. name: 'custom-svg-text',
  3169. title: '文字-copy',
  3170. tag: 'custom-svg-text',
  3171. type: 'CustomSvg',
  3172. display: true,
  3173. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3174. props: {
  3175. text: { title: '文字内容', type: 'Input', val: '低压运行状态' },
  3176. fontFamily: {
  3177. title: '字体',
  3178. type: 'Select',
  3179. val: 'Microsoft YaHei',
  3180. options: [
  3181. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3182. { value: 'NSimSun', label: '新宋体' },
  3183. ],
  3184. },
  3185. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3186. fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
  3187. },
  3188. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3189. },
  3190. {
  3191. id: 'custom-svg-text8hfqYu7qCf',
  3192. x: -838,
  3193. y: 127,
  3194. client: { x: -838, y: 127 },
  3195. scale_x: 1,
  3196. scale_y: 1,
  3197. rotate: 0,
  3198. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3199. point_coordinate: {
  3200. tl: { x: -883.5, y: 117 },
  3201. tc: { x: -838, y: 117 },
  3202. tr: { x: -792.5, y: 117 },
  3203. l: { x: -883.5, y: 127 },
  3204. r: { x: -792.5, y: 127 },
  3205. bl: { x: -883.5, y: 137 },
  3206. bc: { x: -838, y: 137 },
  3207. br: { x: -792.5, y: 137 },
  3208. },
  3209. name: 'custom-svg-text',
  3210. title: '文字-copy-copy',
  3211. tag: 'custom-svg-text',
  3212. type: 'CustomSvg',
  3213. display: true,
  3214. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3215. props: {
  3216. text: { title: '文字内容', type: 'Input', val: '低压运行状态' },
  3217. fontFamily: {
  3218. title: '字体',
  3219. type: 'Select',
  3220. val: 'Microsoft YaHei',
  3221. options: [
  3222. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3223. { value: 'NSimSun', label: '新宋体' },
  3224. ],
  3225. },
  3226. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3227. fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
  3228. },
  3229. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3230. },
  3231. {
  3232. id: 'custom-svg-textYN6br3c8mY',
  3233. x: -835,
  3234. y: -100,
  3235. client: { x: -835, y: -105 },
  3236. scale_x: 1,
  3237. scale_y: 1,
  3238. rotate: 0,
  3239. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3240. point_coordinate: {
  3241. tl: { x: -880.5, y: -115 },
  3242. tc: { x: -835, y: -115 },
  3243. tr: { x: -789.5, y: -115 },
  3244. l: { x: -880.5, y: -105 },
  3245. r: { x: -789.5, y: -105 },
  3246. bl: { x: -880.5, y: -95 },
  3247. bc: { x: -835, y: -95 },
  3248. br: { x: -789.5, y: -95 },
  3249. },
  3250. name: 'custom-svg-text',
  3251. title: '文字-copy-copy-copy',
  3252. tag: 'custom-svg-text',
  3253. type: 'CustomSvg',
  3254. display: true,
  3255. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3256. props: {
  3257. text: { title: '文字内容', type: 'Input', val: '高压运行状态' },
  3258. fontFamily: {
  3259. title: '字体',
  3260. type: 'Select',
  3261. val: 'Microsoft YaHei',
  3262. options: [
  3263. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3264. { value: 'NSimSun', label: '新宋体' },
  3265. ],
  3266. },
  3267. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3268. fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
  3269. },
  3270. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3271. },
  3272. {
  3273. id: 'custom-svg-text9OtB4BD8tx',
  3274. x: -811,
  3275. y: -75,
  3276. client: { x: -811, y: -78 },
  3277. scale_x: 1,
  3278. scale_y: 1,
  3279. rotate: 0,
  3280. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3281. point_coordinate: {
  3282. tl: { x: -826.1000003814697, y: -88 },
  3283. tc: { x: -811, y: -88 },
  3284. tr: { x: -795.8999996185303, y: -88 },
  3285. l: { x: -826.1000003814697, y: -78 },
  3286. r: { x: -795.8999996185303, y: -78 },
  3287. bl: { x: -826.1000003814697, y: -68 },
  3288. bc: { x: -811, y: -68 },
  3289. br: { x: -795.8999996185303, y: -68 },
  3290. },
  3291. name: 'custom-svg-text',
  3292. title: 'b-state',
  3293. tag: 'custom-svg-text',
  3294. type: 'CustomSvg',
  3295. display: true,
  3296. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3297. props: {
  3298. text: { title: '文字内容', type: 'Input', val: '正常' },
  3299. fontFamily: {
  3300. title: '字体',
  3301. type: 'Select',
  3302. val: 'Microsoft YaHei',
  3303. options: [
  3304. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3305. { value: 'NSimSun', label: '新宋体' },
  3306. ],
  3307. },
  3308. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3309. fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
  3310. },
  3311. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3312. },
  3313. {
  3314. id: 'custom-svg-textifb0BW0nZX',
  3315. x: -252,
  3316. y: -74,
  3317. client: { x: -252, y: -74 },
  3318. scale_x: 1,
  3319. scale_y: 1,
  3320. rotate: 0,
  3321. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3322. point_coordinate: {
  3323. tl: { x: -267.1000003814697, y: -84 },
  3324. tc: { x: -252, y: -84 },
  3325. tr: { x: -236.89999961853027, y: -84 },
  3326. l: { x: -267.1000003814697, y: -74 },
  3327. r: { x: -236.89999961853027, y: -74 },
  3328. bl: { x: -267.1000003814697, y: -64 },
  3329. bc: { x: -252, y: -64 },
  3330. br: { x: -236.89999961853027, y: -64 },
  3331. },
  3332. name: 'custom-svg-text',
  3333. title: 'z-state',
  3334. tag: 'custom-svg-text',
  3335. type: 'CustomSvg',
  3336. display: true,
  3337. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3338. props: {
  3339. text: { title: '文字内容', type: 'Input', val: '正常' },
  3340. fontFamily: {
  3341. title: '字体',
  3342. type: 'Select',
  3343. val: 'Microsoft YaHei',
  3344. options: [
  3345. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3346. { value: 'NSimSun', label: '新宋体' },
  3347. ],
  3348. },
  3349. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3350. fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
  3351. },
  3352. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3353. },
  3354. {
  3355. id: 'straight-lineFGURWExYla',
  3356. x: -811,
  3357. y: -88,
  3358. client: { x: 347, y: 258 },
  3359. scale_x: 1,
  3360. scale_y: 1,
  3361. rotate: 0,
  3362. actual_bound: { x: 50, y: 50, width: 0, height: 0 },
  3363. point_coordinate: {
  3364. tl: { x: -811, y: -88 },
  3365. tc: { x: -811, y: -88 },
  3366. tr: { x: -811, y: -88 },
  3367. l: { x: -811, y: -88 },
  3368. r: { x: -811, y: -88 },
  3369. bl: { x: -811, y: -88 },
  3370. bc: { x: -811, y: -88 },
  3371. br: { x: -811, y: -88 },
  3372. },
  3373. name: 'connection_line',
  3374. title: '连接线',
  3375. type: 'ConnectionLine',
  3376. config: { can_zoom: false, have_anchor: false, actual_rect: false },
  3377. display: true,
  3378. props: {
  3379. stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
  3380. 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
  3381. point_position: { title: '点坐标', type: 'JsonEdit', val: [{ x: 50, y: 50 }] },
  3382. },
  3383. animations: {
  3384. type: {
  3385. title: '动画类型',
  3386. type: 'Select',
  3387. val: 'None',
  3388. options: [
  3389. { label: '无', value: 'None' },
  3390. { label: '电流', value: 'Electricity' },
  3391. { label: '轨迹', value: 'Track' },
  3392. { label: '水珠', value: 'WaterDrop' },
  3393. ],
  3394. },
  3395. dur: { title: '持续时间', type: 'InputNumber', val: 20 },
  3396. repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
  3397. color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
  3398. reverse: { title: '反转动画', type: 'Switch', val: false },
  3399. },
  3400. bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text9OtB4BD8tx' }, end: null },
  3401. },
  3402. {
  3403. id: 'custom-svg-textlqc2YZTzyI',
  3404. x: -815,
  3405. y: 153,
  3406. client: { x: -815, y: 153 },
  3407. scale_x: 1,
  3408. scale_y: 1,
  3409. rotate: 0,
  3410. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3411. point_coordinate: {
  3412. tl: { x: -830.1000003814697, y: 143 },
  3413. tc: { x: -815, y: 143 },
  3414. tr: { x: -799.8999996185303, y: 143 },
  3415. l: { x: -830.1000003814697, y: 153 },
  3416. r: { x: -799.8999996185303, y: 153 },
  3417. bl: { x: -830.1000003814697, y: 163 },
  3418. bc: { x: -815, y: 163 },
  3419. br: { x: -799.8999996185303, y: 163 },
  3420. },
  3421. name: 'custom-svg-text',
  3422. title: 'b-state1',
  3423. tag: 'custom-svg-text',
  3424. type: 'CustomSvg',
  3425. display: true,
  3426. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3427. props: {
  3428. text: { title: '文字内容', type: 'Input', val: '正常' },
  3429. fontFamily: {
  3430. title: '字体',
  3431. type: 'Select',
  3432. val: 'Microsoft YaHei',
  3433. options: [
  3434. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3435. { value: 'NSimSun', label: '新宋体' },
  3436. ],
  3437. },
  3438. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3439. fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
  3440. },
  3441. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3442. },
  3443. {
  3444. id: 'custom-svg-textwo1kl0CsXG',
  3445. x: -249,
  3446. y: 151,
  3447. client: { x: -249, y: 151 },
  3448. scale_x: 1,
  3449. scale_y: 1,
  3450. rotate: 0,
  3451. actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
  3452. point_coordinate: {
  3453. tl: { x: -264.1000003814697, y: 141 },
  3454. tc: { x: -249, y: 141 },
  3455. tr: { x: -233.89999961853027, y: 141 },
  3456. l: { x: -264.1000003814697, y: 151 },
  3457. r: { x: -233.89999961853027, y: 151 },
  3458. bl: { x: -264.1000003814697, y: 161 },
  3459. bc: { x: -249, y: 161 },
  3460. br: { x: -233.89999961853027, y: 161 },
  3461. },
  3462. name: 'custom-svg-text',
  3463. title: 'z-state1',
  3464. tag: 'custom-svg-text',
  3465. type: 'CustomSvg',
  3466. display: true,
  3467. config: { can_zoom: true, have_anchor: true, actual_rect: true },
  3468. props: {
  3469. text: { title: '文字内容', type: 'Input', val: '正常' },
  3470. fontFamily: {
  3471. title: '字体',
  3472. type: 'Select',
  3473. val: 'Microsoft YaHei',
  3474. options: [
  3475. { value: 'Microsoft YaHei', label: '微软雅黑' },
  3476. { value: 'NSimSun', label: '新宋体' },
  3477. ],
  3478. },
  3479. fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
  3480. fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
  3481. },
  3482. common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
  3483. },
  3484. ],
  3485. });
  3486. export const option = reactive<EChartsOption>({
  3487. title: {
  3488. text: '局部通风机运行工况智能决策',
  3489. textStyle: {
  3490. color: '#BF954D',
  3491. },
  3492. left: 'center',
  3493. top: 0,
  3494. },
  3495. // backgroundColor: '#39deff',
  3496. tooltip: {
  3497. trigger: 'axis',
  3498. axisPointer: {
  3499. type: 'cross',
  3500. label: {
  3501. backgroundColor: '#6a7985',
  3502. },
  3503. },
  3504. },
  3505. toolbox: {
  3506. show: true,
  3507. },
  3508. grid: {
  3509. left: 8,
  3510. right: 50,
  3511. bottom: 0,
  3512. containLabel: true,
  3513. },
  3514. xAxis: {
  3515. type: 'category',
  3516. name: 'm³/min',
  3517. nameTextStyle: {
  3518. fontWeight: 600,
  3519. fontSize: 13,
  3520. },
  3521. splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
  3522. axisLabel: {
  3523. margin: 10,
  3524. fontSize: 14,
  3525. color: '#f1f1f199',
  3526. },
  3527. boundaryGap: false,
  3528. data: [],
  3529. },
  3530. yAxis: {
  3531. type: 'value',
  3532. axisLine: {
  3533. show: true,
  3534. lineStyle: {
  3535. color: '#006c9d',
  3536. },
  3537. },
  3538. splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
  3539. axisLabel: {
  3540. show: true,
  3541. fontSize: 14,
  3542. formatter: '{value}',
  3543. color: '#0071A5',
  3544. },
  3545. min: 360,
  3546. max: 9000,
  3547. name: 'Pa',
  3548. nameTextStyle: {
  3549. fontWeight: 600,
  3550. fontSize: 13,
  3551. },
  3552. },
  3553. series: [],
  3554. });
  3555. export const echatsOption = {
  3556. // tooltip: {
  3557. // show: true,
  3558. // formatter: function (datas: []) {
  3559. // return datas.map((item) => {
  3560. // item['data'] = item['data'].toFixed(2);
  3561. // return item;
  3562. // });
  3563. // },
  3564. // },
  3565. legend: {
  3566. top: -10,
  3567. },
  3568. grid: {
  3569. top: '15%',
  3570. left: '20',
  3571. right: '25',
  3572. bottom: '0',
  3573. containLabel: true,
  3574. },
  3575. toolbox: {
  3576. feature: {
  3577. saveAsImage: {
  3578. show: false,
  3579. },
  3580. },
  3581. },
  3582. xAxis: {
  3583. type: 'category',
  3584. axisLabel: {
  3585. margin: 10,
  3586. color: '#f1f1f199',
  3587. },
  3588. name: 'm³/min',
  3589. },
  3590. yAxis: {
  3591. axisLabel: {
  3592. color: '#0071A5',
  3593. },
  3594. },
  3595. };
  3596. export const chartsColumnList = [
  3597. {
  3598. legend: '瓦斯浓度',
  3599. seriesName: '(%)',
  3600. ymax: 0.8,
  3601. yname: '%',
  3602. linetype: 'line',
  3603. yaxispos: 'left',
  3604. color: '#00FFA8',
  3605. sort: 1,
  3606. xRotate: 0,
  3607. dataIndex: 'gas',
  3608. },
  3609. {
  3610. legend: '风量',
  3611. seriesName: '(m³/min)',
  3612. ymax: 1100,
  3613. yname: 'm³/min',
  3614. linetype: 'line',
  3615. yaxispos: 'right',
  3616. color: '#FDB146',
  3617. sort: 2,
  3618. xRotate: 0,
  3619. dataIndex: 'm3',
  3620. },
  3621. {
  3622. legend: '频率',
  3623. seriesName: '(Hz)',
  3624. ymax: 50,
  3625. yname: 'Hz',
  3626. linetype: 'line',
  3627. yaxispos: 'right',
  3628. color: '#AE19FF',
  3629. sort: 3,
  3630. xRotate: 0,
  3631. dataIndex: 'Hz',
  3632. },
  3633. ];
  3634. export const initData = () => {
  3635. const num = 3;
  3636. const obj = {
  3637. angle: 0,
  3638. Hz: 35.0,
  3639. a: -0.0626027929595192,
  3640. b: 44.737585902203136,
  3641. c: -4047.5601190339376,
  3642. min: 300,
  3643. max: 1100.0,
  3644. };
  3645. const a = -0.0626,
  3646. m = 44.737589,
  3647. n = -4047.56012;
  3648. const maxList = [519, 587, 659.4, 737, 820.7];
  3649. const minList = [264, 303.7, 346, 387.2, 429.1];
  3650. const data = [];
  3651. for (let i = -1; i <= num; i++) {
  3652. const item = cloneDeep(obj);
  3653. item['a'] = Math.round((a + 0.003 * i) * 10000) / 10000;
  3654. item['Hz'] = 35 + i * 5;
  3655. item['c'] = n + 0.6 * i;
  3656. item['b'] = m + i * 1.9;
  3657. item['max'] = maxList[i + 1];
  3658. item['min'] = minList[i + 1];
  3659. data.push(item);
  3660. }
  3661. return data;
  3662. };
  3663. export const fanInfoData = reactive({
  3664. fj: '一号回风井',
  3665. xh: 'FBCDZ No.29',
  3666. gl: '2×500',
  3667. edgl: '740',
  3668. eddy: '10000',
  3669. eddl: '38.4',
  3670. flfw: '110~260',
  3671. fyfw: '200~4100',
  3672. fbdj: 'ExdI',
  3673. ccrq: '2010.07',
  3674. sccj: '南阳防爆',
  3675. tjfs: '变频调节',
  3676. plfw: '30~50',
  3677. });
  3678. export const fanInfo = [
  3679. {
  3680. title: '风井',
  3681. code: 'fj',
  3682. value: '一号回风井',
  3683. },
  3684. {
  3685. title: '型号',
  3686. code: 'xh',
  3687. value: 'FBCDZ No.29',
  3688. },
  3689. {
  3690. title: '功率(kW)',
  3691. code: 'gl',
  3692. value: '2×500',
  3693. },
  3694. {
  3695. title: '额定转速(r/min)',
  3696. code: 'edgl',
  3697. value: '740',
  3698. },
  3699. {
  3700. title: '额定电压(V)',
  3701. code: 'eddy',
  3702. value: '10000',
  3703. },
  3704. {
  3705. title: '额定电流(A)',
  3706. code: 'eddl',
  3707. value: '38.4',
  3708. },
  3709. {
  3710. title: '风量范围(m³/s)',
  3711. code: 'flfw',
  3712. value: '110~260',
  3713. },
  3714. {
  3715. title: '风压范围(Pa)',
  3716. code: 'fyfw',
  3717. value: '200~4100',
  3718. },
  3719. {
  3720. title: '防爆等级',
  3721. code: 'fbdj',
  3722. value: 'ExdI',
  3723. },
  3724. {
  3725. title: '出厂日期',
  3726. code: 'ccrq',
  3727. value: '2010.07',
  3728. },
  3729. {
  3730. title: '生产厂家',
  3731. code: 'sccj',
  3732. value: '南阳防爆',
  3733. },
  3734. {
  3735. title: '调节方式',
  3736. code: 'tjfs',
  3737. value: '变频调节',
  3738. },
  3739. {
  3740. title: '频率可调范围(Hz)',
  3741. code: 'plfw',
  3742. value: '30~50',
  3743. },
  3744. ];
  3745. export const getSchamas = (): FormSchema[] => {
  3746. return [
  3747. {
  3748. field: 'fj',
  3749. component: 'Input',
  3750. label: '风井',
  3751. colProps: {
  3752. span: 6,
  3753. },
  3754. },
  3755. {
  3756. field: 'xh',
  3757. component: 'Input',
  3758. label: '型号',
  3759. colProps: {
  3760. span: 6,
  3761. },
  3762. },
  3763. {
  3764. field: 'gl',
  3765. component: 'Input',
  3766. label: '功率(kW)',
  3767. colProps: {
  3768. span: 6,
  3769. },
  3770. },
  3771. {
  3772. field: 'edgl',
  3773. component: 'Input',
  3774. label: '额定转速(r/min)',
  3775. colProps: {
  3776. span: 6,
  3777. },
  3778. },
  3779. {
  3780. field: 'eddy',
  3781. component: 'Input',
  3782. label: '额定电压(V)',
  3783. colProps: {
  3784. span: 6,
  3785. },
  3786. },
  3787. {
  3788. field: 'eddl',
  3789. component: 'Input',
  3790. label: '额定电流(A)',
  3791. colProps: {
  3792. span: 6,
  3793. },
  3794. },
  3795. {
  3796. field: 'flfw',
  3797. component: 'Input',
  3798. label: '风量范围(m³/s)',
  3799. colProps: {
  3800. span: 6,
  3801. },
  3802. },
  3803. {
  3804. field: 'fyfw',
  3805. component: 'Input',
  3806. label: '风压范围(Pa)',
  3807. colProps: {
  3808. span: 6,
  3809. },
  3810. },
  3811. {
  3812. field: 'fbdj',
  3813. component: 'Select',
  3814. label: '防爆等级',
  3815. colProps: {
  3816. span: 6,
  3817. },
  3818. componentProps: {
  3819. options: [
  3820. {
  3821. label: 'ExdI',
  3822. value: 'ExdI',
  3823. key: '1',
  3824. },
  3825. ],
  3826. },
  3827. },
  3828. {
  3829. field: 'ccrq',
  3830. component: 'Input',
  3831. label: '出厂日期',
  3832. colProps: {
  3833. span: 6,
  3834. },
  3835. },
  3836. {
  3837. field: 'sccj',
  3838. component: 'Input',
  3839. label: '生产厂家',
  3840. colProps: {
  3841. span: 6,
  3842. },
  3843. },
  3844. {
  3845. field: 'tjfs',
  3846. component: 'Select',
  3847. label: '调节方式',
  3848. colProps: {
  3849. span: 6,
  3850. },
  3851. componentProps: {
  3852. options: [
  3853. {
  3854. label: '变频调节',
  3855. value: '变频调节',
  3856. key: '1',
  3857. },
  3858. ],
  3859. },
  3860. },
  3861. {
  3862. field: 'plfw',
  3863. component: 'Input',
  3864. label: '频率可调范围(Hz)',
  3865. colProps: {
  3866. span: 6,
  3867. },
  3868. },
  3869. ];
  3870. };
  3871. export const getSchamas1 = (): FormSchema[] => {
  3872. return [
  3873. {
  3874. field: 'Hz',
  3875. component: 'InputNumber',
  3876. label: '频率(Hz)',
  3877. required: true,
  3878. colProps: {
  3879. span: 6,
  3880. },
  3881. },
  3882. {
  3883. field: 'a',
  3884. component: 'InputNumber',
  3885. label: '二次项系数',
  3886. required: true,
  3887. colProps: {
  3888. span: 6,
  3889. },
  3890. },
  3891. {
  3892. field: 'b',
  3893. component: 'InputNumber',
  3894. label: '一次项系数',
  3895. required: true,
  3896. colProps: {
  3897. span: 6,
  3898. },
  3899. },
  3900. {
  3901. field: 'c',
  3902. component: 'InputNumber',
  3903. label: '常数项系数',
  3904. required: true,
  3905. colProps: {
  3906. span: 6,
  3907. },
  3908. },
  3909. {
  3910. field: 'min',
  3911. component: 'InputNumber',
  3912. label: '风量下限(m³/s)',
  3913. required: true,
  3914. colProps: {
  3915. span: 6,
  3916. },
  3917. },
  3918. {
  3919. field: 'max',
  3920. component: 'InputNumber',
  3921. label: '风量上限(m³/s)',
  3922. required: true,
  3923. colProps: {
  3924. span: 6,
  3925. },
  3926. },
  3927. ];
  3928. };
  3929. export const lineFormData = reactive({
  3930. Hz: null,
  3931. a: null,
  3932. b: null,
  3933. c: null,
  3934. min: null,
  3935. max: null,
  3936. });