fanLocal.data.ts 112 KB

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