fanLocal.data.ts 104 KB

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