| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960 |
- import { BasicColumn } from '/@/components/Table';
- import { FormSchema } from '/@/components/Table';
- import { rules } from '/@/utils/helper/validator';
- import { ref, reactive } from 'vue';
- import { cloneDeep } from 'lodash-es';
- export const columns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 120,
- },
- {
- title: '安装位置',
- dataIndex: 'strinstallpos',
- width: 100,
- },
- {
- title: '是否为常闭型',
- dataIndex: 'bnormalclose',
- width: 100,
- // customRender: render.renderAvatar,
- },
- {
- title: '净宽',
- dataIndex: 'fclearwidth',
- width: 80,
- },
- {
- title: '净高',
- dataIndex: 'fclearheight',
- width: 100,
- },
- {
- title: '风门道数',
- dataIndex: 'ndoorcount',
- width: 100,
- },
- {
- title: '所属分站',
- width: 150,
- dataIndex: 'stationname',
- },
- {
- title: '点表',
- width: 100,
- dataIndex: 'strtype',
- },
- {
- title: '监测类型',
- dataIndex: 'monitorflag',
- width: 100,
- },
- {
- title: '是否模拟数据',
- dataIndex: 'testflag',
- width: 100,
- },
- ];
- export const recycleColumns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 100,
- },
- {
- title: '是否为常闭型',
- dataIndex: 'bnormalclose',
- width: 100,
- },
- ];
- export const searchFormSchema: FormSchema[] = [
- {
- label: '名称',
- field: 'strname',
- component: 'Input',
- colProps: { span: 6 },
- },
- {
- label: '安装位置',
- field: 'strinstallpos',
- component: 'Input',
- colProps: { span: 6 },
- },
- {
- label: '是否为常闭型',
- field: 'bnormalclose',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择读写类型',
- stringToNumber: true,
- },
- colProps: { span: 6 },
- },
- ];
- export const formSchema: FormSchema[] = [
- {
- label: '',
- field: 'id',
- component: 'Input',
- show: false,
- },
- {
- label: '名称',
- field: 'strname',
- component: 'Input',
- },
- {
- label: '安装位置',
- field: 'strinstallpos',
- component: 'Input',
- },
- {
- label: '是否为常闭型',
- field: 'bnormalclose',
- component: 'RadioGroup',
- defaultValue: 1,
- componentProps: () => {
- return {
- options: [
- { label: '是', value: 1, key: '1' },
- { label: '否', value: 0, key: '2' },
- ],
- };
- },
- },
- {
- label: '净宽',
- field: 'fclearwidth',
- component: 'Input',
- },
- {
- label: '净高',
- field: 'fclearheight',
- component: 'Input',
- },
- {
- label: '风门道数',
- field: 'ndoorcount',
- component: 'Input',
- },
- {
- label: '所属分站',
- field: 'stationname',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择状态',
- stringToNumber: true,
- },
- },
- {
- label: '点表',
- field: 'strtype',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择状态',
- stringToNumber: true,
- },
- },
- {
- label: '监测类型',
- field: 'monitorflag',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择状态',
- stringToNumber: true,
- },
- },
- {
- label: '是否模拟数据',
- field: 'testflag',
- component: 'RadioGroup',
- defaultValue: 1,
- componentProps: () => {
- return {
- options: [
- { label: '是', value: 1, key: '1' },
- { label: '否', value: 0, key: '2' },
- ],
- };
- },
- },
- ];
- export const formPasswordSchema: FormSchema[] = [
- {
- label: '用户账号',
- field: 'username',
- component: 'Input',
- componentProps: { readOnly: true },
- },
- {
- label: '登录密码',
- field: 'password',
- component: 'StrengthMeter',
- componentProps: {
- placeholder: '请输入登录密码',
- },
- rules: [
- {
- required: true,
- message: '请输入登录密码',
- },
- ],
- },
- {
- label: '确认密码',
- field: 'confirmPassword',
- component: 'InputPassword',
- dynamicRules: ({ values }) => rules.confirmPassword(values, true),
- },
- ];
- export const formAgentSchema: FormSchema[] = [
- {
- label: '',
- field: 'id',
- component: 'Input',
- show: false,
- },
- {
- field: 'userName',
- label: '用户名',
- component: 'Input',
- componentProps: {
- readOnly: true,
- allowClear: false,
- },
- },
- {
- field: 'agentUserName',
- label: '代理人用户名',
- required: true,
- component: 'JSelectUser',
- componentProps: {
- rowKey: 'username',
- labelKey: 'realname',
- maxSelectCount: 10,
- },
- },
- {
- field: 'startTime',
- label: '代理开始时间',
- component: 'DatePicker',
- required: true,
- componentProps: {
- showTime: true,
- valueFormat: 'YYYY-MM-DD HH:mm:ss',
- placeholder: '请选择代理开始时间',
- },
- },
- {
- field: 'endTime',
- label: '代理结束时间',
- component: 'DatePicker',
- required: true,
- componentProps: {
- showTime: true,
- valueFormat: 'YYYY-MM-DD HH:mm:ss',
- placeholder: '请选择代理结束时间',
- },
- },
- {
- field: 'status',
- label: '状态',
- component: 'JDictSelectTag',
- defaultValue: '1',
- componentProps: {
- dictCode: 'valid_status',
- type: 'radioButton',
- },
- },
- ];
- export const chartsColumns = [
- {
- legend: '瓦斯浓度',
- seriesName: '瓦斯浓度(%)',
- ymax: 100,
- yname: '%',
- linetype: 'bar',
- yaxispos: 'left',
- color: '#cd5fff',
- sort: 1,
- dataIndex: '',
- xRotate: 0,
- },
- ];
- export const chartsColumns1 = [
- {
- legend: '风量',
- seriesName: 'm³/min',
- ymax: 1000,
- yname: '',
- linetype: 'bar',
- yaxispos: 'left',
- color: '#755cf8',
- sort: 1,
- dataIndex: '',
- xRotate: 0,
- },
- ];
- export const transformMobileH = [
- {
- title: 'A相电流(A)',
- code: '',
- },
- {
- title: 'B相电流(A)',
- code: '',
- },
- {
- title: 'C相电流(A)',
- code: '',
- },
- {
- title: '电压(V)',
- code: '',
- },
- {
- title: '温度(℃)',
- code: '',
- },
- {
- title: '额定电流(A)',
- code: '',
- },
- {
- title: '短路电流(A)',
- code: '',
- },
- ];
- export const transformMobileL = [
- {
- title: 'A相电流(A)',
- code: '',
- },
- {
- title: 'B相电流(A)',
- code: '',
- },
- {
- title: 'C相电流(A)',
- code: '',
- },
- {
- title: '电压(V)',
- code: '',
- },
- {
- title: '功率(KW)',
- code: '',
- },
- {
- title: '额定电流(A)',
- code: '',
- },
- {
- title: '短路电流(A)',
- code: '',
- },
- ];
- export const protectionEnableH = [
- {
- title: '短路',
- code: '',
- value: '使能',
- },
- {
- title: '不平衡',
- code: '',
- value: '未使能',
- },
- {
- title: '过载',
- code: '',
- value: '使能',
- },
- {
- title: '过压',
- code: '',
- value: '使能',
- },
- {
- title: '欠压',
- code: '',
- value: '使能',
- },
- {
- title: '短路延时(ms)',
- code: '',
- value: 0,
- },
- {
- title: '过压延时(s)',
- code: '',
- value: 10,
- },
- {
- title: '欠压延时(s)',
- code: '',
- value: 10,
- },
- ];
- export const protectionEnableL = [
- {
- title: '短路',
- code: '',
- value: '使能',
- },
- {
- title: '不平衡',
- code: '',
- value: '未使能',
- },
- {
- title: '过载',
- code: '',
- value: '使能',
- },
- {
- title: '过压',
- code: '',
- value: '使能',
- },
- {
- title: '欠压',
- code: '',
- value: '使能',
- },
- {
- title: '漏电',
- code: '',
- value: '使能',
- },
- {
- title: '漏电闭锁',
- code: '',
- value: '使能',
- },
- {
- title: '漏电延时(ms)',
- code: '',
- value: 10,
- },
- {
- title: '短路延时(ms)',
- code: '',
- value: 1,
- },
- {
- title: '过压延时(s)',
- code: '',
- value: 10,
- },
- {
- title: '欠压延时(s)',
- code: '',
- value: 10,
- },
- ];
- export const electricMonitor = {
- 电流: [
- {
- title: 'A相电流 (A)',
- code: '',
- },
- {
- title: 'B相电流 (A)',
- code: '',
- },
- {
- title: 'C相电流 (A)',
- code: '',
- },
- {
- title: '额定电流 (A)',
- code: '',
- },
- ],
- 电压: [
- {
- title: 'Uac (V)',
- code: '',
- },
- {
- title: '功率 (KW)',
- code: '',
- },
- ],
- 保护状态: [
- {
- title: '短路',
- code: '',
- value: 1,
- },
- {
- title: '失压',
- code: '',
- value: 1,
- },
- {
- title: '过载',
- code: '',
- value: 1,
- },
- {
- title: '过压',
- code: '',
- value: 1,
- },
- {
- title: '缺相',
- code: '',
- value: 1,
- },
- {
- title: '漏电保护',
- code: '',
- value: 1,
- },
- {
- title: '相不平衡',
- code: '',
- value: 1,
- },
- {
- title: '漏电闭锁',
- code: '',
- value: 1,
- },
- {
- title: '瓦斯闭锁',
- code: '',
- value: 1,
- },
- {
- title: '选择性漏电保护',
- code: '',
- value: 1,
- },
- ],
- };
- export const electricState = [
- {
- title: '额定电流(A)',
- code: '',
- value: 100.0,
- },
- {
- title: '额定电压(V)',
- code: '',
- value: 660,
- },
- {
- title: '短路倍数',
- code: '',
- value: 8,
- },
- {
- title: '欠压倍数',
- code: '',
- value: 0.85,
- },
- {
- title: '漏电延时(s)',
- code: '',
- value: 5.0,
- },
- {
- title: '不平衡倍数',
- code: '',
- value: 0.0,
- },
- {
- title: '漏电闭锁(KΩ)',
- code: '',
- value: 11,
- },
- {
- title: '末端短路倍数',
- code: '',
- value: 1.0,
- },
- {
- title: '相敏倍数',
- code: '',
- value: 41.0,
- },
- {
- title: '过压延时(s)',
- code: '',
- value: 1.2,
- },
- {
- title: '过压定值',
- code: '',
- value: 1.2,
- },
- ];
- export const fanControlState1 = {
- 电流电压: {
- 'la1(A)': [
- {
- code: '',
- value: 0.0,
- },
- {
- code: '',
- value: 0.0,
- },
- ],
- 'lb1(A)': [
- {
- code: '',
- value: 0.0,
- },
- {
- code: '',
- value: 0.0,
- },
- ],
- 'lc1(A)': [
- {
- code: '',
- value: 0.0,
- },
- {
- code: '',
- value: 0.0,
- },
- ],
- '额定电流(A)': [
- {
- code: '',
- value: 55.0,
- },
- {
- code: '',
- value: 55.0,
- },
- ],
- 'Uac(V)': [
- {
- code: '',
- value: 658,
- },
- ],
- },
- 功率: {
- '功率(KW)': [
- {
- code: '',
- value: 0.0,
- },
- {
- code: '',
- value: 0.0,
- },
- ],
- },
- 运行状态: {
- 开合闸状态: [
- {
- code: '',
- value: 0,
- },
- {
- code: '',
- value: 0,
- },
- ],
- },
- };
- export const fanControlState2 = {
- 电流电压: {
- 'la1(A)': [
- {
- code: '',
- value: 35.0,
- },
- {
- code: '',
- value: 28.0,
- },
- ],
- 'lb1(A)': [
- {
- code: '',
- value: 34.0,
- },
- {
- code: '',
- value: 28.0,
- },
- ],
- 'lc1(A)': [
- {
- code: '',
- value: 34.0,
- },
- {
- code: '',
- value: 29.0,
- },
- ],
- '额定电流(A)': [
- {
- code: '',
- value: 75.0,
- },
- {
- code: '',
- value: 75.0,
- },
- ],
- 'Uac(V)': [
- {
- code: '',
- value: 697,
- },
- ],
- },
- 功率: {
- '功率(KW)': [
- {
- code: '',
- value: 42,
- },
- {
- code: '',
- value: 34,
- },
- ],
- },
- 运行状态: {
- 开合闸状态: [
- {
- code: '',
- value: 1,
- },
- {
- code: '',
- value: 1,
- },
- ],
- },
- };
- export const fanSetting1 = [
- {
- title: 'I额定电流(A)',
- code: '',
- value: '55',
- },
- {
- title: 'II额定电流(A)',
- code: '',
- value: '55',
- },
- {
- title: '电压等级(V)',
- code: '',
- value: '660',
- },
- {
- title: 'I速断定值',
- code: '',
- value: '8',
- },
- {
- title: 'II速断定值',
- code: '',
- value: '8',
- },
- {
- title: '欠压定值',
- code: '',
- value: '1',
- },
- {
- title: '欠压延时',
- code: '',
- value: '6',
- },
- {
- title: '过压定值',
- code: '',
- value: '1',
- },
- {
- title: '过压延时',
- code: '',
- value: '6',
- },
- {
- title: 'I启动II延时(s)',
- code: '',
- value: '5',
- },
- {
- title: '启动对侧延时(s)',
- code: '',
- value: '5',
- },
- {
- title: '风电瓦斯延时(s)',
- code: '',
- value: '0',
- },
- ];
- export const fanSetting2 = [
- {
- title: 'I额定电流(A)',
- code: '',
- value: '75',
- },
- {
- title: 'II额定电流(A)',
- code: '',
- value: '75',
- },
- {
- title: '电压等级(V)',
- code: '',
- value: '660',
- },
- {
- title: 'I速断定值',
- code: '',
- value: '8',
- },
- {
- title: 'II速断定值',
- code: '',
- value: '9',
- },
- {
- title: '欠压定值',
- code: '',
- value: '0',
- },
- {
- title: '欠压延时',
- code: '',
- value: '6',
- },
- {
- title: '过压定值',
- code: '',
- value: '1',
- },
- {
- title: '过压延时',
- code: '',
- value: '6',
- },
- {
- title: 'I启动II延时(s)',
- code: '',
- value: '5',
- },
- {
- title: '启动对侧延时(s)',
- code: '',
- value: '5',
- },
- {
- title: '风电瓦斯延时(s)',
- code: '',
- value: '0',
- },
- ];
- export const data_model = ref<any>({
- layout_center: { x: 727, y: 226 },
- config: {
- background_color: '#00000000',
- scale: 0.9,
- position_center: { x: 0, y: 0 },
- svg_position_center: { x: 50, y: 50 },
- grid: true,
- ruler: false,
- },
- done_json: [
- {
- id: 'connection_lineSAVIxZbu1U',
- x: -322,
- y: 297,
- client: { x: -345, y: 316 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -345.5, y: 292 },
- tc: { x: -345, y: 292 },
- tr: { x: -344.5, y: 292 },
- l: { x: -345.5, y: 316 },
- r: { x: -344.5, y: 316 },
- bl: { x: -345.5, y: 340 },
- bc: { x: -345, y: 340 },
- br: { x: -344.5, y: 340 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 47 },
- { x: 50, y: 20 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'connection_lineYOym7m1COw',
- x: -499,
- y: 293,
- client: { x: -499, y: 313 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -499.5, y: 289 },
- tc: { x: -499, y: 289 },
- tr: { x: -498.5, y: 289 },
- l: { x: -499.5, y: 313 },
- r: { x: -498.5, y: 313 },
- bl: { x: -499.5, y: 337 },
- bc: { x: -499, y: 337 },
- br: { x: -498.5, y: 337 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 51, y: 53 },
- { x: 51, y: 21 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'arrowWVIq74qgBO',
- x: -520.5,
- y: -143,
- client: { x: -520.5, y: -143 },
- scale_x: 0.45,
- scale_y: 0.44799998632812543,
- rotate: 179.9812559818536,
- actual_bound: { x: 0.0000014901161193847656, y: 14.285714149475098, width: 100, height: 71.42857360839844 },
- point_coordinate: {
- tl: { x: -497.9947668868031, y: -127.00736161477208 },
- tc: { x: -520.494765682786, y: -127.00000085618991 },
- tr: { x: -542.994764478769, y: -126.99264009760776 },
- l: { x: -498.00000120401705, y: -143.00736075858217 },
- r: { x: -542.999998795983, y: -142.99263924141783 },
- bl: { x: -498.00523552123104, y: -159.00735990239224 },
- bc: { x: -520.505234317214, y: -158.99999914381007 },
- br: { x: -543.0052331131969, y: -158.99263838522793 },
- },
- name: 'arrow',
- title: '箭头',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrowUFvMb6HR6G',
- x: -298.5,
- y: -142,
- client: { x: -302.5, y: -142 },
- scale_x: 0.45,
- scale_y: 0.44799998632812543,
- rotate: 0,
- actual_bound: { x: 0.0000014901161193847656, y: 14.285714149475098, width: 100, height: 71.42857360839844 },
- point_coordinate: {
- tl: { x: -325, y: -158 },
- tc: { x: -302.5, y: -158 },
- tr: { x: -280, y: -158 },
- l: { x: -325, y: -142 },
- r: { x: -280, y: -142 },
- bl: { x: -325, y: -126 },
- bc: { x: -302.5, y: -126 },
- br: { x: -280, y: -126 },
- },
- name: 'arrow',
- title: '箭头-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-lineTy3uyr5DOv',
- x: 508,
- y: 177,
- client: { x: 508, y: 177 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -551.999998795983, y: -137.99263924141783 },
- tc: { x: -551.999998795983, y: -137.99263924141783 },
- tr: { x: -551.999998795983, y: -137.99263924141783 },
- l: { x: -551.999998795983, y: -137.99263924141783 },
- r: { x: -551.999998795983, y: -137.99263924141783 },
- bl: { x: -551.999998795983, y: -137.99263924141783 },
- bc: { x: -551.999998795983, y: -137.99263924141783 },
- br: { x: -551.999998795983, y: -137.99263924141783 },
- },
- name: 'connection_line',
- title: '连接线',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: { title: '点坐标', type: 'JsonEdit', val: [{ x: 50, y: 50 }] },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'Right', target_id: 'arrowWVIq74qgBO' }, end: null },
- },
- {
- id: 'rect3OD1llFsFbQ',
- x: -688,
- y: -224.5,
- client: { x: -688, y: -224.5 },
- scale_x: 1.9694118000598109,
- scale_y: 0.3599999890136722,
- rotate: 0,
- actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
- point_coordinate: {
- tl: { x: -781, y: -227 },
- tc: { x: -688, y: -227 },
- tr: { x: -595, y: -227 },
- l: { x: -781, y: -224.5 },
- r: { x: -595, y: -224.5 },
- bl: { x: -781, y: -222 },
- bc: { x: -688, y: -222 },
- br: { x: -595, y: -222 },
- },
- name: 'rect3',
- title: '矩形',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'rect3z6ep3DMpbX',
- x: -138,
- y: -226.5,
- client: { x: -138, y: -226.5 },
- scale_x: 1.9694118000598109,
- scale_y: 0.3599999890136722,
- rotate: 0,
- actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
- point_coordinate: {
- tl: { x: -231, y: -229 },
- tc: { x: -138, y: -229 },
- tr: { x: -45, y: -229 },
- l: { x: -231, y: -226.5 },
- r: { x: -45, y: -226.5 },
- bl: { x: -231, y: -224 },
- bc: { x: -138, y: -224 },
- br: { x: -45, y: -224 },
- },
- name: 'rect3',
- title: '矩形-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: { fill: { title: '填充色', type: 'Color', val: '#ff0000' } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-lineYTEQVhroc2',
- x: -542.999998795983,
- y: -142.99263924141783,
- client: { x: 588, y: 224 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -585.999998795983, y: -185.99263924141783 },
- tc: { x: -542.999998795983, y: -185.99263924141783 },
- tr: { x: -499.99999879598295, y: -185.99263924141783 },
- l: { x: -585.999998795983, y: -142.99263924141783 },
- r: { x: -499.99999879598295, y: -142.99263924141783 },
- bl: { x: -585.999998795983, y: -99.99263924141783 },
- bc: { x: -542.999998795983, y: -99.99263924141783 },
- br: { x: -499.99999879598295, y: -99.99263924141783 },
- },
- name: 'connection_line',
- title: '连接线',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: -36, y: 51 },
- { x: -36, y: -35 },
- { x: -34, y: -34 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'Right', target_id: 'arrowWVIq74qgBO' }, end: null },
- },
- {
- id: 'connection_lineHE0iHAc7sh',
- x: -107.99999879598295,
- y: -139.99263924141783,
- client: { x: -107.99999879598295, y: -139.99263924141783 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -150.99999879598295, y: -182.99263924141783 },
- tc: { x: -107.99999879598295, y: -182.99263924141783 },
- tr: { x: -64.99999879598295, y: -182.99263924141783 },
- l: { x: -150.99999879598295, y: -139.99263924141783 },
- r: { x: -64.99999879598295, y: -139.99263924141783 },
- bl: { x: -150.99999879598295, y: -96.99263924141783 },
- bc: { x: -107.99999879598295, y: -96.99263924141783 },
- br: { x: -64.99999879598295, y: -96.99263924141783 },
- },
- name: 'connection_line',
- title: '连接线-copy',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: -124, y: 49 },
- { x: -35, y: 49 },
- { x: -36, y: -35 },
- { x: -34, y: -34 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'Right', target_id: 'arrowWVIq74qgBO' }, end: null },
- },
- {
- id: 'straight-lineGewWfZACIy',
- x: -688,
- y: -222,
- client: { x: 452, y: 146 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -688.5, y: -284 },
- tc: { x: -688, y: -284 },
- tr: { x: -687.5, y: -284 },
- l: { x: -688.5, y: -222 },
- r: { x: -687.5, y: -222 },
- bl: { x: -688.5, y: -160 },
- bc: { x: -688, y: -160 },
- br: { x: -687.5, y: -160 },
- },
- name: 'connection_line',
- title: '连接线',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 49, y: 174 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect3OD1llFsFbQ' }, end: null },
- },
- {
- id: 'connection_linekOe9aqybJ7',
- x: -132,
- y: -227,
- client: { x: -132, y: -227 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -132.5, y: -289 },
- tc: { x: -132, y: -289 },
- tr: { x: -131.5, y: -289 },
- l: { x: -132.5, y: -227 },
- r: { x: -131.5, y: -227 },
- bl: { x: -132.5, y: -165 },
- bc: { x: -132, y: -165 },
- br: { x: -131.5, y: -165 },
- },
- name: 'connection_line',
- title: '连接线-copy',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 50, y: 180 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect3OD1llFsFbQ' }, end: null },
- },
- {
- id: 'rect1u3AJvpzHYv',
- x: -689.5,
- y: -63,
- client: { x: -689.5, y: -63 },
- scale_x: 0.7082353259023925,
- scale_y: 0.7259259095159254,
- rotate: 0,
- actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
- point_coordinate: {
- tl: { x: -711, y: -98 },
- tc: { x: -689.5, y: -98 },
- tr: { x: -668, y: -98 },
- l: { x: -711, y: -63 },
- r: { x: -668, y: -63 },
- bl: { x: -711, y: -28 },
- bc: { x: -689.5, y: -28 },
- br: { x: -668, y: -28 },
- },
- name: 'rect1',
- title: '矩形',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#ff0000', closeVal: '#ff0000' }, fill: { openVal: '#ff0000', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'rect1sMuXufr2Gk',
- x: -133.5,
- y: -63,
- client: { x: -133.5, y: -69 },
- scale_x: 0.7082353259023925,
- scale_y: 0.7259259095159254,
- rotate: 0,
- actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
- point_coordinate: {
- tl: { x: -155, y: -104 },
- tc: { x: -133.5, y: -104 },
- tr: { x: -112, y: -104 },
- l: { x: -155, y: -69 },
- r: { x: -112, y: -69 },
- bl: { x: -155, y: -34 },
- bc: { x: -133.5, y: -34 },
- br: { x: -112, y: -34 },
- },
- name: 'rect1',
- title: '矩形-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#ff0000', closeVal: '#ff0000' }, fill: { openVal: '#ff0000', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-linevfbRmEjOka',
- x: -689.5,
- y: -28,
- client: { x: 452, y: 336 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -690, y: -57.5 },
- tc: { x: -689.5, y: -57.5 },
- tr: { x: -689, y: -57.5 },
- l: { x: -690, y: -28 },
- r: { x: -689, y: -28 },
- bl: { x: -690, y: 1.5 },
- bc: { x: -689.5, y: 1.5 },
- br: { x: -689, y: 1.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 49, y: 109 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect1u3AJvpzHYv' }, end: null },
- },
- {
- id: 'connection_line8SKNmdI7NY',
- x: -133.5,
- y: -27,
- client: { x: -133.5, y: -27 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -134, y: -56.5 },
- tc: { x: -133.5, y: -56.5 },
- tr: { x: -133, y: -56.5 },
- l: { x: -134, y: -27 },
- r: { x: -133, y: -27 },
- bl: { x: -134, y: 2.5 },
- bc: { x: -133.5, y: 2.5 },
- br: { x: -133, y: 2.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 49, y: 109 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'rect1u3AJvpzHYv' }, end: null },
- },
- {
- id: 'electric-transformerRBBJGgk12b',
- x: -687,
- y: 81,
- client: { x: -687, y: 81 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 1, y: 1, width: 88, height: 160 },
- point_coordinate: {
- tl: { x: -731, y: 1 },
- tc: { x: -687, y: 1 },
- tr: { x: -643, y: 1 },
- l: { x: -731, y: 81 },
- r: { x: -643, y: 81 },
- bl: { x: -731, y: 161 },
- bc: { x: -687, y: 161 },
- br: { x: -643, y: 161 },
- },
- name: 'electric-transformer',
- title: '变压器',
- tag: 'electric-transformer',
- type: 'CustomSvg',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: { isOpen: { title: '开关', type: 'Switch', val: false } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'electric-transformerWFdpgdmG1o',
- x: -129,
- y: 80,
- client: { x: -129, y: 80 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 1, y: 1, width: 88, height: 160 },
- point_coordinate: {
- tl: { x: -173, y: 0 },
- tc: { x: -129, y: 0 },
- tr: { x: -85, y: 0 },
- l: { x: -173, y: 80 },
- r: { x: -85, y: 80 },
- bl: { x: -173, y: 160 },
- bc: { x: -129, y: 160 },
- br: { x: -85, y: 160 },
- },
- name: 'electric-transformer',
- title: '变压器-copy',
- tag: 'electric-transformer',
- type: 'CustomSvg',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: { isOpen: { title: '开关', type: 'Switch', val: false } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-lineQunQ4hosc2',
- x: -692,
- y: 193,
- client: { x: -692, y: 193 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -692, y: 114.5 },
- tc: { x: -692, y: 114.5 },
- tr: { x: -692, y: 114.5 },
- l: { x: -692, y: 193 },
- r: { x: -692, y: 193 },
- bl: { x: -692, y: 271.5 },
- bc: { x: -692, y: 271.5 },
- br: { x: -692, y: 271.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 50, y: 207 },
- { x: 50, y: 207 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'electric-transformerRBBJGgk12b' }, end: null },
- },
- {
- id: 'connection_lineVp68SNcEFL',
- x: -132,
- y: 192,
- client: { x: -134, y: 193 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -134, y: 114.5 },
- tc: { x: -134, y: 114.5 },
- tr: { x: -134, y: 114.5 },
- l: { x: -134, y: 193 },
- r: { x: -134, y: 193 },
- bl: { x: -134, y: 271.5 },
- bc: { x: -134, y: 271.5 },
- br: { x: -134, y: 271.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 50, y: 207 },
- { x: 50, y: 207 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'electric-transformerRBBJGgk12b' }, end: null },
- },
- {
- id: 'rect2b2ua906HAT',
- x: -695,
- y: 266.5,
- client: { x: -695, y: 266.5 },
- scale_x: 0.677647070988322,
- scale_y: 0.5039999846191411,
- rotate: 0,
- actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
- point_coordinate: {
- tl: { x: -727, y: 263 },
- tc: { x: -695, y: 263 },
- tr: { x: -663, y: 263 },
- l: { x: -727, y: 266.5 },
- r: { x: -663, y: 266.5 },
- bl: { x: -727, y: 270 },
- bc: { x: -695, y: 270 },
- br: { x: -663, y: 270 },
- },
- name: 'rect2',
- title: '矩形',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'rect2iNmTsLMCnq',
- x: -132,
- y: 268.5,
- client: { x: -132, y: 268.5 },
- scale_x: 0.677647070988322,
- scale_y: 0.5039999846191411,
- rotate: 0,
- actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
- point_coordinate: {
- tl: { x: -164, y: 265 },
- tc: { x: -132, y: 265 },
- tr: { x: -100, y: 265 },
- l: { x: -164, y: 268.5 },
- r: { x: -100, y: 268.5 },
- bl: { x: -164, y: 272 },
- bc: { x: -132, y: 272 },
- br: { x: -100, y: 272 },
- },
- name: 'rect2',
- title: '矩形-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'rectiQQbMJHYM9',
- x: -692.5,
- y: 388.5,
- client: { x: -692.5, y: 388.5 },
- scale_x: 0.7411765038513409,
- scale_y: 0.7777777601956344,
- rotate: 0,
- actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
- point_coordinate: {
- tl: { x: -715, y: 351 },
- tc: { x: -692.5, y: 351 },
- tr: { x: -670, y: 351 },
- l: { x: -715, y: 388.5 },
- r: { x: -670, y: 388.5 },
- bl: { x: -715, y: 426 },
- bc: { x: -692.5, y: 426 },
- br: { x: -670, y: 426 },
- },
- name: 'rect',
- title: '矩形',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'rectjl8XE7uvYW',
- x: -132.5,
- y: 387.5,
- client: { x: -132.5, y: 382.5 },
- scale_x: 0.7411765038513409,
- scale_y: 0.7777777601956344,
- rotate: 0,
- actual_bound: { x: 19.64285659790039, y: 1.7857142686843872, width: 60.71428298950195, height: 96.42857360839844 },
- point_coordinate: {
- tl: { x: -155, y: 345 },
- tc: { x: -132.5, y: 345 },
- tr: { x: -110, y: 345 },
- l: { x: -155, y: 382.5 },
- r: { x: -110, y: 382.5 },
- bl: { x: -155, y: 420 },
- bc: { x: -132.5, y: 420 },
- br: { x: -110, y: 420 },
- },
- name: 'rect',
- title: '矩形-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrow-linetgtW9T3tlM',
- x: -693,
- y: 477,
- client: { x: -693, y: 477 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
- point_coordinate: {
- tl: { x: -702.1135158538818, y: 429.05868911743164 },
- tc: { x: -693, y: 429.05868911743164 },
- tr: { x: -683.8864841461182, y: 429.05868911743164 },
- l: { x: -702.1135158538818, y: 477 },
- r: { x: -683.8864841461182, y: 477 },
- bl: { x: -702.1135158538818, y: 524.9413108825684 },
- bc: { x: -693, y: 524.9413108825684 },
- br: { x: -683.8864841461182, y: 524.9413108825684 },
- },
- name: 'arrow-line',
- title: '箭头1',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrow-lineB8uDtRCKgx',
- x: -133,
- y: 477,
- client: { x: -134, y: 476 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
- point_coordinate: {
- tl: { x: -143.11351585388184, y: 428.05868911743164 },
- tc: { x: -134, y: 428.05868911743164 },
- tr: { x: -124.88648414611816, y: 428.05868911743164 },
- l: { x: -143.11351585388184, y: 476 },
- r: { x: -124.88648414611816, y: 476 },
- bl: { x: -143.11351585388184, y: 523.9413108825684 },
- bc: { x: -134, y: 523.9413108825684 },
- br: { x: -124.88648414611816, y: 523.9413108825684 },
- },
- name: 'arrow-line',
- title: '箭头1-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-linewAYhKBlISA',
- x: -693,
- y: 524.9413108825684,
- client: { x: 450, y: 889 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -742, y: 393.94131088256836 },
- tc: { x: -693, y: 393.94131088256836 },
- tr: { x: -644, y: 393.94131088256836 },
- l: { x: -742, y: 524.9413108825684 },
- r: { x: -644, y: 524.9413108825684 },
- bl: { x: -742, y: 655.9413108825684 },
- bc: { x: -693, y: 655.9413108825684 },
- br: { x: -644, y: 655.9413108825684 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 134, y: 50 },
- { x: 135, y: -205 },
- { x: 140, y: -209 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'arrow-linetgtW9T3tlM' }, end: null },
- },
- {
- id: 'connection_linezKEzYcoJeW',
- x: -335,
- y: 524.9413108825684,
- client: { x: -335, y: 524.9413108825684 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -388, y: 393.94131088256836 },
- tc: { x: -335, y: 393.94131088256836 },
- tr: { x: -282, y: 393.94131088256836 },
- l: { x: -388, y: 524.9413108825684 },
- r: { x: -282, y: 524.9413108825684 },
- bl: { x: -388, y: 655.9413108825684 },
- bc: { x: -335, y: 655.9413108825684 },
- br: { x: -282, y: 655.9413108825684 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 253, y: 50 },
- { x: 172, y: 51 },
- { x: 173, y: -208 },
- { x: 173, y: -208 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'BottomCenter', target_id: 'arrow-linetgtW9T3tlM' }, end: null },
- },
- {
- id: 'rect20w5PJBsB2x',
- x: -539.5,
- y: 268.5,
- client: { x: -539.5, y: 268.5 },
- scale_x: 1.810588267796923,
- scale_y: 0.5039999846191411,
- rotate: 0,
- actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
- point_coordinate: {
- tl: { x: -625, y: 265 },
- tc: { x: -539.5, y: 265 },
- tr: { x: -454, y: 265 },
- l: { x: -625, y: 268.5 },
- r: { x: -454, y: 268.5 },
- bl: { x: -625, y: 272 },
- bc: { x: -539.5, y: 272 },
- br: { x: -454, y: 272 },
- },
- name: 'rect2',
- title: '矩形',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'rect2RxYeI9K6JU',
- x: -272.5,
- y: 267.5,
- client: { x: -272.5, y: 267.5 },
- scale_x: 1.810588267796923,
- scale_y: 0.5039999846191411,
- rotate: 0,
- actual_bound: { x: 2.777777671813965, y: 41.66666793823242, width: 94.44444274902344, height: 13.88888931274414 },
- point_coordinate: {
- tl: { x: -358, y: 264 },
- tc: { x: -272.5, y: 264 },
- tr: { x: -187, y: 264 },
- l: { x: -358, y: 267.5 },
- r: { x: -187, y: 267.5 },
- bl: { x: -358, y: 271 },
- bc: { x: -272.5, y: 271 },
- br: { x: -187, y: 271 },
- },
- name: 'rect2',
- title: '矩形-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {},
- state: { OnOff: { title: '开关', default: false, props: { fill: { openVal: '#ff0000', closeVal: '#ffff00' } } } },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-text662jqUKDwd',
- x: -102,
- y: -64,
- client: { x: -102, y: -64 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -117.5, y: -74 },
- tc: { x: -102, y: -74 },
- tr: { x: -86.5, y: -74 },
- l: { x: -117.5, y: -64 },
- r: { x: -86.5, y: -64 },
- bl: { x: -117.5, y: -54 },
- bc: { x: -102, y: -54 },
- br: { x: -86.5, y: -54 },
- },
- name: 'custom-svg-text',
- title: '文字',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '主风机移变' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-lineqQLg7eRl0i',
- x: -502,
- y: 295,
- client: { x: -485, y: 314 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -512, y: 314 },
- tc: { x: -485, y: 314 },
- tr: { x: -458, y: 314 },
- l: { x: -512, y: 314 },
- r: { x: -458, y: 314 },
- bl: { x: -512, y: 314 },
- bc: { x: -485, y: 314 },
- br: { x: -458, y: 314 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 51, y: 50 },
- { x: 97, y: 50 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'connection_linek2NgvxH4Nd',
- x: -554,
- y: 294,
- client: { x: -538, y: 313 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -565, y: 313 },
- tc: { x: -538, y: 313 },
- tr: { x: -511, y: 313 },
- l: { x: -565, y: 313 },
- r: { x: -511, y: 313 },
- bl: { x: -565, y: 313 },
- bc: { x: -538, y: 313 },
- br: { x: -511, y: 313 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 59, y: 51 },
- { x: 103, y: 51 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'connection_lineZu9slDCUUd',
- x: -321,
- y: 293,
- client: { x: -321, y: 314 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -343.5, y: 314 },
- tc: { x: -321, y: 314 },
- tr: { x: -298.5, y: 314 },
- l: { x: -343.5, y: 314 },
- r: { x: -298.5, y: 314 },
- bl: { x: -343.5, y: 314 },
- bc: { x: -321, y: 314 },
- br: { x: -298.5, y: 314 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 50 },
- { x: 95, y: 50 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'connection_linelZOGc5aG2N',
- x: -375,
- y: 292,
- client: { x: -399, y: 313 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -426, y: 313 },
- tc: { x: -399, y: 313 },
- tr: { x: -372, y: 313 },
- l: { x: -426, y: 313 },
- r: { x: -372, y: 313 },
- bl: { x: -426, y: 313 },
- bc: { x: -399, y: 313 },
- br: { x: -372, y: 313 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 61, y: 51 },
- { x: 103, y: 51 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'connection_linePOFwnnzvAq',
- x: -546,
- y: 343,
- client: { x: -546, y: 365 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -546.5, y: 342.5 },
- tc: { x: -546, y: 342.5 },
- tr: { x: -545.5, y: 342.5 },
- l: { x: -546.5, y: 365 },
- r: { x: -545.5, y: 365 },
- bl: { x: -546.5, y: 387.5 },
- bc: { x: -546, y: 387.5 },
- br: { x: -545.5, y: 387.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 51, y: 32 },
- { x: 51, y: 2 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'electric-breakerfztlV6HGOI',
- x: -568,
- y: 375,
- client: { x: -568, y: 393 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
- point_coordinate: {
- tl: { x: -590.0588989257812, y: 343.82001876831055 },
- tc: { x: -568, y: 343.82001876831055 },
- tr: { x: -545.9411010742188, y: 343.82001876831055 },
- l: { x: -590.0588989257812, y: 393 },
- r: { x: -545.9411010742188, y: 393 },
- bl: { x: -590.0588989257812, y: 442.17998123168945 },
- bc: { x: -568, y: 442.17998123168945 },
- br: { x: -545.9411010742188, y: 442.17998123168945 },
- },
- name: 'electric-breaker',
- title: '电源断路器',
- tag: 'electric-breaker',
- type: 'CustomSvg',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {
- stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
- fill: { title: '填充色', type: 'Color', val: '#00ff00' },
- isOpen: { title: '开关', type: 'Switch', val: false },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'connection_line26MoSsACzZ',
- x: -456,
- y: 343,
- client: { x: -456, y: 365 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -456.5, y: 342.5 },
- tc: { x: -456, y: 342.5 },
- tr: { x: -455.5, y: 342.5 },
- l: { x: -456.5, y: 365 },
- r: { x: -455.5, y: 365 },
- bl: { x: -456.5, y: 387.5 },
- bc: { x: -456, y: 387.5 },
- br: { x: -455.5, y: 387.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 33 },
- { x: 51, y: 2 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'electric-breakeraE7ngUn8TD',
- x: -478,
- y: 374,
- client: { x: -478, y: 391 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
- point_coordinate: {
- tl: { x: -500.05889892578125, y: 341.82001876831055 },
- tc: { x: -478, y: 341.82001876831055 },
- tr: { x: -455.94110107421875, y: 341.82001876831055 },
- l: { x: -500.05889892578125, y: 391 },
- r: { x: -455.94110107421875, y: 391 },
- bl: { x: -500.05889892578125, y: 440.17998123168945 },
- bc: { x: -478, y: 440.17998123168945 },
- br: { x: -455.94110107421875, y: 440.17998123168945 },
- },
- name: 'electric-breaker',
- title: '电源断路器-copy',
- tag: 'electric-breaker',
- type: 'CustomSvg',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {
- stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
- fill: { title: '填充色', type: 'Color', val: '#00ff00' },
- isOpen: { title: '开关', type: 'Switch', val: false },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'connection_lineibxBHM0S9F',
- x: -364,
- y: 339,
- client: { x: -367, y: 363 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -367.5, y: 340.5 },
- tc: { x: -367, y: 340.5 },
- tr: { x: -366.5, y: 340.5 },
- l: { x: -367.5, y: 363 },
- r: { x: -366.5, y: 363 },
- bl: { x: -367.5, y: 385.5 },
- bc: { x: -367, y: 385.5 },
- br: { x: -366.5, y: 385.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 36 },
- { x: 51, y: 2 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'connection_lineJUvw4pt6ft',
- x: -277,
- y: 339,
- client: { x: -277, y: 360 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -277.5, y: 337.5 },
- tc: { x: -277, y: 337.5 },
- tr: { x: -276.5, y: 337.5 },
- l: { x: -277.5, y: 360 },
- r: { x: -276.5, y: 360 },
- bl: { x: -277.5, y: 382.5 },
- bc: { x: -277, y: 382.5 },
- br: { x: -276.5, y: 382.5 },
- },
- name: 'connection_line',
- title: 'changeLine',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#FFFF00' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: {
- title: '点坐标',
- type: 'JsonEdit',
- val: [
- { x: 50, y: 37 },
- { x: 51, y: 2 },
- ],
- },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text662jqUKDwd' }, end: null },
- },
- {
- id: 'electric-breakerO6pjkUkcp7',
- x: -386,
- y: 376,
- client: { x: -386, y: 392 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
- point_coordinate: {
- tl: { x: -408.05889892578125, y: 342.82001876831055 },
- tc: { x: -386, y: 342.82001876831055 },
- tr: { x: -363.94110107421875, y: 342.82001876831055 },
- l: { x: -408.05889892578125, y: 392 },
- r: { x: -363.94110107421875, y: 392 },
- bl: { x: -408.05889892578125, y: 441.17998123168945 },
- bc: { x: -386, y: 441.17998123168945 },
- br: { x: -363.94110107421875, y: 441.17998123168945 },
- },
- name: 'electric-breaker',
- title: '电源断路器-copy-copy',
- tag: 'electric-breaker',
- type: 'CustomSvg',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {
- stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
- fill: { title: '填充色', type: 'Color', val: '#00ff00' },
- isOpen: { title: '开关', type: 'Switch', val: false },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'electric-breakerzbNanrnQvI',
- x: -301,
- y: 375,
- client: { x: -301, y: 375 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 28.222497940063477, y: 0.8181726336479187, width: 44.1177978515625, height: 98.3599624633789 },
- point_coordinate: {
- tl: { x: -323.05889892578125, y: 325.82001876831055 },
- tc: { x: -301, y: 325.82001876831055 },
- tr: { x: -278.94110107421875, y: 325.82001876831055 },
- l: { x: -323.05889892578125, y: 375 },
- r: { x: -278.94110107421875, y: 375 },
- bl: { x: -323.05889892578125, y: 424.17998123168945 },
- bc: { x: -301, y: 424.17998123168945 },
- br: { x: -278.94110107421875, y: 424.17998123168945 },
- },
- name: 'electric-breaker',
- title: '电源断路器-copy-copy-copy',
- tag: 'electric-breaker',
- type: 'CustomSvg',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- props: {
- stroke: { title: '边框色', type: 'Color', val: '#00ff00' },
- fill: { title: '填充色', type: 'Color', val: '#00ff00' },
- isOpen: { title: '开关', type: 'Switch', val: false },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrow-line5bLLa1fo6m',
- x: -547,
- y: 471,
- client: { x: -547, y: 488 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
- point_coordinate: {
- tl: { x: -556.1135158538818, y: 440.05868911743164 },
- tc: { x: -547, y: 440.05868911743164 },
- tr: { x: -537.8864841461182, y: 440.05868911743164 },
- l: { x: -556.1135158538818, y: 488 },
- r: { x: -537.8864841461182, y: 488 },
- bl: { x: -556.1135158538818, y: 535.9413108825684 },
- bc: { x: -547, y: 535.9413108825684 },
- br: { x: -537.8864841461182, y: 535.9413108825684 },
- },
- name: 'arrow-line',
- title: '箭头1',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrow-lineqPB3ix7BkL',
- x: -457,
- y: 472,
- client: { x: -457, y: 472 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
- point_coordinate: {
- tl: { x: -466.11351585388184, y: 424.05868911743164 },
- tc: { x: -457, y: 424.05868911743164 },
- tr: { x: -447.88648414611816, y: 424.05868911743164 },
- l: { x: -466.11351585388184, y: 472 },
- r: { x: -447.88648414611816, y: 472 },
- bl: { x: -466.11351585388184, y: 519.9413108825684 },
- bc: { x: -457, y: 519.9413108825684 },
- br: { x: -447.88648414611816, y: 519.9413108825684 },
- },
- name: 'arrow-line',
- title: '箭头1-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrow-lineBoydWOHHmr',
- x: -366,
- y: 471,
- client: { x: -366, y: 471 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
- point_coordinate: {
- tl: { x: -375.11351585388184, y: 423.05868911743164 },
- tc: { x: -366, y: 423.05868911743164 },
- tr: { x: -356.88648414611816, y: 423.05868911743164 },
- l: { x: -375.11351585388184, y: 471 },
- r: { x: -356.88648414611816, y: 471 },
- bl: { x: -375.11351585388184, y: 518.9413108825684 },
- bc: { x: -366, y: 518.9413108825684 },
- br: { x: -356.88648414611816, y: 518.9413108825684 },
- },
- name: 'arrow-line',
- title: '箭头1-copy-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'arrow-line5waKsA7PHF',
- x: -280,
- y: 473,
- client: { x: -282, y: 473 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 40.88562774658203, y: -0.0006357083912007511, width: 18.227031707763672, height: 95.88262176513672 },
- point_coordinate: {
- tl: { x: -291.11351585388184, y: 425.05868911743164 },
- tc: { x: -282, y: 425.05868911743164 },
- tr: { x: -272.88648414611816, y: 425.05868911743164 },
- l: { x: -291.11351585388184, y: 473 },
- r: { x: -272.88648414611816, y: 473 },
- bl: { x: -291.11351585388184, y: 520.9413108825684 },
- bc: { x: -282, y: 520.9413108825684 },
- br: { x: -272.88648414611816, y: 520.9413108825684 },
- },
- name: 'arrow-line',
- title: '箭头1-copy-copy-copy',
- type: 'File',
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- display: true,
- state: {
- OnOff: {
- title: '开关',
- default: false,
- props: { stroke: { openVal: '#00ff00', closeVal: '#ffff00' }, fill: { openVal: '#00ff00', closeVal: '#ff000000' } },
- },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-text9mE6DlRsxq',
- x: -662,
- y: -63,
- client: { x: -662, y: -63 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -700, y: -73 },
- tc: { x: -662, y: -73 },
- tr: { x: -624, y: -73 },
- l: { x: -700, y: -63 },
- r: { x: -624, y: -63 },
- bl: { x: -700, y: -53 },
- bc: { x: -662, y: -53 },
- br: { x: -624, y: -53 },
- },
- name: 'custom-svg-text',
- title: '文字-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '备风机移变' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textffQAK2KK7l',
- x: -512,
- y: 313,
- client: { x: -512, y: 313 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -524.4000005722046, y: 297 },
- tc: { x: -512, y: 297 },
- tr: { x: -499.5999994277954, y: 297 },
- l: { x: -524.4000005722046, y: 313 },
- r: { x: -499.5999994277954, y: 313 },
- bl: { x: -524.4000005722046, y: 329 },
- bc: { x: -512, y: 329 },
- br: { x: -499.5999994277954, y: 329 },
- },
- name: 'custom-svg-text',
- title: '文字',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '备' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 24 },
- fill: { title: '文字颜色', type: 'Color', val: '#00DDFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textErE3B1l7S1',
- x: -334,
- y: 312,
- client: { x: -334, y: 312 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -346.4000005722046, y: 296 },
- tc: { x: -334, y: 296 },
- tr: { x: -321.5999994277954, y: 296 },
- l: { x: -346.4000005722046, y: 312 },
- r: { x: -321.5999994277954, y: 312 },
- bl: { x: -346.4000005722046, y: 328 },
- bc: { x: -334, y: 328 },
- br: { x: -321.5999994277954, y: 328 },
- },
- name: 'custom-svg-text',
- title: '文字-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '主' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 24 },
- fill: { title: '文字颜色', type: 'Color', val: '#00DDFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textIjsFbs6fID',
- x: -675,
- y: -172,
- client: { x: -675, y: -172 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -782.466552734375, y: -182 },
- tc: { x: -675, y: -182 },
- tr: { x: -567.533447265625, y: -182 },
- l: { x: -782.466552734375, y: -172 },
- r: { x: -567.533447265625, y: -172 },
- bl: { x: -782.466552734375, y: -162 },
- bc: { x: -675, y: -162 },
- br: { x: -567.533447265625, y: -162 },
- },
- name: 'custom-svg-text',
- title: '文字',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '来在12煤三盘区变电所G1211柜' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textWilG5jRH7w',
- x: -353,
- y: -172,
- client: { x: -353, y: -172 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -460.466552734375, y: -182 },
- tc: { x: -353, y: -182 },
- tr: { x: -245.533447265625, y: -182 },
- l: { x: -460.466552734375, y: -172 },
- r: { x: -245.533447265625, y: -172 },
- bl: { x: -460.466552734375, y: -162 },
- bc: { x: -353, y: -162 },
- br: { x: -245.533447265625, y: -162 },
- },
- name: 'custom-svg-text',
- title: '文字-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '来在12煤三盘区变电所G1107柜' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textcxjU8wN810',
- x: -137,
- y: 553,
- client: { x: -137, y: 553 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -152.5, y: 543 },
- tc: { x: -137, y: 543 },
- tr: { x: -121.5, y: 543 },
- l: { x: -152.5, y: 553 },
- r: { x: -121.5, y: 553 },
- bl: { x: -152.5, y: 563 },
- bc: { x: -137, y: 563 },
- br: { x: -121.5, y: 563 },
- },
- name: 'custom-svg-text',
- title: '文字',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '主风机馈电' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textHXkhPmUMWE',
- x: -742,
- y: 551,
- client: { x: -742, y: 551 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -779.6000022888184, y: 541 },
- tc: { x: -742, y: 541 },
- tr: { x: -704.3999977111816, y: 541 },
- l: { x: -779.6000022888184, y: 551 },
- r: { x: -704.3999977111816, y: 551 },
- bl: { x: -779.6000022888184, y: 561 },
- bc: { x: -742, y: 561 },
- br: { x: -704.3999977111816, y: 561 },
- },
- name: 'custom-svg-text',
- title: '文字-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '备风机馈电' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFFFFF' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textH6apeUpS25',
- x: -280,
- y: -100,
- client: { x: -280, y: -100 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -325.5, y: -110 },
- tc: { x: -280, y: -110 },
- tr: { x: -234.5, y: -110 },
- l: { x: -325.5, y: -100 },
- r: { x: -234.5, y: -100 },
- bl: { x: -325.5, y: -90 },
- bc: { x: -280, y: -90 },
- br: { x: -234.5, y: -90 },
- },
- name: 'custom-svg-text',
- title: '文字',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '高压运行状态' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textdlSMN5CrsK',
- x: -281,
- y: 127,
- client: { x: -281, y: 127 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -326.5, y: 117 },
- tc: { x: -281, y: 117 },
- tr: { x: -235.5, y: 117 },
- l: { x: -326.5, y: 127 },
- r: { x: -235.5, y: 127 },
- bl: { x: -326.5, y: 137 },
- bc: { x: -281, y: 137 },
- br: { x: -235.5, y: 137 },
- },
- name: 'custom-svg-text',
- title: '文字-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '低压运行状态' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-text8hfqYu7qCf',
- x: -838,
- y: 127,
- client: { x: -838, y: 127 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -883.5, y: 117 },
- tc: { x: -838, y: 117 },
- tr: { x: -792.5, y: 117 },
- l: { x: -883.5, y: 127 },
- r: { x: -792.5, y: 127 },
- bl: { x: -883.5, y: 137 },
- bc: { x: -838, y: 137 },
- br: { x: -792.5, y: 137 },
- },
- name: 'custom-svg-text',
- title: '文字-copy-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '低压运行状态' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textYN6br3c8mY',
- x: -835,
- y: -100,
- client: { x: -835, y: -105 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -880.5, y: -115 },
- tc: { x: -835, y: -115 },
- tr: { x: -789.5, y: -115 },
- l: { x: -880.5, y: -105 },
- r: { x: -789.5, y: -105 },
- bl: { x: -880.5, y: -95 },
- bc: { x: -835, y: -95 },
- br: { x: -789.5, y: -95 },
- },
- name: 'custom-svg-text',
- title: '文字-copy-copy-copy',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '高压运行状态' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#FFA600' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-text9OtB4BD8tx',
- x: -811,
- y: -75,
- client: { x: -811, y: -78 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -826.1000003814697, y: -88 },
- tc: { x: -811, y: -88 },
- tr: { x: -795.8999996185303, y: -88 },
- l: { x: -826.1000003814697, y: -78 },
- r: { x: -795.8999996185303, y: -78 },
- bl: { x: -826.1000003814697, y: -68 },
- bc: { x: -811, y: -68 },
- br: { x: -795.8999996185303, y: -68 },
- },
- name: 'custom-svg-text',
- title: 'b-state',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '正常' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textifb0BW0nZX',
- x: -252,
- y: -74,
- client: { x: -252, y: -74 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -267.1000003814697, y: -84 },
- tc: { x: -252, y: -84 },
- tr: { x: -236.89999961853027, y: -84 },
- l: { x: -267.1000003814697, y: -74 },
- r: { x: -236.89999961853027, y: -74 },
- bl: { x: -267.1000003814697, y: -64 },
- bc: { x: -252, y: -64 },
- br: { x: -236.89999961853027, y: -64 },
- },
- name: 'custom-svg-text',
- title: 'z-state',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '正常' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'straight-lineFGURWExYla',
- x: -811,
- y: -88,
- client: { x: 347, y: 258 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 50, y: 50, width: 0, height: 0 },
- point_coordinate: {
- tl: { x: -811, y: -88 },
- tc: { x: -811, y: -88 },
- tr: { x: -811, y: -88 },
- l: { x: -811, y: -88 },
- r: { x: -811, y: -88 },
- bl: { x: -811, y: -88 },
- bc: { x: -811, y: -88 },
- br: { x: -811, y: -88 },
- },
- name: 'connection_line',
- title: '连接线',
- type: 'ConnectionLine',
- config: { can_zoom: false, have_anchor: false, actual_rect: false },
- display: true,
- props: {
- stroke: { title: '线条颜色', type: 'Color', val: '#ff0000' },
- 'stroke-width': { title: '线条宽度', type: 'InputNumber', val: 2 },
- point_position: { title: '点坐标', type: 'JsonEdit', val: [{ x: 50, y: 50 }] },
- },
- animations: {
- type: {
- title: '动画类型',
- type: 'Select',
- val: 'None',
- options: [
- { label: '无', value: 'None' },
- { label: '电流', value: 'Electricity' },
- { label: '轨迹', value: 'Track' },
- { label: '水珠', value: 'WaterDrop' },
- ],
- },
- dur: { title: '持续时间', type: 'InputNumber', val: 20 },
- repeatCount: { title: '循环次数', type: 'Input', val: 'indefinite', disabled: true },
- color: { title: '颜色', type: 'Color', val: '#0a7ae2' },
- reverse: { title: '反转动画', type: 'Switch', val: false },
- },
- bind_anchors: { start: { type: 'TopCenter', target_id: 'custom-svg-text9OtB4BD8tx' }, end: null },
- },
- {
- id: 'custom-svg-textlqc2YZTzyI',
- x: -815,
- y: 153,
- client: { x: -815, y: 153 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -830.1000003814697, y: 143 },
- tc: { x: -815, y: 143 },
- tr: { x: -799.8999996185303, y: 143 },
- l: { x: -830.1000003814697, y: 153 },
- r: { x: -799.8999996185303, y: 153 },
- bl: { x: -830.1000003814697, y: 163 },
- bc: { x: -815, y: 163 },
- br: { x: -799.8999996185303, y: 163 },
- },
- name: 'custom-svg-text',
- title: 'b-state1',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '正常' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- {
- id: 'custom-svg-textwo1kl0CsXG',
- x: -249,
- y: 151,
- client: { x: -249, y: 151 },
- scale_x: 1,
- scale_y: 1,
- rotate: 0,
- actual_bound: { x: 49.20000076293945, y: 39, width: 31, height: 20 },
- point_coordinate: {
- tl: { x: -264.1000003814697, y: 141 },
- tc: { x: -249, y: 141 },
- tr: { x: -233.89999961853027, y: 141 },
- l: { x: -264.1000003814697, y: 151 },
- r: { x: -233.89999961853027, y: 151 },
- bl: { x: -264.1000003814697, y: 161 },
- bc: { x: -249, y: 161 },
- br: { x: -233.89999961853027, y: 161 },
- },
- name: 'custom-svg-text',
- title: 'z-state1',
- tag: 'custom-svg-text',
- type: 'CustomSvg',
- display: true,
- config: { can_zoom: true, have_anchor: true, actual_rect: true },
- props: {
- text: { title: '文字内容', type: 'Input', val: '正常' },
- fontFamily: {
- title: '字体',
- type: 'Select',
- val: 'Microsoft YaHei',
- options: [
- { value: 'Microsoft YaHei', label: '微软雅黑' },
- { value: 'NSimSun', label: '新宋体' },
- ],
- },
- fontSize: { title: '文字大小', type: 'InputNumber', val: 15 },
- fill: { title: '文字颜色', type: 'Color', val: '#00FF00' },
- },
- common_animations: { val: '', delay: 'delay-0s', speed: 'slow', repeat: 'infinite' },
- },
- ],
- });
- export const option = reactive<EChartsOption>({
- title: {
- text: '局部通风机运行工况智能决策',
- textStyle: {
- color: '#BF954D',
- },
- left: 'center',
- top: 0,
- },
- // backgroundColor: '#39deff',
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'cross',
- label: {
- backgroundColor: '#6a7985',
- },
- },
- },
- toolbox: {
- show: true,
- },
- grid: {
- left: 8,
- right: 50,
- bottom: 0,
- containLabel: true,
- },
- xAxis: {
- type: 'category',
- name: 'm³/min',
- nameTextStyle: {
- fontWeight: 600,
- fontSize: 13,
- },
- splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
- axisLabel: {
- margin: 10,
- fontSize: 14,
- color: '#f1f1f199',
- },
- boundaryGap: false,
- data: [],
- },
- yAxis: {
- type: 'value',
- axisLine: {
- show: true,
- lineStyle: {
- color: '#006c9d',
- },
- },
- splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
- axisLabel: {
- show: true,
- fontSize: 14,
- formatter: '{value}',
- color: '#0071A5',
- },
- min: 1000,
- max: 9000,
- name: 'Pa',
- nameTextStyle: {
- fontWeight: 600,
- fontSize: 13,
- },
- },
- series: [],
- });
- export const echatsOption = {
- // tooltip: {
- // show: true,
- // formatter: function (datas: []) {
- // return datas.map((item) => {
- // item['data'] = item['data'].toFixed(2);
- // return item;
- // });
- // },
- // },
- legend: {
- top: -10,
- },
- grid: {
- top: '15%',
- left: '20',
- right: '25',
- bottom: '0',
- containLabel: true,
- },
- toolbox: {
- feature: {
- saveAsImage: {
- show: false,
- },
- },
- },
- xAxis: {
- type: 'category',
- axisLabel: {
- margin: 10,
- color: '#f1f1f199',
- },
- name: 'm³/min',
- },
- yAxis: {
- axisLabel: {
- color: '#0071A5',
- },
- },
- };
- export const chartsColumnList = [
- {
- legend: '瓦斯浓度',
- seriesName: '(%)',
- ymax: 0.8,
- yname: '%',
- linetype: 'line',
- yaxispos: 'left',
- color: '#00FFA8',
- sort: 1,
- xRotate: 0,
- dataIndex: 'gas',
- },
- {
- legend: '风量',
- seriesName: '(m³/min)',
- ymax: 1100,
- yname: 'm³/min',
- linetype: 'line',
- yaxispos: 'right',
- color: '#FDB146',
- sort: 2,
- xRotate: 0,
- dataIndex: 'm3',
- },
- {
- legend: '频率',
- seriesName: '(Hz)',
- ymax: 50,
- yname: 'Hz',
- linetype: 'line',
- yaxispos: 'right',
- color: '#AE19FF',
- sort: 3,
- xRotate: 0,
- dataIndex: 'Hz',
- },
- ];
- export const initData = () => {
- const num = 20;
- const obj = {
- angle: 0,
- Hz: 50.0,
- a: -0.0354466316912028,
- b: 46.9032472840413,
- c: -6837.67023286905,
- min: 600,
- max: 1100.0,
- };
- const a = -0.0354,
- m = 46.90324,
- n = -6837.67023;
- const data = [];
- for (let i = 0; i <= num; i++) {
- const item = cloneDeep(obj);
- const maxn = 14 * i - 0.15 * i * i;
- item['a'] = Math.round((a - 0.02 * 0.02 * i) * 10000) / 10000;
- item['Hz'] = 50 - i;
- item['c'] = n - 10 * i - 0.0232 * i * i;
- item['b'] = m + i * 0.31 * 0.12;
- item['max'] = 1090.0 - maxn;
- item['min'] = 600 + 0.2 * (i - 50) * i;
- data.push(item);
- }
- console.log('------------------->', data);
- return data;
- };
- export const fanInfoData = reactive({
- fj: '一号回风井',
- xh: 'FBCDZ No.29',
- gl: '2×500',
- edgl: '740',
- eddy: '10000',
- eddl: '38.4',
- flfw: '110~260',
- fyfw: '200~4100',
- fbdj: 'ExdI',
- ccrq: '2010.07',
- sccj: '南阳防爆',
- tjfs: '变频调节',
- plfw: '30~50',
- });
- export const fanInfo = [
- {
- title: '风井',
- code: 'fj',
- value: '一号回风井',
- },
- {
- title: '型号',
- code: 'xh',
- value: 'FBCDZ No.29',
- },
- {
- title: '功率(kW)',
- code: 'gl',
- value: '2×500',
- },
- {
- title: '额定转速(r/min)',
- code: 'edgl',
- value: '740',
- },
- {
- title: '额定电压(V)',
- code: 'eddy',
- value: '10000',
- },
- {
- title: '额定电流(A)',
- code: 'eddl',
- value: '38.4',
- },
- {
- title: '风量范围(m³/s)',
- code: 'flfw',
- value: '110~260',
- },
- {
- title: '风压范围(Pa)',
- code: 'fyfw',
- value: '200~4100',
- },
- {
- title: '防爆等级',
- code: 'fbdj',
- value: 'ExdI',
- },
- {
- title: '出厂日期',
- code: 'ccrq',
- value: '2010.07',
- },
- {
- title: '生产厂家',
- code: 'sccj',
- value: '南阳防爆',
- },
- {
- title: '调节方式',
- code: 'tjfs',
- value: '变频调节',
- },
- {
- title: '频率可调范围(Hz)',
- code: 'plfw',
- value: '30~50',
- },
- ];
- export const getSchamas = (): FormSchema[] => {
- return [
- {
- field: 'fj',
- component: 'Input',
- label: '风井',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'xh',
- component: 'Input',
- label: '型号',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'gl',
- component: 'Input',
- label: '功率(kW)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'edgl',
- component: 'Input',
- label: '额定转速(r/min)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'eddy',
- component: 'Input',
- label: '额定电压(V)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'eddl',
- component: 'Input',
- label: '额定电流(A)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'flfw',
- component: 'Input',
- label: '风量范围(m³/s)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'fyfw',
- component: 'Input',
- label: '风压范围(Pa)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'fbdj',
- component: 'Select',
- label: '防爆等级',
- colProps: {
- span: 6,
- },
- componentProps: {
- options: [
- {
- label: 'ExdI',
- value: 'ExdI',
- key: '1',
- },
- ],
- },
- },
- {
- field: 'ccrq',
- component: 'Input',
- label: '出厂日期',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'sccj',
- component: 'Input',
- label: '生产厂家',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'tjfs',
- component: 'Select',
- label: '调节方式',
- colProps: {
- span: 6,
- },
- componentProps: {
- options: [
- {
- label: '变频调节',
- value: '变频调节',
- key: '1',
- },
- ],
- },
- },
- {
- field: 'plfw',
- component: 'Input',
- label: '频率可调范围(Hz)',
- colProps: {
- span: 6,
- },
- },
- ];
- };
- export const getSchamas1 = (): FormSchema[] => {
- return [
- {
- field: 'Hz',
- component: 'InputNumber',
- label: '频率(Hz)',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'a',
- component: 'InputNumber',
- label: '二次项系数',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'b',
- component: 'InputNumber',
- label: '一次项系数',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'c',
- component: 'InputNumber',
- label: '常数项系数',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'min',
- component: 'InputNumber',
- label: '风量下限(m³/s)',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'max',
- component: 'InputNumber',
- label: '风量上限(m³/s)',
- required: true,
- colProps: {
- span: 6,
- },
- },
- ];
- };
- export const lineFormData = reactive({
- Hz: null,
- a: null,
- b: null,
- c: null,
- min: null,
- max: null,
- });
|