fanLocal.data.ts 112 KB

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