123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605 |
- /*@WebApiFunc@*/
- var varList = ['GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188','GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'adaptBrowser',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
- '1234/jz_gl': ['lib/叠加.js'],
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 29 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- anniu=0;
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxs=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- Node0_0_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_001_CI0166";
- Node0_0_bianhao="A01";
- Node0_0_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006";
- Node0_0_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0002";
- Node0_1_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166";
- Node0_1_bianhao="A02";
- Node0_1_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006";
- Node0_1_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002";
- Node0_2_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166";
- Node0_2_bianhao="A03";
- Node0_2_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006";
- Node0_2_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002";
- Node0_3_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166";
- Node0_3_bianhao="A04";
- Node0_3_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006";
- Node0_3_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002";
- Node0_4_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166";
- Node0_4_bianhao="A05";
- Node0_4_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006";
- Node0_4_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002";
- Node0_5_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166";
- Node0_5_bianhao="A06";
- Node0_5_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006";
- Node0_5_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002";
- Node0_6_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166";
- Node0_6_bianhao="A07";
- Node0_6_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006";
- Node0_6_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002";
- Node0_7_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166";
- Node0_7_bianhao="A08";
- Node0_7_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006";
- Node0_7_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002";
- Node0_8_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166";
- Node0_8_bianhao="A09";
- Node0_8_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006";
- Node0_8_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002";
- Node0_9_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166";
- Node0_9_bianhao="A10";
- Node0_9_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006";
- Node0_9_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002";
- Node0_10_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166";
- Node0_10_bianhao="A11";
- Node0_10_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006";
- Node0_10_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002";
- Node0_11_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166";
- Node0_11_bianhao="A12";
- Node0_11_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006";
- Node0_11_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002";
- Node0_12_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166";
- Node0_12_bianhao="B13";
- Node0_12_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006";
- Node0_12_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002";
- Node0_13_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166";
- Node0_13_bianhao="B14";
- Node0_13_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006";
- Node0_13_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002";
- Node0_14_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166";
- Node0_14_bianhao="B15";
- Node0_14_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006";
- Node0_14_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002";
- Node0_15_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166";
- Node0_15_bianhao="B16";
- Node0_15_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006";
- Node0_15_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002";
- Node0_16_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166";
- Node0_16_bianhao="B17";
- Node0_16_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006";
- Node0_16_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002";
- Node0_17_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166";
- Node0_17_bianhao="B18";
- Node0_17_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006";
- Node0_17_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002";
- Node0_18_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166";
- Node0_18_bianhao="B19";
- Node0_18_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006";
- Node0_18_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002";
- Node0_19_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166";
- Node0_19_bianhao="B20";
- Node0_19_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006";
- Node0_19_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002";
- Node0_20_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166";
- Node0_20_bianhao="B21";
- Node0_20_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006";
- Node0_20_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002";
- Node0_21_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166";
- Node0_21_bianhao="B22";
- Node0_21_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006";
- Node0_21_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002";
- Node0_22_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166";
- Node0_22_bianhao="B23";
- Node0_22_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006";
- Node0_22_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002";
- Node0_23_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166";
- Node0_23_bianhao="B24";
- Node0_23_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006";
- Node0_23_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002";
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 944*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_0 = new ht.lib['叠加'](68*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_001_CI0166',bianhao:'A01',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0002',}, function (){return {}}, 'Node0_0');
- _libModel.add("Node0_0", Node0_0);
- Node0_0.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_1 = new ht.lib['叠加'](209*ratio.ratioX, 45*ratio.ratioY, 135*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166',bianhao:'A02',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002',}, function (){return {}}, 'Node0_1');
- _libModel.add("Node0_1", Node0_1);
- Node0_1.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_2 = new ht.lib['叠加'](351*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166',bianhao:'A03',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002',}, function (){return {}}, 'Node0_2');
- _libModel.add("Node0_2", Node0_2);
- Node0_2.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_3 = new ht.lib['叠加'](492*ratio.ratioX, 45*ratio.ratioY, 135*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166',bianhao:'A04',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002',}, function (){return {}}, 'Node0_3');
- _libModel.add("Node0_3", Node0_3);
- Node0_3.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_4 = new ht.lib['叠加'](634*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166',bianhao:'A05',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002',}, function (){return {}}, 'Node0_4');
- _libModel.add("Node0_4", Node0_4);
- Node0_4.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_5 = new ht.lib['叠加'](775*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166',bianhao:'A06',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002',}, function (){return {}}, 'Node0_5');
- _libModel.add("Node0_5", Node0_5);
- Node0_5.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_6 = new ht.lib['叠加'](917*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166',bianhao:'A07',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002',}, function (){return {}}, 'Node0_6');
- _libModel.add("Node0_6", Node0_6);
- Node0_6.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_7 = new ht.lib['叠加'](1058*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166',bianhao:'A08',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002',}, function (){return {}}, 'Node0_7');
- _libModel.add("Node0_7", Node0_7);
- Node0_7.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_8 = new ht.lib['叠加'](1200*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166',bianhao:'A09',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002',}, function (){return {}}, 'Node0_8');
- _libModel.add("Node0_8", Node0_8);
- Node0_8.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_9 = new ht.lib['叠加'](1341*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166',bianhao:'A10',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002',}, function (){return {}}, 'Node0_9');
- _libModel.add("Node0_9", Node0_9);
- Node0_9.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_10 = new ht.lib['叠加'](1483*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166',bianhao:'A11',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002',}, function (){return {}}, 'Node0_10');
- _libModel.add("Node0_10", Node0_10);
- Node0_10.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_11 = new ht.lib['叠加'](1624*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166',bianhao:'A12',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002',}, function (){return {}}, 'Node0_11');
- _libModel.add("Node0_11", Node0_11);
- Node0_11.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_12 = new ht.lib['叠加'](68*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166',bianhao:'B13',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002',}, function (){return {}}, 'Node0_12');
- _libModel.add("Node0_12", Node0_12);
- Node0_12.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_13 = new ht.lib['叠加'](209*ratio.ratioX, 140*ratio.ratioY, 135*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166',bianhao:'B14',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002',}, function (){return {}}, 'Node0_13');
- _libModel.add("Node0_13", Node0_13);
- Node0_13.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_14 = new ht.lib['叠加'](351*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166',bianhao:'B15',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002',}, function (){return {}}, 'Node0_14');
- _libModel.add("Node0_14", Node0_14);
- Node0_14.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_15 = new ht.lib['叠加'](492*ratio.ratioX, 140*ratio.ratioY, 135*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166',bianhao:'B16',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002',}, function (){return {}}, 'Node0_15');
- _libModel.add("Node0_15", Node0_15);
- Node0_15.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_16 = new ht.lib['叠加'](634*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166',bianhao:'B17',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002',}, function (){return {}}, 'Node0_16');
- _libModel.add("Node0_16", Node0_16);
- Node0_16.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_17 = new ht.lib['叠加'](775*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166',bianhao:'B18',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002',}, function (){return {}}, 'Node0_17');
- _libModel.add("Node0_17", Node0_17);
- Node0_17.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_18 = new ht.lib['叠加'](917*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166',bianhao:'B19',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002',}, function (){return {}}, 'Node0_18');
- _libModel.add("Node0_18", Node0_18);
- Node0_18.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_19 = new ht.lib['叠加'](1058*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166',bianhao:'B20',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002',}, function (){return {}}, 'Node0_19');
- _libModel.add("Node0_19", Node0_19);
- Node0_19.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_20 = new ht.lib['叠加'](1200*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166',bianhao:'B21',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002',}, function (){return {}}, 'Node0_20');
- _libModel.add("Node0_20", Node0_20);
- Node0_20.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_21 = new ht.lib['叠加'](1341*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166',bianhao:'B22',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002',}, function (){return {}}, 'Node0_21');
- _libModel.add("Node0_21", Node0_21);
- Node0_21.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_22 = new ht.lib['叠加'](1483*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166',bianhao:'B23',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002',}, function (){return {}}, 'Node0_22');
- _libModel.add("Node0_22", Node0_22);
- Node0_22.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_23 = new ht.lib['叠加'](1624*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166',bianhao:'B24',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002',}, function (){return {}}, 'Node0_23');
- _libModel.add("Node0_23", Node0_23);
- Node0_23.setRotation(0*Math.PI/180);
- ;
- ;
- Node0DataModel = new ht.DataModel();
- globalVarNameList.push('Node0DataModel');
- //Node0graphPane = new GraphPaneContainer(Node0DataModel,979,499,1840,640,'rgba(255,255,255,1)');
- //document.body.appendChild(Node0graphPane.getView());
- //Node0graphPane.getGraphView().setEditable(true);
- Node0graphPane= new ht.graph.GraphView(Node0DataModel);
- globalVarNameList.push('Node0graphPane');
- jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node0graphPane);
- Node0graphPane.setScrollBarSize(6);
- $(Node0graphPane.getView()).css({
- border: "1px solid rgba(255,255,255,1)",
- boxSizing: 'content-box'
-
- });
- var Node0 = new ht.HtmlNode();
- Node0.setScalable(false);
- Node0.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- Node0.setHtml(Node0graphPane);
- Node0.setPosition({x:979*ratio.ratioX,y:499*ratio.ratioY});
- Node0.setWidth(1840*ratio.ratioX);
- Node0.setHeight(640*ratio.ratioY);
- Node0.setPadding(0);
- dataModel.add(Node0);
- globalAliasObj['Node0Alias'] = Node0;
- Node0._allowChildScale = false;
- (function () {
- var s = Node0.s;
- Node0.s = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var paneView = Node0graphPane.getView();
- if (args[0] === '2d.visible' && args[1] !== undefined) {
- if (args[1] === false) {
- paneView.style.display = 'none';
- } else {
- paneView.style.display = 'block';
- }
- }
- return s.apply(Node0, args);
- }
- })();
- var Node0timer = setTimeout(function setFanContainer() {
- var graphPane = Node0graphPane,
- hNode = Node0,
- zoomValue = graphView.getZoom();
- function resetZoomAndPosition(zoom) {
- graphPane.setZoom(zoom);
- graphPane.tx(0);
- graphPane.ty(0);
- }
- function resizeOverEvent (e) {
- var blockList = graphPane.blockList;
- var bw = blockList[0].getWidth(),
- bh = blockList[0].getHeight(),
- halfBw = bw * 0.5,
- halfBh = bh * 0.5,
- verticalInterval = 5;
- if (graphPane.ty() !== 0) {
- graphPane.ty(0);
- }
- if (graphPane.tx() !== 0) {
- graphPane.tx(0);
- }
-
- function reArrange() {
- var w = $(graphPane.getView()).width()-10,
- h = $(graphPane.getView()).height();
- var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp;
-
- if (blockList.length === 1) {
- graphPane.adjustTranslateY = function () {
- return 0;
- }
- // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- } else {
- graphPane.adjustTranslateY = adjustTranslateY;
- //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- }
- graphPane.totalWidth = w;
- count = Math.floor(w / bw) || 1;
- totalInterval = w % bw;
- totalInterval = totalInterval < 0 ? 0 : totalInterval;
- hInterval = Math.floor(totalInterval/count);
- for ( var i = 0, len = blockList.length; i < len; i++) {
- block = blockList[i];
- index = i % count;
- if (index === 0) {
- rowIndex++;
- }
- px = index * (bw + hInterval) + halfBw;
- py = rowIndex * (bh + verticalInterval) + halfBh;
- fp = block.getPosition();
- fx = fp.x;
- fy = fp.y;
- ox = px - fx;
- oy = py - fy;
- // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条
- if (len > 1) {
- ox += 1;
- oy += 1;
- }
- if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列
- block.setPosition(px, py);
- } else {
- block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列
- }
- }
- }
- reArrange();
- setTimeout(reArrange, 50);
- }
- function adjustTranslateY (value) {
- var contentSize = graphPane.getContentRect();
- var min = graphPane.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- function adjustTranslateX (value) {
- return 0;
- }
- graphView.mp(function(e) {
- if (e.property !== 'zoom') {
- return ;
- }
- resetZoomAndPosition(e.newValue);
- })
- graphPane.getView().addEventListener('mouseover', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setInteractors(null);
- });
- graphPane.getView().addEventListener('mouseleave', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(false);
- })
- graphPane.getView().addEventListener('mousedown', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(true);
- })
- // graphPane.getView().addEventListener('mouseup', function (e) {
- // e.preventDefault();
- // e.stopPropagation();
- // graphView.setEditable(false);
- // })
- graphPane.setZoom(zoomValue);
- resetZoomAndPosition(zoomValue);
- // graphPane.setAutoHideScrollBar(false);
- graphPane.setAutoHideScrollBar(true);
- graphPane.setScrollBarSize(6);
- graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setInteractors(null);
- graphPane.setInteractors([
- // new ht.graph.ScrollBarInteractor(graphPane),
- new ht.graph.DefaultInteractor(graphPane)
- ]);
- graphPane.adjustTranslateY = adjustTranslateY;
- graphPane.adjustTranslateX = adjustTranslateX;
- graphPane.handleScroll = function(data) {
- var t = graphPane.ty() - data.deltaY;
- var contentSize = graphPane.getContentRect();
- var min = contentSize.height - graphPane.getHeight() + 50;
- if (min <= 50)
- return ;
- graphPane.setTranslate(0, t, true);
- }
- graphPane.setPannable(false);
- graphPane.setMovableFunc(function(data){return false});
- resizeOverEvent();
- $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- clearTimeout(Node0timer);
- }, 80);addNodeToContainer(dataModel,Node0,Node0graphPane,[Node0_0,Node0_1,Node0_2,Node0_3,Node0_4,Node0_5,Node0_6,Node0_7,Node0_8,Node0_9,Node0_10,Node0_11,Node0_12,Node0_13,Node0_14,Node0_15,Node0_16,Node0_17,Node0_18,Node0_19,Node0_20,Node0_21,Node0_22,Node0_23]);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1 = new ht.Node();
- var Node1textStart, Node1textWidth, Node1lineStart, Node1align = 'center', Node1fontSize = 14.66663*_ratio.ratioY,Node1width = 67*_ratio.ratioX, Node1height = 26*_ratio.ratioY;
- (function () {
- if (Node1align === 'left') {
- Node1textStart = Node1fontSize * 0.2 > 2 ? Node1fontSize * 0.2 - 4 : Node1fontSize * 0.2 - 9;
- Node1textWidth = Node1width;
- Node1lineStart = 1;
- } else if (Node1align === 'right') {
- Node1textStart = 0;
- Node1textWidth =Node1fontSize <= 8 ? Node1width + Node1fontSize * 0.2 + 6 : Node1width - Node1fontSize * 0.2;
- Node1lineStart = (Node1width - (ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node1align === 'center') {
- Node1textStart = -3;
- Node1textWidth = Node1width;
- Node1lineStart = Node1width - ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node1.setImage(GD.getTextJSON(Node1width, Node1height, true, false, false, ' '+ Node1fontSize + 'px "Arial"'))
- Node1.setPosition(1865*ratio.ratioX, 86*ratio.ratioY);
- Node1.setWidth(Node1width);
- Node1.setHeight(Node1height);
- Node1._nodeType = 'text';
- Node1._disallowEvert = true;
- Node1.setRotation(0*Math.PI/180);
- Node1.a('node.width', Node1width);
- Node1.a('node.height', Node1height);
- Node1.a('node.rect', [0, 0, Node1width, Node1height]);
- Node1.a('node.bordercolor','rgba(105,105,105,1)');
- Node1.a('node.borderwidth', 0);
- Node1.a('node.background','' || 'rgba(0,0,0,0)');
- Node1.a('node.gradient','');
- Node1.a('node.gradientcolor','');
- Node1.a('node.text','台');
- Node1.a('node.textalign','center');
- Node1.a('node.textvAlign','middle');
- Node1.a('node.textrect', [Node1textStart, 0, Node1textWidth, Node1height]);
- Node1.a('node.color','rgba(105,105,105,1)');
- Node1.a('node.font',' '+ Node1fontSize + 'px "Arial"');
- Node1.a('node.textvisible',true);
- Node1.a('node.linefeed',false);
- if (false) {
- Node1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node1.a('node.text') || '台';
- var color=Node1.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node1width,Node1height,14.66663*_ratio.ratioY,"center",color,' '+ Node1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node1.a('node.underlinepoints',[Node1lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node1fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6, (Node1height - Node1fontSize) * 0.5*_ratio.ratioY + Node1fontSize + 2 ]);
- Node1.a('node.underlinevisible',false);
- Node1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node1);
- zoomNodeList.push({
- node: Node1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2 = new ht.Node();
- var Node2textStart, Node2textWidth, Node2lineStart, Node2align = 'center', Node2fontSize = 14.66663*_ratio.ratioY,Node2width = 67*_ratio.ratioX, Node2height = 26*_ratio.ratioY;
- (function () {
- if (Node2align === 'left') {
- Node2textStart = Node2fontSize * 0.2 > 2 ? Node2fontSize * 0.2 - 4 : Node2fontSize * 0.2 - 9;
- Node2textWidth = Node2width;
- Node2lineStart = 1;
- } else if (Node2align === 'right') {
- Node2textStart = 0;
- Node2textWidth =Node2fontSize <= 8 ? Node2width + Node2fontSize * 0.2 + 6 : Node2width - Node2fontSize * 0.2;
- Node2lineStart = (Node2width - (ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node2align === 'center') {
- Node2textStart = -3;
- Node2textWidth = Node2width;
- Node2lineStart = Node2width - ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node2.setImage(GD.getTextJSON(Node2width, Node2height, true, false, false, ' '+ Node2fontSize + 'px "Arial"'))
- Node2.setPosition(1865*ratio.ratioX, 147*ratio.ratioY);
- Node2.setWidth(Node2width);
- Node2.setHeight(Node2height);
- Node2._nodeType = 'text';
- Node2._disallowEvert = true;
- Node2.setRotation(0*Math.PI/180);
- Node2.a('node.width', Node2width);
- Node2.a('node.height', Node2height);
- Node2.a('node.rect', [0, 0, Node2width, Node2height]);
- Node2.a('node.bordercolor','rgba(105,105,105,1)');
- Node2.a('node.borderwidth', 0);
- Node2.a('node.background','' || 'rgba(0,0,0,0)');
- Node2.a('node.gradient','');
- Node2.a('node.gradientcolor','');
- Node2.a('node.text','台');
- Node2.a('node.textalign','center');
- Node2.a('node.textvAlign','middle');
- Node2.a('node.textrect', [Node2textStart, 0, Node2textWidth, Node2height]);
- Node2.a('node.color','rgba(105,105,105,1)');
- Node2.a('node.font',' '+ Node2fontSize + 'px "Arial"');
- Node2.a('node.textvisible',true);
- Node2.a('node.linefeed',false);
- if (false) {
- Node2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node2.a('node.text') || '台';
- var color=Node2.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node2width,Node2height,14.66663*_ratio.ratioY,"center",color,' '+ Node2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node2.a('node.underlinepoints',[Node2lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node2fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6, (Node2height - Node2fontSize) * 0.5*_ratio.ratioY + Node2fontSize + 2 ]);
- Node2.a('node.underlinevisible',false);
- Node2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node2);
- zoomNodeList.push({
- node: Node2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3type = 'rect';
- var Node3 = new ht.Node(),
- Node3BorderWidth = 0*2;
- if (Node3type === 'arc') {
- Node3BorderWidth *= 0;
- }
- Node3.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node3.setPosition(18*ratio.ratioX, 100*ratio.ratioY);
- Node3.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node3.a('node.width', 27*_ratio.ratioX);
- Node3.a('node.height', 121*_ratio.ratioY);
- Node3.a('node.type', Node3type);
- Node3.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node3.a('node.background', 'rgba(0,132,216,1)');
- Node3.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node3.a('node.gradient', '');
- Node3.a('node.borderwidth', Node3BorderWidth);
- Node3.a('node.color', 'rgba(0,0,255,0)');
- Node3.a('node.fillrect', [0,0,0,0]);
- Node3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node3.a('node.fillgradient', '');
- if (Node3type !== 'rect') {
- Node3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node3.a('node.arcTo', parseFloat('@arcTo@'));
- Node3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node3type === 'arc') {
- Node3.a('node.arcOval', true);
- }
- Node3.setRotation(0*Math.PI/180);
- Node3.borderWidth = Node3BorderWidth;
- Node3.borderFillwidth = Node3BorderWidth;
- dataModel.add(Node3);
- Node3._nodename = 'Node3'
- Node3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node3, Node3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4 = new ht.Node();
- var Node4textStart, Node4textWidth, Node4lineStart, Node4align = 'left', Node4fontSize = 13.3333*_ratio.ratioY,Node4width = 53*_ratio.ratioX, Node4height = 30*_ratio.ratioY;
- (function () {
- if (Node4align === 'left') {
- Node4textStart = Node4fontSize * 0.2 > 2 ? Node4fontSize * 0.2 - 4 : Node4fontSize * 0.2 - 9;
- Node4textWidth = Node4width;
- Node4lineStart = 1;
- } else if (Node4align === 'right') {
- Node4textStart = 0;
- Node4textWidth =Node4fontSize <= 8 ? Node4width + Node4fontSize * 0.2 + 6 : Node4width - Node4fontSize * 0.2;
- Node4lineStart = (Node4width - (ht.Default.getTextSize('综', 'bold '+ Node4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node4align === 'center') {
- Node4textStart = -3;
- Node4textWidth = Node4width;
- Node4lineStart = Node4width - ht.Default.getTextSize('综', 'bold '+ Node4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node4.setImage(GD.getTextJSON(Node4width, Node4height, true, false, false, 'bold '+ Node4fontSize + 'px "Arial"'))
- Node4.setPosition(34*ratio.ratioX, 57*ratio.ratioY);
- Node4.setWidth(Node4width);
- Node4.setHeight(Node4height);
- Node4._nodeType = 'text';
- Node4._disallowEvert = true;
- Node4.setRotation(0*Math.PI/180);
- Node4.a('node.width', Node4width);
- Node4.a('node.height', Node4height);
- Node4.a('node.rect', [0, 0, Node4width, Node4height]);
- Node4.a('node.bordercolor','rgba(255,255,255,1)');
- Node4.a('node.borderwidth', 0);
- Node4.a('node.background','' || 'rgba(0,0,0,0)');
- Node4.a('node.gradient','');
- Node4.a('node.gradientcolor','');
- Node4.a('node.text','综');
- Node4.a('node.textalign','left');
- Node4.a('node.textvAlign','middle');
- Node4.a('node.textrect', [Node4textStart, 0, Node4textWidth, Node4height]);
- Node4.a('node.color','rgba(255,255,255,1)');
- Node4.a('node.font','bold '+ Node4fontSize + 'px "Arial"');
- Node4.a('node.textvisible',true);
- Node4.a('node.linefeed',false);
- if (false) {
- Node4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node4.a('node.text') || '综';
- var color=Node4.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node4width,Node4height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node4.a('node.underlinepoints',[Node4lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node4fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node4fontSize + 'px "Arial"').width + 6, (Node4height - Node4fontSize) * 0.5*_ratio.ratioY + Node4fontSize + 2 ]);
- Node4.a('node.underlinevisible',false);
- Node4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node4);
- zoomNodeList.push({
- node: Node4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5type = 'rect';
- var Node5 = new ht.Node(),
- Node5BorderWidth = 0*2;
- if (Node5type === 'arc') {
- Node5BorderWidth *= 0;
- }
- Node5.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node5.setPosition(111*ratio.ratioX, 103*ratio.ratioY);
- Node5.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node5.a('node.width', 156*_ratio.ratioX);
- Node5.a('node.height', 30*_ratio.ratioY);
- Node5.a('node.type', Node5type);
- Node5.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node5.a('node.background', 'rgba(73,192,209,1)');
- Node5.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node5.a('node.gradient', '');
- Node5.a('node.borderwidth', Node5BorderWidth);
- Node5.a('node.color', 'rgba(0,0,0,0)');
- Node5.a('node.fillrect', [0,0,0,0]);
- Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradient', '');
- if (Node5type !== 'rect') {
- Node5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node5.a('node.arcTo', parseFloat('@arcTo@'));
- Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node5type === 'arc') {
- Node5.a('node.arcOval', true);
- }
- Node5.setRotation(0*Math.PI/180);
- Node5.borderWidth = Node5BorderWidth;
- Node5.borderFillwidth = Node5BorderWidth;
- dataModel.add(Node5);
- Node5._nodename = 'Node5'
- Node5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6 = new ht.Node();
- var Node6textStart, Node6textWidth, Node6lineStart, Node6align = 'left', Node6fontSize = 14.66663*_ratio.ratioY,Node6width = 157*_ratio.ratioX, Node6height = 24*_ratio.ratioY;
- (function () {
- if (Node6align === 'left') {
- Node6textStart = Node6fontSize * 0.2 > 2 ? Node6fontSize * 0.2 - 4 : Node6fontSize * 0.2 - 9;
- Node6textWidth = Node6width;
- Node6lineStart = 1;
- } else if (Node6align === 'right') {
- Node6textStart = 0;
- Node6textWidth =Node6fontSize <= 8 ? Node6width + Node6fontSize * 0.2 + 6 : Node6width - Node6fontSize * 0.2;
- Node6lineStart = (Node6width - (ht.Default.getTextSize('安全天数', 'bold '+ Node6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node6align === 'center') {
- Node6textStart = -3;
- Node6textWidth = Node6width;
- Node6lineStart = Node6width - ht.Default.getTextSize('安全天数', 'bold '+ Node6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node6.setImage(GD.getTextJSON(Node6width, Node6height, true, false, false, 'bold '+ Node6fontSize + 'px "Arial"'))
- Node6.setPosition(151*ratio.ratioX, 103*ratio.ratioY);
- Node6.setWidth(Node6width);
- Node6.setHeight(Node6height);
- Node6._nodeType = 'text';
- Node6._disallowEvert = true;
- Node6.setRotation(0*Math.PI/180);
- Node6.a('node.width', Node6width);
- Node6.a('node.height', Node6height);
- Node6.a('node.rect', [0, 0, Node6width, Node6height]);
- Node6.a('node.bordercolor','rgba(255,255,255,1)');
- Node6.a('node.borderwidth', 0);
- Node6.a('node.background','' || 'rgba(0,0,0,0)');
- Node6.a('node.gradient','');
- Node6.a('node.gradientcolor','');
- Node6.a('node.text','安全天数');
- Node6.a('node.textalign','left');
- Node6.a('node.textvAlign','middle');
- Node6.a('node.textrect', [Node6textStart, 0, Node6textWidth, Node6height]);
- Node6.a('node.color','rgba(255,255,255,1)');
- Node6.a('node.font','bold '+ Node6fontSize + 'px "Arial"');
- Node6.a('node.textvisible',true);
- Node6.a('node.linefeed',false);
- if (false) {
- Node6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node6.a('node.text') || '安全天数';
- var color=Node6.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node6width,Node6height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node6.a('node.underlinepoints',[Node6lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node6fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node6fontSize + 'px "Arial"').width + 6, (Node6height - Node6fontSize) * 0.5*_ratio.ratioY + Node6fontSize + 2 ]);
- Node6.a('node.underlinevisible',false);
- Node6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node6);
- zoomNodeList.push({
- node: Node6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7type = 'rect';
- var Node7 = new ht.Node(),
- Node7BorderWidth = 0*2;
- if (Node7type === 'arc') {
- Node7BorderWidth *= 0;
- }
- Node7.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node7.setPosition(87*ratio.ratioX, 140*ratio.ratioY);
- Node7.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node7.a('node.width', 105*_ratio.ratioX);
- Node7.a('node.height', 48*_ratio.ratioY);
- Node7.a('node.type', Node7type);
- Node7.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node7.a('node.gradientcolor', '');
- Node7.a('node.gradient', '');
- Node7.a('node.borderwidth', Node7BorderWidth);
- Node7.a('node.color', 'rgba(0,0,0,0)');
- Node7.a('node.fillrect', [0,0,0,0]);
- Node7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node7.a('node.fillgradient', '');
- if (Node7type !== 'rect') {
- Node7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node7.a('node.arcTo', parseFloat('@arcTo@'));
- Node7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node7type === 'arc') {
- Node7.a('node.arcOval', true);
- }
- Node7.setRotation(0*Math.PI/180);
- Node7.borderWidth = Node7BorderWidth;
- Node7.borderFillwidth = Node7BorderWidth;
- dataModel.add(Node7);
- Node7._nodename = 'Node7'
- Node7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node7,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node7, Node7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8 = new ht.Node();
- var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'right', Node8fontSize = 19.99995*_ratio.ratioY,Node8width = 59*_ratio.ratioX, Node8height = 24*_ratio.ratioY;
- (function () {
- if (Node8align === 'left') {
- Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9;
- Node8textWidth = Node8width;
- Node8lineStart = 1;
- } else if (Node8align === 'right') {
- Node8textStart = 0;
- Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2;
- Node8lineStart = (Node8width - (ht.Default.getTextSize('0', ' '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node8align === 'center') {
- Node8textStart = -3;
- Node8textWidth = Node8width;
- Node8lineStart = Node8width - ht.Default.getTextSize('0', ' '+ Node8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, ' '+ Node8fontSize + 'px "Arial"'))
- Node8.setPosition(82*ratio.ratioX, 148*ratio.ratioY);
- Node8.setWidth(Node8width);
- Node8.setHeight(Node8height);
- Node8._nodeType = 'text';
- Node8._disallowEvert = true;
- Node8.setRotation(0*Math.PI/180);
- Node8.a('node.width', Node8width);
- Node8.a('node.height', Node8height);
- Node8.a('node.rect', [0, 0, Node8width, Node8height]);
- Node8.a('node.bordercolor','rgba(0,0,0,1)');
- Node8.a('node.borderwidth', 0);
- Node8.a('node.background','' || 'rgba(0,0,0,0)');
- Node8.a('node.gradient','');
- Node8.a('node.gradientcolor','');
- Node8.a('node.text','0');
- Node8.a('node.textalign','right');
- Node8.a('node.textvAlign','middle');
- Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]);
- Node8.a('node.color','rgba(0,0,0,1)');
- Node8.a('node.font',' '+ Node8fontSize + 'px "Arial"');
- Node8.a('node.textvisible',true);
- Node8.a('node.linefeed',false);
- if (false) {
- Node8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node8.a('node.text') || '0';
- var color=Node8.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node8width,Node8height,19.99995*_ratio.ratioY,"right",color,' '+ Node8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node8.a('node.underlinepoints',[Node8lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]);
- Node8.a('node.underlinevisible',false);
- Node8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node8);
- zoomNodeList.push({
- node: Node8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9type = 'rect';
- var Node9 = new ht.Node(),
- Node9BorderWidth = 0*2;
- if (Node9type === 'arc') {
- Node9BorderWidth *= 0;
- }
- Node9.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node9type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node9.setPosition(170*ratio.ratioX, 145*ratio.ratioY);
- Node9.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node9.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node9.a('node.width', 31*_ratio.ratioX);
- Node9.a('node.height', 31*_ratio.ratioY);
- Node9.a('node.type', Node9type);
- Node9.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node9.a('node.background', 'rgba(225,102,38,1)');
- Node9.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node9.a('node.gradient', '');
- Node9.a('node.borderwidth', Node9BorderWidth);
- Node9.a('node.color', 'rgba(0,0,0,0)');
- Node9.a('node.fillrect', [0,0,0,0]);
- Node9.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node9.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node9.a('node.fillgradient', '');
- if (Node9type !== 'rect') {
- Node9.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node9.a('node.arcTo', parseFloat('@arcTo@'));
- Node9.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node9type === 'arc') {
- Node9.a('node.arcOval', true);
- }
- Node9.setRotation(0*Math.PI/180);
- Node9.borderWidth = Node9BorderWidth;
- Node9.borderFillwidth = Node9BorderWidth;
- dataModel.add(Node9);
- Node9._nodename = 'Node9'
- Node9._nodeType = 'rect';
- zoomNodeList.push({
- node: Node9,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node9, Node9.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node10 = new ht.Node();
- var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'left', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 27*_ratio.ratioX, Node10height = 16*_ratio.ratioY;
- (function () {
- if (Node10align === 'left') {
- Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
- Node10textWidth = Node10width;
- Node10lineStart = 1;
- } else if (Node10align === 'right') {
- Node10textStart = 0;
- Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
- Node10lineStart = (Node10width - (ht.Default.getTextSize('天', 'bold '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node10align === 'center') {
- Node10textStart = -3;
- Node10textWidth = Node10width;
- Node10lineStart = Node10width - ht.Default.getTextSize('天', 'bold '+ Node10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, 'bold '+ Node10fontSize + 'px "Arial"'))
- Node10.setPosition(174*ratio.ratioX, 147*ratio.ratioY);
- Node10.setWidth(Node10width);
- Node10.setHeight(Node10height);
- Node10._nodeType = 'text';
- Node10._disallowEvert = true;
- Node10.setRotation(0*Math.PI/180);
- Node10.a('node.width', Node10width);
- Node10.a('node.height', Node10height);
- Node10.a('node.rect', [0, 0, Node10width, Node10height]);
- Node10.a('node.bordercolor','rgba(255,255,255,1)');
- Node10.a('node.borderwidth', 0);
- Node10.a('node.background','' || 'rgba(0,0,0,0)');
- Node10.a('node.gradient','');
- Node10.a('node.gradientcolor','');
- Node10.a('node.text','天');
- Node10.a('node.textalign','left');
- Node10.a('node.textvAlign','middle');
- Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
- Node10.a('node.color','rgba(255,255,255,1)');
- Node10.a('node.font','bold '+ Node10fontSize + 'px "Arial"');
- Node10.a('node.textvisible',true);
- Node10.a('node.linefeed',false);
- if (false) {
- Node10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node10.a('node.text') || '天';
- var color=Node10.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10.a('node.underlinepoints',[Node10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
- Node10.a('node.underlinevisible',false);
- Node10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node10);
- zoomNodeList.push({
- node: Node10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11 = new ht.Node();
- var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 53*_ratio.ratioX, Node11height = 30*_ratio.ratioY;
- (function () {
- if (Node11align === 'left') {
- Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
- Node11textWidth = Node11width;
- Node11lineStart = 1;
- } else if (Node11align === 'right') {
- Node11textStart = 0;
- Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
- Node11lineStart = (Node11width - (ht.Default.getTextSize('合', 'bold '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node11align === 'center') {
- Node11textStart = -3;
- Node11textWidth = Node11width;
- Node11lineStart = Node11width - ht.Default.getTextSize('合', 'bold '+ Node11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, 'bold '+ Node11fontSize + 'px "Arial"'))
- Node11.setPosition(35*ratio.ratioX, 85*ratio.ratioY);
- Node11.setWidth(Node11width);
- Node11.setHeight(Node11height);
- Node11._nodeType = 'text';
- Node11._disallowEvert = true;
- Node11.setRotation(0*Math.PI/180);
- Node11.a('node.width', Node11width);
- Node11.a('node.height', Node11height);
- Node11.a('node.rect', [0, 0, Node11width, Node11height]);
- Node11.a('node.bordercolor','rgba(255,255,255,1)');
- Node11.a('node.borderwidth', 0);
- Node11.a('node.background','' || 'rgba(0,0,0,0)');
- Node11.a('node.gradient','');
- Node11.a('node.gradientcolor','');
- Node11.a('node.text','合');
- Node11.a('node.textalign','left');
- Node11.a('node.textvAlign','middle');
- Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
- Node11.a('node.color','rgba(255,255,255,1)');
- Node11.a('node.font','bold '+ Node11fontSize + 'px "Arial"');
- Node11.a('node.textvisible',true);
- Node11.a('node.linefeed',false);
- if (false) {
- Node11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node11.a('node.text') || '合';
- var color=Node11.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node11.a('node.underlinepoints',[Node11lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
- Node11.a('node.underlinevisible',false);
- Node11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11);
- zoomNodeList.push({
- node: Node11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12 = new ht.Node();
- var Node12textStart, Node12textWidth, Node12lineStart, Node12align = 'left', Node12fontSize = 13.3333*_ratio.ratioY,Node12width = 53*_ratio.ratioX, Node12height = 30*_ratio.ratioY;
- (function () {
- if (Node12align === 'left') {
- Node12textStart = Node12fontSize * 0.2 > 2 ? Node12fontSize * 0.2 - 4 : Node12fontSize * 0.2 - 9;
- Node12textWidth = Node12width;
- Node12lineStart = 1;
- } else if (Node12align === 'right') {
- Node12textStart = 0;
- Node12textWidth =Node12fontSize <= 8 ? Node12width + Node12fontSize * 0.2 + 6 : Node12width - Node12fontSize * 0.2;
- Node12lineStart = (Node12width - (ht.Default.getTextSize('指', 'bold '+ Node12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node12align === 'center') {
- Node12textStart = -3;
- Node12textWidth = Node12width;
- Node12lineStart = Node12width - ht.Default.getTextSize('指', 'bold '+ Node12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node12.setImage(GD.getTextJSON(Node12width, Node12height, true, false, false, 'bold '+ Node12fontSize + 'px "Arial"'))
- Node12.setPosition(35*ratio.ratioX, 112*ratio.ratioY);
- Node12.setWidth(Node12width);
- Node12.setHeight(Node12height);
- Node12._nodeType = 'text';
- Node12._disallowEvert = true;
- Node12.setRotation(0*Math.PI/180);
- Node12.a('node.width', Node12width);
- Node12.a('node.height', Node12height);
- Node12.a('node.rect', [0, 0, Node12width, Node12height]);
- Node12.a('node.bordercolor','rgba(255,255,255,1)');
- Node12.a('node.borderwidth', 0);
- Node12.a('node.background','' || 'rgba(0,0,0,0)');
- Node12.a('node.gradient','');
- Node12.a('node.gradientcolor','');
- Node12.a('node.text','指');
- Node12.a('node.textalign','left');
- Node12.a('node.textvAlign','middle');
- Node12.a('node.textrect', [Node12textStart, 0, Node12textWidth, Node12height]);
- Node12.a('node.color','rgba(255,255,255,1)');
- Node12.a('node.font','bold '+ Node12fontSize + 'px "Arial"');
- Node12.a('node.textvisible',true);
- Node12.a('node.linefeed',false);
- if (false) {
- Node12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node12.a('node.text') || '指';
- var color=Node12.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node12width,Node12height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node12.a('node.underlinepoints',[Node12lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node12fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node12fontSize + 'px "Arial"').width + 6, (Node12height - Node12fontSize) * 0.5*_ratio.ratioY + Node12fontSize + 2 ]);
- Node12.a('node.underlinevisible',false);
- Node12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node12);
- zoomNodeList.push({
- node: Node12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13 = new ht.Node();
- var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 13.3333*_ratio.ratioY,Node13width = 53*_ratio.ratioX, Node13height = 30*_ratio.ratioY;
- (function () {
- if (Node13align === 'left') {
- Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
- Node13textWidth = Node13width;
- Node13lineStart = 1;
- } else if (Node13align === 'right') {
- Node13textStart = 0;
- Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
- Node13lineStart = (Node13width - (ht.Default.getTextSize('标', 'bold '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node13align === 'center') {
- Node13textStart = -3;
- Node13textWidth = Node13width;
- Node13lineStart = Node13width - ht.Default.getTextSize('标', 'bold '+ Node13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, 'bold '+ Node13fontSize + 'px "Arial"'))
- Node13.setPosition(35*ratio.ratioX, 142*ratio.ratioY);
- Node13.setWidth(Node13width);
- Node13.setHeight(Node13height);
- Node13._nodeType = 'text';
- Node13._disallowEvert = true;
- Node13.setRotation(0*Math.PI/180);
- Node13.a('node.width', Node13width);
- Node13.a('node.height', Node13height);
- Node13.a('node.rect', [0, 0, Node13width, Node13height]);
- Node13.a('node.bordercolor','rgba(255,255,255,1)');
- Node13.a('node.borderwidth', 0);
- Node13.a('node.background','' || 'rgba(0,0,0,0)');
- Node13.a('node.gradient','');
- Node13.a('node.gradientcolor','');
- Node13.a('node.text','标');
- Node13.a('node.textalign','left');
- Node13.a('node.textvAlign','middle');
- Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
- Node13.a('node.color','rgba(255,255,255,1)');
- Node13.a('node.font','bold '+ Node13fontSize + 'px "Arial"');
- Node13.a('node.textvisible',true);
- Node13.a('node.linefeed',false);
- if (false) {
- Node13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node13.a('node.text') || '标';
- var color=Node13.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node13width,Node13height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node13.a('node.underlinepoints',[Node13lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
- Node13.a('node.underlinevisible',false);
- Node13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node13);
- zoomNodeList.push({
- node: Node13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node14;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node14 = new ht.Node();
- Node14.setPosition(111*ratio.ratioX, 62*ratio.ratioY);
- Node14.setSize(155*ratioX, 45*ratioY);
- Node14.setImage('imgimage//喜欢的蓝色.png');
- Node14.setRotation(0*Math.PI/180);
- Node14._zoomBy = 'Default';
- Node14._nodeType = 'image';
- Node14._disallowEvert = true;
- dataModel.add(Node14);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15 = new ht.Node();
- var Node15textStart, Node15textWidth, Node15lineStart, Node15align = 'left', Node15fontSize = 17.33329*_ratio.ratioY,Node15width = 143*_ratio.ratioX, Node15height = 49*_ratio.ratioY;
- (function () {
- if (Node15align === 'left') {
- Node15textStart = Node15fontSize * 0.2 > 2 ? Node15fontSize * 0.2 - 4 : Node15fontSize * 0.2 - 9;
- Node15textWidth = Node15width;
- Node15lineStart = 1;
- } else if (Node15align === 'right') {
- Node15textStart = 0;
- Node15textWidth =Node15fontSize <= 8 ? Node15width + Node15fontSize * 0.2 + 6 : Node15width - Node15fontSize * 0.2;
- Node15lineStart = (Node15width - (ht.Default.getTextSize('广灵劲风电场', ' '+ Node15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node15align === 'center') {
- Node15textStart = -3;
- Node15textWidth = Node15width;
- Node15lineStart = Node15width - ht.Default.getTextSize('广灵劲风电场', ' '+ Node15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node15.setImage(GD.getTextJSON(Node15width, Node15height, true, false, false, ' '+ Node15fontSize + 'px "Arial"'))
- Node15.setPosition(123*ratio.ratioX, 64*ratio.ratioY);
- Node15.setWidth(Node15width);
- Node15.setHeight(Node15height);
- Node15._nodeType = 'text';
- Node15._disallowEvert = true;
- Node15.setRotation(0*Math.PI/180);
- Node15.a('node.width', Node15width);
- Node15.a('node.height', Node15height);
- Node15.a('node.rect', [0, 0, Node15width, Node15height]);
- Node15.a('node.bordercolor','rgba(255,255,255,1)');
- Node15.a('node.borderwidth', 0);
- Node15.a('node.background','' || 'rgba(0,0,0,0)');
- Node15.a('node.gradient','');
- Node15.a('node.gradientcolor','');
- Node15.a('node.text','广灵劲风电场');
- Node15.a('node.textalign','left');
- Node15.a('node.textvAlign','middle');
- Node15.a('node.textrect', [Node15textStart, 0, Node15textWidth, Node15height]);
- Node15.a('node.color','rgba(255,255,255,1)');
- Node15.a('node.font',' '+ Node15fontSize + 'px "Arial"');
- Node15.a('node.textvisible',true);
- Node15.a('node.linefeed',false);
- if (false) {
- Node15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node15.a('node.text') || '广灵劲风电场';
- var color=Node15.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node15width,Node15height,17.33329*_ratio.ratioY,"left",color,' '+ Node15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node15.a('node.underlinepoints',[Node15lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node15fontSize + 2 , ht.Default.getTextSize('广灵劲风电场', ' '+ Node15fontSize + 'px "Arial"').width + 6, (Node15height - Node15fontSize) * 0.5*_ratio.ratioY + Node15fontSize + 2 ]);
- Node15.a('node.underlinevisible',false);
- Node15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node15);
- zoomNodeList.push({
- node: Node15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node16 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 55*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node17 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 55*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node18 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 165*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node19 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 165*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node20 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 275*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node21 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 275*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node22 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 384*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node23 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 384*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node24 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 495*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node25 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 495*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node26 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 605*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node27 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 605*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node28 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 715*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node29 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 715*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node30 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 825*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node31 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 825*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});var Node32_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node32_0 = new ht.Node();
- Node32_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node32_0.setSize(27*ratioX, 101*ratioY);
- Node32_0.setImage('imgimage//left_menu_out0.png');
- Node32_0.setRotation(0*Math.PI/180);
- Node32_0._zoomBy = 'Default';
- Node32_0._nodeType = 'image';
- Node32_0._disallowEvert = true;
- dataModel.add(Node32_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32_1 = new ht.Node();
- var Node32_1textStart, Node32_1textWidth, Node32_1lineStart, Node32_1align = 'left', Node32_1fontSize = 19.99995*_ratio.ratioY,Node32_1width = 23*_ratio.ratioX, Node32_1height = 76*_ratio.ratioY;
- (function () {
- if (Node32_1align === 'left') {
- Node32_1textStart = Node32_1fontSize * 0.2 > 2 ? Node32_1fontSize * 0.2 - 4 : Node32_1fontSize * 0.2 - 9;
- Node32_1textWidth = Node32_1width;
- Node32_1lineStart = 1;
- } else if (Node32_1align === 'right') {
- Node32_1textStart = 0;
- Node32_1textWidth =Node32_1fontSize <= 8 ? Node32_1width + Node32_1fontSize * 0.2 + 6 : Node32_1width - Node32_1fontSize * 0.2;
- Node32_1lineStart = (Node32_1width - (ht.Default.getTextSize('排布图', ' '+ Node32_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node32_1align === 'center') {
- Node32_1textStart = -3;
- Node32_1textWidth = Node32_1width;
- Node32_1lineStart = Node32_1width - ht.Default.getTextSize('排布图', ' '+ Node32_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node32_1.setImage(GD.getTextJSON(Node32_1width, Node32_1height, false, true, false, ' '+ Node32_1fontSize + 'px "Arial"'))
- Node32_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
- Node32_1.setWidth(Node32_1width);
- Node32_1.setHeight(Node32_1height);
- Node32_1._nodeType = 'text';
- Node32_1._disallowEvert = true;
- Node32_1.setRotation(0*Math.PI/180);
- Node32_1.a('node.width', Node32_1width);
- Node32_1.a('node.height', Node32_1height);
- Node32_1.a('node.rect', [0, 0, Node32_1width, Node32_1height]);
- Node32_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node32_1.a('node.borderwidth', 0);
- Node32_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node32_1.a('node.gradient','');
- Node32_1.a('node.gradientcolor','');
- Node32_1.a('node.text','排布图');
- Node32_1.a('node.textalign','left');
- Node32_1.a('node.textvAlign','middle');
- Node32_1.a('node.textrect', [Node32_1textStart, 0, Node32_1textWidth, Node32_1height]);
- Node32_1.a('node.color','rgba(0,0,0,1)');
- Node32_1.a('node.font',' '+ Node32_1fontSize + 'px "Arial"');
- Node32_1.a('node.textvisible',false);
- Node32_1.a('node.linefeed',true);
- if (true) {
- Node32_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node32_1.a('node.text') || '排布图';
- var color=Node32_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node32_1width,Node32_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node32_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32_1.a('node.underlinepoints',[Node32_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node32_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node32_1fontSize + 'px "Arial"').width + 6, (Node32_1height - Node32_1fontSize) * 0.5*_ratio.ratioY + Node32_1fontSize + 2 ]);
- Node32_1.a('node.underlinevisible',false);
- Node32_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node32_1);
- zoomNodeList.push({
- node: Node32_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node33_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node33_0 = new ht.Node();
- Node33_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node33_0.setSize(27*ratioX, 101*ratioY);
- Node33_0.setImage('imgimage//left_menu_out0.png');
- Node33_0.setRotation(0*Math.PI/180);
- Node33_0._zoomBy = 'Default';
- Node33_0._nodeType = 'image';
- Node33_0._disallowEvert = true;
- dataModel.add(Node33_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33_1 = new ht.Node();
- var Node33_1textStart, Node33_1textWidth, Node33_1lineStart, Node33_1align = 'left', Node33_1fontSize = 18.66662*_ratio.ratioY,Node33_1width = 23*_ratio.ratioX, Node33_1height = 76*_ratio.ratioY;
- (function () {
- if (Node33_1align === 'left') {
- Node33_1textStart = Node33_1fontSize * 0.2 > 2 ? Node33_1fontSize * 0.2 - 4 : Node33_1fontSize * 0.2 - 9;
- Node33_1textWidth = Node33_1width;
- Node33_1lineStart = 1;
- } else if (Node33_1align === 'right') {
- Node33_1textStart = 0;
- Node33_1textWidth =Node33_1fontSize <= 8 ? Node33_1width + Node33_1fontSize * 0.2 + 6 : Node33_1width - Node33_1fontSize * 0.2;
- Node33_1lineStart = (Node33_1width - (ht.Default.getTextSize('总貌图', ' '+ Node33_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33_1align === 'center') {
- Node33_1textStart = -3;
- Node33_1textWidth = Node33_1width;
- Node33_1lineStart = Node33_1width - ht.Default.getTextSize('总貌图', ' '+ Node33_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33_1.setImage(GD.getTextJSON(Node33_1width, Node33_1height, false, true, false, ' '+ Node33_1fontSize + 'px "Arial"'))
- Node33_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node33_1.setWidth(Node33_1width);
- Node33_1.setHeight(Node33_1height);
- Node33_1._nodeType = 'text';
- Node33_1._disallowEvert = true;
- Node33_1.setRotation(0*Math.PI/180);
- Node33_1.a('node.width', Node33_1width);
- Node33_1.a('node.height', Node33_1height);
- Node33_1.a('node.rect', [0, 0, Node33_1width, Node33_1height]);
- Node33_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node33_1.a('node.borderwidth', 0);
- Node33_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node33_1.a('node.gradient','');
- Node33_1.a('node.gradientcolor','');
- Node33_1.a('node.text','总貌图');
- Node33_1.a('node.textalign','left');
- Node33_1.a('node.textvAlign','middle');
- Node33_1.a('node.textrect', [Node33_1textStart, 0, Node33_1textWidth, Node33_1height]);
- Node33_1.a('node.color','rgba(0,0,0,1)');
- Node33_1.a('node.font',' '+ Node33_1fontSize + 'px "Arial"');
- Node33_1.a('node.textvisible',false);
- Node33_1.a('node.linefeed',true);
- if (true) {
- Node33_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33_1.a('node.text') || '总貌图';
- var color=Node33_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node33_1width,Node33_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node33_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33_1.a('node.underlinepoints',[Node33_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node33_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node33_1fontSize + 'px "Arial"').width + 6, (Node33_1height - Node33_1fontSize) * 0.5*_ratio.ratioY + Node33_1fontSize + 2 ]);
- Node33_1.a('node.underlinevisible',false);
- Node33_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33_1);
- zoomNodeList.push({
- node: Node33_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node34_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node34_0 = new ht.Node();
- Node34_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node34_0.setSize(27*ratioX, 101*ratioY);
- Node34_0.setImage('imgimage//left_menu_out0.png');
- Node34_0.setRotation(0*Math.PI/180);
- Node34_0._zoomBy = 'Default';
- Node34_0._nodeType = 'image';
- Node34_0._disallowEvert = true;
- dataModel.add(Node34_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_1 = new ht.Node();
- var Node34_1textStart, Node34_1textWidth, Node34_1lineStart, Node34_1align = 'left', Node34_1fontSize = 18.66662*_ratio.ratioY,Node34_1width = 23*_ratio.ratioX, Node34_1height = 76*_ratio.ratioY;
- (function () {
- if (Node34_1align === 'left') {
- Node34_1textStart = Node34_1fontSize * 0.2 > 2 ? Node34_1fontSize * 0.2 - 4 : Node34_1fontSize * 0.2 - 9;
- Node34_1textWidth = Node34_1width;
- Node34_1lineStart = 1;
- } else if (Node34_1align === 'right') {
- Node34_1textStart = 0;
- Node34_1textWidth =Node34_1fontSize <= 8 ? Node34_1width + Node34_1fontSize * 0.2 + 6 : Node34_1width - Node34_1fontSize * 0.2;
- Node34_1lineStart = (Node34_1width - (ht.Default.getTextSize('升压站', ' '+ Node34_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34_1align === 'center') {
- Node34_1textStart = -3;
- Node34_1textWidth = Node34_1width;
- Node34_1lineStart = Node34_1width - ht.Default.getTextSize('升压站', ' '+ Node34_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34_1.setImage(GD.getTextJSON(Node34_1width, Node34_1height, false, true, false, ' '+ Node34_1fontSize + 'px "Arial"'))
- Node34_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node34_1.setWidth(Node34_1width);
- Node34_1.setHeight(Node34_1height);
- Node34_1._nodeType = 'text';
- Node34_1._disallowEvert = true;
- Node34_1.setRotation(0*Math.PI/180);
- Node34_1.a('node.width', Node34_1width);
- Node34_1.a('node.height', Node34_1height);
- Node34_1.a('node.rect', [0, 0, Node34_1width, Node34_1height]);
- Node34_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_1.a('node.borderwidth', 0);
- Node34_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_1.a('node.gradient','');
- Node34_1.a('node.gradientcolor','');
- Node34_1.a('node.text','升压站');
- Node34_1.a('node.textalign','left');
- Node34_1.a('node.textvAlign','middle');
- Node34_1.a('node.textrect', [Node34_1textStart, 0, Node34_1textWidth, Node34_1height]);
- Node34_1.a('node.color','rgba(0,0,0,1)');
- Node34_1.a('node.font',' '+ Node34_1fontSize + 'px "Arial"');
- Node34_1.a('node.textvisible',false);
- Node34_1.a('node.linefeed',true);
- if (true) {
- Node34_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_1.a('node.text') || '升压站';
- var color=Node34_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node34_1width,Node34_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node34_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34_1.a('node.underlinepoints',[Node34_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node34_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node34_1fontSize + 'px "Arial"').width + 6, (Node34_1height - Node34_1fontSize) * 0.5*_ratio.ratioY + Node34_1fontSize + 2 ]);
- Node34_1.a('node.underlinevisible',false);
- Node34_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_1);
- zoomNodeList.push({
- node: Node34_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node35_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node35_0 = new ht.Node();
- Node35_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node35_0.setSize(27*ratioX, 101*ratioY);
- Node35_0.setImage('imgimage//left_menu_out0.png');
- Node35_0.setRotation(0*Math.PI/180);
- Node35_0._zoomBy = 'Default';
- Node35_0._nodeType = 'image';
- Node35_0._disallowEvert = true;
- dataModel.add(Node35_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35_1 = new ht.Node();
- var Node35_1textStart, Node35_1textWidth, Node35_1lineStart, Node35_1align = 'left', Node35_1fontSize = 18.66662*_ratio.ratioY,Node35_1width = 23*_ratio.ratioX, Node35_1height = 76*_ratio.ratioY;
- (function () {
- if (Node35_1align === 'left') {
- Node35_1textStart = Node35_1fontSize * 0.2 > 2 ? Node35_1fontSize * 0.2 - 4 : Node35_1fontSize * 0.2 - 9;
- Node35_1textWidth = Node35_1width;
- Node35_1lineStart = 1;
- } else if (Node35_1align === 'right') {
- Node35_1textStart = 0;
- Node35_1textWidth =Node35_1fontSize <= 8 ? Node35_1width + Node35_1fontSize * 0.2 + 6 : Node35_1width - Node35_1fontSize * 0.2;
- Node35_1lineStart = (Node35_1width - (ht.Default.getTextSize('风机信息', ' '+ Node35_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35_1align === 'center') {
- Node35_1textStart = -3;
- Node35_1textWidth = Node35_1width;
- Node35_1lineStart = Node35_1width - ht.Default.getTextSize('风机信息', ' '+ Node35_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35_1.setImage(GD.getTextJSON(Node35_1width, Node35_1height, false, true, false, ' '+ Node35_1fontSize + 'px "Arial"'))
- Node35_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node35_1.setWidth(Node35_1width);
- Node35_1.setHeight(Node35_1height);
- Node35_1._nodeType = 'text';
- Node35_1._disallowEvert = true;
- Node35_1.setRotation(0*Math.PI/180);
- Node35_1.a('node.width', Node35_1width);
- Node35_1.a('node.height', Node35_1height);
- Node35_1.a('node.rect', [0, 0, Node35_1width, Node35_1height]);
- Node35_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node35_1.a('node.borderwidth', 0);
- Node35_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node35_1.a('node.gradient','');
- Node35_1.a('node.gradientcolor','');
- Node35_1.a('node.text','风机信息');
- Node35_1.a('node.textalign','left');
- Node35_1.a('node.textvAlign','middle');
- Node35_1.a('node.textrect', [Node35_1textStart, 0, Node35_1textWidth, Node35_1height]);
- Node35_1.a('node.color','rgba(0,0,0,1)');
- Node35_1.a('node.font',' '+ Node35_1fontSize + 'px "Arial"');
- Node35_1.a('node.textvisible',false);
- Node35_1.a('node.linefeed',true);
- if (true) {
- Node35_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node35_1.a('node.text') || '风机信息';
- var color=Node35_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node35_1width,Node35_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node35_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35_1.a('node.underlinepoints',[Node35_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node35_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node35_1fontSize + 'px "Arial"').width + 6, (Node35_1height - Node35_1fontSize) * 0.5*_ratio.ratioY + Node35_1fontSize + 2 ]);
- Node35_1.a('node.underlinevisible',false);
- Node35_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node35_1);
- zoomNodeList.push({
- node: Node35_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node36_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node36_0 = new ht.Node();
- Node36_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node36_0.setSize(27*ratioX, 101*ratioY);
- Node36_0.setImage('imgimage//left_menu_out0.png');
- Node36_0.setRotation(0*Math.PI/180);
- Node36_0._zoomBy = 'Default';
- Node36_0._nodeType = 'image';
- Node36_0._disallowEvert = true;
- dataModel.add(Node36_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_1 = new ht.Node();
- var Node36_1textStart, Node36_1textWidth, Node36_1lineStart, Node36_1align = 'left', Node36_1fontSize = 18.66662*_ratio.ratioY,Node36_1width = 23*_ratio.ratioX, Node36_1height = 76*_ratio.ratioY;
- (function () {
- if (Node36_1align === 'left') {
- Node36_1textStart = Node36_1fontSize * 0.2 > 2 ? Node36_1fontSize * 0.2 - 4 : Node36_1fontSize * 0.2 - 9;
- Node36_1textWidth = Node36_1width;
- Node36_1lineStart = 1;
- } else if (Node36_1align === 'right') {
- Node36_1textStart = 0;
- Node36_1textWidth =Node36_1fontSize <= 8 ? Node36_1width + Node36_1fontSize * 0.2 + 6 : Node36_1width - Node36_1fontSize * 0.2;
- Node36_1lineStart = (Node36_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node36_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36_1align === 'center') {
- Node36_1textStart = -3;
- Node36_1textWidth = Node36_1width;
- Node36_1lineStart = Node36_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node36_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36_1.setImage(GD.getTextJSON(Node36_1width, Node36_1height, false, true, false, ' '+ Node36_1fontSize + 'px "Arial"'))
- Node36_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node36_1.setWidth(Node36_1width);
- Node36_1.setHeight(Node36_1height);
- Node36_1._nodeType = 'text';
- Node36_1._disallowEvert = true;
- Node36_1.setRotation(0*Math.PI/180);
- Node36_1.a('node.width', Node36_1width);
- Node36_1.a('node.height', Node36_1height);
- Node36_1.a('node.rect', [0, 0, Node36_1width, Node36_1height]);
- Node36_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_1.a('node.borderwidth', 0);
- Node36_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_1.a('node.gradient','');
- Node36_1.a('node.gradientcolor','');
- Node36_1.a('node.text','风机矩阵');
- Node36_1.a('node.textalign','left');
- Node36_1.a('node.textvAlign','middle');
- Node36_1.a('node.textrect', [Node36_1textStart, 0, Node36_1textWidth, Node36_1height]);
- Node36_1.a('node.color','rgba(0,0,0,1)');
- Node36_1.a('node.font',' '+ Node36_1fontSize + 'px "Arial"');
- Node36_1.a('node.textvisible',false);
- Node36_1.a('node.linefeed',true);
- if (true) {
- Node36_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_1.a('node.text') || '风机矩阵';
- var color=Node36_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node36_1width,Node36_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node36_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36_1.a('node.underlinepoints',[Node36_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node36_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node36_1fontSize + 'px "Arial"').width + 6, (Node36_1height - Node36_1fontSize) * 0.5*_ratio.ratioY + Node36_1fontSize + 2 ]);
- Node36_1.a('node.underlinevisible',false);
- Node36_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_1);
- zoomNodeList.push({
- node: Node36_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node37_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node37_0 = new ht.Node();
- Node37_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node37_0.setSize(27*ratioX, 101*ratioY);
- Node37_0.setImage('imgimage//left_menu_out0.png');
- Node37_0.setRotation(0*Math.PI/180);
- Node37_0._zoomBy = 'Default';
- Node37_0._nodeType = 'image';
- Node37_0._disallowEvert = true;
- dataModel.add(Node37_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37_1 = new ht.Node();
- var Node37_1textStart, Node37_1textWidth, Node37_1lineStart, Node37_1align = 'left', Node37_1fontSize = 18.66662*_ratio.ratioY,Node37_1width = 23*_ratio.ratioX, Node37_1height = 76*_ratio.ratioY;
- (function () {
- if (Node37_1align === 'left') {
- Node37_1textStart = Node37_1fontSize * 0.2 > 2 ? Node37_1fontSize * 0.2 - 4 : Node37_1fontSize * 0.2 - 9;
- Node37_1textWidth = Node37_1width;
- Node37_1lineStart = 1;
- } else if (Node37_1align === 'right') {
- Node37_1textStart = 0;
- Node37_1textWidth =Node37_1fontSize <= 8 ? Node37_1width + Node37_1fontSize * 0.2 + 6 : Node37_1width - Node37_1fontSize * 0.2;
- Node37_1lineStart = (Node37_1width - (ht.Default.getTextSize('测风塔', ' '+ Node37_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node37_1align === 'center') {
- Node37_1textStart = -3;
- Node37_1textWidth = Node37_1width;
- Node37_1lineStart = Node37_1width - ht.Default.getTextSize('测风塔', ' '+ Node37_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node37_1.setImage(GD.getTextJSON(Node37_1width, Node37_1height, false, true, false, ' '+ Node37_1fontSize + 'px "Arial"'))
- Node37_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node37_1.setWidth(Node37_1width);
- Node37_1.setHeight(Node37_1height);
- Node37_1._nodeType = 'text';
- Node37_1._disallowEvert = true;
- Node37_1.setRotation(0*Math.PI/180);
- Node37_1.a('node.width', Node37_1width);
- Node37_1.a('node.height', Node37_1height);
- Node37_1.a('node.rect', [0, 0, Node37_1width, Node37_1height]);
- Node37_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node37_1.a('node.borderwidth', 0);
- Node37_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node37_1.a('node.gradient','');
- Node37_1.a('node.gradientcolor','');
- Node37_1.a('node.text','测风塔');
- Node37_1.a('node.textalign','left');
- Node37_1.a('node.textvAlign','middle');
- Node37_1.a('node.textrect', [Node37_1textStart, 0, Node37_1textWidth, Node37_1height]);
- Node37_1.a('node.color','rgba(0,0,0,1)');
- Node37_1.a('node.font',' '+ Node37_1fontSize + 'px "Arial"');
- Node37_1.a('node.textvisible',false);
- Node37_1.a('node.linefeed',true);
- if (true) {
- Node37_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node37_1.a('node.text') || '测风塔';
- var color=Node37_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node37_1width,Node37_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node37_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node37_1.a('node.underlinepoints',[Node37_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node37_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node37_1fontSize + 'px "Arial"').width + 6, (Node37_1height - Node37_1fontSize) * 0.5*_ratio.ratioY + Node37_1fontSize + 2 ]);
- Node37_1.a('node.underlinevisible',false);
- Node37_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node37_1);
- zoomNodeList.push({
- node: Node37_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node38_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node38_0 = new ht.Node();
- Node38_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node38_0.setSize(27*ratioX, 101*ratioY);
- Node38_0.setImage('imgimage//left_menu_over0.png');
- Node38_0.setRotation(0*Math.PI/180);
- Node38_0._zoomBy = 'Default';
- Node38_0._nodeType = 'image';
- Node38_0._disallowEvert = true;
- dataModel.add(Node38_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_1 = new ht.Node();
- var Node38_1textStart, Node38_1textWidth, Node38_1lineStart, Node38_1align = 'left', Node38_1fontSize = 19.99995*_ratio.ratioY,Node38_1width = 23*_ratio.ratioX, Node38_1height = 76*_ratio.ratioY;
- (function () {
- if (Node38_1align === 'left') {
- Node38_1textStart = Node38_1fontSize * 0.2 > 2 ? Node38_1fontSize * 0.2 - 4 : Node38_1fontSize * 0.2 - 9;
- Node38_1textWidth = Node38_1width;
- Node38_1lineStart = 1;
- } else if (Node38_1align === 'right') {
- Node38_1textStart = 0;
- Node38_1textWidth =Node38_1fontSize <= 8 ? Node38_1width + Node38_1fontSize * 0.2 + 6 : Node38_1width - Node38_1fontSize * 0.2;
- Node38_1lineStart = (Node38_1width - (ht.Default.getTextSize('排布图', ' '+ Node38_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38_1align === 'center') {
- Node38_1textStart = -3;
- Node38_1textWidth = Node38_1width;
- Node38_1lineStart = Node38_1width - ht.Default.getTextSize('排布图', ' '+ Node38_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38_1.setImage(GD.getTextJSON(Node38_1width, Node38_1height, false, true, false, ' '+ Node38_1fontSize + 'px "Arial"'))
- Node38_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
- Node38_1.setWidth(Node38_1width);
- Node38_1.setHeight(Node38_1height);
- Node38_1._nodeType = 'text';
- Node38_1._disallowEvert = true;
- Node38_1.setRotation(0*Math.PI/180);
- Node38_1.a('node.width', Node38_1width);
- Node38_1.a('node.height', Node38_1height);
- Node38_1.a('node.rect', [0, 0, Node38_1width, Node38_1height]);
- Node38_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_1.a('node.borderwidth', 0);
- Node38_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_1.a('node.gradient','');
- Node38_1.a('node.gradientcolor','');
- Node38_1.a('node.text','排布图');
- Node38_1.a('node.textalign','left');
- Node38_1.a('node.textvAlign','middle');
- Node38_1.a('node.textrect', [Node38_1textStart, 0, Node38_1textWidth, Node38_1height]);
- Node38_1.a('node.color','rgba(0,0,0,1)');
- Node38_1.a('node.font',' '+ Node38_1fontSize + 'px "Arial"');
- Node38_1.a('node.textvisible',false);
- Node38_1.a('node.linefeed',true);
- if (true) {
- Node38_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_1.a('node.text') || '排布图';
- var color=Node38_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node38_1width,Node38_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node38_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38_1.a('node.underlinepoints',[Node38_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node38_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node38_1fontSize + 'px "Arial"').width + 6, (Node38_1height - Node38_1fontSize) * 0.5*_ratio.ratioY + Node38_1fontSize + 2 ]);
- Node38_1.a('node.underlinevisible',false);
- Node38_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_1);
- zoomNodeList.push({
- node: Node38_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node39_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node39_0 = new ht.Node();
- Node39_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node39_0.setSize(27*ratioX, 101*ratioY);
- Node39_0.setImage('imgimage//left_menu_over0.png');
- Node39_0.setRotation(0*Math.PI/180);
- Node39_0._zoomBy = 'Default';
- Node39_0._nodeType = 'image';
- Node39_0._disallowEvert = true;
- dataModel.add(Node39_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39_1 = new ht.Node();
- var Node39_1textStart, Node39_1textWidth, Node39_1lineStart, Node39_1align = 'left', Node39_1fontSize = 18.66662*_ratio.ratioY,Node39_1width = 23*_ratio.ratioX, Node39_1height = 76*_ratio.ratioY;
- (function () {
- if (Node39_1align === 'left') {
- Node39_1textStart = Node39_1fontSize * 0.2 > 2 ? Node39_1fontSize * 0.2 - 4 : Node39_1fontSize * 0.2 - 9;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = 1;
- } else if (Node39_1align === 'right') {
- Node39_1textStart = 0;
- Node39_1textWidth =Node39_1fontSize <= 8 ? Node39_1width + Node39_1fontSize * 0.2 + 6 : Node39_1width - Node39_1fontSize * 0.2;
- Node39_1lineStart = (Node39_1width - (ht.Default.getTextSize('总貌图', ' '+ Node39_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39_1align === 'center') {
- Node39_1textStart = -3;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = Node39_1width - ht.Default.getTextSize('总貌图', ' '+ Node39_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39_1.setImage(GD.getTextJSON(Node39_1width, Node39_1height, false, true, false, ' '+ Node39_1fontSize + 'px "Arial"'))
- Node39_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node39_1.setWidth(Node39_1width);
- Node39_1.setHeight(Node39_1height);
- Node39_1._nodeType = 'text';
- Node39_1._disallowEvert = true;
- Node39_1.setRotation(0*Math.PI/180);
- Node39_1.a('node.width', Node39_1width);
- Node39_1.a('node.height', Node39_1height);
- Node39_1.a('node.rect', [0, 0, Node39_1width, Node39_1height]);
- Node39_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node39_1.a('node.borderwidth', 0);
- Node39_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node39_1.a('node.gradient','');
- Node39_1.a('node.gradientcolor','');
- Node39_1.a('node.text','总貌图');
- Node39_1.a('node.textalign','left');
- Node39_1.a('node.textvAlign','middle');
- Node39_1.a('node.textrect', [Node39_1textStart, 0, Node39_1textWidth, Node39_1height]);
- Node39_1.a('node.color','rgba(0,0,0,1)');
- Node39_1.a('node.font',' '+ Node39_1fontSize + 'px "Arial"');
- Node39_1.a('node.textvisible',false);
- Node39_1.a('node.linefeed',true);
- if (true) {
- Node39_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39_1.a('node.text') || '总貌图';
- var color=Node39_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node39_1width,Node39_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node39_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39_1.a('node.underlinepoints',[Node39_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node39_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node39_1fontSize + 'px "Arial"').width + 6, (Node39_1height - Node39_1fontSize) * 0.5*_ratio.ratioY + Node39_1fontSize + 2 ]);
- Node39_1.a('node.underlinevisible',false);
- Node39_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39_1);
- zoomNodeList.push({
- node: Node39_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node40_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node40_0 = new ht.Node();
- Node40_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node40_0.setSize(27*ratioX, 101*ratioY);
- Node40_0.setImage('imgimage//left_menu_over0.png');
- Node40_0.setRotation(0*Math.PI/180);
- Node40_0._zoomBy = 'Default';
- Node40_0._nodeType = 'image';
- Node40_0._disallowEvert = true;
- dataModel.add(Node40_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_1 = new ht.Node();
- var Node40_1textStart, Node40_1textWidth, Node40_1lineStart, Node40_1align = 'left', Node40_1fontSize = 18.66662*_ratio.ratioY,Node40_1width = 23*_ratio.ratioX, Node40_1height = 76*_ratio.ratioY;
- (function () {
- if (Node40_1align === 'left') {
- Node40_1textStart = Node40_1fontSize * 0.2 > 2 ? Node40_1fontSize * 0.2 - 4 : Node40_1fontSize * 0.2 - 9;
- Node40_1textWidth = Node40_1width;
- Node40_1lineStart = 1;
- } else if (Node40_1align === 'right') {
- Node40_1textStart = 0;
- Node40_1textWidth =Node40_1fontSize <= 8 ? Node40_1width + Node40_1fontSize * 0.2 + 6 : Node40_1width - Node40_1fontSize * 0.2;
- Node40_1lineStart = (Node40_1width - (ht.Default.getTextSize('升压站', ' '+ Node40_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node40_1align === 'center') {
- Node40_1textStart = -3;
- Node40_1textWidth = Node40_1width;
- Node40_1lineStart = Node40_1width - ht.Default.getTextSize('升压站', ' '+ Node40_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node40_1.setImage(GD.getTextJSON(Node40_1width, Node40_1height, false, true, false, ' '+ Node40_1fontSize + 'px "Arial"'))
- Node40_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node40_1.setWidth(Node40_1width);
- Node40_1.setHeight(Node40_1height);
- Node40_1._nodeType = 'text';
- Node40_1._disallowEvert = true;
- Node40_1.setRotation(0*Math.PI/180);
- Node40_1.a('node.width', Node40_1width);
- Node40_1.a('node.height', Node40_1height);
- Node40_1.a('node.rect', [0, 0, Node40_1width, Node40_1height]);
- Node40_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_1.a('node.borderwidth', 0);
- Node40_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_1.a('node.gradient','');
- Node40_1.a('node.gradientcolor','');
- Node40_1.a('node.text','升压站');
- Node40_1.a('node.textalign','left');
- Node40_1.a('node.textvAlign','middle');
- Node40_1.a('node.textrect', [Node40_1textStart, 0, Node40_1textWidth, Node40_1height]);
- Node40_1.a('node.color','rgba(0,0,0,1)');
- Node40_1.a('node.font',' '+ Node40_1fontSize + 'px "Arial"');
- Node40_1.a('node.textvisible',false);
- Node40_1.a('node.linefeed',true);
- if (true) {
- Node40_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_1.a('node.text') || '升压站';
- var color=Node40_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node40_1width,Node40_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node40_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node40_1.a('node.underlinepoints',[Node40_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node40_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node40_1fontSize + 'px "Arial"').width + 6, (Node40_1height - Node40_1fontSize) * 0.5*_ratio.ratioY + Node40_1fontSize + 2 ]);
- Node40_1.a('node.underlinevisible',false);
- Node40_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_1);
- zoomNodeList.push({
- node: Node40_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node41_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node41_0 = new ht.Node();
- Node41_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node41_0.setSize(27*ratioX, 101*ratioY);
- Node41_0.setImage('imgimage//left_menu_over0.png');
- Node41_0.setRotation(0*Math.PI/180);
- Node41_0._zoomBy = 'Default';
- Node41_0._nodeType = 'image';
- Node41_0._disallowEvert = true;
- dataModel.add(Node41_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41_1 = new ht.Node();
- var Node41_1textStart, Node41_1textWidth, Node41_1lineStart, Node41_1align = 'left', Node41_1fontSize = 18.66662*_ratio.ratioY,Node41_1width = 23*_ratio.ratioX, Node41_1height = 76*_ratio.ratioY;
- (function () {
- if (Node41_1align === 'left') {
- Node41_1textStart = Node41_1fontSize * 0.2 > 2 ? Node41_1fontSize * 0.2 - 4 : Node41_1fontSize * 0.2 - 9;
- Node41_1textWidth = Node41_1width;
- Node41_1lineStart = 1;
- } else if (Node41_1align === 'right') {
- Node41_1textStart = 0;
- Node41_1textWidth =Node41_1fontSize <= 8 ? Node41_1width + Node41_1fontSize * 0.2 + 6 : Node41_1width - Node41_1fontSize * 0.2;
- Node41_1lineStart = (Node41_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node41_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node41_1align === 'center') {
- Node41_1textStart = -3;
- Node41_1textWidth = Node41_1width;
- Node41_1lineStart = Node41_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node41_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node41_1.setImage(GD.getTextJSON(Node41_1width, Node41_1height, false, true, false, ' '+ Node41_1fontSize + 'px "Arial"'))
- Node41_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node41_1.setWidth(Node41_1width);
- Node41_1.setHeight(Node41_1height);
- Node41_1._nodeType = 'text';
- Node41_1._disallowEvert = true;
- Node41_1.setRotation(0*Math.PI/180);
- Node41_1.a('node.width', Node41_1width);
- Node41_1.a('node.height', Node41_1height);
- Node41_1.a('node.rect', [0, 0, Node41_1width, Node41_1height]);
- Node41_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node41_1.a('node.borderwidth', 0);
- Node41_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node41_1.a('node.gradient','');
- Node41_1.a('node.gradientcolor','');
- Node41_1.a('node.text','风机矩阵');
- Node41_1.a('node.textalign','left');
- Node41_1.a('node.textvAlign','middle');
- Node41_1.a('node.textrect', [Node41_1textStart, 0, Node41_1textWidth, Node41_1height]);
- Node41_1.a('node.color','rgba(0,0,0,1)');
- Node41_1.a('node.font',' '+ Node41_1fontSize + 'px "Arial"');
- Node41_1.a('node.textvisible',false);
- Node41_1.a('node.linefeed',true);
- if (true) {
- Node41_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41_1.a('node.text') || '风机矩阵';
- var color=Node41_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node41_1width,Node41_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node41_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node41_1.a('node.underlinepoints',[Node41_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node41_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node41_1fontSize + 'px "Arial"').width + 6, (Node41_1height - Node41_1fontSize) * 0.5*_ratio.ratioY + Node41_1fontSize + 2 ]);
- Node41_1.a('node.underlinevisible',false);
- Node41_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41_1);
- zoomNodeList.push({
- node: Node41_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node42_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node42_0 = new ht.Node();
- Node42_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node42_0.setSize(27*ratioX, 101*ratioY);
- Node42_0.setImage('imgimage//left_menu_over0.png');
- Node42_0.setRotation(0*Math.PI/180);
- Node42_0._zoomBy = 'Default';
- Node42_0._nodeType = 'image';
- Node42_0._disallowEvert = true;
- dataModel.add(Node42_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_1 = new ht.Node();
- var Node42_1textStart, Node42_1textWidth, Node42_1lineStart, Node42_1align = 'left', Node42_1fontSize = 18.66662*_ratio.ratioY,Node42_1width = 23*_ratio.ratioX, Node42_1height = 76*_ratio.ratioY;
- (function () {
- if (Node42_1align === 'left') {
- Node42_1textStart = Node42_1fontSize * 0.2 > 2 ? Node42_1fontSize * 0.2 - 4 : Node42_1fontSize * 0.2 - 9;
- Node42_1textWidth = Node42_1width;
- Node42_1lineStart = 1;
- } else if (Node42_1align === 'right') {
- Node42_1textStart = 0;
- Node42_1textWidth =Node42_1fontSize <= 8 ? Node42_1width + Node42_1fontSize * 0.2 + 6 : Node42_1width - Node42_1fontSize * 0.2;
- Node42_1lineStart = (Node42_1width - (ht.Default.getTextSize('风机信息', ' '+ Node42_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node42_1align === 'center') {
- Node42_1textStart = -3;
- Node42_1textWidth = Node42_1width;
- Node42_1lineStart = Node42_1width - ht.Default.getTextSize('风机信息', ' '+ Node42_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node42_1.setImage(GD.getTextJSON(Node42_1width, Node42_1height, false, true, false, ' '+ Node42_1fontSize + 'px "Arial"'))
- Node42_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node42_1.setWidth(Node42_1width);
- Node42_1.setHeight(Node42_1height);
- Node42_1._nodeType = 'text';
- Node42_1._disallowEvert = true;
- Node42_1.setRotation(0*Math.PI/180);
- Node42_1.a('node.width', Node42_1width);
- Node42_1.a('node.height', Node42_1height);
- Node42_1.a('node.rect', [0, 0, Node42_1width, Node42_1height]);
- Node42_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_1.a('node.borderwidth', 0);
- Node42_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_1.a('node.gradient','');
- Node42_1.a('node.gradientcolor','');
- Node42_1.a('node.text','风机信息');
- Node42_1.a('node.textalign','left');
- Node42_1.a('node.textvAlign','middle');
- Node42_1.a('node.textrect', [Node42_1textStart, 0, Node42_1textWidth, Node42_1height]);
- Node42_1.a('node.color','rgba(0,0,0,1)');
- Node42_1.a('node.font',' '+ Node42_1fontSize + 'px "Arial"');
- Node42_1.a('node.textvisible',false);
- Node42_1.a('node.linefeed',true);
- if (true) {
- Node42_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_1.a('node.text') || '风机信息';
- var color=Node42_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node42_1width,Node42_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node42_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node42_1.a('node.underlinepoints',[Node42_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node42_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node42_1fontSize + 'px "Arial"').width + 6, (Node42_1height - Node42_1fontSize) * 0.5*_ratio.ratioY + Node42_1fontSize + 2 ]);
- Node42_1.a('node.underlinevisible',false);
- Node42_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_1);
- zoomNodeList.push({
- node: Node42_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node43_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node43_0 = new ht.Node();
- Node43_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node43_0.setSize(27*ratioX, 101*ratioY);
- Node43_0.setImage('imgimage//left_menu_over0.png');
- Node43_0.setRotation(0*Math.PI/180);
- Node43_0._zoomBy = 'Default';
- Node43_0._nodeType = 'image';
- Node43_0._disallowEvert = true;
- dataModel.add(Node43_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43_1 = new ht.Node();
- var Node43_1textStart, Node43_1textWidth, Node43_1lineStart, Node43_1align = 'left', Node43_1fontSize = 18.66662*_ratio.ratioY,Node43_1width = 23*_ratio.ratioX, Node43_1height = 76*_ratio.ratioY;
- (function () {
- if (Node43_1align === 'left') {
- Node43_1textStart = Node43_1fontSize * 0.2 > 2 ? Node43_1fontSize * 0.2 - 4 : Node43_1fontSize * 0.2 - 9;
- Node43_1textWidth = Node43_1width;
- Node43_1lineStart = 1;
- } else if (Node43_1align === 'right') {
- Node43_1textStart = 0;
- Node43_1textWidth =Node43_1fontSize <= 8 ? Node43_1width + Node43_1fontSize * 0.2 + 6 : Node43_1width - Node43_1fontSize * 0.2;
- Node43_1lineStart = (Node43_1width - (ht.Default.getTextSize('测风塔', ' '+ Node43_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node43_1align === 'center') {
- Node43_1textStart = -3;
- Node43_1textWidth = Node43_1width;
- Node43_1lineStart = Node43_1width - ht.Default.getTextSize('测风塔', ' '+ Node43_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node43_1.setImage(GD.getTextJSON(Node43_1width, Node43_1height, false, true, false, ' '+ Node43_1fontSize + 'px "Arial"'))
- Node43_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node43_1.setWidth(Node43_1width);
- Node43_1.setHeight(Node43_1height);
- Node43_1._nodeType = 'text';
- Node43_1._disallowEvert = true;
- Node43_1.setRotation(0*Math.PI/180);
- Node43_1.a('node.width', Node43_1width);
- Node43_1.a('node.height', Node43_1height);
- Node43_1.a('node.rect', [0, 0, Node43_1width, Node43_1height]);
- Node43_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node43_1.a('node.borderwidth', 0);
- Node43_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node43_1.a('node.gradient','');
- Node43_1.a('node.gradientcolor','');
- Node43_1.a('node.text','测风塔');
- Node43_1.a('node.textalign','left');
- Node43_1.a('node.textvAlign','middle');
- Node43_1.a('node.textrect', [Node43_1textStart, 0, Node43_1textWidth, Node43_1height]);
- Node43_1.a('node.color','rgba(0,0,0,1)');
- Node43_1.a('node.font',' '+ Node43_1fontSize + 'px "Arial"');
- Node43_1.a('node.textvisible',false);
- Node43_1.a('node.linefeed',true);
- if (true) {
- Node43_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node43_1.a('node.text') || '测风塔';
- var color=Node43_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node43_1width,Node43_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node43_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node43_1.a('node.underlinepoints',[Node43_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node43_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node43_1fontSize + 'px "Arial"').width + 6, (Node43_1height - Node43_1fontSize) * 0.5*_ratio.ratioY + Node43_1fontSize + 2 ]);
- Node43_1.a('node.underlinevisible',false);
- Node43_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node43_1);
- zoomNodeList.push({
- node: Node43_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44type = 'rect';
- var Node44 = new ht.Node(),
- Node44BorderWidth = 1*2;
- if (Node44type === 'arc') {
- Node44BorderWidth *= 1;
- }
- Node44.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(1826*ratio.ratioX, 70*ratio.ratioY);
- Node44.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 127*_ratio.ratioX);
- Node44.a('node.height', 60.81538*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44.a('node.gradientcolor', '');
- Node44.a('node.gradient', '');
- Node44.a('node.borderwidth', Node44BorderWidth);
- Node44.a('node.color', 'rgba(128,128,128,1)');
- Node44.a('node.fillrect', [0,0,0,0]);
- Node44.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradient', '');
- if (Node44type !== 'rect') {
- Node44.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44.a('node.arcTo', parseFloat('@arcTo@'));
- Node44.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44type === 'arc') {
- Node44.a('node.arcOval', true);
- }
- Node44.setRotation(0*Math.PI/180);
- Node44.borderWidth = Node44BorderWidth;
- Node44.borderFillwidth = Node44BorderWidth;
- dataModel.add(Node44);
- Node44._nodename = 'Node44'
- Node44._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node44, Node44.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45type = 'rect';
- var Node45 = new ht.Node(),
- Node45BorderWidth = 1*2;
- if (Node45type === 'arc') {
- Node45BorderWidth *= 1;
- }
- Node45.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node45.setPosition(1826*ratio.ratioX, 131*ratio.ratioY);
- Node45.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node45.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node45.a('node.width', 127*_ratio.ratioX);
- Node45.a('node.height', 60.81538*_ratio.ratioY);
- Node45.a('node.type', Node45type);
- Node45.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node45.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node45.a('node.gradientcolor', '');
- Node45.a('node.gradient', '');
- Node45.a('node.borderwidth', Node45BorderWidth);
- Node45.a('node.color', 'rgba(128,128,128,1)');
- Node45.a('node.fillrect', [0,0,0,0]);
- Node45.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradient', '');
- if (Node45type !== 'rect') {
- Node45.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node45.a('node.arcTo', parseFloat('@arcTo@'));
- Node45.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node45type === 'arc') {
- Node45.a('node.arcOval', true);
- }
- Node45.setRotation(0*Math.PI/180);
- Node45.borderWidth = Node45BorderWidth;
- Node45.borderFillwidth = Node45BorderWidth;
- dataModel.add(Node45);
- Node45._nodename = 'Node45'
- Node45._nodeType = 'rect';
- zoomNodeList.push({
- node: Node45,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node45, Node45.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46type = 'rect';
- var Node46 = new ht.Node(),
- Node46BorderWidth = 1*2;
- if (Node46type === 'arc') {
- Node46BorderWidth *= 1;
- }
- Node46.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46.setPosition(1332*ratio.ratioX, 100*ratio.ratioY);
- Node46.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46.a('node.width', 27*_ratio.ratioX);
- Node46.a('node.height', 121*_ratio.ratioY);
- Node46.a('node.type', Node46type);
- Node46.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node46.a('node.background', 'rgba(0,0,0,1)');
- Node46.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node46.a('node.gradient', '');
- Node46.a('node.borderwidth', Node46BorderWidth);
- Node46.a('node.color', 'rgba(0,0,255,1)');
- Node46.a('node.fillrect', [0,0,0,0]);
- Node46.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradient', '');
- if (Node46type !== 'rect') {
- Node46.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46.a('node.arcTo', parseFloat('@arcTo@'));
- Node46.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46type === 'arc') {
- Node46.a('node.arcOval', true);
- }
- Node46.setRotation(0*Math.PI/180);
- Node46.borderWidth = Node46BorderWidth;
- Node46.borderFillwidth = Node46BorderWidth;
- dataModel.add(Node46);
- Node46._nodename = 'Node46'
- Node46._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node46, Node46.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.Node();
- var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 11.99997*_ratio.ratioY,Node47width = 53*_ratio.ratioX, Node47height = 20*_ratio.ratioY;
- (function () {
- if (Node47align === 'left') {
- Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
- Node47textWidth = Node47width;
- Node47lineStart = 1;
- } else if (Node47align === 'right') {
- Node47textStart = 0;
- Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
- Node47lineStart = (Node47width - (ht.Default.getTextSize('风', 'bold '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('风', 'bold '+ Node47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, 'bold '+ Node47fontSize + 'px "Arial"'))
- Node47.setPosition(1349*ratio.ratioX, 66*ratio.ratioY);
- Node47.setWidth(Node47width);
- Node47.setHeight(Node47height);
- Node47._nodeType = 'text';
- Node47._disallowEvert = true;
- Node47.setRotation(0*Math.PI/180);
- Node47.a('node.width', Node47width);
- Node47.a('node.height', Node47height);
- Node47.a('node.rect', [0, 0, Node47width, Node47height]);
- Node47.a('node.bordercolor','rgba(255,255,255,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','');
- Node47.a('node.text','风');
- Node47.a('node.textalign','left');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(255,255,255,1)');
- Node47.a('node.font','bold '+ Node47fontSize + 'px "Arial"');
- Node47.a('node.textvisible',true);
- Node47.a('node.linefeed',false);
- if (false) {
- Node47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47.a('node.text') || '风';
- var color=Node47.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node47width,Node47height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
- Node47.a('node.underlinevisible',false);
- Node47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47);
- zoomNodeList.push({
- node: Node47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48type = 'rect';
- var Node48 = new ht.Node(),
- Node48BorderWidth = 1*2;
- if (Node48type === 'arc') {
- Node48BorderWidth *= 1;
- }
- Node48.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node48type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48.setPosition(1411*ratio.ratioX, 100*ratio.ratioY);
- Node48.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node48.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48.a('node.width', 130*_ratio.ratioX);
- Node48.a('node.height', 121*_ratio.ratioY);
- Node48.a('node.type', Node48type);
- Node48.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node48.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node48.a('node.gradientcolor', '');
- Node48.a('node.gradient', '');
- Node48.a('node.borderwidth', Node48BorderWidth);
- Node48.a('node.color', 'rgba(128,128,128,1)');
- Node48.a('node.fillrect', [0,0,0,0]);
- Node48.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48.a('node.fillgradient', '');
- if (Node48type !== 'rect') {
- Node48.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48.a('node.arcTo', parseFloat('@arcTo@'));
- Node48.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48type === 'arc') {
- Node48.a('node.arcOval', true);
- }
- Node48.setRotation(0*Math.PI/180);
- Node48.borderWidth = Node48BorderWidth;
- Node48.borderFillwidth = Node48BorderWidth;
- dataModel.add(Node48);
- Node48._nodename = 'Node48'
- Node48._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node48, Node48.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49 = new ht.Node();
- var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 59*_ratio.ratioX, Node49height = 25*_ratio.ratioY;
- (function () {
- if (Node49align === 'left') {
- Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
- Node49textWidth = Node49width;
- Node49lineStart = 1;
- } else if (Node49align === 'right') {
- Node49textStart = 0;
- Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
- Node49lineStart = (Node49width - (ht.Default.getTextSize('接入', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('接入', ' '+ Node49fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
- Node49.setPosition(1380*ratio.ratioX, 54*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(105,105,105,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','');
- Node49.a('node.text','接入');
- Node49.a('node.textalign','left');
- Node49.a('node.textvAlign','middle');
- Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
- Node49.a('node.color','rgba(105,105,105,1)');
- Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '接入';
- var color=Node49.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'center', Node50fontSize = 26.6666*_ratio.ratioY,Node50width = 87*_ratio.ratioX, Node50height = 36*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('0', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('0', ' '+ Node50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
- Node50.setPosition(1412*ratio.ratioX, 99*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(0,0,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','0');
- Node50.a('node.textalign','center');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(0,0,0,1)');
- Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '0';
- var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node50width,Node50height,26.6666*_ratio.ratioY,"center",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.Node();
- var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'center', Node51fontSize = 14.66663*_ratio.ratioY,Node51width = 87*_ratio.ratioX, Node51height = 26*_ratio.ratioY;
- (function () {
- if (Node51align === 'left') {
- Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
- Node51textWidth = Node51width;
- Node51lineStart = 1;
- } else if (Node51align === 'right') {
- Node51textStart = 0;
- Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
- Node51lineStart = (Node51width - (ht.Default.getTextSize('台', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node51align === 'center') {
- Node51textStart = -3;
- Node51textWidth = Node51width;
- Node51lineStart = Node51width - ht.Default.getTextSize('台', ' '+ Node51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"'))
- Node51.setPosition(1459*ratio.ratioX, 148*ratio.ratioY);
- Node51.setWidth(Node51width);
- Node51.setHeight(Node51height);
- Node51._nodeType = 'text';
- Node51._disallowEvert = true;
- Node51.setRotation(0*Math.PI/180);
- Node51.a('node.width', Node51width);
- Node51.a('node.height', Node51height);
- Node51.a('node.rect', [0, 0, Node51width, Node51height]);
- Node51.a('node.bordercolor','rgba(105,105,105,1)');
- Node51.a('node.borderwidth', 0);
- Node51.a('node.background','' || 'rgba(0,0,0,0)');
- Node51.a('node.gradient','');
- Node51.a('node.gradientcolor','');
- Node51.a('node.text','台');
- Node51.a('node.textalign','center');
- Node51.a('node.textvAlign','middle');
- Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
- Node51.a('node.color','rgba(105,105,105,1)');
- Node51.a('node.font',' '+ Node51fontSize + 'px "Arial"');
- Node51.a('node.textvisible',true);
- Node51.a('node.linefeed',false);
- if (false) {
- Node51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node51.a('node.text') || '台';
- var color=Node51.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node51width,Node51height,14.66663*_ratio.ratioY,"center",color,' '+ Node51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node51.a('node.underlinepoints',[Node51lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
- Node51.a('node.underlinevisible',false);
- Node51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node51);
- zoomNodeList.push({
- node: Node51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52 = new ht.Node();
- var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'center', Node52fontSize = 14.66663*_ratio.ratioY,Node52width = 67*_ratio.ratioX, Node52height = 26*_ratio.ratioY;
- (function () {
- if (Node52align === 'left') {
- Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9;
- Node52textWidth = Node52width;
- Node52lineStart = 1;
- } else if (Node52align === 'right') {
- Node52textStart = 0;
- Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2;
- Node52lineStart = (Node52width - (ht.Default.getTextSize('台', ' '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node52align === 'center') {
- Node52textStart = -3;
- Node52textWidth = Node52width;
- Node52lineStart = Node52width - ht.Default.getTextSize('台', ' '+ Node52fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, ' '+ Node52fontSize + 'px "Arial"'))
- Node52.setPosition(1592*ratio.ratioX, 146*ratio.ratioY);
- Node52.setWidth(Node52width);
- Node52.setHeight(Node52height);
- Node52._nodeType = 'text';
- Node52._disallowEvert = true;
- Node52.setRotation(0*Math.PI/180);
- Node52.a('node.width', Node52width);
- Node52.a('node.height', Node52height);
- Node52.a('node.rect', [0, 0, Node52width, Node52height]);
- Node52.a('node.bordercolor','rgba(105,105,105,1)');
- Node52.a('node.borderwidth', 0);
- Node52.a('node.background','' || 'rgba(0,0,0,0)');
- Node52.a('node.gradient','');
- Node52.a('node.gradientcolor','');
- Node52.a('node.text','台');
- Node52.a('node.textalign','center');
- Node52.a('node.textvAlign','middle');
- Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]);
- Node52.a('node.color','rgba(105,105,105,1)');
- Node52.a('node.font',' '+ Node52fontSize + 'px "Arial"');
- Node52.a('node.textvisible',true);
- Node52.a('node.linefeed',false);
- if (false) {
- Node52.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node52.a('node.text') || '台';
- var color=Node52.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node52width,Node52height,14.66663*_ratio.ratioY,"center",color,' '+ Node52fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node52.a('node.underlinepoints',[Node52lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]);
- Node52.a('node.underlinevisible',false);
- Node52.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node52);
- zoomNodeList.push({
- node: Node52,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node53;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node53 = new ht.Node();
- Node53.setPosition(1481*ratio.ratioX, 130*ratio.ratioY);
- Node53.setSize(9*ratioX, 60*ratioY);
- Node53.setImage('imgimage//page_list_box_left_orange.jpg');
- Node53.setRotation(0*Math.PI/180);
- Node53._zoomBy = 'Default';
- Node53._nodeType = 'image';
- Node53._disallowEvert = true;
- dataModel.add(Node53);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54type = 'rect';
- var Node54 = new ht.Node(),
- Node54BorderWidth = 1*2;
- if (Node54type === 'arc') {
- Node54BorderWidth *= 1;
- }
- Node54.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node54.setPosition(1550*ratio.ratioX, 131*ratio.ratioY);
- Node54.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node54.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node54.a('node.width', 127*_ratio.ratioX);
- Node54.a('node.height', 60.81538*_ratio.ratioY);
- Node54.a('node.type', Node54type);
- Node54.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node54.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node54.a('node.gradientcolor', '');
- Node54.a('node.gradient', '');
- Node54.a('node.borderwidth', Node54BorderWidth);
- Node54.a('node.color', 'rgba(128,128,128,1)');
- Node54.a('node.fillrect', [0,0,0,0]);
- Node54.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradient', '');
- if (Node54type !== 'rect') {
- Node54.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node54.a('node.arcTo', parseFloat('@arcTo@'));
- Node54.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node54type === 'arc') {
- Node54.a('node.arcOval', true);
- }
- Node54.setRotation(0*Math.PI/180);
- Node54.borderWidth = Node54BorderWidth;
- Node54.borderFillwidth = Node54BorderWidth;
- dataModel.add(Node54);
- Node54._nodename = 'Node54'
- Node54._nodeType = 'rect';
- zoomNodeList.push({
- node: Node54,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node54, Node54.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 47*_ratio.ratioX, Node55height = 38*_ratio.ratioY;
- (function () {
- if (Node55align === 'left') {
- Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
- Node55textWidth = Node55width;
- Node55lineStart = 1;
- } else if (Node55align === 'right') {
- Node55textStart = 0;
- Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
- Node55lineStart = (Node55width - (ht.Default.getTextSize('维护', 'bold '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('维护', 'bold '+ Node55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, 'bold '+ Node55fontSize + 'px "Arial"'))
- Node55.setPosition(1512*ratio.ratioX, 113*ratio.ratioY);
- Node55.setWidth(Node55width);
- Node55.setHeight(Node55height);
- Node55._nodeType = 'text';
- Node55._disallowEvert = true;
- Node55.setRotation(0*Math.PI/180);
- Node55.a('node.width', Node55width);
- Node55.a('node.height', Node55height);
- Node55.a('node.rect', [0, 0, Node55width, Node55height]);
- Node55.a('node.bordercolor','rgba(0,0,0,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','');
- Node55.a('node.text','维护');
- Node55.a('node.textalign','left');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(0,0,0,1)');
- Node55.a('node.font','bold '+ Node55fontSize + 'px "Arial"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '维护';
- var color=Node55.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 15.99996*_ratio.ratioY,Node56width = 29*_ratio.ratioX, Node56height = 25*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('0', ' '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('0', ' '+ Node56fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "Arial"'))
- Node56.setPosition(1513*ratio.ratioX, 145*ratio.ratioY);
- Node56.setWidth(Node56width);
- Node56.setHeight(Node56height);
- Node56._nodeType = 'text';
- Node56._disallowEvert = true;
- Node56.setRotation(0*Math.PI/180);
- Node56.a('node.width', Node56width);
- Node56.a('node.height', Node56height);
- Node56.a('node.rect', [0, 0, Node56width, Node56height]);
- Node56.a('node.bordercolor','rgba(0,0,0,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','' || 'rgba(0,0,0,0)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','');
- Node56.a('node.text','0');
- Node56.a('node.textalign','left');
- Node56.a('node.textvAlign','middle');
- Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
- Node56.a('node.color','rgba(0,0,0,1)');
- Node56.a('node.font',' '+ Node56fontSize + 'px "Arial"');
- Node56.a('node.textvisible',true);
- Node56.a('node.linefeed',false);
- if (false) {
- Node56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node56.a('node.text') || '0';
- var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node56width,Node56height,15.99996*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
- Node56.a('node.underlinevisible',false);
- Node56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node56);
- zoomNodeList.push({
- node: Node56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'center', Node57fontSize = 14.66663*_ratio.ratioY,Node57width = 67*_ratio.ratioX, Node57height = 26*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"'))
- Node57.setPosition(1730*ratio.ratioX, 86*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(105,105,105,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','');
- Node57.a('node.text','台');
- Node57.a('node.textalign','center');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(105,105,105,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '台';
- var color=Node57.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node57width,Node57height,14.66663*_ratio.ratioY,"center",color,' '+ Node57fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node58;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg');
- Node58 = new ht.Node();
- Node58.setPosition(1619*ratio.ratioX, 70*ratio.ratioY);
- Node58.setSize(9*ratioX, 60*ratioY);
- Node58.setImage('imgimage//page_list_box_left_green.jpg');
- Node58.setRotation(0*Math.PI/180);
- Node58._zoomBy = 'Default';
- Node58._nodeType = 'image';
- Node58._disallowEvert = true;
- dataModel.add(Node58);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59type = 'rect';
- var Node59 = new ht.Node(),
- Node59BorderWidth = 1*2;
- if (Node59type === 'arc') {
- Node59BorderWidth *= 1;
- }
- Node59.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node59type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node59.setPosition(1688*ratio.ratioX, 70*ratio.ratioY);
- Node59.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node59.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node59.a('node.width', 127*_ratio.ratioX);
- Node59.a('node.height', 60.81538*_ratio.ratioY);
- Node59.a('node.type', Node59type);
- Node59.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node59.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node59.a('node.gradientcolor', '');
- Node59.a('node.gradient', '');
- Node59.a('node.borderwidth', Node59BorderWidth);
- Node59.a('node.color', 'rgba(128,128,128,1)');
- Node59.a('node.fillrect', [0,0,0,0]);
- Node59.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node59.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node59.a('node.fillgradient', '');
- if (Node59type !== 'rect') {
- Node59.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node59.a('node.arcTo', parseFloat('@arcTo@'));
- Node59.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node59type === 'arc') {
- Node59.a('node.arcOval', true);
- }
- Node59.setRotation(0*Math.PI/180);
- Node59.borderWidth = Node59BorderWidth;
- Node59.borderFillwidth = Node59BorderWidth;
- dataModel.add(Node59);
- Node59._nodename = 'Node59'
- Node59._nodeType = 'rect';
- zoomNodeList.push({
- node: Node59,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node59, Node59.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 15.99996*_ratio.ratioY,Node60width = 29*_ratio.ratioX, Node60height = 25*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
- Node60.setPosition(1651*ratio.ratioX, 85*ratio.ratioY);
- Node60.setWidth(Node60width);
- Node60.setHeight(Node60height);
- Node60._nodeType = 'text';
- Node60._disallowEvert = true;
- Node60.setRotation(0*Math.PI/180);
- Node60.a('node.width', Node60width);
- Node60.a('node.height', Node60height);
- Node60.a('node.rect', [0, 0, Node60width, Node60height]);
- Node60.a('node.bordercolor','rgba(0,0,0,1)');
- Node60.a('node.borderwidth', 0);
- Node60.a('node.background','' || 'rgba(0,0,0,0)');
- Node60.a('node.gradient','');
- Node60.a('node.gradientcolor','');
- Node60.a('node.text','0');
- Node60.a('node.textalign','left');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(0,0,0,1)');
- Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '0';
- var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node60width,Node60height,15.99996*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61 = new ht.Node();
- var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'center', Node61fontSize = 14.66663*_ratio.ratioY,Node61width = 67*_ratio.ratioX, Node61height = 26*_ratio.ratioY;
- (function () {
- if (Node61align === 'left') {
- Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9;
- Node61textWidth = Node61width;
- Node61lineStart = 1;
- } else if (Node61align === 'right') {
- Node61textStart = 0;
- Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2;
- Node61lineStart = (Node61width - (ht.Default.getTextSize('台', ' '+ Node61fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node61align === 'center') {
- Node61textStart = -3;
- Node61textWidth = Node61width;
- Node61lineStart = Node61width - ht.Default.getTextSize('台', ' '+ Node61fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "Arial"'))
- Node61.setPosition(1730*ratio.ratioX, 147*ratio.ratioY);
- Node61.setWidth(Node61width);
- Node61.setHeight(Node61height);
- Node61._nodeType = 'text';
- Node61._disallowEvert = true;
- Node61.setRotation(0*Math.PI/180);
- Node61.a('node.width', Node61width);
- Node61.a('node.height', Node61height);
- Node61.a('node.rect', [0, 0, Node61width, Node61height]);
- Node61.a('node.bordercolor','rgba(105,105,105,1)');
- Node61.a('node.borderwidth', 0);
- Node61.a('node.background','' || 'rgba(0,0,0,0)');
- Node61.a('node.gradient','');
- Node61.a('node.gradientcolor','');
- Node61.a('node.text','台');
- Node61.a('node.textalign','center');
- Node61.a('node.textvAlign','middle');
- Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
- Node61.a('node.color','rgba(105,105,105,1)');
- Node61.a('node.font',' '+ Node61fontSize + 'px "Arial"');
- Node61.a('node.textvisible',true);
- Node61.a('node.linefeed',false);
- if (false) {
- Node61.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node61.a('node.text') || '台';
- var color=Node61.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node61width,Node61height,14.66663*_ratio.ratioY,"center",color,' '+ Node61fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node61.a('node.underlinepoints',[Node61lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node61fontSize + 'px "Arial"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]);
- Node61.a('node.underlinevisible',false);
- Node61.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node61);
- zoomNodeList.push({
- node: Node61,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node62;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node62 = new ht.Node();
- Node62.setPosition(1619*ratio.ratioX, 131*ratio.ratioY);
- Node62.setSize(9*ratioX, 60*ratioY);
- Node62.setImage('imgimage//page_list_box_left_pink.jpg');
- Node62.setRotation(0*Math.PI/180);
- Node62._zoomBy = 'Default';
- Node62._nodeType = 'image';
- Node62._disallowEvert = true;
- dataModel.add(Node62);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63type = 'rect';
- var Node63 = new ht.Node(),
- Node63BorderWidth = 1*2;
- if (Node63type === 'arc') {
- Node63BorderWidth *= 1;
- }
- Node63.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node63.setPosition(1688*ratio.ratioX, 131*ratio.ratioY);
- Node63.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node63.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node63.a('node.width', 127*_ratio.ratioX);
- Node63.a('node.height', 60.81538*_ratio.ratioY);
- Node63.a('node.type', Node63type);
- Node63.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node63.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node63.a('node.gradientcolor', '');
- Node63.a('node.gradient', '');
- Node63.a('node.borderwidth', Node63BorderWidth);
- Node63.a('node.color', 'rgba(128,128,128,1)');
- Node63.a('node.fillrect', [0,0,0,0]);
- Node63.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradient', '');
- if (Node63type !== 'rect') {
- Node63.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node63.a('node.arcTo', parseFloat('@arcTo@'));
- Node63.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node63type === 'arc') {
- Node63.a('node.arcOval', true);
- }
- Node63.setRotation(0*Math.PI/180);
- Node63.borderWidth = Node63BorderWidth;
- Node63.borderFillwidth = Node63BorderWidth;
- dataModel.add(Node63);
- Node63._nodename = 'Node63'
- Node63._nodeType = 'rect';
- zoomNodeList.push({
- node: Node63,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node63, Node63.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64 = new ht.Node();
- var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 47*_ratio.ratioX, Node64height = 38*_ratio.ratioY;
- (function () {
- if (Node64align === 'left') {
- Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
- Node64textWidth = Node64width;
- Node64lineStart = 1;
- } else if (Node64align === 'right') {
- Node64textStart = 0;
- Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
- Node64lineStart = (Node64width - (ht.Default.getTextSize('限电', 'bold '+ Node64fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node64align === 'center') {
- Node64textStart = -3;
- Node64textWidth = Node64width;
- Node64lineStart = Node64width - ht.Default.getTextSize('限电', 'bold '+ Node64fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, 'bold '+ Node64fontSize + 'px "Arial"'))
- Node64.setPosition(1650*ratio.ratioX, 114*ratio.ratioY);
- Node64.setWidth(Node64width);
- Node64.setHeight(Node64height);
- Node64._nodeType = 'text';
- Node64._disallowEvert = true;
- Node64.setRotation(0*Math.PI/180);
- Node64.a('node.width', Node64width);
- Node64.a('node.height', Node64height);
- Node64.a('node.rect', [0, 0, Node64width, Node64height]);
- Node64.a('node.bordercolor','rgba(0,0,0,1)');
- Node64.a('node.borderwidth', 0);
- Node64.a('node.background','' || 'rgba(0,0,0,0)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','');
- Node64.a('node.text','限电');
- Node64.a('node.textalign','left');
- Node64.a('node.textvAlign','middle');
- Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
- Node64.a('node.color','rgba(0,0,0,1)');
- Node64.a('node.font','bold '+ Node64fontSize + 'px "Arial"');
- Node64.a('node.textvisible',true);
- Node64.a('node.linefeed',false);
- if (false) {
- Node64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node64.a('node.text') || '限电';
- var color=Node64.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node64fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node64.a('node.underlinepoints',[Node64lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node64fontSize + 'px "Arial"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
- Node64.a('node.underlinevisible',false);
- Node64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node64);
- zoomNodeList.push({
- node: Node64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 15.99996*_ratio.ratioY,Node65width = 29*_ratio.ratioX, Node65height = 25*_ratio.ratioY;
- (function () {
- if (Node65align === 'left') {
- Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
- Node65textWidth = Node65width;
- Node65lineStart = 1;
- } else if (Node65align === 'right') {
- Node65textStart = 0;
- Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
- Node65lineStart = (Node65width - (ht.Default.getTextSize('0', ' '+ Node65fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node65align === 'center') {
- Node65textStart = -3;
- Node65textWidth = Node65width;
- Node65lineStart = Node65width - ht.Default.getTextSize('0', ' '+ Node65fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "Arial"'))
- Node65.setPosition(1651*ratio.ratioX, 146*ratio.ratioY);
- Node65.setWidth(Node65width);
- Node65.setHeight(Node65height);
- Node65._nodeType = 'text';
- Node65._disallowEvert = true;
- Node65.setRotation(0*Math.PI/180);
- Node65.a('node.width', Node65width);
- Node65.a('node.height', Node65height);
- Node65.a('node.rect', [0, 0, Node65width, Node65height]);
- Node65.a('node.bordercolor','rgba(0,0,0,1)');
- Node65.a('node.borderwidth', 0);
- Node65.a('node.background','' || 'rgba(0,0,0,0)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','');
- Node65.a('node.text','0');
- Node65.a('node.textalign','left');
- Node65.a('node.textvAlign','middle');
- Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]);
- Node65.a('node.color','rgba(0,0,0,1)');
- Node65.a('node.font',' '+ Node65fontSize + 'px "Arial"');
- Node65.a('node.textvisible',true);
- Node65.a('node.linefeed',false);
- if (false) {
- Node65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node65.a('node.text') || '0';
- var color=Node65.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node65width,Node65height,15.99996*_ratio.ratioY,"left",color,' '+ Node65fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node65.a('node.underlinepoints',[Node65lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node65fontSize + 'px "Arial"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]);
- Node65.a('node.underlinevisible',false);
- Node65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node65);
- zoomNodeList.push({
- node: Node65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66type = 'rect';
- var Node66 = new ht.Node(),
- Node66BorderWidth = 1*2;
- if (Node66type === 'arc') {
- Node66BorderWidth *= 1;
- }
- Node66.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node66.setPosition(252*ratio.ratioX, 100*ratio.ratioY);
- Node66.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node66.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node66.a('node.width', 121*_ratio.ratioX);
- Node66.a('node.height', 24.33138*_ratio.ratioY);
- Node66.a('node.type', Node66type);
- Node66.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node66.a('node.background', 'rgba(240,240,240,1)');
- Node66.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node66.a('node.gradient', '');
- Node66.a('node.borderwidth', Node66BorderWidth);
- Node66.a('node.color', 'rgba(224,224,224,1)');
- Node66.a('node.fillrect', [0,0,0,0]);
- Node66.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node66.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node66.a('node.fillgradient', '');
- if (Node66type !== 'rect') {
- Node66.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node66.a('node.arcTo', parseFloat('@arcTo@'));
- Node66.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node66type === 'arc') {
- Node66.a('node.arcOval', true);
- }
- Node66.setRotation(0*Math.PI/180);
- Node66.borderWidth = Node66BorderWidth;
- Node66.borderFillwidth = Node66BorderWidth;
- dataModel.add(Node66);
- Node66._nodename = 'Node66'
- Node66._nodeType = 'rect';
- zoomNodeList.push({
- node: Node66,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node66, Node66.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67type = 'rect';
- var Node67 = new ht.Node(),
- Node67BorderWidth = 1*2;
- if (Node67type === 'arc') {
- Node67BorderWidth *= 1;
- }
- Node67.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node67.setPosition(252*ratio.ratioX, 76*ratio.ratioY);
- Node67.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node67.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node67.a('node.width', 121*_ratio.ratioX);
- Node67.a('node.height', 24.33138*_ratio.ratioY);
- Node67.a('node.type', Node67type);
- Node67.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node67.a('node.background', 'rgba(240,240,240,1)');
- Node67.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node67.a('node.gradient', '');
- Node67.a('node.borderwidth', Node67BorderWidth);
- Node67.a('node.color', 'rgba(224,224,224,1)');
- Node67.a('node.fillrect', [0,0,0,0]);
- Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradient', '');
- if (Node67type !== 'rect') {
- Node67.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node67.a('node.arcTo', parseFloat('@arcTo@'));
- Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node67type === 'arc') {
- Node67.a('node.arcOval', true);
- }
- Node67.setRotation(0*Math.PI/180);
- Node67.borderWidth = Node67BorderWidth;
- Node67.borderFillwidth = Node67BorderWidth;
- dataModel.add(Node67);
- Node67._nodename = 'Node67'
- Node67._nodeType = 'rect';
- zoomNodeList.push({
- node: Node67,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node67, Node67.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68type = 'rect';
- var Node68 = new ht.Node(),
- Node68BorderWidth = 1*2;
- if (Node68type === 'arc') {
- Node68BorderWidth *= 1;
- }
- Node68.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node68type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node68.setPosition(252*ratio.ratioX, 125*ratio.ratioY);
- Node68.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node68.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node68.a('node.width', 121*_ratio.ratioX);
- Node68.a('node.height', 24.33136*_ratio.ratioY);
- Node68.a('node.type', Node68type);
- Node68.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node68.a('node.background', 'rgba(240,240,240,1)');
- Node68.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node68.a('node.gradient', '');
- Node68.a('node.borderwidth', Node68BorderWidth);
- Node68.a('node.color', 'rgba(224,224,224,1)');
- Node68.a('node.fillrect', [0,0,0,0]);
- Node68.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradient', '');
- if (Node68type !== 'rect') {
- Node68.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node68.a('node.arcTo', parseFloat('@arcTo@'));
- Node68.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node68type === 'arc') {
- Node68.a('node.arcOval', true);
- }
- Node68.setRotation(0*Math.PI/180);
- Node68.borderWidth = Node68BorderWidth;
- Node68.borderFillwidth = Node68BorderWidth;
- dataModel.add(Node68);
- Node68._nodename = 'Node68'
- Node68._nodeType = 'rect';
- zoomNodeList.push({
- node: Node68,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node68, Node68.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69type = 'rect';
- var Node69 = new ht.Node(),
- Node69BorderWidth = 1*2;
- if (Node69type === 'arc') {
- Node69BorderWidth *= 1;
- }
- Node69.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node69.setPosition(252*ratio.ratioX, 52*ratio.ratioY);
- Node69.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node69.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node69.a('node.width', 121*_ratio.ratioX);
- Node69.a('node.height', 24.33136*_ratio.ratioY);
- Node69.a('node.type', Node69type);
- Node69.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node69.a('node.background', 'rgba(240,240,240,1)');
- Node69.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node69.a('node.gradient', '');
- Node69.a('node.borderwidth', Node69BorderWidth);
- Node69.a('node.color', 'rgba(224,224,224,1)');
- Node69.a('node.fillrect', [0,0,0,0]);
- Node69.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradient', '');
- if (Node69type !== 'rect') {
- Node69.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node69.a('node.arcTo', parseFloat('@arcTo@'));
- Node69.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node69type === 'arc') {
- Node69.a('node.arcOval', true);
- }
- Node69.setRotation(0*Math.PI/180);
- Node69.borderWidth = Node69BorderWidth;
- Node69.borderFillwidth = Node69BorderWidth;
- dataModel.add(Node69);
- Node69._nodename = 'Node69'
- Node69._nodeType = 'rect';
- zoomNodeList.push({
- node: Node69,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node69, Node69.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70type = 'rect';
- var Node70 = new ht.Node(),
- Node70BorderWidth = 1*2;
- if (Node70type === 'arc') {
- Node70BorderWidth *= 1;
- }
- Node70.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node70.setPosition(252*ratio.ratioX, 149*ratio.ratioY);
- Node70.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node70.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node70.a('node.width', 121*_ratio.ratioX);
- Node70.a('node.height', 24.33138*_ratio.ratioY);
- Node70.a('node.type', Node70type);
- Node70.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node70.a('node.background', 'rgba(240,240,240,1)');
- Node70.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node70.a('node.gradient', '');
- Node70.a('node.borderwidth', Node70BorderWidth);
- Node70.a('node.color', 'rgba(224,224,224,1)');
- Node70.a('node.fillrect', [0,0,0,0]);
- Node70.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradient', '');
- if (Node70type !== 'rect') {
- Node70.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node70.a('node.arcTo', parseFloat('@arcTo@'));
- Node70.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node70type === 'arc') {
- Node70.a('node.arcOval', true);
- }
- Node70.setRotation(0*Math.PI/180);
- Node70.borderWidth = Node70BorderWidth;
- Node70.borderFillwidth = Node70BorderWidth;
- dataModel.add(Node70);
- Node70._nodename = 'Node70'
- Node70._nodeType = 'rect';
- zoomNodeList.push({
- node: Node70,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node70, Node70.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 61*_ratio.ratioX, Node71height = 26*_ratio.ratioY;
- (function () {
- if (Node71align === 'left') {
- Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
- Node71textWidth = Node71width;
- Node71lineStart = 1;
- } else if (Node71align === 'right') {
- Node71textStart = 0;
- Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
- Node71lineStart = (Node71width - (ht.Default.getTextSize('功率', ' '+ Node71fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('功率', ' '+ Node71fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "微软雅黑"'))
- Node71.setPosition(226*ratio.ratioX, 78*ratio.ratioY);
- Node71.setWidth(Node71width);
- Node71.setHeight(Node71height);
- Node71._nodeType = 'text';
- Node71._disallowEvert = true;
- Node71.setRotation(0*Math.PI/180);
- Node71.a('node.width', Node71width);
- Node71.a('node.height', Node71height);
- Node71.a('node.rect', [0, 0, Node71width, Node71height]);
- Node71.a('node.bordercolor','rgba(0,0,0,1)');
- Node71.a('node.borderwidth', 0);
- Node71.a('node.background','' || 'rgba(0,0,0,0)');
- Node71.a('node.gradient','');
- Node71.a('node.gradientcolor','');
- Node71.a('node.text','功率');
- Node71.a('node.textalign','left');
- Node71.a('node.textvAlign','middle');
- Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
- Node71.a('node.color','rgba(0,0,0,1)');
- Node71.a('node.font',' '+ Node71fontSize + 'px "微软雅黑"');
- Node71.a('node.textvisible',true);
- Node71.a('node.linefeed',false);
- if (false) {
- Node71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node71.a('node.text') || '功率';
- var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node71fontSize + 'px "微软雅黑"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
- Node71.a('node.underlinevisible',false);
- Node71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node71);
- zoomNodeList.push({
- node: Node71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72 = new ht.Node();
- var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 61*_ratio.ratioX, Node72height = 26*_ratio.ratioY;
- (function () {
- if (Node72align === 'left') {
- Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9;
- Node72textWidth = Node72width;
- Node72lineStart = 1;
- } else if (Node72align === 'right') {
- Node72textStart = 0;
- Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2;
- Node72lineStart = (Node72width - (ht.Default.getTextSize('风速', ' '+ Node72fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node72align === 'center') {
- Node72textStart = -3;
- Node72textWidth = Node72width;
- Node72lineStart = Node72width - ht.Default.getTextSize('风速', ' '+ Node72fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "微软雅黑"'))
- Node72.setPosition(226*ratio.ratioX, 102*ratio.ratioY);
- Node72.setWidth(Node72width);
- Node72.setHeight(Node72height);
- Node72._nodeType = 'text';
- Node72._disallowEvert = true;
- Node72.setRotation(0*Math.PI/180);
- Node72.a('node.width', Node72width);
- Node72.a('node.height', Node72height);
- Node72.a('node.rect', [0, 0, Node72width, Node72height]);
- Node72.a('node.bordercolor','rgba(0,0,0,1)');
- Node72.a('node.borderwidth', 0);
- Node72.a('node.background','' || 'rgba(0,0,0,0)');
- Node72.a('node.gradient','');
- Node72.a('node.gradientcolor','');
- Node72.a('node.text','风速');
- Node72.a('node.textalign','left');
- Node72.a('node.textvAlign','middle');
- Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
- Node72.a('node.color','rgba(0,0,0,1)');
- Node72.a('node.font',' '+ Node72fontSize + 'px "微软雅黑"');
- Node72.a('node.textvisible',true);
- Node72.a('node.linefeed',false);
- if (false) {
- Node72.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node72.a('node.text') || '风速';
- var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node72fontSize + 'px "微软雅黑"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
- Node72.a('node.underlinevisible',false);
- Node72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node72);
- zoomNodeList.push({
- node: Node72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73 = new ht.Node();
- var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 77*_ratio.ratioX, Node73height = 26*_ratio.ratioY;
- (function () {
- if (Node73align === 'left') {
- Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9;
- Node73textWidth = Node73width;
- Node73lineStart = 1;
- } else if (Node73align === 'right') {
- Node73textStart = 0;
- Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2;
- Node73lineStart = (Node73width - (ht.Default.getTextSize('发电量', ' '+ Node73fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node73align === 'center') {
- Node73textStart = -3;
- Node73textWidth = Node73width;
- Node73lineStart = Node73width - ht.Default.getTextSize('发电量', ' '+ Node73fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, ' '+ Node73fontSize + 'px "微软雅黑"'))
- Node73.setPosition(232*ratio.ratioX, 127*ratio.ratioY);
- Node73.setWidth(Node73width);
- Node73.setHeight(Node73height);
- Node73._nodeType = 'text';
- Node73._disallowEvert = true;
- Node73.setRotation(0*Math.PI/180);
- Node73.a('node.width', Node73width);
- Node73.a('node.height', Node73height);
- Node73.a('node.rect', [0, 0, Node73width, Node73height]);
- Node73.a('node.bordercolor','rgba(0,0,0,1)');
- Node73.a('node.borderwidth', 0);
- Node73.a('node.background','' || 'rgba(0,0,0,0)');
- Node73.a('node.gradient','');
- Node73.a('node.gradientcolor','');
- Node73.a('node.text','发电量');
- Node73.a('node.textalign','left');
- Node73.a('node.textvAlign','middle');
- Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]);
- Node73.a('node.color','rgba(0,0,0,1)');
- Node73.a('node.font',' '+ Node73fontSize + 'px "微软雅黑"');
- Node73.a('node.textvisible',true);
- Node73.a('node.linefeed',false);
- if (false) {
- Node73.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node73.a('node.text') || '发电量';
- var color=Node73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,' '+ Node73fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node73.a('node.underlinepoints',[Node73lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node73fontSize + 'px "微软雅黑"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]);
- Node73.a('node.underlinevisible',false);
- Node73.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node73);
- zoomNodeList.push({
- node: Node73,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74type = 'rect';
- var Node74 = new ht.Node(),
- Node74BorderWidth = 1*2;
- if (Node74type === 'arc') {
- Node74BorderWidth *= 1;
- }
- Node74.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node74type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node74.setPosition(536*ratio.ratioX, 100*ratio.ratioY);
- Node74.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node74.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node74.a('node.width', 121*_ratio.ratioX);
- Node74.a('node.height', 24.33138*_ratio.ratioY);
- Node74.a('node.type', Node74type);
- Node74.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node74.a('node.background', 'rgba(240,240,240,1)');
- Node74.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node74.a('node.gradient', '');
- Node74.a('node.borderwidth', Node74BorderWidth);
- Node74.a('node.color', 'rgba(224,224,224,1)');
- Node74.a('node.fillrect', [0,0,0,0]);
- Node74.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradient', '');
- if (Node74type !== 'rect') {
- Node74.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node74.a('node.arcTo', parseFloat('@arcTo@'));
- Node74.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node74type === 'arc') {
- Node74.a('node.arcOval', true);
- }
- Node74.setRotation(0*Math.PI/180);
- Node74.borderWidth = Node74BorderWidth;
- Node74.borderFillwidth = Node74BorderWidth;
- dataModel.add(Node74);
- Node74._nodename = 'Node74'
- Node74._nodeType = 'rect';
- zoomNodeList.push({
- node: Node74,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node74, Node74.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75type = 'rect';
- var Node75 = new ht.Node(),
- Node75BorderWidth = 1*2;
- if (Node75type === 'arc') {
- Node75BorderWidth *= 1;
- }
- Node75.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node75type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node75.setPosition(536*ratio.ratioX, 76*ratio.ratioY);
- Node75.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node75.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node75.a('node.width', 121*_ratio.ratioX);
- Node75.a('node.height', 24.33138*_ratio.ratioY);
- Node75.a('node.type', Node75type);
- Node75.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node75.a('node.background', 'rgba(240,240,240,1)');
- Node75.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node75.a('node.gradient', '');
- Node75.a('node.borderwidth', Node75BorderWidth);
- Node75.a('node.color', 'rgba(224,224,224,1)');
- Node75.a('node.fillrect', [0,0,0,0]);
- Node75.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradient', '');
- if (Node75type !== 'rect') {
- Node75.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node75.a('node.arcTo', parseFloat('@arcTo@'));
- Node75.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node75type === 'arc') {
- Node75.a('node.arcOval', true);
- }
- Node75.setRotation(0*Math.PI/180);
- Node75.borderWidth = Node75BorderWidth;
- Node75.borderFillwidth = Node75BorderWidth;
- dataModel.add(Node75);
- Node75._nodename = 'Node75'
- Node75._nodeType = 'rect';
- zoomNodeList.push({
- node: Node75,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node75, Node75.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76type = 'rect';
- var Node76 = new ht.Node(),
- Node76BorderWidth = 1*2;
- if (Node76type === 'arc') {
- Node76BorderWidth *= 1;
- }
- Node76.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node76type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node76.setPosition(536*ratio.ratioX, 125*ratio.ratioY);
- Node76.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node76.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node76.a('node.width', 121*_ratio.ratioX);
- Node76.a('node.height', 24.33136*_ratio.ratioY);
- Node76.a('node.type', Node76type);
- Node76.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node76.a('node.background', 'rgba(240,240,240,1)');
- Node76.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node76.a('node.gradient', '');
- Node76.a('node.borderwidth', Node76BorderWidth);
- Node76.a('node.color', 'rgba(224,224,224,1)');
- Node76.a('node.fillrect', [0,0,0,0]);
- Node76.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradient', '');
- if (Node76type !== 'rect') {
- Node76.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node76.a('node.arcTo', parseFloat('@arcTo@'));
- Node76.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node76type === 'arc') {
- Node76.a('node.arcOval', true);
- }
- Node76.setRotation(0*Math.PI/180);
- Node76.borderWidth = Node76BorderWidth;
- Node76.borderFillwidth = Node76BorderWidth;
- dataModel.add(Node76);
- Node76._nodename = 'Node76'
- Node76._nodeType = 'rect';
- zoomNodeList.push({
- node: Node76,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node76, Node76.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77type = 'rect';
- var Node77 = new ht.Node(),
- Node77BorderWidth = 1*2;
- if (Node77type === 'arc') {
- Node77BorderWidth *= 1;
- }
- Node77.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node77type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node77.setPosition(536*ratio.ratioX, 52*ratio.ratioY);
- Node77.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node77.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node77.a('node.width', 121*_ratio.ratioX);
- Node77.a('node.height', 24.33136*_ratio.ratioY);
- Node77.a('node.type', Node77type);
- Node77.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node77.a('node.background', 'rgba(240,240,240,1)');
- Node77.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node77.a('node.gradient', '');
- Node77.a('node.borderwidth', Node77BorderWidth);
- Node77.a('node.color', 'rgba(224,224,224,1)');
- Node77.a('node.fillrect', [0,0,0,0]);
- Node77.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node77.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node77.a('node.fillgradient', '');
- if (Node77type !== 'rect') {
- Node77.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node77.a('node.arcTo', parseFloat('@arcTo@'));
- Node77.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node77type === 'arc') {
- Node77.a('node.arcOval', true);
- }
- Node77.setRotation(0*Math.PI/180);
- Node77.borderWidth = Node77BorderWidth;
- Node77.borderFillwidth = Node77BorderWidth;
- dataModel.add(Node77);
- Node77._nodename = 'Node77'
- Node77._nodeType = 'rect';
- zoomNodeList.push({
- node: Node77,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node77, Node77.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node78type = 'rect';
- var Node78 = new ht.Node(),
- Node78BorderWidth = 1*2;
- if (Node78type === 'arc') {
- Node78BorderWidth *= 1;
- }
- Node78.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node78.setPosition(536*ratio.ratioX, 149*ratio.ratioY);
- Node78.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node78.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node78.a('node.width', 121*_ratio.ratioX);
- Node78.a('node.height', 24.33138*_ratio.ratioY);
- Node78.a('node.type', Node78type);
- Node78.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node78.a('node.background', 'rgba(240,240,240,1)');
- Node78.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node78.a('node.gradient', '');
- Node78.a('node.borderwidth', Node78BorderWidth);
- Node78.a('node.color', 'rgba(224,224,224,1)');
- Node78.a('node.fillrect', [0,0,0,0]);
- Node78.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node78.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node78.a('node.fillgradient', '');
- if (Node78type !== 'rect') {
- Node78.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node78.a('node.arcTo', parseFloat('@arcTo@'));
- Node78.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node78type === 'arc') {
- Node78.a('node.arcOval', true);
- }
- Node78.setRotation(0*Math.PI/180);
- Node78.borderWidth = Node78BorderWidth;
- Node78.borderFillwidth = Node78BorderWidth;
- dataModel.add(Node78);
- Node78._nodename = 'Node78'
- Node78._nodeType = 'rect';
- zoomNodeList.push({
- node: Node78,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node78, Node78.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79 = new ht.Node();
- var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'center', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 113*_ratio.ratioX, Node79height = 26*_ratio.ratioY;
- (function () {
- if (Node79align === 'left') {
- Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9;
- Node79textWidth = Node79width;
- Node79lineStart = 1;
- } else if (Node79align === 'right') {
- Node79textStart = 0;
- Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2;
- Node79lineStart = (Node79width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('日维护损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "微软雅黑"'))
- Node79.setPosition(536*ratio.ratioX, 54*ratio.ratioY);
- Node79.setWidth(Node79width);
- Node79.setHeight(Node79height);
- Node79._nodeType = 'text';
- Node79._disallowEvert = true;
- Node79.setRotation(0*Math.PI/180);
- Node79.a('node.width', Node79width);
- Node79.a('node.height', Node79height);
- Node79.a('node.rect', [0, 0, Node79width, Node79height]);
- Node79.a('node.bordercolor','rgba(0,0,0,1)');
- Node79.a('node.borderwidth', 0);
- Node79.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node79.a('node.gradient','');
- Node79.a('node.gradientcolor','rgba(255,255,255,0)');
- Node79.a('node.text','日维护损失电量');
- Node79.a('node.textalign','center');
- Node79.a('node.textvAlign','middle');
- Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
- Node79.a('node.color','rgba(0,0,0,1)');
- Node79.a('node.font',' '+ Node79fontSize + 'px "微软雅黑"');
- Node79.a('node.textvisible',true);
- Node79.a('node.linefeed',false);
- if (false) {
- Node79.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node79.a('node.text') || '日维护损失电量';
- var color=Node79.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"center",color,' '+ Node79fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]);
- Node79.a('node.underlinevisible',false);
- Node79.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node79);
- zoomNodeList.push({
- node: Node79,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80 = new ht.Node();
- var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'center', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 113*_ratio.ratioX, Node80height = 26*_ratio.ratioY;
- (function () {
- if (Node80align === 'left') {
- Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
- Node80textWidth = Node80width;
- Node80lineStart = 1;
- } else if (Node80align === 'right') {
- Node80textStart = 0;
- Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
- Node80lineStart = (Node80width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('日故障损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "微软雅黑"'))
- Node80.setPosition(537*ratio.ratioX, 78*ratio.ratioY);
- Node80.setWidth(Node80width);
- Node80.setHeight(Node80height);
- Node80._nodeType = 'text';
- Node80._disallowEvert = true;
- Node80.setRotation(0*Math.PI/180);
- Node80.a('node.width', Node80width);
- Node80.a('node.height', Node80height);
- Node80.a('node.rect', [0, 0, Node80width, Node80height]);
- Node80.a('node.bordercolor','rgba(0,0,0,1)');
- Node80.a('node.borderwidth', 0);
- Node80.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','rgba(255,255,255,0)');
- Node80.a('node.text','日故障损失电量');
- Node80.a('node.textalign','center');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(0,0,0,1)');
- Node80.a('node.font',' '+ Node80fontSize + 'px "微软雅黑"');
- Node80.a('node.textvisible',true);
- Node80.a('node.linefeed',false);
- if (false) {
- Node80.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node80.a('node.text') || '日故障损失电量';
- var color=Node80.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"center",color,' '+ Node80fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
- Node80.a('node.underlinevisible',false);
- Node80.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node80);
- zoomNodeList.push({
- node: Node80,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81 = new ht.Node();
- var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'center', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 113*_ratio.ratioX, Node81height = 26*_ratio.ratioY;
- (function () {
- if (Node81align === 'left') {
- Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
- Node81textWidth = Node81width;
- Node81lineStart = 1;
- } else if (Node81align === 'right') {
- Node81textStart = 0;
- Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
- Node81lineStart = (Node81width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node81align === 'center') {
- Node81textStart = -3;
- Node81textWidth = Node81width;
- Node81lineStart = Node81width - ht.Default.getTextSize('日限电损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "微软雅黑"'))
- Node81.setPosition(537*ratio.ratioX, 103*ratio.ratioY);
- Node81.setWidth(Node81width);
- Node81.setHeight(Node81height);
- Node81._nodeType = 'text';
- Node81._disallowEvert = true;
- Node81.setRotation(0*Math.PI/180);
- Node81.a('node.width', Node81width);
- Node81.a('node.height', Node81height);
- Node81.a('node.rect', [0, 0, Node81width, Node81height]);
- Node81.a('node.bordercolor','rgba(0,0,0,1)');
- Node81.a('node.borderwidth', 0);
- Node81.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','rgba(255,255,255,0)');
- Node81.a('node.text','日限电损失电量');
- Node81.a('node.textalign','center');
- Node81.a('node.textvAlign','middle');
- Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
- Node81.a('node.color','rgba(0,0,0,1)');
- Node81.a('node.font',' '+ Node81fontSize + 'px "微软雅黑"');
- Node81.a('node.textvisible',true);
- Node81.a('node.linefeed',false);
- if (false) {
- Node81.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node81.a('node.text') || '日限电损失电量';
- var color=Node81.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"center",color,' '+ Node81fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node81.a('node.underlinepoints',[Node81lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]);
- Node81.a('node.underlinevisible',false);
- Node81.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node81);
- zoomNodeList.push({
- node: Node81,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82 = new ht.Node();
- var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'center', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 113*_ratio.ratioX, Node82height = 26*_ratio.ratioY;
- (function () {
- if (Node82align === 'left') {
- Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
- Node82textWidth = Node82width;
- Node82lineStart = 1;
- } else if (Node82align === 'right') {
- Node82textStart = 0;
- Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
- Node82lineStart = (Node82width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node82align === 'center') {
- Node82textStart = -3;
- Node82textWidth = Node82width;
- Node82lineStart = Node82width - ht.Default.getTextSize('日受累损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "微软雅黑"'))
- Node82.setPosition(537*ratio.ratioX, 127*ratio.ratioY);
- Node82.setWidth(Node82width);
- Node82.setHeight(Node82height);
- Node82._nodeType = 'text';
- Node82._disallowEvert = true;
- Node82.setRotation(0*Math.PI/180);
- Node82.a('node.width', Node82width);
- Node82.a('node.height', Node82height);
- Node82.a('node.rect', [0, 0, Node82width, Node82height]);
- Node82.a('node.bordercolor','rgba(0,0,0,1)');
- Node82.a('node.borderwidth', 0);
- Node82.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','rgba(255,255,255,0)');
- Node82.a('node.text','日受累损失电量');
- Node82.a('node.textalign','center');
- Node82.a('node.textvAlign','middle');
- Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
- Node82.a('node.color','rgba(0,0,0,1)');
- Node82.a('node.font',' '+ Node82fontSize + 'px "微软雅黑"');
- Node82.a('node.textvisible',true);
- Node82.a('node.linefeed',false);
- if (false) {
- Node82.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node82.a('node.text') || '日受累损失电量';
- var color=Node82.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"center",color,' '+ Node82fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node82.a('node.underlinepoints',[Node82lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
- Node82.a('node.underlinevisible',false);
- Node82.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node82);
- zoomNodeList.push({
- node: Node82,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83type = 'rect';
- var Node83 = new ht.Node(),
- Node83BorderWidth = 1*2;
- if (Node83type === 'arc') {
- Node83BorderWidth *= 1;
- }
- Node83.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node83.setPosition(817*ratio.ratioX, 100*ratio.ratioY);
- Node83.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node83.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node83.a('node.width', 117*_ratio.ratioX);
- Node83.a('node.height', 24.33138*_ratio.ratioY);
- Node83.a('node.type', Node83type);
- Node83.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node83.a('node.background', 'rgba(240,240,240,1)');
- Node83.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node83.a('node.gradient', '');
- Node83.a('node.borderwidth', Node83BorderWidth);
- Node83.a('node.color', 'rgba(224,224,224,1)');
- Node83.a('node.fillrect', [0,0,0,0]);
- Node83.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradient', '');
- if (Node83type !== 'rect') {
- Node83.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node83.a('node.arcTo', parseFloat('@arcTo@'));
- Node83.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node83type === 'arc') {
- Node83.a('node.arcOval', true);
- }
- Node83.setRotation(0*Math.PI/180);
- Node83.borderWidth = Node83BorderWidth;
- Node83.borderFillwidth = Node83BorderWidth;
- dataModel.add(Node83);
- Node83._nodename = 'Node83'
- Node83._nodeType = 'rect';
- zoomNodeList.push({
- node: Node83,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node83, Node83.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84type = 'rect';
- var Node84 = new ht.Node(),
- Node84BorderWidth = 1*2;
- if (Node84type === 'arc') {
- Node84BorderWidth *= 1;
- }
- Node84.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node84type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node84.setPosition(817*ratio.ratioX, 76*ratio.ratioY);
- Node84.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node84.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node84.a('node.width', 117*_ratio.ratioX);
- Node84.a('node.height', 24.33138*_ratio.ratioY);
- Node84.a('node.type', Node84type);
- Node84.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node84.a('node.background', 'rgba(240,240,240,1)');
- Node84.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node84.a('node.gradient', '');
- Node84.a('node.borderwidth', Node84BorderWidth);
- Node84.a('node.color', 'rgba(224,224,224,1)');
- Node84.a('node.fillrect', [0,0,0,0]);
- Node84.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradient', '');
- if (Node84type !== 'rect') {
- Node84.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node84.a('node.arcTo', parseFloat('@arcTo@'));
- Node84.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node84type === 'arc') {
- Node84.a('node.arcOval', true);
- }
- Node84.setRotation(0*Math.PI/180);
- Node84.borderWidth = Node84BorderWidth;
- Node84.borderFillwidth = Node84BorderWidth;
- dataModel.add(Node84);
- Node84._nodename = 'Node84'
- Node84._nodeType = 'rect';
- zoomNodeList.push({
- node: Node84,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node84, Node84.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85type = 'rect';
- var Node85 = new ht.Node(),
- Node85BorderWidth = 1*2;
- if (Node85type === 'arc') {
- Node85BorderWidth *= 1;
- }
- Node85.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node85type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node85.setPosition(817*ratio.ratioX, 125*ratio.ratioY);
- Node85.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node85.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node85.a('node.width', 117*_ratio.ratioX);
- Node85.a('node.height', 24.33136*_ratio.ratioY);
- Node85.a('node.type', Node85type);
- Node85.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node85.a('node.background', 'rgba(240,240,240,1)');
- Node85.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node85.a('node.gradient', '');
- Node85.a('node.borderwidth', Node85BorderWidth);
- Node85.a('node.color', 'rgba(224,224,224,1)');
- Node85.a('node.fillrect', [0,0,0,0]);
- Node85.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradient', '');
- if (Node85type !== 'rect') {
- Node85.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node85.a('node.arcTo', parseFloat('@arcTo@'));
- Node85.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node85type === 'arc') {
- Node85.a('node.arcOval', true);
- }
- Node85.setRotation(0*Math.PI/180);
- Node85.borderWidth = Node85BorderWidth;
- Node85.borderFillwidth = Node85BorderWidth;
- dataModel.add(Node85);
- Node85._nodename = 'Node85'
- Node85._nodeType = 'rect';
- zoomNodeList.push({
- node: Node85,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node85, Node85.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86type = 'rect';
- var Node86 = new ht.Node(),
- Node86BorderWidth = 1*2;
- if (Node86type === 'arc') {
- Node86BorderWidth *= 1;
- }
- Node86.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node86type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node86.setPosition(817*ratio.ratioX, 52*ratio.ratioY);
- Node86.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node86.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node86.a('node.width', 117*_ratio.ratioX);
- Node86.a('node.height', 24.33136*_ratio.ratioY);
- Node86.a('node.type', Node86type);
- Node86.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node86.a('node.background', 'rgba(240,240,240,1)');
- Node86.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node86.a('node.gradient', '');
- Node86.a('node.borderwidth', Node86BorderWidth);
- Node86.a('node.color', 'rgba(224,224,224,1)');
- Node86.a('node.fillrect', [0,0,0,0]);
- Node86.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradient', '');
- if (Node86type !== 'rect') {
- Node86.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node86.a('node.arcTo', parseFloat('@arcTo@'));
- Node86.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node86type === 'arc') {
- Node86.a('node.arcOval', true);
- }
- Node86.setRotation(0*Math.PI/180);
- Node86.borderWidth = Node86BorderWidth;
- Node86.borderFillwidth = Node86BorderWidth;
- dataModel.add(Node86);
- Node86._nodename = 'Node86'
- Node86._nodeType = 'rect';
- zoomNodeList.push({
- node: Node86,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node86, Node86.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87type = 'rect';
- var Node87 = new ht.Node(),
- Node87BorderWidth = 1*2;
- if (Node87type === 'arc') {
- Node87BorderWidth *= 1;
- }
- Node87.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node87.setPosition(817*ratio.ratioX, 149*ratio.ratioY);
- Node87.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node87.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node87.a('node.width', 117*_ratio.ratioX);
- Node87.a('node.height', 24.33138*_ratio.ratioY);
- Node87.a('node.type', Node87type);
- Node87.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node87.a('node.background', 'rgba(240,240,240,1)');
- Node87.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node87.a('node.gradient', '');
- Node87.a('node.borderwidth', Node87BorderWidth);
- Node87.a('node.color', 'rgba(224,224,224,1)');
- Node87.a('node.fillrect', [0,0,0,0]);
- Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradient', '');
- if (Node87type !== 'rect') {
- Node87.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node87.a('node.arcTo', parseFloat('@arcTo@'));
- Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node87type === 'arc') {
- Node87.a('node.arcOval', true);
- }
- Node87.setRotation(0*Math.PI/180);
- Node87.borderWidth = Node87BorderWidth;
- Node87.borderFillwidth = Node87BorderWidth;
- dataModel.add(Node87);
- Node87._nodename = 'Node87'
- Node87._nodeType = 'rect';
- zoomNodeList.push({
- node: Node87,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node87, Node87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'center', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 110*_ratio.ratioX, Node88height = 26*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('月维护损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "微软雅黑"'))
- Node88.setPosition(817*ratio.ratioX, 54*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(0,0,0,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','月维护损失电量');
- Node88.a('node.textalign','center');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(0,0,0,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "微软雅黑"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || '月维护损失电量';
- var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"center",color,' '+ Node88fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.Node();
- var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'center', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 110*_ratio.ratioX, Node89height = 26*_ratio.ratioY;
- (function () {
- if (Node89align === 'left') {
- Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
- Node89textWidth = Node89width;
- Node89lineStart = 1;
- } else if (Node89align === 'right') {
- Node89textStart = 0;
- Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
- Node89lineStart = (Node89width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node89align === 'center') {
- Node89textStart = -3;
- Node89textWidth = Node89width;
- Node89lineStart = Node89width - ht.Default.getTextSize('月故障损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "微软雅黑"'))
- Node89.setPosition(817*ratio.ratioX, 78*ratio.ratioY);
- Node89.setWidth(Node89width);
- Node89.setHeight(Node89height);
- Node89._nodeType = 'text';
- Node89._disallowEvert = true;
- Node89.setRotation(0*Math.PI/180);
- Node89.a('node.width', Node89width);
- Node89.a('node.height', Node89height);
- Node89.a('node.rect', [0, 0, Node89width, Node89height]);
- Node89.a('node.bordercolor','rgba(0,0,0,1)');
- Node89.a('node.borderwidth', 0);
- Node89.a('node.background','' || 'rgba(0,0,0,0)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','');
- Node89.a('node.text','月故障损失电量');
- Node89.a('node.textalign','center');
- Node89.a('node.textvAlign','middle');
- Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
- Node89.a('node.color','rgba(0,0,0,1)');
- Node89.a('node.font',' '+ Node89fontSize + 'px "微软雅黑"');
- Node89.a('node.textvisible',true);
- Node89.a('node.linefeed',false);
- if (false) {
- Node89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node89.a('node.text') || '月故障损失电量';
- var color=Node89.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"center",color,' '+ Node89fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node89.a('node.underlinepoints',[Node89lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
- Node89.a('node.underlinevisible',false);
- Node89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node89);
- zoomNodeList.push({
- node: Node89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'center', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 110*_ratio.ratioX, Node90height = 26*_ratio.ratioY;
- (function () {
- if (Node90align === 'left') {
- Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
- Node90textWidth = Node90width;
- Node90lineStart = 1;
- } else if (Node90align === 'right') {
- Node90textStart = 0;
- Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
- Node90lineStart = (Node90width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('月限电损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "微软雅黑"'))
- Node90.setPosition(817*ratio.ratioX, 103*ratio.ratioY);
- Node90.setWidth(Node90width);
- Node90.setHeight(Node90height);
- Node90._nodeType = 'text';
- Node90._disallowEvert = true;
- Node90.setRotation(0*Math.PI/180);
- Node90.a('node.width', Node90width);
- Node90.a('node.height', Node90height);
- Node90.a('node.rect', [0, 0, Node90width, Node90height]);
- Node90.a('node.bordercolor','rgba(0,0,0,1)');
- Node90.a('node.borderwidth', 0);
- Node90.a('node.background','' || 'rgba(0,0,0,0)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','');
- Node90.a('node.text','月限电损失电量');
- Node90.a('node.textalign','center');
- Node90.a('node.textvAlign','middle');
- Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
- Node90.a('node.color','rgba(0,0,0,1)');
- Node90.a('node.font',' '+ Node90fontSize + 'px "微软雅黑"');
- Node90.a('node.textvisible',true);
- Node90.a('node.linefeed',false);
- if (false) {
- Node90.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node90.a('node.text') || '月限电损失电量';
- var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"center",color,' '+ Node90fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node90.a('node.underlinepoints',[Node90lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'center', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 26*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('月受累损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "微软雅黑"'))
- Node91.setPosition(817*ratio.ratioX, 127*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(0,0,0,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','月受累损失电量');
- Node91.a('node.textalign','center');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "微软雅黑"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || '月受累损失电量';
- var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"center",color,' '+ Node91fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92type = 'rect';
- var Node92 = new ht.Node(),
- Node92BorderWidth = 1*2;
- if (Node92type === 'arc') {
- Node92BorderWidth *= 1;
- }
- Node92.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node92.setPosition(923*ratio.ratioX, 52*ratio.ratioY);
- Node92.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node92.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node92.a('node.width', 95*_ratio.ratioX);
- Node92.a('node.height', 24.33136*_ratio.ratioY);
- Node92.a('node.type', Node92type);
- Node92.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node92.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node92.a('node.gradientcolor', '');
- Node92.a('node.gradient', '');
- Node92.a('node.borderwidth', Node92BorderWidth);
- Node92.a('node.color', 'rgba(224,224,224,1)');
- Node92.a('node.fillrect', [0,0,0,0]);
- Node92.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradient', '');
- if (Node92type !== 'rect') {
- Node92.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node92.a('node.arcTo', parseFloat('@arcTo@'));
- Node92.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node92type === 'arc') {
- Node92.a('node.arcOval', true);
- }
- Node92.setRotation(0*Math.PI/180);
- Node92.borderWidth = Node92BorderWidth;
- Node92.borderFillwidth = Node92BorderWidth;
- dataModel.add(Node92);
- Node92._nodename = 'Node92'
- Node92._nodeType = 'rect';
- zoomNodeList.push({
- node: Node92,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node92, Node92.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93type = 'rect';
- var Node93 = new ht.Node(),
- Node93BorderWidth = 1*2;
- if (Node93type === 'arc') {
- Node93BorderWidth *= 1;
- }
- Node93.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node93type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node93.setPosition(923*ratio.ratioX, 76*ratio.ratioY);
- Node93.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node93.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node93.a('node.width', 95*_ratio.ratioX);
- Node93.a('node.height', 24.33138*_ratio.ratioY);
- Node93.a('node.type', Node93type);
- Node93.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node93.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node93.a('node.gradientcolor', '');
- Node93.a('node.gradient', '');
- Node93.a('node.borderwidth', Node93BorderWidth);
- Node93.a('node.color', 'rgba(224,224,224,1)');
- Node93.a('node.fillrect', [0,0,0,0]);
- Node93.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node93.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node93.a('node.fillgradient', '');
- if (Node93type !== 'rect') {
- Node93.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node93.a('node.arcTo', parseFloat('@arcTo@'));
- Node93.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node93type === 'arc') {
- Node93.a('node.arcOval', true);
- }
- Node93.setRotation(0*Math.PI/180);
- Node93.borderWidth = Node93BorderWidth;
- Node93.borderFillwidth = Node93BorderWidth;
- dataModel.add(Node93);
- Node93._nodename = 'Node93'
- Node93._nodeType = 'rect';
- zoomNodeList.push({
- node: Node93,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node93, Node93.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94type = 'rect';
- var Node94 = new ht.Node(),
- Node94BorderWidth = 1*2;
- if (Node94type === 'arc') {
- Node94BorderWidth *= 1;
- }
- Node94.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node94.setPosition(923*ratio.ratioX, 100*ratio.ratioY);
- Node94.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node94.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node94.a('node.width', 95*_ratio.ratioX);
- Node94.a('node.height', 24.33138*_ratio.ratioY);
- Node94.a('node.type', Node94type);
- Node94.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node94.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node94.a('node.gradientcolor', '');
- Node94.a('node.gradient', '');
- Node94.a('node.borderwidth', Node94BorderWidth);
- Node94.a('node.color', 'rgba(224,224,224,1)');
- Node94.a('node.fillrect', [0,0,0,0]);
- Node94.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradient', '');
- if (Node94type !== 'rect') {
- Node94.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node94.a('node.arcTo', parseFloat('@arcTo@'));
- Node94.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node94type === 'arc') {
- Node94.a('node.arcOval', true);
- }
- Node94.setRotation(0*Math.PI/180);
- Node94.borderWidth = Node94BorderWidth;
- Node94.borderFillwidth = Node94BorderWidth;
- dataModel.add(Node94);
- Node94._nodename = 'Node94'
- Node94._nodeType = 'rect';
- zoomNodeList.push({
- node: Node94,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node94, Node94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95type = 'rect';
- var Node95 = new ht.Node(),
- Node95BorderWidth = 1*2;
- if (Node95type === 'arc') {
- Node95BorderWidth *= 1;
- }
- Node95.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node95.setPosition(923*ratio.ratioX, 125*ratio.ratioY);
- Node95.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node95.a('node.width', 95*_ratio.ratioX);
- Node95.a('node.height', 24.33136*_ratio.ratioY);
- Node95.a('node.type', Node95type);
- Node95.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node95.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node95.a('node.gradientcolor', '');
- Node95.a('node.gradient', '');
- Node95.a('node.borderwidth', Node95BorderWidth);
- Node95.a('node.color', 'rgba(224,224,224,1)');
- Node95.a('node.fillrect', [0,0,0,0]);
- Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradient', '');
- if (Node95type !== 'rect') {
- Node95.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node95.a('node.arcTo', parseFloat('@arcTo@'));
- Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node95type === 'arc') {
- Node95.a('node.arcOval', true);
- }
- Node95.setRotation(0*Math.PI/180);
- Node95.borderWidth = Node95BorderWidth;
- Node95.borderFillwidth = Node95BorderWidth;
- dataModel.add(Node95);
- Node95._nodename = 'Node95'
- Node95._nodeType = 'rect';
- zoomNodeList.push({
- node: Node95,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96type = 'rect';
- var Node96 = new ht.Node(),
- Node96BorderWidth = 1*2;
- if (Node96type === 'arc') {
- Node96BorderWidth *= 1;
- }
- Node96.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node96.setPosition(923*ratio.ratioX, 149*ratio.ratioY);
- Node96.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node96.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node96.a('node.width', 95*_ratio.ratioX);
- Node96.a('node.height', 24.33138*_ratio.ratioY);
- Node96.a('node.type', Node96type);
- Node96.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node96.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node96.a('node.gradientcolor', '');
- Node96.a('node.gradient', '');
- Node96.a('node.borderwidth', Node96BorderWidth);
- Node96.a('node.color', 'rgba(224,224,224,1)');
- Node96.a('node.fillrect', [0,0,0,0]);
- Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradient', '');
- if (Node96type !== 'rect') {
- Node96.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node96.a('node.arcTo', parseFloat('@arcTo@'));
- Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node96type === 'arc') {
- Node96.a('node.arcOval', true);
- }
- Node96.setRotation(0*Math.PI/180);
- Node96.borderWidth = Node96BorderWidth;
- Node96.borderFillwidth = Node96BorderWidth;
- dataModel.add(Node96);
- Node96._nodename = 'Node96'
- Node96._nodeType = 'rect';
- zoomNodeList.push({
- node: Node96,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97type = 'rect';
- var Node97 = new ht.Node(),
- Node97BorderWidth = 1*2;
- if (Node97type === 'arc') {
- Node97BorderWidth *= 1;
- }
- Node97.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node97.setPosition(1003*ratio.ratioX, 52*ratio.ratioY);
- Node97.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node97.a('node.width', 65*_ratio.ratioX);
- Node97.a('node.height', 24.33136*_ratio.ratioY);
- Node97.a('node.type', Node97type);
- Node97.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node97.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node97.a('node.gradientcolor', '');
- Node97.a('node.gradient', '');
- Node97.a('node.borderwidth', Node97BorderWidth);
- Node97.a('node.color', 'rgba(224,224,224,1)');
- Node97.a('node.fillrect', [0,0,0,0]);
- Node97.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradient', '');
- if (Node97type !== 'rect') {
- Node97.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node97.a('node.arcTo', parseFloat('@arcTo@'));
- Node97.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node97type === 'arc') {
- Node97.a('node.arcOval', true);
- }
- Node97.setRotation(0*Math.PI/180);
- Node97.borderWidth = Node97BorderWidth;
- Node97.borderFillwidth = Node97BorderWidth;
- dataModel.add(Node97);
- Node97._nodename = 'Node97'
- Node97._nodeType = 'rect';
- zoomNodeList.push({
- node: Node97,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node97, Node97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'center', Node98fontSize = 14.66663*_ratio.ratioY,Node98width = 59*_ratio.ratioX, Node98height = 26*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(923*ratio.ratioX, 54*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(0,0,0,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','0');
- Node98.a('node.textalign','center');
- Node98.a('node.textvAlign','middle');
- Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
- Node98.a('node.color','rgba(0,0,0,1)');
- Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '0';
- var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node98width,Node98height,14.66663*_ratio.ratioY,"center",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'center', Node99fontSize = 14.66663*_ratio.ratioY,Node99width = 59*_ratio.ratioX, Node99height = 26*_ratio.ratioY;
- (function () {
- if (Node99align === 'left') {
- Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
- Node99textWidth = Node99width;
- Node99lineStart = 1;
- } else if (Node99align === 'right') {
- Node99textStart = 0;
- Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
- Node99lineStart = (Node99width - (ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(923*ratio.ratioX, 78*ratio.ratioY);
- Node99.setWidth(Node99width);
- Node99.setHeight(Node99height);
- Node99._nodeType = 'text';
- Node99._disallowEvert = true;
- Node99.setRotation(0*Math.PI/180);
- Node99.a('node.width', Node99width);
- Node99.a('node.height', Node99height);
- Node99.a('node.rect', [0, 0, Node99width, Node99height]);
- Node99.a('node.bordercolor','rgba(0,0,0,1)');
- Node99.a('node.borderwidth', 0);
- Node99.a('node.background','' || 'rgba(0,0,0,0)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','');
- Node99.a('node.text','0');
- Node99.a('node.textalign','center');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(0,0,0,1)');
- Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
- Node99.a('node.textvisible',true);
- Node99.a('node.linefeed',false);
- if (false) {
- Node99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node99.a('node.text') || '0';
- var color=Node99.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node99width,Node99height,14.66663*_ratio.ratioY,"center",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100 = new ht.Node();
- var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'center', Node100fontSize = 14.66663*_ratio.ratioY,Node100width = 59*_ratio.ratioX, Node100height = 26*_ratio.ratioY;
- (function () {
- if (Node100align === 'left') {
- Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
- Node100textWidth = Node100width;
- Node100lineStart = 1;
- } else if (Node100align === 'right') {
- Node100textStart = 0;
- Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
- Node100lineStart = (Node100width - (ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(923*ratio.ratioX, 103*ratio.ratioY);
- Node100.setWidth(Node100width);
- Node100.setHeight(Node100height);
- Node100._nodeType = 'text';
- Node100._disallowEvert = true;
- Node100.setRotation(0*Math.PI/180);
- Node100.a('node.width', Node100width);
- Node100.a('node.height', Node100height);
- Node100.a('node.rect', [0, 0, Node100width, Node100height]);
- Node100.a('node.bordercolor','rgba(0,0,0,1)');
- Node100.a('node.borderwidth', 0);
- Node100.a('node.background','' || 'rgba(0,0,0,0)');
- Node100.a('node.gradient','');
- Node100.a('node.gradientcolor','');
- Node100.a('node.text','0');
- Node100.a('node.textalign','center');
- Node100.a('node.textvAlign','middle');
- Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]);
- Node100.a('node.color','rgba(0,0,0,1)');
- Node100.a('node.font',' '+ Node100fontSize + 'px "Arial"');
- Node100.a('node.textvisible',true);
- Node100.a('node.linefeed',false);
- if (false) {
- Node100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node100.a('node.text') || '0';
- var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node100width,Node100height,14.66663*_ratio.ratioY,"center",color,' '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
- Node100.a('node.underlinevisible',false);
- Node100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node100);
- zoomNodeList.push({
- node: Node100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'center', Node101fontSize = 14.66663*_ratio.ratioY,Node101width = 59*_ratio.ratioX, Node101height = 26*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(923*ratio.ratioX, 126*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(0,0,0,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','0');
- Node101.a('node.textalign','center');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(0,0,0,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '0';
- var color=Node101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node101width,Node101height,14.66663*_ratio.ratioY,"center",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'center', Node102fontSize = 14.66663*_ratio.ratioY,Node102width = 59*_ratio.ratioX, Node102height = 26*_ratio.ratioY;
- (function () {
- if (Node102align === 'left') {
- Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
- Node102textWidth = Node102width;
- Node102lineStart = 1;
- } else if (Node102align === 'right') {
- Node102textStart = 0;
- Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
- Node102lineStart = (Node102width - (ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
- Node102.setPosition(923*ratio.ratioX, 150*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(0,0,0,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','0');
- Node102.a('node.textalign','center');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(0,0,0,1)');
- Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
- Node102.a('node.textvisible',true);
- Node102.a('node.linefeed',false);
- if (false) {
- Node102.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node102.a('node.text') || '0';
- var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node102width,Node102height,14.66663*_ratio.ratioY,"center",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103type = 'rect';
- var Node103 = new ht.Node(),
- Node103BorderWidth = 1*2;
- if (Node103type === 'arc') {
- Node103BorderWidth *= 1;
- }
- Node103.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node103type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node103.setPosition(1003*ratio.ratioX, 76*ratio.ratioY);
- Node103.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node103.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node103.a('node.width', 65*_ratio.ratioX);
- Node103.a('node.height', 24.33138*_ratio.ratioY);
- Node103.a('node.type', Node103type);
- Node103.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node103.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node103.a('node.gradientcolor', '');
- Node103.a('node.gradient', '');
- Node103.a('node.borderwidth', Node103BorderWidth);
- Node103.a('node.color', 'rgba(224,224,224,1)');
- Node103.a('node.fillrect', [0,0,0,0]);
- Node103.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node103.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node103.a('node.fillgradient', '');
- if (Node103type !== 'rect') {
- Node103.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node103.a('node.arcTo', parseFloat('@arcTo@'));
- Node103.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node103type === 'arc') {
- Node103.a('node.arcOval', true);
- }
- Node103.setRotation(0*Math.PI/180);
- Node103.borderWidth = Node103BorderWidth;
- Node103.borderFillwidth = Node103BorderWidth;
- dataModel.add(Node103);
- Node103._nodename = 'Node103'
- Node103._nodeType = 'rect';
- zoomNodeList.push({
- node: Node103,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node103, Node103.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104type = 'rect';
- var Node104 = new ht.Node(),
- Node104BorderWidth = 1*2;
- if (Node104type === 'arc') {
- Node104BorderWidth *= 1;
- }
- Node104.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node104type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node104.setPosition(1003*ratio.ratioX, 100*ratio.ratioY);
- Node104.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node104.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node104.a('node.width', 65*_ratio.ratioX);
- Node104.a('node.height', 24.33138*_ratio.ratioY);
- Node104.a('node.type', Node104type);
- Node104.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node104.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node104.a('node.gradientcolor', '');
- Node104.a('node.gradient', '');
- Node104.a('node.borderwidth', Node104BorderWidth);
- Node104.a('node.color', 'rgba(224,224,224,1)');
- Node104.a('node.fillrect', [0,0,0,0]);
- Node104.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node104.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node104.a('node.fillgradient', '');
- if (Node104type !== 'rect') {
- Node104.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node104.a('node.arcTo', parseFloat('@arcTo@'));
- Node104.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node104type === 'arc') {
- Node104.a('node.arcOval', true);
- }
- Node104.setRotation(0*Math.PI/180);
- Node104.borderWidth = Node104BorderWidth;
- Node104.borderFillwidth = Node104BorderWidth;
- dataModel.add(Node104);
- Node104._nodename = 'Node104'
- Node104._nodeType = 'rect';
- zoomNodeList.push({
- node: Node104,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node104, Node104.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105type = 'rect';
- var Node105 = new ht.Node(),
- Node105BorderWidth = 1*2;
- if (Node105type === 'arc') {
- Node105BorderWidth *= 1;
- }
- Node105.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node105type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node105.setPosition(1003*ratio.ratioX, 125*ratio.ratioY);
- Node105.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node105.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node105.a('node.width', 65*_ratio.ratioX);
- Node105.a('node.height', 24.33136*_ratio.ratioY);
- Node105.a('node.type', Node105type);
- Node105.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node105.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node105.a('node.gradientcolor', '');
- Node105.a('node.gradient', '');
- Node105.a('node.borderwidth', Node105BorderWidth);
- Node105.a('node.color', 'rgba(224,224,224,1)');
- Node105.a('node.fillrect', [0,0,0,0]);
- Node105.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradient', '');
- if (Node105type !== 'rect') {
- Node105.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node105.a('node.arcTo', parseFloat('@arcTo@'));
- Node105.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node105type === 'arc') {
- Node105.a('node.arcOval', true);
- }
- Node105.setRotation(0*Math.PI/180);
- Node105.borderWidth = Node105BorderWidth;
- Node105.borderFillwidth = Node105BorderWidth;
- dataModel.add(Node105);
- Node105._nodename = 'Node105'
- Node105._nodeType = 'rect';
- zoomNodeList.push({
- node: Node105,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node105, Node105.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106type = 'rect';
- var Node106 = new ht.Node(),
- Node106BorderWidth = 1*2;
- if (Node106type === 'arc') {
- Node106BorderWidth *= 1;
- }
- Node106.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node106type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node106.setPosition(1003*ratio.ratioX, 149*ratio.ratioY);
- Node106.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node106.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node106.a('node.width', 65*_ratio.ratioX);
- Node106.a('node.height', 24.33138*_ratio.ratioY);
- Node106.a('node.type', Node106type);
- Node106.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node106.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node106.a('node.gradientcolor', '');
- Node106.a('node.gradient', '');
- Node106.a('node.borderwidth', Node106BorderWidth);
- Node106.a('node.color', 'rgba(224,224,224,1)');
- Node106.a('node.fillrect', [0,0,0,0]);
- Node106.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradient', '');
- if (Node106type !== 'rect') {
- Node106.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node106.a('node.arcTo', parseFloat('@arcTo@'));
- Node106.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node106type === 'arc') {
- Node106.a('node.arcOval', true);
- }
- Node106.setRotation(0*Math.PI/180);
- Node106.borderWidth = Node106BorderWidth;
- Node106.borderFillwidth = Node106BorderWidth;
- dataModel.add(Node106);
- Node106._nodename = 'Node106'
- Node106._nodeType = 'rect';
- zoomNodeList.push({
- node: Node106,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node106, Node106.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107 = new ht.Node();
- var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'center', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 59*_ratio.ratioX, Node107height = 26*_ratio.ratioY;
- (function () {
- if (Node107align === 'left') {
- Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9;
- Node107textWidth = Node107width;
- Node107lineStart = 1;
- } else if (Node107align === 'right') {
- Node107textStart = 0;
- Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2;
- Node107lineStart = (Node107width - (ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node107align === 'center') {
- Node107textStart = -3;
- Node107textWidth = Node107width;
- Node107lineStart = Node107width - ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"'))
- Node107.setPosition(1004*ratio.ratioX, 54*ratio.ratioY);
- Node107.setWidth(Node107width);
- Node107.setHeight(Node107height);
- Node107._nodeType = 'text';
- Node107._disallowEvert = true;
- Node107.setRotation(0*Math.PI/180);
- Node107.a('node.width', Node107width);
- Node107.a('node.height', Node107height);
- Node107.a('node.rect', [0, 0, Node107width, Node107height]);
- Node107.a('node.bordercolor','rgba(128,128,128,1)');
- Node107.a('node.borderwidth', 0);
- Node107.a('node.background','' || 'rgba(0,0,0,0)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','');
- Node107.a('node.text','万kWh');
- Node107.a('node.textalign','center');
- Node107.a('node.textvAlign','middle');
- Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]);
- Node107.a('node.color','rgba(128,128,128,1)');
- Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"');
- Node107.a('node.textvisible',true);
- Node107.a('node.linefeed',false);
- if (false) {
- Node107.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node107.a('node.text') || '万kWh';
- var color=Node107.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"center",color,' '+ Node107fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node107.a('node.underlinepoints',[Node107lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
- Node107.a('node.underlinevisible',false);
- Node107.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node107);
- zoomNodeList.push({
- node: Node107,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108 = new ht.Node();
- var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'center', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 59*_ratio.ratioX, Node108height = 26*_ratio.ratioY;
- (function () {
- if (Node108align === 'left') {
- Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9;
- Node108textWidth = Node108width;
- Node108lineStart = 1;
- } else if (Node108align === 'right') {
- Node108textStart = 0;
- Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2;
- Node108lineStart = (Node108width - (ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node108align === 'center') {
- Node108textStart = -3;
- Node108textWidth = Node108width;
- Node108lineStart = Node108width - ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, ' '+ Node108fontSize + 'px "Arial"'))
- Node108.setPosition(1004*ratio.ratioX, 78*ratio.ratioY);
- Node108.setWidth(Node108width);
- Node108.setHeight(Node108height);
- Node108._nodeType = 'text';
- Node108._disallowEvert = true;
- Node108.setRotation(0*Math.PI/180);
- Node108.a('node.width', Node108width);
- Node108.a('node.height', Node108height);
- Node108.a('node.rect', [0, 0, Node108width, Node108height]);
- Node108.a('node.bordercolor','rgba(128,128,128,1)');
- Node108.a('node.borderwidth', 0);
- Node108.a('node.background','' || 'rgba(0,0,0,0)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','');
- Node108.a('node.text','万kWh');
- Node108.a('node.textalign','center');
- Node108.a('node.textvAlign','middle');
- Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]);
- Node108.a('node.color','rgba(128,128,128,1)');
- Node108.a('node.font',' '+ Node108fontSize + 'px "Arial"');
- Node108.a('node.textvisible',true);
- Node108.a('node.linefeed',false);
- if (false) {
- Node108.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node108.a('node.text') || '万kWh';
- var color=Node108.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"center",color,' '+ Node108fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node108.a('node.underlinepoints',[Node108lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]);
- Node108.a('node.underlinevisible',false);
- Node108.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node108);
- zoomNodeList.push({
- node: Node108,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'center', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 59*_ratio.ratioX, Node109height = 26*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
- Node109.setPosition(1004*ratio.ratioX, 101*ratio.ratioY);
- Node109.setWidth(Node109width);
- Node109.setHeight(Node109height);
- Node109._nodeType = 'text';
- Node109._disallowEvert = true;
- Node109.setRotation(0*Math.PI/180);
- Node109.a('node.width', Node109width);
- Node109.a('node.height', Node109height);
- Node109.a('node.rect', [0, 0, Node109width, Node109height]);
- Node109.a('node.bordercolor','rgba(128,128,128,1)');
- Node109.a('node.borderwidth', 0);
- Node109.a('node.background','' || 'rgba(0,0,0,0)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','');
- Node109.a('node.text','万kWh');
- Node109.a('node.textalign','center');
- Node109.a('node.textvAlign','middle');
- Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
- Node109.a('node.color','rgba(128,128,128,1)');
- Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"');
- Node109.a('node.textvisible',true);
- Node109.a('node.linefeed',false);
- if (false) {
- Node109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node109.a('node.text') || '万kWh';
- var color=Node109.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"center",color,' '+ Node109fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node109.a('node.underlinepoints',[Node109lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
- Node109.a('node.underlinevisible',false);
- Node109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node109);
- zoomNodeList.push({
- node: Node109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'center', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 59*_ratio.ratioX, Node110height = 26*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(1004*ratio.ratioX, 127*ratio.ratioY);
- Node110.setWidth(Node110width);
- Node110.setHeight(Node110height);
- Node110._nodeType = 'text';
- Node110._disallowEvert = true;
- Node110.setRotation(0*Math.PI/180);
- Node110.a('node.width', Node110width);
- Node110.a('node.height', Node110height);
- Node110.a('node.rect', [0, 0, Node110width, Node110height]);
- Node110.a('node.bordercolor','rgba(128,128,128,1)');
- Node110.a('node.borderwidth', 0);
- Node110.a('node.background','' || 'rgba(0,0,0,0)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','');
- Node110.a('node.text','万kWh');
- Node110.a('node.textalign','center');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(128,128,128,1)');
- Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '万kWh';
- var color=Node110.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"center",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'center', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 59*_ratio.ratioX, Node111height = 26*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(1004*ratio.ratioX, 151*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(128,128,128,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','万kWh');
- Node111.a('node.textalign','center');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(128,128,128,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '万kWh';
- var color=Node111.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"center",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112type = 'rect';
- var Node112 = new ht.Node(),
- Node112BorderWidth = 1*2;
- if (Node112type === 'arc') {
- Node112BorderWidth *= 1;
- }
- Node112.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node112type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node112.setPosition(1097*ratio.ratioX, 100*ratio.ratioY);
- Node112.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node112.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node112.a('node.width', 117*_ratio.ratioX);
- Node112.a('node.height', 24.33138*_ratio.ratioY);
- Node112.a('node.type', Node112type);
- Node112.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node112.a('node.background', 'rgba(240,240,240,1)');
- Node112.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node112.a('node.gradient', '');
- Node112.a('node.borderwidth', Node112BorderWidth);
- Node112.a('node.color', 'rgba(224,224,224,1)');
- Node112.a('node.fillrect', [0,0,0,0]);
- Node112.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node112.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node112.a('node.fillgradient', '');
- if (Node112type !== 'rect') {
- Node112.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node112.a('node.arcTo', parseFloat('@arcTo@'));
- Node112.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node112type === 'arc') {
- Node112.a('node.arcOval', true);
- }
- Node112.setRotation(0*Math.PI/180);
- Node112.borderWidth = Node112BorderWidth;
- Node112.borderFillwidth = Node112BorderWidth;
- dataModel.add(Node112);
- Node112._nodename = 'Node112'
- Node112._nodeType = 'rect';
- zoomNodeList.push({
- node: Node112,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node112, Node112.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113type = 'rect';
- var Node113 = new ht.Node(),
- Node113BorderWidth = 1*2;
- if (Node113type === 'arc') {
- Node113BorderWidth *= 1;
- }
- Node113.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node113type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node113.setPosition(1097*ratio.ratioX, 76*ratio.ratioY);
- Node113.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node113.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node113.a('node.width', 117*_ratio.ratioX);
- Node113.a('node.height', 24.33138*_ratio.ratioY);
- Node113.a('node.type', Node113type);
- Node113.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node113.a('node.background', 'rgba(240,240,240,1)');
- Node113.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node113.a('node.gradient', '');
- Node113.a('node.borderwidth', Node113BorderWidth);
- Node113.a('node.color', 'rgba(224,224,224,1)');
- Node113.a('node.fillrect', [0,0,0,0]);
- Node113.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node113.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node113.a('node.fillgradient', '');
- if (Node113type !== 'rect') {
- Node113.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node113.a('node.arcTo', parseFloat('@arcTo@'));
- Node113.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node113type === 'arc') {
- Node113.a('node.arcOval', true);
- }
- Node113.setRotation(0*Math.PI/180);
- Node113.borderWidth = Node113BorderWidth;
- Node113.borderFillwidth = Node113BorderWidth;
- dataModel.add(Node113);
- Node113._nodename = 'Node113'
- Node113._nodeType = 'rect';
- zoomNodeList.push({
- node: Node113,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node113, Node113.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114type = 'rect';
- var Node114 = new ht.Node(),
- Node114BorderWidth = 1*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 1;
- }
- Node114.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(1097*ratio.ratioX, 125*ratio.ratioY);
- Node114.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 117*_ratio.ratioX);
- Node114.a('node.height', 24.33136*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node114.a('node.background', 'rgba(240,240,240,1)');
- Node114.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node114.a('node.gradient', '');
- Node114.a('node.borderwidth', Node114BorderWidth);
- Node114.a('node.color', 'rgba(224,224,224,1)');
- Node114.a('node.fillrect', [0,0,0,0]);
- Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradient', '');
- if (Node114type !== 'rect') {
- Node114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node114.a('node.arcTo', parseFloat('@arcTo@'));
- Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node114type === 'arc') {
- Node114.a('node.arcOval', true);
- }
- Node114.setRotation(0*Math.PI/180);
- Node114.borderWidth = Node114BorderWidth;
- Node114.borderFillwidth = Node114BorderWidth;
- dataModel.add(Node114);
- Node114._nodename = 'Node114'
- Node114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115type = 'rect';
- var Node115 = new ht.Node(),
- Node115BorderWidth = 1*2;
- if (Node115type === 'arc') {
- Node115BorderWidth *= 1;
- }
- Node115.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node115.setPosition(1097*ratio.ratioX, 52*ratio.ratioY);
- Node115.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node115.a('node.width', 117*_ratio.ratioX);
- Node115.a('node.height', 24.33136*_ratio.ratioY);
- Node115.a('node.type', Node115type);
- Node115.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node115.a('node.background', 'rgba(240,240,240,1)');
- Node115.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node115.a('node.gradient', '');
- Node115.a('node.borderwidth', Node115BorderWidth);
- Node115.a('node.color', 'rgba(224,224,224,1)');
- Node115.a('node.fillrect', [0,0,0,0]);
- Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradient', '');
- if (Node115type !== 'rect') {
- Node115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node115.a('node.arcTo', parseFloat('@arcTo@'));
- Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node115type === 'arc') {
- Node115.a('node.arcOval', true);
- }
- Node115.setRotation(0*Math.PI/180);
- Node115.borderWidth = Node115BorderWidth;
- Node115.borderFillwidth = Node115BorderWidth;
- dataModel.add(Node115);
- Node115._nodename = 'Node115'
- Node115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116type = 'rect';
- var Node116 = new ht.Node(),
- Node116BorderWidth = 1*2;
- if (Node116type === 'arc') {
- Node116BorderWidth *= 1;
- }
- Node116.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node116.setPosition(1097*ratio.ratioX, 149*ratio.ratioY);
- Node116.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node116.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node116.a('node.width', 117*_ratio.ratioX);
- Node116.a('node.height', 24.33138*_ratio.ratioY);
- Node116.a('node.type', Node116type);
- Node116.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node116.a('node.background', 'rgba(240,240,240,1)');
- Node116.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node116.a('node.gradient', '');
- Node116.a('node.borderwidth', Node116BorderWidth);
- Node116.a('node.color', 'rgba(224,224,224,1)');
- Node116.a('node.fillrect', [0,0,0,0]);
- Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradient', '');
- if (Node116type !== 'rect') {
- Node116.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node116.a('node.arcTo', parseFloat('@arcTo@'));
- Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node116type === 'arc') {
- Node116.a('node.arcOval', true);
- }
- Node116.setRotation(0*Math.PI/180);
- Node116.borderWidth = Node116BorderWidth;
- Node116.borderFillwidth = Node116BorderWidth;
- dataModel.add(Node116);
- Node116._nodename = 'Node116'
- Node116._nodeType = 'rect';
- zoomNodeList.push({
- node: Node116,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117 = new ht.Node();
- var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'center', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 110*_ratio.ratioX, Node117height = 26*_ratio.ratioY;
- (function () {
- if (Node117align === 'left') {
- Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
- Node117textWidth = Node117width;
- Node117lineStart = 1;
- } else if (Node117align === 'right') {
- Node117textStart = 0;
- Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
- Node117lineStart = (Node117width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node117align === 'center') {
- Node117textStart = -3;
- Node117textWidth = Node117width;
- Node117lineStart = Node117width - ht.Default.getTextSize('年维护损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "微软雅黑"'))
- Node117.setPosition(1097*ratio.ratioX, 54*ratio.ratioY);
- Node117.setWidth(Node117width);
- Node117.setHeight(Node117height);
- Node117._nodeType = 'text';
- Node117._disallowEvert = true;
- Node117.setRotation(0*Math.PI/180);
- Node117.a('node.width', Node117width);
- Node117.a('node.height', Node117height);
- Node117.a('node.rect', [0, 0, Node117width, Node117height]);
- Node117.a('node.bordercolor','rgba(0,0,0,1)');
- Node117.a('node.borderwidth', 0);
- Node117.a('node.background','' || 'rgba(0,0,0,0)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','');
- Node117.a('node.text','年维护损失电量');
- Node117.a('node.textalign','center');
- Node117.a('node.textvAlign','middle');
- Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
- Node117.a('node.color','rgba(0,0,0,1)');
- Node117.a('node.font',' '+ Node117fontSize + 'px "微软雅黑"');
- Node117.a('node.textvisible',true);
- Node117.a('node.linefeed',false);
- if (false) {
- Node117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node117.a('node.text') || '年维护损失电量';
- var color=Node117.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"center",color,' '+ Node117fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node117.a('node.underlinepoints',[Node117lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
- Node117.a('node.underlinevisible',false);
- Node117.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node117);
- zoomNodeList.push({
- node: Node117,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118 = new ht.Node();
- var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'center', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 110*_ratio.ratioX, Node118height = 26*_ratio.ratioY;
- (function () {
- if (Node118align === 'left') {
- Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9;
- Node118textWidth = Node118width;
- Node118lineStart = 1;
- } else if (Node118align === 'right') {
- Node118textStart = 0;
- Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2;
- Node118lineStart = (Node118width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node118align === 'center') {
- Node118textStart = -3;
- Node118textWidth = Node118width;
- Node118lineStart = Node118width - ht.Default.getTextSize('年故障损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, ' '+ Node118fontSize + 'px "微软雅黑"'))
- Node118.setPosition(1097*ratio.ratioX, 77*ratio.ratioY);
- Node118.setWidth(Node118width);
- Node118.setHeight(Node118height);
- Node118._nodeType = 'text';
- Node118._disallowEvert = true;
- Node118.setRotation(0*Math.PI/180);
- Node118.a('node.width', Node118width);
- Node118.a('node.height', Node118height);
- Node118.a('node.rect', [0, 0, Node118width, Node118height]);
- Node118.a('node.bordercolor','rgba(0,0,0,1)');
- Node118.a('node.borderwidth', 0);
- Node118.a('node.background','' || 'rgba(0,0,0,0)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','');
- Node118.a('node.text','年故障损失电量');
- Node118.a('node.textalign','center');
- Node118.a('node.textvAlign','middle');
- Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]);
- Node118.a('node.color','rgba(0,0,0,1)');
- Node118.a('node.font',' '+ Node118fontSize + 'px "微软雅黑"');
- Node118.a('node.textvisible',true);
- Node118.a('node.linefeed',false);
- if (false) {
- Node118.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node118.a('node.text') || '年故障损失电量';
- var color=Node118.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"center",color,' '+ Node118fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node118.a('node.underlinepoints',[Node118lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]);
- Node118.a('node.underlinevisible',false);
- Node118.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node118);
- zoomNodeList.push({
- node: Node118,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119 = new ht.Node();
- var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'center', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 110*_ratio.ratioX, Node119height = 26*_ratio.ratioY;
- (function () {
- if (Node119align === 'left') {
- Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9;
- Node119textWidth = Node119width;
- Node119lineStart = 1;
- } else if (Node119align === 'right') {
- Node119textStart = 0;
- Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2;
- Node119lineStart = (Node119width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('年限电损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "微软雅黑"'))
- Node119.setPosition(1097*ratio.ratioX, 102*ratio.ratioY);
- Node119.setWidth(Node119width);
- Node119.setHeight(Node119height);
- Node119._nodeType = 'text';
- Node119._disallowEvert = true;
- Node119.setRotation(0*Math.PI/180);
- Node119.a('node.width', Node119width);
- Node119.a('node.height', Node119height);
- Node119.a('node.rect', [0, 0, Node119width, Node119height]);
- Node119.a('node.bordercolor','rgba(0,0,0,1)');
- Node119.a('node.borderwidth', 0);
- Node119.a('node.background','' || 'rgba(0,0,0,0)');
- Node119.a('node.gradient','');
- Node119.a('node.gradientcolor','');
- Node119.a('node.text','年限电损失电量');
- Node119.a('node.textalign','center');
- Node119.a('node.textvAlign','middle');
- Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]);
- Node119.a('node.color','rgba(0,0,0,1)');
- Node119.a('node.font',' '+ Node119fontSize + 'px "微软雅黑"');
- Node119.a('node.textvisible',true);
- Node119.a('node.linefeed',false);
- if (false) {
- Node119.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node119.a('node.text') || '年限电损失电量';
- var color=Node119.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"center",color,' '+ Node119fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]);
- Node119.a('node.underlinevisible',false);
- Node119.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node119);
- zoomNodeList.push({
- node: Node119,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.Node();
- var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'center', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 110*_ratio.ratioX, Node120height = 26*_ratio.ratioY;
- (function () {
- if (Node120align === 'left') {
- Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9;
- Node120textWidth = Node120width;
- Node120lineStart = 1;
- } else if (Node120align === 'right') {
- Node120textStart = 0;
- Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2;
- Node120lineStart = (Node120width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('年受累损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "微软雅黑"'))
- Node120.setPosition(1097*ratio.ratioX, 127*ratio.ratioY);
- Node120.setWidth(Node120width);
- Node120.setHeight(Node120height);
- Node120._nodeType = 'text';
- Node120._disallowEvert = true;
- Node120.setRotation(0*Math.PI/180);
- Node120.a('node.width', Node120width);
- Node120.a('node.height', Node120height);
- Node120.a('node.rect', [0, 0, Node120width, Node120height]);
- Node120.a('node.bordercolor','rgba(0,0,0,1)');
- Node120.a('node.borderwidth', 0);
- Node120.a('node.background','' || 'rgba(0,0,0,0)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','');
- Node120.a('node.text','年受累损失电量');
- Node120.a('node.textalign','center');
- Node120.a('node.textvAlign','middle');
- Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
- Node120.a('node.color','rgba(0,0,0,1)');
- Node120.a('node.font',' '+ Node120fontSize + 'px "微软雅黑"');
- Node120.a('node.textvisible',true);
- Node120.a('node.linefeed',false);
- if (false) {
- Node120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node120.a('node.text') || '年受累损失电量';
- var color=Node120.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"center",color,' '+ Node120fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121type = 'rect';
- var Node121 = new ht.Node(),
- Node121BorderWidth = 1*2;
- if (Node121type === 'arc') {
- Node121BorderWidth *= 1;
- }
- Node121.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node121.setPosition(1203*ratio.ratioX, 52*ratio.ratioY);
- Node121.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node121.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node121.a('node.width', 95*_ratio.ratioX);
- Node121.a('node.height', 24.33136*_ratio.ratioY);
- Node121.a('node.type', Node121type);
- Node121.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node121.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node121.a('node.gradientcolor', '');
- Node121.a('node.gradient', '');
- Node121.a('node.borderwidth', Node121BorderWidth);
- Node121.a('node.color', 'rgba(224,224,224,1)');
- Node121.a('node.fillrect', [0,0,0,0]);
- Node121.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradient', '');
- if (Node121type !== 'rect') {
- Node121.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node121.a('node.arcTo', parseFloat('@arcTo@'));
- Node121.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node121type === 'arc') {
- Node121.a('node.arcOval', true);
- }
- Node121.setRotation(0*Math.PI/180);
- Node121.borderWidth = Node121BorderWidth;
- Node121.borderFillwidth = Node121BorderWidth;
- dataModel.add(Node121);
- Node121._nodename = 'Node121'
- Node121._nodeType = 'rect';
- zoomNodeList.push({
- node: Node121,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node121, Node121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node122type = 'rect';
- var Node122 = new ht.Node(),
- Node122BorderWidth = 1*2;
- if (Node122type === 'arc') {
- Node122BorderWidth *= 1;
- }
- Node122.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node122type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node122.setPosition(1203*ratio.ratioX, 76*ratio.ratioY);
- Node122.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node122.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node122.a('node.width', 95*_ratio.ratioX);
- Node122.a('node.height', 24.33138*_ratio.ratioY);
- Node122.a('node.type', Node122type);
- Node122.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node122.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node122.a('node.gradientcolor', '');
- Node122.a('node.gradient', '');
- Node122.a('node.borderwidth', Node122BorderWidth);
- Node122.a('node.color', 'rgba(224,224,224,1)');
- Node122.a('node.fillrect', [0,0,0,0]);
- Node122.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node122.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node122.a('node.fillgradient', '');
- if (Node122type !== 'rect') {
- Node122.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node122.a('node.arcTo', parseFloat('@arcTo@'));
- Node122.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node122type === 'arc') {
- Node122.a('node.arcOval', true);
- }
- Node122.setRotation(0*Math.PI/180);
- Node122.borderWidth = Node122BorderWidth;
- Node122.borderFillwidth = Node122BorderWidth;
- dataModel.add(Node122);
- Node122._nodename = 'Node122'
- Node122._nodeType = 'rect';
- zoomNodeList.push({
- node: Node122,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node122, Node122.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123type = 'rect';
- var Node123 = new ht.Node(),
- Node123BorderWidth = 1*2;
- if (Node123type === 'arc') {
- Node123BorderWidth *= 1;
- }
- Node123.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node123.setPosition(1203*ratio.ratioX, 100*ratio.ratioY);
- Node123.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node123.a('node.width', 95*_ratio.ratioX);
- Node123.a('node.height', 24.33138*_ratio.ratioY);
- Node123.a('node.type', Node123type);
- Node123.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node123.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node123.a('node.gradientcolor', '');
- Node123.a('node.gradient', '');
- Node123.a('node.borderwidth', Node123BorderWidth);
- Node123.a('node.color', 'rgba(224,224,224,1)');
- Node123.a('node.fillrect', [0,0,0,0]);
- Node123.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradient', '');
- if (Node123type !== 'rect') {
- Node123.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node123.a('node.arcTo', parseFloat('@arcTo@'));
- Node123.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node123type === 'arc') {
- Node123.a('node.arcOval', true);
- }
- Node123.setRotation(0*Math.PI/180);
- Node123.borderWidth = Node123BorderWidth;
- Node123.borderFillwidth = Node123BorderWidth;
- dataModel.add(Node123);
- Node123._nodename = 'Node123'
- Node123._nodeType = 'rect';
- zoomNodeList.push({
- node: Node123,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node123, Node123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124type = 'rect';
- var Node124 = new ht.Node(),
- Node124BorderWidth = 1*2;
- if (Node124type === 'arc') {
- Node124BorderWidth *= 1;
- }
- Node124.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node124.setPosition(1203*ratio.ratioX, 125*ratio.ratioY);
- Node124.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node124.a('node.width', 95*_ratio.ratioX);
- Node124.a('node.height', 24.33136*_ratio.ratioY);
- Node124.a('node.type', Node124type);
- Node124.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node124.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node124.a('node.gradientcolor', '');
- Node124.a('node.gradient', '');
- Node124.a('node.borderwidth', Node124BorderWidth);
- Node124.a('node.color', 'rgba(224,224,224,1)');
- Node124.a('node.fillrect', [0,0,0,0]);
- Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradient', '');
- if (Node124type !== 'rect') {
- Node124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node124.a('node.arcTo', parseFloat('@arcTo@'));
- Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node124type === 'arc') {
- Node124.a('node.arcOval', true);
- }
- Node124.setRotation(0*Math.PI/180);
- Node124.borderWidth = Node124BorderWidth;
- Node124.borderFillwidth = Node124BorderWidth;
- dataModel.add(Node124);
- Node124._nodename = 'Node124'
- Node124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125type = 'rect';
- var Node125 = new ht.Node(),
- Node125BorderWidth = 1*2;
- if (Node125type === 'arc') {
- Node125BorderWidth *= 1;
- }
- Node125.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node125type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node125.setPosition(1203*ratio.ratioX, 149*ratio.ratioY);
- Node125.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node125.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node125.a('node.width', 95*_ratio.ratioX);
- Node125.a('node.height', 24.33138*_ratio.ratioY);
- Node125.a('node.type', Node125type);
- Node125.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node125.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node125.a('node.gradientcolor', '');
- Node125.a('node.gradient', '');
- Node125.a('node.borderwidth', Node125BorderWidth);
- Node125.a('node.color', 'rgba(224,224,224,1)');
- Node125.a('node.fillrect', [0,0,0,0]);
- Node125.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradient', '');
- if (Node125type !== 'rect') {
- Node125.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node125.a('node.arcTo', parseFloat('@arcTo@'));
- Node125.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node125type === 'arc') {
- Node125.a('node.arcOval', true);
- }
- Node125.setRotation(0*Math.PI/180);
- Node125.borderWidth = Node125BorderWidth;
- Node125.borderFillwidth = Node125BorderWidth;
- dataModel.add(Node125);
- Node125._nodename = 'Node125'
- Node125._nodeType = 'rect';
- zoomNodeList.push({
- node: Node125,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node125, Node125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126type = 'rect';
- var Node126 = new ht.Node(),
- Node126BorderWidth = 1*2;
- if (Node126type === 'arc') {
- Node126BorderWidth *= 1;
- }
- Node126.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node126type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node126.setPosition(1283*ratio.ratioX, 52*ratio.ratioY);
- Node126.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node126.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node126.a('node.width', 65*_ratio.ratioX);
- Node126.a('node.height', 24.33136*_ratio.ratioY);
- Node126.a('node.type', Node126type);
- Node126.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node126.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node126.a('node.gradientcolor', '');
- Node126.a('node.gradient', '');
- Node126.a('node.borderwidth', Node126BorderWidth);
- Node126.a('node.color', 'rgba(224,224,224,1)');
- Node126.a('node.fillrect', [0,0,0,0]);
- Node126.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradient', '');
- if (Node126type !== 'rect') {
- Node126.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node126.a('node.arcTo', parseFloat('@arcTo@'));
- Node126.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node126type === 'arc') {
- Node126.a('node.arcOval', true);
- }
- Node126.setRotation(0*Math.PI/180);
- Node126.borderWidth = Node126BorderWidth;
- Node126.borderFillwidth = Node126BorderWidth;
- dataModel.add(Node126);
- Node126._nodename = 'Node126'
- Node126._nodeType = 'rect';
- zoomNodeList.push({
- node: Node126,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node126, Node126.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'center', Node127fontSize = 14.66663*_ratio.ratioY,Node127width = 59*_ratio.ratioX, Node127height = 26*_ratio.ratioY;
- (function () {
- if (Node127align === 'left') {
- Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
- Node127textWidth = Node127width;
- Node127lineStart = 1;
- } else if (Node127align === 'right') {
- Node127textStart = 0;
- Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
- Node127lineStart = (Node127width - (ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"'))
- Node127.setPosition(1203*ratio.ratioX, 54*ratio.ratioY);
- Node127.setWidth(Node127width);
- Node127.setHeight(Node127height);
- Node127._nodeType = 'text';
- Node127._disallowEvert = true;
- Node127.setRotation(0*Math.PI/180);
- Node127.a('node.width', Node127width);
- Node127.a('node.height', Node127height);
- Node127.a('node.rect', [0, 0, Node127width, Node127height]);
- Node127.a('node.bordercolor','rgba(0,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','0');
- Node127.a('node.textalign','center');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(0,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || '0';
- var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node127width,Node127height,14.66663*_ratio.ratioY,"center",color,' '+ Node127fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'center', Node128fontSize = 14.66663*_ratio.ratioY,Node128width = 59*_ratio.ratioX, Node128height = 26*_ratio.ratioY;
- (function () {
- if (Node128align === 'left') {
- Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
- Node128textWidth = Node128width;
- Node128lineStart = 1;
- } else if (Node128align === 'right') {
- Node128textStart = 0;
- Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
- Node128lineStart = (Node128width - (ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
- Node128.setPosition(1203*ratio.ratioX, 78*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(0,0,0,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','0');
- Node128.a('node.textalign','center');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(0,0,0,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '0';
- var color=Node128.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node128width,Node128height,14.66663*_ratio.ratioY,"center",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129 = new ht.Node();
- var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'center', Node129fontSize = 14.66663*_ratio.ratioY,Node129width = 59*_ratio.ratioX, Node129height = 26*_ratio.ratioY;
- (function () {
- if (Node129align === 'left') {
- Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
- Node129textWidth = Node129width;
- Node129lineStart = 1;
- } else if (Node129align === 'right') {
- Node129textStart = 0;
- Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
- Node129lineStart = (Node129width - (ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129align === 'center') {
- Node129textStart = -3;
- Node129textWidth = Node129width;
- Node129lineStart = Node129width - ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "Arial"'))
- Node129.setPosition(1203*ratio.ratioX, 103*ratio.ratioY);
- Node129.setWidth(Node129width);
- Node129.setHeight(Node129height);
- Node129._nodeType = 'text';
- Node129._disallowEvert = true;
- Node129.setRotation(0*Math.PI/180);
- Node129.a('node.width', Node129width);
- Node129.a('node.height', Node129height);
- Node129.a('node.rect', [0, 0, Node129width, Node129height]);
- Node129.a('node.bordercolor','rgba(0,0,0,1)');
- Node129.a('node.borderwidth', 0);
- Node129.a('node.background','' || 'rgba(0,0,0,0)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','');
- Node129.a('node.text','0');
- Node129.a('node.textalign','center');
- Node129.a('node.textvAlign','middle');
- Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
- Node129.a('node.color','rgba(0,0,0,1)');
- Node129.a('node.font',' '+ Node129fontSize + 'px "Arial"');
- Node129.a('node.textvisible',true);
- Node129.a('node.linefeed',false);
- if (false) {
- Node129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129.a('node.text') || '0';
- var color=Node129.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node129width,Node129height,14.66663*_ratio.ratioY,"center",color,' '+ Node129fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129.a('node.underlinepoints',[Node129lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
- Node129.a('node.underlinevisible',false);
- Node129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129);
- zoomNodeList.push({
- node: Node129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'center', Node130fontSize = 14.66663*_ratio.ratioY,Node130width = 59*_ratio.ratioX, Node130height = 26*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(1203*ratio.ratioX, 126*ratio.ratioY);
- Node130.setWidth(Node130width);
- Node130.setHeight(Node130height);
- Node130._nodeType = 'text';
- Node130._disallowEvert = true;
- Node130.setRotation(0*Math.PI/180);
- Node130.a('node.width', Node130width);
- Node130.a('node.height', Node130height);
- Node130.a('node.rect', [0, 0, Node130width, Node130height]);
- Node130.a('node.bordercolor','rgba(0,0,0,1)');
- Node130.a('node.borderwidth', 0);
- Node130.a('node.background','' || 'rgba(0,0,0,0)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','');
- Node130.a('node.text','0');
- Node130.a('node.textalign','center');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(0,0,0,1)');
- Node130.a('node.font',' '+ Node130fontSize + 'px "Arial"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || '0';
- var color=Node130.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node130width,Node130height,14.66663*_ratio.ratioY,"center",color,' '+ Node130fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'center', Node131fontSize = 14.66663*_ratio.ratioY,Node131width = 59*_ratio.ratioX, Node131height = 26*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"'))
- Node131.setPosition(1203*ratio.ratioX, 150*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(0,0,0,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','0');
- Node131.a('node.textalign','center');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(0,0,0,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '0';
- var color=Node131.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node131width,Node131height,14.66663*_ratio.ratioY,"center",color,' '+ Node131fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132type = 'rect';
- var Node132 = new ht.Node(),
- Node132BorderWidth = 1*2;
- if (Node132type === 'arc') {
- Node132BorderWidth *= 1;
- }
- Node132.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node132.setPosition(1283*ratio.ratioX, 76*ratio.ratioY);
- Node132.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node132.a('node.width', 65*_ratio.ratioX);
- Node132.a('node.height', 24.33138*_ratio.ratioY);
- Node132.a('node.type', Node132type);
- Node132.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node132.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node132.a('node.gradientcolor', '');
- Node132.a('node.gradient', '');
- Node132.a('node.borderwidth', Node132BorderWidth);
- Node132.a('node.color', 'rgba(224,224,224,1)');
- Node132.a('node.fillrect', [0,0,0,0]);
- Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradient', '');
- if (Node132type !== 'rect') {
- Node132.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node132.a('node.arcTo', parseFloat('@arcTo@'));
- Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node132type === 'arc') {
- Node132.a('node.arcOval', true);
- }
- Node132.setRotation(0*Math.PI/180);
- Node132.borderWidth = Node132BorderWidth;
- Node132.borderFillwidth = Node132BorderWidth;
- dataModel.add(Node132);
- Node132._nodename = 'Node132'
- Node132._nodeType = 'rect';
- zoomNodeList.push({
- node: Node132,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node132, Node132.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133type = 'rect';
- var Node133 = new ht.Node(),
- Node133BorderWidth = 1*2;
- if (Node133type === 'arc') {
- Node133BorderWidth *= 1;
- }
- Node133.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node133type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node133.setPosition(1283*ratio.ratioX, 100*ratio.ratioY);
- Node133.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node133.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node133.a('node.width', 65*_ratio.ratioX);
- Node133.a('node.height', 24.33138*_ratio.ratioY);
- Node133.a('node.type', Node133type);
- Node133.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node133.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node133.a('node.gradientcolor', '');
- Node133.a('node.gradient', '');
- Node133.a('node.borderwidth', Node133BorderWidth);
- Node133.a('node.color', 'rgba(224,224,224,1)');
- Node133.a('node.fillrect', [0,0,0,0]);
- Node133.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradient', '');
- if (Node133type !== 'rect') {
- Node133.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node133.a('node.arcTo', parseFloat('@arcTo@'));
- Node133.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node133type === 'arc') {
- Node133.a('node.arcOval', true);
- }
- Node133.setRotation(0*Math.PI/180);
- Node133.borderWidth = Node133BorderWidth;
- Node133.borderFillwidth = Node133BorderWidth;
- dataModel.add(Node133);
- Node133._nodename = 'Node133'
- Node133._nodeType = 'rect';
- zoomNodeList.push({
- node: Node133,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node133, Node133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134type = 'rect';
- var Node134 = new ht.Node(),
- Node134BorderWidth = 1*2;
- if (Node134type === 'arc') {
- Node134BorderWidth *= 1;
- }
- Node134.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node134type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node134.setPosition(1283*ratio.ratioX, 125*ratio.ratioY);
- Node134.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node134.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node134.a('node.width', 65*_ratio.ratioX);
- Node134.a('node.height', 24.33136*_ratio.ratioY);
- Node134.a('node.type', Node134type);
- Node134.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node134.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node134.a('node.gradientcolor', '');
- Node134.a('node.gradient', '');
- Node134.a('node.borderwidth', Node134BorderWidth);
- Node134.a('node.color', 'rgba(224,224,224,1)');
- Node134.a('node.fillrect', [0,0,0,0]);
- Node134.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradient', '');
- if (Node134type !== 'rect') {
- Node134.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node134.a('node.arcTo', parseFloat('@arcTo@'));
- Node134.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node134type === 'arc') {
- Node134.a('node.arcOval', true);
- }
- Node134.setRotation(0*Math.PI/180);
- Node134.borderWidth = Node134BorderWidth;
- Node134.borderFillwidth = Node134BorderWidth;
- dataModel.add(Node134);
- Node134._nodename = 'Node134'
- Node134._nodeType = 'rect';
- zoomNodeList.push({
- node: Node134,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node134, Node134.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135type = 'rect';
- var Node135 = new ht.Node(),
- Node135BorderWidth = 1*2;
- if (Node135type === 'arc') {
- Node135BorderWidth *= 1;
- }
- Node135.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node135type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node135.setPosition(1283*ratio.ratioX, 149*ratio.ratioY);
- Node135.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node135.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node135.a('node.width', 65*_ratio.ratioX);
- Node135.a('node.height', 24.33138*_ratio.ratioY);
- Node135.a('node.type', Node135type);
- Node135.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node135.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node135.a('node.gradientcolor', '');
- Node135.a('node.gradient', '');
- Node135.a('node.borderwidth', Node135BorderWidth);
- Node135.a('node.color', 'rgba(224,224,224,1)');
- Node135.a('node.fillrect', [0,0,0,0]);
- Node135.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradient', '');
- if (Node135type !== 'rect') {
- Node135.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node135.a('node.arcTo', parseFloat('@arcTo@'));
- Node135.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node135type === 'arc') {
- Node135.a('node.arcOval', true);
- }
- Node135.setRotation(0*Math.PI/180);
- Node135.borderWidth = Node135BorderWidth;
- Node135.borderFillwidth = Node135BorderWidth;
- dataModel.add(Node135);
- Node135._nodename = 'Node135'
- Node135._nodeType = 'rect';
- zoomNodeList.push({
- node: Node135,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node135, Node135.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136 = new ht.Node();
- var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'center', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 59*_ratio.ratioX, Node136height = 26*_ratio.ratioY;
- (function () {
- if (Node136align === 'left') {
- Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
- Node136textWidth = Node136width;
- Node136lineStart = 1;
- } else if (Node136align === 'right') {
- Node136textStart = 0;
- Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
- Node136lineStart = (Node136width - (ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(1284*ratio.ratioX, 54*ratio.ratioY);
- Node136.setWidth(Node136width);
- Node136.setHeight(Node136height);
- Node136._nodeType = 'text';
- Node136._disallowEvert = true;
- Node136.setRotation(0*Math.PI/180);
- Node136.a('node.width', Node136width);
- Node136.a('node.height', Node136height);
- Node136.a('node.rect', [0, 0, Node136width, Node136height]);
- Node136.a('node.bordercolor','rgba(128,128,128,1)');
- Node136.a('node.borderwidth', 0);
- Node136.a('node.background','' || 'rgba(0,0,0,0)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','');
- Node136.a('node.text','万kWh');
- Node136.a('node.textalign','center');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(128,128,128,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
- Node136.a('node.textvisible',true);
- Node136.a('node.linefeed',false);
- if (false) {
- Node136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node136.a('node.text') || '万kWh';
- var color=Node136.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"center",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'center', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 59*_ratio.ratioX, Node137height = 26*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(1284*ratio.ratioX, 78*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(128,128,128,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','万kWh');
- Node137.a('node.textalign','center');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(128,128,128,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '万kWh';
- var color=Node137.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"center",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'center', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 59*_ratio.ratioX, Node138height = 26*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(1284*ratio.ratioX, 101*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(128,128,128,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','万kWh');
- Node138.a('node.textalign','center');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(128,128,128,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '万kWh';
- var color=Node138.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"center",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.Node();
- var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'center', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 59*_ratio.ratioX, Node139height = 26*_ratio.ratioY;
- (function () {
- if (Node139align === 'left') {
- Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9;
- Node139textWidth = Node139width;
- Node139lineStart = 1;
- } else if (Node139align === 'right') {
- Node139textStart = 0;
- Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2;
- Node139lineStart = (Node139width - (ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(1284*ratio.ratioX, 127*ratio.ratioY);
- Node139.setWidth(Node139width);
- Node139.setHeight(Node139height);
- Node139._nodeType = 'text';
- Node139._disallowEvert = true;
- Node139.setRotation(0*Math.PI/180);
- Node139.a('node.width', Node139width);
- Node139.a('node.height', Node139height);
- Node139.a('node.rect', [0, 0, Node139width, Node139height]);
- Node139.a('node.bordercolor','rgba(128,128,128,1)');
- Node139.a('node.borderwidth', 0);
- Node139.a('node.background','' || 'rgba(0,0,0,0)');
- Node139.a('node.gradient','');
- Node139.a('node.gradientcolor','');
- Node139.a('node.text','万kWh');
- Node139.a('node.textalign','center');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(128,128,128,1)');
- Node139.a('node.font',' '+ Node139fontSize + 'px "Arial"');
- Node139.a('node.textvisible',true);
- Node139.a('node.linefeed',false);
- if (false) {
- Node139.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139.a('node.text') || '万kWh';
- var color=Node139.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"center",color,' '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]);
- Node139.a('node.underlinevisible',false);
- Node139.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139);
- zoomNodeList.push({
- node: Node139,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140 = new ht.Node();
- var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'center', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 59*_ratio.ratioX, Node140height = 26*_ratio.ratioY;
- (function () {
- if (Node140align === 'left') {
- Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
- Node140textWidth = Node140width;
- Node140lineStart = 1;
- } else if (Node140align === 'right') {
- Node140textStart = 0;
- Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
- Node140lineStart = (Node140width - (ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(1284*ratio.ratioX, 151*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(128,128,128,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','万kWh');
- Node140.a('node.textalign','center');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(128,128,128,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || '万kWh';
- var color=Node140.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"center",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
- Node140.a('node.underlinevisible',false);
- Node140.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node140);
- zoomNodeList.push({
- node: Node140,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141 = new ht.Node();
- var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 67*_ratio.ratioX, Node141height = 26*_ratio.ratioY;
- (function () {
- if (Node141align === 'left') {
- Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9;
- Node141textWidth = Node141width;
- Node141lineStart = 1;
- } else if (Node141align === 'right') {
- Node141textStart = 0;
- Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2;
- Node141lineStart = (Node141width - (ht.Default.getTextSize('装机容量', ' '+ Node141fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('装机容量', ' '+ Node141fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "微软雅黑"'))
- Node141.setPosition(229*ratio.ratioX, 53*ratio.ratioY);
- Node141.setWidth(Node141width);
- Node141.setHeight(Node141height);
- Node141._nodeType = 'text';
- Node141._disallowEvert = true;
- Node141.setRotation(0*Math.PI/180);
- Node141.a('node.width', Node141width);
- Node141.a('node.height', Node141height);
- Node141.a('node.rect', [0, 0, Node141width, Node141height]);
- Node141.a('node.bordercolor','rgba(0,0,0,1)');
- Node141.a('node.borderwidth', 0);
- Node141.a('node.background','' || 'rgba(0,0,0,0)');
- Node141.a('node.gradient','');
- Node141.a('node.gradientcolor','');
- Node141.a('node.text','装机容量');
- Node141.a('node.textalign','left');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(0,0,0,1)');
- Node141.a('node.font',' '+ Node141fontSize + 'px "微软雅黑"');
- Node141.a('node.textvisible',true);
- Node141.a('node.linefeed',false);
- if (false) {
- Node141.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node141.a('node.text') || '装机容量';
- var color=Node141.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"left",color,' '+ Node141fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node141fontSize + 'px "微软雅黑"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]);
- Node141.a('node.underlinevisible',false);
- Node141.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node141);
- zoomNodeList.push({
- node: Node141,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node142type = 'rect';
- var Node142 = new ht.Node(),
- Node142BorderWidth = 1*2;
- if (Node142type === 'arc') {
- Node142BorderWidth *= 1;
- }
- Node142.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node142.setPosition(360*ratio.ratioX, 52*ratio.ratioY);
- Node142.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node142.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node142.a('node.width', 94*_ratio.ratioX);
- Node142.a('node.height', 24.33136*_ratio.ratioY);
- Node142.a('node.type', Node142type);
- Node142.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node142.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node142.a('node.gradientcolor', '');
- Node142.a('node.gradient', '');
- Node142.a('node.borderwidth', Node142BorderWidth);
- Node142.a('node.color', 'rgba(224,224,224,1)');
- Node142.a('node.fillrect', [0,0,0,0]);
- Node142.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node142.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node142.a('node.fillgradient', '');
- if (Node142type !== 'rect') {
- Node142.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node142.a('node.arcTo', parseFloat('@arcTo@'));
- Node142.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node142type === 'arc') {
- Node142.a('node.arcOval', true);
- }
- Node142.setRotation(0*Math.PI/180);
- Node142.borderWidth = Node142BorderWidth;
- Node142.borderFillwidth = Node142BorderWidth;
- dataModel.add(Node142);
- Node142._nodename = 'Node142'
- Node142._nodeType = 'rect';
- zoomNodeList.push({
- node: Node142,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node142, Node142.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143type = 'rect';
- var Node143 = new ht.Node(),
- Node143BorderWidth = 1*2;
- if (Node143type === 'arc') {
- Node143BorderWidth *= 1;
- }
- Node143.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node143.setPosition(360*ratio.ratioX, 76*ratio.ratioY);
- Node143.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node143.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node143.a('node.width', 94*_ratio.ratioX);
- Node143.a('node.height', 24.33138*_ratio.ratioY);
- Node143.a('node.type', Node143type);
- Node143.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node143.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node143.a('node.gradientcolor', '');
- Node143.a('node.gradient', '');
- Node143.a('node.borderwidth', Node143BorderWidth);
- Node143.a('node.color', 'rgba(224,224,224,1)');
- Node143.a('node.fillrect', [0,0,0,0]);
- Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradient', '');
- if (Node143type !== 'rect') {
- Node143.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node143.a('node.arcTo', parseFloat('@arcTo@'));
- Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node143type === 'arc') {
- Node143.a('node.arcOval', true);
- }
- Node143.setRotation(0*Math.PI/180);
- Node143.borderWidth = Node143BorderWidth;
- Node143.borderFillwidth = Node143BorderWidth;
- dataModel.add(Node143);
- Node143._nodename = 'Node143'
- Node143._nodeType = 'rect';
- zoomNodeList.push({
- node: Node143,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144type = 'rect';
- var Node144 = new ht.Node(),
- Node144BorderWidth = 1*2;
- if (Node144type === 'arc') {
- Node144BorderWidth *= 1;
- }
- Node144.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node144.setPosition(360*ratio.ratioX, 100*ratio.ratioY);
- Node144.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node144.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node144.a('node.width', 94*_ratio.ratioX);
- Node144.a('node.height', 24.33138*_ratio.ratioY);
- Node144.a('node.type', Node144type);
- Node144.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node144.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node144.a('node.gradientcolor', '');
- Node144.a('node.gradient', '');
- Node144.a('node.borderwidth', Node144BorderWidth);
- Node144.a('node.color', 'rgba(224,224,224,1)');
- Node144.a('node.fillrect', [0,0,0,0]);
- Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradient', '');
- if (Node144type !== 'rect') {
- Node144.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node144.a('node.arcTo', parseFloat('@arcTo@'));
- Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node144type === 'arc') {
- Node144.a('node.arcOval', true);
- }
- Node144.setRotation(0*Math.PI/180);
- Node144.borderWidth = Node144BorderWidth;
- Node144.borderFillwidth = Node144BorderWidth;
- dataModel.add(Node144);
- Node144._nodename = 'Node144'
- Node144._nodeType = 'rect';
- zoomNodeList.push({
- node: Node144,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145type = 'rect';
- var Node145 = new ht.Node(),
- Node145BorderWidth = 1*2;
- if (Node145type === 'arc') {
- Node145BorderWidth *= 1;
- }
- Node145.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node145.setPosition(360*ratio.ratioX, 125*ratio.ratioY);
- Node145.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node145.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node145.a('node.width', 94*_ratio.ratioX);
- Node145.a('node.height', 24.33136*_ratio.ratioY);
- Node145.a('node.type', Node145type);
- Node145.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node145.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node145.a('node.gradientcolor', '');
- Node145.a('node.gradient', '');
- Node145.a('node.borderwidth', Node145BorderWidth);
- Node145.a('node.color', 'rgba(224,224,224,1)');
- Node145.a('node.fillrect', [0,0,0,0]);
- Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradient', '');
- if (Node145type !== 'rect') {
- Node145.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node145.a('node.arcTo', parseFloat('@arcTo@'));
- Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node145type === 'arc') {
- Node145.a('node.arcOval', true);
- }
- Node145.setRotation(0*Math.PI/180);
- Node145.borderWidth = Node145BorderWidth;
- Node145.borderFillwidth = Node145BorderWidth;
- dataModel.add(Node145);
- Node145._nodename = 'Node145'
- Node145._nodeType = 'rect';
- zoomNodeList.push({
- node: Node145,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146type = 'rect';
- var Node146 = new ht.Node(),
- Node146BorderWidth = 1*2;
- if (Node146type === 'arc') {
- Node146BorderWidth *= 1;
- }
- Node146.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node146.setPosition(360*ratio.ratioX, 149*ratio.ratioY);
- Node146.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node146.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node146.a('node.width', 94*_ratio.ratioX);
- Node146.a('node.height', 24.33138*_ratio.ratioY);
- Node146.a('node.type', Node146type);
- Node146.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node146.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node146.a('node.gradientcolor', '');
- Node146.a('node.gradient', '');
- Node146.a('node.borderwidth', Node146BorderWidth);
- Node146.a('node.color', 'rgba(224,224,224,1)');
- Node146.a('node.fillrect', [0,0,0,0]);
- Node146.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node146.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node146.a('node.fillgradient', '');
- if (Node146type !== 'rect') {
- Node146.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node146.a('node.arcTo', parseFloat('@arcTo@'));
- Node146.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node146type === 'arc') {
- Node146.a('node.arcOval', true);
- }
- Node146.setRotation(0*Math.PI/180);
- Node146.borderWidth = Node146BorderWidth;
- Node146.borderFillwidth = Node146BorderWidth;
- dataModel.add(Node146);
- Node146._nodename = 'Node146'
- Node146._nodeType = 'rect';
- zoomNodeList.push({
- node: Node146,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node146, Node146.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147 = new ht.Node();
- var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'center', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 58*_ratio.ratioX, Node147height = 26*_ratio.ratioY;
- (function () {
- if (Node147align === 'left') {
- Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
- Node147textWidth = Node147width;
- Node147lineStart = 1;
- } else if (Node147align === 'right') {
- Node147textStart = 0;
- Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
- Node147lineStart = (Node147width - (ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node147align === 'center') {
- Node147textStart = -3;
- Node147textWidth = Node147width;
- Node147lineStart = Node147width - ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
- Node147.setPosition(360*ratio.ratioX, 54*ratio.ratioY);
- Node147.setWidth(Node147width);
- Node147.setHeight(Node147height);
- Node147._nodeType = 'text';
- Node147._disallowEvert = true;
- Node147.setRotation(0*Math.PI/180);
- Node147.a('node.width', Node147width);
- Node147.a('node.height', Node147height);
- Node147.a('node.rect', [0, 0, Node147width, Node147height]);
- Node147.a('node.bordercolor','rgba(0,0,0,1)');
- Node147.a('node.borderwidth', 0);
- Node147.a('node.background','' || 'rgba(0,0,0,0)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','');
- Node147.a('node.text','0');
- Node147.a('node.textalign','center');
- Node147.a('node.textvAlign','middle');
- Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
- Node147.a('node.color','rgba(0,0,0,1)');
- Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
- Node147.a('node.textvisible',true);
- Node147.a('node.linefeed',false);
- if (false) {
- Node147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node147.a('node.text') || '0';
- var color=Node147.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"center",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node147.a('node.underlinepoints',[Node147lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
- Node147.a('node.underlinevisible',false);
- Node147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node147);
- zoomNodeList.push({
- node: Node147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'center', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 58*_ratio.ratioX, Node148height = 26*_ratio.ratioY;
- (function () {
- if (Node148align === 'left') {
- Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9;
- Node148textWidth = Node148width;
- Node148lineStart = 1;
- } else if (Node148align === 'right') {
- Node148textStart = 0;
- Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2;
- Node148lineStart = (Node148width - (ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(360*ratio.ratioX, 78*ratio.ratioY);
- Node148.setWidth(Node148width);
- Node148.setHeight(Node148height);
- Node148._nodeType = 'text';
- Node148._disallowEvert = true;
- Node148.setRotation(0*Math.PI/180);
- Node148.a('node.width', Node148width);
- Node148.a('node.height', Node148height);
- Node148.a('node.rect', [0, 0, Node148width, Node148height]);
- Node148.a('node.bordercolor','rgba(0,0,0,1)');
- Node148.a('node.borderwidth', 0);
- Node148.a('node.background','' || 'rgba(0,0,0,0)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','');
- Node148.a('node.text','0');
- Node148.a('node.textalign','center');
- Node148.a('node.textvAlign','middle');
- Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
- Node148.a('node.color','rgba(0,0,0,1)');
- Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"');
- Node148.a('node.textvisible',true);
- Node148.a('node.linefeed',false);
- if (false) {
- Node148.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node148.a('node.text') || '0';
- var color=Node148.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"center",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
- Node148.a('node.underlinevisible',false);
- Node148.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node148);
- zoomNodeList.push({
- node: Node148,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149 = new ht.Node();
- var Node149textStart, Node149textWidth, Node149lineStart, Node149align = 'center', Node149fontSize = 13.3333*_ratio.ratioY,Node149width = 58*_ratio.ratioX, Node149height = 26*_ratio.ratioY;
- (function () {
- if (Node149align === 'left') {
- Node149textStart = Node149fontSize * 0.2 > 2 ? Node149fontSize * 0.2 - 4 : Node149fontSize * 0.2 - 9;
- Node149textWidth = Node149width;
- Node149lineStart = 1;
- } else if (Node149align === 'right') {
- Node149textStart = 0;
- Node149textWidth =Node149fontSize <= 8 ? Node149width + Node149fontSize * 0.2 + 6 : Node149width - Node149fontSize * 0.2;
- Node149lineStart = (Node149width - (ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node149align === 'center') {
- Node149textStart = -3;
- Node149textWidth = Node149width;
- Node149lineStart = Node149width - ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node149.setImage(GD.getTextJSON(Node149width, Node149height, true, false, false, ' '+ Node149fontSize + 'px "Arial"'))
- Node149.setPosition(360*ratio.ratioX, 103*ratio.ratioY);
- Node149.setWidth(Node149width);
- Node149.setHeight(Node149height);
- Node149._nodeType = 'text';
- Node149._disallowEvert = true;
- Node149.setRotation(0*Math.PI/180);
- Node149.a('node.width', Node149width);
- Node149.a('node.height', Node149height);
- Node149.a('node.rect', [0, 0, Node149width, Node149height]);
- Node149.a('node.bordercolor','rgba(0,0,0,1)');
- Node149.a('node.borderwidth', 0);
- Node149.a('node.background','' || 'rgba(0,0,0,0)');
- Node149.a('node.gradient','');
- Node149.a('node.gradientcolor','');
- Node149.a('node.text','0');
- Node149.a('node.textalign','center');
- Node149.a('node.textvAlign','middle');
- Node149.a('node.textrect', [Node149textStart, 0, Node149textWidth, Node149height]);
- Node149.a('node.color','rgba(0,0,0,1)');
- Node149.a('node.font',' '+ Node149fontSize + 'px "Arial"');
- Node149.a('node.textvisible',true);
- Node149.a('node.linefeed',false);
- if (false) {
- Node149.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node149.a('node.text') || '0';
- var color=Node149.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node149width,Node149height,13.3333*_ratio.ratioY,"center",color,' '+ Node149fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node149.a('node.underlinepoints',[Node149lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node149fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width + 6, (Node149height - Node149fontSize) * 0.5*_ratio.ratioY + Node149fontSize + 2 ]);
- Node149.a('node.underlinevisible',false);
- Node149.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node149);
- zoomNodeList.push({
- node: Node149,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150 = new ht.Node();
- var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'center', Node150fontSize = 13.3333*_ratio.ratioY,Node150width = 58*_ratio.ratioX, Node150height = 26*_ratio.ratioY;
- (function () {
- if (Node150align === 'left') {
- Node150textStart = Node150fontSize * 0.2 > 2 ? Node150fontSize * 0.2 - 4 : Node150fontSize * 0.2 - 9;
- Node150textWidth = Node150width;
- Node150lineStart = 1;
- } else if (Node150align === 'right') {
- Node150textStart = 0;
- Node150textWidth =Node150fontSize <= 8 ? Node150width + Node150fontSize * 0.2 + 6 : Node150width - Node150fontSize * 0.2;
- Node150lineStart = (Node150width - (ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node150align === 'center') {
- Node150textStart = -3;
- Node150textWidth = Node150width;
- Node150lineStart = Node150width - ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "Arial"'))
- Node150.setPosition(360*ratio.ratioX, 126*ratio.ratioY);
- Node150.setWidth(Node150width);
- Node150.setHeight(Node150height);
- Node150._nodeType = 'text';
- Node150._disallowEvert = true;
- Node150.setRotation(0*Math.PI/180);
- Node150.a('node.width', Node150width);
- Node150.a('node.height', Node150height);
- Node150.a('node.rect', [0, 0, Node150width, Node150height]);
- Node150.a('node.bordercolor','rgba(0,0,0,1)');
- Node150.a('node.borderwidth', 0);
- Node150.a('node.background','' || 'rgba(0,0,0,0)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','');
- Node150.a('node.text','0');
- Node150.a('node.textalign','center');
- Node150.a('node.textvAlign','middle');
- Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]);
- Node150.a('node.color','rgba(0,0,0,1)');
- Node150.a('node.font',' '+ Node150fontSize + 'px "Arial"');
- Node150.a('node.textvisible',true);
- Node150.a('node.linefeed',false);
- if (false) {
- Node150.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node150.a('node.text') || '0';
- var color=Node150.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node150width,Node150height,13.3333*_ratio.ratioY,"center",color,' '+ Node150fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node150.a('node.underlinepoints',[Node150lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]);
- Node150.a('node.underlinevisible',false);
- Node150.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node150);
- zoomNodeList.push({
- node: Node150,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151 = new ht.Node();
- var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'center', Node151fontSize = 13.3333*_ratio.ratioY,Node151width = 58*_ratio.ratioX, Node151height = 26*_ratio.ratioY;
- (function () {
- if (Node151align === 'left') {
- Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9;
- Node151textWidth = Node151width;
- Node151lineStart = 1;
- } else if (Node151align === 'right') {
- Node151textStart = 0;
- Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2;
- Node151lineStart = (Node151width - (ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"'))
- Node151.setPosition(360*ratio.ratioX, 150*ratio.ratioY);
- Node151.setWidth(Node151width);
- Node151.setHeight(Node151height);
- Node151._nodeType = 'text';
- Node151._disallowEvert = true;
- Node151.setRotation(0*Math.PI/180);
- Node151.a('node.width', Node151width);
- Node151.a('node.height', Node151height);
- Node151.a('node.rect', [0, 0, Node151width, Node151height]);
- Node151.a('node.bordercolor','rgba(0,0,0,1)');
- Node151.a('node.borderwidth', 0);
- Node151.a('node.background','' || 'rgba(0,0,0,0)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','');
- Node151.a('node.text','0');
- Node151.a('node.textalign','center');
- Node151.a('node.textvAlign','middle');
- Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]);
- Node151.a('node.color','rgba(0,0,0,1)');
- Node151.a('node.font',' '+ Node151fontSize + 'px "Arial"');
- Node151.a('node.textvisible',true);
- Node151.a('node.linefeed',false);
- if (false) {
- Node151.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node151.a('node.text') || '0';
- var color=Node151.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151width,Node151height,13.3333*_ratio.ratioY,"center",color,' '+ Node151fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]);
- Node151.a('node.underlinevisible',false);
- Node151.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node151);
- zoomNodeList.push({
- node: Node151,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152type = 'rect';
- var Node152 = new ht.Node(),
- Node152BorderWidth = 1*2;
- if (Node152type === 'arc') {
- Node152BorderWidth *= 1;
- }
- Node152.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node152type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node152.setPosition(439*ratio.ratioX, 52*ratio.ratioY);
- Node152.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node152.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node152.a('node.width', 65*_ratio.ratioX);
- Node152.a('node.height', 24.33136*_ratio.ratioY);
- Node152.a('node.type', Node152type);
- Node152.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node152.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node152.a('node.gradientcolor', '');
- Node152.a('node.gradient', '');
- Node152.a('node.borderwidth', Node152BorderWidth);
- Node152.a('node.color', 'rgba(224,224,224,1)');
- Node152.a('node.fillrect', [0,0,0,0]);
- Node152.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradient', '');
- if (Node152type !== 'rect') {
- Node152.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node152.a('node.arcTo', parseFloat('@arcTo@'));
- Node152.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node152type === 'arc') {
- Node152.a('node.arcOval', true);
- }
- Node152.setRotation(0*Math.PI/180);
- Node152.borderWidth = Node152BorderWidth;
- Node152.borderFillwidth = Node152BorderWidth;
- dataModel.add(Node152);
- Node152._nodename = 'Node152'
- Node152._nodeType = 'rect';
- zoomNodeList.push({
- node: Node152,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node152, Node152.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153type = 'rect';
- var Node153 = new ht.Node(),
- Node153BorderWidth = 1*2;
- if (Node153type === 'arc') {
- Node153BorderWidth *= 1;
- }
- Node153.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node153type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node153.setPosition(439*ratio.ratioX, 76*ratio.ratioY);
- Node153.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node153.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node153.a('node.width', 65*_ratio.ratioX);
- Node153.a('node.height', 24.33138*_ratio.ratioY);
- Node153.a('node.type', Node153type);
- Node153.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node153.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node153.a('node.gradientcolor', '');
- Node153.a('node.gradient', '');
- Node153.a('node.borderwidth', Node153BorderWidth);
- Node153.a('node.color', 'rgba(224,224,224,1)');
- Node153.a('node.fillrect', [0,0,0,0]);
- Node153.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node153.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node153.a('node.fillgradient', '');
- if (Node153type !== 'rect') {
- Node153.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node153.a('node.arcTo', parseFloat('@arcTo@'));
- Node153.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node153type === 'arc') {
- Node153.a('node.arcOval', true);
- }
- Node153.setRotation(0*Math.PI/180);
- Node153.borderWidth = Node153BorderWidth;
- Node153.borderFillwidth = Node153BorderWidth;
- dataModel.add(Node153);
- Node153._nodename = 'Node153'
- Node153._nodeType = 'rect';
- zoomNodeList.push({
- node: Node153,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node153, Node153.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154type = 'rect';
- var Node154 = new ht.Node(),
- Node154BorderWidth = 1*2;
- if (Node154type === 'arc') {
- Node154BorderWidth *= 1;
- }
- Node154.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node154type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node154.setPosition(439*ratio.ratioX, 100*ratio.ratioY);
- Node154.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node154.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node154.a('node.width', 65*_ratio.ratioX);
- Node154.a('node.height', 24.33138*_ratio.ratioY);
- Node154.a('node.type', Node154type);
- Node154.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node154.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node154.a('node.gradientcolor', '');
- Node154.a('node.gradient', '');
- Node154.a('node.borderwidth', Node154BorderWidth);
- Node154.a('node.color', 'rgba(224,224,224,1)');
- Node154.a('node.fillrect', [0,0,0,0]);
- Node154.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node154.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node154.a('node.fillgradient', '');
- if (Node154type !== 'rect') {
- Node154.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node154.a('node.arcTo', parseFloat('@arcTo@'));
- Node154.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node154type === 'arc') {
- Node154.a('node.arcOval', true);
- }
- Node154.setRotation(0*Math.PI/180);
- Node154.borderWidth = Node154BorderWidth;
- Node154.borderFillwidth = Node154BorderWidth;
- dataModel.add(Node154);
- Node154._nodename = 'Node154'
- Node154._nodeType = 'rect';
- zoomNodeList.push({
- node: Node154,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node154, Node154.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node155type = 'rect';
- var Node155 = new ht.Node(),
- Node155BorderWidth = 1*2;
- if (Node155type === 'arc') {
- Node155BorderWidth *= 1;
- }
- Node155.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node155type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node155.setPosition(439*ratio.ratioX, 125*ratio.ratioY);
- Node155.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node155.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node155.a('node.width', 65*_ratio.ratioX);
- Node155.a('node.height', 24.33136*_ratio.ratioY);
- Node155.a('node.type', Node155type);
- Node155.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node155.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node155.a('node.gradientcolor', '');
- Node155.a('node.gradient', '');
- Node155.a('node.borderwidth', Node155BorderWidth);
- Node155.a('node.color', 'rgba(224,224,224,1)');
- Node155.a('node.fillrect', [0,0,0,0]);
- Node155.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradient', '');
- if (Node155type !== 'rect') {
- Node155.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node155.a('node.arcTo', parseFloat('@arcTo@'));
- Node155.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node155type === 'arc') {
- Node155.a('node.arcOval', true);
- }
- Node155.setRotation(0*Math.PI/180);
- Node155.borderWidth = Node155BorderWidth;
- Node155.borderFillwidth = Node155BorderWidth;
- dataModel.add(Node155);
- Node155._nodename = 'Node155'
- Node155._nodeType = 'rect';
- zoomNodeList.push({
- node: Node155,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node155, Node155.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156type = 'rect';
- var Node156 = new ht.Node(),
- Node156BorderWidth = 1*2;
- if (Node156type === 'arc') {
- Node156BorderWidth *= 1;
- }
- Node156.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node156type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node156.setPosition(439*ratio.ratioX, 149*ratio.ratioY);
- Node156.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node156.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node156.a('node.width', 65*_ratio.ratioX);
- Node156.a('node.height', 24.33138*_ratio.ratioY);
- Node156.a('node.type', Node156type);
- Node156.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node156.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node156.a('node.gradientcolor', '');
- Node156.a('node.gradient', '');
- Node156.a('node.borderwidth', Node156BorderWidth);
- Node156.a('node.color', 'rgba(224,224,224,1)');
- Node156.a('node.fillrect', [0,0,0,0]);
- Node156.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node156.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node156.a('node.fillgradient', '');
- if (Node156type !== 'rect') {
- Node156.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node156.a('node.arcTo', parseFloat('@arcTo@'));
- Node156.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node156type === 'arc') {
- Node156.a('node.arcOval', true);
- }
- Node156.setRotation(0*Math.PI/180);
- Node156.borderWidth = Node156BorderWidth;
- Node156.borderFillwidth = Node156BorderWidth;
- dataModel.add(Node156);
- Node156._nodename = 'Node156'
- Node156._nodeType = 'rect';
- zoomNodeList.push({
- node: Node156,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node156, Node156.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'center', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 59*_ratio.ratioX, Node157height = 26*_ratio.ratioY;
- (function () {
- if (Node157align === 'left') {
- Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9;
- Node157textWidth = Node157width;
- Node157lineStart = 1;
- } else if (Node157align === 'right') {
- Node157textStart = 0;
- Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2;
- Node157lineStart = (Node157width - (ht.Default.getTextSize('万kW', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('万kW', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(440*ratio.ratioX, 54*ratio.ratioY);
- Node157.setWidth(Node157width);
- Node157.setHeight(Node157height);
- Node157._nodeType = 'text';
- Node157._disallowEvert = true;
- Node157.setRotation(0*Math.PI/180);
- Node157.a('node.width', Node157width);
- Node157.a('node.height', Node157height);
- Node157.a('node.rect', [0, 0, Node157width, Node157height]);
- Node157.a('node.bordercolor','rgba(128,128,128,1)');
- Node157.a('node.borderwidth', 0);
- Node157.a('node.background','' || 'rgba(0,0,0,0)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','');
- Node157.a('node.text','万kW');
- Node157.a('node.textalign','center');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(128,128,128,1)');
- Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || '万kW';
- var color=Node157.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"center",color,' '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'center', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 59*_ratio.ratioX, Node158height = 26*_ratio.ratioY;
- (function () {
- if (Node158align === 'left') {
- Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
- Node158textWidth = Node158width;
- Node158lineStart = 1;
- } else if (Node158align === 'right') {
- Node158textStart = 0;
- Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
- Node158lineStart = (Node158width - (ht.Default.getTextSize('MW', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('MW', ' '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(440*ratio.ratioX, 78*ratio.ratioY);
- Node158.setWidth(Node158width);
- Node158.setHeight(Node158height);
- Node158._nodeType = 'text';
- Node158._disallowEvert = true;
- Node158.setRotation(0*Math.PI/180);
- Node158.a('node.width', Node158width);
- Node158.a('node.height', Node158height);
- Node158.a('node.rect', [0, 0, Node158width, Node158height]);
- Node158.a('node.bordercolor','rgba(128,128,128,1)');
- Node158.a('node.borderwidth', 0);
- Node158.a('node.background','' || 'rgba(0,0,0,0)');
- Node158.a('node.gradient','');
- Node158.a('node.gradientcolor','');
- Node158.a('node.text','MW');
- Node158.a('node.textalign','center');
- Node158.a('node.textvAlign','middle');
- Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
- Node158.a('node.color','rgba(128,128,128,1)');
- Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || 'MW';
- var color=Node158.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"center",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
- Node158.a('node.underlinevisible',false);
- Node158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158);
- zoomNodeList.push({
- node: Node158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159 = new ht.Node();
- var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'center', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 59*_ratio.ratioX, Node159height = 26*_ratio.ratioY;
- (function () {
- if (Node159align === 'left') {
- Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
- Node159textWidth = Node159width;
- Node159lineStart = 1;
- } else if (Node159align === 'right') {
- Node159textStart = 0;
- Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
- Node159lineStart = (Node159width - (ht.Default.getTextSize('m/s', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('m/s', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(440*ratio.ratioX, 101*ratio.ratioY);
- Node159.setWidth(Node159width);
- Node159.setHeight(Node159height);
- Node159._nodeType = 'text';
- Node159._disallowEvert = true;
- Node159.setRotation(0*Math.PI/180);
- Node159.a('node.width', Node159width);
- Node159.a('node.height', Node159height);
- Node159.a('node.rect', [0, 0, Node159width, Node159height]);
- Node159.a('node.bordercolor','rgba(128,128,128,1)');
- Node159.a('node.borderwidth', 0);
- Node159.a('node.background','' || 'rgba(0,0,0,0)');
- Node159.a('node.gradient','');
- Node159.a('node.gradientcolor','');
- Node159.a('node.text','m/s');
- Node159.a('node.textalign','center');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(128,128,128,1)');
- Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"');
- Node159.a('node.textvisible',true);
- Node159.a('node.linefeed',false);
- if (false) {
- Node159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node159.a('node.text') || 'm/s';
- var color=Node159.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"center",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'center', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 59*_ratio.ratioX, Node160height = 26*_ratio.ratioY;
- (function () {
- if (Node160align === 'left') {
- Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9;
- Node160textWidth = Node160width;
- Node160lineStart = 1;
- } else if (Node160align === 'right') {
- Node160textStart = 0;
- Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2;
- Node160lineStart = (Node160width - (ht.Default.getTextSize('万kWh', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('万kWh', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(440*ratio.ratioX, 127*ratio.ratioY);
- Node160.setWidth(Node160width);
- Node160.setHeight(Node160height);
- Node160._nodeType = 'text';
- Node160._disallowEvert = true;
- Node160.setRotation(0*Math.PI/180);
- Node160.a('node.width', Node160width);
- Node160.a('node.height', Node160height);
- Node160.a('node.rect', [0, 0, Node160width, Node160height]);
- Node160.a('node.bordercolor','rgba(128,128,128,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','万kWh');
- Node160.a('node.textalign','center');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(128,128,128,1)');
- Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || '万kWh';
- var color=Node160.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"center",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
- Node160.a('node.underlinevisible',false);
- Node160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node160);
- zoomNodeList.push({
- node: Node160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161 = new ht.Node();
- var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'center', Node161fontSize = 13.3333*_ratio.ratioY,Node161width = 59*_ratio.ratioX, Node161height = 26*_ratio.ratioY;
- (function () {
- if (Node161align === 'left') {
- Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9;
- Node161textWidth = Node161width;
- Node161lineStart = 1;
- } else if (Node161align === 'right') {
- Node161textStart = 0;
- Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2;
- Node161lineStart = (Node161width - (ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161align === 'center') {
- Node161textStart = -3;
- Node161textWidth = Node161width;
- Node161lineStart = Node161width - ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"'))
- Node161.setPosition(440*ratio.ratioX, 151*ratio.ratioY);
- Node161.setWidth(Node161width);
- Node161.setHeight(Node161height);
- Node161._nodeType = 'text';
- Node161._disallowEvert = true;
- Node161.setRotation(0*Math.PI/180);
- Node161.a('node.width', Node161width);
- Node161.a('node.height', Node161height);
- Node161.a('node.rect', [0, 0, Node161width, Node161height]);
- Node161.a('node.bordercolor','rgba(128,128,128,1)');
- Node161.a('node.borderwidth', 0);
- Node161.a('node.background','' || 'rgba(0,0,0,0)');
- Node161.a('node.gradient','');
- Node161.a('node.gradientcolor','');
- Node161.a('node.text','万kWh');
- Node161.a('node.textalign','center');
- Node161.a('node.textvAlign','middle');
- Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]);
- Node161.a('node.color','rgba(128,128,128,1)');
- Node161.a('node.font',' '+ Node161fontSize + 'px "Arial"');
- Node161.a('node.textvisible',true);
- Node161.a('node.linefeed',false);
- if (false) {
- Node161.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161.a('node.text') || '万kWh';
- var color=Node161.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node161width,Node161height,13.3333*_ratio.ratioY,"center",color,' '+ Node161fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161.a('node.underlinepoints',[Node161lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]);
- Node161.a('node.underlinevisible',false);
- Node161.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161);
- zoomNodeList.push({
- node: Node161,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162type = 'rect';
- var Node162 = new ht.Node(),
- Node162BorderWidth = 1*2;
- if (Node162type === 'arc') {
- Node162BorderWidth *= 1;
- }
- Node162.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node162.setPosition(644*ratio.ratioX, 52*ratio.ratioY);
- Node162.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node162.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node162.a('node.width', 94*_ratio.ratioX);
- Node162.a('node.height', 24.33136*_ratio.ratioY);
- Node162.a('node.type', Node162type);
- Node162.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node162.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node162.a('node.gradientcolor', '');
- Node162.a('node.gradient', '');
- Node162.a('node.borderwidth', Node162BorderWidth);
- Node162.a('node.color', 'rgba(224,224,224,1)');
- Node162.a('node.fillrect', [0,0,0,0]);
- Node162.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradient', '');
- if (Node162type !== 'rect') {
- Node162.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node162.a('node.arcTo', parseFloat('@arcTo@'));
- Node162.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node162type === 'arc') {
- Node162.a('node.arcOval', true);
- }
- Node162.setRotation(0*Math.PI/180);
- Node162.borderWidth = Node162BorderWidth;
- Node162.borderFillwidth = Node162BorderWidth;
- dataModel.add(Node162);
- Node162._nodename = 'Node162'
- Node162._nodeType = 'rect';
- zoomNodeList.push({
- node: Node162,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node162, Node162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163type = 'rect';
- var Node163 = new ht.Node(),
- Node163BorderWidth = 1*2;
- if (Node163type === 'arc') {
- Node163BorderWidth *= 1;
- }
- Node163.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node163type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node163.setPosition(644*ratio.ratioX, 76*ratio.ratioY);
- Node163.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node163.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node163.a('node.width', 94*_ratio.ratioX);
- Node163.a('node.height', 24.33138*_ratio.ratioY);
- Node163.a('node.type', Node163type);
- Node163.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node163.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node163.a('node.gradientcolor', '');
- Node163.a('node.gradient', '');
- Node163.a('node.borderwidth', Node163BorderWidth);
- Node163.a('node.color', 'rgba(224,224,224,1)');
- Node163.a('node.fillrect', [0,0,0,0]);
- Node163.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradient', '');
- if (Node163type !== 'rect') {
- Node163.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node163.a('node.arcTo', parseFloat('@arcTo@'));
- Node163.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node163type === 'arc') {
- Node163.a('node.arcOval', true);
- }
- Node163.setRotation(0*Math.PI/180);
- Node163.borderWidth = Node163BorderWidth;
- Node163.borderFillwidth = Node163BorderWidth;
- dataModel.add(Node163);
- Node163._nodename = 'Node163'
- Node163._nodeType = 'rect';
- zoomNodeList.push({
- node: Node163,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node163, Node163.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164type = 'rect';
- var Node164 = new ht.Node(),
- Node164BorderWidth = 1*2;
- if (Node164type === 'arc') {
- Node164BorderWidth *= 1;
- }
- Node164.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node164type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node164.setPosition(644*ratio.ratioX, 100*ratio.ratioY);
- Node164.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node164.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node164.a('node.width', 94*_ratio.ratioX);
- Node164.a('node.height', 24.33138*_ratio.ratioY);
- Node164.a('node.type', Node164type);
- Node164.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node164.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node164.a('node.gradientcolor', '');
- Node164.a('node.gradient', '');
- Node164.a('node.borderwidth', Node164BorderWidth);
- Node164.a('node.color', 'rgba(224,224,224,1)');
- Node164.a('node.fillrect', [0,0,0,0]);
- Node164.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradient', '');
- if (Node164type !== 'rect') {
- Node164.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node164.a('node.arcTo', parseFloat('@arcTo@'));
- Node164.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node164type === 'arc') {
- Node164.a('node.arcOval', true);
- }
- Node164.setRotation(0*Math.PI/180);
- Node164.borderWidth = Node164BorderWidth;
- Node164.borderFillwidth = Node164BorderWidth;
- dataModel.add(Node164);
- Node164._nodename = 'Node164'
- Node164._nodeType = 'rect';
- zoomNodeList.push({
- node: Node164,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node164, Node164.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165type = 'rect';
- var Node165 = new ht.Node(),
- Node165BorderWidth = 1*2;
- if (Node165type === 'arc') {
- Node165BorderWidth *= 1;
- }
- Node165.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node165type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node165.setPosition(644*ratio.ratioX, 125*ratio.ratioY);
- Node165.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node165.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node165.a('node.width', 94*_ratio.ratioX);
- Node165.a('node.height', 24.33136*_ratio.ratioY);
- Node165.a('node.type', Node165type);
- Node165.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node165.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node165.a('node.gradientcolor', '');
- Node165.a('node.gradient', '');
- Node165.a('node.borderwidth', Node165BorderWidth);
- Node165.a('node.color', 'rgba(224,224,224,1)');
- Node165.a('node.fillrect', [0,0,0,0]);
- Node165.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node165.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node165.a('node.fillgradient', '');
- if (Node165type !== 'rect') {
- Node165.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node165.a('node.arcTo', parseFloat('@arcTo@'));
- Node165.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node165type === 'arc') {
- Node165.a('node.arcOval', true);
- }
- Node165.setRotation(0*Math.PI/180);
- Node165.borderWidth = Node165BorderWidth;
- Node165.borderFillwidth = Node165BorderWidth;
- dataModel.add(Node165);
- Node165._nodename = 'Node165'
- Node165._nodeType = 'rect';
- zoomNodeList.push({
- node: Node165,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node165, Node165.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166type = 'rect';
- var Node166 = new ht.Node(),
- Node166BorderWidth = 1*2;
- if (Node166type === 'arc') {
- Node166BorderWidth *= 1;
- }
- Node166.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node166.setPosition(644*ratio.ratioX, 149*ratio.ratioY);
- Node166.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node166.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node166.a('node.width', 94*_ratio.ratioX);
- Node166.a('node.height', 24.33138*_ratio.ratioY);
- Node166.a('node.type', Node166type);
- Node166.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node166.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node166.a('node.gradientcolor', '');
- Node166.a('node.gradient', '');
- Node166.a('node.borderwidth', Node166BorderWidth);
- Node166.a('node.color', 'rgba(224,224,224,1)');
- Node166.a('node.fillrect', [0,0,0,0]);
- Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradient', '');
- if (Node166type !== 'rect') {
- Node166.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node166.a('node.arcTo', parseFloat('@arcTo@'));
- Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node166type === 'arc') {
- Node166.a('node.arcOval', true);
- }
- Node166.setRotation(0*Math.PI/180);
- Node166.borderWidth = Node166BorderWidth;
- Node166.borderFillwidth = Node166BorderWidth;
- dataModel.add(Node166);
- Node166._nodename = 'Node166'
- Node166._nodeType = 'rect';
- zoomNodeList.push({
- node: Node166,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node166, Node166.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'center', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 58*_ratio.ratioX, Node167height = 26*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(644*ratio.ratioX, 54*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(0,0,0,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','0');
- Node167.a('node.textalign','center');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(0,0,0,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '0';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"center",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'center', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 58*_ratio.ratioX, Node168height = 26*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(644*ratio.ratioX, 78*ratio.ratioY);
- Node168.setWidth(Node168width);
- Node168.setHeight(Node168height);
- Node168._nodeType = 'text';
- Node168._disallowEvert = true;
- Node168.setRotation(0*Math.PI/180);
- Node168.a('node.width', Node168width);
- Node168.a('node.height', Node168height);
- Node168.a('node.rect', [0, 0, Node168width, Node168height]);
- Node168.a('node.bordercolor','rgba(0,0,0,1)');
- Node168.a('node.borderwidth', 0);
- Node168.a('node.background','' || 'rgba(0,0,0,0)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','');
- Node168.a('node.text','0');
- Node168.a('node.textalign','center');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(0,0,0,1)');
- Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '0';
- var color=Node168.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"center",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'center', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 58*_ratio.ratioX, Node169height = 26*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(644*ratio.ratioX, 103*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(0,0,0,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','0');
- Node169.a('node.textalign','center');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(0,0,0,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '0';
- var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"center",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'center', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 58*_ratio.ratioX, Node170height = 26*_ratio.ratioY;
- (function () {
- if (Node170align === 'left') {
- Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
- Node170textWidth = Node170width;
- Node170lineStart = 1;
- } else if (Node170align === 'right') {
- Node170textStart = 0;
- Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
- Node170lineStart = (Node170width - (ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(644*ratio.ratioX, 126*ratio.ratioY);
- Node170.setWidth(Node170width);
- Node170.setHeight(Node170height);
- Node170._nodeType = 'text';
- Node170._disallowEvert = true;
- Node170.setRotation(0*Math.PI/180);
- Node170.a('node.width', Node170width);
- Node170.a('node.height', Node170height);
- Node170.a('node.rect', [0, 0, Node170width, Node170height]);
- Node170.a('node.bordercolor','rgba(0,0,0,1)');
- Node170.a('node.borderwidth', 0);
- Node170.a('node.background','' || 'rgba(0,0,0,0)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','');
- Node170.a('node.text','0');
- Node170.a('node.textalign','center');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(0,0,0,1)');
- Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"');
- Node170.a('node.textvisible',true);
- Node170.a('node.linefeed',false);
- if (false) {
- Node170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node170.a('node.text') || '0';
- var color=Node170.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"center",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.Node();
- var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'center', Node171fontSize = 13.3333*_ratio.ratioY,Node171width = 58*_ratio.ratioX, Node171height = 26*_ratio.ratioY;
- (function () {
- if (Node171align === 'left') {
- Node171textStart = Node171fontSize * 0.2 > 2 ? Node171fontSize * 0.2 - 4 : Node171fontSize * 0.2 - 9;
- Node171textWidth = Node171width;
- Node171lineStart = 1;
- } else if (Node171align === 'right') {
- Node171textStart = 0;
- Node171textWidth =Node171fontSize <= 8 ? Node171width + Node171fontSize * 0.2 + 6 : Node171width - Node171fontSize * 0.2;
- Node171lineStart = (Node171width - (ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(644*ratio.ratioX, 150*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(0,0,0,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','0');
- Node171.a('node.textalign','center');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(0,0,0,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"');
- Node171.a('node.textvisible',true);
- Node171.a('node.linefeed',false);
- if (false) {
- Node171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node171.a('node.text') || '0';
- var color=Node171.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"center",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]);
- Node171.a('node.underlinevisible',false);
- Node171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node171);
- zoomNodeList.push({
- node: Node171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172type = 'rect';
- var Node172 = new ht.Node(),
- Node172BorderWidth = 1*2;
- if (Node172type === 'arc') {
- Node172BorderWidth *= 1;
- }
- Node172.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node172type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node172.setPosition(723*ratio.ratioX, 52*ratio.ratioY);
- Node172.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node172.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node172.a('node.width', 65*_ratio.ratioX);
- Node172.a('node.height', 24.33136*_ratio.ratioY);
- Node172.a('node.type', Node172type);
- Node172.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node172.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node172.a('node.gradientcolor', '');
- Node172.a('node.gradient', '');
- Node172.a('node.borderwidth', Node172BorderWidth);
- Node172.a('node.color', 'rgba(224,224,224,1)');
- Node172.a('node.fillrect', [0,0,0,0]);
- Node172.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node172.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node172.a('node.fillgradient', '');
- if (Node172type !== 'rect') {
- Node172.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node172.a('node.arcTo', parseFloat('@arcTo@'));
- Node172.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node172type === 'arc') {
- Node172.a('node.arcOval', true);
- }
- Node172.setRotation(0*Math.PI/180);
- Node172.borderWidth = Node172BorderWidth;
- Node172.borderFillwidth = Node172BorderWidth;
- dataModel.add(Node172);
- Node172._nodename = 'Node172'
- Node172._nodeType = 'rect';
- zoomNodeList.push({
- node: Node172,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node172, Node172.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173type = 'rect';
- var Node173 = new ht.Node(),
- Node173BorderWidth = 1*2;
- if (Node173type === 'arc') {
- Node173BorderWidth *= 1;
- }
- Node173.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node173type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node173.setPosition(723*ratio.ratioX, 76*ratio.ratioY);
- Node173.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node173.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node173.a('node.width', 65*_ratio.ratioX);
- Node173.a('node.height', 24.33138*_ratio.ratioY);
- Node173.a('node.type', Node173type);
- Node173.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node173.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node173.a('node.gradientcolor', '');
- Node173.a('node.gradient', '');
- Node173.a('node.borderwidth', Node173BorderWidth);
- Node173.a('node.color', 'rgba(224,224,224,1)');
- Node173.a('node.fillrect', [0,0,0,0]);
- Node173.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradient', '');
- if (Node173type !== 'rect') {
- Node173.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node173.a('node.arcTo', parseFloat('@arcTo@'));
- Node173.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node173type === 'arc') {
- Node173.a('node.arcOval', true);
- }
- Node173.setRotation(0*Math.PI/180);
- Node173.borderWidth = Node173BorderWidth;
- Node173.borderFillwidth = Node173BorderWidth;
- dataModel.add(Node173);
- Node173._nodename = 'Node173'
- Node173._nodeType = 'rect';
- zoomNodeList.push({
- node: Node173,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node173, Node173.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174type = 'rect';
- var Node174 = new ht.Node(),
- Node174BorderWidth = 1*2;
- if (Node174type === 'arc') {
- Node174BorderWidth *= 1;
- }
- Node174.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node174type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node174.setPosition(723*ratio.ratioX, 100*ratio.ratioY);
- Node174.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node174.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node174.a('node.width', 65*_ratio.ratioX);
- Node174.a('node.height', 24.33138*_ratio.ratioY);
- Node174.a('node.type', Node174type);
- Node174.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node174.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node174.a('node.gradientcolor', '');
- Node174.a('node.gradient', '');
- Node174.a('node.borderwidth', Node174BorderWidth);
- Node174.a('node.color', 'rgba(224,224,224,1)');
- Node174.a('node.fillrect', [0,0,0,0]);
- Node174.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node174.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node174.a('node.fillgradient', '');
- if (Node174type !== 'rect') {
- Node174.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node174.a('node.arcTo', parseFloat('@arcTo@'));
- Node174.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node174type === 'arc') {
- Node174.a('node.arcOval', true);
- }
- Node174.setRotation(0*Math.PI/180);
- Node174.borderWidth = Node174BorderWidth;
- Node174.borderFillwidth = Node174BorderWidth;
- dataModel.add(Node174);
- Node174._nodename = 'Node174'
- Node174._nodeType = 'rect';
- zoomNodeList.push({
- node: Node174,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node174, Node174.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175type = 'rect';
- var Node175 = new ht.Node(),
- Node175BorderWidth = 1*2;
- if (Node175type === 'arc') {
- Node175BorderWidth *= 1;
- }
- Node175.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node175type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node175.setPosition(723*ratio.ratioX, 125*ratio.ratioY);
- Node175.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node175.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node175.a('node.width', 65*_ratio.ratioX);
- Node175.a('node.height', 24.33136*_ratio.ratioY);
- Node175.a('node.type', Node175type);
- Node175.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node175.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node175.a('node.gradientcolor', '');
- Node175.a('node.gradient', '');
- Node175.a('node.borderwidth', Node175BorderWidth);
- Node175.a('node.color', 'rgba(224,224,224,1)');
- Node175.a('node.fillrect', [0,0,0,0]);
- Node175.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node175.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node175.a('node.fillgradient', '');
- if (Node175type !== 'rect') {
- Node175.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node175.a('node.arcTo', parseFloat('@arcTo@'));
- Node175.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node175type === 'arc') {
- Node175.a('node.arcOval', true);
- }
- Node175.setRotation(0*Math.PI/180);
- Node175.borderWidth = Node175BorderWidth;
- Node175.borderFillwidth = Node175BorderWidth;
- dataModel.add(Node175);
- Node175._nodename = 'Node175'
- Node175._nodeType = 'rect';
- zoomNodeList.push({
- node: Node175,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node175, Node175.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176type = 'rect';
- var Node176 = new ht.Node(),
- Node176BorderWidth = 1*2;
- if (Node176type === 'arc') {
- Node176BorderWidth *= 1;
- }
- Node176.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node176type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node176.setPosition(723*ratio.ratioX, 149*ratio.ratioY);
- Node176.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node176.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node176.a('node.width', 65*_ratio.ratioX);
- Node176.a('node.height', 24.33138*_ratio.ratioY);
- Node176.a('node.type', Node176type);
- Node176.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node176.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node176.a('node.gradientcolor', '');
- Node176.a('node.gradient', '');
- Node176.a('node.borderwidth', Node176BorderWidth);
- Node176.a('node.color', 'rgba(224,224,224,1)');
- Node176.a('node.fillrect', [0,0,0,0]);
- Node176.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node176.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node176.a('node.fillgradient', '');
- if (Node176type !== 'rect') {
- Node176.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node176.a('node.arcTo', parseFloat('@arcTo@'));
- Node176.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node176type === 'arc') {
- Node176.a('node.arcOval', true);
- }
- Node176.setRotation(0*Math.PI/180);
- Node176.borderWidth = Node176BorderWidth;
- Node176.borderFillwidth = Node176BorderWidth;
- dataModel.add(Node176);
- Node176._nodename = 'Node176'
- Node176._nodeType = 'rect';
- zoomNodeList.push({
- node: Node176,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node176, Node176.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'center', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 59*_ratio.ratioX, Node177height = 26*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(724*ratio.ratioX, 54*ratio.ratioY);
- Node177.setWidth(Node177width);
- Node177.setHeight(Node177height);
- Node177._nodeType = 'text';
- Node177._disallowEvert = true;
- Node177.setRotation(0*Math.PI/180);
- Node177.a('node.width', Node177width);
- Node177.a('node.height', Node177height);
- Node177.a('node.rect', [0, 0, Node177width, Node177height]);
- Node177.a('node.bordercolor','rgba(128,128,128,1)');
- Node177.a('node.borderwidth', 0);
- Node177.a('node.background','' || 'rgba(0,0,0,0)');
- Node177.a('node.gradient','');
- Node177.a('node.gradientcolor','');
- Node177.a('node.text','万kWh');
- Node177.a('node.textalign','center');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(128,128,128,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "Arial"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '万kWh';
- var color=Node177.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"center",color,' '+ Node177fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'center', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 59*_ratio.ratioX, Node178height = 26*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(724*ratio.ratioX, 78*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(128,128,128,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','万kWh');
- Node178.a('node.textalign','center');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(128,128,128,1)');
- Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '万kWh';
- var color=Node178.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"center",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'center', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 59*_ratio.ratioX, Node179height = 26*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(724*ratio.ratioX, 101*ratio.ratioY);
- Node179.setWidth(Node179width);
- Node179.setHeight(Node179height);
- Node179._nodeType = 'text';
- Node179._disallowEvert = true;
- Node179.setRotation(0*Math.PI/180);
- Node179.a('node.width', Node179width);
- Node179.a('node.height', Node179height);
- Node179.a('node.rect', [0, 0, Node179width, Node179height]);
- Node179.a('node.bordercolor','rgba(128,128,128,1)');
- Node179.a('node.borderwidth', 0);
- Node179.a('node.background','' || 'rgba(0,0,0,0)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','');
- Node179.a('node.text','万kWh');
- Node179.a('node.textalign','center');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(128,128,128,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
- Node179.a('node.textvisible',true);
- Node179.a('node.linefeed',false);
- if (false) {
- Node179.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node179.a('node.text') || '万kWh';
- var color=Node179.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"center",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'center', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 59*_ratio.ratioX, Node180height = 26*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(724*ratio.ratioX, 127*ratio.ratioY);
- Node180.setWidth(Node180width);
- Node180.setHeight(Node180height);
- Node180._nodeType = 'text';
- Node180._disallowEvert = true;
- Node180.setRotation(0*Math.PI/180);
- Node180.a('node.width', Node180width);
- Node180.a('node.height', Node180height);
- Node180.a('node.rect', [0, 0, Node180width, Node180height]);
- Node180.a('node.bordercolor','rgba(128,128,128,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','万kWh');
- Node180.a('node.textalign','center');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(128,128,128,1)');
- Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '万kWh';
- var color=Node180.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"center",color,' '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'center', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 59*_ratio.ratioX, Node181height = 26*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(724*ratio.ratioX, 151*ratio.ratioY);
- Node181.setWidth(Node181width);
- Node181.setHeight(Node181height);
- Node181._nodeType = 'text';
- Node181._disallowEvert = true;
- Node181.setRotation(0*Math.PI/180);
- Node181.a('node.width', Node181width);
- Node181.a('node.height', Node181height);
- Node181.a('node.rect', [0, 0, Node181width, Node181height]);
- Node181.a('node.bordercolor','rgba(128,128,128,1)');
- Node181.a('node.borderwidth', 0);
- Node181.a('node.background','' || 'rgba(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','');
- Node181.a('node.text','万kWh');
- Node181.a('node.textalign','center');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(128,128,128,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "Arial"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || '万kWh';
- var color=Node181.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.Node();
- var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 11.99997*_ratio.ratioY,Node182width = 53*_ratio.ratioX, Node182height = 20*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('机', 'bold '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('机', 'bold '+ Node182fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, 'bold '+ Node182fontSize + 'px "Arial"'))
- Node182.setPosition(1349*ratio.ratioX, 88*ratio.ratioY);
- Node182.setWidth(Node182width);
- Node182.setHeight(Node182height);
- Node182._nodeType = 'text';
- Node182._disallowEvert = true;
- Node182.setRotation(0*Math.PI/180);
- Node182.a('node.width', Node182width);
- Node182.a('node.height', Node182height);
- Node182.a('node.rect', [0, 0, Node182width, Node182height]);
- Node182.a('node.bordercolor','rgba(255,255,255,1)');
- Node182.a('node.borderwidth', 0);
- Node182.a('node.background','' || 'rgba(0,0,0,0)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','');
- Node182.a('node.text','机');
- Node182.a('node.textalign','left');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(255,255,255,1)');
- Node182.a('node.font','bold '+ Node182fontSize + 'px "Arial"');
- Node182.a('node.textvisible',true);
- Node182.a('node.linefeed',false);
- if (false) {
- Node182.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182.a('node.text') || '机';
- var color=Node182.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node182width,Node182height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node182fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
- Node182.a('node.underlinevisible',false);
- Node182.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182);
- zoomNodeList.push({
- node: Node182,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.Node();
- var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 11.99997*_ratio.ratioY,Node183width = 53*_ratio.ratioX, Node183height = 20*_ratio.ratioY;
- (function () {
- if (Node183align === 'left') {
- Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
- Node183textWidth = Node183width;
- Node183lineStart = 1;
- } else if (Node183align === 'right') {
- Node183textStart = 0;
- Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
- Node183lineStart = (Node183width - (ht.Default.getTextSize('状', 'bold '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('状', 'bold '+ Node183fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, 'bold '+ Node183fontSize + 'px "Arial"'))
- Node183.setPosition(1349*ratio.ratioX, 111*ratio.ratioY);
- Node183.setWidth(Node183width);
- Node183.setHeight(Node183height);
- Node183._nodeType = 'text';
- Node183._disallowEvert = true;
- Node183.setRotation(0*Math.PI/180);
- Node183.a('node.width', Node183width);
- Node183.a('node.height', Node183height);
- Node183.a('node.rect', [0, 0, Node183width, Node183height]);
- Node183.a('node.bordercolor','rgba(255,255,255,1)');
- Node183.a('node.borderwidth', 0);
- Node183.a('node.background','' || 'rgba(0,0,0,0)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','');
- Node183.a('node.text','状');
- Node183.a('node.textalign','left');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(255,255,255,1)');
- Node183.a('node.font','bold '+ Node183fontSize + 'px "Arial"');
- Node183.a('node.textvisible',true);
- Node183.a('node.linefeed',false);
- if (false) {
- Node183.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node183.a('node.text') || '状';
- var color=Node183.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node183width,Node183height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node183fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
- Node183.a('node.underlinevisible',false);
- Node183.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node183);
- zoomNodeList.push({
- node: Node183,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 11.99997*_ratio.ratioY,Node184width = 53*_ratio.ratioX, Node184height = 20*_ratio.ratioY;
- (function () {
- if (Node184align === 'left') {
- Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
- Node184textWidth = Node184width;
- Node184lineStart = 1;
- } else if (Node184align === 'right') {
- Node184textStart = 0;
- Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
- Node184lineStart = (Node184width - (ht.Default.getTextSize('态', 'bold '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('态', 'bold '+ Node184fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, 'bold '+ Node184fontSize + 'px "Arial"'))
- Node184.setPosition(1349*ratio.ratioX, 133*ratio.ratioY);
- Node184.setWidth(Node184width);
- Node184.setHeight(Node184height);
- Node184._nodeType = 'text';
- Node184._disallowEvert = true;
- Node184.setRotation(0*Math.PI/180);
- Node184.a('node.width', Node184width);
- Node184.a('node.height', Node184height);
- Node184.a('node.rect', [0, 0, Node184width, Node184height]);
- Node184.a('node.bordercolor','rgba(255,255,255,1)');
- Node184.a('node.borderwidth', 0);
- Node184.a('node.background','' || 'rgba(0,0,0,0)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','');
- Node184.a('node.text','态');
- Node184.a('node.textalign','left');
- Node184.a('node.textvAlign','middle');
- Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
- Node184.a('node.color','rgba(255,255,255,1)');
- Node184.a('node.font','bold '+ Node184fontSize + 'px "Arial"');
- Node184.a('node.textvisible',true);
- Node184.a('node.linefeed',false);
- if (false) {
- Node184.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node184.a('node.text') || '态';
- var color=Node184.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node184width,Node184height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node184fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
- Node184.a('node.underlinevisible',false);
- Node184.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node184);
- zoomNodeList.push({
- node: Node184,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.Node();
- var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'center', Node185fontSize = 14.66663*_ratio.ratioY,Node185width = 67*_ratio.ratioX, Node185height = 26*_ratio.ratioY;
- (function () {
- if (Node185align === 'left') {
- Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9;
- Node185textWidth = Node185width;
- Node185lineStart = 1;
- } else if (Node185align === 'right') {
- Node185textStart = 0;
- Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2;
- Node185lineStart = (Node185width - (ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node185align === 'center') {
- Node185textStart = -3;
- Node185textWidth = Node185width;
- Node185lineStart = Node185width - ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, ' '+ Node185fontSize + 'px "Arial"'))
- Node185.setPosition(1592*ratio.ratioX, 86*ratio.ratioY);
- Node185.setWidth(Node185width);
- Node185.setHeight(Node185height);
- Node185._nodeType = 'text';
- Node185._disallowEvert = true;
- Node185.setRotation(0*Math.PI/180);
- Node185.a('node.width', Node185width);
- Node185.a('node.height', Node185height);
- Node185.a('node.rect', [0, 0, Node185width, Node185height]);
- Node185.a('node.bordercolor','rgba(105,105,105,1)');
- Node185.a('node.borderwidth', 0);
- Node185.a('node.background','' || 'rgba(0,0,0,0)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','');
- Node185.a('node.text','台');
- Node185.a('node.textalign','center');
- Node185.a('node.textvAlign','middle');
- Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]);
- Node185.a('node.color','rgba(105,105,105,1)');
- Node185.a('node.font',' '+ Node185fontSize + 'px "Arial"');
- Node185.a('node.textvisible',true);
- Node185.a('node.linefeed',false);
- if (false) {
- Node185.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node185.a('node.text') || '台';
- var color=Node185.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node185width,Node185height,14.66663*_ratio.ratioY,"center",color,' '+ Node185fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node185.a('node.underlinepoints',[Node185lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "Arial"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]);
- Node185.a('node.underlinevisible',false);
- Node185.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node185);
- zoomNodeList.push({
- node: Node185,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node186;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg');
- Node186 = new ht.Node();
- Node186.setPosition(1481*ratio.ratioX, 70*ratio.ratioY);
- Node186.setSize(9*ratioX, 60*ratioY);
- Node186.setImage('imgimage//page_list_box_left_blue.jpg');
- Node186.setRotation(0*Math.PI/180);
- Node186._zoomBy = 'Default';
- Node186._nodeType = 'image';
- Node186._disallowEvert = true;
- dataModel.add(Node186);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187type = 'rect';
- var Node187 = new ht.Node(),
- Node187BorderWidth = 1*2;
- if (Node187type === 'arc') {
- Node187BorderWidth *= 1;
- }
- Node187.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node187type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node187.setPosition(1550*ratio.ratioX, 70*ratio.ratioY);
- Node187.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node187.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node187.a('node.width', 127*_ratio.ratioX);
- Node187.a('node.height', 60.81538*_ratio.ratioY);
- Node187.a('node.type', Node187type);
- Node187.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node187.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node187.a('node.gradientcolor', '');
- Node187.a('node.gradient', '');
- Node187.a('node.borderwidth', Node187BorderWidth);
- Node187.a('node.color', 'rgba(128,128,128,1)');
- Node187.a('node.fillrect', [0,0,0,0]);
- Node187.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node187.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node187.a('node.fillgradient', '');
- if (Node187type !== 'rect') {
- Node187.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node187.a('node.arcTo', parseFloat('@arcTo@'));
- Node187.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node187type === 'arc') {
- Node187.a('node.arcOval', true);
- }
- Node187.setRotation(0*Math.PI/180);
- Node187.borderWidth = Node187BorderWidth;
- Node187.borderFillwidth = Node187BorderWidth;
- dataModel.add(Node187);
- Node187._nodename = 'Node187'
- Node187._nodeType = 'rect';
- zoomNodeList.push({
- node: Node187,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node187, Node187.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.Node();
- var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 15.99996*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 25*_ratio.ratioY;
- (function () {
- if (Node188align === 'left') {
- Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
- Node188textWidth = Node188width;
- Node188lineStart = 1;
- } else if (Node188align === 'right') {
- Node188textStart = 0;
- Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
- Node188lineStart = (Node188width - (ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(1513*ratio.ratioX, 85*ratio.ratioY);
- Node188.setWidth(Node188width);
- Node188.setHeight(Node188height);
- Node188._nodeType = 'text';
- Node188._disallowEvert = true;
- Node188.setRotation(0*Math.PI/180);
- Node188.a('node.width', Node188width);
- Node188.a('node.height', Node188height);
- Node188.a('node.rect', [0, 0, Node188width, Node188height]);
- Node188.a('node.bordercolor','rgba(0,0,0,1)');
- Node188.a('node.borderwidth', 0);
- Node188.a('node.background','' || 'rgba(0,0,0,0)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','');
- Node188.a('node.text','0');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(0,0,0,1)');
- Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
- Node188.a('node.textvisible',true);
- Node188.a('node.linefeed',false);
- if (false) {
- Node188.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node188.a('node.text') || '0';
- var color=Node188.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node188width,Node188height,15.99996*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node188.a('node.underlinepoints',[Node188lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node189;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg');
- Node189 = new ht.Node();
- Node189.setPosition(1757*ratio.ratioX, 70*ratio.ratioY);
- Node189.setSize(9*ratioX, 60*ratioY);
- Node189.setImage('imgimage//page_list_box_left_red.jpg');
- Node189.setRotation(0*Math.PI/180);
- Node189._zoomBy = 'Default';
- Node189._nodeType = 'image';
- Node189._disallowEvert = true;
- dataModel.add(Node189);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190 = new ht.Node();
- var Node190textStart, Node190textWidth, Node190lineStart, Node190align = 'left', Node190fontSize = 15.99996*_ratio.ratioY,Node190width = 29*_ratio.ratioX, Node190height = 25*_ratio.ratioY;
- (function () {
- if (Node190align === 'left') {
- Node190textStart = Node190fontSize * 0.2 > 2 ? Node190fontSize * 0.2 - 4 : Node190fontSize * 0.2 - 9;
- Node190textWidth = Node190width;
- Node190lineStart = 1;
- } else if (Node190align === 'right') {
- Node190textStart = 0;
- Node190textWidth =Node190fontSize <= 8 ? Node190width + Node190fontSize * 0.2 + 6 : Node190width - Node190fontSize * 0.2;
- Node190lineStart = (Node190width - (ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node190align === 'center') {
- Node190textStart = -3;
- Node190textWidth = Node190width;
- Node190lineStart = Node190width - ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node190.setImage(GD.getTextJSON(Node190width, Node190height, true, false, false, ' '+ Node190fontSize + 'px "Arial"'))
- Node190.setPosition(1789*ratio.ratioX, 85*ratio.ratioY);
- Node190.setWidth(Node190width);
- Node190.setHeight(Node190height);
- Node190._nodeType = 'text';
- Node190._disallowEvert = true;
- Node190.setRotation(0*Math.PI/180);
- Node190.a('node.width', Node190width);
- Node190.a('node.height', Node190height);
- Node190.a('node.rect', [0, 0, Node190width, Node190height]);
- Node190.a('node.bordercolor','rgba(0,0,0,1)');
- Node190.a('node.borderwidth', 0);
- Node190.a('node.background','' || 'rgba(0,0,0,0)');
- Node190.a('node.gradient','');
- Node190.a('node.gradientcolor','');
- Node190.a('node.text','0');
- Node190.a('node.textalign','left');
- Node190.a('node.textvAlign','middle');
- Node190.a('node.textrect', [Node190textStart, 0, Node190textWidth, Node190height]);
- Node190.a('node.color','rgba(0,0,0,1)');
- Node190.a('node.font',' '+ Node190fontSize + 'px "Arial"');
- Node190.a('node.textvisible',true);
- Node190.a('node.linefeed',false);
- if (false) {
- Node190.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node190.a('node.text') || '0';
- var color=Node190.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node190width,Node190height,15.99996*_ratio.ratioY,"left",color,' '+ Node190fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node190.a('node.underlinepoints',[Node190lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node190fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width + 6, (Node190height - Node190fontSize) * 0.5*_ratio.ratioY + Node190fontSize + 2 ]);
- Node190.a('node.underlinevisible',false);
- Node190.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node190);
- zoomNodeList.push({
- node: Node190,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node191;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
- Node191 = new ht.Node();
- Node191.setPosition(1757*ratio.ratioX, 131*ratio.ratioY);
- Node191.setSize(9*ratioX, 60*ratioY);
- Node191.setImage('imgimage//page_list_box_left_black.jpg');
- Node191.setRotation(0*Math.PI/180);
- Node191._zoomBy = 'Default';
- Node191._nodeType = 'image';
- Node191._disallowEvert = true;
- dataModel.add(Node191);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192 = new ht.Node();
- var Node192textStart, Node192textWidth, Node192lineStart, Node192align = 'left', Node192fontSize = 13.3333*_ratio.ratioY,Node192width = 47*_ratio.ratioX, Node192height = 38*_ratio.ratioY;
- (function () {
- if (Node192align === 'left') {
- Node192textStart = Node192fontSize * 0.2 > 2 ? Node192fontSize * 0.2 - 4 : Node192fontSize * 0.2 - 9;
- Node192textWidth = Node192width;
- Node192lineStart = 1;
- } else if (Node192align === 'right') {
- Node192textStart = 0;
- Node192textWidth =Node192fontSize <= 8 ? Node192width + Node192fontSize * 0.2 + 6 : Node192width - Node192fontSize * 0.2;
- Node192lineStart = (Node192width - (ht.Default.getTextSize('离线', 'bold '+ Node192fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node192align === 'center') {
- Node192textStart = -3;
- Node192textWidth = Node192width;
- Node192lineStart = Node192width - ht.Default.getTextSize('离线', 'bold '+ Node192fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node192.setImage(GD.getTextJSON(Node192width, Node192height, true, false, false, 'bold '+ Node192fontSize + 'px "Arial"'))
- Node192.setPosition(1788*ratio.ratioX, 114*ratio.ratioY);
- Node192.setWidth(Node192width);
- Node192.setHeight(Node192height);
- Node192._nodeType = 'text';
- Node192._disallowEvert = true;
- Node192.setRotation(0*Math.PI/180);
- Node192.a('node.width', Node192width);
- Node192.a('node.height', Node192height);
- Node192.a('node.rect', [0, 0, Node192width, Node192height]);
- Node192.a('node.bordercolor','rgba(0,0,0,1)');
- Node192.a('node.borderwidth', 0);
- Node192.a('node.background','' || 'rgba(0,0,0,0)');
- Node192.a('node.gradient','');
- Node192.a('node.gradientcolor','');
- Node192.a('node.text','离线');
- Node192.a('node.textalign','left');
- Node192.a('node.textvAlign','middle');
- Node192.a('node.textrect', [Node192textStart, 0, Node192textWidth, Node192height]);
- Node192.a('node.color','rgba(0,0,0,1)');
- Node192.a('node.font','bold '+ Node192fontSize + 'px "Arial"');
- Node192.a('node.textvisible',true);
- Node192.a('node.linefeed',false);
- if (false) {
- Node192.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node192.a('node.text') || '离线';
- var color=Node192.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node192width,Node192height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node192fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node192.a('node.underlinepoints',[Node192lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node192fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node192fontSize + 'px "Arial"').width + 6, (Node192height - Node192fontSize) * 0.5*_ratio.ratioY + Node192fontSize + 2 ]);
- Node192.a('node.underlinevisible',false);
- Node192.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node192);
- zoomNodeList.push({
- node: Node192,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.Node();
- var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'left', Node193fontSize = 15.99996*_ratio.ratioY,Node193width = 29*_ratio.ratioX, Node193height = 25*_ratio.ratioY;
- (function () {
- if (Node193align === 'left') {
- Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9;
- Node193textWidth = Node193width;
- Node193lineStart = 1;
- } else if (Node193align === 'right') {
- Node193textStart = 0;
- Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2;
- Node193lineStart = (Node193width - (ht.Default.getTextSize('0', ' '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node193align === 'center') {
- Node193textStart = -3;
- Node193textWidth = Node193width;
- Node193lineStart = Node193width - ht.Default.getTextSize('0', ' '+ Node193fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, ' '+ Node193fontSize + 'px "Arial"'))
- Node193.setPosition(1789*ratio.ratioX, 146*ratio.ratioY);
- Node193.setWidth(Node193width);
- Node193.setHeight(Node193height);
- Node193._nodeType = 'text';
- Node193._disallowEvert = true;
- Node193.setRotation(0*Math.PI/180);
- Node193.a('node.width', Node193width);
- Node193.a('node.height', Node193height);
- Node193.a('node.rect', [0, 0, Node193width, Node193height]);
- Node193.a('node.bordercolor','rgba(0,0,0,1)');
- Node193.a('node.borderwidth', 0);
- Node193.a('node.background','' || 'rgba(0,0,0,0)');
- Node193.a('node.gradient','');
- Node193.a('node.gradientcolor','');
- Node193.a('node.text','0');
- Node193.a('node.textalign','left');
- Node193.a('node.textvAlign','middle');
- Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]);
- Node193.a('node.color','rgba(0,0,0,1)');
- Node193.a('node.font',' '+ Node193fontSize + 'px "Arial"');
- Node193.a('node.textvisible',true);
- Node193.a('node.linefeed',false);
- if (false) {
- Node193.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node193.a('node.text') || '0';
- var color=Node193.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node193width,Node193height,15.99996*_ratio.ratioY,"left",color,' '+ Node193fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node193.a('node.underlinepoints',[Node193lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]);
- Node193.a('node.underlinevisible',false);
- Node193.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node193);
- zoomNodeList.push({
- node: Node193,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.Node();
- var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 77*_ratio.ratioX, Node194height = 26*_ratio.ratioY;
- (function () {
- if (Node194align === 'left') {
- Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9;
- Node194textWidth = Node194width;
- Node194lineStart = 1;
- } else if (Node194align === 'right') {
- Node194textStart = 0;
- Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2;
- Node194lineStart = (Node194width - (ht.Default.getTextSize('上网电量', ' '+ Node194fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node194align === 'center') {
- Node194textStart = -3;
- Node194textWidth = Node194width;
- Node194lineStart = Node194width - ht.Default.getTextSize('上网电量', ' '+ Node194fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "微软雅黑"'))
- Node194.setPosition(232*ratio.ratioX, 149*ratio.ratioY);
- Node194.setWidth(Node194width);
- Node194.setHeight(Node194height);
- Node194._nodeType = 'text';
- Node194._disallowEvert = true;
- Node194.setRotation(0*Math.PI/180);
- Node194.a('node.width', Node194width);
- Node194.a('node.height', Node194height);
- Node194.a('node.rect', [0, 0, Node194width, Node194height]);
- Node194.a('node.bordercolor','rgba(0,0,0,1)');
- Node194.a('node.borderwidth', 0);
- Node194.a('node.background','' || 'rgba(0,0,0,0)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','');
- Node194.a('node.text','上网电量');
- Node194.a('node.textalign','left');
- Node194.a('node.textvAlign','middle');
- Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]);
- Node194.a('node.color','rgba(0,0,0,1)');
- Node194.a('node.font',' '+ Node194fontSize + 'px "微软雅黑"');
- Node194.a('node.textvisible',true);
- Node194.a('node.linefeed',false);
- if (false) {
- Node194.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node194.a('node.text') || '上网电量';
- var color=Node194.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node194.a('node.underlinepoints',[Node194lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node194fontSize + 'px "微软雅黑"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]);
- Node194.a('node.underlinevisible',false);
- Node194.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node194);
- zoomNodeList.push({
- node: Node194,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195 = new ht.Node();
- var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'center', Node195fontSize = 13.3333*_ratio.ratioY,Node195width = 113*_ratio.ratioX, Node195height = 26*_ratio.ratioY;
- (function () {
- if (Node195align === 'left') {
- Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9;
- Node195textWidth = Node195width;
- Node195lineStart = 1;
- } else if (Node195align === 'right') {
- Node195textStart = 0;
- Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2;
- Node195lineStart = (Node195width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node195align === 'center') {
- Node195textStart = -3;
- Node195textWidth = Node195width;
- Node195lineStart = Node195width - ht.Default.getTextSize('日性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, ' '+ Node195fontSize + 'px "微软雅黑"'))
- Node195.setPosition(537*ratio.ratioX, 150*ratio.ratioY);
- Node195.setWidth(Node195width);
- Node195.setHeight(Node195height);
- Node195._nodeType = 'text';
- Node195._disallowEvert = true;
- Node195.setRotation(0*Math.PI/180);
- Node195.a('node.width', Node195width);
- Node195.a('node.height', Node195height);
- Node195.a('node.rect', [0, 0, Node195width, Node195height]);
- Node195.a('node.bordercolor','rgba(0,0,0,1)');
- Node195.a('node.borderwidth', 0);
- Node195.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node195.a('node.gradient','');
- Node195.a('node.gradientcolor','rgba(255,255,255,0)');
- Node195.a('node.text','日性能损失电量');
- Node195.a('node.textalign','center');
- Node195.a('node.textvAlign','middle');
- Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]);
- Node195.a('node.color','rgba(0,0,0,1)');
- Node195.a('node.font',' '+ Node195fontSize + 'px "微软雅黑"');
- Node195.a('node.textvisible',true);
- Node195.a('node.linefeed',false);
- if (false) {
- Node195.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195.a('node.text') || '日性能损失电量';
- var color=Node195.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195width,Node195height,13.3333*_ratio.ratioY,"center",color,' '+ Node195fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node195.a('node.underlinepoints',[Node195lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]);
- Node195.a('node.underlinevisible',false);
- Node195.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195);
- zoomNodeList.push({
- node: Node195,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196 = new ht.Node();
- var Node196textStart, Node196textWidth, Node196lineStart, Node196align = 'center', Node196fontSize = 13.3333*_ratio.ratioY,Node196width = 110*_ratio.ratioX, Node196height = 26*_ratio.ratioY;
- (function () {
- if (Node196align === 'left') {
- Node196textStart = Node196fontSize * 0.2 > 2 ? Node196fontSize * 0.2 - 4 : Node196fontSize * 0.2 - 9;
- Node196textWidth = Node196width;
- Node196lineStart = 1;
- } else if (Node196align === 'right') {
- Node196textStart = 0;
- Node196textWidth =Node196fontSize <= 8 ? Node196width + Node196fontSize * 0.2 + 6 : Node196width - Node196fontSize * 0.2;
- Node196lineStart = (Node196width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node196align === 'center') {
- Node196textStart = -3;
- Node196textWidth = Node196width;
- Node196lineStart = Node196width - ht.Default.getTextSize('月性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node196.setImage(GD.getTextJSON(Node196width, Node196height, true, false, false, ' '+ Node196fontSize + 'px "微软雅黑"'))
- Node196.setPosition(818*ratio.ratioX, 150*ratio.ratioY);
- Node196.setWidth(Node196width);
- Node196.setHeight(Node196height);
- Node196._nodeType = 'text';
- Node196._disallowEvert = true;
- Node196.setRotation(0*Math.PI/180);
- Node196.a('node.width', Node196width);
- Node196.a('node.height', Node196height);
- Node196.a('node.rect', [0, 0, Node196width, Node196height]);
- Node196.a('node.bordercolor','rgba(0,0,0,1)');
- Node196.a('node.borderwidth', 0);
- Node196.a('node.background','' || 'rgba(0,0,0,0)');
- Node196.a('node.gradient','');
- Node196.a('node.gradientcolor','');
- Node196.a('node.text','月性能损失电量');
- Node196.a('node.textalign','center');
- Node196.a('node.textvAlign','middle');
- Node196.a('node.textrect', [Node196textStart, 0, Node196textWidth, Node196height]);
- Node196.a('node.color','rgba(0,0,0,1)');
- Node196.a('node.font',' '+ Node196fontSize + 'px "微软雅黑"');
- Node196.a('node.textvisible',true);
- Node196.a('node.linefeed',false);
- if (false) {
- Node196.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196.a('node.text') || '月性能损失电量';
- var color=Node196.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196width,Node196height,13.3333*_ratio.ratioY,"center",color,' '+ Node196fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node196.a('node.underlinepoints',[Node196lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width + 6, (Node196height - Node196fontSize) * 0.5*_ratio.ratioY + Node196fontSize + 2 ]);
- Node196.a('node.underlinevisible',false);
- Node196.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196);
- zoomNodeList.push({
- node: Node196,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node197 = new ht.Node();
- var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'center', Node197fontSize = 13.3333*_ratio.ratioY,Node197width = 110*_ratio.ratioX, Node197height = 26*_ratio.ratioY;
- (function () {
- if (Node197align === 'left') {
- Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9;
- Node197textWidth = Node197width;
- Node197lineStart = 1;
- } else if (Node197align === 'right') {
- Node197textStart = 0;
- Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2;
- Node197lineStart = (Node197width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('年性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "微软雅黑"'))
- Node197.setPosition(1098*ratio.ratioX, 149*ratio.ratioY);
- Node197.setWidth(Node197width);
- Node197.setHeight(Node197height);
- Node197._nodeType = 'text';
- Node197._disallowEvert = true;
- Node197.setRotation(0*Math.PI/180);
- Node197.a('node.width', Node197width);
- Node197.a('node.height', Node197height);
- Node197.a('node.rect', [0, 0, Node197width, Node197height]);
- Node197.a('node.bordercolor','rgba(0,0,0,1)');
- Node197.a('node.borderwidth', 0);
- Node197.a('node.background','' || 'rgba(0,0,0,0)');
- Node197.a('node.gradient','');
- Node197.a('node.gradientcolor','');
- Node197.a('node.text','年性能损失电量');
- Node197.a('node.textalign','center');
- Node197.a('node.textvAlign','middle');
- Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
- Node197.a('node.color','rgba(0,0,0,1)');
- Node197.a('node.font',' '+ Node197fontSize + 'px "微软雅黑"');
- Node197.a('node.textvisible',true);
- Node197.a('node.linefeed',false);
- if (false) {
- Node197.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node197.a('node.text') || '年性能损失电量';
- var color=Node197.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node197width,Node197height,13.3333*_ratio.ratioY,"center",color,' '+ Node197fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]);
- Node197.a('node.underlinevisible',false);
- Node197.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node197);
- zoomNodeList.push({
- node: Node197,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node198 = new ht.Node();
- var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 47*_ratio.ratioX, Node198height = 38*_ratio.ratioY;
- (function () {
- if (Node198align === 'left') {
- Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9;
- Node198textWidth = Node198width;
- Node198lineStart = 1;
- } else if (Node198align === 'right') {
- Node198textStart = 0;
- Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2;
- Node198lineStart = (Node198width - (ht.Default.getTextSize('运行', 'bold '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('运行', 'bold '+ Node198fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, 'bold '+ Node198fontSize + 'px "Arial"'))
- Node198.setPosition(1512*ratio.ratioX, 52*ratio.ratioY);
- Node198.setWidth(Node198width);
- Node198.setHeight(Node198height);
- Node198._nodeType = 'text';
- Node198._disallowEvert = true;
- Node198.setRotation(0*Math.PI/180);
- Node198.a('node.width', Node198width);
- Node198.a('node.height', Node198height);
- Node198.a('node.rect', [0, 0, Node198width, Node198height]);
- Node198.a('node.bordercolor','rgba(0,0,0,1)');
- Node198.a('node.borderwidth', 0);
- Node198.a('node.background','' || 'rgba(0,0,0,0)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','');
- Node198.a('node.text','运行');
- Node198.a('node.textalign','left');
- Node198.a('node.textvAlign','middle');
- Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
- Node198.a('node.color','rgba(0,0,0,1)');
- Node198.a('node.font','bold '+ Node198fontSize + 'px "Arial"');
- Node198.a('node.textvisible',true);
- Node198.a('node.linefeed',false);
- if (false) {
- Node198.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node198.a('node.text') || '运行';
- var color=Node198.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node198fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
- Node198.a('node.underlinevisible',false);
- Node198.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node198);
- zoomNodeList.push({
- node: Node198,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.Node();
- var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'left', Node199fontSize = 13.3333*_ratio.ratioY,Node199width = 47*_ratio.ratioX, Node199height = 38*_ratio.ratioY;
- (function () {
- if (Node199align === 'left') {
- Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9;
- Node199textWidth = Node199width;
- Node199lineStart = 1;
- } else if (Node199align === 'right') {
- Node199textStart = 0;
- Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2;
- Node199lineStart = (Node199width - (ht.Default.getTextSize('待机', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node199align === 'center') {
- Node199textStart = -3;
- Node199textWidth = Node199width;
- Node199lineStart = Node199width - ht.Default.getTextSize('待机', 'bold '+ Node199fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"'))
- Node199.setPosition(1650*ratio.ratioX, 52*ratio.ratioY);
- Node199.setWidth(Node199width);
- Node199.setHeight(Node199height);
- Node199._nodeType = 'text';
- Node199._disallowEvert = true;
- Node199.setRotation(0*Math.PI/180);
- Node199.a('node.width', Node199width);
- Node199.a('node.height', Node199height);
- Node199.a('node.rect', [0, 0, Node199width, Node199height]);
- Node199.a('node.bordercolor','rgba(0,0,0,1)');
- Node199.a('node.borderwidth', 0);
- Node199.a('node.background','' || 'rgba(0,0,0,0)');
- Node199.a('node.gradient','');
- Node199.a('node.gradientcolor','');
- Node199.a('node.text','待机');
- Node199.a('node.textalign','left');
- Node199.a('node.textvAlign','middle');
- Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]);
- Node199.a('node.color','rgba(0,0,0,1)');
- Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"');
- Node199.a('node.textvisible',true);
- Node199.a('node.linefeed',false);
- if (false) {
- Node199.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node199.a('node.text') || '待机';
- var color=Node199.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node199width,Node199height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node199.a('node.underlinepoints',[Node199lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
- Node199.a('node.underlinevisible',false);
- Node199.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node199);
- zoomNodeList.push({
- node: Node199,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.Node();
- var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 13.3333*_ratio.ratioY,Node200width = 47*_ratio.ratioX, Node200height = 38*_ratio.ratioY;
- (function () {
- if (Node200align === 'left') {
- Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9;
- Node200textWidth = Node200width;
- Node200lineStart = 1;
- } else if (Node200align === 'right') {
- Node200textStart = 0;
- Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2;
- Node200lineStart = (Node200width - (ht.Default.getTextSize('故障', 'bold '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node200align === 'center') {
- Node200textStart = -3;
- Node200textWidth = Node200width;
- Node200lineStart = Node200width - ht.Default.getTextSize('故障', 'bold '+ Node200fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, 'bold '+ Node200fontSize + 'px "Arial"'))
- Node200.setPosition(1788*ratio.ratioX, 52*ratio.ratioY);
- Node200.setWidth(Node200width);
- Node200.setHeight(Node200height);
- Node200._nodeType = 'text';
- Node200._disallowEvert = true;
- Node200.setRotation(0*Math.PI/180);
- Node200.a('node.width', Node200width);
- Node200.a('node.height', Node200height);
- Node200.a('node.rect', [0, 0, Node200width, Node200height]);
- Node200.a('node.bordercolor','rgba(0,0,0,1)');
- Node200.a('node.borderwidth', 0);
- Node200.a('node.background','' || 'rgba(0,0,0,0)');
- Node200.a('node.gradient','');
- Node200.a('node.gradientcolor','');
- Node200.a('node.text','故障');
- Node200.a('node.textalign','left');
- Node200.a('node.textvAlign','middle');
- Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]);
- Node200.a('node.color','rgba(0,0,0,1)');
- Node200.a('node.font','bold '+ Node200fontSize + 'px "Arial"');
- Node200.a('node.textvisible',true);
- Node200.a('node.linefeed',false);
- if (false) {
- Node200.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node200.a('node.text') || '故障';
- var color=Node200.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node200width,Node200height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node200fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node200.a('node.underlinepoints',[Node200lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]);
- Node200.a('node.underlinevisible',false);
- Node200.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node200);
- zoomNodeList.push({
- node: Node200,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxs':PageBackground_ylyxs,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- ;(typeof Node0_0 != "undefined") && (Node0_0.localDynamicVar = function ( ) {return {'zhuangtai':Node0_0_zhuangtai,'bianhao':Node0_0_bianhao,'fengsu':Node0_0_fengsu,'gonglv':Node0_0_gonglv,}});
- ;(typeof Node0_1 != "undefined") && (Node0_1.localDynamicVar = function ( ) {return {'zhuangtai':Node0_1_zhuangtai,'bianhao':Node0_1_bianhao,'fengsu':Node0_1_fengsu,'gonglv':Node0_1_gonglv,}});
- ;(typeof Node0_2 != "undefined") && (Node0_2.localDynamicVar = function ( ) {return {'zhuangtai':Node0_2_zhuangtai,'bianhao':Node0_2_bianhao,'fengsu':Node0_2_fengsu,'gonglv':Node0_2_gonglv,}});
- ;(typeof Node0_3 != "undefined") && (Node0_3.localDynamicVar = function ( ) {return {'zhuangtai':Node0_3_zhuangtai,'bianhao':Node0_3_bianhao,'fengsu':Node0_3_fengsu,'gonglv':Node0_3_gonglv,}});
- ;(typeof Node0_4 != "undefined") && (Node0_4.localDynamicVar = function ( ) {return {'zhuangtai':Node0_4_zhuangtai,'bianhao':Node0_4_bianhao,'fengsu':Node0_4_fengsu,'gonglv':Node0_4_gonglv,}});
- ;(typeof Node0_5 != "undefined") && (Node0_5.localDynamicVar = function ( ) {return {'zhuangtai':Node0_5_zhuangtai,'bianhao':Node0_5_bianhao,'fengsu':Node0_5_fengsu,'gonglv':Node0_5_gonglv,}});
- ;(typeof Node0_6 != "undefined") && (Node0_6.localDynamicVar = function ( ) {return {'zhuangtai':Node0_6_zhuangtai,'bianhao':Node0_6_bianhao,'fengsu':Node0_6_fengsu,'gonglv':Node0_6_gonglv,}});
- ;(typeof Node0_7 != "undefined") && (Node0_7.localDynamicVar = function ( ) {return {'zhuangtai':Node0_7_zhuangtai,'bianhao':Node0_7_bianhao,'fengsu':Node0_7_fengsu,'gonglv':Node0_7_gonglv,}});
- ;(typeof Node0_8 != "undefined") && (Node0_8.localDynamicVar = function ( ) {return {'zhuangtai':Node0_8_zhuangtai,'bianhao':Node0_8_bianhao,'fengsu':Node0_8_fengsu,'gonglv':Node0_8_gonglv,}});
- ;(typeof Node0_9 != "undefined") && (Node0_9.localDynamicVar = function ( ) {return {'zhuangtai':Node0_9_zhuangtai,'bianhao':Node0_9_bianhao,'fengsu':Node0_9_fengsu,'gonglv':Node0_9_gonglv,}});
- ;(typeof Node0_10 != "undefined") && (Node0_10.localDynamicVar = function ( ) {return {'zhuangtai':Node0_10_zhuangtai,'bianhao':Node0_10_bianhao,'fengsu':Node0_10_fengsu,'gonglv':Node0_10_gonglv,}});
- ;(typeof Node0_11 != "undefined") && (Node0_11.localDynamicVar = function ( ) {return {'zhuangtai':Node0_11_zhuangtai,'bianhao':Node0_11_bianhao,'fengsu':Node0_11_fengsu,'gonglv':Node0_11_gonglv,}});
- ;(typeof Node0_12 != "undefined") && (Node0_12.localDynamicVar = function ( ) {return {'zhuangtai':Node0_12_zhuangtai,'bianhao':Node0_12_bianhao,'fengsu':Node0_12_fengsu,'gonglv':Node0_12_gonglv,}});
- ;(typeof Node0_13 != "undefined") && (Node0_13.localDynamicVar = function ( ) {return {'zhuangtai':Node0_13_zhuangtai,'bianhao':Node0_13_bianhao,'fengsu':Node0_13_fengsu,'gonglv':Node0_13_gonglv,}});
- ;(typeof Node0_14 != "undefined") && (Node0_14.localDynamicVar = function ( ) {return {'zhuangtai':Node0_14_zhuangtai,'bianhao':Node0_14_bianhao,'fengsu':Node0_14_fengsu,'gonglv':Node0_14_gonglv,}});
- ;(typeof Node0_15 != "undefined") && (Node0_15.localDynamicVar = function ( ) {return {'zhuangtai':Node0_15_zhuangtai,'bianhao':Node0_15_bianhao,'fengsu':Node0_15_fengsu,'gonglv':Node0_15_gonglv,}});
- ;(typeof Node0_16 != "undefined") && (Node0_16.localDynamicVar = function ( ) {return {'zhuangtai':Node0_16_zhuangtai,'bianhao':Node0_16_bianhao,'fengsu':Node0_16_fengsu,'gonglv':Node0_16_gonglv,}});
- ;(typeof Node0_17 != "undefined") && (Node0_17.localDynamicVar = function ( ) {return {'zhuangtai':Node0_17_zhuangtai,'bianhao':Node0_17_bianhao,'fengsu':Node0_17_fengsu,'gonglv':Node0_17_gonglv,}});
- ;(typeof Node0_18 != "undefined") && (Node0_18.localDynamicVar = function ( ) {return {'zhuangtai':Node0_18_zhuangtai,'bianhao':Node0_18_bianhao,'fengsu':Node0_18_fengsu,'gonglv':Node0_18_gonglv,}});
- ;(typeof Node0_19 != "undefined") && (Node0_19.localDynamicVar = function ( ) {return {'zhuangtai':Node0_19_zhuangtai,'bianhao':Node0_19_bianhao,'fengsu':Node0_19_fengsu,'gonglv':Node0_19_gonglv,}});
- ;(typeof Node0_20 != "undefined") && (Node0_20.localDynamicVar = function ( ) {return {'zhuangtai':Node0_20_zhuangtai,'bianhao':Node0_20_bianhao,'fengsu':Node0_20_fengsu,'gonglv':Node0_20_gonglv,}});
- ;(typeof Node0_21 != "undefined") && (Node0_21.localDynamicVar = function ( ) {return {'zhuangtai':Node0_21_zhuangtai,'bianhao':Node0_21_bianhao,'fengsu':Node0_21_fengsu,'gonglv':Node0_21_gonglv,}});
- ;(typeof Node0_22 != "undefined") && (Node0_22.localDynamicVar = function ( ) {return {'zhuangtai':Node0_22_zhuangtai,'bianhao':Node0_22_bianhao,'fengsu':Node0_22_fengsu,'gonglv':Node0_22_gonglv,}});
- ;(typeof Node0_23 != "undefined") && (Node0_23.localDynamicVar = function ( ) {return {'zhuangtai':Node0_23_zhuangtai,'bianhao':Node0_23_bianhao,'fengsu':Node0_23_fengsu,'gonglv':Node0_23_gonglv,}});
- if(typeof(Node3.borderWidth)!="undefined"){setDashStyle(Node3,"Node3",'NoDash',Node3.borderWidth);}
- if(typeof(Node5.borderWidth)!="undefined"){setDashStyle(Node5,"Node5",'NoDash',Node5.borderWidth);}
- if(typeof(Node7.borderWidth)!="undefined"){setDashStyle(Node7,"Node7",'NoDash',Node7.borderWidth);}
- if(typeof(Node9.borderWidth)!="undefined"){setDashStyle(Node9,"Node9",'NoDash',Node9.borderWidth);}
- if((0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}
- if((0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}
- if((0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);}
- if((0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);}
- if((0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);}
- if((0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);}
- if((0 )){Node28.s('2d.visible',true);}else{Node28.s('2d.visible',false);}
- if((0 )){Node30.s('2d.visible',true);}else{Node30.s('2d.visible',false);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- Node0_0.refresh10ms();
- Node0_1.refresh10ms();
- Node0_2.refresh10ms();
- Node0_3.refresh10ms();
- Node0_4.refresh10ms();
- Node0_5.refresh10ms();
- Node0_6.refresh10ms();
- Node0_7.refresh10ms();
- Node0_8.refresh10ms();
- Node0_9.refresh10ms();
- Node0_10.refresh10ms();
- Node0_11.refresh10ms();
- Node0_12.refresh10ms();
- Node0_13.refresh10ms();
- Node0_14.refresh10ms();
- Node0_15.refresh10ms();
- Node0_16.refresh10ms();
- Node0_17.refresh10ms();
- Node0_18.refresh10ms();
- Node0_19.refresh10ms();
- Node0_20.refresh10ms();
- Node0_21.refresh10ms();
- Node0_22.refresh10ms();
- Node0_23.refresh10ms();
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node0_0.refresh100ms();
- Node0_1.refresh100ms();
- Node0_2.refresh100ms();
- Node0_3.refresh100ms();
- Node0_4.refresh100ms();
- Node0_5.refresh100ms();
- Node0_6.refresh100ms();
- Node0_7.refresh100ms();
- Node0_8.refresh100ms();
- Node0_9.refresh100ms();
- Node0_10.refresh100ms();
- Node0_11.refresh100ms();
- Node0_12.refresh100ms();
- Node0_13.refresh100ms();
- Node0_14.refresh100ms();
- Node0_15.refresh100ms();
- Node0_16.refresh100ms();
- Node0_17.refresh100ms();
- Node0_18.refresh100ms();
- Node0_19.refresh100ms();
- Node0_20.refresh100ms();
- Node0_21.refresh100ms();
- Node0_22.refresh100ms();
- Node0_23.refresh100ms();
- Node50.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node56.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') ),-1));
- Node60.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') ),-1));
- Node65.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') ),-1));
- Node98.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144') ),-1));
- Node99.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140') ),-1));
- Node100.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168') ),-1));
- Node101.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164') ),-1));
- Node102.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196') ),-1));
- Node127.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038') ),-1));
- Node128.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034') ),-1));
- Node129.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065') ),-1));
- Node130.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061') ),-1));
- Node131.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188') ),-1));
- Node147.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005') ),-1));
- Node148.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125') ),-1));
- Node149.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124') ),-1));
- Node150.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077') ),-1));
- Node151.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126') ),-1));
- Node167.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089') ),-1));
- Node168.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085') ),-1));
- Node169.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116') ),-1));
- Node170.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112') ),-1));
- Node171.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192') ),-1));
- Node188.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node190.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') ),-1));
- Node193.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- Node0_0.refresh500ms();
- Node0_1.refresh500ms();
- Node0_2.refresh500ms();
- Node0_3.refresh500ms();
- Node0_4.refresh500ms();
- Node0_5.refresh500ms();
- Node0_6.refresh500ms();
- Node0_7.refresh500ms();
- Node0_8.refresh500ms();
- Node0_9.refresh500ms();
- Node0_10.refresh500ms();
- Node0_11.refresh500ms();
- Node0_12.refresh500ms();
- Node0_13.refresh500ms();
- Node0_14.refresh500ms();
- Node0_15.refresh500ms();
- Node0_16.refresh500ms();
- Node0_17.refresh500ms();
- Node0_18.refresh500ms();
- Node0_19.refresh500ms();
- Node0_20.refresh500ms();
- Node0_21.refresh500ms();
- Node0_22.refresh500ms();
- Node0_23.refresh500ms();
- if((1 )>0) {if(((sxxny==1)>0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node19.s('2d.visible',true);}else{Node19.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node21.s('2d.visible',true);}else{Node21.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node23.s('2d.visible',true);}else{Node23.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node25.s('2d.visible',true);}else{Node25.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node27.s('2d.visible',true);}else{Node27.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node28.s('2d.visible',true);}else{Node28.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node29.s('2d.visible',true);}else{Node29.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node30.s('2d.visible',true);}else{Node30.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node31.s('2d.visible',true);}else{Node31.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node32_0.s('2d.visible',true);}else{Node32_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node32_1.s('2d.visible',true);}else{Node32_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node33_0.s('2d.visible',true);}else{Node33_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node33_1.s('2d.visible',true);}else{Node33_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node34_0.s('2d.visible',true);}else{Node34_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node34_1.s('2d.visible',true);}else{Node34_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node35_0.s('2d.visible',true);}else{Node35_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node35_1.s('2d.visible',true);}else{Node35_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node36_0.s('2d.visible',true);}else{Node36_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node36_1.s('2d.visible',true);}else{Node36_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node37_0.s('2d.visible',true);}else{Node37_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node37_1.s('2d.visible',true);}else{Node37_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node38_0.s('2d.visible',true);}else{Node38_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node38_1.s('2d.visible',true);}else{Node38_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node39_0.s('2d.visible',true);}else{Node39_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node39_1.s('2d.visible',true);}else{Node39_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node40_0.s('2d.visible',true);}else{Node40_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node40_1.s('2d.visible',true);}else{Node40_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node41_0.s('2d.visible',true);}else{Node41_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node41_1.s('2d.visible',true);}else{Node41_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node42_0.s('2d.visible',true);}else{Node42_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node42_1.s('2d.visible',true);}else{Node42_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node43_0.s('2d.visible',true);}else{Node43_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node43_1.s('2d.visible',true);}else{Node43_1.s('2d.visible',false);}}
- /*@Timer500ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer500msCmd, 500));
- function Timer1sCmd() {
- Counter1s++;
- if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
- Node0_0.refresh1s(Counter1s);
- Node0_1.refresh1s(Counter1s);
- Node0_2.refresh1s(Counter1s);
- Node0_3.refresh1s(Counter1s);
- Node0_4.refresh1s(Counter1s);
- Node0_5.refresh1s(Counter1s);
- Node0_6.refresh1s(Counter1s);
- Node0_7.refresh1s(Counter1s);
- Node0_8.refresh1s(Counter1s);
- Node0_9.refresh1s(Counter1s);
- Node0_10.refresh1s(Counter1s);
- Node0_11.refresh1s(Counter1s);
- Node0_12.refresh1s(Counter1s);
- Node0_13.refresh1s(Counter1s);
- Node0_14.refresh1s(Counter1s);
- Node0_15.refresh1s(Counter1s);
- Node0_16.refresh1s(Counter1s);
- Node0_17.refresh1s(Counter1s);
- Node0_18.refresh1s(Counter1s);
- Node0_19.refresh1s(Counter1s);
- Node0_20.refresh1s(Counter1s);
- Node0_21.refresh1s(Counter1s);
- Node0_22.refresh1s(Counter1s);
- Node0_23.refresh1s(Counter1s);
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- Node0_0.refresh5s();
- Node0_1.refresh5s();
- Node0_2.refresh5s();
- Node0_3.refresh5s();
- Node0_4.refresh5s();
- Node0_5.refresh5s();
- Node0_6.refresh5s();
- Node0_7.refresh5s();
- Node0_8.refresh5s();
- Node0_9.refresh5s();
- Node0_10.refresh5s();
- Node0_11.refresh5s();
- Node0_12.refresh5s();
- Node0_13.refresh5s();
- Node0_14.refresh5s();
- Node0_15.refresh5s();
- Node0_16.refresh5s();
- Node0_17.refresh5s();
- Node0_18.refresh5s();
- Node0_19.refresh5s();
- Node0_20.refresh5s();
- Node0_21.refresh5s();
- Node0_22.refresh5s();
- Node0_23.refresh5s();
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === Node18){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node20){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node22){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node24){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node26){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node38_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node38_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node39_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node39_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node40_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node40_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node41_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node41_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node42_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node42_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node43_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node43_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node16&& objMouseOn===Node16){sxxny=0; }
- if(data !== Node18&& objMouseOn===Node18){yygjb=0; }
- if(data !== Node20&& objMouseOn===Node20){plhts=0; }
- if(data !== Node22&& objMouseOn===Node22){tqwns=0; }
- if(data !== Node24&& objMouseOn===Node24){gljf=0; }
- if(data !== Node26&& objMouseOn===Node26){hyfy=0; }
- if(data !== Node28&& objMouseOn===Node28){llbts=0; }
- if(data !== Node30&& objMouseOn===Node30){ygcls=0; }
- if(data !== Node38_0&& objMouseOn===Node38_0){A=0; }
- if(data !== Node38_1&& objMouseOn===Node38_1){A=0; }
- if(data !== Node39_0&& objMouseOn===Node39_0){B=0; }
- if(data !== Node39_1&& objMouseOn===Node39_1){B=0; }
- if(data !== Node40_0&& objMouseOn===Node40_0){C=0; }
- if(data !== Node40_1&& objMouseOn===Node40_1){C=0; }
- if(data !== Node41_0&& objMouseOn===Node41_0){F=0; }
- if(data !== Node41_1&& objMouseOn===Node41_1){F=0; }
- if(data !== Node42_0&& objMouseOn===Node42_0){E=0; }
- if(data !== Node42_1&& objMouseOn===Node42_1){E=0; }
- if(data !== Node43_0&& objMouseOn===Node43_0){D=0; }
- if(data !== Node43_1&& objMouseOn===Node43_1){D=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node17){sxxny=1; }
- if(data === Node19){yygjb=1; }
- if(data === Node21){plhts=1; }
- if(data === Node23){tqwns=1; }
- if(data === Node25){gljf=1; }
- if(data === Node27){hyfy=1; }
- if(data === Node29){llbts=1; }
- if(data === Node31){ygcls=1; }
- if(data === Node32_0){A=1; }
- if(data === Node32_1){A=1; }
- if(data === Node33_0){B=1; }
- if(data === Node33_1){B=1; }
- if(data === Node34_0){C=1; }
- if(data === Node34_1){C=1; }
- if(data === Node35_0){E=1; }
- if(data === Node35_1){E=1; }
- if(data === Node36_0){F=1; }
- if(data === Node36_1){F=1; }
- if(data === Node37_0){D=1; }
- if(data === Node37_1){D=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|