fanLocal.data.ts 113 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082
  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: 5,
  3582. },
  3583. grid: {
  3584. top: '35',
  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 echatsOption1 = {
  3612. legend: {
  3613. top: 10,
  3614. },
  3615. grid: {
  3616. top: '18%',
  3617. left: '30',
  3618. right: '35',
  3619. bottom: '10%',
  3620. containLabel: true,
  3621. },
  3622. toolbox: {
  3623. feature: {
  3624. saveAsImage: {
  3625. show: false,
  3626. },
  3627. },
  3628. },
  3629. xAxis: {
  3630. type: 'category',
  3631. axisLabel: {
  3632. margin: 10,
  3633. color: '#f1f1f199',
  3634. },
  3635. name: '',
  3636. },
  3637. yAxis: {
  3638. axisLabel: {
  3639. color: '#0071A5',
  3640. },
  3641. },
  3642. };
  3643. export const chartsColumnList = [
  3644. {
  3645. legend: '瓦斯浓度',
  3646. seriesName: '(%)',
  3647. ymax: 0.8,
  3648. yname: '%',
  3649. linetype: 'line',
  3650. yaxispos: 'left',
  3651. color: '#00FFA8',
  3652. sort: 1,
  3653. xRotate: 0,
  3654. dataIndex: 'gas',
  3655. },
  3656. {
  3657. legend: '风量',
  3658. seriesName: '(m³/min)',
  3659. ymax: 1100,
  3660. yname: 'm³/min',
  3661. linetype: 'line',
  3662. yaxispos: 'right',
  3663. color: '#FDB146',
  3664. sort: 2,
  3665. xRotate: 0,
  3666. dataIndex: 'm3',
  3667. },
  3668. {
  3669. legend: '频率',
  3670. seriesName: '(Hz)',
  3671. ymax: 50,
  3672. yname: 'Hz',
  3673. linetype: 'line',
  3674. yaxispos: 'right',
  3675. color: '#AE19FF',
  3676. sort: 3,
  3677. xRotate: 0,
  3678. dataIndex: 'Hz',
  3679. },
  3680. ];
  3681. export const chartsColumnList1 = [
  3682. {
  3683. legend: '目标风量',
  3684. seriesName: '(m³/min)',
  3685. ymax: 1100,
  3686. yname: 'm³/min',
  3687. linetype: 'line',
  3688. yaxispos: 'left',
  3689. color: '#00FFA8',
  3690. sort: 1,
  3691. xRotate: 0,
  3692. dataIndex: 'targetVolume',
  3693. },
  3694. {
  3695. legend: '供风量',
  3696. seriesName: '(m³/min)',
  3697. ymax: 1100,
  3698. yname: 'm³/min',
  3699. linetype: 'line',
  3700. yaxispos: 'left',
  3701. color: '#FDB146',
  3702. sort: 1,
  3703. xRotate: 0,
  3704. dataIndex: 'inletAirVolume_merge',
  3705. },
  3706. ];
  3707. export const chartsColumnListGas = [
  3708. {
  3709. legend: 'T1',
  3710. seriesName: '(%)',
  3711. ymax: 1,
  3712. yname: '%',
  3713. linetype: 'line',
  3714. yaxispos: 'left',
  3715. color: '#00FFA8',
  3716. sort: 1,
  3717. xRotate: 0,
  3718. dataIndex: 'gasT1',
  3719. },
  3720. {
  3721. legend: 'T2',
  3722. seriesName: '(%)',
  3723. ymax: 1,
  3724. yname: '%',
  3725. linetype: 'line',
  3726. color: '#FDB146',
  3727. yaxispos: 'left',
  3728. sort: 1,
  3729. xRotate: 0,
  3730. dataIndex: 'gasT2',
  3731. },
  3732. {
  3733. legend: 'T3',
  3734. seriesName: '(%)',
  3735. ymax: 1,
  3736. yname: '%',
  3737. linetype: 'line',
  3738. color: '#DA3914',
  3739. yaxispos: 'left',
  3740. sort: 1,
  3741. xRotate: 0,
  3742. dataIndex: 'gasT3',
  3743. },
  3744. {
  3745. legend: 'T4',
  3746. seriesName: '(%)',
  3747. ymax: 1,
  3748. yname: '%',
  3749. linetype: 'line',
  3750. color: '#03C2EC',
  3751. yaxispos: 'left',
  3752. sort: 1,
  3753. xRotate: 0,
  3754. dataIndex: 'gasT4',
  3755. },
  3756. ];
  3757. export const initData = () => {
  3758. const num = 3;
  3759. const obj = {
  3760. angle: 0,
  3761. Hz: 35.0,
  3762. a: -0.0626027929595192,
  3763. b: 44.737585902203136,
  3764. c: -4047.5601190339376,
  3765. min: 300,
  3766. max: 1100.0,
  3767. };
  3768. const a = -0.0626,
  3769. m = 44.737589,
  3770. n = -4047.56012;
  3771. const maxList = [519, 587, 659.4, 737, 820.7];
  3772. const minList = [264, 303.7, 346, 387.2, 429.1];
  3773. const data = [];
  3774. for (let i = -1; i <= num; i++) {
  3775. const item = cloneDeep(obj);
  3776. item['a'] = Math.round((a + 0.003 * i) * 10000) / 10000;
  3777. item['Hz'] = 35 + i * 5;
  3778. item['c'] = n + 0.6 * i;
  3779. item['b'] = m + i * 1.9;
  3780. item['max'] = maxList[i + 1];
  3781. item['min'] = minList[i + 1];
  3782. data.push(item);
  3783. }
  3784. return data;
  3785. };
  3786. export const fanInfoData = reactive({
  3787. fj: '一号回风井',
  3788. xh: 'FBCDZ No.29',
  3789. gl: '2×500',
  3790. edgl: '740',
  3791. eddy: '10000',
  3792. eddl: '38.4',
  3793. flfw: '110~260',
  3794. fyfw: '200~4100',
  3795. fbdj: 'ExdI',
  3796. ccrq: '2010.07',
  3797. sccj: '南阳防爆',
  3798. tjfs: '变频调节',
  3799. plfw: '30~50',
  3800. });
  3801. export const fanInfo = [
  3802. {
  3803. title: '风井',
  3804. code: 'fj',
  3805. value: '一号回风井',
  3806. },
  3807. {
  3808. title: '型号',
  3809. code: 'xh',
  3810. value: 'FBCDZ No.29',
  3811. },
  3812. {
  3813. title: '功率(kW)',
  3814. code: 'gl',
  3815. value: '2×500',
  3816. },
  3817. {
  3818. title: '额定转速(r/min)',
  3819. code: 'edgl',
  3820. value: '740',
  3821. },
  3822. {
  3823. title: '额定电压(V)',
  3824. code: 'eddy',
  3825. value: '10000',
  3826. },
  3827. {
  3828. title: '额定电流(A)',
  3829. code: 'eddl',
  3830. value: '38.4',
  3831. },
  3832. {
  3833. title: '风量范围(m³/s)',
  3834. code: 'flfw',
  3835. value: '110~260',
  3836. },
  3837. {
  3838. title: '风压范围(Pa)',
  3839. code: 'fyfw',
  3840. value: '200~4100',
  3841. },
  3842. {
  3843. title: '防爆等级',
  3844. code: 'fbdj',
  3845. value: 'ExdI',
  3846. },
  3847. {
  3848. title: '出厂日期',
  3849. code: 'ccrq',
  3850. value: '2010.07',
  3851. },
  3852. {
  3853. title: '生产厂家',
  3854. code: 'sccj',
  3855. value: '南阳防爆',
  3856. },
  3857. {
  3858. title: '调节方式',
  3859. code: 'tjfs',
  3860. value: '变频调节',
  3861. },
  3862. {
  3863. title: '频率可调范围(Hz)',
  3864. code: 'plfw',
  3865. value: '30~50',
  3866. },
  3867. ];
  3868. export const getSchamas = (): FormSchema[] => {
  3869. return [
  3870. {
  3871. field: 'fj',
  3872. component: 'Input',
  3873. label: '风井',
  3874. colProps: {
  3875. span: 6,
  3876. },
  3877. },
  3878. {
  3879. field: 'xh',
  3880. component: 'Input',
  3881. label: '型号',
  3882. colProps: {
  3883. span: 6,
  3884. },
  3885. },
  3886. {
  3887. field: 'gl',
  3888. component: 'Input',
  3889. label: '功率(kW)',
  3890. colProps: {
  3891. span: 6,
  3892. },
  3893. },
  3894. {
  3895. field: 'edgl',
  3896. component: 'Input',
  3897. label: '额定转速(r/min)',
  3898. colProps: {
  3899. span: 6,
  3900. },
  3901. },
  3902. {
  3903. field: 'eddy',
  3904. component: 'Input',
  3905. label: '额定电压(V)',
  3906. colProps: {
  3907. span: 6,
  3908. },
  3909. },
  3910. {
  3911. field: 'eddl',
  3912. component: 'Input',
  3913. label: '额定电流(A)',
  3914. colProps: {
  3915. span: 6,
  3916. },
  3917. },
  3918. {
  3919. field: 'flfw',
  3920. component: 'Input',
  3921. label: '风量范围(m³/s)',
  3922. colProps: {
  3923. span: 6,
  3924. },
  3925. },
  3926. {
  3927. field: 'fyfw',
  3928. component: 'Input',
  3929. label: '风压范围(Pa)',
  3930. colProps: {
  3931. span: 6,
  3932. },
  3933. },
  3934. {
  3935. field: 'fbdj',
  3936. component: 'Select',
  3937. label: '防爆等级',
  3938. colProps: {
  3939. span: 6,
  3940. },
  3941. componentProps: {
  3942. options: [
  3943. {
  3944. label: 'ExdI',
  3945. value: 'ExdI',
  3946. key: '1',
  3947. },
  3948. ],
  3949. },
  3950. },
  3951. {
  3952. field: 'ccrq',
  3953. component: 'Input',
  3954. label: '出厂日期',
  3955. colProps: {
  3956. span: 6,
  3957. },
  3958. },
  3959. {
  3960. field: 'sccj',
  3961. component: 'Input',
  3962. label: '生产厂家',
  3963. colProps: {
  3964. span: 6,
  3965. },
  3966. },
  3967. {
  3968. field: 'tjfs',
  3969. component: 'Select',
  3970. label: '调节方式',
  3971. colProps: {
  3972. span: 6,
  3973. },
  3974. componentProps: {
  3975. options: [
  3976. {
  3977. label: '变频调节',
  3978. value: '变频调节',
  3979. key: '1',
  3980. },
  3981. ],
  3982. },
  3983. },
  3984. {
  3985. field: 'plfw',
  3986. component: 'Input',
  3987. label: '频率可调范围(Hz)',
  3988. colProps: {
  3989. span: 6,
  3990. },
  3991. },
  3992. ];
  3993. };
  3994. export const getSchamas1 = (): FormSchema[] => {
  3995. return [
  3996. {
  3997. field: 'Hz',
  3998. component: 'InputNumber',
  3999. label: '频率(Hz)',
  4000. required: true,
  4001. colProps: {
  4002. span: 6,
  4003. },
  4004. },
  4005. {
  4006. field: 'a',
  4007. component: 'InputNumber',
  4008. label: '二次项系数',
  4009. required: true,
  4010. colProps: {
  4011. span: 6,
  4012. },
  4013. },
  4014. {
  4015. field: 'b',
  4016. component: 'InputNumber',
  4017. label: '一次项系数',
  4018. required: true,
  4019. colProps: {
  4020. span: 6,
  4021. },
  4022. },
  4023. {
  4024. field: 'c',
  4025. component: 'InputNumber',
  4026. label: '常数项系数',
  4027. required: true,
  4028. colProps: {
  4029. span: 6,
  4030. },
  4031. },
  4032. {
  4033. field: 'min',
  4034. component: 'InputNumber',
  4035. label: '风量下限(m³/s)',
  4036. required: true,
  4037. colProps: {
  4038. span: 6,
  4039. },
  4040. },
  4041. {
  4042. field: 'max',
  4043. component: 'InputNumber',
  4044. label: '风量上限(m³/s)',
  4045. required: true,
  4046. colProps: {
  4047. span: 6,
  4048. },
  4049. },
  4050. ];
  4051. };
  4052. export const lineFormData = reactive({
  4053. Hz: null,
  4054. a: null,
  4055. b: null,
  4056. c: null,
  4057. min: null,
  4058. max: null,
  4059. });