ztjs.js 1.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563
  1. /*@WebApiFunc@*/
  2. var varList = ['demo.DEMO_AI009','HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013','GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006'];
  3. var varListObj = {};
  4. var tagInfoDic={};
  5. // 用于保存所有的lib
  6. var mouseX=0,mouseY=0;
  7. var zoomNodeList = zoomNodeList || [];
  8. zoomNodeList.length = 0;
  9. var contextMenuOnViewList = contextMenuOnViewList || [];
  10. var globalVarNameList = globalVarNameList || [];
  11. var ratio = {ratioX: 1, ratioY: 1};
  12. // 保存加上图形旋转之后的缩放比例
  13. var _ratio = {ratioX: 1, ratioY: 1};
  14. var autoAdaptive = '@autoAdaptive@';
  15. var browserSize = {
  16. width: window.innerWidth || $window.innerWidth(),
  17. height: window.innerHeight || $window.innerHeight()
  18. }
  19. var globalVarObj = {};
  20. var globarParamsObj = {};
  21. var globalAliasObj = {};
  22. var pageSizeRatioValue;
  23. var PAGESCALABLE; // 页面是否可通过滚轮缩放
  24. var PageAdaptMode = {
  25. value: 'originSize',
  26. minWidth: 1366,
  27. minHeight: 768
  28. };
  29. function calcRatio (backSize, browserSize, ratio) {
  30. var value = GD.getParams('pageSizeRatioValue') || {}, rt;
  31. function cr(adaptMode) {
  32. var rx=1, ry=1, w, h;
  33. switch (adaptMode) {
  34. case 'adaptWidth':
  35. rx = ry = browserSize.width / backSize.width;
  36. break;
  37. case 'adaptHeight':
  38. rx = ry = browserSize.width / backSize.width;
  39. break;
  40. case 'adaptBrowser':
  41. rx = browserSize.width / backSize.width;
  42. ry = browserSize.height / backSize.height;
  43. break;
  44. case 'originSize':
  45. rx = ry = 1;
  46. break;
  47. case 'autoResize':
  48. w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
  49. h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
  50. rx = w / backSize.width;
  51. ry = h / backSize.height;
  52. rx > ry ? rx = ry : ry = rx;
  53. break;
  54. }
  55. return {rx: rx,ry: ry}
  56. }
  57. value = value.value || PageAdaptMode.value;
  58. pageSizeRatioValue = value;
  59. if ($.isNumeric(value)) {
  60. rt = cr(PageAdaptMode.value);
  61. ratio.ratioX = value*rt.rx;
  62. ratio.ratioY = value*rt.ry;
  63. } else {
  64. rt = cr(value);
  65. ratio.ratioX = rt.rx;
  66. ratio.ratioY = rt.ry;
  67. }
  68. ratio.originRatioX = rt.rx;
  69. ratio.originRatioY = rt.ry;
  70. window.backSize = backSize;
  71. }
  72. // 页面的依赖
  73. (function (W, GD) {
  74. W.GD = GD = GD || {};
  75. GD.relationship = {
  76. // hash: ['a.js', 'b.js', 'c.js'],
  77. }
  78. })(window, window.GD);
  79. (function () {
  80. for (var i = 0, len = varList.length; i < len; i++) {
  81. var varStr = varList[i];
  82. varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
  83. varStr && (varListObj[varStr] = 0);
  84. }
  85. })();
  86. jQuery.support.cors = true;
  87. ht.Default.appendTimeStamp = function(url) { return url };
  88. function init() {
  89. initPage();
  90. // dataModel._libModel = _libModel;
  91. try {
  92. VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
  93. } catch (err) {}
  94. for(var i=0;i< 3 ;i++){VarValue[i] =0;}
  95. graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
  96. view.style.background = 'rgba(255,255,255,1)';
  97. sy=0;
  98. ldjsc=0;
  99. ztjs=0;
  100. sbjz=0;
  101. xnfx=0;
  102. pjgl=0;
  103. zbph=0;
  104. dbgl=0;
  105. bjzx=0;
  106. jrjs=0;
  107. sxxny=0;
  108. yygjb=0;
  109. plhts=0;
  110. tqwns=0;
  111. gljf=0;
  112. hyfy=0;
  113. llbts=0;
  114. ygcls=0;
  115. VIS=0;
  116. VIS2=0;
  117. VIS3=0;
  118. VIS4=0;
  119. VIS5=0;
  120. VIS6=0;
  121. VIS7=0;
  122. Node190GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'1'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'2'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'3'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'4'},{'Tag':'demo.day05','Name':'demo.day05','displayName':'5'},{'Tag':'demo.day06','Name':'demo.day06','displayName':'6'},{'Tag':'demo.day07','Name':'demo.day07','displayName':'7'},{'Tag':'demo.day08','Name':'demo.day08','displayName':'8'},{'Tag':'demo.day09','Name':'demo.day09','displayName':'9'},{'Tag':'demo.day10','Name':'demo.day10','displayName':'10'},{'Tag':'demo.day11','Name':'demo.day11','displayName':'11'},{'Tag':'demo.day12','Name':'demo.day12','displayName':'12'},{'Tag':'demo.day13','Name':'demo.day13','displayName':'13'},{'Tag':'demo.day14','Name':'demo.day14','displayName':'14'},{'Tag':'demo.day15','Name':'demo.day15','displayName':'15'},{'Tag':'6emo.day16','Name':'6emo.day16','displayName':'16'},{'Tag':'demo.day17','Name':'demo.day17','displayName':'17'},{'Tag':'demo.day18','Name':'demo.day18','displayName':'18'},{'Tag':'demo.day19','Name':'demo.day19','displayName':'19'},{'Tag':'demo.day20','Name':'demo.day20','displayName':'20'},{'Tag':'demo.day21','Name':'demo.day21','displayName':'21'},{'Tag':'demo.day22','Name':'demo.day22','displayName':'22'},{'Tag':'demo.day23','Name':'demo.day23','displayName':'23'},{'Tag':'demo.day24','Name':'demo.day24','displayName':'24'},{'Tag':'demo.day25','Name':'demo.day25','displayName':'25'},{'Tag':'demo.day26','Name':'demo.day26','displayName':'26'},{'Tag':'demo.day27','Name':'demo.day27','displayName':'27'},{'Tag':'demo.day28','Name':'demo.day28','displayName':'28'},{'Tag':'demo.day29','Name':'demo.day29','displayName':'29'},{'Tag':'demo.day30','Name':'demo.day30','displayName':'30'}];
  123. Node190GroupInVarName=[{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'0, 191, 255','DrawType':0,'StaType':0,'color':'#00bfff'},{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 99, 71','DrawType':1,'StaType':0,'color':'#ff6347'}];
  124. Node200GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'一月'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'二月'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'三月'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'四月'},{'Tag':'demo.day05','Name':'demo.day05','displayName':''},{'Tag':'demo.day06','Name':'demo.day06','displayName':''},{'Tag':'demo.day07','Name':'demo.day07','displayName':''},{'Tag':'demo.day08','Name':'demo.day08','displayName':''},{'Tag':'demo.day09','Name':'demo.day09','displayName':''},{'Tag':'demo.day10','Name':'demo.day10','displayName':''},{'Tag':'demo.day11','Name':'demo.day11','displayName':''},{'Tag':'demo.day12','Name':'demo.day12','displayName':''}];
  125. Node200GroupInVarName=[{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'64, 224, 208','DrawType':0,'StaType':0,'color':'#40e0d0'},{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 128, 0','DrawType':0,'StaType':0,'color':'#ff8000'},{'statisticsType':'Avg','Tag':'quick','Name':'quick','displayName':'','Col':'0, 255, 0','DrawType':0,'StaType':0,'color':'#00ff00'}];
  126. Node203RowVarName=[];
  127. /*@PageBeforeInit@*/
  128. ;(function () {
  129. var GD = window.GD;
  130. if (!GD || typeof GD.useParams !== 'function') return ;
  131. GD.useParams();
  132. })();
  133. var backSize = {width: 1899, height: 980};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  134. var PageBackgroundtype = 'rect';
  135. var PageBackground = new ht.Node(),
  136. PageBackgroundBorderWidth = 0*2;
  137. if (PageBackgroundtype === 'arc') {
  138. PageBackgroundBorderWidth *= 0;
  139. }
  140. PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 980*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
  141. PageBackground.setPosition(949*ratio.ratioX, 490*ratio.ratioY);
  142. PageBackground.setSize(1899*_ratio.ratioX, 980*_ratio.ratioY);
  143. PageBackground.s({
  144. 'pixelPerfect':true
  145. /*@AddPara@*/
  146. });
  147. PageBackground.a('node.width', 1899*_ratio.ratioX);
  148. PageBackground.a('node.height', 980*_ratio.ratioY);
  149. PageBackground.a('node.type', PageBackgroundtype);
  150. PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 980*_ratio.ratioY]);
  151. PageBackground.a('node.background', 'rgba(255,255,255,1)');
  152. PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
  153. PageBackground.a('node.gradient', '');
  154. PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
  155. PageBackground.a('node.color', 'rgba(0,0,0,1)');
  156. PageBackground.a('node.fillrect', [0,0,0,0]);
  157. PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  158. PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  159. PageBackground.a('node.fillgradient', '');
  160. if (PageBackgroundtype !== 'rect') {
  161. PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
  162. PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
  163. PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  164. }
  165. if (PageBackgroundtype === 'arc') {
  166. PageBackground.a('node.arcOval', true);
  167. }
  168. PageBackground.setRotation(0*Math.PI/180);
  169. PageBackground.borderWidth = PageBackgroundBorderWidth;
  170. PageBackground.borderFillwidth = PageBackgroundBorderWidth;
  171. dataModel.add(PageBackground);
  172. PageBackground._nodename = 'PageBackground'
  173. PageBackground._nodeType = 'rect';
  174. zoomNodeList.push({
  175. node: PageBackground,
  176. attr: 'node.borderwidth'
  177. });
  178. (function (node, _img) {
  179. var setWidth = node.setWidth,
  180. setHeight = node.setHeight;
  181. node.setWidth = function (width) {
  182. if (width === this.getWidth()) return ;
  183. var height = this.getHeight();
  184. this.a('node.width', width);
  185. this.a('node.rect', [0,0,width, height]);
  186. setWidth.apply(this, arguments);
  187. }
  188. node.setHeight = function (height) {
  189. if (height === this.getHeight()) return ;
  190. var width = this.getWidth();
  191. this.a('node.height', height);
  192. this.a('node.rect', [0,0,width, height]);
  193. setHeight.apply(this, arguments);
  194. }
  195. })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  196. var Node0type = 'rect';
  197. var Node0 = new ht.Node(),
  198. Node0BorderWidth = 1*2;
  199. if (Node0type === 'arc') {
  200. Node0BorderWidth *= 1;
  201. }
  202. Node0.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  203. Node0.setPosition(1343*ratio.ratioX, 847*ratio.ratioY);
  204. Node0.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY);
  205. Node0.s({
  206. 'pixelPerfect':true
  207. /*@AddPara@*/
  208. });
  209. Node0.a('node.width', 1114*_ratio.ratioX);
  210. Node0.a('node.height', 208*_ratio.ratioY);
  211. Node0.a('node.type', Node0type);
  212. Node0.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]);
  213. Node0.a('node.background', 'rgba(255,255,255,0.003921569)');
  214. Node0.a('node.gradientcolor', '');
  215. Node0.a('node.gradient', '');
  216. Node0.a('node.borderwidth', Node0BorderWidth);
  217. Node0.a('node.color', 'rgba(192,192,192,1)');
  218. Node0.a('node.fillrect', [0,0,0,0]);
  219. Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  220. Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  221. Node0.a('node.fillgradient', '');
  222. if (Node0type !== 'rect') {
  223. Node0.a('node.arcFrom', parseFloat('@arcFrom@'));
  224. Node0.a('node.arcTo', parseFloat('@arcTo@'));
  225. Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  226. }
  227. if (Node0type === 'arc') {
  228. Node0.a('node.arcOval', true);
  229. }
  230. Node0.setRotation(0*Math.PI/180);
  231. Node0.borderWidth = Node0BorderWidth;
  232. Node0.borderFillwidth = Node0BorderWidth;
  233. dataModel.add(Node0);
  234. Node0._nodename = 'Node0'
  235. Node0._nodeType = 'rect';
  236. zoomNodeList.push({
  237. node: Node0,
  238. attr: 'node.borderwidth'
  239. });
  240. (function (node, _img) {
  241. var setWidth = node.setWidth,
  242. setHeight = node.setHeight;
  243. node.setWidth = function (width) {
  244. if (width === this.getWidth()) return ;
  245. var height = this.getHeight();
  246. this.a('node.width', width);
  247. this.a('node.rect', [0,0,width, height]);
  248. setWidth.apply(this, arguments);
  249. }
  250. node.setHeight = function (height) {
  251. if (height === this.getHeight()) return ;
  252. var width = this.getWidth();
  253. this.a('node.height', height);
  254. this.a('node.rect', [0,0,width, height]);
  255. setHeight.apply(this, arguments);
  256. }
  257. })(Node0, Node0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  258. var Node1type = 'rect';
  259. var Node1 = new ht.Node(),
  260. Node1BorderWidth = 1*2;
  261. if (Node1type === 'arc') {
  262. Node1BorderWidth *= 1;
  263. }
  264. Node1.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  265. Node1.setPosition(1343*ratio.ratioX, 637*ratio.ratioY);
  266. Node1.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY);
  267. Node1.s({
  268. 'pixelPerfect':true
  269. /*@AddPara@*/
  270. });
  271. Node1.a('node.width', 1114*_ratio.ratioX);
  272. Node1.a('node.height', 208*_ratio.ratioY);
  273. Node1.a('node.type', Node1type);
  274. Node1.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]);
  275. Node1.a('node.background', 'rgba(255,255,255,0.003921569)');
  276. Node1.a('node.gradientcolor', '');
  277. Node1.a('node.gradient', '');
  278. Node1.a('node.borderwidth', Node1BorderWidth);
  279. Node1.a('node.color', 'rgba(192,192,192,1)');
  280. Node1.a('node.fillrect', [0,0,0,0]);
  281. Node1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  282. Node1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  283. Node1.a('node.fillgradient', '');
  284. if (Node1type !== 'rect') {
  285. Node1.a('node.arcFrom', parseFloat('@arcFrom@'));
  286. Node1.a('node.arcTo', parseFloat('@arcTo@'));
  287. Node1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  288. }
  289. if (Node1type === 'arc') {
  290. Node1.a('node.arcOval', true);
  291. }
  292. Node1.setRotation(0*Math.PI/180);
  293. Node1.borderWidth = Node1BorderWidth;
  294. Node1.borderFillwidth = Node1BorderWidth;
  295. dataModel.add(Node1);
  296. Node1._nodename = 'Node1'
  297. Node1._nodeType = 'rect';
  298. zoomNodeList.push({
  299. node: Node1,
  300. attr: 'node.borderwidth'
  301. });
  302. (function (node, _img) {
  303. var setWidth = node.setWidth,
  304. setHeight = node.setHeight;
  305. node.setWidth = function (width) {
  306. if (width === this.getWidth()) return ;
  307. var height = this.getHeight();
  308. this.a('node.width', width);
  309. this.a('node.rect', [0,0,width, height]);
  310. setWidth.apply(this, arguments);
  311. }
  312. node.setHeight = function (height) {
  313. if (height === this.getHeight()) return ;
  314. var width = this.getWidth();
  315. this.a('node.height', height);
  316. this.a('node.rect', [0,0,width, height]);
  317. setHeight.apply(this, arguments);
  318. }
  319. })(Node1, Node1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  320. var Node2type = 'rect';
  321. var Node2 = new ht.Node(),
  322. Node2BorderWidth = 1*2;
  323. if (Node2type === 'arc') {
  324. Node2BorderWidth *= 1;
  325. }
  326. Node2.setImage(GD.getRectJSON(510*_ratio.ratioX, 208*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  327. Node2.setPosition(1638*ratio.ratioX, 427*ratio.ratioY);
  328. Node2.setSize(510*_ratio.ratioX, 208*_ratio.ratioY);
  329. Node2.s({
  330. 'pixelPerfect':true
  331. /*@AddPara@*/
  332. });
  333. Node2.a('node.width', 510*_ratio.ratioX);
  334. Node2.a('node.height', 208*_ratio.ratioY);
  335. Node2.a('node.type', Node2type);
  336. Node2.a('node.rect', [0, 0, 510*_ratio.ratioX, 208*_ratio.ratioY]);
  337. Node2.a('node.background', 'rgba(255,255,255,0.003921569)');
  338. Node2.a('node.gradientcolor', '');
  339. Node2.a('node.gradient', '');
  340. Node2.a('node.borderwidth', Node2BorderWidth);
  341. Node2.a('node.color', 'rgba(192,192,192,1)');
  342. Node2.a('node.fillrect', [0,0,0,0]);
  343. Node2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  344. Node2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  345. Node2.a('node.fillgradient', '');
  346. if (Node2type !== 'rect') {
  347. Node2.a('node.arcFrom', parseFloat('@arcFrom@'));
  348. Node2.a('node.arcTo', parseFloat('@arcTo@'));
  349. Node2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  350. }
  351. if (Node2type === 'arc') {
  352. Node2.a('node.arcOval', true);
  353. }
  354. Node2.setRotation(0*Math.PI/180);
  355. Node2.borderWidth = Node2BorderWidth;
  356. Node2.borderFillwidth = Node2BorderWidth;
  357. dataModel.add(Node2);
  358. Node2._nodename = 'Node2'
  359. Node2._nodeType = 'rect';
  360. zoomNodeList.push({
  361. node: Node2,
  362. attr: 'node.borderwidth'
  363. });
  364. (function (node, _img) {
  365. var setWidth = node.setWidth,
  366. setHeight = node.setHeight;
  367. node.setWidth = function (width) {
  368. if (width === this.getWidth()) return ;
  369. var height = this.getHeight();
  370. this.a('node.width', width);
  371. this.a('node.rect', [0,0,width, height]);
  372. setWidth.apply(this, arguments);
  373. }
  374. node.setHeight = function (height) {
  375. if (height === this.getHeight()) return ;
  376. var width = this.getWidth();
  377. this.a('node.height', height);
  378. this.a('node.rect', [0,0,width, height]);
  379. setHeight.apply(this, arguments);
  380. }
  381. })(Node2, Node2.getImage());option = {
  382. tooltip : {
  383. formatter: "{a} <br/>{c} {b}"
  384. },
  385. toolbox: {
  386. show:false,
  387. feature: {
  388. //restore: {},
  389. saveAsImage: {}
  390. }
  391. },
  392. series: [
  393. {
  394. radius: '100%',
  395. name: '',
  396. type: 'gauge',
  397. splitNumber:5,
  398. min: 0,
  399. max: 1250,
  400. startAngle:180,
  401. endAngle:0,
  402. axisTick:{
  403. length:5,
  404. lineStyle: {
  405. color:'rgba(255,255,255,1)'
  406. }
  407. },
  408. axisLabel: { // 坐标轴小标记
  409. textStyle: { // 属性lineStyle控制线条样式
  410. color: 'rgba(64,64,64,1)'
  411. },
  412. formatter: function (value, index) {
  413. return value.toFixed(0);
  414. }
  415. },
  416. axisLine: {
  417. lineStyle: {
  418. color: [[0.388888888888889, 'rgba(192,255,255,1)'],[1, 'rgba(192,192,192,1)']],
  419. width: 10
  420. }
  421. },
  422. splitLine:{
  423. length:10,
  424. lineStyle: {
  425. color: 'rgba(255,255,255,1)'
  426. }
  427. },
  428. pointer:{
  429. length:'80%',
  430. width:7
  431. },
  432. itemStyle: {
  433. normal: {
  434. opacity: 0
  435. }
  436. },
  437. detail: {formatter:'{value}',show:false},
  438. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  439. }
  440. ]
  441. };
  442. _ratio = GD.getRatioWithRotation(0, ratio);
  443. var Node3 = new ht.HtmlNode();
  444. Node3.setPosition({'x':1744*ratio.ratioX,'y':499*ratio.ratioY});
  445. Node3.setWidth(270*_ratio.ratioX);
  446. Node3.setHeight(140*_ratio.ratioY);
  447. Node3.setScalable(false);
  448. Node3.setRotation(0);
  449. Node3.s({
  450. '2d.selectable': false,
  451. '2d.movable': false
  452. });
  453. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  454. Node3.setHtml(chart);
  455. var Node3_chart = chart._chart;
  456. dataModel.add(Node3);option = {
  457. tooltip : {
  458. formatter: "{a} <br/>{c} {b}"
  459. },
  460. toolbox: {
  461. show:false,
  462. feature: {
  463. //restore: {},
  464. saveAsImage: {}
  465. }
  466. },
  467. series: [
  468. {
  469. radius: '100%',
  470. name: '',
  471. type: 'gauge',
  472. splitNumber:5,
  473. min: 0,
  474. max: 1250,
  475. startAngle:180,
  476. endAngle:0,
  477. axisTick:{
  478. length:5,
  479. lineStyle: {
  480. color:'rgba(255,255,255,1)'
  481. }
  482. },
  483. axisLabel: { // 坐标轴小标记
  484. textStyle: { // 属性lineStyle控制线条样式
  485. color: 'rgba(64,64,64,1)'
  486. },
  487. formatter: function (value, index) {
  488. return value.toFixed(0);
  489. }
  490. },
  491. axisLine: {
  492. lineStyle: {
  493. color: [[0.511111111111111, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']],
  494. width: 10
  495. }
  496. },
  497. splitLine:{
  498. length:10,
  499. lineStyle: {
  500. color: 'rgba(255,255,255,1)'
  501. }
  502. },
  503. pointer:{
  504. length:'80%',
  505. width:7
  506. },
  507. itemStyle: {
  508. normal: {
  509. opacity: 0
  510. }
  511. },
  512. detail: {formatter:'{value}',show:false},
  513. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  514. }
  515. ]
  516. };
  517. _ratio = GD.getRatioWithRotation(0, ratio);
  518. var Node4 = new ht.HtmlNode();
  519. Node4.setPosition({'x':1521*ratio.ratioX,'y':494*ratio.ratioY});
  520. Node4.setWidth(270*_ratio.ratioX);
  521. Node4.setHeight(140*_ratio.ratioY);
  522. Node4.setScalable(false);
  523. Node4.setRotation(0);
  524. Node4.s({
  525. '2d.selectable': false,
  526. '2d.movable': false
  527. });
  528. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  529. Node4.setHtml(chart);
  530. var Node4_chart = chart._chart;
  531. dataModel.add(Node4);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  532. var Node5type = 'rect';
  533. var Node5 = new ht.Node(),
  534. Node5BorderWidth = 1*2;
  535. if (Node5type === 'arc') {
  536. Node5BorderWidth *= 1;
  537. }
  538. Node5.setImage(GD.getRectJSON(1113*_ratio.ratioX, 78*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  539. Node5.setPosition(1341*ratio.ratioX, 281*ratio.ratioY);
  540. Node5.setSize(1113*_ratio.ratioX, 78*_ratio.ratioY);
  541. Node5.s({
  542. 'pixelPerfect':true
  543. /*@AddPara@*/
  544. });
  545. Node5.a('node.width', 1113*_ratio.ratioX);
  546. Node5.a('node.height', 78*_ratio.ratioY);
  547. Node5.a('node.type', Node5type);
  548. Node5.a('node.rect', [0, 0, 1113*_ratio.ratioX, 78*_ratio.ratioY]);
  549. Node5.a('node.background', 'rgba(255,255,255,0.003921569)');
  550. Node5.a('node.gradientcolor', '');
  551. Node5.a('node.gradient', '');
  552. Node5.a('node.borderwidth', Node5BorderWidth);
  553. Node5.a('node.color', 'rgba(192,192,192,1)');
  554. Node5.a('node.fillrect', [0,0,0,0]);
  555. Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  556. Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  557. Node5.a('node.fillgradient', '');
  558. if (Node5type !== 'rect') {
  559. Node5.a('node.arcFrom', parseFloat('@arcFrom@'));
  560. Node5.a('node.arcTo', parseFloat('@arcTo@'));
  561. Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  562. }
  563. if (Node5type === 'arc') {
  564. Node5.a('node.arcOval', true);
  565. }
  566. Node5.setRotation(0*Math.PI/180);
  567. Node5.borderWidth = Node5BorderWidth;
  568. Node5.borderFillwidth = Node5BorderWidth;
  569. dataModel.add(Node5);
  570. Node5._nodename = 'Node5'
  571. Node5._nodeType = 'rect';
  572. zoomNodeList.push({
  573. node: Node5,
  574. attr: 'node.borderwidth'
  575. });
  576. (function (node, _img) {
  577. var setWidth = node.setWidth,
  578. setHeight = node.setHeight;
  579. node.setWidth = function (width) {
  580. if (width === this.getWidth()) return ;
  581. var height = this.getHeight();
  582. this.a('node.width', width);
  583. this.a('node.rect', [0,0,width, height]);
  584. setWidth.apply(this, arguments);
  585. }
  586. node.setHeight = function (height) {
  587. if (height === this.getHeight()) return ;
  588. var width = this.getWidth();
  589. this.a('node.height', height);
  590. this.a('node.rect', [0,0,width, height]);
  591. setHeight.apply(this, arguments);
  592. }
  593. })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  594. var Node6type = 'rect';
  595. var Node6 = new ht.Node(),
  596. Node6BorderWidth = 1*2;
  597. if (Node6type === 'arc') {
  598. Node6BorderWidth *= 1;
  599. }
  600. Node6.setImage(GD.getRectJSON(570*_ratio.ratioX, 210*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  601. Node6.setPosition(1071*ratio.ratioX, 427*ratio.ratioY);
  602. Node6.setSize(570*_ratio.ratioX, 210*_ratio.ratioY);
  603. Node6.s({
  604. 'pixelPerfect':true
  605. /*@AddPara@*/
  606. });
  607. Node6.a('node.width', 570*_ratio.ratioX);
  608. Node6.a('node.height', 210*_ratio.ratioY);
  609. Node6.a('node.type', Node6type);
  610. Node6.a('node.rect', [0, 0, 570*_ratio.ratioX, 210*_ratio.ratioY]);
  611. Node6.a('node.background', 'rgba(255,255,255,0.003921569)');
  612. Node6.a('node.gradientcolor', '');
  613. Node6.a('node.gradient', '');
  614. Node6.a('node.borderwidth', Node6BorderWidth);
  615. Node6.a('node.color', 'rgba(224,224,224,1)');
  616. Node6.a('node.fillrect', [0,0,0,0]);
  617. Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  618. Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  619. Node6.a('node.fillgradient', '');
  620. if (Node6type !== 'rect') {
  621. Node6.a('node.arcFrom', parseFloat('@arcFrom@'));
  622. Node6.a('node.arcTo', parseFloat('@arcTo@'));
  623. Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  624. }
  625. if (Node6type === 'arc') {
  626. Node6.a('node.arcOval', true);
  627. }
  628. Node6.setRotation(0*Math.PI/180);
  629. Node6.borderWidth = Node6BorderWidth;
  630. Node6.borderFillwidth = Node6BorderWidth;
  631. dataModel.add(Node6);
  632. Node6._nodename = 'Node6'
  633. Node6._nodeType = 'rect';
  634. zoomNodeList.push({
  635. node: Node6,
  636. attr: 'node.borderwidth'
  637. });
  638. (function (node, _img) {
  639. var setWidth = node.setWidth,
  640. setHeight = node.setHeight;
  641. node.setWidth = function (width) {
  642. if (width === this.getWidth()) return ;
  643. var height = this.getHeight();
  644. this.a('node.width', width);
  645. this.a('node.rect', [0,0,width, height]);
  646. setWidth.apply(this, arguments);
  647. }
  648. node.setHeight = function (height) {
  649. if (height === this.getHeight()) return ;
  650. var width = this.getWidth();
  651. this.a('node.height', height);
  652. this.a('node.rect', [0,0,width, height]);
  653. setHeight.apply(this, arguments);
  654. }
  655. })(Node6, Node6.getImage());var Node7;
  656. (function () {
  657. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  658. var ratioX, ratioY;
  659. if ('Default' === 'False') {
  660. ratioX = 1;
  661. ratioY = 1;
  662. } else if ('Default' === 'X') {
  663. ratioX = ratioY = _ratio.ratioX;
  664. } else if ('Default' === 'Y') {
  665. ratioX = ratioY = _ratio.ratioY;
  666. } else {
  667. ratioX = _ratio.ratioX;
  668. ratioY = _ratio.ratioY;
  669. }
  670. ht.Default.setImage('imgimage//img//benner.png', PAGEROOTDIR + 'image//img//benner.png');
  671. Node7 = new ht.Node();
  672. Node7.setPosition(946*ratio.ratioX, 25*ratio.ratioY);
  673. Node7.setSize(1899*ratioX, 50*ratioY);
  674. Node7.setImage('imgimage//img//benner.png');
  675. Node7.setRotation(0*Math.PI/180);
  676. Node7._zoomBy = 'Default';
  677. Node7._nodeType = 'image';
  678. Node7._disallowEvert = true;
  679. dataModel.add(Node7);
  680. })();
  681. var Node8;
  682. (function () {
  683. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  684. var ratioX, ratioY;
  685. if ('Default' === 'False') {
  686. ratioX = 1;
  687. ratioY = 1;
  688. } else if ('Default' === 'X') {
  689. ratioX = ratioY = _ratio.ratioX;
  690. } else if ('Default' === 'Y') {
  691. ratioX = ratioY = _ratio.ratioY;
  692. } else {
  693. ratioX = _ratio.ratioX;
  694. ratioY = _ratio.ratioY;
  695. }
  696. ht.Default.setImage('imgimage//img//new_but_bg_a.png', PAGEROOTDIR + 'image//img//new_but_bg_a.png');
  697. Node8 = new ht.Node();
  698. Node8.setPosition(949*ratio.ratioX, 65*ratio.ratioY);
  699. Node8.setSize(1899*ratioX, 31*ratioY);
  700. Node8.setImage('imgimage//img//new_but_bg_a.png');
  701. Node8.setRotation(0*Math.PI/180);
  702. Node8._zoomBy = 'Default';
  703. Node8._nodeType = 'image';
  704. Node8._disallowEvert = true;
  705. dataModel.add(Node8);
  706. })();
  707. _ratio = GD.getRatioWithRotation(0, ratio);
  708. var Node9 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 98*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);
  709. var Node10 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 98*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);
  710. var Node11 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 56*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  711. var Node12 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 57*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',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_but_01.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  712. var Node13type = 'rect';
  713. var Node13 = new ht.Node(),
  714. Node13BorderWidth = 1*2;
  715. if (Node13type === 'arc') {
  716. Node13BorderWidth *= 1;
  717. }
  718. Node13.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  719. Node13.setPosition(247*ratio.ratioX, 178*ratio.ratioY);
  720. Node13.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  721. Node13.s({
  722. 'pixelPerfect':true
  723. /*@AddPara@*/
  724. });
  725. Node13.a('node.width', 120*_ratio.ratioX);
  726. Node13.a('node.height', 120*_ratio.ratioY);
  727. Node13.a('node.type', Node13type);
  728. Node13.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  729. Node13.a('node.background', 'rgba(245,245,245,1)');
  730. Node13.a('node.gradientcolor', 'rgba(245,245,245,1)');
  731. Node13.a('node.gradient', '');
  732. Node13.a('node.borderwidth', Node13BorderWidth);
  733. Node13.a('node.color', 'rgba(220,220,220,1)');
  734. Node13.a('node.fillrect', [0,0,0,0]);
  735. Node13.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  736. Node13.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  737. Node13.a('node.fillgradient', '');
  738. if (Node13type !== 'rect') {
  739. Node13.a('node.arcFrom', parseFloat('@arcFrom@'));
  740. Node13.a('node.arcTo', parseFloat('@arcTo@'));
  741. Node13.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  742. }
  743. if (Node13type === 'arc') {
  744. Node13.a('node.arcOval', true);
  745. }
  746. Node13.setRotation(0*Math.PI/180);
  747. Node13.borderWidth = Node13BorderWidth;
  748. Node13.borderFillwidth = Node13BorderWidth;
  749. dataModel.add(Node13);
  750. Node13._nodename = 'Node13'
  751. Node13._nodeType = 'rect';
  752. zoomNodeList.push({
  753. node: Node13,
  754. attr: 'node.borderwidth'
  755. });
  756. (function (node, _img) {
  757. var setWidth = node.setWidth,
  758. setHeight = node.setHeight;
  759. node.setWidth = function (width) {
  760. if (width === this.getWidth()) return ;
  761. var height = this.getHeight();
  762. this.a('node.width', width);
  763. this.a('node.rect', [0,0,width, height]);
  764. setWidth.apply(this, arguments);
  765. }
  766. node.setHeight = function (height) {
  767. if (height === this.getHeight()) return ;
  768. var width = this.getWidth();
  769. this.a('node.height', height);
  770. this.a('node.rect', [0,0,width, height]);
  771. setHeight.apply(this, arguments);
  772. }
  773. })(Node13, Node13.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  774. var Node14type = 'rect';
  775. var Node14 = new ht.Node(),
  776. Node14BorderWidth = 1*2;
  777. if (Node14type === 'arc') {
  778. Node14BorderWidth *= 1;
  779. }
  780. Node14.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  781. Node14.setPosition(326*ratio.ratioX, 178*ratio.ratioY);
  782. Node14.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  783. Node14.s({
  784. 'pixelPerfect':true
  785. /*@AddPara@*/
  786. });
  787. Node14.a('node.width', 280.7278*_ratio.ratioX);
  788. Node14.a('node.height', 122*_ratio.ratioY);
  789. Node14.a('node.type', Node14type);
  790. Node14.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  791. Node14.a('node.background', 'rgba(255,255,255,0.003921569)');
  792. Node14.a('node.gradientcolor', '');
  793. Node14.a('node.gradient', '');
  794. Node14.a('node.borderwidth', Node14BorderWidth);
  795. Node14.a('node.color', 'rgba(220,220,220,1)');
  796. Node14.a('node.fillrect', [0,0,0,0]);
  797. Node14.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  798. Node14.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  799. Node14.a('node.fillgradient', '');
  800. if (Node14type !== 'rect') {
  801. Node14.a('node.arcFrom', parseFloat('@arcFrom@'));
  802. Node14.a('node.arcTo', parseFloat('@arcTo@'));
  803. Node14.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  804. }
  805. if (Node14type === 'arc') {
  806. Node14.a('node.arcOval', true);
  807. }
  808. Node14.setRotation(0*Math.PI/180);
  809. Node14.borderWidth = Node14BorderWidth;
  810. Node14.borderFillwidth = Node14BorderWidth;
  811. dataModel.add(Node14);
  812. Node14._nodename = 'Node14'
  813. Node14._nodeType = 'rect';
  814. zoomNodeList.push({
  815. node: Node14,
  816. attr: 'node.borderwidth'
  817. });
  818. (function (node, _img) {
  819. var setWidth = node.setWidth,
  820. setHeight = node.setHeight;
  821. node.setWidth = function (width) {
  822. if (width === this.getWidth()) return ;
  823. var height = this.getHeight();
  824. this.a('node.width', width);
  825. this.a('node.rect', [0,0,width, height]);
  826. setWidth.apply(this, arguments);
  827. }
  828. node.setHeight = function (height) {
  829. if (height === this.getHeight()) return ;
  830. var width = this.getWidth();
  831. this.a('node.height', height);
  832. this.a('node.rect', [0,0,width, height]);
  833. setHeight.apply(this, arguments);
  834. }
  835. })(Node14, Node14.getImage());var Node15points=[377, 118,377, 238],
  836. Node15rect=ht.Default.unionPoint([{x:377,y:118},{x:377,y:238}]),
  837. Node15compspts=[];
  838. _ratio = GD.getRatioWithRotation(0, ratio);
  839. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  840. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  841. for(var i=0;i<Node15points.length;i++){
  842. if(i%2==0){
  843. Node15compspts.push(Node15points[i]-Node15rect.x);
  844. }else{
  845. Node15compspts.push(Node15points[i]-Node15rect.y);
  846. }
  847. }
  848. var Node15ptslength=Node15compspts.length;
  849. if (Node15rect.height === 0) {
  850. Node15compspts[0] -= 0;
  851. Node15compspts[Node15ptslength-2] += 0;
  852. } else if (Node15rect.width === 0){
  853. Node15compspts[1] -= 0;
  854. Node15compspts[Node15ptslength-1] += 0;
  855. } else {
  856. Node15compspts[0] -= 0;
  857. Node15compspts[1] -= 0;
  858. Node15compspts[Node15ptslength-2] += 0;
  859. Node15compspts[Node15ptslength-1] += 0;
  860. }
  861. Node15 = new ht.Node();
  862. Node15.borderWidth = 1;
  863. Node15rect.width = Node15rect.width === 0 ? 0.0001 : Node15rect.width;
  864. Node15rect.height = Node15rect.height === 0 ? 0.0001 : Node15rect.height;
  865. var Node15endCompspts = [Node15compspts[Node15ptslength-2],Node15compspts[Node15ptslength-1],0,0];
  866. var Node15startCompspts = [Node15compspts[0],Node15compspts[1],0,0];
  867. Node15.setImage(GD.getPolyLineJSON());
  868. Node15.setPosition(Node15rect.x+Node15rect.width/2,Node15rect.y+Node15rect.height/2);
  869. Node15.setSize(Node15rect.width,Node15rect.height);
  870. Node15.setStyle("opacity",1);
  871. Node15.s({'pixelPerfect':true});
  872. Node15borderwidth=1;
  873. Node15.setRotation(0);
  874. dataModel.add(Node15);
  875. Node15.a('node.points',Node15compspts);
  876. Node15.a('node.segments',[1,2]);
  877. Node15.a('node.color','rgba(220,220,220,1)');
  878. Node15.a('node.borderPattern',getDashStyle("@borderPattern@"));
  879. Node15.a('node.borderColor','rgba(220,220,220,1)');
  880. Node15.a('node.background','rgba(220,220,220,1)');
  881. Node15.a('node.gradient','');
  882. Node15.a('node.gradientcolor','rgba(220,220,220,1)');
  883. Node15.a('node.endCompspts',Node15endCompspts);
  884. Node15.a('node.startCompspts',Node15startCompspts);
  885. (function (node, img, compspts, endCompspts, startCompspts) {
  886. var position = node.getPosition(),
  887. w = node.getWidth()*_ratio.ratioX,
  888. h = node.getHeight()*_ratio.ratioY;
  889. function resetPoints(rx, ry) {
  890. for (var i = 0, len = compspts.length; i < len; i++) {
  891. if (i%2 === 0) {
  892. compspts[i]*=rx;
  893. } else {
  894. compspts[i]*=ry;
  895. }
  896. }
  897. endCompspts[0] = compspts[compspts.length-2];
  898. endCompspts[1] = compspts[compspts.length-1];
  899. endCompspts[2] *= rx;
  900. endCompspts[3] *= ry;
  901. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  902. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  903. startCompspts[0] = compspts[0];
  904. startCompspts[1] = compspts[1];
  905. startCompspts[2] *= rx;
  906. startCompspts[3] *= ry;
  907. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  908. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  909. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  910. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  911. }
  912. node.setSize(w, h);
  913. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  914. node.a('node.width', w);
  915. node.a('node.height', h);
  916. resetPoints(_ratio.ratioX, _ratio.ratioY);
  917. node.borderWidth = 1;
  918. node.a('node.borderwidth',node.borderWidth);
  919. node._nodename = 'Node15';
  920. node._nodeType = 'line';
  921. zoomNodeList.push({
  922. node: node,
  923. attr: 'node.borderwidth'
  924. });
  925. var setWidth = node.setWidth,
  926. setHeight = node.setHeight,
  927. timer, rx = 1, ry = 1;
  928. node.setWidth = function (width) {
  929. var _width = this.getWidth();
  930. rx = width / _width;
  931. node.a('node.width', width);
  932. setWidth.apply(this, arguments);
  933. resetPoints(rx, 1);
  934. }
  935. node.setHeight = function (height) {
  936. var _height = this.getHeight();
  937. ry = height / _height;
  938. node.a('node.height', height);
  939. setHeight.apply(this, arguments);
  940. resetPoints(1, ry);
  941. }
  942. })(Node15, Node15.getImage(), Node15compspts, Node15endCompspts, Node15startCompspts);
  943. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  944. var Node16 = new ht.Node();
  945. var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 13.3333*_ratio.ratioY,Node16width = 82*_ratio.ratioX, Node16height = 27*_ratio.ratioY;
  946. (function () {
  947. if (Node16align === 'left') {
  948. Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9;
  949. Node16textWidth = Node16width;
  950. Node16lineStart = 1;
  951. } else if (Node16align === 'right') {
  952. Node16textStart = 0;
  953. Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2;
  954. Node16lineStart = (Node16width - (ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
  955. } else if (Node16align === 'center') {
  956. Node16textStart = -3;
  957. Node16textWidth = Node16width;
  958. Node16lineStart = Node16width - ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width - 11;
  959. }
  960. })();
  961. Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
  962. Node16.setPosition(232*ratio.ratioX, 128*ratio.ratioY);
  963. Node16.setWidth(Node16width);
  964. Node16.setHeight(Node16height);
  965. Node16._nodeType = 'text';
  966. Node16._disallowEvert = true;
  967. Node16.setRotation(0*Math.PI/180);
  968. Node16.a('node.width', Node16width);
  969. Node16.a('node.height', Node16height);
  970. Node16.a('node.rect', [0, 0, Node16width, Node16height]);
  971. Node16.a('node.bordercolor','rgba(0,0,0,1)');
  972. Node16.a('node.borderwidth', 0);
  973. Node16.a('node.background','' || 'rgba(0,0,0,0)');
  974. Node16.a('node.gradient','');
  975. Node16.a('node.gradientcolor','');
  976. Node16.a('node.text','装机容量');
  977. Node16.a('node.textalign','left');
  978. Node16.a('node.textvAlign','middle');
  979. Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]);
  980. Node16.a('node.color','rgba(0,0,0,1)');
  981. Node16.a('node.font',' '+ Node16fontSize + 'px "Arial"');
  982. Node16.a('node.textvisible',true);
  983. Node16.a('node.linefeed',false);
  984. if (false) {
  985. Node16.a('node.textfunc',function(g) {
  986. g.beginPath();
  987. var str=Node16.a('node.text') || '装机容量';
  988. var color=Node16.a('node.color') || 'rgba(0,0,0,1)';
  989. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
  990. });
  991. }
  992. if (false) {
  993. Node16.a('node.underlinepoints',[Node16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
  994. Node16.a('node.underlinevisible',false);
  995. Node16.a('node.underlineBorderWidth', 1);
  996. }
  997. dataModel.add(Node16);
  998. zoomNodeList.push({
  999. node: Node16,
  1000. borderWidth: 0,
  1001. attr: 'node.borderwidth'
  1002. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1003. var Node17 = new ht.Node();
  1004. var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'left', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 82*_ratio.ratioX, Node17height = 27*_ratio.ratioY;
  1005. (function () {
  1006. if (Node17align === 'left') {
  1007. Node17textStart = Node17fontSize * 0.2 > 2 ? Node17fontSize * 0.2 - 4 : Node17fontSize * 0.2 - 9;
  1008. Node17textWidth = Node17width;
  1009. Node17lineStart = 1;
  1010. } else if (Node17align === 'right') {
  1011. Node17textStart = 0;
  1012. Node17textWidth =Node17fontSize <= 8 ? Node17width + Node17fontSize * 0.2 + 6 : Node17width - Node17fontSize * 0.2;
  1013. Node17lineStart = (Node17width - (ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width + 6)) * 0.5;
  1014. } else if (Node17align === 'center') {
  1015. Node17textStart = -3;
  1016. Node17textWidth = Node17width;
  1017. Node17lineStart = Node17width - ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width - 11;
  1018. }
  1019. })();
  1020. Node17.setImage(GD.getTextJSON(Node17width, Node17height, true, false, false, ' '+ Node17fontSize + 'px "Arial"'))
  1021. Node17.setPosition(232*ratio.ratioX, 154*ratio.ratioY);
  1022. Node17.setWidth(Node17width);
  1023. Node17.setHeight(Node17height);
  1024. Node17._nodeType = 'text';
  1025. Node17._disallowEvert = true;
  1026. Node17.setRotation(0*Math.PI/180);
  1027. Node17.a('node.width', Node17width);
  1028. Node17.a('node.height', Node17height);
  1029. Node17.a('node.rect', [0, 0, Node17width, Node17height]);
  1030. Node17.a('node.bordercolor','rgba(0,0,0,1)');
  1031. Node17.a('node.borderwidth', 0);
  1032. Node17.a('node.background','' || 'rgba(0,0,0,0)');
  1033. Node17.a('node.gradient','');
  1034. Node17.a('node.gradientcolor','');
  1035. Node17.a('node.text','月利用小时');
  1036. Node17.a('node.textalign','left');
  1037. Node17.a('node.textvAlign','middle');
  1038. Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
  1039. Node17.a('node.color','rgba(0,0,0,1)');
  1040. Node17.a('node.font',' '+ Node17fontSize + 'px "Arial"');
  1041. Node17.a('node.textvisible',true);
  1042. Node17.a('node.linefeed',false);
  1043. if (false) {
  1044. Node17.a('node.textfunc',function(g) {
  1045. g.beginPath();
  1046. var str=Node17.a('node.text') || '月利用小时';
  1047. var color=Node17.a('node.color') || 'rgba(0,0,0,1)';
  1048. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"left",color,' '+ Node17fontSize + 'px "Arial"', 0,g);
  1049. });
  1050. }
  1051. if (false) {
  1052. Node17.a('node.underlinepoints',[Node17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]);
  1053. Node17.a('node.underlinevisible',false);
  1054. Node17.a('node.underlineBorderWidth', 1);
  1055. }
  1056. dataModel.add(Node17);
  1057. zoomNodeList.push({
  1058. node: Node17,
  1059. borderWidth: 0,
  1060. attr: 'node.borderwidth'
  1061. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1062. var Node18 = new ht.Node();
  1063. var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'left', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 82*_ratio.ratioX, Node18height = 27*_ratio.ratioY;
  1064. (function () {
  1065. if (Node18align === 'left') {
  1066. Node18textStart = Node18fontSize * 0.2 > 2 ? Node18fontSize * 0.2 - 4 : Node18fontSize * 0.2 - 9;
  1067. Node18textWidth = Node18width;
  1068. Node18lineStart = 1;
  1069. } else if (Node18align === 'right') {
  1070. Node18textStart = 0;
  1071. Node18textWidth =Node18fontSize <= 8 ? Node18width + Node18fontSize * 0.2 + 6 : Node18width - Node18fontSize * 0.2;
  1072. Node18lineStart = (Node18width - (ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width + 6)) * 0.5;
  1073. } else if (Node18align === 'center') {
  1074. Node18textStart = -3;
  1075. Node18textWidth = Node18width;
  1076. Node18lineStart = Node18width - ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width - 11;
  1077. }
  1078. })();
  1079. Node18.setImage(GD.getTextJSON(Node18width, Node18height, true, false, false, ' '+ Node18fontSize + 'px "Arial"'))
  1080. Node18.setPosition(232*ratio.ratioX, 178*ratio.ratioY);
  1081. Node18.setWidth(Node18width);
  1082. Node18.setHeight(Node18height);
  1083. Node18._nodeType = 'text';
  1084. Node18._disallowEvert = true;
  1085. Node18.setRotation(0*Math.PI/180);
  1086. Node18.a('node.width', Node18width);
  1087. Node18.a('node.height', Node18height);
  1088. Node18.a('node.rect', [0, 0, Node18width, Node18height]);
  1089. Node18.a('node.bordercolor','rgba(0,0,0,1)');
  1090. Node18.a('node.borderwidth', 0);
  1091. Node18.a('node.background','' || 'rgba(0,0,0,0)');
  1092. Node18.a('node.gradient','');
  1093. Node18.a('node.gradientcolor','');
  1094. Node18.a('node.text','年利用小时');
  1095. Node18.a('node.textalign','left');
  1096. Node18.a('node.textvAlign','middle');
  1097. Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
  1098. Node18.a('node.color','rgba(0,0,0,1)');
  1099. Node18.a('node.font',' '+ Node18fontSize + 'px "Arial"');
  1100. Node18.a('node.textvisible',true);
  1101. Node18.a('node.linefeed',false);
  1102. if (false) {
  1103. Node18.a('node.textfunc',function(g) {
  1104. g.beginPath();
  1105. var str=Node18.a('node.text') || '年利用小时';
  1106. var color=Node18.a('node.color') || 'rgba(0,0,0,1)';
  1107. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"left",color,' '+ Node18fontSize + 'px "Arial"', 0,g);
  1108. });
  1109. }
  1110. if (false) {
  1111. Node18.a('node.underlinepoints',[Node18lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width + 6, (Node18height - Node18fontSize) * 0.5*_ratio.ratioY + Node18fontSize + 2 ]);
  1112. Node18.a('node.underlinevisible',false);
  1113. Node18.a('node.underlineBorderWidth', 1);
  1114. }
  1115. dataModel.add(Node18);
  1116. zoomNodeList.push({
  1117. node: Node18,
  1118. borderWidth: 0,
  1119. attr: 'node.borderwidth'
  1120. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1121. var Node19 = new ht.Node();
  1122. var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'left', Node19fontSize = 13.3333*_ratio.ratioY,Node19width = 110*_ratio.ratioX, Node19height = 27*_ratio.ratioY;
  1123. (function () {
  1124. if (Node19align === 'left') {
  1125. Node19textStart = Node19fontSize * 0.2 > 2 ? Node19fontSize * 0.2 - 4 : Node19fontSize * 0.2 - 9;
  1126. Node19textWidth = Node19width;
  1127. Node19lineStart = 1;
  1128. } else if (Node19align === 'right') {
  1129. Node19textStart = 0;
  1130. Node19textWidth =Node19fontSize <= 8 ? Node19width + Node19fontSize * 0.2 + 6 : Node19width - Node19fontSize * 0.2;
  1131. Node19lineStart = (Node19width - (ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width + 6)) * 0.5;
  1132. } else if (Node19align === 'center') {
  1133. Node19textStart = -3;
  1134. Node19textWidth = Node19width;
  1135. Node19lineStart = Node19width - ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width - 11;
  1136. }
  1137. })();
  1138. Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "Arial"'))
  1139. Node19.setPosition(246*ratio.ratioX, 201*ratio.ratioY);
  1140. Node19.setWidth(Node19width);
  1141. Node19.setHeight(Node19height);
  1142. Node19._nodeType = 'text';
  1143. Node19._disallowEvert = true;
  1144. Node19.setRotation(0*Math.PI/180);
  1145. Node19.a('node.width', Node19width);
  1146. Node19.a('node.height', Node19height);
  1147. Node19.a('node.rect', [0, 0, Node19width, Node19height]);
  1148. Node19.a('node.bordercolor','rgba(0,0,0,1)');
  1149. Node19.a('node.borderwidth', 0);
  1150. Node19.a('node.background','' || 'rgba(0,0,0,0)');
  1151. Node19.a('node.gradient','');
  1152. Node19.a('node.gradientcolor','');
  1153. Node19.a('node.text','月设备可利用率');
  1154. Node19.a('node.textalign','left');
  1155. Node19.a('node.textvAlign','middle');
  1156. Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]);
  1157. Node19.a('node.color','rgba(0,0,0,1)');
  1158. Node19.a('node.font',' '+ Node19fontSize + 'px "Arial"');
  1159. Node19.a('node.textvisible',true);
  1160. Node19.a('node.linefeed',false);
  1161. if (false) {
  1162. Node19.a('node.textfunc',function(g) {
  1163. g.beginPath();
  1164. var str=Node19.a('node.text') || '月设备可利用率';
  1165. var color=Node19.a('node.color') || 'rgba(0,0,0,1)';
  1166. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node19width,Node19height,13.3333*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g);
  1167. });
  1168. }
  1169. if (false) {
  1170. Node19.a('node.underlinepoints',[Node19lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]);
  1171. Node19.a('node.underlinevisible',false);
  1172. Node19.a('node.underlineBorderWidth', 1);
  1173. }
  1174. dataModel.add(Node19);
  1175. zoomNodeList.push({
  1176. node: Node19,
  1177. borderWidth: 0,
  1178. attr: 'node.borderwidth'
  1179. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1180. var Node20 = new ht.Node();
  1181. var Node20textStart, Node20textWidth, Node20lineStart, Node20align = 'left', Node20fontSize = 13.3333*_ratio.ratioY,Node20width = 125*_ratio.ratioX, Node20height = 27*_ratio.ratioY;
  1182. (function () {
  1183. if (Node20align === 'left') {
  1184. Node20textStart = Node20fontSize * 0.2 > 2 ? Node20fontSize * 0.2 - 4 : Node20fontSize * 0.2 - 9;
  1185. Node20textWidth = Node20width;
  1186. Node20lineStart = 1;
  1187. } else if (Node20align === 'right') {
  1188. Node20textStart = 0;
  1189. Node20textWidth =Node20fontSize <= 8 ? Node20width + Node20fontSize * 0.2 + 6 : Node20width - Node20fontSize * 0.2;
  1190. Node20lineStart = (Node20width - (ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width + 6)) * 0.5;
  1191. } else if (Node20align === 'center') {
  1192. Node20textStart = -3;
  1193. Node20textWidth = Node20width;
  1194. Node20lineStart = Node20width - ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width - 11;
  1195. }
  1196. })();
  1197. Node20.setImage(GD.getTextJSON(Node20width, Node20height, true, false, false, ' '+ Node20fontSize + 'px "Arial"'))
  1198. Node20.setPosition(253*ratio.ratioX, 226*ratio.ratioY);
  1199. Node20.setWidth(Node20width);
  1200. Node20.setHeight(Node20height);
  1201. Node20._nodeType = 'text';
  1202. Node20._disallowEvert = true;
  1203. Node20.setRotation(0*Math.PI/180);
  1204. Node20.a('node.width', Node20width);
  1205. Node20.a('node.height', Node20height);
  1206. Node20.a('node.rect', [0, 0, Node20width, Node20height]);
  1207. Node20.a('node.bordercolor','rgba(0,0,0,1)');
  1208. Node20.a('node.borderwidth', 0);
  1209. Node20.a('node.background','' || 'rgba(0,0,0,0)');
  1210. Node20.a('node.gradient','');
  1211. Node20.a('node.gradientcolor','');
  1212. Node20.a('node.text','月等效可利用系数');
  1213. Node20.a('node.textalign','left');
  1214. Node20.a('node.textvAlign','middle');
  1215. Node20.a('node.textrect', [Node20textStart, 0, Node20textWidth, Node20height]);
  1216. Node20.a('node.color','rgba(0,0,0,1)');
  1217. Node20.a('node.font',' '+ Node20fontSize + 'px "Arial"');
  1218. Node20.a('node.textvisible',true);
  1219. Node20.a('node.linefeed',false);
  1220. if (false) {
  1221. Node20.a('node.textfunc',function(g) {
  1222. g.beginPath();
  1223. var str=Node20.a('node.text') || '月等效可利用系数';
  1224. var color=Node20.a('node.color') || 'rgba(0,0,0,1)';
  1225. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node20width,Node20height,13.3333*_ratio.ratioY,"left",color,' '+ Node20fontSize + 'px "Arial"', 0,g);
  1226. });
  1227. }
  1228. if (false) {
  1229. Node20.a('node.underlinepoints',[Node20lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node20fontSize + 2 , ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width + 6, (Node20height - Node20fontSize) * 0.5*_ratio.ratioY + Node20fontSize + 2 ]);
  1230. Node20.a('node.underlinevisible',false);
  1231. Node20.a('node.underlineBorderWidth', 1);
  1232. }
  1233. dataModel.add(Node20);
  1234. zoomNodeList.push({
  1235. node: Node20,
  1236. borderWidth: 0,
  1237. attr: 'node.borderwidth'
  1238. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1239. var Node21 = new ht.Node();
  1240. var Node21textStart, Node21textWidth, Node21lineStart, Node21align = 'left', Node21fontSize = 13.3333*_ratio.ratioY,Node21width = 37*_ratio.ratioX, Node21height = 16*_ratio.ratioY;
  1241. (function () {
  1242. if (Node21align === 'left') {
  1243. Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9;
  1244. Node21textWidth = Node21width;
  1245. Node21lineStart = 1;
  1246. } else if (Node21align === 'right') {
  1247. Node21textStart = 0;
  1248. Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2;
  1249. Node21lineStart = (Node21width - (ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
  1250. } else if (Node21align === 'center') {
  1251. Node21textStart = -3;
  1252. Node21textWidth = Node21width;
  1253. Node21lineStart = Node21width - ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width - 11;
  1254. }
  1255. })();
  1256. Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, 'bold '+ Node21fontSize + 'px "Arial"'))
  1257. Node21.setPosition(342*ratio.ratioX, 128*ratio.ratioY);
  1258. Node21.setWidth(Node21width);
  1259. Node21.setHeight(Node21height);
  1260. Node21._nodeType = 'text';
  1261. Node21._disallowEvert = true;
  1262. Node21.setRotation(0*Math.PI/180);
  1263. Node21.a('node.width', Node21width);
  1264. Node21.a('node.height', Node21height);
  1265. Node21.a('node.rect', [0, 0, Node21width, Node21height]);
  1266. Node21.a('node.bordercolor','rgba(0,0,0,1)');
  1267. Node21.a('node.borderwidth', 0);
  1268. Node21.a('node.background','' || 'rgba(0,0,0,0)');
  1269. Node21.a('node.gradient','');
  1270. Node21.a('node.gradientcolor','');
  1271. Node21.a('node.text','0');
  1272. Node21.a('node.textalign','left');
  1273. Node21.a('node.textvAlign','middle');
  1274. Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]);
  1275. Node21.a('node.color','rgba(0,0,0,1)');
  1276. Node21.a('node.font','bold '+ Node21fontSize + 'px "Arial"');
  1277. Node21.a('node.textvisible',true);
  1278. Node21.a('node.linefeed',false);
  1279. if (false) {
  1280. Node21.a('node.textfunc',function(g) {
  1281. g.beginPath();
  1282. var str=Node21.a('node.text') || '0';
  1283. var color=Node21.a('node.color') || 'rgba(0,0,0,1)';
  1284. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node21fontSize + 'px "Arial"', 0,g);
  1285. });
  1286. }
  1287. if (false) {
  1288. Node21.a('node.underlinepoints',[Node21lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width + 6, (Node21height - Node21fontSize) * 0.5*_ratio.ratioY + Node21fontSize + 2 ]);
  1289. Node21.a('node.underlinevisible',false);
  1290. Node21.a('node.underlineBorderWidth', 1);
  1291. }
  1292. dataModel.add(Node21);
  1293. zoomNodeList.push({
  1294. node: Node21,
  1295. borderWidth: 0,
  1296. attr: 'node.borderwidth'
  1297. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1298. var Node22 = new ht.Node();
  1299. var Node22textStart, Node22textWidth, Node22lineStart, Node22align = 'left', Node22fontSize = 13.3333*_ratio.ratioY,Node22width = 37*_ratio.ratioX, Node22height = 16*_ratio.ratioY;
  1300. (function () {
  1301. if (Node22align === 'left') {
  1302. Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9;
  1303. Node22textWidth = Node22width;
  1304. Node22lineStart = 1;
  1305. } else if (Node22align === 'right') {
  1306. Node22textStart = 0;
  1307. Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2;
  1308. Node22lineStart = (Node22width - (ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
  1309. } else if (Node22align === 'center') {
  1310. Node22textStart = -3;
  1311. Node22textWidth = Node22width;
  1312. Node22lineStart = Node22width - ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width - 11;
  1313. }
  1314. })();
  1315. Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, 'bold '+ Node22fontSize + 'px "Arial"'))
  1316. Node22.setPosition(342*ratio.ratioX, 152*ratio.ratioY);
  1317. Node22.setWidth(Node22width);
  1318. Node22.setHeight(Node22height);
  1319. Node22._nodeType = 'text';
  1320. Node22._disallowEvert = true;
  1321. Node22.setRotation(0*Math.PI/180);
  1322. Node22.a('node.width', Node22width);
  1323. Node22.a('node.height', Node22height);
  1324. Node22.a('node.rect', [0, 0, Node22width, Node22height]);
  1325. Node22.a('node.bordercolor','rgba(0,0,0,1)');
  1326. Node22.a('node.borderwidth', 0);
  1327. Node22.a('node.background','' || 'rgba(0,0,0,0)');
  1328. Node22.a('node.gradient','');
  1329. Node22.a('node.gradientcolor','');
  1330. Node22.a('node.text','0');
  1331. Node22.a('node.textalign','left');
  1332. Node22.a('node.textvAlign','middle');
  1333. Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]);
  1334. Node22.a('node.color','rgba(0,0,0,1)');
  1335. Node22.a('node.font','bold '+ Node22fontSize + 'px "Arial"');
  1336. Node22.a('node.textvisible',true);
  1337. Node22.a('node.linefeed',false);
  1338. if (false) {
  1339. Node22.a('node.textfunc',function(g) {
  1340. g.beginPath();
  1341. var str=Node22.a('node.text') || '0';
  1342. var color=Node22.a('node.color') || 'rgba(0,0,0,1)';
  1343. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node22width,Node22height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node22fontSize + 'px "Arial"', 0,g);
  1344. });
  1345. }
  1346. if (false) {
  1347. Node22.a('node.underlinepoints',[Node22lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width + 6, (Node22height - Node22fontSize) * 0.5*_ratio.ratioY + Node22fontSize + 2 ]);
  1348. Node22.a('node.underlinevisible',false);
  1349. Node22.a('node.underlineBorderWidth', 1);
  1350. }
  1351. dataModel.add(Node22);
  1352. zoomNodeList.push({
  1353. node: Node22,
  1354. borderWidth: 0,
  1355. attr: 'node.borderwidth'
  1356. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1357. var Node23 = new ht.Node();
  1358. var Node23textStart, Node23textWidth, Node23lineStart, Node23align = 'left', Node23fontSize = 13.3333*_ratio.ratioY,Node23width = 27*_ratio.ratioX, Node23height = 16*_ratio.ratioY;
  1359. (function () {
  1360. if (Node23align === 'left') {
  1361. Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9;
  1362. Node23textWidth = Node23width;
  1363. Node23lineStart = 1;
  1364. } else if (Node23align === 'right') {
  1365. Node23textStart = 0;
  1366. Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2;
  1367. Node23lineStart = (Node23width - (ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
  1368. } else if (Node23align === 'center') {
  1369. Node23textStart = -3;
  1370. Node23textWidth = Node23width;
  1371. Node23lineStart = Node23width - ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width - 11;
  1372. }
  1373. })();
  1374. Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, 'bold '+ Node23fontSize + 'px "Arial"'))
  1375. Node23.setPosition(337*ratio.ratioX, 177*ratio.ratioY);
  1376. Node23.setWidth(Node23width);
  1377. Node23.setHeight(Node23height);
  1378. Node23._nodeType = 'text';
  1379. Node23._disallowEvert = true;
  1380. Node23.setRotation(0*Math.PI/180);
  1381. Node23.a('node.width', Node23width);
  1382. Node23.a('node.height', Node23height);
  1383. Node23.a('node.rect', [0, 0, Node23width, Node23height]);
  1384. Node23.a('node.bordercolor','rgba(0,0,0,1)');
  1385. Node23.a('node.borderwidth', 0);
  1386. Node23.a('node.background','' || 'rgba(0,0,0,0)');
  1387. Node23.a('node.gradient','');
  1388. Node23.a('node.gradientcolor','');
  1389. Node23.a('node.text','0');
  1390. Node23.a('node.textalign','left');
  1391. Node23.a('node.textvAlign','middle');
  1392. Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
  1393. Node23.a('node.color','rgba(0,0,0,1)');
  1394. Node23.a('node.font','bold '+ Node23fontSize + 'px "Arial"');
  1395. Node23.a('node.textvisible',true);
  1396. Node23.a('node.linefeed',false);
  1397. if (false) {
  1398. Node23.a('node.textfunc',function(g) {
  1399. g.beginPath();
  1400. var str=Node23.a('node.text') || '0';
  1401. var color=Node23.a('node.color') || 'rgba(0,0,0,1)';
  1402. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node23fontSize + 'px "Arial"', 0,g);
  1403. });
  1404. }
  1405. if (false) {
  1406. Node23.a('node.underlinepoints',[Node23lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width + 6, (Node23height - Node23fontSize) * 0.5*_ratio.ratioY + Node23fontSize + 2 ]);
  1407. Node23.a('node.underlinevisible',false);
  1408. Node23.a('node.underlineBorderWidth', 1);
  1409. }
  1410. dataModel.add(Node23);
  1411. zoomNodeList.push({
  1412. node: Node23,
  1413. borderWidth: 0,
  1414. attr: 'node.borderwidth'
  1415. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1416. var Node24 = new ht.Node();
  1417. var Node24textStart, Node24textWidth, Node24lineStart, Node24align = 'left', Node24fontSize = 13.3333*_ratio.ratioY,Node24width = 37*_ratio.ratioX, Node24height = 16*_ratio.ratioY;
  1418. (function () {
  1419. if (Node24align === 'left') {
  1420. Node24textStart = Node24fontSize * 0.2 > 2 ? Node24fontSize * 0.2 - 4 : Node24fontSize * 0.2 - 9;
  1421. Node24textWidth = Node24width;
  1422. Node24lineStart = 1;
  1423. } else if (Node24align === 'right') {
  1424. Node24textStart = 0;
  1425. Node24textWidth =Node24fontSize <= 8 ? Node24width + Node24fontSize * 0.2 + 6 : Node24width - Node24fontSize * 0.2;
  1426. Node24lineStart = (Node24width - (ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5;
  1427. } else if (Node24align === 'center') {
  1428. Node24textStart = -3;
  1429. Node24textWidth = Node24width;
  1430. Node24lineStart = Node24width - ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width - 11;
  1431. }
  1432. })();
  1433. Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, 'bold '+ Node24fontSize + 'px "Arial"'))
  1434. Node24.setPosition(356*ratio.ratioX, 201*ratio.ratioY);
  1435. Node24.setWidth(Node24width);
  1436. Node24.setHeight(Node24height);
  1437. Node24._nodeType = 'text';
  1438. Node24._disallowEvert = true;
  1439. Node24.setRotation(0*Math.PI/180);
  1440. Node24.a('node.width', Node24width);
  1441. Node24.a('node.height', Node24height);
  1442. Node24.a('node.rect', [0, 0, Node24width, Node24height]);
  1443. Node24.a('node.bordercolor','rgba(0,0,0,1)');
  1444. Node24.a('node.borderwidth', 0);
  1445. Node24.a('node.background','' || 'rgba(0,0,0,0)');
  1446. Node24.a('node.gradient','');
  1447. Node24.a('node.gradientcolor','');
  1448. Node24.a('node.text','-');
  1449. Node24.a('node.textalign','left');
  1450. Node24.a('node.textvAlign','middle');
  1451. Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]);
  1452. Node24.a('node.color','rgba(0,0,0,1)');
  1453. Node24.a('node.font','bold '+ Node24fontSize + 'px "Arial"');
  1454. Node24.a('node.textvisible',true);
  1455. Node24.a('node.linefeed',false);
  1456. if (false) {
  1457. Node24.a('node.textfunc',function(g) {
  1458. g.beginPath();
  1459. var str=Node24.a('node.text') || '-';
  1460. var color=Node24.a('node.color') || 'rgba(0,0,0,1)';
  1461. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node24fontSize + 'px "Arial"', 0,g);
  1462. });
  1463. }
  1464. if (false) {
  1465. Node24.a('node.underlinepoints',[Node24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width + 6, (Node24height - Node24fontSize) * 0.5*_ratio.ratioY + Node24fontSize + 2 ]);
  1466. Node24.a('node.underlinevisible',false);
  1467. Node24.a('node.underlineBorderWidth', 1);
  1468. }
  1469. dataModel.add(Node24);
  1470. zoomNodeList.push({
  1471. node: Node24,
  1472. borderWidth: 0,
  1473. attr: 'node.borderwidth'
  1474. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1475. var Node25 = new ht.Node();
  1476. var Node25textStart, Node25textWidth, Node25lineStart, Node25align = 'left', Node25fontSize = 13.3333*_ratio.ratioY,Node25width = 47*_ratio.ratioX, Node25height = 17*_ratio.ratioY;
  1477. (function () {
  1478. if (Node25align === 'left') {
  1479. Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9;
  1480. Node25textWidth = Node25width;
  1481. Node25lineStart = 1;
  1482. } else if (Node25align === 'right') {
  1483. Node25textStart = 0;
  1484. Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2;
  1485. Node25lineStart = (Node25width - (ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5;
  1486. } else if (Node25align === 'center') {
  1487. Node25textStart = -3;
  1488. Node25textWidth = Node25width;
  1489. Node25lineStart = Node25width - ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width - 11;
  1490. }
  1491. })();
  1492. Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"'))
  1493. Node25.setPosition(410*ratio.ratioX, 127*ratio.ratioY);
  1494. Node25.setWidth(Node25width);
  1495. Node25.setHeight(Node25height);
  1496. Node25._nodeType = 'text';
  1497. Node25._disallowEvert = true;
  1498. Node25.setRotation(0*Math.PI/180);
  1499. Node25.a('node.width', Node25width);
  1500. Node25.a('node.height', Node25height);
  1501. Node25.a('node.rect', [0, 0, Node25width, Node25height]);
  1502. Node25.a('node.bordercolor','rgba(169,169,169,1)');
  1503. Node25.a('node.borderwidth', 0);
  1504. Node25.a('node.background','' || 'rgba(0,0,0,0)');
  1505. Node25.a('node.gradient','');
  1506. Node25.a('node.gradientcolor','');
  1507. Node25.a('node.text','万kW');
  1508. Node25.a('node.textalign','left');
  1509. Node25.a('node.textvAlign','middle');
  1510. Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]);
  1511. Node25.a('node.color','rgba(169,169,169,1)');
  1512. Node25.a('node.font',' '+ Node25fontSize + 'px "Arial"');
  1513. Node25.a('node.textvisible',true);
  1514. Node25.a('node.linefeed',false);
  1515. if (false) {
  1516. Node25.a('node.textfunc',function(g) {
  1517. g.beginPath();
  1518. var str=Node25.a('node.text') || '万kW';
  1519. var color=Node25.a('node.color') || 'rgba(169,169,169,1)';
  1520. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node25width,Node25height,13.3333*_ratio.ratioY,"left",color,' '+ Node25fontSize + 'px "Arial"', 0,g);
  1521. });
  1522. }
  1523. if (false) {
  1524. Node25.a('node.underlinepoints',[Node25lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width + 6, (Node25height - Node25fontSize) * 0.5*_ratio.ratioY + Node25fontSize + 2 ]);
  1525. Node25.a('node.underlinevisible',false);
  1526. Node25.a('node.underlineBorderWidth', 1);
  1527. }
  1528. dataModel.add(Node25);
  1529. zoomNodeList.push({
  1530. node: Node25,
  1531. borderWidth: 0,
  1532. attr: 'node.borderwidth'
  1533. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1534. var Node26type = 'rect';
  1535. var Node26 = new ht.Node(),
  1536. Node26BorderWidth = 0*2;
  1537. if (Node26type === 'arc') {
  1538. Node26BorderWidth *= 0;
  1539. }
  1540. Node26.setImage(GD.getRectJSON(29*_ratio.ratioX, 122*_ratio.ratioY, Node26type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1541. Node26.setPosition(17*ratio.ratioX, 178*ratio.ratioY);
  1542. Node26.setSize(29*_ratio.ratioX, 122*_ratio.ratioY);
  1543. Node26.s({
  1544. 'pixelPerfect':true
  1545. /*@AddPara@*/
  1546. });
  1547. Node26.a('node.width', 29*_ratio.ratioX);
  1548. Node26.a('node.height', 122*_ratio.ratioY);
  1549. Node26.a('node.type', Node26type);
  1550. Node26.a('node.rect', [0, 0, 29*_ratio.ratioX, 122*_ratio.ratioY]);
  1551. Node26.a('node.background', 'rgba(0,132,255,1)');
  1552. Node26.a('node.gradientcolor', 'rgba(0,132,255,1)');
  1553. Node26.a('node.gradient', '');
  1554. Node26.a('node.borderwidth', Node26BorderWidth);
  1555. Node26.a('node.color', 'rgba(0,0,0,0)');
  1556. Node26.a('node.fillrect', [0,0,0,0]);
  1557. Node26.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1558. Node26.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1559. Node26.a('node.fillgradient', '');
  1560. if (Node26type !== 'rect') {
  1561. Node26.a('node.arcFrom', parseFloat('@arcFrom@'));
  1562. Node26.a('node.arcTo', parseFloat('@arcTo@'));
  1563. Node26.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1564. }
  1565. if (Node26type === 'arc') {
  1566. Node26.a('node.arcOval', true);
  1567. }
  1568. Node26.setRotation(0*Math.PI/180);
  1569. Node26.borderWidth = Node26BorderWidth;
  1570. Node26.borderFillwidth = Node26BorderWidth;
  1571. dataModel.add(Node26);
  1572. Node26._nodename = 'Node26'
  1573. Node26._nodeType = 'rect';
  1574. zoomNodeList.push({
  1575. node: Node26,
  1576. attr: 'node.borderwidth'
  1577. });
  1578. (function (node, _img) {
  1579. var setWidth = node.setWidth,
  1580. setHeight = node.setHeight;
  1581. node.setWidth = function (width) {
  1582. if (width === this.getWidth()) return ;
  1583. var height = this.getHeight();
  1584. this.a('node.width', width);
  1585. this.a('node.rect', [0,0,width, height]);
  1586. setWidth.apply(this, arguments);
  1587. }
  1588. node.setHeight = function (height) {
  1589. if (height === this.getHeight()) return ;
  1590. var width = this.getWidth();
  1591. this.a('node.height', height);
  1592. this.a('node.rect', [0,0,width, height]);
  1593. setHeight.apply(this, arguments);
  1594. }
  1595. })(Node26, Node26.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1596. var Node27 = new ht.Node();
  1597. var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'center', Node27fontSize = 13.3333*_ratio.ratioY,Node27width = 13*_ratio.ratioX, Node27height = 98*_ratio.ratioY;
  1598. (function () {
  1599. if (Node27align === 'left') {
  1600. Node27textStart = Node27fontSize * 0.2 > 2 ? Node27fontSize * 0.2 - 4 : Node27fontSize * 0.2 - 9;
  1601. Node27textWidth = Node27width;
  1602. Node27lineStart = 1;
  1603. } else if (Node27align === 'right') {
  1604. Node27textStart = 0;
  1605. Node27textWidth =Node27fontSize <= 8 ? Node27width + Node27fontSize * 0.2 + 6 : Node27width - Node27fontSize * 0.2;
  1606. Node27lineStart = (Node27width - (ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5;
  1607. } else if (Node27align === 'center') {
  1608. Node27textStart = -3;
  1609. Node27textWidth = Node27width;
  1610. Node27lineStart = Node27width - ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width - 11;
  1611. }
  1612. })();
  1613. Node27.setImage(GD.getTextJSON(Node27width, Node27height, false, true, false, 'bold '+ Node27fontSize + 'px "Arial"'))
  1614. Node27.setPosition(17*ratio.ratioX, 165*ratio.ratioY);
  1615. Node27.setWidth(Node27width);
  1616. Node27.setHeight(Node27height);
  1617. Node27._nodeType = 'text';
  1618. Node27._disallowEvert = true;
  1619. Node27.setRotation(0*Math.PI/180);
  1620. Node27.a('node.width', Node27width);
  1621. Node27.a('node.height', Node27height);
  1622. Node27.a('node.rect', [0, 0, Node27width, Node27height]);
  1623. Node27.a('node.bordercolor','rgba(255,255,255,1)');
  1624. Node27.a('node.borderwidth', 0);
  1625. Node27.a('node.background','' || 'rgba(0,0,0,0)');
  1626. Node27.a('node.gradient','');
  1627. Node27.a('node.gradientcolor','');
  1628. Node27.a('node.text','综合指标');
  1629. Node27.a('node.textalign','center');
  1630. Node27.a('node.textvAlign','middle');
  1631. Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]);
  1632. Node27.a('node.color','rgba(255,255,255,1)');
  1633. Node27.a('node.font','bold '+ Node27fontSize + 'px "Arial"');
  1634. Node27.a('node.textvisible',false);
  1635. Node27.a('node.linefeed',true);
  1636. if (true) {
  1637. Node27.a('node.textfunc',function(g) {
  1638. g.beginPath();
  1639. var str=Node27.a('node.text') || '综合指标';
  1640. var color=Node27.a('node.color') || 'rgba(255,255,255,1)';
  1641. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27width,Node27height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27fontSize + 'px "Arial"', 0,g);
  1642. });
  1643. }
  1644. if (false) {
  1645. Node27.a('node.underlinepoints',[Node27lineStart, (98 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width + 6, (Node27height - Node27fontSize) * 0.5*_ratio.ratioY + Node27fontSize + 2 ]);
  1646. Node27.a('node.underlinevisible',false);
  1647. Node27.a('node.underlineBorderWidth', 1);
  1648. }
  1649. dataModel.add(Node27);
  1650. zoomNodeList.push({
  1651. node: Node27,
  1652. borderWidth: 0,
  1653. attr: 'node.borderwidth'
  1654. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1655. var Node28type = 'rect';
  1656. var Node28 = new ht.Node(),
  1657. Node28BorderWidth = 1*2;
  1658. if (Node28type === 'arc') {
  1659. Node28BorderWidth *= 1;
  1660. }
  1661. Node28.setImage(GD.getRectJSON(155*_ratio.ratioX, 122*_ratio.ratioY, Node28type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1662. Node28.setPosition(110*ratio.ratioX, 178*ratio.ratioY);
  1663. Node28.setSize(155*_ratio.ratioX, 122*_ratio.ratioY);
  1664. Node28.s({
  1665. 'pixelPerfect':true
  1666. /*@AddPara@*/
  1667. });
  1668. Node28.a('node.width', 155*_ratio.ratioX);
  1669. Node28.a('node.height', 122*_ratio.ratioY);
  1670. Node28.a('node.type', Node28type);
  1671. Node28.a('node.rect', [0, 0, 155*_ratio.ratioX, 122*_ratio.ratioY]);
  1672. Node28.a('node.background', 'rgba(255,255,255,0.003921569)');
  1673. Node28.a('node.gradientcolor', '');
  1674. Node28.a('node.gradient', '');
  1675. Node28.a('node.borderwidth', Node28BorderWidth);
  1676. Node28.a('node.color', 'rgba(220,220,220,1)');
  1677. Node28.a('node.fillrect', [0,0,0,0]);
  1678. Node28.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1679. Node28.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1680. Node28.a('node.fillgradient', '');
  1681. if (Node28type !== 'rect') {
  1682. Node28.a('node.arcFrom', parseFloat('@arcFrom@'));
  1683. Node28.a('node.arcTo', parseFloat('@arcTo@'));
  1684. Node28.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1685. }
  1686. if (Node28type === 'arc') {
  1687. Node28.a('node.arcOval', true);
  1688. }
  1689. Node28.setRotation(0*Math.PI/180);
  1690. Node28.borderWidth = Node28BorderWidth;
  1691. Node28.borderFillwidth = Node28BorderWidth;
  1692. dataModel.add(Node28);
  1693. Node28._nodename = 'Node28'
  1694. Node28._nodeType = 'rect';
  1695. zoomNodeList.push({
  1696. node: Node28,
  1697. attr: 'node.borderwidth'
  1698. });
  1699. (function (node, _img) {
  1700. var setWidth = node.setWidth,
  1701. setHeight = node.setHeight;
  1702. node.setWidth = function (width) {
  1703. if (width === this.getWidth()) return ;
  1704. var height = this.getHeight();
  1705. this.a('node.width', width);
  1706. this.a('node.rect', [0,0,width, height]);
  1707. setWidth.apply(this, arguments);
  1708. }
  1709. node.setHeight = function (height) {
  1710. if (height === this.getHeight()) return ;
  1711. var width = this.getWidth();
  1712. this.a('node.height', height);
  1713. this.a('node.rect', [0,0,width, height]);
  1714. setHeight.apply(this, arguments);
  1715. }
  1716. })(Node28, Node28.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1717. var Node29type = 'rect';
  1718. var Node29 = new ht.Node(),
  1719. Node29BorderWidth = 0*2;
  1720. if (Node29type === 'arc') {
  1721. Node29BorderWidth *= 0;
  1722. }
  1723. Node29.setImage(GD.getRectJSON(145*_ratio.ratioX, 24*_ratio.ratioY, Node29type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1724. Node29.setPosition(109*ratio.ratioX, 129*ratio.ratioY);
  1725. Node29.setSize(145*_ratio.ratioX, 24*_ratio.ratioY);
  1726. Node29.s({
  1727. 'pixelPerfect':true
  1728. /*@AddPara@*/
  1729. });
  1730. Node29.a('node.width', 145*_ratio.ratioX);
  1731. Node29.a('node.height', 24*_ratio.ratioY);
  1732. Node29.a('node.type', Node29type);
  1733. Node29.a('node.rect', [0, 0, 145*_ratio.ratioX, 24*_ratio.ratioY]);
  1734. Node29.a('node.background', 'rgba(211,211,211,1)');
  1735. Node29.a('node.gradientcolor', 'rgba(211,211,211,1)');
  1736. Node29.a('node.gradient', '');
  1737. Node29.a('node.borderwidth', Node29BorderWidth);
  1738. Node29.a('node.color', 'rgba(0,0,0,0)');
  1739. Node29.a('node.fillrect', [0,0,0,0]);
  1740. Node29.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1741. Node29.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1742. Node29.a('node.fillgradient', '');
  1743. if (Node29type !== 'rect') {
  1744. Node29.a('node.arcFrom', parseFloat('@arcFrom@'));
  1745. Node29.a('node.arcTo', parseFloat('@arcTo@'));
  1746. Node29.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1747. }
  1748. if (Node29type === 'arc') {
  1749. Node29.a('node.arcOval', true);
  1750. }
  1751. Node29.setRotation(0*Math.PI/180);
  1752. Node29.borderWidth = Node29BorderWidth;
  1753. Node29.borderFillwidth = Node29BorderWidth;
  1754. dataModel.add(Node29);
  1755. Node29._nodename = 'Node29'
  1756. Node29._nodeType = 'rect';
  1757. zoomNodeList.push({
  1758. node: Node29,
  1759. attr: 'node.borderwidth'
  1760. });
  1761. (function (node, _img) {
  1762. var setWidth = node.setWidth,
  1763. setHeight = node.setHeight;
  1764. node.setWidth = function (width) {
  1765. if (width === this.getWidth()) return ;
  1766. var height = this.getHeight();
  1767. this.a('node.width', width);
  1768. this.a('node.rect', [0,0,width, height]);
  1769. setWidth.apply(this, arguments);
  1770. }
  1771. node.setHeight = function (height) {
  1772. if (height === this.getHeight()) return ;
  1773. var width = this.getWidth();
  1774. this.a('node.height', height);
  1775. this.a('node.rect', [0,0,width, height]);
  1776. setHeight.apply(this, arguments);
  1777. }
  1778. })(Node29, Node29.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1779. var Node30 = new ht.Node();
  1780. var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'left', Node30fontSize = 15.99996*_ratio.ratioY,Node30width = 87*_ratio.ratioX, Node30height = 25*_ratio.ratioY;
  1781. (function () {
  1782. if (Node30align === 'left') {
  1783. Node30textStart = Node30fontSize * 0.2 > 2 ? Node30fontSize * 0.2 - 4 : Node30fontSize * 0.2 - 9;
  1784. Node30textWidth = Node30width;
  1785. Node30lineStart = 1;
  1786. } else if (Node30align === 'right') {
  1787. Node30textStart = 0;
  1788. Node30textWidth =Node30fontSize <= 8 ? Node30width + Node30fontSize * 0.2 + 6 : Node30width - Node30fontSize * 0.2;
  1789. Node30lineStart = (Node30width - (ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5;
  1790. } else if (Node30align === 'center') {
  1791. Node30textStart = -3;
  1792. Node30textWidth = Node30width;
  1793. Node30lineStart = Node30width - ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width - 11;
  1794. }
  1795. })();
  1796. Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, ' '+ Node30fontSize + 'px "Arial"'))
  1797. Node30.setPosition(99*ratio.ratioX, 129*ratio.ratioY);
  1798. Node30.setWidth(Node30width);
  1799. Node30.setHeight(Node30height);
  1800. Node30._nodeType = 'text';
  1801. Node30._disallowEvert = true;
  1802. Node30.setRotation(0*Math.PI/180);
  1803. Node30.a('node.width', Node30width);
  1804. Node30.a('node.height', Node30height);
  1805. Node30.a('node.rect', [0, 0, Node30width, Node30height]);
  1806. Node30.a('node.bordercolor','rgba(0,0,0,1)');
  1807. Node30.a('node.borderwidth', 0);
  1808. Node30.a('node.background','' || 'rgba(0,0,0,0)');
  1809. Node30.a('node.gradient','');
  1810. Node30.a('node.gradientcolor','');
  1811. Node30.a('node.text','安全天数');
  1812. Node30.a('node.textalign','left');
  1813. Node30.a('node.textvAlign','middle');
  1814. Node30.a('node.textrect', [Node30textStart, 0, Node30textWidth, Node30height]);
  1815. Node30.a('node.color','rgba(0,0,0,1)');
  1816. Node30.a('node.font',' '+ Node30fontSize + 'px "Arial"');
  1817. Node30.a('node.textvisible',true);
  1818. Node30.a('node.linefeed',false);
  1819. if (false) {
  1820. Node30.a('node.textfunc',function(g) {
  1821. g.beginPath();
  1822. var str=Node30.a('node.text') || '安全天数';
  1823. var color=Node30.a('node.color') || 'rgba(0,0,0,1)';
  1824. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node30width,Node30height,15.99996*_ratio.ratioY,"left",color,' '+ Node30fontSize + 'px "Arial"', 0,g);
  1825. });
  1826. }
  1827. if (false) {
  1828. Node30.a('node.underlinepoints',[Node30lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]);
  1829. Node30.a('node.underlinevisible',false);
  1830. Node30.a('node.underlineBorderWidth', 1);
  1831. }
  1832. dataModel.add(Node30);
  1833. zoomNodeList.push({
  1834. node: Node30,
  1835. borderWidth: 0,
  1836. attr: 'node.borderwidth'
  1837. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1838. var Node31type = 'rect';
  1839. var Node31 = new ht.Node(),
  1840. Node31BorderWidth = 0*2;
  1841. if (Node31type === 'arc') {
  1842. Node31BorderWidth *= 0;
  1843. }
  1844. Node31.setImage(GD.getRectJSON(32*_ratio.ratioX, 32*_ratio.ratioY, Node31type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1845. Node31.setPosition(166*ratio.ratioX, 222*ratio.ratioY);
  1846. Node31.setSize(32*_ratio.ratioX, 32*_ratio.ratioY);
  1847. Node31.s({
  1848. 'pixelPerfect':true
  1849. /*@AddPara@*/
  1850. });
  1851. Node31.a('node.width', 32*_ratio.ratioX);
  1852. Node31.a('node.height', 32*_ratio.ratioY);
  1853. Node31.a('node.type', Node31type);
  1854. Node31.a('node.rect', [0, 0, 32*_ratio.ratioX, 32*_ratio.ratioY]);
  1855. Node31.a('node.background', 'rgba(255,128,0,1)');
  1856. Node31.a('node.gradientcolor', 'rgba(255,128,0,1)');
  1857. Node31.a('node.gradient', '');
  1858. Node31.a('node.borderwidth', Node31BorderWidth);
  1859. Node31.a('node.color', 'rgba(0,0,0,0)');
  1860. Node31.a('node.fillrect', [0,0,0,0]);
  1861. Node31.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1862. Node31.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1863. Node31.a('node.fillgradient', '');
  1864. if (Node31type !== 'rect') {
  1865. Node31.a('node.arcFrom', parseFloat('@arcFrom@'));
  1866. Node31.a('node.arcTo', parseFloat('@arcTo@'));
  1867. Node31.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1868. }
  1869. if (Node31type === 'arc') {
  1870. Node31.a('node.arcOval', true);
  1871. }
  1872. Node31.setRotation(0*Math.PI/180);
  1873. Node31.borderWidth = Node31BorderWidth;
  1874. Node31.borderFillwidth = Node31BorderWidth;
  1875. dataModel.add(Node31);
  1876. Node31._nodename = 'Node31'
  1877. Node31._nodeType = 'rect';
  1878. zoomNodeList.push({
  1879. node: Node31,
  1880. attr: 'node.borderwidth'
  1881. });
  1882. (function (node, _img) {
  1883. var setWidth = node.setWidth,
  1884. setHeight = node.setHeight;
  1885. node.setWidth = function (width) {
  1886. if (width === this.getWidth()) return ;
  1887. var height = this.getHeight();
  1888. this.a('node.width', width);
  1889. this.a('node.rect', [0,0,width, height]);
  1890. setWidth.apply(this, arguments);
  1891. }
  1892. node.setHeight = function (height) {
  1893. if (height === this.getHeight()) return ;
  1894. var width = this.getWidth();
  1895. this.a('node.height', height);
  1896. this.a('node.rect', [0,0,width, height]);
  1897. setHeight.apply(this, arguments);
  1898. }
  1899. })(Node31, Node31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1900. var Node32 = new ht.Node();
  1901. var Node32textStart, Node32textWidth, Node32lineStart, Node32align = 'left', Node32fontSize = 15.99996*_ratio.ratioY,Node32width = 23*_ratio.ratioX, Node32height = 37*_ratio.ratioY;
  1902. (function () {
  1903. if (Node32align === 'left') {
  1904. Node32textStart = Node32fontSize * 0.2 > 2 ? Node32fontSize * 0.2 - 4 : Node32fontSize * 0.2 - 9;
  1905. Node32textWidth = Node32width;
  1906. Node32lineStart = 1;
  1907. } else if (Node32align === 'right') {
  1908. Node32textStart = 0;
  1909. Node32textWidth =Node32fontSize <= 8 ? Node32width + Node32fontSize * 0.2 + 6 : Node32width - Node32fontSize * 0.2;
  1910. Node32lineStart = (Node32width - (ht.Default.getTextSize('天', ' '+ Node32fontSize + 'px "Arial"').width + 6)) * 0.5;
  1911. } else if (Node32align === 'center') {
  1912. Node32textStart = -3;
  1913. Node32textWidth = Node32width;
  1914. Node32lineStart = Node32width - ht.Default.getTextSize('天', ' '+ Node32fontSize + 'px "Arial"').width - 11;
  1915. }
  1916. })();
  1917. Node32.setImage(GD.getTextJSON(Node32width, Node32height, true, false, false, ' '+ Node32fontSize + 'px "Arial"'))
  1918. Node32.setPosition(164*ratio.ratioX, 222*ratio.ratioY);
  1919. Node32.setWidth(Node32width);
  1920. Node32.setHeight(Node32height);
  1921. Node32._nodeType = 'text';
  1922. Node32._disallowEvert = true;
  1923. Node32.setRotation(0*Math.PI/180);
  1924. Node32.a('node.width', Node32width);
  1925. Node32.a('node.height', Node32height);
  1926. Node32.a('node.rect', [0, 0, Node32width, Node32height]);
  1927. Node32.a('node.bordercolor','rgba(255,255,255,1)');
  1928. Node32.a('node.borderwidth', 0);
  1929. Node32.a('node.background','' || 'rgba(0,0,0,0)');
  1930. Node32.a('node.gradient','');
  1931. Node32.a('node.gradientcolor','');
  1932. Node32.a('node.text','天');
  1933. Node32.a('node.textalign','left');
  1934. Node32.a('node.textvAlign','middle');
  1935. Node32.a('node.textrect', [Node32textStart, 0, Node32textWidth, Node32height]);
  1936. Node32.a('node.color','rgba(255,255,255,1)');
  1937. Node32.a('node.font',' '+ Node32fontSize + 'px "Arial"');
  1938. Node32.a('node.textvisible',true);
  1939. Node32.a('node.linefeed',false);
  1940. if (false) {
  1941. Node32.a('node.textfunc',function(g) {
  1942. g.beginPath();
  1943. var str=Node32.a('node.text') || '天';
  1944. var color=Node32.a('node.color') || 'rgba(255,255,255,1)';
  1945. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node32width,Node32height,15.99996*_ratio.ratioY,"left",color,' '+ Node32fontSize + 'px "Arial"', 0,g);
  1946. });
  1947. }
  1948. if (false) {
  1949. Node32.a('node.underlinepoints',[Node32lineStart, (37 - 15.99996) * 0.5 * _ratio.ratioY + Node32fontSize + 2 , ht.Default.getTextSize('天', ' '+ Node32fontSize + 'px "Arial"').width + 6, (Node32height - Node32fontSize) * 0.5*_ratio.ratioY + Node32fontSize + 2 ]);
  1950. Node32.a('node.underlinevisible',false);
  1951. Node32.a('node.underlineBorderWidth', 1);
  1952. }
  1953. dataModel.add(Node32);
  1954. zoomNodeList.push({
  1955. node: Node32,
  1956. borderWidth: 0,
  1957. attr: 'node.borderwidth'
  1958. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1959. var Node33 = new ht.Node();
  1960. var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 29.33326*_ratio.ratioY,Node33width = 87*_ratio.ratioX, Node33height = 37*_ratio.ratioY;
  1961. (function () {
  1962. if (Node33align === 'left') {
  1963. Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9;
  1964. Node33textWidth = Node33width;
  1965. Node33lineStart = 1;
  1966. } else if (Node33align === 'right') {
  1967. Node33textStart = 0;
  1968. Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2;
  1969. Node33lineStart = (Node33width - (ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
  1970. } else if (Node33align === 'center') {
  1971. Node33textStart = -3;
  1972. Node33textWidth = Node33width;
  1973. Node33lineStart = Node33width - ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width - 11;
  1974. }
  1975. })();
  1976. Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"'))
  1977. Node33.setPosition(99*ratio.ratioX, 181*ratio.ratioY);
  1978. Node33.setWidth(Node33width);
  1979. Node33.setHeight(Node33height);
  1980. Node33._nodeType = 'text';
  1981. Node33._disallowEvert = true;
  1982. Node33.setRotation(0*Math.PI/180);
  1983. Node33.a('node.width', Node33width);
  1984. Node33.a('node.height', Node33height);
  1985. Node33.a('node.rect', [0, 0, Node33width, Node33height]);
  1986. Node33.a('node.bordercolor','rgba(0,0,0,1)');
  1987. Node33.a('node.borderwidth', 0);
  1988. Node33.a('node.background','' || 'rgba(0,0,0,0)');
  1989. Node33.a('node.gradient','');
  1990. Node33.a('node.gradientcolor','');
  1991. Node33.a('node.text','2974');
  1992. Node33.a('node.textalign','left');
  1993. Node33.a('node.textvAlign','middle');
  1994. Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
  1995. Node33.a('node.color','rgba(0,0,0,1)');
  1996. Node33.a('node.font',' '+ Node33fontSize + 'px "Arial"');
  1997. Node33.a('node.textvisible',true);
  1998. Node33.a('node.linefeed',false);
  1999. if (false) {
  2000. Node33.a('node.textfunc',function(g) {
  2001. g.beginPath();
  2002. var str=Node33.a('node.text') || '2974';
  2003. var color=Node33.a('node.color') || 'rgba(0,0,0,1)';
  2004. canvasTextAutoLine(str,0,29.33326*0.5*_ratio.ratioY,Node33width,Node33height,29.33326*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g);
  2005. });
  2006. }
  2007. if (false) {
  2008. Node33.a('node.underlinepoints',[Node33lineStart, (37 - 29.33326) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]);
  2009. Node33.a('node.underlinevisible',false);
  2010. Node33.a('node.underlineBorderWidth', 1);
  2011. }
  2012. dataModel.add(Node33);
  2013. zoomNodeList.push({
  2014. node: Node33,
  2015. borderWidth: 0,
  2016. attr: 'node.borderwidth'
  2017. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2018. var Node34 = new ht.Node();
  2019. var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'left', Node34fontSize = 13.3333*_ratio.ratioY,Node34width = 37*_ratio.ratioX, Node34height = 16*_ratio.ratioY;
  2020. (function () {
  2021. if (Node34align === 'left') {
  2022. Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9;
  2023. Node34textWidth = Node34width;
  2024. Node34lineStart = 1;
  2025. } else if (Node34align === 'right') {
  2026. Node34textStart = 0;
  2027. Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2;
  2028. Node34lineStart = (Node34width - (ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
  2029. } else if (Node34align === 'center') {
  2030. Node34textStart = -3;
  2031. Node34textWidth = Node34width;
  2032. Node34lineStart = Node34width - ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width - 11;
  2033. }
  2034. })();
  2035. Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, 'bold '+ Node34fontSize + 'px "Arial"'))
  2036. Node34.setPosition(357*ratio.ratioX, 226*ratio.ratioY);
  2037. Node34.setWidth(Node34width);
  2038. Node34.setHeight(Node34height);
  2039. Node34._nodeType = 'text';
  2040. Node34._disallowEvert = true;
  2041. Node34.setRotation(0*Math.PI/180);
  2042. Node34.a('node.width', Node34width);
  2043. Node34.a('node.height', Node34height);
  2044. Node34.a('node.rect', [0, 0, Node34width, Node34height]);
  2045. Node34.a('node.bordercolor','rgba(0,0,0,1)');
  2046. Node34.a('node.borderwidth', 0);
  2047. Node34.a('node.background','' || 'rgba(0,0,0,0)');
  2048. Node34.a('node.gradient','');
  2049. Node34.a('node.gradientcolor','');
  2050. Node34.a('node.text','-');
  2051. Node34.a('node.textalign','left');
  2052. Node34.a('node.textvAlign','middle');
  2053. Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
  2054. Node34.a('node.color','rgba(0,0,0,1)');
  2055. Node34.a('node.font','bold '+ Node34fontSize + 'px "Arial"');
  2056. Node34.a('node.textvisible',true);
  2057. Node34.a('node.linefeed',false);
  2058. if (false) {
  2059. Node34.a('node.textfunc',function(g) {
  2060. g.beginPath();
  2061. var str=Node34.a('node.text') || '-';
  2062. var color=Node34.a('node.color') || 'rgba(0,0,0,1)';
  2063. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node34fontSize + 'px "Arial"', 0,g);
  2064. });
  2065. }
  2066. if (false) {
  2067. Node34.a('node.underlinepoints',[Node34lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]);
  2068. Node34.a('node.underlinevisible',false);
  2069. Node34.a('node.underlineBorderWidth', 1);
  2070. }
  2071. dataModel.add(Node34);
  2072. zoomNodeList.push({
  2073. node: Node34,
  2074. borderWidth: 0,
  2075. attr: 'node.borderwidth'
  2076. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2077. var Node35 = new ht.Node();
  2078. var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'left', Node35fontSize = 13.3333*_ratio.ratioY,Node35width = 47*_ratio.ratioX, Node35height = 17*_ratio.ratioY;
  2079. (function () {
  2080. if (Node35align === 'left') {
  2081. Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9;
  2082. Node35textWidth = Node35width;
  2083. Node35lineStart = 1;
  2084. } else if (Node35align === 'right') {
  2085. Node35textStart = 0;
  2086. Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2;
  2087. Node35lineStart = (Node35width - (ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5;
  2088. } else if (Node35align === 'center') {
  2089. Node35textStart = -3;
  2090. Node35textWidth = Node35width;
  2091. Node35lineStart = Node35width - ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width - 11;
  2092. }
  2093. })();
  2094. Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"'))
  2095. Node35.setPosition(410*ratio.ratioX, 153*ratio.ratioY);
  2096. Node35.setWidth(Node35width);
  2097. Node35.setHeight(Node35height);
  2098. Node35._nodeType = 'text';
  2099. Node35._disallowEvert = true;
  2100. Node35.setRotation(0*Math.PI/180);
  2101. Node35.a('node.width', Node35width);
  2102. Node35.a('node.height', Node35height);
  2103. Node35.a('node.rect', [0, 0, Node35width, Node35height]);
  2104. Node35.a('node.bordercolor','rgba(169,169,169,1)');
  2105. Node35.a('node.borderwidth', 0);
  2106. Node35.a('node.background','' || 'rgba(0,0,0,0)');
  2107. Node35.a('node.gradient','');
  2108. Node35.a('node.gradientcolor','');
  2109. Node35.a('node.text','小时');
  2110. Node35.a('node.textalign','left');
  2111. Node35.a('node.textvAlign','middle');
  2112. Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]);
  2113. Node35.a('node.color','rgba(169,169,169,1)');
  2114. Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"');
  2115. Node35.a('node.textvisible',true);
  2116. Node35.a('node.linefeed',false);
  2117. if (false) {
  2118. Node35.a('node.textfunc',function(g) {
  2119. g.beginPath();
  2120. var str=Node35.a('node.text') || '小时';
  2121. var color=Node35.a('node.color') || 'rgba(169,169,169,1)';
  2122. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35width,Node35height,13.3333*_ratio.ratioY,"left",color,' '+ Node35fontSize + 'px "Arial"', 0,g);
  2123. });
  2124. }
  2125. if (false) {
  2126. Node35.a('node.underlinepoints',[Node35lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]);
  2127. Node35.a('node.underlinevisible',false);
  2128. Node35.a('node.underlineBorderWidth', 1);
  2129. }
  2130. dataModel.add(Node35);
  2131. zoomNodeList.push({
  2132. node: Node35,
  2133. borderWidth: 0,
  2134. attr: 'node.borderwidth'
  2135. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2136. var Node36 = new ht.Node();
  2137. var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 47*_ratio.ratioX, Node36height = 17*_ratio.ratioY;
  2138. (function () {
  2139. if (Node36align === 'left') {
  2140. Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
  2141. Node36textWidth = Node36width;
  2142. Node36lineStart = 1;
  2143. } else if (Node36align === 'right') {
  2144. Node36textStart = 0;
  2145. Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
  2146. Node36lineStart = (Node36width - (ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
  2147. } else if (Node36align === 'center') {
  2148. Node36textStart = -3;
  2149. Node36textWidth = Node36width;
  2150. Node36lineStart = Node36width - ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width - 11;
  2151. }
  2152. })();
  2153. Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"'))
  2154. Node36.setPosition(410*ratio.ratioX, 178*ratio.ratioY);
  2155. Node36.setWidth(Node36width);
  2156. Node36.setHeight(Node36height);
  2157. Node36._nodeType = 'text';
  2158. Node36._disallowEvert = true;
  2159. Node36.setRotation(0*Math.PI/180);
  2160. Node36.a('node.width', Node36width);
  2161. Node36.a('node.height', Node36height);
  2162. Node36.a('node.rect', [0, 0, Node36width, Node36height]);
  2163. Node36.a('node.bordercolor','rgba(169,169,169,1)');
  2164. Node36.a('node.borderwidth', 0);
  2165. Node36.a('node.background','' || 'rgba(0,0,0,0)');
  2166. Node36.a('node.gradient','');
  2167. Node36.a('node.gradientcolor','');
  2168. Node36.a('node.text','小时');
  2169. Node36.a('node.textalign','left');
  2170. Node36.a('node.textvAlign','middle');
  2171. Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
  2172. Node36.a('node.color','rgba(169,169,169,1)');
  2173. Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"');
  2174. Node36.a('node.textvisible',true);
  2175. Node36.a('node.linefeed',false);
  2176. if (false) {
  2177. Node36.a('node.textfunc',function(g) {
  2178. g.beginPath();
  2179. var str=Node36.a('node.text') || '小时';
  2180. var color=Node36.a('node.color') || 'rgba(169,169,169,1)';
  2181. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,' '+ Node36fontSize + 'px "Arial"', 0,g);
  2182. });
  2183. }
  2184. if (false) {
  2185. Node36.a('node.underlinepoints',[Node36lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
  2186. Node36.a('node.underlinevisible',false);
  2187. Node36.a('node.underlineBorderWidth', 1);
  2188. }
  2189. dataModel.add(Node36);
  2190. zoomNodeList.push({
  2191. node: Node36,
  2192. borderWidth: 0,
  2193. attr: 'node.borderwidth'
  2194. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2195. var Node37 = new ht.Node();
  2196. var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 47*_ratio.ratioX, Node37height = 17*_ratio.ratioY;
  2197. (function () {
  2198. if (Node37align === 'left') {
  2199. Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9;
  2200. Node37textWidth = Node37width;
  2201. Node37lineStart = 1;
  2202. } else if (Node37align === 'right') {
  2203. Node37textStart = 0;
  2204. Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2;
  2205. Node37lineStart = (Node37width - (ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5;
  2206. } else if (Node37align === 'center') {
  2207. Node37textStart = -3;
  2208. Node37textWidth = Node37width;
  2209. Node37lineStart = Node37width - ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width - 11;
  2210. }
  2211. })();
  2212. Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"'))
  2213. Node37.setPosition(410*ratio.ratioX, 205*ratio.ratioY);
  2214. Node37.setWidth(Node37width);
  2215. Node37.setHeight(Node37height);
  2216. Node37._nodeType = 'text';
  2217. Node37._disallowEvert = true;
  2218. Node37.setRotation(0*Math.PI/180);
  2219. Node37.a('node.width', Node37width);
  2220. Node37.a('node.height', Node37height);
  2221. Node37.a('node.rect', [0, 0, Node37width, Node37height]);
  2222. Node37.a('node.bordercolor','rgba(169,169,169,1)');
  2223. Node37.a('node.borderwidth', 0);
  2224. Node37.a('node.background','' || 'rgba(0,0,0,0)');
  2225. Node37.a('node.gradient','');
  2226. Node37.a('node.gradientcolor','');
  2227. Node37.a('node.text','%');
  2228. Node37.a('node.textalign','left');
  2229. Node37.a('node.textvAlign','middle');
  2230. Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]);
  2231. Node37.a('node.color','rgba(169,169,169,1)');
  2232. Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"');
  2233. Node37.a('node.textvisible',true);
  2234. Node37.a('node.linefeed',false);
  2235. if (false) {
  2236. Node37.a('node.textfunc',function(g) {
  2237. g.beginPath();
  2238. var str=Node37.a('node.text') || '%';
  2239. var color=Node37.a('node.color') || 'rgba(169,169,169,1)';
  2240. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37width,Node37height,13.3333*_ratio.ratioY,"left",color,' '+ Node37fontSize + 'px "Arial"', 0,g);
  2241. });
  2242. }
  2243. if (false) {
  2244. Node37.a('node.underlinepoints',[Node37lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]);
  2245. Node37.a('node.underlinevisible',false);
  2246. Node37.a('node.underlineBorderWidth', 1);
  2247. }
  2248. dataModel.add(Node37);
  2249. zoomNodeList.push({
  2250. node: Node37,
  2251. borderWidth: 0,
  2252. attr: 'node.borderwidth'
  2253. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2254. var Node38 = new ht.Node();
  2255. var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 47*_ratio.ratioX, Node38height = 17*_ratio.ratioY;
  2256. (function () {
  2257. if (Node38align === 'left') {
  2258. Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
  2259. Node38textWidth = Node38width;
  2260. Node38lineStart = 1;
  2261. } else if (Node38align === 'right') {
  2262. Node38textStart = 0;
  2263. Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
  2264. Node38lineStart = (Node38width - (ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
  2265. } else if (Node38align === 'center') {
  2266. Node38textStart = -3;
  2267. Node38textWidth = Node38width;
  2268. Node38lineStart = Node38width - ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width - 11;
  2269. }
  2270. })();
  2271. Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
  2272. Node38.setPosition(410*ratio.ratioX, 227*ratio.ratioY);
  2273. Node38.setWidth(Node38width);
  2274. Node38.setHeight(Node38height);
  2275. Node38._nodeType = 'text';
  2276. Node38._disallowEvert = true;
  2277. Node38.setRotation(0*Math.PI/180);
  2278. Node38.a('node.width', Node38width);
  2279. Node38.a('node.height', Node38height);
  2280. Node38.a('node.rect', [0, 0, Node38width, Node38height]);
  2281. Node38.a('node.bordercolor','rgba(169,169,169,1)');
  2282. Node38.a('node.borderwidth', 0);
  2283. Node38.a('node.background','' || 'rgba(0,0,0,0)');
  2284. Node38.a('node.gradient','');
  2285. Node38.a('node.gradientcolor','');
  2286. Node38.a('node.text','%');
  2287. Node38.a('node.textalign','left');
  2288. Node38.a('node.textvAlign','middle');
  2289. Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
  2290. Node38.a('node.color','rgba(169,169,169,1)');
  2291. Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
  2292. Node38.a('node.textvisible',true);
  2293. Node38.a('node.linefeed',false);
  2294. if (false) {
  2295. Node38.a('node.textfunc',function(g) {
  2296. g.beginPath();
  2297. var str=Node38.a('node.text') || '%';
  2298. var color=Node38.a('node.color') || 'rgba(169,169,169,1)';
  2299. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
  2300. });
  2301. }
  2302. if (false) {
  2303. Node38.a('node.underlinepoints',[Node38lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
  2304. Node38.a('node.underlinevisible',false);
  2305. Node38.a('node.underlineBorderWidth', 1);
  2306. }
  2307. dataModel.add(Node38);
  2308. zoomNodeList.push({
  2309. node: Node38,
  2310. borderWidth: 0,
  2311. attr: 'node.borderwidth'
  2312. }); var Node39points=[189, 142,466, 142],
  2313. Node39rect=ht.Default.unionPoint([{x:189,y:142},{x:466,y:142}]),
  2314. Node39compspts=[];
  2315. _ratio = GD.getRatioWithRotation(0, ratio);
  2316. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2317. _endratio = GD.getRatioWithRotation(0, ratio);
  2318. for(var i=0;i<Node39points.length;i++){
  2319. if(i%2==0){
  2320. Node39compspts.push(Node39points[i]-Node39rect.x);
  2321. }else{
  2322. Node39compspts.push(Node39points[i]-Node39rect.y);
  2323. }
  2324. }
  2325. var Node39ptslength=Node39compspts.length;
  2326. if (Node39rect.height === 0) {
  2327. Node39compspts[0] -= 0;
  2328. Node39compspts[Node39ptslength-2] += 0;
  2329. } else if (Node39rect.width === 0){
  2330. Node39compspts[1] -= 0;
  2331. Node39compspts[Node39ptslength-1] += 0;
  2332. } else {
  2333. Node39compspts[0] -= 0;
  2334. Node39compspts[1] -= 0;
  2335. Node39compspts[Node39ptslength-2] += 0;
  2336. Node39compspts[Node39ptslength-1] += 0;
  2337. }
  2338. Node39 = new ht.Node();
  2339. Node39.borderWidth = 1;
  2340. Node39rect.width = Node39rect.width === 0 ? 0.0001 : Node39rect.width;
  2341. Node39rect.height = Node39rect.height === 0 ? 0.0001 : Node39rect.height;
  2342. var Node39endCompspts = [Node39compspts[Node39ptslength-2],Node39compspts[Node39ptslength-1],0,0];
  2343. var Node39startCompspts = [Node39compspts[0],Node39compspts[1],0,0];
  2344. Node39.setImage(GD.getPolyLineJSON());
  2345. Node39.setPosition(Node39rect.x+Node39rect.width/2,Node39rect.y+Node39rect.height/2);
  2346. Node39.setSize(Node39rect.width,Node39rect.height);
  2347. Node39.setStyle("opacity",1);
  2348. Node39.s({'pixelPerfect':true});
  2349. Node39borderwidth=1;
  2350. Node39.setRotation(0);
  2351. dataModel.add(Node39);
  2352. Node39.a('node.points',Node39compspts);
  2353. Node39.a('node.segments',[1,2]);
  2354. Node39.a('node.color','rgba(220,220,220,1)');
  2355. Node39.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2356. Node39.a('node.borderColor','rgba(220,220,220,1)');
  2357. Node39.a('node.background','rgba(220,220,220,1)');
  2358. Node39.a('node.gradient','');
  2359. Node39.a('node.gradientcolor','rgba(220,220,220,1)');
  2360. Node39.a('node.endCompspts',Node39endCompspts);
  2361. Node39.a('node.startCompspts',Node39startCompspts);
  2362. (function (node, img, compspts, endCompspts, startCompspts) {
  2363. var position = node.getPosition(),
  2364. w = node.getWidth()*_ratio.ratioX,
  2365. h = node.getHeight()*_ratio.ratioY;
  2366. function resetPoints(rx, ry) {
  2367. for (var i = 0, len = compspts.length; i < len; i++) {
  2368. if (i%2 === 0) {
  2369. compspts[i]*=rx;
  2370. } else {
  2371. compspts[i]*=ry;
  2372. }
  2373. }
  2374. endCompspts[0] = compspts[compspts.length-2];
  2375. endCompspts[1] = compspts[compspts.length-1];
  2376. endCompspts[2] *= rx;
  2377. endCompspts[3] *= ry;
  2378. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2379. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2380. startCompspts[0] = compspts[0];
  2381. startCompspts[1] = compspts[1];
  2382. startCompspts[2] *= rx;
  2383. startCompspts[3] *= ry;
  2384. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2385. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2386. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2387. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2388. }
  2389. node.setSize(w, h);
  2390. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2391. node.a('node.width', w);
  2392. node.a('node.height', h);
  2393. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2394. node.borderWidth = 1;
  2395. node.a('node.borderwidth',node.borderWidth);
  2396. node._nodename = 'Node39';
  2397. node._nodeType = 'line';
  2398. zoomNodeList.push({
  2399. node: node,
  2400. attr: 'node.borderwidth'
  2401. });
  2402. var setWidth = node.setWidth,
  2403. setHeight = node.setHeight,
  2404. timer, rx = 1, ry = 1;
  2405. node.setWidth = function (width) {
  2406. var _width = this.getWidth();
  2407. rx = width / _width;
  2408. node.a('node.width', width);
  2409. setWidth.apply(this, arguments);
  2410. resetPoints(rx, 1);
  2411. }
  2412. node.setHeight = function (height) {
  2413. var _height = this.getHeight();
  2414. ry = height / _height;
  2415. node.a('node.height', height);
  2416. setHeight.apply(this, arguments);
  2417. resetPoints(1, ry);
  2418. }
  2419. })(Node39, Node39.getImage(), Node39compspts, Node39endCompspts, Node39startCompspts);
  2420. var Node40points=[187, 168,464, 168],
  2421. Node40rect=ht.Default.unionPoint([{x:187,y:168},{x:464,y:168}]),
  2422. Node40compspts=[];
  2423. _ratio = GD.getRatioWithRotation(0, ratio);
  2424. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2425. _endratio = GD.getRatioWithRotation(0, ratio);
  2426. for(var i=0;i<Node40points.length;i++){
  2427. if(i%2==0){
  2428. Node40compspts.push(Node40points[i]-Node40rect.x);
  2429. }else{
  2430. Node40compspts.push(Node40points[i]-Node40rect.y);
  2431. }
  2432. }
  2433. var Node40ptslength=Node40compspts.length;
  2434. if (Node40rect.height === 0) {
  2435. Node40compspts[0] -= 0;
  2436. Node40compspts[Node40ptslength-2] += 0;
  2437. } else if (Node40rect.width === 0){
  2438. Node40compspts[1] -= 0;
  2439. Node40compspts[Node40ptslength-1] += 0;
  2440. } else {
  2441. Node40compspts[0] -= 0;
  2442. Node40compspts[1] -= 0;
  2443. Node40compspts[Node40ptslength-2] += 0;
  2444. Node40compspts[Node40ptslength-1] += 0;
  2445. }
  2446. Node40 = new ht.Node();
  2447. Node40.borderWidth = 1;
  2448. Node40rect.width = Node40rect.width === 0 ? 0.0001 : Node40rect.width;
  2449. Node40rect.height = Node40rect.height === 0 ? 0.0001 : Node40rect.height;
  2450. var Node40endCompspts = [Node40compspts[Node40ptslength-2],Node40compspts[Node40ptslength-1],0,0];
  2451. var Node40startCompspts = [Node40compspts[0],Node40compspts[1],0,0];
  2452. Node40.setImage(GD.getPolyLineJSON());
  2453. Node40.setPosition(Node40rect.x+Node40rect.width/2,Node40rect.y+Node40rect.height/2);
  2454. Node40.setSize(Node40rect.width,Node40rect.height);
  2455. Node40.setStyle("opacity",1);
  2456. Node40.s({'pixelPerfect':true});
  2457. Node40borderwidth=1;
  2458. Node40.setRotation(0);
  2459. dataModel.add(Node40);
  2460. Node40.a('node.points',Node40compspts);
  2461. Node40.a('node.segments',[1,2]);
  2462. Node40.a('node.color','rgba(220,220,220,1)');
  2463. Node40.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2464. Node40.a('node.borderColor','rgba(220,220,220,1)');
  2465. Node40.a('node.background','rgba(220,220,220,1)');
  2466. Node40.a('node.gradient','');
  2467. Node40.a('node.gradientcolor','rgba(220,220,220,1)');
  2468. Node40.a('node.endCompspts',Node40endCompspts);
  2469. Node40.a('node.startCompspts',Node40startCompspts);
  2470. (function (node, img, compspts, endCompspts, startCompspts) {
  2471. var position = node.getPosition(),
  2472. w = node.getWidth()*_ratio.ratioX,
  2473. h = node.getHeight()*_ratio.ratioY;
  2474. function resetPoints(rx, ry) {
  2475. for (var i = 0, len = compspts.length; i < len; i++) {
  2476. if (i%2 === 0) {
  2477. compspts[i]*=rx;
  2478. } else {
  2479. compspts[i]*=ry;
  2480. }
  2481. }
  2482. endCompspts[0] = compspts[compspts.length-2];
  2483. endCompspts[1] = compspts[compspts.length-1];
  2484. endCompspts[2] *= rx;
  2485. endCompspts[3] *= ry;
  2486. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2487. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2488. startCompspts[0] = compspts[0];
  2489. startCompspts[1] = compspts[1];
  2490. startCompspts[2] *= rx;
  2491. startCompspts[3] *= ry;
  2492. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2493. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2494. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2495. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2496. }
  2497. node.setSize(w, h);
  2498. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2499. node.a('node.width', w);
  2500. node.a('node.height', h);
  2501. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2502. node.borderWidth = 1;
  2503. node.a('node.borderwidth',node.borderWidth);
  2504. node._nodename = 'Node40';
  2505. node._nodeType = 'line';
  2506. zoomNodeList.push({
  2507. node: node,
  2508. attr: 'node.borderwidth'
  2509. });
  2510. var setWidth = node.setWidth,
  2511. setHeight = node.setHeight,
  2512. timer, rx = 1, ry = 1;
  2513. node.setWidth = function (width) {
  2514. var _width = this.getWidth();
  2515. rx = width / _width;
  2516. node.a('node.width', width);
  2517. setWidth.apply(this, arguments);
  2518. resetPoints(rx, 1);
  2519. }
  2520. node.setHeight = function (height) {
  2521. var _height = this.getHeight();
  2522. ry = height / _height;
  2523. node.a('node.height', height);
  2524. setHeight.apply(this, arguments);
  2525. resetPoints(1, ry);
  2526. }
  2527. })(Node40, Node40.getImage(), Node40compspts, Node40endCompspts, Node40startCompspts);
  2528. var Node41points=[189, 192,466, 192],
  2529. Node41rect=ht.Default.unionPoint([{x:189,y:192},{x:466,y:192}]),
  2530. Node41compspts=[];
  2531. _ratio = GD.getRatioWithRotation(0, ratio);
  2532. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2533. _endratio = GD.getRatioWithRotation(0, ratio);
  2534. for(var i=0;i<Node41points.length;i++){
  2535. if(i%2==0){
  2536. Node41compspts.push(Node41points[i]-Node41rect.x);
  2537. }else{
  2538. Node41compspts.push(Node41points[i]-Node41rect.y);
  2539. }
  2540. }
  2541. var Node41ptslength=Node41compspts.length;
  2542. if (Node41rect.height === 0) {
  2543. Node41compspts[0] -= 0;
  2544. Node41compspts[Node41ptslength-2] += 0;
  2545. } else if (Node41rect.width === 0){
  2546. Node41compspts[1] -= 0;
  2547. Node41compspts[Node41ptslength-1] += 0;
  2548. } else {
  2549. Node41compspts[0] -= 0;
  2550. Node41compspts[1] -= 0;
  2551. Node41compspts[Node41ptslength-2] += 0;
  2552. Node41compspts[Node41ptslength-1] += 0;
  2553. }
  2554. Node41 = new ht.Node();
  2555. Node41.borderWidth = 1;
  2556. Node41rect.width = Node41rect.width === 0 ? 0.0001 : Node41rect.width;
  2557. Node41rect.height = Node41rect.height === 0 ? 0.0001 : Node41rect.height;
  2558. var Node41endCompspts = [Node41compspts[Node41ptslength-2],Node41compspts[Node41ptslength-1],0,0];
  2559. var Node41startCompspts = [Node41compspts[0],Node41compspts[1],0,0];
  2560. Node41.setImage(GD.getPolyLineJSON());
  2561. Node41.setPosition(Node41rect.x+Node41rect.width/2,Node41rect.y+Node41rect.height/2);
  2562. Node41.setSize(Node41rect.width,Node41rect.height);
  2563. Node41.setStyle("opacity",1);
  2564. Node41.s({'pixelPerfect':true});
  2565. Node41borderwidth=1;
  2566. Node41.setRotation(0);
  2567. dataModel.add(Node41);
  2568. Node41.a('node.points',Node41compspts);
  2569. Node41.a('node.segments',[1,2]);
  2570. Node41.a('node.color','rgba(220,220,220,1)');
  2571. Node41.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2572. Node41.a('node.borderColor','rgba(220,220,220,1)');
  2573. Node41.a('node.background','rgba(220,220,220,1)');
  2574. Node41.a('node.gradient','');
  2575. Node41.a('node.gradientcolor','rgba(220,220,220,1)');
  2576. Node41.a('node.endCompspts',Node41endCompspts);
  2577. Node41.a('node.startCompspts',Node41startCompspts);
  2578. (function (node, img, compspts, endCompspts, startCompspts) {
  2579. var position = node.getPosition(),
  2580. w = node.getWidth()*_ratio.ratioX,
  2581. h = node.getHeight()*_ratio.ratioY;
  2582. function resetPoints(rx, ry) {
  2583. for (var i = 0, len = compspts.length; i < len; i++) {
  2584. if (i%2 === 0) {
  2585. compspts[i]*=rx;
  2586. } else {
  2587. compspts[i]*=ry;
  2588. }
  2589. }
  2590. endCompspts[0] = compspts[compspts.length-2];
  2591. endCompspts[1] = compspts[compspts.length-1];
  2592. endCompspts[2] *= rx;
  2593. endCompspts[3] *= ry;
  2594. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2595. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2596. startCompspts[0] = compspts[0];
  2597. startCompspts[1] = compspts[1];
  2598. startCompspts[2] *= rx;
  2599. startCompspts[3] *= ry;
  2600. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2601. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2602. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2603. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2604. }
  2605. node.setSize(w, h);
  2606. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2607. node.a('node.width', w);
  2608. node.a('node.height', h);
  2609. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2610. node.borderWidth = 1;
  2611. node.a('node.borderwidth',node.borderWidth);
  2612. node._nodename = 'Node41';
  2613. node._nodeType = 'line';
  2614. zoomNodeList.push({
  2615. node: node,
  2616. attr: 'node.borderwidth'
  2617. });
  2618. var setWidth = node.setWidth,
  2619. setHeight = node.setHeight,
  2620. timer, rx = 1, ry = 1;
  2621. node.setWidth = function (width) {
  2622. var _width = this.getWidth();
  2623. rx = width / _width;
  2624. node.a('node.width', width);
  2625. setWidth.apply(this, arguments);
  2626. resetPoints(rx, 1);
  2627. }
  2628. node.setHeight = function (height) {
  2629. var _height = this.getHeight();
  2630. ry = height / _height;
  2631. node.a('node.height', height);
  2632. setHeight.apply(this, arguments);
  2633. resetPoints(1, ry);
  2634. }
  2635. })(Node41, Node41.getImage(), Node41compspts, Node41endCompspts, Node41startCompspts);
  2636. var Node42points=[189, 215,466, 215],
  2637. Node42rect=ht.Default.unionPoint([{x:189,y:215},{x:466,y:215}]),
  2638. Node42compspts=[];
  2639. _ratio = GD.getRatioWithRotation(0, ratio);
  2640. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2641. _endratio = GD.getRatioWithRotation(0, ratio);
  2642. for(var i=0;i<Node42points.length;i++){
  2643. if(i%2==0){
  2644. Node42compspts.push(Node42points[i]-Node42rect.x);
  2645. }else{
  2646. Node42compspts.push(Node42points[i]-Node42rect.y);
  2647. }
  2648. }
  2649. var Node42ptslength=Node42compspts.length;
  2650. if (Node42rect.height === 0) {
  2651. Node42compspts[0] -= 0;
  2652. Node42compspts[Node42ptslength-2] += 0;
  2653. } else if (Node42rect.width === 0){
  2654. Node42compspts[1] -= 0;
  2655. Node42compspts[Node42ptslength-1] += 0;
  2656. } else {
  2657. Node42compspts[0] -= 0;
  2658. Node42compspts[1] -= 0;
  2659. Node42compspts[Node42ptslength-2] += 0;
  2660. Node42compspts[Node42ptslength-1] += 0;
  2661. }
  2662. Node42 = new ht.Node();
  2663. Node42.borderWidth = 1;
  2664. Node42rect.width = Node42rect.width === 0 ? 0.0001 : Node42rect.width;
  2665. Node42rect.height = Node42rect.height === 0 ? 0.0001 : Node42rect.height;
  2666. var Node42endCompspts = [Node42compspts[Node42ptslength-2],Node42compspts[Node42ptslength-1],0,0];
  2667. var Node42startCompspts = [Node42compspts[0],Node42compspts[1],0,0];
  2668. Node42.setImage(GD.getPolyLineJSON());
  2669. Node42.setPosition(Node42rect.x+Node42rect.width/2,Node42rect.y+Node42rect.height/2);
  2670. Node42.setSize(Node42rect.width,Node42rect.height);
  2671. Node42.setStyle("opacity",1);
  2672. Node42.s({'pixelPerfect':true});
  2673. Node42borderwidth=1;
  2674. Node42.setRotation(0);
  2675. dataModel.add(Node42);
  2676. Node42.a('node.points',Node42compspts);
  2677. Node42.a('node.segments',[1,2]);
  2678. Node42.a('node.color','rgba(220,220,220,1)');
  2679. Node42.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2680. Node42.a('node.borderColor','rgba(220,220,220,1)');
  2681. Node42.a('node.background','rgba(220,220,220,1)');
  2682. Node42.a('node.gradient','');
  2683. Node42.a('node.gradientcolor','rgba(220,220,220,1)');
  2684. Node42.a('node.endCompspts',Node42endCompspts);
  2685. Node42.a('node.startCompspts',Node42startCompspts);
  2686. (function (node, img, compspts, endCompspts, startCompspts) {
  2687. var position = node.getPosition(),
  2688. w = node.getWidth()*_ratio.ratioX,
  2689. h = node.getHeight()*_ratio.ratioY;
  2690. function resetPoints(rx, ry) {
  2691. for (var i = 0, len = compspts.length; i < len; i++) {
  2692. if (i%2 === 0) {
  2693. compspts[i]*=rx;
  2694. } else {
  2695. compspts[i]*=ry;
  2696. }
  2697. }
  2698. endCompspts[0] = compspts[compspts.length-2];
  2699. endCompspts[1] = compspts[compspts.length-1];
  2700. endCompspts[2] *= rx;
  2701. endCompspts[3] *= ry;
  2702. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2703. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2704. startCompspts[0] = compspts[0];
  2705. startCompspts[1] = compspts[1];
  2706. startCompspts[2] *= rx;
  2707. startCompspts[3] *= ry;
  2708. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2709. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2710. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2711. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2712. }
  2713. node.setSize(w, h);
  2714. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2715. node.a('node.width', w);
  2716. node.a('node.height', h);
  2717. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2718. node.borderWidth = 1;
  2719. node.a('node.borderwidth',node.borderWidth);
  2720. node._nodename = 'Node42';
  2721. node._nodeType = 'line';
  2722. zoomNodeList.push({
  2723. node: node,
  2724. attr: 'node.borderwidth'
  2725. });
  2726. var setWidth = node.setWidth,
  2727. setHeight = node.setHeight,
  2728. timer, rx = 1, ry = 1;
  2729. node.setWidth = function (width) {
  2730. var _width = this.getWidth();
  2731. rx = width / _width;
  2732. node.a('node.width', width);
  2733. setWidth.apply(this, arguments);
  2734. resetPoints(rx, 1);
  2735. }
  2736. node.setHeight = function (height) {
  2737. var _height = this.getHeight();
  2738. ry = height / _height;
  2739. node.a('node.height', height);
  2740. setHeight.apply(this, arguments);
  2741. resetPoints(1, ry);
  2742. }
  2743. })(Node42, Node42.getImage(), Node42compspts, Node42endCompspts, Node42startCompspts);
  2744. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2745. var Node43type = 'rect';
  2746. var Node43 = new ht.Node(),
  2747. Node43BorderWidth = 1*2;
  2748. if (Node43type === 'arc') {
  2749. Node43BorderWidth *= 1;
  2750. }
  2751. Node43.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  2752. Node43.setPosition(531*ratio.ratioX, 178*ratio.ratioY);
  2753. Node43.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  2754. Node43.s({
  2755. 'pixelPerfect':true
  2756. /*@AddPara@*/
  2757. });
  2758. Node43.a('node.width', 120*_ratio.ratioX);
  2759. Node43.a('node.height', 120*_ratio.ratioY);
  2760. Node43.a('node.type', Node43type);
  2761. Node43.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  2762. Node43.a('node.background', 'rgba(245,245,245,1)');
  2763. Node43.a('node.gradientcolor', 'rgba(245,245,245,1)');
  2764. Node43.a('node.gradient', '');
  2765. Node43.a('node.borderwidth', Node43BorderWidth);
  2766. Node43.a('node.color', 'rgba(220,220,220,1)');
  2767. Node43.a('node.fillrect', [0,0,0,0]);
  2768. Node43.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  2769. Node43.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  2770. Node43.a('node.fillgradient', '');
  2771. if (Node43type !== 'rect') {
  2772. Node43.a('node.arcFrom', parseFloat('@arcFrom@'));
  2773. Node43.a('node.arcTo', parseFloat('@arcTo@'));
  2774. Node43.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  2775. }
  2776. if (Node43type === 'arc') {
  2777. Node43.a('node.arcOval', true);
  2778. }
  2779. Node43.setRotation(0*Math.PI/180);
  2780. Node43.borderWidth = Node43BorderWidth;
  2781. Node43.borderFillwidth = Node43BorderWidth;
  2782. dataModel.add(Node43);
  2783. Node43._nodename = 'Node43'
  2784. Node43._nodeType = 'rect';
  2785. zoomNodeList.push({
  2786. node: Node43,
  2787. attr: 'node.borderwidth'
  2788. });
  2789. (function (node, _img) {
  2790. var setWidth = node.setWidth,
  2791. setHeight = node.setHeight;
  2792. node.setWidth = function (width) {
  2793. if (width === this.getWidth()) return ;
  2794. var height = this.getHeight();
  2795. this.a('node.width', width);
  2796. this.a('node.rect', [0,0,width, height]);
  2797. setWidth.apply(this, arguments);
  2798. }
  2799. node.setHeight = function (height) {
  2800. if (height === this.getHeight()) return ;
  2801. var width = this.getWidth();
  2802. this.a('node.height', height);
  2803. this.a('node.rect', [0,0,width, height]);
  2804. setHeight.apply(this, arguments);
  2805. }
  2806. })(Node43, Node43.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2807. var Node44type = 'rect';
  2808. var Node44 = new ht.Node(),
  2809. Node44BorderWidth = 1*2;
  2810. if (Node44type === 'arc') {
  2811. Node44BorderWidth *= 1;
  2812. }
  2813. Node44.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  2814. Node44.setPosition(610*ratio.ratioX, 178*ratio.ratioY);
  2815. Node44.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  2816. Node44.s({
  2817. 'pixelPerfect':true
  2818. /*@AddPara@*/
  2819. });
  2820. Node44.a('node.width', 280.7278*_ratio.ratioX);
  2821. Node44.a('node.height', 122*_ratio.ratioY);
  2822. Node44.a('node.type', Node44type);
  2823. Node44.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  2824. Node44.a('node.background', 'rgba(255,255,255,0.003921569)');
  2825. Node44.a('node.gradientcolor', '');
  2826. Node44.a('node.gradient', '');
  2827. Node44.a('node.borderwidth', Node44BorderWidth);
  2828. Node44.a('node.color', 'rgba(220,220,220,1)');
  2829. Node44.a('node.fillrect', [0,0,0,0]);
  2830. Node44.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  2831. Node44.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  2832. Node44.a('node.fillgradient', '');
  2833. if (Node44type !== 'rect') {
  2834. Node44.a('node.arcFrom', parseFloat('@arcFrom@'));
  2835. Node44.a('node.arcTo', parseFloat('@arcTo@'));
  2836. Node44.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  2837. }
  2838. if (Node44type === 'arc') {
  2839. Node44.a('node.arcOval', true);
  2840. }
  2841. Node44.setRotation(0*Math.PI/180);
  2842. Node44.borderWidth = Node44BorderWidth;
  2843. Node44.borderFillwidth = Node44BorderWidth;
  2844. dataModel.add(Node44);
  2845. Node44._nodename = 'Node44'
  2846. Node44._nodeType = 'rect';
  2847. zoomNodeList.push({
  2848. node: Node44,
  2849. attr: 'node.borderwidth'
  2850. });
  2851. (function (node, _img) {
  2852. var setWidth = node.setWidth,
  2853. setHeight = node.setHeight;
  2854. node.setWidth = function (width) {
  2855. if (width === this.getWidth()) return ;
  2856. var height = this.getHeight();
  2857. this.a('node.width', width);
  2858. this.a('node.rect', [0,0,width, height]);
  2859. setWidth.apply(this, arguments);
  2860. }
  2861. node.setHeight = function (height) {
  2862. if (height === this.getHeight()) return ;
  2863. var width = this.getWidth();
  2864. this.a('node.height', height);
  2865. this.a('node.rect', [0,0,width, height]);
  2866. setHeight.apply(this, arguments);
  2867. }
  2868. })(Node44, Node44.getImage());var Node45points=[661, 118,661, 238],
  2869. Node45rect=ht.Default.unionPoint([{x:661,y:118},{x:661,y:238}]),
  2870. Node45compspts=[];
  2871. _ratio = GD.getRatioWithRotation(0, ratio);
  2872. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  2873. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  2874. for(var i=0;i<Node45points.length;i++){
  2875. if(i%2==0){
  2876. Node45compspts.push(Node45points[i]-Node45rect.x);
  2877. }else{
  2878. Node45compspts.push(Node45points[i]-Node45rect.y);
  2879. }
  2880. }
  2881. var Node45ptslength=Node45compspts.length;
  2882. if (Node45rect.height === 0) {
  2883. Node45compspts[0] -= 0;
  2884. Node45compspts[Node45ptslength-2] += 0;
  2885. } else if (Node45rect.width === 0){
  2886. Node45compspts[1] -= 0;
  2887. Node45compspts[Node45ptslength-1] += 0;
  2888. } else {
  2889. Node45compspts[0] -= 0;
  2890. Node45compspts[1] -= 0;
  2891. Node45compspts[Node45ptslength-2] += 0;
  2892. Node45compspts[Node45ptslength-1] += 0;
  2893. }
  2894. Node45 = new ht.Node();
  2895. Node45.borderWidth = 1;
  2896. Node45rect.width = Node45rect.width === 0 ? 0.0001 : Node45rect.width;
  2897. Node45rect.height = Node45rect.height === 0 ? 0.0001 : Node45rect.height;
  2898. var Node45endCompspts = [Node45compspts[Node45ptslength-2],Node45compspts[Node45ptslength-1],0,0];
  2899. var Node45startCompspts = [Node45compspts[0],Node45compspts[1],0,0];
  2900. Node45.setImage(GD.getPolyLineJSON());
  2901. Node45.setPosition(Node45rect.x+Node45rect.width/2,Node45rect.y+Node45rect.height/2);
  2902. Node45.setSize(Node45rect.width,Node45rect.height);
  2903. Node45.setStyle("opacity",1);
  2904. Node45.s({'pixelPerfect':true});
  2905. Node45borderwidth=1;
  2906. Node45.setRotation(0);
  2907. dataModel.add(Node45);
  2908. Node45.a('node.points',Node45compspts);
  2909. Node45.a('node.segments',[1,2]);
  2910. Node45.a('node.color','rgba(220,220,220,1)');
  2911. Node45.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2912. Node45.a('node.borderColor','rgba(220,220,220,1)');
  2913. Node45.a('node.background','rgba(220,220,220,1)');
  2914. Node45.a('node.gradient','');
  2915. Node45.a('node.gradientcolor','rgba(220,220,220,1)');
  2916. Node45.a('node.endCompspts',Node45endCompspts);
  2917. Node45.a('node.startCompspts',Node45startCompspts);
  2918. (function (node, img, compspts, endCompspts, startCompspts) {
  2919. var position = node.getPosition(),
  2920. w = node.getWidth()*_ratio.ratioX,
  2921. h = node.getHeight()*_ratio.ratioY;
  2922. function resetPoints(rx, ry) {
  2923. for (var i = 0, len = compspts.length; i < len; i++) {
  2924. if (i%2 === 0) {
  2925. compspts[i]*=rx;
  2926. } else {
  2927. compspts[i]*=ry;
  2928. }
  2929. }
  2930. endCompspts[0] = compspts[compspts.length-2];
  2931. endCompspts[1] = compspts[compspts.length-1];
  2932. endCompspts[2] *= rx;
  2933. endCompspts[3] *= ry;
  2934. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2935. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2936. startCompspts[0] = compspts[0];
  2937. startCompspts[1] = compspts[1];
  2938. startCompspts[2] *= rx;
  2939. startCompspts[3] *= ry;
  2940. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2941. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2942. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2943. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2944. }
  2945. node.setSize(w, h);
  2946. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2947. node.a('node.width', w);
  2948. node.a('node.height', h);
  2949. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2950. node.borderWidth = 1;
  2951. node.a('node.borderwidth',node.borderWidth);
  2952. node._nodename = 'Node45';
  2953. node._nodeType = 'line';
  2954. zoomNodeList.push({
  2955. node: node,
  2956. attr: 'node.borderwidth'
  2957. });
  2958. var setWidth = node.setWidth,
  2959. setHeight = node.setHeight,
  2960. timer, rx = 1, ry = 1;
  2961. node.setWidth = function (width) {
  2962. var _width = this.getWidth();
  2963. rx = width / _width;
  2964. node.a('node.width', width);
  2965. setWidth.apply(this, arguments);
  2966. resetPoints(rx, 1);
  2967. }
  2968. node.setHeight = function (height) {
  2969. var _height = this.getHeight();
  2970. ry = height / _height;
  2971. node.a('node.height', height);
  2972. setHeight.apply(this, arguments);
  2973. resetPoints(1, ry);
  2974. }
  2975. })(Node45, Node45.getImage(), Node45compspts, Node45endCompspts, Node45startCompspts);
  2976. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2977. var Node46 = new ht.Node();
  2978. var Node46textStart, Node46textWidth, Node46lineStart, Node46align = 'left', Node46fontSize = 13.3333*_ratio.ratioY,Node46width = 82*_ratio.ratioX, Node46height = 27*_ratio.ratioY;
  2979. (function () {
  2980. if (Node46align === 'left') {
  2981. Node46textStart = Node46fontSize * 0.2 > 2 ? Node46fontSize * 0.2 - 4 : Node46fontSize * 0.2 - 9;
  2982. Node46textWidth = Node46width;
  2983. Node46lineStart = 1;
  2984. } else if (Node46align === 'right') {
  2985. Node46textStart = 0;
  2986. Node46textWidth =Node46fontSize <= 8 ? Node46width + Node46fontSize * 0.2 + 6 : Node46width - Node46fontSize * 0.2;
  2987. Node46lineStart = (Node46width - (ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width + 6)) * 0.5;
  2988. } else if (Node46align === 'center') {
  2989. Node46textStart = -3;
  2990. Node46textWidth = Node46width;
  2991. Node46lineStart = Node46width - ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width - 11;
  2992. }
  2993. })();
  2994. Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, ' '+ Node46fontSize + 'px "Arial"'))
  2995. Node46.setPosition(516*ratio.ratioX, 128*ratio.ratioY);
  2996. Node46.setWidth(Node46width);
  2997. Node46.setHeight(Node46height);
  2998. Node46._nodeType = 'text';
  2999. Node46._disallowEvert = true;
  3000. Node46.setRotation(0*Math.PI/180);
  3001. Node46.a('node.width', Node46width);
  3002. Node46.a('node.height', Node46height);
  3003. Node46.a('node.rect', [0, 0, Node46width, Node46height]);
  3004. Node46.a('node.bordercolor','rgba(0,0,0,1)');
  3005. Node46.a('node.borderwidth', 0);
  3006. Node46.a('node.background','' || 'rgba(0,0,0,0)');
  3007. Node46.a('node.gradient','');
  3008. Node46.a('node.gradientcolor','');
  3009. Node46.a('node.text','日发电量');
  3010. Node46.a('node.textalign','left');
  3011. Node46.a('node.textvAlign','middle');
  3012. Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]);
  3013. Node46.a('node.color','rgba(0,0,0,1)');
  3014. Node46.a('node.font',' '+ Node46fontSize + 'px "Arial"');
  3015. Node46.a('node.textvisible',true);
  3016. Node46.a('node.linefeed',false);
  3017. if (false) {
  3018. Node46.a('node.textfunc',function(g) {
  3019. g.beginPath();
  3020. var str=Node46.a('node.text') || '日发电量';
  3021. var color=Node46.a('node.color') || 'rgba(0,0,0,1)';
  3022. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46width,Node46height,13.3333*_ratio.ratioY,"left",color,' '+ Node46fontSize + 'px "Arial"', 0,g);
  3023. });
  3024. }
  3025. if (false) {
  3026. Node46.a('node.underlinepoints',[Node46lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width + 6, (Node46height - Node46fontSize) * 0.5*_ratio.ratioY + Node46fontSize + 2 ]);
  3027. Node46.a('node.underlinevisible',false);
  3028. Node46.a('node.underlineBorderWidth', 1);
  3029. }
  3030. dataModel.add(Node46);
  3031. zoomNodeList.push({
  3032. node: Node46,
  3033. borderWidth: 0,
  3034. attr: 'node.borderwidth'
  3035. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3036. var Node47 = new ht.Node();
  3037. var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 82*_ratio.ratioX, Node47height = 27*_ratio.ratioY;
  3038. (function () {
  3039. if (Node47align === 'left') {
  3040. Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
  3041. Node47textWidth = Node47width;
  3042. Node47lineStart = 1;
  3043. } else if (Node47align === 'right') {
  3044. Node47textStart = 0;
  3045. Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
  3046. Node47lineStart = (Node47width - (ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5;
  3047. } else if (Node47align === 'center') {
  3048. Node47textStart = -3;
  3049. Node47textWidth = Node47width;
  3050. Node47lineStart = Node47width - ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width - 11;
  3051. }
  3052. })();
  3053. Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"'))
  3054. Node47.setPosition(516*ratio.ratioX, 154*ratio.ratioY);
  3055. Node47.setWidth(Node47width);
  3056. Node47.setHeight(Node47height);
  3057. Node47._nodeType = 'text';
  3058. Node47._disallowEvert = true;
  3059. Node47.setRotation(0*Math.PI/180);
  3060. Node47.a('node.width', Node47width);
  3061. Node47.a('node.height', Node47height);
  3062. Node47.a('node.rect', [0, 0, Node47width, Node47height]);
  3063. Node47.a('node.bordercolor','rgba(0,0,0,1)');
  3064. Node47.a('node.borderwidth', 0);
  3065. Node47.a('node.background','' || 'rgba(0,0,0,0)');
  3066. Node47.a('node.gradient','');
  3067. Node47.a('node.gradientcolor','');
  3068. Node47.a('node.text','月发电量');
  3069. Node47.a('node.textalign','left');
  3070. Node47.a('node.textvAlign','middle');
  3071. Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
  3072. Node47.a('node.color','rgba(0,0,0,1)');
  3073. Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"');
  3074. Node47.a('node.textvisible',true);
  3075. Node47.a('node.linefeed',false);
  3076. if (false) {
  3077. Node47.a('node.textfunc',function(g) {
  3078. g.beginPath();
  3079. var str=Node47.a('node.text') || '月发电量';
  3080. var color=Node47.a('node.color') || 'rgba(0,0,0,1)';
  3081. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "Arial"', 0,g);
  3082. });
  3083. }
  3084. if (false) {
  3085. Node47.a('node.underlinepoints',[Node47lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
  3086. Node47.a('node.underlinevisible',false);
  3087. Node47.a('node.underlineBorderWidth', 1);
  3088. }
  3089. dataModel.add(Node47);
  3090. zoomNodeList.push({
  3091. node: Node47,
  3092. borderWidth: 0,
  3093. attr: 'node.borderwidth'
  3094. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3095. var Node48 = new ht.Node();
  3096. var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'left', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 82*_ratio.ratioX, Node48height = 27*_ratio.ratioY;
  3097. (function () {
  3098. if (Node48align === 'left') {
  3099. Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9;
  3100. Node48textWidth = Node48width;
  3101. Node48lineStart = 1;
  3102. } else if (Node48align === 'right') {
  3103. Node48textStart = 0;
  3104. Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2;
  3105. Node48lineStart = (Node48width - (ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width + 6)) * 0.5;
  3106. } else if (Node48align === 'center') {
  3107. Node48textStart = -3;
  3108. Node48textWidth = Node48width;
  3109. Node48lineStart = Node48width - ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width - 11;
  3110. }
  3111. })();
  3112. Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "Arial"'))
  3113. Node48.setPosition(516*ratio.ratioX, 178*ratio.ratioY);
  3114. Node48.setWidth(Node48width);
  3115. Node48.setHeight(Node48height);
  3116. Node48._nodeType = 'text';
  3117. Node48._disallowEvert = true;
  3118. Node48.setRotation(0*Math.PI/180);
  3119. Node48.a('node.width', Node48width);
  3120. Node48.a('node.height', Node48height);
  3121. Node48.a('node.rect', [0, 0, Node48width, Node48height]);
  3122. Node48.a('node.bordercolor','rgba(0,0,0,1)');
  3123. Node48.a('node.borderwidth', 0);
  3124. Node48.a('node.background','' || 'rgba(0,0,0,0)');
  3125. Node48.a('node.gradient','');
  3126. Node48.a('node.gradientcolor','');
  3127. Node48.a('node.text','年发电量');
  3128. Node48.a('node.textalign','left');
  3129. Node48.a('node.textvAlign','middle');
  3130. Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]);
  3131. Node48.a('node.color','rgba(0,0,0,1)');
  3132. Node48.a('node.font',' '+ Node48fontSize + 'px "Arial"');
  3133. Node48.a('node.textvisible',true);
  3134. Node48.a('node.linefeed',false);
  3135. if (false) {
  3136. Node48.a('node.textfunc',function(g) {
  3137. g.beginPath();
  3138. var str=Node48.a('node.text') || '年发电量';
  3139. var color=Node48.a('node.color') || 'rgba(0,0,0,1)';
  3140. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"left",color,' '+ Node48fontSize + 'px "Arial"', 0,g);
  3141. });
  3142. }
  3143. if (false) {
  3144. Node48.a('node.underlinepoints',[Node48lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]);
  3145. Node48.a('node.underlinevisible',false);
  3146. Node48.a('node.underlineBorderWidth', 1);
  3147. }
  3148. dataModel.add(Node48);
  3149. zoomNodeList.push({
  3150. node: Node48,
  3151. borderWidth: 0,
  3152. attr: 'node.borderwidth'
  3153. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3154. var Node49 = new ht.Node();
  3155. var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 110*_ratio.ratioX, Node49height = 27*_ratio.ratioY;
  3156. (function () {
  3157. if (Node49align === 'left') {
  3158. Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
  3159. Node49textWidth = Node49width;
  3160. Node49lineStart = 1;
  3161. } else if (Node49align === 'right') {
  3162. Node49textStart = 0;
  3163. Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
  3164. Node49lineStart = (Node49width - (ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5;
  3165. } else if (Node49align === 'center') {
  3166. Node49textStart = -3;
  3167. Node49textWidth = Node49width;
  3168. Node49lineStart = Node49width - ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width - 11;
  3169. }
  3170. })();
  3171. Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
  3172. Node49.setPosition(530*ratio.ratioX, 201*ratio.ratioY);
  3173. Node49.setWidth(Node49width);
  3174. Node49.setHeight(Node49height);
  3175. Node49._nodeType = 'text';
  3176. Node49._disallowEvert = true;
  3177. Node49.setRotation(0*Math.PI/180);
  3178. Node49.a('node.width', Node49width);
  3179. Node49.a('node.height', Node49height);
  3180. Node49.a('node.rect', [0, 0, Node49width, Node49height]);
  3181. Node49.a('node.bordercolor','rgba(0,0,0,1)');
  3182. Node49.a('node.borderwidth', 0);
  3183. Node49.a('node.background','' || 'rgba(0,0,0,0)');
  3184. Node49.a('node.gradient','');
  3185. Node49.a('node.gradientcolor','');
  3186. Node49.a('node.text','减排二氧化碳');
  3187. Node49.a('node.textalign','left');
  3188. Node49.a('node.textvAlign','middle');
  3189. Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
  3190. Node49.a('node.color','rgba(0,0,0,1)');
  3191. Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"');
  3192. Node49.a('node.textvisible',true);
  3193. Node49.a('node.linefeed',false);
  3194. if (false) {
  3195. Node49.a('node.textfunc',function(g) {
  3196. g.beginPath();
  3197. var str=Node49.a('node.text') || '减排二氧化碳';
  3198. var color=Node49.a('node.color') || 'rgba(0,0,0,1)';
  3199. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
  3200. });
  3201. }
  3202. if (false) {
  3203. Node49.a('node.underlinepoints',[Node49lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
  3204. Node49.a('node.underlinevisible',false);
  3205. Node49.a('node.underlineBorderWidth', 1);
  3206. }
  3207. dataModel.add(Node49);
  3208. zoomNodeList.push({
  3209. node: Node49,
  3210. borderWidth: 0,
  3211. attr: 'node.borderwidth'
  3212. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3213. var Node50 = new ht.Node();
  3214. var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 125*_ratio.ratioX, Node50height = 27*_ratio.ratioY;
  3215. (function () {
  3216. if (Node50align === 'left') {
  3217. Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
  3218. Node50textWidth = Node50width;
  3219. Node50lineStart = 1;
  3220. } else if (Node50align === 'right') {
  3221. Node50textStart = 0;
  3222. Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
  3223. Node50lineStart = (Node50width - (ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
  3224. } else if (Node50align === 'center') {
  3225. Node50textStart = -3;
  3226. Node50textWidth = Node50width;
  3227. Node50lineStart = Node50width - ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width - 11;
  3228. }
  3229. })();
  3230. Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
  3231. Node50.setPosition(537*ratio.ratioX, 226*ratio.ratioY);
  3232. Node50.setWidth(Node50width);
  3233. Node50.setHeight(Node50height);
  3234. Node50._nodeType = 'text';
  3235. Node50._disallowEvert = true;
  3236. Node50.setRotation(0*Math.PI/180);
  3237. Node50.a('node.width', Node50width);
  3238. Node50.a('node.height', Node50height);
  3239. Node50.a('node.rect', [0, 0, Node50width, Node50height]);
  3240. Node50.a('node.bordercolor','rgba(0,0,0,1)');
  3241. Node50.a('node.borderwidth', 0);
  3242. Node50.a('node.background','' || 'rgba(0,0,0,0)');
  3243. Node50.a('node.gradient','');
  3244. Node50.a('node.gradientcolor','');
  3245. Node50.a('node.text','减排二氧化硫');
  3246. Node50.a('node.textalign','left');
  3247. Node50.a('node.textvAlign','middle');
  3248. Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
  3249. Node50.a('node.color','rgba(0,0,0,1)');
  3250. Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
  3251. Node50.a('node.textvisible',true);
  3252. Node50.a('node.linefeed',false);
  3253. if (false) {
  3254. Node50.a('node.textfunc',function(g) {
  3255. g.beginPath();
  3256. var str=Node50.a('node.text') || '减排二氧化硫';
  3257. var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
  3258. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
  3259. });
  3260. }
  3261. if (false) {
  3262. Node50.a('node.underlinepoints',[Node50lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
  3263. Node50.a('node.underlinevisible',false);
  3264. Node50.a('node.underlineBorderWidth', 1);
  3265. }
  3266. dataModel.add(Node50);
  3267. zoomNodeList.push({
  3268. node: Node50,
  3269. borderWidth: 0,
  3270. attr: 'node.borderwidth'
  3271. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3272. var Node51 = new ht.Node();
  3273. var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 37*_ratio.ratioX, Node51height = 16*_ratio.ratioY;
  3274. (function () {
  3275. if (Node51align === 'left') {
  3276. Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
  3277. Node51textWidth = Node51width;
  3278. Node51lineStart = 1;
  3279. } else if (Node51align === 'right') {
  3280. Node51textStart = 0;
  3281. Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
  3282. Node51lineStart = (Node51width - (ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
  3283. } else if (Node51align === 'center') {
  3284. Node51textStart = -3;
  3285. Node51textWidth = Node51width;
  3286. Node51lineStart = Node51width - ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width - 11;
  3287. }
  3288. })();
  3289. Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, 'bold '+ Node51fontSize + 'px "Arial"'))
  3290. Node51.setPosition(626*ratio.ratioX, 128*ratio.ratioY);
  3291. Node51.setWidth(Node51width);
  3292. Node51.setHeight(Node51height);
  3293. Node51._nodeType = 'text';
  3294. Node51._disallowEvert = true;
  3295. Node51.setRotation(0*Math.PI/180);
  3296. Node51.a('node.width', Node51width);
  3297. Node51.a('node.height', Node51height);
  3298. Node51.a('node.rect', [0, 0, Node51width, Node51height]);
  3299. Node51.a('node.bordercolor','rgba(0,0,0,1)');
  3300. Node51.a('node.borderwidth', 0);
  3301. Node51.a('node.background','' || 'rgba(0,0,0,0)');
  3302. Node51.a('node.gradient','');
  3303. Node51.a('node.gradientcolor','');
  3304. Node51.a('node.text','0');
  3305. Node51.a('node.textalign','left');
  3306. Node51.a('node.textvAlign','middle');
  3307. Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
  3308. Node51.a('node.color','rgba(0,0,0,1)');
  3309. Node51.a('node.font','bold '+ Node51fontSize + 'px "Arial"');
  3310. Node51.a('node.textvisible',true);
  3311. Node51.a('node.linefeed',false);
  3312. if (false) {
  3313. Node51.a('node.textfunc',function(g) {
  3314. g.beginPath();
  3315. var str=Node51.a('node.text') || '0';
  3316. var color=Node51.a('node.color') || 'rgba(0,0,0,1)';
  3317. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node51fontSize + 'px "Arial"', 0,g);
  3318. });
  3319. }
  3320. if (false) {
  3321. Node51.a('node.underlinepoints',[Node51lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
  3322. Node51.a('node.underlinevisible',false);
  3323. Node51.a('node.underlineBorderWidth', 1);
  3324. }
  3325. dataModel.add(Node51);
  3326. zoomNodeList.push({
  3327. node: Node51,
  3328. borderWidth: 0,
  3329. attr: 'node.borderwidth'
  3330. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3331. var Node52 = new ht.Node();
  3332. var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'left', Node52fontSize = 13.3333*_ratio.ratioY,Node52width = 37*_ratio.ratioX, Node52height = 16*_ratio.ratioY;
  3333. (function () {
  3334. if (Node52align === 'left') {
  3335. Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9;
  3336. Node52textWidth = Node52width;
  3337. Node52lineStart = 1;
  3338. } else if (Node52align === 'right') {
  3339. Node52textStart = 0;
  3340. Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2;
  3341. Node52lineStart = (Node52width - (ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5;
  3342. } else if (Node52align === 'center') {
  3343. Node52textStart = -3;
  3344. Node52textWidth = Node52width;
  3345. Node52lineStart = Node52width - ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width - 11;
  3346. }
  3347. })();
  3348. Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, 'bold '+ Node52fontSize + 'px "Arial"'))
  3349. Node52.setPosition(626*ratio.ratioX, 152*ratio.ratioY);
  3350. Node52.setWidth(Node52width);
  3351. Node52.setHeight(Node52height);
  3352. Node52._nodeType = 'text';
  3353. Node52._disallowEvert = true;
  3354. Node52.setRotation(0*Math.PI/180);
  3355. Node52.a('node.width', Node52width);
  3356. Node52.a('node.height', Node52height);
  3357. Node52.a('node.rect', [0, 0, Node52width, Node52height]);
  3358. Node52.a('node.bordercolor','rgba(0,0,0,1)');
  3359. Node52.a('node.borderwidth', 0);
  3360. Node52.a('node.background','' || 'rgba(0,0,0,0)');
  3361. Node52.a('node.gradient','');
  3362. Node52.a('node.gradientcolor','');
  3363. Node52.a('node.text','0');
  3364. Node52.a('node.textalign','left');
  3365. Node52.a('node.textvAlign','middle');
  3366. Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]);
  3367. Node52.a('node.color','rgba(0,0,0,1)');
  3368. Node52.a('node.font','bold '+ Node52fontSize + 'px "Arial"');
  3369. Node52.a('node.textvisible',true);
  3370. Node52.a('node.linefeed',false);
  3371. if (false) {
  3372. Node52.a('node.textfunc',function(g) {
  3373. g.beginPath();
  3374. var str=Node52.a('node.text') || '0';
  3375. var color=Node52.a('node.color') || 'rgba(0,0,0,1)';
  3376. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node52width,Node52height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node52fontSize + 'px "Arial"', 0,g);
  3377. });
  3378. }
  3379. if (false) {
  3380. Node52.a('node.underlinepoints',[Node52lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]);
  3381. Node52.a('node.underlinevisible',false);
  3382. Node52.a('node.underlineBorderWidth', 1);
  3383. }
  3384. dataModel.add(Node52);
  3385. zoomNodeList.push({
  3386. node: Node52,
  3387. borderWidth: 0,
  3388. attr: 'node.borderwidth'
  3389. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3390. var Node53 = new ht.Node();
  3391. var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 13.3333*_ratio.ratioY,Node53width = 27*_ratio.ratioX, Node53height = 16*_ratio.ratioY;
  3392. (function () {
  3393. if (Node53align === 'left') {
  3394. Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9;
  3395. Node53textWidth = Node53width;
  3396. Node53lineStart = 1;
  3397. } else if (Node53align === 'right') {
  3398. Node53textStart = 0;
  3399. Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2;
  3400. Node53lineStart = (Node53width - (ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
  3401. } else if (Node53align === 'center') {
  3402. Node53textStart = -3;
  3403. Node53textWidth = Node53width;
  3404. Node53lineStart = Node53width - ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width - 11;
  3405. }
  3406. })();
  3407. Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, 'bold '+ Node53fontSize + 'px "Arial"'))
  3408. Node53.setPosition(621*ratio.ratioX, 177*ratio.ratioY);
  3409. Node53.setWidth(Node53width);
  3410. Node53.setHeight(Node53height);
  3411. Node53._nodeType = 'text';
  3412. Node53._disallowEvert = true;
  3413. Node53.setRotation(0*Math.PI/180);
  3414. Node53.a('node.width', Node53width);
  3415. Node53.a('node.height', Node53height);
  3416. Node53.a('node.rect', [0, 0, Node53width, Node53height]);
  3417. Node53.a('node.bordercolor','rgba(0,0,0,1)');
  3418. Node53.a('node.borderwidth', 0);
  3419. Node53.a('node.background','' || 'rgba(0,0,0,0)');
  3420. Node53.a('node.gradient','');
  3421. Node53.a('node.gradientcolor','');
  3422. Node53.a('node.text','0');
  3423. Node53.a('node.textalign','left');
  3424. Node53.a('node.textvAlign','middle');
  3425. Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
  3426. Node53.a('node.color','rgba(0,0,0,1)');
  3427. Node53.a('node.font','bold '+ Node53fontSize + 'px "Arial"');
  3428. Node53.a('node.textvisible',true);
  3429. Node53.a('node.linefeed',false);
  3430. if (false) {
  3431. Node53.a('node.textfunc',function(g) {
  3432. g.beginPath();
  3433. var str=Node53.a('node.text') || '0';
  3434. var color=Node53.a('node.color') || 'rgba(0,0,0,1)';
  3435. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node53fontSize + 'px "Arial"', 0,g);
  3436. });
  3437. }
  3438. if (false) {
  3439. Node53.a('node.underlinepoints',[Node53lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
  3440. Node53.a('node.underlinevisible',false);
  3441. Node53.a('node.underlineBorderWidth', 1);
  3442. }
  3443. dataModel.add(Node53);
  3444. zoomNodeList.push({
  3445. node: Node53,
  3446. borderWidth: 0,
  3447. attr: 'node.borderwidth'
  3448. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3449. var Node54 = new ht.Node();
  3450. var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'left', Node54fontSize = 13.3333*_ratio.ratioY,Node54width = 37*_ratio.ratioX, Node54height = 16*_ratio.ratioY;
  3451. (function () {
  3452. if (Node54align === 'left') {
  3453. Node54textStart = Node54fontSize * 0.2 > 2 ? Node54fontSize * 0.2 - 4 : Node54fontSize * 0.2 - 9;
  3454. Node54textWidth = Node54width;
  3455. Node54lineStart = 1;
  3456. } else if (Node54align === 'right') {
  3457. Node54textStart = 0;
  3458. Node54textWidth =Node54fontSize <= 8 ? Node54width + Node54fontSize * 0.2 + 6 : Node54width - Node54fontSize * 0.2;
  3459. Node54lineStart = (Node54width - (ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5;
  3460. } else if (Node54align === 'center') {
  3461. Node54textStart = -3;
  3462. Node54textWidth = Node54width;
  3463. Node54lineStart = Node54width - ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width - 11;
  3464. }
  3465. })();
  3466. Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, 'bold '+ Node54fontSize + 'px "Arial"'))
  3467. Node54.setPosition(640*ratio.ratioX, 201*ratio.ratioY);
  3468. Node54.setWidth(Node54width);
  3469. Node54.setHeight(Node54height);
  3470. Node54._nodeType = 'text';
  3471. Node54._disallowEvert = true;
  3472. Node54.setRotation(0*Math.PI/180);
  3473. Node54.a('node.width', Node54width);
  3474. Node54.a('node.height', Node54height);
  3475. Node54.a('node.rect', [0, 0, Node54width, Node54height]);
  3476. Node54.a('node.bordercolor','rgba(0,0,0,1)');
  3477. Node54.a('node.borderwidth', 0);
  3478. Node54.a('node.background','' || 'rgba(0,0,0,0)');
  3479. Node54.a('node.gradient','');
  3480. Node54.a('node.gradientcolor','');
  3481. Node54.a('node.text','-');
  3482. Node54.a('node.textalign','left');
  3483. Node54.a('node.textvAlign','middle');
  3484. Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]);
  3485. Node54.a('node.color','rgba(0,0,0,1)');
  3486. Node54.a('node.font','bold '+ Node54fontSize + 'px "Arial"');
  3487. Node54.a('node.textvisible',true);
  3488. Node54.a('node.linefeed',false);
  3489. if (false) {
  3490. Node54.a('node.textfunc',function(g) {
  3491. g.beginPath();
  3492. var str=Node54.a('node.text') || '-';
  3493. var color=Node54.a('node.color') || 'rgba(0,0,0,1)';
  3494. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node54width,Node54height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node54fontSize + 'px "Arial"', 0,g);
  3495. });
  3496. }
  3497. if (false) {
  3498. Node54.a('node.underlinepoints',[Node54lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width + 6, (Node54height - Node54fontSize) * 0.5*_ratio.ratioY + Node54fontSize + 2 ]);
  3499. Node54.a('node.underlinevisible',false);
  3500. Node54.a('node.underlineBorderWidth', 1);
  3501. }
  3502. dataModel.add(Node54);
  3503. zoomNodeList.push({
  3504. node: Node54,
  3505. borderWidth: 0,
  3506. attr: 'node.borderwidth'
  3507. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3508. var Node55 = new ht.Node();
  3509. var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 47*_ratio.ratioX, Node55height = 17*_ratio.ratioY;
  3510. (function () {
  3511. if (Node55align === 'left') {
  3512. Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
  3513. Node55textWidth = Node55width;
  3514. Node55lineStart = 1;
  3515. } else if (Node55align === 'right') {
  3516. Node55textStart = 0;
  3517. Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
  3518. Node55lineStart = (Node55width - (ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5;
  3519. } else if (Node55align === 'center') {
  3520. Node55textStart = -3;
  3521. Node55textWidth = Node55width;
  3522. Node55lineStart = Node55width - ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width - 11;
  3523. }
  3524. })();
  3525. Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "Arial"'))
  3526. Node55.setPosition(694*ratio.ratioX, 127*ratio.ratioY);
  3527. Node55.setWidth(Node55width);
  3528. Node55.setHeight(Node55height);
  3529. Node55._nodeType = 'text';
  3530. Node55._disallowEvert = true;
  3531. Node55.setRotation(0*Math.PI/180);
  3532. Node55.a('node.width', Node55width);
  3533. Node55.a('node.height', Node55height);
  3534. Node55.a('node.rect', [0, 0, Node55width, Node55height]);
  3535. Node55.a('node.bordercolor','rgba(169,169,169,1)');
  3536. Node55.a('node.borderwidth', 0);
  3537. Node55.a('node.background','' || 'rgba(0,0,0,0)');
  3538. Node55.a('node.gradient','');
  3539. Node55.a('node.gradientcolor','');
  3540. Node55.a('node.text','万kW');
  3541. Node55.a('node.textalign','left');
  3542. Node55.a('node.textvAlign','middle');
  3543. Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
  3544. Node55.a('node.color','rgba(169,169,169,1)');
  3545. Node55.a('node.font',' '+ Node55fontSize + 'px "Arial"');
  3546. Node55.a('node.textvisible',true);
  3547. Node55.a('node.linefeed',false);
  3548. if (false) {
  3549. Node55.a('node.textfunc',function(g) {
  3550. g.beginPath();
  3551. var str=Node55.a('node.text') || '万kW';
  3552. var color=Node55.a('node.color') || 'rgba(169,169,169,1)';
  3553. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,' '+ Node55fontSize + 'px "Arial"', 0,g);
  3554. });
  3555. }
  3556. if (false) {
  3557. Node55.a('node.underlinepoints',[Node55lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
  3558. Node55.a('node.underlinevisible',false);
  3559. Node55.a('node.underlineBorderWidth', 1);
  3560. }
  3561. dataModel.add(Node55);
  3562. zoomNodeList.push({
  3563. node: Node55,
  3564. borderWidth: 0,
  3565. attr: 'node.borderwidth'
  3566. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3567. var Node56 = new ht.Node();
  3568. var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 37*_ratio.ratioX, Node56height = 16*_ratio.ratioY;
  3569. (function () {
  3570. if (Node56align === 'left') {
  3571. Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
  3572. Node56textWidth = Node56width;
  3573. Node56lineStart = 1;
  3574. } else if (Node56align === 'right') {
  3575. Node56textStart = 0;
  3576. Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
  3577. Node56lineStart = (Node56width - (ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5;
  3578. } else if (Node56align === 'center') {
  3579. Node56textStart = -3;
  3580. Node56textWidth = Node56width;
  3581. Node56lineStart = Node56width - ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width - 11;
  3582. }
  3583. })();
  3584. Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, 'bold '+ Node56fontSize + 'px "Arial"'))
  3585. Node56.setPosition(641*ratio.ratioX, 226*ratio.ratioY);
  3586. Node56.setWidth(Node56width);
  3587. Node56.setHeight(Node56height);
  3588. Node56._nodeType = 'text';
  3589. Node56._disallowEvert = true;
  3590. Node56.setRotation(0*Math.PI/180);
  3591. Node56.a('node.width', Node56width);
  3592. Node56.a('node.height', Node56height);
  3593. Node56.a('node.rect', [0, 0, Node56width, Node56height]);
  3594. Node56.a('node.bordercolor','rgba(0,0,0,1)');
  3595. Node56.a('node.borderwidth', 0);
  3596. Node56.a('node.background','' || 'rgba(0,0,0,0)');
  3597. Node56.a('node.gradient','');
  3598. Node56.a('node.gradientcolor','');
  3599. Node56.a('node.text','-');
  3600. Node56.a('node.textalign','left');
  3601. Node56.a('node.textvAlign','middle');
  3602. Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
  3603. Node56.a('node.color','rgba(0,0,0,1)');
  3604. Node56.a('node.font','bold '+ Node56fontSize + 'px "Arial"');
  3605. Node56.a('node.textvisible',true);
  3606. Node56.a('node.linefeed',false);
  3607. if (false) {
  3608. Node56.a('node.textfunc',function(g) {
  3609. g.beginPath();
  3610. var str=Node56.a('node.text') || '-';
  3611. var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
  3612. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node56fontSize + 'px "Arial"', 0,g);
  3613. });
  3614. }
  3615. if (false) {
  3616. Node56.a('node.underlinepoints',[Node56lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
  3617. Node56.a('node.underlinevisible',false);
  3618. Node56.a('node.underlineBorderWidth', 1);
  3619. }
  3620. dataModel.add(Node56);
  3621. zoomNodeList.push({
  3622. node: Node56,
  3623. borderWidth: 0,
  3624. attr: 'node.borderwidth'
  3625. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3626. var Node57 = new ht.Node();
  3627. var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'left', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 47*_ratio.ratioX, Node57height = 17*_ratio.ratioY;
  3628. (function () {
  3629. if (Node57align === 'left') {
  3630. Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
  3631. Node57textWidth = Node57width;
  3632. Node57lineStart = 1;
  3633. } else if (Node57align === 'right') {
  3634. Node57textStart = 0;
  3635. Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
  3636. Node57lineStart = (Node57width - (ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5;
  3637. } else if (Node57align === 'center') {
  3638. Node57textStart = -3;
  3639. Node57textWidth = Node57width;
  3640. Node57lineStart = Node57width - ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width - 11;
  3641. }
  3642. })();
  3643. Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"'))
  3644. Node57.setPosition(694*ratio.ratioX, 153*ratio.ratioY);
  3645. Node57.setWidth(Node57width);
  3646. Node57.setHeight(Node57height);
  3647. Node57._nodeType = 'text';
  3648. Node57._disallowEvert = true;
  3649. Node57.setRotation(0*Math.PI/180);
  3650. Node57.a('node.width', Node57width);
  3651. Node57.a('node.height', Node57height);
  3652. Node57.a('node.rect', [0, 0, Node57width, Node57height]);
  3653. Node57.a('node.bordercolor','rgba(169,169,169,1)');
  3654. Node57.a('node.borderwidth', 0);
  3655. Node57.a('node.background','' || 'rgba(0,0,0,0)');
  3656. Node57.a('node.gradient','');
  3657. Node57.a('node.gradientcolor','');
  3658. Node57.a('node.text','万kW');
  3659. Node57.a('node.textalign','left');
  3660. Node57.a('node.textvAlign','middle');
  3661. Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
  3662. Node57.a('node.color','rgba(169,169,169,1)');
  3663. Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"');
  3664. Node57.a('node.textvisible',true);
  3665. Node57.a('node.linefeed',false);
  3666. if (false) {
  3667. Node57.a('node.textfunc',function(g) {
  3668. g.beginPath();
  3669. var str=Node57.a('node.text') || '万kW';
  3670. var color=Node57.a('node.color') || 'rgba(169,169,169,1)';
  3671. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "Arial"', 0,g);
  3672. });
  3673. }
  3674. if (false) {
  3675. Node57.a('node.underlinepoints',[Node57lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
  3676. Node57.a('node.underlinevisible',false);
  3677. Node57.a('node.underlineBorderWidth', 1);
  3678. }
  3679. dataModel.add(Node57);
  3680. zoomNodeList.push({
  3681. node: Node57,
  3682. borderWidth: 0,
  3683. attr: 'node.borderwidth'
  3684. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3685. var Node58 = new ht.Node();
  3686. var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 47*_ratio.ratioX, Node58height = 17*_ratio.ratioY;
  3687. (function () {
  3688. if (Node58align === 'left') {
  3689. Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9;
  3690. Node58textWidth = Node58width;
  3691. Node58lineStart = 1;
  3692. } else if (Node58align === 'right') {
  3693. Node58textStart = 0;
  3694. Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2;
  3695. Node58lineStart = (Node58width - (ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
  3696. } else if (Node58align === 'center') {
  3697. Node58textStart = -3;
  3698. Node58textWidth = Node58width;
  3699. Node58lineStart = Node58width - ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width - 11;
  3700. }
  3701. })();
  3702. Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
  3703. Node58.setPosition(694*ratio.ratioX, 178*ratio.ratioY);
  3704. Node58.setWidth(Node58width);
  3705. Node58.setHeight(Node58height);
  3706. Node58._nodeType = 'text';
  3707. Node58._disallowEvert = true;
  3708. Node58.setRotation(0*Math.PI/180);
  3709. Node58.a('node.width', Node58width);
  3710. Node58.a('node.height', Node58height);
  3711. Node58.a('node.rect', [0, 0, Node58width, Node58height]);
  3712. Node58.a('node.bordercolor','rgba(169,169,169,1)');
  3713. Node58.a('node.borderwidth', 0);
  3714. Node58.a('node.background','' || 'rgba(0,0,0,0)');
  3715. Node58.a('node.gradient','');
  3716. Node58.a('node.gradientcolor','');
  3717. Node58.a('node.text','万kW');
  3718. Node58.a('node.textalign','left');
  3719. Node58.a('node.textvAlign','middle');
  3720. Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
  3721. Node58.a('node.color','rgba(169,169,169,1)');
  3722. Node58.a('node.font',' '+ Node58fontSize + 'px "Arial"');
  3723. Node58.a('node.textvisible',true);
  3724. Node58.a('node.linefeed',false);
  3725. if (false) {
  3726. Node58.a('node.textfunc',function(g) {
  3727. g.beginPath();
  3728. var str=Node58.a('node.text') || '万kW';
  3729. var color=Node58.a('node.color') || 'rgba(169,169,169,1)';
  3730. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
  3731. });
  3732. }
  3733. if (false) {
  3734. Node58.a('node.underlinepoints',[Node58lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
  3735. Node58.a('node.underlinevisible',false);
  3736. Node58.a('node.underlineBorderWidth', 1);
  3737. }
  3738. dataModel.add(Node58);
  3739. zoomNodeList.push({
  3740. node: Node58,
  3741. borderWidth: 0,
  3742. attr: 'node.borderwidth'
  3743. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3744. var Node59 = new ht.Node();
  3745. var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 47*_ratio.ratioX, Node59height = 17*_ratio.ratioY;
  3746. (function () {
  3747. if (Node59align === 'left') {
  3748. Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
  3749. Node59textWidth = Node59width;
  3750. Node59lineStart = 1;
  3751. } else if (Node59align === 'right') {
  3752. Node59textStart = 0;
  3753. Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
  3754. Node59lineStart = (Node59width - (ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
  3755. } else if (Node59align === 'center') {
  3756. Node59textStart = -3;
  3757. Node59textWidth = Node59width;
  3758. Node59lineStart = Node59width - ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width - 11;
  3759. }
  3760. })();
  3761. Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"'))
  3762. Node59.setPosition(694*ratio.ratioX, 205*ratio.ratioY);
  3763. Node59.setWidth(Node59width);
  3764. Node59.setHeight(Node59height);
  3765. Node59._nodeType = 'text';
  3766. Node59._disallowEvert = true;
  3767. Node59.setRotation(0*Math.PI/180);
  3768. Node59.a('node.width', Node59width);
  3769. Node59.a('node.height', Node59height);
  3770. Node59.a('node.rect', [0, 0, Node59width, Node59height]);
  3771. Node59.a('node.bordercolor','rgba(169,169,169,1)');
  3772. Node59.a('node.borderwidth', 0);
  3773. Node59.a('node.background','' || 'rgba(0,0,0,0)');
  3774. Node59.a('node.gradient','');
  3775. Node59.a('node.gradientcolor','');
  3776. Node59.a('node.text','吨');
  3777. Node59.a('node.textalign','left');
  3778. Node59.a('node.textvAlign','middle');
  3779. Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
  3780. Node59.a('node.color','rgba(169,169,169,1)');
  3781. Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"');
  3782. Node59.a('node.textvisible',true);
  3783. Node59.a('node.linefeed',false);
  3784. if (false) {
  3785. Node59.a('node.textfunc',function(g) {
  3786. g.beginPath();
  3787. var str=Node59.a('node.text') || '吨';
  3788. var color=Node59.a('node.color') || 'rgba(169,169,169,1)';
  3789. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "Arial"', 0,g);
  3790. });
  3791. }
  3792. if (false) {
  3793. Node59.a('node.underlinepoints',[Node59lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
  3794. Node59.a('node.underlinevisible',false);
  3795. Node59.a('node.underlineBorderWidth', 1);
  3796. }
  3797. dataModel.add(Node59);
  3798. zoomNodeList.push({
  3799. node: Node59,
  3800. borderWidth: 0,
  3801. attr: 'node.borderwidth'
  3802. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3803. var Node60 = new ht.Node();
  3804. var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 47*_ratio.ratioX, Node60height = 17*_ratio.ratioY;
  3805. (function () {
  3806. if (Node60align === 'left') {
  3807. Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
  3808. Node60textWidth = Node60width;
  3809. Node60lineStart = 1;
  3810. } else if (Node60align === 'right') {
  3811. Node60textStart = 0;
  3812. Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
  3813. Node60lineStart = (Node60width - (ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
  3814. } else if (Node60align === 'center') {
  3815. Node60textStart = -3;
  3816. Node60textWidth = Node60width;
  3817. Node60lineStart = Node60width - ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width - 11;
  3818. }
  3819. })();
  3820. Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
  3821. Node60.setPosition(694*ratio.ratioX, 227*ratio.ratioY);
  3822. Node60.setWidth(Node60width);
  3823. Node60.setHeight(Node60height);
  3824. Node60._nodeType = 'text';
  3825. Node60._disallowEvert = true;
  3826. Node60.setRotation(0*Math.PI/180);
  3827. Node60.a('node.width', Node60width);
  3828. Node60.a('node.height', Node60height);
  3829. Node60.a('node.rect', [0, 0, Node60width, Node60height]);
  3830. Node60.a('node.bordercolor','rgba(169,169,169,1)');
  3831. Node60.a('node.borderwidth', 0);
  3832. Node60.a('node.background','' || 'rgba(0,0,0,0)');
  3833. Node60.a('node.gradient','');
  3834. Node60.a('node.gradientcolor','');
  3835. Node60.a('node.text','吨');
  3836. Node60.a('node.textalign','left');
  3837. Node60.a('node.textvAlign','middle');
  3838. Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
  3839. Node60.a('node.color','rgba(169,169,169,1)');
  3840. Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
  3841. Node60.a('node.textvisible',true);
  3842. Node60.a('node.linefeed',false);
  3843. if (false) {
  3844. Node60.a('node.textfunc',function(g) {
  3845. g.beginPath();
  3846. var str=Node60.a('node.text') || '吨';
  3847. var color=Node60.a('node.color') || 'rgba(169,169,169,1)';
  3848. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
  3849. });
  3850. }
  3851. if (false) {
  3852. Node60.a('node.underlinepoints',[Node60lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
  3853. Node60.a('node.underlinevisible',false);
  3854. Node60.a('node.underlineBorderWidth', 1);
  3855. }
  3856. dataModel.add(Node60);
  3857. zoomNodeList.push({
  3858. node: Node60,
  3859. borderWidth: 0,
  3860. attr: 'node.borderwidth'
  3861. }); var Node61points=[473, 142,750, 142],
  3862. Node61rect=ht.Default.unionPoint([{x:473,y:142},{x:750,y:142}]),
  3863. Node61compspts=[];
  3864. _ratio = GD.getRatioWithRotation(0, ratio);
  3865. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  3866. _endratio = GD.getRatioWithRotation(0, ratio);
  3867. for(var i=0;i<Node61points.length;i++){
  3868. if(i%2==0){
  3869. Node61compspts.push(Node61points[i]-Node61rect.x);
  3870. }else{
  3871. Node61compspts.push(Node61points[i]-Node61rect.y);
  3872. }
  3873. }
  3874. var Node61ptslength=Node61compspts.length;
  3875. if (Node61rect.height === 0) {
  3876. Node61compspts[0] -= 0;
  3877. Node61compspts[Node61ptslength-2] += 0;
  3878. } else if (Node61rect.width === 0){
  3879. Node61compspts[1] -= 0;
  3880. Node61compspts[Node61ptslength-1] += 0;
  3881. } else {
  3882. Node61compspts[0] -= 0;
  3883. Node61compspts[1] -= 0;
  3884. Node61compspts[Node61ptslength-2] += 0;
  3885. Node61compspts[Node61ptslength-1] += 0;
  3886. }
  3887. Node61 = new ht.Node();
  3888. Node61.borderWidth = 1;
  3889. Node61rect.width = Node61rect.width === 0 ? 0.0001 : Node61rect.width;
  3890. Node61rect.height = Node61rect.height === 0 ? 0.0001 : Node61rect.height;
  3891. var Node61endCompspts = [Node61compspts[Node61ptslength-2],Node61compspts[Node61ptslength-1],0,0];
  3892. var Node61startCompspts = [Node61compspts[0],Node61compspts[1],0,0];
  3893. Node61.setImage(GD.getPolyLineJSON());
  3894. Node61.setPosition(Node61rect.x+Node61rect.width/2,Node61rect.y+Node61rect.height/2);
  3895. Node61.setSize(Node61rect.width,Node61rect.height);
  3896. Node61.setStyle("opacity",1);
  3897. Node61.s({'pixelPerfect':true});
  3898. Node61borderwidth=1;
  3899. Node61.setRotation(0);
  3900. dataModel.add(Node61);
  3901. Node61.a('node.points',Node61compspts);
  3902. Node61.a('node.segments',[1,2]);
  3903. Node61.a('node.color','rgba(220,220,220,1)');
  3904. Node61.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3905. Node61.a('node.borderColor','rgba(220,220,220,1)');
  3906. Node61.a('node.background','rgba(220,220,220,1)');
  3907. Node61.a('node.gradient','');
  3908. Node61.a('node.gradientcolor','rgba(220,220,220,1)');
  3909. Node61.a('node.endCompspts',Node61endCompspts);
  3910. Node61.a('node.startCompspts',Node61startCompspts);
  3911. (function (node, img, compspts, endCompspts, startCompspts) {
  3912. var position = node.getPosition(),
  3913. w = node.getWidth()*_ratio.ratioX,
  3914. h = node.getHeight()*_ratio.ratioY;
  3915. function resetPoints(rx, ry) {
  3916. for (var i = 0, len = compspts.length; i < len; i++) {
  3917. if (i%2 === 0) {
  3918. compspts[i]*=rx;
  3919. } else {
  3920. compspts[i]*=ry;
  3921. }
  3922. }
  3923. endCompspts[0] = compspts[compspts.length-2];
  3924. endCompspts[1] = compspts[compspts.length-1];
  3925. endCompspts[2] *= rx;
  3926. endCompspts[3] *= ry;
  3927. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3928. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3929. startCompspts[0] = compspts[0];
  3930. startCompspts[1] = compspts[1];
  3931. startCompspts[2] *= rx;
  3932. startCompspts[3] *= ry;
  3933. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3934. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3935. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3936. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3937. }
  3938. node.setSize(w, h);
  3939. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3940. node.a('node.width', w);
  3941. node.a('node.height', h);
  3942. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3943. node.borderWidth = 1;
  3944. node.a('node.borderwidth',node.borderWidth);
  3945. node._nodename = 'Node61';
  3946. node._nodeType = 'line';
  3947. zoomNodeList.push({
  3948. node: node,
  3949. attr: 'node.borderwidth'
  3950. });
  3951. var setWidth = node.setWidth,
  3952. setHeight = node.setHeight,
  3953. timer, rx = 1, ry = 1;
  3954. node.setWidth = function (width) {
  3955. var _width = this.getWidth();
  3956. rx = width / _width;
  3957. node.a('node.width', width);
  3958. setWidth.apply(this, arguments);
  3959. resetPoints(rx, 1);
  3960. }
  3961. node.setHeight = function (height) {
  3962. var _height = this.getHeight();
  3963. ry = height / _height;
  3964. node.a('node.height', height);
  3965. setHeight.apply(this, arguments);
  3966. resetPoints(1, ry);
  3967. }
  3968. })(Node61, Node61.getImage(), Node61compspts, Node61endCompspts, Node61startCompspts);
  3969. var Node62points=[471, 168,748, 168],
  3970. Node62rect=ht.Default.unionPoint([{x:471,y:168},{x:748,y:168}]),
  3971. Node62compspts=[];
  3972. _ratio = GD.getRatioWithRotation(0, ratio);
  3973. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  3974. _endratio = GD.getRatioWithRotation(0, ratio);
  3975. for(var i=0;i<Node62points.length;i++){
  3976. if(i%2==0){
  3977. Node62compspts.push(Node62points[i]-Node62rect.x);
  3978. }else{
  3979. Node62compspts.push(Node62points[i]-Node62rect.y);
  3980. }
  3981. }
  3982. var Node62ptslength=Node62compspts.length;
  3983. if (Node62rect.height === 0) {
  3984. Node62compspts[0] -= 0;
  3985. Node62compspts[Node62ptslength-2] += 0;
  3986. } else if (Node62rect.width === 0){
  3987. Node62compspts[1] -= 0;
  3988. Node62compspts[Node62ptslength-1] += 0;
  3989. } else {
  3990. Node62compspts[0] -= 0;
  3991. Node62compspts[1] -= 0;
  3992. Node62compspts[Node62ptslength-2] += 0;
  3993. Node62compspts[Node62ptslength-1] += 0;
  3994. }
  3995. Node62 = new ht.Node();
  3996. Node62.borderWidth = 1;
  3997. Node62rect.width = Node62rect.width === 0 ? 0.0001 : Node62rect.width;
  3998. Node62rect.height = Node62rect.height === 0 ? 0.0001 : Node62rect.height;
  3999. var Node62endCompspts = [Node62compspts[Node62ptslength-2],Node62compspts[Node62ptslength-1],0,0];
  4000. var Node62startCompspts = [Node62compspts[0],Node62compspts[1],0,0];
  4001. Node62.setImage(GD.getPolyLineJSON());
  4002. Node62.setPosition(Node62rect.x+Node62rect.width/2,Node62rect.y+Node62rect.height/2);
  4003. Node62.setSize(Node62rect.width,Node62rect.height);
  4004. Node62.setStyle("opacity",1);
  4005. Node62.s({'pixelPerfect':true});
  4006. Node62borderwidth=1;
  4007. Node62.setRotation(0);
  4008. dataModel.add(Node62);
  4009. Node62.a('node.points',Node62compspts);
  4010. Node62.a('node.segments',[1,2]);
  4011. Node62.a('node.color','rgba(220,220,220,1)');
  4012. Node62.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4013. Node62.a('node.borderColor','rgba(220,220,220,1)');
  4014. Node62.a('node.background','rgba(220,220,220,1)');
  4015. Node62.a('node.gradient','');
  4016. Node62.a('node.gradientcolor','rgba(220,220,220,1)');
  4017. Node62.a('node.endCompspts',Node62endCompspts);
  4018. Node62.a('node.startCompspts',Node62startCompspts);
  4019. (function (node, img, compspts, endCompspts, startCompspts) {
  4020. var position = node.getPosition(),
  4021. w = node.getWidth()*_ratio.ratioX,
  4022. h = node.getHeight()*_ratio.ratioY;
  4023. function resetPoints(rx, ry) {
  4024. for (var i = 0, len = compspts.length; i < len; i++) {
  4025. if (i%2 === 0) {
  4026. compspts[i]*=rx;
  4027. } else {
  4028. compspts[i]*=ry;
  4029. }
  4030. }
  4031. endCompspts[0] = compspts[compspts.length-2];
  4032. endCompspts[1] = compspts[compspts.length-1];
  4033. endCompspts[2] *= rx;
  4034. endCompspts[3] *= ry;
  4035. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4036. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4037. startCompspts[0] = compspts[0];
  4038. startCompspts[1] = compspts[1];
  4039. startCompspts[2] *= rx;
  4040. startCompspts[3] *= ry;
  4041. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4042. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4043. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4044. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4045. }
  4046. node.setSize(w, h);
  4047. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4048. node.a('node.width', w);
  4049. node.a('node.height', h);
  4050. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4051. node.borderWidth = 1;
  4052. node.a('node.borderwidth',node.borderWidth);
  4053. node._nodename = 'Node62';
  4054. node._nodeType = 'line';
  4055. zoomNodeList.push({
  4056. node: node,
  4057. attr: 'node.borderwidth'
  4058. });
  4059. var setWidth = node.setWidth,
  4060. setHeight = node.setHeight,
  4061. timer, rx = 1, ry = 1;
  4062. node.setWidth = function (width) {
  4063. var _width = this.getWidth();
  4064. rx = width / _width;
  4065. node.a('node.width', width);
  4066. setWidth.apply(this, arguments);
  4067. resetPoints(rx, 1);
  4068. }
  4069. node.setHeight = function (height) {
  4070. var _height = this.getHeight();
  4071. ry = height / _height;
  4072. node.a('node.height', height);
  4073. setHeight.apply(this, arguments);
  4074. resetPoints(1, ry);
  4075. }
  4076. })(Node62, Node62.getImage(), Node62compspts, Node62endCompspts, Node62startCompspts);
  4077. var Node63points=[473, 192,750, 192],
  4078. Node63rect=ht.Default.unionPoint([{x:473,y:192},{x:750,y:192}]),
  4079. Node63compspts=[];
  4080. _ratio = GD.getRatioWithRotation(0, ratio);
  4081. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  4082. _endratio = GD.getRatioWithRotation(0, ratio);
  4083. for(var i=0;i<Node63points.length;i++){
  4084. if(i%2==0){
  4085. Node63compspts.push(Node63points[i]-Node63rect.x);
  4086. }else{
  4087. Node63compspts.push(Node63points[i]-Node63rect.y);
  4088. }
  4089. }
  4090. var Node63ptslength=Node63compspts.length;
  4091. if (Node63rect.height === 0) {
  4092. Node63compspts[0] -= 0;
  4093. Node63compspts[Node63ptslength-2] += 0;
  4094. } else if (Node63rect.width === 0){
  4095. Node63compspts[1] -= 0;
  4096. Node63compspts[Node63ptslength-1] += 0;
  4097. } else {
  4098. Node63compspts[0] -= 0;
  4099. Node63compspts[1] -= 0;
  4100. Node63compspts[Node63ptslength-2] += 0;
  4101. Node63compspts[Node63ptslength-1] += 0;
  4102. }
  4103. Node63 = new ht.Node();
  4104. Node63.borderWidth = 1;
  4105. Node63rect.width = Node63rect.width === 0 ? 0.0001 : Node63rect.width;
  4106. Node63rect.height = Node63rect.height === 0 ? 0.0001 : Node63rect.height;
  4107. var Node63endCompspts = [Node63compspts[Node63ptslength-2],Node63compspts[Node63ptslength-1],0,0];
  4108. var Node63startCompspts = [Node63compspts[0],Node63compspts[1],0,0];
  4109. Node63.setImage(GD.getPolyLineJSON());
  4110. Node63.setPosition(Node63rect.x+Node63rect.width/2,Node63rect.y+Node63rect.height/2);
  4111. Node63.setSize(Node63rect.width,Node63rect.height);
  4112. Node63.setStyle("opacity",1);
  4113. Node63.s({'pixelPerfect':true});
  4114. Node63borderwidth=1;
  4115. Node63.setRotation(0);
  4116. dataModel.add(Node63);
  4117. Node63.a('node.points',Node63compspts);
  4118. Node63.a('node.segments',[1,2]);
  4119. Node63.a('node.color','rgba(220,220,220,1)');
  4120. Node63.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4121. Node63.a('node.borderColor','rgba(220,220,220,1)');
  4122. Node63.a('node.background','rgba(220,220,220,1)');
  4123. Node63.a('node.gradient','');
  4124. Node63.a('node.gradientcolor','rgba(220,220,220,1)');
  4125. Node63.a('node.endCompspts',Node63endCompspts);
  4126. Node63.a('node.startCompspts',Node63startCompspts);
  4127. (function (node, img, compspts, endCompspts, startCompspts) {
  4128. var position = node.getPosition(),
  4129. w = node.getWidth()*_ratio.ratioX,
  4130. h = node.getHeight()*_ratio.ratioY;
  4131. function resetPoints(rx, ry) {
  4132. for (var i = 0, len = compspts.length; i < len; i++) {
  4133. if (i%2 === 0) {
  4134. compspts[i]*=rx;
  4135. } else {
  4136. compspts[i]*=ry;
  4137. }
  4138. }
  4139. endCompspts[0] = compspts[compspts.length-2];
  4140. endCompspts[1] = compspts[compspts.length-1];
  4141. endCompspts[2] *= rx;
  4142. endCompspts[3] *= ry;
  4143. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4144. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4145. startCompspts[0] = compspts[0];
  4146. startCompspts[1] = compspts[1];
  4147. startCompspts[2] *= rx;
  4148. startCompspts[3] *= ry;
  4149. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4150. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4151. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4152. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4153. }
  4154. node.setSize(w, h);
  4155. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4156. node.a('node.width', w);
  4157. node.a('node.height', h);
  4158. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4159. node.borderWidth = 1;
  4160. node.a('node.borderwidth',node.borderWidth);
  4161. node._nodename = 'Node63';
  4162. node._nodeType = 'line';
  4163. zoomNodeList.push({
  4164. node: node,
  4165. attr: 'node.borderwidth'
  4166. });
  4167. var setWidth = node.setWidth,
  4168. setHeight = node.setHeight,
  4169. timer, rx = 1, ry = 1;
  4170. node.setWidth = function (width) {
  4171. var _width = this.getWidth();
  4172. rx = width / _width;
  4173. node.a('node.width', width);
  4174. setWidth.apply(this, arguments);
  4175. resetPoints(rx, 1);
  4176. }
  4177. node.setHeight = function (height) {
  4178. var _height = this.getHeight();
  4179. ry = height / _height;
  4180. node.a('node.height', height);
  4181. setHeight.apply(this, arguments);
  4182. resetPoints(1, ry);
  4183. }
  4184. })(Node63, Node63.getImage(), Node63compspts, Node63endCompspts, Node63startCompspts);
  4185. var Node64points=[473, 215,750, 215],
  4186. Node64rect=ht.Default.unionPoint([{x:473,y:215},{x:750,y:215}]),
  4187. Node64compspts=[];
  4188. _ratio = GD.getRatioWithRotation(0, ratio);
  4189. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  4190. _endratio = GD.getRatioWithRotation(0, ratio);
  4191. for(var i=0;i<Node64points.length;i++){
  4192. if(i%2==0){
  4193. Node64compspts.push(Node64points[i]-Node64rect.x);
  4194. }else{
  4195. Node64compspts.push(Node64points[i]-Node64rect.y);
  4196. }
  4197. }
  4198. var Node64ptslength=Node64compspts.length;
  4199. if (Node64rect.height === 0) {
  4200. Node64compspts[0] -= 0;
  4201. Node64compspts[Node64ptslength-2] += 0;
  4202. } else if (Node64rect.width === 0){
  4203. Node64compspts[1] -= 0;
  4204. Node64compspts[Node64ptslength-1] += 0;
  4205. } else {
  4206. Node64compspts[0] -= 0;
  4207. Node64compspts[1] -= 0;
  4208. Node64compspts[Node64ptslength-2] += 0;
  4209. Node64compspts[Node64ptslength-1] += 0;
  4210. }
  4211. Node64 = new ht.Node();
  4212. Node64.borderWidth = 1;
  4213. Node64rect.width = Node64rect.width === 0 ? 0.0001 : Node64rect.width;
  4214. Node64rect.height = Node64rect.height === 0 ? 0.0001 : Node64rect.height;
  4215. var Node64endCompspts = [Node64compspts[Node64ptslength-2],Node64compspts[Node64ptslength-1],0,0];
  4216. var Node64startCompspts = [Node64compspts[0],Node64compspts[1],0,0];
  4217. Node64.setImage(GD.getPolyLineJSON());
  4218. Node64.setPosition(Node64rect.x+Node64rect.width/2,Node64rect.y+Node64rect.height/2);
  4219. Node64.setSize(Node64rect.width,Node64rect.height);
  4220. Node64.setStyle("opacity",1);
  4221. Node64.s({'pixelPerfect':true});
  4222. Node64borderwidth=1;
  4223. Node64.setRotation(0);
  4224. dataModel.add(Node64);
  4225. Node64.a('node.points',Node64compspts);
  4226. Node64.a('node.segments',[1,2]);
  4227. Node64.a('node.color','rgba(220,220,220,1)');
  4228. Node64.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4229. Node64.a('node.borderColor','rgba(220,220,220,1)');
  4230. Node64.a('node.background','rgba(220,220,220,1)');
  4231. Node64.a('node.gradient','');
  4232. Node64.a('node.gradientcolor','rgba(220,220,220,1)');
  4233. Node64.a('node.endCompspts',Node64endCompspts);
  4234. Node64.a('node.startCompspts',Node64startCompspts);
  4235. (function (node, img, compspts, endCompspts, startCompspts) {
  4236. var position = node.getPosition(),
  4237. w = node.getWidth()*_ratio.ratioX,
  4238. h = node.getHeight()*_ratio.ratioY;
  4239. function resetPoints(rx, ry) {
  4240. for (var i = 0, len = compspts.length; i < len; i++) {
  4241. if (i%2 === 0) {
  4242. compspts[i]*=rx;
  4243. } else {
  4244. compspts[i]*=ry;
  4245. }
  4246. }
  4247. endCompspts[0] = compspts[compspts.length-2];
  4248. endCompspts[1] = compspts[compspts.length-1];
  4249. endCompspts[2] *= rx;
  4250. endCompspts[3] *= ry;
  4251. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4252. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4253. startCompspts[0] = compspts[0];
  4254. startCompspts[1] = compspts[1];
  4255. startCompspts[2] *= rx;
  4256. startCompspts[3] *= ry;
  4257. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4258. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4259. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4260. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4261. }
  4262. node.setSize(w, h);
  4263. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4264. node.a('node.width', w);
  4265. node.a('node.height', h);
  4266. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4267. node.borderWidth = 1;
  4268. node.a('node.borderwidth',node.borderWidth);
  4269. node._nodename = 'Node64';
  4270. node._nodeType = 'line';
  4271. zoomNodeList.push({
  4272. node: node,
  4273. attr: 'node.borderwidth'
  4274. });
  4275. var setWidth = node.setWidth,
  4276. setHeight = node.setHeight,
  4277. timer, rx = 1, ry = 1;
  4278. node.setWidth = function (width) {
  4279. var _width = this.getWidth();
  4280. rx = width / _width;
  4281. node.a('node.width', width);
  4282. setWidth.apply(this, arguments);
  4283. resetPoints(rx, 1);
  4284. }
  4285. node.setHeight = function (height) {
  4286. var _height = this.getHeight();
  4287. ry = height / _height;
  4288. node.a('node.height', height);
  4289. setHeight.apply(this, arguments);
  4290. resetPoints(1, ry);
  4291. }
  4292. })(Node64, Node64.getImage(), Node64compspts, Node64endCompspts, Node64startCompspts);
  4293. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4294. var Node65type = 'rect';
  4295. var Node65 = new ht.Node(),
  4296. Node65BorderWidth = 1*2;
  4297. if (Node65type === 'arc') {
  4298. Node65BorderWidth *= 1;
  4299. }
  4300. Node65.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node65type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  4301. Node65.setPosition(816*ratio.ratioX, 178*ratio.ratioY);
  4302. Node65.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  4303. Node65.s({
  4304. 'pixelPerfect':true
  4305. /*@AddPara@*/
  4306. });
  4307. Node65.a('node.width', 120*_ratio.ratioX);
  4308. Node65.a('node.height', 120*_ratio.ratioY);
  4309. Node65.a('node.type', Node65type);
  4310. Node65.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  4311. Node65.a('node.background', 'rgba(245,245,245,1)');
  4312. Node65.a('node.gradientcolor', 'rgba(245,245,245,1)');
  4313. Node65.a('node.gradient', '');
  4314. Node65.a('node.borderwidth', Node65BorderWidth);
  4315. Node65.a('node.color', 'rgba(220,220,220,1)');
  4316. Node65.a('node.fillrect', [0,0,0,0]);
  4317. Node65.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  4318. Node65.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  4319. Node65.a('node.fillgradient', '');
  4320. if (Node65type !== 'rect') {
  4321. Node65.a('node.arcFrom', parseFloat('@arcFrom@'));
  4322. Node65.a('node.arcTo', parseFloat('@arcTo@'));
  4323. Node65.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  4324. }
  4325. if (Node65type === 'arc') {
  4326. Node65.a('node.arcOval', true);
  4327. }
  4328. Node65.setRotation(0*Math.PI/180);
  4329. Node65.borderWidth = Node65BorderWidth;
  4330. Node65.borderFillwidth = Node65BorderWidth;
  4331. dataModel.add(Node65);
  4332. Node65._nodename = 'Node65'
  4333. Node65._nodeType = 'rect';
  4334. zoomNodeList.push({
  4335. node: Node65,
  4336. attr: 'node.borderwidth'
  4337. });
  4338. (function (node, _img) {
  4339. var setWidth = node.setWidth,
  4340. setHeight = node.setHeight;
  4341. node.setWidth = function (width) {
  4342. if (width === this.getWidth()) return ;
  4343. var height = this.getHeight();
  4344. this.a('node.width', width);
  4345. this.a('node.rect', [0,0,width, height]);
  4346. setWidth.apply(this, arguments);
  4347. }
  4348. node.setHeight = function (height) {
  4349. if (height === this.getHeight()) return ;
  4350. var width = this.getWidth();
  4351. this.a('node.height', height);
  4352. this.a('node.rect', [0,0,width, height]);
  4353. setHeight.apply(this, arguments);
  4354. }
  4355. })(Node65, Node65.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4356. var Node66type = 'rect';
  4357. var Node66 = new ht.Node(),
  4358. Node66BorderWidth = 1*2;
  4359. if (Node66type === 'arc') {
  4360. Node66BorderWidth *= 1;
  4361. }
  4362. Node66.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  4363. Node66.setPosition(896*ratio.ratioX, 178*ratio.ratioY);
  4364. Node66.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  4365. Node66.s({
  4366. 'pixelPerfect':true
  4367. /*@AddPara@*/
  4368. });
  4369. Node66.a('node.width', 280.7278*_ratio.ratioX);
  4370. Node66.a('node.height', 122*_ratio.ratioY);
  4371. Node66.a('node.type', Node66type);
  4372. Node66.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  4373. Node66.a('node.background', 'rgba(255,255,255,0.003921569)');
  4374. Node66.a('node.gradientcolor', '');
  4375. Node66.a('node.gradient', '');
  4376. Node66.a('node.borderwidth', Node66BorderWidth);
  4377. Node66.a('node.color', 'rgba(220,220,220,1)');
  4378. Node66.a('node.fillrect', [0,0,0,0]);
  4379. Node66.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  4380. Node66.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  4381. Node66.a('node.fillgradient', '');
  4382. if (Node66type !== 'rect') {
  4383. Node66.a('node.arcFrom', parseFloat('@arcFrom@'));
  4384. Node66.a('node.arcTo', parseFloat('@arcTo@'));
  4385. Node66.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  4386. }
  4387. if (Node66type === 'arc') {
  4388. Node66.a('node.arcOval', true);
  4389. }
  4390. Node66.setRotation(0*Math.PI/180);
  4391. Node66.borderWidth = Node66BorderWidth;
  4392. Node66.borderFillwidth = Node66BorderWidth;
  4393. dataModel.add(Node66);
  4394. Node66._nodename = 'Node66'
  4395. Node66._nodeType = 'rect';
  4396. zoomNodeList.push({
  4397. node: Node66,
  4398. attr: 'node.borderwidth'
  4399. });
  4400. (function (node, _img) {
  4401. var setWidth = node.setWidth,
  4402. setHeight = node.setHeight;
  4403. node.setWidth = function (width) {
  4404. if (width === this.getWidth()) return ;
  4405. var height = this.getHeight();
  4406. this.a('node.width', width);
  4407. this.a('node.rect', [0,0,width, height]);
  4408. setWidth.apply(this, arguments);
  4409. }
  4410. node.setHeight = function (height) {
  4411. if (height === this.getHeight()) return ;
  4412. var width = this.getWidth();
  4413. this.a('node.height', height);
  4414. this.a('node.rect', [0,0,width, height]);
  4415. setHeight.apply(this, arguments);
  4416. }
  4417. })(Node66, Node66.getImage());var Node67points=[946, 118,946, 238],
  4418. Node67rect=ht.Default.unionPoint([{x:946,y:118},{x:946,y:238}]),
  4419. Node67compspts=[];
  4420. _ratio = GD.getRatioWithRotation(0, ratio);
  4421. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  4422. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  4423. for(var i=0;i<Node67points.length;i++){
  4424. if(i%2==0){
  4425. Node67compspts.push(Node67points[i]-Node67rect.x);
  4426. }else{
  4427. Node67compspts.push(Node67points[i]-Node67rect.y);
  4428. }
  4429. }
  4430. var Node67ptslength=Node67compspts.length;
  4431. if (Node67rect.height === 0) {
  4432. Node67compspts[0] -= 0;
  4433. Node67compspts[Node67ptslength-2] += 0;
  4434. } else if (Node67rect.width === 0){
  4435. Node67compspts[1] -= 0;
  4436. Node67compspts[Node67ptslength-1] += 0;
  4437. } else {
  4438. Node67compspts[0] -= 0;
  4439. Node67compspts[1] -= 0;
  4440. Node67compspts[Node67ptslength-2] += 0;
  4441. Node67compspts[Node67ptslength-1] += 0;
  4442. }
  4443. Node67 = new ht.Node();
  4444. Node67.borderWidth = 1;
  4445. Node67rect.width = Node67rect.width === 0 ? 0.0001 : Node67rect.width;
  4446. Node67rect.height = Node67rect.height === 0 ? 0.0001 : Node67rect.height;
  4447. var Node67endCompspts = [Node67compspts[Node67ptslength-2],Node67compspts[Node67ptslength-1],0,0];
  4448. var Node67startCompspts = [Node67compspts[0],Node67compspts[1],0,0];
  4449. Node67.setImage(GD.getPolyLineJSON());
  4450. Node67.setPosition(Node67rect.x+Node67rect.width/2,Node67rect.y+Node67rect.height/2);
  4451. Node67.setSize(Node67rect.width,Node67rect.height);
  4452. Node67.setStyle("opacity",1);
  4453. Node67.s({'pixelPerfect':true});
  4454. Node67borderwidth=1;
  4455. Node67.setRotation(0);
  4456. dataModel.add(Node67);
  4457. Node67.a('node.points',Node67compspts);
  4458. Node67.a('node.segments',[1,2]);
  4459. Node67.a('node.color','rgba(220,220,220,1)');
  4460. Node67.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4461. Node67.a('node.borderColor','rgba(220,220,220,1)');
  4462. Node67.a('node.background','rgba(220,220,220,1)');
  4463. Node67.a('node.gradient','');
  4464. Node67.a('node.gradientcolor','rgba(220,220,220,1)');
  4465. Node67.a('node.endCompspts',Node67endCompspts);
  4466. Node67.a('node.startCompspts',Node67startCompspts);
  4467. (function (node, img, compspts, endCompspts, startCompspts) {
  4468. var position = node.getPosition(),
  4469. w = node.getWidth()*_ratio.ratioX,
  4470. h = node.getHeight()*_ratio.ratioY;
  4471. function resetPoints(rx, ry) {
  4472. for (var i = 0, len = compspts.length; i < len; i++) {
  4473. if (i%2 === 0) {
  4474. compspts[i]*=rx;
  4475. } else {
  4476. compspts[i]*=ry;
  4477. }
  4478. }
  4479. endCompspts[0] = compspts[compspts.length-2];
  4480. endCompspts[1] = compspts[compspts.length-1];
  4481. endCompspts[2] *= rx;
  4482. endCompspts[3] *= ry;
  4483. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4484. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4485. startCompspts[0] = compspts[0];
  4486. startCompspts[1] = compspts[1];
  4487. startCompspts[2] *= rx;
  4488. startCompspts[3] *= ry;
  4489. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4490. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4491. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4492. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4493. }
  4494. node.setSize(w, h);
  4495. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4496. node.a('node.width', w);
  4497. node.a('node.height', h);
  4498. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4499. node.borderWidth = 1;
  4500. node.a('node.borderwidth',node.borderWidth);
  4501. node._nodename = 'Node67';
  4502. node._nodeType = 'line';
  4503. zoomNodeList.push({
  4504. node: node,
  4505. attr: 'node.borderwidth'
  4506. });
  4507. var setWidth = node.setWidth,
  4508. setHeight = node.setHeight,
  4509. timer, rx = 1, ry = 1;
  4510. node.setWidth = function (width) {
  4511. var _width = this.getWidth();
  4512. rx = width / _width;
  4513. node.a('node.width', width);
  4514. setWidth.apply(this, arguments);
  4515. resetPoints(rx, 1);
  4516. }
  4517. node.setHeight = function (height) {
  4518. var _height = this.getHeight();
  4519. ry = height / _height;
  4520. node.a('node.height', height);
  4521. setHeight.apply(this, arguments);
  4522. resetPoints(1, ry);
  4523. }
  4524. })(Node67, Node67.getImage(), Node67compspts, Node67endCompspts, Node67startCompspts);
  4525. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4526. var Node68 = new ht.Node();
  4527. var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'left', Node68fontSize = 13.3333*_ratio.ratioY,Node68width = 82*_ratio.ratioX, Node68height = 27*_ratio.ratioY;
  4528. (function () {
  4529. if (Node68align === 'left') {
  4530. Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9;
  4531. Node68textWidth = Node68width;
  4532. Node68lineStart = 1;
  4533. } else if (Node68align === 'right') {
  4534. Node68textStart = 0;
  4535. Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2;
  4536. Node68lineStart = (Node68width - (ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
  4537. } else if (Node68align === 'center') {
  4538. Node68textStart = -3;
  4539. Node68textWidth = Node68width;
  4540. Node68lineStart = Node68width - ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width - 11;
  4541. }
  4542. })();
  4543. Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"'))
  4544. Node68.setPosition(802*ratio.ratioX, 129*ratio.ratioY);
  4545. Node68.setWidth(Node68width);
  4546. Node68.setHeight(Node68height);
  4547. Node68._nodeType = 'text';
  4548. Node68._disallowEvert = true;
  4549. Node68.setRotation(0*Math.PI/180);
  4550. Node68.a('node.width', Node68width);
  4551. Node68.a('node.height', Node68height);
  4552. Node68.a('node.rect', [0, 0, Node68width, Node68height]);
  4553. Node68.a('node.bordercolor','rgba(0,0,0,1)');
  4554. Node68.a('node.borderwidth', 0);
  4555. Node68.a('node.background','' || 'rgba(0,0,0,0)');
  4556. Node68.a('node.gradient','');
  4557. Node68.a('node.gradientcolor','');
  4558. Node68.a('node.text','日上网电量');
  4559. Node68.a('node.textalign','left');
  4560. Node68.a('node.textvAlign','middle');
  4561. Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]);
  4562. Node68.a('node.color','rgba(0,0,0,1)');
  4563. Node68.a('node.font',' '+ Node68fontSize + 'px "Arial"');
  4564. Node68.a('node.textvisible',true);
  4565. Node68.a('node.linefeed',false);
  4566. if (false) {
  4567. Node68.a('node.textfunc',function(g) {
  4568. g.beginPath();
  4569. var str=Node68.a('node.text') || '日上网电量';
  4570. var color=Node68.a('node.color') || 'rgba(0,0,0,1)';
  4571. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node68width,Node68height,13.3333*_ratio.ratioY,"left",color,' '+ Node68fontSize + 'px "Arial"', 0,g);
  4572. });
  4573. }
  4574. if (false) {
  4575. Node68.a('node.underlinepoints',[Node68lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
  4576. Node68.a('node.underlinevisible',false);
  4577. Node68.a('node.underlineBorderWidth', 1);
  4578. }
  4579. dataModel.add(Node68);
  4580. zoomNodeList.push({
  4581. node: Node68,
  4582. borderWidth: 0,
  4583. attr: 'node.borderwidth'
  4584. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4585. var Node69 = new ht.Node();
  4586. var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 82*_ratio.ratioX, Node69height = 27*_ratio.ratioY;
  4587. (function () {
  4588. if (Node69align === 'left') {
  4589. Node69textStart = Node69fontSize * 0.2 > 2 ? Node69fontSize * 0.2 - 4 : Node69fontSize * 0.2 - 9;
  4590. Node69textWidth = Node69width;
  4591. Node69lineStart = 1;
  4592. } else if (Node69align === 'right') {
  4593. Node69textStart = 0;
  4594. Node69textWidth =Node69fontSize <= 8 ? Node69width + Node69fontSize * 0.2 + 6 : Node69width - Node69fontSize * 0.2;
  4595. Node69lineStart = (Node69width - (ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
  4596. } else if (Node69align === 'center') {
  4597. Node69textStart = -3;
  4598. Node69textWidth = Node69width;
  4599. Node69lineStart = Node69width - ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width - 11;
  4600. }
  4601. })();
  4602. Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
  4603. Node69.setPosition(802*ratio.ratioX, 155*ratio.ratioY);
  4604. Node69.setWidth(Node69width);
  4605. Node69.setHeight(Node69height);
  4606. Node69._nodeType = 'text';
  4607. Node69._disallowEvert = true;
  4608. Node69.setRotation(0*Math.PI/180);
  4609. Node69.a('node.width', Node69width);
  4610. Node69.a('node.height', Node69height);
  4611. Node69.a('node.rect', [0, 0, Node69width, Node69height]);
  4612. Node69.a('node.bordercolor','rgba(0,0,0,1)');
  4613. Node69.a('node.borderwidth', 0);
  4614. Node69.a('node.background','' || 'rgba(0,0,0,0)');
  4615. Node69.a('node.gradient','');
  4616. Node69.a('node.gradientcolor','');
  4617. Node69.a('node.text','月上网电量');
  4618. Node69.a('node.textalign','left');
  4619. Node69.a('node.textvAlign','middle');
  4620. Node69.a('node.textrect', [Node69textStart, 0, Node69textWidth, Node69height]);
  4621. Node69.a('node.color','rgba(0,0,0,1)');
  4622. Node69.a('node.font',' '+ Node69fontSize + 'px "Arial"');
  4623. Node69.a('node.textvisible',true);
  4624. Node69.a('node.linefeed',false);
  4625. if (false) {
  4626. Node69.a('node.textfunc',function(g) {
  4627. g.beginPath();
  4628. var str=Node69.a('node.text') || '月上网电量';
  4629. var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
  4630. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
  4631. });
  4632. }
  4633. if (false) {
  4634. Node69.a('node.underlinepoints',[Node69lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width + 6, (Node69height - Node69fontSize) * 0.5*_ratio.ratioY + Node69fontSize + 2 ]);
  4635. Node69.a('node.underlinevisible',false);
  4636. Node69.a('node.underlineBorderWidth', 1);
  4637. }
  4638. dataModel.add(Node69);
  4639. zoomNodeList.push({
  4640. node: Node69,
  4641. borderWidth: 0,
  4642. attr: 'node.borderwidth'
  4643. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4644. var Node70 = new ht.Node();
  4645. var Node70textStart, Node70textWidth, Node70lineStart, Node70align = 'left', Node70fontSize = 13.3333*_ratio.ratioY,Node70width = 82*_ratio.ratioX, Node70height = 27*_ratio.ratioY;
  4646. (function () {
  4647. if (Node70align === 'left') {
  4648. Node70textStart = Node70fontSize * 0.2 > 2 ? Node70fontSize * 0.2 - 4 : Node70fontSize * 0.2 - 9;
  4649. Node70textWidth = Node70width;
  4650. Node70lineStart = 1;
  4651. } else if (Node70align === 'right') {
  4652. Node70textStart = 0;
  4653. Node70textWidth =Node70fontSize <= 8 ? Node70width + Node70fontSize * 0.2 + 6 : Node70width - Node70fontSize * 0.2;
  4654. Node70lineStart = (Node70width - (ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
  4655. } else if (Node70align === 'center') {
  4656. Node70textStart = -3;
  4657. Node70textWidth = Node70width;
  4658. Node70lineStart = Node70width - ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width - 11;
  4659. }
  4660. })();
  4661. Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"'))
  4662. Node70.setPosition(802*ratio.ratioX, 179*ratio.ratioY);
  4663. Node70.setWidth(Node70width);
  4664. Node70.setHeight(Node70height);
  4665. Node70._nodeType = 'text';
  4666. Node70._disallowEvert = true;
  4667. Node70.setRotation(0*Math.PI/180);
  4668. Node70.a('node.width', Node70width);
  4669. Node70.a('node.height', Node70height);
  4670. Node70.a('node.rect', [0, 0, Node70width, Node70height]);
  4671. Node70.a('node.bordercolor','rgba(0,0,0,1)');
  4672. Node70.a('node.borderwidth', 0);
  4673. Node70.a('node.background','' || 'rgba(0,0,0,0)');
  4674. Node70.a('node.gradient','');
  4675. Node70.a('node.gradientcolor','');
  4676. Node70.a('node.text','年上网电量');
  4677. Node70.a('node.textalign','left');
  4678. Node70.a('node.textvAlign','middle');
  4679. Node70.a('node.textrect', [Node70textStart, 0, Node70textWidth, Node70height]);
  4680. Node70.a('node.color','rgba(0,0,0,1)');
  4681. Node70.a('node.font',' '+ Node70fontSize + 'px "Arial"');
  4682. Node70.a('node.textvisible',true);
  4683. Node70.a('node.linefeed',false);
  4684. if (false) {
  4685. Node70.a('node.textfunc',function(g) {
  4686. g.beginPath();
  4687. var str=Node70.a('node.text') || '年上网电量';
  4688. var color=Node70.a('node.color') || 'rgba(0,0,0,1)';
  4689. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node70width,Node70height,13.3333*_ratio.ratioY,"left",color,' '+ Node70fontSize + 'px "Arial"', 0,g);
  4690. });
  4691. }
  4692. if (false) {
  4693. Node70.a('node.underlinepoints',[Node70lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
  4694. Node70.a('node.underlinevisible',false);
  4695. Node70.a('node.underlineBorderWidth', 1);
  4696. }
  4697. dataModel.add(Node70);
  4698. zoomNodeList.push({
  4699. node: Node70,
  4700. borderWidth: 0,
  4701. attr: 'node.borderwidth'
  4702. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4703. var Node71 = new ht.Node();
  4704. var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 110*_ratio.ratioX, Node71height = 27*_ratio.ratioY;
  4705. (function () {
  4706. if (Node71align === 'left') {
  4707. Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
  4708. Node71textWidth = Node71width;
  4709. Node71lineStart = 1;
  4710. } else if (Node71align === 'right') {
  4711. Node71textStart = 0;
  4712. Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
  4713. Node71lineStart = (Node71width - (ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
  4714. } else if (Node71align === 'center') {
  4715. Node71textStart = -3;
  4716. Node71textWidth = Node71width;
  4717. Node71lineStart = Node71width - ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width - 11;
  4718. }
  4719. })();
  4720. Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
  4721. Node71.setPosition(816*ratio.ratioX, 202*ratio.ratioY);
  4722. Node71.setWidth(Node71width);
  4723. Node71.setHeight(Node71height);
  4724. Node71._nodeType = 'text';
  4725. Node71._disallowEvert = true;
  4726. Node71.setRotation(0*Math.PI/180);
  4727. Node71.a('node.width', Node71width);
  4728. Node71.a('node.height', Node71height);
  4729. Node71.a('node.rect', [0, 0, Node71width, Node71height]);
  4730. Node71.a('node.bordercolor','rgba(0,0,0,1)');
  4731. Node71.a('node.borderwidth', 0);
  4732. Node71.a('node.background','' || 'rgba(0,0,0,0)');
  4733. Node71.a('node.gradient','');
  4734. Node71.a('node.gradientcolor','');
  4735. Node71.a('node.text','节约标煤');
  4736. Node71.a('node.textalign','left');
  4737. Node71.a('node.textvAlign','middle');
  4738. Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
  4739. Node71.a('node.color','rgba(0,0,0,1)');
  4740. Node71.a('node.font',' '+ Node71fontSize + 'px "Arial"');
  4741. Node71.a('node.textvisible',true);
  4742. Node71.a('node.linefeed',false);
  4743. if (false) {
  4744. Node71.a('node.textfunc',function(g) {
  4745. g.beginPath();
  4746. var str=Node71.a('node.text') || '节约标煤';
  4747. var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
  4748. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
  4749. });
  4750. }
  4751. if (false) {
  4752. Node71.a('node.underlinepoints',[Node71lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
  4753. Node71.a('node.underlinevisible',false);
  4754. Node71.a('node.underlineBorderWidth', 1);
  4755. }
  4756. dataModel.add(Node71);
  4757. zoomNodeList.push({
  4758. node: Node71,
  4759. borderWidth: 0,
  4760. attr: 'node.borderwidth'
  4761. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4762. var Node72 = new ht.Node();
  4763. var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 125*_ratio.ratioX, Node72height = 27*_ratio.ratioY;
  4764. (function () {
  4765. if (Node72align === 'left') {
  4766. Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9;
  4767. Node72textWidth = Node72width;
  4768. Node72lineStart = 1;
  4769. } else if (Node72align === 'right') {
  4770. Node72textStart = 0;
  4771. Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2;
  4772. Node72lineStart = (Node72width - (ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
  4773. } else if (Node72align === 'center') {
  4774. Node72textStart = -3;
  4775. Node72textWidth = Node72width;
  4776. Node72lineStart = Node72width - ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width - 11;
  4777. }
  4778. })();
  4779. Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
  4780. Node72.setPosition(823*ratio.ratioX, 226*ratio.ratioY);
  4781. Node72.setWidth(Node72width);
  4782. Node72.setHeight(Node72height);
  4783. Node72._nodeType = 'text';
  4784. Node72._disallowEvert = true;
  4785. Node72.setRotation(0*Math.PI/180);
  4786. Node72.a('node.width', Node72width);
  4787. Node72.a('node.height', Node72height);
  4788. Node72.a('node.rect', [0, 0, Node72width, Node72height]);
  4789. Node72.a('node.bordercolor','rgba(0,0,0,1)');
  4790. Node72.a('node.borderwidth', 0);
  4791. Node72.a('node.background','' || 'rgba(0,0,0,0)');
  4792. Node72.a('node.gradient','');
  4793. Node72.a('node.gradientcolor','');
  4794. Node72.a('node.text','节约用水');
  4795. Node72.a('node.textalign','left');
  4796. Node72.a('node.textvAlign','middle');
  4797. Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
  4798. Node72.a('node.color','rgba(0,0,0,1)');
  4799. Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"');
  4800. Node72.a('node.textvisible',true);
  4801. Node72.a('node.linefeed',false);
  4802. if (false) {
  4803. Node72.a('node.textfunc',function(g) {
  4804. g.beginPath();
  4805. var str=Node72.a('node.text') || '节约用水';
  4806. var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
  4807. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
  4808. });
  4809. }
  4810. if (false) {
  4811. Node72.a('node.underlinepoints',[Node72lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
  4812. Node72.a('node.underlinevisible',false);
  4813. Node72.a('node.underlineBorderWidth', 1);
  4814. }
  4815. dataModel.add(Node72);
  4816. zoomNodeList.push({
  4817. node: Node72,
  4818. borderWidth: 0,
  4819. attr: 'node.borderwidth'
  4820. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4821. var Node73 = new ht.Node();
  4822. var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 37*_ratio.ratioX, Node73height = 16*_ratio.ratioY;
  4823. (function () {
  4824. if (Node73align === 'left') {
  4825. Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9;
  4826. Node73textWidth = Node73width;
  4827. Node73lineStart = 1;
  4828. } else if (Node73align === 'right') {
  4829. Node73textStart = 0;
  4830. Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2;
  4831. Node73lineStart = (Node73width - (ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width + 6)) * 0.5;
  4832. } else if (Node73align === 'center') {
  4833. Node73textStart = -3;
  4834. Node73textWidth = Node73width;
  4835. Node73lineStart = Node73width - ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width - 11;
  4836. }
  4837. })();
  4838. Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, 'bold '+ Node73fontSize + 'px "Arial"'))
  4839. Node73.setPosition(912*ratio.ratioX, 128*ratio.ratioY);
  4840. Node73.setWidth(Node73width);
  4841. Node73.setHeight(Node73height);
  4842. Node73._nodeType = 'text';
  4843. Node73._disallowEvert = true;
  4844. Node73.setRotation(0*Math.PI/180);
  4845. Node73.a('node.width', Node73width);
  4846. Node73.a('node.height', Node73height);
  4847. Node73.a('node.rect', [0, 0, Node73width, Node73height]);
  4848. Node73.a('node.bordercolor','rgba(0,0,0,1)');
  4849. Node73.a('node.borderwidth', 0);
  4850. Node73.a('node.background','' || 'rgba(0,0,0,0)');
  4851. Node73.a('node.gradient','');
  4852. Node73.a('node.gradientcolor','');
  4853. Node73.a('node.text','0');
  4854. Node73.a('node.textalign','left');
  4855. Node73.a('node.textvAlign','middle');
  4856. Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]);
  4857. Node73.a('node.color','rgba(0,0,0,1)');
  4858. Node73.a('node.font','bold '+ Node73fontSize + 'px "Arial"');
  4859. Node73.a('node.textvisible',true);
  4860. Node73.a('node.linefeed',false);
  4861. if (false) {
  4862. Node73.a('node.textfunc',function(g) {
  4863. g.beginPath();
  4864. var str=Node73.a('node.text') || '0';
  4865. var color=Node73.a('node.color') || 'rgba(0,0,0,1)';
  4866. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node73fontSize + 'px "Arial"', 0,g);
  4867. });
  4868. }
  4869. if (false) {
  4870. Node73.a('node.underlinepoints',[Node73lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]);
  4871. Node73.a('node.underlinevisible',false);
  4872. Node73.a('node.underlineBorderWidth', 1);
  4873. }
  4874. dataModel.add(Node73);
  4875. zoomNodeList.push({
  4876. node: Node73,
  4877. borderWidth: 0,
  4878. attr: 'node.borderwidth'
  4879. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4880. var Node74 = new ht.Node();
  4881. var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 37*_ratio.ratioX, Node74height = 16*_ratio.ratioY;
  4882. (function () {
  4883. if (Node74align === 'left') {
  4884. Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
  4885. Node74textWidth = Node74width;
  4886. Node74lineStart = 1;
  4887. } else if (Node74align === 'right') {
  4888. Node74textStart = 0;
  4889. Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
  4890. Node74lineStart = (Node74width - (ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
  4891. } else if (Node74align === 'center') {
  4892. Node74textStart = -3;
  4893. Node74textWidth = Node74width;
  4894. Node74lineStart = Node74width - ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width - 11;
  4895. }
  4896. })();
  4897. Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, 'bold '+ Node74fontSize + 'px "Arial"'))
  4898. Node74.setPosition(912*ratio.ratioX, 152*ratio.ratioY);
  4899. Node74.setWidth(Node74width);
  4900. Node74.setHeight(Node74height);
  4901. Node74._nodeType = 'text';
  4902. Node74._disallowEvert = true;
  4903. Node74.setRotation(0*Math.PI/180);
  4904. Node74.a('node.width', Node74width);
  4905. Node74.a('node.height', Node74height);
  4906. Node74.a('node.rect', [0, 0, Node74width, Node74height]);
  4907. Node74.a('node.bordercolor','rgba(0,0,0,1)');
  4908. Node74.a('node.borderwidth', 0);
  4909. Node74.a('node.background','' || 'rgba(0,0,0,0)');
  4910. Node74.a('node.gradient','');
  4911. Node74.a('node.gradientcolor','');
  4912. Node74.a('node.text','0');
  4913. Node74.a('node.textalign','left');
  4914. Node74.a('node.textvAlign','middle');
  4915. Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
  4916. Node74.a('node.color','rgba(0,0,0,1)');
  4917. Node74.a('node.font','bold '+ Node74fontSize + 'px "Arial"');
  4918. Node74.a('node.textvisible',true);
  4919. Node74.a('node.linefeed',false);
  4920. if (false) {
  4921. Node74.a('node.textfunc',function(g) {
  4922. g.beginPath();
  4923. var str=Node74.a('node.text') || '0';
  4924. var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
  4925. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node74fontSize + 'px "Arial"', 0,g);
  4926. });
  4927. }
  4928. if (false) {
  4929. Node74.a('node.underlinepoints',[Node74lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
  4930. Node74.a('node.underlinevisible',false);
  4931. Node74.a('node.underlineBorderWidth', 1);
  4932. }
  4933. dataModel.add(Node74);
  4934. zoomNodeList.push({
  4935. node: Node74,
  4936. borderWidth: 0,
  4937. attr: 'node.borderwidth'
  4938. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4939. var Node75 = new ht.Node();
  4940. var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'left', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 27*_ratio.ratioX, Node75height = 16*_ratio.ratioY;
  4941. (function () {
  4942. if (Node75align === 'left') {
  4943. Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9;
  4944. Node75textWidth = Node75width;
  4945. Node75lineStart = 1;
  4946. } else if (Node75align === 'right') {
  4947. Node75textStart = 0;
  4948. Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2;
  4949. Node75lineStart = (Node75width - (ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width + 6)) * 0.5;
  4950. } else if (Node75align === 'center') {
  4951. Node75textStart = -3;
  4952. Node75textWidth = Node75width;
  4953. Node75lineStart = Node75width - ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width - 11;
  4954. }
  4955. })();
  4956. Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, 'bold '+ Node75fontSize + 'px "Arial"'))
  4957. Node75.setPosition(907*ratio.ratioX, 177*ratio.ratioY);
  4958. Node75.setWidth(Node75width);
  4959. Node75.setHeight(Node75height);
  4960. Node75._nodeType = 'text';
  4961. Node75._disallowEvert = true;
  4962. Node75.setRotation(0*Math.PI/180);
  4963. Node75.a('node.width', Node75width);
  4964. Node75.a('node.height', Node75height);
  4965. Node75.a('node.rect', [0, 0, Node75width, Node75height]);
  4966. Node75.a('node.bordercolor','rgba(0,0,0,1)');
  4967. Node75.a('node.borderwidth', 0);
  4968. Node75.a('node.background','' || 'rgba(0,0,0,0)');
  4969. Node75.a('node.gradient','');
  4970. Node75.a('node.gradientcolor','');
  4971. Node75.a('node.text','0');
  4972. Node75.a('node.textalign','left');
  4973. Node75.a('node.textvAlign','middle');
  4974. Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]);
  4975. Node75.a('node.color','rgba(0,0,0,1)');
  4976. Node75.a('node.font','bold '+ Node75fontSize + 'px "Arial"');
  4977. Node75.a('node.textvisible',true);
  4978. Node75.a('node.linefeed',false);
  4979. if (false) {
  4980. Node75.a('node.textfunc',function(g) {
  4981. g.beginPath();
  4982. var str=Node75.a('node.text') || '0';
  4983. var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
  4984. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node75fontSize + 'px "Arial"', 0,g);
  4985. });
  4986. }
  4987. if (false) {
  4988. Node75.a('node.underlinepoints',[Node75lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]);
  4989. Node75.a('node.underlinevisible',false);
  4990. Node75.a('node.underlineBorderWidth', 1);
  4991. }
  4992. dataModel.add(Node75);
  4993. zoomNodeList.push({
  4994. node: Node75,
  4995. borderWidth: 0,
  4996. attr: 'node.borderwidth'
  4997. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4998. var Node76 = new ht.Node();
  4999. var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 37*_ratio.ratioX, Node76height = 16*_ratio.ratioY;
  5000. (function () {
  5001. if (Node76align === 'left') {
  5002. Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9;
  5003. Node76textWidth = Node76width;
  5004. Node76lineStart = 1;
  5005. } else if (Node76align === 'right') {
  5006. Node76textStart = 0;
  5007. Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2;
  5008. Node76lineStart = (Node76width - (ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5;
  5009. } else if (Node76align === 'center') {
  5010. Node76textStart = -3;
  5011. Node76textWidth = Node76width;
  5012. Node76lineStart = Node76width - ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width - 11;
  5013. }
  5014. })();
  5015. Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, 'bold '+ Node76fontSize + 'px "Arial"'))
  5016. Node76.setPosition(926*ratio.ratioX, 201*ratio.ratioY);
  5017. Node76.setWidth(Node76width);
  5018. Node76.setHeight(Node76height);
  5019. Node76._nodeType = 'text';
  5020. Node76._disallowEvert = true;
  5021. Node76.setRotation(0*Math.PI/180);
  5022. Node76.a('node.width', Node76width);
  5023. Node76.a('node.height', Node76height);
  5024. Node76.a('node.rect', [0, 0, Node76width, Node76height]);
  5025. Node76.a('node.bordercolor','rgba(0,0,0,1)');
  5026. Node76.a('node.borderwidth', 0);
  5027. Node76.a('node.background','' || 'rgba(0,0,0,0)');
  5028. Node76.a('node.gradient','');
  5029. Node76.a('node.gradientcolor','');
  5030. Node76.a('node.text','-');
  5031. Node76.a('node.textalign','left');
  5032. Node76.a('node.textvAlign','middle');
  5033. Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
  5034. Node76.a('node.color','rgba(0,0,0,1)');
  5035. Node76.a('node.font','bold '+ Node76fontSize + 'px "Arial"');
  5036. Node76.a('node.textvisible',true);
  5037. Node76.a('node.linefeed',false);
  5038. if (false) {
  5039. Node76.a('node.textfunc',function(g) {
  5040. g.beginPath();
  5041. var str=Node76.a('node.text') || '-';
  5042. var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
  5043. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node76fontSize + 'px "Arial"', 0,g);
  5044. });
  5045. }
  5046. if (false) {
  5047. Node76.a('node.underlinepoints',[Node76lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]);
  5048. Node76.a('node.underlinevisible',false);
  5049. Node76.a('node.underlineBorderWidth', 1);
  5050. }
  5051. dataModel.add(Node76);
  5052. zoomNodeList.push({
  5053. node: Node76,
  5054. borderWidth: 0,
  5055. attr: 'node.borderwidth'
  5056. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5057. var Node77 = new ht.Node();
  5058. var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'left', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 47*_ratio.ratioX, Node77height = 17*_ratio.ratioY;
  5059. (function () {
  5060. if (Node77align === 'left') {
  5061. Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
  5062. Node77textWidth = Node77width;
  5063. Node77lineStart = 1;
  5064. } else if (Node77align === 'right') {
  5065. Node77textStart = 0;
  5066. Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
  5067. Node77lineStart = (Node77width - (ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
  5068. } else if (Node77align === 'center') {
  5069. Node77textStart = -3;
  5070. Node77textWidth = Node77width;
  5071. Node77lineStart = Node77width - ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width - 11;
  5072. }
  5073. })();
  5074. Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
  5075. Node77.setPosition(980*ratio.ratioX, 127*ratio.ratioY);
  5076. Node77.setWidth(Node77width);
  5077. Node77.setHeight(Node77height);
  5078. Node77._nodeType = 'text';
  5079. Node77._disallowEvert = true;
  5080. Node77.setRotation(0*Math.PI/180);
  5081. Node77.a('node.width', Node77width);
  5082. Node77.a('node.height', Node77height);
  5083. Node77.a('node.rect', [0, 0, Node77width, Node77height]);
  5084. Node77.a('node.bordercolor','rgba(169,169,169,1)');
  5085. Node77.a('node.borderwidth', 0);
  5086. Node77.a('node.background','' || 'rgba(0,0,0,0)');
  5087. Node77.a('node.gradient','');
  5088. Node77.a('node.gradientcolor','');
  5089. Node77.a('node.text','万kW');
  5090. Node77.a('node.textalign','left');
  5091. Node77.a('node.textvAlign','middle');
  5092. Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
  5093. Node77.a('node.color','rgba(169,169,169,1)');
  5094. Node77.a('node.font',' '+ Node77fontSize + 'px "Arial"');
  5095. Node77.a('node.textvisible',true);
  5096. Node77.a('node.linefeed',false);
  5097. if (false) {
  5098. Node77.a('node.textfunc',function(g) {
  5099. g.beginPath();
  5100. var str=Node77.a('node.text') || '万kW';
  5101. var color=Node77.a('node.color') || 'rgba(169,169,169,1)';
  5102. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
  5103. });
  5104. }
  5105. if (false) {
  5106. Node77.a('node.underlinepoints',[Node77lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
  5107. Node77.a('node.underlinevisible',false);
  5108. Node77.a('node.underlineBorderWidth', 1);
  5109. }
  5110. dataModel.add(Node77);
  5111. zoomNodeList.push({
  5112. node: Node77,
  5113. borderWidth: 0,
  5114. attr: 'node.borderwidth'
  5115. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5116. var Node78 = new ht.Node();
  5117. var Node78textStart, Node78textWidth, Node78lineStart, Node78align = 'left', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 37*_ratio.ratioX, Node78height = 16*_ratio.ratioY;
  5118. (function () {
  5119. if (Node78align === 'left') {
  5120. Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9;
  5121. Node78textWidth = Node78width;
  5122. Node78lineStart = 1;
  5123. } else if (Node78align === 'right') {
  5124. Node78textStart = 0;
  5125. Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2;
  5126. Node78lineStart = (Node78width - (ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5;
  5127. } else if (Node78align === 'center') {
  5128. Node78textStart = -3;
  5129. Node78textWidth = Node78width;
  5130. Node78lineStart = Node78width - ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width - 11;
  5131. }
  5132. })();
  5133. Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, 'bold '+ Node78fontSize + 'px "Arial"'))
  5134. Node78.setPosition(927*ratio.ratioX, 226*ratio.ratioY);
  5135. Node78.setWidth(Node78width);
  5136. Node78.setHeight(Node78height);
  5137. Node78._nodeType = 'text';
  5138. Node78._disallowEvert = true;
  5139. Node78.setRotation(0*Math.PI/180);
  5140. Node78.a('node.width', Node78width);
  5141. Node78.a('node.height', Node78height);
  5142. Node78.a('node.rect', [0, 0, Node78width, Node78height]);
  5143. Node78.a('node.bordercolor','rgba(0,0,0,1)');
  5144. Node78.a('node.borderwidth', 0);
  5145. Node78.a('node.background','' || 'rgba(0,0,0,0)');
  5146. Node78.a('node.gradient','');
  5147. Node78.a('node.gradientcolor','');
  5148. Node78.a('node.text','-');
  5149. Node78.a('node.textalign','left');
  5150. Node78.a('node.textvAlign','middle');
  5151. Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]);
  5152. Node78.a('node.color','rgba(0,0,0,1)');
  5153. Node78.a('node.font','bold '+ Node78fontSize + 'px "Arial"');
  5154. Node78.a('node.textvisible',true);
  5155. Node78.a('node.linefeed',false);
  5156. if (false) {
  5157. Node78.a('node.textfunc',function(g) {
  5158. g.beginPath();
  5159. var str=Node78.a('node.text') || '-';
  5160. var color=Node78.a('node.color') || 'rgba(0,0,0,1)';
  5161. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node78fontSize + 'px "Arial"', 0,g);
  5162. });
  5163. }
  5164. if (false) {
  5165. Node78.a('node.underlinepoints',[Node78lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width + 6, (Node78height - Node78fontSize) * 0.5*_ratio.ratioY + Node78fontSize + 2 ]);
  5166. Node78.a('node.underlinevisible',false);
  5167. Node78.a('node.underlineBorderWidth', 1);
  5168. }
  5169. dataModel.add(Node78);
  5170. zoomNodeList.push({
  5171. node: Node78,
  5172. borderWidth: 0,
  5173. attr: 'node.borderwidth'
  5174. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5175. var Node79 = new ht.Node();
  5176. var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'left', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 47*_ratio.ratioX, Node79height = 17*_ratio.ratioY;
  5177. (function () {
  5178. if (Node79align === 'left') {
  5179. Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9;
  5180. Node79textWidth = Node79width;
  5181. Node79lineStart = 1;
  5182. } else if (Node79align === 'right') {
  5183. Node79textStart = 0;
  5184. Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2;
  5185. Node79lineStart = (Node79width - (ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5;
  5186. } else if (Node79align === 'center') {
  5187. Node79textStart = -3;
  5188. Node79textWidth = Node79width;
  5189. Node79lineStart = Node79width - ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width - 11;
  5190. }
  5191. })();
  5192. Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"'))
  5193. Node79.setPosition(980*ratio.ratioX, 153*ratio.ratioY);
  5194. Node79.setWidth(Node79width);
  5195. Node79.setHeight(Node79height);
  5196. Node79._nodeType = 'text';
  5197. Node79._disallowEvert = true;
  5198. Node79.setRotation(0*Math.PI/180);
  5199. Node79.a('node.width', Node79width);
  5200. Node79.a('node.height', Node79height);
  5201. Node79.a('node.rect', [0, 0, Node79width, Node79height]);
  5202. Node79.a('node.bordercolor','rgba(169,169,169,1)');
  5203. Node79.a('node.borderwidth', 0);
  5204. Node79.a('node.background','' || 'rgba(0,0,0,0)');
  5205. Node79.a('node.gradient','');
  5206. Node79.a('node.gradientcolor','');
  5207. Node79.a('node.text','万kW');
  5208. Node79.a('node.textalign','left');
  5209. Node79.a('node.textvAlign','middle');
  5210. Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
  5211. Node79.a('node.color','rgba(169,169,169,1)');
  5212. Node79.a('node.font',' '+ Node79fontSize + 'px "Arial"');
  5213. Node79.a('node.textvisible',true);
  5214. Node79.a('node.linefeed',false);
  5215. if (false) {
  5216. Node79.a('node.textfunc',function(g) {
  5217. g.beginPath();
  5218. var str=Node79.a('node.text') || '万kW';
  5219. var color=Node79.a('node.color') || 'rgba(169,169,169,1)';
  5220. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"left",color,' '+ Node79fontSize + 'px "Arial"', 0,g);
  5221. });
  5222. }
  5223. if (false) {
  5224. Node79.a('node.underlinepoints',[Node79lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]);
  5225. Node79.a('node.underlinevisible',false);
  5226. Node79.a('node.underlineBorderWidth', 1);
  5227. }
  5228. dataModel.add(Node79);
  5229. zoomNodeList.push({
  5230. node: Node79,
  5231. borderWidth: 0,
  5232. attr: 'node.borderwidth'
  5233. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5234. var Node80 = new ht.Node();
  5235. var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 47*_ratio.ratioX, Node80height = 17*_ratio.ratioY;
  5236. (function () {
  5237. if (Node80align === 'left') {
  5238. Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
  5239. Node80textWidth = Node80width;
  5240. Node80lineStart = 1;
  5241. } else if (Node80align === 'right') {
  5242. Node80textStart = 0;
  5243. Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
  5244. Node80lineStart = (Node80width - (ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
  5245. } else if (Node80align === 'center') {
  5246. Node80textStart = -3;
  5247. Node80textWidth = Node80width;
  5248. Node80lineStart = Node80width - ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width - 11;
  5249. }
  5250. })();
  5251. Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
  5252. Node80.setPosition(980*ratio.ratioX, 178*ratio.ratioY);
  5253. Node80.setWidth(Node80width);
  5254. Node80.setHeight(Node80height);
  5255. Node80._nodeType = 'text';
  5256. Node80._disallowEvert = true;
  5257. Node80.setRotation(0*Math.PI/180);
  5258. Node80.a('node.width', Node80width);
  5259. Node80.a('node.height', Node80height);
  5260. Node80.a('node.rect', [0, 0, Node80width, Node80height]);
  5261. Node80.a('node.bordercolor','rgba(169,169,169,1)');
  5262. Node80.a('node.borderwidth', 0);
  5263. Node80.a('node.background','' || 'rgba(0,0,0,0)');
  5264. Node80.a('node.gradient','');
  5265. Node80.a('node.gradientcolor','');
  5266. Node80.a('node.text','万kW');
  5267. Node80.a('node.textalign','left');
  5268. Node80.a('node.textvAlign','middle');
  5269. Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
  5270. Node80.a('node.color','rgba(169,169,169,1)');
  5271. Node80.a('node.font',' '+ Node80fontSize + 'px "Arial"');
  5272. Node80.a('node.textvisible',true);
  5273. Node80.a('node.linefeed',false);
  5274. if (false) {
  5275. Node80.a('node.textfunc',function(g) {
  5276. g.beginPath();
  5277. var str=Node80.a('node.text') || '万kW';
  5278. var color=Node80.a('node.color') || 'rgba(169,169,169,1)';
  5279. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
  5280. });
  5281. }
  5282. if (false) {
  5283. Node80.a('node.underlinepoints',[Node80lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
  5284. Node80.a('node.underlinevisible',false);
  5285. Node80.a('node.underlineBorderWidth', 1);
  5286. }
  5287. dataModel.add(Node80);
  5288. zoomNodeList.push({
  5289. node: Node80,
  5290. borderWidth: 0,
  5291. attr: 'node.borderwidth'
  5292. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5293. var Node81 = new ht.Node();
  5294. var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'left', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 47*_ratio.ratioX, Node81height = 17*_ratio.ratioY;
  5295. (function () {
  5296. if (Node81align === 'left') {
  5297. Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
  5298. Node81textWidth = Node81width;
  5299. Node81lineStart = 1;
  5300. } else if (Node81align === 'right') {
  5301. Node81textStart = 0;
  5302. Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
  5303. Node81lineStart = (Node81width - (ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5;
  5304. } else if (Node81align === 'center') {
  5305. Node81textStart = -3;
  5306. Node81textWidth = Node81width;
  5307. Node81lineStart = Node81width - ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width - 11;
  5308. }
  5309. })();
  5310. Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"'))
  5311. Node81.setPosition(980*ratio.ratioX, 205*ratio.ratioY);
  5312. Node81.setWidth(Node81width);
  5313. Node81.setHeight(Node81height);
  5314. Node81._nodeType = 'text';
  5315. Node81._disallowEvert = true;
  5316. Node81.setRotation(0*Math.PI/180);
  5317. Node81.a('node.width', Node81width);
  5318. Node81.a('node.height', Node81height);
  5319. Node81.a('node.rect', [0, 0, Node81width, Node81height]);
  5320. Node81.a('node.bordercolor','rgba(169,169,169,1)');
  5321. Node81.a('node.borderwidth', 0);
  5322. Node81.a('node.background','' || 'rgba(0,0,0,0)');
  5323. Node81.a('node.gradient','');
  5324. Node81.a('node.gradientcolor','');
  5325. Node81.a('node.text','吨');
  5326. Node81.a('node.textalign','left');
  5327. Node81.a('node.textvAlign','middle');
  5328. Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
  5329. Node81.a('node.color','rgba(169,169,169,1)');
  5330. Node81.a('node.font',' '+ Node81fontSize + 'px "Arial"');
  5331. Node81.a('node.textvisible',true);
  5332. Node81.a('node.linefeed',false);
  5333. if (false) {
  5334. Node81.a('node.textfunc',function(g) {
  5335. g.beginPath();
  5336. var str=Node81.a('node.text') || '吨';
  5337. var color=Node81.a('node.color') || 'rgba(169,169,169,1)';
  5338. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"left",color,' '+ Node81fontSize + 'px "Arial"', 0,g);
  5339. });
  5340. }
  5341. if (false) {
  5342. Node81.a('node.underlinepoints',[Node81lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]);
  5343. Node81.a('node.underlinevisible',false);
  5344. Node81.a('node.underlineBorderWidth', 1);
  5345. }
  5346. dataModel.add(Node81);
  5347. zoomNodeList.push({
  5348. node: Node81,
  5349. borderWidth: 0,
  5350. attr: 'node.borderwidth'
  5351. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5352. var Node82 = new ht.Node();
  5353. var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'left', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 47*_ratio.ratioX, Node82height = 17*_ratio.ratioY;
  5354. (function () {
  5355. if (Node82align === 'left') {
  5356. Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
  5357. Node82textWidth = Node82width;
  5358. Node82lineStart = 1;
  5359. } else if (Node82align === 'right') {
  5360. Node82textStart = 0;
  5361. Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
  5362. Node82lineStart = (Node82width - (ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width + 6)) * 0.5;
  5363. } else if (Node82align === 'center') {
  5364. Node82textStart = -3;
  5365. Node82textWidth = Node82width;
  5366. Node82lineStart = Node82width - ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width - 11;
  5367. }
  5368. })();
  5369. Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "Arial"'))
  5370. Node82.setPosition(980*ratio.ratioX, 227*ratio.ratioY);
  5371. Node82.setWidth(Node82width);
  5372. Node82.setHeight(Node82height);
  5373. Node82._nodeType = 'text';
  5374. Node82._disallowEvert = true;
  5375. Node82.setRotation(0*Math.PI/180);
  5376. Node82.a('node.width', Node82width);
  5377. Node82.a('node.height', Node82height);
  5378. Node82.a('node.rect', [0, 0, Node82width, Node82height]);
  5379. Node82.a('node.bordercolor','rgba(169,169,169,1)');
  5380. Node82.a('node.borderwidth', 0);
  5381. Node82.a('node.background','' || 'rgba(0,0,0,0)');
  5382. Node82.a('node.gradient','');
  5383. Node82.a('node.gradientcolor','');
  5384. Node82.a('node.text','吨');
  5385. Node82.a('node.textalign','left');
  5386. Node82.a('node.textvAlign','middle');
  5387. Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
  5388. Node82.a('node.color','rgba(169,169,169,1)');
  5389. Node82.a('node.font',' '+ Node82fontSize + 'px "Arial"');
  5390. Node82.a('node.textvisible',true);
  5391. Node82.a('node.linefeed',false);
  5392. if (false) {
  5393. Node82.a('node.textfunc',function(g) {
  5394. g.beginPath();
  5395. var str=Node82.a('node.text') || '吨';
  5396. var color=Node82.a('node.color') || 'rgba(169,169,169,1)';
  5397. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"left",color,' '+ Node82fontSize + 'px "Arial"', 0,g);
  5398. });
  5399. }
  5400. if (false) {
  5401. Node82.a('node.underlinepoints',[Node82lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
  5402. Node82.a('node.underlinevisible',false);
  5403. Node82.a('node.underlineBorderWidth', 1);
  5404. }
  5405. dataModel.add(Node82);
  5406. zoomNodeList.push({
  5407. node: Node82,
  5408. borderWidth: 0,
  5409. attr: 'node.borderwidth'
  5410. }); var Node83points=[758, 142,1035, 142],
  5411. Node83rect=ht.Default.unionPoint([{x:758,y:142},{x:1035,y:142}]),
  5412. Node83compspts=[];
  5413. _ratio = GD.getRatioWithRotation(0, ratio);
  5414. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5415. _endratio = GD.getRatioWithRotation(0, ratio);
  5416. for(var i=0;i<Node83points.length;i++){
  5417. if(i%2==0){
  5418. Node83compspts.push(Node83points[i]-Node83rect.x);
  5419. }else{
  5420. Node83compspts.push(Node83points[i]-Node83rect.y);
  5421. }
  5422. }
  5423. var Node83ptslength=Node83compspts.length;
  5424. if (Node83rect.height === 0) {
  5425. Node83compspts[0] -= 0;
  5426. Node83compspts[Node83ptslength-2] += 0;
  5427. } else if (Node83rect.width === 0){
  5428. Node83compspts[1] -= 0;
  5429. Node83compspts[Node83ptslength-1] += 0;
  5430. } else {
  5431. Node83compspts[0] -= 0;
  5432. Node83compspts[1] -= 0;
  5433. Node83compspts[Node83ptslength-2] += 0;
  5434. Node83compspts[Node83ptslength-1] += 0;
  5435. }
  5436. Node83 = new ht.Node();
  5437. Node83.borderWidth = 1;
  5438. Node83rect.width = Node83rect.width === 0 ? 0.0001 : Node83rect.width;
  5439. Node83rect.height = Node83rect.height === 0 ? 0.0001 : Node83rect.height;
  5440. var Node83endCompspts = [Node83compspts[Node83ptslength-2],Node83compspts[Node83ptslength-1],0,0];
  5441. var Node83startCompspts = [Node83compspts[0],Node83compspts[1],0,0];
  5442. Node83.setImage(GD.getPolyLineJSON());
  5443. Node83.setPosition(Node83rect.x+Node83rect.width/2,Node83rect.y+Node83rect.height/2);
  5444. Node83.setSize(Node83rect.width,Node83rect.height);
  5445. Node83.setStyle("opacity",1);
  5446. Node83.s({'pixelPerfect':true});
  5447. Node83borderwidth=1;
  5448. Node83.setRotation(0);
  5449. dataModel.add(Node83);
  5450. Node83.a('node.points',Node83compspts);
  5451. Node83.a('node.segments',[1,2]);
  5452. Node83.a('node.color','rgba(220,220,220,1)');
  5453. Node83.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5454. Node83.a('node.borderColor','rgba(220,220,220,1)');
  5455. Node83.a('node.background','rgba(220,220,220,1)');
  5456. Node83.a('node.gradient','');
  5457. Node83.a('node.gradientcolor','rgba(220,220,220,1)');
  5458. Node83.a('node.endCompspts',Node83endCompspts);
  5459. Node83.a('node.startCompspts',Node83startCompspts);
  5460. (function (node, img, compspts, endCompspts, startCompspts) {
  5461. var position = node.getPosition(),
  5462. w = node.getWidth()*_ratio.ratioX,
  5463. h = node.getHeight()*_ratio.ratioY;
  5464. function resetPoints(rx, ry) {
  5465. for (var i = 0, len = compspts.length; i < len; i++) {
  5466. if (i%2 === 0) {
  5467. compspts[i]*=rx;
  5468. } else {
  5469. compspts[i]*=ry;
  5470. }
  5471. }
  5472. endCompspts[0] = compspts[compspts.length-2];
  5473. endCompspts[1] = compspts[compspts.length-1];
  5474. endCompspts[2] *= rx;
  5475. endCompspts[3] *= ry;
  5476. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5477. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5478. startCompspts[0] = compspts[0];
  5479. startCompspts[1] = compspts[1];
  5480. startCompspts[2] *= rx;
  5481. startCompspts[3] *= ry;
  5482. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5483. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5484. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5485. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5486. }
  5487. node.setSize(w, h);
  5488. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5489. node.a('node.width', w);
  5490. node.a('node.height', h);
  5491. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5492. node.borderWidth = 1;
  5493. node.a('node.borderwidth',node.borderWidth);
  5494. node._nodename = 'Node83';
  5495. node._nodeType = 'line';
  5496. zoomNodeList.push({
  5497. node: node,
  5498. attr: 'node.borderwidth'
  5499. });
  5500. var setWidth = node.setWidth,
  5501. setHeight = node.setHeight,
  5502. timer, rx = 1, ry = 1;
  5503. node.setWidth = function (width) {
  5504. var _width = this.getWidth();
  5505. rx = width / _width;
  5506. node.a('node.width', width);
  5507. setWidth.apply(this, arguments);
  5508. resetPoints(rx, 1);
  5509. }
  5510. node.setHeight = function (height) {
  5511. var _height = this.getHeight();
  5512. ry = height / _height;
  5513. node.a('node.height', height);
  5514. setHeight.apply(this, arguments);
  5515. resetPoints(1, ry);
  5516. }
  5517. })(Node83, Node83.getImage(), Node83compspts, Node83endCompspts, Node83startCompspts);
  5518. var Node84points=[756, 168,1033, 168],
  5519. Node84rect=ht.Default.unionPoint([{x:756,y:168},{x:1033,y:168}]),
  5520. Node84compspts=[];
  5521. _ratio = GD.getRatioWithRotation(0, ratio);
  5522. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5523. _endratio = GD.getRatioWithRotation(0, ratio);
  5524. for(var i=0;i<Node84points.length;i++){
  5525. if(i%2==0){
  5526. Node84compspts.push(Node84points[i]-Node84rect.x);
  5527. }else{
  5528. Node84compspts.push(Node84points[i]-Node84rect.y);
  5529. }
  5530. }
  5531. var Node84ptslength=Node84compspts.length;
  5532. if (Node84rect.height === 0) {
  5533. Node84compspts[0] -= 0;
  5534. Node84compspts[Node84ptslength-2] += 0;
  5535. } else if (Node84rect.width === 0){
  5536. Node84compspts[1] -= 0;
  5537. Node84compspts[Node84ptslength-1] += 0;
  5538. } else {
  5539. Node84compspts[0] -= 0;
  5540. Node84compspts[1] -= 0;
  5541. Node84compspts[Node84ptslength-2] += 0;
  5542. Node84compspts[Node84ptslength-1] += 0;
  5543. }
  5544. Node84 = new ht.Node();
  5545. Node84.borderWidth = 1;
  5546. Node84rect.width = Node84rect.width === 0 ? 0.0001 : Node84rect.width;
  5547. Node84rect.height = Node84rect.height === 0 ? 0.0001 : Node84rect.height;
  5548. var Node84endCompspts = [Node84compspts[Node84ptslength-2],Node84compspts[Node84ptslength-1],0,0];
  5549. var Node84startCompspts = [Node84compspts[0],Node84compspts[1],0,0];
  5550. Node84.setImage(GD.getPolyLineJSON());
  5551. Node84.setPosition(Node84rect.x+Node84rect.width/2,Node84rect.y+Node84rect.height/2);
  5552. Node84.setSize(Node84rect.width,Node84rect.height);
  5553. Node84.setStyle("opacity",1);
  5554. Node84.s({'pixelPerfect':true});
  5555. Node84borderwidth=1;
  5556. Node84.setRotation(0);
  5557. dataModel.add(Node84);
  5558. Node84.a('node.points',Node84compspts);
  5559. Node84.a('node.segments',[1,2]);
  5560. Node84.a('node.color','rgba(220,220,220,1)');
  5561. Node84.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5562. Node84.a('node.borderColor','rgba(220,220,220,1)');
  5563. Node84.a('node.background','rgba(220,220,220,1)');
  5564. Node84.a('node.gradient','');
  5565. Node84.a('node.gradientcolor','rgba(220,220,220,1)');
  5566. Node84.a('node.endCompspts',Node84endCompspts);
  5567. Node84.a('node.startCompspts',Node84startCompspts);
  5568. (function (node, img, compspts, endCompspts, startCompspts) {
  5569. var position = node.getPosition(),
  5570. w = node.getWidth()*_ratio.ratioX,
  5571. h = node.getHeight()*_ratio.ratioY;
  5572. function resetPoints(rx, ry) {
  5573. for (var i = 0, len = compspts.length; i < len; i++) {
  5574. if (i%2 === 0) {
  5575. compspts[i]*=rx;
  5576. } else {
  5577. compspts[i]*=ry;
  5578. }
  5579. }
  5580. endCompspts[0] = compspts[compspts.length-2];
  5581. endCompspts[1] = compspts[compspts.length-1];
  5582. endCompspts[2] *= rx;
  5583. endCompspts[3] *= ry;
  5584. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5585. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5586. startCompspts[0] = compspts[0];
  5587. startCompspts[1] = compspts[1];
  5588. startCompspts[2] *= rx;
  5589. startCompspts[3] *= ry;
  5590. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5591. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5592. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5593. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5594. }
  5595. node.setSize(w, h);
  5596. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5597. node.a('node.width', w);
  5598. node.a('node.height', h);
  5599. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5600. node.borderWidth = 1;
  5601. node.a('node.borderwidth',node.borderWidth);
  5602. node._nodename = 'Node84';
  5603. node._nodeType = 'line';
  5604. zoomNodeList.push({
  5605. node: node,
  5606. attr: 'node.borderwidth'
  5607. });
  5608. var setWidth = node.setWidth,
  5609. setHeight = node.setHeight,
  5610. timer, rx = 1, ry = 1;
  5611. node.setWidth = function (width) {
  5612. var _width = this.getWidth();
  5613. rx = width / _width;
  5614. node.a('node.width', width);
  5615. setWidth.apply(this, arguments);
  5616. resetPoints(rx, 1);
  5617. }
  5618. node.setHeight = function (height) {
  5619. var _height = this.getHeight();
  5620. ry = height / _height;
  5621. node.a('node.height', height);
  5622. setHeight.apply(this, arguments);
  5623. resetPoints(1, ry);
  5624. }
  5625. })(Node84, Node84.getImage(), Node84compspts, Node84endCompspts, Node84startCompspts);
  5626. var Node85points=[758, 192,1035, 192],
  5627. Node85rect=ht.Default.unionPoint([{x:758,y:192},{x:1035,y:192}]),
  5628. Node85compspts=[];
  5629. _ratio = GD.getRatioWithRotation(0, ratio);
  5630. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5631. _endratio = GD.getRatioWithRotation(0, ratio);
  5632. for(var i=0;i<Node85points.length;i++){
  5633. if(i%2==0){
  5634. Node85compspts.push(Node85points[i]-Node85rect.x);
  5635. }else{
  5636. Node85compspts.push(Node85points[i]-Node85rect.y);
  5637. }
  5638. }
  5639. var Node85ptslength=Node85compspts.length;
  5640. if (Node85rect.height === 0) {
  5641. Node85compspts[0] -= 0;
  5642. Node85compspts[Node85ptslength-2] += 0;
  5643. } else if (Node85rect.width === 0){
  5644. Node85compspts[1] -= 0;
  5645. Node85compspts[Node85ptslength-1] += 0;
  5646. } else {
  5647. Node85compspts[0] -= 0;
  5648. Node85compspts[1] -= 0;
  5649. Node85compspts[Node85ptslength-2] += 0;
  5650. Node85compspts[Node85ptslength-1] += 0;
  5651. }
  5652. Node85 = new ht.Node();
  5653. Node85.borderWidth = 1;
  5654. Node85rect.width = Node85rect.width === 0 ? 0.0001 : Node85rect.width;
  5655. Node85rect.height = Node85rect.height === 0 ? 0.0001 : Node85rect.height;
  5656. var Node85endCompspts = [Node85compspts[Node85ptslength-2],Node85compspts[Node85ptslength-1],0,0];
  5657. var Node85startCompspts = [Node85compspts[0],Node85compspts[1],0,0];
  5658. Node85.setImage(GD.getPolyLineJSON());
  5659. Node85.setPosition(Node85rect.x+Node85rect.width/2,Node85rect.y+Node85rect.height/2);
  5660. Node85.setSize(Node85rect.width,Node85rect.height);
  5661. Node85.setStyle("opacity",1);
  5662. Node85.s({'pixelPerfect':true});
  5663. Node85borderwidth=1;
  5664. Node85.setRotation(0);
  5665. dataModel.add(Node85);
  5666. Node85.a('node.points',Node85compspts);
  5667. Node85.a('node.segments',[1,2]);
  5668. Node85.a('node.color','rgba(220,220,220,1)');
  5669. Node85.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5670. Node85.a('node.borderColor','rgba(220,220,220,1)');
  5671. Node85.a('node.background','rgba(220,220,220,1)');
  5672. Node85.a('node.gradient','');
  5673. Node85.a('node.gradientcolor','rgba(220,220,220,1)');
  5674. Node85.a('node.endCompspts',Node85endCompspts);
  5675. Node85.a('node.startCompspts',Node85startCompspts);
  5676. (function (node, img, compspts, endCompspts, startCompspts) {
  5677. var position = node.getPosition(),
  5678. w = node.getWidth()*_ratio.ratioX,
  5679. h = node.getHeight()*_ratio.ratioY;
  5680. function resetPoints(rx, ry) {
  5681. for (var i = 0, len = compspts.length; i < len; i++) {
  5682. if (i%2 === 0) {
  5683. compspts[i]*=rx;
  5684. } else {
  5685. compspts[i]*=ry;
  5686. }
  5687. }
  5688. endCompspts[0] = compspts[compspts.length-2];
  5689. endCompspts[1] = compspts[compspts.length-1];
  5690. endCompspts[2] *= rx;
  5691. endCompspts[3] *= ry;
  5692. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5693. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5694. startCompspts[0] = compspts[0];
  5695. startCompspts[1] = compspts[1];
  5696. startCompspts[2] *= rx;
  5697. startCompspts[3] *= ry;
  5698. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5699. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5700. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5701. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5702. }
  5703. node.setSize(w, h);
  5704. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5705. node.a('node.width', w);
  5706. node.a('node.height', h);
  5707. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5708. node.borderWidth = 1;
  5709. node.a('node.borderwidth',node.borderWidth);
  5710. node._nodename = 'Node85';
  5711. node._nodeType = 'line';
  5712. zoomNodeList.push({
  5713. node: node,
  5714. attr: 'node.borderwidth'
  5715. });
  5716. var setWidth = node.setWidth,
  5717. setHeight = node.setHeight,
  5718. timer, rx = 1, ry = 1;
  5719. node.setWidth = function (width) {
  5720. var _width = this.getWidth();
  5721. rx = width / _width;
  5722. node.a('node.width', width);
  5723. setWidth.apply(this, arguments);
  5724. resetPoints(rx, 1);
  5725. }
  5726. node.setHeight = function (height) {
  5727. var _height = this.getHeight();
  5728. ry = height / _height;
  5729. node.a('node.height', height);
  5730. setHeight.apply(this, arguments);
  5731. resetPoints(1, ry);
  5732. }
  5733. })(Node85, Node85.getImage(), Node85compspts, Node85endCompspts, Node85startCompspts);
  5734. var Node86points=[758, 215,1035, 215],
  5735. Node86rect=ht.Default.unionPoint([{x:758,y:215},{x:1035,y:215}]),
  5736. Node86compspts=[];
  5737. _ratio = GD.getRatioWithRotation(0, ratio);
  5738. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5739. _endratio = GD.getRatioWithRotation(0, ratio);
  5740. for(var i=0;i<Node86points.length;i++){
  5741. if(i%2==0){
  5742. Node86compspts.push(Node86points[i]-Node86rect.x);
  5743. }else{
  5744. Node86compspts.push(Node86points[i]-Node86rect.y);
  5745. }
  5746. }
  5747. var Node86ptslength=Node86compspts.length;
  5748. if (Node86rect.height === 0) {
  5749. Node86compspts[0] -= 0;
  5750. Node86compspts[Node86ptslength-2] += 0;
  5751. } else if (Node86rect.width === 0){
  5752. Node86compspts[1] -= 0;
  5753. Node86compspts[Node86ptslength-1] += 0;
  5754. } else {
  5755. Node86compspts[0] -= 0;
  5756. Node86compspts[1] -= 0;
  5757. Node86compspts[Node86ptslength-2] += 0;
  5758. Node86compspts[Node86ptslength-1] += 0;
  5759. }
  5760. Node86 = new ht.Node();
  5761. Node86.borderWidth = 1;
  5762. Node86rect.width = Node86rect.width === 0 ? 0.0001 : Node86rect.width;
  5763. Node86rect.height = Node86rect.height === 0 ? 0.0001 : Node86rect.height;
  5764. var Node86endCompspts = [Node86compspts[Node86ptslength-2],Node86compspts[Node86ptslength-1],0,0];
  5765. var Node86startCompspts = [Node86compspts[0],Node86compspts[1],0,0];
  5766. Node86.setImage(GD.getPolyLineJSON());
  5767. Node86.setPosition(Node86rect.x+Node86rect.width/2,Node86rect.y+Node86rect.height/2);
  5768. Node86.setSize(Node86rect.width,Node86rect.height);
  5769. Node86.setStyle("opacity",1);
  5770. Node86.s({'pixelPerfect':true});
  5771. Node86borderwidth=1;
  5772. Node86.setRotation(0);
  5773. dataModel.add(Node86);
  5774. Node86.a('node.points',Node86compspts);
  5775. Node86.a('node.segments',[1,2]);
  5776. Node86.a('node.color','rgba(220,220,220,1)');
  5777. Node86.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5778. Node86.a('node.borderColor','rgba(220,220,220,1)');
  5779. Node86.a('node.background','rgba(220,220,220,1)');
  5780. Node86.a('node.gradient','');
  5781. Node86.a('node.gradientcolor','rgba(220,220,220,1)');
  5782. Node86.a('node.endCompspts',Node86endCompspts);
  5783. Node86.a('node.startCompspts',Node86startCompspts);
  5784. (function (node, img, compspts, endCompspts, startCompspts) {
  5785. var position = node.getPosition(),
  5786. w = node.getWidth()*_ratio.ratioX,
  5787. h = node.getHeight()*_ratio.ratioY;
  5788. function resetPoints(rx, ry) {
  5789. for (var i = 0, len = compspts.length; i < len; i++) {
  5790. if (i%2 === 0) {
  5791. compspts[i]*=rx;
  5792. } else {
  5793. compspts[i]*=ry;
  5794. }
  5795. }
  5796. endCompspts[0] = compspts[compspts.length-2];
  5797. endCompspts[1] = compspts[compspts.length-1];
  5798. endCompspts[2] *= rx;
  5799. endCompspts[3] *= ry;
  5800. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5801. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5802. startCompspts[0] = compspts[0];
  5803. startCompspts[1] = compspts[1];
  5804. startCompspts[2] *= rx;
  5805. startCompspts[3] *= ry;
  5806. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5807. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5808. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5809. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5810. }
  5811. node.setSize(w, h);
  5812. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5813. node.a('node.width', w);
  5814. node.a('node.height', h);
  5815. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5816. node.borderWidth = 1;
  5817. node.a('node.borderwidth',node.borderWidth);
  5818. node._nodename = 'Node86';
  5819. node._nodeType = 'line';
  5820. zoomNodeList.push({
  5821. node: node,
  5822. attr: 'node.borderwidth'
  5823. });
  5824. var setWidth = node.setWidth,
  5825. setHeight = node.setHeight,
  5826. timer, rx = 1, ry = 1;
  5827. node.setWidth = function (width) {
  5828. var _width = this.getWidth();
  5829. rx = width / _width;
  5830. node.a('node.width', width);
  5831. setWidth.apply(this, arguments);
  5832. resetPoints(rx, 1);
  5833. }
  5834. node.setHeight = function (height) {
  5835. var _height = this.getHeight();
  5836. ry = height / _height;
  5837. node.a('node.height', height);
  5838. setHeight.apply(this, arguments);
  5839. resetPoints(1, ry);
  5840. }
  5841. })(Node86, Node86.getImage(), Node86compspts, Node86endCompspts, Node86startCompspts);
  5842. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5843. var Node87type = 'rect';
  5844. var Node87 = new ht.Node(),
  5845. Node87BorderWidth = 1*2;
  5846. if (Node87type === 'arc') {
  5847. Node87BorderWidth *= 1;
  5848. }
  5849. Node87.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  5850. Node87.setPosition(1103*ratio.ratioX, 178*ratio.ratioY);
  5851. Node87.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  5852. Node87.s({
  5853. 'pixelPerfect':true
  5854. /*@AddPara@*/
  5855. });
  5856. Node87.a('node.width', 120*_ratio.ratioX);
  5857. Node87.a('node.height', 120*_ratio.ratioY);
  5858. Node87.a('node.type', Node87type);
  5859. Node87.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  5860. Node87.a('node.background', 'rgba(245,245,245,1)');
  5861. Node87.a('node.gradientcolor', 'rgba(245,245,245,1)');
  5862. Node87.a('node.gradient', '');
  5863. Node87.a('node.borderwidth', Node87BorderWidth);
  5864. Node87.a('node.color', 'rgba(220,220,220,1)');
  5865. Node87.a('node.fillrect', [0,0,0,0]);
  5866. Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  5867. Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  5868. Node87.a('node.fillgradient', '');
  5869. if (Node87type !== 'rect') {
  5870. Node87.a('node.arcFrom', parseFloat('@arcFrom@'));
  5871. Node87.a('node.arcTo', parseFloat('@arcTo@'));
  5872. Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  5873. }
  5874. if (Node87type === 'arc') {
  5875. Node87.a('node.arcOval', true);
  5876. }
  5877. Node87.setRotation(0*Math.PI/180);
  5878. Node87.borderWidth = Node87BorderWidth;
  5879. Node87.borderFillwidth = Node87BorderWidth;
  5880. dataModel.add(Node87);
  5881. Node87._nodename = 'Node87'
  5882. Node87._nodeType = 'rect';
  5883. zoomNodeList.push({
  5884. node: Node87,
  5885. attr: 'node.borderwidth'
  5886. });
  5887. (function (node, _img) {
  5888. var setWidth = node.setWidth,
  5889. setHeight = node.setHeight;
  5890. node.setWidth = function (width) {
  5891. if (width === this.getWidth()) return ;
  5892. var height = this.getHeight();
  5893. this.a('node.width', width);
  5894. this.a('node.rect', [0,0,width, height]);
  5895. setWidth.apply(this, arguments);
  5896. }
  5897. node.setHeight = function (height) {
  5898. if (height === this.getHeight()) return ;
  5899. var width = this.getWidth();
  5900. this.a('node.height', height);
  5901. this.a('node.rect', [0,0,width, height]);
  5902. setHeight.apply(this, arguments);
  5903. }
  5904. })(Node87, Node87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5905. var Node88type = 'rect';
  5906. var Node88 = new ht.Node(),
  5907. Node88BorderWidth = 1*2;
  5908. if (Node88type === 'arc') {
  5909. Node88BorderWidth *= 1;
  5910. }
  5911. Node88.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node88type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  5912. Node88.setPosition(1182*ratio.ratioX, 178*ratio.ratioY);
  5913. Node88.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  5914. Node88.s({
  5915. 'pixelPerfect':true
  5916. /*@AddPara@*/
  5917. });
  5918. Node88.a('node.width', 280.7278*_ratio.ratioX);
  5919. Node88.a('node.height', 122*_ratio.ratioY);
  5920. Node88.a('node.type', Node88type);
  5921. Node88.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  5922. Node88.a('node.background', 'rgba(255,255,255,0.003921569)');
  5923. Node88.a('node.gradientcolor', '');
  5924. Node88.a('node.gradient', '');
  5925. Node88.a('node.borderwidth', Node88BorderWidth);
  5926. Node88.a('node.color', 'rgba(220,220,220,1)');
  5927. Node88.a('node.fillrect', [0,0,0,0]);
  5928. Node88.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  5929. Node88.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  5930. Node88.a('node.fillgradient', '');
  5931. if (Node88type !== 'rect') {
  5932. Node88.a('node.arcFrom', parseFloat('@arcFrom@'));
  5933. Node88.a('node.arcTo', parseFloat('@arcTo@'));
  5934. Node88.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  5935. }
  5936. if (Node88type === 'arc') {
  5937. Node88.a('node.arcOval', true);
  5938. }
  5939. Node88.setRotation(0*Math.PI/180);
  5940. Node88.borderWidth = Node88BorderWidth;
  5941. Node88.borderFillwidth = Node88BorderWidth;
  5942. dataModel.add(Node88);
  5943. Node88._nodename = 'Node88'
  5944. Node88._nodeType = 'rect';
  5945. zoomNodeList.push({
  5946. node: Node88,
  5947. attr: 'node.borderwidth'
  5948. });
  5949. (function (node, _img) {
  5950. var setWidth = node.setWidth,
  5951. setHeight = node.setHeight;
  5952. node.setWidth = function (width) {
  5953. if (width === this.getWidth()) return ;
  5954. var height = this.getHeight();
  5955. this.a('node.width', width);
  5956. this.a('node.rect', [0,0,width, height]);
  5957. setWidth.apply(this, arguments);
  5958. }
  5959. node.setHeight = function (height) {
  5960. if (height === this.getHeight()) return ;
  5961. var width = this.getWidth();
  5962. this.a('node.height', height);
  5963. this.a('node.rect', [0,0,width, height]);
  5964. setHeight.apply(this, arguments);
  5965. }
  5966. })(Node88, Node88.getImage());var Node89points=[1233, 118,1233, 238],
  5967. Node89rect=ht.Default.unionPoint([{x:1233,y:118},{x:1233,y:238}]),
  5968. Node89compspts=[];
  5969. _ratio = GD.getRatioWithRotation(0, ratio);
  5970. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  5971. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  5972. for(var i=0;i<Node89points.length;i++){
  5973. if(i%2==0){
  5974. Node89compspts.push(Node89points[i]-Node89rect.x);
  5975. }else{
  5976. Node89compspts.push(Node89points[i]-Node89rect.y);
  5977. }
  5978. }
  5979. var Node89ptslength=Node89compspts.length;
  5980. if (Node89rect.height === 0) {
  5981. Node89compspts[0] -= 0;
  5982. Node89compspts[Node89ptslength-2] += 0;
  5983. } else if (Node89rect.width === 0){
  5984. Node89compspts[1] -= 0;
  5985. Node89compspts[Node89ptslength-1] += 0;
  5986. } else {
  5987. Node89compspts[0] -= 0;
  5988. Node89compspts[1] -= 0;
  5989. Node89compspts[Node89ptslength-2] += 0;
  5990. Node89compspts[Node89ptslength-1] += 0;
  5991. }
  5992. Node89 = new ht.Node();
  5993. Node89.borderWidth = 1;
  5994. Node89rect.width = Node89rect.width === 0 ? 0.0001 : Node89rect.width;
  5995. Node89rect.height = Node89rect.height === 0 ? 0.0001 : Node89rect.height;
  5996. var Node89endCompspts = [Node89compspts[Node89ptslength-2],Node89compspts[Node89ptslength-1],0,0];
  5997. var Node89startCompspts = [Node89compspts[0],Node89compspts[1],0,0];
  5998. Node89.setImage(GD.getPolyLineJSON());
  5999. Node89.setPosition(Node89rect.x+Node89rect.width/2,Node89rect.y+Node89rect.height/2);
  6000. Node89.setSize(Node89rect.width,Node89rect.height);
  6001. Node89.setStyle("opacity",1);
  6002. Node89.s({'pixelPerfect':true});
  6003. Node89borderwidth=1;
  6004. Node89.setRotation(0);
  6005. dataModel.add(Node89);
  6006. Node89.a('node.points',Node89compspts);
  6007. Node89.a('node.segments',[1,2]);
  6008. Node89.a('node.color','rgba(220,220,220,1)');
  6009. Node89.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6010. Node89.a('node.borderColor','rgba(220,220,220,1)');
  6011. Node89.a('node.background','rgba(220,220,220,1)');
  6012. Node89.a('node.gradient','');
  6013. Node89.a('node.gradientcolor','rgba(220,220,220,1)');
  6014. Node89.a('node.endCompspts',Node89endCompspts);
  6015. Node89.a('node.startCompspts',Node89startCompspts);
  6016. (function (node, img, compspts, endCompspts, startCompspts) {
  6017. var position = node.getPosition(),
  6018. w = node.getWidth()*_ratio.ratioX,
  6019. h = node.getHeight()*_ratio.ratioY;
  6020. function resetPoints(rx, ry) {
  6021. for (var i = 0, len = compspts.length; i < len; i++) {
  6022. if (i%2 === 0) {
  6023. compspts[i]*=rx;
  6024. } else {
  6025. compspts[i]*=ry;
  6026. }
  6027. }
  6028. endCompspts[0] = compspts[compspts.length-2];
  6029. endCompspts[1] = compspts[compspts.length-1];
  6030. endCompspts[2] *= rx;
  6031. endCompspts[3] *= ry;
  6032. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6033. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6034. startCompspts[0] = compspts[0];
  6035. startCompspts[1] = compspts[1];
  6036. startCompspts[2] *= rx;
  6037. startCompspts[3] *= ry;
  6038. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6039. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6040. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6041. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6042. }
  6043. node.setSize(w, h);
  6044. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6045. node.a('node.width', w);
  6046. node.a('node.height', h);
  6047. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6048. node.borderWidth = 1;
  6049. node.a('node.borderwidth',node.borderWidth);
  6050. node._nodename = 'Node89';
  6051. node._nodeType = 'line';
  6052. zoomNodeList.push({
  6053. node: node,
  6054. attr: 'node.borderwidth'
  6055. });
  6056. var setWidth = node.setWidth,
  6057. setHeight = node.setHeight,
  6058. timer, rx = 1, ry = 1;
  6059. node.setWidth = function (width) {
  6060. var _width = this.getWidth();
  6061. rx = width / _width;
  6062. node.a('node.width', width);
  6063. setWidth.apply(this, arguments);
  6064. resetPoints(rx, 1);
  6065. }
  6066. node.setHeight = function (height) {
  6067. var _height = this.getHeight();
  6068. ry = height / _height;
  6069. node.a('node.height', height);
  6070. setHeight.apply(this, arguments);
  6071. resetPoints(1, ry);
  6072. }
  6073. })(Node89, Node89.getImage(), Node89compspts, Node89endCompspts, Node89startCompspts);
  6074. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6075. var Node90 = new ht.Node();
  6076. var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 110*_ratio.ratioX, Node90height = 27*_ratio.ratioY;
  6077. (function () {
  6078. if (Node90align === 'left') {
  6079. Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
  6080. Node90textWidth = Node90width;
  6081. Node90lineStart = 1;
  6082. } else if (Node90align === 'right') {
  6083. Node90textStart = 0;
  6084. Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
  6085. Node90lineStart = (Node90width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width + 6)) * 0.5;
  6086. } else if (Node90align === 'center') {
  6087. Node90textStart = -3;
  6088. Node90textWidth = Node90width;
  6089. Node90lineStart = Node90width - ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width - 11;
  6090. }
  6091. })();
  6092. Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"'))
  6093. Node90.setPosition(1102*ratio.ratioX, 129*ratio.ratioY);
  6094. Node90.setWidth(Node90width);
  6095. Node90.setHeight(Node90height);
  6096. Node90._nodeType = 'text';
  6097. Node90._disallowEvert = true;
  6098. Node90.setRotation(0*Math.PI/180);
  6099. Node90.a('node.width', Node90width);
  6100. Node90.a('node.height', Node90height);
  6101. Node90.a('node.rect', [0, 0, Node90width, Node90height]);
  6102. Node90.a('node.bordercolor','rgba(0,0,0,1)');
  6103. Node90.a('node.borderwidth', 0);
  6104. Node90.a('node.background','' || 'rgba(0,0,0,0)');
  6105. Node90.a('node.gradient','');
  6106. Node90.a('node.gradientcolor','');
  6107. Node90.a('node.text','日维护损失电量');
  6108. Node90.a('node.textalign','left');
  6109. Node90.a('node.textvAlign','middle');
  6110. Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
  6111. Node90.a('node.color','rgba(0,0,0,1)');
  6112. Node90.a('node.font',' '+ Node90fontSize + 'px "Arial"');
  6113. Node90.a('node.textvisible',true);
  6114. Node90.a('node.linefeed',false);
  6115. if (false) {
  6116. Node90.a('node.textfunc',function(g) {
  6117. g.beginPath();
  6118. var str=Node90.a('node.text') || '日维护损失电量';
  6119. var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
  6120. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,' '+ Node90fontSize + 'px "Arial"', 0,g);
  6121. });
  6122. }
  6123. if (false) {
  6124. Node90.a('node.underlinepoints',[Node90lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
  6125. Node90.a('node.underlinevisible',false);
  6126. Node90.a('node.underlineBorderWidth', 1);
  6127. }
  6128. dataModel.add(Node90);
  6129. zoomNodeList.push({
  6130. node: Node90,
  6131. borderWidth: 0,
  6132. attr: 'node.borderwidth'
  6133. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6134. var Node91 = new ht.Node();
  6135. var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 27*_ratio.ratioY;
  6136. (function () {
  6137. if (Node91align === 'left') {
  6138. Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
  6139. Node91textWidth = Node91width;
  6140. Node91lineStart = 1;
  6141. } else if (Node91align === 'right') {
  6142. Node91textStart = 0;
  6143. Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
  6144. Node91lineStart = (Node91width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5;
  6145. } else if (Node91align === 'center') {
  6146. Node91textStart = -3;
  6147. Node91textWidth = Node91width;
  6148. Node91lineStart = Node91width - ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width - 11;
  6149. }
  6150. })();
  6151. Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
  6152. Node91.setPosition(1102*ratio.ratioX, 155*ratio.ratioY);
  6153. Node91.setWidth(Node91width);
  6154. Node91.setHeight(Node91height);
  6155. Node91._nodeType = 'text';
  6156. Node91._disallowEvert = true;
  6157. Node91.setRotation(0*Math.PI/180);
  6158. Node91.a('node.width', Node91width);
  6159. Node91.a('node.height', Node91height);
  6160. Node91.a('node.rect', [0, 0, Node91width, Node91height]);
  6161. Node91.a('node.bordercolor','rgba(0,0,0,1)');
  6162. Node91.a('node.borderwidth', 0);
  6163. Node91.a('node.background','' || 'rgba(0,0,0,0)');
  6164. Node91.a('node.gradient','');
  6165. Node91.a('node.gradientcolor','');
  6166. Node91.a('node.text','日故障损失电量');
  6167. Node91.a('node.textalign','left');
  6168. Node91.a('node.textvAlign','middle');
  6169. Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
  6170. Node91.a('node.color','rgba(0,0,0,1)');
  6171. Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"');
  6172. Node91.a('node.textvisible',true);
  6173. Node91.a('node.linefeed',false);
  6174. if (false) {
  6175. Node91.a('node.textfunc',function(g) {
  6176. g.beginPath();
  6177. var str=Node91.a('node.text') || '日故障损失电量';
  6178. var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
  6179. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
  6180. });
  6181. }
  6182. if (false) {
  6183. Node91.a('node.underlinepoints',[Node91lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
  6184. Node91.a('node.underlinevisible',false);
  6185. Node91.a('node.underlineBorderWidth', 1);
  6186. }
  6187. dataModel.add(Node91);
  6188. zoomNodeList.push({
  6189. node: Node91,
  6190. borderWidth: 0,
  6191. attr: 'node.borderwidth'
  6192. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6193. var Node92 = new ht.Node();
  6194. var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 110*_ratio.ratioX, Node92height = 27*_ratio.ratioY;
  6195. (function () {
  6196. if (Node92align === 'left') {
  6197. Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
  6198. Node92textWidth = Node92width;
  6199. Node92lineStart = 1;
  6200. } else if (Node92align === 'right') {
  6201. Node92textStart = 0;
  6202. Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
  6203. Node92lineStart = (Node92width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
  6204. } else if (Node92align === 'center') {
  6205. Node92textStart = -3;
  6206. Node92textWidth = Node92width;
  6207. Node92lineStart = Node92width - ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width - 11;
  6208. }
  6209. })();
  6210. Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
  6211. Node92.setPosition(1102*ratio.ratioX, 179*ratio.ratioY);
  6212. Node92.setWidth(Node92width);
  6213. Node92.setHeight(Node92height);
  6214. Node92._nodeType = 'text';
  6215. Node92._disallowEvert = true;
  6216. Node92.setRotation(0*Math.PI/180);
  6217. Node92.a('node.width', Node92width);
  6218. Node92.a('node.height', Node92height);
  6219. Node92.a('node.rect', [0, 0, Node92width, Node92height]);
  6220. Node92.a('node.bordercolor','rgba(0,0,0,1)');
  6221. Node92.a('node.borderwidth', 0);
  6222. Node92.a('node.background','' || 'rgba(0,0,0,0)');
  6223. Node92.a('node.gradient','');
  6224. Node92.a('node.gradientcolor','');
  6225. Node92.a('node.text','日限电损失电量');
  6226. Node92.a('node.textalign','left');
  6227. Node92.a('node.textvAlign','middle');
  6228. Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
  6229. Node92.a('node.color','rgba(0,0,0,1)');
  6230. Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"');
  6231. Node92.a('node.textvisible',true);
  6232. Node92.a('node.linefeed',false);
  6233. if (false) {
  6234. Node92.a('node.textfunc',function(g) {
  6235. g.beginPath();
  6236. var str=Node92.a('node.text') || '日限电损失电量';
  6237. var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
  6238. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g);
  6239. });
  6240. }
  6241. if (false) {
  6242. Node92.a('node.underlinepoints',[Node92lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
  6243. Node92.a('node.underlinevisible',false);
  6244. Node92.a('node.underlineBorderWidth', 1);
  6245. }
  6246. dataModel.add(Node92);
  6247. zoomNodeList.push({
  6248. node: Node92,
  6249. borderWidth: 0,
  6250. attr: 'node.borderwidth'
  6251. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6252. var Node93 = new ht.Node();
  6253. var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 110*_ratio.ratioX, Node93height = 27*_ratio.ratioY;
  6254. (function () {
  6255. if (Node93align === 'left') {
  6256. Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
  6257. Node93textWidth = Node93width;
  6258. Node93lineStart = 1;
  6259. } else if (Node93align === 'right') {
  6260. Node93textStart = 0;
  6261. Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
  6262. Node93lineStart = (Node93width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
  6263. } else if (Node93align === 'center') {
  6264. Node93textStart = -3;
  6265. Node93textWidth = Node93width;
  6266. Node93lineStart = Node93width - ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width - 11;
  6267. }
  6268. })();
  6269. Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
  6270. Node93.setPosition(1102*ratio.ratioX, 202*ratio.ratioY);
  6271. Node93.setWidth(Node93width);
  6272. Node93.setHeight(Node93height);
  6273. Node93._nodeType = 'text';
  6274. Node93._disallowEvert = true;
  6275. Node93.setRotation(0*Math.PI/180);
  6276. Node93.a('node.width', Node93width);
  6277. Node93.a('node.height', Node93height);
  6278. Node93.a('node.rect', [0, 0, Node93width, Node93height]);
  6279. Node93.a('node.bordercolor','rgba(0,0,0,1)');
  6280. Node93.a('node.borderwidth', 0);
  6281. Node93.a('node.background','' || 'rgba(0,0,0,0)');
  6282. Node93.a('node.gradient','');
  6283. Node93.a('node.gradientcolor','');
  6284. Node93.a('node.text','日受累损失电量');
  6285. Node93.a('node.textalign','left');
  6286. Node93.a('node.textvAlign','middle');
  6287. Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
  6288. Node93.a('node.color','rgba(0,0,0,1)');
  6289. Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"');
  6290. Node93.a('node.textvisible',true);
  6291. Node93.a('node.linefeed',false);
  6292. if (false) {
  6293. Node93.a('node.textfunc',function(g) {
  6294. g.beginPath();
  6295. var str=Node93.a('node.text') || '日受累损失电量';
  6296. var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
  6297. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
  6298. });
  6299. }
  6300. if (false) {
  6301. Node93.a('node.underlinepoints',[Node93lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
  6302. Node93.a('node.underlinevisible',false);
  6303. Node93.a('node.underlineBorderWidth', 1);
  6304. }
  6305. dataModel.add(Node93);
  6306. zoomNodeList.push({
  6307. node: Node93,
  6308. borderWidth: 0,
  6309. attr: 'node.borderwidth'
  6310. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6311. var Node94 = new ht.Node();
  6312. var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'left', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 125*_ratio.ratioX, Node94height = 27*_ratio.ratioY;
  6313. (function () {
  6314. if (Node94align === 'left') {
  6315. Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9;
  6316. Node94textWidth = Node94width;
  6317. Node94lineStart = 1;
  6318. } else if (Node94align === 'right') {
  6319. Node94textStart = 0;
  6320. Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2;
  6321. Node94lineStart = (Node94width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5;
  6322. } else if (Node94align === 'center') {
  6323. Node94textStart = -3;
  6324. Node94textWidth = Node94width;
  6325. Node94lineStart = Node94width - ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width - 11;
  6326. }
  6327. })();
  6328. Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"'))
  6329. Node94.setPosition(1109*ratio.ratioX, 227*ratio.ratioY);
  6330. Node94.setWidth(Node94width);
  6331. Node94.setHeight(Node94height);
  6332. Node94._nodeType = 'text';
  6333. Node94._disallowEvert = true;
  6334. Node94.setRotation(0*Math.PI/180);
  6335. Node94.a('node.width', Node94width);
  6336. Node94.a('node.height', Node94height);
  6337. Node94.a('node.rect', [0, 0, Node94width, Node94height]);
  6338. Node94.a('node.bordercolor','rgba(0,0,0,1)');
  6339. Node94.a('node.borderwidth', 0);
  6340. Node94.a('node.background','' || 'rgba(0,0,0,0)');
  6341. Node94.a('node.gradient','');
  6342. Node94.a('node.gradientcolor','');
  6343. Node94.a('node.text','日性能损失电量');
  6344. Node94.a('node.textalign','left');
  6345. Node94.a('node.textvAlign','middle');
  6346. Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
  6347. Node94.a('node.color','rgba(0,0,0,1)');
  6348. Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"');
  6349. Node94.a('node.textvisible',true);
  6350. Node94.a('node.linefeed',false);
  6351. if (false) {
  6352. Node94.a('node.textfunc',function(g) {
  6353. g.beginPath();
  6354. var str=Node94.a('node.text') || '日性能损失电量';
  6355. var color=Node94.a('node.color') || 'rgba(0,0,0,1)';
  6356. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
  6357. });
  6358. }
  6359. if (false) {
  6360. Node94.a('node.underlinepoints',[Node94lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
  6361. Node94.a('node.underlinevisible',false);
  6362. Node94.a('node.underlineBorderWidth', 1);
  6363. }
  6364. dataModel.add(Node94);
  6365. zoomNodeList.push({
  6366. node: Node94,
  6367. borderWidth: 0,
  6368. attr: 'node.borderwidth'
  6369. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6370. var Node95 = new ht.Node();
  6371. var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'left', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 37*_ratio.ratioX, Node95height = 16*_ratio.ratioY;
  6372. (function () {
  6373. if (Node95align === 'left') {
  6374. Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
  6375. Node95textWidth = Node95width;
  6376. Node95lineStart = 1;
  6377. } else if (Node95align === 'right') {
  6378. Node95textStart = 0;
  6379. Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
  6380. Node95lineStart = (Node95width - (ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5;
  6381. } else if (Node95align === 'center') {
  6382. Node95textStart = -3;
  6383. Node95textWidth = Node95width;
  6384. Node95lineStart = Node95width - ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width - 11;
  6385. }
  6386. })();
  6387. Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, 'bold '+ Node95fontSize + 'px "Arial"'))
  6388. Node95.setPosition(1198*ratio.ratioX, 128*ratio.ratioY);
  6389. Node95.setWidth(Node95width);
  6390. Node95.setHeight(Node95height);
  6391. Node95._nodeType = 'text';
  6392. Node95._disallowEvert = true;
  6393. Node95.setRotation(0*Math.PI/180);
  6394. Node95.a('node.width', Node95width);
  6395. Node95.a('node.height', Node95height);
  6396. Node95.a('node.rect', [0, 0, Node95width, Node95height]);
  6397. Node95.a('node.bordercolor','rgba(0,0,0,1)');
  6398. Node95.a('node.borderwidth', 0);
  6399. Node95.a('node.background','' || 'rgba(0,0,0,0)');
  6400. Node95.a('node.gradient','');
  6401. Node95.a('node.gradientcolor','');
  6402. Node95.a('node.text','0');
  6403. Node95.a('node.textalign','left');
  6404. Node95.a('node.textvAlign','middle');
  6405. Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]);
  6406. Node95.a('node.color','rgba(0,0,0,1)');
  6407. Node95.a('node.font','bold '+ Node95fontSize + 'px "Arial"');
  6408. Node95.a('node.textvisible',true);
  6409. Node95.a('node.linefeed',false);
  6410. if (false) {
  6411. Node95.a('node.textfunc',function(g) {
  6412. g.beginPath();
  6413. var str=Node95.a('node.text') || '0';
  6414. var color=Node95.a('node.color') || 'rgba(0,0,0,1)';
  6415. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node95fontSize + 'px "Arial"', 0,g);
  6416. });
  6417. }
  6418. if (false) {
  6419. Node95.a('node.underlinepoints',[Node95lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]);
  6420. Node95.a('node.underlinevisible',false);
  6421. Node95.a('node.underlineBorderWidth', 1);
  6422. }
  6423. dataModel.add(Node95);
  6424. zoomNodeList.push({
  6425. node: Node95,
  6426. borderWidth: 0,
  6427. attr: 'node.borderwidth'
  6428. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6429. var Node96 = new ht.Node();
  6430. var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'left', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 37*_ratio.ratioX, Node96height = 16*_ratio.ratioY;
  6431. (function () {
  6432. if (Node96align === 'left') {
  6433. Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
  6434. Node96textWidth = Node96width;
  6435. Node96lineStart = 1;
  6436. } else if (Node96align === 'right') {
  6437. Node96textStart = 0;
  6438. Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
  6439. Node96lineStart = (Node96width - (ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
  6440. } else if (Node96align === 'center') {
  6441. Node96textStart = -3;
  6442. Node96textWidth = Node96width;
  6443. Node96lineStart = Node96width - ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width - 11;
  6444. }
  6445. })();
  6446. Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, 'bold '+ Node96fontSize + 'px "Arial"'))
  6447. Node96.setPosition(1198*ratio.ratioX, 152*ratio.ratioY);
  6448. Node96.setWidth(Node96width);
  6449. Node96.setHeight(Node96height);
  6450. Node96._nodeType = 'text';
  6451. Node96._disallowEvert = true;
  6452. Node96.setRotation(0*Math.PI/180);
  6453. Node96.a('node.width', Node96width);
  6454. Node96.a('node.height', Node96height);
  6455. Node96.a('node.rect', [0, 0, Node96width, Node96height]);
  6456. Node96.a('node.bordercolor','rgba(0,0,0,1)');
  6457. Node96.a('node.borderwidth', 0);
  6458. Node96.a('node.background','' || 'rgba(0,0,0,0)');
  6459. Node96.a('node.gradient','');
  6460. Node96.a('node.gradientcolor','');
  6461. Node96.a('node.text','0');
  6462. Node96.a('node.textalign','left');
  6463. Node96.a('node.textvAlign','middle');
  6464. Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
  6465. Node96.a('node.color','rgba(0,0,0,1)');
  6466. Node96.a('node.font','bold '+ Node96fontSize + 'px "Arial"');
  6467. Node96.a('node.textvisible',true);
  6468. Node96.a('node.linefeed',false);
  6469. if (false) {
  6470. Node96.a('node.textfunc',function(g) {
  6471. g.beginPath();
  6472. var str=Node96.a('node.text') || '0';
  6473. var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
  6474. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node96fontSize + 'px "Arial"', 0,g);
  6475. });
  6476. }
  6477. if (false) {
  6478. Node96.a('node.underlinepoints',[Node96lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
  6479. Node96.a('node.underlinevisible',false);
  6480. Node96.a('node.underlineBorderWidth', 1);
  6481. }
  6482. dataModel.add(Node96);
  6483. zoomNodeList.push({
  6484. node: Node96,
  6485. borderWidth: 0,
  6486. attr: 'node.borderwidth'
  6487. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6488. var Node97 = new ht.Node();
  6489. var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 27*_ratio.ratioX, Node97height = 16*_ratio.ratioY;
  6490. (function () {
  6491. if (Node97align === 'left') {
  6492. Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
  6493. Node97textWidth = Node97width;
  6494. Node97lineStart = 1;
  6495. } else if (Node97align === 'right') {
  6496. Node97textStart = 0;
  6497. Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
  6498. Node97lineStart = (Node97width - (ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
  6499. } else if (Node97align === 'center') {
  6500. Node97textStart = -3;
  6501. Node97textWidth = Node97width;
  6502. Node97lineStart = Node97width - ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width - 11;
  6503. }
  6504. })();
  6505. Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, 'bold '+ Node97fontSize + 'px "Arial"'))
  6506. Node97.setPosition(1193*ratio.ratioX, 177*ratio.ratioY);
  6507. Node97.setWidth(Node97width);
  6508. Node97.setHeight(Node97height);
  6509. Node97._nodeType = 'text';
  6510. Node97._disallowEvert = true;
  6511. Node97.setRotation(0*Math.PI/180);
  6512. Node97.a('node.width', Node97width);
  6513. Node97.a('node.height', Node97height);
  6514. Node97.a('node.rect', [0, 0, Node97width, Node97height]);
  6515. Node97.a('node.bordercolor','rgba(0,0,0,1)');
  6516. Node97.a('node.borderwidth', 0);
  6517. Node97.a('node.background','' || 'rgba(0,0,0,0)');
  6518. Node97.a('node.gradient','');
  6519. Node97.a('node.gradientcolor','');
  6520. Node97.a('node.text','0');
  6521. Node97.a('node.textalign','left');
  6522. Node97.a('node.textvAlign','middle');
  6523. Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]);
  6524. Node97.a('node.color','rgba(0,0,0,1)');
  6525. Node97.a('node.font','bold '+ Node97fontSize + 'px "Arial"');
  6526. Node97.a('node.textvisible',true);
  6527. Node97.a('node.linefeed',false);
  6528. if (false) {
  6529. Node97.a('node.textfunc',function(g) {
  6530. g.beginPath();
  6531. var str=Node97.a('node.text') || '0';
  6532. var color=Node97.a('node.color') || 'rgba(0,0,0,1)';
  6533. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node97fontSize + 'px "Arial"', 0,g);
  6534. });
  6535. }
  6536. if (false) {
  6537. Node97.a('node.underlinepoints',[Node97lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
  6538. Node97.a('node.underlinevisible',false);
  6539. Node97.a('node.underlineBorderWidth', 1);
  6540. }
  6541. dataModel.add(Node97);
  6542. zoomNodeList.push({
  6543. node: Node97,
  6544. borderWidth: 0,
  6545. attr: 'node.borderwidth'
  6546. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6547. var Node98 = new ht.Node();
  6548. var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 13.3333*_ratio.ratioY,Node98width = 37*_ratio.ratioX, Node98height = 16*_ratio.ratioY;
  6549. (function () {
  6550. if (Node98align === 'left') {
  6551. Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
  6552. Node98textWidth = Node98width;
  6553. Node98lineStart = 1;
  6554. } else if (Node98align === 'right') {
  6555. Node98textStart = 0;
  6556. Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
  6557. Node98lineStart = (Node98width - (ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
  6558. } else if (Node98align === 'center') {
  6559. Node98textStart = -3;
  6560. Node98textWidth = Node98width;
  6561. Node98lineStart = Node98width - ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width - 11;
  6562. }
  6563. })();
  6564. Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, 'bold '+ Node98fontSize + 'px "Arial"'))
  6565. Node98.setPosition(1212*ratio.ratioX, 201*ratio.ratioY);
  6566. Node98.setWidth(Node98width);
  6567. Node98.setHeight(Node98height);
  6568. Node98._nodeType = 'text';
  6569. Node98._disallowEvert = true;
  6570. Node98.setRotation(0*Math.PI/180);
  6571. Node98.a('node.width', Node98width);
  6572. Node98.a('node.height', Node98height);
  6573. Node98.a('node.rect', [0, 0, Node98width, Node98height]);
  6574. Node98.a('node.bordercolor','rgba(0,0,0,1)');
  6575. Node98.a('node.borderwidth', 0);
  6576. Node98.a('node.background','' || 'rgba(0,0,0,0)');
  6577. Node98.a('node.gradient','');
  6578. Node98.a('node.gradientcolor','');
  6579. Node98.a('node.text','-');
  6580. Node98.a('node.textalign','left');
  6581. Node98.a('node.textvAlign','middle');
  6582. Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
  6583. Node98.a('node.color','rgba(0,0,0,1)');
  6584. Node98.a('node.font','bold '+ Node98fontSize + 'px "Arial"');
  6585. Node98.a('node.textvisible',true);
  6586. Node98.a('node.linefeed',false);
  6587. if (false) {
  6588. Node98.a('node.textfunc',function(g) {
  6589. g.beginPath();
  6590. var str=Node98.a('node.text') || '-';
  6591. var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
  6592. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node98width,Node98height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node98fontSize + 'px "Arial"', 0,g);
  6593. });
  6594. }
  6595. if (false) {
  6596. Node98.a('node.underlinepoints',[Node98lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
  6597. Node98.a('node.underlinevisible',false);
  6598. Node98.a('node.underlineBorderWidth', 1);
  6599. }
  6600. dataModel.add(Node98);
  6601. zoomNodeList.push({
  6602. node: Node98,
  6603. borderWidth: 0,
  6604. attr: 'node.borderwidth'
  6605. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6606. var Node99 = new ht.Node();
  6607. var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 13.3333*_ratio.ratioY,Node99width = 47*_ratio.ratioX, Node99height = 17*_ratio.ratioY;
  6608. (function () {
  6609. if (Node99align === 'left') {
  6610. Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
  6611. Node99textWidth = Node99width;
  6612. Node99lineStart = 1;
  6613. } else if (Node99align === 'right') {
  6614. Node99textStart = 0;
  6615. Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
  6616. Node99lineStart = (Node99width - (ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
  6617. } else if (Node99align === 'center') {
  6618. Node99textStart = -3;
  6619. Node99textWidth = Node99width;
  6620. Node99lineStart = Node99width - ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width - 11;
  6621. }
  6622. })();
  6623. Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
  6624. Node99.setPosition(1266*ratio.ratioX, 128*ratio.ratioY);
  6625. Node99.setWidth(Node99width);
  6626. Node99.setHeight(Node99height);
  6627. Node99._nodeType = 'text';
  6628. Node99._disallowEvert = true;
  6629. Node99.setRotation(0*Math.PI/180);
  6630. Node99.a('node.width', Node99width);
  6631. Node99.a('node.height', Node99height);
  6632. Node99.a('node.rect', [0, 0, Node99width, Node99height]);
  6633. Node99.a('node.bordercolor','rgba(169,169,169,1)');
  6634. Node99.a('node.borderwidth', 0);
  6635. Node99.a('node.background','' || 'rgba(0,0,0,0)');
  6636. Node99.a('node.gradient','');
  6637. Node99.a('node.gradientcolor','');
  6638. Node99.a('node.text','万kW');
  6639. Node99.a('node.textalign','left');
  6640. Node99.a('node.textvAlign','middle');
  6641. Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
  6642. Node99.a('node.color','rgba(169,169,169,1)');
  6643. Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
  6644. Node99.a('node.textvisible',true);
  6645. Node99.a('node.linefeed',false);
  6646. if (false) {
  6647. Node99.a('node.textfunc',function(g) {
  6648. g.beginPath();
  6649. var str=Node99.a('node.text') || '万kW';
  6650. var color=Node99.a('node.color') || 'rgba(169,169,169,1)';
  6651. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node99width,Node99height,13.3333*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
  6652. });
  6653. }
  6654. if (false) {
  6655. Node99.a('node.underlinepoints',[Node99lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
  6656. Node99.a('node.underlinevisible',false);
  6657. Node99.a('node.underlineBorderWidth', 1);
  6658. }
  6659. dataModel.add(Node99);
  6660. zoomNodeList.push({
  6661. node: Node99,
  6662. borderWidth: 0,
  6663. attr: 'node.borderwidth'
  6664. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6665. var Node100 = new ht.Node();
  6666. var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'left', Node100fontSize = 13.3333*_ratio.ratioY,Node100width = 37*_ratio.ratioX, Node100height = 16*_ratio.ratioY;
  6667. (function () {
  6668. if (Node100align === 'left') {
  6669. Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
  6670. Node100textWidth = Node100width;
  6671. Node100lineStart = 1;
  6672. } else if (Node100align === 'right') {
  6673. Node100textStart = 0;
  6674. Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
  6675. Node100lineStart = (Node100width - (ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
  6676. } else if (Node100align === 'center') {
  6677. Node100textStart = -3;
  6678. Node100textWidth = Node100width;
  6679. Node100lineStart = Node100width - ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width - 11;
  6680. }
  6681. })();
  6682. Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, 'bold '+ Node100fontSize + 'px "Arial"'))
  6683. Node100.setPosition(1212*ratio.ratioX, 226*ratio.ratioY);
  6684. Node100.setWidth(Node100width);
  6685. Node100.setHeight(Node100height);
  6686. Node100._nodeType = 'text';
  6687. Node100._disallowEvert = true;
  6688. Node100.setRotation(0*Math.PI/180);
  6689. Node100.a('node.width', Node100width);
  6690. Node100.a('node.height', Node100height);
  6691. Node100.a('node.rect', [0, 0, Node100width, Node100height]);
  6692. Node100.a('node.bordercolor','rgba(0,0,0,1)');
  6693. Node100.a('node.borderwidth', 0);
  6694. Node100.a('node.background','' || 'rgba(0,0,0,0)');
  6695. Node100.a('node.gradient','');
  6696. Node100.a('node.gradientcolor','');
  6697. Node100.a('node.text','-');
  6698. Node100.a('node.textalign','left');
  6699. Node100.a('node.textvAlign','middle');
  6700. Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]);
  6701. Node100.a('node.color','rgba(0,0,0,1)');
  6702. Node100.a('node.font','bold '+ Node100fontSize + 'px "Arial"');
  6703. Node100.a('node.textvisible',true);
  6704. Node100.a('node.linefeed',false);
  6705. if (false) {
  6706. Node100.a('node.textfunc',function(g) {
  6707. g.beginPath();
  6708. var str=Node100.a('node.text') || '-';
  6709. var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
  6710. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node100width,Node100height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node100fontSize + 'px "Arial"', 0,g);
  6711. });
  6712. }
  6713. if (false) {
  6714. Node100.a('node.underlinepoints',[Node100lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
  6715. Node100.a('node.underlinevisible',false);
  6716. Node100.a('node.underlineBorderWidth', 1);
  6717. }
  6718. dataModel.add(Node100);
  6719. zoomNodeList.push({
  6720. node: Node100,
  6721. borderWidth: 0,
  6722. attr: 'node.borderwidth'
  6723. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6724. var Node101 = new ht.Node();
  6725. var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 13.3333*_ratio.ratioY,Node101width = 47*_ratio.ratioX, Node101height = 17*_ratio.ratioY;
  6726. (function () {
  6727. if (Node101align === 'left') {
  6728. Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
  6729. Node101textWidth = Node101width;
  6730. Node101lineStart = 1;
  6731. } else if (Node101align === 'right') {
  6732. Node101textStart = 0;
  6733. Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
  6734. Node101lineStart = (Node101width - (ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
  6735. } else if (Node101align === 'center') {
  6736. Node101textStart = -3;
  6737. Node101textWidth = Node101width;
  6738. Node101lineStart = Node101width - ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width - 11;
  6739. }
  6740. })();
  6741. Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
  6742. Node101.setPosition(1266*ratio.ratioX, 154*ratio.ratioY);
  6743. Node101.setWidth(Node101width);
  6744. Node101.setHeight(Node101height);
  6745. Node101._nodeType = 'text';
  6746. Node101._disallowEvert = true;
  6747. Node101.setRotation(0*Math.PI/180);
  6748. Node101.a('node.width', Node101width);
  6749. Node101.a('node.height', Node101height);
  6750. Node101.a('node.rect', [0, 0, Node101width, Node101height]);
  6751. Node101.a('node.bordercolor','rgba(169,169,169,1)');
  6752. Node101.a('node.borderwidth', 0);
  6753. Node101.a('node.background','' || 'rgba(0,0,0,0)');
  6754. Node101.a('node.gradient','');
  6755. Node101.a('node.gradientcolor','');
  6756. Node101.a('node.text','万kW');
  6757. Node101.a('node.textalign','left');
  6758. Node101.a('node.textvAlign','middle');
  6759. Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
  6760. Node101.a('node.color','rgba(169,169,169,1)');
  6761. Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
  6762. Node101.a('node.textvisible',true);
  6763. Node101.a('node.linefeed',false);
  6764. if (false) {
  6765. Node101.a('node.textfunc',function(g) {
  6766. g.beginPath();
  6767. var str=Node101.a('node.text') || '万kW';
  6768. var color=Node101.a('node.color') || 'rgba(169,169,169,1)';
  6769. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node101width,Node101height,13.3333*_ratio.ratioY,"left",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
  6770. });
  6771. }
  6772. if (false) {
  6773. Node101.a('node.underlinepoints',[Node101lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
  6774. Node101.a('node.underlinevisible',false);
  6775. Node101.a('node.underlineBorderWidth', 1);
  6776. }
  6777. dataModel.add(Node101);
  6778. zoomNodeList.push({
  6779. node: Node101,
  6780. borderWidth: 0,
  6781. attr: 'node.borderwidth'
  6782. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6783. var Node102 = new ht.Node();
  6784. var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 13.3333*_ratio.ratioY,Node102width = 47*_ratio.ratioX, Node102height = 17*_ratio.ratioY;
  6785. (function () {
  6786. if (Node102align === 'left') {
  6787. Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
  6788. Node102textWidth = Node102width;
  6789. Node102lineStart = 1;
  6790. } else if (Node102align === 'right') {
  6791. Node102textStart = 0;
  6792. Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
  6793. Node102lineStart = (Node102width - (ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
  6794. } else if (Node102align === 'center') {
  6795. Node102textStart = -3;
  6796. Node102textWidth = Node102width;
  6797. Node102lineStart = Node102width - ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width - 11;
  6798. }
  6799. })();
  6800. Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
  6801. Node102.setPosition(1266*ratio.ratioX, 179*ratio.ratioY);
  6802. Node102.setWidth(Node102width);
  6803. Node102.setHeight(Node102height);
  6804. Node102._nodeType = 'text';
  6805. Node102._disallowEvert = true;
  6806. Node102.setRotation(0*Math.PI/180);
  6807. Node102.a('node.width', Node102width);
  6808. Node102.a('node.height', Node102height);
  6809. Node102.a('node.rect', [0, 0, Node102width, Node102height]);
  6810. Node102.a('node.bordercolor','rgba(169,169,169,1)');
  6811. Node102.a('node.borderwidth', 0);
  6812. Node102.a('node.background','' || 'rgba(0,0,0,0)');
  6813. Node102.a('node.gradient','');
  6814. Node102.a('node.gradientcolor','');
  6815. Node102.a('node.text','万kW');
  6816. Node102.a('node.textalign','left');
  6817. Node102.a('node.textvAlign','middle');
  6818. Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
  6819. Node102.a('node.color','rgba(169,169,169,1)');
  6820. Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
  6821. Node102.a('node.textvisible',true);
  6822. Node102.a('node.linefeed',false);
  6823. if (false) {
  6824. Node102.a('node.textfunc',function(g) {
  6825. g.beginPath();
  6826. var str=Node102.a('node.text') || '万kW';
  6827. var color=Node102.a('node.color') || 'rgba(169,169,169,1)';
  6828. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
  6829. });
  6830. }
  6831. if (false) {
  6832. Node102.a('node.underlinepoints',[Node102lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
  6833. Node102.a('node.underlinevisible',false);
  6834. Node102.a('node.underlineBorderWidth', 1);
  6835. }
  6836. dataModel.add(Node102);
  6837. zoomNodeList.push({
  6838. node: Node102,
  6839. borderWidth: 0,
  6840. attr: 'node.borderwidth'
  6841. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6842. var Node103 = new ht.Node();
  6843. var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 47*_ratio.ratioX, Node103height = 17*_ratio.ratioY;
  6844. (function () {
  6845. if (Node103align === 'left') {
  6846. Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
  6847. Node103textWidth = Node103width;
  6848. Node103lineStart = 1;
  6849. } else if (Node103align === 'right') {
  6850. Node103textStart = 0;
  6851. Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
  6852. Node103lineStart = (Node103width - (ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
  6853. } else if (Node103align === 'center') {
  6854. Node103textStart = -3;
  6855. Node103textWidth = Node103width;
  6856. Node103lineStart = Node103width - ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width - 11;
  6857. }
  6858. })();
  6859. Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
  6860. Node103.setPosition(1266*ratio.ratioX, 206*ratio.ratioY);
  6861. Node103.setWidth(Node103width);
  6862. Node103.setHeight(Node103height);
  6863. Node103._nodeType = 'text';
  6864. Node103._disallowEvert = true;
  6865. Node103.setRotation(0*Math.PI/180);
  6866. Node103.a('node.width', Node103width);
  6867. Node103.a('node.height', Node103height);
  6868. Node103.a('node.rect', [0, 0, Node103width, Node103height]);
  6869. Node103.a('node.bordercolor','rgba(169,169,169,1)');
  6870. Node103.a('node.borderwidth', 0);
  6871. Node103.a('node.background','' || 'rgba(0,0,0,0)');
  6872. Node103.a('node.gradient','');
  6873. Node103.a('node.gradientcolor','');
  6874. Node103.a('node.text','万kW');
  6875. Node103.a('node.textalign','left');
  6876. Node103.a('node.textvAlign','middle');
  6877. Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
  6878. Node103.a('node.color','rgba(169,169,169,1)');
  6879. Node103.a('node.font',' '+ Node103fontSize + 'px "Arial"');
  6880. Node103.a('node.textvisible',true);
  6881. Node103.a('node.linefeed',false);
  6882. if (false) {
  6883. Node103.a('node.textfunc',function(g) {
  6884. g.beginPath();
  6885. var str=Node103.a('node.text') || '万kW';
  6886. var color=Node103.a('node.color') || 'rgba(169,169,169,1)';
  6887. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
  6888. });
  6889. }
  6890. if (false) {
  6891. Node103.a('node.underlinepoints',[Node103lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
  6892. Node103.a('node.underlinevisible',false);
  6893. Node103.a('node.underlineBorderWidth', 1);
  6894. }
  6895. dataModel.add(Node103);
  6896. zoomNodeList.push({
  6897. node: Node103,
  6898. borderWidth: 0,
  6899. attr: 'node.borderwidth'
  6900. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6901. var Node104 = new ht.Node();
  6902. var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'left', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 47*_ratio.ratioX, Node104height = 17*_ratio.ratioY;
  6903. (function () {
  6904. if (Node104align === 'left') {
  6905. Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
  6906. Node104textWidth = Node104width;
  6907. Node104lineStart = 1;
  6908. } else if (Node104align === 'right') {
  6909. Node104textStart = 0;
  6910. Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
  6911. Node104lineStart = (Node104width - (ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
  6912. } else if (Node104align === 'center') {
  6913. Node104textStart = -3;
  6914. Node104textWidth = Node104width;
  6915. Node104lineStart = Node104width - ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width - 11;
  6916. }
  6917. })();
  6918. Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
  6919. Node104.setPosition(1265*ratio.ratioX, 228*ratio.ratioY);
  6920. Node104.setWidth(Node104width);
  6921. Node104.setHeight(Node104height);
  6922. Node104._nodeType = 'text';
  6923. Node104._disallowEvert = true;
  6924. Node104.setRotation(0*Math.PI/180);
  6925. Node104.a('node.width', Node104width);
  6926. Node104.a('node.height', Node104height);
  6927. Node104.a('node.rect', [0, 0, Node104width, Node104height]);
  6928. Node104.a('node.bordercolor','rgba(169,169,169,1)');
  6929. Node104.a('node.borderwidth', 0);
  6930. Node104.a('node.background','' || 'rgba(0,0,0,0)');
  6931. Node104.a('node.gradient','');
  6932. Node104.a('node.gradientcolor','');
  6933. Node104.a('node.text','万kW');
  6934. Node104.a('node.textalign','left');
  6935. Node104.a('node.textvAlign','middle');
  6936. Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
  6937. Node104.a('node.color','rgba(169,169,169,1)');
  6938. Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"');
  6939. Node104.a('node.textvisible',true);
  6940. Node104.a('node.linefeed',false);
  6941. if (false) {
  6942. Node104.a('node.textfunc',function(g) {
  6943. g.beginPath();
  6944. var str=Node104.a('node.text') || '万kW';
  6945. var color=Node104.a('node.color') || 'rgba(169,169,169,1)';
  6946. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
  6947. });
  6948. }
  6949. if (false) {
  6950. Node104.a('node.underlinepoints',[Node104lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
  6951. Node104.a('node.underlinevisible',false);
  6952. Node104.a('node.underlineBorderWidth', 1);
  6953. }
  6954. dataModel.add(Node104);
  6955. zoomNodeList.push({
  6956. node: Node104,
  6957. borderWidth: 0,
  6958. attr: 'node.borderwidth'
  6959. }); var Node105points=[1045, 142,1322, 142],
  6960. Node105rect=ht.Default.unionPoint([{x:1045,y:142},{x:1322,y:142}]),
  6961. Node105compspts=[];
  6962. _ratio = GD.getRatioWithRotation(0, ratio);
  6963. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  6964. _endratio = GD.getRatioWithRotation(0, ratio);
  6965. for(var i=0;i<Node105points.length;i++){
  6966. if(i%2==0){
  6967. Node105compspts.push(Node105points[i]-Node105rect.x);
  6968. }else{
  6969. Node105compspts.push(Node105points[i]-Node105rect.y);
  6970. }
  6971. }
  6972. var Node105ptslength=Node105compspts.length;
  6973. if (Node105rect.height === 0) {
  6974. Node105compspts[0] -= 0;
  6975. Node105compspts[Node105ptslength-2] += 0;
  6976. } else if (Node105rect.width === 0){
  6977. Node105compspts[1] -= 0;
  6978. Node105compspts[Node105ptslength-1] += 0;
  6979. } else {
  6980. Node105compspts[0] -= 0;
  6981. Node105compspts[1] -= 0;
  6982. Node105compspts[Node105ptslength-2] += 0;
  6983. Node105compspts[Node105ptslength-1] += 0;
  6984. }
  6985. Node105 = new ht.Node();
  6986. Node105.borderWidth = 1;
  6987. Node105rect.width = Node105rect.width === 0 ? 0.0001 : Node105rect.width;
  6988. Node105rect.height = Node105rect.height === 0 ? 0.0001 : Node105rect.height;
  6989. var Node105endCompspts = [Node105compspts[Node105ptslength-2],Node105compspts[Node105ptslength-1],0,0];
  6990. var Node105startCompspts = [Node105compspts[0],Node105compspts[1],0,0];
  6991. Node105.setImage(GD.getPolyLineJSON());
  6992. Node105.setPosition(Node105rect.x+Node105rect.width/2,Node105rect.y+Node105rect.height/2);
  6993. Node105.setSize(Node105rect.width,Node105rect.height);
  6994. Node105.setStyle("opacity",1);
  6995. Node105.s({'pixelPerfect':true});
  6996. Node105borderwidth=1;
  6997. Node105.setRotation(0);
  6998. dataModel.add(Node105);
  6999. Node105.a('node.points',Node105compspts);
  7000. Node105.a('node.segments',[1,2]);
  7001. Node105.a('node.color','rgba(220,220,220,1)');
  7002. Node105.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7003. Node105.a('node.borderColor','rgba(220,220,220,1)');
  7004. Node105.a('node.background','rgba(220,220,220,1)');
  7005. Node105.a('node.gradient','');
  7006. Node105.a('node.gradientcolor','rgba(220,220,220,1)');
  7007. Node105.a('node.endCompspts',Node105endCompspts);
  7008. Node105.a('node.startCompspts',Node105startCompspts);
  7009. (function (node, img, compspts, endCompspts, startCompspts) {
  7010. var position = node.getPosition(),
  7011. w = node.getWidth()*_ratio.ratioX,
  7012. h = node.getHeight()*_ratio.ratioY;
  7013. function resetPoints(rx, ry) {
  7014. for (var i = 0, len = compspts.length; i < len; i++) {
  7015. if (i%2 === 0) {
  7016. compspts[i]*=rx;
  7017. } else {
  7018. compspts[i]*=ry;
  7019. }
  7020. }
  7021. endCompspts[0] = compspts[compspts.length-2];
  7022. endCompspts[1] = compspts[compspts.length-1];
  7023. endCompspts[2] *= rx;
  7024. endCompspts[3] *= ry;
  7025. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7026. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7027. startCompspts[0] = compspts[0];
  7028. startCompspts[1] = compspts[1];
  7029. startCompspts[2] *= rx;
  7030. startCompspts[3] *= ry;
  7031. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7032. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7033. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7034. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7035. }
  7036. node.setSize(w, h);
  7037. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7038. node.a('node.width', w);
  7039. node.a('node.height', h);
  7040. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7041. node.borderWidth = 1;
  7042. node.a('node.borderwidth',node.borderWidth);
  7043. node._nodename = 'Node105';
  7044. node._nodeType = 'line';
  7045. zoomNodeList.push({
  7046. node: node,
  7047. attr: 'node.borderwidth'
  7048. });
  7049. var setWidth = node.setWidth,
  7050. setHeight = node.setHeight,
  7051. timer, rx = 1, ry = 1;
  7052. node.setWidth = function (width) {
  7053. var _width = this.getWidth();
  7054. rx = width / _width;
  7055. node.a('node.width', width);
  7056. setWidth.apply(this, arguments);
  7057. resetPoints(rx, 1);
  7058. }
  7059. node.setHeight = function (height) {
  7060. var _height = this.getHeight();
  7061. ry = height / _height;
  7062. node.a('node.height', height);
  7063. setHeight.apply(this, arguments);
  7064. resetPoints(1, ry);
  7065. }
  7066. })(Node105, Node105.getImage(), Node105compspts, Node105endCompspts, Node105startCompspts);
  7067. var Node106points=[1043, 168,1320, 168],
  7068. Node106rect=ht.Default.unionPoint([{x:1043,y:168},{x:1320,y:168}]),
  7069. Node106compspts=[];
  7070. _ratio = GD.getRatioWithRotation(0, ratio);
  7071. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  7072. _endratio = GD.getRatioWithRotation(0, ratio);
  7073. for(var i=0;i<Node106points.length;i++){
  7074. if(i%2==0){
  7075. Node106compspts.push(Node106points[i]-Node106rect.x);
  7076. }else{
  7077. Node106compspts.push(Node106points[i]-Node106rect.y);
  7078. }
  7079. }
  7080. var Node106ptslength=Node106compspts.length;
  7081. if (Node106rect.height === 0) {
  7082. Node106compspts[0] -= 0;
  7083. Node106compspts[Node106ptslength-2] += 0;
  7084. } else if (Node106rect.width === 0){
  7085. Node106compspts[1] -= 0;
  7086. Node106compspts[Node106ptslength-1] += 0;
  7087. } else {
  7088. Node106compspts[0] -= 0;
  7089. Node106compspts[1] -= 0;
  7090. Node106compspts[Node106ptslength-2] += 0;
  7091. Node106compspts[Node106ptslength-1] += 0;
  7092. }
  7093. Node106 = new ht.Node();
  7094. Node106.borderWidth = 1;
  7095. Node106rect.width = Node106rect.width === 0 ? 0.0001 : Node106rect.width;
  7096. Node106rect.height = Node106rect.height === 0 ? 0.0001 : Node106rect.height;
  7097. var Node106endCompspts = [Node106compspts[Node106ptslength-2],Node106compspts[Node106ptslength-1],0,0];
  7098. var Node106startCompspts = [Node106compspts[0],Node106compspts[1],0,0];
  7099. Node106.setImage(GD.getPolyLineJSON());
  7100. Node106.setPosition(Node106rect.x+Node106rect.width/2,Node106rect.y+Node106rect.height/2);
  7101. Node106.setSize(Node106rect.width,Node106rect.height);
  7102. Node106.setStyle("opacity",1);
  7103. Node106.s({'pixelPerfect':true});
  7104. Node106borderwidth=1;
  7105. Node106.setRotation(0);
  7106. dataModel.add(Node106);
  7107. Node106.a('node.points',Node106compspts);
  7108. Node106.a('node.segments',[1,2]);
  7109. Node106.a('node.color','rgba(220,220,220,1)');
  7110. Node106.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7111. Node106.a('node.borderColor','rgba(220,220,220,1)');
  7112. Node106.a('node.background','rgba(220,220,220,1)');
  7113. Node106.a('node.gradient','');
  7114. Node106.a('node.gradientcolor','rgba(220,220,220,1)');
  7115. Node106.a('node.endCompspts',Node106endCompspts);
  7116. Node106.a('node.startCompspts',Node106startCompspts);
  7117. (function (node, img, compspts, endCompspts, startCompspts) {
  7118. var position = node.getPosition(),
  7119. w = node.getWidth()*_ratio.ratioX,
  7120. h = node.getHeight()*_ratio.ratioY;
  7121. function resetPoints(rx, ry) {
  7122. for (var i = 0, len = compspts.length; i < len; i++) {
  7123. if (i%2 === 0) {
  7124. compspts[i]*=rx;
  7125. } else {
  7126. compspts[i]*=ry;
  7127. }
  7128. }
  7129. endCompspts[0] = compspts[compspts.length-2];
  7130. endCompspts[1] = compspts[compspts.length-1];
  7131. endCompspts[2] *= rx;
  7132. endCompspts[3] *= ry;
  7133. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7134. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7135. startCompspts[0] = compspts[0];
  7136. startCompspts[1] = compspts[1];
  7137. startCompspts[2] *= rx;
  7138. startCompspts[3] *= ry;
  7139. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7140. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7141. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7142. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7143. }
  7144. node.setSize(w, h);
  7145. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7146. node.a('node.width', w);
  7147. node.a('node.height', h);
  7148. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7149. node.borderWidth = 1;
  7150. node.a('node.borderwidth',node.borderWidth);
  7151. node._nodename = 'Node106';
  7152. node._nodeType = 'line';
  7153. zoomNodeList.push({
  7154. node: node,
  7155. attr: 'node.borderwidth'
  7156. });
  7157. var setWidth = node.setWidth,
  7158. setHeight = node.setHeight,
  7159. timer, rx = 1, ry = 1;
  7160. node.setWidth = function (width) {
  7161. var _width = this.getWidth();
  7162. rx = width / _width;
  7163. node.a('node.width', width);
  7164. setWidth.apply(this, arguments);
  7165. resetPoints(rx, 1);
  7166. }
  7167. node.setHeight = function (height) {
  7168. var _height = this.getHeight();
  7169. ry = height / _height;
  7170. node.a('node.height', height);
  7171. setHeight.apply(this, arguments);
  7172. resetPoints(1, ry);
  7173. }
  7174. })(Node106, Node106.getImage(), Node106compspts, Node106endCompspts, Node106startCompspts);
  7175. var Node107points=[1045, 192,1322, 192],
  7176. Node107rect=ht.Default.unionPoint([{x:1045,y:192},{x:1322,y:192}]),
  7177. Node107compspts=[];
  7178. _ratio = GD.getRatioWithRotation(0, ratio);
  7179. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  7180. _endratio = GD.getRatioWithRotation(0, ratio);
  7181. for(var i=0;i<Node107points.length;i++){
  7182. if(i%2==0){
  7183. Node107compspts.push(Node107points[i]-Node107rect.x);
  7184. }else{
  7185. Node107compspts.push(Node107points[i]-Node107rect.y);
  7186. }
  7187. }
  7188. var Node107ptslength=Node107compspts.length;
  7189. if (Node107rect.height === 0) {
  7190. Node107compspts[0] -= 0;
  7191. Node107compspts[Node107ptslength-2] += 0;
  7192. } else if (Node107rect.width === 0){
  7193. Node107compspts[1] -= 0;
  7194. Node107compspts[Node107ptslength-1] += 0;
  7195. } else {
  7196. Node107compspts[0] -= 0;
  7197. Node107compspts[1] -= 0;
  7198. Node107compspts[Node107ptslength-2] += 0;
  7199. Node107compspts[Node107ptslength-1] += 0;
  7200. }
  7201. Node107 = new ht.Node();
  7202. Node107.borderWidth = 1;
  7203. Node107rect.width = Node107rect.width === 0 ? 0.0001 : Node107rect.width;
  7204. Node107rect.height = Node107rect.height === 0 ? 0.0001 : Node107rect.height;
  7205. var Node107endCompspts = [Node107compspts[Node107ptslength-2],Node107compspts[Node107ptslength-1],0,0];
  7206. var Node107startCompspts = [Node107compspts[0],Node107compspts[1],0,0];
  7207. Node107.setImage(GD.getPolyLineJSON());
  7208. Node107.setPosition(Node107rect.x+Node107rect.width/2,Node107rect.y+Node107rect.height/2);
  7209. Node107.setSize(Node107rect.width,Node107rect.height);
  7210. Node107.setStyle("opacity",1);
  7211. Node107.s({'pixelPerfect':true});
  7212. Node107borderwidth=1;
  7213. Node107.setRotation(0);
  7214. dataModel.add(Node107);
  7215. Node107.a('node.points',Node107compspts);
  7216. Node107.a('node.segments',[1,2]);
  7217. Node107.a('node.color','rgba(220,220,220,1)');
  7218. Node107.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7219. Node107.a('node.borderColor','rgba(220,220,220,1)');
  7220. Node107.a('node.background','rgba(220,220,220,1)');
  7221. Node107.a('node.gradient','');
  7222. Node107.a('node.gradientcolor','rgba(220,220,220,1)');
  7223. Node107.a('node.endCompspts',Node107endCompspts);
  7224. Node107.a('node.startCompspts',Node107startCompspts);
  7225. (function (node, img, compspts, endCompspts, startCompspts) {
  7226. var position = node.getPosition(),
  7227. w = node.getWidth()*_ratio.ratioX,
  7228. h = node.getHeight()*_ratio.ratioY;
  7229. function resetPoints(rx, ry) {
  7230. for (var i = 0, len = compspts.length; i < len; i++) {
  7231. if (i%2 === 0) {
  7232. compspts[i]*=rx;
  7233. } else {
  7234. compspts[i]*=ry;
  7235. }
  7236. }
  7237. endCompspts[0] = compspts[compspts.length-2];
  7238. endCompspts[1] = compspts[compspts.length-1];
  7239. endCompspts[2] *= rx;
  7240. endCompspts[3] *= ry;
  7241. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7242. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7243. startCompspts[0] = compspts[0];
  7244. startCompspts[1] = compspts[1];
  7245. startCompspts[2] *= rx;
  7246. startCompspts[3] *= ry;
  7247. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7248. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7249. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7250. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7251. }
  7252. node.setSize(w, h);
  7253. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7254. node.a('node.width', w);
  7255. node.a('node.height', h);
  7256. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7257. node.borderWidth = 1;
  7258. node.a('node.borderwidth',node.borderWidth);
  7259. node._nodename = 'Node107';
  7260. node._nodeType = 'line';
  7261. zoomNodeList.push({
  7262. node: node,
  7263. attr: 'node.borderwidth'
  7264. });
  7265. var setWidth = node.setWidth,
  7266. setHeight = node.setHeight,
  7267. timer, rx = 1, ry = 1;
  7268. node.setWidth = function (width) {
  7269. var _width = this.getWidth();
  7270. rx = width / _width;
  7271. node.a('node.width', width);
  7272. setWidth.apply(this, arguments);
  7273. resetPoints(rx, 1);
  7274. }
  7275. node.setHeight = function (height) {
  7276. var _height = this.getHeight();
  7277. ry = height / _height;
  7278. node.a('node.height', height);
  7279. setHeight.apply(this, arguments);
  7280. resetPoints(1, ry);
  7281. }
  7282. })(Node107, Node107.getImage(), Node107compspts, Node107endCompspts, Node107startCompspts);
  7283. var Node108points=[1045, 215,1322, 215],
  7284. Node108rect=ht.Default.unionPoint([{x:1045,y:215},{x:1322,y:215}]),
  7285. Node108compspts=[];
  7286. _ratio = GD.getRatioWithRotation(0, ratio);
  7287. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  7288. _endratio = GD.getRatioWithRotation(0, ratio);
  7289. for(var i=0;i<Node108points.length;i++){
  7290. if(i%2==0){
  7291. Node108compspts.push(Node108points[i]-Node108rect.x);
  7292. }else{
  7293. Node108compspts.push(Node108points[i]-Node108rect.y);
  7294. }
  7295. }
  7296. var Node108ptslength=Node108compspts.length;
  7297. if (Node108rect.height === 0) {
  7298. Node108compspts[0] -= 0;
  7299. Node108compspts[Node108ptslength-2] += 0;
  7300. } else if (Node108rect.width === 0){
  7301. Node108compspts[1] -= 0;
  7302. Node108compspts[Node108ptslength-1] += 0;
  7303. } else {
  7304. Node108compspts[0] -= 0;
  7305. Node108compspts[1] -= 0;
  7306. Node108compspts[Node108ptslength-2] += 0;
  7307. Node108compspts[Node108ptslength-1] += 0;
  7308. }
  7309. Node108 = new ht.Node();
  7310. Node108.borderWidth = 1;
  7311. Node108rect.width = Node108rect.width === 0 ? 0.0001 : Node108rect.width;
  7312. Node108rect.height = Node108rect.height === 0 ? 0.0001 : Node108rect.height;
  7313. var Node108endCompspts = [Node108compspts[Node108ptslength-2],Node108compspts[Node108ptslength-1],0,0];
  7314. var Node108startCompspts = [Node108compspts[0],Node108compspts[1],0,0];
  7315. Node108.setImage(GD.getPolyLineJSON());
  7316. Node108.setPosition(Node108rect.x+Node108rect.width/2,Node108rect.y+Node108rect.height/2);
  7317. Node108.setSize(Node108rect.width,Node108rect.height);
  7318. Node108.setStyle("opacity",1);
  7319. Node108.s({'pixelPerfect':true});
  7320. Node108borderwidth=1;
  7321. Node108.setRotation(0);
  7322. dataModel.add(Node108);
  7323. Node108.a('node.points',Node108compspts);
  7324. Node108.a('node.segments',[1,2]);
  7325. Node108.a('node.color','rgba(220,220,220,1)');
  7326. Node108.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7327. Node108.a('node.borderColor','rgba(220,220,220,1)');
  7328. Node108.a('node.background','rgba(220,220,220,1)');
  7329. Node108.a('node.gradient','');
  7330. Node108.a('node.gradientcolor','rgba(220,220,220,1)');
  7331. Node108.a('node.endCompspts',Node108endCompspts);
  7332. Node108.a('node.startCompspts',Node108startCompspts);
  7333. (function (node, img, compspts, endCompspts, startCompspts) {
  7334. var position = node.getPosition(),
  7335. w = node.getWidth()*_ratio.ratioX,
  7336. h = node.getHeight()*_ratio.ratioY;
  7337. function resetPoints(rx, ry) {
  7338. for (var i = 0, len = compspts.length; i < len; i++) {
  7339. if (i%2 === 0) {
  7340. compspts[i]*=rx;
  7341. } else {
  7342. compspts[i]*=ry;
  7343. }
  7344. }
  7345. endCompspts[0] = compspts[compspts.length-2];
  7346. endCompspts[1] = compspts[compspts.length-1];
  7347. endCompspts[2] *= rx;
  7348. endCompspts[3] *= ry;
  7349. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7350. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7351. startCompspts[0] = compspts[0];
  7352. startCompspts[1] = compspts[1];
  7353. startCompspts[2] *= rx;
  7354. startCompspts[3] *= ry;
  7355. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7356. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7357. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7358. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7359. }
  7360. node.setSize(w, h);
  7361. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7362. node.a('node.width', w);
  7363. node.a('node.height', h);
  7364. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7365. node.borderWidth = 1;
  7366. node.a('node.borderwidth',node.borderWidth);
  7367. node._nodename = 'Node108';
  7368. node._nodeType = 'line';
  7369. zoomNodeList.push({
  7370. node: node,
  7371. attr: 'node.borderwidth'
  7372. });
  7373. var setWidth = node.setWidth,
  7374. setHeight = node.setHeight,
  7375. timer, rx = 1, ry = 1;
  7376. node.setWidth = function (width) {
  7377. var _width = this.getWidth();
  7378. rx = width / _width;
  7379. node.a('node.width', width);
  7380. setWidth.apply(this, arguments);
  7381. resetPoints(rx, 1);
  7382. }
  7383. node.setHeight = function (height) {
  7384. var _height = this.getHeight();
  7385. ry = height / _height;
  7386. node.a('node.height', height);
  7387. setHeight.apply(this, arguments);
  7388. resetPoints(1, ry);
  7389. }
  7390. })(Node108, Node108.getImage(), Node108compspts, Node108endCompspts, Node108startCompspts);
  7391. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7392. var Node109type = 'rect';
  7393. var Node109 = new ht.Node(),
  7394. Node109BorderWidth = 1*2;
  7395. if (Node109type === 'arc') {
  7396. Node109BorderWidth *= 1;
  7397. }
  7398. Node109.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node109type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  7399. Node109.setPosition(1390*ratio.ratioX, 178*ratio.ratioY);
  7400. Node109.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  7401. Node109.s({
  7402. 'pixelPerfect':true
  7403. /*@AddPara@*/
  7404. });
  7405. Node109.a('node.width', 120*_ratio.ratioX);
  7406. Node109.a('node.height', 120*_ratio.ratioY);
  7407. Node109.a('node.type', Node109type);
  7408. Node109.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  7409. Node109.a('node.background', 'rgba(245,245,245,1)');
  7410. Node109.a('node.gradientcolor', 'rgba(245,245,245,1)');
  7411. Node109.a('node.gradient', '');
  7412. Node109.a('node.borderwidth', Node109BorderWidth);
  7413. Node109.a('node.color', 'rgba(220,220,220,1)');
  7414. Node109.a('node.fillrect', [0,0,0,0]);
  7415. Node109.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  7416. Node109.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  7417. Node109.a('node.fillgradient', '');
  7418. if (Node109type !== 'rect') {
  7419. Node109.a('node.arcFrom', parseFloat('@arcFrom@'));
  7420. Node109.a('node.arcTo', parseFloat('@arcTo@'));
  7421. Node109.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  7422. }
  7423. if (Node109type === 'arc') {
  7424. Node109.a('node.arcOval', true);
  7425. }
  7426. Node109.setRotation(0*Math.PI/180);
  7427. Node109.borderWidth = Node109BorderWidth;
  7428. Node109.borderFillwidth = Node109BorderWidth;
  7429. dataModel.add(Node109);
  7430. Node109._nodename = 'Node109'
  7431. Node109._nodeType = 'rect';
  7432. zoomNodeList.push({
  7433. node: Node109,
  7434. attr: 'node.borderwidth'
  7435. });
  7436. (function (node, _img) {
  7437. var setWidth = node.setWidth,
  7438. setHeight = node.setHeight;
  7439. node.setWidth = function (width) {
  7440. if (width === this.getWidth()) return ;
  7441. var height = this.getHeight();
  7442. this.a('node.width', width);
  7443. this.a('node.rect', [0,0,width, height]);
  7444. setWidth.apply(this, arguments);
  7445. }
  7446. node.setHeight = function (height) {
  7447. if (height === this.getHeight()) return ;
  7448. var width = this.getWidth();
  7449. this.a('node.height', height);
  7450. this.a('node.rect', [0,0,width, height]);
  7451. setHeight.apply(this, arguments);
  7452. }
  7453. })(Node109, Node109.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7454. var Node110type = 'rect';
  7455. var Node110 = new ht.Node(),
  7456. Node110BorderWidth = 1*2;
  7457. if (Node110type === 'arc') {
  7458. Node110BorderWidth *= 1;
  7459. }
  7460. Node110.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node110type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  7461. Node110.setPosition(1470*ratio.ratioX, 178*ratio.ratioY);
  7462. Node110.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  7463. Node110.s({
  7464. 'pixelPerfect':true
  7465. /*@AddPara@*/
  7466. });
  7467. Node110.a('node.width', 280.7278*_ratio.ratioX);
  7468. Node110.a('node.height', 122*_ratio.ratioY);
  7469. Node110.a('node.type', Node110type);
  7470. Node110.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  7471. Node110.a('node.background', 'rgba(255,255,255,0.003921569)');
  7472. Node110.a('node.gradientcolor', '');
  7473. Node110.a('node.gradient', '');
  7474. Node110.a('node.borderwidth', Node110BorderWidth);
  7475. Node110.a('node.color', 'rgba(220,220,220,1)');
  7476. Node110.a('node.fillrect', [0,0,0,0]);
  7477. Node110.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  7478. Node110.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  7479. Node110.a('node.fillgradient', '');
  7480. if (Node110type !== 'rect') {
  7481. Node110.a('node.arcFrom', parseFloat('@arcFrom@'));
  7482. Node110.a('node.arcTo', parseFloat('@arcTo@'));
  7483. Node110.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  7484. }
  7485. if (Node110type === 'arc') {
  7486. Node110.a('node.arcOval', true);
  7487. }
  7488. Node110.setRotation(0*Math.PI/180);
  7489. Node110.borderWidth = Node110BorderWidth;
  7490. Node110.borderFillwidth = Node110BorderWidth;
  7491. dataModel.add(Node110);
  7492. Node110._nodename = 'Node110'
  7493. Node110._nodeType = 'rect';
  7494. zoomNodeList.push({
  7495. node: Node110,
  7496. attr: 'node.borderwidth'
  7497. });
  7498. (function (node, _img) {
  7499. var setWidth = node.setWidth,
  7500. setHeight = node.setHeight;
  7501. node.setWidth = function (width) {
  7502. if (width === this.getWidth()) return ;
  7503. var height = this.getHeight();
  7504. this.a('node.width', width);
  7505. this.a('node.rect', [0,0,width, height]);
  7506. setWidth.apply(this, arguments);
  7507. }
  7508. node.setHeight = function (height) {
  7509. if (height === this.getHeight()) return ;
  7510. var width = this.getWidth();
  7511. this.a('node.height', height);
  7512. this.a('node.rect', [0,0,width, height]);
  7513. setHeight.apply(this, arguments);
  7514. }
  7515. })(Node110, Node110.getImage());var Node111points=[1520, 118,1520, 238],
  7516. Node111rect=ht.Default.unionPoint([{x:1520,y:118},{x:1520,y:238}]),
  7517. Node111compspts=[];
  7518. _ratio = GD.getRatioWithRotation(0, ratio);
  7519. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  7520. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  7521. for(var i=0;i<Node111points.length;i++){
  7522. if(i%2==0){
  7523. Node111compspts.push(Node111points[i]-Node111rect.x);
  7524. }else{
  7525. Node111compspts.push(Node111points[i]-Node111rect.y);
  7526. }
  7527. }
  7528. var Node111ptslength=Node111compspts.length;
  7529. if (Node111rect.height === 0) {
  7530. Node111compspts[0] -= 0;
  7531. Node111compspts[Node111ptslength-2] += 0;
  7532. } else if (Node111rect.width === 0){
  7533. Node111compspts[1] -= 0;
  7534. Node111compspts[Node111ptslength-1] += 0;
  7535. } else {
  7536. Node111compspts[0] -= 0;
  7537. Node111compspts[1] -= 0;
  7538. Node111compspts[Node111ptslength-2] += 0;
  7539. Node111compspts[Node111ptslength-1] += 0;
  7540. }
  7541. Node111 = new ht.Node();
  7542. Node111.borderWidth = 1;
  7543. Node111rect.width = Node111rect.width === 0 ? 0.0001 : Node111rect.width;
  7544. Node111rect.height = Node111rect.height === 0 ? 0.0001 : Node111rect.height;
  7545. var Node111endCompspts = [Node111compspts[Node111ptslength-2],Node111compspts[Node111ptslength-1],0,0];
  7546. var Node111startCompspts = [Node111compspts[0],Node111compspts[1],0,0];
  7547. Node111.setImage(GD.getPolyLineJSON());
  7548. Node111.setPosition(Node111rect.x+Node111rect.width/2,Node111rect.y+Node111rect.height/2);
  7549. Node111.setSize(Node111rect.width,Node111rect.height);
  7550. Node111.setStyle("opacity",1);
  7551. Node111.s({'pixelPerfect':true});
  7552. Node111borderwidth=1;
  7553. Node111.setRotation(0);
  7554. dataModel.add(Node111);
  7555. Node111.a('node.points',Node111compspts);
  7556. Node111.a('node.segments',[1,2]);
  7557. Node111.a('node.color','rgba(220,220,220,1)');
  7558. Node111.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7559. Node111.a('node.borderColor','rgba(220,220,220,1)');
  7560. Node111.a('node.background','rgba(220,220,220,1)');
  7561. Node111.a('node.gradient','');
  7562. Node111.a('node.gradientcolor','rgba(220,220,220,1)');
  7563. Node111.a('node.endCompspts',Node111endCompspts);
  7564. Node111.a('node.startCompspts',Node111startCompspts);
  7565. (function (node, img, compspts, endCompspts, startCompspts) {
  7566. var position = node.getPosition(),
  7567. w = node.getWidth()*_ratio.ratioX,
  7568. h = node.getHeight()*_ratio.ratioY;
  7569. function resetPoints(rx, ry) {
  7570. for (var i = 0, len = compspts.length; i < len; i++) {
  7571. if (i%2 === 0) {
  7572. compspts[i]*=rx;
  7573. } else {
  7574. compspts[i]*=ry;
  7575. }
  7576. }
  7577. endCompspts[0] = compspts[compspts.length-2];
  7578. endCompspts[1] = compspts[compspts.length-1];
  7579. endCompspts[2] *= rx;
  7580. endCompspts[3] *= ry;
  7581. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7582. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7583. startCompspts[0] = compspts[0];
  7584. startCompspts[1] = compspts[1];
  7585. startCompspts[2] *= rx;
  7586. startCompspts[3] *= ry;
  7587. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7588. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7589. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7590. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7591. }
  7592. node.setSize(w, h);
  7593. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7594. node.a('node.width', w);
  7595. node.a('node.height', h);
  7596. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7597. node.borderWidth = 1;
  7598. node.a('node.borderwidth',node.borderWidth);
  7599. node._nodename = 'Node111';
  7600. node._nodeType = 'line';
  7601. zoomNodeList.push({
  7602. node: node,
  7603. attr: 'node.borderwidth'
  7604. });
  7605. var setWidth = node.setWidth,
  7606. setHeight = node.setHeight,
  7607. timer, rx = 1, ry = 1;
  7608. node.setWidth = function (width) {
  7609. var _width = this.getWidth();
  7610. rx = width / _width;
  7611. node.a('node.width', width);
  7612. setWidth.apply(this, arguments);
  7613. resetPoints(rx, 1);
  7614. }
  7615. node.setHeight = function (height) {
  7616. var _height = this.getHeight();
  7617. ry = height / _height;
  7618. node.a('node.height', height);
  7619. setHeight.apply(this, arguments);
  7620. resetPoints(1, ry);
  7621. }
  7622. })(Node111, Node111.getImage(), Node111compspts, Node111endCompspts, Node111startCompspts);
  7623. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7624. var Node112 = new ht.Node();
  7625. var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'left', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 110*_ratio.ratioX, Node112height = 27*_ratio.ratioY;
  7626. (function () {
  7627. if (Node112align === 'left') {
  7628. Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
  7629. Node112textWidth = Node112width;
  7630. Node112lineStart = 1;
  7631. } else if (Node112align === 'right') {
  7632. Node112textStart = 0;
  7633. Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
  7634. Node112lineStart = (Node112width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5;
  7635. } else if (Node112align === 'center') {
  7636. Node112textStart = -3;
  7637. Node112textWidth = Node112width;
  7638. Node112lineStart = Node112width - ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width - 11;
  7639. }
  7640. })();
  7641. Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
  7642. Node112.setPosition(1389*ratio.ratioX, 129*ratio.ratioY);
  7643. Node112.setWidth(Node112width);
  7644. Node112.setHeight(Node112height);
  7645. Node112._nodeType = 'text';
  7646. Node112._disallowEvert = true;
  7647. Node112.setRotation(0*Math.PI/180);
  7648. Node112.a('node.width', Node112width);
  7649. Node112.a('node.height', Node112height);
  7650. Node112.a('node.rect', [0, 0, Node112width, Node112height]);
  7651. Node112.a('node.bordercolor','rgba(0,0,0,1)');
  7652. Node112.a('node.borderwidth', 0);
  7653. Node112.a('node.background','' || 'rgba(0,0,0,0)');
  7654. Node112.a('node.gradient','');
  7655. Node112.a('node.gradientcolor','');
  7656. Node112.a('node.text','月维护损失电量');
  7657. Node112.a('node.textalign','left');
  7658. Node112.a('node.textvAlign','middle');
  7659. Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
  7660. Node112.a('node.color','rgba(0,0,0,1)');
  7661. Node112.a('node.font',' '+ Node112fontSize + 'px "Arial"');
  7662. Node112.a('node.textvisible',true);
  7663. Node112.a('node.linefeed',false);
  7664. if (false) {
  7665. Node112.a('node.textfunc',function(g) {
  7666. g.beginPath();
  7667. var str=Node112.a('node.text') || '月维护损失电量';
  7668. var color=Node112.a('node.color') || 'rgba(0,0,0,1)';
  7669. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"left",color,' '+ Node112fontSize + 'px "Arial"', 0,g);
  7670. });
  7671. }
  7672. if (false) {
  7673. Node112.a('node.underlinepoints',[Node112lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]);
  7674. Node112.a('node.underlinevisible',false);
  7675. Node112.a('node.underlineBorderWidth', 1);
  7676. }
  7677. dataModel.add(Node112);
  7678. zoomNodeList.push({
  7679. node: Node112,
  7680. borderWidth: 0,
  7681. attr: 'node.borderwidth'
  7682. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7683. var Node113 = new ht.Node();
  7684. var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 110*_ratio.ratioX, Node113height = 27*_ratio.ratioY;
  7685. (function () {
  7686. if (Node113align === 'left') {
  7687. Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
  7688. Node113textWidth = Node113width;
  7689. Node113lineStart = 1;
  7690. } else if (Node113align === 'right') {
  7691. Node113textStart = 0;
  7692. Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
  7693. Node113lineStart = (Node113width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
  7694. } else if (Node113align === 'center') {
  7695. Node113textStart = -3;
  7696. Node113textWidth = Node113width;
  7697. Node113lineStart = Node113width - ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width - 11;
  7698. }
  7699. })();
  7700. Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
  7701. Node113.setPosition(1389*ratio.ratioX, 155*ratio.ratioY);
  7702. Node113.setWidth(Node113width);
  7703. Node113.setHeight(Node113height);
  7704. Node113._nodeType = 'text';
  7705. Node113._disallowEvert = true;
  7706. Node113.setRotation(0*Math.PI/180);
  7707. Node113.a('node.width', Node113width);
  7708. Node113.a('node.height', Node113height);
  7709. Node113.a('node.rect', [0, 0, Node113width, Node113height]);
  7710. Node113.a('node.bordercolor','rgba(0,0,0,1)');
  7711. Node113.a('node.borderwidth', 0);
  7712. Node113.a('node.background','' || 'rgba(0,0,0,0)');
  7713. Node113.a('node.gradient','');
  7714. Node113.a('node.gradientcolor','');
  7715. Node113.a('node.text','月故障损失电量');
  7716. Node113.a('node.textalign','left');
  7717. Node113.a('node.textvAlign','middle');
  7718. Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
  7719. Node113.a('node.color','rgba(0,0,0,1)');
  7720. Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
  7721. Node113.a('node.textvisible',true);
  7722. Node113.a('node.linefeed',false);
  7723. if (false) {
  7724. Node113.a('node.textfunc',function(g) {
  7725. g.beginPath();
  7726. var str=Node113.a('node.text') || '月故障损失电量';
  7727. var color=Node113.a('node.color') || 'rgba(0,0,0,1)';
  7728. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
  7729. });
  7730. }
  7731. if (false) {
  7732. Node113.a('node.underlinepoints',[Node113lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
  7733. Node113.a('node.underlinevisible',false);
  7734. Node113.a('node.underlineBorderWidth', 1);
  7735. }
  7736. dataModel.add(Node113);
  7737. zoomNodeList.push({
  7738. node: Node113,
  7739. borderWidth: 0,
  7740. attr: 'node.borderwidth'
  7741. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7742. var Node114 = new ht.Node();
  7743. var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'left', Node114fontSize = 13.3333*_ratio.ratioY,Node114width = 110*_ratio.ratioX, Node114height = 27*_ratio.ratioY;
  7744. (function () {
  7745. if (Node114align === 'left') {
  7746. Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9;
  7747. Node114textWidth = Node114width;
  7748. Node114lineStart = 1;
  7749. } else if (Node114align === 'right') {
  7750. Node114textStart = 0;
  7751. Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2;
  7752. Node114lineStart = (Node114width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
  7753. } else if (Node114align === 'center') {
  7754. Node114textStart = -3;
  7755. Node114textWidth = Node114width;
  7756. Node114lineStart = Node114width - ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width - 11;
  7757. }
  7758. })();
  7759. Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
  7760. Node114.setPosition(1389*ratio.ratioX, 179*ratio.ratioY);
  7761. Node114.setWidth(Node114width);
  7762. Node114.setHeight(Node114height);
  7763. Node114._nodeType = 'text';
  7764. Node114._disallowEvert = true;
  7765. Node114.setRotation(0*Math.PI/180);
  7766. Node114.a('node.width', Node114width);
  7767. Node114.a('node.height', Node114height);
  7768. Node114.a('node.rect', [0, 0, Node114width, Node114height]);
  7769. Node114.a('node.bordercolor','rgba(0,0,0,1)');
  7770. Node114.a('node.borderwidth', 0);
  7771. Node114.a('node.background','' || 'rgba(0,0,0,0)');
  7772. Node114.a('node.gradient','');
  7773. Node114.a('node.gradientcolor','');
  7774. Node114.a('node.text','月限电损失电量');
  7775. Node114.a('node.textalign','left');
  7776. Node114.a('node.textvAlign','middle');
  7777. Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]);
  7778. Node114.a('node.color','rgba(0,0,0,1)');
  7779. Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"');
  7780. Node114.a('node.textvisible',true);
  7781. Node114.a('node.linefeed',false);
  7782. if (false) {
  7783. Node114.a('node.textfunc',function(g) {
  7784. g.beginPath();
  7785. var str=Node114.a('node.text') || '月限电损失电量';
  7786. var color=Node114.a('node.color') || 'rgba(0,0,0,1)';
  7787. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node114width,Node114height,13.3333*_ratio.ratioY,"left",color,' '+ Node114fontSize + 'px "Arial"', 0,g);
  7788. });
  7789. }
  7790. if (false) {
  7791. Node114.a('node.underlinepoints',[Node114lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]);
  7792. Node114.a('node.underlinevisible',false);
  7793. Node114.a('node.underlineBorderWidth', 1);
  7794. }
  7795. dataModel.add(Node114);
  7796. zoomNodeList.push({
  7797. node: Node114,
  7798. borderWidth: 0,
  7799. attr: 'node.borderwidth'
  7800. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7801. var Node115 = new ht.Node();
  7802. var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'left', Node115fontSize = 13.3333*_ratio.ratioY,Node115width = 110*_ratio.ratioX, Node115height = 27*_ratio.ratioY;
  7803. (function () {
  7804. if (Node115align === 'left') {
  7805. Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9;
  7806. Node115textWidth = Node115width;
  7807. Node115lineStart = 1;
  7808. } else if (Node115align === 'right') {
  7809. Node115textStart = 0;
  7810. Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2;
  7811. Node115lineStart = (Node115width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5;
  7812. } else if (Node115align === 'center') {
  7813. Node115textStart = -3;
  7814. Node115textWidth = Node115width;
  7815. Node115lineStart = Node115width - ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width - 11;
  7816. }
  7817. })();
  7818. Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"'))
  7819. Node115.setPosition(1391*ratio.ratioX, 202*ratio.ratioY);
  7820. Node115.setWidth(Node115width);
  7821. Node115.setHeight(Node115height);
  7822. Node115._nodeType = 'text';
  7823. Node115._disallowEvert = true;
  7824. Node115.setRotation(0*Math.PI/180);
  7825. Node115.a('node.width', Node115width);
  7826. Node115.a('node.height', Node115height);
  7827. Node115.a('node.rect', [0, 0, Node115width, Node115height]);
  7828. Node115.a('node.bordercolor','rgba(0,0,0,1)');
  7829. Node115.a('node.borderwidth', 0);
  7830. Node115.a('node.background','' || 'rgba(0,0,0,0)');
  7831. Node115.a('node.gradient','');
  7832. Node115.a('node.gradientcolor','');
  7833. Node115.a('node.text','月受累损失电量');
  7834. Node115.a('node.textalign','left');
  7835. Node115.a('node.textvAlign','middle');
  7836. Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
  7837. Node115.a('node.color','rgba(0,0,0,1)');
  7838. Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"');
  7839. Node115.a('node.textvisible',true);
  7840. Node115.a('node.linefeed',false);
  7841. if (false) {
  7842. Node115.a('node.textfunc',function(g) {
  7843. g.beginPath();
  7844. var str=Node115.a('node.text') || '月受累损失电量';
  7845. var color=Node115.a('node.color') || 'rgba(0,0,0,1)';
  7846. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115width,Node115height,13.3333*_ratio.ratioY,"left",color,' '+ Node115fontSize + 'px "Arial"', 0,g);
  7847. });
  7848. }
  7849. if (false) {
  7850. Node115.a('node.underlinepoints',[Node115lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]);
  7851. Node115.a('node.underlinevisible',false);
  7852. Node115.a('node.underlineBorderWidth', 1);
  7853. }
  7854. dataModel.add(Node115);
  7855. zoomNodeList.push({
  7856. node: Node115,
  7857. borderWidth: 0,
  7858. attr: 'node.borderwidth'
  7859. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7860. var Node116 = new ht.Node();
  7861. var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'left', Node116fontSize = 13.3333*_ratio.ratioY,Node116width = 125*_ratio.ratioX, Node116height = 27*_ratio.ratioY;
  7862. (function () {
  7863. if (Node116align === 'left') {
  7864. Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9;
  7865. Node116textWidth = Node116width;
  7866. Node116lineStart = 1;
  7867. } else if (Node116align === 'right') {
  7868. Node116textStart = 0;
  7869. Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2;
  7870. Node116lineStart = (Node116width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5;
  7871. } else if (Node116align === 'center') {
  7872. Node116textStart = -3;
  7873. Node116textWidth = Node116width;
  7874. Node116lineStart = Node116width - ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width - 11;
  7875. }
  7876. })();
  7877. Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"'))
  7878. Node116.setPosition(1396*ratio.ratioX, 227*ratio.ratioY);
  7879. Node116.setWidth(Node116width);
  7880. Node116.setHeight(Node116height);
  7881. Node116._nodeType = 'text';
  7882. Node116._disallowEvert = true;
  7883. Node116.setRotation(0*Math.PI/180);
  7884. Node116.a('node.width', Node116width);
  7885. Node116.a('node.height', Node116height);
  7886. Node116.a('node.rect', [0, 0, Node116width, Node116height]);
  7887. Node116.a('node.bordercolor','rgba(0,0,0,1)');
  7888. Node116.a('node.borderwidth', 0);
  7889. Node116.a('node.background','' || 'rgba(0,0,0,0)');
  7890. Node116.a('node.gradient','');
  7891. Node116.a('node.gradientcolor','');
  7892. Node116.a('node.text','月性能损失电量');
  7893. Node116.a('node.textalign','left');
  7894. Node116.a('node.textvAlign','middle');
  7895. Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]);
  7896. Node116.a('node.color','rgba(0,0,0,1)');
  7897. Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"');
  7898. Node116.a('node.textvisible',true);
  7899. Node116.a('node.linefeed',false);
  7900. if (false) {
  7901. Node116.a('node.textfunc',function(g) {
  7902. g.beginPath();
  7903. var str=Node116.a('node.text') || '月性能损失电量';
  7904. var color=Node116.a('node.color') || 'rgba(0,0,0,1)';
  7905. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node116width,Node116height,13.3333*_ratio.ratioY,"left",color,' '+ Node116fontSize + 'px "Arial"', 0,g);
  7906. });
  7907. }
  7908. if (false) {
  7909. Node116.a('node.underlinepoints',[Node116lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]);
  7910. Node116.a('node.underlinevisible',false);
  7911. Node116.a('node.underlineBorderWidth', 1);
  7912. }
  7913. dataModel.add(Node116);
  7914. zoomNodeList.push({
  7915. node: Node116,
  7916. borderWidth: 0,
  7917. attr: 'node.borderwidth'
  7918. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7919. var Node117 = new ht.Node();
  7920. var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'left', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 37*_ratio.ratioX, Node117height = 16*_ratio.ratioY;
  7921. (function () {
  7922. if (Node117align === 'left') {
  7923. Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
  7924. Node117textWidth = Node117width;
  7925. Node117lineStart = 1;
  7926. } else if (Node117align === 'right') {
  7927. Node117textStart = 0;
  7928. Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
  7929. Node117lineStart = (Node117width - (ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5;
  7930. } else if (Node117align === 'center') {
  7931. Node117textStart = -3;
  7932. Node117textWidth = Node117width;
  7933. Node117lineStart = Node117width - ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width - 11;
  7934. }
  7935. })();
  7936. Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, 'bold '+ Node117fontSize + 'px "Arial"'))
  7937. Node117.setPosition(1486*ratio.ratioX, 128*ratio.ratioY);
  7938. Node117.setWidth(Node117width);
  7939. Node117.setHeight(Node117height);
  7940. Node117._nodeType = 'text';
  7941. Node117._disallowEvert = true;
  7942. Node117.setRotation(0*Math.PI/180);
  7943. Node117.a('node.width', Node117width);
  7944. Node117.a('node.height', Node117height);
  7945. Node117.a('node.rect', [0, 0, Node117width, Node117height]);
  7946. Node117.a('node.bordercolor','rgba(0,0,0,1)');
  7947. Node117.a('node.borderwidth', 0);
  7948. Node117.a('node.background','' || 'rgba(0,0,0,0)');
  7949. Node117.a('node.gradient','');
  7950. Node117.a('node.gradientcolor','');
  7951. Node117.a('node.text','0');
  7952. Node117.a('node.textalign','left');
  7953. Node117.a('node.textvAlign','middle');
  7954. Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
  7955. Node117.a('node.color','rgba(0,0,0,1)');
  7956. Node117.a('node.font','bold '+ Node117fontSize + 'px "Arial"');
  7957. Node117.a('node.textvisible',true);
  7958. Node117.a('node.linefeed',false);
  7959. if (false) {
  7960. Node117.a('node.textfunc',function(g) {
  7961. g.beginPath();
  7962. var str=Node117.a('node.text') || '0';
  7963. var color=Node117.a('node.color') || 'rgba(0,0,0,1)';
  7964. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node117fontSize + 'px "Arial"', 0,g);
  7965. });
  7966. }
  7967. if (false) {
  7968. Node117.a('node.underlinepoints',[Node117lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
  7969. Node117.a('node.underlinevisible',false);
  7970. Node117.a('node.underlineBorderWidth', 1);
  7971. }
  7972. dataModel.add(Node117);
  7973. zoomNodeList.push({
  7974. node: Node117,
  7975. borderWidth: 0,
  7976. attr: 'node.borderwidth'
  7977. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7978. var Node118 = new ht.Node();
  7979. var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'left', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 37*_ratio.ratioX, Node118height = 16*_ratio.ratioY;
  7980. (function () {
  7981. if (Node118align === 'left') {
  7982. Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9;
  7983. Node118textWidth = Node118width;
  7984. Node118lineStart = 1;
  7985. } else if (Node118align === 'right') {
  7986. Node118textStart = 0;
  7987. Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2;
  7988. Node118lineStart = (Node118width - (ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width + 6)) * 0.5;
  7989. } else if (Node118align === 'center') {
  7990. Node118textStart = -3;
  7991. Node118textWidth = Node118width;
  7992. Node118lineStart = Node118width - ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width - 11;
  7993. }
  7994. })();
  7995. Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, 'bold '+ Node118fontSize + 'px "Arial"'))
  7996. Node118.setPosition(1486*ratio.ratioX, 153*ratio.ratioY);
  7997. Node118.setWidth(Node118width);
  7998. Node118.setHeight(Node118height);
  7999. Node118._nodeType = 'text';
  8000. Node118._disallowEvert = true;
  8001. Node118.setRotation(0*Math.PI/180);
  8002. Node118.a('node.width', Node118width);
  8003. Node118.a('node.height', Node118height);
  8004. Node118.a('node.rect', [0, 0, Node118width, Node118height]);
  8005. Node118.a('node.bordercolor','rgba(0,0,0,1)');
  8006. Node118.a('node.borderwidth', 0);
  8007. Node118.a('node.background','' || 'rgba(0,0,0,0)');
  8008. Node118.a('node.gradient','');
  8009. Node118.a('node.gradientcolor','');
  8010. Node118.a('node.text','0');
  8011. Node118.a('node.textalign','left');
  8012. Node118.a('node.textvAlign','middle');
  8013. Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]);
  8014. Node118.a('node.color','rgba(0,0,0,1)');
  8015. Node118.a('node.font','bold '+ Node118fontSize + 'px "Arial"');
  8016. Node118.a('node.textvisible',true);
  8017. Node118.a('node.linefeed',false);
  8018. if (false) {
  8019. Node118.a('node.textfunc',function(g) {
  8020. g.beginPath();
  8021. var str=Node118.a('node.text') || '0';
  8022. var color=Node118.a('node.color') || 'rgba(0,0,0,1)';
  8023. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node118fontSize + 'px "Arial"', 0,g);
  8024. });
  8025. }
  8026. if (false) {
  8027. Node118.a('node.underlinepoints',[Node118lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]);
  8028. Node118.a('node.underlinevisible',false);
  8029. Node118.a('node.underlineBorderWidth', 1);
  8030. }
  8031. dataModel.add(Node118);
  8032. zoomNodeList.push({
  8033. node: Node118,
  8034. borderWidth: 0,
  8035. attr: 'node.borderwidth'
  8036. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8037. var Node119 = new ht.Node();
  8038. var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'left', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 27*_ratio.ratioX, Node119height = 16*_ratio.ratioY;
  8039. (function () {
  8040. if (Node119align === 'left') {
  8041. Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9;
  8042. Node119textWidth = Node119width;
  8043. Node119lineStart = 1;
  8044. } else if (Node119align === 'right') {
  8045. Node119textStart = 0;
  8046. Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2;
  8047. Node119lineStart = (Node119width - (ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5;
  8048. } else if (Node119align === 'center') {
  8049. Node119textStart = -3;
  8050. Node119textWidth = Node119width;
  8051. Node119lineStart = Node119width - ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width - 11;
  8052. }
  8053. })();
  8054. Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, 'bold '+ Node119fontSize + 'px "Arial"'))
  8055. Node119.setPosition(1481*ratio.ratioX, 178*ratio.ratioY);
  8056. Node119.setWidth(Node119width);
  8057. Node119.setHeight(Node119height);
  8058. Node119._nodeType = 'text';
  8059. Node119._disallowEvert = true;
  8060. Node119.setRotation(0*Math.PI/180);
  8061. Node119.a('node.width', Node119width);
  8062. Node119.a('node.height', Node119height);
  8063. Node119.a('node.rect', [0, 0, Node119width, Node119height]);
  8064. Node119.a('node.bordercolor','rgba(0,0,0,1)');
  8065. Node119.a('node.borderwidth', 0);
  8066. Node119.a('node.background','' || 'rgba(0,0,0,0)');
  8067. Node119.a('node.gradient','');
  8068. Node119.a('node.gradientcolor','');
  8069. Node119.a('node.text','0');
  8070. Node119.a('node.textalign','left');
  8071. Node119.a('node.textvAlign','middle');
  8072. Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]);
  8073. Node119.a('node.color','rgba(0,0,0,1)');
  8074. Node119.a('node.font','bold '+ Node119fontSize + 'px "Arial"');
  8075. Node119.a('node.textvisible',true);
  8076. Node119.a('node.linefeed',false);
  8077. if (false) {
  8078. Node119.a('node.textfunc',function(g) {
  8079. g.beginPath();
  8080. var str=Node119.a('node.text') || '0';
  8081. var color=Node119.a('node.color') || 'rgba(0,0,0,1)';
  8082. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node119fontSize + 'px "Arial"', 0,g);
  8083. });
  8084. }
  8085. if (false) {
  8086. Node119.a('node.underlinepoints',[Node119lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]);
  8087. Node119.a('node.underlinevisible',false);
  8088. Node119.a('node.underlineBorderWidth', 1);
  8089. }
  8090. dataModel.add(Node119);
  8091. zoomNodeList.push({
  8092. node: Node119,
  8093. borderWidth: 0,
  8094. attr: 'node.borderwidth'
  8095. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8096. var Node120 = new ht.Node();
  8097. var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'left', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 37*_ratio.ratioX, Node120height = 16*_ratio.ratioY;
  8098. (function () {
  8099. if (Node120align === 'left') {
  8100. Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9;
  8101. Node120textWidth = Node120width;
  8102. Node120lineStart = 1;
  8103. } else if (Node120align === 'right') {
  8104. Node120textStart = 0;
  8105. Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2;
  8106. Node120lineStart = (Node120width - (ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
  8107. } else if (Node120align === 'center') {
  8108. Node120textStart = -3;
  8109. Node120textWidth = Node120width;
  8110. Node120lineStart = Node120width - ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width - 11;
  8111. }
  8112. })();
  8113. Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, 'bold '+ Node120fontSize + 'px "Arial"'))
  8114. Node120.setPosition(1500*ratio.ratioX, 202*ratio.ratioY);
  8115. Node120.setWidth(Node120width);
  8116. Node120.setHeight(Node120height);
  8117. Node120._nodeType = 'text';
  8118. Node120._disallowEvert = true;
  8119. Node120.setRotation(0*Math.PI/180);
  8120. Node120.a('node.width', Node120width);
  8121. Node120.a('node.height', Node120height);
  8122. Node120.a('node.rect', [0, 0, Node120width, Node120height]);
  8123. Node120.a('node.bordercolor','rgba(0,0,0,1)');
  8124. Node120.a('node.borderwidth', 0);
  8125. Node120.a('node.background','' || 'rgba(0,0,0,0)');
  8126. Node120.a('node.gradient','');
  8127. Node120.a('node.gradientcolor','');
  8128. Node120.a('node.text','-');
  8129. Node120.a('node.textalign','left');
  8130. Node120.a('node.textvAlign','middle');
  8131. Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
  8132. Node120.a('node.color','rgba(0,0,0,1)');
  8133. Node120.a('node.font','bold '+ Node120fontSize + 'px "Arial"');
  8134. Node120.a('node.textvisible',true);
  8135. Node120.a('node.linefeed',false);
  8136. if (false) {
  8137. Node120.a('node.textfunc',function(g) {
  8138. g.beginPath();
  8139. var str=Node120.a('node.text') || '-';
  8140. var color=Node120.a('node.color') || 'rgba(0,0,0,1)';
  8141. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node120fontSize + 'px "Arial"', 0,g);
  8142. });
  8143. }
  8144. if (false) {
  8145. Node120.a('node.underlinepoints',[Node120lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
  8146. Node120.a('node.underlinevisible',false);
  8147. Node120.a('node.underlineBorderWidth', 1);
  8148. }
  8149. dataModel.add(Node120);
  8150. zoomNodeList.push({
  8151. node: Node120,
  8152. borderWidth: 0,
  8153. attr: 'node.borderwidth'
  8154. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8155. var Node121 = new ht.Node();
  8156. var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'left', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 47*_ratio.ratioX, Node121height = 17*_ratio.ratioY;
  8157. (function () {
  8158. if (Node121align === 'left') {
  8159. Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
  8160. Node121textWidth = Node121width;
  8161. Node121lineStart = 1;
  8162. } else if (Node121align === 'right') {
  8163. Node121textStart = 0;
  8164. Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
  8165. Node121lineStart = (Node121width - (ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
  8166. } else if (Node121align === 'center') {
  8167. Node121textStart = -3;
  8168. Node121textWidth = Node121width;
  8169. Node121lineStart = Node121width - ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width - 11;
  8170. }
  8171. })();
  8172. Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
  8173. Node121.setPosition(1554*ratio.ratioX, 128*ratio.ratioY);
  8174. Node121.setWidth(Node121width);
  8175. Node121.setHeight(Node121height);
  8176. Node121._nodeType = 'text';
  8177. Node121._disallowEvert = true;
  8178. Node121.setRotation(0*Math.PI/180);
  8179. Node121.a('node.width', Node121width);
  8180. Node121.a('node.height', Node121height);
  8181. Node121.a('node.rect', [0, 0, Node121width, Node121height]);
  8182. Node121.a('node.bordercolor','rgba(169,169,169,1)');
  8183. Node121.a('node.borderwidth', 0);
  8184. Node121.a('node.background','' || 'rgba(0,0,0,0)');
  8185. Node121.a('node.gradient','');
  8186. Node121.a('node.gradientcolor','');
  8187. Node121.a('node.text','万kW');
  8188. Node121.a('node.textalign','left');
  8189. Node121.a('node.textvAlign','middle');
  8190. Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
  8191. Node121.a('node.color','rgba(169,169,169,1)');
  8192. Node121.a('node.font',' '+ Node121fontSize + 'px "Arial"');
  8193. Node121.a('node.textvisible',true);
  8194. Node121.a('node.linefeed',false);
  8195. if (false) {
  8196. Node121.a('node.textfunc',function(g) {
  8197. g.beginPath();
  8198. var str=Node121.a('node.text') || '万kW';
  8199. var color=Node121.a('node.color') || 'rgba(169,169,169,1)';
  8200. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"left",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
  8201. });
  8202. }
  8203. if (false) {
  8204. Node121.a('node.underlinepoints',[Node121lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]);
  8205. Node121.a('node.underlinevisible',false);
  8206. Node121.a('node.underlineBorderWidth', 1);
  8207. }
  8208. dataModel.add(Node121);
  8209. zoomNodeList.push({
  8210. node: Node121,
  8211. borderWidth: 0,
  8212. attr: 'node.borderwidth'
  8213. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8214. var Node122 = new ht.Node();
  8215. var Node122textStart, Node122textWidth, Node122lineStart, Node122align = 'left', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 37*_ratio.ratioX, Node122height = 16*_ratio.ratioY;
  8216. (function () {
  8217. if (Node122align === 'left') {
  8218. Node122textStart = Node122fontSize * 0.2 > 2 ? Node122fontSize * 0.2 - 4 : Node122fontSize * 0.2 - 9;
  8219. Node122textWidth = Node122width;
  8220. Node122lineStart = 1;
  8221. } else if (Node122align === 'right') {
  8222. Node122textStart = 0;
  8223. Node122textWidth =Node122fontSize <= 8 ? Node122width + Node122fontSize * 0.2 + 6 : Node122width - Node122fontSize * 0.2;
  8224. Node122lineStart = (Node122width - (ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5;
  8225. } else if (Node122align === 'center') {
  8226. Node122textStart = -3;
  8227. Node122textWidth = Node122width;
  8228. Node122lineStart = Node122width - ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width - 11;
  8229. }
  8230. })();
  8231. Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, 'bold '+ Node122fontSize + 'px "Arial"'))
  8232. Node122.setPosition(1500*ratio.ratioX, 227*ratio.ratioY);
  8233. Node122.setWidth(Node122width);
  8234. Node122.setHeight(Node122height);
  8235. Node122._nodeType = 'text';
  8236. Node122._disallowEvert = true;
  8237. Node122.setRotation(0*Math.PI/180);
  8238. Node122.a('node.width', Node122width);
  8239. Node122.a('node.height', Node122height);
  8240. Node122.a('node.rect', [0, 0, Node122width, Node122height]);
  8241. Node122.a('node.bordercolor','rgba(0,0,0,1)');
  8242. Node122.a('node.borderwidth', 0);
  8243. Node122.a('node.background','' || 'rgba(0,0,0,0)');
  8244. Node122.a('node.gradient','');
  8245. Node122.a('node.gradientcolor','');
  8246. Node122.a('node.text','-');
  8247. Node122.a('node.textalign','left');
  8248. Node122.a('node.textvAlign','middle');
  8249. Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]);
  8250. Node122.a('node.color','rgba(0,0,0,1)');
  8251. Node122.a('node.font','bold '+ Node122fontSize + 'px "Arial"');
  8252. Node122.a('node.textvisible',true);
  8253. Node122.a('node.linefeed',false);
  8254. if (false) {
  8255. Node122.a('node.textfunc',function(g) {
  8256. g.beginPath();
  8257. var str=Node122.a('node.text') || '-';
  8258. var color=Node122.a('node.color') || 'rgba(0,0,0,1)';
  8259. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node122fontSize + 'px "Arial"', 0,g);
  8260. });
  8261. }
  8262. if (false) {
  8263. Node122.a('node.underlinepoints',[Node122lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width + 6, (Node122height - Node122fontSize) * 0.5*_ratio.ratioY + Node122fontSize + 2 ]);
  8264. Node122.a('node.underlinevisible',false);
  8265. Node122.a('node.underlineBorderWidth', 1);
  8266. }
  8267. dataModel.add(Node122);
  8268. zoomNodeList.push({
  8269. node: Node122,
  8270. borderWidth: 0,
  8271. attr: 'node.borderwidth'
  8272. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8273. var Node123 = new ht.Node();
  8274. var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'left', Node123fontSize = 13.3333*_ratio.ratioY,Node123width = 47*_ratio.ratioX, Node123height = 17*_ratio.ratioY;
  8275. (function () {
  8276. if (Node123align === 'left') {
  8277. Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9;
  8278. Node123textWidth = Node123width;
  8279. Node123lineStart = 1;
  8280. } else if (Node123align === 'right') {
  8281. Node123textStart = 0;
  8282. Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2;
  8283. Node123lineStart = (Node123width - (ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5;
  8284. } else if (Node123align === 'center') {
  8285. Node123textStart = -3;
  8286. Node123textWidth = Node123width;
  8287. Node123lineStart = Node123width - ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width - 11;
  8288. }
  8289. })();
  8290. Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"'))
  8291. Node123.setPosition(1554*ratio.ratioX, 154*ratio.ratioY);
  8292. Node123.setWidth(Node123width);
  8293. Node123.setHeight(Node123height);
  8294. Node123._nodeType = 'text';
  8295. Node123._disallowEvert = true;
  8296. Node123.setRotation(0*Math.PI/180);
  8297. Node123.a('node.width', Node123width);
  8298. Node123.a('node.height', Node123height);
  8299. Node123.a('node.rect', [0, 0, Node123width, Node123height]);
  8300. Node123.a('node.bordercolor','rgba(169,169,169,1)');
  8301. Node123.a('node.borderwidth', 0);
  8302. Node123.a('node.background','' || 'rgba(0,0,0,0)');
  8303. Node123.a('node.gradient','');
  8304. Node123.a('node.gradientcolor','');
  8305. Node123.a('node.text','万kW');
  8306. Node123.a('node.textalign','left');
  8307. Node123.a('node.textvAlign','middle');
  8308. Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]);
  8309. Node123.a('node.color','rgba(169,169,169,1)');
  8310. Node123.a('node.font',' '+ Node123fontSize + 'px "Arial"');
  8311. Node123.a('node.textvisible',true);
  8312. Node123.a('node.linefeed',false);
  8313. if (false) {
  8314. Node123.a('node.textfunc',function(g) {
  8315. g.beginPath();
  8316. var str=Node123.a('node.text') || '万kW';
  8317. var color=Node123.a('node.color') || 'rgba(169,169,169,1)';
  8318. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node123width,Node123height,13.3333*_ratio.ratioY,"left",color,' '+ Node123fontSize + 'px "Arial"', 0,g);
  8319. });
  8320. }
  8321. if (false) {
  8322. Node123.a('node.underlinepoints',[Node123lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width + 6, (Node123height - Node123fontSize) * 0.5*_ratio.ratioY + Node123fontSize + 2 ]);
  8323. Node123.a('node.underlinevisible',false);
  8324. Node123.a('node.underlineBorderWidth', 1);
  8325. }
  8326. dataModel.add(Node123);
  8327. zoomNodeList.push({
  8328. node: Node123,
  8329. borderWidth: 0,
  8330. attr: 'node.borderwidth'
  8331. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8332. var Node124 = new ht.Node();
  8333. var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 47*_ratio.ratioX, Node124height = 17*_ratio.ratioY;
  8334. (function () {
  8335. if (Node124align === 'left') {
  8336. Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
  8337. Node124textWidth = Node124width;
  8338. Node124lineStart = 1;
  8339. } else if (Node124align === 'right') {
  8340. Node124textStart = 0;
  8341. Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
  8342. Node124lineStart = (Node124width - (ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
  8343. } else if (Node124align === 'center') {
  8344. Node124textStart = -3;
  8345. Node124textWidth = Node124width;
  8346. Node124lineStart = Node124width - ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width - 11;
  8347. }
  8348. })();
  8349. Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
  8350. Node124.setPosition(1554*ratio.ratioX, 179*ratio.ratioY);
  8351. Node124.setWidth(Node124width);
  8352. Node124.setHeight(Node124height);
  8353. Node124._nodeType = 'text';
  8354. Node124._disallowEvert = true;
  8355. Node124.setRotation(0*Math.PI/180);
  8356. Node124.a('node.width', Node124width);
  8357. Node124.a('node.height', Node124height);
  8358. Node124.a('node.rect', [0, 0, Node124width, Node124height]);
  8359. Node124.a('node.bordercolor','rgba(169,169,169,1)');
  8360. Node124.a('node.borderwidth', 0);
  8361. Node124.a('node.background','' || 'rgba(0,0,0,0)');
  8362. Node124.a('node.gradient','');
  8363. Node124.a('node.gradientcolor','');
  8364. Node124.a('node.text','万kW');
  8365. Node124.a('node.textalign','left');
  8366. Node124.a('node.textvAlign','middle');
  8367. Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
  8368. Node124.a('node.color','rgba(169,169,169,1)');
  8369. Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
  8370. Node124.a('node.textvisible',true);
  8371. Node124.a('node.linefeed',false);
  8372. if (false) {
  8373. Node124.a('node.textfunc',function(g) {
  8374. g.beginPath();
  8375. var str=Node124.a('node.text') || '万kW';
  8376. var color=Node124.a('node.color') || 'rgba(169,169,169,1)';
  8377. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
  8378. });
  8379. }
  8380. if (false) {
  8381. Node124.a('node.underlinepoints',[Node124lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
  8382. Node124.a('node.underlinevisible',false);
  8383. Node124.a('node.underlineBorderWidth', 1);
  8384. }
  8385. dataModel.add(Node124);
  8386. zoomNodeList.push({
  8387. node: Node124,
  8388. borderWidth: 0,
  8389. attr: 'node.borderwidth'
  8390. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8391. var Node125 = new ht.Node();
  8392. var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 47*_ratio.ratioX, Node125height = 17*_ratio.ratioY;
  8393. (function () {
  8394. if (Node125align === 'left') {
  8395. Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
  8396. Node125textWidth = Node125width;
  8397. Node125lineStart = 1;
  8398. } else if (Node125align === 'right') {
  8399. Node125textStart = 0;
  8400. Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
  8401. Node125lineStart = (Node125width - (ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
  8402. } else if (Node125align === 'center') {
  8403. Node125textStart = -3;
  8404. Node125textWidth = Node125width;
  8405. Node125lineStart = Node125width - ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width - 11;
  8406. }
  8407. })();
  8408. Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
  8409. Node125.setPosition(1554*ratio.ratioX, 206*ratio.ratioY);
  8410. Node125.setWidth(Node125width);
  8411. Node125.setHeight(Node125height);
  8412. Node125._nodeType = 'text';
  8413. Node125._disallowEvert = true;
  8414. Node125.setRotation(0*Math.PI/180);
  8415. Node125.a('node.width', Node125width);
  8416. Node125.a('node.height', Node125height);
  8417. Node125.a('node.rect', [0, 0, Node125width, Node125height]);
  8418. Node125.a('node.bordercolor','rgba(169,169,169,1)');
  8419. Node125.a('node.borderwidth', 0);
  8420. Node125.a('node.background','' || 'rgba(0,0,0,0)');
  8421. Node125.a('node.gradient','');
  8422. Node125.a('node.gradientcolor','');
  8423. Node125.a('node.text','万kW');
  8424. Node125.a('node.textalign','left');
  8425. Node125.a('node.textvAlign','middle');
  8426. Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
  8427. Node125.a('node.color','rgba(169,169,169,1)');
  8428. Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
  8429. Node125.a('node.textvisible',true);
  8430. Node125.a('node.linefeed',false);
  8431. if (false) {
  8432. Node125.a('node.textfunc',function(g) {
  8433. g.beginPath();
  8434. var str=Node125.a('node.text') || '万kW';
  8435. var color=Node125.a('node.color') || 'rgba(169,169,169,1)';
  8436. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
  8437. });
  8438. }
  8439. if (false) {
  8440. Node125.a('node.underlinepoints',[Node125lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
  8441. Node125.a('node.underlinevisible',false);
  8442. Node125.a('node.underlineBorderWidth', 1);
  8443. }
  8444. dataModel.add(Node125);
  8445. zoomNodeList.push({
  8446. node: Node125,
  8447. borderWidth: 0,
  8448. attr: 'node.borderwidth'
  8449. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8450. var Node126 = new ht.Node();
  8451. var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 47*_ratio.ratioX, Node126height = 17*_ratio.ratioY;
  8452. (function () {
  8453. if (Node126align === 'left') {
  8454. Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
  8455. Node126textWidth = Node126width;
  8456. Node126lineStart = 1;
  8457. } else if (Node126align === 'right') {
  8458. Node126textStart = 0;
  8459. Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
  8460. Node126lineStart = (Node126width - (ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
  8461. } else if (Node126align === 'center') {
  8462. Node126textStart = -3;
  8463. Node126textWidth = Node126width;
  8464. Node126lineStart = Node126width - ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width - 11;
  8465. }
  8466. })();
  8467. Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
  8468. Node126.setPosition(1553*ratio.ratioX, 228*ratio.ratioY);
  8469. Node126.setWidth(Node126width);
  8470. Node126.setHeight(Node126height);
  8471. Node126._nodeType = 'text';
  8472. Node126._disallowEvert = true;
  8473. Node126.setRotation(0*Math.PI/180);
  8474. Node126.a('node.width', Node126width);
  8475. Node126.a('node.height', Node126height);
  8476. Node126.a('node.rect', [0, 0, Node126width, Node126height]);
  8477. Node126.a('node.bordercolor','rgba(169,169,169,1)');
  8478. Node126.a('node.borderwidth', 0);
  8479. Node126.a('node.background','' || 'rgba(0,0,0,0)');
  8480. Node126.a('node.gradient','');
  8481. Node126.a('node.gradientcolor','');
  8482. Node126.a('node.text','万kW');
  8483. Node126.a('node.textalign','left');
  8484. Node126.a('node.textvAlign','middle');
  8485. Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
  8486. Node126.a('node.color','rgba(169,169,169,1)');
  8487. Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
  8488. Node126.a('node.textvisible',true);
  8489. Node126.a('node.linefeed',false);
  8490. if (false) {
  8491. Node126.a('node.textfunc',function(g) {
  8492. g.beginPath();
  8493. var str=Node126.a('node.text') || '万kW';
  8494. var color=Node126.a('node.color') || 'rgba(169,169,169,1)';
  8495. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
  8496. });
  8497. }
  8498. if (false) {
  8499. Node126.a('node.underlinepoints',[Node126lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
  8500. Node126.a('node.underlinevisible',false);
  8501. Node126.a('node.underlineBorderWidth', 1);
  8502. }
  8503. dataModel.add(Node126);
  8504. zoomNodeList.push({
  8505. node: Node126,
  8506. borderWidth: 0,
  8507. attr: 'node.borderwidth'
  8508. }); var Node127points=[1332, 142,1609, 142],
  8509. Node127rect=ht.Default.unionPoint([{x:1332,y:142},{x:1609,y:142}]),
  8510. Node127compspts=[];
  8511. _ratio = GD.getRatioWithRotation(0, ratio);
  8512. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8513. _endratio = GD.getRatioWithRotation(0, ratio);
  8514. for(var i=0;i<Node127points.length;i++){
  8515. if(i%2==0){
  8516. Node127compspts.push(Node127points[i]-Node127rect.x);
  8517. }else{
  8518. Node127compspts.push(Node127points[i]-Node127rect.y);
  8519. }
  8520. }
  8521. var Node127ptslength=Node127compspts.length;
  8522. if (Node127rect.height === 0) {
  8523. Node127compspts[0] -= 0;
  8524. Node127compspts[Node127ptslength-2] += 0;
  8525. } else if (Node127rect.width === 0){
  8526. Node127compspts[1] -= 0;
  8527. Node127compspts[Node127ptslength-1] += 0;
  8528. } else {
  8529. Node127compspts[0] -= 0;
  8530. Node127compspts[1] -= 0;
  8531. Node127compspts[Node127ptslength-2] += 0;
  8532. Node127compspts[Node127ptslength-1] += 0;
  8533. }
  8534. Node127 = new ht.Node();
  8535. Node127.borderWidth = 1;
  8536. Node127rect.width = Node127rect.width === 0 ? 0.0001 : Node127rect.width;
  8537. Node127rect.height = Node127rect.height === 0 ? 0.0001 : Node127rect.height;
  8538. var Node127endCompspts = [Node127compspts[Node127ptslength-2],Node127compspts[Node127ptslength-1],0,0];
  8539. var Node127startCompspts = [Node127compspts[0],Node127compspts[1],0,0];
  8540. Node127.setImage(GD.getPolyLineJSON());
  8541. Node127.setPosition(Node127rect.x+Node127rect.width/2,Node127rect.y+Node127rect.height/2);
  8542. Node127.setSize(Node127rect.width,Node127rect.height);
  8543. Node127.setStyle("opacity",1);
  8544. Node127.s({'pixelPerfect':true});
  8545. Node127borderwidth=1;
  8546. Node127.setRotation(0);
  8547. dataModel.add(Node127);
  8548. Node127.a('node.points',Node127compspts);
  8549. Node127.a('node.segments',[1,2]);
  8550. Node127.a('node.color','rgba(220,220,220,1)');
  8551. Node127.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8552. Node127.a('node.borderColor','rgba(220,220,220,1)');
  8553. Node127.a('node.background','rgba(220,220,220,1)');
  8554. Node127.a('node.gradient','');
  8555. Node127.a('node.gradientcolor','rgba(220,220,220,1)');
  8556. Node127.a('node.endCompspts',Node127endCompspts);
  8557. Node127.a('node.startCompspts',Node127startCompspts);
  8558. (function (node, img, compspts, endCompspts, startCompspts) {
  8559. var position = node.getPosition(),
  8560. w = node.getWidth()*_ratio.ratioX,
  8561. h = node.getHeight()*_ratio.ratioY;
  8562. function resetPoints(rx, ry) {
  8563. for (var i = 0, len = compspts.length; i < len; i++) {
  8564. if (i%2 === 0) {
  8565. compspts[i]*=rx;
  8566. } else {
  8567. compspts[i]*=ry;
  8568. }
  8569. }
  8570. endCompspts[0] = compspts[compspts.length-2];
  8571. endCompspts[1] = compspts[compspts.length-1];
  8572. endCompspts[2] *= rx;
  8573. endCompspts[3] *= ry;
  8574. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8575. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8576. startCompspts[0] = compspts[0];
  8577. startCompspts[1] = compspts[1];
  8578. startCompspts[2] *= rx;
  8579. startCompspts[3] *= ry;
  8580. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8581. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8582. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8583. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8584. }
  8585. node.setSize(w, h);
  8586. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8587. node.a('node.width', w);
  8588. node.a('node.height', h);
  8589. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8590. node.borderWidth = 1;
  8591. node.a('node.borderwidth',node.borderWidth);
  8592. node._nodename = 'Node127';
  8593. node._nodeType = 'line';
  8594. zoomNodeList.push({
  8595. node: node,
  8596. attr: 'node.borderwidth'
  8597. });
  8598. var setWidth = node.setWidth,
  8599. setHeight = node.setHeight,
  8600. timer, rx = 1, ry = 1;
  8601. node.setWidth = function (width) {
  8602. var _width = this.getWidth();
  8603. rx = width / _width;
  8604. node.a('node.width', width);
  8605. setWidth.apply(this, arguments);
  8606. resetPoints(rx, 1);
  8607. }
  8608. node.setHeight = function (height) {
  8609. var _height = this.getHeight();
  8610. ry = height / _height;
  8611. node.a('node.height', height);
  8612. setHeight.apply(this, arguments);
  8613. resetPoints(1, ry);
  8614. }
  8615. })(Node127, Node127.getImage(), Node127compspts, Node127endCompspts, Node127startCompspts);
  8616. var Node128points=[1330, 168,1607, 168],
  8617. Node128rect=ht.Default.unionPoint([{x:1330,y:168},{x:1607,y:168}]),
  8618. Node128compspts=[];
  8619. _ratio = GD.getRatioWithRotation(0, ratio);
  8620. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8621. _endratio = GD.getRatioWithRotation(0, ratio);
  8622. for(var i=0;i<Node128points.length;i++){
  8623. if(i%2==0){
  8624. Node128compspts.push(Node128points[i]-Node128rect.x);
  8625. }else{
  8626. Node128compspts.push(Node128points[i]-Node128rect.y);
  8627. }
  8628. }
  8629. var Node128ptslength=Node128compspts.length;
  8630. if (Node128rect.height === 0) {
  8631. Node128compspts[0] -= 0;
  8632. Node128compspts[Node128ptslength-2] += 0;
  8633. } else if (Node128rect.width === 0){
  8634. Node128compspts[1] -= 0;
  8635. Node128compspts[Node128ptslength-1] += 0;
  8636. } else {
  8637. Node128compspts[0] -= 0;
  8638. Node128compspts[1] -= 0;
  8639. Node128compspts[Node128ptslength-2] += 0;
  8640. Node128compspts[Node128ptslength-1] += 0;
  8641. }
  8642. Node128 = new ht.Node();
  8643. Node128.borderWidth = 1;
  8644. Node128rect.width = Node128rect.width === 0 ? 0.0001 : Node128rect.width;
  8645. Node128rect.height = Node128rect.height === 0 ? 0.0001 : Node128rect.height;
  8646. var Node128endCompspts = [Node128compspts[Node128ptslength-2],Node128compspts[Node128ptslength-1],0,0];
  8647. var Node128startCompspts = [Node128compspts[0],Node128compspts[1],0,0];
  8648. Node128.setImage(GD.getPolyLineJSON());
  8649. Node128.setPosition(Node128rect.x+Node128rect.width/2,Node128rect.y+Node128rect.height/2);
  8650. Node128.setSize(Node128rect.width,Node128rect.height);
  8651. Node128.setStyle("opacity",1);
  8652. Node128.s({'pixelPerfect':true});
  8653. Node128borderwidth=1;
  8654. Node128.setRotation(0);
  8655. dataModel.add(Node128);
  8656. Node128.a('node.points',Node128compspts);
  8657. Node128.a('node.segments',[1,2]);
  8658. Node128.a('node.color','rgba(220,220,220,1)');
  8659. Node128.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8660. Node128.a('node.borderColor','rgba(220,220,220,1)');
  8661. Node128.a('node.background','rgba(220,220,220,1)');
  8662. Node128.a('node.gradient','');
  8663. Node128.a('node.gradientcolor','rgba(220,220,220,1)');
  8664. Node128.a('node.endCompspts',Node128endCompspts);
  8665. Node128.a('node.startCompspts',Node128startCompspts);
  8666. (function (node, img, compspts, endCompspts, startCompspts) {
  8667. var position = node.getPosition(),
  8668. w = node.getWidth()*_ratio.ratioX,
  8669. h = node.getHeight()*_ratio.ratioY;
  8670. function resetPoints(rx, ry) {
  8671. for (var i = 0, len = compspts.length; i < len; i++) {
  8672. if (i%2 === 0) {
  8673. compspts[i]*=rx;
  8674. } else {
  8675. compspts[i]*=ry;
  8676. }
  8677. }
  8678. endCompspts[0] = compspts[compspts.length-2];
  8679. endCompspts[1] = compspts[compspts.length-1];
  8680. endCompspts[2] *= rx;
  8681. endCompspts[3] *= ry;
  8682. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8683. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8684. startCompspts[0] = compspts[0];
  8685. startCompspts[1] = compspts[1];
  8686. startCompspts[2] *= rx;
  8687. startCompspts[3] *= ry;
  8688. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8689. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8690. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8691. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8692. }
  8693. node.setSize(w, h);
  8694. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8695. node.a('node.width', w);
  8696. node.a('node.height', h);
  8697. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8698. node.borderWidth = 1;
  8699. node.a('node.borderwidth',node.borderWidth);
  8700. node._nodename = 'Node128';
  8701. node._nodeType = 'line';
  8702. zoomNodeList.push({
  8703. node: node,
  8704. attr: 'node.borderwidth'
  8705. });
  8706. var setWidth = node.setWidth,
  8707. setHeight = node.setHeight,
  8708. timer, rx = 1, ry = 1;
  8709. node.setWidth = function (width) {
  8710. var _width = this.getWidth();
  8711. rx = width / _width;
  8712. node.a('node.width', width);
  8713. setWidth.apply(this, arguments);
  8714. resetPoints(rx, 1);
  8715. }
  8716. node.setHeight = function (height) {
  8717. var _height = this.getHeight();
  8718. ry = height / _height;
  8719. node.a('node.height', height);
  8720. setHeight.apply(this, arguments);
  8721. resetPoints(1, ry);
  8722. }
  8723. })(Node128, Node128.getImage(), Node128compspts, Node128endCompspts, Node128startCompspts);
  8724. var Node129points=[1332, 192,1609, 192],
  8725. Node129rect=ht.Default.unionPoint([{x:1332,y:192},{x:1609,y:192}]),
  8726. Node129compspts=[];
  8727. _ratio = GD.getRatioWithRotation(0, ratio);
  8728. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8729. _endratio = GD.getRatioWithRotation(0, ratio);
  8730. for(var i=0;i<Node129points.length;i++){
  8731. if(i%2==0){
  8732. Node129compspts.push(Node129points[i]-Node129rect.x);
  8733. }else{
  8734. Node129compspts.push(Node129points[i]-Node129rect.y);
  8735. }
  8736. }
  8737. var Node129ptslength=Node129compspts.length;
  8738. if (Node129rect.height === 0) {
  8739. Node129compspts[0] -= 0;
  8740. Node129compspts[Node129ptslength-2] += 0;
  8741. } else if (Node129rect.width === 0){
  8742. Node129compspts[1] -= 0;
  8743. Node129compspts[Node129ptslength-1] += 0;
  8744. } else {
  8745. Node129compspts[0] -= 0;
  8746. Node129compspts[1] -= 0;
  8747. Node129compspts[Node129ptslength-2] += 0;
  8748. Node129compspts[Node129ptslength-1] += 0;
  8749. }
  8750. Node129 = new ht.Node();
  8751. Node129.borderWidth = 1;
  8752. Node129rect.width = Node129rect.width === 0 ? 0.0001 : Node129rect.width;
  8753. Node129rect.height = Node129rect.height === 0 ? 0.0001 : Node129rect.height;
  8754. var Node129endCompspts = [Node129compspts[Node129ptslength-2],Node129compspts[Node129ptslength-1],0,0];
  8755. var Node129startCompspts = [Node129compspts[0],Node129compspts[1],0,0];
  8756. Node129.setImage(GD.getPolyLineJSON());
  8757. Node129.setPosition(Node129rect.x+Node129rect.width/2,Node129rect.y+Node129rect.height/2);
  8758. Node129.setSize(Node129rect.width,Node129rect.height);
  8759. Node129.setStyle("opacity",1);
  8760. Node129.s({'pixelPerfect':true});
  8761. Node129borderwidth=1;
  8762. Node129.setRotation(0);
  8763. dataModel.add(Node129);
  8764. Node129.a('node.points',Node129compspts);
  8765. Node129.a('node.segments',[1,2]);
  8766. Node129.a('node.color','rgba(220,220,220,1)');
  8767. Node129.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8768. Node129.a('node.borderColor','rgba(220,220,220,1)');
  8769. Node129.a('node.background','rgba(220,220,220,1)');
  8770. Node129.a('node.gradient','');
  8771. Node129.a('node.gradientcolor','rgba(220,220,220,1)');
  8772. Node129.a('node.endCompspts',Node129endCompspts);
  8773. Node129.a('node.startCompspts',Node129startCompspts);
  8774. (function (node, img, compspts, endCompspts, startCompspts) {
  8775. var position = node.getPosition(),
  8776. w = node.getWidth()*_ratio.ratioX,
  8777. h = node.getHeight()*_ratio.ratioY;
  8778. function resetPoints(rx, ry) {
  8779. for (var i = 0, len = compspts.length; i < len; i++) {
  8780. if (i%2 === 0) {
  8781. compspts[i]*=rx;
  8782. } else {
  8783. compspts[i]*=ry;
  8784. }
  8785. }
  8786. endCompspts[0] = compspts[compspts.length-2];
  8787. endCompspts[1] = compspts[compspts.length-1];
  8788. endCompspts[2] *= rx;
  8789. endCompspts[3] *= ry;
  8790. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8791. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8792. startCompspts[0] = compspts[0];
  8793. startCompspts[1] = compspts[1];
  8794. startCompspts[2] *= rx;
  8795. startCompspts[3] *= ry;
  8796. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8797. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8798. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8799. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8800. }
  8801. node.setSize(w, h);
  8802. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8803. node.a('node.width', w);
  8804. node.a('node.height', h);
  8805. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8806. node.borderWidth = 1;
  8807. node.a('node.borderwidth',node.borderWidth);
  8808. node._nodename = 'Node129';
  8809. node._nodeType = 'line';
  8810. zoomNodeList.push({
  8811. node: node,
  8812. attr: 'node.borderwidth'
  8813. });
  8814. var setWidth = node.setWidth,
  8815. setHeight = node.setHeight,
  8816. timer, rx = 1, ry = 1;
  8817. node.setWidth = function (width) {
  8818. var _width = this.getWidth();
  8819. rx = width / _width;
  8820. node.a('node.width', width);
  8821. setWidth.apply(this, arguments);
  8822. resetPoints(rx, 1);
  8823. }
  8824. node.setHeight = function (height) {
  8825. var _height = this.getHeight();
  8826. ry = height / _height;
  8827. node.a('node.height', height);
  8828. setHeight.apply(this, arguments);
  8829. resetPoints(1, ry);
  8830. }
  8831. })(Node129, Node129.getImage(), Node129compspts, Node129endCompspts, Node129startCompspts);
  8832. var Node130points=[1331, 215,1608, 215],
  8833. Node130rect=ht.Default.unionPoint([{x:1331,y:215},{x:1608,y:215}]),
  8834. Node130compspts=[];
  8835. _ratio = GD.getRatioWithRotation(0, ratio);
  8836. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8837. _endratio = GD.getRatioWithRotation(0, ratio);
  8838. for(var i=0;i<Node130points.length;i++){
  8839. if(i%2==0){
  8840. Node130compspts.push(Node130points[i]-Node130rect.x);
  8841. }else{
  8842. Node130compspts.push(Node130points[i]-Node130rect.y);
  8843. }
  8844. }
  8845. var Node130ptslength=Node130compspts.length;
  8846. if (Node130rect.height === 0) {
  8847. Node130compspts[0] -= 0;
  8848. Node130compspts[Node130ptslength-2] += 0;
  8849. } else if (Node130rect.width === 0){
  8850. Node130compspts[1] -= 0;
  8851. Node130compspts[Node130ptslength-1] += 0;
  8852. } else {
  8853. Node130compspts[0] -= 0;
  8854. Node130compspts[1] -= 0;
  8855. Node130compspts[Node130ptslength-2] += 0;
  8856. Node130compspts[Node130ptslength-1] += 0;
  8857. }
  8858. Node130 = new ht.Node();
  8859. Node130.borderWidth = 1;
  8860. Node130rect.width = Node130rect.width === 0 ? 0.0001 : Node130rect.width;
  8861. Node130rect.height = Node130rect.height === 0 ? 0.0001 : Node130rect.height;
  8862. var Node130endCompspts = [Node130compspts[Node130ptslength-2],Node130compspts[Node130ptslength-1],0,0];
  8863. var Node130startCompspts = [Node130compspts[0],Node130compspts[1],0,0];
  8864. Node130.setImage(GD.getPolyLineJSON());
  8865. Node130.setPosition(Node130rect.x+Node130rect.width/2,Node130rect.y+Node130rect.height/2);
  8866. Node130.setSize(Node130rect.width,Node130rect.height);
  8867. Node130.setStyle("opacity",1);
  8868. Node130.s({'pixelPerfect':true});
  8869. Node130borderwidth=1;
  8870. Node130.setRotation(0);
  8871. dataModel.add(Node130);
  8872. Node130.a('node.points',Node130compspts);
  8873. Node130.a('node.segments',[1,2]);
  8874. Node130.a('node.color','rgba(220,220,220,1)');
  8875. Node130.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8876. Node130.a('node.borderColor','rgba(220,220,220,1)');
  8877. Node130.a('node.background','rgba(220,220,220,1)');
  8878. Node130.a('node.gradient','');
  8879. Node130.a('node.gradientcolor','rgba(220,220,220,1)');
  8880. Node130.a('node.endCompspts',Node130endCompspts);
  8881. Node130.a('node.startCompspts',Node130startCompspts);
  8882. (function (node, img, compspts, endCompspts, startCompspts) {
  8883. var position = node.getPosition(),
  8884. w = node.getWidth()*_ratio.ratioX,
  8885. h = node.getHeight()*_ratio.ratioY;
  8886. function resetPoints(rx, ry) {
  8887. for (var i = 0, len = compspts.length; i < len; i++) {
  8888. if (i%2 === 0) {
  8889. compspts[i]*=rx;
  8890. } else {
  8891. compspts[i]*=ry;
  8892. }
  8893. }
  8894. endCompspts[0] = compspts[compspts.length-2];
  8895. endCompspts[1] = compspts[compspts.length-1];
  8896. endCompspts[2] *= rx;
  8897. endCompspts[3] *= ry;
  8898. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8899. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8900. startCompspts[0] = compspts[0];
  8901. startCompspts[1] = compspts[1];
  8902. startCompspts[2] *= rx;
  8903. startCompspts[3] *= ry;
  8904. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8905. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8906. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8907. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8908. }
  8909. node.setSize(w, h);
  8910. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8911. node.a('node.width', w);
  8912. node.a('node.height', h);
  8913. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8914. node.borderWidth = 1;
  8915. node.a('node.borderwidth',node.borderWidth);
  8916. node._nodename = 'Node130';
  8917. node._nodeType = 'line';
  8918. zoomNodeList.push({
  8919. node: node,
  8920. attr: 'node.borderwidth'
  8921. });
  8922. var setWidth = node.setWidth,
  8923. setHeight = node.setHeight,
  8924. timer, rx = 1, ry = 1;
  8925. node.setWidth = function (width) {
  8926. var _width = this.getWidth();
  8927. rx = width / _width;
  8928. node.a('node.width', width);
  8929. setWidth.apply(this, arguments);
  8930. resetPoints(rx, 1);
  8931. }
  8932. node.setHeight = function (height) {
  8933. var _height = this.getHeight();
  8934. ry = height / _height;
  8935. node.a('node.height', height);
  8936. setHeight.apply(this, arguments);
  8937. resetPoints(1, ry);
  8938. }
  8939. })(Node130, Node130.getImage(), Node130compspts, Node130endCompspts, Node130startCompspts);
  8940. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8941. var Node131type = 'rect';
  8942. var Node131 = new ht.Node(),
  8943. Node131BorderWidth = 1*2;
  8944. if (Node131type === 'arc') {
  8945. Node131BorderWidth *= 1;
  8946. }
  8947. Node131.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node131type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  8948. Node131.setPosition(1677*ratio.ratioX, 178*ratio.ratioY);
  8949. Node131.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  8950. Node131.s({
  8951. 'pixelPerfect':true
  8952. /*@AddPara@*/
  8953. });
  8954. Node131.a('node.width', 120*_ratio.ratioX);
  8955. Node131.a('node.height', 120*_ratio.ratioY);
  8956. Node131.a('node.type', Node131type);
  8957. Node131.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  8958. Node131.a('node.background', 'rgba(245,245,245,1)');
  8959. Node131.a('node.gradientcolor', 'rgba(245,245,245,1)');
  8960. Node131.a('node.gradient', '');
  8961. Node131.a('node.borderwidth', Node131BorderWidth);
  8962. Node131.a('node.color', 'rgba(220,220,220,1)');
  8963. Node131.a('node.fillrect', [0,0,0,0]);
  8964. Node131.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  8965. Node131.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  8966. Node131.a('node.fillgradient', '');
  8967. if (Node131type !== 'rect') {
  8968. Node131.a('node.arcFrom', parseFloat('@arcFrom@'));
  8969. Node131.a('node.arcTo', parseFloat('@arcTo@'));
  8970. Node131.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  8971. }
  8972. if (Node131type === 'arc') {
  8973. Node131.a('node.arcOval', true);
  8974. }
  8975. Node131.setRotation(0*Math.PI/180);
  8976. Node131.borderWidth = Node131BorderWidth;
  8977. Node131.borderFillwidth = Node131BorderWidth;
  8978. dataModel.add(Node131);
  8979. Node131._nodename = 'Node131'
  8980. Node131._nodeType = 'rect';
  8981. zoomNodeList.push({
  8982. node: Node131,
  8983. attr: 'node.borderwidth'
  8984. });
  8985. (function (node, _img) {
  8986. var setWidth = node.setWidth,
  8987. setHeight = node.setHeight;
  8988. node.setWidth = function (width) {
  8989. if (width === this.getWidth()) return ;
  8990. var height = this.getHeight();
  8991. this.a('node.width', width);
  8992. this.a('node.rect', [0,0,width, height]);
  8993. setWidth.apply(this, arguments);
  8994. }
  8995. node.setHeight = function (height) {
  8996. if (height === this.getHeight()) return ;
  8997. var width = this.getWidth();
  8998. this.a('node.height', height);
  8999. this.a('node.rect', [0,0,width, height]);
  9000. setHeight.apply(this, arguments);
  9001. }
  9002. })(Node131, Node131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9003. var Node132type = 'rect';
  9004. var Node132 = new ht.Node(),
  9005. Node132BorderWidth = 1*2;
  9006. if (Node132type === 'arc') {
  9007. Node132BorderWidth *= 1;
  9008. }
  9009. Node132.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  9010. Node132.setPosition(1756*ratio.ratioX, 178*ratio.ratioY);
  9011. Node132.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  9012. Node132.s({
  9013. 'pixelPerfect':true
  9014. /*@AddPara@*/
  9015. });
  9016. Node132.a('node.width', 280.7278*_ratio.ratioX);
  9017. Node132.a('node.height', 122*_ratio.ratioY);
  9018. Node132.a('node.type', Node132type);
  9019. Node132.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  9020. Node132.a('node.background', 'rgba(255,255,255,0.003921569)');
  9021. Node132.a('node.gradientcolor', '');
  9022. Node132.a('node.gradient', '');
  9023. Node132.a('node.borderwidth', Node132BorderWidth);
  9024. Node132.a('node.color', 'rgba(220,220,220,1)');
  9025. Node132.a('node.fillrect', [0,0,0,0]);
  9026. Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  9027. Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  9028. Node132.a('node.fillgradient', '');
  9029. if (Node132type !== 'rect') {
  9030. Node132.a('node.arcFrom', parseFloat('@arcFrom@'));
  9031. Node132.a('node.arcTo', parseFloat('@arcTo@'));
  9032. Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  9033. }
  9034. if (Node132type === 'arc') {
  9035. Node132.a('node.arcOval', true);
  9036. }
  9037. Node132.setRotation(0*Math.PI/180);
  9038. Node132.borderWidth = Node132BorderWidth;
  9039. Node132.borderFillwidth = Node132BorderWidth;
  9040. dataModel.add(Node132);
  9041. Node132._nodename = 'Node132'
  9042. Node132._nodeType = 'rect';
  9043. zoomNodeList.push({
  9044. node: Node132,
  9045. attr: 'node.borderwidth'
  9046. });
  9047. (function (node, _img) {
  9048. var setWidth = node.setWidth,
  9049. setHeight = node.setHeight;
  9050. node.setWidth = function (width) {
  9051. if (width === this.getWidth()) return ;
  9052. var height = this.getHeight();
  9053. this.a('node.width', width);
  9054. this.a('node.rect', [0,0,width, height]);
  9055. setWidth.apply(this, arguments);
  9056. }
  9057. node.setHeight = function (height) {
  9058. if (height === this.getHeight()) return ;
  9059. var width = this.getWidth();
  9060. this.a('node.height', height);
  9061. this.a('node.rect', [0,0,width, height]);
  9062. setHeight.apply(this, arguments);
  9063. }
  9064. })(Node132, Node132.getImage());var Node133points=[1807, 118,1807, 238],
  9065. Node133rect=ht.Default.unionPoint([{x:1807,y:118},{x:1807,y:238}]),
  9066. Node133compspts=[];
  9067. _ratio = GD.getRatioWithRotation(0, ratio);
  9068. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  9069. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  9070. for(var i=0;i<Node133points.length;i++){
  9071. if(i%2==0){
  9072. Node133compspts.push(Node133points[i]-Node133rect.x);
  9073. }else{
  9074. Node133compspts.push(Node133points[i]-Node133rect.y);
  9075. }
  9076. }
  9077. var Node133ptslength=Node133compspts.length;
  9078. if (Node133rect.height === 0) {
  9079. Node133compspts[0] -= 0;
  9080. Node133compspts[Node133ptslength-2] += 0;
  9081. } else if (Node133rect.width === 0){
  9082. Node133compspts[1] -= 0;
  9083. Node133compspts[Node133ptslength-1] += 0;
  9084. } else {
  9085. Node133compspts[0] -= 0;
  9086. Node133compspts[1] -= 0;
  9087. Node133compspts[Node133ptslength-2] += 0;
  9088. Node133compspts[Node133ptslength-1] += 0;
  9089. }
  9090. Node133 = new ht.Node();
  9091. Node133.borderWidth = 1;
  9092. Node133rect.width = Node133rect.width === 0 ? 0.0001 : Node133rect.width;
  9093. Node133rect.height = Node133rect.height === 0 ? 0.0001 : Node133rect.height;
  9094. var Node133endCompspts = [Node133compspts[Node133ptslength-2],Node133compspts[Node133ptslength-1],0,0];
  9095. var Node133startCompspts = [Node133compspts[0],Node133compspts[1],0,0];
  9096. Node133.setImage(GD.getPolyLineJSON());
  9097. Node133.setPosition(Node133rect.x+Node133rect.width/2,Node133rect.y+Node133rect.height/2);
  9098. Node133.setSize(Node133rect.width,Node133rect.height);
  9099. Node133.setStyle("opacity",1);
  9100. Node133.s({'pixelPerfect':true});
  9101. Node133borderwidth=1;
  9102. Node133.setRotation(0);
  9103. dataModel.add(Node133);
  9104. Node133.a('node.points',Node133compspts);
  9105. Node133.a('node.segments',[1,2]);
  9106. Node133.a('node.color','rgba(220,220,220,1)');
  9107. Node133.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9108. Node133.a('node.borderColor','rgba(220,220,220,1)');
  9109. Node133.a('node.background','rgba(220,220,220,1)');
  9110. Node133.a('node.gradient','');
  9111. Node133.a('node.gradientcolor','rgba(220,220,220,1)');
  9112. Node133.a('node.endCompspts',Node133endCompspts);
  9113. Node133.a('node.startCompspts',Node133startCompspts);
  9114. (function (node, img, compspts, endCompspts, startCompspts) {
  9115. var position = node.getPosition(),
  9116. w = node.getWidth()*_ratio.ratioX,
  9117. h = node.getHeight()*_ratio.ratioY;
  9118. function resetPoints(rx, ry) {
  9119. for (var i = 0, len = compspts.length; i < len; i++) {
  9120. if (i%2 === 0) {
  9121. compspts[i]*=rx;
  9122. } else {
  9123. compspts[i]*=ry;
  9124. }
  9125. }
  9126. endCompspts[0] = compspts[compspts.length-2];
  9127. endCompspts[1] = compspts[compspts.length-1];
  9128. endCompspts[2] *= rx;
  9129. endCompspts[3] *= ry;
  9130. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9131. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9132. startCompspts[0] = compspts[0];
  9133. startCompspts[1] = compspts[1];
  9134. startCompspts[2] *= rx;
  9135. startCompspts[3] *= ry;
  9136. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9137. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9138. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9139. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9140. }
  9141. node.setSize(w, h);
  9142. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9143. node.a('node.width', w);
  9144. node.a('node.height', h);
  9145. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9146. node.borderWidth = 1;
  9147. node.a('node.borderwidth',node.borderWidth);
  9148. node._nodename = 'Node133';
  9149. node._nodeType = 'line';
  9150. zoomNodeList.push({
  9151. node: node,
  9152. attr: 'node.borderwidth'
  9153. });
  9154. var setWidth = node.setWidth,
  9155. setHeight = node.setHeight,
  9156. timer, rx = 1, ry = 1;
  9157. node.setWidth = function (width) {
  9158. var _width = this.getWidth();
  9159. rx = width / _width;
  9160. node.a('node.width', width);
  9161. setWidth.apply(this, arguments);
  9162. resetPoints(rx, 1);
  9163. }
  9164. node.setHeight = function (height) {
  9165. var _height = this.getHeight();
  9166. ry = height / _height;
  9167. node.a('node.height', height);
  9168. setHeight.apply(this, arguments);
  9169. resetPoints(1, ry);
  9170. }
  9171. })(Node133, Node133.getImage(), Node133compspts, Node133endCompspts, Node133startCompspts);
  9172. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9173. var Node134 = new ht.Node();
  9174. var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 110*_ratio.ratioX, Node134height = 27*_ratio.ratioY;
  9175. (function () {
  9176. if (Node134align === 'left') {
  9177. Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
  9178. Node134textWidth = Node134width;
  9179. Node134lineStart = 1;
  9180. } else if (Node134align === 'right') {
  9181. Node134textStart = 0;
  9182. Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
  9183. Node134lineStart = (Node134width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5;
  9184. } else if (Node134align === 'center') {
  9185. Node134textStart = -3;
  9186. Node134textWidth = Node134width;
  9187. Node134lineStart = Node134width - ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width - 11;
  9188. }
  9189. })();
  9190. Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"'))
  9191. Node134.setPosition(1676*ratio.ratioX, 129*ratio.ratioY);
  9192. Node134.setWidth(Node134width);
  9193. Node134.setHeight(Node134height);
  9194. Node134._nodeType = 'text';
  9195. Node134._disallowEvert = true;
  9196. Node134.setRotation(0*Math.PI/180);
  9197. Node134.a('node.width', Node134width);
  9198. Node134.a('node.height', Node134height);
  9199. Node134.a('node.rect', [0, 0, Node134width, Node134height]);
  9200. Node134.a('node.bordercolor','rgba(0,0,0,1)');
  9201. Node134.a('node.borderwidth', 0);
  9202. Node134.a('node.background','' || 'rgba(0,0,0,0)');
  9203. Node134.a('node.gradient','');
  9204. Node134.a('node.gradientcolor','');
  9205. Node134.a('node.text','年维护损失电量');
  9206. Node134.a('node.textalign','left');
  9207. Node134.a('node.textvAlign','middle');
  9208. Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
  9209. Node134.a('node.color','rgba(0,0,0,1)');
  9210. Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"');
  9211. Node134.a('node.textvisible',true);
  9212. Node134.a('node.linefeed',false);
  9213. if (false) {
  9214. Node134.a('node.textfunc',function(g) {
  9215. g.beginPath();
  9216. var str=Node134.a('node.text') || '年维护损失电量';
  9217. var color=Node134.a('node.color') || 'rgba(0,0,0,1)';
  9218. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,' '+ Node134fontSize + 'px "Arial"', 0,g);
  9219. });
  9220. }
  9221. if (false) {
  9222. Node134.a('node.underlinepoints',[Node134lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
  9223. Node134.a('node.underlinevisible',false);
  9224. Node134.a('node.underlineBorderWidth', 1);
  9225. }
  9226. dataModel.add(Node134);
  9227. zoomNodeList.push({
  9228. node: Node134,
  9229. borderWidth: 0,
  9230. attr: 'node.borderwidth'
  9231. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9232. var Node135 = new ht.Node();
  9233. var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'left', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 110*_ratio.ratioX, Node135height = 27*_ratio.ratioY;
  9234. (function () {
  9235. if (Node135align === 'left') {
  9236. Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
  9237. Node135textWidth = Node135width;
  9238. Node135lineStart = 1;
  9239. } else if (Node135align === 'right') {
  9240. Node135textStart = 0;
  9241. Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
  9242. Node135lineStart = (Node135width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
  9243. } else if (Node135align === 'center') {
  9244. Node135textStart = -3;
  9245. Node135textWidth = Node135width;
  9246. Node135lineStart = Node135width - ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width - 11;
  9247. }
  9248. })();
  9249. Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
  9250. Node135.setPosition(1676*ratio.ratioX, 155*ratio.ratioY);
  9251. Node135.setWidth(Node135width);
  9252. Node135.setHeight(Node135height);
  9253. Node135._nodeType = 'text';
  9254. Node135._disallowEvert = true;
  9255. Node135.setRotation(0*Math.PI/180);
  9256. Node135.a('node.width', Node135width);
  9257. Node135.a('node.height', Node135height);
  9258. Node135.a('node.rect', [0, 0, Node135width, Node135height]);
  9259. Node135.a('node.bordercolor','rgba(0,0,0,1)');
  9260. Node135.a('node.borderwidth', 0);
  9261. Node135.a('node.background','' || 'rgba(0,0,0,0)');
  9262. Node135.a('node.gradient','');
  9263. Node135.a('node.gradientcolor','');
  9264. Node135.a('node.text','年故障损失电量');
  9265. Node135.a('node.textalign','left');
  9266. Node135.a('node.textvAlign','middle');
  9267. Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
  9268. Node135.a('node.color','rgba(0,0,0,1)');
  9269. Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
  9270. Node135.a('node.textvisible',true);
  9271. Node135.a('node.linefeed',false);
  9272. if (false) {
  9273. Node135.a('node.textfunc',function(g) {
  9274. g.beginPath();
  9275. var str=Node135.a('node.text') || '年故障损失电量';
  9276. var color=Node135.a('node.color') || 'rgba(0,0,0,1)';
  9277. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
  9278. });
  9279. }
  9280. if (false) {
  9281. Node135.a('node.underlinepoints',[Node135lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
  9282. Node135.a('node.underlinevisible',false);
  9283. Node135.a('node.underlineBorderWidth', 1);
  9284. }
  9285. dataModel.add(Node135);
  9286. zoomNodeList.push({
  9287. node: Node135,
  9288. borderWidth: 0,
  9289. attr: 'node.borderwidth'
  9290. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9291. var Node136 = new ht.Node();
  9292. var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'left', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 110*_ratio.ratioX, Node136height = 27*_ratio.ratioY;
  9293. (function () {
  9294. if (Node136align === 'left') {
  9295. Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
  9296. Node136textWidth = Node136width;
  9297. Node136lineStart = 1;
  9298. } else if (Node136align === 'right') {
  9299. Node136textStart = 0;
  9300. Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
  9301. Node136lineStart = (Node136width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
  9302. } else if (Node136align === 'center') {
  9303. Node136textStart = -3;
  9304. Node136textWidth = Node136width;
  9305. Node136lineStart = Node136width - ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width - 11;
  9306. }
  9307. })();
  9308. Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
  9309. Node136.setPosition(1676*ratio.ratioX, 179*ratio.ratioY);
  9310. Node136.setWidth(Node136width);
  9311. Node136.setHeight(Node136height);
  9312. Node136._nodeType = 'text';
  9313. Node136._disallowEvert = true;
  9314. Node136.setRotation(0*Math.PI/180);
  9315. Node136.a('node.width', Node136width);
  9316. Node136.a('node.height', Node136height);
  9317. Node136.a('node.rect', [0, 0, Node136width, Node136height]);
  9318. Node136.a('node.bordercolor','rgba(0,0,0,1)');
  9319. Node136.a('node.borderwidth', 0);
  9320. Node136.a('node.background','' || 'rgba(0,0,0,0)');
  9321. Node136.a('node.gradient','');
  9322. Node136.a('node.gradientcolor','');
  9323. Node136.a('node.text','年限电损失电量');
  9324. Node136.a('node.textalign','left');
  9325. Node136.a('node.textvAlign','middle');
  9326. Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
  9327. Node136.a('node.color','rgba(0,0,0,1)');
  9328. Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
  9329. Node136.a('node.textvisible',true);
  9330. Node136.a('node.linefeed',false);
  9331. if (false) {
  9332. Node136.a('node.textfunc',function(g) {
  9333. g.beginPath();
  9334. var str=Node136.a('node.text') || '年限电损失电量';
  9335. var color=Node136.a('node.color') || 'rgba(0,0,0,1)';
  9336. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
  9337. });
  9338. }
  9339. if (false) {
  9340. Node136.a('node.underlinepoints',[Node136lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
  9341. Node136.a('node.underlinevisible',false);
  9342. Node136.a('node.underlineBorderWidth', 1);
  9343. }
  9344. dataModel.add(Node136);
  9345. zoomNodeList.push({
  9346. node: Node136,
  9347. borderWidth: 0,
  9348. attr: 'node.borderwidth'
  9349. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9350. var Node137 = new ht.Node();
  9351. var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 110*_ratio.ratioX, Node137height = 27*_ratio.ratioY;
  9352. (function () {
  9353. if (Node137align === 'left') {
  9354. Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
  9355. Node137textWidth = Node137width;
  9356. Node137lineStart = 1;
  9357. } else if (Node137align === 'right') {
  9358. Node137textStart = 0;
  9359. Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
  9360. Node137lineStart = (Node137width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
  9361. } else if (Node137align === 'center') {
  9362. Node137textStart = -3;
  9363. Node137textWidth = Node137width;
  9364. Node137lineStart = Node137width - ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width - 11;
  9365. }
  9366. })();
  9367. Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
  9368. Node137.setPosition(1677*ratio.ratioX, 202*ratio.ratioY);
  9369. Node137.setWidth(Node137width);
  9370. Node137.setHeight(Node137height);
  9371. Node137._nodeType = 'text';
  9372. Node137._disallowEvert = true;
  9373. Node137.setRotation(0*Math.PI/180);
  9374. Node137.a('node.width', Node137width);
  9375. Node137.a('node.height', Node137height);
  9376. Node137.a('node.rect', [0, 0, Node137width, Node137height]);
  9377. Node137.a('node.bordercolor','rgba(0,0,0,1)');
  9378. Node137.a('node.borderwidth', 0);
  9379. Node137.a('node.background','' || 'rgba(0,0,0,0)');
  9380. Node137.a('node.gradient','');
  9381. Node137.a('node.gradientcolor','');
  9382. Node137.a('node.text','年受累损失电量');
  9383. Node137.a('node.textalign','left');
  9384. Node137.a('node.textvAlign','middle');
  9385. Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
  9386. Node137.a('node.color','rgba(0,0,0,1)');
  9387. Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
  9388. Node137.a('node.textvisible',true);
  9389. Node137.a('node.linefeed',false);
  9390. if (false) {
  9391. Node137.a('node.textfunc',function(g) {
  9392. g.beginPath();
  9393. var str=Node137.a('node.text') || '年受累损失电量';
  9394. var color=Node137.a('node.color') || 'rgba(0,0,0,1)';
  9395. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
  9396. });
  9397. }
  9398. if (false) {
  9399. Node137.a('node.underlinepoints',[Node137lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
  9400. Node137.a('node.underlinevisible',false);
  9401. Node137.a('node.underlineBorderWidth', 1);
  9402. }
  9403. dataModel.add(Node137);
  9404. zoomNodeList.push({
  9405. node: Node137,
  9406. borderWidth: 0,
  9407. attr: 'node.borderwidth'
  9408. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9409. var Node138 = new ht.Node();
  9410. var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 125*_ratio.ratioX, Node138height = 27*_ratio.ratioY;
  9411. (function () {
  9412. if (Node138align === 'left') {
  9413. Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
  9414. Node138textWidth = Node138width;
  9415. Node138lineStart = 1;
  9416. } else if (Node138align === 'right') {
  9417. Node138textStart = 0;
  9418. Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
  9419. Node138lineStart = (Node138width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
  9420. } else if (Node138align === 'center') {
  9421. Node138textStart = -3;
  9422. Node138textWidth = Node138width;
  9423. Node138lineStart = Node138width - ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width - 11;
  9424. }
  9425. })();
  9426. Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
  9427. Node138.setPosition(1682*ratio.ratioX, 227*ratio.ratioY);
  9428. Node138.setWidth(Node138width);
  9429. Node138.setHeight(Node138height);
  9430. Node138._nodeType = 'text';
  9431. Node138._disallowEvert = true;
  9432. Node138.setRotation(0*Math.PI/180);
  9433. Node138.a('node.width', Node138width);
  9434. Node138.a('node.height', Node138height);
  9435. Node138.a('node.rect', [0, 0, Node138width, Node138height]);
  9436. Node138.a('node.bordercolor','rgba(0,0,0,1)');
  9437. Node138.a('node.borderwidth', 0);
  9438. Node138.a('node.background','' || 'rgba(0,0,0,0)');
  9439. Node138.a('node.gradient','');
  9440. Node138.a('node.gradientcolor','');
  9441. Node138.a('node.text','年性能损失电量');
  9442. Node138.a('node.textalign','left');
  9443. Node138.a('node.textvAlign','middle');
  9444. Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
  9445. Node138.a('node.color','rgba(0,0,0,1)');
  9446. Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
  9447. Node138.a('node.textvisible',true);
  9448. Node138.a('node.linefeed',false);
  9449. if (false) {
  9450. Node138.a('node.textfunc',function(g) {
  9451. g.beginPath();
  9452. var str=Node138.a('node.text') || '年性能损失电量';
  9453. var color=Node138.a('node.color') || 'rgba(0,0,0,1)';
  9454. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
  9455. });
  9456. }
  9457. if (false) {
  9458. Node138.a('node.underlinepoints',[Node138lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
  9459. Node138.a('node.underlinevisible',false);
  9460. Node138.a('node.underlineBorderWidth', 1);
  9461. }
  9462. dataModel.add(Node138);
  9463. zoomNodeList.push({
  9464. node: Node138,
  9465. borderWidth: 0,
  9466. attr: 'node.borderwidth'
  9467. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9468. var Node139 = new ht.Node();
  9469. var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'left', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 37*_ratio.ratioX, Node139height = 16*_ratio.ratioY;
  9470. (function () {
  9471. if (Node139align === 'left') {
  9472. Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9;
  9473. Node139textWidth = Node139width;
  9474. Node139lineStart = 1;
  9475. } else if (Node139align === 'right') {
  9476. Node139textStart = 0;
  9477. Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2;
  9478. Node139lineStart = (Node139width - (ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
  9479. } else if (Node139align === 'center') {
  9480. Node139textStart = -3;
  9481. Node139textWidth = Node139width;
  9482. Node139lineStart = Node139width - ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width - 11;
  9483. }
  9484. })();
  9485. Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, 'bold '+ Node139fontSize + 'px "Arial"'))
  9486. Node139.setPosition(1772*ratio.ratioX, 129*ratio.ratioY);
  9487. Node139.setWidth(Node139width);
  9488. Node139.setHeight(Node139height);
  9489. Node139._nodeType = 'text';
  9490. Node139._disallowEvert = true;
  9491. Node139.setRotation(0*Math.PI/180);
  9492. Node139.a('node.width', Node139width);
  9493. Node139.a('node.height', Node139height);
  9494. Node139.a('node.rect', [0, 0, Node139width, Node139height]);
  9495. Node139.a('node.bordercolor','rgba(0,0,0,1)');
  9496. Node139.a('node.borderwidth', 0);
  9497. Node139.a('node.background','' || 'rgba(0,0,0,0)');
  9498. Node139.a('node.gradient','');
  9499. Node139.a('node.gradientcolor','');
  9500. Node139.a('node.text','0');
  9501. Node139.a('node.textalign','left');
  9502. Node139.a('node.textvAlign','middle');
  9503. Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
  9504. Node139.a('node.color','rgba(0,0,0,1)');
  9505. Node139.a('node.font','bold '+ Node139fontSize + 'px "Arial"');
  9506. Node139.a('node.textvisible',true);
  9507. Node139.a('node.linefeed',false);
  9508. if (false) {
  9509. Node139.a('node.textfunc',function(g) {
  9510. g.beginPath();
  9511. var str=Node139.a('node.text') || '0';
  9512. var color=Node139.a('node.color') || 'rgba(0,0,0,1)';
  9513. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node139fontSize + 'px "Arial"', 0,g);
  9514. });
  9515. }
  9516. if (false) {
  9517. Node139.a('node.underlinepoints',[Node139lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]);
  9518. Node139.a('node.underlinevisible',false);
  9519. Node139.a('node.underlineBorderWidth', 1);
  9520. }
  9521. dataModel.add(Node139);
  9522. zoomNodeList.push({
  9523. node: Node139,
  9524. borderWidth: 0,
  9525. attr: 'node.borderwidth'
  9526. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9527. var Node140 = new ht.Node();
  9528. var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'left', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 37*_ratio.ratioX, Node140height = 16*_ratio.ratioY;
  9529. (function () {
  9530. if (Node140align === 'left') {
  9531. Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
  9532. Node140textWidth = Node140width;
  9533. Node140lineStart = 1;
  9534. } else if (Node140align === 'right') {
  9535. Node140textStart = 0;
  9536. Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
  9537. Node140lineStart = (Node140width - (ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
  9538. } else if (Node140align === 'center') {
  9539. Node140textStart = -3;
  9540. Node140textWidth = Node140width;
  9541. Node140lineStart = Node140width - ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width - 11;
  9542. }
  9543. })();
  9544. Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, 'bold '+ Node140fontSize + 'px "Arial"'))
  9545. Node140.setPosition(1772*ratio.ratioX, 153*ratio.ratioY);
  9546. Node140.setWidth(Node140width);
  9547. Node140.setHeight(Node140height);
  9548. Node140._nodeType = 'text';
  9549. Node140._disallowEvert = true;
  9550. Node140.setRotation(0*Math.PI/180);
  9551. Node140.a('node.width', Node140width);
  9552. Node140.a('node.height', Node140height);
  9553. Node140.a('node.rect', [0, 0, Node140width, Node140height]);
  9554. Node140.a('node.bordercolor','rgba(0,0,0,1)');
  9555. Node140.a('node.borderwidth', 0);
  9556. Node140.a('node.background','' || 'rgba(0,0,0,0)');
  9557. Node140.a('node.gradient','');
  9558. Node140.a('node.gradientcolor','');
  9559. Node140.a('node.text','0');
  9560. Node140.a('node.textalign','left');
  9561. Node140.a('node.textvAlign','middle');
  9562. Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
  9563. Node140.a('node.color','rgba(0,0,0,1)');
  9564. Node140.a('node.font','bold '+ Node140fontSize + 'px "Arial"');
  9565. Node140.a('node.textvisible',true);
  9566. Node140.a('node.linefeed',false);
  9567. if (false) {
  9568. Node140.a('node.textfunc',function(g) {
  9569. g.beginPath();
  9570. var str=Node140.a('node.text') || '0';
  9571. var color=Node140.a('node.color') || 'rgba(0,0,0,1)';
  9572. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node140fontSize + 'px "Arial"', 0,g);
  9573. });
  9574. }
  9575. if (false) {
  9576. Node140.a('node.underlinepoints',[Node140lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
  9577. Node140.a('node.underlinevisible',false);
  9578. Node140.a('node.underlineBorderWidth', 1);
  9579. }
  9580. dataModel.add(Node140);
  9581. zoomNodeList.push({
  9582. node: Node140,
  9583. borderWidth: 0,
  9584. attr: 'node.borderwidth'
  9585. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9586. var Node141 = new ht.Node();
  9587. var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 27*_ratio.ratioX, Node141height = 16*_ratio.ratioY;
  9588. (function () {
  9589. if (Node141align === 'left') {
  9590. Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9;
  9591. Node141textWidth = Node141width;
  9592. Node141lineStart = 1;
  9593. } else if (Node141align === 'right') {
  9594. Node141textStart = 0;
  9595. Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2;
  9596. Node141lineStart = (Node141width - (ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
  9597. } else if (Node141align === 'center') {
  9598. Node141textStart = -3;
  9599. Node141textWidth = Node141width;
  9600. Node141lineStart = Node141width - ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width - 11;
  9601. }
  9602. })();
  9603. Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, 'bold '+ Node141fontSize + 'px "Arial"'))
  9604. Node141.setPosition(1767*ratio.ratioX, 178*ratio.ratioY);
  9605. Node141.setWidth(Node141width);
  9606. Node141.setHeight(Node141height);
  9607. Node141._nodeType = 'text';
  9608. Node141._disallowEvert = true;
  9609. Node141.setRotation(0*Math.PI/180);
  9610. Node141.a('node.width', Node141width);
  9611. Node141.a('node.height', Node141height);
  9612. Node141.a('node.rect', [0, 0, Node141width, Node141height]);
  9613. Node141.a('node.bordercolor','rgba(0,0,0,1)');
  9614. Node141.a('node.borderwidth', 0);
  9615. Node141.a('node.background','' || 'rgba(0,0,0,0)');
  9616. Node141.a('node.gradient','');
  9617. Node141.a('node.gradientcolor','');
  9618. Node141.a('node.text','0');
  9619. Node141.a('node.textalign','left');
  9620. Node141.a('node.textvAlign','middle');
  9621. Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
  9622. Node141.a('node.color','rgba(0,0,0,1)');
  9623. Node141.a('node.font','bold '+ Node141fontSize + 'px "Arial"');
  9624. Node141.a('node.textvisible',true);
  9625. Node141.a('node.linefeed',false);
  9626. if (false) {
  9627. Node141.a('node.textfunc',function(g) {
  9628. g.beginPath();
  9629. var str=Node141.a('node.text') || '0';
  9630. var color=Node141.a('node.color') || 'rgba(0,0,0,1)';
  9631. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node141fontSize + 'px "Arial"', 0,g);
  9632. });
  9633. }
  9634. if (false) {
  9635. Node141.a('node.underlinepoints',[Node141lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]);
  9636. Node141.a('node.underlinevisible',false);
  9637. Node141.a('node.underlineBorderWidth', 1);
  9638. }
  9639. dataModel.add(Node141);
  9640. zoomNodeList.push({
  9641. node: Node141,
  9642. borderWidth: 0,
  9643. attr: 'node.borderwidth'
  9644. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9645. var Node142 = new ht.Node();
  9646. var Node142textStart, Node142textWidth, Node142lineStart, Node142align = 'left', Node142fontSize = 13.3333*_ratio.ratioY,Node142width = 37*_ratio.ratioX, Node142height = 16*_ratio.ratioY;
  9647. (function () {
  9648. if (Node142align === 'left') {
  9649. Node142textStart = Node142fontSize * 0.2 > 2 ? Node142fontSize * 0.2 - 4 : Node142fontSize * 0.2 - 9;
  9650. Node142textWidth = Node142width;
  9651. Node142lineStart = 1;
  9652. } else if (Node142align === 'right') {
  9653. Node142textStart = 0;
  9654. Node142textWidth =Node142fontSize <= 8 ? Node142width + Node142fontSize * 0.2 + 6 : Node142width - Node142fontSize * 0.2;
  9655. Node142lineStart = (Node142width - (ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width + 6)) * 0.5;
  9656. } else if (Node142align === 'center') {
  9657. Node142textStart = -3;
  9658. Node142textWidth = Node142width;
  9659. Node142lineStart = Node142width - ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width - 11;
  9660. }
  9661. })();
  9662. Node142.setImage(GD.getTextJSON(Node142width, Node142height, true, false, false, 'bold '+ Node142fontSize + 'px "Arial"'))
  9663. Node142.setPosition(1786*ratio.ratioX, 202*ratio.ratioY);
  9664. Node142.setWidth(Node142width);
  9665. Node142.setHeight(Node142height);
  9666. Node142._nodeType = 'text';
  9667. Node142._disallowEvert = true;
  9668. Node142.setRotation(0*Math.PI/180);
  9669. Node142.a('node.width', Node142width);
  9670. Node142.a('node.height', Node142height);
  9671. Node142.a('node.rect', [0, 0, Node142width, Node142height]);
  9672. Node142.a('node.bordercolor','rgba(0,0,0,1)');
  9673. Node142.a('node.borderwidth', 0);
  9674. Node142.a('node.background','' || 'rgba(0,0,0,0)');
  9675. Node142.a('node.gradient','');
  9676. Node142.a('node.gradientcolor','');
  9677. Node142.a('node.text','-');
  9678. Node142.a('node.textalign','left');
  9679. Node142.a('node.textvAlign','middle');
  9680. Node142.a('node.textrect', [Node142textStart, 0, Node142textWidth, Node142height]);
  9681. Node142.a('node.color','rgba(0,0,0,1)');
  9682. Node142.a('node.font','bold '+ Node142fontSize + 'px "Arial"');
  9683. Node142.a('node.textvisible',true);
  9684. Node142.a('node.linefeed',false);
  9685. if (false) {
  9686. Node142.a('node.textfunc',function(g) {
  9687. g.beginPath();
  9688. var str=Node142.a('node.text') || '-';
  9689. var color=Node142.a('node.color') || 'rgba(0,0,0,1)';
  9690. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node142width,Node142height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node142fontSize + 'px "Arial"', 0,g);
  9691. });
  9692. }
  9693. if (false) {
  9694. Node142.a('node.underlinepoints',[Node142lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node142fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width + 6, (Node142height - Node142fontSize) * 0.5*_ratio.ratioY + Node142fontSize + 2 ]);
  9695. Node142.a('node.underlinevisible',false);
  9696. Node142.a('node.underlineBorderWidth', 1);
  9697. }
  9698. dataModel.add(Node142);
  9699. zoomNodeList.push({
  9700. node: Node142,
  9701. borderWidth: 0,
  9702. attr: 'node.borderwidth'
  9703. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9704. var Node143 = new ht.Node();
  9705. var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'left', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 47*_ratio.ratioX, Node143height = 17*_ratio.ratioY;
  9706. (function () {
  9707. if (Node143align === 'left') {
  9708. Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
  9709. Node143textWidth = Node143width;
  9710. Node143lineStart = 1;
  9711. } else if (Node143align === 'right') {
  9712. Node143textStart = 0;
  9713. Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
  9714. Node143lineStart = (Node143width - (ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5;
  9715. } else if (Node143align === 'center') {
  9716. Node143textStart = -3;
  9717. Node143textWidth = Node143width;
  9718. Node143lineStart = Node143width - ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width - 11;
  9719. }
  9720. })();
  9721. Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"'))
  9722. Node143.setPosition(1840*ratio.ratioX, 128*ratio.ratioY);
  9723. Node143.setWidth(Node143width);
  9724. Node143.setHeight(Node143height);
  9725. Node143._nodeType = 'text';
  9726. Node143._disallowEvert = true;
  9727. Node143.setRotation(0*Math.PI/180);
  9728. Node143.a('node.width', Node143width);
  9729. Node143.a('node.height', Node143height);
  9730. Node143.a('node.rect', [0, 0, Node143width, Node143height]);
  9731. Node143.a('node.bordercolor','rgba(169,169,169,1)');
  9732. Node143.a('node.borderwidth', 0);
  9733. Node143.a('node.background','' || 'rgba(0,0,0,0)');
  9734. Node143.a('node.gradient','');
  9735. Node143.a('node.gradientcolor','');
  9736. Node143.a('node.text','万kW');
  9737. Node143.a('node.textalign','left');
  9738. Node143.a('node.textvAlign','middle');
  9739. Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
  9740. Node143.a('node.color','rgba(169,169,169,1)');
  9741. Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"');
  9742. Node143.a('node.textvisible',true);
  9743. Node143.a('node.linefeed',false);
  9744. if (false) {
  9745. Node143.a('node.textfunc',function(g) {
  9746. g.beginPath();
  9747. var str=Node143.a('node.text') || '万kW';
  9748. var color=Node143.a('node.color') || 'rgba(169,169,169,1)';
  9749. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"left",color,' '+ Node143fontSize + 'px "Arial"', 0,g);
  9750. });
  9751. }
  9752. if (false) {
  9753. Node143.a('node.underlinepoints',[Node143lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
  9754. Node143.a('node.underlinevisible',false);
  9755. Node143.a('node.underlineBorderWidth', 1);
  9756. }
  9757. dataModel.add(Node143);
  9758. zoomNodeList.push({
  9759. node: Node143,
  9760. borderWidth: 0,
  9761. attr: 'node.borderwidth'
  9762. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9763. var Node144 = new ht.Node();
  9764. var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'left', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 37*_ratio.ratioX, Node144height = 16*_ratio.ratioY;
  9765. (function () {
  9766. if (Node144align === 'left') {
  9767. Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9;
  9768. Node144textWidth = Node144width;
  9769. Node144lineStart = 1;
  9770. } else if (Node144align === 'right') {
  9771. Node144textStart = 0;
  9772. Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2;
  9773. Node144lineStart = (Node144width - (ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5;
  9774. } else if (Node144align === 'center') {
  9775. Node144textStart = -3;
  9776. Node144textWidth = Node144width;
  9777. Node144lineStart = Node144width - ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width - 11;
  9778. }
  9779. })();
  9780. Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, 'bold '+ Node144fontSize + 'px "Arial"'))
  9781. Node144.setPosition(1786*ratio.ratioX, 227*ratio.ratioY);
  9782. Node144.setWidth(Node144width);
  9783. Node144.setHeight(Node144height);
  9784. Node144._nodeType = 'text';
  9785. Node144._disallowEvert = true;
  9786. Node144.setRotation(0*Math.PI/180);
  9787. Node144.a('node.width', Node144width);
  9788. Node144.a('node.height', Node144height);
  9789. Node144.a('node.rect', [0, 0, Node144width, Node144height]);
  9790. Node144.a('node.bordercolor','rgba(0,0,0,1)');
  9791. Node144.a('node.borderwidth', 0);
  9792. Node144.a('node.background','' || 'rgba(0,0,0,0)');
  9793. Node144.a('node.gradient','');
  9794. Node144.a('node.gradientcolor','');
  9795. Node144.a('node.text','-');
  9796. Node144.a('node.textalign','left');
  9797. Node144.a('node.textvAlign','middle');
  9798. Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]);
  9799. Node144.a('node.color','rgba(0,0,0,1)');
  9800. Node144.a('node.font','bold '+ Node144fontSize + 'px "Arial"');
  9801. Node144.a('node.textvisible',true);
  9802. Node144.a('node.linefeed',false);
  9803. if (false) {
  9804. Node144.a('node.textfunc',function(g) {
  9805. g.beginPath();
  9806. var str=Node144.a('node.text') || '-';
  9807. var color=Node144.a('node.color') || 'rgba(0,0,0,1)';
  9808. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node144fontSize + 'px "Arial"', 0,g);
  9809. });
  9810. }
  9811. if (false) {
  9812. Node144.a('node.underlinepoints',[Node144lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]);
  9813. Node144.a('node.underlinevisible',false);
  9814. Node144.a('node.underlineBorderWidth', 1);
  9815. }
  9816. dataModel.add(Node144);
  9817. zoomNodeList.push({
  9818. node: Node144,
  9819. borderWidth: 0,
  9820. attr: 'node.borderwidth'
  9821. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9822. var Node145 = new ht.Node();
  9823. var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'left', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 47*_ratio.ratioX, Node145height = 17*_ratio.ratioY;
  9824. (function () {
  9825. if (Node145align === 'left') {
  9826. Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
  9827. Node145textWidth = Node145width;
  9828. Node145lineStart = 1;
  9829. } else if (Node145align === 'right') {
  9830. Node145textStart = 0;
  9831. Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
  9832. Node145lineStart = (Node145width - (ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5;
  9833. } else if (Node145align === 'center') {
  9834. Node145textStart = -3;
  9835. Node145textWidth = Node145width;
  9836. Node145lineStart = Node145width - ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width - 11;
  9837. }
  9838. })();
  9839. Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"'))
  9840. Node145.setPosition(1840*ratio.ratioX, 154*ratio.ratioY);
  9841. Node145.setWidth(Node145width);
  9842. Node145.setHeight(Node145height);
  9843. Node145._nodeType = 'text';
  9844. Node145._disallowEvert = true;
  9845. Node145.setRotation(0*Math.PI/180);
  9846. Node145.a('node.width', Node145width);
  9847. Node145.a('node.height', Node145height);
  9848. Node145.a('node.rect', [0, 0, Node145width, Node145height]);
  9849. Node145.a('node.bordercolor','rgba(169,169,169,1)');
  9850. Node145.a('node.borderwidth', 0);
  9851. Node145.a('node.background','' || 'rgba(0,0,0,0)');
  9852. Node145.a('node.gradient','');
  9853. Node145.a('node.gradientcolor','');
  9854. Node145.a('node.text','万kW');
  9855. Node145.a('node.textalign','left');
  9856. Node145.a('node.textvAlign','middle');
  9857. Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
  9858. Node145.a('node.color','rgba(169,169,169,1)');
  9859. Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"');
  9860. Node145.a('node.textvisible',true);
  9861. Node145.a('node.linefeed',false);
  9862. if (false) {
  9863. Node145.a('node.textfunc',function(g) {
  9864. g.beginPath();
  9865. var str=Node145.a('node.text') || '万kW';
  9866. var color=Node145.a('node.color') || 'rgba(169,169,169,1)';
  9867. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"left",color,' '+ Node145fontSize + 'px "Arial"', 0,g);
  9868. });
  9869. }
  9870. if (false) {
  9871. Node145.a('node.underlinepoints',[Node145lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
  9872. Node145.a('node.underlinevisible',false);
  9873. Node145.a('node.underlineBorderWidth', 1);
  9874. }
  9875. dataModel.add(Node145);
  9876. zoomNodeList.push({
  9877. node: Node145,
  9878. borderWidth: 0,
  9879. attr: 'node.borderwidth'
  9880. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9881. var Node146 = new ht.Node();
  9882. var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'left', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 47*_ratio.ratioX, Node146height = 17*_ratio.ratioY;
  9883. (function () {
  9884. if (Node146align === 'left') {
  9885. Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9;
  9886. Node146textWidth = Node146width;
  9887. Node146lineStart = 1;
  9888. } else if (Node146align === 'right') {
  9889. Node146textStart = 0;
  9890. Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2;
  9891. Node146lineStart = (Node146width - (ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5;
  9892. } else if (Node146align === 'center') {
  9893. Node146textStart = -3;
  9894. Node146textWidth = Node146width;
  9895. Node146lineStart = Node146width - ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width - 11;
  9896. }
  9897. })();
  9898. Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"'))
  9899. Node146.setPosition(1840*ratio.ratioX, 179*ratio.ratioY);
  9900. Node146.setWidth(Node146width);
  9901. Node146.setHeight(Node146height);
  9902. Node146._nodeType = 'text';
  9903. Node146._disallowEvert = true;
  9904. Node146.setRotation(0*Math.PI/180);
  9905. Node146.a('node.width', Node146width);
  9906. Node146.a('node.height', Node146height);
  9907. Node146.a('node.rect', [0, 0, Node146width, Node146height]);
  9908. Node146.a('node.bordercolor','rgba(169,169,169,1)');
  9909. Node146.a('node.borderwidth', 0);
  9910. Node146.a('node.background','' || 'rgba(0,0,0,0)');
  9911. Node146.a('node.gradient','');
  9912. Node146.a('node.gradientcolor','');
  9913. Node146.a('node.text','万kW');
  9914. Node146.a('node.textalign','left');
  9915. Node146.a('node.textvAlign','middle');
  9916. Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]);
  9917. Node146.a('node.color','rgba(169,169,169,1)');
  9918. Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"');
  9919. Node146.a('node.textvisible',true);
  9920. Node146.a('node.linefeed',false);
  9921. if (false) {
  9922. Node146.a('node.textfunc',function(g) {
  9923. g.beginPath();
  9924. var str=Node146.a('node.text') || '万kW';
  9925. var color=Node146.a('node.color') || 'rgba(169,169,169,1)';
  9926. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"left",color,' '+ Node146fontSize + 'px "Arial"', 0,g);
  9927. });
  9928. }
  9929. if (false) {
  9930. Node146.a('node.underlinepoints',[Node146lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]);
  9931. Node146.a('node.underlinevisible',false);
  9932. Node146.a('node.underlineBorderWidth', 1);
  9933. }
  9934. dataModel.add(Node146);
  9935. zoomNodeList.push({
  9936. node: Node146,
  9937. borderWidth: 0,
  9938. attr: 'node.borderwidth'
  9939. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9940. var Node147 = new ht.Node();
  9941. var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'left', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 47*_ratio.ratioX, Node147height = 17*_ratio.ratioY;
  9942. (function () {
  9943. if (Node147align === 'left') {
  9944. Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
  9945. Node147textWidth = Node147width;
  9946. Node147lineStart = 1;
  9947. } else if (Node147align === 'right') {
  9948. Node147textStart = 0;
  9949. Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
  9950. Node147lineStart = (Node147width - (ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
  9951. } else if (Node147align === 'center') {
  9952. Node147textStart = -3;
  9953. Node147textWidth = Node147width;
  9954. Node147lineStart = Node147width - ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width - 11;
  9955. }
  9956. })();
  9957. Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
  9958. Node147.setPosition(1840*ratio.ratioX, 206*ratio.ratioY);
  9959. Node147.setWidth(Node147width);
  9960. Node147.setHeight(Node147height);
  9961. Node147._nodeType = 'text';
  9962. Node147._disallowEvert = true;
  9963. Node147.setRotation(0*Math.PI/180);
  9964. Node147.a('node.width', Node147width);
  9965. Node147.a('node.height', Node147height);
  9966. Node147.a('node.rect', [0, 0, Node147width, Node147height]);
  9967. Node147.a('node.bordercolor','rgba(169,169,169,1)');
  9968. Node147.a('node.borderwidth', 0);
  9969. Node147.a('node.background','' || 'rgba(0,0,0,0)');
  9970. Node147.a('node.gradient','');
  9971. Node147.a('node.gradientcolor','');
  9972. Node147.a('node.text','万kW');
  9973. Node147.a('node.textalign','left');
  9974. Node147.a('node.textvAlign','middle');
  9975. Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
  9976. Node147.a('node.color','rgba(169,169,169,1)');
  9977. Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
  9978. Node147.a('node.textvisible',true);
  9979. Node147.a('node.linefeed',false);
  9980. if (false) {
  9981. Node147.a('node.textfunc',function(g) {
  9982. g.beginPath();
  9983. var str=Node147.a('node.text') || '万kW';
  9984. var color=Node147.a('node.color') || 'rgba(169,169,169,1)';
  9985. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"left",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
  9986. });
  9987. }
  9988. if (false) {
  9989. Node147.a('node.underlinepoints',[Node147lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
  9990. Node147.a('node.underlinevisible',false);
  9991. Node147.a('node.underlineBorderWidth', 1);
  9992. }
  9993. dataModel.add(Node147);
  9994. zoomNodeList.push({
  9995. node: Node147,
  9996. borderWidth: 0,
  9997. attr: 'node.borderwidth'
  9998. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9999. var Node148 = new ht.Node();
  10000. var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'left', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 47*_ratio.ratioX, Node148height = 17*_ratio.ratioY;
  10001. (function () {
  10002. if (Node148align === 'left') {
  10003. Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9;
  10004. Node148textWidth = Node148width;
  10005. Node148lineStart = 1;
  10006. } else if (Node148align === 'right') {
  10007. Node148textStart = 0;
  10008. Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2;
  10009. Node148lineStart = (Node148width - (ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
  10010. } else if (Node148align === 'center') {
  10011. Node148textStart = -3;
  10012. Node148textWidth = Node148width;
  10013. Node148lineStart = Node148width - ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width - 11;
  10014. }
  10015. })();
  10016. Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
  10017. Node148.setPosition(1839*ratio.ratioX, 228*ratio.ratioY);
  10018. Node148.setWidth(Node148width);
  10019. Node148.setHeight(Node148height);
  10020. Node148._nodeType = 'text';
  10021. Node148._disallowEvert = true;
  10022. Node148.setRotation(0*Math.PI/180);
  10023. Node148.a('node.width', Node148width);
  10024. Node148.a('node.height', Node148height);
  10025. Node148.a('node.rect', [0, 0, Node148width, Node148height]);
  10026. Node148.a('node.bordercolor','rgba(169,169,169,1)');
  10027. Node148.a('node.borderwidth', 0);
  10028. Node148.a('node.background','' || 'rgba(0,0,0,0)');
  10029. Node148.a('node.gradient','');
  10030. Node148.a('node.gradientcolor','');
  10031. Node148.a('node.text','万kW');
  10032. Node148.a('node.textalign','left');
  10033. Node148.a('node.textvAlign','middle');
  10034. Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
  10035. Node148.a('node.color','rgba(169,169,169,1)');
  10036. Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"');
  10037. Node148.a('node.textvisible',true);
  10038. Node148.a('node.linefeed',false);
  10039. if (false) {
  10040. Node148.a('node.textfunc',function(g) {
  10041. g.beginPath();
  10042. var str=Node148.a('node.text') || '万kW';
  10043. var color=Node148.a('node.color') || 'rgba(169,169,169,1)';
  10044. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"left",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
  10045. });
  10046. }
  10047. if (false) {
  10048. Node148.a('node.underlinepoints',[Node148lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
  10049. Node148.a('node.underlinevisible',false);
  10050. Node148.a('node.underlineBorderWidth', 1);
  10051. }
  10052. dataModel.add(Node148);
  10053. zoomNodeList.push({
  10054. node: Node148,
  10055. borderWidth: 0,
  10056. attr: 'node.borderwidth'
  10057. }); var Node149points=[1619, 142,1896, 142],
  10058. Node149rect=ht.Default.unionPoint([{x:1619,y:142},{x:1896,y:142}]),
  10059. Node149compspts=[];
  10060. _ratio = GD.getRatioWithRotation(0, ratio);
  10061. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  10062. _endratio = GD.getRatioWithRotation(0, ratio);
  10063. for(var i=0;i<Node149points.length;i++){
  10064. if(i%2==0){
  10065. Node149compspts.push(Node149points[i]-Node149rect.x);
  10066. }else{
  10067. Node149compspts.push(Node149points[i]-Node149rect.y);
  10068. }
  10069. }
  10070. var Node149ptslength=Node149compspts.length;
  10071. if (Node149rect.height === 0) {
  10072. Node149compspts[0] -= 0;
  10073. Node149compspts[Node149ptslength-2] += 0;
  10074. } else if (Node149rect.width === 0){
  10075. Node149compspts[1] -= 0;
  10076. Node149compspts[Node149ptslength-1] += 0;
  10077. } else {
  10078. Node149compspts[0] -= 0;
  10079. Node149compspts[1] -= 0;
  10080. Node149compspts[Node149ptslength-2] += 0;
  10081. Node149compspts[Node149ptslength-1] += 0;
  10082. }
  10083. Node149 = new ht.Node();
  10084. Node149.borderWidth = 1;
  10085. Node149rect.width = Node149rect.width === 0 ? 0.0001 : Node149rect.width;
  10086. Node149rect.height = Node149rect.height === 0 ? 0.0001 : Node149rect.height;
  10087. var Node149endCompspts = [Node149compspts[Node149ptslength-2],Node149compspts[Node149ptslength-1],0,0];
  10088. var Node149startCompspts = [Node149compspts[0],Node149compspts[1],0,0];
  10089. Node149.setImage(GD.getPolyLineJSON());
  10090. Node149.setPosition(Node149rect.x+Node149rect.width/2,Node149rect.y+Node149rect.height/2);
  10091. Node149.setSize(Node149rect.width,Node149rect.height);
  10092. Node149.setStyle("opacity",1);
  10093. Node149.s({'pixelPerfect':true});
  10094. Node149borderwidth=1;
  10095. Node149.setRotation(0);
  10096. dataModel.add(Node149);
  10097. Node149.a('node.points',Node149compspts);
  10098. Node149.a('node.segments',[1,2]);
  10099. Node149.a('node.color','rgba(220,220,220,1)');
  10100. Node149.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10101. Node149.a('node.borderColor','rgba(220,220,220,1)');
  10102. Node149.a('node.background','rgba(220,220,220,1)');
  10103. Node149.a('node.gradient','');
  10104. Node149.a('node.gradientcolor','rgba(220,220,220,1)');
  10105. Node149.a('node.endCompspts',Node149endCompspts);
  10106. Node149.a('node.startCompspts',Node149startCompspts);
  10107. (function (node, img, compspts, endCompspts, startCompspts) {
  10108. var position = node.getPosition(),
  10109. w = node.getWidth()*_ratio.ratioX,
  10110. h = node.getHeight()*_ratio.ratioY;
  10111. function resetPoints(rx, ry) {
  10112. for (var i = 0, len = compspts.length; i < len; i++) {
  10113. if (i%2 === 0) {
  10114. compspts[i]*=rx;
  10115. } else {
  10116. compspts[i]*=ry;
  10117. }
  10118. }
  10119. endCompspts[0] = compspts[compspts.length-2];
  10120. endCompspts[1] = compspts[compspts.length-1];
  10121. endCompspts[2] *= rx;
  10122. endCompspts[3] *= ry;
  10123. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10124. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10125. startCompspts[0] = compspts[0];
  10126. startCompspts[1] = compspts[1];
  10127. startCompspts[2] *= rx;
  10128. startCompspts[3] *= ry;
  10129. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10130. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10131. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10132. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10133. }
  10134. node.setSize(w, h);
  10135. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10136. node.a('node.width', w);
  10137. node.a('node.height', h);
  10138. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10139. node.borderWidth = 1;
  10140. node.a('node.borderwidth',node.borderWidth);
  10141. node._nodename = 'Node149';
  10142. node._nodeType = 'line';
  10143. zoomNodeList.push({
  10144. node: node,
  10145. attr: 'node.borderwidth'
  10146. });
  10147. var setWidth = node.setWidth,
  10148. setHeight = node.setHeight,
  10149. timer, rx = 1, ry = 1;
  10150. node.setWidth = function (width) {
  10151. var _width = this.getWidth();
  10152. rx = width / _width;
  10153. node.a('node.width', width);
  10154. setWidth.apply(this, arguments);
  10155. resetPoints(rx, 1);
  10156. }
  10157. node.setHeight = function (height) {
  10158. var _height = this.getHeight();
  10159. ry = height / _height;
  10160. node.a('node.height', height);
  10161. setHeight.apply(this, arguments);
  10162. resetPoints(1, ry);
  10163. }
  10164. })(Node149, Node149.getImage(), Node149compspts, Node149endCompspts, Node149startCompspts);
  10165. var Node150points=[1617, 168,1894, 168],
  10166. Node150rect=ht.Default.unionPoint([{x:1617,y:168},{x:1894,y:168}]),
  10167. Node150compspts=[];
  10168. _ratio = GD.getRatioWithRotation(0, ratio);
  10169. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  10170. _endratio = GD.getRatioWithRotation(0, ratio);
  10171. for(var i=0;i<Node150points.length;i++){
  10172. if(i%2==0){
  10173. Node150compspts.push(Node150points[i]-Node150rect.x);
  10174. }else{
  10175. Node150compspts.push(Node150points[i]-Node150rect.y);
  10176. }
  10177. }
  10178. var Node150ptslength=Node150compspts.length;
  10179. if (Node150rect.height === 0) {
  10180. Node150compspts[0] -= 0;
  10181. Node150compspts[Node150ptslength-2] += 0;
  10182. } else if (Node150rect.width === 0){
  10183. Node150compspts[1] -= 0;
  10184. Node150compspts[Node150ptslength-1] += 0;
  10185. } else {
  10186. Node150compspts[0] -= 0;
  10187. Node150compspts[1] -= 0;
  10188. Node150compspts[Node150ptslength-2] += 0;
  10189. Node150compspts[Node150ptslength-1] += 0;
  10190. }
  10191. Node150 = new ht.Node();
  10192. Node150.borderWidth = 1;
  10193. Node150rect.width = Node150rect.width === 0 ? 0.0001 : Node150rect.width;
  10194. Node150rect.height = Node150rect.height === 0 ? 0.0001 : Node150rect.height;
  10195. var Node150endCompspts = [Node150compspts[Node150ptslength-2],Node150compspts[Node150ptslength-1],0,0];
  10196. var Node150startCompspts = [Node150compspts[0],Node150compspts[1],0,0];
  10197. Node150.setImage(GD.getPolyLineJSON());
  10198. Node150.setPosition(Node150rect.x+Node150rect.width/2,Node150rect.y+Node150rect.height/2);
  10199. Node150.setSize(Node150rect.width,Node150rect.height);
  10200. Node150.setStyle("opacity",1);
  10201. Node150.s({'pixelPerfect':true});
  10202. Node150borderwidth=1;
  10203. Node150.setRotation(0);
  10204. dataModel.add(Node150);
  10205. Node150.a('node.points',Node150compspts);
  10206. Node150.a('node.segments',[1,2]);
  10207. Node150.a('node.color','rgba(220,220,220,1)');
  10208. Node150.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10209. Node150.a('node.borderColor','rgba(220,220,220,1)');
  10210. Node150.a('node.background','rgba(220,220,220,1)');
  10211. Node150.a('node.gradient','');
  10212. Node150.a('node.gradientcolor','rgba(220,220,220,1)');
  10213. Node150.a('node.endCompspts',Node150endCompspts);
  10214. Node150.a('node.startCompspts',Node150startCompspts);
  10215. (function (node, img, compspts, endCompspts, startCompspts) {
  10216. var position = node.getPosition(),
  10217. w = node.getWidth()*_ratio.ratioX,
  10218. h = node.getHeight()*_ratio.ratioY;
  10219. function resetPoints(rx, ry) {
  10220. for (var i = 0, len = compspts.length; i < len; i++) {
  10221. if (i%2 === 0) {
  10222. compspts[i]*=rx;
  10223. } else {
  10224. compspts[i]*=ry;
  10225. }
  10226. }
  10227. endCompspts[0] = compspts[compspts.length-2];
  10228. endCompspts[1] = compspts[compspts.length-1];
  10229. endCompspts[2] *= rx;
  10230. endCompspts[3] *= ry;
  10231. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10232. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10233. startCompspts[0] = compspts[0];
  10234. startCompspts[1] = compspts[1];
  10235. startCompspts[2] *= rx;
  10236. startCompspts[3] *= ry;
  10237. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10238. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10239. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10240. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10241. }
  10242. node.setSize(w, h);
  10243. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10244. node.a('node.width', w);
  10245. node.a('node.height', h);
  10246. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10247. node.borderWidth = 1;
  10248. node.a('node.borderwidth',node.borderWidth);
  10249. node._nodename = 'Node150';
  10250. node._nodeType = 'line';
  10251. zoomNodeList.push({
  10252. node: node,
  10253. attr: 'node.borderwidth'
  10254. });
  10255. var setWidth = node.setWidth,
  10256. setHeight = node.setHeight,
  10257. timer, rx = 1, ry = 1;
  10258. node.setWidth = function (width) {
  10259. var _width = this.getWidth();
  10260. rx = width / _width;
  10261. node.a('node.width', width);
  10262. setWidth.apply(this, arguments);
  10263. resetPoints(rx, 1);
  10264. }
  10265. node.setHeight = function (height) {
  10266. var _height = this.getHeight();
  10267. ry = height / _height;
  10268. node.a('node.height', height);
  10269. setHeight.apply(this, arguments);
  10270. resetPoints(1, ry);
  10271. }
  10272. })(Node150, Node150.getImage(), Node150compspts, Node150endCompspts, Node150startCompspts);
  10273. var Node151points=[1619, 192,1896, 192],
  10274. Node151rect=ht.Default.unionPoint([{x:1619,y:192},{x:1896,y:192}]),
  10275. Node151compspts=[];
  10276. _ratio = GD.getRatioWithRotation(0, ratio);
  10277. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  10278. _endratio = GD.getRatioWithRotation(0, ratio);
  10279. for(var i=0;i<Node151points.length;i++){
  10280. if(i%2==0){
  10281. Node151compspts.push(Node151points[i]-Node151rect.x);
  10282. }else{
  10283. Node151compspts.push(Node151points[i]-Node151rect.y);
  10284. }
  10285. }
  10286. var Node151ptslength=Node151compspts.length;
  10287. if (Node151rect.height === 0) {
  10288. Node151compspts[0] -= 0;
  10289. Node151compspts[Node151ptslength-2] += 0;
  10290. } else if (Node151rect.width === 0){
  10291. Node151compspts[1] -= 0;
  10292. Node151compspts[Node151ptslength-1] += 0;
  10293. } else {
  10294. Node151compspts[0] -= 0;
  10295. Node151compspts[1] -= 0;
  10296. Node151compspts[Node151ptslength-2] += 0;
  10297. Node151compspts[Node151ptslength-1] += 0;
  10298. }
  10299. Node151 = new ht.Node();
  10300. Node151.borderWidth = 1;
  10301. Node151rect.width = Node151rect.width === 0 ? 0.0001 : Node151rect.width;
  10302. Node151rect.height = Node151rect.height === 0 ? 0.0001 : Node151rect.height;
  10303. var Node151endCompspts = [Node151compspts[Node151ptslength-2],Node151compspts[Node151ptslength-1],0,0];
  10304. var Node151startCompspts = [Node151compspts[0],Node151compspts[1],0,0];
  10305. Node151.setImage(GD.getPolyLineJSON());
  10306. Node151.setPosition(Node151rect.x+Node151rect.width/2,Node151rect.y+Node151rect.height/2);
  10307. Node151.setSize(Node151rect.width,Node151rect.height);
  10308. Node151.setStyle("opacity",1);
  10309. Node151.s({'pixelPerfect':true});
  10310. Node151borderwidth=1;
  10311. Node151.setRotation(0);
  10312. dataModel.add(Node151);
  10313. Node151.a('node.points',Node151compspts);
  10314. Node151.a('node.segments',[1,2]);
  10315. Node151.a('node.color','rgba(220,220,220,1)');
  10316. Node151.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10317. Node151.a('node.borderColor','rgba(220,220,220,1)');
  10318. Node151.a('node.background','rgba(220,220,220,1)');
  10319. Node151.a('node.gradient','');
  10320. Node151.a('node.gradientcolor','rgba(220,220,220,1)');
  10321. Node151.a('node.endCompspts',Node151endCompspts);
  10322. Node151.a('node.startCompspts',Node151startCompspts);
  10323. (function (node, img, compspts, endCompspts, startCompspts) {
  10324. var position = node.getPosition(),
  10325. w = node.getWidth()*_ratio.ratioX,
  10326. h = node.getHeight()*_ratio.ratioY;
  10327. function resetPoints(rx, ry) {
  10328. for (var i = 0, len = compspts.length; i < len; i++) {
  10329. if (i%2 === 0) {
  10330. compspts[i]*=rx;
  10331. } else {
  10332. compspts[i]*=ry;
  10333. }
  10334. }
  10335. endCompspts[0] = compspts[compspts.length-2];
  10336. endCompspts[1] = compspts[compspts.length-1];
  10337. endCompspts[2] *= rx;
  10338. endCompspts[3] *= ry;
  10339. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10340. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10341. startCompspts[0] = compspts[0];
  10342. startCompspts[1] = compspts[1];
  10343. startCompspts[2] *= rx;
  10344. startCompspts[3] *= ry;
  10345. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10346. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10347. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10348. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10349. }
  10350. node.setSize(w, h);
  10351. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10352. node.a('node.width', w);
  10353. node.a('node.height', h);
  10354. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10355. node.borderWidth = 1;
  10356. node.a('node.borderwidth',node.borderWidth);
  10357. node._nodename = 'Node151';
  10358. node._nodeType = 'line';
  10359. zoomNodeList.push({
  10360. node: node,
  10361. attr: 'node.borderwidth'
  10362. });
  10363. var setWidth = node.setWidth,
  10364. setHeight = node.setHeight,
  10365. timer, rx = 1, ry = 1;
  10366. node.setWidth = function (width) {
  10367. var _width = this.getWidth();
  10368. rx = width / _width;
  10369. node.a('node.width', width);
  10370. setWidth.apply(this, arguments);
  10371. resetPoints(rx, 1);
  10372. }
  10373. node.setHeight = function (height) {
  10374. var _height = this.getHeight();
  10375. ry = height / _height;
  10376. node.a('node.height', height);
  10377. setHeight.apply(this, arguments);
  10378. resetPoints(1, ry);
  10379. }
  10380. })(Node151, Node151.getImage(), Node151compspts, Node151endCompspts, Node151startCompspts);
  10381. var Node152points=[1618, 215,1895, 215],
  10382. Node152rect=ht.Default.unionPoint([{x:1618,y:215},{x:1895,y:215}]),
  10383. Node152compspts=[];
  10384. _ratio = GD.getRatioWithRotation(0, ratio);
  10385. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  10386. _endratio = GD.getRatioWithRotation(0, ratio);
  10387. for(var i=0;i<Node152points.length;i++){
  10388. if(i%2==0){
  10389. Node152compspts.push(Node152points[i]-Node152rect.x);
  10390. }else{
  10391. Node152compspts.push(Node152points[i]-Node152rect.y);
  10392. }
  10393. }
  10394. var Node152ptslength=Node152compspts.length;
  10395. if (Node152rect.height === 0) {
  10396. Node152compspts[0] -= 0;
  10397. Node152compspts[Node152ptslength-2] += 0;
  10398. } else if (Node152rect.width === 0){
  10399. Node152compspts[1] -= 0;
  10400. Node152compspts[Node152ptslength-1] += 0;
  10401. } else {
  10402. Node152compspts[0] -= 0;
  10403. Node152compspts[1] -= 0;
  10404. Node152compspts[Node152ptslength-2] += 0;
  10405. Node152compspts[Node152ptslength-1] += 0;
  10406. }
  10407. Node152 = new ht.Node();
  10408. Node152.borderWidth = 1;
  10409. Node152rect.width = Node152rect.width === 0 ? 0.0001 : Node152rect.width;
  10410. Node152rect.height = Node152rect.height === 0 ? 0.0001 : Node152rect.height;
  10411. var Node152endCompspts = [Node152compspts[Node152ptslength-2],Node152compspts[Node152ptslength-1],0,0];
  10412. var Node152startCompspts = [Node152compspts[0],Node152compspts[1],0,0];
  10413. Node152.setImage(GD.getPolyLineJSON());
  10414. Node152.setPosition(Node152rect.x+Node152rect.width/2,Node152rect.y+Node152rect.height/2);
  10415. Node152.setSize(Node152rect.width,Node152rect.height);
  10416. Node152.setStyle("opacity",1);
  10417. Node152.s({'pixelPerfect':true});
  10418. Node152borderwidth=1;
  10419. Node152.setRotation(0);
  10420. dataModel.add(Node152);
  10421. Node152.a('node.points',Node152compspts);
  10422. Node152.a('node.segments',[1,2]);
  10423. Node152.a('node.color','rgba(220,220,220,1)');
  10424. Node152.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10425. Node152.a('node.borderColor','rgba(220,220,220,1)');
  10426. Node152.a('node.background','rgba(220,220,220,1)');
  10427. Node152.a('node.gradient','');
  10428. Node152.a('node.gradientcolor','rgba(220,220,220,1)');
  10429. Node152.a('node.endCompspts',Node152endCompspts);
  10430. Node152.a('node.startCompspts',Node152startCompspts);
  10431. (function (node, img, compspts, endCompspts, startCompspts) {
  10432. var position = node.getPosition(),
  10433. w = node.getWidth()*_ratio.ratioX,
  10434. h = node.getHeight()*_ratio.ratioY;
  10435. function resetPoints(rx, ry) {
  10436. for (var i = 0, len = compspts.length; i < len; i++) {
  10437. if (i%2 === 0) {
  10438. compspts[i]*=rx;
  10439. } else {
  10440. compspts[i]*=ry;
  10441. }
  10442. }
  10443. endCompspts[0] = compspts[compspts.length-2];
  10444. endCompspts[1] = compspts[compspts.length-1];
  10445. endCompspts[2] *= rx;
  10446. endCompspts[3] *= ry;
  10447. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10448. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10449. startCompspts[0] = compspts[0];
  10450. startCompspts[1] = compspts[1];
  10451. startCompspts[2] *= rx;
  10452. startCompspts[3] *= ry;
  10453. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10454. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10455. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10456. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10457. }
  10458. node.setSize(w, h);
  10459. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10460. node.a('node.width', w);
  10461. node.a('node.height', h);
  10462. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10463. node.borderWidth = 1;
  10464. node.a('node.borderwidth',node.borderWidth);
  10465. node._nodename = 'Node152';
  10466. node._nodeType = 'line';
  10467. zoomNodeList.push({
  10468. node: node,
  10469. attr: 'node.borderwidth'
  10470. });
  10471. var setWidth = node.setWidth,
  10472. setHeight = node.setHeight,
  10473. timer, rx = 1, ry = 1;
  10474. node.setWidth = function (width) {
  10475. var _width = this.getWidth();
  10476. rx = width / _width;
  10477. node.a('node.width', width);
  10478. setWidth.apply(this, arguments);
  10479. resetPoints(rx, 1);
  10480. }
  10481. node.setHeight = function (height) {
  10482. var _height = this.getHeight();
  10483. ry = height / _height;
  10484. node.a('node.height', height);
  10485. setHeight.apply(this, arguments);
  10486. resetPoints(1, ry);
  10487. }
  10488. })(Node152, Node152.getImage(), Node152compspts, Node152endCompspts, Node152startCompspts);
  10489. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10490. var Node153type = 'rect';
  10491. var Node153 = new ht.Node(),
  10492. Node153BorderWidth = 1*2;
  10493. if (Node153type === 'arc') {
  10494. Node153BorderWidth *= 1;
  10495. }
  10496. Node153.setImage(GD.getRectJSON(1711.689*_ratio.ratioX, 122*_ratio.ratioY, Node153type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10497. Node153.setPosition(1042*ratio.ratioX, 178*ratio.ratioY);
  10498. Node153.setSize(1711.689*_ratio.ratioX, 122*_ratio.ratioY);
  10499. Node153.s({
  10500. 'pixelPerfect':true
  10501. /*@AddPara@*/
  10502. });
  10503. Node153.a('node.width', 1711.689*_ratio.ratioX);
  10504. Node153.a('node.height', 122*_ratio.ratioY);
  10505. Node153.a('node.type', Node153type);
  10506. Node153.a('node.rect', [0, 0, 1711.689*_ratio.ratioX, 122*_ratio.ratioY]);
  10507. Node153.a('node.background', 'rgba(255,255,255,0.003921569)');
  10508. Node153.a('node.gradientcolor', '');
  10509. Node153.a('node.gradient', '');
  10510. Node153.a('node.borderwidth', Node153BorderWidth);
  10511. Node153.a('node.color', 'rgba(220,220,220,1)');
  10512. Node153.a('node.fillrect', [0,0,0,0]);
  10513. Node153.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10514. Node153.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10515. Node153.a('node.fillgradient', '');
  10516. if (Node153type !== 'rect') {
  10517. Node153.a('node.arcFrom', parseFloat('@arcFrom@'));
  10518. Node153.a('node.arcTo', parseFloat('@arcTo@'));
  10519. Node153.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10520. }
  10521. if (Node153type === 'arc') {
  10522. Node153.a('node.arcOval', true);
  10523. }
  10524. Node153.setRotation(0*Math.PI/180);
  10525. Node153.borderWidth = Node153BorderWidth;
  10526. Node153.borderFillwidth = Node153BorderWidth;
  10527. dataModel.add(Node153);
  10528. Node153._nodename = 'Node153'
  10529. Node153._nodeType = 'rect';
  10530. zoomNodeList.push({
  10531. node: Node153,
  10532. attr: 'node.borderwidth'
  10533. });
  10534. (function (node, _img) {
  10535. var setWidth = node.setWidth,
  10536. setHeight = node.setHeight;
  10537. node.setWidth = function (width) {
  10538. if (width === this.getWidth()) return ;
  10539. var height = this.getHeight();
  10540. this.a('node.width', width);
  10541. this.a('node.rect', [0,0,width, height]);
  10542. setWidth.apply(this, arguments);
  10543. }
  10544. node.setHeight = function (height) {
  10545. if (height === this.getHeight()) return ;
  10546. var width = this.getWidth();
  10547. this.a('node.height', height);
  10548. this.a('node.rect', [0,0,width, height]);
  10549. setHeight.apply(this, arguments);
  10550. }
  10551. })(Node153, Node153.getImage());var Node154;
  10552. (function () {
  10553. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10554. var ratioX, ratioY;
  10555. if ('Default' === 'False') {
  10556. ratioX = 1;
  10557. ratioY = 1;
  10558. } else if ('Default' === 'X') {
  10559. ratioX = ratioY = _ratio.ratioX;
  10560. } else if ('Default' === 'Y') {
  10561. ratioX = ratioY = _ratio.ratioY;
  10562. } else {
  10563. ratioX = _ratio.ratioX;
  10564. ratioY = _ratio.ratioY;
  10565. }
  10566. ht.Default.setImage('imgimage//img//map_shanxi.jpg', PAGEROOTDIR + 'image//img//map_shanxi.jpg');
  10567. Node154 = new ht.Node();
  10568. Node154.setPosition(379*ratio.ratioX, 595*ratio.ratioY);
  10569. Node154.setSize(755*ratioX, 708*ratioY);
  10570. Node154.setImage('imgimage//img//map_shanxi.jpg');
  10571. Node154.setRotation(0*Math.PI/180);
  10572. Node154._zoomBy = 'Default';
  10573. Node154._nodeType = 'image';
  10574. Node154._disallowEvert = true;
  10575. dataModel.add(Node154);
  10576. })();
  10577. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10578. var Node156type = 'rect';
  10579. var Node156 = new ht.Node(),
  10580. Node156BorderWidth = 0*2;
  10581. if (Node156type === 'arc') {
  10582. Node156BorderWidth *= 0;
  10583. }
  10584. Node156.setImage(GD.getRectJSON(26*_ratio.ratioX, 78*_ratio.ratioY, Node156type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10585. Node156.setPosition(772*ratio.ratioX, 281*ratio.ratioY);
  10586. Node156.setSize(26*_ratio.ratioX, 78*_ratio.ratioY);
  10587. Node156.s({
  10588. 'pixelPerfect':true
  10589. /*@AddPara@*/
  10590. });
  10591. Node156.a('node.width', 26*_ratio.ratioX);
  10592. Node156.a('node.height', 78*_ratio.ratioY);
  10593. Node156.a('node.type', Node156type);
  10594. Node156.a('node.rect', [0, 0, 26*_ratio.ratioX, 78*_ratio.ratioY]);
  10595. Node156.a('node.background', 'rgba(73,73,73,1)');
  10596. Node156.a('node.gradientcolor', 'rgba(73,73,73,1)');
  10597. Node156.a('node.gradient', '');
  10598. Node156.a('node.borderwidth', Node156BorderWidth);
  10599. Node156.a('node.color', 'rgba(0,0,0,0)');
  10600. Node156.a('node.fillrect', [0,0,0,0]);
  10601. Node156.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10602. Node156.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10603. Node156.a('node.fillgradient', '');
  10604. if (Node156type !== 'rect') {
  10605. Node156.a('node.arcFrom', parseFloat('@arcFrom@'));
  10606. Node156.a('node.arcTo', parseFloat('@arcTo@'));
  10607. Node156.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10608. }
  10609. if (Node156type === 'arc') {
  10610. Node156.a('node.arcOval', true);
  10611. }
  10612. Node156.setRotation(0*Math.PI/180);
  10613. Node156.borderWidth = Node156BorderWidth;
  10614. Node156.borderFillwidth = Node156BorderWidth;
  10615. dataModel.add(Node156);
  10616. Node156._nodename = 'Node156'
  10617. Node156._nodeType = 'rect';
  10618. zoomNodeList.push({
  10619. node: Node156,
  10620. attr: 'node.borderwidth'
  10621. });
  10622. (function (node, _img) {
  10623. var setWidth = node.setWidth,
  10624. setHeight = node.setHeight;
  10625. node.setWidth = function (width) {
  10626. if (width === this.getWidth()) return ;
  10627. var height = this.getHeight();
  10628. this.a('node.width', width);
  10629. this.a('node.rect', [0,0,width, height]);
  10630. setWidth.apply(this, arguments);
  10631. }
  10632. node.setHeight = function (height) {
  10633. if (height === this.getHeight()) return ;
  10634. var width = this.getWidth();
  10635. this.a('node.height', height);
  10636. this.a('node.rect', [0,0,width, height]);
  10637. setHeight.apply(this, arguments);
  10638. }
  10639. })(Node156, Node156.getImage());var Node157;
  10640. (function () {
  10641. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10642. var ratioX, ratioY;
  10643. if ('Default' === 'False') {
  10644. ratioX = 1;
  10645. ratioY = 1;
  10646. } else if ('Default' === 'X') {
  10647. ratioX = ratioY = _ratio.ratioX;
  10648. } else if ('Default' === 'Y') {
  10649. ratioX = ratioY = _ratio.ratioY;
  10650. } else {
  10651. ratioX = _ratio.ratioX;
  10652. ratioY = _ratio.ratioY;
  10653. }
  10654. ht.Default.setImage('imgimage//img//index_right_top_right_left_blue.png', PAGEROOTDIR + 'image//img//index_right_top_right_left_blue.png');
  10655. Node157 = new ht.Node();
  10656. Node157.setPosition(984*ratio.ratioX, 281*ratio.ratioY);
  10657. Node157.setSize(52*ratioX, 78*ratioY);
  10658. Node157.setImage('imgimage//img//index_right_top_right_left_blue.png');
  10659. Node157.setRotation(0*Math.PI/180);
  10660. Node157._zoomBy = 'Default';
  10661. Node157._nodeType = 'image';
  10662. Node157._disallowEvert = true;
  10663. dataModel.add(Node157);
  10664. })();
  10665. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10666. var Node158 = new ht.Node();
  10667. var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 59*_ratio.ratioX, Node158height = 24*_ratio.ratioY;
  10668. (function () {
  10669. if (Node158align === 'left') {
  10670. Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
  10671. Node158textWidth = Node158width;
  10672. Node158lineStart = 1;
  10673. } else if (Node158align === 'right') {
  10674. Node158textStart = 0;
  10675. Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
  10676. Node158lineStart = (Node158width - (ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
  10677. } else if (Node158align === 'center') {
  10678. Node158textStart = -3;
  10679. Node158textWidth = Node158width;
  10680. Node158lineStart = Node158width - ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width - 11;
  10681. }
  10682. })();
  10683. Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
  10684. Node158.setPosition(818*ratio.ratioX, 254*ratio.ratioY);
  10685. Node158.setWidth(Node158width);
  10686. Node158.setHeight(Node158height);
  10687. Node158._nodeType = 'text';
  10688. Node158._disallowEvert = true;
  10689. Node158.setRotation(0*Math.PI/180);
  10690. Node158.a('node.width', Node158width);
  10691. Node158.a('node.height', Node158height);
  10692. Node158.a('node.rect', [0, 0, Node158width, Node158height]);
  10693. Node158.a('node.bordercolor','rgba(0,0,0,1)');
  10694. Node158.a('node.borderwidth', 0);
  10695. Node158.a('node.background','' || 'rgba(0,0,0,0)');
  10696. Node158.a('node.gradient','');
  10697. Node158.a('node.gradientcolor','');
  10698. Node158.a('node.text','投产');
  10699. Node158.a('node.textalign','left');
  10700. Node158.a('node.textvAlign','middle');
  10701. Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
  10702. Node158.a('node.color','rgba(0,0,0,1)');
  10703. Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
  10704. Node158.a('node.textvisible',true);
  10705. Node158.a('node.linefeed',false);
  10706. if (false) {
  10707. Node158.a('node.textfunc',function(g) {
  10708. g.beginPath();
  10709. var str=Node158.a('node.text') || '投产';
  10710. var color=Node158.a('node.color') || 'rgba(0,0,0,1)';
  10711. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"left",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
  10712. });
  10713. }
  10714. if (false) {
  10715. Node158.a('node.underlinepoints',[Node158lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
  10716. Node158.a('node.underlinevisible',false);
  10717. Node158.a('node.underlineBorderWidth', 1);
  10718. }
  10719. dataModel.add(Node158);
  10720. zoomNodeList.push({
  10721. node: Node158,
  10722. borderWidth: 0,
  10723. attr: 'node.borderwidth'
  10724. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10725. var Node159 = new ht.Node();
  10726. var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'left', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 39*_ratio.ratioX, Node159height = 24*_ratio.ratioY;
  10727. (function () {
  10728. if (Node159align === 'left') {
  10729. Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
  10730. Node159textWidth = Node159width;
  10731. Node159lineStart = 1;
  10732. } else if (Node159align === 'right') {
  10733. Node159textStart = 0;
  10734. Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
  10735. Node159lineStart = (Node159width - (ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
  10736. } else if (Node159align === 'center') {
  10737. Node159textStart = -3;
  10738. Node159textWidth = Node159width;
  10739. Node159lineStart = Node159width - ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width - 11;
  10740. }
  10741. })();
  10742. Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
  10743. Node159.setPosition(873*ratio.ratioX, 274*ratio.ratioY);
  10744. Node159.setWidth(Node159width);
  10745. Node159.setHeight(Node159height);
  10746. Node159._nodeType = 'text';
  10747. Node159._disallowEvert = true;
  10748. Node159.setRotation(0*Math.PI/180);
  10749. Node159.a('node.width', Node159width);
  10750. Node159.a('node.height', Node159height);
  10751. Node159.a('node.rect', [0, 0, Node159width, Node159height]);
  10752. Node159.a('node.bordercolor','rgba(0,0,0,1)');
  10753. Node159.a('node.borderwidth', 0);
  10754. Node159.a('node.background','' || 'rgba(0,0,0,0)');
  10755. Node159.a('node.gradient','');
  10756. Node159.a('node.gradientcolor','');
  10757. Node159.a('node.text','463');
  10758. Node159.a('node.textalign','left');
  10759. Node159.a('node.textvAlign','middle');
  10760. Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
  10761. Node159.a('node.color','rgba(0,0,0,1)');
  10762. Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"');
  10763. Node159.a('node.textvisible',true);
  10764. Node159.a('node.linefeed',false);
  10765. if (false) {
  10766. Node159.a('node.textfunc',function(g) {
  10767. g.beginPath();
  10768. var str=Node159.a('node.text') || '463';
  10769. var color=Node159.a('node.color') || 'rgba(0,0,0,1)';
  10770. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"left",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
  10771. });
  10772. }
  10773. if (false) {
  10774. Node159.a('node.underlinepoints',[Node159lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
  10775. Node159.a('node.underlinevisible',false);
  10776. Node159.a('node.underlineBorderWidth', 1);
  10777. }
  10778. dataModel.add(Node159);
  10779. zoomNodeList.push({
  10780. node: Node159,
  10781. borderWidth: 0,
  10782. attr: 'node.borderwidth'
  10783. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10784. var Node160 = new ht.Node();
  10785. var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 29*_ratio.ratioX, Node160height = 24*_ratio.ratioY;
  10786. (function () {
  10787. if (Node160align === 'left') {
  10788. Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9;
  10789. Node160textWidth = Node160width;
  10790. Node160lineStart = 1;
  10791. } else if (Node160align === 'right') {
  10792. Node160textStart = 0;
  10793. Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2;
  10794. Node160lineStart = (Node160width - (ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
  10795. } else if (Node160align === 'center') {
  10796. Node160textStart = -3;
  10797. Node160textWidth = Node160width;
  10798. Node160lineStart = Node160width - ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width - 11;
  10799. }
  10800. })();
  10801. Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
  10802. Node160.setPosition(935*ratio.ratioX, 300*ratio.ratioY);
  10803. Node160.setWidth(Node160width);
  10804. Node160.setHeight(Node160height);
  10805. Node160._nodeType = 'text';
  10806. Node160._disallowEvert = true;
  10807. Node160.setRotation(0*Math.PI/180);
  10808. Node160.a('node.width', Node160width);
  10809. Node160.a('node.height', Node160height);
  10810. Node160.a('node.rect', [0, 0, Node160width, Node160height]);
  10811. Node160.a('node.bordercolor','rgba(0,0,0,1)');
  10812. Node160.a('node.borderwidth', 0);
  10813. Node160.a('node.background','' || 'rgba(0,0,0,0)');
  10814. Node160.a('node.gradient','');
  10815. Node160.a('node.gradientcolor','');
  10816. Node160.a('node.text','台');
  10817. Node160.a('node.textalign','left');
  10818. Node160.a('node.textvAlign','middle');
  10819. Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
  10820. Node160.a('node.color','rgba(0,0,0,1)');
  10821. Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
  10822. Node160.a('node.textvisible',true);
  10823. Node160.a('node.linefeed',false);
  10824. if (false) {
  10825. Node160.a('node.textfunc',function(g) {
  10826. g.beginPath();
  10827. var str=Node160.a('node.text') || '台';
  10828. var color=Node160.a('node.color') || 'rgba(0,0,0,1)';
  10829. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
  10830. });
  10831. }
  10832. if (false) {
  10833. Node160.a('node.underlinepoints',[Node160lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
  10834. Node160.a('node.underlinevisible',false);
  10835. Node160.a('node.underlineBorderWidth', 1);
  10836. }
  10837. dataModel.add(Node160);
  10838. zoomNodeList.push({
  10839. node: Node160,
  10840. borderWidth: 0,
  10841. attr: 'node.borderwidth'
  10842. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10843. var Node161type = 'rect';
  10844. var Node161 = new ht.Node(),
  10845. Node161BorderWidth = 1*2;
  10846. if (Node161type === 'arc') {
  10847. Node161BorderWidth *= 1;
  10848. }
  10849. Node161.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10850. Node161.setPosition(1063*ratio.ratioX, 281*ratio.ratioY);
  10851. Node161.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  10852. Node161.s({
  10853. 'pixelPerfect':true
  10854. /*@AddPara@*/
  10855. });
  10856. Node161.a('node.width', 105*_ratio.ratioX);
  10857. Node161.a('node.height', 78*_ratio.ratioY);
  10858. Node161.a('node.type', Node161type);
  10859. Node161.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  10860. Node161.a('node.background', 'rgba(255,255,255,0.003921569)');
  10861. Node161.a('node.gradientcolor', '');
  10862. Node161.a('node.gradient', '');
  10863. Node161.a('node.borderwidth', Node161BorderWidth);
  10864. Node161.a('node.color', 'rgba(192,192,192,1)');
  10865. Node161.a('node.fillrect', [0,0,0,0]);
  10866. Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10867. Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10868. Node161.a('node.fillgradient', '');
  10869. if (Node161type !== 'rect') {
  10870. Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
  10871. Node161.a('node.arcTo', parseFloat('@arcTo@'));
  10872. Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10873. }
  10874. if (Node161type === 'arc') {
  10875. Node161.a('node.arcOval', true);
  10876. }
  10877. Node161.setRotation(0*Math.PI/180);
  10878. Node161.borderWidth = Node161BorderWidth;
  10879. Node161.borderFillwidth = Node161BorderWidth;
  10880. dataModel.add(Node161);
  10881. Node161._nodename = 'Node161'
  10882. Node161._nodeType = 'rect';
  10883. zoomNodeList.push({
  10884. node: Node161,
  10885. attr: 'node.borderwidth'
  10886. });
  10887. (function (node, _img) {
  10888. var setWidth = node.setWidth,
  10889. setHeight = node.setHeight;
  10890. node.setWidth = function (width) {
  10891. if (width === this.getWidth()) return ;
  10892. var height = this.getHeight();
  10893. this.a('node.width', width);
  10894. this.a('node.rect', [0,0,width, height]);
  10895. setWidth.apply(this, arguments);
  10896. }
  10897. node.setHeight = function (height) {
  10898. if (height === this.getHeight()) return ;
  10899. var width = this.getWidth();
  10900. this.a('node.height', height);
  10901. this.a('node.rect', [0,0,width, height]);
  10902. setHeight.apply(this, arguments);
  10903. }
  10904. })(Node161, Node161.getImage());var Node162;
  10905. (function () {
  10906. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10907. var ratioX, ratioY;
  10908. if ('Default' === 'False') {
  10909. ratioX = 1;
  10910. ratioY = 1;
  10911. } else if ('Default' === 'X') {
  10912. ratioX = ratioY = _ratio.ratioX;
  10913. } else if ('Default' === 'Y') {
  10914. ratioX = ratioY = _ratio.ratioY;
  10915. } else {
  10916. ratioX = _ratio.ratioX;
  10917. ratioY = _ratio.ratioY;
  10918. }
  10919. ht.Default.setImage('imgimage//img//index_right_top_right_left_green.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_green.jpg');
  10920. Node162 = new ht.Node();
  10921. Node162.setPosition(1142*ratio.ratioX, 281*ratio.ratioY);
  10922. Node162.setSize(52*ratioX, 78*ratioY);
  10923. Node162.setImage('imgimage//img//index_right_top_right_left_green.jpg');
  10924. Node162.setRotation(0*Math.PI/180);
  10925. Node162._zoomBy = 'Default';
  10926. Node162._nodeType = 'image';
  10927. Node162._disallowEvert = true;
  10928. dataModel.add(Node162);
  10929. })();
  10930. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10931. var Node163 = new ht.Node();
  10932. var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'left', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 39*_ratio.ratioX, Node163height = 24*_ratio.ratioY;
  10933. (function () {
  10934. if (Node163align === 'left') {
  10935. Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9;
  10936. Node163textWidth = Node163width;
  10937. Node163lineStart = 1;
  10938. } else if (Node163align === 'right') {
  10939. Node163textStart = 0;
  10940. Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2;
  10941. Node163lineStart = (Node163width - (ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
  10942. } else if (Node163align === 'center') {
  10943. Node163textStart = -3;
  10944. Node163textWidth = Node163width;
  10945. Node163lineStart = Node163width - ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width - 11;
  10946. }
  10947. })();
  10948. Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
  10949. Node163.setPosition(1036*ratio.ratioX, 254*ratio.ratioY);
  10950. Node163.setWidth(Node163width);
  10951. Node163.setHeight(Node163height);
  10952. Node163._nodeType = 'text';
  10953. Node163._disallowEvert = true;
  10954. Node163.setRotation(0*Math.PI/180);
  10955. Node163.a('node.width', Node163width);
  10956. Node163.a('node.height', Node163height);
  10957. Node163.a('node.rect', [0, 0, Node163width, Node163height]);
  10958. Node163.a('node.bordercolor','rgba(0,0,0,1)');
  10959. Node163.a('node.borderwidth', 0);
  10960. Node163.a('node.background','' || 'rgba(0,0,0,0)');
  10961. Node163.a('node.gradient','');
  10962. Node163.a('node.gradientcolor','');
  10963. Node163.a('node.text','并网');
  10964. Node163.a('node.textalign','left');
  10965. Node163.a('node.textvAlign','middle');
  10966. Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
  10967. Node163.a('node.color','rgba(0,0,0,1)');
  10968. Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"');
  10969. Node163.a('node.textvisible',true);
  10970. Node163.a('node.linefeed',false);
  10971. if (false) {
  10972. Node163.a('node.textfunc',function(g) {
  10973. g.beginPath();
  10974. var str=Node163.a('node.text') || '并网';
  10975. var color=Node163.a('node.color') || 'rgba(0,0,0,1)';
  10976. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"left",color,' '+ Node163fontSize + 'px "Arial"', 0,g);
  10977. });
  10978. }
  10979. if (false) {
  10980. Node163.a('node.underlinepoints',[Node163lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]);
  10981. Node163.a('node.underlinevisible',false);
  10982. Node163.a('node.underlineBorderWidth', 1);
  10983. }
  10984. dataModel.add(Node163);
  10985. zoomNodeList.push({
  10986. node: Node163,
  10987. borderWidth: 0,
  10988. attr: 'node.borderwidth'
  10989. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10990. var Node164 = new ht.Node();
  10991. var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'left', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 39*_ratio.ratioX, Node164height = 24*_ratio.ratioY;
  10992. (function () {
  10993. if (Node164align === 'left') {
  10994. Node164textStart = Node164fontSize * 0.2 > 2 ? Node164fontSize * 0.2 - 4 : Node164fontSize * 0.2 - 9;
  10995. Node164textWidth = Node164width;
  10996. Node164lineStart = 1;
  10997. } else if (Node164align === 'right') {
  10998. Node164textStart = 0;
  10999. Node164textWidth =Node164fontSize <= 8 ? Node164width + Node164fontSize * 0.2 + 6 : Node164width - Node164fontSize * 0.2;
  11000. Node164lineStart = (Node164width - (ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
  11001. } else if (Node164align === 'center') {
  11002. Node164textStart = -3;
  11003. Node164textWidth = Node164width;
  11004. Node164lineStart = Node164width - ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width - 11;
  11005. }
  11006. })();
  11007. Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
  11008. Node164.setPosition(1061*ratio.ratioX, 274*ratio.ratioY);
  11009. Node164.setWidth(Node164width);
  11010. Node164.setHeight(Node164height);
  11011. Node164._nodeType = 'text';
  11012. Node164._disallowEvert = true;
  11013. Node164.setRotation(0*Math.PI/180);
  11014. Node164.a('node.width', Node164width);
  11015. Node164.a('node.height', Node164height);
  11016. Node164.a('node.rect', [0, 0, Node164width, Node164height]);
  11017. Node164.a('node.bordercolor','rgba(0,0,0,1)');
  11018. Node164.a('node.borderwidth', 0);
  11019. Node164.a('node.background','' || 'rgba(0,0,0,0)');
  11020. Node164.a('node.gradient','');
  11021. Node164.a('node.gradientcolor','');
  11022. Node164.a('node.text','463');
  11023. Node164.a('node.textalign','left');
  11024. Node164.a('node.textvAlign','middle');
  11025. Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
  11026. Node164.a('node.color','rgba(0,0,0,1)');
  11027. Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"');
  11028. Node164.a('node.textvisible',true);
  11029. Node164.a('node.linefeed',false);
  11030. if (false) {
  11031. Node164.a('node.textfunc',function(g) {
  11032. g.beginPath();
  11033. var str=Node164.a('node.text') || '463';
  11034. var color=Node164.a('node.color') || 'rgba(0,0,0,1)';
  11035. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "Arial"', 0,g);
  11036. });
  11037. }
  11038. if (false) {
  11039. Node164.a('node.underlinepoints',[Node164lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width + 6, (Node164height - Node164fontSize) * 0.5*_ratio.ratioY + Node164fontSize + 2 ]);
  11040. Node164.a('node.underlinevisible',false);
  11041. Node164.a('node.underlineBorderWidth', 1);
  11042. }
  11043. dataModel.add(Node164);
  11044. zoomNodeList.push({
  11045. node: Node164,
  11046. borderWidth: 0,
  11047. attr: 'node.borderwidth'
  11048. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11049. var Node165 = new ht.Node();
  11050. var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'left', Node165fontSize = 13.3333*_ratio.ratioY,Node165width = 29*_ratio.ratioX, Node165height = 24*_ratio.ratioY;
  11051. (function () {
  11052. if (Node165align === 'left') {
  11053. Node165textStart = Node165fontSize * 0.2 > 2 ? Node165fontSize * 0.2 - 4 : Node165fontSize * 0.2 - 9;
  11054. Node165textWidth = Node165width;
  11055. Node165lineStart = 1;
  11056. } else if (Node165align === 'right') {
  11057. Node165textStart = 0;
  11058. Node165textWidth =Node165fontSize <= 8 ? Node165width + Node165fontSize * 0.2 + 6 : Node165width - Node165fontSize * 0.2;
  11059. Node165lineStart = (Node165width - (ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5;
  11060. } else if (Node165align === 'center') {
  11061. Node165textStart = -3;
  11062. Node165textWidth = Node165width;
  11063. Node165lineStart = Node165width - ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width - 11;
  11064. }
  11065. })();
  11066. Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"'))
  11067. Node165.setPosition(1098*ratio.ratioX, 300*ratio.ratioY);
  11068. Node165.setWidth(Node165width);
  11069. Node165.setHeight(Node165height);
  11070. Node165._nodeType = 'text';
  11071. Node165._disallowEvert = true;
  11072. Node165.setRotation(0*Math.PI/180);
  11073. Node165.a('node.width', Node165width);
  11074. Node165.a('node.height', Node165height);
  11075. Node165.a('node.rect', [0, 0, Node165width, Node165height]);
  11076. Node165.a('node.bordercolor','rgba(0,0,0,1)');
  11077. Node165.a('node.borderwidth', 0);
  11078. Node165.a('node.background','' || 'rgba(0,0,0,0)');
  11079. Node165.a('node.gradient','');
  11080. Node165.a('node.gradientcolor','');
  11081. Node165.a('node.text','台');
  11082. Node165.a('node.textalign','left');
  11083. Node165.a('node.textvAlign','middle');
  11084. Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]);
  11085. Node165.a('node.color','rgba(0,0,0,1)');
  11086. Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"');
  11087. Node165.a('node.textvisible',true);
  11088. Node165.a('node.linefeed',false);
  11089. if (false) {
  11090. Node165.a('node.textfunc',function(g) {
  11091. g.beginPath();
  11092. var str=Node165.a('node.text') || '台';
  11093. var color=Node165.a('node.color') || 'rgba(0,0,0,1)';
  11094. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node165width,Node165height,13.3333*_ratio.ratioY,"left",color,' '+ Node165fontSize + 'px "Arial"', 0,g);
  11095. });
  11096. }
  11097. if (false) {
  11098. Node165.a('node.underlinepoints',[Node165lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]);
  11099. Node165.a('node.underlinevisible',false);
  11100. Node165.a('node.underlineBorderWidth', 1);
  11101. }
  11102. dataModel.add(Node165);
  11103. zoomNodeList.push({
  11104. node: Node165,
  11105. borderWidth: 0,
  11106. attr: 'node.borderwidth'
  11107. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11108. var Node166type = 'rect';
  11109. var Node166 = new ht.Node(),
  11110. Node166BorderWidth = 1*2;
  11111. if (Node166type === 'arc') {
  11112. Node166BorderWidth *= 1;
  11113. }
  11114. Node166.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11115. Node166.setPosition(1220*ratio.ratioX, 281*ratio.ratioY);
  11116. Node166.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  11117. Node166.s({
  11118. 'pixelPerfect':true
  11119. /*@AddPara@*/
  11120. });
  11121. Node166.a('node.width', 105*_ratio.ratioX);
  11122. Node166.a('node.height', 78*_ratio.ratioY);
  11123. Node166.a('node.type', Node166type);
  11124. Node166.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  11125. Node166.a('node.background', 'rgba(255,255,255,0.003921569)');
  11126. Node166.a('node.gradientcolor', '');
  11127. Node166.a('node.gradient', '');
  11128. Node166.a('node.borderwidth', Node166BorderWidth);
  11129. Node166.a('node.color', 'rgba(192,192,192,1)');
  11130. Node166.a('node.fillrect', [0,0,0,0]);
  11131. Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11132. Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11133. Node166.a('node.fillgradient', '');
  11134. if (Node166type !== 'rect') {
  11135. Node166.a('node.arcFrom', parseFloat('@arcFrom@'));
  11136. Node166.a('node.arcTo', parseFloat('@arcTo@'));
  11137. Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11138. }
  11139. if (Node166type === 'arc') {
  11140. Node166.a('node.arcOval', true);
  11141. }
  11142. Node166.setRotation(0*Math.PI/180);
  11143. Node166.borderWidth = Node166BorderWidth;
  11144. Node166.borderFillwidth = Node166BorderWidth;
  11145. dataModel.add(Node166);
  11146. Node166._nodename = 'Node166'
  11147. Node166._nodeType = 'rect';
  11148. zoomNodeList.push({
  11149. node: Node166,
  11150. attr: 'node.borderwidth'
  11151. });
  11152. (function (node, _img) {
  11153. var setWidth = node.setWidth,
  11154. setHeight = node.setHeight;
  11155. node.setWidth = function (width) {
  11156. if (width === this.getWidth()) return ;
  11157. var height = this.getHeight();
  11158. this.a('node.width', width);
  11159. this.a('node.rect', [0,0,width, height]);
  11160. setWidth.apply(this, arguments);
  11161. }
  11162. node.setHeight = function (height) {
  11163. if (height === this.getHeight()) return ;
  11164. var width = this.getWidth();
  11165. this.a('node.height', height);
  11166. this.a('node.rect', [0,0,width, height]);
  11167. setHeight.apply(this, arguments);
  11168. }
  11169. })(Node166, Node166.getImage());var Node167;
  11170. (function () {
  11171. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11172. var ratioX, ratioY;
  11173. if ('Default' === 'False') {
  11174. ratioX = 1;
  11175. ratioY = 1;
  11176. } else if ('Default' === 'X') {
  11177. ratioX = ratioY = _ratio.ratioX;
  11178. } else if ('Default' === 'Y') {
  11179. ratioX = ratioY = _ratio.ratioY;
  11180. } else {
  11181. ratioX = _ratio.ratioX;
  11182. ratioY = _ratio.ratioY;
  11183. }
  11184. ht.Default.setImage('imgimage//img//index_right_top_right_left_orange.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_orange.jpg');
  11185. Node167 = new ht.Node();
  11186. Node167.setPosition(1299*ratio.ratioX, 281*ratio.ratioY);
  11187. Node167.setSize(52*ratioX, 78*ratioY);
  11188. Node167.setImage('imgimage//img//index_right_top_right_left_orange.jpg');
  11189. Node167.setRotation(0*Math.PI/180);
  11190. Node167._zoomBy = 'Default';
  11191. Node167._nodeType = 'image';
  11192. Node167._disallowEvert = true;
  11193. dataModel.add(Node167);
  11194. })();
  11195. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11196. var Node168 = new ht.Node();
  11197. var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 39*_ratio.ratioX, Node168height = 24*_ratio.ratioY;
  11198. (function () {
  11199. if (Node168align === 'left') {
  11200. Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
  11201. Node168textWidth = Node168width;
  11202. Node168lineStart = 1;
  11203. } else if (Node168align === 'right') {
  11204. Node168textStart = 0;
  11205. Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
  11206. Node168lineStart = (Node168width - (ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
  11207. } else if (Node168align === 'center') {
  11208. Node168textStart = -3;
  11209. Node168textWidth = Node168width;
  11210. Node168lineStart = Node168width - ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width - 11;
  11211. }
  11212. })();
  11213. Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
  11214. Node168.setPosition(1193*ratio.ratioX, 254*ratio.ratioY);
  11215. Node168.setWidth(Node168width);
  11216. Node168.setHeight(Node168height);
  11217. Node168._nodeType = 'text';
  11218. Node168._disallowEvert = true;
  11219. Node168.setRotation(0*Math.PI/180);
  11220. Node168.a('node.width', Node168width);
  11221. Node168.a('node.height', Node168height);
  11222. Node168.a('node.rect', [0, 0, Node168width, Node168height]);
  11223. Node168.a('node.bordercolor','rgba(0,0,0,1)');
  11224. Node168.a('node.borderwidth', 0);
  11225. Node168.a('node.background','' || 'rgba(0,0,0,0)');
  11226. Node168.a('node.gradient','');
  11227. Node168.a('node.gradientcolor','');
  11228. Node168.a('node.text','待机');
  11229. Node168.a('node.textalign','left');
  11230. Node168.a('node.textvAlign','middle');
  11231. Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
  11232. Node168.a('node.color','rgba(0,0,0,1)');
  11233. Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"');
  11234. Node168.a('node.textvisible',true);
  11235. Node168.a('node.linefeed',false);
  11236. if (false) {
  11237. Node168.a('node.textfunc',function(g) {
  11238. g.beginPath();
  11239. var str=Node168.a('node.text') || '待机';
  11240. var color=Node168.a('node.color') || 'rgba(0,0,0,1)';
  11241. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"left",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
  11242. });
  11243. }
  11244. if (false) {
  11245. Node168.a('node.underlinepoints',[Node168lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
  11246. Node168.a('node.underlinevisible',false);
  11247. Node168.a('node.underlineBorderWidth', 1);
  11248. }
  11249. dataModel.add(Node168);
  11250. zoomNodeList.push({
  11251. node: Node168,
  11252. borderWidth: 0,
  11253. attr: 'node.borderwidth'
  11254. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11255. var Node169 = new ht.Node();
  11256. var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 39*_ratio.ratioX, Node169height = 24*_ratio.ratioY;
  11257. (function () {
  11258. if (Node169align === 'left') {
  11259. Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
  11260. Node169textWidth = Node169width;
  11261. Node169lineStart = 1;
  11262. } else if (Node169align === 'right') {
  11263. Node169textStart = 0;
  11264. Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
  11265. Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
  11266. } else if (Node169align === 'center') {
  11267. Node169textStart = -3;
  11268. Node169textWidth = Node169width;
  11269. Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11;
  11270. }
  11271. })();
  11272. Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
  11273. Node169.setPosition(1218*ratio.ratioX, 274*ratio.ratioY);
  11274. Node169.setWidth(Node169width);
  11275. Node169.setHeight(Node169height);
  11276. Node169._nodeType = 'text';
  11277. Node169._disallowEvert = true;
  11278. Node169.setRotation(0*Math.PI/180);
  11279. Node169.a('node.width', Node169width);
  11280. Node169.a('node.height', Node169height);
  11281. Node169.a('node.rect', [0, 0, Node169width, Node169height]);
  11282. Node169.a('node.bordercolor','rgba(0,0,0,1)');
  11283. Node169.a('node.borderwidth', 0);
  11284. Node169.a('node.background','' || 'rgba(0,0,0,0)');
  11285. Node169.a('node.gradient','');
  11286. Node169.a('node.gradientcolor','');
  11287. Node169.a('node.text','0');
  11288. Node169.a('node.textalign','left');
  11289. Node169.a('node.textvAlign','middle');
  11290. Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
  11291. Node169.a('node.color','rgba(0,0,0,1)');
  11292. Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
  11293. Node169.a('node.textvisible',true);
  11294. Node169.a('node.linefeed',false);
  11295. if (false) {
  11296. Node169.a('node.textfunc',function(g) {
  11297. g.beginPath();
  11298. var str=Node169.a('node.text') || '0';
  11299. var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
  11300. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"left",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
  11301. });
  11302. }
  11303. if (false) {
  11304. Node169.a('node.underlinepoints',[Node169lineStart, (24 - 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 ]);
  11305. Node169.a('node.underlinevisible',false);
  11306. Node169.a('node.underlineBorderWidth', 1);
  11307. }
  11308. dataModel.add(Node169);
  11309. zoomNodeList.push({
  11310. node: Node169,
  11311. borderWidth: 0,
  11312. attr: 'node.borderwidth'
  11313. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11314. var Node170 = new ht.Node();
  11315. var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 29*_ratio.ratioX, Node170height = 24*_ratio.ratioY;
  11316. (function () {
  11317. if (Node170align === 'left') {
  11318. Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
  11319. Node170textWidth = Node170width;
  11320. Node170lineStart = 1;
  11321. } else if (Node170align === 'right') {
  11322. Node170textStart = 0;
  11323. Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
  11324. Node170lineStart = (Node170width - (ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
  11325. } else if (Node170align === 'center') {
  11326. Node170textStart = -3;
  11327. Node170textWidth = Node170width;
  11328. Node170lineStart = Node170width - ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width - 11;
  11329. }
  11330. })();
  11331. Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
  11332. Node170.setPosition(1255*ratio.ratioX, 300*ratio.ratioY);
  11333. Node170.setWidth(Node170width);
  11334. Node170.setHeight(Node170height);
  11335. Node170._nodeType = 'text';
  11336. Node170._disallowEvert = true;
  11337. Node170.setRotation(0*Math.PI/180);
  11338. Node170.a('node.width', Node170width);
  11339. Node170.a('node.height', Node170height);
  11340. Node170.a('node.rect', [0, 0, Node170width, Node170height]);
  11341. Node170.a('node.bordercolor','rgba(0,0,0,1)');
  11342. Node170.a('node.borderwidth', 0);
  11343. Node170.a('node.background','' || 'rgba(0,0,0,0)');
  11344. Node170.a('node.gradient','');
  11345. Node170.a('node.gradientcolor','');
  11346. Node170.a('node.text','台');
  11347. Node170.a('node.textalign','left');
  11348. Node170.a('node.textvAlign','middle');
  11349. Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
  11350. Node170.a('node.color','rgba(0,0,0,1)');
  11351. Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"');
  11352. Node170.a('node.textvisible',true);
  11353. Node170.a('node.linefeed',false);
  11354. if (false) {
  11355. Node170.a('node.textfunc',function(g) {
  11356. g.beginPath();
  11357. var str=Node170.a('node.text') || '台';
  11358. var color=Node170.a('node.color') || 'rgba(0,0,0,1)';
  11359. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"left",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
  11360. });
  11361. }
  11362. if (false) {
  11363. Node170.a('node.underlinepoints',[Node170lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
  11364. Node170.a('node.underlinevisible',false);
  11365. Node170.a('node.underlineBorderWidth', 1);
  11366. }
  11367. dataModel.add(Node170);
  11368. zoomNodeList.push({
  11369. node: Node170,
  11370. borderWidth: 0,
  11371. attr: 'node.borderwidth'
  11372. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11373. var Node171type = 'rect';
  11374. var Node171 = new ht.Node(),
  11375. Node171BorderWidth = 1*2;
  11376. if (Node171type === 'arc') {
  11377. Node171BorderWidth *= 1;
  11378. }
  11379. Node171.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node171type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11380. Node171.setPosition(1377*ratio.ratioX, 281*ratio.ratioY);
  11381. Node171.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  11382. Node171.s({
  11383. 'pixelPerfect':true
  11384. /*@AddPara@*/
  11385. });
  11386. Node171.a('node.width', 105*_ratio.ratioX);
  11387. Node171.a('node.height', 78*_ratio.ratioY);
  11388. Node171.a('node.type', Node171type);
  11389. Node171.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  11390. Node171.a('node.background', 'rgba(255,255,255,0.003921569)');
  11391. Node171.a('node.gradientcolor', '');
  11392. Node171.a('node.gradient', '');
  11393. Node171.a('node.borderwidth', Node171BorderWidth);
  11394. Node171.a('node.color', 'rgba(192,192,192,1)');
  11395. Node171.a('node.fillrect', [0,0,0,0]);
  11396. Node171.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11397. Node171.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11398. Node171.a('node.fillgradient', '');
  11399. if (Node171type !== 'rect') {
  11400. Node171.a('node.arcFrom', parseFloat('@arcFrom@'));
  11401. Node171.a('node.arcTo', parseFloat('@arcTo@'));
  11402. Node171.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11403. }
  11404. if (Node171type === 'arc') {
  11405. Node171.a('node.arcOval', true);
  11406. }
  11407. Node171.setRotation(0*Math.PI/180);
  11408. Node171.borderWidth = Node171BorderWidth;
  11409. Node171.borderFillwidth = Node171BorderWidth;
  11410. dataModel.add(Node171);
  11411. Node171._nodename = 'Node171'
  11412. Node171._nodeType = 'rect';
  11413. zoomNodeList.push({
  11414. node: Node171,
  11415. attr: 'node.borderwidth'
  11416. });
  11417. (function (node, _img) {
  11418. var setWidth = node.setWidth,
  11419. setHeight = node.setHeight;
  11420. node.setWidth = function (width) {
  11421. if (width === this.getWidth()) return ;
  11422. var height = this.getHeight();
  11423. this.a('node.width', width);
  11424. this.a('node.rect', [0,0,width, height]);
  11425. setWidth.apply(this, arguments);
  11426. }
  11427. node.setHeight = function (height) {
  11428. if (height === this.getHeight()) return ;
  11429. var width = this.getWidth();
  11430. this.a('node.height', height);
  11431. this.a('node.rect', [0,0,width, height]);
  11432. setHeight.apply(this, arguments);
  11433. }
  11434. })(Node171, Node171.getImage());var Node172;
  11435. (function () {
  11436. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11437. var ratioX, ratioY;
  11438. if ('Default' === 'False') {
  11439. ratioX = 1;
  11440. ratioY = 1;
  11441. } else if ('Default' === 'X') {
  11442. ratioX = ratioY = _ratio.ratioX;
  11443. } else if ('Default' === 'Y') {
  11444. ratioX = ratioY = _ratio.ratioY;
  11445. } else {
  11446. ratioX = _ratio.ratioX;
  11447. ratioY = _ratio.ratioY;
  11448. }
  11449. ht.Default.setImage('imgimage//img//index_right_top_right_left_red.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_red.jpg');
  11450. Node172 = new ht.Node();
  11451. Node172.setPosition(1456*ratio.ratioX, 281*ratio.ratioY);
  11452. Node172.setSize(52*ratioX, 78*ratioY);
  11453. Node172.setImage('imgimage//img//index_right_top_right_left_red.jpg');
  11454. Node172.setRotation(0*Math.PI/180);
  11455. Node172._zoomBy = 'Default';
  11456. Node172._nodeType = 'image';
  11457. Node172._disallowEvert = true;
  11458. dataModel.add(Node172);
  11459. })();
  11460. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11461. var Node173 = new ht.Node();
  11462. var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 39*_ratio.ratioX, Node173height = 24*_ratio.ratioY;
  11463. (function () {
  11464. if (Node173align === 'left') {
  11465. Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9;
  11466. Node173textWidth = Node173width;
  11467. Node173lineStart = 1;
  11468. } else if (Node173align === 'right') {
  11469. Node173textStart = 0;
  11470. Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2;
  11471. Node173lineStart = (Node173width - (ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
  11472. } else if (Node173align === 'center') {
  11473. Node173textStart = -3;
  11474. Node173textWidth = Node173width;
  11475. Node173lineStart = Node173width - ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width - 11;
  11476. }
  11477. })();
  11478. Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, ' '+ Node173fontSize + 'px "Arial"'))
  11479. Node173.setPosition(1350*ratio.ratioX, 254*ratio.ratioY);
  11480. Node173.setWidth(Node173width);
  11481. Node173.setHeight(Node173height);
  11482. Node173._nodeType = 'text';
  11483. Node173._disallowEvert = true;
  11484. Node173.setRotation(0*Math.PI/180);
  11485. Node173.a('node.width', Node173width);
  11486. Node173.a('node.height', Node173height);
  11487. Node173.a('node.rect', [0, 0, Node173width, Node173height]);
  11488. Node173.a('node.bordercolor','rgba(0,0,0,1)');
  11489. Node173.a('node.borderwidth', 0);
  11490. Node173.a('node.background','' || 'rgba(0,0,0,0)');
  11491. Node173.a('node.gradient','');
  11492. Node173.a('node.gradientcolor','');
  11493. Node173.a('node.text','维护');
  11494. Node173.a('node.textalign','left');
  11495. Node173.a('node.textvAlign','middle');
  11496. Node173.a('node.textrect', [Node173textStart, 0, Node173textWidth, Node173height]);
  11497. Node173.a('node.color','rgba(0,0,0,1)');
  11498. Node173.a('node.font',' '+ Node173fontSize + 'px "Arial"');
  11499. Node173.a('node.textvisible',true);
  11500. Node173.a('node.linefeed',false);
  11501. if (false) {
  11502. Node173.a('node.textfunc',function(g) {
  11503. g.beginPath();
  11504. var str=Node173.a('node.text') || '维护';
  11505. var color=Node173.a('node.color') || 'rgba(0,0,0,1)';
  11506. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node173width,Node173height,13.3333*_ratio.ratioY,"left",color,' '+ Node173fontSize + 'px "Arial"', 0,g);
  11507. });
  11508. }
  11509. if (false) {
  11510. Node173.a('node.underlinepoints',[Node173lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]);
  11511. Node173.a('node.underlinevisible',false);
  11512. Node173.a('node.underlineBorderWidth', 1);
  11513. }
  11514. dataModel.add(Node173);
  11515. zoomNodeList.push({
  11516. node: Node173,
  11517. borderWidth: 0,
  11518. attr: 'node.borderwidth'
  11519. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11520. var Node174 = new ht.Node();
  11521. var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 39*_ratio.ratioX, Node174height = 24*_ratio.ratioY;
  11522. (function () {
  11523. if (Node174align === 'left') {
  11524. Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9;
  11525. Node174textWidth = Node174width;
  11526. Node174lineStart = 1;
  11527. } else if (Node174align === 'right') {
  11528. Node174textStart = 0;
  11529. Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2;
  11530. Node174lineStart = (Node174width - (ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
  11531. } else if (Node174align === 'center') {
  11532. Node174textStart = -3;
  11533. Node174textWidth = Node174width;
  11534. Node174lineStart = Node174width - ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width - 11;
  11535. }
  11536. })();
  11537. Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
  11538. Node174.setPosition(1375*ratio.ratioX, 274*ratio.ratioY);
  11539. Node174.setWidth(Node174width);
  11540. Node174.setHeight(Node174height);
  11541. Node174._nodeType = 'text';
  11542. Node174._disallowEvert = true;
  11543. Node174.setRotation(0*Math.PI/180);
  11544. Node174.a('node.width', Node174width);
  11545. Node174.a('node.height', Node174height);
  11546. Node174.a('node.rect', [0, 0, Node174width, Node174height]);
  11547. Node174.a('node.bordercolor','rgba(0,0,0,1)');
  11548. Node174.a('node.borderwidth', 0);
  11549. Node174.a('node.background','' || 'rgba(0,0,0,0)');
  11550. Node174.a('node.gradient','');
  11551. Node174.a('node.gradientcolor','');
  11552. Node174.a('node.text','0');
  11553. Node174.a('node.textalign','left');
  11554. Node174.a('node.textvAlign','middle');
  11555. Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]);
  11556. Node174.a('node.color','rgba(0,0,0,1)');
  11557. Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"');
  11558. Node174.a('node.textvisible',true);
  11559. Node174.a('node.linefeed',false);
  11560. if (false) {
  11561. Node174.a('node.textfunc',function(g) {
  11562. g.beginPath();
  11563. var str=Node174.a('node.text') || '0';
  11564. var color=Node174.a('node.color') || 'rgba(0,0,0,1)';
  11565. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node174width,Node174height,13.3333*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g);
  11566. });
  11567. }
  11568. if (false) {
  11569. Node174.a('node.underlinepoints',[Node174lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]);
  11570. Node174.a('node.underlinevisible',false);
  11571. Node174.a('node.underlineBorderWidth', 1);
  11572. }
  11573. dataModel.add(Node174);
  11574. zoomNodeList.push({
  11575. node: Node174,
  11576. borderWidth: 0,
  11577. attr: 'node.borderwidth'
  11578. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11579. var Node175 = new ht.Node();
  11580. var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'left', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 29*_ratio.ratioX, Node175height = 24*_ratio.ratioY;
  11581. (function () {
  11582. if (Node175align === 'left') {
  11583. Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9;
  11584. Node175textWidth = Node175width;
  11585. Node175lineStart = 1;
  11586. } else if (Node175align === 'right') {
  11587. Node175textStart = 0;
  11588. Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2;
  11589. Node175lineStart = (Node175width - (ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
  11590. } else if (Node175align === 'center') {
  11591. Node175textStart = -3;
  11592. Node175textWidth = Node175width;
  11593. Node175lineStart = Node175width - ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width - 11;
  11594. }
  11595. })();
  11596. Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
  11597. Node175.setPosition(1412*ratio.ratioX, 300*ratio.ratioY);
  11598. Node175.setWidth(Node175width);
  11599. Node175.setHeight(Node175height);
  11600. Node175._nodeType = 'text';
  11601. Node175._disallowEvert = true;
  11602. Node175.setRotation(0*Math.PI/180);
  11603. Node175.a('node.width', Node175width);
  11604. Node175.a('node.height', Node175height);
  11605. Node175.a('node.rect', [0, 0, Node175width, Node175height]);
  11606. Node175.a('node.bordercolor','rgba(0,0,0,1)');
  11607. Node175.a('node.borderwidth', 0);
  11608. Node175.a('node.background','' || 'rgba(0,0,0,0)');
  11609. Node175.a('node.gradient','');
  11610. Node175.a('node.gradientcolor','');
  11611. Node175.a('node.text','台');
  11612. Node175.a('node.textalign','left');
  11613. Node175.a('node.textvAlign','middle');
  11614. Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]);
  11615. Node175.a('node.color','rgba(0,0,0,1)');
  11616. Node175.a('node.font',' '+ Node175fontSize + 'px "Arial"');
  11617. Node175.a('node.textvisible',true);
  11618. Node175.a('node.linefeed',false);
  11619. if (false) {
  11620. Node175.a('node.textfunc',function(g) {
  11621. g.beginPath();
  11622. var str=Node175.a('node.text') || '台';
  11623. var color=Node175.a('node.color') || 'rgba(0,0,0,1)';
  11624. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node175width,Node175height,13.3333*_ratio.ratioY,"left",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
  11625. });
  11626. }
  11627. if (false) {
  11628. Node175.a('node.underlinepoints',[Node175lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]);
  11629. Node175.a('node.underlinevisible',false);
  11630. Node175.a('node.underlineBorderWidth', 1);
  11631. }
  11632. dataModel.add(Node175);
  11633. zoomNodeList.push({
  11634. node: Node175,
  11635. borderWidth: 0,
  11636. attr: 'node.borderwidth'
  11637. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11638. var Node176type = 'rect';
  11639. var Node176 = new ht.Node(),
  11640. Node176BorderWidth = 1*2;
  11641. if (Node176type === 'arc') {
  11642. Node176BorderWidth *= 1;
  11643. }
  11644. Node176.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node176type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11645. Node176.setPosition(1534*ratio.ratioX, 281*ratio.ratioY);
  11646. Node176.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  11647. Node176.s({
  11648. 'pixelPerfect':true
  11649. /*@AddPara@*/
  11650. });
  11651. Node176.a('node.width', 105*_ratio.ratioX);
  11652. Node176.a('node.height', 78*_ratio.ratioY);
  11653. Node176.a('node.type', Node176type);
  11654. Node176.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  11655. Node176.a('node.background', 'rgba(255,255,255,0.003921569)');
  11656. Node176.a('node.gradientcolor', '');
  11657. Node176.a('node.gradient', '');
  11658. Node176.a('node.borderwidth', Node176BorderWidth);
  11659. Node176.a('node.color', 'rgba(192,192,192,1)');
  11660. Node176.a('node.fillrect', [0,0,0,0]);
  11661. Node176.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11662. Node176.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11663. Node176.a('node.fillgradient', '');
  11664. if (Node176type !== 'rect') {
  11665. Node176.a('node.arcFrom', parseFloat('@arcFrom@'));
  11666. Node176.a('node.arcTo', parseFloat('@arcTo@'));
  11667. Node176.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11668. }
  11669. if (Node176type === 'arc') {
  11670. Node176.a('node.arcOval', true);
  11671. }
  11672. Node176.setRotation(0*Math.PI/180);
  11673. Node176.borderWidth = Node176BorderWidth;
  11674. Node176.borderFillwidth = Node176BorderWidth;
  11675. dataModel.add(Node176);
  11676. Node176._nodename = 'Node176'
  11677. Node176._nodeType = 'rect';
  11678. zoomNodeList.push({
  11679. node: Node176,
  11680. attr: 'node.borderwidth'
  11681. });
  11682. (function (node, _img) {
  11683. var setWidth = node.setWidth,
  11684. setHeight = node.setHeight;
  11685. node.setWidth = function (width) {
  11686. if (width === this.getWidth()) return ;
  11687. var height = this.getHeight();
  11688. this.a('node.width', width);
  11689. this.a('node.rect', [0,0,width, height]);
  11690. setWidth.apply(this, arguments);
  11691. }
  11692. node.setHeight = function (height) {
  11693. if (height === this.getHeight()) return ;
  11694. var width = this.getWidth();
  11695. this.a('node.height', height);
  11696. this.a('node.rect', [0,0,width, height]);
  11697. setHeight.apply(this, arguments);
  11698. }
  11699. })(Node176, Node176.getImage());var Node177;
  11700. (function () {
  11701. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11702. var ratioX, ratioY;
  11703. if ('Default' === 'False') {
  11704. ratioX = 1;
  11705. ratioY = 1;
  11706. } else if ('Default' === 'X') {
  11707. ratioX = ratioY = _ratio.ratioX;
  11708. } else if ('Default' === 'Y') {
  11709. ratioX = ratioY = _ratio.ratioY;
  11710. } else {
  11711. ratioX = _ratio.ratioX;
  11712. ratioY = _ratio.ratioY;
  11713. }
  11714. ht.Default.setImage('imgimage//img//index_right_top_right_left_pink.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_pink.jpg');
  11715. Node177 = new ht.Node();
  11716. Node177.setPosition(1613*ratio.ratioX, 281*ratio.ratioY);
  11717. Node177.setSize(52*ratioX, 78*ratioY);
  11718. Node177.setImage('imgimage//img//index_right_top_right_left_pink.jpg');
  11719. Node177.setRotation(0*Math.PI/180);
  11720. Node177._zoomBy = 'Default';
  11721. Node177._nodeType = 'image';
  11722. Node177._disallowEvert = true;
  11723. dataModel.add(Node177);
  11724. })();
  11725. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11726. var Node178 = new ht.Node();
  11727. var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 39*_ratio.ratioX, Node178height = 24*_ratio.ratioY;
  11728. (function () {
  11729. if (Node178align === 'left') {
  11730. Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
  11731. Node178textWidth = Node178width;
  11732. Node178lineStart = 1;
  11733. } else if (Node178align === 'right') {
  11734. Node178textStart = 0;
  11735. Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
  11736. Node178lineStart = (Node178width - (ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
  11737. } else if (Node178align === 'center') {
  11738. Node178textStart = -3;
  11739. Node178textWidth = Node178width;
  11740. Node178lineStart = Node178width - ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width - 11;
  11741. }
  11742. })();
  11743. Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
  11744. Node178.setPosition(1507*ratio.ratioX, 254*ratio.ratioY);
  11745. Node178.setWidth(Node178width);
  11746. Node178.setHeight(Node178height);
  11747. Node178._nodeType = 'text';
  11748. Node178._disallowEvert = true;
  11749. Node178.setRotation(0*Math.PI/180);
  11750. Node178.a('node.width', Node178width);
  11751. Node178.a('node.height', Node178height);
  11752. Node178.a('node.rect', [0, 0, Node178width, Node178height]);
  11753. Node178.a('node.bordercolor','rgba(0,0,0,1)');
  11754. Node178.a('node.borderwidth', 0);
  11755. Node178.a('node.background','' || 'rgba(0,0,0,0)');
  11756. Node178.a('node.gradient','');
  11757. Node178.a('node.gradientcolor','');
  11758. Node178.a('node.text','故障');
  11759. Node178.a('node.textalign','left');
  11760. Node178.a('node.textvAlign','middle');
  11761. Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
  11762. Node178.a('node.color','rgba(0,0,0,1)');
  11763. Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"');
  11764. Node178.a('node.textvisible',true);
  11765. Node178.a('node.linefeed',false);
  11766. if (false) {
  11767. Node178.a('node.textfunc',function(g) {
  11768. g.beginPath();
  11769. var str=Node178.a('node.text') || '故障';
  11770. var color=Node178.a('node.color') || 'rgba(0,0,0,1)';
  11771. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
  11772. });
  11773. }
  11774. if (false) {
  11775. Node178.a('node.underlinepoints',[Node178lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
  11776. Node178.a('node.underlinevisible',false);
  11777. Node178.a('node.underlineBorderWidth', 1);
  11778. }
  11779. dataModel.add(Node178);
  11780. zoomNodeList.push({
  11781. node: Node178,
  11782. borderWidth: 0,
  11783. attr: 'node.borderwidth'
  11784. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11785. var Node179 = new ht.Node();
  11786. var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 39*_ratio.ratioX, Node179height = 24*_ratio.ratioY;
  11787. (function () {
  11788. if (Node179align === 'left') {
  11789. Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
  11790. Node179textWidth = Node179width;
  11791. Node179lineStart = 1;
  11792. } else if (Node179align === 'right') {
  11793. Node179textStart = 0;
  11794. Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
  11795. Node179lineStart = (Node179width - (ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
  11796. } else if (Node179align === 'center') {
  11797. Node179textStart = -3;
  11798. Node179textWidth = Node179width;
  11799. Node179lineStart = Node179width - ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width - 11;
  11800. }
  11801. })();
  11802. Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
  11803. Node179.setPosition(1532*ratio.ratioX, 274*ratio.ratioY);
  11804. Node179.setWidth(Node179width);
  11805. Node179.setHeight(Node179height);
  11806. Node179._nodeType = 'text';
  11807. Node179._disallowEvert = true;
  11808. Node179.setRotation(0*Math.PI/180);
  11809. Node179.a('node.width', Node179width);
  11810. Node179.a('node.height', Node179height);
  11811. Node179.a('node.rect', [0, 0, Node179width, Node179height]);
  11812. Node179.a('node.bordercolor','rgba(0,0,0,1)');
  11813. Node179.a('node.borderwidth', 0);
  11814. Node179.a('node.background','' || 'rgba(0,0,0,0)');
  11815. Node179.a('node.gradient','');
  11816. Node179.a('node.gradientcolor','');
  11817. Node179.a('node.text','0');
  11818. Node179.a('node.textalign','left');
  11819. Node179.a('node.textvAlign','middle');
  11820. Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
  11821. Node179.a('node.color','rgba(0,0,0,1)');
  11822. Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
  11823. Node179.a('node.textvisible',true);
  11824. Node179.a('node.linefeed',false);
  11825. if (false) {
  11826. Node179.a('node.textfunc',function(g) {
  11827. g.beginPath();
  11828. var str=Node179.a('node.text') || '0';
  11829. var color=Node179.a('node.color') || 'rgba(0,0,0,1)';
  11830. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
  11831. });
  11832. }
  11833. if (false) {
  11834. Node179.a('node.underlinepoints',[Node179lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
  11835. Node179.a('node.underlinevisible',false);
  11836. Node179.a('node.underlineBorderWidth', 1);
  11837. }
  11838. dataModel.add(Node179);
  11839. zoomNodeList.push({
  11840. node: Node179,
  11841. borderWidth: 0,
  11842. attr: 'node.borderwidth'
  11843. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11844. var Node180 = new ht.Node();
  11845. var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 29*_ratio.ratioX, Node180height = 24*_ratio.ratioY;
  11846. (function () {
  11847. if (Node180align === 'left') {
  11848. Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
  11849. Node180textWidth = Node180width;
  11850. Node180lineStart = 1;
  11851. } else if (Node180align === 'right') {
  11852. Node180textStart = 0;
  11853. Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
  11854. Node180lineStart = (Node180width - (ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
  11855. } else if (Node180align === 'center') {
  11856. Node180textStart = -3;
  11857. Node180textWidth = Node180width;
  11858. Node180lineStart = Node180width - ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width - 11;
  11859. }
  11860. })();
  11861. Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
  11862. Node180.setPosition(1569*ratio.ratioX, 300*ratio.ratioY);
  11863. Node180.setWidth(Node180width);
  11864. Node180.setHeight(Node180height);
  11865. Node180._nodeType = 'text';
  11866. Node180._disallowEvert = true;
  11867. Node180.setRotation(0*Math.PI/180);
  11868. Node180.a('node.width', Node180width);
  11869. Node180.a('node.height', Node180height);
  11870. Node180.a('node.rect', [0, 0, Node180width, Node180height]);
  11871. Node180.a('node.bordercolor','rgba(0,0,0,1)');
  11872. Node180.a('node.borderwidth', 0);
  11873. Node180.a('node.background','' || 'rgba(0,0,0,0)');
  11874. Node180.a('node.gradient','');
  11875. Node180.a('node.gradientcolor','');
  11876. Node180.a('node.text','台');
  11877. Node180.a('node.textalign','left');
  11878. Node180.a('node.textvAlign','middle');
  11879. Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
  11880. Node180.a('node.color','rgba(0,0,0,1)');
  11881. Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"');
  11882. Node180.a('node.textvisible',true);
  11883. Node180.a('node.linefeed',false);
  11884. if (false) {
  11885. Node180.a('node.textfunc',function(g) {
  11886. g.beginPath();
  11887. var str=Node180.a('node.text') || '台';
  11888. var color=Node180.a('node.color') || 'rgba(0,0,0,1)';
  11889. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "Arial"', 0,g);
  11890. });
  11891. }
  11892. if (false) {
  11893. Node180.a('node.underlinepoints',[Node180lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
  11894. Node180.a('node.underlinevisible',false);
  11895. Node180.a('node.underlineBorderWidth', 1);
  11896. }
  11897. dataModel.add(Node180);
  11898. zoomNodeList.push({
  11899. node: Node180,
  11900. borderWidth: 0,
  11901. attr: 'node.borderwidth'
  11902. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11903. var Node181type = 'rect';
  11904. var Node181 = new ht.Node(),
  11905. Node181BorderWidth = 1*2;
  11906. if (Node181type === 'arc') {
  11907. Node181BorderWidth *= 1;
  11908. }
  11909. Node181.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node181type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11910. Node181.setPosition(1692*ratio.ratioX, 281*ratio.ratioY);
  11911. Node181.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  11912. Node181.s({
  11913. 'pixelPerfect':true
  11914. /*@AddPara@*/
  11915. });
  11916. Node181.a('node.width', 105*_ratio.ratioX);
  11917. Node181.a('node.height', 78*_ratio.ratioY);
  11918. Node181.a('node.type', Node181type);
  11919. Node181.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  11920. Node181.a('node.background', 'rgba(255,255,255,0.003921569)');
  11921. Node181.a('node.gradientcolor', '');
  11922. Node181.a('node.gradient', '');
  11923. Node181.a('node.borderwidth', Node181BorderWidth);
  11924. Node181.a('node.color', 'rgba(192,192,192,1)');
  11925. Node181.a('node.fillrect', [0,0,0,0]);
  11926. Node181.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11927. Node181.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11928. Node181.a('node.fillgradient', '');
  11929. if (Node181type !== 'rect') {
  11930. Node181.a('node.arcFrom', parseFloat('@arcFrom@'));
  11931. Node181.a('node.arcTo', parseFloat('@arcTo@'));
  11932. Node181.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11933. }
  11934. if (Node181type === 'arc') {
  11935. Node181.a('node.arcOval', true);
  11936. }
  11937. Node181.setRotation(0*Math.PI/180);
  11938. Node181.borderWidth = Node181BorderWidth;
  11939. Node181.borderFillwidth = Node181BorderWidth;
  11940. dataModel.add(Node181);
  11941. Node181._nodename = 'Node181'
  11942. Node181._nodeType = 'rect';
  11943. zoomNodeList.push({
  11944. node: Node181,
  11945. attr: 'node.borderwidth'
  11946. });
  11947. (function (node, _img) {
  11948. var setWidth = node.setWidth,
  11949. setHeight = node.setHeight;
  11950. node.setWidth = function (width) {
  11951. if (width === this.getWidth()) return ;
  11952. var height = this.getHeight();
  11953. this.a('node.width', width);
  11954. this.a('node.rect', [0,0,width, height]);
  11955. setWidth.apply(this, arguments);
  11956. }
  11957. node.setHeight = function (height) {
  11958. if (height === this.getHeight()) return ;
  11959. var width = this.getWidth();
  11960. this.a('node.height', height);
  11961. this.a('node.rect', [0,0,width, height]);
  11962. setHeight.apply(this, arguments);
  11963. }
  11964. })(Node181, Node181.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11965. var Node182 = new ht.Node();
  11966. var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 39*_ratio.ratioX, Node182height = 24*_ratio.ratioY;
  11967. (function () {
  11968. if (Node182align === 'left') {
  11969. Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
  11970. Node182textWidth = Node182width;
  11971. Node182lineStart = 1;
  11972. } else if (Node182align === 'right') {
  11973. Node182textStart = 0;
  11974. Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
  11975. Node182lineStart = (Node182width - (ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
  11976. } else if (Node182align === 'center') {
  11977. Node182textStart = -3;
  11978. Node182textWidth = Node182width;
  11979. Node182lineStart = Node182width - ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width - 11;
  11980. }
  11981. })();
  11982. Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "Arial"'))
  11983. Node182.setPosition(1665*ratio.ratioX, 254*ratio.ratioY);
  11984. Node182.setWidth(Node182width);
  11985. Node182.setHeight(Node182height);
  11986. Node182._nodeType = 'text';
  11987. Node182._disallowEvert = true;
  11988. Node182.setRotation(0*Math.PI/180);
  11989. Node182.a('node.width', Node182width);
  11990. Node182.a('node.height', Node182height);
  11991. Node182.a('node.rect', [0, 0, Node182width, Node182height]);
  11992. Node182.a('node.bordercolor','rgba(0,0,0,1)');
  11993. Node182.a('node.borderwidth', 0);
  11994. Node182.a('node.background','' || 'rgba(0,0,0,0)');
  11995. Node182.a('node.gradient','');
  11996. Node182.a('node.gradientcolor','');
  11997. Node182.a('node.text','限电');
  11998. Node182.a('node.textalign','left');
  11999. Node182.a('node.textvAlign','middle');
  12000. Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
  12001. Node182.a('node.color','rgba(0,0,0,1)');
  12002. Node182.a('node.font',' '+ Node182fontSize + 'px "Arial"');
  12003. Node182.a('node.textvisible',true);
  12004. Node182.a('node.linefeed',false);
  12005. if (false) {
  12006. Node182.a('node.textfunc',function(g) {
  12007. g.beginPath();
  12008. var str=Node182.a('node.text') || '限电';
  12009. var color=Node182.a('node.color') || 'rgba(0,0,0,1)';
  12010. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"left",color,' '+ Node182fontSize + 'px "Arial"', 0,g);
  12011. });
  12012. }
  12013. if (false) {
  12014. Node182.a('node.underlinepoints',[Node182lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
  12015. Node182.a('node.underlinevisible',false);
  12016. Node182.a('node.underlineBorderWidth', 1);
  12017. }
  12018. dataModel.add(Node182);
  12019. zoomNodeList.push({
  12020. node: Node182,
  12021. borderWidth: 0,
  12022. attr: 'node.borderwidth'
  12023. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12024. var Node183 = new ht.Node();
  12025. var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 39*_ratio.ratioX, Node183height = 24*_ratio.ratioY;
  12026. (function () {
  12027. if (Node183align === 'left') {
  12028. Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
  12029. Node183textWidth = Node183width;
  12030. Node183lineStart = 1;
  12031. } else if (Node183align === 'right') {
  12032. Node183textStart = 0;
  12033. Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
  12034. Node183lineStart = (Node183width - (ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
  12035. } else if (Node183align === 'center') {
  12036. Node183textStart = -3;
  12037. Node183textWidth = Node183width;
  12038. Node183lineStart = Node183width - ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width - 11;
  12039. }
  12040. })();
  12041. Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"'))
  12042. Node183.setPosition(1690*ratio.ratioX, 274*ratio.ratioY);
  12043. Node183.setWidth(Node183width);
  12044. Node183.setHeight(Node183height);
  12045. Node183._nodeType = 'text';
  12046. Node183._disallowEvert = true;
  12047. Node183.setRotation(0*Math.PI/180);
  12048. Node183.a('node.width', Node183width);
  12049. Node183.a('node.height', Node183height);
  12050. Node183.a('node.rect', [0, 0, Node183width, Node183height]);
  12051. Node183.a('node.bordercolor','rgba(0,0,0,1)');
  12052. Node183.a('node.borderwidth', 0);
  12053. Node183.a('node.background','' || 'rgba(0,0,0,0)');
  12054. Node183.a('node.gradient','');
  12055. Node183.a('node.gradientcolor','');
  12056. Node183.a('node.text','0');
  12057. Node183.a('node.textalign','left');
  12058. Node183.a('node.textvAlign','middle');
  12059. Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
  12060. Node183.a('node.color','rgba(0,0,0,1)');
  12061. Node183.a('node.font',' '+ Node183fontSize + 'px "Arial"');
  12062. Node183.a('node.textvisible',true);
  12063. Node183.a('node.linefeed',false);
  12064. if (false) {
  12065. Node183.a('node.textfunc',function(g) {
  12066. g.beginPath();
  12067. var str=Node183.a('node.text') || '0';
  12068. var color=Node183.a('node.color') || 'rgba(0,0,0,1)';
  12069. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"left",color,' '+ Node183fontSize + 'px "Arial"', 0,g);
  12070. });
  12071. }
  12072. if (false) {
  12073. Node183.a('node.underlinepoints',[Node183lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
  12074. Node183.a('node.underlinevisible',false);
  12075. Node183.a('node.underlineBorderWidth', 1);
  12076. }
  12077. dataModel.add(Node183);
  12078. zoomNodeList.push({
  12079. node: Node183,
  12080. borderWidth: 0,
  12081. attr: 'node.borderwidth'
  12082. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12083. var Node184 = new ht.Node();
  12084. var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 29*_ratio.ratioX, Node184height = 24*_ratio.ratioY;
  12085. (function () {
  12086. if (Node184align === 'left') {
  12087. Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
  12088. Node184textWidth = Node184width;
  12089. Node184lineStart = 1;
  12090. } else if (Node184align === 'right') {
  12091. Node184textStart = 0;
  12092. Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
  12093. Node184lineStart = (Node184width - (ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
  12094. } else if (Node184align === 'center') {
  12095. Node184textStart = -3;
  12096. Node184textWidth = Node184width;
  12097. Node184lineStart = Node184width - ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width - 11;
  12098. }
  12099. })();
  12100. Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "Arial"'))
  12101. Node184.setPosition(1726*ratio.ratioX, 300*ratio.ratioY);
  12102. Node184.setWidth(Node184width);
  12103. Node184.setHeight(Node184height);
  12104. Node184._nodeType = 'text';
  12105. Node184._disallowEvert = true;
  12106. Node184.setRotation(0*Math.PI/180);
  12107. Node184.a('node.width', Node184width);
  12108. Node184.a('node.height', Node184height);
  12109. Node184.a('node.rect', [0, 0, Node184width, Node184height]);
  12110. Node184.a('node.bordercolor','rgba(0,0,0,1)');
  12111. Node184.a('node.borderwidth', 0);
  12112. Node184.a('node.background','' || 'rgba(0,0,0,0)');
  12113. Node184.a('node.gradient','');
  12114. Node184.a('node.gradientcolor','');
  12115. Node184.a('node.text','台');
  12116. Node184.a('node.textalign','left');
  12117. Node184.a('node.textvAlign','middle');
  12118. Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
  12119. Node184.a('node.color','rgba(0,0,0,1)');
  12120. Node184.a('node.font',' '+ Node184fontSize + 'px "Arial"');
  12121. Node184.a('node.textvisible',true);
  12122. Node184.a('node.linefeed',false);
  12123. if (false) {
  12124. Node184.a('node.textfunc',function(g) {
  12125. g.beginPath();
  12126. var str=Node184.a('node.text') || '台';
  12127. var color=Node184.a('node.color') || 'rgba(0,0,0,1)';
  12128. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "Arial"', 0,g);
  12129. });
  12130. }
  12131. if (false) {
  12132. Node184.a('node.underlinepoints',[Node184lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
  12133. Node184.a('node.underlinevisible',false);
  12134. Node184.a('node.underlineBorderWidth', 1);
  12135. }
  12136. dataModel.add(Node184);
  12137. zoomNodeList.push({
  12138. node: Node184,
  12139. borderWidth: 0,
  12140. attr: 'node.borderwidth'
  12141. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12142. var Node185type = 'rect';
  12143. var Node185 = new ht.Node(),
  12144. Node185BorderWidth = 1*2;
  12145. if (Node185type === 'arc') {
  12146. Node185BorderWidth *= 1;
  12147. }
  12148. Node185.setImage(GD.getRectJSON(102*_ratio.ratioX, 78*_ratio.ratioY, Node185type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12149. Node185.setPosition(1848*ratio.ratioX, 281*ratio.ratioY);
  12150. Node185.setSize(102*_ratio.ratioX, 78*_ratio.ratioY);
  12151. Node185.s({
  12152. 'pixelPerfect':true
  12153. /*@AddPara@*/
  12154. });
  12155. Node185.a('node.width', 102*_ratio.ratioX);
  12156. Node185.a('node.height', 78*_ratio.ratioY);
  12157. Node185.a('node.type', Node185type);
  12158. Node185.a('node.rect', [0, 0, 102*_ratio.ratioX, 78*_ratio.ratioY]);
  12159. Node185.a('node.background', 'rgba(255,255,255,0.003921569)');
  12160. Node185.a('node.gradientcolor', '');
  12161. Node185.a('node.gradient', '');
  12162. Node185.a('node.borderwidth', Node185BorderWidth);
  12163. Node185.a('node.color', 'rgba(192,192,192,1)');
  12164. Node185.a('node.fillrect', [0,0,0,0]);
  12165. Node185.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12166. Node185.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12167. Node185.a('node.fillgradient', '');
  12168. if (Node185type !== 'rect') {
  12169. Node185.a('node.arcFrom', parseFloat('@arcFrom@'));
  12170. Node185.a('node.arcTo', parseFloat('@arcTo@'));
  12171. Node185.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12172. }
  12173. if (Node185type === 'arc') {
  12174. Node185.a('node.arcOval', true);
  12175. }
  12176. Node185.setRotation(0*Math.PI/180);
  12177. Node185.borderWidth = Node185BorderWidth;
  12178. Node185.borderFillwidth = Node185BorderWidth;
  12179. dataModel.add(Node185);
  12180. Node185._nodename = 'Node185'
  12181. Node185._nodeType = 'rect';
  12182. zoomNodeList.push({
  12183. node: Node185,
  12184. attr: 'node.borderwidth'
  12185. });
  12186. (function (node, _img) {
  12187. var setWidth = node.setWidth,
  12188. setHeight = node.setHeight;
  12189. node.setWidth = function (width) {
  12190. if (width === this.getWidth()) return ;
  12191. var height = this.getHeight();
  12192. this.a('node.width', width);
  12193. this.a('node.rect', [0,0,width, height]);
  12194. setWidth.apply(this, arguments);
  12195. }
  12196. node.setHeight = function (height) {
  12197. if (height === this.getHeight()) return ;
  12198. var width = this.getWidth();
  12199. this.a('node.height', height);
  12200. this.a('node.rect', [0,0,width, height]);
  12201. setHeight.apply(this, arguments);
  12202. }
  12203. })(Node185, Node185.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12204. var Node186 = new ht.Node();
  12205. var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 39*_ratio.ratioX, Node186height = 24*_ratio.ratioY;
  12206. (function () {
  12207. if (Node186align === 'left') {
  12208. Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
  12209. Node186textWidth = Node186width;
  12210. Node186lineStart = 1;
  12211. } else if (Node186align === 'right') {
  12212. Node186textStart = 0;
  12213. Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
  12214. Node186lineStart = (Node186width - (ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
  12215. } else if (Node186align === 'center') {
  12216. Node186textStart = -3;
  12217. Node186textWidth = Node186width;
  12218. Node186lineStart = Node186width - ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width - 11;
  12219. }
  12220. })();
  12221. Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"'))
  12222. Node186.setPosition(1822*ratio.ratioX, 254*ratio.ratioY);
  12223. Node186.setWidth(Node186width);
  12224. Node186.setHeight(Node186height);
  12225. Node186._nodeType = 'text';
  12226. Node186._disallowEvert = true;
  12227. Node186.setRotation(0*Math.PI/180);
  12228. Node186.a('node.width', Node186width);
  12229. Node186.a('node.height', Node186height);
  12230. Node186.a('node.rect', [0, 0, Node186width, Node186height]);
  12231. Node186.a('node.bordercolor','rgba(0,0,0,1)');
  12232. Node186.a('node.borderwidth', 0);
  12233. Node186.a('node.background','' || 'rgba(0,0,0,0)');
  12234. Node186.a('node.gradient','');
  12235. Node186.a('node.gradientcolor','');
  12236. Node186.a('node.text','离线');
  12237. Node186.a('node.textalign','left');
  12238. Node186.a('node.textvAlign','middle');
  12239. Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
  12240. Node186.a('node.color','rgba(0,0,0,1)');
  12241. Node186.a('node.font',' '+ Node186fontSize + 'px "Arial"');
  12242. Node186.a('node.textvisible',true);
  12243. Node186.a('node.linefeed',false);
  12244. if (false) {
  12245. Node186.a('node.textfunc',function(g) {
  12246. g.beginPath();
  12247. var str=Node186.a('node.text') || '离线';
  12248. var color=Node186.a('node.color') || 'rgba(0,0,0,1)';
  12249. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "Arial"', 0,g);
  12250. });
  12251. }
  12252. if (false) {
  12253. Node186.a('node.underlinepoints',[Node186lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
  12254. Node186.a('node.underlinevisible',false);
  12255. Node186.a('node.underlineBorderWidth', 1);
  12256. }
  12257. dataModel.add(Node186);
  12258. zoomNodeList.push({
  12259. node: Node186,
  12260. borderWidth: 0,
  12261. attr: 'node.borderwidth'
  12262. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12263. var Node187 = new ht.Node();
  12264. var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'left', Node187fontSize = 13.3333*_ratio.ratioY,Node187width = 39*_ratio.ratioX, Node187height = 24*_ratio.ratioY;
  12265. (function () {
  12266. if (Node187align === 'left') {
  12267. Node187textStart = Node187fontSize * 0.2 > 2 ? Node187fontSize * 0.2 - 4 : Node187fontSize * 0.2 - 9;
  12268. Node187textWidth = Node187width;
  12269. Node187lineStart = 1;
  12270. } else if (Node187align === 'right') {
  12271. Node187textStart = 0;
  12272. Node187textWidth =Node187fontSize <= 8 ? Node187width + Node187fontSize * 0.2 + 6 : Node187width - Node187fontSize * 0.2;
  12273. Node187lineStart = (Node187width - (ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
  12274. } else if (Node187align === 'center') {
  12275. Node187textStart = -3;
  12276. Node187textWidth = Node187width;
  12277. Node187lineStart = Node187width - ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width - 11;
  12278. }
  12279. })();
  12280. Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"'))
  12281. Node187.setPosition(1847*ratio.ratioX, 274*ratio.ratioY);
  12282. Node187.setWidth(Node187width);
  12283. Node187.setHeight(Node187height);
  12284. Node187._nodeType = 'text';
  12285. Node187._disallowEvert = true;
  12286. Node187.setRotation(0*Math.PI/180);
  12287. Node187.a('node.width', Node187width);
  12288. Node187.a('node.height', Node187height);
  12289. Node187.a('node.rect', [0, 0, Node187width, Node187height]);
  12290. Node187.a('node.bordercolor','rgba(0,0,0,1)');
  12291. Node187.a('node.borderwidth', 0);
  12292. Node187.a('node.background','' || 'rgba(0,0,0,0)');
  12293. Node187.a('node.gradient','');
  12294. Node187.a('node.gradientcolor','');
  12295. Node187.a('node.text','0');
  12296. Node187.a('node.textalign','left');
  12297. Node187.a('node.textvAlign','middle');
  12298. Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
  12299. Node187.a('node.color','rgba(0,0,0,1)');
  12300. Node187.a('node.font',' '+ Node187fontSize + 'px "Arial"');
  12301. Node187.a('node.textvisible',true);
  12302. Node187.a('node.linefeed',false);
  12303. if (false) {
  12304. Node187.a('node.textfunc',function(g) {
  12305. g.beginPath();
  12306. var str=Node187.a('node.text') || '0';
  12307. var color=Node187.a('node.color') || 'rgba(0,0,0,1)';
  12308. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "Arial"', 0,g);
  12309. });
  12310. }
  12311. if (false) {
  12312. Node187.a('node.underlinepoints',[Node187lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width + 6, (Node187height - Node187fontSize) * 0.5*_ratio.ratioY + Node187fontSize + 2 ]);
  12313. Node187.a('node.underlinevisible',false);
  12314. Node187.a('node.underlineBorderWidth', 1);
  12315. }
  12316. dataModel.add(Node187);
  12317. zoomNodeList.push({
  12318. node: Node187,
  12319. borderWidth: 0,
  12320. attr: 'node.borderwidth'
  12321. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12322. var Node188 = new ht.Node();
  12323. var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 13.3333*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 24*_ratio.ratioY;
  12324. (function () {
  12325. if (Node188align === 'left') {
  12326. Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
  12327. Node188textWidth = Node188width;
  12328. Node188lineStart = 1;
  12329. } else if (Node188align === 'right') {
  12330. Node188textStart = 0;
  12331. Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
  12332. Node188lineStart = (Node188width - (ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
  12333. } else if (Node188align === 'center') {
  12334. Node188textStart = -3;
  12335. Node188textWidth = Node188width;
  12336. Node188lineStart = Node188width - ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width - 11;
  12337. }
  12338. })();
  12339. Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
  12340. Node188.setPosition(1884*ratio.ratioX, 300*ratio.ratioY);
  12341. Node188.setWidth(Node188width);
  12342. Node188.setHeight(Node188height);
  12343. Node188._nodeType = 'text';
  12344. Node188._disallowEvert = true;
  12345. Node188.setRotation(0*Math.PI/180);
  12346. Node188.a('node.width', Node188width);
  12347. Node188.a('node.height', Node188height);
  12348. Node188.a('node.rect', [0, 0, Node188width, Node188height]);
  12349. Node188.a('node.bordercolor','rgba(0,0,0,1)');
  12350. Node188.a('node.borderwidth', 0);
  12351. Node188.a('node.background','' || 'rgba(0,0,0,0)');
  12352. Node188.a('node.gradient','');
  12353. Node188.a('node.gradientcolor','');
  12354. Node188.a('node.text','台');
  12355. Node188.a('node.textalign','left');
  12356. Node188.a('node.textvAlign','middle');
  12357. Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
  12358. Node188.a('node.color','rgba(0,0,0,1)');
  12359. Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
  12360. Node188.a('node.textvisible',true);
  12361. Node188.a('node.linefeed',false);
  12362. if (false) {
  12363. Node188.a('node.textfunc',function(g) {
  12364. g.beginPath();
  12365. var str=Node188.a('node.text') || '台';
  12366. var color=Node188.a('node.color') || 'rgba(0,0,0,1)';
  12367. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node188width,Node188height,13.3333*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
  12368. });
  12369. }
  12370. if (false) {
  12371. Node188.a('node.underlinepoints',[Node188lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
  12372. Node188.a('node.underlinevisible',false);
  12373. Node188.a('node.underlineBorderWidth', 1);
  12374. }
  12375. dataModel.add(Node188);
  12376. zoomNodeList.push({
  12377. node: Node188,
  12378. borderWidth: 0,
  12379. attr: 'node.borderwidth'
  12380. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12381. var Node189type = 'rect';
  12382. var Node189 = new ht.Node(),
  12383. Node189BorderWidth = 0*2;
  12384. if (Node189type === 'arc') {
  12385. Node189BorderWidth *= 0;
  12386. }
  12387. Node189.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node189type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12388. Node189.setPosition(772*ratio.ratioX, 426*ratio.ratioY);
  12389. Node189.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  12390. Node189.s({
  12391. 'pixelPerfect':true
  12392. /*@AddPara@*/
  12393. });
  12394. Node189.a('node.width', 27*_ratio.ratioX);
  12395. Node189.a('node.height', 208*_ratio.ratioY);
  12396. Node189.a('node.type', Node189type);
  12397. Node189.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  12398. Node189.a('node.background', 'rgba(32,191,135,1)');
  12399. Node189.a('node.gradientcolor', 'rgba(32,191,135,1)');
  12400. Node189.a('node.gradient', '');
  12401. Node189.a('node.borderwidth', Node189BorderWidth);
  12402. Node189.a('node.color', 'rgba(0,0,0,0)');
  12403. Node189.a('node.fillrect', [0,0,0,0]);
  12404. Node189.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12405. Node189.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12406. Node189.a('node.fillgradient', '');
  12407. if (Node189type !== 'rect') {
  12408. Node189.a('node.arcFrom', parseFloat('@arcFrom@'));
  12409. Node189.a('node.arcTo', parseFloat('@arcTo@'));
  12410. Node189.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12411. }
  12412. if (Node189type === 'arc') {
  12413. Node189.a('node.arcOval', true);
  12414. }
  12415. Node189.setRotation(0*Math.PI/180);
  12416. Node189.borderWidth = Node189BorderWidth;
  12417. Node189.borderFillwidth = Node189BorderWidth;
  12418. dataModel.add(Node189);
  12419. Node189._nodename = 'Node189'
  12420. Node189._nodeType = 'rect';
  12421. zoomNodeList.push({
  12422. node: Node189,
  12423. attr: 'node.borderwidth'
  12424. });
  12425. (function (node, _img) {
  12426. var setWidth = node.setWidth,
  12427. setHeight = node.setHeight;
  12428. node.setWidth = function (width) {
  12429. if (width === this.getWidth()) return ;
  12430. var height = this.getHeight();
  12431. this.a('node.width', width);
  12432. this.a('node.rect', [0,0,width, height]);
  12433. setWidth.apply(this, arguments);
  12434. }
  12435. node.setHeight = function (height) {
  12436. if (height === this.getHeight()) return ;
  12437. var width = this.getWidth();
  12438. this.a('node.height', height);
  12439. this.a('node.rect', [0,0,width, height]);
  12440. setHeight.apply(this, arguments);
  12441. }
  12442. })(Node189, Node189.getImage());
  12443. var Node190style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
  12444. var Node190obj=getIndicatorAndSheBeiArr(Node190GroupVarName,Node190GroupInVarName);
  12445. var Node190series=getIndicatorOrShebeiInfo(Node190GroupVarName,Node190GroupInVarName,Node190style);
  12446. Node190series && Node190series[0] && (Node190series[0].barGap = 0);
  12447. var Node190option = {
  12448. tooltip : {
  12449. trigger: 'axis',
  12450. axisPointer : {
  12451. type : 'shadow',
  12452. shadowStyle: {
  12453. color: {
  12454. type: 'linear',
  12455. x: 0,
  12456. y: 0,
  12457. x2: 0,
  12458. y2: 1,
  12459. colorStops: [{
  12460. offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
  12461. }, {
  12462. offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
  12463. }],
  12464. globalCoord: false // 缺省为 false
  12465. },
  12466. opacity: 0.2
  12467. }
  12468. },
  12469. // formatter:function (params, ticket, callback) {
  12470. // console.log(params, ticket);
  12471. // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
  12472. // var result ;
  12473. // for (var i = 0, len = params.length; i < len; i++) {
  12474. // }
  12475. // }
  12476. },
  12477. grid: {
  12478. left: '0%',
  12479. right: '0%',
  12480. bottom: '3%',
  12481. top:'5%',
  12482. containLabel: true
  12483. },
  12484. legend:{
  12485. show:false,
  12486. data:Node190obj["indicatorArr"]
  12487. },
  12488. xAxis : [
  12489. {
  12490. type : 'category',
  12491. splitNumber:0,
  12492. data :Node190obj["shebeiArr"],
  12493. axisLine:{
  12494. lineStyle:{
  12495. color:'rgba(128,128,128,1)'
  12496. }
  12497. },
  12498. axisLabel:{
  12499. inside:false,
  12500. interval: 0,
  12501. textStyle:{
  12502. fontSize:"13.3333"
  12503. }
  12504. },
  12505. z: 10,
  12506. splitLine:{
  12507. show:false,
  12508. lineStyle:{
  12509. color:'rgba(211,211,211,1)'
  12510. }
  12511. }
  12512. }
  12513. ],
  12514. yAxis : [
  12515. {
  12516. type : 'value',
  12517. min:0,
  12518. max:1000,
  12519. axisTick:{
  12520. lineStyle:{
  12521. color:'rgba(128,128,128,1)'
  12522. }
  12523. },
  12524. precision:2,
  12525. axisLine:{
  12526. lineStyle:{
  12527. color:'rgba(128,128,128,1)'
  12528. }
  12529. },
  12530. axisLabel:{
  12531. textStyle:{
  12532. fontSize:"13.3333"
  12533. }
  12534. },
  12535. splitLine:{
  12536. show:true,
  12537. lineStyle:{
  12538. color:'rgba(211,211,211,1)'
  12539. }
  12540. }
  12541. }],
  12542. color: Node190obj.colorArr,
  12543. series : Node190series
  12544. };
  12545. var Node190 = new ht.HtmlNode();
  12546. var Node190BeginTime = "";
  12547. var Node190endTime = "";
  12548. var Node190yRange = 'fixed';
  12549. Node190.setPosition({'x':1066*ratio.ratioX,'y':431*ratio.ratioY});
  12550. Node190.setWidth(542*ratio.ratioX);
  12551. Node190.setHeight(208*ratio.ratioY);
  12552. Node190.setScalable(false);
  12553. Node190.s({
  12554. '2d.selectable': false,
  12555. '2d.movable': false
  12556. });
  12557. var Node190chart = new ht.Chart(Node190option, 542*ratio.ratioX, 208*ratio.ratioY);
  12558. Node190.setHtml( Node190chart);
  12559. var Node190_chart = Node190chart._chart;
  12560. dataModel.add(Node190);
  12561. function Node190Refresh(){
  12562. var option = Node190chart.getOption(),
  12563. _option = Node190_chart.getOption(),
  12564. ses = _option.series;
  12565. option.series = getIndicatorOrShebeiInfo(Node190GroupVarName,Node190GroupInVarName,Node190style);
  12566. if (Node190yRange === 'real') {
  12567. var maxAndMin = GD.getMaxAndMinFromSeries(ses);
  12568. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  12569. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  12570. }
  12571. Node190_chart.setOption(option, true);
  12572. }
  12573. function Node190Search() {
  12574. var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
  12575. // var tagsInfo = encodeURIComponent(Node190obj.tagArr.join(','));
  12576. var beginTime = "",
  12577. endTime = "",
  12578. type = 'static'; // 时间段:当日,当月,当年 。固定时间
  12579. var groupbarType = 'snap';
  12580. var beginTimeType = 'begin',
  12581. endTimeType = 'end';
  12582. var difTagsInfo = '',
  12583. staTagsInfo = '',
  12584. staTagArr = [],
  12585. difTagArr = [];
  12586. (function () {
  12587. var tagsType = Node190obj.statisticsTypeObj,
  12588. k, v;
  12589. for (var key in tagsType) {
  12590. if (tagsType.hasOwnProperty(key)) {
  12591. k = key;
  12592. v = tagsType[k];
  12593. if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
  12594. difTagArr.push(k);
  12595. } else {
  12596. staTagArr.push(k);
  12597. }
  12598. }
  12599. }
  12600. difTagsInfo = encodeURIComponent(difTagArr.join(','));
  12601. staTagsInfo = encodeURIComponent(staTagArr.join(','));
  12602. })();
  12603. if (groupbarType === 'snap') {
  12604. Node190Refresh()
  12605. return;
  12606. }
  12607. if (type === 'relday') {
  12608. if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
  12609. endTimeType = '';
  12610. }
  12611. } else if (type === 'relmonth') {
  12612. if (endTime === '0m') {
  12613. endTimeType = ''
  12614. }
  12615. } else if (type === 'relyear') {
  12616. if (endTime === '0y') {
  12617. endTimeType = ''
  12618. }
  12619. } else if (type === 'static') {
  12620. beginTimeType = '';
  12621. endTimeType = '';
  12622. } else {
  12623. beginTimeType = 'begin';
  12624. endTimeType = '';
  12625. }
  12626. beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
  12627. endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
  12628. var flag = 0,
  12629. staData,
  12630. difData;
  12631. if (!GD.testSearchTime(beginTime, endTime)) {
  12632. return false;
  12633. }
  12634. if (difTagsInfo) {
  12635. $.ajax({
  12636. url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
  12637. type: 'GET',
  12638. cache: false,
  12639. dataType: 'json',
  12640. success: function (datas) {
  12641. if (!datas) {
  12642. difData = {};
  12643. return ;
  12644. }
  12645. difData = datas;
  12646. },
  12647. complete: function (xhr) {
  12648. xhr = null;
  12649. flag ++;
  12650. }
  12651. });
  12652. } else {
  12653. flag ++;
  12654. difData = {};
  12655. complete();
  12656. }
  12657. if (staTagsInfo) {
  12658. $.ajax({
  12659. url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
  12660. type: 'GET',
  12661. cache: false,
  12662. dataType: 'json',
  12663. success: function (datas) {
  12664. if (!datas) {
  12665. staData = {};
  12666. return ;
  12667. }
  12668. staData = datas;
  12669. },
  12670. complete: function (xhr) {
  12671. xhr = null;
  12672. flag ++;
  12673. complete()
  12674. }
  12675. });
  12676. } else {
  12677. flag ++;
  12678. staData = {};
  12679. complete();
  12680. }
  12681. function complete() {
  12682. if (flag < 2) {
  12683. return ;
  12684. }
  12685. var datas = staData;
  12686. for (var key in difData) {
  12687. if (difData.hasOwnProperty(key)) {
  12688. if (!datas[key]) {
  12689. datas[key] = difData[key];
  12690. }
  12691. else {
  12692. for (var k in difData[key]) {
  12693. datas[key][k] = difData[key][k];
  12694. }
  12695. }
  12696. }
  12697. }
  12698. var option = Node190chart.getOption(),
  12699. _option = Node190_chart.getOption(),
  12700. ses = _option.series;
  12701. var series = [];
  12702. for (var i = 0, len = Node190GroupInVarName.length; i < len; i++) {
  12703. var indiacatorData = Node190GroupInVarName[i];
  12704. var data = {};
  12705. data.name = indiacatorData.displayName || indiacatorData.Desc;
  12706. data.type = 'bar';
  12707. data.data = [];
  12708. for (var j = 0, leng = Node190GroupVarName.length; j < leng; j++) {
  12709. var itemStyle={normal:{color:indiacatorData.color}};
  12710. data.itemStyle=itemStyle;
  12711. var deviceData = Node190GroupVarName[j];
  12712. var value = 0;
  12713. var tagName = '' + deviceData.Name + indiacatorData.Name;
  12714. var statisticsType = Node190obj.statisticsTypeObj && Node190obj.statisticsTypeObj[tagName];
  12715. value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
  12716. data.data.push(value);
  12717. }
  12718. series.push(data);
  12719. }
  12720. series && series[0] && (series[0].barGap = 0);
  12721. option.series = series;
  12722. if (Node190yRange === 'real') {
  12723. var maxAndMin = GD.getMaxAndMinFromSeries(series);
  12724. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  12725. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  12726. } else {
  12727. option.yAxis[0].min = 0;
  12728. option.yAxis[0].max = 1000;
  12729. }
  12730. Node190_chart.setOption(option, true);
  12731. }
  12732. }
  12733. if(true){
  12734. Node190Refresh();
  12735. intervalTimers.push(setInterval(function(){
  12736. Node190Refresh();
  12737. },1000));
  12738. } else {
  12739. // Node190Search();
  12740. }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12741. var Node191type = 'rect';
  12742. var Node191 = new ht.Node(),
  12743. Node191BorderWidth = 0*2;
  12744. if (Node191type === 'arc') {
  12745. Node191BorderWidth *= 0;
  12746. }
  12747. Node191.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node191type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12748. Node191.setPosition(1372*ratio.ratioX, 427*ratio.ratioY);
  12749. Node191.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  12750. Node191.s({
  12751. 'pixelPerfect':true
  12752. /*@AddPara@*/
  12753. });
  12754. Node191.a('node.width', 27*_ratio.ratioX);
  12755. Node191.a('node.height', 208*_ratio.ratioY);
  12756. Node191.a('node.type', Node191type);
  12757. Node191.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  12758. Node191.a('node.background', 'rgba(32,191,135,1)');
  12759. Node191.a('node.gradientcolor', 'rgba(32,191,135,1)');
  12760. Node191.a('node.gradient', '');
  12761. Node191.a('node.borderwidth', Node191BorderWidth);
  12762. Node191.a('node.color', 'rgba(0,0,0,0)');
  12763. Node191.a('node.fillrect', [0,0,0,0]);
  12764. Node191.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12765. Node191.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12766. Node191.a('node.fillgradient', '');
  12767. if (Node191type !== 'rect') {
  12768. Node191.a('node.arcFrom', parseFloat('@arcFrom@'));
  12769. Node191.a('node.arcTo', parseFloat('@arcTo@'));
  12770. Node191.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12771. }
  12772. if (Node191type === 'arc') {
  12773. Node191.a('node.arcOval', true);
  12774. }
  12775. Node191.setRotation(0*Math.PI/180);
  12776. Node191.borderWidth = Node191BorderWidth;
  12777. Node191.borderFillwidth = Node191BorderWidth;
  12778. dataModel.add(Node191);
  12779. Node191._nodename = 'Node191'
  12780. Node191._nodeType = 'rect';
  12781. zoomNodeList.push({
  12782. node: Node191,
  12783. attr: 'node.borderwidth'
  12784. });
  12785. (function (node, _img) {
  12786. var setWidth = node.setWidth,
  12787. setHeight = node.setHeight;
  12788. node.setWidth = function (width) {
  12789. if (width === this.getWidth()) return ;
  12790. var height = this.getHeight();
  12791. this.a('node.width', width);
  12792. this.a('node.rect', [0,0,width, height]);
  12793. setWidth.apply(this, arguments);
  12794. }
  12795. node.setHeight = function (height) {
  12796. if (height === this.getHeight()) return ;
  12797. var width = this.getWidth();
  12798. this.a('node.height', height);
  12799. this.a('node.rect', [0,0,width, height]);
  12800. setHeight.apply(this, arguments);
  12801. }
  12802. })(Node191, Node191.getImage());option = {
  12803. tooltip : {
  12804. formatter: "{a} <br/>{c} {b}"
  12805. },
  12806. toolbox: {
  12807. show:false,
  12808. feature: {
  12809. //restore: {},
  12810. saveAsImage: {}
  12811. }
  12812. },
  12813. series: [
  12814. {
  12815. radius: '100%',
  12816. name: '',
  12817. type: 'gauge',
  12818. splitNumber:5,
  12819. min: 0,
  12820. max: 50,
  12821. startAngle:180,
  12822. endAngle:0,
  12823. axisTick:{
  12824. length:5,
  12825. lineStyle: {
  12826. color:'rgba(255,255,255,1)'
  12827. }
  12828. },
  12829. axisLabel: { // 坐标轴小标记
  12830. textStyle: { // 属性lineStyle控制线条样式
  12831. color: 'rgba(64,64,64,1)'
  12832. },
  12833. formatter: function (value, index) {
  12834. return value.toFixed(0);
  12835. }
  12836. },
  12837. axisLine: {
  12838. lineStyle: {
  12839. color: [[0.2, 'rgba(0,128,0,1)'],[1, 'rgba(192,192,192,1)']],
  12840. width: 10
  12841. }
  12842. },
  12843. splitLine:{
  12844. length:10,
  12845. lineStyle: {
  12846. color: 'rgba(255,255,255,1)'
  12847. }
  12848. },
  12849. pointer:{
  12850. length:'80%',
  12851. width:7
  12852. },
  12853. itemStyle: {
  12854. normal: {
  12855. opacity: 0
  12856. }
  12857. },
  12858. detail: {formatter:'{value}',show:false},
  12859. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  12860. }
  12861. ]
  12862. };
  12863. _ratio = GD.getRatioWithRotation(0, ratio);
  12864. var Node192 = new ht.HtmlNode();
  12865. Node192.setPosition({'x':1517*ratio.ratioX,'y':395*ratio.ratioY});
  12866. Node192.setWidth(270*_ratio.ratioX);
  12867. Node192.setHeight(140*_ratio.ratioY);
  12868. Node192.setScalable(false);
  12869. Node192.setRotation(0);
  12870. Node192.s({
  12871. '2d.selectable': false,
  12872. '2d.movable': false
  12873. });
  12874. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  12875. Node192.setHtml(chart);
  12876. var Node192_chart = chart._chart;
  12877. dataModel.add(Node192);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12878. var Node193 = new ht.Node();
  12879. var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'center', Node193fontSize = 18.66662*_ratio.ratioY,Node193width = 43*_ratio.ratioX, Node193height = 23*_ratio.ratioY;
  12880. (function () {
  12881. if (Node193align === 'left') {
  12882. Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9;
  12883. Node193textWidth = Node193width;
  12884. Node193lineStart = 1;
  12885. } else if (Node193align === 'right') {
  12886. Node193textStart = 0;
  12887. Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2;
  12888. Node193lineStart = (Node193width - (ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5;
  12889. } else if (Node193align === 'center') {
  12890. Node193textStart = -3;
  12891. Node193textWidth = Node193width;
  12892. Node193lineStart = Node193width - ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width - 11;
  12893. }
  12894. })();
  12895. Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, 'bold '+ Node193fontSize + 'px "Arial"'))
  12896. Node193.setPosition(1511*ratio.ratioX, 376*ratio.ratioY);
  12897. Node193.setWidth(Node193width);
  12898. Node193.setHeight(Node193height);
  12899. Node193._nodeType = 'text';
  12900. Node193._disallowEvert = true;
  12901. Node193.setRotation(0*Math.PI/180);
  12902. Node193.a('node.width', Node193width);
  12903. Node193.a('node.height', Node193height);
  12904. Node193.a('node.rect', [0, 0, Node193width, Node193height]);
  12905. Node193.a('node.bordercolor','rgba(0,0,0,1)');
  12906. Node193.a('node.borderwidth', 0);
  12907. Node193.a('node.background','' || 'rgba(0,0,0,0)');
  12908. Node193.a('node.gradient','');
  12909. Node193.a('node.gradientcolor','');
  12910. Node193.a('node.text','9.14');
  12911. Node193.a('node.textalign','center');
  12912. Node193.a('node.textvAlign','middle');
  12913. Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]);
  12914. Node193.a('node.color','rgba(0,0,0,1)');
  12915. Node193.a('node.font','bold '+ Node193fontSize + 'px "Arial"');
  12916. Node193.a('node.textvisible',true);
  12917. Node193.a('node.linefeed',false);
  12918. if (false) {
  12919. Node193.a('node.textfunc',function(g) {
  12920. g.beginPath();
  12921. var str=Node193.a('node.text') || '9.14';
  12922. var color=Node193.a('node.color') || 'rgba(0,0,0,1)';
  12923. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node193width,Node193height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node193fontSize + 'px "Arial"', 0,g);
  12924. });
  12925. }
  12926. if (false) {
  12927. Node193.a('node.underlinepoints',[Node193lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]);
  12928. Node193.a('node.underlinevisible',false);
  12929. Node193.a('node.underlineBorderWidth', 1);
  12930. }
  12931. dataModel.add(Node193);
  12932. zoomNodeList.push({
  12933. node: Node193,
  12934. borderWidth: 0,
  12935. attr: 'node.borderwidth'
  12936. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12937. var Node194 = new ht.Node();
  12938. var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 86*_ratio.ratioX, Node194height = 16*_ratio.ratioY;
  12939. (function () {
  12940. if (Node194align === 'left') {
  12941. Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9;
  12942. Node194textWidth = Node194width;
  12943. Node194lineStart = 1;
  12944. } else if (Node194align === 'right') {
  12945. Node194textStart = 0;
  12946. Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2;
  12947. Node194lineStart = (Node194width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width + 6)) * 0.5;
  12948. } else if (Node194align === 'center') {
  12949. Node194textStart = -3;
  12950. Node194textWidth = Node194width;
  12951. Node194lineStart = Node194width - ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width - 11;
  12952. }
  12953. })();
  12954. Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "Arial"'))
  12955. Node194.setPosition(1529*ratio.ratioX, 411*ratio.ratioY);
  12956. Node194.setWidth(Node194width);
  12957. Node194.setHeight(Node194height);
  12958. Node194._nodeType = 'text';
  12959. Node194._disallowEvert = true;
  12960. Node194.setRotation(0*Math.PI/180);
  12961. Node194.a('node.width', Node194width);
  12962. Node194.a('node.height', Node194height);
  12963. Node194.a('node.rect', [0, 0, Node194width, Node194height]);
  12964. Node194.a('node.bordercolor','rgba(0,0,0,1)');
  12965. Node194.a('node.borderwidth', 0);
  12966. Node194.a('node.background','' || 'rgba(0,0,0,0)');
  12967. Node194.a('node.gradient','');
  12968. Node194.a('node.gradientcolor','');
  12969. Node194.a('node.text','风速(m/s)');
  12970. Node194.a('node.textalign','left');
  12971. Node194.a('node.textvAlign','middle');
  12972. Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]);
  12973. Node194.a('node.color','rgba(0,0,0,1)');
  12974. Node194.a('node.font',' '+ Node194fontSize + 'px "Arial"');
  12975. Node194.a('node.textvisible',true);
  12976. Node194.a('node.linefeed',false);
  12977. if (false) {
  12978. Node194.a('node.textfunc',function(g) {
  12979. g.beginPath();
  12980. var str=Node194.a('node.text') || '风速(m/s)';
  12981. var color=Node194.a('node.color') || 'rgba(0,0,0,1)';
  12982. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "Arial"', 0,g);
  12983. });
  12984. }
  12985. if (false) {
  12986. Node194.a('node.underlinepoints',[Node194lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]);
  12987. Node194.a('node.underlinevisible',false);
  12988. Node194.a('node.underlineBorderWidth', 1);
  12989. }
  12990. dataModel.add(Node194);
  12991. zoomNodeList.push({
  12992. node: Node194,
  12993. borderWidth: 0,
  12994. attr: 'node.borderwidth'
  12995. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12996. var Node195 = new ht.Node();
  12997. var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'center', Node195fontSize = 18.66662*_ratio.ratioY,Node195width = 65*_ratio.ratioX, Node195height = 23*_ratio.ratioY;
  12998. (function () {
  12999. if (Node195align === 'left') {
  13000. Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9;
  13001. Node195textWidth = Node195width;
  13002. Node195lineStart = 1;
  13003. } else if (Node195align === 'right') {
  13004. Node195textStart = 0;
  13005. Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2;
  13006. Node195lineStart = (Node195width - (ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width + 6)) * 0.5;
  13007. } else if (Node195align === 'center') {
  13008. Node195textStart = -3;
  13009. Node195textWidth = Node195width;
  13010. Node195lineStart = Node195width - ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width - 11;
  13011. }
  13012. })();
  13013. Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, 'bold '+ Node195fontSize + 'px "Arial"'))
  13014. Node195.setPosition(1530*ratio.ratioX, 477*ratio.ratioY);
  13015. Node195.setWidth(Node195width);
  13016. Node195.setHeight(Node195height);
  13017. Node195._nodeType = 'text';
  13018. Node195._disallowEvert = true;
  13019. Node195.setRotation(0*Math.PI/180);
  13020. Node195.a('node.width', Node195width);
  13021. Node195.a('node.height', Node195height);
  13022. Node195.a('node.rect', [0, 0, Node195width, Node195height]);
  13023. Node195.a('node.bordercolor','rgba(0,0,0,1)');
  13024. Node195.a('node.borderwidth', 0);
  13025. Node195.a('node.background','' || 'rgba(0,0,0,0)');
  13026. Node195.a('node.gradient','');
  13027. Node195.a('node.gradientcolor','');
  13028. Node195.a('node.text','8');
  13029. Node195.a('node.textalign','center');
  13030. Node195.a('node.textvAlign','middle');
  13031. Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]);
  13032. Node195.a('node.color','rgba(0,0,0,1)');
  13033. Node195.a('node.font','bold '+ Node195fontSize + 'px "Arial"');
  13034. Node195.a('node.textvisible',true);
  13035. Node195.a('node.linefeed',false);
  13036. if (false) {
  13037. Node195.a('node.textfunc',function(g) {
  13038. g.beginPath();
  13039. var str=Node195.a('node.text') || '8';
  13040. var color=Node195.a('node.color') || 'rgba(0,0,0,1)';
  13041. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195width,Node195height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node195fontSize + 'px "Arial"', 0,g);
  13042. });
  13043. }
  13044. if (false) {
  13045. Node195.a('node.underlinepoints',[Node195lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]);
  13046. Node195.a('node.underlinevisible',false);
  13047. Node195.a('node.underlineBorderWidth', 1);
  13048. }
  13049. dataModel.add(Node195);
  13050. zoomNodeList.push({
  13051. node: Node195,
  13052. borderWidth: 0,
  13053. attr: 'node.borderwidth'
  13054. }); option = {
  13055. tooltip : {
  13056. formatter: "{a} <br/>{c} {b}"
  13057. },
  13058. toolbox: {
  13059. show:false,
  13060. feature: {
  13061. //restore: {},
  13062. saveAsImage: {}
  13063. }
  13064. },
  13065. series: [
  13066. {
  13067. radius: '100%',
  13068. name: '',
  13069. type: 'gauge',
  13070. splitNumber:5,
  13071. min: 0,
  13072. max: 1250,
  13073. startAngle:180,
  13074. endAngle:0,
  13075. axisTick:{
  13076. length:5,
  13077. lineStyle: {
  13078. color:'rgba(255,255,255,1)'
  13079. }
  13080. },
  13081. axisLabel: { // 坐标轴小标记
  13082. textStyle: { // 属性lineStyle控制线条样式
  13083. color: 'rgba(64,64,64,1)'
  13084. },
  13085. formatter: function (value, index) {
  13086. return value.toFixed(0);
  13087. }
  13088. },
  13089. axisLine: {
  13090. lineStyle: {
  13091. color: [[0.488888888888889, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']],
  13092. width: 10
  13093. }
  13094. },
  13095. splitLine:{
  13096. length:10,
  13097. lineStyle: {
  13098. color: 'rgba(255,255,255,1)'
  13099. }
  13100. },
  13101. pointer:{
  13102. length:'80%',
  13103. width:7
  13104. },
  13105. itemStyle: {
  13106. normal: {
  13107. opacity: 0
  13108. }
  13109. },
  13110. detail: {formatter:'{value}',show:false},
  13111. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  13112. }
  13113. ]
  13114. };
  13115. _ratio = GD.getRatioWithRotation(0, ratio);
  13116. var Node196 = new ht.HtmlNode();
  13117. Node196.setPosition({'x':1746*ratio.ratioX,'y':400*ratio.ratioY});
  13118. Node196.setWidth(270*_ratio.ratioX);
  13119. Node196.setHeight(140*_ratio.ratioY);
  13120. Node196.setScalable(false);
  13121. Node196.setRotation(0);
  13122. Node196.s({
  13123. '2d.selectable': false,
  13124. '2d.movable': false
  13125. });
  13126. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  13127. Node196.setHtml(chart);
  13128. var Node196_chart = chart._chart;
  13129. dataModel.add(Node196);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13130. var Node197 = new ht.Node();
  13131. var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'center', Node197fontSize = 18.66662*_ratio.ratioY,Node197width = 65*_ratio.ratioX, Node197height = 23*_ratio.ratioY;
  13132. (function () {
  13133. if (Node197align === 'left') {
  13134. Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9;
  13135. Node197textWidth = Node197width;
  13136. Node197lineStart = 1;
  13137. } else if (Node197align === 'right') {
  13138. Node197textStart = 0;
  13139. Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2;
  13140. Node197lineStart = (Node197width - (ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width + 6)) * 0.5;
  13141. } else if (Node197align === 'center') {
  13142. Node197textStart = -3;
  13143. Node197textWidth = Node197width;
  13144. Node197lineStart = Node197width - ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width - 11;
  13145. }
  13146. })();
  13147. Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, 'bold '+ Node197fontSize + 'px "Arial"'))
  13148. Node197.setPosition(1754*ratio.ratioX, 381*ratio.ratioY);
  13149. Node197.setWidth(Node197width);
  13150. Node197.setHeight(Node197height);
  13151. Node197._nodeType = 'text';
  13152. Node197._disallowEvert = true;
  13153. Node197.setRotation(0*Math.PI/180);
  13154. Node197.a('node.width', Node197width);
  13155. Node197.a('node.height', Node197height);
  13156. Node197.a('node.rect', [0, 0, Node197width, Node197height]);
  13157. Node197.a('node.bordercolor','rgba(0,0,0,1)');
  13158. Node197.a('node.borderwidth', 0);
  13159. Node197.a('node.background','' || 'rgba(0,0,0,0)');
  13160. Node197.a('node.gradient','');
  13161. Node197.a('node.gradientcolor','');
  13162. Node197.a('node.text','10.1');
  13163. Node197.a('node.textalign','center');
  13164. Node197.a('node.textvAlign','middle');
  13165. Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
  13166. Node197.a('node.color','rgba(0,0,0,1)');
  13167. Node197.a('node.font','bold '+ Node197fontSize + 'px "Arial"');
  13168. Node197.a('node.textvisible',true);
  13169. Node197.a('node.linefeed',false);
  13170. if (false) {
  13171. Node197.a('node.textfunc',function(g) {
  13172. g.beginPath();
  13173. var str=Node197.a('node.text') || '10.1';
  13174. var color=Node197.a('node.color') || 'rgba(0,0,0,1)';
  13175. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node197width,Node197height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node197fontSize + 'px "Arial"', 0,g);
  13176. });
  13177. }
  13178. if (false) {
  13179. Node197.a('node.underlinepoints',[Node197lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]);
  13180. Node197.a('node.underlinevisible',false);
  13181. Node197.a('node.underlineBorderWidth', 1);
  13182. }
  13183. dataModel.add(Node197);
  13184. zoomNodeList.push({
  13185. node: Node197,
  13186. borderWidth: 0,
  13187. attr: 'node.borderwidth'
  13188. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13189. var Node198 = new ht.Node();
  13190. var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 98*_ratio.ratioX, Node198height = 16*_ratio.ratioY;
  13191. (function () {
  13192. if (Node198align === 'left') {
  13193. Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9;
  13194. Node198textWidth = Node198width;
  13195. Node198lineStart = 1;
  13196. } else if (Node198align === 'right') {
  13197. Node198textStart = 0;
  13198. Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2;
  13199. Node198lineStart = (Node198width - (ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5;
  13200. } else if (Node198align === 'center') {
  13201. Node198textStart = -3;
  13202. Node198textWidth = Node198width;
  13203. Node198lineStart = Node198width - ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width - 11;
  13204. }
  13205. })();
  13206. Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "Arial"'))
  13207. Node198.setPosition(1751*ratio.ratioX, 415*ratio.ratioY);
  13208. Node198.setWidth(Node198width);
  13209. Node198.setHeight(Node198height);
  13210. Node198._nodeType = 'text';
  13211. Node198._disallowEvert = true;
  13212. Node198.setRotation(0*Math.PI/180);
  13213. Node198.a('node.width', Node198width);
  13214. Node198.a('node.height', Node198height);
  13215. Node198.a('node.rect', [0, 0, Node198width, Node198height]);
  13216. Node198.a('node.bordercolor','rgba(0,0,0,1)');
  13217. Node198.a('node.borderwidth', 0);
  13218. Node198.a('node.background','' || 'rgba(0,0,0,0)');
  13219. Node198.a('node.gradient','');
  13220. Node198.a('node.gradientcolor','');
  13221. Node198.a('node.text','实发功率(MW)');
  13222. Node198.a('node.textalign','left');
  13223. Node198.a('node.textvAlign','middle');
  13224. Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
  13225. Node198.a('node.color','rgba(0,0,0,1)');
  13226. Node198.a('node.font',' '+ Node198fontSize + 'px "Arial"');
  13227. Node198.a('node.textvisible',true);
  13228. Node198.a('node.linefeed',false);
  13229. if (false) {
  13230. Node198.a('node.textfunc',function(g) {
  13231. g.beginPath();
  13232. var str=Node198.a('node.text') || '实发功率(MW)';
  13233. var color=Node198.a('node.color') || 'rgba(0,0,0,1)';
  13234. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "Arial"', 0,g);
  13235. });
  13236. }
  13237. if (false) {
  13238. Node198.a('node.underlinepoints',[Node198lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
  13239. Node198.a('node.underlinevisible',false);
  13240. Node198.a('node.underlineBorderWidth', 1);
  13241. }
  13242. dataModel.add(Node198);
  13243. zoomNodeList.push({
  13244. node: Node198,
  13245. borderWidth: 0,
  13246. attr: 'node.borderwidth'
  13247. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13248. var Node199 = new ht.Node();
  13249. var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'center', Node199fontSize = 18.66662*_ratio.ratioY,Node199width = 65*_ratio.ratioX, Node199height = 23*_ratio.ratioY;
  13250. (function () {
  13251. if (Node199align === 'left') {
  13252. Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9;
  13253. Node199textWidth = Node199width;
  13254. Node199lineStart = 1;
  13255. } else if (Node199align === 'right') {
  13256. Node199textStart = 0;
  13257. Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2;
  13258. Node199lineStart = (Node199width - (ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5;
  13259. } else if (Node199align === 'center') {
  13260. Node199textStart = -3;
  13261. Node199textWidth = Node199width;
  13262. Node199lineStart = Node199width - ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width - 11;
  13263. }
  13264. })();
  13265. Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"'))
  13266. Node199.setPosition(1749*ratio.ratioX, 482*ratio.ratioY);
  13267. Node199.setWidth(Node199width);
  13268. Node199.setHeight(Node199height);
  13269. Node199._nodeType = 'text';
  13270. Node199._disallowEvert = true;
  13271. Node199.setRotation(0*Math.PI/180);
  13272. Node199.a('node.width', Node199width);
  13273. Node199.a('node.height', Node199height);
  13274. Node199.a('node.rect', [0, 0, Node199width, Node199height]);
  13275. Node199.a('node.bordercolor','rgba(0,0,0,1)');
  13276. Node199.a('node.borderwidth', 0);
  13277. Node199.a('node.background','' || 'rgba(0,0,0,0)');
  13278. Node199.a('node.gradient','');
  13279. Node199.a('node.gradientcolor','');
  13280. Node199.a('node.text','12');
  13281. Node199.a('node.textalign','center');
  13282. Node199.a('node.textvAlign','middle');
  13283. Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]);
  13284. Node199.a('node.color','rgba(0,0,0,1)');
  13285. Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"');
  13286. Node199.a('node.textvisible',true);
  13287. Node199.a('node.linefeed',false);
  13288. if (false) {
  13289. Node199.a('node.textfunc',function(g) {
  13290. g.beginPath();
  13291. var str=Node199.a('node.text') || '12';
  13292. var color=Node199.a('node.color') || 'rgba(0,0,0,1)';
  13293. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node199width,Node199height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g);
  13294. });
  13295. }
  13296. if (false) {
  13297. Node199.a('node.underlinepoints',[Node199lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
  13298. Node199.a('node.underlinevisible',false);
  13299. Node199.a('node.underlineBorderWidth', 1);
  13300. }
  13301. dataModel.add(Node199);
  13302. zoomNodeList.push({
  13303. node: Node199,
  13304. borderWidth: 0,
  13305. attr: 'node.borderwidth'
  13306. });
  13307. var Node200style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
  13308. var Node200obj=getIndicatorAndSheBeiArr(Node200GroupVarName,Node200GroupInVarName);
  13309. var Node200series=getIndicatorOrShebeiInfo(Node200GroupVarName,Node200GroupInVarName,Node200style);
  13310. Node200series && Node200series[0] && (Node200series[0].barGap = 0);
  13311. var Node200option = {
  13312. tooltip : {
  13313. trigger: 'axis',
  13314. axisPointer : {
  13315. type : 'shadow',
  13316. shadowStyle: {
  13317. color: {
  13318. type: 'linear',
  13319. x: 0,
  13320. y: 0,
  13321. x2: 0,
  13322. y2: 1,
  13323. colorStops: [{
  13324. offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
  13325. }, {
  13326. offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
  13327. }],
  13328. globalCoord: false // 缺省为 false
  13329. },
  13330. opacity: 0.2
  13331. }
  13332. },
  13333. // formatter:function (params, ticket, callback) {
  13334. // console.log(params, ticket);
  13335. // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
  13336. // var result ;
  13337. // for (var i = 0, len = params.length; i < len; i++) {
  13338. // }
  13339. // }
  13340. },
  13341. grid: {
  13342. left: '0%',
  13343. right: '0%',
  13344. bottom: '3%',
  13345. top:'5%',
  13346. containLabel: true
  13347. },
  13348. legend:{
  13349. show:false,
  13350. data:Node200obj["indicatorArr"]
  13351. },
  13352. xAxis : [
  13353. {
  13354. type : 'category',
  13355. splitNumber:0,
  13356. data :Node200obj["shebeiArr"],
  13357. axisLine:{
  13358. lineStyle:{
  13359. color:'rgba(128,128,128,1)'
  13360. }
  13361. },
  13362. axisLabel:{
  13363. inside:false,
  13364. interval: 0,
  13365. textStyle:{
  13366. fontSize:"13.3333"
  13367. }
  13368. },
  13369. z: 10,
  13370. splitLine:{
  13371. show:false,
  13372. lineStyle:{
  13373. color:'rgba(211,211,211,1)'
  13374. }
  13375. }
  13376. }
  13377. ],
  13378. yAxis : [
  13379. {
  13380. type : 'value',
  13381. min:0,
  13382. max:1000,
  13383. axisTick:{
  13384. lineStyle:{
  13385. color:'rgba(128,128,128,1)'
  13386. }
  13387. },
  13388. precision:2,
  13389. axisLine:{
  13390. lineStyle:{
  13391. color:'rgba(128,128,128,1)'
  13392. }
  13393. },
  13394. axisLabel:{
  13395. textStyle:{
  13396. fontSize:"13.3333"
  13397. }
  13398. },
  13399. splitLine:{
  13400. show:true,
  13401. lineStyle:{
  13402. color:'rgba(211,211,211,1)'
  13403. }
  13404. }
  13405. }],
  13406. color: Node200obj.colorArr,
  13407. series : Node200series
  13408. };
  13409. var Node200 = new ht.HtmlNode();
  13410. var Node200BeginTime = "";
  13411. var Node200endTime = "";
  13412. var Node200yRange = 'fixed';
  13413. Node200.setPosition({'x':1354*ratio.ratioX,'y':645*ratio.ratioY});
  13414. Node200.setWidth(1110*ratio.ratioX);
  13415. Node200.setHeight(208*ratio.ratioY);
  13416. Node200.setScalable(false);
  13417. Node200.s({
  13418. '2d.selectable': false,
  13419. '2d.movable': false
  13420. });
  13421. var Node200chart = new ht.Chart(Node200option, 1110*ratio.ratioX, 208*ratio.ratioY);
  13422. Node200.setHtml( Node200chart);
  13423. var Node200_chart = Node200chart._chart;
  13424. dataModel.add(Node200);
  13425. function Node200Refresh(){
  13426. var option = Node200chart.getOption(),
  13427. _option = Node200_chart.getOption(),
  13428. ses = _option.series;
  13429. option.series = getIndicatorOrShebeiInfo(Node200GroupVarName,Node200GroupInVarName,Node200style);
  13430. if (Node200yRange === 'real') {
  13431. var maxAndMin = GD.getMaxAndMinFromSeries(ses);
  13432. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  13433. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  13434. }
  13435. Node200_chart.setOption(option, true);
  13436. }
  13437. function Node200Search() {
  13438. var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
  13439. // var tagsInfo = encodeURIComponent(Node200obj.tagArr.join(','));
  13440. var beginTime = "",
  13441. endTime = "",
  13442. type = 'static'; // 时间段:当日,当月,当年 。固定时间
  13443. var groupbarType = 'snap';
  13444. var beginTimeType = 'begin',
  13445. endTimeType = 'end';
  13446. var difTagsInfo = '',
  13447. staTagsInfo = '',
  13448. staTagArr = [],
  13449. difTagArr = [];
  13450. (function () {
  13451. var tagsType = Node200obj.statisticsTypeObj,
  13452. k, v;
  13453. for (var key in tagsType) {
  13454. if (tagsType.hasOwnProperty(key)) {
  13455. k = key;
  13456. v = tagsType[k];
  13457. if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
  13458. difTagArr.push(k);
  13459. } else {
  13460. staTagArr.push(k);
  13461. }
  13462. }
  13463. }
  13464. difTagsInfo = encodeURIComponent(difTagArr.join(','));
  13465. staTagsInfo = encodeURIComponent(staTagArr.join(','));
  13466. })();
  13467. if (groupbarType === 'snap') {
  13468. Node200Refresh()
  13469. return;
  13470. }
  13471. if (type === 'relday') {
  13472. if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
  13473. endTimeType = '';
  13474. }
  13475. } else if (type === 'relmonth') {
  13476. if (endTime === '0m') {
  13477. endTimeType = ''
  13478. }
  13479. } else if (type === 'relyear') {
  13480. if (endTime === '0y') {
  13481. endTimeType = ''
  13482. }
  13483. } else if (type === 'static') {
  13484. beginTimeType = '';
  13485. endTimeType = '';
  13486. } else {
  13487. beginTimeType = 'begin';
  13488. endTimeType = '';
  13489. }
  13490. beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
  13491. endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
  13492. var flag = 0,
  13493. staData,
  13494. difData;
  13495. if (!GD.testSearchTime(beginTime, endTime)) {
  13496. return false;
  13497. }
  13498. if (difTagsInfo) {
  13499. $.ajax({
  13500. url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
  13501. type: 'GET',
  13502. cache: false,
  13503. dataType: 'json',
  13504. success: function (datas) {
  13505. if (!datas) {
  13506. difData = {};
  13507. return ;
  13508. }
  13509. difData = datas;
  13510. },
  13511. complete: function (xhr) {
  13512. xhr = null;
  13513. flag ++;
  13514. }
  13515. });
  13516. } else {
  13517. flag ++;
  13518. difData = {};
  13519. complete();
  13520. }
  13521. if (staTagsInfo) {
  13522. $.ajax({
  13523. url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
  13524. type: 'GET',
  13525. cache: false,
  13526. dataType: 'json',
  13527. success: function (datas) {
  13528. if (!datas) {
  13529. staData = {};
  13530. return ;
  13531. }
  13532. staData = datas;
  13533. },
  13534. complete: function (xhr) {
  13535. xhr = null;
  13536. flag ++;
  13537. complete()
  13538. }
  13539. });
  13540. } else {
  13541. flag ++;
  13542. staData = {};
  13543. complete();
  13544. }
  13545. function complete() {
  13546. if (flag < 2) {
  13547. return ;
  13548. }
  13549. var datas = staData;
  13550. for (var key in difData) {
  13551. if (difData.hasOwnProperty(key)) {
  13552. if (!datas[key]) {
  13553. datas[key] = difData[key];
  13554. }
  13555. else {
  13556. for (var k in difData[key]) {
  13557. datas[key][k] = difData[key][k];
  13558. }
  13559. }
  13560. }
  13561. }
  13562. var option = Node200chart.getOption(),
  13563. _option = Node200_chart.getOption(),
  13564. ses = _option.series;
  13565. var series = [];
  13566. for (var i = 0, len = Node200GroupInVarName.length; i < len; i++) {
  13567. var indiacatorData = Node200GroupInVarName[i];
  13568. var data = {};
  13569. data.name = indiacatorData.displayName || indiacatorData.Desc;
  13570. data.type = 'bar';
  13571. data.data = [];
  13572. for (var j = 0, leng = Node200GroupVarName.length; j < leng; j++) {
  13573. var itemStyle={normal:{color:indiacatorData.color}};
  13574. data.itemStyle=itemStyle;
  13575. var deviceData = Node200GroupVarName[j];
  13576. var value = 0;
  13577. var tagName = '' + deviceData.Name + indiacatorData.Name;
  13578. var statisticsType = Node200obj.statisticsTypeObj && Node200obj.statisticsTypeObj[tagName];
  13579. value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
  13580. data.data.push(value);
  13581. }
  13582. series.push(data);
  13583. }
  13584. series && series[0] && (series[0].barGap = 0);
  13585. option.series = series;
  13586. if (Node200yRange === 'real') {
  13587. var maxAndMin = GD.getMaxAndMinFromSeries(series);
  13588. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  13589. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  13590. } else {
  13591. option.yAxis[0].min = 0;
  13592. option.yAxis[0].max = 1000;
  13593. }
  13594. Node200_chart.setOption(option, true);
  13595. }
  13596. }
  13597. if(true){
  13598. Node200Refresh();
  13599. intervalTimers.push(setInterval(function(){
  13600. Node200Refresh();
  13601. },1000));
  13602. } else {
  13603. // Node200Search();
  13604. }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13605. var Node201type = 'rect';
  13606. var Node201 = new ht.Node(),
  13607. Node201BorderWidth = 0*2;
  13608. if (Node201type === 'arc') {
  13609. Node201BorderWidth *= 0;
  13610. }
  13611. Node201.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node201type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  13612. Node201.setPosition(772*ratio.ratioX, 636*ratio.ratioY);
  13613. Node201.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  13614. Node201.s({
  13615. 'pixelPerfect':true
  13616. /*@AddPara@*/
  13617. });
  13618. Node201.a('node.width', 27*_ratio.ratioX);
  13619. Node201.a('node.height', 208*_ratio.ratioY);
  13620. Node201.a('node.type', Node201type);
  13621. Node201.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  13622. Node201.a('node.background', 'rgba(32,191,135,1)');
  13623. Node201.a('node.gradientcolor', 'rgba(32,191,135,1)');
  13624. Node201.a('node.gradient', '');
  13625. Node201.a('node.borderwidth', Node201BorderWidth);
  13626. Node201.a('node.color', 'rgba(0,0,0,0)');
  13627. Node201.a('node.fillrect', [0,0,0,0]);
  13628. Node201.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  13629. Node201.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  13630. Node201.a('node.fillgradient', '');
  13631. if (Node201type !== 'rect') {
  13632. Node201.a('node.arcFrom', parseFloat('@arcFrom@'));
  13633. Node201.a('node.arcTo', parseFloat('@arcTo@'));
  13634. Node201.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  13635. }
  13636. if (Node201type === 'arc') {
  13637. Node201.a('node.arcOval', true);
  13638. }
  13639. Node201.setRotation(0*Math.PI/180);
  13640. Node201.borderWidth = Node201BorderWidth;
  13641. Node201.borderFillwidth = Node201BorderWidth;
  13642. dataModel.add(Node201);
  13643. Node201._nodename = 'Node201'
  13644. Node201._nodeType = 'rect';
  13645. zoomNodeList.push({
  13646. node: Node201,
  13647. attr: 'node.borderwidth'
  13648. });
  13649. (function (node, _img) {
  13650. var setWidth = node.setWidth,
  13651. setHeight = node.setHeight;
  13652. node.setWidth = function (width) {
  13653. if (width === this.getWidth()) return ;
  13654. var height = this.getHeight();
  13655. this.a('node.width', width);
  13656. this.a('node.rect', [0,0,width, height]);
  13657. setWidth.apply(this, arguments);
  13658. }
  13659. node.setHeight = function (height) {
  13660. if (height === this.getHeight()) return ;
  13661. var width = this.getWidth();
  13662. this.a('node.height', height);
  13663. this.a('node.rect', [0,0,width, height]);
  13664. setHeight.apply(this, arguments);
  13665. }
  13666. })(Node201, Node201.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13667. var Node202type = 'rect';
  13668. var Node202 = new ht.Node(),
  13669. Node202BorderWidth = 0*2;
  13670. if (Node202type === 'arc') {
  13671. Node202BorderWidth *= 0;
  13672. }
  13673. Node202.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node202type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  13674. Node202.setPosition(773*ratio.ratioX, 847*ratio.ratioY);
  13675. Node202.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  13676. Node202.s({
  13677. 'pixelPerfect':true
  13678. /*@AddPara@*/
  13679. });
  13680. Node202.a('node.width', 27*_ratio.ratioX);
  13681. Node202.a('node.height', 208*_ratio.ratioY);
  13682. Node202.a('node.type', Node202type);
  13683. Node202.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  13684. Node202.a('node.background', 'rgba(32,191,135,1)');
  13685. Node202.a('node.gradientcolor', 'rgba(32,191,135,1)');
  13686. Node202.a('node.gradient', '');
  13687. Node202.a('node.borderwidth', Node202BorderWidth);
  13688. Node202.a('node.color', 'rgba(0,0,0,0)');
  13689. Node202.a('node.fillrect', [0,0,0,0]);
  13690. Node202.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  13691. Node202.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  13692. Node202.a('node.fillgradient', '');
  13693. if (Node202type !== 'rect') {
  13694. Node202.a('node.arcFrom', parseFloat('@arcFrom@'));
  13695. Node202.a('node.arcTo', parseFloat('@arcTo@'));
  13696. Node202.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  13697. }
  13698. if (Node202type === 'arc') {
  13699. Node202.a('node.arcOval', true);
  13700. }
  13701. Node202.setRotation(0*Math.PI/180);
  13702. Node202.borderWidth = Node202BorderWidth;
  13703. Node202.borderFillwidth = Node202BorderWidth;
  13704. dataModel.add(Node202);
  13705. Node202._nodename = 'Node202'
  13706. Node202._nodeType = 'rect';
  13707. zoomNodeList.push({
  13708. node: Node202,
  13709. attr: 'node.borderwidth'
  13710. });
  13711. (function (node, _img) {
  13712. var setWidth = node.setWidth,
  13713. setHeight = node.setHeight;
  13714. node.setWidth = function (width) {
  13715. if (width === this.getWidth()) return ;
  13716. var height = this.getHeight();
  13717. this.a('node.width', width);
  13718. this.a('node.rect', [0,0,width, height]);
  13719. setWidth.apply(this, arguments);
  13720. }
  13721. node.setHeight = function (height) {
  13722. if (height === this.getHeight()) return ;
  13723. var width = this.getWidth();
  13724. this.a('node.height', height);
  13725. this.a('node.rect', [0,0,width, height]);
  13726. setHeight.apply(this, arguments);
  13727. }
  13728. })(Node202, Node202.getImage());var Node203;
  13729. var Node203_chart;
  13730. var Node203dictags='';
  13731. var Node203tags='';
  13732. var Node203YAxisArr = [];
  13733. var Node203TagsObjArr = [{"pvList":[],"visible":true,"name":"demo.DEMO_AI001","VarName":"demo.DEMO_AI001","Name":"demo.DEMO_AI001","Low":0.0,"High":100.0,"LineWid":1,"Col":"255, 0, 0","displayName":"","Unit":"","VisExp":"","TrendDrawType":0,"ShowScaleType":1,"Interval":1,"LimitValColList":[],"CrossLinePointType":0},{"pvList":[],"visible":true,"name":"demo.DEMO_AI002","VarName":"demo.DEMO_AI002","Name":"demo.DEMO_AI002","Low":0.0,"High":100.0,"LineWid":1,"Col":"0, 192, 0","displayName":"","Unit":"","VisExp":"","TrendDrawType":0,"ShowScaleType":1,"Interval":1,"LimitValColList":[],"CrossLinePointType":0}];
  13734. var Node203TagsArr = [];
  13735. var Node203TagDataArr = [],
  13736. Node203UnitDicObj = {};
  13737. var Node203isMultiYaxis = false,
  13738. Node203isFreeRange = false;
  13739. var Node203IntervalTimer;
  13740. var Node203RefreshCount = 0;
  13741. var Node203interval, Node203count, Node203pointInterval, Node203contextmenu;
  13742. function Node203createYAxis (min, max, yAxiColor, gridlinewidth, show) {
  13743. return {
  13744. show: show,
  13745. splitNumber:2,
  13746. type: 'value',
  13747. min:min,
  13748. max:max,
  13749. interval: parseInt((max - min) / 2) || 20,
  13750. axisLine:{
  13751. lineStyle:{
  13752. color:yAxiColor
  13753. }
  13754. },
  13755. splitLine:{
  13756. show: true,
  13757. lineStyle:{
  13758. color:'rgba(192,192,192,1)' ,
  13759. width:gridlinewidth,
  13760. type:'solid'
  13761. }
  13762. },
  13763. axisTick:{
  13764. show:true,
  13765. lineStyle:{
  13766. color:yAxiColor
  13767. }
  13768. },
  13769. axisLabel:{
  13770. textStyle:{
  13771. color:yAxiColor,
  13772. fontSize:13.3333
  13773. },
  13774. formatter: function (value) {
  13775. return value.toFixed(1);
  13776. }
  13777. }
  13778. }
  13779. }
  13780. function Node203loadYAxis(tagsArr) {
  13781. if (!tagsArr) return ;
  13782. Node203dictags = {};
  13783. Node203TagDataArr = [];
  13784. Node203UnitDicObj = {};
  13785. Node203YAxisArr.length = 0;
  13786. var tag, yAxis, tempArr = [], leftCount = 0, rightCount = 0, hideCount = 0, hideWidth = 0, tagData, tagName;
  13787. Node203Option.legend.data.length = 0;
  13788. for (var i = 0, len = tagsArr.length; i < len; i++) {
  13789. tag = tagsArr[i];
  13790. tagData = {};
  13791. if(Node203isMultiYaxis||Node203isFreeRange){
  13792. yAxis = Node203createYAxis(tag.Low, tag.High, 'rgb('+ tag.Col +')', tag.LineWid, true);
  13793. }else{
  13794. yAxis = Node203createYAxis(0, 1000, 'rgba(105,105,105,1)', tag.LineWid, true);
  13795. }
  13796. if (tag.ShowScaleType === 0 ) {
  13797. yAxis.show = false;
  13798. yAxis.position = 'left';
  13799. yAxis.offset = 0;
  13800. hideCount ++;
  13801. hideWidth += GD.measureCanvasText(yAxis.max, 13.3333+'px') + 10;
  13802. } else if (tag.ShowScaleType === 1) {
  13803. yAxis.position = 'left';
  13804. yAxis.offset = leftCount * 60;
  13805. leftCount++;
  13806. } else if (tag.ShowScaleType === 2) {
  13807. yAxis.position = 'right';
  13808. yAxis.offset = rightCount * 60;
  13809. rightCount ++;
  13810. }
  13811. if (Node203isFreeRange) {
  13812. yAxis.max = function (value) {
  13813. var t = Math.abs((value.max - value.min) * 0.2);
  13814. t = t == 0 ? 10 : t;
  13815. return Math.ceil(value.max + t);
  13816. };
  13817. yAxis.min = function (value) {
  13818. var t = Math.abs((value.max - value.min) * 0.2);
  13819. t = t == 0 ? 10 : t;
  13820. return Math.floor(value.min - t);
  13821. };
  13822. hideCount = 0;
  13823. }
  13824. if (!Node203isMultiYaxis) {
  13825. if (i === 0) {
  13826. Node203YAxisArr.push(yAxis);
  13827. hideCount = 0;
  13828. }
  13829. } else {
  13830. Node203YAxisArr.push(yAxis);
  13831. }
  13832. if (tag.name) {
  13833. tagName = tag.name;
  13834. if (tagName.indexOf('+') !== -1) {
  13835. tagName = GD.eval(tagName);
  13836. }
  13837. getVarValue(tagName);
  13838. tempArr.push(tagName);
  13839. tagData.name = tagName;
  13840. tagData.displayName = tag.displayName;
  13841. // Node203Option.legend.data[i] = tagData.displayName;
  13842. Node203UnitDicObj[tagData.displayName] = tagData.Unit;
  13843. Node203dictags[tagName] = tag.displayName;
  13844. Node203dictags[tagName + 'index'] = i;
  13845. }
  13846. Node203TagDataArr.push(tagData);
  13847. }
  13848. Node203tags = tempArr.join(',');
  13849. Node203TagsArr = tempArr;
  13850. if (hideCount > 0 && Node203isMultiYaxis) {
  13851. Node203Option.grid.left = (-1) * hideWidth;
  13852. }
  13853. }
  13854. function Node203GetHistoryData(callback) {
  13855. var Node203Now = Date.now();
  13856. var Node203CmdStr = Node203tags + '&beginTime='+ moment(Node203Now-Node203interval*1000).format('YYYY-MM-DD HH:mm:ss') +'&endTime='+ moment(Node203Now).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node203pointInterval +'&count='+Node203count;
  13857. GD.getHisTrendData(Node203CmdStr, function (data) {
  13858. Node203SetupHistoryData(data);
  13859. callback();
  13860. });
  13861. }
  13862. function Node203SetupHistoryData(data) {
  13863. var hisValues = data || {};
  13864. var k = 0;
  13865. var date = [];
  13866. var test_data = {};
  13867. var dictagdesc = Node203dictags,
  13868. areaStyleShow = false;
  13869. var option = Node203Option;
  13870. option.legend && option.legend.data && (option.legend.data.length = 0);
  13871. for (tag in hisValues) {
  13872. test_data[tag] = [];
  13873. option.series[k] = {};
  13874. option.series[k].name = dictagdesc[tag];
  13875. option.series[k].type = 'line';
  13876. option.series[k].showSymbol = false;
  13877. option.series[k].sampling = 'average';
  13878. option.series[k].symbol = "none";
  13879. option.series[k].animation = false;
  13880. if (option.yAxis && option.yAxis.length > 1) {
  13881. dictagdesc[tag + 'index'] && (option.series[k].yAxisIndex = dictagdesc[tag + 'index']);
  13882. }
  13883. if (areaStyleShow) {
  13884. option.series[k].areaStyle = {
  13885. normal: {}
  13886. };
  13887. }
  13888. option.legend && option.legend.data && option.legend.data.push(dictagdesc[tag]);
  13889. for (var i = 0; i < hisValues[tag].length; i++) {
  13890. var time = hisValues[tag][i].Time;
  13891. var timepts = time.split(' ');
  13892. var timepars = timepts[0].split('/');
  13893. if (timepars[1] < 10) {
  13894. time = time.replace("/" + timepars[1] + "/",
  13895. "/0" + timepars[1] + "/");
  13896. }
  13897. if (timepars[2] < 10) {
  13898. time = time.replace("/" + timepars[2] + " ",
  13899. "/0" + timepars[2] + " ");
  13900. }
  13901. //2017-04-01 15:34:28.000
  13902. time = time.replace("/", "-");
  13903. time = time.replace("/", "-");
  13904. time = time.replace(" ", "T");
  13905. var tagTime = moment(time).format();
  13906. var tagValue = parseFloat(hisValues[tag][i].Value).toFixed(2);
  13907. test_data[tag][i] = {
  13908. name: tagTime,
  13909. value: [
  13910. tagTime,
  13911. tagValue
  13912. ]
  13913. };
  13914. }
  13915. option.series[k].data = test_data[tag];
  13916. k++;
  13917. }
  13918. Node203BindOption(option)
  13919. }
  13920. function Node203BindOption(option) {
  13921. if (option.xAxis) {
  13922. option.xAxis.interval = 600*1000 / 5;
  13923. option.xAxis.max = Date.now() + (600 * (1-(0.666 || 1)) * 1000);
  13924. }
  13925. Node203_chart.setOption(option, true);
  13926. }
  13927. function Node203DisposeChart() {
  13928. Node203contextmenu && Node203contextmenu.dispose();
  13929. Node203_chart.dispose();
  13930. }
  13931. function Node203GetRealData() {
  13932. var data, tag, newDate, series, currentdata, oldData;
  13933. series = Node203Option.series;
  13934. newDate = Date.now();
  13935. for (var i = 0, l = Node203TagDataArr.length; i < l; i++) {
  13936. data = Node203TagDataArr[i];
  13937. if (!series[i]) continue;
  13938. currentdata = series[i].data;
  13939. oldData = currentdata.shift();
  13940. oldData = oldData || {};
  13941. oldData.name = moment(newDate).format('YYYY-MM-DD HH:mm:ss');
  13942. if (oldData.value) {
  13943. oldData.value[0] = newDate;
  13944. oldData.value[1] = (getVarValue(data.name) - 0).toFixed(2);
  13945. } else {
  13946. oldData.value = [newDate, (getVarValue(data.name) - 0).toFixed(2)];
  13947. }
  13948. currentdata.push(oldData);
  13949. if(series[i].data.length > 20000)
  13950. {
  13951. series[i].data.splice(0,series[i].data.length-20000);
  13952. }
  13953. }
  13954. if (++ Node203RefreshCount > 900) {
  13955. // 刷新超过半小时就重置一次
  13956. Node203RefreshCount = 0;
  13957. Node203DisposeChart();
  13958. Node203InitChart();
  13959. }
  13960. Node203BindOption(Node203Option)
  13961. }
  13962. function Node203AutoRefresh() {
  13963. Node203IntervalTimer && clearInterval(Node203IntervalTimer);
  13964. // Node203IntervalTimer = setInterval(Node203GetRealData, 1000);
  13965. Node203IntervalTimer = setInterval(Node203GetRealData, 1000);
  13966. intervalTimers.push(Node203IntervalTimer);
  13967. }
  13968. function Node203InitChart () {
  13969. Node203chart = new ht.Chart(Node203Option, 1114*ratio.ratioX, 178*ratio.ratioY);
  13970. Node203.setHtml(Node203chart);
  13971. Node203_chart = Node203chart._chart;
  13972. window.Node203_chart = Node203_chart;
  13973. Node203chart._chart.getZr().on('mousewheel', function () {
  13974. Node203IntervalTimer && clearInterval(Node203IntervalTimer);
  13975. });
  13976. setTimeout(function () {
  13977. var contextmenu = new ht.widget.ContextMenu(),
  13978. items = [
  13979. {
  13980. label: '重置',
  13981. action: function (e) {
  13982. Node203GetHistoryData(Node203AutoRefresh);
  13983. }
  13984. }
  13985. ]
  13986. contextmenu.beforeShow = function (e) {
  13987. this.setItems(items);
  13988. }
  13989. contextmenu.addTo(Node203chart.getView());
  13990. Node203contextmenu = contextmenu;
  13991. }, 500)
  13992. }
  13993. function Node203Init() {
  13994. Node203loadYAxis(Node203TagsObjArr);
  13995. Node203 = new ht.HtmlNode();
  13996. Node203.setPosition({'x':1357*ratio.ratioX,'y':845*ratio.ratioY});
  13997. Node203.setWidth(1114*ratio.ratioX);
  13998. Node203.setHeight(178*ratio.ratioY);
  13999. Node203.setScalable(false);
  14000. Node203.s({
  14001. '2d.selectable': false,
  14002. '2d.movable': false
  14003. });
  14004. Node203InitChart();
  14005. dataModel.add(Node203);
  14006. Node203interval=600;
  14007. if(Node203interval>3000){
  14008. Node203count=3000;
  14009. Node203pointInterval = Math.ceil(Node203interval / 3000);
  14010. } else {
  14011. Node203count = Node203interval;
  14012. Node203pointInterval = 1;
  14013. }
  14014. Node203GetHistoryData(Node203AutoRefresh);
  14015. }
  14016. var Node203Option = {
  14017. color:['rgba(255,0,0,1)','rgba(0,192,0,1)'],
  14018. tooltip: {
  14019. trigger: 'axis',
  14020. position: function (pt) {
  14021. return [pt[0], '10%'];
  14022. },
  14023. // backgroundColor:"@toolticpback@",
  14024. backgroundColor: 'rgba(32,178,170,1)',
  14025. borderWidth: 1,
  14026. borderColor: 'rgba(32,178,170,1)',
  14027. textStyle: {
  14028. color: 'rgba(211,211,211,1)',
  14029. fontFamily: 'Arail',
  14030. fontSize: 13
  14031. },
  14032. formatter: function (params) {
  14033. var result = '', p, unit;
  14034. if (params && params.length <= 0) {
  14035. return ;
  14036. }
  14037. result = '<span>'+ moment(params[0].axisValue).format('YYYY-MM-DD hh:mm:ss') +'</span><br>'
  14038. for (var i = 0, len = params.length; i < len; i++) {
  14039. p = params[i] || {};
  14040. p.value = p.value || [];
  14041. unit = Node203UnitDicObj[p.seriesName];
  14042. unit = unit ? ' ('+ unit +')' : '';
  14043. result += p.marker + '<span style="color:'+ p.color +';">' + p.seriesName + ' : ' + p.value[1] + unit + '</span><br>'
  14044. }
  14045. return result;
  14046. }
  14047. },
  14048. legend: {
  14049. show:true,
  14050. top:'top',
  14051. left:'center',
  14052. data:[],
  14053. textStyle:{
  14054. fontSize:10.66664,
  14055. color: 'rgba(105,105,105,1)',
  14056. fontWeight: 'bold',
  14057. fontFamily :'Arial'
  14058. },
  14059. inactiveColor: 'rgba(102,121,161,1)',
  14060. icon: 'roundRect',
  14061. itemWidth: 16,
  14062. itemHeight: 16
  14063. },
  14064. grid: {
  14065. left: '2%',
  14066. right: '3%',
  14067. bottom:'2%',
  14068. top:true ? '25px' : '5%',
  14069. show:false,
  14070. containLabel: true,
  14071. backgroundColor:'rgba(211,211,211,1)'
  14072. },
  14073. xAxis: {
  14074. splitNumber:5,
  14075. type : 'time',
  14076. boundaryGap : false,
  14077. axisLine:{
  14078. lineStyle:{
  14079. color:'rgba(211,211,211,1)'
  14080. }
  14081. },
  14082. splitLine: {
  14083. show: false,
  14084. lineStyle: {
  14085. color: 'rgba(192,192,192,1)',
  14086. width:1,
  14087. type:'solid'
  14088. },
  14089. },
  14090. axisTick:{
  14091. show:true,
  14092. lineStyle:{
  14093. color:'rgba(211,211,211,1)'
  14094. }
  14095. },
  14096. axisLabel:{
  14097. show:true,
  14098. textStyle:{
  14099. color:"rgba(211,211,211,1)",
  14100. fontSize:"13.3333"
  14101. },
  14102. formatter:function(value){return moment(value).format('HH:mm:ss');}
  14103. }
  14104. },
  14105. yAxis: Node203YAxisArr,
  14106. dataZoom: [
  14107. {
  14108. show: false,
  14109. realtime: true,
  14110. start: 0,
  14111. end: 100
  14112. },
  14113. {
  14114. type: 'inside',
  14115. realtime: true,
  14116. start: 0,
  14117. end: 100
  14118. }
  14119. ],
  14120. series: []
  14121. };
  14122. function Node203StartGetRealData() {
  14123. Node203IntervalTimer && clearInterval(Node203IntervalTimer);
  14124. // Node203IntervalTimer = setInterval(Node203GetRealData, 1000);
  14125. Node203IntervalTimer = setInterval(Node203RefreshData, 1000);
  14126. intervalTimers.push(Node203IntervalTimer);
  14127. };
  14128. Node203Init();
  14129. function Node203SetOption (varList,beginTime){
  14130. var dateNow = Date.now();
  14131. beginTime = beginTime || moment(dateNow-Node203interval*1000).format('YYYY-MM-DD HH:mm:ss');
  14132. Node203CmdStr = varList + '&beginTime='+ beginTime +'&endTime='+ moment(dateNow).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node203pointInterval +'&count='+Node203count;
  14133. getHisTrendData(Node203CmdStr,
  14134. function(data){
  14135. Node203SetupHistoryData(data);
  14136. Node203AutoRefresh();
  14137. }
  14138. );
  14139. };
  14140. function Node203EquipSure() {
  14141. Node203loadYAxis(Node203TagsObjArr);
  14142. Node203GetHistoryData(Node203AutoRefresh);
  14143. };_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14144. var Node204 = new ht.Node();
  14145. var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'center', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 9*_ratio.ratioX, Node204height = 40*_ratio.ratioY;
  14146. (function () {
  14147. if (Node204align === 'left') {
  14148. Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9;
  14149. Node204textWidth = Node204width;
  14150. Node204lineStart = 1;
  14151. } else if (Node204align === 'right') {
  14152. Node204textStart = 0;
  14153. Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2;
  14154. Node204lineStart = (Node204width - (ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5;
  14155. } else if (Node204align === 'center') {
  14156. Node204textStart = -3;
  14157. Node204textWidth = Node204width;
  14158. Node204lineStart = Node204width - ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width - 11;
  14159. }
  14160. })();
  14161. Node204.setImage(GD.getTextJSON(Node204width, Node204height, false, true, false, ' '+ Node204fontSize + 'px "Arial"'))
  14162. Node204.setPosition(771*ratio.ratioX, 264*ratio.ratioY);
  14163. Node204.setWidth(Node204width);
  14164. Node204.setHeight(Node204height);
  14165. Node204._nodeType = 'text';
  14166. Node204._disallowEvert = true;
  14167. Node204.setRotation(0*Math.PI/180);
  14168. Node204.a('node.width', Node204width);
  14169. Node204.a('node.height', Node204height);
  14170. Node204.a('node.rect', [0, 0, Node204width, Node204height]);
  14171. Node204.a('node.bordercolor','rgba(255,255,255,1)');
  14172. Node204.a('node.borderwidth', 0);
  14173. Node204.a('node.background','' || 'rgba(0,0,0,0)');
  14174. Node204.a('node.gradient','');
  14175. Node204.a('node.gradientcolor','');
  14176. Node204.a('node.text','风机状态');
  14177. Node204.a('node.textalign','center');
  14178. Node204.a('node.textvAlign','middle');
  14179. Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]);
  14180. Node204.a('node.color','rgba(255,255,255,1)');
  14181. Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"');
  14182. Node204.a('node.textvisible',false);
  14183. Node204.a('node.linefeed',true);
  14184. if (true) {
  14185. Node204.a('node.textfunc',function(g) {
  14186. g.beginPath();
  14187. var str=Node204.a('node.text') || '风机状态';
  14188. var color=Node204.a('node.color') || 'rgba(255,255,255,1)';
  14189. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"center",color,' '+ Node204fontSize + 'px "Arial"', 0,g);
  14190. });
  14191. }
  14192. if (false) {
  14193. Node204.a('node.underlinepoints',[Node204lineStart, (40 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]);
  14194. Node204.a('node.underlinevisible',false);
  14195. Node204.a('node.underlineBorderWidth', 1);
  14196. }
  14197. dataModel.add(Node204);
  14198. zoomNodeList.push({
  14199. node: Node204,
  14200. borderWidth: 0,
  14201. attr: 'node.borderwidth'
  14202. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14203. var Node205 = new ht.Node();
  14204. var Node205textStart, Node205textWidth, Node205lineStart, Node205align = 'center', Node205fontSize = 13.3333*_ratio.ratioY,Node205width = 9*_ratio.ratioX, Node205height = 94*_ratio.ratioY;
  14205. (function () {
  14206. if (Node205align === 'left') {
  14207. Node205textStart = Node205fontSize * 0.2 > 2 ? Node205fontSize * 0.2 - 4 : Node205fontSize * 0.2 - 9;
  14208. Node205textWidth = Node205width;
  14209. Node205lineStart = 1;
  14210. } else if (Node205align === 'right') {
  14211. Node205textStart = 0;
  14212. Node205textWidth =Node205fontSize <= 8 ? Node205width + Node205fontSize * 0.2 + 6 : Node205width - Node205fontSize * 0.2;
  14213. Node205lineStart = (Node205width - (ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width + 6)) * 0.5;
  14214. } else if (Node205align === 'center') {
  14215. Node205textStart = -3;
  14216. Node205textWidth = Node205width;
  14217. Node205lineStart = Node205width - ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width - 11;
  14218. }
  14219. })();
  14220. Node205.setImage(GD.getTextJSON(Node205width, Node205height, false, true, false, ' '+ Node205fontSize + 'px "Arial"'))
  14221. Node205.setPosition(771*ratio.ratioX, 409*ratio.ratioY);
  14222. Node205.setWidth(Node205width);
  14223. Node205.setHeight(Node205height);
  14224. Node205._nodeType = 'text';
  14225. Node205._disallowEvert = true;
  14226. Node205.setRotation(0*Math.PI/180);
  14227. Node205.a('node.width', Node205width);
  14228. Node205.a('node.height', Node205height);
  14229. Node205.a('node.rect', [0, 0, Node205width, Node205height]);
  14230. Node205.a('node.bordercolor','rgba(255,255,255,1)');
  14231. Node205.a('node.borderwidth', 0);
  14232. Node205.a('node.background','' || 'rgba(0,0,0,0)');
  14233. Node205.a('node.gradient','');
  14234. Node205.a('node.gradientcolor','');
  14235. Node205.a('node.text','日发电量');
  14236. Node205.a('node.textalign','center');
  14237. Node205.a('node.textvAlign','middle');
  14238. Node205.a('node.textrect', [Node205textStart, 0, Node205textWidth, Node205height]);
  14239. Node205.a('node.color','rgba(255,255,255,1)');
  14240. Node205.a('node.font',' '+ Node205fontSize + 'px "Arial"');
  14241. Node205.a('node.textvisible',false);
  14242. Node205.a('node.linefeed',true);
  14243. if (true) {
  14244. Node205.a('node.textfunc',function(g) {
  14245. g.beginPath();
  14246. var str=Node205.a('node.text') || '日发电量';
  14247. var color=Node205.a('node.color') || 'rgba(255,255,255,1)';
  14248. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205width,Node205height,13.3333*_ratio.ratioY,"center",color,' '+ Node205fontSize + 'px "Arial"', 0,g);
  14249. });
  14250. }
  14251. if (false) {
  14252. Node205.a('node.underlinepoints',[Node205lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node205fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width + 6, (Node205height - Node205fontSize) * 0.5*_ratio.ratioY + Node205fontSize + 2 ]);
  14253. Node205.a('node.underlinevisible',false);
  14254. Node205.a('node.underlineBorderWidth', 1);
  14255. }
  14256. dataModel.add(Node205);
  14257. zoomNodeList.push({
  14258. node: Node205,
  14259. borderWidth: 0,
  14260. attr: 'node.borderwidth'
  14261. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14262. var Node206 = new ht.Node();
  14263. var Node206textStart, Node206textWidth, Node206lineStart, Node206align = 'center', Node206fontSize = 13.3333*_ratio.ratioY,Node206width = 9*_ratio.ratioX, Node206height = 94*_ratio.ratioY;
  14264. (function () {
  14265. if (Node206align === 'left') {
  14266. Node206textStart = Node206fontSize * 0.2 > 2 ? Node206fontSize * 0.2 - 4 : Node206fontSize * 0.2 - 9;
  14267. Node206textWidth = Node206width;
  14268. Node206lineStart = 1;
  14269. } else if (Node206align === 'right') {
  14270. Node206textStart = 0;
  14271. Node206textWidth =Node206fontSize <= 8 ? Node206width + Node206fontSize * 0.2 + 6 : Node206width - Node206fontSize * 0.2;
  14272. Node206lineStart = (Node206width - (ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width + 6)) * 0.5;
  14273. } else if (Node206align === 'center') {
  14274. Node206textStart = -3;
  14275. Node206textWidth = Node206width;
  14276. Node206lineStart = Node206width - ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width - 11;
  14277. }
  14278. })();
  14279. Node206.setImage(GD.getTextJSON(Node206width, Node206height, false, true, false, ' '+ Node206fontSize + 'px "Arial"'))
  14280. Node206.setPosition(1371*ratio.ratioX, 399*ratio.ratioY);
  14281. Node206.setWidth(Node206width);
  14282. Node206.setHeight(Node206height);
  14283. Node206._nodeType = 'text';
  14284. Node206._disallowEvert = true;
  14285. Node206.setRotation(0*Math.PI/180);
  14286. Node206.a('node.width', Node206width);
  14287. Node206.a('node.height', Node206height);
  14288. Node206.a('node.rect', [0, 0, Node206width, Node206height]);
  14289. Node206.a('node.bordercolor','rgba(255,255,255,1)');
  14290. Node206.a('node.borderwidth', 0);
  14291. Node206.a('node.background','' || 'rgba(0,0,0,0)');
  14292. Node206.a('node.gradient','');
  14293. Node206.a('node.gradientcolor','');
  14294. Node206.a('node.text','风机负荷');
  14295. Node206.a('node.textalign','center');
  14296. Node206.a('node.textvAlign','middle');
  14297. Node206.a('node.textrect', [Node206textStart, 0, Node206textWidth, Node206height]);
  14298. Node206.a('node.color','rgba(255,255,255,1)');
  14299. Node206.a('node.font',' '+ Node206fontSize + 'px "Arial"');
  14300. Node206.a('node.textvisible',false);
  14301. Node206.a('node.linefeed',true);
  14302. if (true) {
  14303. Node206.a('node.textfunc',function(g) {
  14304. g.beginPath();
  14305. var str=Node206.a('node.text') || '风机负荷';
  14306. var color=Node206.a('node.color') || 'rgba(255,255,255,1)';
  14307. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node206width,Node206height,13.3333*_ratio.ratioY,"center",color,' '+ Node206fontSize + 'px "Arial"', 0,g);
  14308. });
  14309. }
  14310. if (false) {
  14311. Node206.a('node.underlinepoints',[Node206lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node206fontSize + 2 , ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width + 6, (Node206height - Node206fontSize) * 0.5*_ratio.ratioY + Node206fontSize + 2 ]);
  14312. Node206.a('node.underlinevisible',false);
  14313. Node206.a('node.underlineBorderWidth', 1);
  14314. }
  14315. dataModel.add(Node206);
  14316. zoomNodeList.push({
  14317. node: Node206,
  14318. borderWidth: 0,
  14319. attr: 'node.borderwidth'
  14320. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14321. var Node207 = new ht.Node();
  14322. var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'center', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 9*_ratio.ratioX, Node207height = 94*_ratio.ratioY;
  14323. (function () {
  14324. if (Node207align === 'left') {
  14325. Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9;
  14326. Node207textWidth = Node207width;
  14327. Node207lineStart = 1;
  14328. } else if (Node207align === 'right') {
  14329. Node207textStart = 0;
  14330. Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2;
  14331. Node207lineStart = (Node207width - (ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5;
  14332. } else if (Node207align === 'center') {
  14333. Node207textStart = -3;
  14334. Node207textWidth = Node207width;
  14335. Node207lineStart = Node207width - ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width - 11;
  14336. }
  14337. })();
  14338. Node207.setImage(GD.getTextJSON(Node207width, Node207height, false, true, false, ' '+ Node207fontSize + 'px "Arial"'))
  14339. Node207.setPosition(771*ratio.ratioX, 619*ratio.ratioY);
  14340. Node207.setWidth(Node207width);
  14341. Node207.setHeight(Node207height);
  14342. Node207._nodeType = 'text';
  14343. Node207._disallowEvert = true;
  14344. Node207.setRotation(0*Math.PI/180);
  14345. Node207.a('node.width', Node207width);
  14346. Node207.a('node.height', Node207height);
  14347. Node207.a('node.rect', [0, 0, Node207width, Node207height]);
  14348. Node207.a('node.bordercolor','rgba(255,255,255,1)');
  14349. Node207.a('node.borderwidth', 0);
  14350. Node207.a('node.background','' || 'rgba(0,0,0,0)');
  14351. Node207.a('node.gradient','');
  14352. Node207.a('node.gradientcolor','');
  14353. Node207.a('node.text','月发电量');
  14354. Node207.a('node.textalign','center');
  14355. Node207.a('node.textvAlign','middle');
  14356. Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]);
  14357. Node207.a('node.color','rgba(255,255,255,1)');
  14358. Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"');
  14359. Node207.a('node.textvisible',false);
  14360. Node207.a('node.linefeed',true);
  14361. if (true) {
  14362. Node207.a('node.textfunc',function(g) {
  14363. g.beginPath();
  14364. var str=Node207.a('node.text') || '月发电量';
  14365. var color=Node207.a('node.color') || 'rgba(255,255,255,1)';
  14366. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"center",color,' '+ Node207fontSize + 'px "Arial"', 0,g);
  14367. });
  14368. }
  14369. if (false) {
  14370. Node207.a('node.underlinepoints',[Node207lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]);
  14371. Node207.a('node.underlinevisible',false);
  14372. Node207.a('node.underlineBorderWidth', 1);
  14373. }
  14374. dataModel.add(Node207);
  14375. zoomNodeList.push({
  14376. node: Node207,
  14377. borderWidth: 0,
  14378. attr: 'node.borderwidth'
  14379. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14380. var Node208 = new ht.Node();
  14381. var Node208textStart, Node208textWidth, Node208lineStart, Node208align = 'center', Node208fontSize = 13.3333*_ratio.ratioY,Node208width = 9*_ratio.ratioX, Node208height = 94*_ratio.ratioY;
  14382. (function () {
  14383. if (Node208align === 'left') {
  14384. Node208textStart = Node208fontSize * 0.2 > 2 ? Node208fontSize * 0.2 - 4 : Node208fontSize * 0.2 - 9;
  14385. Node208textWidth = Node208width;
  14386. Node208lineStart = 1;
  14387. } else if (Node208align === 'right') {
  14388. Node208textStart = 0;
  14389. Node208textWidth =Node208fontSize <= 8 ? Node208width + Node208fontSize * 0.2 + 6 : Node208width - Node208fontSize * 0.2;
  14390. Node208lineStart = (Node208width - (ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width + 6)) * 0.5;
  14391. } else if (Node208align === 'center') {
  14392. Node208textStart = -3;
  14393. Node208textWidth = Node208width;
  14394. Node208lineStart = Node208width - ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width - 11;
  14395. }
  14396. })();
  14397. Node208.setImage(GD.getTextJSON(Node208width, Node208height, false, true, false, ' '+ Node208fontSize + 'px "Arial"'))
  14398. Node208.setPosition(771*ratio.ratioX, 839*ratio.ratioY);
  14399. Node208.setWidth(Node208width);
  14400. Node208.setHeight(Node208height);
  14401. Node208._nodeType = 'text';
  14402. Node208._disallowEvert = true;
  14403. Node208.setRotation(0*Math.PI/180);
  14404. Node208.a('node.width', Node208width);
  14405. Node208.a('node.height', Node208height);
  14406. Node208.a('node.rect', [0, 0, Node208width, Node208height]);
  14407. Node208.a('node.bordercolor','rgba(255,255,255,1)');
  14408. Node208.a('node.borderwidth', 0);
  14409. Node208.a('node.background','' || 'rgba(0,0,0,0)');
  14410. Node208.a('node.gradient','');
  14411. Node208.a('node.gradientcolor','');
  14412. Node208.a('node.text','功率曲线');
  14413. Node208.a('node.textalign','center');
  14414. Node208.a('node.textvAlign','middle');
  14415. Node208.a('node.textrect', [Node208textStart, 0, Node208textWidth, Node208height]);
  14416. Node208.a('node.color','rgba(255,255,255,1)');
  14417. Node208.a('node.font',' '+ Node208fontSize + 'px "Arial"');
  14418. Node208.a('node.textvisible',false);
  14419. Node208.a('node.linefeed',true);
  14420. if (true) {
  14421. Node208.a('node.textfunc',function(g) {
  14422. g.beginPath();
  14423. var str=Node208.a('node.text') || '功率曲线';
  14424. var color=Node208.a('node.color') || 'rgba(255,255,255,1)';
  14425. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node208width,Node208height,13.3333*_ratio.ratioY,"center",color,' '+ Node208fontSize + 'px "Arial"', 0,g);
  14426. });
  14427. }
  14428. if (false) {
  14429. Node208.a('node.underlinepoints',[Node208lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node208fontSize + 2 , ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width + 6, (Node208height - Node208fontSize) * 0.5*_ratio.ratioY + Node208fontSize + 2 ]);
  14430. Node208.a('node.underlinevisible',false);
  14431. Node208.a('node.underlineBorderWidth', 1);
  14432. }
  14433. dataModel.add(Node208);
  14434. zoomNodeList.push({
  14435. node: Node208,
  14436. borderWidth: 0,
  14437. attr: 'node.borderwidth'
  14438. }); _ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio);
  14439. var Node209 = new ht.Node();
  14440. var Node209textStart, Node209textWidth, Node209lineStart, Node209align = 'left', Node209fontSize = 13.3333*_ratio.ratioY,Node209width = 89*_ratio.ratioX, Node209height = 25*_ratio.ratioY;
  14441. (function () {
  14442. if (Node209align === 'left') {
  14443. Node209textStart = Node209fontSize * 0.2 > 2 ? Node209fontSize * 0.2 - 4 : Node209fontSize * 0.2 - 9;
  14444. Node209textWidth = Node209width;
  14445. Node209lineStart = 1;
  14446. } else if (Node209align === 'right') {
  14447. Node209textStart = 0;
  14448. Node209textWidth =Node209fontSize <= 8 ? Node209width + Node209fontSize * 0.2 + 6 : Node209width - Node209fontSize * 0.2;
  14449. Node209lineStart = (Node209width - (ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width + 6)) * 0.5;
  14450. } else if (Node209align === 'center') {
  14451. Node209textStart = -3;
  14452. Node209textWidth = Node209width;
  14453. Node209lineStart = Node209width - ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width - 11;
  14454. }
  14455. })();
  14456. Node209.setImage(GD.getTextJSON(Node209width, Node209height, false, true, false, ' '+ Node209fontSize + 'px "Arial"'))
  14457. Node209.setPosition(796*ratio.ratioX, 412*ratio.ratioY);
  14458. Node209.setWidth(Node209width);
  14459. Node209.setHeight(Node209height);
  14460. Node209._nodeType = 'text';
  14461. Node209._disallowEvert = true;
  14462. Node209.setRotation(-89.47369*Math.PI/180);
  14463. Node209.a('node.width', Node209width);
  14464. Node209.a('node.height', Node209height);
  14465. Node209.a('node.rect', [0, 0, Node209width, Node209height]);
  14466. Node209.a('node.bordercolor','rgba(0,0,0,1)');
  14467. Node209.a('node.borderwidth', 0);
  14468. Node209.a('node.background','' || 'rgba(0,0,0,0)');
  14469. Node209.a('node.gradient','');
  14470. Node209.a('node.gradientcolor','');
  14471. Node209.a('node.text','电量(万kwh)');
  14472. Node209.a('node.textalign','left');
  14473. Node209.a('node.textvAlign','middle');
  14474. Node209.a('node.textrect', [Node209textStart, 0, Node209textWidth, Node209height]);
  14475. Node209.a('node.color','rgba(0,0,0,1)');
  14476. Node209.a('node.font',' '+ Node209fontSize + 'px "Arial"');
  14477. Node209.a('node.textvisible',false);
  14478. Node209.a('node.linefeed',true);
  14479. if (true) {
  14480. Node209.a('node.textfunc',function(g) {
  14481. g.beginPath();
  14482. var str=Node209.a('node.text') || '电量(万kwh)';
  14483. var color=Node209.a('node.color') || 'rgba(0,0,0,1)';
  14484. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node209width,Node209height,13.3333*_ratio.ratioY,"left",color,' '+ Node209fontSize + 'px "Arial"', 0,g);
  14485. });
  14486. }
  14487. if (false) {
  14488. Node209.a('node.underlinepoints',[Node209lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node209fontSize + 2 , ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width + 6, (Node209height - Node209fontSize) * 0.5*_ratio.ratioY + Node209fontSize + 2 ]);
  14489. Node209.a('node.underlinevisible',false);
  14490. Node209.a('node.underlineBorderWidth', 1);
  14491. }
  14492. dataModel.add(Node209);
  14493. zoomNodeList.push({
  14494. node: Node209,
  14495. borderWidth: 0,
  14496. attr: 'node.borderwidth'
  14497. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14498. var Node210type = 'rect';
  14499. var Node210 = new ht.Node(),
  14500. Node210BorderWidth = 1*2;
  14501. if (Node210type === 'arc') {
  14502. Node210BorderWidth *= 1;
  14503. }
  14504. Node210.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node210type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14505. Node210.setPosition(796*ratio.ratioX, 482*ratio.ratioY);
  14506. Node210.setSize(20*_ratio.ratioX, 20*_ratio.ratioY);
  14507. Node210.s({
  14508. 'pixelPerfect':true
  14509. /*@AddPara@*/
  14510. });
  14511. Node210.a('node.width', 20*_ratio.ratioX);
  14512. Node210.a('node.height', 20*_ratio.ratioY);
  14513. Node210.a('node.type', Node210type);
  14514. Node210.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]);
  14515. Node210.a('node.background', 'rgba(118,184,244,1)');
  14516. Node210.a('node.gradientcolor', 'rgba(118,184,244,1)');
  14517. Node210.a('node.gradient', '');
  14518. Node210.a('node.borderwidth', Node210BorderWidth);
  14519. Node210.a('node.color', 'rgba(0,0,0,1)');
  14520. Node210.a('node.fillrect', [0,0,0,0]);
  14521. Node210.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14522. Node210.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14523. Node210.a('node.fillgradient', '');
  14524. if (Node210type !== 'rect') {
  14525. Node210.a('node.arcFrom', parseFloat('@arcFrom@'));
  14526. Node210.a('node.arcTo', parseFloat('@arcTo@'));
  14527. Node210.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14528. }
  14529. if (Node210type === 'arc') {
  14530. Node210.a('node.arcOval', true);
  14531. }
  14532. Node210.setRotation(0*Math.PI/180);
  14533. Node210.borderWidth = Node210BorderWidth;
  14534. Node210.borderFillwidth = Node210BorderWidth;
  14535. dataModel.add(Node210);
  14536. Node210._nodename = 'Node210'
  14537. Node210._nodeType = 'rect';
  14538. zoomNodeList.push({
  14539. node: Node210,
  14540. attr: 'node.borderwidth'
  14541. });
  14542. (function (node, _img) {
  14543. var setWidth = node.setWidth,
  14544. setHeight = node.setHeight;
  14545. node.setWidth = function (width) {
  14546. if (width === this.getWidth()) return ;
  14547. var height = this.getHeight();
  14548. this.a('node.width', width);
  14549. this.a('node.rect', [0,0,width, height]);
  14550. setWidth.apply(this, arguments);
  14551. }
  14552. node.setHeight = function (height) {
  14553. if (height === this.getHeight()) return ;
  14554. var width = this.getWidth();
  14555. this.a('node.height', height);
  14556. this.a('node.rect', [0,0,width, height]);
  14557. setHeight.apply(this, arguments);
  14558. }
  14559. })(Node210, Node210.getImage());_ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio);
  14560. var Node211_0 = new ht.Node();
  14561. var Node211_0textStart, Node211_0textWidth, Node211_0lineStart, Node211_0align = 'left', Node211_0fontSize = 13.3333*_ratio.ratioY,Node211_0width = 79*_ratio.ratioX, Node211_0height = 25*_ratio.ratioY;
  14562. (function () {
  14563. if (Node211_0align === 'left') {
  14564. Node211_0textStart = Node211_0fontSize * 0.2 > 2 ? Node211_0fontSize * 0.2 - 4 : Node211_0fontSize * 0.2 - 9;
  14565. Node211_0textWidth = Node211_0width;
  14566. Node211_0lineStart = 1;
  14567. } else if (Node211_0align === 'right') {
  14568. Node211_0textStart = 0;
  14569. Node211_0textWidth =Node211_0fontSize <= 8 ? Node211_0width + Node211_0fontSize * 0.2 + 6 : Node211_0width - Node211_0fontSize * 0.2;
  14570. Node211_0lineStart = (Node211_0width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  14571. } else if (Node211_0align === 'center') {
  14572. Node211_0textStart = -3;
  14573. Node211_0textWidth = Node211_0width;
  14574. Node211_0lineStart = Node211_0width - ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width - 11;
  14575. }
  14576. })();
  14577. Node211_0.setImage(GD.getTextJSON(Node211_0width, Node211_0height, false, true, false, ' '+ Node211_0fontSize + 'px "Arial"'))
  14578. Node211_0.setPosition(1344*ratio.ratioX, 407*ratio.ratioY);
  14579. Node211_0.setWidth(Node211_0width);
  14580. Node211_0.setHeight(Node211_0height);
  14581. Node211_0._nodeType = 'text';
  14582. Node211_0._disallowEvert = true;
  14583. Node211_0.setRotation(-89.47369*Math.PI/180);
  14584. Node211_0.a('node.width', Node211_0width);
  14585. Node211_0.a('node.height', Node211_0height);
  14586. Node211_0.a('node.rect', [0, 0, Node211_0width, Node211_0height]);
  14587. Node211_0.a('node.bordercolor','rgba(0,0,0,1)');
  14588. Node211_0.a('node.borderwidth', 0);
  14589. Node211_0.a('node.background','' || 'rgba(0,0,0,0)');
  14590. Node211_0.a('node.gradient','');
  14591. Node211_0.a('node.gradientcolor','');
  14592. Node211_0.a('node.text','风速(m/s)');
  14593. Node211_0.a('node.textalign','left');
  14594. Node211_0.a('node.textvAlign','middle');
  14595. Node211_0.a('node.textrect', [Node211_0textStart, 0, Node211_0textWidth, Node211_0height]);
  14596. Node211_0.a('node.color','rgba(0,0,0,1)');
  14597. Node211_0.a('node.font',' '+ Node211_0fontSize + 'px "Arial"');
  14598. Node211_0.a('node.textvisible',false);
  14599. Node211_0.a('node.linefeed',true);
  14600. if (true) {
  14601. Node211_0.a('node.textfunc',function(g) {
  14602. g.beginPath();
  14603. var str=Node211_0.a('node.text') || '风速(m/s)';
  14604. var color=Node211_0.a('node.color') || 'rgba(0,0,0,1)';
  14605. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node211_0width,Node211_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node211_0fontSize + 'px "Arial"', 0,g);
  14606. });
  14607. }
  14608. if (false) {
  14609. Node211_0.a('node.underlinepoints',[Node211_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node211_0fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width + 6, (Node211_0height - Node211_0fontSize) * 0.5*_ratio.ratioY + Node211_0fontSize + 2 ]);
  14610. Node211_0.a('node.underlinevisible',false);
  14611. Node211_0.a('node.underlineBorderWidth', 1);
  14612. }
  14613. dataModel.add(Node211_0);
  14614. zoomNodeList.push({
  14615. node: Node211_0,
  14616. borderWidth: 0,
  14617. attr: 'node.borderwidth'
  14618. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14619. var Node211_1type = 'rect';
  14620. var Node211_1 = new ht.Node(),
  14621. Node211_1BorderWidth = 1*2;
  14622. if (Node211_1type === 'arc') {
  14623. Node211_1BorderWidth *= 1;
  14624. }
  14625. Node211_1.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node211_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14626. Node211_1.setPosition(1344*ratio.ratioX, 458*ratio.ratioY);
  14627. Node211_1.setSize(20*_ratio.ratioX, 20*_ratio.ratioY);
  14628. Node211_1.s({
  14629. 'pixelPerfect':true
  14630. /*@AddPara@*/
  14631. });
  14632. Node211_1.a('node.width', 20*_ratio.ratioX);
  14633. Node211_1.a('node.height', 20*_ratio.ratioY);
  14634. Node211_1.a('node.type', Node211_1type);
  14635. Node211_1.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]);
  14636. Node211_1.a('node.background', 'rgba(249,126,95,1)');
  14637. Node211_1.a('node.gradientcolor', 'rgba(249,126,95,1)');
  14638. Node211_1.a('node.gradient', '');
  14639. Node211_1.a('node.borderwidth', Node211_1BorderWidth);
  14640. Node211_1.a('node.color', 'rgba(0,0,0,1)');
  14641. Node211_1.a('node.fillrect', [0,0,0,0]);
  14642. Node211_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14643. Node211_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14644. Node211_1.a('node.fillgradient', '');
  14645. if (Node211_1type !== 'rect') {
  14646. Node211_1.a('node.arcFrom', parseFloat('@arcFrom@'));
  14647. Node211_1.a('node.arcTo', parseFloat('@arcTo@'));
  14648. Node211_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14649. }
  14650. if (Node211_1type === 'arc') {
  14651. Node211_1.a('node.arcOval', true);
  14652. }
  14653. Node211_1.setRotation(0*Math.PI/180);
  14654. Node211_1.borderWidth = Node211_1BorderWidth;
  14655. Node211_1.borderFillwidth = Node211_1BorderWidth;
  14656. dataModel.add(Node211_1);
  14657. Node211_1._nodename = 'Node211_1'
  14658. Node211_1._nodeType = 'rect';
  14659. zoomNodeList.push({
  14660. node: Node211_1,
  14661. attr: 'node.borderwidth'
  14662. });
  14663. (function (node, _img) {
  14664. var setWidth = node.setWidth,
  14665. setHeight = node.setHeight;
  14666. node.setWidth = function (width) {
  14667. if (width === this.getWidth()) return ;
  14668. var height = this.getHeight();
  14669. this.a('node.width', width);
  14670. this.a('node.rect', [0,0,width, height]);
  14671. setWidth.apply(this, arguments);
  14672. }
  14673. node.setHeight = function (height) {
  14674. if (height === this.getHeight()) return ;
  14675. var width = this.getWidth();
  14676. this.a('node.height', height);
  14677. this.a('node.rect', [0,0,width, height]);
  14678. setHeight.apply(this, arguments);
  14679. }
  14680. })(Node211_1, Node211_1.getImage());var Node212;
  14681. (function () {
  14682. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14683. var ratioX, ratioY;
  14684. if ('Default' === 'False') {
  14685. ratioX = 1;
  14686. ratioY = 1;
  14687. } else if ('Default' === 'X') {
  14688. ratioX = ratioY = _ratio.ratioX;
  14689. } else if ('Default' === 'Y') {
  14690. ratioX = ratioY = _ratio.ratioY;
  14691. } else {
  14692. ratioX = _ratio.ratioX;
  14693. ratioY = _ratio.ratioY;
  14694. }
  14695. ht.Default.setImage('imgimage//img//indexblack.png', PAGEROOTDIR + 'image//img//indexblack.png');
  14696. Node212 = new ht.Node();
  14697. Node212.setPosition(1771*ratio.ratioX, 281*ratio.ratioY);
  14698. Node212.setSize(52*ratioX, 78*ratioY);
  14699. Node212.setImage('imgimage//img//indexblack.png');
  14700. Node212.setRotation(0*Math.PI/180);
  14701. Node212._zoomBy = 'Default';
  14702. Node212._nodeType = 'image';
  14703. Node212._disallowEvert = true;
  14704. dataModel.add(Node212);
  14705. })();
  14706. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14707. var Node213type = 'rect';
  14708. var Node213 = new ht.Node(),
  14709. Node213BorderWidth = 1*2;
  14710. if (Node213type === 'arc') {
  14711. Node213BorderWidth *= 1;
  14712. }
  14713. Node213.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node213type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14714. Node213.setPosition(1824*ratio.ratioX, 559*ratio.ratioY);
  14715. Node213.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
  14716. Node213.s({
  14717. 'pixelPerfect':true
  14718. /*@AddPara@*/
  14719. });
  14720. Node213.a('node.width', 15*_ratio.ratioX);
  14721. Node213.a('node.height', 15*_ratio.ratioY);
  14722. Node213.a('node.type', Node213type);
  14723. Node213.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
  14724. Node213.a('node.background', 'rgba(0,255,255,1)');
  14725. Node213.a('node.gradientcolor', 'rgba(0,255,255,1)');
  14726. Node213.a('node.gradient', '');
  14727. Node213.a('node.borderwidth', Node213BorderWidth);
  14728. Node213.a('node.color', 'rgba(0,0,0,1)');
  14729. Node213.a('node.fillrect', [0,0,0,0]);
  14730. Node213.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14731. Node213.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14732. Node213.a('node.fillgradient', '');
  14733. if (Node213type !== 'rect') {
  14734. Node213.a('node.arcFrom', parseFloat('@arcFrom@'));
  14735. Node213.a('node.arcTo', parseFloat('@arcTo@'));
  14736. Node213.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14737. }
  14738. if (Node213type === 'arc') {
  14739. Node213.a('node.arcOval', true);
  14740. }
  14741. Node213.setRotation(0*Math.PI/180);
  14742. Node213.borderWidth = Node213BorderWidth;
  14743. Node213.borderFillwidth = Node213BorderWidth;
  14744. dataModel.add(Node213);
  14745. Node213._nodename = 'Node213'
  14746. Node213._nodeType = 'rect';
  14747. zoomNodeList.push({
  14748. node: Node213,
  14749. attr: 'node.borderwidth'
  14750. });
  14751. (function (node, _img) {
  14752. var setWidth = node.setWidth,
  14753. setHeight = node.setHeight;
  14754. node.setWidth = function (width) {
  14755. if (width === this.getWidth()) return ;
  14756. var height = this.getHeight();
  14757. this.a('node.width', width);
  14758. this.a('node.rect', [0,0,width, height]);
  14759. setWidth.apply(this, arguments);
  14760. }
  14761. node.setHeight = function (height) {
  14762. if (height === this.getHeight()) return ;
  14763. var width = this.getWidth();
  14764. this.a('node.height', height);
  14765. this.a('node.rect', [0,0,width, height]);
  14766. setHeight.apply(this, arguments);
  14767. }
  14768. })(Node213, Node213.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14769. var Node214 = new ht.Node();
  14770. var Node214textStart, Node214textWidth, Node214lineStart, Node214align = 'left', Node214fontSize = 10.66664*_ratio.ratioY,Node214width = 45*_ratio.ratioX, Node214height = 25*_ratio.ratioY;
  14771. (function () {
  14772. if (Node214align === 'left') {
  14773. Node214textStart = Node214fontSize * 0.2 > 2 ? Node214fontSize * 0.2 - 4 : Node214fontSize * 0.2 - 9;
  14774. Node214textWidth = Node214width;
  14775. Node214lineStart = 1;
  14776. } else if (Node214align === 'right') {
  14777. Node214textStart = 0;
  14778. Node214textWidth =Node214fontSize <= 8 ? Node214width + Node214fontSize * 0.2 + 6 : Node214width - Node214fontSize * 0.2;
  14779. Node214lineStart = (Node214width - (ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width + 6)) * 0.5;
  14780. } else if (Node214align === 'center') {
  14781. Node214textStart = -3;
  14782. Node214textWidth = Node214width;
  14783. Node214lineStart = Node214width - ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width - 11;
  14784. }
  14785. })();
  14786. Node214.setImage(GD.getTextJSON(Node214width, Node214height, true, false, false, ' '+ Node214fontSize + 'px "Arial"'))
  14787. Node214.setPosition(1859*ratio.ratioX, 559*ratio.ratioY);
  14788. Node214.setWidth(Node214width);
  14789. Node214.setHeight(Node214height);
  14790. Node214._nodeType = 'text';
  14791. Node214._disallowEvert = true;
  14792. Node214.setRotation(0*Math.PI/180);
  14793. Node214.a('node.width', Node214width);
  14794. Node214.a('node.height', Node214height);
  14795. Node214.a('node.rect', [0, 0, Node214width, Node214height]);
  14796. Node214.a('node.bordercolor','rgba(0,0,0,1)');
  14797. Node214.a('node.borderwidth', 0);
  14798. Node214.a('node.background','' || 'rgba(0,0,0,0)');
  14799. Node214.a('node.gradient','');
  14800. Node214.a('node.gradientcolor','');
  14801. Node214.a('node.text','2016年');
  14802. Node214.a('node.textalign','left');
  14803. Node214.a('node.textvAlign','middle');
  14804. Node214.a('node.textrect', [Node214textStart, 0, Node214textWidth, Node214height]);
  14805. Node214.a('node.color','rgba(0,0,0,1)');
  14806. Node214.a('node.font',' '+ Node214fontSize + 'px "Arial"');
  14807. Node214.a('node.textvisible',true);
  14808. Node214.a('node.linefeed',false);
  14809. if (false) {
  14810. Node214.a('node.textfunc',function(g) {
  14811. g.beginPath();
  14812. var str=Node214.a('node.text') || '2016年';
  14813. var color=Node214.a('node.color') || 'rgba(0,0,0,1)';
  14814. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node214width,Node214height,10.66664*_ratio.ratioY,"left",color,' '+ Node214fontSize + 'px "Arial"', 0,g);
  14815. });
  14816. }
  14817. if (false) {
  14818. Node214.a('node.underlinepoints',[Node214lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node214fontSize + 2 , ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width + 6, (Node214height - Node214fontSize) * 0.5*_ratio.ratioY + Node214fontSize + 2 ]);
  14819. Node214.a('node.underlinevisible',false);
  14820. Node214.a('node.underlineBorderWidth', 1);
  14821. }
  14822. dataModel.add(Node214);
  14823. zoomNodeList.push({
  14824. node: Node214,
  14825. borderWidth: 0,
  14826. attr: 'node.borderwidth'
  14827. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14828. var Node215type = 'rect';
  14829. var Node215 = new ht.Node(),
  14830. Node215BorderWidth = 1*2;
  14831. if (Node215type === 'arc') {
  14832. Node215BorderWidth *= 1;
  14833. }
  14834. Node215.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node215type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14835. Node215.setPosition(1824*ratio.ratioX, 579*ratio.ratioY);
  14836. Node215.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
  14837. Node215.s({
  14838. 'pixelPerfect':true
  14839. /*@AddPara@*/
  14840. });
  14841. Node215.a('node.width', 15*_ratio.ratioX);
  14842. Node215.a('node.height', 15*_ratio.ratioY);
  14843. Node215.a('node.type', Node215type);
  14844. Node215.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
  14845. Node215.a('node.background', 'rgba(255,255,128,1)');
  14846. Node215.a('node.gradientcolor', 'rgba(255,255,128,1)');
  14847. Node215.a('node.gradient', '');
  14848. Node215.a('node.borderwidth', Node215BorderWidth);
  14849. Node215.a('node.color', 'rgba(0,0,0,1)');
  14850. Node215.a('node.fillrect', [0,0,0,0]);
  14851. Node215.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14852. Node215.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14853. Node215.a('node.fillgradient', '');
  14854. if (Node215type !== 'rect') {
  14855. Node215.a('node.arcFrom', parseFloat('@arcFrom@'));
  14856. Node215.a('node.arcTo', parseFloat('@arcTo@'));
  14857. Node215.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14858. }
  14859. if (Node215type === 'arc') {
  14860. Node215.a('node.arcOval', true);
  14861. }
  14862. Node215.setRotation(0*Math.PI/180);
  14863. Node215.borderWidth = Node215BorderWidth;
  14864. Node215.borderFillwidth = Node215BorderWidth;
  14865. dataModel.add(Node215);
  14866. Node215._nodename = 'Node215'
  14867. Node215._nodeType = 'rect';
  14868. zoomNodeList.push({
  14869. node: Node215,
  14870. attr: 'node.borderwidth'
  14871. });
  14872. (function (node, _img) {
  14873. var setWidth = node.setWidth,
  14874. setHeight = node.setHeight;
  14875. node.setWidth = function (width) {
  14876. if (width === this.getWidth()) return ;
  14877. var height = this.getHeight();
  14878. this.a('node.width', width);
  14879. this.a('node.rect', [0,0,width, height]);
  14880. setWidth.apply(this, arguments);
  14881. }
  14882. node.setHeight = function (height) {
  14883. if (height === this.getHeight()) return ;
  14884. var width = this.getWidth();
  14885. this.a('node.height', height);
  14886. this.a('node.rect', [0,0,width, height]);
  14887. setHeight.apply(this, arguments);
  14888. }
  14889. })(Node215, Node215.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14890. var Node216 = new ht.Node();
  14891. var Node216textStart, Node216textWidth, Node216lineStart, Node216align = 'left', Node216fontSize = 10.66664*_ratio.ratioY,Node216width = 45*_ratio.ratioX, Node216height = 25*_ratio.ratioY;
  14892. (function () {
  14893. if (Node216align === 'left') {
  14894. Node216textStart = Node216fontSize * 0.2 > 2 ? Node216fontSize * 0.2 - 4 : Node216fontSize * 0.2 - 9;
  14895. Node216textWidth = Node216width;
  14896. Node216lineStart = 1;
  14897. } else if (Node216align === 'right') {
  14898. Node216textStart = 0;
  14899. Node216textWidth =Node216fontSize <= 8 ? Node216width + Node216fontSize * 0.2 + 6 : Node216width - Node216fontSize * 0.2;
  14900. Node216lineStart = (Node216width - (ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width + 6)) * 0.5;
  14901. } else if (Node216align === 'center') {
  14902. Node216textStart = -3;
  14903. Node216textWidth = Node216width;
  14904. Node216lineStart = Node216width - ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width - 11;
  14905. }
  14906. })();
  14907. Node216.setImage(GD.getTextJSON(Node216width, Node216height, true, false, false, ' '+ Node216fontSize + 'px "Arial"'))
  14908. Node216.setPosition(1859*ratio.ratioX, 579*ratio.ratioY);
  14909. Node216.setWidth(Node216width);
  14910. Node216.setHeight(Node216height);
  14911. Node216._nodeType = 'text';
  14912. Node216._disallowEvert = true;
  14913. Node216.setRotation(0*Math.PI/180);
  14914. Node216.a('node.width', Node216width);
  14915. Node216.a('node.height', Node216height);
  14916. Node216.a('node.rect', [0, 0, Node216width, Node216height]);
  14917. Node216.a('node.bordercolor','rgba(0,0,0,1)');
  14918. Node216.a('node.borderwidth', 0);
  14919. Node216.a('node.background','' || 'rgba(0,0,0,0)');
  14920. Node216.a('node.gradient','');
  14921. Node216.a('node.gradientcolor','');
  14922. Node216.a('node.text','2017年');
  14923. Node216.a('node.textalign','left');
  14924. Node216.a('node.textvAlign','middle');
  14925. Node216.a('node.textrect', [Node216textStart, 0, Node216textWidth, Node216height]);
  14926. Node216.a('node.color','rgba(0,0,0,1)');
  14927. Node216.a('node.font',' '+ Node216fontSize + 'px "Arial"');
  14928. Node216.a('node.textvisible',true);
  14929. Node216.a('node.linefeed',false);
  14930. if (false) {
  14931. Node216.a('node.textfunc',function(g) {
  14932. g.beginPath();
  14933. var str=Node216.a('node.text') || '2017年';
  14934. var color=Node216.a('node.color') || 'rgba(0,0,0,1)';
  14935. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node216width,Node216height,10.66664*_ratio.ratioY,"left",color,' '+ Node216fontSize + 'px "Arial"', 0,g);
  14936. });
  14937. }
  14938. if (false) {
  14939. Node216.a('node.underlinepoints',[Node216lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node216fontSize + 2 , ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width + 6, (Node216height - Node216fontSize) * 0.5*_ratio.ratioY + Node216fontSize + 2 ]);
  14940. Node216.a('node.underlinevisible',false);
  14941. Node216.a('node.underlineBorderWidth', 1);
  14942. }
  14943. dataModel.add(Node216);
  14944. zoomNodeList.push({
  14945. node: Node216,
  14946. borderWidth: 0,
  14947. attr: 'node.borderwidth'
  14948. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14949. var Node217type = 'rect';
  14950. var Node217 = new ht.Node(),
  14951. Node217BorderWidth = 1*2;
  14952. if (Node217type === 'arc') {
  14953. Node217BorderWidth *= 1;
  14954. }
  14955. Node217.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node217type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14956. Node217.setPosition(1824*ratio.ratioX, 599*ratio.ratioY);
  14957. Node217.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
  14958. Node217.s({
  14959. 'pixelPerfect':true
  14960. /*@AddPara@*/
  14961. });
  14962. Node217.a('node.width', 15*_ratio.ratioX);
  14963. Node217.a('node.height', 15*_ratio.ratioY);
  14964. Node217.a('node.type', Node217type);
  14965. Node217.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
  14966. Node217.a('node.background', 'rgba(128,255,128,1)');
  14967. Node217.a('node.gradientcolor', 'rgba(128,255,128,1)');
  14968. Node217.a('node.gradient', '');
  14969. Node217.a('node.borderwidth', Node217BorderWidth);
  14970. Node217.a('node.color', 'rgba(0,0,0,1)');
  14971. Node217.a('node.fillrect', [0,0,0,0]);
  14972. Node217.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14973. Node217.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14974. Node217.a('node.fillgradient', '');
  14975. if (Node217type !== 'rect') {
  14976. Node217.a('node.arcFrom', parseFloat('@arcFrom@'));
  14977. Node217.a('node.arcTo', parseFloat('@arcTo@'));
  14978. Node217.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14979. }
  14980. if (Node217type === 'arc') {
  14981. Node217.a('node.arcOval', true);
  14982. }
  14983. Node217.setRotation(0*Math.PI/180);
  14984. Node217.borderWidth = Node217BorderWidth;
  14985. Node217.borderFillwidth = Node217BorderWidth;
  14986. dataModel.add(Node217);
  14987. Node217._nodename = 'Node217'
  14988. Node217._nodeType = 'rect';
  14989. zoomNodeList.push({
  14990. node: Node217,
  14991. attr: 'node.borderwidth'
  14992. });
  14993. (function (node, _img) {
  14994. var setWidth = node.setWidth,
  14995. setHeight = node.setHeight;
  14996. node.setWidth = function (width) {
  14997. if (width === this.getWidth()) return ;
  14998. var height = this.getHeight();
  14999. this.a('node.width', width);
  15000. this.a('node.rect', [0,0,width, height]);
  15001. setWidth.apply(this, arguments);
  15002. }
  15003. node.setHeight = function (height) {
  15004. if (height === this.getHeight()) return ;
  15005. var width = this.getWidth();
  15006. this.a('node.height', height);
  15007. this.a('node.rect', [0,0,width, height]);
  15008. setHeight.apply(this, arguments);
  15009. }
  15010. })(Node217, Node217.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15011. var Node218 = new ht.Node();
  15012. var Node218textStart, Node218textWidth, Node218lineStart, Node218align = 'left', Node218fontSize = 10.66664*_ratio.ratioY,Node218width = 45*_ratio.ratioX, Node218height = 25*_ratio.ratioY;
  15013. (function () {
  15014. if (Node218align === 'left') {
  15015. Node218textStart = Node218fontSize * 0.2 > 2 ? Node218fontSize * 0.2 - 4 : Node218fontSize * 0.2 - 9;
  15016. Node218textWidth = Node218width;
  15017. Node218lineStart = 1;
  15018. } else if (Node218align === 'right') {
  15019. Node218textStart = 0;
  15020. Node218textWidth =Node218fontSize <= 8 ? Node218width + Node218fontSize * 0.2 + 6 : Node218width - Node218fontSize * 0.2;
  15021. Node218lineStart = (Node218width - (ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width + 6)) * 0.5;
  15022. } else if (Node218align === 'center') {
  15023. Node218textStart = -3;
  15024. Node218textWidth = Node218width;
  15025. Node218lineStart = Node218width - ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width - 11;
  15026. }
  15027. })();
  15028. Node218.setImage(GD.getTextJSON(Node218width, Node218height, true, false, false, ' '+ Node218fontSize + 'px "Arial"'))
  15029. Node218.setPosition(1859*ratio.ratioX, 599*ratio.ratioY);
  15030. Node218.setWidth(Node218width);
  15031. Node218.setHeight(Node218height);
  15032. Node218._nodeType = 'text';
  15033. Node218._disallowEvert = true;
  15034. Node218.setRotation(0*Math.PI/180);
  15035. Node218.a('node.width', Node218width);
  15036. Node218.a('node.height', Node218height);
  15037. Node218.a('node.rect', [0, 0, Node218width, Node218height]);
  15038. Node218.a('node.bordercolor','rgba(0,0,0,1)');
  15039. Node218.a('node.borderwidth', 0);
  15040. Node218.a('node.background','' || 'rgba(0,0,0,0)');
  15041. Node218.a('node.gradient','');
  15042. Node218.a('node.gradientcolor','');
  15043. Node218.a('node.text','2018年');
  15044. Node218.a('node.textalign','left');
  15045. Node218.a('node.textvAlign','middle');
  15046. Node218.a('node.textrect', [Node218textStart, 0, Node218textWidth, Node218height]);
  15047. Node218.a('node.color','rgba(0,0,0,1)');
  15048. Node218.a('node.font',' '+ Node218fontSize + 'px "Arial"');
  15049. Node218.a('node.textvisible',true);
  15050. Node218.a('node.linefeed',false);
  15051. if (false) {
  15052. Node218.a('node.textfunc',function(g) {
  15053. g.beginPath();
  15054. var str=Node218.a('node.text') || '2018年';
  15055. var color=Node218.a('node.color') || 'rgba(0,0,0,1)';
  15056. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node218width,Node218height,10.66664*_ratio.ratioY,"left",color,' '+ Node218fontSize + 'px "Arial"', 0,g);
  15057. });
  15058. }
  15059. if (false) {
  15060. Node218.a('node.underlinepoints',[Node218lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node218fontSize + 2 , ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width + 6, (Node218height - Node218fontSize) * 0.5*_ratio.ratioY + Node218fontSize + 2 ]);
  15061. Node218.a('node.underlinevisible',false);
  15062. Node218.a('node.underlineBorderWidth', 1);
  15063. }
  15064. dataModel.add(Node218);
  15065. zoomNodeList.push({
  15066. node: Node218,
  15067. borderWidth: 0,
  15068. attr: 'node.borderwidth'
  15069. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15070. var Node219 = new ht.Node();
  15071. var Node219textStart, Node219textWidth, Node219lineStart, Node219align = 'left', Node219fontSize = 13.3333*_ratio.ratioY,Node219width = 98*_ratio.ratioX, Node219height = 16*_ratio.ratioY;
  15072. (function () {
  15073. if (Node219align === 'left') {
  15074. Node219textStart = Node219fontSize * 0.2 > 2 ? Node219fontSize * 0.2 - 4 : Node219fontSize * 0.2 - 9;
  15075. Node219textWidth = Node219width;
  15076. Node219lineStart = 1;
  15077. } else if (Node219align === 'right') {
  15078. Node219textStart = 0;
  15079. Node219textWidth =Node219fontSize <= 8 ? Node219width + Node219fontSize * 0.2 + 6 : Node219width - Node219fontSize * 0.2;
  15080. Node219lineStart = (Node219width - (ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5;
  15081. } else if (Node219align === 'center') {
  15082. Node219textStart = -3;
  15083. Node219textWidth = Node219width;
  15084. Node219lineStart = Node219width - ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width - 11;
  15085. }
  15086. })();
  15087. Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"'))
  15088. Node219.setPosition(1529*ratio.ratioX, 514*ratio.ratioY);
  15089. Node219.setWidth(Node219width);
  15090. Node219.setHeight(Node219height);
  15091. Node219._nodeType = 'text';
  15092. Node219._disallowEvert = true;
  15093. Node219.setRotation(0*Math.PI/180);
  15094. Node219.a('node.width', Node219width);
  15095. Node219.a('node.height', Node219height);
  15096. Node219.a('node.rect', [0, 0, Node219width, Node219height]);
  15097. Node219.a('node.bordercolor','rgba(0,0,0,1)');
  15098. Node219.a('node.borderwidth', 0);
  15099. Node219.a('node.background','' || 'rgba(0,0,0,0)');
  15100. Node219.a('node.gradient','');
  15101. Node219.a('node.gradientcolor','');
  15102. Node219.a('node.text','应发功率(MW)');
  15103. Node219.a('node.textalign','left');
  15104. Node219.a('node.textvAlign','middle');
  15105. Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]);
  15106. Node219.a('node.color','rgba(0,0,0,1)');
  15107. Node219.a('node.font',' '+ Node219fontSize + 'px "Arial"');
  15108. Node219.a('node.textvisible',true);
  15109. Node219.a('node.linefeed',false);
  15110. if (false) {
  15111. Node219.a('node.textfunc',function(g) {
  15112. g.beginPath();
  15113. var str=Node219.a('node.text') || '应发功率(MW)';
  15114. var color=Node219.a('node.color') || 'rgba(0,0,0,1)';
  15115. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node219width,Node219height,13.3333*_ratio.ratioY,"left",color,' '+ Node219fontSize + 'px "Arial"', 0,g);
  15116. });
  15117. }
  15118. if (false) {
  15119. Node219.a('node.underlinepoints',[Node219lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node219fontSize + 2 , ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width + 6, (Node219height - Node219fontSize) * 0.5*_ratio.ratioY + Node219fontSize + 2 ]);
  15120. Node219.a('node.underlinevisible',false);
  15121. Node219.a('node.underlineBorderWidth', 1);
  15122. }
  15123. dataModel.add(Node219);
  15124. zoomNodeList.push({
  15125. node: Node219,
  15126. borderWidth: 0,
  15127. attr: 'node.borderwidth'
  15128. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15129. var Node220 = new ht.Node();
  15130. var Node220textStart, Node220textWidth, Node220lineStart, Node220align = 'left', Node220fontSize = 13.3333*_ratio.ratioY,Node220width = 98*_ratio.ratioX, Node220height = 16*_ratio.ratioY;
  15131. (function () {
  15132. if (Node220align === 'left') {
  15133. Node220textStart = Node220fontSize * 0.2 > 2 ? Node220fontSize * 0.2 - 4 : Node220fontSize * 0.2 - 9;
  15134. Node220textWidth = Node220width;
  15135. Node220lineStart = 1;
  15136. } else if (Node220align === 'right') {
  15137. Node220textStart = 0;
  15138. Node220textWidth =Node220fontSize <= 8 ? Node220width + Node220fontSize * 0.2 + 6 : Node220width - Node220fontSize * 0.2;
  15139. Node220lineStart = (Node220width - (ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width + 6)) * 0.5;
  15140. } else if (Node220align === 'center') {
  15141. Node220textStart = -3;
  15142. Node220textWidth = Node220width;
  15143. Node220lineStart = Node220width - ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width - 11;
  15144. }
  15145. })();
  15146. Node220.setImage(GD.getTextJSON(Node220width, Node220height, true, false, false, ' '+ Node220fontSize + 'px "Arial"'))
  15147. Node220.setPosition(1759*ratio.ratioX, 519*ratio.ratioY);
  15148. Node220.setWidth(Node220width);
  15149. Node220.setHeight(Node220height);
  15150. Node220._nodeType = 'text';
  15151. Node220._disallowEvert = true;
  15152. Node220.setRotation(0*Math.PI/180);
  15153. Node220.a('node.width', Node220width);
  15154. Node220.a('node.height', Node220height);
  15155. Node220.a('node.rect', [0, 0, Node220width, Node220height]);
  15156. Node220.a('node.bordercolor','rgba(0,0,0,1)');
  15157. Node220.a('node.borderwidth', 0);
  15158. Node220.a('node.background','' || 'rgba(0,0,0,0)');
  15159. Node220.a('node.gradient','');
  15160. Node220.a('node.gradientcolor','');
  15161. Node220.a('node.text','保证功率(MW)');
  15162. Node220.a('node.textalign','left');
  15163. Node220.a('node.textvAlign','middle');
  15164. Node220.a('node.textrect', [Node220textStart, 0, Node220textWidth, Node220height]);
  15165. Node220.a('node.color','rgba(0,0,0,1)');
  15166. Node220.a('node.font',' '+ Node220fontSize + 'px "Arial"');
  15167. Node220.a('node.textvisible',true);
  15168. Node220.a('node.linefeed',false);
  15169. if (false) {
  15170. Node220.a('node.textfunc',function(g) {
  15171. g.beginPath();
  15172. var str=Node220.a('node.text') || '保证功率(MW)';
  15173. var color=Node220.a('node.color') || 'rgba(0,0,0,1)';
  15174. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node220width,Node220height,13.3333*_ratio.ratioY,"left",color,' '+ Node220fontSize + 'px "Arial"', 0,g);
  15175. });
  15176. }
  15177. if (false) {
  15178. Node220.a('node.underlinepoints',[Node220lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node220fontSize + 2 , ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width + 6, (Node220height - Node220fontSize) * 0.5*_ratio.ratioY + Node220fontSize + 2 ]);
  15179. Node220.a('node.underlinevisible',false);
  15180. Node220.a('node.underlineBorderWidth', 1);
  15181. }
  15182. dataModel.add(Node220);
  15183. zoomNodeList.push({
  15184. node: Node220,
  15185. borderWidth: 0,
  15186. attr: 'node.borderwidth'
  15187. }); _ratio = GD.getRatioWithRotation(0, ratio);
  15188. var Node221 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 166*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15189. var Node222 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 167*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15190. var Node223 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 276*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15191. var Node224 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 277*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15192. var Node225 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 386*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15193. var Node226 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 387*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15194. var Node227 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 496*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15195. var Node228 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 497*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15196. var Node229 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 606*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15197. var Node230 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 607*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15198. var Node231 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 706*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15199. var Node232 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 707*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15200. var Node233 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 816*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15201. var Node234 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 817*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15202. var Node235 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 926*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15203. var Node236 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 927*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15204. var Node237 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15205. var Node238 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  15206. var Node239 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 98*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);
  15207. var Node240 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 98*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);
  15208. var Node241 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 98*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);
  15209. var Node242 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 98*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);
  15210. var Node243 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 98*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);
  15211. var Node244 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 98*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);
  15212. var Node245 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 98*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);
  15213. var Node246 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 98*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);
  15214. var Node247 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 98*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);
  15215. var Node248 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 98*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);
  15216. var Node249 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 98*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);
  15217. var Node250 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 98*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);
  15218. var Node251 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 98*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);
  15219. var Node252 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 98*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 Node259_0;
  15220. (function () {
  15221. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15222. var ratioX, ratioY;
  15223. if ('Default' === 'False') {
  15224. ratioX = 1;
  15225. ratioY = 1;
  15226. } else if ('Default' === 'X') {
  15227. ratioX = ratioY = _ratio.ratioX;
  15228. } else if ('Default' === 'Y') {
  15229. ratioX = ratioY = _ratio.ratioY;
  15230. } else {
  15231. ratioX = _ratio.ratioX;
  15232. ratioY = _ratio.ratioY;
  15233. }
  15234. ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png');
  15235. Node259_0 = new ht.Node();
  15236. Node259_0.setPosition(678*ratio.ratioX, 263*ratio.ratioY);
  15237. Node259_0.setSize(117*ratioX, 26*ratioY);
  15238. Node259_0.setImage('imgimage//img//index_map_sx_bot1.png');
  15239. Node259_0.setRotation(0*Math.PI/180);
  15240. Node259_0._zoomBy = 'Default';
  15241. Node259_0._nodeType = 'image';
  15242. Node259_0._disallowEvert = true;
  15243. dataModel.add(Node259_0);
  15244. })();
  15245. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15246. var Node259_1 = new ht.Node();
  15247. var Node259_1textStart, Node259_1textWidth, Node259_1lineStart, Node259_1align = 'left', Node259_1fontSize = 13.3333*_ratio.ratioY,Node259_1width = 110*_ratio.ratioX, Node259_1height = 16*_ratio.ratioY;
  15248. (function () {
  15249. if (Node259_1align === 'left') {
  15250. Node259_1textStart = Node259_1fontSize * 0.2 > 2 ? Node259_1fontSize * 0.2 - 4 : Node259_1fontSize * 0.2 - 9;
  15251. Node259_1textWidth = Node259_1width;
  15252. Node259_1lineStart = 1;
  15253. } else if (Node259_1align === 'right') {
  15254. Node259_1textStart = 0;
  15255. Node259_1textWidth =Node259_1fontSize <= 8 ? Node259_1width + Node259_1fontSize * 0.2 + 6 : Node259_1width - Node259_1fontSize * 0.2;
  15256. Node259_1lineStart = (Node259_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15257. } else if (Node259_1align === 'center') {
  15258. Node259_1textStart = -3;
  15259. Node259_1textWidth = Node259_1width;
  15260. Node259_1lineStart = Node259_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width - 11;
  15261. }
  15262. })();
  15263. Node259_1.setImage(GD.getTextJSON(Node259_1width, Node259_1height, true, false, false, ' '+ Node259_1fontSize + 'px "宋体"'))
  15264. Node259_1.setPosition(679*ratio.ratioX, 264*ratio.ratioY);
  15265. Node259_1.setWidth(Node259_1width);
  15266. Node259_1.setHeight(Node259_1height);
  15267. Node259_1._nodeType = 'text';
  15268. Node259_1._disallowEvert = true;
  15269. Node259_1.setRotation(0*Math.PI/180);
  15270. Node259_1.a('node.width', Node259_1width);
  15271. Node259_1.a('node.height', Node259_1height);
  15272. Node259_1.a('node.rect', [0, 0, Node259_1width, Node259_1height]);
  15273. Node259_1.a('node.bordercolor','rgba(255,255,128,1)');
  15274. Node259_1.a('node.borderwidth', 0);
  15275. Node259_1.a('node.background','' || 'rgba(0,0,0,0)');
  15276. Node259_1.a('node.gradient','');
  15277. Node259_1.a('node.gradientcolor','');
  15278. Node259_1.a('node.text','太旗卧牛山风场');
  15279. Node259_1.a('node.textalign','left');
  15280. Node259_1.a('node.textvAlign','middle');
  15281. Node259_1.a('node.textrect', [Node259_1textStart, 0, Node259_1textWidth, Node259_1height]);
  15282. Node259_1.a('node.color','rgba(255,255,128,1)');
  15283. Node259_1.a('node.font',' '+ Node259_1fontSize + 'px "宋体"');
  15284. Node259_1.a('node.textvisible',true);
  15285. Node259_1.a('node.linefeed',false);
  15286. if (false) {
  15287. Node259_1.a('node.textfunc',function(g) {
  15288. g.beginPath();
  15289. var str=Node259_1.a('node.text') || '太旗卧牛山风场';
  15290. var color=Node259_1.a('node.color') || 'rgba(255,255,128,1)';
  15291. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259_1width,Node259_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node259_1fontSize + 'px "宋体"', 0,g);
  15292. });
  15293. }
  15294. if (false) {
  15295. Node259_1.a('node.underlinepoints',[Node259_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node259_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width + 6, (Node259_1height - Node259_1fontSize) * 0.5*_ratio.ratioY + Node259_1fontSize + 2 ]);
  15296. Node259_1.a('node.underlinevisible',false);
  15297. Node259_1.a('node.underlineBorderWidth', 1);
  15298. }
  15299. dataModel.add(Node259_1);
  15300. zoomNodeList.push({
  15301. node: Node259_1,
  15302. borderWidth: 0,
  15303. attr: 'node.borderwidth'
  15304. }); var Node260_0;
  15305. (function () {
  15306. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15307. var ratioX, ratioY;
  15308. if ('Default' === 'False') {
  15309. ratioX = 1;
  15310. ratioY = 1;
  15311. } else if ('Default' === 'X') {
  15312. ratioX = ratioY = _ratio.ratioX;
  15313. } else if ('Default' === 'Y') {
  15314. ratioX = ratioY = _ratio.ratioY;
  15315. } else {
  15316. ratioX = _ratio.ratioX;
  15317. ratioY = _ratio.ratioY;
  15318. }
  15319. ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png');
  15320. Node260_0 = new ht.Node();
  15321. Node260_0.setPosition(678*ratio.ratioX, 263*ratio.ratioY);
  15322. Node260_0.setSize(117*ratioX, 26*ratioY);
  15323. Node260_0.setImage('imgimage//img//index_map_sx_bot1.png');
  15324. Node260_0.setRotation(0*Math.PI/180);
  15325. Node260_0._zoomBy = 'Default';
  15326. Node260_0._nodeType = 'image';
  15327. Node260_0._disallowEvert = true;
  15328. dataModel.add(Node260_0);
  15329. })();
  15330. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15331. var Node260_1 = new ht.Node();
  15332. var Node260_1textStart, Node260_1textWidth, Node260_1lineStart, Node260_1align = 'left', Node260_1fontSize = 13.3333*_ratio.ratioY,Node260_1width = 110*_ratio.ratioX, Node260_1height = 16*_ratio.ratioY;
  15333. (function () {
  15334. if (Node260_1align === 'left') {
  15335. Node260_1textStart = Node260_1fontSize * 0.2 > 2 ? Node260_1fontSize * 0.2 - 4 : Node260_1fontSize * 0.2 - 9;
  15336. Node260_1textWidth = Node260_1width;
  15337. Node260_1lineStart = 1;
  15338. } else if (Node260_1align === 'right') {
  15339. Node260_1textStart = 0;
  15340. Node260_1textWidth =Node260_1fontSize <= 8 ? Node260_1width + Node260_1fontSize * 0.2 + 6 : Node260_1width - Node260_1fontSize * 0.2;
  15341. Node260_1lineStart = (Node260_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15342. } else if (Node260_1align === 'center') {
  15343. Node260_1textStart = -3;
  15344. Node260_1textWidth = Node260_1width;
  15345. Node260_1lineStart = Node260_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width - 11;
  15346. }
  15347. })();
  15348. Node260_1.setImage(GD.getTextJSON(Node260_1width, Node260_1height, true, false, false, ' '+ Node260_1fontSize + 'px "宋体"'))
  15349. Node260_1.setPosition(679*ratio.ratioX, 264*ratio.ratioY);
  15350. Node260_1.setWidth(Node260_1width);
  15351. Node260_1.setHeight(Node260_1height);
  15352. Node260_1._nodeType = 'text';
  15353. Node260_1._disallowEvert = true;
  15354. Node260_1.setRotation(0*Math.PI/180);
  15355. Node260_1.a('node.width', Node260_1width);
  15356. Node260_1.a('node.height', Node260_1height);
  15357. Node260_1.a('node.rect', [0, 0, Node260_1width, Node260_1height]);
  15358. Node260_1.a('node.bordercolor','rgba(255,255,255,1)');
  15359. Node260_1.a('node.borderwidth', 0);
  15360. Node260_1.a('node.background','' || 'rgba(0,0,0,0)');
  15361. Node260_1.a('node.gradient','');
  15362. Node260_1.a('node.gradientcolor','');
  15363. Node260_1.a('node.text','太旗卧牛山风场');
  15364. Node260_1.a('node.textalign','left');
  15365. Node260_1.a('node.textvAlign','middle');
  15366. Node260_1.a('node.textrect', [Node260_1textStart, 0, Node260_1textWidth, Node260_1height]);
  15367. Node260_1.a('node.color','rgba(255,255,255,1)');
  15368. Node260_1.a('node.font',' '+ Node260_1fontSize + 'px "宋体"');
  15369. Node260_1.a('node.textvisible',true);
  15370. Node260_1.a('node.linefeed',false);
  15371. if (false) {
  15372. Node260_1.a('node.textfunc',function(g) {
  15373. g.beginPath();
  15374. var str=Node260_1.a('node.text') || '太旗卧牛山风场';
  15375. var color=Node260_1.a('node.color') || 'rgba(255,255,255,1)';
  15376. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260_1width,Node260_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node260_1fontSize + 'px "宋体"', 0,g);
  15377. });
  15378. }
  15379. if (false) {
  15380. Node260_1.a('node.underlinepoints',[Node260_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node260_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width + 6, (Node260_1height - Node260_1fontSize) * 0.5*_ratio.ratioY + Node260_1fontSize + 2 ]);
  15381. Node260_1.a('node.underlinevisible',false);
  15382. Node260_1.a('node.underlineBorderWidth', 1);
  15383. }
  15384. dataModel.add(Node260_1);
  15385. zoomNodeList.push({
  15386. node: Node260_1,
  15387. borderWidth: 0,
  15388. attr: 'node.borderwidth'
  15389. }); var Node261_0;
  15390. (function () {
  15391. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15392. var ratioX, ratioY;
  15393. if ('Default' === 'False') {
  15394. ratioX = 1;
  15395. ratioY = 1;
  15396. } else if ('Default' === 'X') {
  15397. ratioX = ratioY = _ratio.ratioX;
  15398. } else if ('Default' === 'Y') {
  15399. ratioX = ratioY = _ratio.ratioY;
  15400. } else {
  15401. ratioX = _ratio.ratioX;
  15402. ratioY = _ratio.ratioY;
  15403. }
  15404. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15405. Node261_0 = new ht.Node();
  15406. Node261_0.setPosition(583*ratio.ratioX, 313*ratio.ratioY);
  15407. Node261_0.setSize(117*ratioX, 26*ratioY);
  15408. Node261_0.setImage('imgimage//img//index_map_bot.png');
  15409. Node261_0.setRotation(0*Math.PI/180);
  15410. Node261_0._zoomBy = 'Default';
  15411. Node261_0._nodeType = 'image';
  15412. Node261_0._disallowEvert = true;
  15413. dataModel.add(Node261_0);
  15414. })();
  15415. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15416. var Node261_1 = new ht.Node();
  15417. var Node261_1textStart, Node261_1textWidth, Node261_1lineStart, Node261_1align = 'left', Node261_1fontSize = 13.3333*_ratio.ratioY,Node261_1width = 110*_ratio.ratioX, Node261_1height = 16*_ratio.ratioY;
  15418. (function () {
  15419. if (Node261_1align === 'left') {
  15420. Node261_1textStart = Node261_1fontSize * 0.2 > 2 ? Node261_1fontSize * 0.2 - 4 : Node261_1fontSize * 0.2 - 9;
  15421. Node261_1textWidth = Node261_1width;
  15422. Node261_1lineStart = 1;
  15423. } else if (Node261_1align === 'right') {
  15424. Node261_1textStart = 0;
  15425. Node261_1textWidth =Node261_1fontSize <= 8 ? Node261_1width + Node261_1fontSize * 0.2 + 6 : Node261_1width - Node261_1fontSize * 0.2;
  15426. Node261_1lineStart = (Node261_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15427. } else if (Node261_1align === 'center') {
  15428. Node261_1textStart = -3;
  15429. Node261_1textWidth = Node261_1width;
  15430. Node261_1lineStart = Node261_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width - 11;
  15431. }
  15432. })();
  15433. Node261_1.setImage(GD.getTextJSON(Node261_1width, Node261_1height, true, false, false, ' '+ Node261_1fontSize + 'px "宋体"'))
  15434. Node261_1.setPosition(586*ratio.ratioX, 313*ratio.ratioY);
  15435. Node261_1.setWidth(Node261_1width);
  15436. Node261_1.setHeight(Node261_1height);
  15437. Node261_1._nodeType = 'text';
  15438. Node261_1._disallowEvert = true;
  15439. Node261_1.setRotation(0*Math.PI/180);
  15440. Node261_1.a('node.width', Node261_1width);
  15441. Node261_1.a('node.height', Node261_1height);
  15442. Node261_1.a('node.rect', [0, 0, Node261_1width, Node261_1height]);
  15443. Node261_1.a('node.bordercolor','rgba(255,255,192,1)');
  15444. Node261_1.a('node.borderwidth', 0);
  15445. Node261_1.a('node.background','' || 'rgba(0,0,0,0)');
  15446. Node261_1.a('node.gradient','');
  15447. Node261_1.a('node.gradientcolor','');
  15448. Node261_1.a('node.text','阳高采凉山风场');
  15449. Node261_1.a('node.textalign','left');
  15450. Node261_1.a('node.textvAlign','middle');
  15451. Node261_1.a('node.textrect', [Node261_1textStart, 0, Node261_1textWidth, Node261_1height]);
  15452. Node261_1.a('node.color','rgba(255,255,192,1)');
  15453. Node261_1.a('node.font',' '+ Node261_1fontSize + 'px "宋体"');
  15454. Node261_1.a('node.textvisible',true);
  15455. Node261_1.a('node.linefeed',false);
  15456. if (false) {
  15457. Node261_1.a('node.textfunc',function(g) {
  15458. g.beginPath();
  15459. var str=Node261_1.a('node.text') || '阳高采凉山风场';
  15460. var color=Node261_1.a('node.color') || 'rgba(255,255,192,1)';
  15461. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261_1width,Node261_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node261_1fontSize + 'px "宋体"', 0,g);
  15462. });
  15463. }
  15464. if (false) {
  15465. Node261_1.a('node.underlinepoints',[Node261_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node261_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width + 6, (Node261_1height - Node261_1fontSize) * 0.5*_ratio.ratioY + Node261_1fontSize + 2 ]);
  15466. Node261_1.a('node.underlinevisible',false);
  15467. Node261_1.a('node.underlineBorderWidth', 1);
  15468. }
  15469. dataModel.add(Node261_1);
  15470. zoomNodeList.push({
  15471. node: Node261_1,
  15472. borderWidth: 0,
  15473. attr: 'node.borderwidth'
  15474. }); var Node262_0;
  15475. (function () {
  15476. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15477. var ratioX, ratioY;
  15478. if ('Default' === 'False') {
  15479. ratioX = 1;
  15480. ratioY = 1;
  15481. } else if ('Default' === 'X') {
  15482. ratioX = ratioY = _ratio.ratioX;
  15483. } else if ('Default' === 'Y') {
  15484. ratioX = ratioY = _ratio.ratioY;
  15485. } else {
  15486. ratioX = _ratio.ratioX;
  15487. ratioY = _ratio.ratioY;
  15488. }
  15489. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15490. Node262_0 = new ht.Node();
  15491. Node262_0.setPosition(583*ratio.ratioX, 313*ratio.ratioY);
  15492. Node262_0.setSize(117*ratioX, 26*ratioY);
  15493. Node262_0.setImage('imgimage//img//index_map_bot.png');
  15494. Node262_0.setRotation(0*Math.PI/180);
  15495. Node262_0._zoomBy = 'Default';
  15496. Node262_0._nodeType = 'image';
  15497. Node262_0._disallowEvert = true;
  15498. dataModel.add(Node262_0);
  15499. })();
  15500. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15501. var Node262_1 = new ht.Node();
  15502. var Node262_1textStart, Node262_1textWidth, Node262_1lineStart, Node262_1align = 'left', Node262_1fontSize = 13.3333*_ratio.ratioY,Node262_1width = 110*_ratio.ratioX, Node262_1height = 16*_ratio.ratioY;
  15503. (function () {
  15504. if (Node262_1align === 'left') {
  15505. Node262_1textStart = Node262_1fontSize * 0.2 > 2 ? Node262_1fontSize * 0.2 - 4 : Node262_1fontSize * 0.2 - 9;
  15506. Node262_1textWidth = Node262_1width;
  15507. Node262_1lineStart = 1;
  15508. } else if (Node262_1align === 'right') {
  15509. Node262_1textStart = 0;
  15510. Node262_1textWidth =Node262_1fontSize <= 8 ? Node262_1width + Node262_1fontSize * 0.2 + 6 : Node262_1width - Node262_1fontSize * 0.2;
  15511. Node262_1lineStart = (Node262_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15512. } else if (Node262_1align === 'center') {
  15513. Node262_1textStart = -3;
  15514. Node262_1textWidth = Node262_1width;
  15515. Node262_1lineStart = Node262_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width - 11;
  15516. }
  15517. })();
  15518. Node262_1.setImage(GD.getTextJSON(Node262_1width, Node262_1height, true, false, false, ' '+ Node262_1fontSize + 'px "宋体"'))
  15519. Node262_1.setPosition(586*ratio.ratioX, 313*ratio.ratioY);
  15520. Node262_1.setWidth(Node262_1width);
  15521. Node262_1.setHeight(Node262_1height);
  15522. Node262_1._nodeType = 'text';
  15523. Node262_1._disallowEvert = true;
  15524. Node262_1.setRotation(0*Math.PI/180);
  15525. Node262_1.a('node.width', Node262_1width);
  15526. Node262_1.a('node.height', Node262_1height);
  15527. Node262_1.a('node.rect', [0, 0, Node262_1width, Node262_1height]);
  15528. Node262_1.a('node.bordercolor','rgba(255,255,255,1)');
  15529. Node262_1.a('node.borderwidth', 0);
  15530. Node262_1.a('node.background','' || 'rgba(0,0,0,0)');
  15531. Node262_1.a('node.gradient','');
  15532. Node262_1.a('node.gradientcolor','');
  15533. Node262_1.a('node.text','阳高采凉山风场');
  15534. Node262_1.a('node.textalign','left');
  15535. Node262_1.a('node.textvAlign','middle');
  15536. Node262_1.a('node.textrect', [Node262_1textStart, 0, Node262_1textWidth, Node262_1height]);
  15537. Node262_1.a('node.color','rgba(255,255,255,1)');
  15538. Node262_1.a('node.font',' '+ Node262_1fontSize + 'px "宋体"');
  15539. Node262_1.a('node.textvisible',true);
  15540. Node262_1.a('node.linefeed',false);
  15541. if (false) {
  15542. Node262_1.a('node.textfunc',function(g) {
  15543. g.beginPath();
  15544. var str=Node262_1.a('node.text') || '阳高采凉山风场';
  15545. var color=Node262_1.a('node.color') || 'rgba(255,255,255,1)';
  15546. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node262_1width,Node262_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node262_1fontSize + 'px "宋体"', 0,g);
  15547. });
  15548. }
  15549. if (false) {
  15550. Node262_1.a('node.underlinepoints',[Node262_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node262_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width + 6, (Node262_1height - Node262_1fontSize) * 0.5*_ratio.ratioY + Node262_1fontSize + 2 ]);
  15551. Node262_1.a('node.underlinevisible',false);
  15552. Node262_1.a('node.underlineBorderWidth', 1);
  15553. }
  15554. dataModel.add(Node262_1);
  15555. zoomNodeList.push({
  15556. node: Node262_1,
  15557. borderWidth: 0,
  15558. attr: 'node.borderwidth'
  15559. }); var Node263_0;
  15560. (function () {
  15561. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15562. var ratioX, ratioY;
  15563. if ('Default' === 'False') {
  15564. ratioX = 1;
  15565. ratioY = 1;
  15566. } else if ('Default' === 'X') {
  15567. ratioX = ratioY = _ratio.ratioX;
  15568. } else if ('Default' === 'Y') {
  15569. ratioX = ratioY = _ratio.ratioY;
  15570. } else {
  15571. ratioX = _ratio.ratioX;
  15572. ratioY = _ratio.ratioY;
  15573. }
  15574. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15575. Node263_0 = new ht.Node();
  15576. Node263_0.setPosition(585*ratio.ratioX, 363*ratio.ratioY);
  15577. Node263_0.setSize(117*ratioX, 26*ratioY);
  15578. Node263_0.setImage('imgimage//img//index_map_bot.png');
  15579. Node263_0.setRotation(0*Math.PI/180);
  15580. Node263_0._zoomBy = 'Default';
  15581. Node263_0._nodeType = 'image';
  15582. Node263_0._disallowEvert = true;
  15583. dataModel.add(Node263_0);
  15584. })();
  15585. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15586. var Node263_1 = new ht.Node();
  15587. var Node263_1textStart, Node263_1textWidth, Node263_1lineStart, Node263_1align = 'left', Node263_1fontSize = 13.3333*_ratio.ratioY,Node263_1width = 86*_ratio.ratioX, Node263_1height = 16*_ratio.ratioY;
  15588. (function () {
  15589. if (Node263_1align === 'left') {
  15590. Node263_1textStart = Node263_1fontSize * 0.2 > 2 ? Node263_1fontSize * 0.2 - 4 : Node263_1fontSize * 0.2 - 9;
  15591. Node263_1textWidth = Node263_1width;
  15592. Node263_1lineStart = 1;
  15593. } else if (Node263_1align === 'right') {
  15594. Node263_1textStart = 0;
  15595. Node263_1textWidth =Node263_1fontSize <= 8 ? Node263_1width + Node263_1fontSize * 0.2 + 6 : Node263_1width - Node263_1fontSize * 0.2;
  15596. Node263_1lineStart = (Node263_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15597. } else if (Node263_1align === 'center') {
  15598. Node263_1textStart = -3;
  15599. Node263_1textWidth = Node263_1width;
  15600. Node263_1lineStart = Node263_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width - 11;
  15601. }
  15602. })();
  15603. Node263_1.setImage(GD.getTextJSON(Node263_1width, Node263_1height, true, false, false, ' '+ Node263_1fontSize + 'px "宋体"'))
  15604. Node263_1.setPosition(584*ratio.ratioX, 363*ratio.ratioY);
  15605. Node263_1.setWidth(Node263_1width);
  15606. Node263_1.setHeight(Node263_1height);
  15607. Node263_1._nodeType = 'text';
  15608. Node263_1._disallowEvert = true;
  15609. Node263_1.setRotation(0*Math.PI/180);
  15610. Node263_1.a('node.width', Node263_1width);
  15611. Node263_1.a('node.height', Node263_1height);
  15612. Node263_1.a('node.rect', [0, 0, Node263_1width, Node263_1height]);
  15613. Node263_1.a('node.bordercolor','rgba(255,255,192,1)');
  15614. Node263_1.a('node.borderwidth', 0);
  15615. Node263_1.a('node.background','' || 'rgba(0,0,0,0)');
  15616. Node263_1.a('node.gradient','');
  15617. Node263_1.a('node.gradientcolor','');
  15618. Node263_1.a('node.text','浑源峰岳风场');
  15619. Node263_1.a('node.textalign','left');
  15620. Node263_1.a('node.textvAlign','middle');
  15621. Node263_1.a('node.textrect', [Node263_1textStart, 0, Node263_1textWidth, Node263_1height]);
  15622. Node263_1.a('node.color','rgba(255,255,192,1)');
  15623. Node263_1.a('node.font',' '+ Node263_1fontSize + 'px "宋体"');
  15624. Node263_1.a('node.textvisible',true);
  15625. Node263_1.a('node.linefeed',false);
  15626. if (false) {
  15627. Node263_1.a('node.textfunc',function(g) {
  15628. g.beginPath();
  15629. var str=Node263_1.a('node.text') || '浑源峰岳风场';
  15630. var color=Node263_1.a('node.color') || 'rgba(255,255,192,1)';
  15631. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node263_1width,Node263_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node263_1fontSize + 'px "宋体"', 0,g);
  15632. });
  15633. }
  15634. if (false) {
  15635. Node263_1.a('node.underlinepoints',[Node263_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node263_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width + 6, (Node263_1height - Node263_1fontSize) * 0.5*_ratio.ratioY + Node263_1fontSize + 2 ]);
  15636. Node263_1.a('node.underlinevisible',false);
  15637. Node263_1.a('node.underlineBorderWidth', 1);
  15638. }
  15639. dataModel.add(Node263_1);
  15640. zoomNodeList.push({
  15641. node: Node263_1,
  15642. borderWidth: 0,
  15643. attr: 'node.borderwidth'
  15644. }); var Node264_0;
  15645. (function () {
  15646. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15647. var ratioX, ratioY;
  15648. if ('Default' === 'False') {
  15649. ratioX = 1;
  15650. ratioY = 1;
  15651. } else if ('Default' === 'X') {
  15652. ratioX = ratioY = _ratio.ratioX;
  15653. } else if ('Default' === 'Y') {
  15654. ratioX = ratioY = _ratio.ratioY;
  15655. } else {
  15656. ratioX = _ratio.ratioX;
  15657. ratioY = _ratio.ratioY;
  15658. }
  15659. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15660. Node264_0 = new ht.Node();
  15661. Node264_0.setPosition(585*ratio.ratioX, 363*ratio.ratioY);
  15662. Node264_0.setSize(117*ratioX, 26*ratioY);
  15663. Node264_0.setImage('imgimage//img//index_map_bot.png');
  15664. Node264_0.setRotation(0*Math.PI/180);
  15665. Node264_0._zoomBy = 'Default';
  15666. Node264_0._nodeType = 'image';
  15667. Node264_0._disallowEvert = true;
  15668. dataModel.add(Node264_0);
  15669. })();
  15670. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15671. var Node264_1 = new ht.Node();
  15672. var Node264_1textStart, Node264_1textWidth, Node264_1lineStart, Node264_1align = 'left', Node264_1fontSize = 13.3333*_ratio.ratioY,Node264_1width = 86*_ratio.ratioX, Node264_1height = 16*_ratio.ratioY;
  15673. (function () {
  15674. if (Node264_1align === 'left') {
  15675. Node264_1textStart = Node264_1fontSize * 0.2 > 2 ? Node264_1fontSize * 0.2 - 4 : Node264_1fontSize * 0.2 - 9;
  15676. Node264_1textWidth = Node264_1width;
  15677. Node264_1lineStart = 1;
  15678. } else if (Node264_1align === 'right') {
  15679. Node264_1textStart = 0;
  15680. Node264_1textWidth =Node264_1fontSize <= 8 ? Node264_1width + Node264_1fontSize * 0.2 + 6 : Node264_1width - Node264_1fontSize * 0.2;
  15681. Node264_1lineStart = (Node264_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15682. } else if (Node264_1align === 'center') {
  15683. Node264_1textStart = -3;
  15684. Node264_1textWidth = Node264_1width;
  15685. Node264_1lineStart = Node264_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width - 11;
  15686. }
  15687. })();
  15688. Node264_1.setImage(GD.getTextJSON(Node264_1width, Node264_1height, true, false, false, ' '+ Node264_1fontSize + 'px "宋体"'))
  15689. Node264_1.setPosition(584*ratio.ratioX, 363*ratio.ratioY);
  15690. Node264_1.setWidth(Node264_1width);
  15691. Node264_1.setHeight(Node264_1height);
  15692. Node264_1._nodeType = 'text';
  15693. Node264_1._disallowEvert = true;
  15694. Node264_1.setRotation(0*Math.PI/180);
  15695. Node264_1.a('node.width', Node264_1width);
  15696. Node264_1.a('node.height', Node264_1height);
  15697. Node264_1.a('node.rect', [0, 0, Node264_1width, Node264_1height]);
  15698. Node264_1.a('node.bordercolor','rgba(255,255,255,1)');
  15699. Node264_1.a('node.borderwidth', 0);
  15700. Node264_1.a('node.background','' || 'rgba(0,0,0,0)');
  15701. Node264_1.a('node.gradient','');
  15702. Node264_1.a('node.gradientcolor','');
  15703. Node264_1.a('node.text','浑源峰岳风场');
  15704. Node264_1.a('node.textalign','left');
  15705. Node264_1.a('node.textvAlign','middle');
  15706. Node264_1.a('node.textrect', [Node264_1textStart, 0, Node264_1textWidth, Node264_1height]);
  15707. Node264_1.a('node.color','rgba(255,255,255,1)');
  15708. Node264_1.a('node.font',' '+ Node264_1fontSize + 'px "宋体"');
  15709. Node264_1.a('node.textvisible',true);
  15710. Node264_1.a('node.linefeed',false);
  15711. if (false) {
  15712. Node264_1.a('node.textfunc',function(g) {
  15713. g.beginPath();
  15714. var str=Node264_1.a('node.text') || '浑源峰岳风场';
  15715. var color=Node264_1.a('node.color') || 'rgba(255,255,255,1)';
  15716. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264_1width,Node264_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node264_1fontSize + 'px "宋体"', 0,g);
  15717. });
  15718. }
  15719. if (false) {
  15720. Node264_1.a('node.underlinepoints',[Node264_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node264_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width + 6, (Node264_1height - Node264_1fontSize) * 0.5*_ratio.ratioY + Node264_1fontSize + 2 ]);
  15721. Node264_1.a('node.underlinevisible',false);
  15722. Node264_1.a('node.underlineBorderWidth', 1);
  15723. }
  15724. dataModel.add(Node264_1);
  15725. zoomNodeList.push({
  15726. node: Node264_1,
  15727. borderWidth: 0,
  15728. attr: 'node.borderwidth'
  15729. }); var Node265_0;
  15730. (function () {
  15731. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15732. var ratioX, ratioY;
  15733. if ('Default' === 'False') {
  15734. ratioX = 1;
  15735. ratioY = 1;
  15736. } else if ('Default' === 'X') {
  15737. ratioX = ratioY = _ratio.ratioX;
  15738. } else if ('Default' === 'Y') {
  15739. ratioX = ratioY = _ratio.ratioY;
  15740. } else {
  15741. ratioX = _ratio.ratioX;
  15742. ratioY = _ratio.ratioY;
  15743. }
  15744. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15745. Node265_0 = new ht.Node();
  15746. Node265_0.setPosition(388*ratio.ratioX, 393*ratio.ratioY);
  15747. Node265_0.setSize(117*ratioX, 26*ratioY);
  15748. Node265_0.setImage('imgimage//img//index_map_bot.png');
  15749. Node265_0.setRotation(0*Math.PI/180);
  15750. Node265_0._zoomBy = 'Default';
  15751. Node265_0._nodeType = 'image';
  15752. Node265_0._disallowEvert = true;
  15753. dataModel.add(Node265_0);
  15754. })();
  15755. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15756. var Node265_1 = new ht.Node();
  15757. var Node265_1textStart, Node265_1textWidth, Node265_1lineStart, Node265_1align = 'left', Node265_1fontSize = 13.3333*_ratio.ratioY,Node265_1width = 110*_ratio.ratioX, Node265_1height = 16*_ratio.ratioY;
  15758. (function () {
  15759. if (Node265_1align === 'left') {
  15760. Node265_1textStart = Node265_1fontSize * 0.2 > 2 ? Node265_1fontSize * 0.2 - 4 : Node265_1fontSize * 0.2 - 9;
  15761. Node265_1textWidth = Node265_1width;
  15762. Node265_1lineStart = 1;
  15763. } else if (Node265_1align === 'right') {
  15764. Node265_1textStart = 0;
  15765. Node265_1textWidth =Node265_1fontSize <= 8 ? Node265_1width + Node265_1fontSize * 0.2 + 6 : Node265_1width - Node265_1fontSize * 0.2;
  15766. Node265_1lineStart = (Node265_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15767. } else if (Node265_1align === 'center') {
  15768. Node265_1textStart = -3;
  15769. Node265_1textWidth = Node265_1width;
  15770. Node265_1lineStart = Node265_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width - 11;
  15771. }
  15772. })();
  15773. Node265_1.setImage(GD.getTextJSON(Node265_1width, Node265_1height, true, false, false, ' '+ Node265_1fontSize + 'px "宋体"'))
  15774. Node265_1.setPosition(390*ratio.ratioX, 394*ratio.ratioY);
  15775. Node265_1.setWidth(Node265_1width);
  15776. Node265_1.setHeight(Node265_1height);
  15777. Node265_1._nodeType = 'text';
  15778. Node265_1._disallowEvert = true;
  15779. Node265_1.setRotation(0*Math.PI/180);
  15780. Node265_1.a('node.width', Node265_1width);
  15781. Node265_1.a('node.height', Node265_1height);
  15782. Node265_1.a('node.rect', [0, 0, Node265_1width, Node265_1height]);
  15783. Node265_1.a('node.bordercolor','rgba(255,255,192,1)');
  15784. Node265_1.a('node.borderwidth', 0);
  15785. Node265_1.a('node.background','' || 'rgba(0,0,0,0)');
  15786. Node265_1.a('node.gradient','');
  15787. Node265_1.a('node.gradientcolor','');
  15788. Node265_1.a('node.text','右玉高家堡风场');
  15789. Node265_1.a('node.textalign','left');
  15790. Node265_1.a('node.textvAlign','middle');
  15791. Node265_1.a('node.textrect', [Node265_1textStart, 0, Node265_1textWidth, Node265_1height]);
  15792. Node265_1.a('node.color','rgba(255,255,192,1)');
  15793. Node265_1.a('node.font',' '+ Node265_1fontSize + 'px "宋体"');
  15794. Node265_1.a('node.textvisible',true);
  15795. Node265_1.a('node.linefeed',false);
  15796. if (false) {
  15797. Node265_1.a('node.textfunc',function(g) {
  15798. g.beginPath();
  15799. var str=Node265_1.a('node.text') || '右玉高家堡风场';
  15800. var color=Node265_1.a('node.color') || 'rgba(255,255,192,1)';
  15801. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265_1width,Node265_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node265_1fontSize + 'px "宋体"', 0,g);
  15802. });
  15803. }
  15804. if (false) {
  15805. Node265_1.a('node.underlinepoints',[Node265_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node265_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width + 6, (Node265_1height - Node265_1fontSize) * 0.5*_ratio.ratioY + Node265_1fontSize + 2 ]);
  15806. Node265_1.a('node.underlinevisible',false);
  15807. Node265_1.a('node.underlineBorderWidth', 1);
  15808. }
  15809. dataModel.add(Node265_1);
  15810. zoomNodeList.push({
  15811. node: Node265_1,
  15812. borderWidth: 0,
  15813. attr: 'node.borderwidth'
  15814. }); var Node266_0;
  15815. (function () {
  15816. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15817. var ratioX, ratioY;
  15818. if ('Default' === 'False') {
  15819. ratioX = 1;
  15820. ratioY = 1;
  15821. } else if ('Default' === 'X') {
  15822. ratioX = ratioY = _ratio.ratioX;
  15823. } else if ('Default' === 'Y') {
  15824. ratioX = ratioY = _ratio.ratioY;
  15825. } else {
  15826. ratioX = _ratio.ratioX;
  15827. ratioY = _ratio.ratioY;
  15828. }
  15829. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15830. Node266_0 = new ht.Node();
  15831. Node266_0.setPosition(388*ratio.ratioX, 393*ratio.ratioY);
  15832. Node266_0.setSize(117*ratioX, 26*ratioY);
  15833. Node266_0.setImage('imgimage//img//index_map_bot.png');
  15834. Node266_0.setRotation(0*Math.PI/180);
  15835. Node266_0._zoomBy = 'Default';
  15836. Node266_0._nodeType = 'image';
  15837. Node266_0._disallowEvert = true;
  15838. dataModel.add(Node266_0);
  15839. })();
  15840. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15841. var Node266_1 = new ht.Node();
  15842. var Node266_1textStart, Node266_1textWidth, Node266_1lineStart, Node266_1align = 'left', Node266_1fontSize = 13.3333*_ratio.ratioY,Node266_1width = 110*_ratio.ratioX, Node266_1height = 16*_ratio.ratioY;
  15843. (function () {
  15844. if (Node266_1align === 'left') {
  15845. Node266_1textStart = Node266_1fontSize * 0.2 > 2 ? Node266_1fontSize * 0.2 - 4 : Node266_1fontSize * 0.2 - 9;
  15846. Node266_1textWidth = Node266_1width;
  15847. Node266_1lineStart = 1;
  15848. } else if (Node266_1align === 'right') {
  15849. Node266_1textStart = 0;
  15850. Node266_1textWidth =Node266_1fontSize <= 8 ? Node266_1width + Node266_1fontSize * 0.2 + 6 : Node266_1width - Node266_1fontSize * 0.2;
  15851. Node266_1lineStart = (Node266_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15852. } else if (Node266_1align === 'center') {
  15853. Node266_1textStart = -3;
  15854. Node266_1textWidth = Node266_1width;
  15855. Node266_1lineStart = Node266_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width - 11;
  15856. }
  15857. })();
  15858. Node266_1.setImage(GD.getTextJSON(Node266_1width, Node266_1height, true, false, false, ' '+ Node266_1fontSize + 'px "宋体"'))
  15859. Node266_1.setPosition(390*ratio.ratioX, 394*ratio.ratioY);
  15860. Node266_1.setWidth(Node266_1width);
  15861. Node266_1.setHeight(Node266_1height);
  15862. Node266_1._nodeType = 'text';
  15863. Node266_1._disallowEvert = true;
  15864. Node266_1.setRotation(0*Math.PI/180);
  15865. Node266_1.a('node.width', Node266_1width);
  15866. Node266_1.a('node.height', Node266_1height);
  15867. Node266_1.a('node.rect', [0, 0, Node266_1width, Node266_1height]);
  15868. Node266_1.a('node.bordercolor','rgba(255,255,255,1)');
  15869. Node266_1.a('node.borderwidth', 0);
  15870. Node266_1.a('node.background','' || 'rgba(0,0,0,0)');
  15871. Node266_1.a('node.gradient','');
  15872. Node266_1.a('node.gradientcolor','');
  15873. Node266_1.a('node.text','右玉高家堡风场');
  15874. Node266_1.a('node.textalign','left');
  15875. Node266_1.a('node.textvAlign','middle');
  15876. Node266_1.a('node.textrect', [Node266_1textStart, 0, Node266_1textWidth, Node266_1height]);
  15877. Node266_1.a('node.color','rgba(255,255,255,1)');
  15878. Node266_1.a('node.font',' '+ Node266_1fontSize + 'px "宋体"');
  15879. Node266_1.a('node.textvisible',true);
  15880. Node266_1.a('node.linefeed',false);
  15881. if (false) {
  15882. Node266_1.a('node.textfunc',function(g) {
  15883. g.beginPath();
  15884. var str=Node266_1.a('node.text') || '右玉高家堡风场';
  15885. var color=Node266_1.a('node.color') || 'rgba(255,255,255,1)';
  15886. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266_1width,Node266_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node266_1fontSize + 'px "宋体"', 0,g);
  15887. });
  15888. }
  15889. if (false) {
  15890. Node266_1.a('node.underlinepoints',[Node266_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node266_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width + 6, (Node266_1height - Node266_1fontSize) * 0.5*_ratio.ratioY + Node266_1fontSize + 2 ]);
  15891. Node266_1.a('node.underlinevisible',false);
  15892. Node266_1.a('node.underlineBorderWidth', 1);
  15893. }
  15894. dataModel.add(Node266_1);
  15895. zoomNodeList.push({
  15896. node: Node266_1,
  15897. borderWidth: 0,
  15898. attr: 'node.borderwidth'
  15899. }); var Node267_0;
  15900. (function () {
  15901. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15902. var ratioX, ratioY;
  15903. if ('Default' === 'False') {
  15904. ratioX = 1;
  15905. ratioY = 1;
  15906. } else if ('Default' === 'X') {
  15907. ratioX = ratioY = _ratio.ratioX;
  15908. } else if ('Default' === 'Y') {
  15909. ratioX = ratioY = _ratio.ratioY;
  15910. } else {
  15911. ratioX = _ratio.ratioX;
  15912. ratioY = _ratio.ratioY;
  15913. }
  15914. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  15915. Node267_0 = new ht.Node();
  15916. Node267_0.setPosition(498*ratio.ratioX, 463*ratio.ratioY);
  15917. Node267_0.setSize(117*ratioX, 26*ratioY);
  15918. Node267_0.setImage('imgimage//img//index_map_bot.png');
  15919. Node267_0.setRotation(0*Math.PI/180);
  15920. Node267_0._zoomBy = 'Default';
  15921. Node267_0._nodeType = 'image';
  15922. Node267_0._disallowEvert = true;
  15923. dataModel.add(Node267_0);
  15924. })();
  15925. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15926. var Node267_1 = new ht.Node();
  15927. var Node267_1textStart, Node267_1textWidth, Node267_1lineStart, Node267_1align = 'left', Node267_1fontSize = 13.3333*_ratio.ratioY,Node267_1width = 86*_ratio.ratioX, Node267_1height = 16*_ratio.ratioY;
  15928. (function () {
  15929. if (Node267_1align === 'left') {
  15930. Node267_1textStart = Node267_1fontSize * 0.2 > 2 ? Node267_1fontSize * 0.2 - 4 : Node267_1fontSize * 0.2 - 9;
  15931. Node267_1textWidth = Node267_1width;
  15932. Node267_1lineStart = 1;
  15933. } else if (Node267_1align === 'right') {
  15934. Node267_1textStart = 0;
  15935. Node267_1textWidth =Node267_1fontSize <= 8 ? Node267_1width + Node267_1fontSize * 0.2 + 6 : Node267_1width - Node267_1fontSize * 0.2;
  15936. Node267_1lineStart = (Node267_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  15937. } else if (Node267_1align === 'center') {
  15938. Node267_1textStart = -3;
  15939. Node267_1textWidth = Node267_1width;
  15940. Node267_1lineStart = Node267_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width - 11;
  15941. }
  15942. })();
  15943. Node267_1.setImage(GD.getTextJSON(Node267_1width, Node267_1height, true, false, false, ' '+ Node267_1fontSize + 'px "宋体"'))
  15944. Node267_1.setPosition(499*ratio.ratioX, 464*ratio.ratioY);
  15945. Node267_1.setWidth(Node267_1width);
  15946. Node267_1.setHeight(Node267_1height);
  15947. Node267_1._nodeType = 'text';
  15948. Node267_1._disallowEvert = true;
  15949. Node267_1.setRotation(0*Math.PI/180);
  15950. Node267_1.a('node.width', Node267_1width);
  15951. Node267_1.a('node.height', Node267_1height);
  15952. Node267_1.a('node.rect', [0, 0, Node267_1width, Node267_1height]);
  15953. Node267_1.a('node.bordercolor','rgba(255,255,192,1)');
  15954. Node267_1.a('node.borderwidth', 0);
  15955. Node267_1.a('node.background','' || 'rgba(0,0,0,0)');
  15956. Node267_1.a('node.gradient','');
  15957. Node267_1.a('node.gradientcolor','');
  15958. Node267_1.a('node.text','广灵劲风风场');
  15959. Node267_1.a('node.textalign','left');
  15960. Node267_1.a('node.textvAlign','middle');
  15961. Node267_1.a('node.textrect', [Node267_1textStart, 0, Node267_1textWidth, Node267_1height]);
  15962. Node267_1.a('node.color','rgba(255,255,192,1)');
  15963. Node267_1.a('node.font',' '+ Node267_1fontSize + 'px "宋体"');
  15964. Node267_1.a('node.textvisible',true);
  15965. Node267_1.a('node.linefeed',false);
  15966. if (false) {
  15967. Node267_1.a('node.textfunc',function(g) {
  15968. g.beginPath();
  15969. var str=Node267_1.a('node.text') || '广灵劲风风场';
  15970. var color=Node267_1.a('node.color') || 'rgba(255,255,192,1)';
  15971. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267_1width,Node267_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node267_1fontSize + 'px "宋体"', 0,g);
  15972. });
  15973. }
  15974. if (false) {
  15975. Node267_1.a('node.underlinepoints',[Node267_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node267_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width + 6, (Node267_1height - Node267_1fontSize) * 0.5*_ratio.ratioY + Node267_1fontSize + 2 ]);
  15976. Node267_1.a('node.underlinevisible',false);
  15977. Node267_1.a('node.underlineBorderWidth', 1);
  15978. }
  15979. dataModel.add(Node267_1);
  15980. zoomNodeList.push({
  15981. node: Node267_1,
  15982. borderWidth: 0,
  15983. attr: 'node.borderwidth'
  15984. }); var Node268_0;
  15985. (function () {
  15986. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15987. var ratioX, ratioY;
  15988. if ('Default' === 'False') {
  15989. ratioX = 1;
  15990. ratioY = 1;
  15991. } else if ('Default' === 'X') {
  15992. ratioX = ratioY = _ratio.ratioX;
  15993. } else if ('Default' === 'Y') {
  15994. ratioX = ratioY = _ratio.ratioY;
  15995. } else {
  15996. ratioX = _ratio.ratioX;
  15997. ratioY = _ratio.ratioY;
  15998. }
  15999. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  16000. Node268_0 = new ht.Node();
  16001. Node268_0.setPosition(498*ratio.ratioX, 463*ratio.ratioY);
  16002. Node268_0.setSize(117*ratioX, 26*ratioY);
  16003. Node268_0.setImage('imgimage//img//index_map_bot.png');
  16004. Node268_0.setRotation(0*Math.PI/180);
  16005. Node268_0._zoomBy = 'Default';
  16006. Node268_0._nodeType = 'image';
  16007. Node268_0._disallowEvert = true;
  16008. dataModel.add(Node268_0);
  16009. })();
  16010. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16011. var Node268_1 = new ht.Node();
  16012. var Node268_1textStart, Node268_1textWidth, Node268_1lineStart, Node268_1align = 'left', Node268_1fontSize = 13.3333*_ratio.ratioY,Node268_1width = 86*_ratio.ratioX, Node268_1height = 16*_ratio.ratioY;
  16013. (function () {
  16014. if (Node268_1align === 'left') {
  16015. Node268_1textStart = Node268_1fontSize * 0.2 > 2 ? Node268_1fontSize * 0.2 - 4 : Node268_1fontSize * 0.2 - 9;
  16016. Node268_1textWidth = Node268_1width;
  16017. Node268_1lineStart = 1;
  16018. } else if (Node268_1align === 'right') {
  16019. Node268_1textStart = 0;
  16020. Node268_1textWidth =Node268_1fontSize <= 8 ? Node268_1width + Node268_1fontSize * 0.2 + 6 : Node268_1width - Node268_1fontSize * 0.2;
  16021. Node268_1lineStart = (Node268_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  16022. } else if (Node268_1align === 'center') {
  16023. Node268_1textStart = -3;
  16024. Node268_1textWidth = Node268_1width;
  16025. Node268_1lineStart = Node268_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width - 11;
  16026. }
  16027. })();
  16028. Node268_1.setImage(GD.getTextJSON(Node268_1width, Node268_1height, true, false, false, ' '+ Node268_1fontSize + 'px "宋体"'))
  16029. Node268_1.setPosition(499*ratio.ratioX, 464*ratio.ratioY);
  16030. Node268_1.setWidth(Node268_1width);
  16031. Node268_1.setHeight(Node268_1height);
  16032. Node268_1._nodeType = 'text';
  16033. Node268_1._disallowEvert = true;
  16034. Node268_1.setRotation(0*Math.PI/180);
  16035. Node268_1.a('node.width', Node268_1width);
  16036. Node268_1.a('node.height', Node268_1height);
  16037. Node268_1.a('node.rect', [0, 0, Node268_1width, Node268_1height]);
  16038. Node268_1.a('node.bordercolor','rgba(255,255,255,1)');
  16039. Node268_1.a('node.borderwidth', 0);
  16040. Node268_1.a('node.background','' || 'rgba(0,0,0,0)');
  16041. Node268_1.a('node.gradient','');
  16042. Node268_1.a('node.gradientcolor','');
  16043. Node268_1.a('node.text','广灵劲风风场');
  16044. Node268_1.a('node.textalign','left');
  16045. Node268_1.a('node.textvAlign','middle');
  16046. Node268_1.a('node.textrect', [Node268_1textStart, 0, Node268_1textWidth, Node268_1height]);
  16047. Node268_1.a('node.color','rgba(255,255,255,1)');
  16048. Node268_1.a('node.font',' '+ Node268_1fontSize + 'px "宋体"');
  16049. Node268_1.a('node.textvisible',true);
  16050. Node268_1.a('node.linefeed',false);
  16051. if (false) {
  16052. Node268_1.a('node.textfunc',function(g) {
  16053. g.beginPath();
  16054. var str=Node268_1.a('node.text') || '广灵劲风风场';
  16055. var color=Node268_1.a('node.color') || 'rgba(255,255,255,1)';
  16056. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268_1width,Node268_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node268_1fontSize + 'px "宋体"', 0,g);
  16057. });
  16058. }
  16059. if (false) {
  16060. Node268_1.a('node.underlinepoints',[Node268_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node268_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width + 6, (Node268_1height - Node268_1fontSize) * 0.5*_ratio.ratioY + Node268_1fontSize + 2 ]);
  16061. Node268_1.a('node.underlinevisible',false);
  16062. Node268_1.a('node.underlineBorderWidth', 1);
  16063. }
  16064. dataModel.add(Node268_1);
  16065. zoomNodeList.push({
  16066. node: Node268_1,
  16067. borderWidth: 0,
  16068. attr: 'node.borderwidth'
  16069. }); var Node269_0;
  16070. (function () {
  16071. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16072. var ratioX, ratioY;
  16073. if ('Default' === 'False') {
  16074. ratioX = 1;
  16075. ratioY = 1;
  16076. } else if ('Default' === 'X') {
  16077. ratioX = ratioY = _ratio.ratioX;
  16078. } else if ('Default' === 'Y') {
  16079. ratioX = ratioY = _ratio.ratioY;
  16080. } else {
  16081. ratioX = _ratio.ratioX;
  16082. ratioY = _ratio.ratioY;
  16083. }
  16084. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  16085. Node269_0 = new ht.Node();
  16086. Node269_0.setPosition(268*ratio.ratioX, 463*ratio.ratioY);
  16087. Node269_0.setSize(117*ratioX, 26*ratioY);
  16088. Node269_0.setImage('imgimage//img//index_map_bot.png');
  16089. Node269_0.setRotation(0*Math.PI/180);
  16090. Node269_0._zoomBy = 'Default';
  16091. Node269_0._nodeType = 'image';
  16092. Node269_0._disallowEvert = true;
  16093. dataModel.add(Node269_0);
  16094. })();
  16095. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16096. var Node269_1 = new ht.Node();
  16097. var Node269_1textStart, Node269_1textWidth, Node269_1lineStart, Node269_1align = 'left', Node269_1fontSize = 13.3333*_ratio.ratioY,Node269_1width = 100*_ratio.ratioX, Node269_1height = 16*_ratio.ratioY;
  16098. (function () {
  16099. if (Node269_1align === 'left') {
  16100. Node269_1textStart = Node269_1fontSize * 0.2 > 2 ? Node269_1fontSize * 0.2 - 4 : Node269_1fontSize * 0.2 - 9;
  16101. Node269_1textWidth = Node269_1width;
  16102. Node269_1lineStart = 1;
  16103. } else if (Node269_1align === 'right') {
  16104. Node269_1textStart = 0;
  16105. Node269_1textWidth =Node269_1fontSize <= 8 ? Node269_1width + Node269_1fontSize * 0.2 + 6 : Node269_1width - Node269_1fontSize * 0.2;
  16106. Node269_1lineStart = (Node269_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  16107. } else if (Node269_1align === 'center') {
  16108. Node269_1textStart = -3;
  16109. Node269_1textWidth = Node269_1width;
  16110. Node269_1lineStart = Node269_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width - 11;
  16111. }
  16112. })();
  16113. Node269_1.setImage(GD.getTextJSON(Node269_1width, Node269_1height, true, false, false, ' '+ Node269_1fontSize + 'px "宋体"'))
  16114. Node269_1.setPosition(267*ratio.ratioX, 463*ratio.ratioY);
  16115. Node269_1.setWidth(Node269_1width);
  16116. Node269_1.setHeight(Node269_1height);
  16117. Node269_1._nodeType = 'text';
  16118. Node269_1._disallowEvert = true;
  16119. Node269_1.setRotation(0*Math.PI/180);
  16120. Node269_1.a('node.width', Node269_1width);
  16121. Node269_1.a('node.height', Node269_1height);
  16122. Node269_1.a('node.rect', [0, 0, Node269_1width, Node269_1height]);
  16123. Node269_1.a('node.bordercolor','rgba(255,255,192,1)');
  16124. Node269_1.a('node.borderwidth', 0);
  16125. Node269_1.a('node.background','' || 'rgba(0,0,0,0)');
  16126. Node269_1.a('node.gradient','');
  16127. Node269_1.a('node.gradientcolor','');
  16128. Node269_1.a('node.text','平鲁虎头山风场');
  16129. Node269_1.a('node.textalign','left');
  16130. Node269_1.a('node.textvAlign','middle');
  16131. Node269_1.a('node.textrect', [Node269_1textStart, 0, Node269_1textWidth, Node269_1height]);
  16132. Node269_1.a('node.color','rgba(255,255,192,1)');
  16133. Node269_1.a('node.font',' '+ Node269_1fontSize + 'px "宋体"');
  16134. Node269_1.a('node.textvisible',true);
  16135. Node269_1.a('node.linefeed',false);
  16136. if (false) {
  16137. Node269_1.a('node.textfunc',function(g) {
  16138. g.beginPath();
  16139. var str=Node269_1.a('node.text') || '平鲁虎头山风场';
  16140. var color=Node269_1.a('node.color') || 'rgba(255,255,192,1)';
  16141. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269_1width,Node269_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node269_1fontSize + 'px "宋体"', 0,g);
  16142. });
  16143. }
  16144. if (false) {
  16145. Node269_1.a('node.underlinepoints',[Node269_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node269_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width + 6, (Node269_1height - Node269_1fontSize) * 0.5*_ratio.ratioY + Node269_1fontSize + 2 ]);
  16146. Node269_1.a('node.underlinevisible',false);
  16147. Node269_1.a('node.underlineBorderWidth', 1);
  16148. }
  16149. dataModel.add(Node269_1);
  16150. zoomNodeList.push({
  16151. node: Node269_1,
  16152. borderWidth: 0,
  16153. attr: 'node.borderwidth'
  16154. }); var Node270_0;
  16155. (function () {
  16156. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16157. var ratioX, ratioY;
  16158. if ('Default' === 'False') {
  16159. ratioX = 1;
  16160. ratioY = 1;
  16161. } else if ('Default' === 'X') {
  16162. ratioX = ratioY = _ratio.ratioX;
  16163. } else if ('Default' === 'Y') {
  16164. ratioX = ratioY = _ratio.ratioY;
  16165. } else {
  16166. ratioX = _ratio.ratioX;
  16167. ratioY = _ratio.ratioY;
  16168. }
  16169. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  16170. Node270_0 = new ht.Node();
  16171. Node270_0.setPosition(268*ratio.ratioX, 463*ratio.ratioY);
  16172. Node270_0.setSize(117*ratioX, 26*ratioY);
  16173. Node270_0.setImage('imgimage//img//index_map_bot.png');
  16174. Node270_0.setRotation(0*Math.PI/180);
  16175. Node270_0._zoomBy = 'Default';
  16176. Node270_0._nodeType = 'image';
  16177. Node270_0._disallowEvert = true;
  16178. dataModel.add(Node270_0);
  16179. })();
  16180. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16181. var Node270_1 = new ht.Node();
  16182. var Node270_1textStart, Node270_1textWidth, Node270_1lineStart, Node270_1align = 'left', Node270_1fontSize = 13.3333*_ratio.ratioY,Node270_1width = 100*_ratio.ratioX, Node270_1height = 16*_ratio.ratioY;
  16183. (function () {
  16184. if (Node270_1align === 'left') {
  16185. Node270_1textStart = Node270_1fontSize * 0.2 > 2 ? Node270_1fontSize * 0.2 - 4 : Node270_1fontSize * 0.2 - 9;
  16186. Node270_1textWidth = Node270_1width;
  16187. Node270_1lineStart = 1;
  16188. } else if (Node270_1align === 'right') {
  16189. Node270_1textStart = 0;
  16190. Node270_1textWidth =Node270_1fontSize <= 8 ? Node270_1width + Node270_1fontSize * 0.2 + 6 : Node270_1width - Node270_1fontSize * 0.2;
  16191. Node270_1lineStart = (Node270_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  16192. } else if (Node270_1align === 'center') {
  16193. Node270_1textStart = -3;
  16194. Node270_1textWidth = Node270_1width;
  16195. Node270_1lineStart = Node270_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width - 11;
  16196. }
  16197. })();
  16198. Node270_1.setImage(GD.getTextJSON(Node270_1width, Node270_1height, true, false, false, ' '+ Node270_1fontSize + 'px "宋体"'))
  16199. Node270_1.setPosition(267*ratio.ratioX, 463*ratio.ratioY);
  16200. Node270_1.setWidth(Node270_1width);
  16201. Node270_1.setHeight(Node270_1height);
  16202. Node270_1._nodeType = 'text';
  16203. Node270_1._disallowEvert = true;
  16204. Node270_1.setRotation(0*Math.PI/180);
  16205. Node270_1.a('node.width', Node270_1width);
  16206. Node270_1.a('node.height', Node270_1height);
  16207. Node270_1.a('node.rect', [0, 0, Node270_1width, Node270_1height]);
  16208. Node270_1.a('node.bordercolor','rgba(255,255,255,1)');
  16209. Node270_1.a('node.borderwidth', 0);
  16210. Node270_1.a('node.background','' || 'rgba(0,0,0,0)');
  16211. Node270_1.a('node.gradient','');
  16212. Node270_1.a('node.gradientcolor','');
  16213. Node270_1.a('node.text','平鲁虎头山风场');
  16214. Node270_1.a('node.textalign','left');
  16215. Node270_1.a('node.textvAlign','middle');
  16216. Node270_1.a('node.textrect', [Node270_1textStart, 0, Node270_1textWidth, Node270_1height]);
  16217. Node270_1.a('node.color','rgba(255,255,255,1)');
  16218. Node270_1.a('node.font',' '+ Node270_1fontSize + 'px "宋体"');
  16219. Node270_1.a('node.textvisible',true);
  16220. Node270_1.a('node.linefeed',false);
  16221. if (false) {
  16222. Node270_1.a('node.textfunc',function(g) {
  16223. g.beginPath();
  16224. var str=Node270_1.a('node.text') || '平鲁虎头山风场';
  16225. var color=Node270_1.a('node.color') || 'rgba(255,255,255,1)';
  16226. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node270_1width,Node270_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node270_1fontSize + 'px "宋体"', 0,g);
  16227. });
  16228. }
  16229. if (false) {
  16230. Node270_1.a('node.underlinepoints',[Node270_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node270_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width + 6, (Node270_1height - Node270_1fontSize) * 0.5*_ratio.ratioY + Node270_1fontSize + 2 ]);
  16231. Node270_1.a('node.underlinevisible',false);
  16232. Node270_1.a('node.underlineBorderWidth', 1);
  16233. }
  16234. dataModel.add(Node270_1);
  16235. zoomNodeList.push({
  16236. node: Node270_1,
  16237. borderWidth: 0,
  16238. attr: 'node.borderwidth'
  16239. }); var Node271_0;
  16240. (function () {
  16241. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16242. var ratioX, ratioY;
  16243. if ('Default' === 'False') {
  16244. ratioX = 1;
  16245. ratioY = 1;
  16246. } else if ('Default' === 'X') {
  16247. ratioX = ratioY = _ratio.ratioX;
  16248. } else if ('Default' === 'Y') {
  16249. ratioX = ratioY = _ratio.ratioY;
  16250. } else {
  16251. ratioX = _ratio.ratioX;
  16252. ratioY = _ratio.ratioY;
  16253. }
  16254. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  16255. Node271_0 = new ht.Node();
  16256. Node271_0.setPosition(318*ratio.ratioX, 763*ratio.ratioY);
  16257. Node271_0.setSize(117*ratioX, 26*ratioY);
  16258. Node271_0.setImage('imgimage//img//index_map_bot.png');
  16259. Node271_0.setRotation(0*Math.PI/180);
  16260. Node271_0._zoomBy = 'Default';
  16261. Node271_0._nodeType = 'image';
  16262. Node271_0._disallowEvert = true;
  16263. dataModel.add(Node271_0);
  16264. })();
  16265. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16266. var Node271_1 = new ht.Node();
  16267. var Node271_1textStart, Node271_1textWidth, Node271_1lineStart, Node271_1align = 'left', Node271_1fontSize = 13.3333*_ratio.ratioY,Node271_1width = 110*_ratio.ratioX, Node271_1height = 16*_ratio.ratioY;
  16268. (function () {
  16269. if (Node271_1align === 'left') {
  16270. Node271_1textStart = Node271_1fontSize * 0.2 > 2 ? Node271_1fontSize * 0.2 - 4 : Node271_1fontSize * 0.2 - 9;
  16271. Node271_1textWidth = Node271_1width;
  16272. Node271_1lineStart = 1;
  16273. } else if (Node271_1align === 'right') {
  16274. Node271_1textStart = 0;
  16275. Node271_1textWidth =Node271_1fontSize <= 8 ? Node271_1width + Node271_1fontSize * 0.2 + 6 : Node271_1width - Node271_1fontSize * 0.2;
  16276. Node271_1lineStart = (Node271_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  16277. } else if (Node271_1align === 'center') {
  16278. Node271_1textStart = -3;
  16279. Node271_1textWidth = Node271_1width;
  16280. Node271_1lineStart = Node271_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width - 11;
  16281. }
  16282. })();
  16283. Node271_1.setImage(GD.getTextJSON(Node271_1width, Node271_1height, true, false, false, ' '+ Node271_1fontSize + 'px "宋体"'))
  16284. Node271_1.setPosition(322*ratio.ratioX, 764*ratio.ratioY);
  16285. Node271_1.setWidth(Node271_1width);
  16286. Node271_1.setHeight(Node271_1height);
  16287. Node271_1._nodeType = 'text';
  16288. Node271_1._disallowEvert = true;
  16289. Node271_1.setRotation(0*Math.PI/180);
  16290. Node271_1.a('node.width', Node271_1width);
  16291. Node271_1.a('node.height', Node271_1height);
  16292. Node271_1.a('node.rect', [0, 0, Node271_1width, Node271_1height]);
  16293. Node271_1.a('node.bordercolor','rgba(255,255,192,1)');
  16294. Node271_1.a('node.borderwidth', 0);
  16295. Node271_1.a('node.background','' || 'rgba(0,0,0,0)');
  16296. Node271_1.a('node.gradient','');
  16297. Node271_1.a('node.gradientcolor','');
  16298. Node271_1.a('node.text','吕梁宝塔山风场');
  16299. Node271_1.a('node.textalign','left');
  16300. Node271_1.a('node.textvAlign','middle');
  16301. Node271_1.a('node.textrect', [Node271_1textStart, 0, Node271_1textWidth, Node271_1height]);
  16302. Node271_1.a('node.color','rgba(255,255,192,1)');
  16303. Node271_1.a('node.font',' '+ Node271_1fontSize + 'px "宋体"');
  16304. Node271_1.a('node.textvisible',true);
  16305. Node271_1.a('node.linefeed',false);
  16306. if (false) {
  16307. Node271_1.a('node.textfunc',function(g) {
  16308. g.beginPath();
  16309. var str=Node271_1.a('node.text') || '吕梁宝塔山风场';
  16310. var color=Node271_1.a('node.color') || 'rgba(255,255,192,1)';
  16311. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271_1width,Node271_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node271_1fontSize + 'px "宋体"', 0,g);
  16312. });
  16313. }
  16314. if (false) {
  16315. Node271_1.a('node.underlinepoints',[Node271_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node271_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width + 6, (Node271_1height - Node271_1fontSize) * 0.5*_ratio.ratioY + Node271_1fontSize + 2 ]);
  16316. Node271_1.a('node.underlinevisible',false);
  16317. Node271_1.a('node.underlineBorderWidth', 1);
  16318. }
  16319. dataModel.add(Node271_1);
  16320. zoomNodeList.push({
  16321. node: Node271_1,
  16322. borderWidth: 0,
  16323. attr: 'node.borderwidth'
  16324. }); var Node272_0;
  16325. (function () {
  16326. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16327. var ratioX, ratioY;
  16328. if ('Default' === 'False') {
  16329. ratioX = 1;
  16330. ratioY = 1;
  16331. } else if ('Default' === 'X') {
  16332. ratioX = ratioY = _ratio.ratioX;
  16333. } else if ('Default' === 'Y') {
  16334. ratioX = ratioY = _ratio.ratioY;
  16335. } else {
  16336. ratioX = _ratio.ratioX;
  16337. ratioY = _ratio.ratioY;
  16338. }
  16339. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  16340. Node272_0 = new ht.Node();
  16341. Node272_0.setPosition(318*ratio.ratioX, 763*ratio.ratioY);
  16342. Node272_0.setSize(117*ratioX, 26*ratioY);
  16343. Node272_0.setImage('imgimage//img//index_map_bot.png');
  16344. Node272_0.setRotation(0*Math.PI/180);
  16345. Node272_0._zoomBy = 'Default';
  16346. Node272_0._nodeType = 'image';
  16347. Node272_0._disallowEvert = true;
  16348. dataModel.add(Node272_0);
  16349. })();
  16350. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16351. var Node272_1 = new ht.Node();
  16352. var Node272_1textStart, Node272_1textWidth, Node272_1lineStart, Node272_1align = 'left', Node272_1fontSize = 13.3333*_ratio.ratioY,Node272_1width = 110*_ratio.ratioX, Node272_1height = 16*_ratio.ratioY;
  16353. (function () {
  16354. if (Node272_1align === 'left') {
  16355. Node272_1textStart = Node272_1fontSize * 0.2 > 2 ? Node272_1fontSize * 0.2 - 4 : Node272_1fontSize * 0.2 - 9;
  16356. Node272_1textWidth = Node272_1width;
  16357. Node272_1lineStart = 1;
  16358. } else if (Node272_1align === 'right') {
  16359. Node272_1textStart = 0;
  16360. Node272_1textWidth =Node272_1fontSize <= 8 ? Node272_1width + Node272_1fontSize * 0.2 + 6 : Node272_1width - Node272_1fontSize * 0.2;
  16361. Node272_1lineStart = (Node272_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  16362. } else if (Node272_1align === 'center') {
  16363. Node272_1textStart = -3;
  16364. Node272_1textWidth = Node272_1width;
  16365. Node272_1lineStart = Node272_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width - 11;
  16366. }
  16367. })();
  16368. Node272_1.setImage(GD.getTextJSON(Node272_1width, Node272_1height, true, false, false, ' '+ Node272_1fontSize + 'px "宋体"'))
  16369. Node272_1.setPosition(322*ratio.ratioX, 764*ratio.ratioY);
  16370. Node272_1.setWidth(Node272_1width);
  16371. Node272_1.setHeight(Node272_1height);
  16372. Node272_1._nodeType = 'text';
  16373. Node272_1._disallowEvert = true;
  16374. Node272_1.setRotation(0*Math.PI/180);
  16375. Node272_1.a('node.width', Node272_1width);
  16376. Node272_1.a('node.height', Node272_1height);
  16377. Node272_1.a('node.rect', [0, 0, Node272_1width, Node272_1height]);
  16378. Node272_1.a('node.bordercolor','rgba(255,255,255,1)');
  16379. Node272_1.a('node.borderwidth', 0);
  16380. Node272_1.a('node.background','' || 'rgba(0,0,0,0)');
  16381. Node272_1.a('node.gradient','');
  16382. Node272_1.a('node.gradientcolor','');
  16383. Node272_1.a('node.text','吕梁宝塔山风场');
  16384. Node272_1.a('node.textalign','left');
  16385. Node272_1.a('node.textvAlign','middle');
  16386. Node272_1.a('node.textrect', [Node272_1textStart, 0, Node272_1textWidth, Node272_1height]);
  16387. Node272_1.a('node.color','rgba(255,255,255,1)');
  16388. Node272_1.a('node.font',' '+ Node272_1fontSize + 'px "宋体"');
  16389. Node272_1.a('node.textvisible',true);
  16390. Node272_1.a('node.linefeed',false);
  16391. if (false) {
  16392. Node272_1.a('node.textfunc',function(g) {
  16393. g.beginPath();
  16394. var str=Node272_1.a('node.text') || '吕梁宝塔山风场';
  16395. var color=Node272_1.a('node.color') || 'rgba(255,255,255,1)';
  16396. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node272_1width,Node272_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node272_1fontSize + 'px "宋体"', 0,g);
  16397. });
  16398. }
  16399. if (false) {
  16400. Node272_1.a('node.underlinepoints',[Node272_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node272_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width + 6, (Node272_1height - Node272_1fontSize) * 0.5*_ratio.ratioY + Node272_1fontSize + 2 ]);
  16401. Node272_1.a('node.underlinevisible',false);
  16402. Node272_1.a('node.underlineBorderWidth', 1);
  16403. }
  16404. dataModel.add(Node272_1);
  16405. zoomNodeList.push({
  16406. node: Node272_1,
  16407. borderWidth: 0,
  16408. attr: 'node.borderwidth'
  16409. }); var Node273_0;
  16410. (function () {
  16411. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16412. var ratioX, ratioY;
  16413. if ('Default' === 'False') {
  16414. ratioX = 1;
  16415. ratioY = 1;
  16416. } else if ('Default' === 'X') {
  16417. ratioX = ratioY = _ratio.ratioX;
  16418. } else if ('Default' === 'Y') {
  16419. ratioX = ratioY = _ratio.ratioY;
  16420. } else {
  16421. ratioX = _ratio.ratioX;
  16422. ratioY = _ratio.ratioY;
  16423. }
  16424. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  16425. Node273_0 = new ht.Node();
  16426. Node273_0.setPosition(683*ratio.ratioX, 350*ratio.ratioY);
  16427. Node273_0.setSize(146*ratioX, 141*ratioY);
  16428. Node273_0.setImage('imgimage//img//map_name_03.png');
  16429. Node273_0.setRotation(0*Math.PI/180);
  16430. Node273_0._zoomBy = 'Default';
  16431. Node273_0._nodeType = 'image';
  16432. Node273_0._disallowEvert = true;
  16433. dataModel.add(Node273_0);
  16434. })();
  16435. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16436. var Node273_1 = new ht.Node();
  16437. var Node273_1textStart, Node273_1textWidth, Node273_1lineStart, Node273_1align = 'left', Node273_1fontSize = 10.66664*_ratio.ratioY,Node273_1width = 72*_ratio.ratioX, Node273_1height = 27*_ratio.ratioY;
  16438. (function () {
  16439. if (Node273_1align === 'left') {
  16440. Node273_1textStart = Node273_1fontSize * 0.2 > 2 ? Node273_1fontSize * 0.2 - 4 : Node273_1fontSize * 0.2 - 9;
  16441. Node273_1textWidth = Node273_1width;
  16442. Node273_1lineStart = 1;
  16443. } else if (Node273_1align === 'right') {
  16444. Node273_1textStart = 0;
  16445. Node273_1textWidth =Node273_1fontSize <= 8 ? Node273_1width + Node273_1fontSize * 0.2 + 6 : Node273_1width - Node273_1fontSize * 0.2;
  16446. Node273_1lineStart = (Node273_1width - (ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  16447. } else if (Node273_1align === 'center') {
  16448. Node273_1textStart = -3;
  16449. Node273_1textWidth = Node273_1width;
  16450. Node273_1lineStart = Node273_1width - ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width - 11;
  16451. }
  16452. })();
  16453. Node273_1.setImage(GD.getTextJSON(Node273_1width, Node273_1height, true, false, false, ' '+ Node273_1fontSize + 'px "Arial"'))
  16454. Node273_1.setPosition(653*ratio.ratioX, 303*ratio.ratioY);
  16455. Node273_1.setWidth(Node273_1width);
  16456. Node273_1.setHeight(Node273_1height);
  16457. Node273_1._nodeType = 'text';
  16458. Node273_1._disallowEvert = true;
  16459. Node273_1.setRotation(0*Math.PI/180);
  16460. Node273_1.a('node.width', Node273_1width);
  16461. Node273_1.a('node.height', Node273_1height);
  16462. Node273_1.a('node.rect', [0, 0, Node273_1width, Node273_1height]);
  16463. Node273_1.a('node.bordercolor','rgba(0,0,0,1)');
  16464. Node273_1.a('node.borderwidth', 0);
  16465. Node273_1.a('node.background','' || 'rgba(0,0,0,0)');
  16466. Node273_1.a('node.gradient','');
  16467. Node273_1.a('node.gradientcolor','');
  16468. Node273_1.a('node.text','风机台数');
  16469. Node273_1.a('node.textalign','left');
  16470. Node273_1.a('node.textvAlign','middle');
  16471. Node273_1.a('node.textrect', [Node273_1textStart, 0, Node273_1textWidth, Node273_1height]);
  16472. Node273_1.a('node.color','rgba(0,0,0,1)');
  16473. Node273_1.a('node.font',' '+ Node273_1fontSize + 'px "Arial"');
  16474. Node273_1.a('node.textvisible',true);
  16475. Node273_1.a('node.linefeed',false);
  16476. if (false) {
  16477. Node273_1.a('node.textfunc',function(g) {
  16478. g.beginPath();
  16479. var str=Node273_1.a('node.text') || '风机台数';
  16480. var color=Node273_1.a('node.color') || 'rgba(0,0,0,1)';
  16481. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_1width,Node273_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_1fontSize + 'px "Arial"', 0,g);
  16482. });
  16483. }
  16484. if (false) {
  16485. Node273_1.a('node.underlinepoints',[Node273_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width + 6, (Node273_1height - Node273_1fontSize) * 0.5*_ratio.ratioY + Node273_1fontSize + 2 ]);
  16486. Node273_1.a('node.underlinevisible',false);
  16487. Node273_1.a('node.underlineBorderWidth', 1);
  16488. }
  16489. dataModel.add(Node273_1);
  16490. zoomNodeList.push({
  16491. node: Node273_1,
  16492. borderWidth: 0,
  16493. attr: 'node.borderwidth'
  16494. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16495. var Node273_2 = new ht.Node();
  16496. var Node273_2textStart, Node273_2textWidth, Node273_2lineStart, Node273_2align = 'left', Node273_2fontSize = 10.66664*_ratio.ratioY,Node273_2width = 22*_ratio.ratioX, Node273_2height = 27*_ratio.ratioY;
  16497. (function () {
  16498. if (Node273_2align === 'left') {
  16499. Node273_2textStart = Node273_2fontSize * 0.2 > 2 ? Node273_2fontSize * 0.2 - 4 : Node273_2fontSize * 0.2 - 9;
  16500. Node273_2textWidth = Node273_2width;
  16501. Node273_2lineStart = 1;
  16502. } else if (Node273_2align === 'right') {
  16503. Node273_2textStart = 0;
  16504. Node273_2textWidth =Node273_2fontSize <= 8 ? Node273_2width + Node273_2fontSize * 0.2 + 6 : Node273_2width - Node273_2fontSize * 0.2;
  16505. Node273_2lineStart = (Node273_2width - (ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  16506. } else if (Node273_2align === 'center') {
  16507. Node273_2textStart = -3;
  16508. Node273_2textWidth = Node273_2width;
  16509. Node273_2lineStart = Node273_2width - ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width - 11;
  16510. }
  16511. })();
  16512. Node273_2.setImage(GD.getTextJSON(Node273_2width, Node273_2height, true, false, false, ' '+ Node273_2fontSize + 'px "Arial"'))
  16513. Node273_2.setPosition(691*ratio.ratioX, 303*ratio.ratioY);
  16514. Node273_2.setWidth(Node273_2width);
  16515. Node273_2.setHeight(Node273_2height);
  16516. Node273_2._nodeType = 'text';
  16517. Node273_2._disallowEvert = true;
  16518. Node273_2.setRotation(0*Math.PI/180);
  16519. Node273_2.a('node.width', Node273_2width);
  16520. Node273_2.a('node.height', Node273_2height);
  16521. Node273_2.a('node.rect', [0, 0, Node273_2width, Node273_2height]);
  16522. Node273_2.a('node.bordercolor','rgba(192,0,0,1)');
  16523. Node273_2.a('node.borderwidth', 0);
  16524. Node273_2.a('node.background','' || 'rgba(0,0,0,0)');
  16525. Node273_2.a('node.gradient','');
  16526. Node273_2.a('node.gradientcolor','');
  16527. Node273_2.a('node.text','99');
  16528. Node273_2.a('node.textalign','left');
  16529. Node273_2.a('node.textvAlign','middle');
  16530. Node273_2.a('node.textrect', [Node273_2textStart, 0, Node273_2textWidth, Node273_2height]);
  16531. Node273_2.a('node.color','rgba(192,0,0,1)');
  16532. Node273_2.a('node.font',' '+ Node273_2fontSize + 'px "Arial"');
  16533. Node273_2.a('node.textvisible',true);
  16534. Node273_2.a('node.linefeed',false);
  16535. if (false) {
  16536. Node273_2.a('node.textfunc',function(g) {
  16537. g.beginPath();
  16538. var str=Node273_2.a('node.text') || '99';
  16539. var color=Node273_2.a('node.color') || 'rgba(192,0,0,1)';
  16540. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_2width,Node273_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_2fontSize + 'px "Arial"', 0,g);
  16541. });
  16542. }
  16543. if (false) {
  16544. Node273_2.a('node.underlinepoints',[Node273_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width + 6, (Node273_2height - Node273_2fontSize) * 0.5*_ratio.ratioY + Node273_2fontSize + 2 ]);
  16545. Node273_2.a('node.underlinevisible',false);
  16546. Node273_2.a('node.underlineBorderWidth', 1);
  16547. }
  16548. dataModel.add(Node273_2);
  16549. zoomNodeList.push({
  16550. node: Node273_2,
  16551. borderWidth: 0,
  16552. attr: 'node.borderwidth'
  16553. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16554. var Node273_3 = new ht.Node();
  16555. var Node273_3textStart, Node273_3textWidth, Node273_3lineStart, Node273_3align = 'left', Node273_3fontSize = 10.66664*_ratio.ratioY,Node273_3width = 43*_ratio.ratioX, Node273_3height = 27*_ratio.ratioY;
  16556. (function () {
  16557. if (Node273_3align === 'left') {
  16558. Node273_3textStart = Node273_3fontSize * 0.2 > 2 ? Node273_3fontSize * 0.2 - 4 : Node273_3fontSize * 0.2 - 9;
  16559. Node273_3textWidth = Node273_3width;
  16560. Node273_3lineStart = 1;
  16561. } else if (Node273_3align === 'right') {
  16562. Node273_3textStart = 0;
  16563. Node273_3textWidth =Node273_3fontSize <= 8 ? Node273_3width + Node273_3fontSize * 0.2 + 6 : Node273_3width - Node273_3fontSize * 0.2;
  16564. Node273_3lineStart = (Node273_3width - (ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  16565. } else if (Node273_3align === 'center') {
  16566. Node273_3textStart = -3;
  16567. Node273_3textWidth = Node273_3width;
  16568. Node273_3lineStart = Node273_3width - ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width - 11;
  16569. }
  16570. })();
  16571. Node273_3.setImage(GD.getTextJSON(Node273_3width, Node273_3height, true, false, false, ' '+ Node273_3fontSize + 'px "Arial"'))
  16572. Node273_3.setPosition(738*ratio.ratioX, 303*ratio.ratioY);
  16573. Node273_3.setWidth(Node273_3width);
  16574. Node273_3.setHeight(Node273_3height);
  16575. Node273_3._nodeType = 'text';
  16576. Node273_3._disallowEvert = true;
  16577. Node273_3.setRotation(0*Math.PI/180);
  16578. Node273_3.a('node.width', Node273_3width);
  16579. Node273_3.a('node.height', Node273_3height);
  16580. Node273_3.a('node.rect', [0, 0, Node273_3width, Node273_3height]);
  16581. Node273_3.a('node.bordercolor','rgba(0,0,0,1)');
  16582. Node273_3.a('node.borderwidth', 0);
  16583. Node273_3.a('node.background','' || 'rgba(0,0,0,0)');
  16584. Node273_3.a('node.gradient','');
  16585. Node273_3.a('node.gradientcolor','');
  16586. Node273_3.a('node.text','万kwh');
  16587. Node273_3.a('node.textalign','left');
  16588. Node273_3.a('node.textvAlign','middle');
  16589. Node273_3.a('node.textrect', [Node273_3textStart, 0, Node273_3textWidth, Node273_3height]);
  16590. Node273_3.a('node.color','rgba(0,0,0,1)');
  16591. Node273_3.a('node.font',' '+ Node273_3fontSize + 'px "Arial"');
  16592. Node273_3.a('node.textvisible',true);
  16593. Node273_3.a('node.linefeed',false);
  16594. if (false) {
  16595. Node273_3.a('node.textfunc',function(g) {
  16596. g.beginPath();
  16597. var str=Node273_3.a('node.text') || '万kwh';
  16598. var color=Node273_3.a('node.color') || 'rgba(0,0,0,1)';
  16599. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_3width,Node273_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_3fontSize + 'px "Arial"', 0,g);
  16600. });
  16601. }
  16602. if (false) {
  16603. Node273_3.a('node.underlinepoints',[Node273_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width + 6, (Node273_3height - Node273_3fontSize) * 0.5*_ratio.ratioY + Node273_3fontSize + 2 ]);
  16604. Node273_3.a('node.underlinevisible',false);
  16605. Node273_3.a('node.underlineBorderWidth', 1);
  16606. }
  16607. dataModel.add(Node273_3);
  16608. zoomNodeList.push({
  16609. node: Node273_3,
  16610. borderWidth: 0,
  16611. attr: 'node.borderwidth'
  16612. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16613. var Node273_4 = new ht.Node();
  16614. var Node273_4textStart, Node273_4textWidth, Node273_4lineStart, Node273_4align = 'left', Node273_4fontSize = 10.66664*_ratio.ratioY,Node273_4width = 72*_ratio.ratioX, Node273_4height = 27*_ratio.ratioY;
  16615. (function () {
  16616. if (Node273_4align === 'left') {
  16617. Node273_4textStart = Node273_4fontSize * 0.2 > 2 ? Node273_4fontSize * 0.2 - 4 : Node273_4fontSize * 0.2 - 9;
  16618. Node273_4textWidth = Node273_4width;
  16619. Node273_4lineStart = 1;
  16620. } else if (Node273_4align === 'right') {
  16621. Node273_4textStart = 0;
  16622. Node273_4textWidth =Node273_4fontSize <= 8 ? Node273_4width + Node273_4fontSize * 0.2 + 6 : Node273_4width - Node273_4fontSize * 0.2;
  16623. Node273_4lineStart = (Node273_4width - (ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  16624. } else if (Node273_4align === 'center') {
  16625. Node273_4textStart = -3;
  16626. Node273_4textWidth = Node273_4width;
  16627. Node273_4lineStart = Node273_4width - ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width - 11;
  16628. }
  16629. })();
  16630. Node273_4.setImage(GD.getTextJSON(Node273_4width, Node273_4height, true, false, false, ' '+ Node273_4fontSize + 'px "Arial"'))
  16631. Node273_4.setPosition(653*ratio.ratioX, 329*ratio.ratioY);
  16632. Node273_4.setWidth(Node273_4width);
  16633. Node273_4.setHeight(Node273_4height);
  16634. Node273_4._nodeType = 'text';
  16635. Node273_4._disallowEvert = true;
  16636. Node273_4.setRotation(0*Math.PI/180);
  16637. Node273_4.a('node.width', Node273_4width);
  16638. Node273_4.a('node.height', Node273_4height);
  16639. Node273_4.a('node.rect', [0, 0, Node273_4width, Node273_4height]);
  16640. Node273_4.a('node.bordercolor','rgba(0,0,0,1)');
  16641. Node273_4.a('node.borderwidth', 0);
  16642. Node273_4.a('node.background','' || 'rgba(0,0,0,0)');
  16643. Node273_4.a('node.gradient','');
  16644. Node273_4.a('node.gradientcolor','');
  16645. Node273_4.a('node.text','装机容量');
  16646. Node273_4.a('node.textalign','left');
  16647. Node273_4.a('node.textvAlign','middle');
  16648. Node273_4.a('node.textrect', [Node273_4textStart, 0, Node273_4textWidth, Node273_4height]);
  16649. Node273_4.a('node.color','rgba(0,0,0,1)');
  16650. Node273_4.a('node.font',' '+ Node273_4fontSize + 'px "Arial"');
  16651. Node273_4.a('node.textvisible',true);
  16652. Node273_4.a('node.linefeed',false);
  16653. if (false) {
  16654. Node273_4.a('node.textfunc',function(g) {
  16655. g.beginPath();
  16656. var str=Node273_4.a('node.text') || '装机容量';
  16657. var color=Node273_4.a('node.color') || 'rgba(0,0,0,1)';
  16658. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_4width,Node273_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_4fontSize + 'px "Arial"', 0,g);
  16659. });
  16660. }
  16661. if (false) {
  16662. Node273_4.a('node.underlinepoints',[Node273_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width + 6, (Node273_4height - Node273_4fontSize) * 0.5*_ratio.ratioY + Node273_4fontSize + 2 ]);
  16663. Node273_4.a('node.underlinevisible',false);
  16664. Node273_4.a('node.underlineBorderWidth', 1);
  16665. }
  16666. dataModel.add(Node273_4);
  16667. zoomNodeList.push({
  16668. node: Node273_4,
  16669. borderWidth: 0,
  16670. attr: 'node.borderwidth'
  16671. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16672. var Node273_5 = new ht.Node();
  16673. var Node273_5textStart, Node273_5textWidth, Node273_5lineStart, Node273_5align = 'left', Node273_5fontSize = 10.66664*_ratio.ratioY,Node273_5width = 31*_ratio.ratioX, Node273_5height = 27*_ratio.ratioY;
  16674. (function () {
  16675. if (Node273_5align === 'left') {
  16676. Node273_5textStart = Node273_5fontSize * 0.2 > 2 ? Node273_5fontSize * 0.2 - 4 : Node273_5fontSize * 0.2 - 9;
  16677. Node273_5textWidth = Node273_5width;
  16678. Node273_5lineStart = 1;
  16679. } else if (Node273_5align === 'right') {
  16680. Node273_5textStart = 0;
  16681. Node273_5textWidth =Node273_5fontSize <= 8 ? Node273_5width + Node273_5fontSize * 0.2 + 6 : Node273_5width - Node273_5fontSize * 0.2;
  16682. Node273_5lineStart = (Node273_5width - (ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  16683. } else if (Node273_5align === 'center') {
  16684. Node273_5textStart = -3;
  16685. Node273_5textWidth = Node273_5width;
  16686. Node273_5lineStart = Node273_5width - ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width - 11;
  16687. }
  16688. })();
  16689. Node273_5.setImage(GD.getTextJSON(Node273_5width, Node273_5height, true, false, false, ' '+ Node273_5fontSize + 'px "Arial"'))
  16690. Node273_5.setPosition(696*ratio.ratioX, 329*ratio.ratioY);
  16691. Node273_5.setWidth(Node273_5width);
  16692. Node273_5.setHeight(Node273_5height);
  16693. Node273_5._nodeType = 'text';
  16694. Node273_5._disallowEvert = true;
  16695. Node273_5.setRotation(0*Math.PI/180);
  16696. Node273_5.a('node.width', Node273_5width);
  16697. Node273_5.a('node.height', Node273_5height);
  16698. Node273_5.a('node.rect', [0, 0, Node273_5width, Node273_5height]);
  16699. Node273_5.a('node.bordercolor','rgba(192,0,0,1)');
  16700. Node273_5.a('node.borderwidth', 0);
  16701. Node273_5.a('node.background','' || 'rgba(0,0,0,0)');
  16702. Node273_5.a('node.gradient','');
  16703. Node273_5.a('node.gradientcolor','');
  16704. Node273_5.a('node.text','14.85');
  16705. Node273_5.a('node.textalign','left');
  16706. Node273_5.a('node.textvAlign','middle');
  16707. Node273_5.a('node.textrect', [Node273_5textStart, 0, Node273_5textWidth, Node273_5height]);
  16708. Node273_5.a('node.color','rgba(192,0,0,1)');
  16709. Node273_5.a('node.font',' '+ Node273_5fontSize + 'px "Arial"');
  16710. Node273_5.a('node.textvisible',true);
  16711. Node273_5.a('node.linefeed',false);
  16712. if (false) {
  16713. Node273_5.a('node.textfunc',function(g) {
  16714. g.beginPath();
  16715. var str=Node273_5.a('node.text') || '14.85';
  16716. var color=Node273_5.a('node.color') || 'rgba(192,0,0,1)';
  16717. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_5width,Node273_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_5fontSize + 'px "Arial"', 0,g);
  16718. });
  16719. }
  16720. if (false) {
  16721. Node273_5.a('node.underlinepoints',[Node273_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width + 6, (Node273_5height - Node273_5fontSize) * 0.5*_ratio.ratioY + Node273_5fontSize + 2 ]);
  16722. Node273_5.a('node.underlinevisible',false);
  16723. Node273_5.a('node.underlineBorderWidth', 1);
  16724. }
  16725. dataModel.add(Node273_5);
  16726. zoomNodeList.push({
  16727. node: Node273_5,
  16728. borderWidth: 0,
  16729. attr: 'node.borderwidth'
  16730. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16731. var Node273_6 = new ht.Node();
  16732. var Node273_6textStart, Node273_6textWidth, Node273_6lineStart, Node273_6align = 'left', Node273_6fontSize = 10.66664*_ratio.ratioY,Node273_6width = 43*_ratio.ratioX, Node273_6height = 27*_ratio.ratioY;
  16733. (function () {
  16734. if (Node273_6align === 'left') {
  16735. Node273_6textStart = Node273_6fontSize * 0.2 > 2 ? Node273_6fontSize * 0.2 - 4 : Node273_6fontSize * 0.2 - 9;
  16736. Node273_6textWidth = Node273_6width;
  16737. Node273_6lineStart = 1;
  16738. } else if (Node273_6align === 'right') {
  16739. Node273_6textStart = 0;
  16740. Node273_6textWidth =Node273_6fontSize <= 8 ? Node273_6width + Node273_6fontSize * 0.2 + 6 : Node273_6width - Node273_6fontSize * 0.2;
  16741. Node273_6lineStart = (Node273_6width - (ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  16742. } else if (Node273_6align === 'center') {
  16743. Node273_6textStart = -3;
  16744. Node273_6textWidth = Node273_6width;
  16745. Node273_6lineStart = Node273_6width - ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width - 11;
  16746. }
  16747. })();
  16748. Node273_6.setImage(GD.getTextJSON(Node273_6width, Node273_6height, true, false, false, ' '+ Node273_6fontSize + 'px "Arial"'))
  16749. Node273_6.setPosition(738*ratio.ratioX, 329*ratio.ratioY);
  16750. Node273_6.setWidth(Node273_6width);
  16751. Node273_6.setHeight(Node273_6height);
  16752. Node273_6._nodeType = 'text';
  16753. Node273_6._disallowEvert = true;
  16754. Node273_6.setRotation(0*Math.PI/180);
  16755. Node273_6.a('node.width', Node273_6width);
  16756. Node273_6.a('node.height', Node273_6height);
  16757. Node273_6.a('node.rect', [0, 0, Node273_6width, Node273_6height]);
  16758. Node273_6.a('node.bordercolor','rgba(0,0,0,1)');
  16759. Node273_6.a('node.borderwidth', 0);
  16760. Node273_6.a('node.background','' || 'rgba(0,0,0,0)');
  16761. Node273_6.a('node.gradient','');
  16762. Node273_6.a('node.gradientcolor','');
  16763. Node273_6.a('node.text','万kwh');
  16764. Node273_6.a('node.textalign','left');
  16765. Node273_6.a('node.textvAlign','middle');
  16766. Node273_6.a('node.textrect', [Node273_6textStart, 0, Node273_6textWidth, Node273_6height]);
  16767. Node273_6.a('node.color','rgba(0,0,0,1)');
  16768. Node273_6.a('node.font',' '+ Node273_6fontSize + 'px "Arial"');
  16769. Node273_6.a('node.textvisible',true);
  16770. Node273_6.a('node.linefeed',false);
  16771. if (false) {
  16772. Node273_6.a('node.textfunc',function(g) {
  16773. g.beginPath();
  16774. var str=Node273_6.a('node.text') || '万kwh';
  16775. var color=Node273_6.a('node.color') || 'rgba(0,0,0,1)';
  16776. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_6width,Node273_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_6fontSize + 'px "Arial"', 0,g);
  16777. });
  16778. }
  16779. if (false) {
  16780. Node273_6.a('node.underlinepoints',[Node273_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width + 6, (Node273_6height - Node273_6fontSize) * 0.5*_ratio.ratioY + Node273_6fontSize + 2 ]);
  16781. Node273_6.a('node.underlinevisible',false);
  16782. Node273_6.a('node.underlineBorderWidth', 1);
  16783. }
  16784. dataModel.add(Node273_6);
  16785. zoomNodeList.push({
  16786. node: Node273_6,
  16787. borderWidth: 0,
  16788. attr: 'node.borderwidth'
  16789. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16790. var Node273_7 = new ht.Node();
  16791. var Node273_7textStart, Node273_7textWidth, Node273_7lineStart, Node273_7align = 'left', Node273_7fontSize = 10.66664*_ratio.ratioY,Node273_7width = 72*_ratio.ratioX, Node273_7height = 27*_ratio.ratioY;
  16792. (function () {
  16793. if (Node273_7align === 'left') {
  16794. Node273_7textStart = Node273_7fontSize * 0.2 > 2 ? Node273_7fontSize * 0.2 - 4 : Node273_7fontSize * 0.2 - 9;
  16795. Node273_7textWidth = Node273_7width;
  16796. Node273_7lineStart = 1;
  16797. } else if (Node273_7align === 'right') {
  16798. Node273_7textStart = 0;
  16799. Node273_7textWidth =Node273_7fontSize <= 8 ? Node273_7width + Node273_7fontSize * 0.2 + 6 : Node273_7width - Node273_7fontSize * 0.2;
  16800. Node273_7lineStart = (Node273_7width - (ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  16801. } else if (Node273_7align === 'center') {
  16802. Node273_7textStart = -3;
  16803. Node273_7textWidth = Node273_7width;
  16804. Node273_7lineStart = Node273_7width - ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width - 11;
  16805. }
  16806. })();
  16807. Node273_7.setImage(GD.getTextJSON(Node273_7width, Node273_7height, true, false, false, ' '+ Node273_7fontSize + 'px "Arial"'))
  16808. Node273_7.setPosition(653*ratio.ratioX, 354*ratio.ratioY);
  16809. Node273_7.setWidth(Node273_7width);
  16810. Node273_7.setHeight(Node273_7height);
  16811. Node273_7._nodeType = 'text';
  16812. Node273_7._disallowEvert = true;
  16813. Node273_7.setRotation(0*Math.PI/180);
  16814. Node273_7.a('node.width', Node273_7width);
  16815. Node273_7.a('node.height', Node273_7height);
  16816. Node273_7.a('node.rect', [0, 0, Node273_7width, Node273_7height]);
  16817. Node273_7.a('node.bordercolor','rgba(0,0,0,1)');
  16818. Node273_7.a('node.borderwidth', 0);
  16819. Node273_7.a('node.background','' || 'rgba(0,0,0,0)');
  16820. Node273_7.a('node.gradient','');
  16821. Node273_7.a('node.gradientcolor','');
  16822. Node273_7.a('node.text','平均风速');
  16823. Node273_7.a('node.textalign','left');
  16824. Node273_7.a('node.textvAlign','middle');
  16825. Node273_7.a('node.textrect', [Node273_7textStart, 0, Node273_7textWidth, Node273_7height]);
  16826. Node273_7.a('node.color','rgba(0,0,0,1)');
  16827. Node273_7.a('node.font',' '+ Node273_7fontSize + 'px "Arial"');
  16828. Node273_7.a('node.textvisible',true);
  16829. Node273_7.a('node.linefeed',false);
  16830. if (false) {
  16831. Node273_7.a('node.textfunc',function(g) {
  16832. g.beginPath();
  16833. var str=Node273_7.a('node.text') || '平均风速';
  16834. var color=Node273_7.a('node.color') || 'rgba(0,0,0,1)';
  16835. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_7width,Node273_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_7fontSize + 'px "Arial"', 0,g);
  16836. });
  16837. }
  16838. if (false) {
  16839. Node273_7.a('node.underlinepoints',[Node273_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width + 6, (Node273_7height - Node273_7fontSize) * 0.5*_ratio.ratioY + Node273_7fontSize + 2 ]);
  16840. Node273_7.a('node.underlinevisible',false);
  16841. Node273_7.a('node.underlineBorderWidth', 1);
  16842. }
  16843. dataModel.add(Node273_7);
  16844. zoomNodeList.push({
  16845. node: Node273_7,
  16846. borderWidth: 0,
  16847. attr: 'node.borderwidth'
  16848. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16849. var Node273_8 = new ht.Node();
  16850. var Node273_8textStart, Node273_8textWidth, Node273_8lineStart, Node273_8align = 'left', Node273_8fontSize = 10.66664*_ratio.ratioY,Node273_8width = 22*_ratio.ratioX, Node273_8height = 27*_ratio.ratioY;
  16851. (function () {
  16852. if (Node273_8align === 'left') {
  16853. Node273_8textStart = Node273_8fontSize * 0.2 > 2 ? Node273_8fontSize * 0.2 - 4 : Node273_8fontSize * 0.2 - 9;
  16854. Node273_8textWidth = Node273_8width;
  16855. Node273_8lineStart = 1;
  16856. } else if (Node273_8align === 'right') {
  16857. Node273_8textStart = 0;
  16858. Node273_8textWidth =Node273_8fontSize <= 8 ? Node273_8width + Node273_8fontSize * 0.2 + 6 : Node273_8width - Node273_8fontSize * 0.2;
  16859. Node273_8lineStart = (Node273_8width - (ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  16860. } else if (Node273_8align === 'center') {
  16861. Node273_8textStart = -3;
  16862. Node273_8textWidth = Node273_8width;
  16863. Node273_8lineStart = Node273_8width - ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width - 11;
  16864. }
  16865. })();
  16866. Node273_8.setImage(GD.getTextJSON(Node273_8width, Node273_8height, true, false, false, ' '+ Node273_8fontSize + 'px "Arial"'))
  16867. Node273_8.setPosition(691*ratio.ratioX, 354*ratio.ratioY);
  16868. Node273_8.setWidth(Node273_8width);
  16869. Node273_8.setHeight(Node273_8height);
  16870. Node273_8._nodeType = 'text';
  16871. Node273_8._disallowEvert = true;
  16872. Node273_8.setRotation(0*Math.PI/180);
  16873. Node273_8.a('node.width', Node273_8width);
  16874. Node273_8.a('node.height', Node273_8height);
  16875. Node273_8.a('node.rect', [0, 0, Node273_8width, Node273_8height]);
  16876. Node273_8.a('node.bordercolor','rgba(192,0,0,1)');
  16877. Node273_8.a('node.borderwidth', 0);
  16878. Node273_8.a('node.background','' || 'rgba(0,0,0,0)');
  16879. Node273_8.a('node.gradient','');
  16880. Node273_8.a('node.gradientcolor','');
  16881. Node273_8.a('node.text','-');
  16882. Node273_8.a('node.textalign','left');
  16883. Node273_8.a('node.textvAlign','middle');
  16884. Node273_8.a('node.textrect', [Node273_8textStart, 0, Node273_8textWidth, Node273_8height]);
  16885. Node273_8.a('node.color','rgba(192,0,0,1)');
  16886. Node273_8.a('node.font',' '+ Node273_8fontSize + 'px "Arial"');
  16887. Node273_8.a('node.textvisible',true);
  16888. Node273_8.a('node.linefeed',false);
  16889. if (false) {
  16890. Node273_8.a('node.textfunc',function(g) {
  16891. g.beginPath();
  16892. var str=Node273_8.a('node.text') || '-';
  16893. var color=Node273_8.a('node.color') || 'rgba(192,0,0,1)';
  16894. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_8width,Node273_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_8fontSize + 'px "Arial"', 0,g);
  16895. });
  16896. }
  16897. if (false) {
  16898. Node273_8.a('node.underlinepoints',[Node273_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width + 6, (Node273_8height - Node273_8fontSize) * 0.5*_ratio.ratioY + Node273_8fontSize + 2 ]);
  16899. Node273_8.a('node.underlinevisible',false);
  16900. Node273_8.a('node.underlineBorderWidth', 1);
  16901. }
  16902. dataModel.add(Node273_8);
  16903. zoomNodeList.push({
  16904. node: Node273_8,
  16905. borderWidth: 0,
  16906. attr: 'node.borderwidth'
  16907. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16908. var Node273_9 = new ht.Node();
  16909. var Node273_9textStart, Node273_9textWidth, Node273_9lineStart, Node273_9align = 'left', Node273_9fontSize = 10.66664*_ratio.ratioY,Node273_9width = 43*_ratio.ratioX, Node273_9height = 27*_ratio.ratioY;
  16910. (function () {
  16911. if (Node273_9align === 'left') {
  16912. Node273_9textStart = Node273_9fontSize * 0.2 > 2 ? Node273_9fontSize * 0.2 - 4 : Node273_9fontSize * 0.2 - 9;
  16913. Node273_9textWidth = Node273_9width;
  16914. Node273_9lineStart = 1;
  16915. } else if (Node273_9align === 'right') {
  16916. Node273_9textStart = 0;
  16917. Node273_9textWidth =Node273_9fontSize <= 8 ? Node273_9width + Node273_9fontSize * 0.2 + 6 : Node273_9width - Node273_9fontSize * 0.2;
  16918. Node273_9lineStart = (Node273_9width - (ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  16919. } else if (Node273_9align === 'center') {
  16920. Node273_9textStart = -3;
  16921. Node273_9textWidth = Node273_9width;
  16922. Node273_9lineStart = Node273_9width - ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width - 11;
  16923. }
  16924. })();
  16925. Node273_9.setImage(GD.getTextJSON(Node273_9width, Node273_9height, true, false, false, ' '+ Node273_9fontSize + 'px "Arial"'))
  16926. Node273_9.setPosition(738*ratio.ratioX, 354*ratio.ratioY);
  16927. Node273_9.setWidth(Node273_9width);
  16928. Node273_9.setHeight(Node273_9height);
  16929. Node273_9._nodeType = 'text';
  16930. Node273_9._disallowEvert = true;
  16931. Node273_9.setRotation(0*Math.PI/180);
  16932. Node273_9.a('node.width', Node273_9width);
  16933. Node273_9.a('node.height', Node273_9height);
  16934. Node273_9.a('node.rect', [0, 0, Node273_9width, Node273_9height]);
  16935. Node273_9.a('node.bordercolor','rgba(0,0,0,1)');
  16936. Node273_9.a('node.borderwidth', 0);
  16937. Node273_9.a('node.background','' || 'rgba(0,0,0,0)');
  16938. Node273_9.a('node.gradient','');
  16939. Node273_9.a('node.gradientcolor','');
  16940. Node273_9.a('node.text','万kwh');
  16941. Node273_9.a('node.textalign','left');
  16942. Node273_9.a('node.textvAlign','middle');
  16943. Node273_9.a('node.textrect', [Node273_9textStart, 0, Node273_9textWidth, Node273_9height]);
  16944. Node273_9.a('node.color','rgba(0,0,0,1)');
  16945. Node273_9.a('node.font',' '+ Node273_9fontSize + 'px "Arial"');
  16946. Node273_9.a('node.textvisible',true);
  16947. Node273_9.a('node.linefeed',false);
  16948. if (false) {
  16949. Node273_9.a('node.textfunc',function(g) {
  16950. g.beginPath();
  16951. var str=Node273_9.a('node.text') || '万kwh';
  16952. var color=Node273_9.a('node.color') || 'rgba(0,0,0,1)';
  16953. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_9width,Node273_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_9fontSize + 'px "Arial"', 0,g);
  16954. });
  16955. }
  16956. if (false) {
  16957. Node273_9.a('node.underlinepoints',[Node273_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width + 6, (Node273_9height - Node273_9fontSize) * 0.5*_ratio.ratioY + Node273_9fontSize + 2 ]);
  16958. Node273_9.a('node.underlinevisible',false);
  16959. Node273_9.a('node.underlineBorderWidth', 1);
  16960. }
  16961. dataModel.add(Node273_9);
  16962. zoomNodeList.push({
  16963. node: Node273_9,
  16964. borderWidth: 0,
  16965. attr: 'node.borderwidth'
  16966. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  16967. var Node273_10 = new ht.Node();
  16968. var Node273_10textStart, Node273_10textWidth, Node273_10lineStart, Node273_10align = 'left', Node273_10fontSize = 10.66664*_ratio.ratioY,Node273_10width = 72*_ratio.ratioX, Node273_10height = 27*_ratio.ratioY;
  16969. (function () {
  16970. if (Node273_10align === 'left') {
  16971. Node273_10textStart = Node273_10fontSize * 0.2 > 2 ? Node273_10fontSize * 0.2 - 4 : Node273_10fontSize * 0.2 - 9;
  16972. Node273_10textWidth = Node273_10width;
  16973. Node273_10lineStart = 1;
  16974. } else if (Node273_10align === 'right') {
  16975. Node273_10textStart = 0;
  16976. Node273_10textWidth =Node273_10fontSize <= 8 ? Node273_10width + Node273_10fontSize * 0.2 + 6 : Node273_10width - Node273_10fontSize * 0.2;
  16977. Node273_10lineStart = (Node273_10width - (ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  16978. } else if (Node273_10align === 'center') {
  16979. Node273_10textStart = -3;
  16980. Node273_10textWidth = Node273_10width;
  16981. Node273_10lineStart = Node273_10width - ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width - 11;
  16982. }
  16983. })();
  16984. Node273_10.setImage(GD.getTextJSON(Node273_10width, Node273_10height, true, false, false, ' '+ Node273_10fontSize + 'px "Arial"'))
  16985. Node273_10.setPosition(653*ratio.ratioX, 380*ratio.ratioY);
  16986. Node273_10.setWidth(Node273_10width);
  16987. Node273_10.setHeight(Node273_10height);
  16988. Node273_10._nodeType = 'text';
  16989. Node273_10._disallowEvert = true;
  16990. Node273_10.setRotation(0*Math.PI/180);
  16991. Node273_10.a('node.width', Node273_10width);
  16992. Node273_10.a('node.height', Node273_10height);
  16993. Node273_10.a('node.rect', [0, 0, Node273_10width, Node273_10height]);
  16994. Node273_10.a('node.bordercolor','rgba(0,0,0,1)');
  16995. Node273_10.a('node.borderwidth', 0);
  16996. Node273_10.a('node.background','' || 'rgba(0,0,0,0)');
  16997. Node273_10.a('node.gradient','');
  16998. Node273_10.a('node.gradientcolor','');
  16999. Node273_10.a('node.text','日发电量');
  17000. Node273_10.a('node.textalign','left');
  17001. Node273_10.a('node.textvAlign','middle');
  17002. Node273_10.a('node.textrect', [Node273_10textStart, 0, Node273_10textWidth, Node273_10height]);
  17003. Node273_10.a('node.color','rgba(0,0,0,1)');
  17004. Node273_10.a('node.font',' '+ Node273_10fontSize + 'px "Arial"');
  17005. Node273_10.a('node.textvisible',true);
  17006. Node273_10.a('node.linefeed',false);
  17007. if (false) {
  17008. Node273_10.a('node.textfunc',function(g) {
  17009. g.beginPath();
  17010. var str=Node273_10.a('node.text') || '日发电量';
  17011. var color=Node273_10.a('node.color') || 'rgba(0,0,0,1)';
  17012. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_10width,Node273_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_10fontSize + 'px "Arial"', 0,g);
  17013. });
  17014. }
  17015. if (false) {
  17016. Node273_10.a('node.underlinepoints',[Node273_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width + 6, (Node273_10height - Node273_10fontSize) * 0.5*_ratio.ratioY + Node273_10fontSize + 2 ]);
  17017. Node273_10.a('node.underlinevisible',false);
  17018. Node273_10.a('node.underlineBorderWidth', 1);
  17019. }
  17020. dataModel.add(Node273_10);
  17021. zoomNodeList.push({
  17022. node: Node273_10,
  17023. borderWidth: 0,
  17024. attr: 'node.borderwidth'
  17025. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17026. var Node273_11 = new ht.Node();
  17027. var Node273_11textStart, Node273_11textWidth, Node273_11lineStart, Node273_11align = 'left', Node273_11fontSize = 10.66664*_ratio.ratioY,Node273_11width = 31*_ratio.ratioX, Node273_11height = 27*_ratio.ratioY;
  17028. (function () {
  17029. if (Node273_11align === 'left') {
  17030. Node273_11textStart = Node273_11fontSize * 0.2 > 2 ? Node273_11fontSize * 0.2 - 4 : Node273_11fontSize * 0.2 - 9;
  17031. Node273_11textWidth = Node273_11width;
  17032. Node273_11lineStart = 1;
  17033. } else if (Node273_11align === 'right') {
  17034. Node273_11textStart = 0;
  17035. Node273_11textWidth =Node273_11fontSize <= 8 ? Node273_11width + Node273_11fontSize * 0.2 + 6 : Node273_11width - Node273_11fontSize * 0.2;
  17036. Node273_11lineStart = (Node273_11width - (ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  17037. } else if (Node273_11align === 'center') {
  17038. Node273_11textStart = -3;
  17039. Node273_11textWidth = Node273_11width;
  17040. Node273_11lineStart = Node273_11width - ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width - 11;
  17041. }
  17042. })();
  17043. Node273_11.setImage(GD.getTextJSON(Node273_11width, Node273_11height, true, false, false, ' '+ Node273_11fontSize + 'px "Arial"'))
  17044. Node273_11.setPosition(696*ratio.ratioX, 380*ratio.ratioY);
  17045. Node273_11.setWidth(Node273_11width);
  17046. Node273_11.setHeight(Node273_11height);
  17047. Node273_11._nodeType = 'text';
  17048. Node273_11._disallowEvert = true;
  17049. Node273_11.setRotation(0*Math.PI/180);
  17050. Node273_11.a('node.width', Node273_11width);
  17051. Node273_11.a('node.height', Node273_11height);
  17052. Node273_11.a('node.rect', [0, 0, Node273_11width, Node273_11height]);
  17053. Node273_11.a('node.bordercolor','rgba(192,0,0,1)');
  17054. Node273_11.a('node.borderwidth', 0);
  17055. Node273_11.a('node.background','' || 'rgba(0,0,0,0)');
  17056. Node273_11.a('node.gradient','');
  17057. Node273_11.a('node.gradientcolor','');
  17058. Node273_11.a('node.text','-');
  17059. Node273_11.a('node.textalign','left');
  17060. Node273_11.a('node.textvAlign','middle');
  17061. Node273_11.a('node.textrect', [Node273_11textStart, 0, Node273_11textWidth, Node273_11height]);
  17062. Node273_11.a('node.color','rgba(192,0,0,1)');
  17063. Node273_11.a('node.font',' '+ Node273_11fontSize + 'px "Arial"');
  17064. Node273_11.a('node.textvisible',true);
  17065. Node273_11.a('node.linefeed',false);
  17066. if (false) {
  17067. Node273_11.a('node.textfunc',function(g) {
  17068. g.beginPath();
  17069. var str=Node273_11.a('node.text') || '-';
  17070. var color=Node273_11.a('node.color') || 'rgba(192,0,0,1)';
  17071. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_11width,Node273_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_11fontSize + 'px "Arial"', 0,g);
  17072. });
  17073. }
  17074. if (false) {
  17075. Node273_11.a('node.underlinepoints',[Node273_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width + 6, (Node273_11height - Node273_11fontSize) * 0.5*_ratio.ratioY + Node273_11fontSize + 2 ]);
  17076. Node273_11.a('node.underlinevisible',false);
  17077. Node273_11.a('node.underlineBorderWidth', 1);
  17078. }
  17079. dataModel.add(Node273_11);
  17080. zoomNodeList.push({
  17081. node: Node273_11,
  17082. borderWidth: 0,
  17083. attr: 'node.borderwidth'
  17084. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17085. var Node273_12 = new ht.Node();
  17086. var Node273_12textStart, Node273_12textWidth, Node273_12lineStart, Node273_12align = 'left', Node273_12fontSize = 10.66664*_ratio.ratioY,Node273_12width = 43*_ratio.ratioX, Node273_12height = 27*_ratio.ratioY;
  17087. (function () {
  17088. if (Node273_12align === 'left') {
  17089. Node273_12textStart = Node273_12fontSize * 0.2 > 2 ? Node273_12fontSize * 0.2 - 4 : Node273_12fontSize * 0.2 - 9;
  17090. Node273_12textWidth = Node273_12width;
  17091. Node273_12lineStart = 1;
  17092. } else if (Node273_12align === 'right') {
  17093. Node273_12textStart = 0;
  17094. Node273_12textWidth =Node273_12fontSize <= 8 ? Node273_12width + Node273_12fontSize * 0.2 + 6 : Node273_12width - Node273_12fontSize * 0.2;
  17095. Node273_12lineStart = (Node273_12width - (ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  17096. } else if (Node273_12align === 'center') {
  17097. Node273_12textStart = -3;
  17098. Node273_12textWidth = Node273_12width;
  17099. Node273_12lineStart = Node273_12width - ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width - 11;
  17100. }
  17101. })();
  17102. Node273_12.setImage(GD.getTextJSON(Node273_12width, Node273_12height, true, false, false, ' '+ Node273_12fontSize + 'px "Arial"'))
  17103. Node273_12.setPosition(738*ratio.ratioX, 380*ratio.ratioY);
  17104. Node273_12.setWidth(Node273_12width);
  17105. Node273_12.setHeight(Node273_12height);
  17106. Node273_12._nodeType = 'text';
  17107. Node273_12._disallowEvert = true;
  17108. Node273_12.setRotation(0*Math.PI/180);
  17109. Node273_12.a('node.width', Node273_12width);
  17110. Node273_12.a('node.height', Node273_12height);
  17111. Node273_12.a('node.rect', [0, 0, Node273_12width, Node273_12height]);
  17112. Node273_12.a('node.bordercolor','rgba(0,0,0,1)');
  17113. Node273_12.a('node.borderwidth', 0);
  17114. Node273_12.a('node.background','' || 'rgba(0,0,0,0)');
  17115. Node273_12.a('node.gradient','');
  17116. Node273_12.a('node.gradientcolor','');
  17117. Node273_12.a('node.text','万kwh');
  17118. Node273_12.a('node.textalign','left');
  17119. Node273_12.a('node.textvAlign','middle');
  17120. Node273_12.a('node.textrect', [Node273_12textStart, 0, Node273_12textWidth, Node273_12height]);
  17121. Node273_12.a('node.color','rgba(0,0,0,1)');
  17122. Node273_12.a('node.font',' '+ Node273_12fontSize + 'px "Arial"');
  17123. Node273_12.a('node.textvisible',true);
  17124. Node273_12.a('node.linefeed',false);
  17125. if (false) {
  17126. Node273_12.a('node.textfunc',function(g) {
  17127. g.beginPath();
  17128. var str=Node273_12.a('node.text') || '万kwh';
  17129. var color=Node273_12.a('node.color') || 'rgba(0,0,0,1)';
  17130. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_12width,Node273_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_12fontSize + 'px "Arial"', 0,g);
  17131. });
  17132. }
  17133. if (false) {
  17134. Node273_12.a('node.underlinepoints',[Node273_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width + 6, (Node273_12height - Node273_12fontSize) * 0.5*_ratio.ratioY + Node273_12fontSize + 2 ]);
  17135. Node273_12.a('node.underlinevisible',false);
  17136. Node273_12.a('node.underlineBorderWidth', 1);
  17137. }
  17138. dataModel.add(Node273_12);
  17139. zoomNodeList.push({
  17140. node: Node273_12,
  17141. borderWidth: 0,
  17142. attr: 'node.borderwidth'
  17143. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17144. var Node273_13 = new ht.Node();
  17145. var Node273_13textStart, Node273_13textWidth, Node273_13lineStart, Node273_13align = 'left', Node273_13fontSize = 10.66664*_ratio.ratioY,Node273_13width = 72*_ratio.ratioX, Node273_13height = 27*_ratio.ratioY;
  17146. (function () {
  17147. if (Node273_13align === 'left') {
  17148. Node273_13textStart = Node273_13fontSize * 0.2 > 2 ? Node273_13fontSize * 0.2 - 4 : Node273_13fontSize * 0.2 - 9;
  17149. Node273_13textWidth = Node273_13width;
  17150. Node273_13lineStart = 1;
  17151. } else if (Node273_13align === 'right') {
  17152. Node273_13textStart = 0;
  17153. Node273_13textWidth =Node273_13fontSize <= 8 ? Node273_13width + Node273_13fontSize * 0.2 + 6 : Node273_13width - Node273_13fontSize * 0.2;
  17154. Node273_13lineStart = (Node273_13width - (ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  17155. } else if (Node273_13align === 'center') {
  17156. Node273_13textStart = -3;
  17157. Node273_13textWidth = Node273_13width;
  17158. Node273_13lineStart = Node273_13width - ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width - 11;
  17159. }
  17160. })();
  17161. Node273_13.setImage(GD.getTextJSON(Node273_13width, Node273_13height, true, false, false, ' '+ Node273_13fontSize + 'px "Arial"'))
  17162. Node273_13.setPosition(653*ratio.ratioX, 407*ratio.ratioY);
  17163. Node273_13.setWidth(Node273_13width);
  17164. Node273_13.setHeight(Node273_13height);
  17165. Node273_13._nodeType = 'text';
  17166. Node273_13._disallowEvert = true;
  17167. Node273_13.setRotation(0*Math.PI/180);
  17168. Node273_13.a('node.width', Node273_13width);
  17169. Node273_13.a('node.height', Node273_13height);
  17170. Node273_13.a('node.rect', [0, 0, Node273_13width, Node273_13height]);
  17171. Node273_13.a('node.bordercolor','rgba(0,0,0,1)');
  17172. Node273_13.a('node.borderwidth', 0);
  17173. Node273_13.a('node.background','' || 'rgba(0,0,0,0)');
  17174. Node273_13.a('node.gradient','');
  17175. Node273_13.a('node.gradientcolor','');
  17176. Node273_13.a('node.text','有功功率');
  17177. Node273_13.a('node.textalign','left');
  17178. Node273_13.a('node.textvAlign','middle');
  17179. Node273_13.a('node.textrect', [Node273_13textStart, 0, Node273_13textWidth, Node273_13height]);
  17180. Node273_13.a('node.color','rgba(0,0,0,1)');
  17181. Node273_13.a('node.font',' '+ Node273_13fontSize + 'px "Arial"');
  17182. Node273_13.a('node.textvisible',true);
  17183. Node273_13.a('node.linefeed',false);
  17184. if (false) {
  17185. Node273_13.a('node.textfunc',function(g) {
  17186. g.beginPath();
  17187. var str=Node273_13.a('node.text') || '有功功率';
  17188. var color=Node273_13.a('node.color') || 'rgba(0,0,0,1)';
  17189. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_13width,Node273_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_13fontSize + 'px "Arial"', 0,g);
  17190. });
  17191. }
  17192. if (false) {
  17193. Node273_13.a('node.underlinepoints',[Node273_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width + 6, (Node273_13height - Node273_13fontSize) * 0.5*_ratio.ratioY + Node273_13fontSize + 2 ]);
  17194. Node273_13.a('node.underlinevisible',false);
  17195. Node273_13.a('node.underlineBorderWidth', 1);
  17196. }
  17197. dataModel.add(Node273_13);
  17198. zoomNodeList.push({
  17199. node: Node273_13,
  17200. borderWidth: 0,
  17201. attr: 'node.borderwidth'
  17202. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17203. var Node273_14 = new ht.Node();
  17204. var Node273_14textStart, Node273_14textWidth, Node273_14lineStart, Node273_14align = 'left', Node273_14fontSize = 10.66664*_ratio.ratioY,Node273_14width = 22*_ratio.ratioX, Node273_14height = 27*_ratio.ratioY;
  17205. (function () {
  17206. if (Node273_14align === 'left') {
  17207. Node273_14textStart = Node273_14fontSize * 0.2 > 2 ? Node273_14fontSize * 0.2 - 4 : Node273_14fontSize * 0.2 - 9;
  17208. Node273_14textWidth = Node273_14width;
  17209. Node273_14lineStart = 1;
  17210. } else if (Node273_14align === 'right') {
  17211. Node273_14textStart = 0;
  17212. Node273_14textWidth =Node273_14fontSize <= 8 ? Node273_14width + Node273_14fontSize * 0.2 + 6 : Node273_14width - Node273_14fontSize * 0.2;
  17213. Node273_14lineStart = (Node273_14width - (ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  17214. } else if (Node273_14align === 'center') {
  17215. Node273_14textStart = -3;
  17216. Node273_14textWidth = Node273_14width;
  17217. Node273_14lineStart = Node273_14width - ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width - 11;
  17218. }
  17219. })();
  17220. Node273_14.setImage(GD.getTextJSON(Node273_14width, Node273_14height, true, false, false, ' '+ Node273_14fontSize + 'px "Arial"'))
  17221. Node273_14.setPosition(691*ratio.ratioX, 407*ratio.ratioY);
  17222. Node273_14.setWidth(Node273_14width);
  17223. Node273_14.setHeight(Node273_14height);
  17224. Node273_14._nodeType = 'text';
  17225. Node273_14._disallowEvert = true;
  17226. Node273_14.setRotation(0*Math.PI/180);
  17227. Node273_14.a('node.width', Node273_14width);
  17228. Node273_14.a('node.height', Node273_14height);
  17229. Node273_14.a('node.rect', [0, 0, Node273_14width, Node273_14height]);
  17230. Node273_14.a('node.bordercolor','rgba(192,0,0,1)');
  17231. Node273_14.a('node.borderwidth', 0);
  17232. Node273_14.a('node.background','' || 'rgba(0,0,0,0)');
  17233. Node273_14.a('node.gradient','');
  17234. Node273_14.a('node.gradientcolor','');
  17235. Node273_14.a('node.text','-');
  17236. Node273_14.a('node.textalign','left');
  17237. Node273_14.a('node.textvAlign','middle');
  17238. Node273_14.a('node.textrect', [Node273_14textStart, 0, Node273_14textWidth, Node273_14height]);
  17239. Node273_14.a('node.color','rgba(192,0,0,1)');
  17240. Node273_14.a('node.font',' '+ Node273_14fontSize + 'px "Arial"');
  17241. Node273_14.a('node.textvisible',true);
  17242. Node273_14.a('node.linefeed',false);
  17243. if (false) {
  17244. Node273_14.a('node.textfunc',function(g) {
  17245. g.beginPath();
  17246. var str=Node273_14.a('node.text') || '-';
  17247. var color=Node273_14.a('node.color') || 'rgba(192,0,0,1)';
  17248. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_14width,Node273_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_14fontSize + 'px "Arial"', 0,g);
  17249. });
  17250. }
  17251. if (false) {
  17252. Node273_14.a('node.underlinepoints',[Node273_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width + 6, (Node273_14height - Node273_14fontSize) * 0.5*_ratio.ratioY + Node273_14fontSize + 2 ]);
  17253. Node273_14.a('node.underlinevisible',false);
  17254. Node273_14.a('node.underlineBorderWidth', 1);
  17255. }
  17256. dataModel.add(Node273_14);
  17257. zoomNodeList.push({
  17258. node: Node273_14,
  17259. borderWidth: 0,
  17260. attr: 'node.borderwidth'
  17261. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17262. var Node273_15 = new ht.Node();
  17263. var Node273_15textStart, Node273_15textWidth, Node273_15lineStart, Node273_15align = 'left', Node273_15fontSize = 10.66664*_ratio.ratioY,Node273_15width = 43*_ratio.ratioX, Node273_15height = 27*_ratio.ratioY;
  17264. (function () {
  17265. if (Node273_15align === 'left') {
  17266. Node273_15textStart = Node273_15fontSize * 0.2 > 2 ? Node273_15fontSize * 0.2 - 4 : Node273_15fontSize * 0.2 - 9;
  17267. Node273_15textWidth = Node273_15width;
  17268. Node273_15lineStart = 1;
  17269. } else if (Node273_15align === 'right') {
  17270. Node273_15textStart = 0;
  17271. Node273_15textWidth =Node273_15fontSize <= 8 ? Node273_15width + Node273_15fontSize * 0.2 + 6 : Node273_15width - Node273_15fontSize * 0.2;
  17272. Node273_15lineStart = (Node273_15width - (ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  17273. } else if (Node273_15align === 'center') {
  17274. Node273_15textStart = -3;
  17275. Node273_15textWidth = Node273_15width;
  17276. Node273_15lineStart = Node273_15width - ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width - 11;
  17277. }
  17278. })();
  17279. Node273_15.setImage(GD.getTextJSON(Node273_15width, Node273_15height, true, false, false, ' '+ Node273_15fontSize + 'px "Arial"'))
  17280. Node273_15.setPosition(738*ratio.ratioX, 407*ratio.ratioY);
  17281. Node273_15.setWidth(Node273_15width);
  17282. Node273_15.setHeight(Node273_15height);
  17283. Node273_15._nodeType = 'text';
  17284. Node273_15._disallowEvert = true;
  17285. Node273_15.setRotation(0*Math.PI/180);
  17286. Node273_15.a('node.width', Node273_15width);
  17287. Node273_15.a('node.height', Node273_15height);
  17288. Node273_15.a('node.rect', [0, 0, Node273_15width, Node273_15height]);
  17289. Node273_15.a('node.bordercolor','rgba(0,0,0,1)');
  17290. Node273_15.a('node.borderwidth', 0);
  17291. Node273_15.a('node.background','' || 'rgba(0,0,0,0)');
  17292. Node273_15.a('node.gradient','');
  17293. Node273_15.a('node.gradientcolor','');
  17294. Node273_15.a('node.text','万kwh');
  17295. Node273_15.a('node.textalign','left');
  17296. Node273_15.a('node.textvAlign','middle');
  17297. Node273_15.a('node.textrect', [Node273_15textStart, 0, Node273_15textWidth, Node273_15height]);
  17298. Node273_15.a('node.color','rgba(0,0,0,1)');
  17299. Node273_15.a('node.font',' '+ Node273_15fontSize + 'px "Arial"');
  17300. Node273_15.a('node.textvisible',true);
  17301. Node273_15.a('node.linefeed',false);
  17302. if (false) {
  17303. Node273_15.a('node.textfunc',function(g) {
  17304. g.beginPath();
  17305. var str=Node273_15.a('node.text') || '万kwh';
  17306. var color=Node273_15.a('node.color') || 'rgba(0,0,0,1)';
  17307. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_15width,Node273_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_15fontSize + 'px "Arial"', 0,g);
  17308. });
  17309. }
  17310. if (false) {
  17311. Node273_15.a('node.underlinepoints',[Node273_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width + 6, (Node273_15height - Node273_15fontSize) * 0.5*_ratio.ratioY + Node273_15fontSize + 2 ]);
  17312. Node273_15.a('node.underlinevisible',false);
  17313. Node273_15.a('node.underlineBorderWidth', 1);
  17314. }
  17315. dataModel.add(Node273_15);
  17316. zoomNodeList.push({
  17317. node: Node273_15,
  17318. borderWidth: 0,
  17319. attr: 'node.borderwidth'
  17320. }); var Node274_0;
  17321. (function () {
  17322. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17323. var ratioX, ratioY;
  17324. if ('Default' === 'False') {
  17325. ratioX = 1;
  17326. ratioY = 1;
  17327. } else if ('Default' === 'X') {
  17328. ratioX = ratioY = _ratio.ratioX;
  17329. } else if ('Default' === 'Y') {
  17330. ratioX = ratioY = _ratio.ratioY;
  17331. } else {
  17332. ratioX = _ratio.ratioX;
  17333. ratioY = _ratio.ratioY;
  17334. }
  17335. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  17336. Node274_0 = new ht.Node();
  17337. Node274_0.setPosition(633*ratio.ratioX, 450*ratio.ratioY);
  17338. Node274_0.setSize(146*ratioX, 141*ratioY);
  17339. Node274_0.setImage('imgimage//img//map_name_03.png');
  17340. Node274_0.setRotation(0*Math.PI/180);
  17341. Node274_0._zoomBy = 'Default';
  17342. Node274_0._nodeType = 'image';
  17343. Node274_0._disallowEvert = true;
  17344. dataModel.add(Node274_0);
  17345. })();
  17346. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17347. var Node274_1 = new ht.Node();
  17348. var Node274_1textStart, Node274_1textWidth, Node274_1lineStart, Node274_1align = 'left', Node274_1fontSize = 10.66664*_ratio.ratioY,Node274_1width = 72*_ratio.ratioX, Node274_1height = 27*_ratio.ratioY;
  17349. (function () {
  17350. if (Node274_1align === 'left') {
  17351. Node274_1textStart = Node274_1fontSize * 0.2 > 2 ? Node274_1fontSize * 0.2 - 4 : Node274_1fontSize * 0.2 - 9;
  17352. Node274_1textWidth = Node274_1width;
  17353. Node274_1lineStart = 1;
  17354. } else if (Node274_1align === 'right') {
  17355. Node274_1textStart = 0;
  17356. Node274_1textWidth =Node274_1fontSize <= 8 ? Node274_1width + Node274_1fontSize * 0.2 + 6 : Node274_1width - Node274_1fontSize * 0.2;
  17357. Node274_1lineStart = (Node274_1width - (ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  17358. } else if (Node274_1align === 'center') {
  17359. Node274_1textStart = -3;
  17360. Node274_1textWidth = Node274_1width;
  17361. Node274_1lineStart = Node274_1width - ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width - 11;
  17362. }
  17363. })();
  17364. Node274_1.setImage(GD.getTextJSON(Node274_1width, Node274_1height, true, false, false, ' '+ Node274_1fontSize + 'px "Arial"'))
  17365. Node274_1.setPosition(603*ratio.ratioX, 403*ratio.ratioY);
  17366. Node274_1.setWidth(Node274_1width);
  17367. Node274_1.setHeight(Node274_1height);
  17368. Node274_1._nodeType = 'text';
  17369. Node274_1._disallowEvert = true;
  17370. Node274_1.setRotation(0*Math.PI/180);
  17371. Node274_1.a('node.width', Node274_1width);
  17372. Node274_1.a('node.height', Node274_1height);
  17373. Node274_1.a('node.rect', [0, 0, Node274_1width, Node274_1height]);
  17374. Node274_1.a('node.bordercolor','rgba(0,0,0,1)');
  17375. Node274_1.a('node.borderwidth', 0);
  17376. Node274_1.a('node.background','' || 'rgba(0,0,0,0)');
  17377. Node274_1.a('node.gradient','');
  17378. Node274_1.a('node.gradientcolor','');
  17379. Node274_1.a('node.text','风机台数');
  17380. Node274_1.a('node.textalign','left');
  17381. Node274_1.a('node.textvAlign','middle');
  17382. Node274_1.a('node.textrect', [Node274_1textStart, 0, Node274_1textWidth, Node274_1height]);
  17383. Node274_1.a('node.color','rgba(0,0,0,1)');
  17384. Node274_1.a('node.font',' '+ Node274_1fontSize + 'px "Arial"');
  17385. Node274_1.a('node.textvisible',true);
  17386. Node274_1.a('node.linefeed',false);
  17387. if (false) {
  17388. Node274_1.a('node.textfunc',function(g) {
  17389. g.beginPath();
  17390. var str=Node274_1.a('node.text') || '风机台数';
  17391. var color=Node274_1.a('node.color') || 'rgba(0,0,0,1)';
  17392. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_1width,Node274_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_1fontSize + 'px "Arial"', 0,g);
  17393. });
  17394. }
  17395. if (false) {
  17396. Node274_1.a('node.underlinepoints',[Node274_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width + 6, (Node274_1height - Node274_1fontSize) * 0.5*_ratio.ratioY + Node274_1fontSize + 2 ]);
  17397. Node274_1.a('node.underlinevisible',false);
  17398. Node274_1.a('node.underlineBorderWidth', 1);
  17399. }
  17400. dataModel.add(Node274_1);
  17401. zoomNodeList.push({
  17402. node: Node274_1,
  17403. borderWidth: 0,
  17404. attr: 'node.borderwidth'
  17405. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17406. var Node274_2 = new ht.Node();
  17407. var Node274_2textStart, Node274_2textWidth, Node274_2lineStart, Node274_2align = 'left', Node274_2fontSize = 10.66664*_ratio.ratioY,Node274_2width = 22*_ratio.ratioX, Node274_2height = 27*_ratio.ratioY;
  17408. (function () {
  17409. if (Node274_2align === 'left') {
  17410. Node274_2textStart = Node274_2fontSize * 0.2 > 2 ? Node274_2fontSize * 0.2 - 4 : Node274_2fontSize * 0.2 - 9;
  17411. Node274_2textWidth = Node274_2width;
  17412. Node274_2lineStart = 1;
  17413. } else if (Node274_2align === 'right') {
  17414. Node274_2textStart = 0;
  17415. Node274_2textWidth =Node274_2fontSize <= 8 ? Node274_2width + Node274_2fontSize * 0.2 + 6 : Node274_2width - Node274_2fontSize * 0.2;
  17416. Node274_2lineStart = (Node274_2width - (ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  17417. } else if (Node274_2align === 'center') {
  17418. Node274_2textStart = -3;
  17419. Node274_2textWidth = Node274_2width;
  17420. Node274_2lineStart = Node274_2width - ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width - 11;
  17421. }
  17422. })();
  17423. Node274_2.setImage(GD.getTextJSON(Node274_2width, Node274_2height, true, false, false, ' '+ Node274_2fontSize + 'px "Arial"'))
  17424. Node274_2.setPosition(641*ratio.ratioX, 403*ratio.ratioY);
  17425. Node274_2.setWidth(Node274_2width);
  17426. Node274_2.setHeight(Node274_2height);
  17427. Node274_2._nodeType = 'text';
  17428. Node274_2._disallowEvert = true;
  17429. Node274_2.setRotation(0*Math.PI/180);
  17430. Node274_2.a('node.width', Node274_2width);
  17431. Node274_2.a('node.height', Node274_2height);
  17432. Node274_2.a('node.rect', [0, 0, Node274_2width, Node274_2height]);
  17433. Node274_2.a('node.bordercolor','rgba(192,0,0,1)');
  17434. Node274_2.a('node.borderwidth', 0);
  17435. Node274_2.a('node.background','' || 'rgba(0,0,0,0)');
  17436. Node274_2.a('node.gradient','');
  17437. Node274_2.a('node.gradientcolor','');
  17438. Node274_2.a('node.text','99');
  17439. Node274_2.a('node.textalign','left');
  17440. Node274_2.a('node.textvAlign','middle');
  17441. Node274_2.a('node.textrect', [Node274_2textStart, 0, Node274_2textWidth, Node274_2height]);
  17442. Node274_2.a('node.color','rgba(192,0,0,1)');
  17443. Node274_2.a('node.font',' '+ Node274_2fontSize + 'px "Arial"');
  17444. Node274_2.a('node.textvisible',true);
  17445. Node274_2.a('node.linefeed',false);
  17446. if (false) {
  17447. Node274_2.a('node.textfunc',function(g) {
  17448. g.beginPath();
  17449. var str=Node274_2.a('node.text') || '99';
  17450. var color=Node274_2.a('node.color') || 'rgba(192,0,0,1)';
  17451. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_2width,Node274_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_2fontSize + 'px "Arial"', 0,g);
  17452. });
  17453. }
  17454. if (false) {
  17455. Node274_2.a('node.underlinepoints',[Node274_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width + 6, (Node274_2height - Node274_2fontSize) * 0.5*_ratio.ratioY + Node274_2fontSize + 2 ]);
  17456. Node274_2.a('node.underlinevisible',false);
  17457. Node274_2.a('node.underlineBorderWidth', 1);
  17458. }
  17459. dataModel.add(Node274_2);
  17460. zoomNodeList.push({
  17461. node: Node274_2,
  17462. borderWidth: 0,
  17463. attr: 'node.borderwidth'
  17464. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17465. var Node274_3 = new ht.Node();
  17466. var Node274_3textStart, Node274_3textWidth, Node274_3lineStart, Node274_3align = 'left', Node274_3fontSize = 10.66664*_ratio.ratioY,Node274_3width = 43*_ratio.ratioX, Node274_3height = 27*_ratio.ratioY;
  17467. (function () {
  17468. if (Node274_3align === 'left') {
  17469. Node274_3textStart = Node274_3fontSize * 0.2 > 2 ? Node274_3fontSize * 0.2 - 4 : Node274_3fontSize * 0.2 - 9;
  17470. Node274_3textWidth = Node274_3width;
  17471. Node274_3lineStart = 1;
  17472. } else if (Node274_3align === 'right') {
  17473. Node274_3textStart = 0;
  17474. Node274_3textWidth =Node274_3fontSize <= 8 ? Node274_3width + Node274_3fontSize * 0.2 + 6 : Node274_3width - Node274_3fontSize * 0.2;
  17475. Node274_3lineStart = (Node274_3width - (ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  17476. } else if (Node274_3align === 'center') {
  17477. Node274_3textStart = -3;
  17478. Node274_3textWidth = Node274_3width;
  17479. Node274_3lineStart = Node274_3width - ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width - 11;
  17480. }
  17481. })();
  17482. Node274_3.setImage(GD.getTextJSON(Node274_3width, Node274_3height, true, false, false, ' '+ Node274_3fontSize + 'px "Arial"'))
  17483. Node274_3.setPosition(688*ratio.ratioX, 403*ratio.ratioY);
  17484. Node274_3.setWidth(Node274_3width);
  17485. Node274_3.setHeight(Node274_3height);
  17486. Node274_3._nodeType = 'text';
  17487. Node274_3._disallowEvert = true;
  17488. Node274_3.setRotation(0*Math.PI/180);
  17489. Node274_3.a('node.width', Node274_3width);
  17490. Node274_3.a('node.height', Node274_3height);
  17491. Node274_3.a('node.rect', [0, 0, Node274_3width, Node274_3height]);
  17492. Node274_3.a('node.bordercolor','rgba(0,0,0,1)');
  17493. Node274_3.a('node.borderwidth', 0);
  17494. Node274_3.a('node.background','' || 'rgba(0,0,0,0)');
  17495. Node274_3.a('node.gradient','');
  17496. Node274_3.a('node.gradientcolor','');
  17497. Node274_3.a('node.text','万kwh');
  17498. Node274_3.a('node.textalign','left');
  17499. Node274_3.a('node.textvAlign','middle');
  17500. Node274_3.a('node.textrect', [Node274_3textStart, 0, Node274_3textWidth, Node274_3height]);
  17501. Node274_3.a('node.color','rgba(0,0,0,1)');
  17502. Node274_3.a('node.font',' '+ Node274_3fontSize + 'px "Arial"');
  17503. Node274_3.a('node.textvisible',true);
  17504. Node274_3.a('node.linefeed',false);
  17505. if (false) {
  17506. Node274_3.a('node.textfunc',function(g) {
  17507. g.beginPath();
  17508. var str=Node274_3.a('node.text') || '万kwh';
  17509. var color=Node274_3.a('node.color') || 'rgba(0,0,0,1)';
  17510. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_3width,Node274_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_3fontSize + 'px "Arial"', 0,g);
  17511. });
  17512. }
  17513. if (false) {
  17514. Node274_3.a('node.underlinepoints',[Node274_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width + 6, (Node274_3height - Node274_3fontSize) * 0.5*_ratio.ratioY + Node274_3fontSize + 2 ]);
  17515. Node274_3.a('node.underlinevisible',false);
  17516. Node274_3.a('node.underlineBorderWidth', 1);
  17517. }
  17518. dataModel.add(Node274_3);
  17519. zoomNodeList.push({
  17520. node: Node274_3,
  17521. borderWidth: 0,
  17522. attr: 'node.borderwidth'
  17523. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17524. var Node274_4 = new ht.Node();
  17525. var Node274_4textStart, Node274_4textWidth, Node274_4lineStart, Node274_4align = 'left', Node274_4fontSize = 10.66664*_ratio.ratioY,Node274_4width = 72*_ratio.ratioX, Node274_4height = 27*_ratio.ratioY;
  17526. (function () {
  17527. if (Node274_4align === 'left') {
  17528. Node274_4textStart = Node274_4fontSize * 0.2 > 2 ? Node274_4fontSize * 0.2 - 4 : Node274_4fontSize * 0.2 - 9;
  17529. Node274_4textWidth = Node274_4width;
  17530. Node274_4lineStart = 1;
  17531. } else if (Node274_4align === 'right') {
  17532. Node274_4textStart = 0;
  17533. Node274_4textWidth =Node274_4fontSize <= 8 ? Node274_4width + Node274_4fontSize * 0.2 + 6 : Node274_4width - Node274_4fontSize * 0.2;
  17534. Node274_4lineStart = (Node274_4width - (ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  17535. } else if (Node274_4align === 'center') {
  17536. Node274_4textStart = -3;
  17537. Node274_4textWidth = Node274_4width;
  17538. Node274_4lineStart = Node274_4width - ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width - 11;
  17539. }
  17540. })();
  17541. Node274_4.setImage(GD.getTextJSON(Node274_4width, Node274_4height, true, false, false, ' '+ Node274_4fontSize + 'px "Arial"'))
  17542. Node274_4.setPosition(603*ratio.ratioX, 429*ratio.ratioY);
  17543. Node274_4.setWidth(Node274_4width);
  17544. Node274_4.setHeight(Node274_4height);
  17545. Node274_4._nodeType = 'text';
  17546. Node274_4._disallowEvert = true;
  17547. Node274_4.setRotation(0*Math.PI/180);
  17548. Node274_4.a('node.width', Node274_4width);
  17549. Node274_4.a('node.height', Node274_4height);
  17550. Node274_4.a('node.rect', [0, 0, Node274_4width, Node274_4height]);
  17551. Node274_4.a('node.bordercolor','rgba(0,0,0,1)');
  17552. Node274_4.a('node.borderwidth', 0);
  17553. Node274_4.a('node.background','' || 'rgba(0,0,0,0)');
  17554. Node274_4.a('node.gradient','');
  17555. Node274_4.a('node.gradientcolor','');
  17556. Node274_4.a('node.text','装机容量');
  17557. Node274_4.a('node.textalign','left');
  17558. Node274_4.a('node.textvAlign','middle');
  17559. Node274_4.a('node.textrect', [Node274_4textStart, 0, Node274_4textWidth, Node274_4height]);
  17560. Node274_4.a('node.color','rgba(0,0,0,1)');
  17561. Node274_4.a('node.font',' '+ Node274_4fontSize + 'px "Arial"');
  17562. Node274_4.a('node.textvisible',true);
  17563. Node274_4.a('node.linefeed',false);
  17564. if (false) {
  17565. Node274_4.a('node.textfunc',function(g) {
  17566. g.beginPath();
  17567. var str=Node274_4.a('node.text') || '装机容量';
  17568. var color=Node274_4.a('node.color') || 'rgba(0,0,0,1)';
  17569. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_4width,Node274_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_4fontSize + 'px "Arial"', 0,g);
  17570. });
  17571. }
  17572. if (false) {
  17573. Node274_4.a('node.underlinepoints',[Node274_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width + 6, (Node274_4height - Node274_4fontSize) * 0.5*_ratio.ratioY + Node274_4fontSize + 2 ]);
  17574. Node274_4.a('node.underlinevisible',false);
  17575. Node274_4.a('node.underlineBorderWidth', 1);
  17576. }
  17577. dataModel.add(Node274_4);
  17578. zoomNodeList.push({
  17579. node: Node274_4,
  17580. borderWidth: 0,
  17581. attr: 'node.borderwidth'
  17582. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17583. var Node274_5 = new ht.Node();
  17584. var Node274_5textStart, Node274_5textWidth, Node274_5lineStart, Node274_5align = 'left', Node274_5fontSize = 10.66664*_ratio.ratioY,Node274_5width = 31*_ratio.ratioX, Node274_5height = 27*_ratio.ratioY;
  17585. (function () {
  17586. if (Node274_5align === 'left') {
  17587. Node274_5textStart = Node274_5fontSize * 0.2 > 2 ? Node274_5fontSize * 0.2 - 4 : Node274_5fontSize * 0.2 - 9;
  17588. Node274_5textWidth = Node274_5width;
  17589. Node274_5lineStart = 1;
  17590. } else if (Node274_5align === 'right') {
  17591. Node274_5textStart = 0;
  17592. Node274_5textWidth =Node274_5fontSize <= 8 ? Node274_5width + Node274_5fontSize * 0.2 + 6 : Node274_5width - Node274_5fontSize * 0.2;
  17593. Node274_5lineStart = (Node274_5width - (ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  17594. } else if (Node274_5align === 'center') {
  17595. Node274_5textStart = -3;
  17596. Node274_5textWidth = Node274_5width;
  17597. Node274_5lineStart = Node274_5width - ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width - 11;
  17598. }
  17599. })();
  17600. Node274_5.setImage(GD.getTextJSON(Node274_5width, Node274_5height, true, false, false, ' '+ Node274_5fontSize + 'px "Arial"'))
  17601. Node274_5.setPosition(646*ratio.ratioX, 429*ratio.ratioY);
  17602. Node274_5.setWidth(Node274_5width);
  17603. Node274_5.setHeight(Node274_5height);
  17604. Node274_5._nodeType = 'text';
  17605. Node274_5._disallowEvert = true;
  17606. Node274_5.setRotation(0*Math.PI/180);
  17607. Node274_5.a('node.width', Node274_5width);
  17608. Node274_5.a('node.height', Node274_5height);
  17609. Node274_5.a('node.rect', [0, 0, Node274_5width, Node274_5height]);
  17610. Node274_5.a('node.bordercolor','rgba(192,0,0,1)');
  17611. Node274_5.a('node.borderwidth', 0);
  17612. Node274_5.a('node.background','' || 'rgba(0,0,0,0)');
  17613. Node274_5.a('node.gradient','');
  17614. Node274_5.a('node.gradientcolor','');
  17615. Node274_5.a('node.text','14.85');
  17616. Node274_5.a('node.textalign','left');
  17617. Node274_5.a('node.textvAlign','middle');
  17618. Node274_5.a('node.textrect', [Node274_5textStart, 0, Node274_5textWidth, Node274_5height]);
  17619. Node274_5.a('node.color','rgba(192,0,0,1)');
  17620. Node274_5.a('node.font',' '+ Node274_5fontSize + 'px "Arial"');
  17621. Node274_5.a('node.textvisible',true);
  17622. Node274_5.a('node.linefeed',false);
  17623. if (false) {
  17624. Node274_5.a('node.textfunc',function(g) {
  17625. g.beginPath();
  17626. var str=Node274_5.a('node.text') || '14.85';
  17627. var color=Node274_5.a('node.color') || 'rgba(192,0,0,1)';
  17628. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_5width,Node274_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_5fontSize + 'px "Arial"', 0,g);
  17629. });
  17630. }
  17631. if (false) {
  17632. Node274_5.a('node.underlinepoints',[Node274_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width + 6, (Node274_5height - Node274_5fontSize) * 0.5*_ratio.ratioY + Node274_5fontSize + 2 ]);
  17633. Node274_5.a('node.underlinevisible',false);
  17634. Node274_5.a('node.underlineBorderWidth', 1);
  17635. }
  17636. dataModel.add(Node274_5);
  17637. zoomNodeList.push({
  17638. node: Node274_5,
  17639. borderWidth: 0,
  17640. attr: 'node.borderwidth'
  17641. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17642. var Node274_6 = new ht.Node();
  17643. var Node274_6textStart, Node274_6textWidth, Node274_6lineStart, Node274_6align = 'left', Node274_6fontSize = 10.66664*_ratio.ratioY,Node274_6width = 43*_ratio.ratioX, Node274_6height = 27*_ratio.ratioY;
  17644. (function () {
  17645. if (Node274_6align === 'left') {
  17646. Node274_6textStart = Node274_6fontSize * 0.2 > 2 ? Node274_6fontSize * 0.2 - 4 : Node274_6fontSize * 0.2 - 9;
  17647. Node274_6textWidth = Node274_6width;
  17648. Node274_6lineStart = 1;
  17649. } else if (Node274_6align === 'right') {
  17650. Node274_6textStart = 0;
  17651. Node274_6textWidth =Node274_6fontSize <= 8 ? Node274_6width + Node274_6fontSize * 0.2 + 6 : Node274_6width - Node274_6fontSize * 0.2;
  17652. Node274_6lineStart = (Node274_6width - (ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  17653. } else if (Node274_6align === 'center') {
  17654. Node274_6textStart = -3;
  17655. Node274_6textWidth = Node274_6width;
  17656. Node274_6lineStart = Node274_6width - ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width - 11;
  17657. }
  17658. })();
  17659. Node274_6.setImage(GD.getTextJSON(Node274_6width, Node274_6height, true, false, false, ' '+ Node274_6fontSize + 'px "Arial"'))
  17660. Node274_6.setPosition(688*ratio.ratioX, 429*ratio.ratioY);
  17661. Node274_6.setWidth(Node274_6width);
  17662. Node274_6.setHeight(Node274_6height);
  17663. Node274_6._nodeType = 'text';
  17664. Node274_6._disallowEvert = true;
  17665. Node274_6.setRotation(0*Math.PI/180);
  17666. Node274_6.a('node.width', Node274_6width);
  17667. Node274_6.a('node.height', Node274_6height);
  17668. Node274_6.a('node.rect', [0, 0, Node274_6width, Node274_6height]);
  17669. Node274_6.a('node.bordercolor','rgba(0,0,0,1)');
  17670. Node274_6.a('node.borderwidth', 0);
  17671. Node274_6.a('node.background','' || 'rgba(0,0,0,0)');
  17672. Node274_6.a('node.gradient','');
  17673. Node274_6.a('node.gradientcolor','');
  17674. Node274_6.a('node.text','万kwh');
  17675. Node274_6.a('node.textalign','left');
  17676. Node274_6.a('node.textvAlign','middle');
  17677. Node274_6.a('node.textrect', [Node274_6textStart, 0, Node274_6textWidth, Node274_6height]);
  17678. Node274_6.a('node.color','rgba(0,0,0,1)');
  17679. Node274_6.a('node.font',' '+ Node274_6fontSize + 'px "Arial"');
  17680. Node274_6.a('node.textvisible',true);
  17681. Node274_6.a('node.linefeed',false);
  17682. if (false) {
  17683. Node274_6.a('node.textfunc',function(g) {
  17684. g.beginPath();
  17685. var str=Node274_6.a('node.text') || '万kwh';
  17686. var color=Node274_6.a('node.color') || 'rgba(0,0,0,1)';
  17687. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_6width,Node274_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_6fontSize + 'px "Arial"', 0,g);
  17688. });
  17689. }
  17690. if (false) {
  17691. Node274_6.a('node.underlinepoints',[Node274_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width + 6, (Node274_6height - Node274_6fontSize) * 0.5*_ratio.ratioY + Node274_6fontSize + 2 ]);
  17692. Node274_6.a('node.underlinevisible',false);
  17693. Node274_6.a('node.underlineBorderWidth', 1);
  17694. }
  17695. dataModel.add(Node274_6);
  17696. zoomNodeList.push({
  17697. node: Node274_6,
  17698. borderWidth: 0,
  17699. attr: 'node.borderwidth'
  17700. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17701. var Node274_7 = new ht.Node();
  17702. var Node274_7textStart, Node274_7textWidth, Node274_7lineStart, Node274_7align = 'left', Node274_7fontSize = 10.66664*_ratio.ratioY,Node274_7width = 72*_ratio.ratioX, Node274_7height = 27*_ratio.ratioY;
  17703. (function () {
  17704. if (Node274_7align === 'left') {
  17705. Node274_7textStart = Node274_7fontSize * 0.2 > 2 ? Node274_7fontSize * 0.2 - 4 : Node274_7fontSize * 0.2 - 9;
  17706. Node274_7textWidth = Node274_7width;
  17707. Node274_7lineStart = 1;
  17708. } else if (Node274_7align === 'right') {
  17709. Node274_7textStart = 0;
  17710. Node274_7textWidth =Node274_7fontSize <= 8 ? Node274_7width + Node274_7fontSize * 0.2 + 6 : Node274_7width - Node274_7fontSize * 0.2;
  17711. Node274_7lineStart = (Node274_7width - (ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  17712. } else if (Node274_7align === 'center') {
  17713. Node274_7textStart = -3;
  17714. Node274_7textWidth = Node274_7width;
  17715. Node274_7lineStart = Node274_7width - ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width - 11;
  17716. }
  17717. })();
  17718. Node274_7.setImage(GD.getTextJSON(Node274_7width, Node274_7height, true, false, false, ' '+ Node274_7fontSize + 'px "Arial"'))
  17719. Node274_7.setPosition(603*ratio.ratioX, 454*ratio.ratioY);
  17720. Node274_7.setWidth(Node274_7width);
  17721. Node274_7.setHeight(Node274_7height);
  17722. Node274_7._nodeType = 'text';
  17723. Node274_7._disallowEvert = true;
  17724. Node274_7.setRotation(0*Math.PI/180);
  17725. Node274_7.a('node.width', Node274_7width);
  17726. Node274_7.a('node.height', Node274_7height);
  17727. Node274_7.a('node.rect', [0, 0, Node274_7width, Node274_7height]);
  17728. Node274_7.a('node.bordercolor','rgba(0,0,0,1)');
  17729. Node274_7.a('node.borderwidth', 0);
  17730. Node274_7.a('node.background','' || 'rgba(0,0,0,0)');
  17731. Node274_7.a('node.gradient','');
  17732. Node274_7.a('node.gradientcolor','');
  17733. Node274_7.a('node.text','平均风速');
  17734. Node274_7.a('node.textalign','left');
  17735. Node274_7.a('node.textvAlign','middle');
  17736. Node274_7.a('node.textrect', [Node274_7textStart, 0, Node274_7textWidth, Node274_7height]);
  17737. Node274_7.a('node.color','rgba(0,0,0,1)');
  17738. Node274_7.a('node.font',' '+ Node274_7fontSize + 'px "Arial"');
  17739. Node274_7.a('node.textvisible',true);
  17740. Node274_7.a('node.linefeed',false);
  17741. if (false) {
  17742. Node274_7.a('node.textfunc',function(g) {
  17743. g.beginPath();
  17744. var str=Node274_7.a('node.text') || '平均风速';
  17745. var color=Node274_7.a('node.color') || 'rgba(0,0,0,1)';
  17746. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_7width,Node274_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_7fontSize + 'px "Arial"', 0,g);
  17747. });
  17748. }
  17749. if (false) {
  17750. Node274_7.a('node.underlinepoints',[Node274_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width + 6, (Node274_7height - Node274_7fontSize) * 0.5*_ratio.ratioY + Node274_7fontSize + 2 ]);
  17751. Node274_7.a('node.underlinevisible',false);
  17752. Node274_7.a('node.underlineBorderWidth', 1);
  17753. }
  17754. dataModel.add(Node274_7);
  17755. zoomNodeList.push({
  17756. node: Node274_7,
  17757. borderWidth: 0,
  17758. attr: 'node.borderwidth'
  17759. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17760. var Node274_8 = new ht.Node();
  17761. var Node274_8textStart, Node274_8textWidth, Node274_8lineStart, Node274_8align = 'left', Node274_8fontSize = 10.66664*_ratio.ratioY,Node274_8width = 22*_ratio.ratioX, Node274_8height = 27*_ratio.ratioY;
  17762. (function () {
  17763. if (Node274_8align === 'left') {
  17764. Node274_8textStart = Node274_8fontSize * 0.2 > 2 ? Node274_8fontSize * 0.2 - 4 : Node274_8fontSize * 0.2 - 9;
  17765. Node274_8textWidth = Node274_8width;
  17766. Node274_8lineStart = 1;
  17767. } else if (Node274_8align === 'right') {
  17768. Node274_8textStart = 0;
  17769. Node274_8textWidth =Node274_8fontSize <= 8 ? Node274_8width + Node274_8fontSize * 0.2 + 6 : Node274_8width - Node274_8fontSize * 0.2;
  17770. Node274_8lineStart = (Node274_8width - (ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  17771. } else if (Node274_8align === 'center') {
  17772. Node274_8textStart = -3;
  17773. Node274_8textWidth = Node274_8width;
  17774. Node274_8lineStart = Node274_8width - ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width - 11;
  17775. }
  17776. })();
  17777. Node274_8.setImage(GD.getTextJSON(Node274_8width, Node274_8height, true, false, false, ' '+ Node274_8fontSize + 'px "Arial"'))
  17778. Node274_8.setPosition(641*ratio.ratioX, 454*ratio.ratioY);
  17779. Node274_8.setWidth(Node274_8width);
  17780. Node274_8.setHeight(Node274_8height);
  17781. Node274_8._nodeType = 'text';
  17782. Node274_8._disallowEvert = true;
  17783. Node274_8.setRotation(0*Math.PI/180);
  17784. Node274_8.a('node.width', Node274_8width);
  17785. Node274_8.a('node.height', Node274_8height);
  17786. Node274_8.a('node.rect', [0, 0, Node274_8width, Node274_8height]);
  17787. Node274_8.a('node.bordercolor','rgba(192,0,0,1)');
  17788. Node274_8.a('node.borderwidth', 0);
  17789. Node274_8.a('node.background','' || 'rgba(0,0,0,0)');
  17790. Node274_8.a('node.gradient','');
  17791. Node274_8.a('node.gradientcolor','');
  17792. Node274_8.a('node.text','-');
  17793. Node274_8.a('node.textalign','left');
  17794. Node274_8.a('node.textvAlign','middle');
  17795. Node274_8.a('node.textrect', [Node274_8textStart, 0, Node274_8textWidth, Node274_8height]);
  17796. Node274_8.a('node.color','rgba(192,0,0,1)');
  17797. Node274_8.a('node.font',' '+ Node274_8fontSize + 'px "Arial"');
  17798. Node274_8.a('node.textvisible',true);
  17799. Node274_8.a('node.linefeed',false);
  17800. if (false) {
  17801. Node274_8.a('node.textfunc',function(g) {
  17802. g.beginPath();
  17803. var str=Node274_8.a('node.text') || '-';
  17804. var color=Node274_8.a('node.color') || 'rgba(192,0,0,1)';
  17805. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_8width,Node274_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_8fontSize + 'px "Arial"', 0,g);
  17806. });
  17807. }
  17808. if (false) {
  17809. Node274_8.a('node.underlinepoints',[Node274_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width + 6, (Node274_8height - Node274_8fontSize) * 0.5*_ratio.ratioY + Node274_8fontSize + 2 ]);
  17810. Node274_8.a('node.underlinevisible',false);
  17811. Node274_8.a('node.underlineBorderWidth', 1);
  17812. }
  17813. dataModel.add(Node274_8);
  17814. zoomNodeList.push({
  17815. node: Node274_8,
  17816. borderWidth: 0,
  17817. attr: 'node.borderwidth'
  17818. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17819. var Node274_9 = new ht.Node();
  17820. var Node274_9textStart, Node274_9textWidth, Node274_9lineStart, Node274_9align = 'left', Node274_9fontSize = 10.66664*_ratio.ratioY,Node274_9width = 43*_ratio.ratioX, Node274_9height = 27*_ratio.ratioY;
  17821. (function () {
  17822. if (Node274_9align === 'left') {
  17823. Node274_9textStart = Node274_9fontSize * 0.2 > 2 ? Node274_9fontSize * 0.2 - 4 : Node274_9fontSize * 0.2 - 9;
  17824. Node274_9textWidth = Node274_9width;
  17825. Node274_9lineStart = 1;
  17826. } else if (Node274_9align === 'right') {
  17827. Node274_9textStart = 0;
  17828. Node274_9textWidth =Node274_9fontSize <= 8 ? Node274_9width + Node274_9fontSize * 0.2 + 6 : Node274_9width - Node274_9fontSize * 0.2;
  17829. Node274_9lineStart = (Node274_9width - (ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  17830. } else if (Node274_9align === 'center') {
  17831. Node274_9textStart = -3;
  17832. Node274_9textWidth = Node274_9width;
  17833. Node274_9lineStart = Node274_9width - ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width - 11;
  17834. }
  17835. })();
  17836. Node274_9.setImage(GD.getTextJSON(Node274_9width, Node274_9height, true, false, false, ' '+ Node274_9fontSize + 'px "Arial"'))
  17837. Node274_9.setPosition(688*ratio.ratioX, 454*ratio.ratioY);
  17838. Node274_9.setWidth(Node274_9width);
  17839. Node274_9.setHeight(Node274_9height);
  17840. Node274_9._nodeType = 'text';
  17841. Node274_9._disallowEvert = true;
  17842. Node274_9.setRotation(0*Math.PI/180);
  17843. Node274_9.a('node.width', Node274_9width);
  17844. Node274_9.a('node.height', Node274_9height);
  17845. Node274_9.a('node.rect', [0, 0, Node274_9width, Node274_9height]);
  17846. Node274_9.a('node.bordercolor','rgba(0,0,0,1)');
  17847. Node274_9.a('node.borderwidth', 0);
  17848. Node274_9.a('node.background','' || 'rgba(0,0,0,0)');
  17849. Node274_9.a('node.gradient','');
  17850. Node274_9.a('node.gradientcolor','');
  17851. Node274_9.a('node.text','万kwh');
  17852. Node274_9.a('node.textalign','left');
  17853. Node274_9.a('node.textvAlign','middle');
  17854. Node274_9.a('node.textrect', [Node274_9textStart, 0, Node274_9textWidth, Node274_9height]);
  17855. Node274_9.a('node.color','rgba(0,0,0,1)');
  17856. Node274_9.a('node.font',' '+ Node274_9fontSize + 'px "Arial"');
  17857. Node274_9.a('node.textvisible',true);
  17858. Node274_9.a('node.linefeed',false);
  17859. if (false) {
  17860. Node274_9.a('node.textfunc',function(g) {
  17861. g.beginPath();
  17862. var str=Node274_9.a('node.text') || '万kwh';
  17863. var color=Node274_9.a('node.color') || 'rgba(0,0,0,1)';
  17864. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_9width,Node274_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_9fontSize + 'px "Arial"', 0,g);
  17865. });
  17866. }
  17867. if (false) {
  17868. Node274_9.a('node.underlinepoints',[Node274_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width + 6, (Node274_9height - Node274_9fontSize) * 0.5*_ratio.ratioY + Node274_9fontSize + 2 ]);
  17869. Node274_9.a('node.underlinevisible',false);
  17870. Node274_9.a('node.underlineBorderWidth', 1);
  17871. }
  17872. dataModel.add(Node274_9);
  17873. zoomNodeList.push({
  17874. node: Node274_9,
  17875. borderWidth: 0,
  17876. attr: 'node.borderwidth'
  17877. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17878. var Node274_10 = new ht.Node();
  17879. var Node274_10textStart, Node274_10textWidth, Node274_10lineStart, Node274_10align = 'left', Node274_10fontSize = 10.66664*_ratio.ratioY,Node274_10width = 72*_ratio.ratioX, Node274_10height = 27*_ratio.ratioY;
  17880. (function () {
  17881. if (Node274_10align === 'left') {
  17882. Node274_10textStart = Node274_10fontSize * 0.2 > 2 ? Node274_10fontSize * 0.2 - 4 : Node274_10fontSize * 0.2 - 9;
  17883. Node274_10textWidth = Node274_10width;
  17884. Node274_10lineStart = 1;
  17885. } else if (Node274_10align === 'right') {
  17886. Node274_10textStart = 0;
  17887. Node274_10textWidth =Node274_10fontSize <= 8 ? Node274_10width + Node274_10fontSize * 0.2 + 6 : Node274_10width - Node274_10fontSize * 0.2;
  17888. Node274_10lineStart = (Node274_10width - (ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  17889. } else if (Node274_10align === 'center') {
  17890. Node274_10textStart = -3;
  17891. Node274_10textWidth = Node274_10width;
  17892. Node274_10lineStart = Node274_10width - ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width - 11;
  17893. }
  17894. })();
  17895. Node274_10.setImage(GD.getTextJSON(Node274_10width, Node274_10height, true, false, false, ' '+ Node274_10fontSize + 'px "Arial"'))
  17896. Node274_10.setPosition(603*ratio.ratioX, 480*ratio.ratioY);
  17897. Node274_10.setWidth(Node274_10width);
  17898. Node274_10.setHeight(Node274_10height);
  17899. Node274_10._nodeType = 'text';
  17900. Node274_10._disallowEvert = true;
  17901. Node274_10.setRotation(0*Math.PI/180);
  17902. Node274_10.a('node.width', Node274_10width);
  17903. Node274_10.a('node.height', Node274_10height);
  17904. Node274_10.a('node.rect', [0, 0, Node274_10width, Node274_10height]);
  17905. Node274_10.a('node.bordercolor','rgba(0,0,0,1)');
  17906. Node274_10.a('node.borderwidth', 0);
  17907. Node274_10.a('node.background','' || 'rgba(0,0,0,0)');
  17908. Node274_10.a('node.gradient','');
  17909. Node274_10.a('node.gradientcolor','');
  17910. Node274_10.a('node.text','日发电量');
  17911. Node274_10.a('node.textalign','left');
  17912. Node274_10.a('node.textvAlign','middle');
  17913. Node274_10.a('node.textrect', [Node274_10textStart, 0, Node274_10textWidth, Node274_10height]);
  17914. Node274_10.a('node.color','rgba(0,0,0,1)');
  17915. Node274_10.a('node.font',' '+ Node274_10fontSize + 'px "Arial"');
  17916. Node274_10.a('node.textvisible',true);
  17917. Node274_10.a('node.linefeed',false);
  17918. if (false) {
  17919. Node274_10.a('node.textfunc',function(g) {
  17920. g.beginPath();
  17921. var str=Node274_10.a('node.text') || '日发电量';
  17922. var color=Node274_10.a('node.color') || 'rgba(0,0,0,1)';
  17923. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_10width,Node274_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_10fontSize + 'px "Arial"', 0,g);
  17924. });
  17925. }
  17926. if (false) {
  17927. Node274_10.a('node.underlinepoints',[Node274_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width + 6, (Node274_10height - Node274_10fontSize) * 0.5*_ratio.ratioY + Node274_10fontSize + 2 ]);
  17928. Node274_10.a('node.underlinevisible',false);
  17929. Node274_10.a('node.underlineBorderWidth', 1);
  17930. }
  17931. dataModel.add(Node274_10);
  17932. zoomNodeList.push({
  17933. node: Node274_10,
  17934. borderWidth: 0,
  17935. attr: 'node.borderwidth'
  17936. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17937. var Node274_11 = new ht.Node();
  17938. var Node274_11textStart, Node274_11textWidth, Node274_11lineStart, Node274_11align = 'left', Node274_11fontSize = 10.66664*_ratio.ratioY,Node274_11width = 31*_ratio.ratioX, Node274_11height = 27*_ratio.ratioY;
  17939. (function () {
  17940. if (Node274_11align === 'left') {
  17941. Node274_11textStart = Node274_11fontSize * 0.2 > 2 ? Node274_11fontSize * 0.2 - 4 : Node274_11fontSize * 0.2 - 9;
  17942. Node274_11textWidth = Node274_11width;
  17943. Node274_11lineStart = 1;
  17944. } else if (Node274_11align === 'right') {
  17945. Node274_11textStart = 0;
  17946. Node274_11textWidth =Node274_11fontSize <= 8 ? Node274_11width + Node274_11fontSize * 0.2 + 6 : Node274_11width - Node274_11fontSize * 0.2;
  17947. Node274_11lineStart = (Node274_11width - (ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  17948. } else if (Node274_11align === 'center') {
  17949. Node274_11textStart = -3;
  17950. Node274_11textWidth = Node274_11width;
  17951. Node274_11lineStart = Node274_11width - ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width - 11;
  17952. }
  17953. })();
  17954. Node274_11.setImage(GD.getTextJSON(Node274_11width, Node274_11height, true, false, false, ' '+ Node274_11fontSize + 'px "Arial"'))
  17955. Node274_11.setPosition(646*ratio.ratioX, 480*ratio.ratioY);
  17956. Node274_11.setWidth(Node274_11width);
  17957. Node274_11.setHeight(Node274_11height);
  17958. Node274_11._nodeType = 'text';
  17959. Node274_11._disallowEvert = true;
  17960. Node274_11.setRotation(0*Math.PI/180);
  17961. Node274_11.a('node.width', Node274_11width);
  17962. Node274_11.a('node.height', Node274_11height);
  17963. Node274_11.a('node.rect', [0, 0, Node274_11width, Node274_11height]);
  17964. Node274_11.a('node.bordercolor','rgba(192,0,0,1)');
  17965. Node274_11.a('node.borderwidth', 0);
  17966. Node274_11.a('node.background','' || 'rgba(0,0,0,0)');
  17967. Node274_11.a('node.gradient','');
  17968. Node274_11.a('node.gradientcolor','');
  17969. Node274_11.a('node.text','-');
  17970. Node274_11.a('node.textalign','left');
  17971. Node274_11.a('node.textvAlign','middle');
  17972. Node274_11.a('node.textrect', [Node274_11textStart, 0, Node274_11textWidth, Node274_11height]);
  17973. Node274_11.a('node.color','rgba(192,0,0,1)');
  17974. Node274_11.a('node.font',' '+ Node274_11fontSize + 'px "Arial"');
  17975. Node274_11.a('node.textvisible',true);
  17976. Node274_11.a('node.linefeed',false);
  17977. if (false) {
  17978. Node274_11.a('node.textfunc',function(g) {
  17979. g.beginPath();
  17980. var str=Node274_11.a('node.text') || '-';
  17981. var color=Node274_11.a('node.color') || 'rgba(192,0,0,1)';
  17982. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_11width,Node274_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_11fontSize + 'px "Arial"', 0,g);
  17983. });
  17984. }
  17985. if (false) {
  17986. Node274_11.a('node.underlinepoints',[Node274_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width + 6, (Node274_11height - Node274_11fontSize) * 0.5*_ratio.ratioY + Node274_11fontSize + 2 ]);
  17987. Node274_11.a('node.underlinevisible',false);
  17988. Node274_11.a('node.underlineBorderWidth', 1);
  17989. }
  17990. dataModel.add(Node274_11);
  17991. zoomNodeList.push({
  17992. node: Node274_11,
  17993. borderWidth: 0,
  17994. attr: 'node.borderwidth'
  17995. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  17996. var Node274_12 = new ht.Node();
  17997. var Node274_12textStart, Node274_12textWidth, Node274_12lineStart, Node274_12align = 'left', Node274_12fontSize = 10.66664*_ratio.ratioY,Node274_12width = 43*_ratio.ratioX, Node274_12height = 27*_ratio.ratioY;
  17998. (function () {
  17999. if (Node274_12align === 'left') {
  18000. Node274_12textStart = Node274_12fontSize * 0.2 > 2 ? Node274_12fontSize * 0.2 - 4 : Node274_12fontSize * 0.2 - 9;
  18001. Node274_12textWidth = Node274_12width;
  18002. Node274_12lineStart = 1;
  18003. } else if (Node274_12align === 'right') {
  18004. Node274_12textStart = 0;
  18005. Node274_12textWidth =Node274_12fontSize <= 8 ? Node274_12width + Node274_12fontSize * 0.2 + 6 : Node274_12width - Node274_12fontSize * 0.2;
  18006. Node274_12lineStart = (Node274_12width - (ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  18007. } else if (Node274_12align === 'center') {
  18008. Node274_12textStart = -3;
  18009. Node274_12textWidth = Node274_12width;
  18010. Node274_12lineStart = Node274_12width - ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width - 11;
  18011. }
  18012. })();
  18013. Node274_12.setImage(GD.getTextJSON(Node274_12width, Node274_12height, true, false, false, ' '+ Node274_12fontSize + 'px "Arial"'))
  18014. Node274_12.setPosition(688*ratio.ratioX, 480*ratio.ratioY);
  18015. Node274_12.setWidth(Node274_12width);
  18016. Node274_12.setHeight(Node274_12height);
  18017. Node274_12._nodeType = 'text';
  18018. Node274_12._disallowEvert = true;
  18019. Node274_12.setRotation(0*Math.PI/180);
  18020. Node274_12.a('node.width', Node274_12width);
  18021. Node274_12.a('node.height', Node274_12height);
  18022. Node274_12.a('node.rect', [0, 0, Node274_12width, Node274_12height]);
  18023. Node274_12.a('node.bordercolor','rgba(0,0,0,1)');
  18024. Node274_12.a('node.borderwidth', 0);
  18025. Node274_12.a('node.background','' || 'rgba(0,0,0,0)');
  18026. Node274_12.a('node.gradient','');
  18027. Node274_12.a('node.gradientcolor','');
  18028. Node274_12.a('node.text','万kwh');
  18029. Node274_12.a('node.textalign','left');
  18030. Node274_12.a('node.textvAlign','middle');
  18031. Node274_12.a('node.textrect', [Node274_12textStart, 0, Node274_12textWidth, Node274_12height]);
  18032. Node274_12.a('node.color','rgba(0,0,0,1)');
  18033. Node274_12.a('node.font',' '+ Node274_12fontSize + 'px "Arial"');
  18034. Node274_12.a('node.textvisible',true);
  18035. Node274_12.a('node.linefeed',false);
  18036. if (false) {
  18037. Node274_12.a('node.textfunc',function(g) {
  18038. g.beginPath();
  18039. var str=Node274_12.a('node.text') || '万kwh';
  18040. var color=Node274_12.a('node.color') || 'rgba(0,0,0,1)';
  18041. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_12width,Node274_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_12fontSize + 'px "Arial"', 0,g);
  18042. });
  18043. }
  18044. if (false) {
  18045. Node274_12.a('node.underlinepoints',[Node274_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width + 6, (Node274_12height - Node274_12fontSize) * 0.5*_ratio.ratioY + Node274_12fontSize + 2 ]);
  18046. Node274_12.a('node.underlinevisible',false);
  18047. Node274_12.a('node.underlineBorderWidth', 1);
  18048. }
  18049. dataModel.add(Node274_12);
  18050. zoomNodeList.push({
  18051. node: Node274_12,
  18052. borderWidth: 0,
  18053. attr: 'node.borderwidth'
  18054. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18055. var Node274_13 = new ht.Node();
  18056. var Node274_13textStart, Node274_13textWidth, Node274_13lineStart, Node274_13align = 'left', Node274_13fontSize = 10.66664*_ratio.ratioY,Node274_13width = 72*_ratio.ratioX, Node274_13height = 27*_ratio.ratioY;
  18057. (function () {
  18058. if (Node274_13align === 'left') {
  18059. Node274_13textStart = Node274_13fontSize * 0.2 > 2 ? Node274_13fontSize * 0.2 - 4 : Node274_13fontSize * 0.2 - 9;
  18060. Node274_13textWidth = Node274_13width;
  18061. Node274_13lineStart = 1;
  18062. } else if (Node274_13align === 'right') {
  18063. Node274_13textStart = 0;
  18064. Node274_13textWidth =Node274_13fontSize <= 8 ? Node274_13width + Node274_13fontSize * 0.2 + 6 : Node274_13width - Node274_13fontSize * 0.2;
  18065. Node274_13lineStart = (Node274_13width - (ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  18066. } else if (Node274_13align === 'center') {
  18067. Node274_13textStart = -3;
  18068. Node274_13textWidth = Node274_13width;
  18069. Node274_13lineStart = Node274_13width - ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width - 11;
  18070. }
  18071. })();
  18072. Node274_13.setImage(GD.getTextJSON(Node274_13width, Node274_13height, true, false, false, ' '+ Node274_13fontSize + 'px "Arial"'))
  18073. Node274_13.setPosition(603*ratio.ratioX, 507*ratio.ratioY);
  18074. Node274_13.setWidth(Node274_13width);
  18075. Node274_13.setHeight(Node274_13height);
  18076. Node274_13._nodeType = 'text';
  18077. Node274_13._disallowEvert = true;
  18078. Node274_13.setRotation(0*Math.PI/180);
  18079. Node274_13.a('node.width', Node274_13width);
  18080. Node274_13.a('node.height', Node274_13height);
  18081. Node274_13.a('node.rect', [0, 0, Node274_13width, Node274_13height]);
  18082. Node274_13.a('node.bordercolor','rgba(0,0,0,1)');
  18083. Node274_13.a('node.borderwidth', 0);
  18084. Node274_13.a('node.background','' || 'rgba(0,0,0,0)');
  18085. Node274_13.a('node.gradient','');
  18086. Node274_13.a('node.gradientcolor','');
  18087. Node274_13.a('node.text','有功功率');
  18088. Node274_13.a('node.textalign','left');
  18089. Node274_13.a('node.textvAlign','middle');
  18090. Node274_13.a('node.textrect', [Node274_13textStart, 0, Node274_13textWidth, Node274_13height]);
  18091. Node274_13.a('node.color','rgba(0,0,0,1)');
  18092. Node274_13.a('node.font',' '+ Node274_13fontSize + 'px "Arial"');
  18093. Node274_13.a('node.textvisible',true);
  18094. Node274_13.a('node.linefeed',false);
  18095. if (false) {
  18096. Node274_13.a('node.textfunc',function(g) {
  18097. g.beginPath();
  18098. var str=Node274_13.a('node.text') || '有功功率';
  18099. var color=Node274_13.a('node.color') || 'rgba(0,0,0,1)';
  18100. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_13width,Node274_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_13fontSize + 'px "Arial"', 0,g);
  18101. });
  18102. }
  18103. if (false) {
  18104. Node274_13.a('node.underlinepoints',[Node274_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width + 6, (Node274_13height - Node274_13fontSize) * 0.5*_ratio.ratioY + Node274_13fontSize + 2 ]);
  18105. Node274_13.a('node.underlinevisible',false);
  18106. Node274_13.a('node.underlineBorderWidth', 1);
  18107. }
  18108. dataModel.add(Node274_13);
  18109. zoomNodeList.push({
  18110. node: Node274_13,
  18111. borderWidth: 0,
  18112. attr: 'node.borderwidth'
  18113. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18114. var Node274_14 = new ht.Node();
  18115. var Node274_14textStart, Node274_14textWidth, Node274_14lineStart, Node274_14align = 'left', Node274_14fontSize = 10.66664*_ratio.ratioY,Node274_14width = 22*_ratio.ratioX, Node274_14height = 27*_ratio.ratioY;
  18116. (function () {
  18117. if (Node274_14align === 'left') {
  18118. Node274_14textStart = Node274_14fontSize * 0.2 > 2 ? Node274_14fontSize * 0.2 - 4 : Node274_14fontSize * 0.2 - 9;
  18119. Node274_14textWidth = Node274_14width;
  18120. Node274_14lineStart = 1;
  18121. } else if (Node274_14align === 'right') {
  18122. Node274_14textStart = 0;
  18123. Node274_14textWidth =Node274_14fontSize <= 8 ? Node274_14width + Node274_14fontSize * 0.2 + 6 : Node274_14width - Node274_14fontSize * 0.2;
  18124. Node274_14lineStart = (Node274_14width - (ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  18125. } else if (Node274_14align === 'center') {
  18126. Node274_14textStart = -3;
  18127. Node274_14textWidth = Node274_14width;
  18128. Node274_14lineStart = Node274_14width - ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width - 11;
  18129. }
  18130. })();
  18131. Node274_14.setImage(GD.getTextJSON(Node274_14width, Node274_14height, true, false, false, ' '+ Node274_14fontSize + 'px "Arial"'))
  18132. Node274_14.setPosition(641*ratio.ratioX, 507*ratio.ratioY);
  18133. Node274_14.setWidth(Node274_14width);
  18134. Node274_14.setHeight(Node274_14height);
  18135. Node274_14._nodeType = 'text';
  18136. Node274_14._disallowEvert = true;
  18137. Node274_14.setRotation(0*Math.PI/180);
  18138. Node274_14.a('node.width', Node274_14width);
  18139. Node274_14.a('node.height', Node274_14height);
  18140. Node274_14.a('node.rect', [0, 0, Node274_14width, Node274_14height]);
  18141. Node274_14.a('node.bordercolor','rgba(192,0,0,1)');
  18142. Node274_14.a('node.borderwidth', 0);
  18143. Node274_14.a('node.background','' || 'rgba(0,0,0,0)');
  18144. Node274_14.a('node.gradient','');
  18145. Node274_14.a('node.gradientcolor','');
  18146. Node274_14.a('node.text','-');
  18147. Node274_14.a('node.textalign','left');
  18148. Node274_14.a('node.textvAlign','middle');
  18149. Node274_14.a('node.textrect', [Node274_14textStart, 0, Node274_14textWidth, Node274_14height]);
  18150. Node274_14.a('node.color','rgba(192,0,0,1)');
  18151. Node274_14.a('node.font',' '+ Node274_14fontSize + 'px "Arial"');
  18152. Node274_14.a('node.textvisible',true);
  18153. Node274_14.a('node.linefeed',false);
  18154. if (false) {
  18155. Node274_14.a('node.textfunc',function(g) {
  18156. g.beginPath();
  18157. var str=Node274_14.a('node.text') || '-';
  18158. var color=Node274_14.a('node.color') || 'rgba(192,0,0,1)';
  18159. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_14width,Node274_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_14fontSize + 'px "Arial"', 0,g);
  18160. });
  18161. }
  18162. if (false) {
  18163. Node274_14.a('node.underlinepoints',[Node274_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width + 6, (Node274_14height - Node274_14fontSize) * 0.5*_ratio.ratioY + Node274_14fontSize + 2 ]);
  18164. Node274_14.a('node.underlinevisible',false);
  18165. Node274_14.a('node.underlineBorderWidth', 1);
  18166. }
  18167. dataModel.add(Node274_14);
  18168. zoomNodeList.push({
  18169. node: Node274_14,
  18170. borderWidth: 0,
  18171. attr: 'node.borderwidth'
  18172. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18173. var Node274_15 = new ht.Node();
  18174. var Node274_15textStart, Node274_15textWidth, Node274_15lineStart, Node274_15align = 'left', Node274_15fontSize = 10.66664*_ratio.ratioY,Node274_15width = 43*_ratio.ratioX, Node274_15height = 27*_ratio.ratioY;
  18175. (function () {
  18176. if (Node274_15align === 'left') {
  18177. Node274_15textStart = Node274_15fontSize * 0.2 > 2 ? Node274_15fontSize * 0.2 - 4 : Node274_15fontSize * 0.2 - 9;
  18178. Node274_15textWidth = Node274_15width;
  18179. Node274_15lineStart = 1;
  18180. } else if (Node274_15align === 'right') {
  18181. Node274_15textStart = 0;
  18182. Node274_15textWidth =Node274_15fontSize <= 8 ? Node274_15width + Node274_15fontSize * 0.2 + 6 : Node274_15width - Node274_15fontSize * 0.2;
  18183. Node274_15lineStart = (Node274_15width - (ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  18184. } else if (Node274_15align === 'center') {
  18185. Node274_15textStart = -3;
  18186. Node274_15textWidth = Node274_15width;
  18187. Node274_15lineStart = Node274_15width - ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width - 11;
  18188. }
  18189. })();
  18190. Node274_15.setImage(GD.getTextJSON(Node274_15width, Node274_15height, true, false, false, ' '+ Node274_15fontSize + 'px "Arial"'))
  18191. Node274_15.setPosition(688*ratio.ratioX, 507*ratio.ratioY);
  18192. Node274_15.setWidth(Node274_15width);
  18193. Node274_15.setHeight(Node274_15height);
  18194. Node274_15._nodeType = 'text';
  18195. Node274_15._disallowEvert = true;
  18196. Node274_15.setRotation(0*Math.PI/180);
  18197. Node274_15.a('node.width', Node274_15width);
  18198. Node274_15.a('node.height', Node274_15height);
  18199. Node274_15.a('node.rect', [0, 0, Node274_15width, Node274_15height]);
  18200. Node274_15.a('node.bordercolor','rgba(0,0,0,1)');
  18201. Node274_15.a('node.borderwidth', 0);
  18202. Node274_15.a('node.background','' || 'rgba(0,0,0,0)');
  18203. Node274_15.a('node.gradient','');
  18204. Node274_15.a('node.gradientcolor','');
  18205. Node274_15.a('node.text','万kwh');
  18206. Node274_15.a('node.textalign','left');
  18207. Node274_15.a('node.textvAlign','middle');
  18208. Node274_15.a('node.textrect', [Node274_15textStart, 0, Node274_15textWidth, Node274_15height]);
  18209. Node274_15.a('node.color','rgba(0,0,0,1)');
  18210. Node274_15.a('node.font',' '+ Node274_15fontSize + 'px "Arial"');
  18211. Node274_15.a('node.textvisible',true);
  18212. Node274_15.a('node.linefeed',false);
  18213. if (false) {
  18214. Node274_15.a('node.textfunc',function(g) {
  18215. g.beginPath();
  18216. var str=Node274_15.a('node.text') || '万kwh';
  18217. var color=Node274_15.a('node.color') || 'rgba(0,0,0,1)';
  18218. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_15width,Node274_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_15fontSize + 'px "Arial"', 0,g);
  18219. });
  18220. }
  18221. if (false) {
  18222. Node274_15.a('node.underlinepoints',[Node274_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width + 6, (Node274_15height - Node274_15fontSize) * 0.5*_ratio.ratioY + Node274_15fontSize + 2 ]);
  18223. Node274_15.a('node.underlinevisible',false);
  18224. Node274_15.a('node.underlineBorderWidth', 1);
  18225. }
  18226. dataModel.add(Node274_15);
  18227. zoomNodeList.push({
  18228. node: Node274_15,
  18229. borderWidth: 0,
  18230. attr: 'node.borderwidth'
  18231. }); var Node275_0;
  18232. (function () {
  18233. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18234. var ratioX, ratioY;
  18235. if ('Default' === 'False') {
  18236. ratioX = 1;
  18237. ratioY = 1;
  18238. } else if ('Default' === 'X') {
  18239. ratioX = ratioY = _ratio.ratioX;
  18240. } else if ('Default' === 'Y') {
  18241. ratioX = ratioY = _ratio.ratioY;
  18242. } else {
  18243. ratioX = _ratio.ratioX;
  18244. ratioY = _ratio.ratioY;
  18245. }
  18246. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  18247. Node275_0 = new ht.Node();
  18248. Node275_0.setPosition(483*ratio.ratioX, 390*ratio.ratioY);
  18249. Node275_0.setSize(146*ratioX, 141*ratioY);
  18250. Node275_0.setImage('imgimage//img//map_name_03.png');
  18251. Node275_0.setRotation(0*Math.PI/180);
  18252. Node275_0._zoomBy = 'Default';
  18253. Node275_0._nodeType = 'image';
  18254. Node275_0._disallowEvert = true;
  18255. dataModel.add(Node275_0);
  18256. })();
  18257. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18258. var Node275_1 = new ht.Node();
  18259. var Node275_1textStart, Node275_1textWidth, Node275_1lineStart, Node275_1align = 'left', Node275_1fontSize = 10.66664*_ratio.ratioY,Node275_1width = 72*_ratio.ratioX, Node275_1height = 27*_ratio.ratioY;
  18260. (function () {
  18261. if (Node275_1align === 'left') {
  18262. Node275_1textStart = Node275_1fontSize * 0.2 > 2 ? Node275_1fontSize * 0.2 - 4 : Node275_1fontSize * 0.2 - 9;
  18263. Node275_1textWidth = Node275_1width;
  18264. Node275_1lineStart = 1;
  18265. } else if (Node275_1align === 'right') {
  18266. Node275_1textStart = 0;
  18267. Node275_1textWidth =Node275_1fontSize <= 8 ? Node275_1width + Node275_1fontSize * 0.2 + 6 : Node275_1width - Node275_1fontSize * 0.2;
  18268. Node275_1lineStart = (Node275_1width - (ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  18269. } else if (Node275_1align === 'center') {
  18270. Node275_1textStart = -3;
  18271. Node275_1textWidth = Node275_1width;
  18272. Node275_1lineStart = Node275_1width - ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width - 11;
  18273. }
  18274. })();
  18275. Node275_1.setImage(GD.getTextJSON(Node275_1width, Node275_1height, true, false, false, ' '+ Node275_1fontSize + 'px "Arial"'))
  18276. Node275_1.setPosition(453*ratio.ratioX, 343*ratio.ratioY);
  18277. Node275_1.setWidth(Node275_1width);
  18278. Node275_1.setHeight(Node275_1height);
  18279. Node275_1._nodeType = 'text';
  18280. Node275_1._disallowEvert = true;
  18281. Node275_1.setRotation(0*Math.PI/180);
  18282. Node275_1.a('node.width', Node275_1width);
  18283. Node275_1.a('node.height', Node275_1height);
  18284. Node275_1.a('node.rect', [0, 0, Node275_1width, Node275_1height]);
  18285. Node275_1.a('node.bordercolor','rgba(0,0,0,1)');
  18286. Node275_1.a('node.borderwidth', 0);
  18287. Node275_1.a('node.background','' || 'rgba(0,0,0,0)');
  18288. Node275_1.a('node.gradient','');
  18289. Node275_1.a('node.gradientcolor','');
  18290. Node275_1.a('node.text','风机台数');
  18291. Node275_1.a('node.textalign','left');
  18292. Node275_1.a('node.textvAlign','middle');
  18293. Node275_1.a('node.textrect', [Node275_1textStart, 0, Node275_1textWidth, Node275_1height]);
  18294. Node275_1.a('node.color','rgba(0,0,0,1)');
  18295. Node275_1.a('node.font',' '+ Node275_1fontSize + 'px "Arial"');
  18296. Node275_1.a('node.textvisible',true);
  18297. Node275_1.a('node.linefeed',false);
  18298. if (false) {
  18299. Node275_1.a('node.textfunc',function(g) {
  18300. g.beginPath();
  18301. var str=Node275_1.a('node.text') || '风机台数';
  18302. var color=Node275_1.a('node.color') || 'rgba(0,0,0,1)';
  18303. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_1width,Node275_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_1fontSize + 'px "Arial"', 0,g);
  18304. });
  18305. }
  18306. if (false) {
  18307. Node275_1.a('node.underlinepoints',[Node275_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width + 6, (Node275_1height - Node275_1fontSize) * 0.5*_ratio.ratioY + Node275_1fontSize + 2 ]);
  18308. Node275_1.a('node.underlinevisible',false);
  18309. Node275_1.a('node.underlineBorderWidth', 1);
  18310. }
  18311. dataModel.add(Node275_1);
  18312. zoomNodeList.push({
  18313. node: Node275_1,
  18314. borderWidth: 0,
  18315. attr: 'node.borderwidth'
  18316. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18317. var Node275_2 = new ht.Node();
  18318. var Node275_2textStart, Node275_2textWidth, Node275_2lineStart, Node275_2align = 'left', Node275_2fontSize = 10.66664*_ratio.ratioY,Node275_2width = 22*_ratio.ratioX, Node275_2height = 27*_ratio.ratioY;
  18319. (function () {
  18320. if (Node275_2align === 'left') {
  18321. Node275_2textStart = Node275_2fontSize * 0.2 > 2 ? Node275_2fontSize * 0.2 - 4 : Node275_2fontSize * 0.2 - 9;
  18322. Node275_2textWidth = Node275_2width;
  18323. Node275_2lineStart = 1;
  18324. } else if (Node275_2align === 'right') {
  18325. Node275_2textStart = 0;
  18326. Node275_2textWidth =Node275_2fontSize <= 8 ? Node275_2width + Node275_2fontSize * 0.2 + 6 : Node275_2width - Node275_2fontSize * 0.2;
  18327. Node275_2lineStart = (Node275_2width - (ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  18328. } else if (Node275_2align === 'center') {
  18329. Node275_2textStart = -3;
  18330. Node275_2textWidth = Node275_2width;
  18331. Node275_2lineStart = Node275_2width - ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width - 11;
  18332. }
  18333. })();
  18334. Node275_2.setImage(GD.getTextJSON(Node275_2width, Node275_2height, true, false, false, ' '+ Node275_2fontSize + 'px "Arial"'))
  18335. Node275_2.setPosition(491*ratio.ratioX, 343*ratio.ratioY);
  18336. Node275_2.setWidth(Node275_2width);
  18337. Node275_2.setHeight(Node275_2height);
  18338. Node275_2._nodeType = 'text';
  18339. Node275_2._disallowEvert = true;
  18340. Node275_2.setRotation(0*Math.PI/180);
  18341. Node275_2.a('node.width', Node275_2width);
  18342. Node275_2.a('node.height', Node275_2height);
  18343. Node275_2.a('node.rect', [0, 0, Node275_2width, Node275_2height]);
  18344. Node275_2.a('node.bordercolor','rgba(192,0,0,1)');
  18345. Node275_2.a('node.borderwidth', 0);
  18346. Node275_2.a('node.background','' || 'rgba(0,0,0,0)');
  18347. Node275_2.a('node.gradient','');
  18348. Node275_2.a('node.gradientcolor','');
  18349. Node275_2.a('node.text','99');
  18350. Node275_2.a('node.textalign','left');
  18351. Node275_2.a('node.textvAlign','middle');
  18352. Node275_2.a('node.textrect', [Node275_2textStart, 0, Node275_2textWidth, Node275_2height]);
  18353. Node275_2.a('node.color','rgba(192,0,0,1)');
  18354. Node275_2.a('node.font',' '+ Node275_2fontSize + 'px "Arial"');
  18355. Node275_2.a('node.textvisible',true);
  18356. Node275_2.a('node.linefeed',false);
  18357. if (false) {
  18358. Node275_2.a('node.textfunc',function(g) {
  18359. g.beginPath();
  18360. var str=Node275_2.a('node.text') || '99';
  18361. var color=Node275_2.a('node.color') || 'rgba(192,0,0,1)';
  18362. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_2width,Node275_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_2fontSize + 'px "Arial"', 0,g);
  18363. });
  18364. }
  18365. if (false) {
  18366. Node275_2.a('node.underlinepoints',[Node275_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width + 6, (Node275_2height - Node275_2fontSize) * 0.5*_ratio.ratioY + Node275_2fontSize + 2 ]);
  18367. Node275_2.a('node.underlinevisible',false);
  18368. Node275_2.a('node.underlineBorderWidth', 1);
  18369. }
  18370. dataModel.add(Node275_2);
  18371. zoomNodeList.push({
  18372. node: Node275_2,
  18373. borderWidth: 0,
  18374. attr: 'node.borderwidth'
  18375. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18376. var Node275_3 = new ht.Node();
  18377. var Node275_3textStart, Node275_3textWidth, Node275_3lineStart, Node275_3align = 'left', Node275_3fontSize = 10.66664*_ratio.ratioY,Node275_3width = 43*_ratio.ratioX, Node275_3height = 27*_ratio.ratioY;
  18378. (function () {
  18379. if (Node275_3align === 'left') {
  18380. Node275_3textStart = Node275_3fontSize * 0.2 > 2 ? Node275_3fontSize * 0.2 - 4 : Node275_3fontSize * 0.2 - 9;
  18381. Node275_3textWidth = Node275_3width;
  18382. Node275_3lineStart = 1;
  18383. } else if (Node275_3align === 'right') {
  18384. Node275_3textStart = 0;
  18385. Node275_3textWidth =Node275_3fontSize <= 8 ? Node275_3width + Node275_3fontSize * 0.2 + 6 : Node275_3width - Node275_3fontSize * 0.2;
  18386. Node275_3lineStart = (Node275_3width - (ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  18387. } else if (Node275_3align === 'center') {
  18388. Node275_3textStart = -3;
  18389. Node275_3textWidth = Node275_3width;
  18390. Node275_3lineStart = Node275_3width - ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width - 11;
  18391. }
  18392. })();
  18393. Node275_3.setImage(GD.getTextJSON(Node275_3width, Node275_3height, true, false, false, ' '+ Node275_3fontSize + 'px "Arial"'))
  18394. Node275_3.setPosition(538*ratio.ratioX, 343*ratio.ratioY);
  18395. Node275_3.setWidth(Node275_3width);
  18396. Node275_3.setHeight(Node275_3height);
  18397. Node275_3._nodeType = 'text';
  18398. Node275_3._disallowEvert = true;
  18399. Node275_3.setRotation(0*Math.PI/180);
  18400. Node275_3.a('node.width', Node275_3width);
  18401. Node275_3.a('node.height', Node275_3height);
  18402. Node275_3.a('node.rect', [0, 0, Node275_3width, Node275_3height]);
  18403. Node275_3.a('node.bordercolor','rgba(0,0,0,1)');
  18404. Node275_3.a('node.borderwidth', 0);
  18405. Node275_3.a('node.background','' || 'rgba(0,0,0,0)');
  18406. Node275_3.a('node.gradient','');
  18407. Node275_3.a('node.gradientcolor','');
  18408. Node275_3.a('node.text','万kwh');
  18409. Node275_3.a('node.textalign','left');
  18410. Node275_3.a('node.textvAlign','middle');
  18411. Node275_3.a('node.textrect', [Node275_3textStart, 0, Node275_3textWidth, Node275_3height]);
  18412. Node275_3.a('node.color','rgba(0,0,0,1)');
  18413. Node275_3.a('node.font',' '+ Node275_3fontSize + 'px "Arial"');
  18414. Node275_3.a('node.textvisible',true);
  18415. Node275_3.a('node.linefeed',false);
  18416. if (false) {
  18417. Node275_3.a('node.textfunc',function(g) {
  18418. g.beginPath();
  18419. var str=Node275_3.a('node.text') || '万kwh';
  18420. var color=Node275_3.a('node.color') || 'rgba(0,0,0,1)';
  18421. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_3width,Node275_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_3fontSize + 'px "Arial"', 0,g);
  18422. });
  18423. }
  18424. if (false) {
  18425. Node275_3.a('node.underlinepoints',[Node275_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width + 6, (Node275_3height - Node275_3fontSize) * 0.5*_ratio.ratioY + Node275_3fontSize + 2 ]);
  18426. Node275_3.a('node.underlinevisible',false);
  18427. Node275_3.a('node.underlineBorderWidth', 1);
  18428. }
  18429. dataModel.add(Node275_3);
  18430. zoomNodeList.push({
  18431. node: Node275_3,
  18432. borderWidth: 0,
  18433. attr: 'node.borderwidth'
  18434. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18435. var Node275_4 = new ht.Node();
  18436. var Node275_4textStart, Node275_4textWidth, Node275_4lineStart, Node275_4align = 'left', Node275_4fontSize = 10.66664*_ratio.ratioY,Node275_4width = 72*_ratio.ratioX, Node275_4height = 27*_ratio.ratioY;
  18437. (function () {
  18438. if (Node275_4align === 'left') {
  18439. Node275_4textStart = Node275_4fontSize * 0.2 > 2 ? Node275_4fontSize * 0.2 - 4 : Node275_4fontSize * 0.2 - 9;
  18440. Node275_4textWidth = Node275_4width;
  18441. Node275_4lineStart = 1;
  18442. } else if (Node275_4align === 'right') {
  18443. Node275_4textStart = 0;
  18444. Node275_4textWidth =Node275_4fontSize <= 8 ? Node275_4width + Node275_4fontSize * 0.2 + 6 : Node275_4width - Node275_4fontSize * 0.2;
  18445. Node275_4lineStart = (Node275_4width - (ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  18446. } else if (Node275_4align === 'center') {
  18447. Node275_4textStart = -3;
  18448. Node275_4textWidth = Node275_4width;
  18449. Node275_4lineStart = Node275_4width - ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width - 11;
  18450. }
  18451. })();
  18452. Node275_4.setImage(GD.getTextJSON(Node275_4width, Node275_4height, true, false, false, ' '+ Node275_4fontSize + 'px "Arial"'))
  18453. Node275_4.setPosition(453*ratio.ratioX, 369*ratio.ratioY);
  18454. Node275_4.setWidth(Node275_4width);
  18455. Node275_4.setHeight(Node275_4height);
  18456. Node275_4._nodeType = 'text';
  18457. Node275_4._disallowEvert = true;
  18458. Node275_4.setRotation(0*Math.PI/180);
  18459. Node275_4.a('node.width', Node275_4width);
  18460. Node275_4.a('node.height', Node275_4height);
  18461. Node275_4.a('node.rect', [0, 0, Node275_4width, Node275_4height]);
  18462. Node275_4.a('node.bordercolor','rgba(0,0,0,1)');
  18463. Node275_4.a('node.borderwidth', 0);
  18464. Node275_4.a('node.background','' || 'rgba(0,0,0,0)');
  18465. Node275_4.a('node.gradient','');
  18466. Node275_4.a('node.gradientcolor','');
  18467. Node275_4.a('node.text','装机容量');
  18468. Node275_4.a('node.textalign','left');
  18469. Node275_4.a('node.textvAlign','middle');
  18470. Node275_4.a('node.textrect', [Node275_4textStart, 0, Node275_4textWidth, Node275_4height]);
  18471. Node275_4.a('node.color','rgba(0,0,0,1)');
  18472. Node275_4.a('node.font',' '+ Node275_4fontSize + 'px "Arial"');
  18473. Node275_4.a('node.textvisible',true);
  18474. Node275_4.a('node.linefeed',false);
  18475. if (false) {
  18476. Node275_4.a('node.textfunc',function(g) {
  18477. g.beginPath();
  18478. var str=Node275_4.a('node.text') || '装机容量';
  18479. var color=Node275_4.a('node.color') || 'rgba(0,0,0,1)';
  18480. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_4width,Node275_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_4fontSize + 'px "Arial"', 0,g);
  18481. });
  18482. }
  18483. if (false) {
  18484. Node275_4.a('node.underlinepoints',[Node275_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width + 6, (Node275_4height - Node275_4fontSize) * 0.5*_ratio.ratioY + Node275_4fontSize + 2 ]);
  18485. Node275_4.a('node.underlinevisible',false);
  18486. Node275_4.a('node.underlineBorderWidth', 1);
  18487. }
  18488. dataModel.add(Node275_4);
  18489. zoomNodeList.push({
  18490. node: Node275_4,
  18491. borderWidth: 0,
  18492. attr: 'node.borderwidth'
  18493. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18494. var Node275_5 = new ht.Node();
  18495. var Node275_5textStart, Node275_5textWidth, Node275_5lineStart, Node275_5align = 'left', Node275_5fontSize = 10.66664*_ratio.ratioY,Node275_5width = 31*_ratio.ratioX, Node275_5height = 27*_ratio.ratioY;
  18496. (function () {
  18497. if (Node275_5align === 'left') {
  18498. Node275_5textStart = Node275_5fontSize * 0.2 > 2 ? Node275_5fontSize * 0.2 - 4 : Node275_5fontSize * 0.2 - 9;
  18499. Node275_5textWidth = Node275_5width;
  18500. Node275_5lineStart = 1;
  18501. } else if (Node275_5align === 'right') {
  18502. Node275_5textStart = 0;
  18503. Node275_5textWidth =Node275_5fontSize <= 8 ? Node275_5width + Node275_5fontSize * 0.2 + 6 : Node275_5width - Node275_5fontSize * 0.2;
  18504. Node275_5lineStart = (Node275_5width - (ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  18505. } else if (Node275_5align === 'center') {
  18506. Node275_5textStart = -3;
  18507. Node275_5textWidth = Node275_5width;
  18508. Node275_5lineStart = Node275_5width - ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width - 11;
  18509. }
  18510. })();
  18511. Node275_5.setImage(GD.getTextJSON(Node275_5width, Node275_5height, true, false, false, ' '+ Node275_5fontSize + 'px "Arial"'))
  18512. Node275_5.setPosition(496*ratio.ratioX, 369*ratio.ratioY);
  18513. Node275_5.setWidth(Node275_5width);
  18514. Node275_5.setHeight(Node275_5height);
  18515. Node275_5._nodeType = 'text';
  18516. Node275_5._disallowEvert = true;
  18517. Node275_5.setRotation(0*Math.PI/180);
  18518. Node275_5.a('node.width', Node275_5width);
  18519. Node275_5.a('node.height', Node275_5height);
  18520. Node275_5.a('node.rect', [0, 0, Node275_5width, Node275_5height]);
  18521. Node275_5.a('node.bordercolor','rgba(192,0,0,1)');
  18522. Node275_5.a('node.borderwidth', 0);
  18523. Node275_5.a('node.background','' || 'rgba(0,0,0,0)');
  18524. Node275_5.a('node.gradient','');
  18525. Node275_5.a('node.gradientcolor','');
  18526. Node275_5.a('node.text','14.85');
  18527. Node275_5.a('node.textalign','left');
  18528. Node275_5.a('node.textvAlign','middle');
  18529. Node275_5.a('node.textrect', [Node275_5textStart, 0, Node275_5textWidth, Node275_5height]);
  18530. Node275_5.a('node.color','rgba(192,0,0,1)');
  18531. Node275_5.a('node.font',' '+ Node275_5fontSize + 'px "Arial"');
  18532. Node275_5.a('node.textvisible',true);
  18533. Node275_5.a('node.linefeed',false);
  18534. if (false) {
  18535. Node275_5.a('node.textfunc',function(g) {
  18536. g.beginPath();
  18537. var str=Node275_5.a('node.text') || '14.85';
  18538. var color=Node275_5.a('node.color') || 'rgba(192,0,0,1)';
  18539. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_5width,Node275_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_5fontSize + 'px "Arial"', 0,g);
  18540. });
  18541. }
  18542. if (false) {
  18543. Node275_5.a('node.underlinepoints',[Node275_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width + 6, (Node275_5height - Node275_5fontSize) * 0.5*_ratio.ratioY + Node275_5fontSize + 2 ]);
  18544. Node275_5.a('node.underlinevisible',false);
  18545. Node275_5.a('node.underlineBorderWidth', 1);
  18546. }
  18547. dataModel.add(Node275_5);
  18548. zoomNodeList.push({
  18549. node: Node275_5,
  18550. borderWidth: 0,
  18551. attr: 'node.borderwidth'
  18552. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18553. var Node275_6 = new ht.Node();
  18554. var Node275_6textStart, Node275_6textWidth, Node275_6lineStart, Node275_6align = 'left', Node275_6fontSize = 10.66664*_ratio.ratioY,Node275_6width = 43*_ratio.ratioX, Node275_6height = 27*_ratio.ratioY;
  18555. (function () {
  18556. if (Node275_6align === 'left') {
  18557. Node275_6textStart = Node275_6fontSize * 0.2 > 2 ? Node275_6fontSize * 0.2 - 4 : Node275_6fontSize * 0.2 - 9;
  18558. Node275_6textWidth = Node275_6width;
  18559. Node275_6lineStart = 1;
  18560. } else if (Node275_6align === 'right') {
  18561. Node275_6textStart = 0;
  18562. Node275_6textWidth =Node275_6fontSize <= 8 ? Node275_6width + Node275_6fontSize * 0.2 + 6 : Node275_6width - Node275_6fontSize * 0.2;
  18563. Node275_6lineStart = (Node275_6width - (ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  18564. } else if (Node275_6align === 'center') {
  18565. Node275_6textStart = -3;
  18566. Node275_6textWidth = Node275_6width;
  18567. Node275_6lineStart = Node275_6width - ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width - 11;
  18568. }
  18569. })();
  18570. Node275_6.setImage(GD.getTextJSON(Node275_6width, Node275_6height, true, false, false, ' '+ Node275_6fontSize + 'px "Arial"'))
  18571. Node275_6.setPosition(538*ratio.ratioX, 369*ratio.ratioY);
  18572. Node275_6.setWidth(Node275_6width);
  18573. Node275_6.setHeight(Node275_6height);
  18574. Node275_6._nodeType = 'text';
  18575. Node275_6._disallowEvert = true;
  18576. Node275_6.setRotation(0*Math.PI/180);
  18577. Node275_6.a('node.width', Node275_6width);
  18578. Node275_6.a('node.height', Node275_6height);
  18579. Node275_6.a('node.rect', [0, 0, Node275_6width, Node275_6height]);
  18580. Node275_6.a('node.bordercolor','rgba(0,0,0,1)');
  18581. Node275_6.a('node.borderwidth', 0);
  18582. Node275_6.a('node.background','' || 'rgba(0,0,0,0)');
  18583. Node275_6.a('node.gradient','');
  18584. Node275_6.a('node.gradientcolor','');
  18585. Node275_6.a('node.text','万kwh');
  18586. Node275_6.a('node.textalign','left');
  18587. Node275_6.a('node.textvAlign','middle');
  18588. Node275_6.a('node.textrect', [Node275_6textStart, 0, Node275_6textWidth, Node275_6height]);
  18589. Node275_6.a('node.color','rgba(0,0,0,1)');
  18590. Node275_6.a('node.font',' '+ Node275_6fontSize + 'px "Arial"');
  18591. Node275_6.a('node.textvisible',true);
  18592. Node275_6.a('node.linefeed',false);
  18593. if (false) {
  18594. Node275_6.a('node.textfunc',function(g) {
  18595. g.beginPath();
  18596. var str=Node275_6.a('node.text') || '万kwh';
  18597. var color=Node275_6.a('node.color') || 'rgba(0,0,0,1)';
  18598. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_6width,Node275_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_6fontSize + 'px "Arial"', 0,g);
  18599. });
  18600. }
  18601. if (false) {
  18602. Node275_6.a('node.underlinepoints',[Node275_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width + 6, (Node275_6height - Node275_6fontSize) * 0.5*_ratio.ratioY + Node275_6fontSize + 2 ]);
  18603. Node275_6.a('node.underlinevisible',false);
  18604. Node275_6.a('node.underlineBorderWidth', 1);
  18605. }
  18606. dataModel.add(Node275_6);
  18607. zoomNodeList.push({
  18608. node: Node275_6,
  18609. borderWidth: 0,
  18610. attr: 'node.borderwidth'
  18611. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18612. var Node275_7 = new ht.Node();
  18613. var Node275_7textStart, Node275_7textWidth, Node275_7lineStart, Node275_7align = 'left', Node275_7fontSize = 10.66664*_ratio.ratioY,Node275_7width = 72*_ratio.ratioX, Node275_7height = 27*_ratio.ratioY;
  18614. (function () {
  18615. if (Node275_7align === 'left') {
  18616. Node275_7textStart = Node275_7fontSize * 0.2 > 2 ? Node275_7fontSize * 0.2 - 4 : Node275_7fontSize * 0.2 - 9;
  18617. Node275_7textWidth = Node275_7width;
  18618. Node275_7lineStart = 1;
  18619. } else if (Node275_7align === 'right') {
  18620. Node275_7textStart = 0;
  18621. Node275_7textWidth =Node275_7fontSize <= 8 ? Node275_7width + Node275_7fontSize * 0.2 + 6 : Node275_7width - Node275_7fontSize * 0.2;
  18622. Node275_7lineStart = (Node275_7width - (ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  18623. } else if (Node275_7align === 'center') {
  18624. Node275_7textStart = -3;
  18625. Node275_7textWidth = Node275_7width;
  18626. Node275_7lineStart = Node275_7width - ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width - 11;
  18627. }
  18628. })();
  18629. Node275_7.setImage(GD.getTextJSON(Node275_7width, Node275_7height, true, false, false, ' '+ Node275_7fontSize + 'px "Arial"'))
  18630. Node275_7.setPosition(453*ratio.ratioX, 394*ratio.ratioY);
  18631. Node275_7.setWidth(Node275_7width);
  18632. Node275_7.setHeight(Node275_7height);
  18633. Node275_7._nodeType = 'text';
  18634. Node275_7._disallowEvert = true;
  18635. Node275_7.setRotation(0*Math.PI/180);
  18636. Node275_7.a('node.width', Node275_7width);
  18637. Node275_7.a('node.height', Node275_7height);
  18638. Node275_7.a('node.rect', [0, 0, Node275_7width, Node275_7height]);
  18639. Node275_7.a('node.bordercolor','rgba(0,0,0,1)');
  18640. Node275_7.a('node.borderwidth', 0);
  18641. Node275_7.a('node.background','' || 'rgba(0,0,0,0)');
  18642. Node275_7.a('node.gradient','');
  18643. Node275_7.a('node.gradientcolor','');
  18644. Node275_7.a('node.text','平均风速');
  18645. Node275_7.a('node.textalign','left');
  18646. Node275_7.a('node.textvAlign','middle');
  18647. Node275_7.a('node.textrect', [Node275_7textStart, 0, Node275_7textWidth, Node275_7height]);
  18648. Node275_7.a('node.color','rgba(0,0,0,1)');
  18649. Node275_7.a('node.font',' '+ Node275_7fontSize + 'px "Arial"');
  18650. Node275_7.a('node.textvisible',true);
  18651. Node275_7.a('node.linefeed',false);
  18652. if (false) {
  18653. Node275_7.a('node.textfunc',function(g) {
  18654. g.beginPath();
  18655. var str=Node275_7.a('node.text') || '平均风速';
  18656. var color=Node275_7.a('node.color') || 'rgba(0,0,0,1)';
  18657. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_7width,Node275_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_7fontSize + 'px "Arial"', 0,g);
  18658. });
  18659. }
  18660. if (false) {
  18661. Node275_7.a('node.underlinepoints',[Node275_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width + 6, (Node275_7height - Node275_7fontSize) * 0.5*_ratio.ratioY + Node275_7fontSize + 2 ]);
  18662. Node275_7.a('node.underlinevisible',false);
  18663. Node275_7.a('node.underlineBorderWidth', 1);
  18664. }
  18665. dataModel.add(Node275_7);
  18666. zoomNodeList.push({
  18667. node: Node275_7,
  18668. borderWidth: 0,
  18669. attr: 'node.borderwidth'
  18670. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18671. var Node275_8 = new ht.Node();
  18672. var Node275_8textStart, Node275_8textWidth, Node275_8lineStart, Node275_8align = 'left', Node275_8fontSize = 10.66664*_ratio.ratioY,Node275_8width = 22*_ratio.ratioX, Node275_8height = 27*_ratio.ratioY;
  18673. (function () {
  18674. if (Node275_8align === 'left') {
  18675. Node275_8textStart = Node275_8fontSize * 0.2 > 2 ? Node275_8fontSize * 0.2 - 4 : Node275_8fontSize * 0.2 - 9;
  18676. Node275_8textWidth = Node275_8width;
  18677. Node275_8lineStart = 1;
  18678. } else if (Node275_8align === 'right') {
  18679. Node275_8textStart = 0;
  18680. Node275_8textWidth =Node275_8fontSize <= 8 ? Node275_8width + Node275_8fontSize * 0.2 + 6 : Node275_8width - Node275_8fontSize * 0.2;
  18681. Node275_8lineStart = (Node275_8width - (ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  18682. } else if (Node275_8align === 'center') {
  18683. Node275_8textStart = -3;
  18684. Node275_8textWidth = Node275_8width;
  18685. Node275_8lineStart = Node275_8width - ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width - 11;
  18686. }
  18687. })();
  18688. Node275_8.setImage(GD.getTextJSON(Node275_8width, Node275_8height, true, false, false, ' '+ Node275_8fontSize + 'px "Arial"'))
  18689. Node275_8.setPosition(491*ratio.ratioX, 394*ratio.ratioY);
  18690. Node275_8.setWidth(Node275_8width);
  18691. Node275_8.setHeight(Node275_8height);
  18692. Node275_8._nodeType = 'text';
  18693. Node275_8._disallowEvert = true;
  18694. Node275_8.setRotation(0*Math.PI/180);
  18695. Node275_8.a('node.width', Node275_8width);
  18696. Node275_8.a('node.height', Node275_8height);
  18697. Node275_8.a('node.rect', [0, 0, Node275_8width, Node275_8height]);
  18698. Node275_8.a('node.bordercolor','rgba(192,0,0,1)');
  18699. Node275_8.a('node.borderwidth', 0);
  18700. Node275_8.a('node.background','' || 'rgba(0,0,0,0)');
  18701. Node275_8.a('node.gradient','');
  18702. Node275_8.a('node.gradientcolor','');
  18703. Node275_8.a('node.text','-');
  18704. Node275_8.a('node.textalign','left');
  18705. Node275_8.a('node.textvAlign','middle');
  18706. Node275_8.a('node.textrect', [Node275_8textStart, 0, Node275_8textWidth, Node275_8height]);
  18707. Node275_8.a('node.color','rgba(192,0,0,1)');
  18708. Node275_8.a('node.font',' '+ Node275_8fontSize + 'px "Arial"');
  18709. Node275_8.a('node.textvisible',true);
  18710. Node275_8.a('node.linefeed',false);
  18711. if (false) {
  18712. Node275_8.a('node.textfunc',function(g) {
  18713. g.beginPath();
  18714. var str=Node275_8.a('node.text') || '-';
  18715. var color=Node275_8.a('node.color') || 'rgba(192,0,0,1)';
  18716. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_8width,Node275_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_8fontSize + 'px "Arial"', 0,g);
  18717. });
  18718. }
  18719. if (false) {
  18720. Node275_8.a('node.underlinepoints',[Node275_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width + 6, (Node275_8height - Node275_8fontSize) * 0.5*_ratio.ratioY + Node275_8fontSize + 2 ]);
  18721. Node275_8.a('node.underlinevisible',false);
  18722. Node275_8.a('node.underlineBorderWidth', 1);
  18723. }
  18724. dataModel.add(Node275_8);
  18725. zoomNodeList.push({
  18726. node: Node275_8,
  18727. borderWidth: 0,
  18728. attr: 'node.borderwidth'
  18729. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18730. var Node275_9 = new ht.Node();
  18731. var Node275_9textStart, Node275_9textWidth, Node275_9lineStart, Node275_9align = 'left', Node275_9fontSize = 10.66664*_ratio.ratioY,Node275_9width = 43*_ratio.ratioX, Node275_9height = 27*_ratio.ratioY;
  18732. (function () {
  18733. if (Node275_9align === 'left') {
  18734. Node275_9textStart = Node275_9fontSize * 0.2 > 2 ? Node275_9fontSize * 0.2 - 4 : Node275_9fontSize * 0.2 - 9;
  18735. Node275_9textWidth = Node275_9width;
  18736. Node275_9lineStart = 1;
  18737. } else if (Node275_9align === 'right') {
  18738. Node275_9textStart = 0;
  18739. Node275_9textWidth =Node275_9fontSize <= 8 ? Node275_9width + Node275_9fontSize * 0.2 + 6 : Node275_9width - Node275_9fontSize * 0.2;
  18740. Node275_9lineStart = (Node275_9width - (ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  18741. } else if (Node275_9align === 'center') {
  18742. Node275_9textStart = -3;
  18743. Node275_9textWidth = Node275_9width;
  18744. Node275_9lineStart = Node275_9width - ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width - 11;
  18745. }
  18746. })();
  18747. Node275_9.setImage(GD.getTextJSON(Node275_9width, Node275_9height, true, false, false, ' '+ Node275_9fontSize + 'px "Arial"'))
  18748. Node275_9.setPosition(538*ratio.ratioX, 394*ratio.ratioY);
  18749. Node275_9.setWidth(Node275_9width);
  18750. Node275_9.setHeight(Node275_9height);
  18751. Node275_9._nodeType = 'text';
  18752. Node275_9._disallowEvert = true;
  18753. Node275_9.setRotation(0*Math.PI/180);
  18754. Node275_9.a('node.width', Node275_9width);
  18755. Node275_9.a('node.height', Node275_9height);
  18756. Node275_9.a('node.rect', [0, 0, Node275_9width, Node275_9height]);
  18757. Node275_9.a('node.bordercolor','rgba(0,0,0,1)');
  18758. Node275_9.a('node.borderwidth', 0);
  18759. Node275_9.a('node.background','' || 'rgba(0,0,0,0)');
  18760. Node275_9.a('node.gradient','');
  18761. Node275_9.a('node.gradientcolor','');
  18762. Node275_9.a('node.text','万kwh');
  18763. Node275_9.a('node.textalign','left');
  18764. Node275_9.a('node.textvAlign','middle');
  18765. Node275_9.a('node.textrect', [Node275_9textStart, 0, Node275_9textWidth, Node275_9height]);
  18766. Node275_9.a('node.color','rgba(0,0,0,1)');
  18767. Node275_9.a('node.font',' '+ Node275_9fontSize + 'px "Arial"');
  18768. Node275_9.a('node.textvisible',true);
  18769. Node275_9.a('node.linefeed',false);
  18770. if (false) {
  18771. Node275_9.a('node.textfunc',function(g) {
  18772. g.beginPath();
  18773. var str=Node275_9.a('node.text') || '万kwh';
  18774. var color=Node275_9.a('node.color') || 'rgba(0,0,0,1)';
  18775. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_9width,Node275_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_9fontSize + 'px "Arial"', 0,g);
  18776. });
  18777. }
  18778. if (false) {
  18779. Node275_9.a('node.underlinepoints',[Node275_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width + 6, (Node275_9height - Node275_9fontSize) * 0.5*_ratio.ratioY + Node275_9fontSize + 2 ]);
  18780. Node275_9.a('node.underlinevisible',false);
  18781. Node275_9.a('node.underlineBorderWidth', 1);
  18782. }
  18783. dataModel.add(Node275_9);
  18784. zoomNodeList.push({
  18785. node: Node275_9,
  18786. borderWidth: 0,
  18787. attr: 'node.borderwidth'
  18788. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18789. var Node275_10 = new ht.Node();
  18790. var Node275_10textStart, Node275_10textWidth, Node275_10lineStart, Node275_10align = 'left', Node275_10fontSize = 10.66664*_ratio.ratioY,Node275_10width = 72*_ratio.ratioX, Node275_10height = 27*_ratio.ratioY;
  18791. (function () {
  18792. if (Node275_10align === 'left') {
  18793. Node275_10textStart = Node275_10fontSize * 0.2 > 2 ? Node275_10fontSize * 0.2 - 4 : Node275_10fontSize * 0.2 - 9;
  18794. Node275_10textWidth = Node275_10width;
  18795. Node275_10lineStart = 1;
  18796. } else if (Node275_10align === 'right') {
  18797. Node275_10textStart = 0;
  18798. Node275_10textWidth =Node275_10fontSize <= 8 ? Node275_10width + Node275_10fontSize * 0.2 + 6 : Node275_10width - Node275_10fontSize * 0.2;
  18799. Node275_10lineStart = (Node275_10width - (ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  18800. } else if (Node275_10align === 'center') {
  18801. Node275_10textStart = -3;
  18802. Node275_10textWidth = Node275_10width;
  18803. Node275_10lineStart = Node275_10width - ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width - 11;
  18804. }
  18805. })();
  18806. Node275_10.setImage(GD.getTextJSON(Node275_10width, Node275_10height, true, false, false, ' '+ Node275_10fontSize + 'px "Arial"'))
  18807. Node275_10.setPosition(453*ratio.ratioX, 420*ratio.ratioY);
  18808. Node275_10.setWidth(Node275_10width);
  18809. Node275_10.setHeight(Node275_10height);
  18810. Node275_10._nodeType = 'text';
  18811. Node275_10._disallowEvert = true;
  18812. Node275_10.setRotation(0*Math.PI/180);
  18813. Node275_10.a('node.width', Node275_10width);
  18814. Node275_10.a('node.height', Node275_10height);
  18815. Node275_10.a('node.rect', [0, 0, Node275_10width, Node275_10height]);
  18816. Node275_10.a('node.bordercolor','rgba(0,0,0,1)');
  18817. Node275_10.a('node.borderwidth', 0);
  18818. Node275_10.a('node.background','' || 'rgba(0,0,0,0)');
  18819. Node275_10.a('node.gradient','');
  18820. Node275_10.a('node.gradientcolor','');
  18821. Node275_10.a('node.text','日发电量');
  18822. Node275_10.a('node.textalign','left');
  18823. Node275_10.a('node.textvAlign','middle');
  18824. Node275_10.a('node.textrect', [Node275_10textStart, 0, Node275_10textWidth, Node275_10height]);
  18825. Node275_10.a('node.color','rgba(0,0,0,1)');
  18826. Node275_10.a('node.font',' '+ Node275_10fontSize + 'px "Arial"');
  18827. Node275_10.a('node.textvisible',true);
  18828. Node275_10.a('node.linefeed',false);
  18829. if (false) {
  18830. Node275_10.a('node.textfunc',function(g) {
  18831. g.beginPath();
  18832. var str=Node275_10.a('node.text') || '日发电量';
  18833. var color=Node275_10.a('node.color') || 'rgba(0,0,0,1)';
  18834. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_10width,Node275_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_10fontSize + 'px "Arial"', 0,g);
  18835. });
  18836. }
  18837. if (false) {
  18838. Node275_10.a('node.underlinepoints',[Node275_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width + 6, (Node275_10height - Node275_10fontSize) * 0.5*_ratio.ratioY + Node275_10fontSize + 2 ]);
  18839. Node275_10.a('node.underlinevisible',false);
  18840. Node275_10.a('node.underlineBorderWidth', 1);
  18841. }
  18842. dataModel.add(Node275_10);
  18843. zoomNodeList.push({
  18844. node: Node275_10,
  18845. borderWidth: 0,
  18846. attr: 'node.borderwidth'
  18847. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18848. var Node275_11 = new ht.Node();
  18849. var Node275_11textStart, Node275_11textWidth, Node275_11lineStart, Node275_11align = 'left', Node275_11fontSize = 10.66664*_ratio.ratioY,Node275_11width = 31*_ratio.ratioX, Node275_11height = 27*_ratio.ratioY;
  18850. (function () {
  18851. if (Node275_11align === 'left') {
  18852. Node275_11textStart = Node275_11fontSize * 0.2 > 2 ? Node275_11fontSize * 0.2 - 4 : Node275_11fontSize * 0.2 - 9;
  18853. Node275_11textWidth = Node275_11width;
  18854. Node275_11lineStart = 1;
  18855. } else if (Node275_11align === 'right') {
  18856. Node275_11textStart = 0;
  18857. Node275_11textWidth =Node275_11fontSize <= 8 ? Node275_11width + Node275_11fontSize * 0.2 + 6 : Node275_11width - Node275_11fontSize * 0.2;
  18858. Node275_11lineStart = (Node275_11width - (ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  18859. } else if (Node275_11align === 'center') {
  18860. Node275_11textStart = -3;
  18861. Node275_11textWidth = Node275_11width;
  18862. Node275_11lineStart = Node275_11width - ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width - 11;
  18863. }
  18864. })();
  18865. Node275_11.setImage(GD.getTextJSON(Node275_11width, Node275_11height, true, false, false, ' '+ Node275_11fontSize + 'px "Arial"'))
  18866. Node275_11.setPosition(496*ratio.ratioX, 420*ratio.ratioY);
  18867. Node275_11.setWidth(Node275_11width);
  18868. Node275_11.setHeight(Node275_11height);
  18869. Node275_11._nodeType = 'text';
  18870. Node275_11._disallowEvert = true;
  18871. Node275_11.setRotation(0*Math.PI/180);
  18872. Node275_11.a('node.width', Node275_11width);
  18873. Node275_11.a('node.height', Node275_11height);
  18874. Node275_11.a('node.rect', [0, 0, Node275_11width, Node275_11height]);
  18875. Node275_11.a('node.bordercolor','rgba(192,0,0,1)');
  18876. Node275_11.a('node.borderwidth', 0);
  18877. Node275_11.a('node.background','' || 'rgba(0,0,0,0)');
  18878. Node275_11.a('node.gradient','');
  18879. Node275_11.a('node.gradientcolor','');
  18880. Node275_11.a('node.text','-');
  18881. Node275_11.a('node.textalign','left');
  18882. Node275_11.a('node.textvAlign','middle');
  18883. Node275_11.a('node.textrect', [Node275_11textStart, 0, Node275_11textWidth, Node275_11height]);
  18884. Node275_11.a('node.color','rgba(192,0,0,1)');
  18885. Node275_11.a('node.font',' '+ Node275_11fontSize + 'px "Arial"');
  18886. Node275_11.a('node.textvisible',true);
  18887. Node275_11.a('node.linefeed',false);
  18888. if (false) {
  18889. Node275_11.a('node.textfunc',function(g) {
  18890. g.beginPath();
  18891. var str=Node275_11.a('node.text') || '-';
  18892. var color=Node275_11.a('node.color') || 'rgba(192,0,0,1)';
  18893. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_11width,Node275_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_11fontSize + 'px "Arial"', 0,g);
  18894. });
  18895. }
  18896. if (false) {
  18897. Node275_11.a('node.underlinepoints',[Node275_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width + 6, (Node275_11height - Node275_11fontSize) * 0.5*_ratio.ratioY + Node275_11fontSize + 2 ]);
  18898. Node275_11.a('node.underlinevisible',false);
  18899. Node275_11.a('node.underlineBorderWidth', 1);
  18900. }
  18901. dataModel.add(Node275_11);
  18902. zoomNodeList.push({
  18903. node: Node275_11,
  18904. borderWidth: 0,
  18905. attr: 'node.borderwidth'
  18906. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18907. var Node275_12 = new ht.Node();
  18908. var Node275_12textStart, Node275_12textWidth, Node275_12lineStart, Node275_12align = 'left', Node275_12fontSize = 10.66664*_ratio.ratioY,Node275_12width = 43*_ratio.ratioX, Node275_12height = 27*_ratio.ratioY;
  18909. (function () {
  18910. if (Node275_12align === 'left') {
  18911. Node275_12textStart = Node275_12fontSize * 0.2 > 2 ? Node275_12fontSize * 0.2 - 4 : Node275_12fontSize * 0.2 - 9;
  18912. Node275_12textWidth = Node275_12width;
  18913. Node275_12lineStart = 1;
  18914. } else if (Node275_12align === 'right') {
  18915. Node275_12textStart = 0;
  18916. Node275_12textWidth =Node275_12fontSize <= 8 ? Node275_12width + Node275_12fontSize * 0.2 + 6 : Node275_12width - Node275_12fontSize * 0.2;
  18917. Node275_12lineStart = (Node275_12width - (ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  18918. } else if (Node275_12align === 'center') {
  18919. Node275_12textStart = -3;
  18920. Node275_12textWidth = Node275_12width;
  18921. Node275_12lineStart = Node275_12width - ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width - 11;
  18922. }
  18923. })();
  18924. Node275_12.setImage(GD.getTextJSON(Node275_12width, Node275_12height, true, false, false, ' '+ Node275_12fontSize + 'px "Arial"'))
  18925. Node275_12.setPosition(538*ratio.ratioX, 420*ratio.ratioY);
  18926. Node275_12.setWidth(Node275_12width);
  18927. Node275_12.setHeight(Node275_12height);
  18928. Node275_12._nodeType = 'text';
  18929. Node275_12._disallowEvert = true;
  18930. Node275_12.setRotation(0*Math.PI/180);
  18931. Node275_12.a('node.width', Node275_12width);
  18932. Node275_12.a('node.height', Node275_12height);
  18933. Node275_12.a('node.rect', [0, 0, Node275_12width, Node275_12height]);
  18934. Node275_12.a('node.bordercolor','rgba(0,0,0,1)');
  18935. Node275_12.a('node.borderwidth', 0);
  18936. Node275_12.a('node.background','' || 'rgba(0,0,0,0)');
  18937. Node275_12.a('node.gradient','');
  18938. Node275_12.a('node.gradientcolor','');
  18939. Node275_12.a('node.text','万kwh');
  18940. Node275_12.a('node.textalign','left');
  18941. Node275_12.a('node.textvAlign','middle');
  18942. Node275_12.a('node.textrect', [Node275_12textStart, 0, Node275_12textWidth, Node275_12height]);
  18943. Node275_12.a('node.color','rgba(0,0,0,1)');
  18944. Node275_12.a('node.font',' '+ Node275_12fontSize + 'px "Arial"');
  18945. Node275_12.a('node.textvisible',true);
  18946. Node275_12.a('node.linefeed',false);
  18947. if (false) {
  18948. Node275_12.a('node.textfunc',function(g) {
  18949. g.beginPath();
  18950. var str=Node275_12.a('node.text') || '万kwh';
  18951. var color=Node275_12.a('node.color') || 'rgba(0,0,0,1)';
  18952. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_12width,Node275_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_12fontSize + 'px "Arial"', 0,g);
  18953. });
  18954. }
  18955. if (false) {
  18956. Node275_12.a('node.underlinepoints',[Node275_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width + 6, (Node275_12height - Node275_12fontSize) * 0.5*_ratio.ratioY + Node275_12fontSize + 2 ]);
  18957. Node275_12.a('node.underlinevisible',false);
  18958. Node275_12.a('node.underlineBorderWidth', 1);
  18959. }
  18960. dataModel.add(Node275_12);
  18961. zoomNodeList.push({
  18962. node: Node275_12,
  18963. borderWidth: 0,
  18964. attr: 'node.borderwidth'
  18965. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  18966. var Node275_13 = new ht.Node();
  18967. var Node275_13textStart, Node275_13textWidth, Node275_13lineStart, Node275_13align = 'left', Node275_13fontSize = 10.66664*_ratio.ratioY,Node275_13width = 72*_ratio.ratioX, Node275_13height = 27*_ratio.ratioY;
  18968. (function () {
  18969. if (Node275_13align === 'left') {
  18970. Node275_13textStart = Node275_13fontSize * 0.2 > 2 ? Node275_13fontSize * 0.2 - 4 : Node275_13fontSize * 0.2 - 9;
  18971. Node275_13textWidth = Node275_13width;
  18972. Node275_13lineStart = 1;
  18973. } else if (Node275_13align === 'right') {
  18974. Node275_13textStart = 0;
  18975. Node275_13textWidth =Node275_13fontSize <= 8 ? Node275_13width + Node275_13fontSize * 0.2 + 6 : Node275_13width - Node275_13fontSize * 0.2;
  18976. Node275_13lineStart = (Node275_13width - (ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  18977. } else if (Node275_13align === 'center') {
  18978. Node275_13textStart = -3;
  18979. Node275_13textWidth = Node275_13width;
  18980. Node275_13lineStart = Node275_13width - ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width - 11;
  18981. }
  18982. })();
  18983. Node275_13.setImage(GD.getTextJSON(Node275_13width, Node275_13height, true, false, false, ' '+ Node275_13fontSize + 'px "Arial"'))
  18984. Node275_13.setPosition(453*ratio.ratioX, 447*ratio.ratioY);
  18985. Node275_13.setWidth(Node275_13width);
  18986. Node275_13.setHeight(Node275_13height);
  18987. Node275_13._nodeType = 'text';
  18988. Node275_13._disallowEvert = true;
  18989. Node275_13.setRotation(0*Math.PI/180);
  18990. Node275_13.a('node.width', Node275_13width);
  18991. Node275_13.a('node.height', Node275_13height);
  18992. Node275_13.a('node.rect', [0, 0, Node275_13width, Node275_13height]);
  18993. Node275_13.a('node.bordercolor','rgba(0,0,0,1)');
  18994. Node275_13.a('node.borderwidth', 0);
  18995. Node275_13.a('node.background','' || 'rgba(0,0,0,0)');
  18996. Node275_13.a('node.gradient','');
  18997. Node275_13.a('node.gradientcolor','');
  18998. Node275_13.a('node.text','有功功率');
  18999. Node275_13.a('node.textalign','left');
  19000. Node275_13.a('node.textvAlign','middle');
  19001. Node275_13.a('node.textrect', [Node275_13textStart, 0, Node275_13textWidth, Node275_13height]);
  19002. Node275_13.a('node.color','rgba(0,0,0,1)');
  19003. Node275_13.a('node.font',' '+ Node275_13fontSize + 'px "Arial"');
  19004. Node275_13.a('node.textvisible',true);
  19005. Node275_13.a('node.linefeed',false);
  19006. if (false) {
  19007. Node275_13.a('node.textfunc',function(g) {
  19008. g.beginPath();
  19009. var str=Node275_13.a('node.text') || '有功功率';
  19010. var color=Node275_13.a('node.color') || 'rgba(0,0,0,1)';
  19011. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_13width,Node275_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_13fontSize + 'px "Arial"', 0,g);
  19012. });
  19013. }
  19014. if (false) {
  19015. Node275_13.a('node.underlinepoints',[Node275_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width + 6, (Node275_13height - Node275_13fontSize) * 0.5*_ratio.ratioY + Node275_13fontSize + 2 ]);
  19016. Node275_13.a('node.underlinevisible',false);
  19017. Node275_13.a('node.underlineBorderWidth', 1);
  19018. }
  19019. dataModel.add(Node275_13);
  19020. zoomNodeList.push({
  19021. node: Node275_13,
  19022. borderWidth: 0,
  19023. attr: 'node.borderwidth'
  19024. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19025. var Node275_14 = new ht.Node();
  19026. var Node275_14textStart, Node275_14textWidth, Node275_14lineStart, Node275_14align = 'left', Node275_14fontSize = 10.66664*_ratio.ratioY,Node275_14width = 22*_ratio.ratioX, Node275_14height = 27*_ratio.ratioY;
  19027. (function () {
  19028. if (Node275_14align === 'left') {
  19029. Node275_14textStart = Node275_14fontSize * 0.2 > 2 ? Node275_14fontSize * 0.2 - 4 : Node275_14fontSize * 0.2 - 9;
  19030. Node275_14textWidth = Node275_14width;
  19031. Node275_14lineStart = 1;
  19032. } else if (Node275_14align === 'right') {
  19033. Node275_14textStart = 0;
  19034. Node275_14textWidth =Node275_14fontSize <= 8 ? Node275_14width + Node275_14fontSize * 0.2 + 6 : Node275_14width - Node275_14fontSize * 0.2;
  19035. Node275_14lineStart = (Node275_14width - (ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  19036. } else if (Node275_14align === 'center') {
  19037. Node275_14textStart = -3;
  19038. Node275_14textWidth = Node275_14width;
  19039. Node275_14lineStart = Node275_14width - ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width - 11;
  19040. }
  19041. })();
  19042. Node275_14.setImage(GD.getTextJSON(Node275_14width, Node275_14height, true, false, false, ' '+ Node275_14fontSize + 'px "Arial"'))
  19043. Node275_14.setPosition(491*ratio.ratioX, 447*ratio.ratioY);
  19044. Node275_14.setWidth(Node275_14width);
  19045. Node275_14.setHeight(Node275_14height);
  19046. Node275_14._nodeType = 'text';
  19047. Node275_14._disallowEvert = true;
  19048. Node275_14.setRotation(0*Math.PI/180);
  19049. Node275_14.a('node.width', Node275_14width);
  19050. Node275_14.a('node.height', Node275_14height);
  19051. Node275_14.a('node.rect', [0, 0, Node275_14width, Node275_14height]);
  19052. Node275_14.a('node.bordercolor','rgba(192,0,0,1)');
  19053. Node275_14.a('node.borderwidth', 0);
  19054. Node275_14.a('node.background','' || 'rgba(0,0,0,0)');
  19055. Node275_14.a('node.gradient','');
  19056. Node275_14.a('node.gradientcolor','');
  19057. Node275_14.a('node.text','-');
  19058. Node275_14.a('node.textalign','left');
  19059. Node275_14.a('node.textvAlign','middle');
  19060. Node275_14.a('node.textrect', [Node275_14textStart, 0, Node275_14textWidth, Node275_14height]);
  19061. Node275_14.a('node.color','rgba(192,0,0,1)');
  19062. Node275_14.a('node.font',' '+ Node275_14fontSize + 'px "Arial"');
  19063. Node275_14.a('node.textvisible',true);
  19064. Node275_14.a('node.linefeed',false);
  19065. if (false) {
  19066. Node275_14.a('node.textfunc',function(g) {
  19067. g.beginPath();
  19068. var str=Node275_14.a('node.text') || '-';
  19069. var color=Node275_14.a('node.color') || 'rgba(192,0,0,1)';
  19070. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_14width,Node275_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_14fontSize + 'px "Arial"', 0,g);
  19071. });
  19072. }
  19073. if (false) {
  19074. Node275_14.a('node.underlinepoints',[Node275_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width + 6, (Node275_14height - Node275_14fontSize) * 0.5*_ratio.ratioY + Node275_14fontSize + 2 ]);
  19075. Node275_14.a('node.underlinevisible',false);
  19076. Node275_14.a('node.underlineBorderWidth', 1);
  19077. }
  19078. dataModel.add(Node275_14);
  19079. zoomNodeList.push({
  19080. node: Node275_14,
  19081. borderWidth: 0,
  19082. attr: 'node.borderwidth'
  19083. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19084. var Node275_15 = new ht.Node();
  19085. var Node275_15textStart, Node275_15textWidth, Node275_15lineStart, Node275_15align = 'left', Node275_15fontSize = 10.66664*_ratio.ratioY,Node275_15width = 43*_ratio.ratioX, Node275_15height = 27*_ratio.ratioY;
  19086. (function () {
  19087. if (Node275_15align === 'left') {
  19088. Node275_15textStart = Node275_15fontSize * 0.2 > 2 ? Node275_15fontSize * 0.2 - 4 : Node275_15fontSize * 0.2 - 9;
  19089. Node275_15textWidth = Node275_15width;
  19090. Node275_15lineStart = 1;
  19091. } else if (Node275_15align === 'right') {
  19092. Node275_15textStart = 0;
  19093. Node275_15textWidth =Node275_15fontSize <= 8 ? Node275_15width + Node275_15fontSize * 0.2 + 6 : Node275_15width - Node275_15fontSize * 0.2;
  19094. Node275_15lineStart = (Node275_15width - (ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  19095. } else if (Node275_15align === 'center') {
  19096. Node275_15textStart = -3;
  19097. Node275_15textWidth = Node275_15width;
  19098. Node275_15lineStart = Node275_15width - ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width - 11;
  19099. }
  19100. })();
  19101. Node275_15.setImage(GD.getTextJSON(Node275_15width, Node275_15height, true, false, false, ' '+ Node275_15fontSize + 'px "Arial"'))
  19102. Node275_15.setPosition(538*ratio.ratioX, 447*ratio.ratioY);
  19103. Node275_15.setWidth(Node275_15width);
  19104. Node275_15.setHeight(Node275_15height);
  19105. Node275_15._nodeType = 'text';
  19106. Node275_15._disallowEvert = true;
  19107. Node275_15.setRotation(0*Math.PI/180);
  19108. Node275_15.a('node.width', Node275_15width);
  19109. Node275_15.a('node.height', Node275_15height);
  19110. Node275_15.a('node.rect', [0, 0, Node275_15width, Node275_15height]);
  19111. Node275_15.a('node.bordercolor','rgba(0,0,0,1)');
  19112. Node275_15.a('node.borderwidth', 0);
  19113. Node275_15.a('node.background','' || 'rgba(0,0,0,0)');
  19114. Node275_15.a('node.gradient','');
  19115. Node275_15.a('node.gradientcolor','');
  19116. Node275_15.a('node.text','万kwh');
  19117. Node275_15.a('node.textalign','left');
  19118. Node275_15.a('node.textvAlign','middle');
  19119. Node275_15.a('node.textrect', [Node275_15textStart, 0, Node275_15textWidth, Node275_15height]);
  19120. Node275_15.a('node.color','rgba(0,0,0,1)');
  19121. Node275_15.a('node.font',' '+ Node275_15fontSize + 'px "Arial"');
  19122. Node275_15.a('node.textvisible',true);
  19123. Node275_15.a('node.linefeed',false);
  19124. if (false) {
  19125. Node275_15.a('node.textfunc',function(g) {
  19126. g.beginPath();
  19127. var str=Node275_15.a('node.text') || '万kwh';
  19128. var color=Node275_15.a('node.color') || 'rgba(0,0,0,1)';
  19129. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_15width,Node275_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_15fontSize + 'px "Arial"', 0,g);
  19130. });
  19131. }
  19132. if (false) {
  19133. Node275_15.a('node.underlinepoints',[Node275_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width + 6, (Node275_15height - Node275_15fontSize) * 0.5*_ratio.ratioY + Node275_15fontSize + 2 ]);
  19134. Node275_15.a('node.underlinevisible',false);
  19135. Node275_15.a('node.underlineBorderWidth', 1);
  19136. }
  19137. dataModel.add(Node275_15);
  19138. zoomNodeList.push({
  19139. node: Node275_15,
  19140. borderWidth: 0,
  19141. attr: 'node.borderwidth'
  19142. }); var Node276_0;
  19143. (function () {
  19144. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19145. var ratioX, ratioY;
  19146. if ('Default' === 'False') {
  19147. ratioX = 1;
  19148. ratioY = 1;
  19149. } else if ('Default' === 'X') {
  19150. ratioX = ratioY = _ratio.ratioX;
  19151. } else if ('Default' === 'Y') {
  19152. ratioX = ratioY = _ratio.ratioY;
  19153. } else {
  19154. ratioX = _ratio.ratioX;
  19155. ratioY = _ratio.ratioY;
  19156. }
  19157. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  19158. Node276_0 = new ht.Node();
  19159. Node276_0.setPosition(513*ratio.ratioX, 550*ratio.ratioY);
  19160. Node276_0.setSize(146*ratioX, 141*ratioY);
  19161. Node276_0.setImage('imgimage//img//map_name_03.png');
  19162. Node276_0.setRotation(0*Math.PI/180);
  19163. Node276_0._zoomBy = 'Default';
  19164. Node276_0._nodeType = 'image';
  19165. Node276_0._disallowEvert = true;
  19166. dataModel.add(Node276_0);
  19167. })();
  19168. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19169. var Node276_1 = new ht.Node();
  19170. var Node276_1textStart, Node276_1textWidth, Node276_1lineStart, Node276_1align = 'left', Node276_1fontSize = 10.66664*_ratio.ratioY,Node276_1width = 72*_ratio.ratioX, Node276_1height = 27*_ratio.ratioY;
  19171. (function () {
  19172. if (Node276_1align === 'left') {
  19173. Node276_1textStart = Node276_1fontSize * 0.2 > 2 ? Node276_1fontSize * 0.2 - 4 : Node276_1fontSize * 0.2 - 9;
  19174. Node276_1textWidth = Node276_1width;
  19175. Node276_1lineStart = 1;
  19176. } else if (Node276_1align === 'right') {
  19177. Node276_1textStart = 0;
  19178. Node276_1textWidth =Node276_1fontSize <= 8 ? Node276_1width + Node276_1fontSize * 0.2 + 6 : Node276_1width - Node276_1fontSize * 0.2;
  19179. Node276_1lineStart = (Node276_1width - (ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  19180. } else if (Node276_1align === 'center') {
  19181. Node276_1textStart = -3;
  19182. Node276_1textWidth = Node276_1width;
  19183. Node276_1lineStart = Node276_1width - ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width - 11;
  19184. }
  19185. })();
  19186. Node276_1.setImage(GD.getTextJSON(Node276_1width, Node276_1height, true, false, false, ' '+ Node276_1fontSize + 'px "Arial"'))
  19187. Node276_1.setPosition(483*ratio.ratioX, 503*ratio.ratioY);
  19188. Node276_1.setWidth(Node276_1width);
  19189. Node276_1.setHeight(Node276_1height);
  19190. Node276_1._nodeType = 'text';
  19191. Node276_1._disallowEvert = true;
  19192. Node276_1.setRotation(0*Math.PI/180);
  19193. Node276_1.a('node.width', Node276_1width);
  19194. Node276_1.a('node.height', Node276_1height);
  19195. Node276_1.a('node.rect', [0, 0, Node276_1width, Node276_1height]);
  19196. Node276_1.a('node.bordercolor','rgba(0,0,0,1)');
  19197. Node276_1.a('node.borderwidth', 0);
  19198. Node276_1.a('node.background','' || 'rgba(0,0,0,0)');
  19199. Node276_1.a('node.gradient','');
  19200. Node276_1.a('node.gradientcolor','');
  19201. Node276_1.a('node.text','风机台数');
  19202. Node276_1.a('node.textalign','left');
  19203. Node276_1.a('node.textvAlign','middle');
  19204. Node276_1.a('node.textrect', [Node276_1textStart, 0, Node276_1textWidth, Node276_1height]);
  19205. Node276_1.a('node.color','rgba(0,0,0,1)');
  19206. Node276_1.a('node.font',' '+ Node276_1fontSize + 'px "Arial"');
  19207. Node276_1.a('node.textvisible',true);
  19208. Node276_1.a('node.linefeed',false);
  19209. if (false) {
  19210. Node276_1.a('node.textfunc',function(g) {
  19211. g.beginPath();
  19212. var str=Node276_1.a('node.text') || '风机台数';
  19213. var color=Node276_1.a('node.color') || 'rgba(0,0,0,1)';
  19214. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_1width,Node276_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_1fontSize + 'px "Arial"', 0,g);
  19215. });
  19216. }
  19217. if (false) {
  19218. Node276_1.a('node.underlinepoints',[Node276_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width + 6, (Node276_1height - Node276_1fontSize) * 0.5*_ratio.ratioY + Node276_1fontSize + 2 ]);
  19219. Node276_1.a('node.underlinevisible',false);
  19220. Node276_1.a('node.underlineBorderWidth', 1);
  19221. }
  19222. dataModel.add(Node276_1);
  19223. zoomNodeList.push({
  19224. node: Node276_1,
  19225. borderWidth: 0,
  19226. attr: 'node.borderwidth'
  19227. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19228. var Node276_2 = new ht.Node();
  19229. var Node276_2textStart, Node276_2textWidth, Node276_2lineStart, Node276_2align = 'left', Node276_2fontSize = 10.66664*_ratio.ratioY,Node276_2width = 22*_ratio.ratioX, Node276_2height = 27*_ratio.ratioY;
  19230. (function () {
  19231. if (Node276_2align === 'left') {
  19232. Node276_2textStart = Node276_2fontSize * 0.2 > 2 ? Node276_2fontSize * 0.2 - 4 : Node276_2fontSize * 0.2 - 9;
  19233. Node276_2textWidth = Node276_2width;
  19234. Node276_2lineStart = 1;
  19235. } else if (Node276_2align === 'right') {
  19236. Node276_2textStart = 0;
  19237. Node276_2textWidth =Node276_2fontSize <= 8 ? Node276_2width + Node276_2fontSize * 0.2 + 6 : Node276_2width - Node276_2fontSize * 0.2;
  19238. Node276_2lineStart = (Node276_2width - (ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  19239. } else if (Node276_2align === 'center') {
  19240. Node276_2textStart = -3;
  19241. Node276_2textWidth = Node276_2width;
  19242. Node276_2lineStart = Node276_2width - ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width - 11;
  19243. }
  19244. })();
  19245. Node276_2.setImage(GD.getTextJSON(Node276_2width, Node276_2height, true, false, false, ' '+ Node276_2fontSize + 'px "Arial"'))
  19246. Node276_2.setPosition(521*ratio.ratioX, 503*ratio.ratioY);
  19247. Node276_2.setWidth(Node276_2width);
  19248. Node276_2.setHeight(Node276_2height);
  19249. Node276_2._nodeType = 'text';
  19250. Node276_2._disallowEvert = true;
  19251. Node276_2.setRotation(0*Math.PI/180);
  19252. Node276_2.a('node.width', Node276_2width);
  19253. Node276_2.a('node.height', Node276_2height);
  19254. Node276_2.a('node.rect', [0, 0, Node276_2width, Node276_2height]);
  19255. Node276_2.a('node.bordercolor','rgba(192,0,0,1)');
  19256. Node276_2.a('node.borderwidth', 0);
  19257. Node276_2.a('node.background','' || 'rgba(0,0,0,0)');
  19258. Node276_2.a('node.gradient','');
  19259. Node276_2.a('node.gradientcolor','');
  19260. Node276_2.a('node.text','99');
  19261. Node276_2.a('node.textalign','left');
  19262. Node276_2.a('node.textvAlign','middle');
  19263. Node276_2.a('node.textrect', [Node276_2textStart, 0, Node276_2textWidth, Node276_2height]);
  19264. Node276_2.a('node.color','rgba(192,0,0,1)');
  19265. Node276_2.a('node.font',' '+ Node276_2fontSize + 'px "Arial"');
  19266. Node276_2.a('node.textvisible',true);
  19267. Node276_2.a('node.linefeed',false);
  19268. if (false) {
  19269. Node276_2.a('node.textfunc',function(g) {
  19270. g.beginPath();
  19271. var str=Node276_2.a('node.text') || '99';
  19272. var color=Node276_2.a('node.color') || 'rgba(192,0,0,1)';
  19273. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_2width,Node276_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_2fontSize + 'px "Arial"', 0,g);
  19274. });
  19275. }
  19276. if (false) {
  19277. Node276_2.a('node.underlinepoints',[Node276_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width + 6, (Node276_2height - Node276_2fontSize) * 0.5*_ratio.ratioY + Node276_2fontSize + 2 ]);
  19278. Node276_2.a('node.underlinevisible',false);
  19279. Node276_2.a('node.underlineBorderWidth', 1);
  19280. }
  19281. dataModel.add(Node276_2);
  19282. zoomNodeList.push({
  19283. node: Node276_2,
  19284. borderWidth: 0,
  19285. attr: 'node.borderwidth'
  19286. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19287. var Node276_3 = new ht.Node();
  19288. var Node276_3textStart, Node276_3textWidth, Node276_3lineStart, Node276_3align = 'left', Node276_3fontSize = 10.66664*_ratio.ratioY,Node276_3width = 43*_ratio.ratioX, Node276_3height = 27*_ratio.ratioY;
  19289. (function () {
  19290. if (Node276_3align === 'left') {
  19291. Node276_3textStart = Node276_3fontSize * 0.2 > 2 ? Node276_3fontSize * 0.2 - 4 : Node276_3fontSize * 0.2 - 9;
  19292. Node276_3textWidth = Node276_3width;
  19293. Node276_3lineStart = 1;
  19294. } else if (Node276_3align === 'right') {
  19295. Node276_3textStart = 0;
  19296. Node276_3textWidth =Node276_3fontSize <= 8 ? Node276_3width + Node276_3fontSize * 0.2 + 6 : Node276_3width - Node276_3fontSize * 0.2;
  19297. Node276_3lineStart = (Node276_3width - (ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  19298. } else if (Node276_3align === 'center') {
  19299. Node276_3textStart = -3;
  19300. Node276_3textWidth = Node276_3width;
  19301. Node276_3lineStart = Node276_3width - ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width - 11;
  19302. }
  19303. })();
  19304. Node276_3.setImage(GD.getTextJSON(Node276_3width, Node276_3height, true, false, false, ' '+ Node276_3fontSize + 'px "Arial"'))
  19305. Node276_3.setPosition(568*ratio.ratioX, 503*ratio.ratioY);
  19306. Node276_3.setWidth(Node276_3width);
  19307. Node276_3.setHeight(Node276_3height);
  19308. Node276_3._nodeType = 'text';
  19309. Node276_3._disallowEvert = true;
  19310. Node276_3.setRotation(0*Math.PI/180);
  19311. Node276_3.a('node.width', Node276_3width);
  19312. Node276_3.a('node.height', Node276_3height);
  19313. Node276_3.a('node.rect', [0, 0, Node276_3width, Node276_3height]);
  19314. Node276_3.a('node.bordercolor','rgba(0,0,0,1)');
  19315. Node276_3.a('node.borderwidth', 0);
  19316. Node276_3.a('node.background','' || 'rgba(0,0,0,0)');
  19317. Node276_3.a('node.gradient','');
  19318. Node276_3.a('node.gradientcolor','');
  19319. Node276_3.a('node.text','万kwh');
  19320. Node276_3.a('node.textalign','left');
  19321. Node276_3.a('node.textvAlign','middle');
  19322. Node276_3.a('node.textrect', [Node276_3textStart, 0, Node276_3textWidth, Node276_3height]);
  19323. Node276_3.a('node.color','rgba(0,0,0,1)');
  19324. Node276_3.a('node.font',' '+ Node276_3fontSize + 'px "Arial"');
  19325. Node276_3.a('node.textvisible',true);
  19326. Node276_3.a('node.linefeed',false);
  19327. if (false) {
  19328. Node276_3.a('node.textfunc',function(g) {
  19329. g.beginPath();
  19330. var str=Node276_3.a('node.text') || '万kwh';
  19331. var color=Node276_3.a('node.color') || 'rgba(0,0,0,1)';
  19332. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_3width,Node276_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_3fontSize + 'px "Arial"', 0,g);
  19333. });
  19334. }
  19335. if (false) {
  19336. Node276_3.a('node.underlinepoints',[Node276_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width + 6, (Node276_3height - Node276_3fontSize) * 0.5*_ratio.ratioY + Node276_3fontSize + 2 ]);
  19337. Node276_3.a('node.underlinevisible',false);
  19338. Node276_3.a('node.underlineBorderWidth', 1);
  19339. }
  19340. dataModel.add(Node276_3);
  19341. zoomNodeList.push({
  19342. node: Node276_3,
  19343. borderWidth: 0,
  19344. attr: 'node.borderwidth'
  19345. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19346. var Node276_4 = new ht.Node();
  19347. var Node276_4textStart, Node276_4textWidth, Node276_4lineStart, Node276_4align = 'left', Node276_4fontSize = 10.66664*_ratio.ratioY,Node276_4width = 72*_ratio.ratioX, Node276_4height = 27*_ratio.ratioY;
  19348. (function () {
  19349. if (Node276_4align === 'left') {
  19350. Node276_4textStart = Node276_4fontSize * 0.2 > 2 ? Node276_4fontSize * 0.2 - 4 : Node276_4fontSize * 0.2 - 9;
  19351. Node276_4textWidth = Node276_4width;
  19352. Node276_4lineStart = 1;
  19353. } else if (Node276_4align === 'right') {
  19354. Node276_4textStart = 0;
  19355. Node276_4textWidth =Node276_4fontSize <= 8 ? Node276_4width + Node276_4fontSize * 0.2 + 6 : Node276_4width - Node276_4fontSize * 0.2;
  19356. Node276_4lineStart = (Node276_4width - (ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  19357. } else if (Node276_4align === 'center') {
  19358. Node276_4textStart = -3;
  19359. Node276_4textWidth = Node276_4width;
  19360. Node276_4lineStart = Node276_4width - ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width - 11;
  19361. }
  19362. })();
  19363. Node276_4.setImage(GD.getTextJSON(Node276_4width, Node276_4height, true, false, false, ' '+ Node276_4fontSize + 'px "Arial"'))
  19364. Node276_4.setPosition(483*ratio.ratioX, 529*ratio.ratioY);
  19365. Node276_4.setWidth(Node276_4width);
  19366. Node276_4.setHeight(Node276_4height);
  19367. Node276_4._nodeType = 'text';
  19368. Node276_4._disallowEvert = true;
  19369. Node276_4.setRotation(0*Math.PI/180);
  19370. Node276_4.a('node.width', Node276_4width);
  19371. Node276_4.a('node.height', Node276_4height);
  19372. Node276_4.a('node.rect', [0, 0, Node276_4width, Node276_4height]);
  19373. Node276_4.a('node.bordercolor','rgba(0,0,0,1)');
  19374. Node276_4.a('node.borderwidth', 0);
  19375. Node276_4.a('node.background','' || 'rgba(0,0,0,0)');
  19376. Node276_4.a('node.gradient','');
  19377. Node276_4.a('node.gradientcolor','');
  19378. Node276_4.a('node.text','装机容量');
  19379. Node276_4.a('node.textalign','left');
  19380. Node276_4.a('node.textvAlign','middle');
  19381. Node276_4.a('node.textrect', [Node276_4textStart, 0, Node276_4textWidth, Node276_4height]);
  19382. Node276_4.a('node.color','rgba(0,0,0,1)');
  19383. Node276_4.a('node.font',' '+ Node276_4fontSize + 'px "Arial"');
  19384. Node276_4.a('node.textvisible',true);
  19385. Node276_4.a('node.linefeed',false);
  19386. if (false) {
  19387. Node276_4.a('node.textfunc',function(g) {
  19388. g.beginPath();
  19389. var str=Node276_4.a('node.text') || '装机容量';
  19390. var color=Node276_4.a('node.color') || 'rgba(0,0,0,1)';
  19391. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_4width,Node276_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_4fontSize + 'px "Arial"', 0,g);
  19392. });
  19393. }
  19394. if (false) {
  19395. Node276_4.a('node.underlinepoints',[Node276_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width + 6, (Node276_4height - Node276_4fontSize) * 0.5*_ratio.ratioY + Node276_4fontSize + 2 ]);
  19396. Node276_4.a('node.underlinevisible',false);
  19397. Node276_4.a('node.underlineBorderWidth', 1);
  19398. }
  19399. dataModel.add(Node276_4);
  19400. zoomNodeList.push({
  19401. node: Node276_4,
  19402. borderWidth: 0,
  19403. attr: 'node.borderwidth'
  19404. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19405. var Node276_5 = new ht.Node();
  19406. var Node276_5textStart, Node276_5textWidth, Node276_5lineStart, Node276_5align = 'left', Node276_5fontSize = 10.66664*_ratio.ratioY,Node276_5width = 31*_ratio.ratioX, Node276_5height = 27*_ratio.ratioY;
  19407. (function () {
  19408. if (Node276_5align === 'left') {
  19409. Node276_5textStart = Node276_5fontSize * 0.2 > 2 ? Node276_5fontSize * 0.2 - 4 : Node276_5fontSize * 0.2 - 9;
  19410. Node276_5textWidth = Node276_5width;
  19411. Node276_5lineStart = 1;
  19412. } else if (Node276_5align === 'right') {
  19413. Node276_5textStart = 0;
  19414. Node276_5textWidth =Node276_5fontSize <= 8 ? Node276_5width + Node276_5fontSize * 0.2 + 6 : Node276_5width - Node276_5fontSize * 0.2;
  19415. Node276_5lineStart = (Node276_5width - (ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  19416. } else if (Node276_5align === 'center') {
  19417. Node276_5textStart = -3;
  19418. Node276_5textWidth = Node276_5width;
  19419. Node276_5lineStart = Node276_5width - ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width - 11;
  19420. }
  19421. })();
  19422. Node276_5.setImage(GD.getTextJSON(Node276_5width, Node276_5height, true, false, false, ' '+ Node276_5fontSize + 'px "Arial"'))
  19423. Node276_5.setPosition(526*ratio.ratioX, 529*ratio.ratioY);
  19424. Node276_5.setWidth(Node276_5width);
  19425. Node276_5.setHeight(Node276_5height);
  19426. Node276_5._nodeType = 'text';
  19427. Node276_5._disallowEvert = true;
  19428. Node276_5.setRotation(0*Math.PI/180);
  19429. Node276_5.a('node.width', Node276_5width);
  19430. Node276_5.a('node.height', Node276_5height);
  19431. Node276_5.a('node.rect', [0, 0, Node276_5width, Node276_5height]);
  19432. Node276_5.a('node.bordercolor','rgba(192,0,0,1)');
  19433. Node276_5.a('node.borderwidth', 0);
  19434. Node276_5.a('node.background','' || 'rgba(0,0,0,0)');
  19435. Node276_5.a('node.gradient','');
  19436. Node276_5.a('node.gradientcolor','');
  19437. Node276_5.a('node.text','14.85');
  19438. Node276_5.a('node.textalign','left');
  19439. Node276_5.a('node.textvAlign','middle');
  19440. Node276_5.a('node.textrect', [Node276_5textStart, 0, Node276_5textWidth, Node276_5height]);
  19441. Node276_5.a('node.color','rgba(192,0,0,1)');
  19442. Node276_5.a('node.font',' '+ Node276_5fontSize + 'px "Arial"');
  19443. Node276_5.a('node.textvisible',true);
  19444. Node276_5.a('node.linefeed',false);
  19445. if (false) {
  19446. Node276_5.a('node.textfunc',function(g) {
  19447. g.beginPath();
  19448. var str=Node276_5.a('node.text') || '14.85';
  19449. var color=Node276_5.a('node.color') || 'rgba(192,0,0,1)';
  19450. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_5width,Node276_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_5fontSize + 'px "Arial"', 0,g);
  19451. });
  19452. }
  19453. if (false) {
  19454. Node276_5.a('node.underlinepoints',[Node276_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width + 6, (Node276_5height - Node276_5fontSize) * 0.5*_ratio.ratioY + Node276_5fontSize + 2 ]);
  19455. Node276_5.a('node.underlinevisible',false);
  19456. Node276_5.a('node.underlineBorderWidth', 1);
  19457. }
  19458. dataModel.add(Node276_5);
  19459. zoomNodeList.push({
  19460. node: Node276_5,
  19461. borderWidth: 0,
  19462. attr: 'node.borderwidth'
  19463. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19464. var Node276_6 = new ht.Node();
  19465. var Node276_6textStart, Node276_6textWidth, Node276_6lineStart, Node276_6align = 'left', Node276_6fontSize = 10.66664*_ratio.ratioY,Node276_6width = 43*_ratio.ratioX, Node276_6height = 27*_ratio.ratioY;
  19466. (function () {
  19467. if (Node276_6align === 'left') {
  19468. Node276_6textStart = Node276_6fontSize * 0.2 > 2 ? Node276_6fontSize * 0.2 - 4 : Node276_6fontSize * 0.2 - 9;
  19469. Node276_6textWidth = Node276_6width;
  19470. Node276_6lineStart = 1;
  19471. } else if (Node276_6align === 'right') {
  19472. Node276_6textStart = 0;
  19473. Node276_6textWidth =Node276_6fontSize <= 8 ? Node276_6width + Node276_6fontSize * 0.2 + 6 : Node276_6width - Node276_6fontSize * 0.2;
  19474. Node276_6lineStart = (Node276_6width - (ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  19475. } else if (Node276_6align === 'center') {
  19476. Node276_6textStart = -3;
  19477. Node276_6textWidth = Node276_6width;
  19478. Node276_6lineStart = Node276_6width - ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width - 11;
  19479. }
  19480. })();
  19481. Node276_6.setImage(GD.getTextJSON(Node276_6width, Node276_6height, true, false, false, ' '+ Node276_6fontSize + 'px "Arial"'))
  19482. Node276_6.setPosition(568*ratio.ratioX, 529*ratio.ratioY);
  19483. Node276_6.setWidth(Node276_6width);
  19484. Node276_6.setHeight(Node276_6height);
  19485. Node276_6._nodeType = 'text';
  19486. Node276_6._disallowEvert = true;
  19487. Node276_6.setRotation(0*Math.PI/180);
  19488. Node276_6.a('node.width', Node276_6width);
  19489. Node276_6.a('node.height', Node276_6height);
  19490. Node276_6.a('node.rect', [0, 0, Node276_6width, Node276_6height]);
  19491. Node276_6.a('node.bordercolor','rgba(0,0,0,1)');
  19492. Node276_6.a('node.borderwidth', 0);
  19493. Node276_6.a('node.background','' || 'rgba(0,0,0,0)');
  19494. Node276_6.a('node.gradient','');
  19495. Node276_6.a('node.gradientcolor','');
  19496. Node276_6.a('node.text','万kwh');
  19497. Node276_6.a('node.textalign','left');
  19498. Node276_6.a('node.textvAlign','middle');
  19499. Node276_6.a('node.textrect', [Node276_6textStart, 0, Node276_6textWidth, Node276_6height]);
  19500. Node276_6.a('node.color','rgba(0,0,0,1)');
  19501. Node276_6.a('node.font',' '+ Node276_6fontSize + 'px "Arial"');
  19502. Node276_6.a('node.textvisible',true);
  19503. Node276_6.a('node.linefeed',false);
  19504. if (false) {
  19505. Node276_6.a('node.textfunc',function(g) {
  19506. g.beginPath();
  19507. var str=Node276_6.a('node.text') || '万kwh';
  19508. var color=Node276_6.a('node.color') || 'rgba(0,0,0,1)';
  19509. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_6width,Node276_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_6fontSize + 'px "Arial"', 0,g);
  19510. });
  19511. }
  19512. if (false) {
  19513. Node276_6.a('node.underlinepoints',[Node276_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width + 6, (Node276_6height - Node276_6fontSize) * 0.5*_ratio.ratioY + Node276_6fontSize + 2 ]);
  19514. Node276_6.a('node.underlinevisible',false);
  19515. Node276_6.a('node.underlineBorderWidth', 1);
  19516. }
  19517. dataModel.add(Node276_6);
  19518. zoomNodeList.push({
  19519. node: Node276_6,
  19520. borderWidth: 0,
  19521. attr: 'node.borderwidth'
  19522. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19523. var Node276_7 = new ht.Node();
  19524. var Node276_7textStart, Node276_7textWidth, Node276_7lineStart, Node276_7align = 'left', Node276_7fontSize = 10.66664*_ratio.ratioY,Node276_7width = 72*_ratio.ratioX, Node276_7height = 27*_ratio.ratioY;
  19525. (function () {
  19526. if (Node276_7align === 'left') {
  19527. Node276_7textStart = Node276_7fontSize * 0.2 > 2 ? Node276_7fontSize * 0.2 - 4 : Node276_7fontSize * 0.2 - 9;
  19528. Node276_7textWidth = Node276_7width;
  19529. Node276_7lineStart = 1;
  19530. } else if (Node276_7align === 'right') {
  19531. Node276_7textStart = 0;
  19532. Node276_7textWidth =Node276_7fontSize <= 8 ? Node276_7width + Node276_7fontSize * 0.2 + 6 : Node276_7width - Node276_7fontSize * 0.2;
  19533. Node276_7lineStart = (Node276_7width - (ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  19534. } else if (Node276_7align === 'center') {
  19535. Node276_7textStart = -3;
  19536. Node276_7textWidth = Node276_7width;
  19537. Node276_7lineStart = Node276_7width - ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width - 11;
  19538. }
  19539. })();
  19540. Node276_7.setImage(GD.getTextJSON(Node276_7width, Node276_7height, true, false, false, ' '+ Node276_7fontSize + 'px "Arial"'))
  19541. Node276_7.setPosition(483*ratio.ratioX, 554*ratio.ratioY);
  19542. Node276_7.setWidth(Node276_7width);
  19543. Node276_7.setHeight(Node276_7height);
  19544. Node276_7._nodeType = 'text';
  19545. Node276_7._disallowEvert = true;
  19546. Node276_7.setRotation(0*Math.PI/180);
  19547. Node276_7.a('node.width', Node276_7width);
  19548. Node276_7.a('node.height', Node276_7height);
  19549. Node276_7.a('node.rect', [0, 0, Node276_7width, Node276_7height]);
  19550. Node276_7.a('node.bordercolor','rgba(0,0,0,1)');
  19551. Node276_7.a('node.borderwidth', 0);
  19552. Node276_7.a('node.background','' || 'rgba(0,0,0,0)');
  19553. Node276_7.a('node.gradient','');
  19554. Node276_7.a('node.gradientcolor','');
  19555. Node276_7.a('node.text','平均风速');
  19556. Node276_7.a('node.textalign','left');
  19557. Node276_7.a('node.textvAlign','middle');
  19558. Node276_7.a('node.textrect', [Node276_7textStart, 0, Node276_7textWidth, Node276_7height]);
  19559. Node276_7.a('node.color','rgba(0,0,0,1)');
  19560. Node276_7.a('node.font',' '+ Node276_7fontSize + 'px "Arial"');
  19561. Node276_7.a('node.textvisible',true);
  19562. Node276_7.a('node.linefeed',false);
  19563. if (false) {
  19564. Node276_7.a('node.textfunc',function(g) {
  19565. g.beginPath();
  19566. var str=Node276_7.a('node.text') || '平均风速';
  19567. var color=Node276_7.a('node.color') || 'rgba(0,0,0,1)';
  19568. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_7width,Node276_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_7fontSize + 'px "Arial"', 0,g);
  19569. });
  19570. }
  19571. if (false) {
  19572. Node276_7.a('node.underlinepoints',[Node276_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width + 6, (Node276_7height - Node276_7fontSize) * 0.5*_ratio.ratioY + Node276_7fontSize + 2 ]);
  19573. Node276_7.a('node.underlinevisible',false);
  19574. Node276_7.a('node.underlineBorderWidth', 1);
  19575. }
  19576. dataModel.add(Node276_7);
  19577. zoomNodeList.push({
  19578. node: Node276_7,
  19579. borderWidth: 0,
  19580. attr: 'node.borderwidth'
  19581. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19582. var Node276_8 = new ht.Node();
  19583. var Node276_8textStart, Node276_8textWidth, Node276_8lineStart, Node276_8align = 'left', Node276_8fontSize = 10.66664*_ratio.ratioY,Node276_8width = 22*_ratio.ratioX, Node276_8height = 27*_ratio.ratioY;
  19584. (function () {
  19585. if (Node276_8align === 'left') {
  19586. Node276_8textStart = Node276_8fontSize * 0.2 > 2 ? Node276_8fontSize * 0.2 - 4 : Node276_8fontSize * 0.2 - 9;
  19587. Node276_8textWidth = Node276_8width;
  19588. Node276_8lineStart = 1;
  19589. } else if (Node276_8align === 'right') {
  19590. Node276_8textStart = 0;
  19591. Node276_8textWidth =Node276_8fontSize <= 8 ? Node276_8width + Node276_8fontSize * 0.2 + 6 : Node276_8width - Node276_8fontSize * 0.2;
  19592. Node276_8lineStart = (Node276_8width - (ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  19593. } else if (Node276_8align === 'center') {
  19594. Node276_8textStart = -3;
  19595. Node276_8textWidth = Node276_8width;
  19596. Node276_8lineStart = Node276_8width - ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width - 11;
  19597. }
  19598. })();
  19599. Node276_8.setImage(GD.getTextJSON(Node276_8width, Node276_8height, true, false, false, ' '+ Node276_8fontSize + 'px "Arial"'))
  19600. Node276_8.setPosition(521*ratio.ratioX, 554*ratio.ratioY);
  19601. Node276_8.setWidth(Node276_8width);
  19602. Node276_8.setHeight(Node276_8height);
  19603. Node276_8._nodeType = 'text';
  19604. Node276_8._disallowEvert = true;
  19605. Node276_8.setRotation(0*Math.PI/180);
  19606. Node276_8.a('node.width', Node276_8width);
  19607. Node276_8.a('node.height', Node276_8height);
  19608. Node276_8.a('node.rect', [0, 0, Node276_8width, Node276_8height]);
  19609. Node276_8.a('node.bordercolor','rgba(192,0,0,1)');
  19610. Node276_8.a('node.borderwidth', 0);
  19611. Node276_8.a('node.background','' || 'rgba(0,0,0,0)');
  19612. Node276_8.a('node.gradient','');
  19613. Node276_8.a('node.gradientcolor','');
  19614. Node276_8.a('node.text','-');
  19615. Node276_8.a('node.textalign','left');
  19616. Node276_8.a('node.textvAlign','middle');
  19617. Node276_8.a('node.textrect', [Node276_8textStart, 0, Node276_8textWidth, Node276_8height]);
  19618. Node276_8.a('node.color','rgba(192,0,0,1)');
  19619. Node276_8.a('node.font',' '+ Node276_8fontSize + 'px "Arial"');
  19620. Node276_8.a('node.textvisible',true);
  19621. Node276_8.a('node.linefeed',false);
  19622. if (false) {
  19623. Node276_8.a('node.textfunc',function(g) {
  19624. g.beginPath();
  19625. var str=Node276_8.a('node.text') || '-';
  19626. var color=Node276_8.a('node.color') || 'rgba(192,0,0,1)';
  19627. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_8width,Node276_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_8fontSize + 'px "Arial"', 0,g);
  19628. });
  19629. }
  19630. if (false) {
  19631. Node276_8.a('node.underlinepoints',[Node276_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width + 6, (Node276_8height - Node276_8fontSize) * 0.5*_ratio.ratioY + Node276_8fontSize + 2 ]);
  19632. Node276_8.a('node.underlinevisible',false);
  19633. Node276_8.a('node.underlineBorderWidth', 1);
  19634. }
  19635. dataModel.add(Node276_8);
  19636. zoomNodeList.push({
  19637. node: Node276_8,
  19638. borderWidth: 0,
  19639. attr: 'node.borderwidth'
  19640. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19641. var Node276_9 = new ht.Node();
  19642. var Node276_9textStart, Node276_9textWidth, Node276_9lineStart, Node276_9align = 'left', Node276_9fontSize = 10.66664*_ratio.ratioY,Node276_9width = 43*_ratio.ratioX, Node276_9height = 27*_ratio.ratioY;
  19643. (function () {
  19644. if (Node276_9align === 'left') {
  19645. Node276_9textStart = Node276_9fontSize * 0.2 > 2 ? Node276_9fontSize * 0.2 - 4 : Node276_9fontSize * 0.2 - 9;
  19646. Node276_9textWidth = Node276_9width;
  19647. Node276_9lineStart = 1;
  19648. } else if (Node276_9align === 'right') {
  19649. Node276_9textStart = 0;
  19650. Node276_9textWidth =Node276_9fontSize <= 8 ? Node276_9width + Node276_9fontSize * 0.2 + 6 : Node276_9width - Node276_9fontSize * 0.2;
  19651. Node276_9lineStart = (Node276_9width - (ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  19652. } else if (Node276_9align === 'center') {
  19653. Node276_9textStart = -3;
  19654. Node276_9textWidth = Node276_9width;
  19655. Node276_9lineStart = Node276_9width - ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width - 11;
  19656. }
  19657. })();
  19658. Node276_9.setImage(GD.getTextJSON(Node276_9width, Node276_9height, true, false, false, ' '+ Node276_9fontSize + 'px "Arial"'))
  19659. Node276_9.setPosition(568*ratio.ratioX, 554*ratio.ratioY);
  19660. Node276_9.setWidth(Node276_9width);
  19661. Node276_9.setHeight(Node276_9height);
  19662. Node276_9._nodeType = 'text';
  19663. Node276_9._disallowEvert = true;
  19664. Node276_9.setRotation(0*Math.PI/180);
  19665. Node276_9.a('node.width', Node276_9width);
  19666. Node276_9.a('node.height', Node276_9height);
  19667. Node276_9.a('node.rect', [0, 0, Node276_9width, Node276_9height]);
  19668. Node276_9.a('node.bordercolor','rgba(0,0,0,1)');
  19669. Node276_9.a('node.borderwidth', 0);
  19670. Node276_9.a('node.background','' || 'rgba(0,0,0,0)');
  19671. Node276_9.a('node.gradient','');
  19672. Node276_9.a('node.gradientcolor','');
  19673. Node276_9.a('node.text','万kwh');
  19674. Node276_9.a('node.textalign','left');
  19675. Node276_9.a('node.textvAlign','middle');
  19676. Node276_9.a('node.textrect', [Node276_9textStart, 0, Node276_9textWidth, Node276_9height]);
  19677. Node276_9.a('node.color','rgba(0,0,0,1)');
  19678. Node276_9.a('node.font',' '+ Node276_9fontSize + 'px "Arial"');
  19679. Node276_9.a('node.textvisible',true);
  19680. Node276_9.a('node.linefeed',false);
  19681. if (false) {
  19682. Node276_9.a('node.textfunc',function(g) {
  19683. g.beginPath();
  19684. var str=Node276_9.a('node.text') || '万kwh';
  19685. var color=Node276_9.a('node.color') || 'rgba(0,0,0,1)';
  19686. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_9width,Node276_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_9fontSize + 'px "Arial"', 0,g);
  19687. });
  19688. }
  19689. if (false) {
  19690. Node276_9.a('node.underlinepoints',[Node276_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width + 6, (Node276_9height - Node276_9fontSize) * 0.5*_ratio.ratioY + Node276_9fontSize + 2 ]);
  19691. Node276_9.a('node.underlinevisible',false);
  19692. Node276_9.a('node.underlineBorderWidth', 1);
  19693. }
  19694. dataModel.add(Node276_9);
  19695. zoomNodeList.push({
  19696. node: Node276_9,
  19697. borderWidth: 0,
  19698. attr: 'node.borderwidth'
  19699. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19700. var Node276_10 = new ht.Node();
  19701. var Node276_10textStart, Node276_10textWidth, Node276_10lineStart, Node276_10align = 'left', Node276_10fontSize = 10.66664*_ratio.ratioY,Node276_10width = 72*_ratio.ratioX, Node276_10height = 27*_ratio.ratioY;
  19702. (function () {
  19703. if (Node276_10align === 'left') {
  19704. Node276_10textStart = Node276_10fontSize * 0.2 > 2 ? Node276_10fontSize * 0.2 - 4 : Node276_10fontSize * 0.2 - 9;
  19705. Node276_10textWidth = Node276_10width;
  19706. Node276_10lineStart = 1;
  19707. } else if (Node276_10align === 'right') {
  19708. Node276_10textStart = 0;
  19709. Node276_10textWidth =Node276_10fontSize <= 8 ? Node276_10width + Node276_10fontSize * 0.2 + 6 : Node276_10width - Node276_10fontSize * 0.2;
  19710. Node276_10lineStart = (Node276_10width - (ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  19711. } else if (Node276_10align === 'center') {
  19712. Node276_10textStart = -3;
  19713. Node276_10textWidth = Node276_10width;
  19714. Node276_10lineStart = Node276_10width - ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width - 11;
  19715. }
  19716. })();
  19717. Node276_10.setImage(GD.getTextJSON(Node276_10width, Node276_10height, true, false, false, ' '+ Node276_10fontSize + 'px "Arial"'))
  19718. Node276_10.setPosition(483*ratio.ratioX, 580*ratio.ratioY);
  19719. Node276_10.setWidth(Node276_10width);
  19720. Node276_10.setHeight(Node276_10height);
  19721. Node276_10._nodeType = 'text';
  19722. Node276_10._disallowEvert = true;
  19723. Node276_10.setRotation(0*Math.PI/180);
  19724. Node276_10.a('node.width', Node276_10width);
  19725. Node276_10.a('node.height', Node276_10height);
  19726. Node276_10.a('node.rect', [0, 0, Node276_10width, Node276_10height]);
  19727. Node276_10.a('node.bordercolor','rgba(0,0,0,1)');
  19728. Node276_10.a('node.borderwidth', 0);
  19729. Node276_10.a('node.background','' || 'rgba(0,0,0,0)');
  19730. Node276_10.a('node.gradient','');
  19731. Node276_10.a('node.gradientcolor','');
  19732. Node276_10.a('node.text','日发电量');
  19733. Node276_10.a('node.textalign','left');
  19734. Node276_10.a('node.textvAlign','middle');
  19735. Node276_10.a('node.textrect', [Node276_10textStart, 0, Node276_10textWidth, Node276_10height]);
  19736. Node276_10.a('node.color','rgba(0,0,0,1)');
  19737. Node276_10.a('node.font',' '+ Node276_10fontSize + 'px "Arial"');
  19738. Node276_10.a('node.textvisible',true);
  19739. Node276_10.a('node.linefeed',false);
  19740. if (false) {
  19741. Node276_10.a('node.textfunc',function(g) {
  19742. g.beginPath();
  19743. var str=Node276_10.a('node.text') || '日发电量';
  19744. var color=Node276_10.a('node.color') || 'rgba(0,0,0,1)';
  19745. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_10width,Node276_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_10fontSize + 'px "Arial"', 0,g);
  19746. });
  19747. }
  19748. if (false) {
  19749. Node276_10.a('node.underlinepoints',[Node276_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width + 6, (Node276_10height - Node276_10fontSize) * 0.5*_ratio.ratioY + Node276_10fontSize + 2 ]);
  19750. Node276_10.a('node.underlinevisible',false);
  19751. Node276_10.a('node.underlineBorderWidth', 1);
  19752. }
  19753. dataModel.add(Node276_10);
  19754. zoomNodeList.push({
  19755. node: Node276_10,
  19756. borderWidth: 0,
  19757. attr: 'node.borderwidth'
  19758. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19759. var Node276_11 = new ht.Node();
  19760. var Node276_11textStart, Node276_11textWidth, Node276_11lineStart, Node276_11align = 'left', Node276_11fontSize = 10.66664*_ratio.ratioY,Node276_11width = 31*_ratio.ratioX, Node276_11height = 27*_ratio.ratioY;
  19761. (function () {
  19762. if (Node276_11align === 'left') {
  19763. Node276_11textStart = Node276_11fontSize * 0.2 > 2 ? Node276_11fontSize * 0.2 - 4 : Node276_11fontSize * 0.2 - 9;
  19764. Node276_11textWidth = Node276_11width;
  19765. Node276_11lineStart = 1;
  19766. } else if (Node276_11align === 'right') {
  19767. Node276_11textStart = 0;
  19768. Node276_11textWidth =Node276_11fontSize <= 8 ? Node276_11width + Node276_11fontSize * 0.2 + 6 : Node276_11width - Node276_11fontSize * 0.2;
  19769. Node276_11lineStart = (Node276_11width - (ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  19770. } else if (Node276_11align === 'center') {
  19771. Node276_11textStart = -3;
  19772. Node276_11textWidth = Node276_11width;
  19773. Node276_11lineStart = Node276_11width - ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width - 11;
  19774. }
  19775. })();
  19776. Node276_11.setImage(GD.getTextJSON(Node276_11width, Node276_11height, true, false, false, ' '+ Node276_11fontSize + 'px "Arial"'))
  19777. Node276_11.setPosition(526*ratio.ratioX, 580*ratio.ratioY);
  19778. Node276_11.setWidth(Node276_11width);
  19779. Node276_11.setHeight(Node276_11height);
  19780. Node276_11._nodeType = 'text';
  19781. Node276_11._disallowEvert = true;
  19782. Node276_11.setRotation(0*Math.PI/180);
  19783. Node276_11.a('node.width', Node276_11width);
  19784. Node276_11.a('node.height', Node276_11height);
  19785. Node276_11.a('node.rect', [0, 0, Node276_11width, Node276_11height]);
  19786. Node276_11.a('node.bordercolor','rgba(192,0,0,1)');
  19787. Node276_11.a('node.borderwidth', 0);
  19788. Node276_11.a('node.background','' || 'rgba(0,0,0,0)');
  19789. Node276_11.a('node.gradient','');
  19790. Node276_11.a('node.gradientcolor','');
  19791. Node276_11.a('node.text','-');
  19792. Node276_11.a('node.textalign','left');
  19793. Node276_11.a('node.textvAlign','middle');
  19794. Node276_11.a('node.textrect', [Node276_11textStart, 0, Node276_11textWidth, Node276_11height]);
  19795. Node276_11.a('node.color','rgba(192,0,0,1)');
  19796. Node276_11.a('node.font',' '+ Node276_11fontSize + 'px "Arial"');
  19797. Node276_11.a('node.textvisible',true);
  19798. Node276_11.a('node.linefeed',false);
  19799. if (false) {
  19800. Node276_11.a('node.textfunc',function(g) {
  19801. g.beginPath();
  19802. var str=Node276_11.a('node.text') || '-';
  19803. var color=Node276_11.a('node.color') || 'rgba(192,0,0,1)';
  19804. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_11width,Node276_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_11fontSize + 'px "Arial"', 0,g);
  19805. });
  19806. }
  19807. if (false) {
  19808. Node276_11.a('node.underlinepoints',[Node276_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width + 6, (Node276_11height - Node276_11fontSize) * 0.5*_ratio.ratioY + Node276_11fontSize + 2 ]);
  19809. Node276_11.a('node.underlinevisible',false);
  19810. Node276_11.a('node.underlineBorderWidth', 1);
  19811. }
  19812. dataModel.add(Node276_11);
  19813. zoomNodeList.push({
  19814. node: Node276_11,
  19815. borderWidth: 0,
  19816. attr: 'node.borderwidth'
  19817. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19818. var Node276_12 = new ht.Node();
  19819. var Node276_12textStart, Node276_12textWidth, Node276_12lineStart, Node276_12align = 'left', Node276_12fontSize = 10.66664*_ratio.ratioY,Node276_12width = 43*_ratio.ratioX, Node276_12height = 27*_ratio.ratioY;
  19820. (function () {
  19821. if (Node276_12align === 'left') {
  19822. Node276_12textStart = Node276_12fontSize * 0.2 > 2 ? Node276_12fontSize * 0.2 - 4 : Node276_12fontSize * 0.2 - 9;
  19823. Node276_12textWidth = Node276_12width;
  19824. Node276_12lineStart = 1;
  19825. } else if (Node276_12align === 'right') {
  19826. Node276_12textStart = 0;
  19827. Node276_12textWidth =Node276_12fontSize <= 8 ? Node276_12width + Node276_12fontSize * 0.2 + 6 : Node276_12width - Node276_12fontSize * 0.2;
  19828. Node276_12lineStart = (Node276_12width - (ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  19829. } else if (Node276_12align === 'center') {
  19830. Node276_12textStart = -3;
  19831. Node276_12textWidth = Node276_12width;
  19832. Node276_12lineStart = Node276_12width - ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width - 11;
  19833. }
  19834. })();
  19835. Node276_12.setImage(GD.getTextJSON(Node276_12width, Node276_12height, true, false, false, ' '+ Node276_12fontSize + 'px "Arial"'))
  19836. Node276_12.setPosition(568*ratio.ratioX, 580*ratio.ratioY);
  19837. Node276_12.setWidth(Node276_12width);
  19838. Node276_12.setHeight(Node276_12height);
  19839. Node276_12._nodeType = 'text';
  19840. Node276_12._disallowEvert = true;
  19841. Node276_12.setRotation(0*Math.PI/180);
  19842. Node276_12.a('node.width', Node276_12width);
  19843. Node276_12.a('node.height', Node276_12height);
  19844. Node276_12.a('node.rect', [0, 0, Node276_12width, Node276_12height]);
  19845. Node276_12.a('node.bordercolor','rgba(0,0,0,1)');
  19846. Node276_12.a('node.borderwidth', 0);
  19847. Node276_12.a('node.background','' || 'rgba(0,0,0,0)');
  19848. Node276_12.a('node.gradient','');
  19849. Node276_12.a('node.gradientcolor','');
  19850. Node276_12.a('node.text','万kwh');
  19851. Node276_12.a('node.textalign','left');
  19852. Node276_12.a('node.textvAlign','middle');
  19853. Node276_12.a('node.textrect', [Node276_12textStart, 0, Node276_12textWidth, Node276_12height]);
  19854. Node276_12.a('node.color','rgba(0,0,0,1)');
  19855. Node276_12.a('node.font',' '+ Node276_12fontSize + 'px "Arial"');
  19856. Node276_12.a('node.textvisible',true);
  19857. Node276_12.a('node.linefeed',false);
  19858. if (false) {
  19859. Node276_12.a('node.textfunc',function(g) {
  19860. g.beginPath();
  19861. var str=Node276_12.a('node.text') || '万kwh';
  19862. var color=Node276_12.a('node.color') || 'rgba(0,0,0,1)';
  19863. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_12width,Node276_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_12fontSize + 'px "Arial"', 0,g);
  19864. });
  19865. }
  19866. if (false) {
  19867. Node276_12.a('node.underlinepoints',[Node276_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width + 6, (Node276_12height - Node276_12fontSize) * 0.5*_ratio.ratioY + Node276_12fontSize + 2 ]);
  19868. Node276_12.a('node.underlinevisible',false);
  19869. Node276_12.a('node.underlineBorderWidth', 1);
  19870. }
  19871. dataModel.add(Node276_12);
  19872. zoomNodeList.push({
  19873. node: Node276_12,
  19874. borderWidth: 0,
  19875. attr: 'node.borderwidth'
  19876. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19877. var Node276_13 = new ht.Node();
  19878. var Node276_13textStart, Node276_13textWidth, Node276_13lineStart, Node276_13align = 'left', Node276_13fontSize = 10.66664*_ratio.ratioY,Node276_13width = 72*_ratio.ratioX, Node276_13height = 27*_ratio.ratioY;
  19879. (function () {
  19880. if (Node276_13align === 'left') {
  19881. Node276_13textStart = Node276_13fontSize * 0.2 > 2 ? Node276_13fontSize * 0.2 - 4 : Node276_13fontSize * 0.2 - 9;
  19882. Node276_13textWidth = Node276_13width;
  19883. Node276_13lineStart = 1;
  19884. } else if (Node276_13align === 'right') {
  19885. Node276_13textStart = 0;
  19886. Node276_13textWidth =Node276_13fontSize <= 8 ? Node276_13width + Node276_13fontSize * 0.2 + 6 : Node276_13width - Node276_13fontSize * 0.2;
  19887. Node276_13lineStart = (Node276_13width - (ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  19888. } else if (Node276_13align === 'center') {
  19889. Node276_13textStart = -3;
  19890. Node276_13textWidth = Node276_13width;
  19891. Node276_13lineStart = Node276_13width - ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width - 11;
  19892. }
  19893. })();
  19894. Node276_13.setImage(GD.getTextJSON(Node276_13width, Node276_13height, true, false, false, ' '+ Node276_13fontSize + 'px "Arial"'))
  19895. Node276_13.setPosition(483*ratio.ratioX, 607*ratio.ratioY);
  19896. Node276_13.setWidth(Node276_13width);
  19897. Node276_13.setHeight(Node276_13height);
  19898. Node276_13._nodeType = 'text';
  19899. Node276_13._disallowEvert = true;
  19900. Node276_13.setRotation(0*Math.PI/180);
  19901. Node276_13.a('node.width', Node276_13width);
  19902. Node276_13.a('node.height', Node276_13height);
  19903. Node276_13.a('node.rect', [0, 0, Node276_13width, Node276_13height]);
  19904. Node276_13.a('node.bordercolor','rgba(0,0,0,1)');
  19905. Node276_13.a('node.borderwidth', 0);
  19906. Node276_13.a('node.background','' || 'rgba(0,0,0,0)');
  19907. Node276_13.a('node.gradient','');
  19908. Node276_13.a('node.gradientcolor','');
  19909. Node276_13.a('node.text','有功功率');
  19910. Node276_13.a('node.textalign','left');
  19911. Node276_13.a('node.textvAlign','middle');
  19912. Node276_13.a('node.textrect', [Node276_13textStart, 0, Node276_13textWidth, Node276_13height]);
  19913. Node276_13.a('node.color','rgba(0,0,0,1)');
  19914. Node276_13.a('node.font',' '+ Node276_13fontSize + 'px "Arial"');
  19915. Node276_13.a('node.textvisible',true);
  19916. Node276_13.a('node.linefeed',false);
  19917. if (false) {
  19918. Node276_13.a('node.textfunc',function(g) {
  19919. g.beginPath();
  19920. var str=Node276_13.a('node.text') || '有功功率';
  19921. var color=Node276_13.a('node.color') || 'rgba(0,0,0,1)';
  19922. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_13width,Node276_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_13fontSize + 'px "Arial"', 0,g);
  19923. });
  19924. }
  19925. if (false) {
  19926. Node276_13.a('node.underlinepoints',[Node276_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width + 6, (Node276_13height - Node276_13fontSize) * 0.5*_ratio.ratioY + Node276_13fontSize + 2 ]);
  19927. Node276_13.a('node.underlinevisible',false);
  19928. Node276_13.a('node.underlineBorderWidth', 1);
  19929. }
  19930. dataModel.add(Node276_13);
  19931. zoomNodeList.push({
  19932. node: Node276_13,
  19933. borderWidth: 0,
  19934. attr: 'node.borderwidth'
  19935. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19936. var Node276_14 = new ht.Node();
  19937. var Node276_14textStart, Node276_14textWidth, Node276_14lineStart, Node276_14align = 'left', Node276_14fontSize = 10.66664*_ratio.ratioY,Node276_14width = 22*_ratio.ratioX, Node276_14height = 27*_ratio.ratioY;
  19938. (function () {
  19939. if (Node276_14align === 'left') {
  19940. Node276_14textStart = Node276_14fontSize * 0.2 > 2 ? Node276_14fontSize * 0.2 - 4 : Node276_14fontSize * 0.2 - 9;
  19941. Node276_14textWidth = Node276_14width;
  19942. Node276_14lineStart = 1;
  19943. } else if (Node276_14align === 'right') {
  19944. Node276_14textStart = 0;
  19945. Node276_14textWidth =Node276_14fontSize <= 8 ? Node276_14width + Node276_14fontSize * 0.2 + 6 : Node276_14width - Node276_14fontSize * 0.2;
  19946. Node276_14lineStart = (Node276_14width - (ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  19947. } else if (Node276_14align === 'center') {
  19948. Node276_14textStart = -3;
  19949. Node276_14textWidth = Node276_14width;
  19950. Node276_14lineStart = Node276_14width - ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width - 11;
  19951. }
  19952. })();
  19953. Node276_14.setImage(GD.getTextJSON(Node276_14width, Node276_14height, true, false, false, ' '+ Node276_14fontSize + 'px "Arial"'))
  19954. Node276_14.setPosition(521*ratio.ratioX, 607*ratio.ratioY);
  19955. Node276_14.setWidth(Node276_14width);
  19956. Node276_14.setHeight(Node276_14height);
  19957. Node276_14._nodeType = 'text';
  19958. Node276_14._disallowEvert = true;
  19959. Node276_14.setRotation(0*Math.PI/180);
  19960. Node276_14.a('node.width', Node276_14width);
  19961. Node276_14.a('node.height', Node276_14height);
  19962. Node276_14.a('node.rect', [0, 0, Node276_14width, Node276_14height]);
  19963. Node276_14.a('node.bordercolor','rgba(192,0,0,1)');
  19964. Node276_14.a('node.borderwidth', 0);
  19965. Node276_14.a('node.background','' || 'rgba(0,0,0,0)');
  19966. Node276_14.a('node.gradient','');
  19967. Node276_14.a('node.gradientcolor','');
  19968. Node276_14.a('node.text','-');
  19969. Node276_14.a('node.textalign','left');
  19970. Node276_14.a('node.textvAlign','middle');
  19971. Node276_14.a('node.textrect', [Node276_14textStart, 0, Node276_14textWidth, Node276_14height]);
  19972. Node276_14.a('node.color','rgba(192,0,0,1)');
  19973. Node276_14.a('node.font',' '+ Node276_14fontSize + 'px "Arial"');
  19974. Node276_14.a('node.textvisible',true);
  19975. Node276_14.a('node.linefeed',false);
  19976. if (false) {
  19977. Node276_14.a('node.textfunc',function(g) {
  19978. g.beginPath();
  19979. var str=Node276_14.a('node.text') || '-';
  19980. var color=Node276_14.a('node.color') || 'rgba(192,0,0,1)';
  19981. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_14width,Node276_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_14fontSize + 'px "Arial"', 0,g);
  19982. });
  19983. }
  19984. if (false) {
  19985. Node276_14.a('node.underlinepoints',[Node276_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width + 6, (Node276_14height - Node276_14fontSize) * 0.5*_ratio.ratioY + Node276_14fontSize + 2 ]);
  19986. Node276_14.a('node.underlinevisible',false);
  19987. Node276_14.a('node.underlineBorderWidth', 1);
  19988. }
  19989. dataModel.add(Node276_14);
  19990. zoomNodeList.push({
  19991. node: Node276_14,
  19992. borderWidth: 0,
  19993. attr: 'node.borderwidth'
  19994. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  19995. var Node276_15 = new ht.Node();
  19996. var Node276_15textStart, Node276_15textWidth, Node276_15lineStart, Node276_15align = 'left', Node276_15fontSize = 10.66664*_ratio.ratioY,Node276_15width = 43*_ratio.ratioX, Node276_15height = 27*_ratio.ratioY;
  19997. (function () {
  19998. if (Node276_15align === 'left') {
  19999. Node276_15textStart = Node276_15fontSize * 0.2 > 2 ? Node276_15fontSize * 0.2 - 4 : Node276_15fontSize * 0.2 - 9;
  20000. Node276_15textWidth = Node276_15width;
  20001. Node276_15lineStart = 1;
  20002. } else if (Node276_15align === 'right') {
  20003. Node276_15textStart = 0;
  20004. Node276_15textWidth =Node276_15fontSize <= 8 ? Node276_15width + Node276_15fontSize * 0.2 + 6 : Node276_15width - Node276_15fontSize * 0.2;
  20005. Node276_15lineStart = (Node276_15width - (ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  20006. } else if (Node276_15align === 'center') {
  20007. Node276_15textStart = -3;
  20008. Node276_15textWidth = Node276_15width;
  20009. Node276_15lineStart = Node276_15width - ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width - 11;
  20010. }
  20011. })();
  20012. Node276_15.setImage(GD.getTextJSON(Node276_15width, Node276_15height, true, false, false, ' '+ Node276_15fontSize + 'px "Arial"'))
  20013. Node276_15.setPosition(568*ratio.ratioX, 607*ratio.ratioY);
  20014. Node276_15.setWidth(Node276_15width);
  20015. Node276_15.setHeight(Node276_15height);
  20016. Node276_15._nodeType = 'text';
  20017. Node276_15._disallowEvert = true;
  20018. Node276_15.setRotation(0*Math.PI/180);
  20019. Node276_15.a('node.width', Node276_15width);
  20020. Node276_15.a('node.height', Node276_15height);
  20021. Node276_15.a('node.rect', [0, 0, Node276_15width, Node276_15height]);
  20022. Node276_15.a('node.bordercolor','rgba(0,0,0,1)');
  20023. Node276_15.a('node.borderwidth', 0);
  20024. Node276_15.a('node.background','' || 'rgba(0,0,0,0)');
  20025. Node276_15.a('node.gradient','');
  20026. Node276_15.a('node.gradientcolor','');
  20027. Node276_15.a('node.text','万kwh');
  20028. Node276_15.a('node.textalign','left');
  20029. Node276_15.a('node.textvAlign','middle');
  20030. Node276_15.a('node.textrect', [Node276_15textStart, 0, Node276_15textWidth, Node276_15height]);
  20031. Node276_15.a('node.color','rgba(0,0,0,1)');
  20032. Node276_15.a('node.font',' '+ Node276_15fontSize + 'px "Arial"');
  20033. Node276_15.a('node.textvisible',true);
  20034. Node276_15.a('node.linefeed',false);
  20035. if (false) {
  20036. Node276_15.a('node.textfunc',function(g) {
  20037. g.beginPath();
  20038. var str=Node276_15.a('node.text') || '万kwh';
  20039. var color=Node276_15.a('node.color') || 'rgba(0,0,0,1)';
  20040. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_15width,Node276_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_15fontSize + 'px "Arial"', 0,g);
  20041. });
  20042. }
  20043. if (false) {
  20044. Node276_15.a('node.underlinepoints',[Node276_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width + 6, (Node276_15height - Node276_15fontSize) * 0.5*_ratio.ratioY + Node276_15fontSize + 2 ]);
  20045. Node276_15.a('node.underlinevisible',false);
  20046. Node276_15.a('node.underlineBorderWidth', 1);
  20047. }
  20048. dataModel.add(Node276_15);
  20049. zoomNodeList.push({
  20050. node: Node276_15,
  20051. borderWidth: 0,
  20052. attr: 'node.borderwidth'
  20053. }); var Node277_0;
  20054. (function () {
  20055. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20056. var ratioX, ratioY;
  20057. if ('Default' === 'False') {
  20058. ratioX = 1;
  20059. ratioY = 1;
  20060. } else if ('Default' === 'X') {
  20061. ratioX = ratioY = _ratio.ratioX;
  20062. } else if ('Default' === 'Y') {
  20063. ratioX = ratioY = _ratio.ratioY;
  20064. } else {
  20065. ratioX = _ratio.ratioX;
  20066. ratioY = _ratio.ratioY;
  20067. }
  20068. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  20069. Node277_0 = new ht.Node();
  20070. Node277_0.setPosition(363*ratio.ratioX, 480*ratio.ratioY);
  20071. Node277_0.setSize(146*ratioX, 141*ratioY);
  20072. Node277_0.setImage('imgimage//img//map_name_03.png');
  20073. Node277_0.setRotation(0*Math.PI/180);
  20074. Node277_0._zoomBy = 'Default';
  20075. Node277_0._nodeType = 'image';
  20076. Node277_0._disallowEvert = true;
  20077. dataModel.add(Node277_0);
  20078. })();
  20079. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20080. var Node277_1 = new ht.Node();
  20081. var Node277_1textStart, Node277_1textWidth, Node277_1lineStart, Node277_1align = 'left', Node277_1fontSize = 10.66664*_ratio.ratioY,Node277_1width = 72*_ratio.ratioX, Node277_1height = 27*_ratio.ratioY;
  20082. (function () {
  20083. if (Node277_1align === 'left') {
  20084. Node277_1textStart = Node277_1fontSize * 0.2 > 2 ? Node277_1fontSize * 0.2 - 4 : Node277_1fontSize * 0.2 - 9;
  20085. Node277_1textWidth = Node277_1width;
  20086. Node277_1lineStart = 1;
  20087. } else if (Node277_1align === 'right') {
  20088. Node277_1textStart = 0;
  20089. Node277_1textWidth =Node277_1fontSize <= 8 ? Node277_1width + Node277_1fontSize * 0.2 + 6 : Node277_1width - Node277_1fontSize * 0.2;
  20090. Node277_1lineStart = (Node277_1width - (ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  20091. } else if (Node277_1align === 'center') {
  20092. Node277_1textStart = -3;
  20093. Node277_1textWidth = Node277_1width;
  20094. Node277_1lineStart = Node277_1width - ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width - 11;
  20095. }
  20096. })();
  20097. Node277_1.setImage(GD.getTextJSON(Node277_1width, Node277_1height, true, false, false, ' '+ Node277_1fontSize + 'px "Arial"'))
  20098. Node277_1.setPosition(333*ratio.ratioX, 433*ratio.ratioY);
  20099. Node277_1.setWidth(Node277_1width);
  20100. Node277_1.setHeight(Node277_1height);
  20101. Node277_1._nodeType = 'text';
  20102. Node277_1._disallowEvert = true;
  20103. Node277_1.setRotation(0*Math.PI/180);
  20104. Node277_1.a('node.width', Node277_1width);
  20105. Node277_1.a('node.height', Node277_1height);
  20106. Node277_1.a('node.rect', [0, 0, Node277_1width, Node277_1height]);
  20107. Node277_1.a('node.bordercolor','rgba(0,0,0,1)');
  20108. Node277_1.a('node.borderwidth', 0);
  20109. Node277_1.a('node.background','' || 'rgba(0,0,0,0)');
  20110. Node277_1.a('node.gradient','');
  20111. Node277_1.a('node.gradientcolor','');
  20112. Node277_1.a('node.text','风机台数');
  20113. Node277_1.a('node.textalign','left');
  20114. Node277_1.a('node.textvAlign','middle');
  20115. Node277_1.a('node.textrect', [Node277_1textStart, 0, Node277_1textWidth, Node277_1height]);
  20116. Node277_1.a('node.color','rgba(0,0,0,1)');
  20117. Node277_1.a('node.font',' '+ Node277_1fontSize + 'px "Arial"');
  20118. Node277_1.a('node.textvisible',true);
  20119. Node277_1.a('node.linefeed',false);
  20120. if (false) {
  20121. Node277_1.a('node.textfunc',function(g) {
  20122. g.beginPath();
  20123. var str=Node277_1.a('node.text') || '风机台数';
  20124. var color=Node277_1.a('node.color') || 'rgba(0,0,0,1)';
  20125. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_1width,Node277_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_1fontSize + 'px "Arial"', 0,g);
  20126. });
  20127. }
  20128. if (false) {
  20129. Node277_1.a('node.underlinepoints',[Node277_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width + 6, (Node277_1height - Node277_1fontSize) * 0.5*_ratio.ratioY + Node277_1fontSize + 2 ]);
  20130. Node277_1.a('node.underlinevisible',false);
  20131. Node277_1.a('node.underlineBorderWidth', 1);
  20132. }
  20133. dataModel.add(Node277_1);
  20134. zoomNodeList.push({
  20135. node: Node277_1,
  20136. borderWidth: 0,
  20137. attr: 'node.borderwidth'
  20138. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20139. var Node277_2 = new ht.Node();
  20140. var Node277_2textStart, Node277_2textWidth, Node277_2lineStart, Node277_2align = 'left', Node277_2fontSize = 10.66664*_ratio.ratioY,Node277_2width = 22*_ratio.ratioX, Node277_2height = 27*_ratio.ratioY;
  20141. (function () {
  20142. if (Node277_2align === 'left') {
  20143. Node277_2textStart = Node277_2fontSize * 0.2 > 2 ? Node277_2fontSize * 0.2 - 4 : Node277_2fontSize * 0.2 - 9;
  20144. Node277_2textWidth = Node277_2width;
  20145. Node277_2lineStart = 1;
  20146. } else if (Node277_2align === 'right') {
  20147. Node277_2textStart = 0;
  20148. Node277_2textWidth =Node277_2fontSize <= 8 ? Node277_2width + Node277_2fontSize * 0.2 + 6 : Node277_2width - Node277_2fontSize * 0.2;
  20149. Node277_2lineStart = (Node277_2width - (ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  20150. } else if (Node277_2align === 'center') {
  20151. Node277_2textStart = -3;
  20152. Node277_2textWidth = Node277_2width;
  20153. Node277_2lineStart = Node277_2width - ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width - 11;
  20154. }
  20155. })();
  20156. Node277_2.setImage(GD.getTextJSON(Node277_2width, Node277_2height, true, false, false, ' '+ Node277_2fontSize + 'px "Arial"'))
  20157. Node277_2.setPosition(371*ratio.ratioX, 433*ratio.ratioY);
  20158. Node277_2.setWidth(Node277_2width);
  20159. Node277_2.setHeight(Node277_2height);
  20160. Node277_2._nodeType = 'text';
  20161. Node277_2._disallowEvert = true;
  20162. Node277_2.setRotation(0*Math.PI/180);
  20163. Node277_2.a('node.width', Node277_2width);
  20164. Node277_2.a('node.height', Node277_2height);
  20165. Node277_2.a('node.rect', [0, 0, Node277_2width, Node277_2height]);
  20166. Node277_2.a('node.bordercolor','rgba(192,0,0,1)');
  20167. Node277_2.a('node.borderwidth', 0);
  20168. Node277_2.a('node.background','' || 'rgba(0,0,0,0)');
  20169. Node277_2.a('node.gradient','');
  20170. Node277_2.a('node.gradientcolor','');
  20171. Node277_2.a('node.text','99');
  20172. Node277_2.a('node.textalign','left');
  20173. Node277_2.a('node.textvAlign','middle');
  20174. Node277_2.a('node.textrect', [Node277_2textStart, 0, Node277_2textWidth, Node277_2height]);
  20175. Node277_2.a('node.color','rgba(192,0,0,1)');
  20176. Node277_2.a('node.font',' '+ Node277_2fontSize + 'px "Arial"');
  20177. Node277_2.a('node.textvisible',true);
  20178. Node277_2.a('node.linefeed',false);
  20179. if (false) {
  20180. Node277_2.a('node.textfunc',function(g) {
  20181. g.beginPath();
  20182. var str=Node277_2.a('node.text') || '99';
  20183. var color=Node277_2.a('node.color') || 'rgba(192,0,0,1)';
  20184. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_2width,Node277_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_2fontSize + 'px "Arial"', 0,g);
  20185. });
  20186. }
  20187. if (false) {
  20188. Node277_2.a('node.underlinepoints',[Node277_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width + 6, (Node277_2height - Node277_2fontSize) * 0.5*_ratio.ratioY + Node277_2fontSize + 2 ]);
  20189. Node277_2.a('node.underlinevisible',false);
  20190. Node277_2.a('node.underlineBorderWidth', 1);
  20191. }
  20192. dataModel.add(Node277_2);
  20193. zoomNodeList.push({
  20194. node: Node277_2,
  20195. borderWidth: 0,
  20196. attr: 'node.borderwidth'
  20197. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20198. var Node277_3 = new ht.Node();
  20199. var Node277_3textStart, Node277_3textWidth, Node277_3lineStart, Node277_3align = 'left', Node277_3fontSize = 10.66664*_ratio.ratioY,Node277_3width = 43*_ratio.ratioX, Node277_3height = 27*_ratio.ratioY;
  20200. (function () {
  20201. if (Node277_3align === 'left') {
  20202. Node277_3textStart = Node277_3fontSize * 0.2 > 2 ? Node277_3fontSize * 0.2 - 4 : Node277_3fontSize * 0.2 - 9;
  20203. Node277_3textWidth = Node277_3width;
  20204. Node277_3lineStart = 1;
  20205. } else if (Node277_3align === 'right') {
  20206. Node277_3textStart = 0;
  20207. Node277_3textWidth =Node277_3fontSize <= 8 ? Node277_3width + Node277_3fontSize * 0.2 + 6 : Node277_3width - Node277_3fontSize * 0.2;
  20208. Node277_3lineStart = (Node277_3width - (ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  20209. } else if (Node277_3align === 'center') {
  20210. Node277_3textStart = -3;
  20211. Node277_3textWidth = Node277_3width;
  20212. Node277_3lineStart = Node277_3width - ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width - 11;
  20213. }
  20214. })();
  20215. Node277_3.setImage(GD.getTextJSON(Node277_3width, Node277_3height, true, false, false, ' '+ Node277_3fontSize + 'px "Arial"'))
  20216. Node277_3.setPosition(418*ratio.ratioX, 433*ratio.ratioY);
  20217. Node277_3.setWidth(Node277_3width);
  20218. Node277_3.setHeight(Node277_3height);
  20219. Node277_3._nodeType = 'text';
  20220. Node277_3._disallowEvert = true;
  20221. Node277_3.setRotation(0*Math.PI/180);
  20222. Node277_3.a('node.width', Node277_3width);
  20223. Node277_3.a('node.height', Node277_3height);
  20224. Node277_3.a('node.rect', [0, 0, Node277_3width, Node277_3height]);
  20225. Node277_3.a('node.bordercolor','rgba(0,0,0,1)');
  20226. Node277_3.a('node.borderwidth', 0);
  20227. Node277_3.a('node.background','' || 'rgba(0,0,0,0)');
  20228. Node277_3.a('node.gradient','');
  20229. Node277_3.a('node.gradientcolor','');
  20230. Node277_3.a('node.text','万kwh');
  20231. Node277_3.a('node.textalign','left');
  20232. Node277_3.a('node.textvAlign','middle');
  20233. Node277_3.a('node.textrect', [Node277_3textStart, 0, Node277_3textWidth, Node277_3height]);
  20234. Node277_3.a('node.color','rgba(0,0,0,1)');
  20235. Node277_3.a('node.font',' '+ Node277_3fontSize + 'px "Arial"');
  20236. Node277_3.a('node.textvisible',true);
  20237. Node277_3.a('node.linefeed',false);
  20238. if (false) {
  20239. Node277_3.a('node.textfunc',function(g) {
  20240. g.beginPath();
  20241. var str=Node277_3.a('node.text') || '万kwh';
  20242. var color=Node277_3.a('node.color') || 'rgba(0,0,0,1)';
  20243. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_3width,Node277_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_3fontSize + 'px "Arial"', 0,g);
  20244. });
  20245. }
  20246. if (false) {
  20247. Node277_3.a('node.underlinepoints',[Node277_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width + 6, (Node277_3height - Node277_3fontSize) * 0.5*_ratio.ratioY + Node277_3fontSize + 2 ]);
  20248. Node277_3.a('node.underlinevisible',false);
  20249. Node277_3.a('node.underlineBorderWidth', 1);
  20250. }
  20251. dataModel.add(Node277_3);
  20252. zoomNodeList.push({
  20253. node: Node277_3,
  20254. borderWidth: 0,
  20255. attr: 'node.borderwidth'
  20256. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20257. var Node277_4 = new ht.Node();
  20258. var Node277_4textStart, Node277_4textWidth, Node277_4lineStart, Node277_4align = 'left', Node277_4fontSize = 10.66664*_ratio.ratioY,Node277_4width = 72*_ratio.ratioX, Node277_4height = 27*_ratio.ratioY;
  20259. (function () {
  20260. if (Node277_4align === 'left') {
  20261. Node277_4textStart = Node277_4fontSize * 0.2 > 2 ? Node277_4fontSize * 0.2 - 4 : Node277_4fontSize * 0.2 - 9;
  20262. Node277_4textWidth = Node277_4width;
  20263. Node277_4lineStart = 1;
  20264. } else if (Node277_4align === 'right') {
  20265. Node277_4textStart = 0;
  20266. Node277_4textWidth =Node277_4fontSize <= 8 ? Node277_4width + Node277_4fontSize * 0.2 + 6 : Node277_4width - Node277_4fontSize * 0.2;
  20267. Node277_4lineStart = (Node277_4width - (ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  20268. } else if (Node277_4align === 'center') {
  20269. Node277_4textStart = -3;
  20270. Node277_4textWidth = Node277_4width;
  20271. Node277_4lineStart = Node277_4width - ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width - 11;
  20272. }
  20273. })();
  20274. Node277_4.setImage(GD.getTextJSON(Node277_4width, Node277_4height, true, false, false, ' '+ Node277_4fontSize + 'px "Arial"'))
  20275. Node277_4.setPosition(333*ratio.ratioX, 459*ratio.ratioY);
  20276. Node277_4.setWidth(Node277_4width);
  20277. Node277_4.setHeight(Node277_4height);
  20278. Node277_4._nodeType = 'text';
  20279. Node277_4._disallowEvert = true;
  20280. Node277_4.setRotation(0*Math.PI/180);
  20281. Node277_4.a('node.width', Node277_4width);
  20282. Node277_4.a('node.height', Node277_4height);
  20283. Node277_4.a('node.rect', [0, 0, Node277_4width, Node277_4height]);
  20284. Node277_4.a('node.bordercolor','rgba(0,0,0,1)');
  20285. Node277_4.a('node.borderwidth', 0);
  20286. Node277_4.a('node.background','' || 'rgba(0,0,0,0)');
  20287. Node277_4.a('node.gradient','');
  20288. Node277_4.a('node.gradientcolor','');
  20289. Node277_4.a('node.text','装机容量');
  20290. Node277_4.a('node.textalign','left');
  20291. Node277_4.a('node.textvAlign','middle');
  20292. Node277_4.a('node.textrect', [Node277_4textStart, 0, Node277_4textWidth, Node277_4height]);
  20293. Node277_4.a('node.color','rgba(0,0,0,1)');
  20294. Node277_4.a('node.font',' '+ Node277_4fontSize + 'px "Arial"');
  20295. Node277_4.a('node.textvisible',true);
  20296. Node277_4.a('node.linefeed',false);
  20297. if (false) {
  20298. Node277_4.a('node.textfunc',function(g) {
  20299. g.beginPath();
  20300. var str=Node277_4.a('node.text') || '装机容量';
  20301. var color=Node277_4.a('node.color') || 'rgba(0,0,0,1)';
  20302. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_4width,Node277_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_4fontSize + 'px "Arial"', 0,g);
  20303. });
  20304. }
  20305. if (false) {
  20306. Node277_4.a('node.underlinepoints',[Node277_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width + 6, (Node277_4height - Node277_4fontSize) * 0.5*_ratio.ratioY + Node277_4fontSize + 2 ]);
  20307. Node277_4.a('node.underlinevisible',false);
  20308. Node277_4.a('node.underlineBorderWidth', 1);
  20309. }
  20310. dataModel.add(Node277_4);
  20311. zoomNodeList.push({
  20312. node: Node277_4,
  20313. borderWidth: 0,
  20314. attr: 'node.borderwidth'
  20315. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20316. var Node277_5 = new ht.Node();
  20317. var Node277_5textStart, Node277_5textWidth, Node277_5lineStart, Node277_5align = 'left', Node277_5fontSize = 10.66664*_ratio.ratioY,Node277_5width = 31*_ratio.ratioX, Node277_5height = 27*_ratio.ratioY;
  20318. (function () {
  20319. if (Node277_5align === 'left') {
  20320. Node277_5textStart = Node277_5fontSize * 0.2 > 2 ? Node277_5fontSize * 0.2 - 4 : Node277_5fontSize * 0.2 - 9;
  20321. Node277_5textWidth = Node277_5width;
  20322. Node277_5lineStart = 1;
  20323. } else if (Node277_5align === 'right') {
  20324. Node277_5textStart = 0;
  20325. Node277_5textWidth =Node277_5fontSize <= 8 ? Node277_5width + Node277_5fontSize * 0.2 + 6 : Node277_5width - Node277_5fontSize * 0.2;
  20326. Node277_5lineStart = (Node277_5width - (ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  20327. } else if (Node277_5align === 'center') {
  20328. Node277_5textStart = -3;
  20329. Node277_5textWidth = Node277_5width;
  20330. Node277_5lineStart = Node277_5width - ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width - 11;
  20331. }
  20332. })();
  20333. Node277_5.setImage(GD.getTextJSON(Node277_5width, Node277_5height, true, false, false, ' '+ Node277_5fontSize + 'px "Arial"'))
  20334. Node277_5.setPosition(376*ratio.ratioX, 459*ratio.ratioY);
  20335. Node277_5.setWidth(Node277_5width);
  20336. Node277_5.setHeight(Node277_5height);
  20337. Node277_5._nodeType = 'text';
  20338. Node277_5._disallowEvert = true;
  20339. Node277_5.setRotation(0*Math.PI/180);
  20340. Node277_5.a('node.width', Node277_5width);
  20341. Node277_5.a('node.height', Node277_5height);
  20342. Node277_5.a('node.rect', [0, 0, Node277_5width, Node277_5height]);
  20343. Node277_5.a('node.bordercolor','rgba(192,0,0,1)');
  20344. Node277_5.a('node.borderwidth', 0);
  20345. Node277_5.a('node.background','' || 'rgba(0,0,0,0)');
  20346. Node277_5.a('node.gradient','');
  20347. Node277_5.a('node.gradientcolor','');
  20348. Node277_5.a('node.text','14.85');
  20349. Node277_5.a('node.textalign','left');
  20350. Node277_5.a('node.textvAlign','middle');
  20351. Node277_5.a('node.textrect', [Node277_5textStart, 0, Node277_5textWidth, Node277_5height]);
  20352. Node277_5.a('node.color','rgba(192,0,0,1)');
  20353. Node277_5.a('node.font',' '+ Node277_5fontSize + 'px "Arial"');
  20354. Node277_5.a('node.textvisible',true);
  20355. Node277_5.a('node.linefeed',false);
  20356. if (false) {
  20357. Node277_5.a('node.textfunc',function(g) {
  20358. g.beginPath();
  20359. var str=Node277_5.a('node.text') || '14.85';
  20360. var color=Node277_5.a('node.color') || 'rgba(192,0,0,1)';
  20361. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_5width,Node277_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_5fontSize + 'px "Arial"', 0,g);
  20362. });
  20363. }
  20364. if (false) {
  20365. Node277_5.a('node.underlinepoints',[Node277_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width + 6, (Node277_5height - Node277_5fontSize) * 0.5*_ratio.ratioY + Node277_5fontSize + 2 ]);
  20366. Node277_5.a('node.underlinevisible',false);
  20367. Node277_5.a('node.underlineBorderWidth', 1);
  20368. }
  20369. dataModel.add(Node277_5);
  20370. zoomNodeList.push({
  20371. node: Node277_5,
  20372. borderWidth: 0,
  20373. attr: 'node.borderwidth'
  20374. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20375. var Node277_6 = new ht.Node();
  20376. var Node277_6textStart, Node277_6textWidth, Node277_6lineStart, Node277_6align = 'left', Node277_6fontSize = 10.66664*_ratio.ratioY,Node277_6width = 43*_ratio.ratioX, Node277_6height = 27*_ratio.ratioY;
  20377. (function () {
  20378. if (Node277_6align === 'left') {
  20379. Node277_6textStart = Node277_6fontSize * 0.2 > 2 ? Node277_6fontSize * 0.2 - 4 : Node277_6fontSize * 0.2 - 9;
  20380. Node277_6textWidth = Node277_6width;
  20381. Node277_6lineStart = 1;
  20382. } else if (Node277_6align === 'right') {
  20383. Node277_6textStart = 0;
  20384. Node277_6textWidth =Node277_6fontSize <= 8 ? Node277_6width + Node277_6fontSize * 0.2 + 6 : Node277_6width - Node277_6fontSize * 0.2;
  20385. Node277_6lineStart = (Node277_6width - (ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  20386. } else if (Node277_6align === 'center') {
  20387. Node277_6textStart = -3;
  20388. Node277_6textWidth = Node277_6width;
  20389. Node277_6lineStart = Node277_6width - ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width - 11;
  20390. }
  20391. })();
  20392. Node277_6.setImage(GD.getTextJSON(Node277_6width, Node277_6height, true, false, false, ' '+ Node277_6fontSize + 'px "Arial"'))
  20393. Node277_6.setPosition(418*ratio.ratioX, 459*ratio.ratioY);
  20394. Node277_6.setWidth(Node277_6width);
  20395. Node277_6.setHeight(Node277_6height);
  20396. Node277_6._nodeType = 'text';
  20397. Node277_6._disallowEvert = true;
  20398. Node277_6.setRotation(0*Math.PI/180);
  20399. Node277_6.a('node.width', Node277_6width);
  20400. Node277_6.a('node.height', Node277_6height);
  20401. Node277_6.a('node.rect', [0, 0, Node277_6width, Node277_6height]);
  20402. Node277_6.a('node.bordercolor','rgba(0,0,0,1)');
  20403. Node277_6.a('node.borderwidth', 0);
  20404. Node277_6.a('node.background','' || 'rgba(0,0,0,0)');
  20405. Node277_6.a('node.gradient','');
  20406. Node277_6.a('node.gradientcolor','');
  20407. Node277_6.a('node.text','万kwh');
  20408. Node277_6.a('node.textalign','left');
  20409. Node277_6.a('node.textvAlign','middle');
  20410. Node277_6.a('node.textrect', [Node277_6textStart, 0, Node277_6textWidth, Node277_6height]);
  20411. Node277_6.a('node.color','rgba(0,0,0,1)');
  20412. Node277_6.a('node.font',' '+ Node277_6fontSize + 'px "Arial"');
  20413. Node277_6.a('node.textvisible',true);
  20414. Node277_6.a('node.linefeed',false);
  20415. if (false) {
  20416. Node277_6.a('node.textfunc',function(g) {
  20417. g.beginPath();
  20418. var str=Node277_6.a('node.text') || '万kwh';
  20419. var color=Node277_6.a('node.color') || 'rgba(0,0,0,1)';
  20420. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_6width,Node277_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_6fontSize + 'px "Arial"', 0,g);
  20421. });
  20422. }
  20423. if (false) {
  20424. Node277_6.a('node.underlinepoints',[Node277_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width + 6, (Node277_6height - Node277_6fontSize) * 0.5*_ratio.ratioY + Node277_6fontSize + 2 ]);
  20425. Node277_6.a('node.underlinevisible',false);
  20426. Node277_6.a('node.underlineBorderWidth', 1);
  20427. }
  20428. dataModel.add(Node277_6);
  20429. zoomNodeList.push({
  20430. node: Node277_6,
  20431. borderWidth: 0,
  20432. attr: 'node.borderwidth'
  20433. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20434. var Node277_7 = new ht.Node();
  20435. var Node277_7textStart, Node277_7textWidth, Node277_7lineStart, Node277_7align = 'left', Node277_7fontSize = 10.66664*_ratio.ratioY,Node277_7width = 72*_ratio.ratioX, Node277_7height = 27*_ratio.ratioY;
  20436. (function () {
  20437. if (Node277_7align === 'left') {
  20438. Node277_7textStart = Node277_7fontSize * 0.2 > 2 ? Node277_7fontSize * 0.2 - 4 : Node277_7fontSize * 0.2 - 9;
  20439. Node277_7textWidth = Node277_7width;
  20440. Node277_7lineStart = 1;
  20441. } else if (Node277_7align === 'right') {
  20442. Node277_7textStart = 0;
  20443. Node277_7textWidth =Node277_7fontSize <= 8 ? Node277_7width + Node277_7fontSize * 0.2 + 6 : Node277_7width - Node277_7fontSize * 0.2;
  20444. Node277_7lineStart = (Node277_7width - (ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  20445. } else if (Node277_7align === 'center') {
  20446. Node277_7textStart = -3;
  20447. Node277_7textWidth = Node277_7width;
  20448. Node277_7lineStart = Node277_7width - ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width - 11;
  20449. }
  20450. })();
  20451. Node277_7.setImage(GD.getTextJSON(Node277_7width, Node277_7height, true, false, false, ' '+ Node277_7fontSize + 'px "Arial"'))
  20452. Node277_7.setPosition(333*ratio.ratioX, 484*ratio.ratioY);
  20453. Node277_7.setWidth(Node277_7width);
  20454. Node277_7.setHeight(Node277_7height);
  20455. Node277_7._nodeType = 'text';
  20456. Node277_7._disallowEvert = true;
  20457. Node277_7.setRotation(0*Math.PI/180);
  20458. Node277_7.a('node.width', Node277_7width);
  20459. Node277_7.a('node.height', Node277_7height);
  20460. Node277_7.a('node.rect', [0, 0, Node277_7width, Node277_7height]);
  20461. Node277_7.a('node.bordercolor','rgba(0,0,0,1)');
  20462. Node277_7.a('node.borderwidth', 0);
  20463. Node277_7.a('node.background','' || 'rgba(0,0,0,0)');
  20464. Node277_7.a('node.gradient','');
  20465. Node277_7.a('node.gradientcolor','');
  20466. Node277_7.a('node.text','平均风速');
  20467. Node277_7.a('node.textalign','left');
  20468. Node277_7.a('node.textvAlign','middle');
  20469. Node277_7.a('node.textrect', [Node277_7textStart, 0, Node277_7textWidth, Node277_7height]);
  20470. Node277_7.a('node.color','rgba(0,0,0,1)');
  20471. Node277_7.a('node.font',' '+ Node277_7fontSize + 'px "Arial"');
  20472. Node277_7.a('node.textvisible',true);
  20473. Node277_7.a('node.linefeed',false);
  20474. if (false) {
  20475. Node277_7.a('node.textfunc',function(g) {
  20476. g.beginPath();
  20477. var str=Node277_7.a('node.text') || '平均风速';
  20478. var color=Node277_7.a('node.color') || 'rgba(0,0,0,1)';
  20479. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_7width,Node277_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_7fontSize + 'px "Arial"', 0,g);
  20480. });
  20481. }
  20482. if (false) {
  20483. Node277_7.a('node.underlinepoints',[Node277_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width + 6, (Node277_7height - Node277_7fontSize) * 0.5*_ratio.ratioY + Node277_7fontSize + 2 ]);
  20484. Node277_7.a('node.underlinevisible',false);
  20485. Node277_7.a('node.underlineBorderWidth', 1);
  20486. }
  20487. dataModel.add(Node277_7);
  20488. zoomNodeList.push({
  20489. node: Node277_7,
  20490. borderWidth: 0,
  20491. attr: 'node.borderwidth'
  20492. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20493. var Node277_8 = new ht.Node();
  20494. var Node277_8textStart, Node277_8textWidth, Node277_8lineStart, Node277_8align = 'left', Node277_8fontSize = 10.66664*_ratio.ratioY,Node277_8width = 22*_ratio.ratioX, Node277_8height = 27*_ratio.ratioY;
  20495. (function () {
  20496. if (Node277_8align === 'left') {
  20497. Node277_8textStart = Node277_8fontSize * 0.2 > 2 ? Node277_8fontSize * 0.2 - 4 : Node277_8fontSize * 0.2 - 9;
  20498. Node277_8textWidth = Node277_8width;
  20499. Node277_8lineStart = 1;
  20500. } else if (Node277_8align === 'right') {
  20501. Node277_8textStart = 0;
  20502. Node277_8textWidth =Node277_8fontSize <= 8 ? Node277_8width + Node277_8fontSize * 0.2 + 6 : Node277_8width - Node277_8fontSize * 0.2;
  20503. Node277_8lineStart = (Node277_8width - (ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  20504. } else if (Node277_8align === 'center') {
  20505. Node277_8textStart = -3;
  20506. Node277_8textWidth = Node277_8width;
  20507. Node277_8lineStart = Node277_8width - ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width - 11;
  20508. }
  20509. })();
  20510. Node277_8.setImage(GD.getTextJSON(Node277_8width, Node277_8height, true, false, false, ' '+ Node277_8fontSize + 'px "Arial"'))
  20511. Node277_8.setPosition(371*ratio.ratioX, 484*ratio.ratioY);
  20512. Node277_8.setWidth(Node277_8width);
  20513. Node277_8.setHeight(Node277_8height);
  20514. Node277_8._nodeType = 'text';
  20515. Node277_8._disallowEvert = true;
  20516. Node277_8.setRotation(0*Math.PI/180);
  20517. Node277_8.a('node.width', Node277_8width);
  20518. Node277_8.a('node.height', Node277_8height);
  20519. Node277_8.a('node.rect', [0, 0, Node277_8width, Node277_8height]);
  20520. Node277_8.a('node.bordercolor','rgba(192,0,0,1)');
  20521. Node277_8.a('node.borderwidth', 0);
  20522. Node277_8.a('node.background','' || 'rgba(0,0,0,0)');
  20523. Node277_8.a('node.gradient','');
  20524. Node277_8.a('node.gradientcolor','');
  20525. Node277_8.a('node.text','-');
  20526. Node277_8.a('node.textalign','left');
  20527. Node277_8.a('node.textvAlign','middle');
  20528. Node277_8.a('node.textrect', [Node277_8textStart, 0, Node277_8textWidth, Node277_8height]);
  20529. Node277_8.a('node.color','rgba(192,0,0,1)');
  20530. Node277_8.a('node.font',' '+ Node277_8fontSize + 'px "Arial"');
  20531. Node277_8.a('node.textvisible',true);
  20532. Node277_8.a('node.linefeed',false);
  20533. if (false) {
  20534. Node277_8.a('node.textfunc',function(g) {
  20535. g.beginPath();
  20536. var str=Node277_8.a('node.text') || '-';
  20537. var color=Node277_8.a('node.color') || 'rgba(192,0,0,1)';
  20538. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_8width,Node277_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_8fontSize + 'px "Arial"', 0,g);
  20539. });
  20540. }
  20541. if (false) {
  20542. Node277_8.a('node.underlinepoints',[Node277_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width + 6, (Node277_8height - Node277_8fontSize) * 0.5*_ratio.ratioY + Node277_8fontSize + 2 ]);
  20543. Node277_8.a('node.underlinevisible',false);
  20544. Node277_8.a('node.underlineBorderWidth', 1);
  20545. }
  20546. dataModel.add(Node277_8);
  20547. zoomNodeList.push({
  20548. node: Node277_8,
  20549. borderWidth: 0,
  20550. attr: 'node.borderwidth'
  20551. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20552. var Node277_9 = new ht.Node();
  20553. var Node277_9textStart, Node277_9textWidth, Node277_9lineStart, Node277_9align = 'left', Node277_9fontSize = 10.66664*_ratio.ratioY,Node277_9width = 43*_ratio.ratioX, Node277_9height = 27*_ratio.ratioY;
  20554. (function () {
  20555. if (Node277_9align === 'left') {
  20556. Node277_9textStart = Node277_9fontSize * 0.2 > 2 ? Node277_9fontSize * 0.2 - 4 : Node277_9fontSize * 0.2 - 9;
  20557. Node277_9textWidth = Node277_9width;
  20558. Node277_9lineStart = 1;
  20559. } else if (Node277_9align === 'right') {
  20560. Node277_9textStart = 0;
  20561. Node277_9textWidth =Node277_9fontSize <= 8 ? Node277_9width + Node277_9fontSize * 0.2 + 6 : Node277_9width - Node277_9fontSize * 0.2;
  20562. Node277_9lineStart = (Node277_9width - (ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  20563. } else if (Node277_9align === 'center') {
  20564. Node277_9textStart = -3;
  20565. Node277_9textWidth = Node277_9width;
  20566. Node277_9lineStart = Node277_9width - ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width - 11;
  20567. }
  20568. })();
  20569. Node277_9.setImage(GD.getTextJSON(Node277_9width, Node277_9height, true, false, false, ' '+ Node277_9fontSize + 'px "Arial"'))
  20570. Node277_9.setPosition(418*ratio.ratioX, 484*ratio.ratioY);
  20571. Node277_9.setWidth(Node277_9width);
  20572. Node277_9.setHeight(Node277_9height);
  20573. Node277_9._nodeType = 'text';
  20574. Node277_9._disallowEvert = true;
  20575. Node277_9.setRotation(0*Math.PI/180);
  20576. Node277_9.a('node.width', Node277_9width);
  20577. Node277_9.a('node.height', Node277_9height);
  20578. Node277_9.a('node.rect', [0, 0, Node277_9width, Node277_9height]);
  20579. Node277_9.a('node.bordercolor','rgba(0,0,0,1)');
  20580. Node277_9.a('node.borderwidth', 0);
  20581. Node277_9.a('node.background','' || 'rgba(0,0,0,0)');
  20582. Node277_9.a('node.gradient','');
  20583. Node277_9.a('node.gradientcolor','');
  20584. Node277_9.a('node.text','万kwh');
  20585. Node277_9.a('node.textalign','left');
  20586. Node277_9.a('node.textvAlign','middle');
  20587. Node277_9.a('node.textrect', [Node277_9textStart, 0, Node277_9textWidth, Node277_9height]);
  20588. Node277_9.a('node.color','rgba(0,0,0,1)');
  20589. Node277_9.a('node.font',' '+ Node277_9fontSize + 'px "Arial"');
  20590. Node277_9.a('node.textvisible',true);
  20591. Node277_9.a('node.linefeed',false);
  20592. if (false) {
  20593. Node277_9.a('node.textfunc',function(g) {
  20594. g.beginPath();
  20595. var str=Node277_9.a('node.text') || '万kwh';
  20596. var color=Node277_9.a('node.color') || 'rgba(0,0,0,1)';
  20597. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_9width,Node277_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_9fontSize + 'px "Arial"', 0,g);
  20598. });
  20599. }
  20600. if (false) {
  20601. Node277_9.a('node.underlinepoints',[Node277_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width + 6, (Node277_9height - Node277_9fontSize) * 0.5*_ratio.ratioY + Node277_9fontSize + 2 ]);
  20602. Node277_9.a('node.underlinevisible',false);
  20603. Node277_9.a('node.underlineBorderWidth', 1);
  20604. }
  20605. dataModel.add(Node277_9);
  20606. zoomNodeList.push({
  20607. node: Node277_9,
  20608. borderWidth: 0,
  20609. attr: 'node.borderwidth'
  20610. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20611. var Node277_10 = new ht.Node();
  20612. var Node277_10textStart, Node277_10textWidth, Node277_10lineStart, Node277_10align = 'left', Node277_10fontSize = 10.66664*_ratio.ratioY,Node277_10width = 72*_ratio.ratioX, Node277_10height = 27*_ratio.ratioY;
  20613. (function () {
  20614. if (Node277_10align === 'left') {
  20615. Node277_10textStart = Node277_10fontSize * 0.2 > 2 ? Node277_10fontSize * 0.2 - 4 : Node277_10fontSize * 0.2 - 9;
  20616. Node277_10textWidth = Node277_10width;
  20617. Node277_10lineStart = 1;
  20618. } else if (Node277_10align === 'right') {
  20619. Node277_10textStart = 0;
  20620. Node277_10textWidth =Node277_10fontSize <= 8 ? Node277_10width + Node277_10fontSize * 0.2 + 6 : Node277_10width - Node277_10fontSize * 0.2;
  20621. Node277_10lineStart = (Node277_10width - (ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  20622. } else if (Node277_10align === 'center') {
  20623. Node277_10textStart = -3;
  20624. Node277_10textWidth = Node277_10width;
  20625. Node277_10lineStart = Node277_10width - ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width - 11;
  20626. }
  20627. })();
  20628. Node277_10.setImage(GD.getTextJSON(Node277_10width, Node277_10height, true, false, false, ' '+ Node277_10fontSize + 'px "Arial"'))
  20629. Node277_10.setPosition(333*ratio.ratioX, 510*ratio.ratioY);
  20630. Node277_10.setWidth(Node277_10width);
  20631. Node277_10.setHeight(Node277_10height);
  20632. Node277_10._nodeType = 'text';
  20633. Node277_10._disallowEvert = true;
  20634. Node277_10.setRotation(0*Math.PI/180);
  20635. Node277_10.a('node.width', Node277_10width);
  20636. Node277_10.a('node.height', Node277_10height);
  20637. Node277_10.a('node.rect', [0, 0, Node277_10width, Node277_10height]);
  20638. Node277_10.a('node.bordercolor','rgba(0,0,0,1)');
  20639. Node277_10.a('node.borderwidth', 0);
  20640. Node277_10.a('node.background','' || 'rgba(0,0,0,0)');
  20641. Node277_10.a('node.gradient','');
  20642. Node277_10.a('node.gradientcolor','');
  20643. Node277_10.a('node.text','日发电量');
  20644. Node277_10.a('node.textalign','left');
  20645. Node277_10.a('node.textvAlign','middle');
  20646. Node277_10.a('node.textrect', [Node277_10textStart, 0, Node277_10textWidth, Node277_10height]);
  20647. Node277_10.a('node.color','rgba(0,0,0,1)');
  20648. Node277_10.a('node.font',' '+ Node277_10fontSize + 'px "Arial"');
  20649. Node277_10.a('node.textvisible',true);
  20650. Node277_10.a('node.linefeed',false);
  20651. if (false) {
  20652. Node277_10.a('node.textfunc',function(g) {
  20653. g.beginPath();
  20654. var str=Node277_10.a('node.text') || '日发电量';
  20655. var color=Node277_10.a('node.color') || 'rgba(0,0,0,1)';
  20656. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_10width,Node277_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_10fontSize + 'px "Arial"', 0,g);
  20657. });
  20658. }
  20659. if (false) {
  20660. Node277_10.a('node.underlinepoints',[Node277_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width + 6, (Node277_10height - Node277_10fontSize) * 0.5*_ratio.ratioY + Node277_10fontSize + 2 ]);
  20661. Node277_10.a('node.underlinevisible',false);
  20662. Node277_10.a('node.underlineBorderWidth', 1);
  20663. }
  20664. dataModel.add(Node277_10);
  20665. zoomNodeList.push({
  20666. node: Node277_10,
  20667. borderWidth: 0,
  20668. attr: 'node.borderwidth'
  20669. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20670. var Node277_11 = new ht.Node();
  20671. var Node277_11textStart, Node277_11textWidth, Node277_11lineStart, Node277_11align = 'left', Node277_11fontSize = 10.66664*_ratio.ratioY,Node277_11width = 31*_ratio.ratioX, Node277_11height = 27*_ratio.ratioY;
  20672. (function () {
  20673. if (Node277_11align === 'left') {
  20674. Node277_11textStart = Node277_11fontSize * 0.2 > 2 ? Node277_11fontSize * 0.2 - 4 : Node277_11fontSize * 0.2 - 9;
  20675. Node277_11textWidth = Node277_11width;
  20676. Node277_11lineStart = 1;
  20677. } else if (Node277_11align === 'right') {
  20678. Node277_11textStart = 0;
  20679. Node277_11textWidth =Node277_11fontSize <= 8 ? Node277_11width + Node277_11fontSize * 0.2 + 6 : Node277_11width - Node277_11fontSize * 0.2;
  20680. Node277_11lineStart = (Node277_11width - (ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  20681. } else if (Node277_11align === 'center') {
  20682. Node277_11textStart = -3;
  20683. Node277_11textWidth = Node277_11width;
  20684. Node277_11lineStart = Node277_11width - ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width - 11;
  20685. }
  20686. })();
  20687. Node277_11.setImage(GD.getTextJSON(Node277_11width, Node277_11height, true, false, false, ' '+ Node277_11fontSize + 'px "Arial"'))
  20688. Node277_11.setPosition(376*ratio.ratioX, 510*ratio.ratioY);
  20689. Node277_11.setWidth(Node277_11width);
  20690. Node277_11.setHeight(Node277_11height);
  20691. Node277_11._nodeType = 'text';
  20692. Node277_11._disallowEvert = true;
  20693. Node277_11.setRotation(0*Math.PI/180);
  20694. Node277_11.a('node.width', Node277_11width);
  20695. Node277_11.a('node.height', Node277_11height);
  20696. Node277_11.a('node.rect', [0, 0, Node277_11width, Node277_11height]);
  20697. Node277_11.a('node.bordercolor','rgba(192,0,0,1)');
  20698. Node277_11.a('node.borderwidth', 0);
  20699. Node277_11.a('node.background','' || 'rgba(0,0,0,0)');
  20700. Node277_11.a('node.gradient','');
  20701. Node277_11.a('node.gradientcolor','');
  20702. Node277_11.a('node.text','-');
  20703. Node277_11.a('node.textalign','left');
  20704. Node277_11.a('node.textvAlign','middle');
  20705. Node277_11.a('node.textrect', [Node277_11textStart, 0, Node277_11textWidth, Node277_11height]);
  20706. Node277_11.a('node.color','rgba(192,0,0,1)');
  20707. Node277_11.a('node.font',' '+ Node277_11fontSize + 'px "Arial"');
  20708. Node277_11.a('node.textvisible',true);
  20709. Node277_11.a('node.linefeed',false);
  20710. if (false) {
  20711. Node277_11.a('node.textfunc',function(g) {
  20712. g.beginPath();
  20713. var str=Node277_11.a('node.text') || '-';
  20714. var color=Node277_11.a('node.color') || 'rgba(192,0,0,1)';
  20715. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_11width,Node277_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_11fontSize + 'px "Arial"', 0,g);
  20716. });
  20717. }
  20718. if (false) {
  20719. Node277_11.a('node.underlinepoints',[Node277_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width + 6, (Node277_11height - Node277_11fontSize) * 0.5*_ratio.ratioY + Node277_11fontSize + 2 ]);
  20720. Node277_11.a('node.underlinevisible',false);
  20721. Node277_11.a('node.underlineBorderWidth', 1);
  20722. }
  20723. dataModel.add(Node277_11);
  20724. zoomNodeList.push({
  20725. node: Node277_11,
  20726. borderWidth: 0,
  20727. attr: 'node.borderwidth'
  20728. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20729. var Node277_12 = new ht.Node();
  20730. var Node277_12textStart, Node277_12textWidth, Node277_12lineStart, Node277_12align = 'left', Node277_12fontSize = 10.66664*_ratio.ratioY,Node277_12width = 43*_ratio.ratioX, Node277_12height = 27*_ratio.ratioY;
  20731. (function () {
  20732. if (Node277_12align === 'left') {
  20733. Node277_12textStart = Node277_12fontSize * 0.2 > 2 ? Node277_12fontSize * 0.2 - 4 : Node277_12fontSize * 0.2 - 9;
  20734. Node277_12textWidth = Node277_12width;
  20735. Node277_12lineStart = 1;
  20736. } else if (Node277_12align === 'right') {
  20737. Node277_12textStart = 0;
  20738. Node277_12textWidth =Node277_12fontSize <= 8 ? Node277_12width + Node277_12fontSize * 0.2 + 6 : Node277_12width - Node277_12fontSize * 0.2;
  20739. Node277_12lineStart = (Node277_12width - (ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  20740. } else if (Node277_12align === 'center') {
  20741. Node277_12textStart = -3;
  20742. Node277_12textWidth = Node277_12width;
  20743. Node277_12lineStart = Node277_12width - ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width - 11;
  20744. }
  20745. })();
  20746. Node277_12.setImage(GD.getTextJSON(Node277_12width, Node277_12height, true, false, false, ' '+ Node277_12fontSize + 'px "Arial"'))
  20747. Node277_12.setPosition(418*ratio.ratioX, 510*ratio.ratioY);
  20748. Node277_12.setWidth(Node277_12width);
  20749. Node277_12.setHeight(Node277_12height);
  20750. Node277_12._nodeType = 'text';
  20751. Node277_12._disallowEvert = true;
  20752. Node277_12.setRotation(0*Math.PI/180);
  20753. Node277_12.a('node.width', Node277_12width);
  20754. Node277_12.a('node.height', Node277_12height);
  20755. Node277_12.a('node.rect', [0, 0, Node277_12width, Node277_12height]);
  20756. Node277_12.a('node.bordercolor','rgba(0,0,0,1)');
  20757. Node277_12.a('node.borderwidth', 0);
  20758. Node277_12.a('node.background','' || 'rgba(0,0,0,0)');
  20759. Node277_12.a('node.gradient','');
  20760. Node277_12.a('node.gradientcolor','');
  20761. Node277_12.a('node.text','万kwh');
  20762. Node277_12.a('node.textalign','left');
  20763. Node277_12.a('node.textvAlign','middle');
  20764. Node277_12.a('node.textrect', [Node277_12textStart, 0, Node277_12textWidth, Node277_12height]);
  20765. Node277_12.a('node.color','rgba(0,0,0,1)');
  20766. Node277_12.a('node.font',' '+ Node277_12fontSize + 'px "Arial"');
  20767. Node277_12.a('node.textvisible',true);
  20768. Node277_12.a('node.linefeed',false);
  20769. if (false) {
  20770. Node277_12.a('node.textfunc',function(g) {
  20771. g.beginPath();
  20772. var str=Node277_12.a('node.text') || '万kwh';
  20773. var color=Node277_12.a('node.color') || 'rgba(0,0,0,1)';
  20774. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_12width,Node277_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_12fontSize + 'px "Arial"', 0,g);
  20775. });
  20776. }
  20777. if (false) {
  20778. Node277_12.a('node.underlinepoints',[Node277_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width + 6, (Node277_12height - Node277_12fontSize) * 0.5*_ratio.ratioY + Node277_12fontSize + 2 ]);
  20779. Node277_12.a('node.underlinevisible',false);
  20780. Node277_12.a('node.underlineBorderWidth', 1);
  20781. }
  20782. dataModel.add(Node277_12);
  20783. zoomNodeList.push({
  20784. node: Node277_12,
  20785. borderWidth: 0,
  20786. attr: 'node.borderwidth'
  20787. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20788. var Node277_13 = new ht.Node();
  20789. var Node277_13textStart, Node277_13textWidth, Node277_13lineStart, Node277_13align = 'left', Node277_13fontSize = 10.66664*_ratio.ratioY,Node277_13width = 72*_ratio.ratioX, Node277_13height = 27*_ratio.ratioY;
  20790. (function () {
  20791. if (Node277_13align === 'left') {
  20792. Node277_13textStart = Node277_13fontSize * 0.2 > 2 ? Node277_13fontSize * 0.2 - 4 : Node277_13fontSize * 0.2 - 9;
  20793. Node277_13textWidth = Node277_13width;
  20794. Node277_13lineStart = 1;
  20795. } else if (Node277_13align === 'right') {
  20796. Node277_13textStart = 0;
  20797. Node277_13textWidth =Node277_13fontSize <= 8 ? Node277_13width + Node277_13fontSize * 0.2 + 6 : Node277_13width - Node277_13fontSize * 0.2;
  20798. Node277_13lineStart = (Node277_13width - (ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  20799. } else if (Node277_13align === 'center') {
  20800. Node277_13textStart = -3;
  20801. Node277_13textWidth = Node277_13width;
  20802. Node277_13lineStart = Node277_13width - ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width - 11;
  20803. }
  20804. })();
  20805. Node277_13.setImage(GD.getTextJSON(Node277_13width, Node277_13height, true, false, false, ' '+ Node277_13fontSize + 'px "Arial"'))
  20806. Node277_13.setPosition(333*ratio.ratioX, 537*ratio.ratioY);
  20807. Node277_13.setWidth(Node277_13width);
  20808. Node277_13.setHeight(Node277_13height);
  20809. Node277_13._nodeType = 'text';
  20810. Node277_13._disallowEvert = true;
  20811. Node277_13.setRotation(0*Math.PI/180);
  20812. Node277_13.a('node.width', Node277_13width);
  20813. Node277_13.a('node.height', Node277_13height);
  20814. Node277_13.a('node.rect', [0, 0, Node277_13width, Node277_13height]);
  20815. Node277_13.a('node.bordercolor','rgba(0,0,0,1)');
  20816. Node277_13.a('node.borderwidth', 0);
  20817. Node277_13.a('node.background','' || 'rgba(0,0,0,0)');
  20818. Node277_13.a('node.gradient','');
  20819. Node277_13.a('node.gradientcolor','');
  20820. Node277_13.a('node.text','有功功率');
  20821. Node277_13.a('node.textalign','left');
  20822. Node277_13.a('node.textvAlign','middle');
  20823. Node277_13.a('node.textrect', [Node277_13textStart, 0, Node277_13textWidth, Node277_13height]);
  20824. Node277_13.a('node.color','rgba(0,0,0,1)');
  20825. Node277_13.a('node.font',' '+ Node277_13fontSize + 'px "Arial"');
  20826. Node277_13.a('node.textvisible',true);
  20827. Node277_13.a('node.linefeed',false);
  20828. if (false) {
  20829. Node277_13.a('node.textfunc',function(g) {
  20830. g.beginPath();
  20831. var str=Node277_13.a('node.text') || '有功功率';
  20832. var color=Node277_13.a('node.color') || 'rgba(0,0,0,1)';
  20833. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_13width,Node277_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_13fontSize + 'px "Arial"', 0,g);
  20834. });
  20835. }
  20836. if (false) {
  20837. Node277_13.a('node.underlinepoints',[Node277_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width + 6, (Node277_13height - Node277_13fontSize) * 0.5*_ratio.ratioY + Node277_13fontSize + 2 ]);
  20838. Node277_13.a('node.underlinevisible',false);
  20839. Node277_13.a('node.underlineBorderWidth', 1);
  20840. }
  20841. dataModel.add(Node277_13);
  20842. zoomNodeList.push({
  20843. node: Node277_13,
  20844. borderWidth: 0,
  20845. attr: 'node.borderwidth'
  20846. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20847. var Node277_14 = new ht.Node();
  20848. var Node277_14textStart, Node277_14textWidth, Node277_14lineStart, Node277_14align = 'left', Node277_14fontSize = 10.66664*_ratio.ratioY,Node277_14width = 22*_ratio.ratioX, Node277_14height = 27*_ratio.ratioY;
  20849. (function () {
  20850. if (Node277_14align === 'left') {
  20851. Node277_14textStart = Node277_14fontSize * 0.2 > 2 ? Node277_14fontSize * 0.2 - 4 : Node277_14fontSize * 0.2 - 9;
  20852. Node277_14textWidth = Node277_14width;
  20853. Node277_14lineStart = 1;
  20854. } else if (Node277_14align === 'right') {
  20855. Node277_14textStart = 0;
  20856. Node277_14textWidth =Node277_14fontSize <= 8 ? Node277_14width + Node277_14fontSize * 0.2 + 6 : Node277_14width - Node277_14fontSize * 0.2;
  20857. Node277_14lineStart = (Node277_14width - (ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  20858. } else if (Node277_14align === 'center') {
  20859. Node277_14textStart = -3;
  20860. Node277_14textWidth = Node277_14width;
  20861. Node277_14lineStart = Node277_14width - ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width - 11;
  20862. }
  20863. })();
  20864. Node277_14.setImage(GD.getTextJSON(Node277_14width, Node277_14height, true, false, false, ' '+ Node277_14fontSize + 'px "Arial"'))
  20865. Node277_14.setPosition(371*ratio.ratioX, 537*ratio.ratioY);
  20866. Node277_14.setWidth(Node277_14width);
  20867. Node277_14.setHeight(Node277_14height);
  20868. Node277_14._nodeType = 'text';
  20869. Node277_14._disallowEvert = true;
  20870. Node277_14.setRotation(0*Math.PI/180);
  20871. Node277_14.a('node.width', Node277_14width);
  20872. Node277_14.a('node.height', Node277_14height);
  20873. Node277_14.a('node.rect', [0, 0, Node277_14width, Node277_14height]);
  20874. Node277_14.a('node.bordercolor','rgba(192,0,0,1)');
  20875. Node277_14.a('node.borderwidth', 0);
  20876. Node277_14.a('node.background','' || 'rgba(0,0,0,0)');
  20877. Node277_14.a('node.gradient','');
  20878. Node277_14.a('node.gradientcolor','');
  20879. Node277_14.a('node.text','-');
  20880. Node277_14.a('node.textalign','left');
  20881. Node277_14.a('node.textvAlign','middle');
  20882. Node277_14.a('node.textrect', [Node277_14textStart, 0, Node277_14textWidth, Node277_14height]);
  20883. Node277_14.a('node.color','rgba(192,0,0,1)');
  20884. Node277_14.a('node.font',' '+ Node277_14fontSize + 'px "Arial"');
  20885. Node277_14.a('node.textvisible',true);
  20886. Node277_14.a('node.linefeed',false);
  20887. if (false) {
  20888. Node277_14.a('node.textfunc',function(g) {
  20889. g.beginPath();
  20890. var str=Node277_14.a('node.text') || '-';
  20891. var color=Node277_14.a('node.color') || 'rgba(192,0,0,1)';
  20892. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_14width,Node277_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_14fontSize + 'px "Arial"', 0,g);
  20893. });
  20894. }
  20895. if (false) {
  20896. Node277_14.a('node.underlinepoints',[Node277_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width + 6, (Node277_14height - Node277_14fontSize) * 0.5*_ratio.ratioY + Node277_14fontSize + 2 ]);
  20897. Node277_14.a('node.underlinevisible',false);
  20898. Node277_14.a('node.underlineBorderWidth', 1);
  20899. }
  20900. dataModel.add(Node277_14);
  20901. zoomNodeList.push({
  20902. node: Node277_14,
  20903. borderWidth: 0,
  20904. attr: 'node.borderwidth'
  20905. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20906. var Node277_15 = new ht.Node();
  20907. var Node277_15textStart, Node277_15textWidth, Node277_15lineStart, Node277_15align = 'left', Node277_15fontSize = 10.66664*_ratio.ratioY,Node277_15width = 43*_ratio.ratioX, Node277_15height = 27*_ratio.ratioY;
  20908. (function () {
  20909. if (Node277_15align === 'left') {
  20910. Node277_15textStart = Node277_15fontSize * 0.2 > 2 ? Node277_15fontSize * 0.2 - 4 : Node277_15fontSize * 0.2 - 9;
  20911. Node277_15textWidth = Node277_15width;
  20912. Node277_15lineStart = 1;
  20913. } else if (Node277_15align === 'right') {
  20914. Node277_15textStart = 0;
  20915. Node277_15textWidth =Node277_15fontSize <= 8 ? Node277_15width + Node277_15fontSize * 0.2 + 6 : Node277_15width - Node277_15fontSize * 0.2;
  20916. Node277_15lineStart = (Node277_15width - (ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  20917. } else if (Node277_15align === 'center') {
  20918. Node277_15textStart = -3;
  20919. Node277_15textWidth = Node277_15width;
  20920. Node277_15lineStart = Node277_15width - ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width - 11;
  20921. }
  20922. })();
  20923. Node277_15.setImage(GD.getTextJSON(Node277_15width, Node277_15height, true, false, false, ' '+ Node277_15fontSize + 'px "Arial"'))
  20924. Node277_15.setPosition(418*ratio.ratioX, 537*ratio.ratioY);
  20925. Node277_15.setWidth(Node277_15width);
  20926. Node277_15.setHeight(Node277_15height);
  20927. Node277_15._nodeType = 'text';
  20928. Node277_15._disallowEvert = true;
  20929. Node277_15.setRotation(0*Math.PI/180);
  20930. Node277_15.a('node.width', Node277_15width);
  20931. Node277_15.a('node.height', Node277_15height);
  20932. Node277_15.a('node.rect', [0, 0, Node277_15width, Node277_15height]);
  20933. Node277_15.a('node.bordercolor','rgba(0,0,0,1)');
  20934. Node277_15.a('node.borderwidth', 0);
  20935. Node277_15.a('node.background','' || 'rgba(0,0,0,0)');
  20936. Node277_15.a('node.gradient','');
  20937. Node277_15.a('node.gradientcolor','');
  20938. Node277_15.a('node.text','万kwh');
  20939. Node277_15.a('node.textalign','left');
  20940. Node277_15.a('node.textvAlign','middle');
  20941. Node277_15.a('node.textrect', [Node277_15textStart, 0, Node277_15textWidth, Node277_15height]);
  20942. Node277_15.a('node.color','rgba(0,0,0,1)');
  20943. Node277_15.a('node.font',' '+ Node277_15fontSize + 'px "Arial"');
  20944. Node277_15.a('node.textvisible',true);
  20945. Node277_15.a('node.linefeed',false);
  20946. if (false) {
  20947. Node277_15.a('node.textfunc',function(g) {
  20948. g.beginPath();
  20949. var str=Node277_15.a('node.text') || '万kwh';
  20950. var color=Node277_15.a('node.color') || 'rgba(0,0,0,1)';
  20951. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_15width,Node277_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_15fontSize + 'px "Arial"', 0,g);
  20952. });
  20953. }
  20954. if (false) {
  20955. Node277_15.a('node.underlinepoints',[Node277_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width + 6, (Node277_15height - Node277_15fontSize) * 0.5*_ratio.ratioY + Node277_15fontSize + 2 ]);
  20956. Node277_15.a('node.underlinevisible',false);
  20957. Node277_15.a('node.underlineBorderWidth', 1);
  20958. }
  20959. dataModel.add(Node277_15);
  20960. zoomNodeList.push({
  20961. node: Node277_15,
  20962. borderWidth: 0,
  20963. attr: 'node.borderwidth'
  20964. }); var Node278_0;
  20965. (function () {
  20966. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20967. var ratioX, ratioY;
  20968. if ('Default' === 'False') {
  20969. ratioX = 1;
  20970. ratioY = 1;
  20971. } else if ('Default' === 'X') {
  20972. ratioX = ratioY = _ratio.ratioX;
  20973. } else if ('Default' === 'Y') {
  20974. ratioX = ratioY = _ratio.ratioY;
  20975. } else {
  20976. ratioX = _ratio.ratioX;
  20977. ratioY = _ratio.ratioY;
  20978. }
  20979. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  20980. Node278_0 = new ht.Node();
  20981. Node278_0.setPosition(223*ratio.ratioX, 540*ratio.ratioY);
  20982. Node278_0.setSize(146*ratioX, 141*ratioY);
  20983. Node278_0.setImage('imgimage//img//map_name_03.png');
  20984. Node278_0.setRotation(0*Math.PI/180);
  20985. Node278_0._zoomBy = 'Default';
  20986. Node278_0._nodeType = 'image';
  20987. Node278_0._disallowEvert = true;
  20988. dataModel.add(Node278_0);
  20989. })();
  20990. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  20991. var Node278_1 = new ht.Node();
  20992. var Node278_1textStart, Node278_1textWidth, Node278_1lineStart, Node278_1align = 'left', Node278_1fontSize = 10.66664*_ratio.ratioY,Node278_1width = 72*_ratio.ratioX, Node278_1height = 27*_ratio.ratioY;
  20993. (function () {
  20994. if (Node278_1align === 'left') {
  20995. Node278_1textStart = Node278_1fontSize * 0.2 > 2 ? Node278_1fontSize * 0.2 - 4 : Node278_1fontSize * 0.2 - 9;
  20996. Node278_1textWidth = Node278_1width;
  20997. Node278_1lineStart = 1;
  20998. } else if (Node278_1align === 'right') {
  20999. Node278_1textStart = 0;
  21000. Node278_1textWidth =Node278_1fontSize <= 8 ? Node278_1width + Node278_1fontSize * 0.2 + 6 : Node278_1width - Node278_1fontSize * 0.2;
  21001. Node278_1lineStart = (Node278_1width - (ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  21002. } else if (Node278_1align === 'center') {
  21003. Node278_1textStart = -3;
  21004. Node278_1textWidth = Node278_1width;
  21005. Node278_1lineStart = Node278_1width - ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width - 11;
  21006. }
  21007. })();
  21008. Node278_1.setImage(GD.getTextJSON(Node278_1width, Node278_1height, true, false, false, ' '+ Node278_1fontSize + 'px "Arial"'))
  21009. Node278_1.setPosition(193*ratio.ratioX, 493*ratio.ratioY);
  21010. Node278_1.setWidth(Node278_1width);
  21011. Node278_1.setHeight(Node278_1height);
  21012. Node278_1._nodeType = 'text';
  21013. Node278_1._disallowEvert = true;
  21014. Node278_1.setRotation(0*Math.PI/180);
  21015. Node278_1.a('node.width', Node278_1width);
  21016. Node278_1.a('node.height', Node278_1height);
  21017. Node278_1.a('node.rect', [0, 0, Node278_1width, Node278_1height]);
  21018. Node278_1.a('node.bordercolor','rgba(0,0,0,1)');
  21019. Node278_1.a('node.borderwidth', 0);
  21020. Node278_1.a('node.background','' || 'rgba(0,0,0,0)');
  21021. Node278_1.a('node.gradient','');
  21022. Node278_1.a('node.gradientcolor','');
  21023. Node278_1.a('node.text','风机台数');
  21024. Node278_1.a('node.textalign','left');
  21025. Node278_1.a('node.textvAlign','middle');
  21026. Node278_1.a('node.textrect', [Node278_1textStart, 0, Node278_1textWidth, Node278_1height]);
  21027. Node278_1.a('node.color','rgba(0,0,0,1)');
  21028. Node278_1.a('node.font',' '+ Node278_1fontSize + 'px "Arial"');
  21029. Node278_1.a('node.textvisible',true);
  21030. Node278_1.a('node.linefeed',false);
  21031. if (false) {
  21032. Node278_1.a('node.textfunc',function(g) {
  21033. g.beginPath();
  21034. var str=Node278_1.a('node.text') || '风机台数';
  21035. var color=Node278_1.a('node.color') || 'rgba(0,0,0,1)';
  21036. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_1width,Node278_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_1fontSize + 'px "Arial"', 0,g);
  21037. });
  21038. }
  21039. if (false) {
  21040. Node278_1.a('node.underlinepoints',[Node278_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width + 6, (Node278_1height - Node278_1fontSize) * 0.5*_ratio.ratioY + Node278_1fontSize + 2 ]);
  21041. Node278_1.a('node.underlinevisible',false);
  21042. Node278_1.a('node.underlineBorderWidth', 1);
  21043. }
  21044. dataModel.add(Node278_1);
  21045. zoomNodeList.push({
  21046. node: Node278_1,
  21047. borderWidth: 0,
  21048. attr: 'node.borderwidth'
  21049. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21050. var Node278_2 = new ht.Node();
  21051. var Node278_2textStart, Node278_2textWidth, Node278_2lineStart, Node278_2align = 'left', Node278_2fontSize = 10.66664*_ratio.ratioY,Node278_2width = 22*_ratio.ratioX, Node278_2height = 27*_ratio.ratioY;
  21052. (function () {
  21053. if (Node278_2align === 'left') {
  21054. Node278_2textStart = Node278_2fontSize * 0.2 > 2 ? Node278_2fontSize * 0.2 - 4 : Node278_2fontSize * 0.2 - 9;
  21055. Node278_2textWidth = Node278_2width;
  21056. Node278_2lineStart = 1;
  21057. } else if (Node278_2align === 'right') {
  21058. Node278_2textStart = 0;
  21059. Node278_2textWidth =Node278_2fontSize <= 8 ? Node278_2width + Node278_2fontSize * 0.2 + 6 : Node278_2width - Node278_2fontSize * 0.2;
  21060. Node278_2lineStart = (Node278_2width - (ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  21061. } else if (Node278_2align === 'center') {
  21062. Node278_2textStart = -3;
  21063. Node278_2textWidth = Node278_2width;
  21064. Node278_2lineStart = Node278_2width - ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width - 11;
  21065. }
  21066. })();
  21067. Node278_2.setImage(GD.getTextJSON(Node278_2width, Node278_2height, true, false, false, ' '+ Node278_2fontSize + 'px "Arial"'))
  21068. Node278_2.setPosition(231*ratio.ratioX, 493*ratio.ratioY);
  21069. Node278_2.setWidth(Node278_2width);
  21070. Node278_2.setHeight(Node278_2height);
  21071. Node278_2._nodeType = 'text';
  21072. Node278_2._disallowEvert = true;
  21073. Node278_2.setRotation(0*Math.PI/180);
  21074. Node278_2.a('node.width', Node278_2width);
  21075. Node278_2.a('node.height', Node278_2height);
  21076. Node278_2.a('node.rect', [0, 0, Node278_2width, Node278_2height]);
  21077. Node278_2.a('node.bordercolor','rgba(192,0,0,1)');
  21078. Node278_2.a('node.borderwidth', 0);
  21079. Node278_2.a('node.background','' || 'rgba(0,0,0,0)');
  21080. Node278_2.a('node.gradient','');
  21081. Node278_2.a('node.gradientcolor','');
  21082. Node278_2.a('node.text','99');
  21083. Node278_2.a('node.textalign','left');
  21084. Node278_2.a('node.textvAlign','middle');
  21085. Node278_2.a('node.textrect', [Node278_2textStart, 0, Node278_2textWidth, Node278_2height]);
  21086. Node278_2.a('node.color','rgba(192,0,0,1)');
  21087. Node278_2.a('node.font',' '+ Node278_2fontSize + 'px "Arial"');
  21088. Node278_2.a('node.textvisible',true);
  21089. Node278_2.a('node.linefeed',false);
  21090. if (false) {
  21091. Node278_2.a('node.textfunc',function(g) {
  21092. g.beginPath();
  21093. var str=Node278_2.a('node.text') || '99';
  21094. var color=Node278_2.a('node.color') || 'rgba(192,0,0,1)';
  21095. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_2width,Node278_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_2fontSize + 'px "Arial"', 0,g);
  21096. });
  21097. }
  21098. if (false) {
  21099. Node278_2.a('node.underlinepoints',[Node278_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width + 6, (Node278_2height - Node278_2fontSize) * 0.5*_ratio.ratioY + Node278_2fontSize + 2 ]);
  21100. Node278_2.a('node.underlinevisible',false);
  21101. Node278_2.a('node.underlineBorderWidth', 1);
  21102. }
  21103. dataModel.add(Node278_2);
  21104. zoomNodeList.push({
  21105. node: Node278_2,
  21106. borderWidth: 0,
  21107. attr: 'node.borderwidth'
  21108. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21109. var Node278_3 = new ht.Node();
  21110. var Node278_3textStart, Node278_3textWidth, Node278_3lineStart, Node278_3align = 'left', Node278_3fontSize = 10.66664*_ratio.ratioY,Node278_3width = 43*_ratio.ratioX, Node278_3height = 27*_ratio.ratioY;
  21111. (function () {
  21112. if (Node278_3align === 'left') {
  21113. Node278_3textStart = Node278_3fontSize * 0.2 > 2 ? Node278_3fontSize * 0.2 - 4 : Node278_3fontSize * 0.2 - 9;
  21114. Node278_3textWidth = Node278_3width;
  21115. Node278_3lineStart = 1;
  21116. } else if (Node278_3align === 'right') {
  21117. Node278_3textStart = 0;
  21118. Node278_3textWidth =Node278_3fontSize <= 8 ? Node278_3width + Node278_3fontSize * 0.2 + 6 : Node278_3width - Node278_3fontSize * 0.2;
  21119. Node278_3lineStart = (Node278_3width - (ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  21120. } else if (Node278_3align === 'center') {
  21121. Node278_3textStart = -3;
  21122. Node278_3textWidth = Node278_3width;
  21123. Node278_3lineStart = Node278_3width - ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width - 11;
  21124. }
  21125. })();
  21126. Node278_3.setImage(GD.getTextJSON(Node278_3width, Node278_3height, true, false, false, ' '+ Node278_3fontSize + 'px "Arial"'))
  21127. Node278_3.setPosition(278*ratio.ratioX, 493*ratio.ratioY);
  21128. Node278_3.setWidth(Node278_3width);
  21129. Node278_3.setHeight(Node278_3height);
  21130. Node278_3._nodeType = 'text';
  21131. Node278_3._disallowEvert = true;
  21132. Node278_3.setRotation(0*Math.PI/180);
  21133. Node278_3.a('node.width', Node278_3width);
  21134. Node278_3.a('node.height', Node278_3height);
  21135. Node278_3.a('node.rect', [0, 0, Node278_3width, Node278_3height]);
  21136. Node278_3.a('node.bordercolor','rgba(0,0,0,1)');
  21137. Node278_3.a('node.borderwidth', 0);
  21138. Node278_3.a('node.background','' || 'rgba(0,0,0,0)');
  21139. Node278_3.a('node.gradient','');
  21140. Node278_3.a('node.gradientcolor','');
  21141. Node278_3.a('node.text','万kwh');
  21142. Node278_3.a('node.textalign','left');
  21143. Node278_3.a('node.textvAlign','middle');
  21144. Node278_3.a('node.textrect', [Node278_3textStart, 0, Node278_3textWidth, Node278_3height]);
  21145. Node278_3.a('node.color','rgba(0,0,0,1)');
  21146. Node278_3.a('node.font',' '+ Node278_3fontSize + 'px "Arial"');
  21147. Node278_3.a('node.textvisible',true);
  21148. Node278_3.a('node.linefeed',false);
  21149. if (false) {
  21150. Node278_3.a('node.textfunc',function(g) {
  21151. g.beginPath();
  21152. var str=Node278_3.a('node.text') || '万kwh';
  21153. var color=Node278_3.a('node.color') || 'rgba(0,0,0,1)';
  21154. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_3width,Node278_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_3fontSize + 'px "Arial"', 0,g);
  21155. });
  21156. }
  21157. if (false) {
  21158. Node278_3.a('node.underlinepoints',[Node278_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width + 6, (Node278_3height - Node278_3fontSize) * 0.5*_ratio.ratioY + Node278_3fontSize + 2 ]);
  21159. Node278_3.a('node.underlinevisible',false);
  21160. Node278_3.a('node.underlineBorderWidth', 1);
  21161. }
  21162. dataModel.add(Node278_3);
  21163. zoomNodeList.push({
  21164. node: Node278_3,
  21165. borderWidth: 0,
  21166. attr: 'node.borderwidth'
  21167. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21168. var Node278_4 = new ht.Node();
  21169. var Node278_4textStart, Node278_4textWidth, Node278_4lineStart, Node278_4align = 'left', Node278_4fontSize = 10.66664*_ratio.ratioY,Node278_4width = 72*_ratio.ratioX, Node278_4height = 27*_ratio.ratioY;
  21170. (function () {
  21171. if (Node278_4align === 'left') {
  21172. Node278_4textStart = Node278_4fontSize * 0.2 > 2 ? Node278_4fontSize * 0.2 - 4 : Node278_4fontSize * 0.2 - 9;
  21173. Node278_4textWidth = Node278_4width;
  21174. Node278_4lineStart = 1;
  21175. } else if (Node278_4align === 'right') {
  21176. Node278_4textStart = 0;
  21177. Node278_4textWidth =Node278_4fontSize <= 8 ? Node278_4width + Node278_4fontSize * 0.2 + 6 : Node278_4width - Node278_4fontSize * 0.2;
  21178. Node278_4lineStart = (Node278_4width - (ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  21179. } else if (Node278_4align === 'center') {
  21180. Node278_4textStart = -3;
  21181. Node278_4textWidth = Node278_4width;
  21182. Node278_4lineStart = Node278_4width - ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width - 11;
  21183. }
  21184. })();
  21185. Node278_4.setImage(GD.getTextJSON(Node278_4width, Node278_4height, true, false, false, ' '+ Node278_4fontSize + 'px "Arial"'))
  21186. Node278_4.setPosition(193*ratio.ratioX, 519*ratio.ratioY);
  21187. Node278_4.setWidth(Node278_4width);
  21188. Node278_4.setHeight(Node278_4height);
  21189. Node278_4._nodeType = 'text';
  21190. Node278_4._disallowEvert = true;
  21191. Node278_4.setRotation(0*Math.PI/180);
  21192. Node278_4.a('node.width', Node278_4width);
  21193. Node278_4.a('node.height', Node278_4height);
  21194. Node278_4.a('node.rect', [0, 0, Node278_4width, Node278_4height]);
  21195. Node278_4.a('node.bordercolor','rgba(0,0,0,1)');
  21196. Node278_4.a('node.borderwidth', 0);
  21197. Node278_4.a('node.background','' || 'rgba(0,0,0,0)');
  21198. Node278_4.a('node.gradient','');
  21199. Node278_4.a('node.gradientcolor','');
  21200. Node278_4.a('node.text','装机容量');
  21201. Node278_4.a('node.textalign','left');
  21202. Node278_4.a('node.textvAlign','middle');
  21203. Node278_4.a('node.textrect', [Node278_4textStart, 0, Node278_4textWidth, Node278_4height]);
  21204. Node278_4.a('node.color','rgba(0,0,0,1)');
  21205. Node278_4.a('node.font',' '+ Node278_4fontSize + 'px "Arial"');
  21206. Node278_4.a('node.textvisible',true);
  21207. Node278_4.a('node.linefeed',false);
  21208. if (false) {
  21209. Node278_4.a('node.textfunc',function(g) {
  21210. g.beginPath();
  21211. var str=Node278_4.a('node.text') || '装机容量';
  21212. var color=Node278_4.a('node.color') || 'rgba(0,0,0,1)';
  21213. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_4width,Node278_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_4fontSize + 'px "Arial"', 0,g);
  21214. });
  21215. }
  21216. if (false) {
  21217. Node278_4.a('node.underlinepoints',[Node278_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width + 6, (Node278_4height - Node278_4fontSize) * 0.5*_ratio.ratioY + Node278_4fontSize + 2 ]);
  21218. Node278_4.a('node.underlinevisible',false);
  21219. Node278_4.a('node.underlineBorderWidth', 1);
  21220. }
  21221. dataModel.add(Node278_4);
  21222. zoomNodeList.push({
  21223. node: Node278_4,
  21224. borderWidth: 0,
  21225. attr: 'node.borderwidth'
  21226. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21227. var Node278_5 = new ht.Node();
  21228. var Node278_5textStart, Node278_5textWidth, Node278_5lineStart, Node278_5align = 'left', Node278_5fontSize = 10.66664*_ratio.ratioY,Node278_5width = 31*_ratio.ratioX, Node278_5height = 27*_ratio.ratioY;
  21229. (function () {
  21230. if (Node278_5align === 'left') {
  21231. Node278_5textStart = Node278_5fontSize * 0.2 > 2 ? Node278_5fontSize * 0.2 - 4 : Node278_5fontSize * 0.2 - 9;
  21232. Node278_5textWidth = Node278_5width;
  21233. Node278_5lineStart = 1;
  21234. } else if (Node278_5align === 'right') {
  21235. Node278_5textStart = 0;
  21236. Node278_5textWidth =Node278_5fontSize <= 8 ? Node278_5width + Node278_5fontSize * 0.2 + 6 : Node278_5width - Node278_5fontSize * 0.2;
  21237. Node278_5lineStart = (Node278_5width - (ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  21238. } else if (Node278_5align === 'center') {
  21239. Node278_5textStart = -3;
  21240. Node278_5textWidth = Node278_5width;
  21241. Node278_5lineStart = Node278_5width - ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width - 11;
  21242. }
  21243. })();
  21244. Node278_5.setImage(GD.getTextJSON(Node278_5width, Node278_5height, true, false, false, ' '+ Node278_5fontSize + 'px "Arial"'))
  21245. Node278_5.setPosition(236*ratio.ratioX, 519*ratio.ratioY);
  21246. Node278_5.setWidth(Node278_5width);
  21247. Node278_5.setHeight(Node278_5height);
  21248. Node278_5._nodeType = 'text';
  21249. Node278_5._disallowEvert = true;
  21250. Node278_5.setRotation(0*Math.PI/180);
  21251. Node278_5.a('node.width', Node278_5width);
  21252. Node278_5.a('node.height', Node278_5height);
  21253. Node278_5.a('node.rect', [0, 0, Node278_5width, Node278_5height]);
  21254. Node278_5.a('node.bordercolor','rgba(192,0,0,1)');
  21255. Node278_5.a('node.borderwidth', 0);
  21256. Node278_5.a('node.background','' || 'rgba(0,0,0,0)');
  21257. Node278_5.a('node.gradient','');
  21258. Node278_5.a('node.gradientcolor','');
  21259. Node278_5.a('node.text','14.85');
  21260. Node278_5.a('node.textalign','left');
  21261. Node278_5.a('node.textvAlign','middle');
  21262. Node278_5.a('node.textrect', [Node278_5textStart, 0, Node278_5textWidth, Node278_5height]);
  21263. Node278_5.a('node.color','rgba(192,0,0,1)');
  21264. Node278_5.a('node.font',' '+ Node278_5fontSize + 'px "Arial"');
  21265. Node278_5.a('node.textvisible',true);
  21266. Node278_5.a('node.linefeed',false);
  21267. if (false) {
  21268. Node278_5.a('node.textfunc',function(g) {
  21269. g.beginPath();
  21270. var str=Node278_5.a('node.text') || '14.85';
  21271. var color=Node278_5.a('node.color') || 'rgba(192,0,0,1)';
  21272. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_5width,Node278_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_5fontSize + 'px "Arial"', 0,g);
  21273. });
  21274. }
  21275. if (false) {
  21276. Node278_5.a('node.underlinepoints',[Node278_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width + 6, (Node278_5height - Node278_5fontSize) * 0.5*_ratio.ratioY + Node278_5fontSize + 2 ]);
  21277. Node278_5.a('node.underlinevisible',false);
  21278. Node278_5.a('node.underlineBorderWidth', 1);
  21279. }
  21280. dataModel.add(Node278_5);
  21281. zoomNodeList.push({
  21282. node: Node278_5,
  21283. borderWidth: 0,
  21284. attr: 'node.borderwidth'
  21285. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21286. var Node278_6 = new ht.Node();
  21287. var Node278_6textStart, Node278_6textWidth, Node278_6lineStart, Node278_6align = 'left', Node278_6fontSize = 10.66664*_ratio.ratioY,Node278_6width = 43*_ratio.ratioX, Node278_6height = 27*_ratio.ratioY;
  21288. (function () {
  21289. if (Node278_6align === 'left') {
  21290. Node278_6textStart = Node278_6fontSize * 0.2 > 2 ? Node278_6fontSize * 0.2 - 4 : Node278_6fontSize * 0.2 - 9;
  21291. Node278_6textWidth = Node278_6width;
  21292. Node278_6lineStart = 1;
  21293. } else if (Node278_6align === 'right') {
  21294. Node278_6textStart = 0;
  21295. Node278_6textWidth =Node278_6fontSize <= 8 ? Node278_6width + Node278_6fontSize * 0.2 + 6 : Node278_6width - Node278_6fontSize * 0.2;
  21296. Node278_6lineStart = (Node278_6width - (ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  21297. } else if (Node278_6align === 'center') {
  21298. Node278_6textStart = -3;
  21299. Node278_6textWidth = Node278_6width;
  21300. Node278_6lineStart = Node278_6width - ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width - 11;
  21301. }
  21302. })();
  21303. Node278_6.setImage(GD.getTextJSON(Node278_6width, Node278_6height, true, false, false, ' '+ Node278_6fontSize + 'px "Arial"'))
  21304. Node278_6.setPosition(278*ratio.ratioX, 519*ratio.ratioY);
  21305. Node278_6.setWidth(Node278_6width);
  21306. Node278_6.setHeight(Node278_6height);
  21307. Node278_6._nodeType = 'text';
  21308. Node278_6._disallowEvert = true;
  21309. Node278_6.setRotation(0*Math.PI/180);
  21310. Node278_6.a('node.width', Node278_6width);
  21311. Node278_6.a('node.height', Node278_6height);
  21312. Node278_6.a('node.rect', [0, 0, Node278_6width, Node278_6height]);
  21313. Node278_6.a('node.bordercolor','rgba(0,0,0,1)');
  21314. Node278_6.a('node.borderwidth', 0);
  21315. Node278_6.a('node.background','' || 'rgba(0,0,0,0)');
  21316. Node278_6.a('node.gradient','');
  21317. Node278_6.a('node.gradientcolor','');
  21318. Node278_6.a('node.text','万kwh');
  21319. Node278_6.a('node.textalign','left');
  21320. Node278_6.a('node.textvAlign','middle');
  21321. Node278_6.a('node.textrect', [Node278_6textStart, 0, Node278_6textWidth, Node278_6height]);
  21322. Node278_6.a('node.color','rgba(0,0,0,1)');
  21323. Node278_6.a('node.font',' '+ Node278_6fontSize + 'px "Arial"');
  21324. Node278_6.a('node.textvisible',true);
  21325. Node278_6.a('node.linefeed',false);
  21326. if (false) {
  21327. Node278_6.a('node.textfunc',function(g) {
  21328. g.beginPath();
  21329. var str=Node278_6.a('node.text') || '万kwh';
  21330. var color=Node278_6.a('node.color') || 'rgba(0,0,0,1)';
  21331. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_6width,Node278_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_6fontSize + 'px "Arial"', 0,g);
  21332. });
  21333. }
  21334. if (false) {
  21335. Node278_6.a('node.underlinepoints',[Node278_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width + 6, (Node278_6height - Node278_6fontSize) * 0.5*_ratio.ratioY + Node278_6fontSize + 2 ]);
  21336. Node278_6.a('node.underlinevisible',false);
  21337. Node278_6.a('node.underlineBorderWidth', 1);
  21338. }
  21339. dataModel.add(Node278_6);
  21340. zoomNodeList.push({
  21341. node: Node278_6,
  21342. borderWidth: 0,
  21343. attr: 'node.borderwidth'
  21344. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21345. var Node278_7 = new ht.Node();
  21346. var Node278_7textStart, Node278_7textWidth, Node278_7lineStart, Node278_7align = 'left', Node278_7fontSize = 10.66664*_ratio.ratioY,Node278_7width = 72*_ratio.ratioX, Node278_7height = 27*_ratio.ratioY;
  21347. (function () {
  21348. if (Node278_7align === 'left') {
  21349. Node278_7textStart = Node278_7fontSize * 0.2 > 2 ? Node278_7fontSize * 0.2 - 4 : Node278_7fontSize * 0.2 - 9;
  21350. Node278_7textWidth = Node278_7width;
  21351. Node278_7lineStart = 1;
  21352. } else if (Node278_7align === 'right') {
  21353. Node278_7textStart = 0;
  21354. Node278_7textWidth =Node278_7fontSize <= 8 ? Node278_7width + Node278_7fontSize * 0.2 + 6 : Node278_7width - Node278_7fontSize * 0.2;
  21355. Node278_7lineStart = (Node278_7width - (ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  21356. } else if (Node278_7align === 'center') {
  21357. Node278_7textStart = -3;
  21358. Node278_7textWidth = Node278_7width;
  21359. Node278_7lineStart = Node278_7width - ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width - 11;
  21360. }
  21361. })();
  21362. Node278_7.setImage(GD.getTextJSON(Node278_7width, Node278_7height, true, false, false, ' '+ Node278_7fontSize + 'px "Arial"'))
  21363. Node278_7.setPosition(193*ratio.ratioX, 544*ratio.ratioY);
  21364. Node278_7.setWidth(Node278_7width);
  21365. Node278_7.setHeight(Node278_7height);
  21366. Node278_7._nodeType = 'text';
  21367. Node278_7._disallowEvert = true;
  21368. Node278_7.setRotation(0*Math.PI/180);
  21369. Node278_7.a('node.width', Node278_7width);
  21370. Node278_7.a('node.height', Node278_7height);
  21371. Node278_7.a('node.rect', [0, 0, Node278_7width, Node278_7height]);
  21372. Node278_7.a('node.bordercolor','rgba(0,0,0,1)');
  21373. Node278_7.a('node.borderwidth', 0);
  21374. Node278_7.a('node.background','' || 'rgba(0,0,0,0)');
  21375. Node278_7.a('node.gradient','');
  21376. Node278_7.a('node.gradientcolor','');
  21377. Node278_7.a('node.text','平均风速');
  21378. Node278_7.a('node.textalign','left');
  21379. Node278_7.a('node.textvAlign','middle');
  21380. Node278_7.a('node.textrect', [Node278_7textStart, 0, Node278_7textWidth, Node278_7height]);
  21381. Node278_7.a('node.color','rgba(0,0,0,1)');
  21382. Node278_7.a('node.font',' '+ Node278_7fontSize + 'px "Arial"');
  21383. Node278_7.a('node.textvisible',true);
  21384. Node278_7.a('node.linefeed',false);
  21385. if (false) {
  21386. Node278_7.a('node.textfunc',function(g) {
  21387. g.beginPath();
  21388. var str=Node278_7.a('node.text') || '平均风速';
  21389. var color=Node278_7.a('node.color') || 'rgba(0,0,0,1)';
  21390. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_7width,Node278_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_7fontSize + 'px "Arial"', 0,g);
  21391. });
  21392. }
  21393. if (false) {
  21394. Node278_7.a('node.underlinepoints',[Node278_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width + 6, (Node278_7height - Node278_7fontSize) * 0.5*_ratio.ratioY + Node278_7fontSize + 2 ]);
  21395. Node278_7.a('node.underlinevisible',false);
  21396. Node278_7.a('node.underlineBorderWidth', 1);
  21397. }
  21398. dataModel.add(Node278_7);
  21399. zoomNodeList.push({
  21400. node: Node278_7,
  21401. borderWidth: 0,
  21402. attr: 'node.borderwidth'
  21403. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21404. var Node278_8 = new ht.Node();
  21405. var Node278_8textStart, Node278_8textWidth, Node278_8lineStart, Node278_8align = 'left', Node278_8fontSize = 10.66664*_ratio.ratioY,Node278_8width = 22*_ratio.ratioX, Node278_8height = 27*_ratio.ratioY;
  21406. (function () {
  21407. if (Node278_8align === 'left') {
  21408. Node278_8textStart = Node278_8fontSize * 0.2 > 2 ? Node278_8fontSize * 0.2 - 4 : Node278_8fontSize * 0.2 - 9;
  21409. Node278_8textWidth = Node278_8width;
  21410. Node278_8lineStart = 1;
  21411. } else if (Node278_8align === 'right') {
  21412. Node278_8textStart = 0;
  21413. Node278_8textWidth =Node278_8fontSize <= 8 ? Node278_8width + Node278_8fontSize * 0.2 + 6 : Node278_8width - Node278_8fontSize * 0.2;
  21414. Node278_8lineStart = (Node278_8width - (ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  21415. } else if (Node278_8align === 'center') {
  21416. Node278_8textStart = -3;
  21417. Node278_8textWidth = Node278_8width;
  21418. Node278_8lineStart = Node278_8width - ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width - 11;
  21419. }
  21420. })();
  21421. Node278_8.setImage(GD.getTextJSON(Node278_8width, Node278_8height, true, false, false, ' '+ Node278_8fontSize + 'px "Arial"'))
  21422. Node278_8.setPosition(231*ratio.ratioX, 544*ratio.ratioY);
  21423. Node278_8.setWidth(Node278_8width);
  21424. Node278_8.setHeight(Node278_8height);
  21425. Node278_8._nodeType = 'text';
  21426. Node278_8._disallowEvert = true;
  21427. Node278_8.setRotation(0*Math.PI/180);
  21428. Node278_8.a('node.width', Node278_8width);
  21429. Node278_8.a('node.height', Node278_8height);
  21430. Node278_8.a('node.rect', [0, 0, Node278_8width, Node278_8height]);
  21431. Node278_8.a('node.bordercolor','rgba(192,0,0,1)');
  21432. Node278_8.a('node.borderwidth', 0);
  21433. Node278_8.a('node.background','' || 'rgba(0,0,0,0)');
  21434. Node278_8.a('node.gradient','');
  21435. Node278_8.a('node.gradientcolor','');
  21436. Node278_8.a('node.text','-');
  21437. Node278_8.a('node.textalign','left');
  21438. Node278_8.a('node.textvAlign','middle');
  21439. Node278_8.a('node.textrect', [Node278_8textStart, 0, Node278_8textWidth, Node278_8height]);
  21440. Node278_8.a('node.color','rgba(192,0,0,1)');
  21441. Node278_8.a('node.font',' '+ Node278_8fontSize + 'px "Arial"');
  21442. Node278_8.a('node.textvisible',true);
  21443. Node278_8.a('node.linefeed',false);
  21444. if (false) {
  21445. Node278_8.a('node.textfunc',function(g) {
  21446. g.beginPath();
  21447. var str=Node278_8.a('node.text') || '-';
  21448. var color=Node278_8.a('node.color') || 'rgba(192,0,0,1)';
  21449. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_8width,Node278_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_8fontSize + 'px "Arial"', 0,g);
  21450. });
  21451. }
  21452. if (false) {
  21453. Node278_8.a('node.underlinepoints',[Node278_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width + 6, (Node278_8height - Node278_8fontSize) * 0.5*_ratio.ratioY + Node278_8fontSize + 2 ]);
  21454. Node278_8.a('node.underlinevisible',false);
  21455. Node278_8.a('node.underlineBorderWidth', 1);
  21456. }
  21457. dataModel.add(Node278_8);
  21458. zoomNodeList.push({
  21459. node: Node278_8,
  21460. borderWidth: 0,
  21461. attr: 'node.borderwidth'
  21462. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21463. var Node278_9 = new ht.Node();
  21464. var Node278_9textStart, Node278_9textWidth, Node278_9lineStart, Node278_9align = 'left', Node278_9fontSize = 10.66664*_ratio.ratioY,Node278_9width = 43*_ratio.ratioX, Node278_9height = 27*_ratio.ratioY;
  21465. (function () {
  21466. if (Node278_9align === 'left') {
  21467. Node278_9textStart = Node278_9fontSize * 0.2 > 2 ? Node278_9fontSize * 0.2 - 4 : Node278_9fontSize * 0.2 - 9;
  21468. Node278_9textWidth = Node278_9width;
  21469. Node278_9lineStart = 1;
  21470. } else if (Node278_9align === 'right') {
  21471. Node278_9textStart = 0;
  21472. Node278_9textWidth =Node278_9fontSize <= 8 ? Node278_9width + Node278_9fontSize * 0.2 + 6 : Node278_9width - Node278_9fontSize * 0.2;
  21473. Node278_9lineStart = (Node278_9width - (ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  21474. } else if (Node278_9align === 'center') {
  21475. Node278_9textStart = -3;
  21476. Node278_9textWidth = Node278_9width;
  21477. Node278_9lineStart = Node278_9width - ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width - 11;
  21478. }
  21479. })();
  21480. Node278_9.setImage(GD.getTextJSON(Node278_9width, Node278_9height, true, false, false, ' '+ Node278_9fontSize + 'px "Arial"'))
  21481. Node278_9.setPosition(278*ratio.ratioX, 544*ratio.ratioY);
  21482. Node278_9.setWidth(Node278_9width);
  21483. Node278_9.setHeight(Node278_9height);
  21484. Node278_9._nodeType = 'text';
  21485. Node278_9._disallowEvert = true;
  21486. Node278_9.setRotation(0*Math.PI/180);
  21487. Node278_9.a('node.width', Node278_9width);
  21488. Node278_9.a('node.height', Node278_9height);
  21489. Node278_9.a('node.rect', [0, 0, Node278_9width, Node278_9height]);
  21490. Node278_9.a('node.bordercolor','rgba(0,0,0,1)');
  21491. Node278_9.a('node.borderwidth', 0);
  21492. Node278_9.a('node.background','' || 'rgba(0,0,0,0)');
  21493. Node278_9.a('node.gradient','');
  21494. Node278_9.a('node.gradientcolor','');
  21495. Node278_9.a('node.text','万kwh');
  21496. Node278_9.a('node.textalign','left');
  21497. Node278_9.a('node.textvAlign','middle');
  21498. Node278_9.a('node.textrect', [Node278_9textStart, 0, Node278_9textWidth, Node278_9height]);
  21499. Node278_9.a('node.color','rgba(0,0,0,1)');
  21500. Node278_9.a('node.font',' '+ Node278_9fontSize + 'px "Arial"');
  21501. Node278_9.a('node.textvisible',true);
  21502. Node278_9.a('node.linefeed',false);
  21503. if (false) {
  21504. Node278_9.a('node.textfunc',function(g) {
  21505. g.beginPath();
  21506. var str=Node278_9.a('node.text') || '万kwh';
  21507. var color=Node278_9.a('node.color') || 'rgba(0,0,0,1)';
  21508. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_9width,Node278_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_9fontSize + 'px "Arial"', 0,g);
  21509. });
  21510. }
  21511. if (false) {
  21512. Node278_9.a('node.underlinepoints',[Node278_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width + 6, (Node278_9height - Node278_9fontSize) * 0.5*_ratio.ratioY + Node278_9fontSize + 2 ]);
  21513. Node278_9.a('node.underlinevisible',false);
  21514. Node278_9.a('node.underlineBorderWidth', 1);
  21515. }
  21516. dataModel.add(Node278_9);
  21517. zoomNodeList.push({
  21518. node: Node278_9,
  21519. borderWidth: 0,
  21520. attr: 'node.borderwidth'
  21521. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21522. var Node278_10 = new ht.Node();
  21523. var Node278_10textStart, Node278_10textWidth, Node278_10lineStart, Node278_10align = 'left', Node278_10fontSize = 10.66664*_ratio.ratioY,Node278_10width = 72*_ratio.ratioX, Node278_10height = 27*_ratio.ratioY;
  21524. (function () {
  21525. if (Node278_10align === 'left') {
  21526. Node278_10textStart = Node278_10fontSize * 0.2 > 2 ? Node278_10fontSize * 0.2 - 4 : Node278_10fontSize * 0.2 - 9;
  21527. Node278_10textWidth = Node278_10width;
  21528. Node278_10lineStart = 1;
  21529. } else if (Node278_10align === 'right') {
  21530. Node278_10textStart = 0;
  21531. Node278_10textWidth =Node278_10fontSize <= 8 ? Node278_10width + Node278_10fontSize * 0.2 + 6 : Node278_10width - Node278_10fontSize * 0.2;
  21532. Node278_10lineStart = (Node278_10width - (ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  21533. } else if (Node278_10align === 'center') {
  21534. Node278_10textStart = -3;
  21535. Node278_10textWidth = Node278_10width;
  21536. Node278_10lineStart = Node278_10width - ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width - 11;
  21537. }
  21538. })();
  21539. Node278_10.setImage(GD.getTextJSON(Node278_10width, Node278_10height, true, false, false, ' '+ Node278_10fontSize + 'px "Arial"'))
  21540. Node278_10.setPosition(193*ratio.ratioX, 570*ratio.ratioY);
  21541. Node278_10.setWidth(Node278_10width);
  21542. Node278_10.setHeight(Node278_10height);
  21543. Node278_10._nodeType = 'text';
  21544. Node278_10._disallowEvert = true;
  21545. Node278_10.setRotation(0*Math.PI/180);
  21546. Node278_10.a('node.width', Node278_10width);
  21547. Node278_10.a('node.height', Node278_10height);
  21548. Node278_10.a('node.rect', [0, 0, Node278_10width, Node278_10height]);
  21549. Node278_10.a('node.bordercolor','rgba(0,0,0,1)');
  21550. Node278_10.a('node.borderwidth', 0);
  21551. Node278_10.a('node.background','' || 'rgba(0,0,0,0)');
  21552. Node278_10.a('node.gradient','');
  21553. Node278_10.a('node.gradientcolor','');
  21554. Node278_10.a('node.text','日发电量');
  21555. Node278_10.a('node.textalign','left');
  21556. Node278_10.a('node.textvAlign','middle');
  21557. Node278_10.a('node.textrect', [Node278_10textStart, 0, Node278_10textWidth, Node278_10height]);
  21558. Node278_10.a('node.color','rgba(0,0,0,1)');
  21559. Node278_10.a('node.font',' '+ Node278_10fontSize + 'px "Arial"');
  21560. Node278_10.a('node.textvisible',true);
  21561. Node278_10.a('node.linefeed',false);
  21562. if (false) {
  21563. Node278_10.a('node.textfunc',function(g) {
  21564. g.beginPath();
  21565. var str=Node278_10.a('node.text') || '日发电量';
  21566. var color=Node278_10.a('node.color') || 'rgba(0,0,0,1)';
  21567. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_10width,Node278_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_10fontSize + 'px "Arial"', 0,g);
  21568. });
  21569. }
  21570. if (false) {
  21571. Node278_10.a('node.underlinepoints',[Node278_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width + 6, (Node278_10height - Node278_10fontSize) * 0.5*_ratio.ratioY + Node278_10fontSize + 2 ]);
  21572. Node278_10.a('node.underlinevisible',false);
  21573. Node278_10.a('node.underlineBorderWidth', 1);
  21574. }
  21575. dataModel.add(Node278_10);
  21576. zoomNodeList.push({
  21577. node: Node278_10,
  21578. borderWidth: 0,
  21579. attr: 'node.borderwidth'
  21580. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21581. var Node278_11 = new ht.Node();
  21582. var Node278_11textStart, Node278_11textWidth, Node278_11lineStart, Node278_11align = 'left', Node278_11fontSize = 10.66664*_ratio.ratioY,Node278_11width = 31*_ratio.ratioX, Node278_11height = 27*_ratio.ratioY;
  21583. (function () {
  21584. if (Node278_11align === 'left') {
  21585. Node278_11textStart = Node278_11fontSize * 0.2 > 2 ? Node278_11fontSize * 0.2 - 4 : Node278_11fontSize * 0.2 - 9;
  21586. Node278_11textWidth = Node278_11width;
  21587. Node278_11lineStart = 1;
  21588. } else if (Node278_11align === 'right') {
  21589. Node278_11textStart = 0;
  21590. Node278_11textWidth =Node278_11fontSize <= 8 ? Node278_11width + Node278_11fontSize * 0.2 + 6 : Node278_11width - Node278_11fontSize * 0.2;
  21591. Node278_11lineStart = (Node278_11width - (ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  21592. } else if (Node278_11align === 'center') {
  21593. Node278_11textStart = -3;
  21594. Node278_11textWidth = Node278_11width;
  21595. Node278_11lineStart = Node278_11width - ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width - 11;
  21596. }
  21597. })();
  21598. Node278_11.setImage(GD.getTextJSON(Node278_11width, Node278_11height, true, false, false, ' '+ Node278_11fontSize + 'px "Arial"'))
  21599. Node278_11.setPosition(236*ratio.ratioX, 570*ratio.ratioY);
  21600. Node278_11.setWidth(Node278_11width);
  21601. Node278_11.setHeight(Node278_11height);
  21602. Node278_11._nodeType = 'text';
  21603. Node278_11._disallowEvert = true;
  21604. Node278_11.setRotation(0*Math.PI/180);
  21605. Node278_11.a('node.width', Node278_11width);
  21606. Node278_11.a('node.height', Node278_11height);
  21607. Node278_11.a('node.rect', [0, 0, Node278_11width, Node278_11height]);
  21608. Node278_11.a('node.bordercolor','rgba(192,0,0,1)');
  21609. Node278_11.a('node.borderwidth', 0);
  21610. Node278_11.a('node.background','' || 'rgba(0,0,0,0)');
  21611. Node278_11.a('node.gradient','');
  21612. Node278_11.a('node.gradientcolor','');
  21613. Node278_11.a('node.text','-');
  21614. Node278_11.a('node.textalign','left');
  21615. Node278_11.a('node.textvAlign','middle');
  21616. Node278_11.a('node.textrect', [Node278_11textStart, 0, Node278_11textWidth, Node278_11height]);
  21617. Node278_11.a('node.color','rgba(192,0,0,1)');
  21618. Node278_11.a('node.font',' '+ Node278_11fontSize + 'px "Arial"');
  21619. Node278_11.a('node.textvisible',true);
  21620. Node278_11.a('node.linefeed',false);
  21621. if (false) {
  21622. Node278_11.a('node.textfunc',function(g) {
  21623. g.beginPath();
  21624. var str=Node278_11.a('node.text') || '-';
  21625. var color=Node278_11.a('node.color') || 'rgba(192,0,0,1)';
  21626. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_11width,Node278_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_11fontSize + 'px "Arial"', 0,g);
  21627. });
  21628. }
  21629. if (false) {
  21630. Node278_11.a('node.underlinepoints',[Node278_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width + 6, (Node278_11height - Node278_11fontSize) * 0.5*_ratio.ratioY + Node278_11fontSize + 2 ]);
  21631. Node278_11.a('node.underlinevisible',false);
  21632. Node278_11.a('node.underlineBorderWidth', 1);
  21633. }
  21634. dataModel.add(Node278_11);
  21635. zoomNodeList.push({
  21636. node: Node278_11,
  21637. borderWidth: 0,
  21638. attr: 'node.borderwidth'
  21639. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21640. var Node278_12 = new ht.Node();
  21641. var Node278_12textStart, Node278_12textWidth, Node278_12lineStart, Node278_12align = 'left', Node278_12fontSize = 10.66664*_ratio.ratioY,Node278_12width = 43*_ratio.ratioX, Node278_12height = 27*_ratio.ratioY;
  21642. (function () {
  21643. if (Node278_12align === 'left') {
  21644. Node278_12textStart = Node278_12fontSize * 0.2 > 2 ? Node278_12fontSize * 0.2 - 4 : Node278_12fontSize * 0.2 - 9;
  21645. Node278_12textWidth = Node278_12width;
  21646. Node278_12lineStart = 1;
  21647. } else if (Node278_12align === 'right') {
  21648. Node278_12textStart = 0;
  21649. Node278_12textWidth =Node278_12fontSize <= 8 ? Node278_12width + Node278_12fontSize * 0.2 + 6 : Node278_12width - Node278_12fontSize * 0.2;
  21650. Node278_12lineStart = (Node278_12width - (ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  21651. } else if (Node278_12align === 'center') {
  21652. Node278_12textStart = -3;
  21653. Node278_12textWidth = Node278_12width;
  21654. Node278_12lineStart = Node278_12width - ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width - 11;
  21655. }
  21656. })();
  21657. Node278_12.setImage(GD.getTextJSON(Node278_12width, Node278_12height, true, false, false, ' '+ Node278_12fontSize + 'px "Arial"'))
  21658. Node278_12.setPosition(278*ratio.ratioX, 570*ratio.ratioY);
  21659. Node278_12.setWidth(Node278_12width);
  21660. Node278_12.setHeight(Node278_12height);
  21661. Node278_12._nodeType = 'text';
  21662. Node278_12._disallowEvert = true;
  21663. Node278_12.setRotation(0*Math.PI/180);
  21664. Node278_12.a('node.width', Node278_12width);
  21665. Node278_12.a('node.height', Node278_12height);
  21666. Node278_12.a('node.rect', [0, 0, Node278_12width, Node278_12height]);
  21667. Node278_12.a('node.bordercolor','rgba(0,0,0,1)');
  21668. Node278_12.a('node.borderwidth', 0);
  21669. Node278_12.a('node.background','' || 'rgba(0,0,0,0)');
  21670. Node278_12.a('node.gradient','');
  21671. Node278_12.a('node.gradientcolor','');
  21672. Node278_12.a('node.text','万kwh');
  21673. Node278_12.a('node.textalign','left');
  21674. Node278_12.a('node.textvAlign','middle');
  21675. Node278_12.a('node.textrect', [Node278_12textStart, 0, Node278_12textWidth, Node278_12height]);
  21676. Node278_12.a('node.color','rgba(0,0,0,1)');
  21677. Node278_12.a('node.font',' '+ Node278_12fontSize + 'px "Arial"');
  21678. Node278_12.a('node.textvisible',true);
  21679. Node278_12.a('node.linefeed',false);
  21680. if (false) {
  21681. Node278_12.a('node.textfunc',function(g) {
  21682. g.beginPath();
  21683. var str=Node278_12.a('node.text') || '万kwh';
  21684. var color=Node278_12.a('node.color') || 'rgba(0,0,0,1)';
  21685. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_12width,Node278_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_12fontSize + 'px "Arial"', 0,g);
  21686. });
  21687. }
  21688. if (false) {
  21689. Node278_12.a('node.underlinepoints',[Node278_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width + 6, (Node278_12height - Node278_12fontSize) * 0.5*_ratio.ratioY + Node278_12fontSize + 2 ]);
  21690. Node278_12.a('node.underlinevisible',false);
  21691. Node278_12.a('node.underlineBorderWidth', 1);
  21692. }
  21693. dataModel.add(Node278_12);
  21694. zoomNodeList.push({
  21695. node: Node278_12,
  21696. borderWidth: 0,
  21697. attr: 'node.borderwidth'
  21698. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21699. var Node278_13 = new ht.Node();
  21700. var Node278_13textStart, Node278_13textWidth, Node278_13lineStart, Node278_13align = 'left', Node278_13fontSize = 10.66664*_ratio.ratioY,Node278_13width = 72*_ratio.ratioX, Node278_13height = 27*_ratio.ratioY;
  21701. (function () {
  21702. if (Node278_13align === 'left') {
  21703. Node278_13textStart = Node278_13fontSize * 0.2 > 2 ? Node278_13fontSize * 0.2 - 4 : Node278_13fontSize * 0.2 - 9;
  21704. Node278_13textWidth = Node278_13width;
  21705. Node278_13lineStart = 1;
  21706. } else if (Node278_13align === 'right') {
  21707. Node278_13textStart = 0;
  21708. Node278_13textWidth =Node278_13fontSize <= 8 ? Node278_13width + Node278_13fontSize * 0.2 + 6 : Node278_13width - Node278_13fontSize * 0.2;
  21709. Node278_13lineStart = (Node278_13width - (ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  21710. } else if (Node278_13align === 'center') {
  21711. Node278_13textStart = -3;
  21712. Node278_13textWidth = Node278_13width;
  21713. Node278_13lineStart = Node278_13width - ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width - 11;
  21714. }
  21715. })();
  21716. Node278_13.setImage(GD.getTextJSON(Node278_13width, Node278_13height, true, false, false, ' '+ Node278_13fontSize + 'px "Arial"'))
  21717. Node278_13.setPosition(193*ratio.ratioX, 597*ratio.ratioY);
  21718. Node278_13.setWidth(Node278_13width);
  21719. Node278_13.setHeight(Node278_13height);
  21720. Node278_13._nodeType = 'text';
  21721. Node278_13._disallowEvert = true;
  21722. Node278_13.setRotation(0*Math.PI/180);
  21723. Node278_13.a('node.width', Node278_13width);
  21724. Node278_13.a('node.height', Node278_13height);
  21725. Node278_13.a('node.rect', [0, 0, Node278_13width, Node278_13height]);
  21726. Node278_13.a('node.bordercolor','rgba(0,0,0,1)');
  21727. Node278_13.a('node.borderwidth', 0);
  21728. Node278_13.a('node.background','' || 'rgba(0,0,0,0)');
  21729. Node278_13.a('node.gradient','');
  21730. Node278_13.a('node.gradientcolor','');
  21731. Node278_13.a('node.text','有功功率');
  21732. Node278_13.a('node.textalign','left');
  21733. Node278_13.a('node.textvAlign','middle');
  21734. Node278_13.a('node.textrect', [Node278_13textStart, 0, Node278_13textWidth, Node278_13height]);
  21735. Node278_13.a('node.color','rgba(0,0,0,1)');
  21736. Node278_13.a('node.font',' '+ Node278_13fontSize + 'px "Arial"');
  21737. Node278_13.a('node.textvisible',true);
  21738. Node278_13.a('node.linefeed',false);
  21739. if (false) {
  21740. Node278_13.a('node.textfunc',function(g) {
  21741. g.beginPath();
  21742. var str=Node278_13.a('node.text') || '有功功率';
  21743. var color=Node278_13.a('node.color') || 'rgba(0,0,0,1)';
  21744. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_13width,Node278_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_13fontSize + 'px "Arial"', 0,g);
  21745. });
  21746. }
  21747. if (false) {
  21748. Node278_13.a('node.underlinepoints',[Node278_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width + 6, (Node278_13height - Node278_13fontSize) * 0.5*_ratio.ratioY + Node278_13fontSize + 2 ]);
  21749. Node278_13.a('node.underlinevisible',false);
  21750. Node278_13.a('node.underlineBorderWidth', 1);
  21751. }
  21752. dataModel.add(Node278_13);
  21753. zoomNodeList.push({
  21754. node: Node278_13,
  21755. borderWidth: 0,
  21756. attr: 'node.borderwidth'
  21757. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21758. var Node278_14 = new ht.Node();
  21759. var Node278_14textStart, Node278_14textWidth, Node278_14lineStart, Node278_14align = 'left', Node278_14fontSize = 10.66664*_ratio.ratioY,Node278_14width = 22*_ratio.ratioX, Node278_14height = 27*_ratio.ratioY;
  21760. (function () {
  21761. if (Node278_14align === 'left') {
  21762. Node278_14textStart = Node278_14fontSize * 0.2 > 2 ? Node278_14fontSize * 0.2 - 4 : Node278_14fontSize * 0.2 - 9;
  21763. Node278_14textWidth = Node278_14width;
  21764. Node278_14lineStart = 1;
  21765. } else if (Node278_14align === 'right') {
  21766. Node278_14textStart = 0;
  21767. Node278_14textWidth =Node278_14fontSize <= 8 ? Node278_14width + Node278_14fontSize * 0.2 + 6 : Node278_14width - Node278_14fontSize * 0.2;
  21768. Node278_14lineStart = (Node278_14width - (ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  21769. } else if (Node278_14align === 'center') {
  21770. Node278_14textStart = -3;
  21771. Node278_14textWidth = Node278_14width;
  21772. Node278_14lineStart = Node278_14width - ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width - 11;
  21773. }
  21774. })();
  21775. Node278_14.setImage(GD.getTextJSON(Node278_14width, Node278_14height, true, false, false, ' '+ Node278_14fontSize + 'px "Arial"'))
  21776. Node278_14.setPosition(231*ratio.ratioX, 597*ratio.ratioY);
  21777. Node278_14.setWidth(Node278_14width);
  21778. Node278_14.setHeight(Node278_14height);
  21779. Node278_14._nodeType = 'text';
  21780. Node278_14._disallowEvert = true;
  21781. Node278_14.setRotation(0*Math.PI/180);
  21782. Node278_14.a('node.width', Node278_14width);
  21783. Node278_14.a('node.height', Node278_14height);
  21784. Node278_14.a('node.rect', [0, 0, Node278_14width, Node278_14height]);
  21785. Node278_14.a('node.bordercolor','rgba(192,0,0,1)');
  21786. Node278_14.a('node.borderwidth', 0);
  21787. Node278_14.a('node.background','' || 'rgba(0,0,0,0)');
  21788. Node278_14.a('node.gradient','');
  21789. Node278_14.a('node.gradientcolor','');
  21790. Node278_14.a('node.text','-');
  21791. Node278_14.a('node.textalign','left');
  21792. Node278_14.a('node.textvAlign','middle');
  21793. Node278_14.a('node.textrect', [Node278_14textStart, 0, Node278_14textWidth, Node278_14height]);
  21794. Node278_14.a('node.color','rgba(192,0,0,1)');
  21795. Node278_14.a('node.font',' '+ Node278_14fontSize + 'px "Arial"');
  21796. Node278_14.a('node.textvisible',true);
  21797. Node278_14.a('node.linefeed',false);
  21798. if (false) {
  21799. Node278_14.a('node.textfunc',function(g) {
  21800. g.beginPath();
  21801. var str=Node278_14.a('node.text') || '-';
  21802. var color=Node278_14.a('node.color') || 'rgba(192,0,0,1)';
  21803. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_14width,Node278_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_14fontSize + 'px "Arial"', 0,g);
  21804. });
  21805. }
  21806. if (false) {
  21807. Node278_14.a('node.underlinepoints',[Node278_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width + 6, (Node278_14height - Node278_14fontSize) * 0.5*_ratio.ratioY + Node278_14fontSize + 2 ]);
  21808. Node278_14.a('node.underlinevisible',false);
  21809. Node278_14.a('node.underlineBorderWidth', 1);
  21810. }
  21811. dataModel.add(Node278_14);
  21812. zoomNodeList.push({
  21813. node: Node278_14,
  21814. borderWidth: 0,
  21815. attr: 'node.borderwidth'
  21816. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21817. var Node278_15 = new ht.Node();
  21818. var Node278_15textStart, Node278_15textWidth, Node278_15lineStart, Node278_15align = 'left', Node278_15fontSize = 10.66664*_ratio.ratioY,Node278_15width = 43*_ratio.ratioX, Node278_15height = 27*_ratio.ratioY;
  21819. (function () {
  21820. if (Node278_15align === 'left') {
  21821. Node278_15textStart = Node278_15fontSize * 0.2 > 2 ? Node278_15fontSize * 0.2 - 4 : Node278_15fontSize * 0.2 - 9;
  21822. Node278_15textWidth = Node278_15width;
  21823. Node278_15lineStart = 1;
  21824. } else if (Node278_15align === 'right') {
  21825. Node278_15textStart = 0;
  21826. Node278_15textWidth =Node278_15fontSize <= 8 ? Node278_15width + Node278_15fontSize * 0.2 + 6 : Node278_15width - Node278_15fontSize * 0.2;
  21827. Node278_15lineStart = (Node278_15width - (ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  21828. } else if (Node278_15align === 'center') {
  21829. Node278_15textStart = -3;
  21830. Node278_15textWidth = Node278_15width;
  21831. Node278_15lineStart = Node278_15width - ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width - 11;
  21832. }
  21833. })();
  21834. Node278_15.setImage(GD.getTextJSON(Node278_15width, Node278_15height, true, false, false, ' '+ Node278_15fontSize + 'px "Arial"'))
  21835. Node278_15.setPosition(278*ratio.ratioX, 597*ratio.ratioY);
  21836. Node278_15.setWidth(Node278_15width);
  21837. Node278_15.setHeight(Node278_15height);
  21838. Node278_15._nodeType = 'text';
  21839. Node278_15._disallowEvert = true;
  21840. Node278_15.setRotation(0*Math.PI/180);
  21841. Node278_15.a('node.width', Node278_15width);
  21842. Node278_15.a('node.height', Node278_15height);
  21843. Node278_15.a('node.rect', [0, 0, Node278_15width, Node278_15height]);
  21844. Node278_15.a('node.bordercolor','rgba(0,0,0,1)');
  21845. Node278_15.a('node.borderwidth', 0);
  21846. Node278_15.a('node.background','' || 'rgba(0,0,0,0)');
  21847. Node278_15.a('node.gradient','');
  21848. Node278_15.a('node.gradientcolor','');
  21849. Node278_15.a('node.text','万kwh');
  21850. Node278_15.a('node.textalign','left');
  21851. Node278_15.a('node.textvAlign','middle');
  21852. Node278_15.a('node.textrect', [Node278_15textStart, 0, Node278_15textWidth, Node278_15height]);
  21853. Node278_15.a('node.color','rgba(0,0,0,1)');
  21854. Node278_15.a('node.font',' '+ Node278_15fontSize + 'px "Arial"');
  21855. Node278_15.a('node.textvisible',true);
  21856. Node278_15.a('node.linefeed',false);
  21857. if (false) {
  21858. Node278_15.a('node.textfunc',function(g) {
  21859. g.beginPath();
  21860. var str=Node278_15.a('node.text') || '万kwh';
  21861. var color=Node278_15.a('node.color') || 'rgba(0,0,0,1)';
  21862. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_15width,Node278_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_15fontSize + 'px "Arial"', 0,g);
  21863. });
  21864. }
  21865. if (false) {
  21866. Node278_15.a('node.underlinepoints',[Node278_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width + 6, (Node278_15height - Node278_15fontSize) * 0.5*_ratio.ratioY + Node278_15fontSize + 2 ]);
  21867. Node278_15.a('node.underlinevisible',false);
  21868. Node278_15.a('node.underlineBorderWidth', 1);
  21869. }
  21870. dataModel.add(Node278_15);
  21871. zoomNodeList.push({
  21872. node: Node278_15,
  21873. borderWidth: 0,
  21874. attr: 'node.borderwidth'
  21875. }); var Node279_0;
  21876. (function () {
  21877. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21878. var ratioX, ratioY;
  21879. if ('Default' === 'False') {
  21880. ratioX = 1;
  21881. ratioY = 1;
  21882. } else if ('Default' === 'X') {
  21883. ratioX = ratioY = _ratio.ratioX;
  21884. } else if ('Default' === 'Y') {
  21885. ratioX = ratioY = _ratio.ratioY;
  21886. } else {
  21887. ratioX = _ratio.ratioX;
  21888. ratioY = _ratio.ratioY;
  21889. }
  21890. ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
  21891. Node279_0 = new ht.Node();
  21892. Node279_0.setPosition(193*ratio.ratioX, 860*ratio.ratioY);
  21893. Node279_0.setSize(146*ratioX, 141*ratioY);
  21894. Node279_0.setImage('imgimage//img//map_name_03.png');
  21895. Node279_0.setRotation(0*Math.PI/180);
  21896. Node279_0._zoomBy = 'Default';
  21897. Node279_0._nodeType = 'image';
  21898. Node279_0._disallowEvert = true;
  21899. dataModel.add(Node279_0);
  21900. })();
  21901. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21902. var Node279_1 = new ht.Node();
  21903. var Node279_1textStart, Node279_1textWidth, Node279_1lineStart, Node279_1align = 'left', Node279_1fontSize = 10.66664*_ratio.ratioY,Node279_1width = 72*_ratio.ratioX, Node279_1height = 27*_ratio.ratioY;
  21904. (function () {
  21905. if (Node279_1align === 'left') {
  21906. Node279_1textStart = Node279_1fontSize * 0.2 > 2 ? Node279_1fontSize * 0.2 - 4 : Node279_1fontSize * 0.2 - 9;
  21907. Node279_1textWidth = Node279_1width;
  21908. Node279_1lineStart = 1;
  21909. } else if (Node279_1align === 'right') {
  21910. Node279_1textStart = 0;
  21911. Node279_1textWidth =Node279_1fontSize <= 8 ? Node279_1width + Node279_1fontSize * 0.2 + 6 : Node279_1width - Node279_1fontSize * 0.2;
  21912. Node279_1lineStart = (Node279_1width - (ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width + 6)) * 0.5;
  21913. } else if (Node279_1align === 'center') {
  21914. Node279_1textStart = -3;
  21915. Node279_1textWidth = Node279_1width;
  21916. Node279_1lineStart = Node279_1width - ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width - 11;
  21917. }
  21918. })();
  21919. Node279_1.setImage(GD.getTextJSON(Node279_1width, Node279_1height, true, false, false, ' '+ Node279_1fontSize + 'px "Arial"'))
  21920. Node279_1.setPosition(163*ratio.ratioX, 813*ratio.ratioY);
  21921. Node279_1.setWidth(Node279_1width);
  21922. Node279_1.setHeight(Node279_1height);
  21923. Node279_1._nodeType = 'text';
  21924. Node279_1._disallowEvert = true;
  21925. Node279_1.setRotation(0*Math.PI/180);
  21926. Node279_1.a('node.width', Node279_1width);
  21927. Node279_1.a('node.height', Node279_1height);
  21928. Node279_1.a('node.rect', [0, 0, Node279_1width, Node279_1height]);
  21929. Node279_1.a('node.bordercolor','rgba(0,0,0,1)');
  21930. Node279_1.a('node.borderwidth', 0);
  21931. Node279_1.a('node.background','' || 'rgba(0,0,0,0)');
  21932. Node279_1.a('node.gradient','');
  21933. Node279_1.a('node.gradientcolor','');
  21934. Node279_1.a('node.text','风机台数');
  21935. Node279_1.a('node.textalign','left');
  21936. Node279_1.a('node.textvAlign','middle');
  21937. Node279_1.a('node.textrect', [Node279_1textStart, 0, Node279_1textWidth, Node279_1height]);
  21938. Node279_1.a('node.color','rgba(0,0,0,1)');
  21939. Node279_1.a('node.font',' '+ Node279_1fontSize + 'px "Arial"');
  21940. Node279_1.a('node.textvisible',true);
  21941. Node279_1.a('node.linefeed',false);
  21942. if (false) {
  21943. Node279_1.a('node.textfunc',function(g) {
  21944. g.beginPath();
  21945. var str=Node279_1.a('node.text') || '风机台数';
  21946. var color=Node279_1.a('node.color') || 'rgba(0,0,0,1)';
  21947. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_1width,Node279_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_1fontSize + 'px "Arial"', 0,g);
  21948. });
  21949. }
  21950. if (false) {
  21951. Node279_1.a('node.underlinepoints',[Node279_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width + 6, (Node279_1height - Node279_1fontSize) * 0.5*_ratio.ratioY + Node279_1fontSize + 2 ]);
  21952. Node279_1.a('node.underlinevisible',false);
  21953. Node279_1.a('node.underlineBorderWidth', 1);
  21954. }
  21955. dataModel.add(Node279_1);
  21956. zoomNodeList.push({
  21957. node: Node279_1,
  21958. borderWidth: 0,
  21959. attr: 'node.borderwidth'
  21960. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  21961. var Node279_2 = new ht.Node();
  21962. var Node279_2textStart, Node279_2textWidth, Node279_2lineStart, Node279_2align = 'left', Node279_2fontSize = 10.66664*_ratio.ratioY,Node279_2width = 22*_ratio.ratioX, Node279_2height = 27*_ratio.ratioY;
  21963. (function () {
  21964. if (Node279_2align === 'left') {
  21965. Node279_2textStart = Node279_2fontSize * 0.2 > 2 ? Node279_2fontSize * 0.2 - 4 : Node279_2fontSize * 0.2 - 9;
  21966. Node279_2textWidth = Node279_2width;
  21967. Node279_2lineStart = 1;
  21968. } else if (Node279_2align === 'right') {
  21969. Node279_2textStart = 0;
  21970. Node279_2textWidth =Node279_2fontSize <= 8 ? Node279_2width + Node279_2fontSize * 0.2 + 6 : Node279_2width - Node279_2fontSize * 0.2;
  21971. Node279_2lineStart = (Node279_2width - (ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width + 6)) * 0.5;
  21972. } else if (Node279_2align === 'center') {
  21973. Node279_2textStart = -3;
  21974. Node279_2textWidth = Node279_2width;
  21975. Node279_2lineStart = Node279_2width - ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width - 11;
  21976. }
  21977. })();
  21978. Node279_2.setImage(GD.getTextJSON(Node279_2width, Node279_2height, true, false, false, ' '+ Node279_2fontSize + 'px "Arial"'))
  21979. Node279_2.setPosition(201*ratio.ratioX, 813*ratio.ratioY);
  21980. Node279_2.setWidth(Node279_2width);
  21981. Node279_2.setHeight(Node279_2height);
  21982. Node279_2._nodeType = 'text';
  21983. Node279_2._disallowEvert = true;
  21984. Node279_2.setRotation(0*Math.PI/180);
  21985. Node279_2.a('node.width', Node279_2width);
  21986. Node279_2.a('node.height', Node279_2height);
  21987. Node279_2.a('node.rect', [0, 0, Node279_2width, Node279_2height]);
  21988. Node279_2.a('node.bordercolor','rgba(192,0,0,1)');
  21989. Node279_2.a('node.borderwidth', 0);
  21990. Node279_2.a('node.background','' || 'rgba(0,0,0,0)');
  21991. Node279_2.a('node.gradient','');
  21992. Node279_2.a('node.gradientcolor','');
  21993. Node279_2.a('node.text','99');
  21994. Node279_2.a('node.textalign','left');
  21995. Node279_2.a('node.textvAlign','middle');
  21996. Node279_2.a('node.textrect', [Node279_2textStart, 0, Node279_2textWidth, Node279_2height]);
  21997. Node279_2.a('node.color','rgba(192,0,0,1)');
  21998. Node279_2.a('node.font',' '+ Node279_2fontSize + 'px "Arial"');
  21999. Node279_2.a('node.textvisible',true);
  22000. Node279_2.a('node.linefeed',false);
  22001. if (false) {
  22002. Node279_2.a('node.textfunc',function(g) {
  22003. g.beginPath();
  22004. var str=Node279_2.a('node.text') || '99';
  22005. var color=Node279_2.a('node.color') || 'rgba(192,0,0,1)';
  22006. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_2width,Node279_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_2fontSize + 'px "Arial"', 0,g);
  22007. });
  22008. }
  22009. if (false) {
  22010. Node279_2.a('node.underlinepoints',[Node279_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width + 6, (Node279_2height - Node279_2fontSize) * 0.5*_ratio.ratioY + Node279_2fontSize + 2 ]);
  22011. Node279_2.a('node.underlinevisible',false);
  22012. Node279_2.a('node.underlineBorderWidth', 1);
  22013. }
  22014. dataModel.add(Node279_2);
  22015. zoomNodeList.push({
  22016. node: Node279_2,
  22017. borderWidth: 0,
  22018. attr: 'node.borderwidth'
  22019. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22020. var Node279_3 = new ht.Node();
  22021. var Node279_3textStart, Node279_3textWidth, Node279_3lineStart, Node279_3align = 'left', Node279_3fontSize = 10.66664*_ratio.ratioY,Node279_3width = 43*_ratio.ratioX, Node279_3height = 27*_ratio.ratioY;
  22022. (function () {
  22023. if (Node279_3align === 'left') {
  22024. Node279_3textStart = Node279_3fontSize * 0.2 > 2 ? Node279_3fontSize * 0.2 - 4 : Node279_3fontSize * 0.2 - 9;
  22025. Node279_3textWidth = Node279_3width;
  22026. Node279_3lineStart = 1;
  22027. } else if (Node279_3align === 'right') {
  22028. Node279_3textStart = 0;
  22029. Node279_3textWidth =Node279_3fontSize <= 8 ? Node279_3width + Node279_3fontSize * 0.2 + 6 : Node279_3width - Node279_3fontSize * 0.2;
  22030. Node279_3lineStart = (Node279_3width - (ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width + 6)) * 0.5;
  22031. } else if (Node279_3align === 'center') {
  22032. Node279_3textStart = -3;
  22033. Node279_3textWidth = Node279_3width;
  22034. Node279_3lineStart = Node279_3width - ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width - 11;
  22035. }
  22036. })();
  22037. Node279_3.setImage(GD.getTextJSON(Node279_3width, Node279_3height, true, false, false, ' '+ Node279_3fontSize + 'px "Arial"'))
  22038. Node279_3.setPosition(248*ratio.ratioX, 813*ratio.ratioY);
  22039. Node279_3.setWidth(Node279_3width);
  22040. Node279_3.setHeight(Node279_3height);
  22041. Node279_3._nodeType = 'text';
  22042. Node279_3._disallowEvert = true;
  22043. Node279_3.setRotation(0*Math.PI/180);
  22044. Node279_3.a('node.width', Node279_3width);
  22045. Node279_3.a('node.height', Node279_3height);
  22046. Node279_3.a('node.rect', [0, 0, Node279_3width, Node279_3height]);
  22047. Node279_3.a('node.bordercolor','rgba(0,0,0,1)');
  22048. Node279_3.a('node.borderwidth', 0);
  22049. Node279_3.a('node.background','' || 'rgba(0,0,0,0)');
  22050. Node279_3.a('node.gradient','');
  22051. Node279_3.a('node.gradientcolor','');
  22052. Node279_3.a('node.text','万kwh');
  22053. Node279_3.a('node.textalign','left');
  22054. Node279_3.a('node.textvAlign','middle');
  22055. Node279_3.a('node.textrect', [Node279_3textStart, 0, Node279_3textWidth, Node279_3height]);
  22056. Node279_3.a('node.color','rgba(0,0,0,1)');
  22057. Node279_3.a('node.font',' '+ Node279_3fontSize + 'px "Arial"');
  22058. Node279_3.a('node.textvisible',true);
  22059. Node279_3.a('node.linefeed',false);
  22060. if (false) {
  22061. Node279_3.a('node.textfunc',function(g) {
  22062. g.beginPath();
  22063. var str=Node279_3.a('node.text') || '万kwh';
  22064. var color=Node279_3.a('node.color') || 'rgba(0,0,0,1)';
  22065. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_3width,Node279_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_3fontSize + 'px "Arial"', 0,g);
  22066. });
  22067. }
  22068. if (false) {
  22069. Node279_3.a('node.underlinepoints',[Node279_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width + 6, (Node279_3height - Node279_3fontSize) * 0.5*_ratio.ratioY + Node279_3fontSize + 2 ]);
  22070. Node279_3.a('node.underlinevisible',false);
  22071. Node279_3.a('node.underlineBorderWidth', 1);
  22072. }
  22073. dataModel.add(Node279_3);
  22074. zoomNodeList.push({
  22075. node: Node279_3,
  22076. borderWidth: 0,
  22077. attr: 'node.borderwidth'
  22078. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22079. var Node279_4 = new ht.Node();
  22080. var Node279_4textStart, Node279_4textWidth, Node279_4lineStart, Node279_4align = 'left', Node279_4fontSize = 10.66664*_ratio.ratioY,Node279_4width = 72*_ratio.ratioX, Node279_4height = 27*_ratio.ratioY;
  22081. (function () {
  22082. if (Node279_4align === 'left') {
  22083. Node279_4textStart = Node279_4fontSize * 0.2 > 2 ? Node279_4fontSize * 0.2 - 4 : Node279_4fontSize * 0.2 - 9;
  22084. Node279_4textWidth = Node279_4width;
  22085. Node279_4lineStart = 1;
  22086. } else if (Node279_4align === 'right') {
  22087. Node279_4textStart = 0;
  22088. Node279_4textWidth =Node279_4fontSize <= 8 ? Node279_4width + Node279_4fontSize * 0.2 + 6 : Node279_4width - Node279_4fontSize * 0.2;
  22089. Node279_4lineStart = (Node279_4width - (ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width + 6)) * 0.5;
  22090. } else if (Node279_4align === 'center') {
  22091. Node279_4textStart = -3;
  22092. Node279_4textWidth = Node279_4width;
  22093. Node279_4lineStart = Node279_4width - ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width - 11;
  22094. }
  22095. })();
  22096. Node279_4.setImage(GD.getTextJSON(Node279_4width, Node279_4height, true, false, false, ' '+ Node279_4fontSize + 'px "Arial"'))
  22097. Node279_4.setPosition(163*ratio.ratioX, 839*ratio.ratioY);
  22098. Node279_4.setWidth(Node279_4width);
  22099. Node279_4.setHeight(Node279_4height);
  22100. Node279_4._nodeType = 'text';
  22101. Node279_4._disallowEvert = true;
  22102. Node279_4.setRotation(0*Math.PI/180);
  22103. Node279_4.a('node.width', Node279_4width);
  22104. Node279_4.a('node.height', Node279_4height);
  22105. Node279_4.a('node.rect', [0, 0, Node279_4width, Node279_4height]);
  22106. Node279_4.a('node.bordercolor','rgba(0,0,0,1)');
  22107. Node279_4.a('node.borderwidth', 0);
  22108. Node279_4.a('node.background','' || 'rgba(0,0,0,0)');
  22109. Node279_4.a('node.gradient','');
  22110. Node279_4.a('node.gradientcolor','');
  22111. Node279_4.a('node.text','装机容量');
  22112. Node279_4.a('node.textalign','left');
  22113. Node279_4.a('node.textvAlign','middle');
  22114. Node279_4.a('node.textrect', [Node279_4textStart, 0, Node279_4textWidth, Node279_4height]);
  22115. Node279_4.a('node.color','rgba(0,0,0,1)');
  22116. Node279_4.a('node.font',' '+ Node279_4fontSize + 'px "Arial"');
  22117. Node279_4.a('node.textvisible',true);
  22118. Node279_4.a('node.linefeed',false);
  22119. if (false) {
  22120. Node279_4.a('node.textfunc',function(g) {
  22121. g.beginPath();
  22122. var str=Node279_4.a('node.text') || '装机容量';
  22123. var color=Node279_4.a('node.color') || 'rgba(0,0,0,1)';
  22124. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_4width,Node279_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_4fontSize + 'px "Arial"', 0,g);
  22125. });
  22126. }
  22127. if (false) {
  22128. Node279_4.a('node.underlinepoints',[Node279_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width + 6, (Node279_4height - Node279_4fontSize) * 0.5*_ratio.ratioY + Node279_4fontSize + 2 ]);
  22129. Node279_4.a('node.underlinevisible',false);
  22130. Node279_4.a('node.underlineBorderWidth', 1);
  22131. }
  22132. dataModel.add(Node279_4);
  22133. zoomNodeList.push({
  22134. node: Node279_4,
  22135. borderWidth: 0,
  22136. attr: 'node.borderwidth'
  22137. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22138. var Node279_5 = new ht.Node();
  22139. var Node279_5textStart, Node279_5textWidth, Node279_5lineStart, Node279_5align = 'left', Node279_5fontSize = 10.66664*_ratio.ratioY,Node279_5width = 31*_ratio.ratioX, Node279_5height = 27*_ratio.ratioY;
  22140. (function () {
  22141. if (Node279_5align === 'left') {
  22142. Node279_5textStart = Node279_5fontSize * 0.2 > 2 ? Node279_5fontSize * 0.2 - 4 : Node279_5fontSize * 0.2 - 9;
  22143. Node279_5textWidth = Node279_5width;
  22144. Node279_5lineStart = 1;
  22145. } else if (Node279_5align === 'right') {
  22146. Node279_5textStart = 0;
  22147. Node279_5textWidth =Node279_5fontSize <= 8 ? Node279_5width + Node279_5fontSize * 0.2 + 6 : Node279_5width - Node279_5fontSize * 0.2;
  22148. Node279_5lineStart = (Node279_5width - (ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width + 6)) * 0.5;
  22149. } else if (Node279_5align === 'center') {
  22150. Node279_5textStart = -3;
  22151. Node279_5textWidth = Node279_5width;
  22152. Node279_5lineStart = Node279_5width - ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width - 11;
  22153. }
  22154. })();
  22155. Node279_5.setImage(GD.getTextJSON(Node279_5width, Node279_5height, true, false, false, ' '+ Node279_5fontSize + 'px "Arial"'))
  22156. Node279_5.setPosition(206*ratio.ratioX, 839*ratio.ratioY);
  22157. Node279_5.setWidth(Node279_5width);
  22158. Node279_5.setHeight(Node279_5height);
  22159. Node279_5._nodeType = 'text';
  22160. Node279_5._disallowEvert = true;
  22161. Node279_5.setRotation(0*Math.PI/180);
  22162. Node279_5.a('node.width', Node279_5width);
  22163. Node279_5.a('node.height', Node279_5height);
  22164. Node279_5.a('node.rect', [0, 0, Node279_5width, Node279_5height]);
  22165. Node279_5.a('node.bordercolor','rgba(192,0,0,1)');
  22166. Node279_5.a('node.borderwidth', 0);
  22167. Node279_5.a('node.background','' || 'rgba(0,0,0,0)');
  22168. Node279_5.a('node.gradient','');
  22169. Node279_5.a('node.gradientcolor','');
  22170. Node279_5.a('node.text','14.85');
  22171. Node279_5.a('node.textalign','left');
  22172. Node279_5.a('node.textvAlign','middle');
  22173. Node279_5.a('node.textrect', [Node279_5textStart, 0, Node279_5textWidth, Node279_5height]);
  22174. Node279_5.a('node.color','rgba(192,0,0,1)');
  22175. Node279_5.a('node.font',' '+ Node279_5fontSize + 'px "Arial"');
  22176. Node279_5.a('node.textvisible',true);
  22177. Node279_5.a('node.linefeed',false);
  22178. if (false) {
  22179. Node279_5.a('node.textfunc',function(g) {
  22180. g.beginPath();
  22181. var str=Node279_5.a('node.text') || '14.85';
  22182. var color=Node279_5.a('node.color') || 'rgba(192,0,0,1)';
  22183. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_5width,Node279_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_5fontSize + 'px "Arial"', 0,g);
  22184. });
  22185. }
  22186. if (false) {
  22187. Node279_5.a('node.underlinepoints',[Node279_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width + 6, (Node279_5height - Node279_5fontSize) * 0.5*_ratio.ratioY + Node279_5fontSize + 2 ]);
  22188. Node279_5.a('node.underlinevisible',false);
  22189. Node279_5.a('node.underlineBorderWidth', 1);
  22190. }
  22191. dataModel.add(Node279_5);
  22192. zoomNodeList.push({
  22193. node: Node279_5,
  22194. borderWidth: 0,
  22195. attr: 'node.borderwidth'
  22196. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22197. var Node279_6 = new ht.Node();
  22198. var Node279_6textStart, Node279_6textWidth, Node279_6lineStart, Node279_6align = 'left', Node279_6fontSize = 10.66664*_ratio.ratioY,Node279_6width = 43*_ratio.ratioX, Node279_6height = 27*_ratio.ratioY;
  22199. (function () {
  22200. if (Node279_6align === 'left') {
  22201. Node279_6textStart = Node279_6fontSize * 0.2 > 2 ? Node279_6fontSize * 0.2 - 4 : Node279_6fontSize * 0.2 - 9;
  22202. Node279_6textWidth = Node279_6width;
  22203. Node279_6lineStart = 1;
  22204. } else if (Node279_6align === 'right') {
  22205. Node279_6textStart = 0;
  22206. Node279_6textWidth =Node279_6fontSize <= 8 ? Node279_6width + Node279_6fontSize * 0.2 + 6 : Node279_6width - Node279_6fontSize * 0.2;
  22207. Node279_6lineStart = (Node279_6width - (ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width + 6)) * 0.5;
  22208. } else if (Node279_6align === 'center') {
  22209. Node279_6textStart = -3;
  22210. Node279_6textWidth = Node279_6width;
  22211. Node279_6lineStart = Node279_6width - ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width - 11;
  22212. }
  22213. })();
  22214. Node279_6.setImage(GD.getTextJSON(Node279_6width, Node279_6height, true, false, false, ' '+ Node279_6fontSize + 'px "Arial"'))
  22215. Node279_6.setPosition(248*ratio.ratioX, 839*ratio.ratioY);
  22216. Node279_6.setWidth(Node279_6width);
  22217. Node279_6.setHeight(Node279_6height);
  22218. Node279_6._nodeType = 'text';
  22219. Node279_6._disallowEvert = true;
  22220. Node279_6.setRotation(0*Math.PI/180);
  22221. Node279_6.a('node.width', Node279_6width);
  22222. Node279_6.a('node.height', Node279_6height);
  22223. Node279_6.a('node.rect', [0, 0, Node279_6width, Node279_6height]);
  22224. Node279_6.a('node.bordercolor','rgba(0,0,0,1)');
  22225. Node279_6.a('node.borderwidth', 0);
  22226. Node279_6.a('node.background','' || 'rgba(0,0,0,0)');
  22227. Node279_6.a('node.gradient','');
  22228. Node279_6.a('node.gradientcolor','');
  22229. Node279_6.a('node.text','万kwh');
  22230. Node279_6.a('node.textalign','left');
  22231. Node279_6.a('node.textvAlign','middle');
  22232. Node279_6.a('node.textrect', [Node279_6textStart, 0, Node279_6textWidth, Node279_6height]);
  22233. Node279_6.a('node.color','rgba(0,0,0,1)');
  22234. Node279_6.a('node.font',' '+ Node279_6fontSize + 'px "Arial"');
  22235. Node279_6.a('node.textvisible',true);
  22236. Node279_6.a('node.linefeed',false);
  22237. if (false) {
  22238. Node279_6.a('node.textfunc',function(g) {
  22239. g.beginPath();
  22240. var str=Node279_6.a('node.text') || '万kwh';
  22241. var color=Node279_6.a('node.color') || 'rgba(0,0,0,1)';
  22242. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_6width,Node279_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_6fontSize + 'px "Arial"', 0,g);
  22243. });
  22244. }
  22245. if (false) {
  22246. Node279_6.a('node.underlinepoints',[Node279_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width + 6, (Node279_6height - Node279_6fontSize) * 0.5*_ratio.ratioY + Node279_6fontSize + 2 ]);
  22247. Node279_6.a('node.underlinevisible',false);
  22248. Node279_6.a('node.underlineBorderWidth', 1);
  22249. }
  22250. dataModel.add(Node279_6);
  22251. zoomNodeList.push({
  22252. node: Node279_6,
  22253. borderWidth: 0,
  22254. attr: 'node.borderwidth'
  22255. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22256. var Node279_7 = new ht.Node();
  22257. var Node279_7textStart, Node279_7textWidth, Node279_7lineStart, Node279_7align = 'left', Node279_7fontSize = 10.66664*_ratio.ratioY,Node279_7width = 72*_ratio.ratioX, Node279_7height = 27*_ratio.ratioY;
  22258. (function () {
  22259. if (Node279_7align === 'left') {
  22260. Node279_7textStart = Node279_7fontSize * 0.2 > 2 ? Node279_7fontSize * 0.2 - 4 : Node279_7fontSize * 0.2 - 9;
  22261. Node279_7textWidth = Node279_7width;
  22262. Node279_7lineStart = 1;
  22263. } else if (Node279_7align === 'right') {
  22264. Node279_7textStart = 0;
  22265. Node279_7textWidth =Node279_7fontSize <= 8 ? Node279_7width + Node279_7fontSize * 0.2 + 6 : Node279_7width - Node279_7fontSize * 0.2;
  22266. Node279_7lineStart = (Node279_7width - (ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width + 6)) * 0.5;
  22267. } else if (Node279_7align === 'center') {
  22268. Node279_7textStart = -3;
  22269. Node279_7textWidth = Node279_7width;
  22270. Node279_7lineStart = Node279_7width - ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width - 11;
  22271. }
  22272. })();
  22273. Node279_7.setImage(GD.getTextJSON(Node279_7width, Node279_7height, true, false, false, ' '+ Node279_7fontSize + 'px "Arial"'))
  22274. Node279_7.setPosition(163*ratio.ratioX, 864*ratio.ratioY);
  22275. Node279_7.setWidth(Node279_7width);
  22276. Node279_7.setHeight(Node279_7height);
  22277. Node279_7._nodeType = 'text';
  22278. Node279_7._disallowEvert = true;
  22279. Node279_7.setRotation(0*Math.PI/180);
  22280. Node279_7.a('node.width', Node279_7width);
  22281. Node279_7.a('node.height', Node279_7height);
  22282. Node279_7.a('node.rect', [0, 0, Node279_7width, Node279_7height]);
  22283. Node279_7.a('node.bordercolor','rgba(0,0,0,1)');
  22284. Node279_7.a('node.borderwidth', 0);
  22285. Node279_7.a('node.background','' || 'rgba(0,0,0,0)');
  22286. Node279_7.a('node.gradient','');
  22287. Node279_7.a('node.gradientcolor','');
  22288. Node279_7.a('node.text','平均风速');
  22289. Node279_7.a('node.textalign','left');
  22290. Node279_7.a('node.textvAlign','middle');
  22291. Node279_7.a('node.textrect', [Node279_7textStart, 0, Node279_7textWidth, Node279_7height]);
  22292. Node279_7.a('node.color','rgba(0,0,0,1)');
  22293. Node279_7.a('node.font',' '+ Node279_7fontSize + 'px "Arial"');
  22294. Node279_7.a('node.textvisible',true);
  22295. Node279_7.a('node.linefeed',false);
  22296. if (false) {
  22297. Node279_7.a('node.textfunc',function(g) {
  22298. g.beginPath();
  22299. var str=Node279_7.a('node.text') || '平均风速';
  22300. var color=Node279_7.a('node.color') || 'rgba(0,0,0,1)';
  22301. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_7width,Node279_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_7fontSize + 'px "Arial"', 0,g);
  22302. });
  22303. }
  22304. if (false) {
  22305. Node279_7.a('node.underlinepoints',[Node279_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width + 6, (Node279_7height - Node279_7fontSize) * 0.5*_ratio.ratioY + Node279_7fontSize + 2 ]);
  22306. Node279_7.a('node.underlinevisible',false);
  22307. Node279_7.a('node.underlineBorderWidth', 1);
  22308. }
  22309. dataModel.add(Node279_7);
  22310. zoomNodeList.push({
  22311. node: Node279_7,
  22312. borderWidth: 0,
  22313. attr: 'node.borderwidth'
  22314. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22315. var Node279_8 = new ht.Node();
  22316. var Node279_8textStart, Node279_8textWidth, Node279_8lineStart, Node279_8align = 'left', Node279_8fontSize = 10.66664*_ratio.ratioY,Node279_8width = 22*_ratio.ratioX, Node279_8height = 27*_ratio.ratioY;
  22317. (function () {
  22318. if (Node279_8align === 'left') {
  22319. Node279_8textStart = Node279_8fontSize * 0.2 > 2 ? Node279_8fontSize * 0.2 - 4 : Node279_8fontSize * 0.2 - 9;
  22320. Node279_8textWidth = Node279_8width;
  22321. Node279_8lineStart = 1;
  22322. } else if (Node279_8align === 'right') {
  22323. Node279_8textStart = 0;
  22324. Node279_8textWidth =Node279_8fontSize <= 8 ? Node279_8width + Node279_8fontSize * 0.2 + 6 : Node279_8width - Node279_8fontSize * 0.2;
  22325. Node279_8lineStart = (Node279_8width - (ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width + 6)) * 0.5;
  22326. } else if (Node279_8align === 'center') {
  22327. Node279_8textStart = -3;
  22328. Node279_8textWidth = Node279_8width;
  22329. Node279_8lineStart = Node279_8width - ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width - 11;
  22330. }
  22331. })();
  22332. Node279_8.setImage(GD.getTextJSON(Node279_8width, Node279_8height, true, false, false, ' '+ Node279_8fontSize + 'px "Arial"'))
  22333. Node279_8.setPosition(201*ratio.ratioX, 864*ratio.ratioY);
  22334. Node279_8.setWidth(Node279_8width);
  22335. Node279_8.setHeight(Node279_8height);
  22336. Node279_8._nodeType = 'text';
  22337. Node279_8._disallowEvert = true;
  22338. Node279_8.setRotation(0*Math.PI/180);
  22339. Node279_8.a('node.width', Node279_8width);
  22340. Node279_8.a('node.height', Node279_8height);
  22341. Node279_8.a('node.rect', [0, 0, Node279_8width, Node279_8height]);
  22342. Node279_8.a('node.bordercolor','rgba(192,0,0,1)');
  22343. Node279_8.a('node.borderwidth', 0);
  22344. Node279_8.a('node.background','' || 'rgba(0,0,0,0)');
  22345. Node279_8.a('node.gradient','');
  22346. Node279_8.a('node.gradientcolor','');
  22347. Node279_8.a('node.text','-');
  22348. Node279_8.a('node.textalign','left');
  22349. Node279_8.a('node.textvAlign','middle');
  22350. Node279_8.a('node.textrect', [Node279_8textStart, 0, Node279_8textWidth, Node279_8height]);
  22351. Node279_8.a('node.color','rgba(192,0,0,1)');
  22352. Node279_8.a('node.font',' '+ Node279_8fontSize + 'px "Arial"');
  22353. Node279_8.a('node.textvisible',true);
  22354. Node279_8.a('node.linefeed',false);
  22355. if (false) {
  22356. Node279_8.a('node.textfunc',function(g) {
  22357. g.beginPath();
  22358. var str=Node279_8.a('node.text') || '-';
  22359. var color=Node279_8.a('node.color') || 'rgba(192,0,0,1)';
  22360. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_8width,Node279_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_8fontSize + 'px "Arial"', 0,g);
  22361. });
  22362. }
  22363. if (false) {
  22364. Node279_8.a('node.underlinepoints',[Node279_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width + 6, (Node279_8height - Node279_8fontSize) * 0.5*_ratio.ratioY + Node279_8fontSize + 2 ]);
  22365. Node279_8.a('node.underlinevisible',false);
  22366. Node279_8.a('node.underlineBorderWidth', 1);
  22367. }
  22368. dataModel.add(Node279_8);
  22369. zoomNodeList.push({
  22370. node: Node279_8,
  22371. borderWidth: 0,
  22372. attr: 'node.borderwidth'
  22373. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22374. var Node279_9 = new ht.Node();
  22375. var Node279_9textStart, Node279_9textWidth, Node279_9lineStart, Node279_9align = 'left', Node279_9fontSize = 10.66664*_ratio.ratioY,Node279_9width = 43*_ratio.ratioX, Node279_9height = 27*_ratio.ratioY;
  22376. (function () {
  22377. if (Node279_9align === 'left') {
  22378. Node279_9textStart = Node279_9fontSize * 0.2 > 2 ? Node279_9fontSize * 0.2 - 4 : Node279_9fontSize * 0.2 - 9;
  22379. Node279_9textWidth = Node279_9width;
  22380. Node279_9lineStart = 1;
  22381. } else if (Node279_9align === 'right') {
  22382. Node279_9textStart = 0;
  22383. Node279_9textWidth =Node279_9fontSize <= 8 ? Node279_9width + Node279_9fontSize * 0.2 + 6 : Node279_9width - Node279_9fontSize * 0.2;
  22384. Node279_9lineStart = (Node279_9width - (ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  22385. } else if (Node279_9align === 'center') {
  22386. Node279_9textStart = -3;
  22387. Node279_9textWidth = Node279_9width;
  22388. Node279_9lineStart = Node279_9width - ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width - 11;
  22389. }
  22390. })();
  22391. Node279_9.setImage(GD.getTextJSON(Node279_9width, Node279_9height, true, false, false, ' '+ Node279_9fontSize + 'px "Arial"'))
  22392. Node279_9.setPosition(248*ratio.ratioX, 864*ratio.ratioY);
  22393. Node279_9.setWidth(Node279_9width);
  22394. Node279_9.setHeight(Node279_9height);
  22395. Node279_9._nodeType = 'text';
  22396. Node279_9._disallowEvert = true;
  22397. Node279_9.setRotation(0*Math.PI/180);
  22398. Node279_9.a('node.width', Node279_9width);
  22399. Node279_9.a('node.height', Node279_9height);
  22400. Node279_9.a('node.rect', [0, 0, Node279_9width, Node279_9height]);
  22401. Node279_9.a('node.bordercolor','rgba(0,0,0,1)');
  22402. Node279_9.a('node.borderwidth', 0);
  22403. Node279_9.a('node.background','' || 'rgba(0,0,0,0)');
  22404. Node279_9.a('node.gradient','');
  22405. Node279_9.a('node.gradientcolor','');
  22406. Node279_9.a('node.text','万kwh');
  22407. Node279_9.a('node.textalign','left');
  22408. Node279_9.a('node.textvAlign','middle');
  22409. Node279_9.a('node.textrect', [Node279_9textStart, 0, Node279_9textWidth, Node279_9height]);
  22410. Node279_9.a('node.color','rgba(0,0,0,1)');
  22411. Node279_9.a('node.font',' '+ Node279_9fontSize + 'px "Arial"');
  22412. Node279_9.a('node.textvisible',true);
  22413. Node279_9.a('node.linefeed',false);
  22414. if (false) {
  22415. Node279_9.a('node.textfunc',function(g) {
  22416. g.beginPath();
  22417. var str=Node279_9.a('node.text') || '万kwh';
  22418. var color=Node279_9.a('node.color') || 'rgba(0,0,0,1)';
  22419. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_9width,Node279_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_9fontSize + 'px "Arial"', 0,g);
  22420. });
  22421. }
  22422. if (false) {
  22423. Node279_9.a('node.underlinepoints',[Node279_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width + 6, (Node279_9height - Node279_9fontSize) * 0.5*_ratio.ratioY + Node279_9fontSize + 2 ]);
  22424. Node279_9.a('node.underlinevisible',false);
  22425. Node279_9.a('node.underlineBorderWidth', 1);
  22426. }
  22427. dataModel.add(Node279_9);
  22428. zoomNodeList.push({
  22429. node: Node279_9,
  22430. borderWidth: 0,
  22431. attr: 'node.borderwidth'
  22432. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22433. var Node279_10 = new ht.Node();
  22434. var Node279_10textStart, Node279_10textWidth, Node279_10lineStart, Node279_10align = 'left', Node279_10fontSize = 10.66664*_ratio.ratioY,Node279_10width = 72*_ratio.ratioX, Node279_10height = 27*_ratio.ratioY;
  22435. (function () {
  22436. if (Node279_10align === 'left') {
  22437. Node279_10textStart = Node279_10fontSize * 0.2 > 2 ? Node279_10fontSize * 0.2 - 4 : Node279_10fontSize * 0.2 - 9;
  22438. Node279_10textWidth = Node279_10width;
  22439. Node279_10lineStart = 1;
  22440. } else if (Node279_10align === 'right') {
  22441. Node279_10textStart = 0;
  22442. Node279_10textWidth =Node279_10fontSize <= 8 ? Node279_10width + Node279_10fontSize * 0.2 + 6 : Node279_10width - Node279_10fontSize * 0.2;
  22443. Node279_10lineStart = (Node279_10width - (ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  22444. } else if (Node279_10align === 'center') {
  22445. Node279_10textStart = -3;
  22446. Node279_10textWidth = Node279_10width;
  22447. Node279_10lineStart = Node279_10width - ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width - 11;
  22448. }
  22449. })();
  22450. Node279_10.setImage(GD.getTextJSON(Node279_10width, Node279_10height, true, false, false, ' '+ Node279_10fontSize + 'px "Arial"'))
  22451. Node279_10.setPosition(163*ratio.ratioX, 890*ratio.ratioY);
  22452. Node279_10.setWidth(Node279_10width);
  22453. Node279_10.setHeight(Node279_10height);
  22454. Node279_10._nodeType = 'text';
  22455. Node279_10._disallowEvert = true;
  22456. Node279_10.setRotation(0*Math.PI/180);
  22457. Node279_10.a('node.width', Node279_10width);
  22458. Node279_10.a('node.height', Node279_10height);
  22459. Node279_10.a('node.rect', [0, 0, Node279_10width, Node279_10height]);
  22460. Node279_10.a('node.bordercolor','rgba(0,0,0,1)');
  22461. Node279_10.a('node.borderwidth', 0);
  22462. Node279_10.a('node.background','' || 'rgba(0,0,0,0)');
  22463. Node279_10.a('node.gradient','');
  22464. Node279_10.a('node.gradientcolor','');
  22465. Node279_10.a('node.text','日发电量');
  22466. Node279_10.a('node.textalign','left');
  22467. Node279_10.a('node.textvAlign','middle');
  22468. Node279_10.a('node.textrect', [Node279_10textStart, 0, Node279_10textWidth, Node279_10height]);
  22469. Node279_10.a('node.color','rgba(0,0,0,1)');
  22470. Node279_10.a('node.font',' '+ Node279_10fontSize + 'px "Arial"');
  22471. Node279_10.a('node.textvisible',true);
  22472. Node279_10.a('node.linefeed',false);
  22473. if (false) {
  22474. Node279_10.a('node.textfunc',function(g) {
  22475. g.beginPath();
  22476. var str=Node279_10.a('node.text') || '日发电量';
  22477. var color=Node279_10.a('node.color') || 'rgba(0,0,0,1)';
  22478. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_10width,Node279_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_10fontSize + 'px "Arial"', 0,g);
  22479. });
  22480. }
  22481. if (false) {
  22482. Node279_10.a('node.underlinepoints',[Node279_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width + 6, (Node279_10height - Node279_10fontSize) * 0.5*_ratio.ratioY + Node279_10fontSize + 2 ]);
  22483. Node279_10.a('node.underlinevisible',false);
  22484. Node279_10.a('node.underlineBorderWidth', 1);
  22485. }
  22486. dataModel.add(Node279_10);
  22487. zoomNodeList.push({
  22488. node: Node279_10,
  22489. borderWidth: 0,
  22490. attr: 'node.borderwidth'
  22491. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22492. var Node279_11 = new ht.Node();
  22493. var Node279_11textStart, Node279_11textWidth, Node279_11lineStart, Node279_11align = 'left', Node279_11fontSize = 10.66664*_ratio.ratioY,Node279_11width = 31*_ratio.ratioX, Node279_11height = 27*_ratio.ratioY;
  22494. (function () {
  22495. if (Node279_11align === 'left') {
  22496. Node279_11textStart = Node279_11fontSize * 0.2 > 2 ? Node279_11fontSize * 0.2 - 4 : Node279_11fontSize * 0.2 - 9;
  22497. Node279_11textWidth = Node279_11width;
  22498. Node279_11lineStart = 1;
  22499. } else if (Node279_11align === 'right') {
  22500. Node279_11textStart = 0;
  22501. Node279_11textWidth =Node279_11fontSize <= 8 ? Node279_11width + Node279_11fontSize * 0.2 + 6 : Node279_11width - Node279_11fontSize * 0.2;
  22502. Node279_11lineStart = (Node279_11width - (ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  22503. } else if (Node279_11align === 'center') {
  22504. Node279_11textStart = -3;
  22505. Node279_11textWidth = Node279_11width;
  22506. Node279_11lineStart = Node279_11width - ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width - 11;
  22507. }
  22508. })();
  22509. Node279_11.setImage(GD.getTextJSON(Node279_11width, Node279_11height, true, false, false, ' '+ Node279_11fontSize + 'px "Arial"'))
  22510. Node279_11.setPosition(206*ratio.ratioX, 890*ratio.ratioY);
  22511. Node279_11.setWidth(Node279_11width);
  22512. Node279_11.setHeight(Node279_11height);
  22513. Node279_11._nodeType = 'text';
  22514. Node279_11._disallowEvert = true;
  22515. Node279_11.setRotation(0*Math.PI/180);
  22516. Node279_11.a('node.width', Node279_11width);
  22517. Node279_11.a('node.height', Node279_11height);
  22518. Node279_11.a('node.rect', [0, 0, Node279_11width, Node279_11height]);
  22519. Node279_11.a('node.bordercolor','rgba(192,0,0,1)');
  22520. Node279_11.a('node.borderwidth', 0);
  22521. Node279_11.a('node.background','' || 'rgba(0,0,0,0)');
  22522. Node279_11.a('node.gradient','');
  22523. Node279_11.a('node.gradientcolor','');
  22524. Node279_11.a('node.text','-');
  22525. Node279_11.a('node.textalign','left');
  22526. Node279_11.a('node.textvAlign','middle');
  22527. Node279_11.a('node.textrect', [Node279_11textStart, 0, Node279_11textWidth, Node279_11height]);
  22528. Node279_11.a('node.color','rgba(192,0,0,1)');
  22529. Node279_11.a('node.font',' '+ Node279_11fontSize + 'px "Arial"');
  22530. Node279_11.a('node.textvisible',true);
  22531. Node279_11.a('node.linefeed',false);
  22532. if (false) {
  22533. Node279_11.a('node.textfunc',function(g) {
  22534. g.beginPath();
  22535. var str=Node279_11.a('node.text') || '-';
  22536. var color=Node279_11.a('node.color') || 'rgba(192,0,0,1)';
  22537. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_11width,Node279_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_11fontSize + 'px "Arial"', 0,g);
  22538. });
  22539. }
  22540. if (false) {
  22541. Node279_11.a('node.underlinepoints',[Node279_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width + 6, (Node279_11height - Node279_11fontSize) * 0.5*_ratio.ratioY + Node279_11fontSize + 2 ]);
  22542. Node279_11.a('node.underlinevisible',false);
  22543. Node279_11.a('node.underlineBorderWidth', 1);
  22544. }
  22545. dataModel.add(Node279_11);
  22546. zoomNodeList.push({
  22547. node: Node279_11,
  22548. borderWidth: 0,
  22549. attr: 'node.borderwidth'
  22550. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22551. var Node279_12 = new ht.Node();
  22552. var Node279_12textStart, Node279_12textWidth, Node279_12lineStart, Node279_12align = 'left', Node279_12fontSize = 10.66664*_ratio.ratioY,Node279_12width = 43*_ratio.ratioX, Node279_12height = 27*_ratio.ratioY;
  22553. (function () {
  22554. if (Node279_12align === 'left') {
  22555. Node279_12textStart = Node279_12fontSize * 0.2 > 2 ? Node279_12fontSize * 0.2 - 4 : Node279_12fontSize * 0.2 - 9;
  22556. Node279_12textWidth = Node279_12width;
  22557. Node279_12lineStart = 1;
  22558. } else if (Node279_12align === 'right') {
  22559. Node279_12textStart = 0;
  22560. Node279_12textWidth =Node279_12fontSize <= 8 ? Node279_12width + Node279_12fontSize * 0.2 + 6 : Node279_12width - Node279_12fontSize * 0.2;
  22561. Node279_12lineStart = (Node279_12width - (ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width + 6)) * 0.5;
  22562. } else if (Node279_12align === 'center') {
  22563. Node279_12textStart = -3;
  22564. Node279_12textWidth = Node279_12width;
  22565. Node279_12lineStart = Node279_12width - ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width - 11;
  22566. }
  22567. })();
  22568. Node279_12.setImage(GD.getTextJSON(Node279_12width, Node279_12height, true, false, false, ' '+ Node279_12fontSize + 'px "Arial"'))
  22569. Node279_12.setPosition(248*ratio.ratioX, 890*ratio.ratioY);
  22570. Node279_12.setWidth(Node279_12width);
  22571. Node279_12.setHeight(Node279_12height);
  22572. Node279_12._nodeType = 'text';
  22573. Node279_12._disallowEvert = true;
  22574. Node279_12.setRotation(0*Math.PI/180);
  22575. Node279_12.a('node.width', Node279_12width);
  22576. Node279_12.a('node.height', Node279_12height);
  22577. Node279_12.a('node.rect', [0, 0, Node279_12width, Node279_12height]);
  22578. Node279_12.a('node.bordercolor','rgba(0,0,0,1)');
  22579. Node279_12.a('node.borderwidth', 0);
  22580. Node279_12.a('node.background','' || 'rgba(0,0,0,0)');
  22581. Node279_12.a('node.gradient','');
  22582. Node279_12.a('node.gradientcolor','');
  22583. Node279_12.a('node.text','万kwh');
  22584. Node279_12.a('node.textalign','left');
  22585. Node279_12.a('node.textvAlign','middle');
  22586. Node279_12.a('node.textrect', [Node279_12textStart, 0, Node279_12textWidth, Node279_12height]);
  22587. Node279_12.a('node.color','rgba(0,0,0,1)');
  22588. Node279_12.a('node.font',' '+ Node279_12fontSize + 'px "Arial"');
  22589. Node279_12.a('node.textvisible',true);
  22590. Node279_12.a('node.linefeed',false);
  22591. if (false) {
  22592. Node279_12.a('node.textfunc',function(g) {
  22593. g.beginPath();
  22594. var str=Node279_12.a('node.text') || '万kwh';
  22595. var color=Node279_12.a('node.color') || 'rgba(0,0,0,1)';
  22596. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_12width,Node279_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_12fontSize + 'px "Arial"', 0,g);
  22597. });
  22598. }
  22599. if (false) {
  22600. Node279_12.a('node.underlinepoints',[Node279_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width + 6, (Node279_12height - Node279_12fontSize) * 0.5*_ratio.ratioY + Node279_12fontSize + 2 ]);
  22601. Node279_12.a('node.underlinevisible',false);
  22602. Node279_12.a('node.underlineBorderWidth', 1);
  22603. }
  22604. dataModel.add(Node279_12);
  22605. zoomNodeList.push({
  22606. node: Node279_12,
  22607. borderWidth: 0,
  22608. attr: 'node.borderwidth'
  22609. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22610. var Node279_13 = new ht.Node();
  22611. var Node279_13textStart, Node279_13textWidth, Node279_13lineStart, Node279_13align = 'left', Node279_13fontSize = 10.66664*_ratio.ratioY,Node279_13width = 72*_ratio.ratioX, Node279_13height = 27*_ratio.ratioY;
  22612. (function () {
  22613. if (Node279_13align === 'left') {
  22614. Node279_13textStart = Node279_13fontSize * 0.2 > 2 ? Node279_13fontSize * 0.2 - 4 : Node279_13fontSize * 0.2 - 9;
  22615. Node279_13textWidth = Node279_13width;
  22616. Node279_13lineStart = 1;
  22617. } else if (Node279_13align === 'right') {
  22618. Node279_13textStart = 0;
  22619. Node279_13textWidth =Node279_13fontSize <= 8 ? Node279_13width + Node279_13fontSize * 0.2 + 6 : Node279_13width - Node279_13fontSize * 0.2;
  22620. Node279_13lineStart = (Node279_13width - (ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width + 6)) * 0.5;
  22621. } else if (Node279_13align === 'center') {
  22622. Node279_13textStart = -3;
  22623. Node279_13textWidth = Node279_13width;
  22624. Node279_13lineStart = Node279_13width - ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width - 11;
  22625. }
  22626. })();
  22627. Node279_13.setImage(GD.getTextJSON(Node279_13width, Node279_13height, true, false, false, ' '+ Node279_13fontSize + 'px "Arial"'))
  22628. Node279_13.setPosition(163*ratio.ratioX, 917*ratio.ratioY);
  22629. Node279_13.setWidth(Node279_13width);
  22630. Node279_13.setHeight(Node279_13height);
  22631. Node279_13._nodeType = 'text';
  22632. Node279_13._disallowEvert = true;
  22633. Node279_13.setRotation(0*Math.PI/180);
  22634. Node279_13.a('node.width', Node279_13width);
  22635. Node279_13.a('node.height', Node279_13height);
  22636. Node279_13.a('node.rect', [0, 0, Node279_13width, Node279_13height]);
  22637. Node279_13.a('node.bordercolor','rgba(0,0,0,1)');
  22638. Node279_13.a('node.borderwidth', 0);
  22639. Node279_13.a('node.background','' || 'rgba(0,0,0,0)');
  22640. Node279_13.a('node.gradient','');
  22641. Node279_13.a('node.gradientcolor','');
  22642. Node279_13.a('node.text','有功功率');
  22643. Node279_13.a('node.textalign','left');
  22644. Node279_13.a('node.textvAlign','middle');
  22645. Node279_13.a('node.textrect', [Node279_13textStart, 0, Node279_13textWidth, Node279_13height]);
  22646. Node279_13.a('node.color','rgba(0,0,0,1)');
  22647. Node279_13.a('node.font',' '+ Node279_13fontSize + 'px "Arial"');
  22648. Node279_13.a('node.textvisible',true);
  22649. Node279_13.a('node.linefeed',false);
  22650. if (false) {
  22651. Node279_13.a('node.textfunc',function(g) {
  22652. g.beginPath();
  22653. var str=Node279_13.a('node.text') || '有功功率';
  22654. var color=Node279_13.a('node.color') || 'rgba(0,0,0,1)';
  22655. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_13width,Node279_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_13fontSize + 'px "Arial"', 0,g);
  22656. });
  22657. }
  22658. if (false) {
  22659. Node279_13.a('node.underlinepoints',[Node279_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width + 6, (Node279_13height - Node279_13fontSize) * 0.5*_ratio.ratioY + Node279_13fontSize + 2 ]);
  22660. Node279_13.a('node.underlinevisible',false);
  22661. Node279_13.a('node.underlineBorderWidth', 1);
  22662. }
  22663. dataModel.add(Node279_13);
  22664. zoomNodeList.push({
  22665. node: Node279_13,
  22666. borderWidth: 0,
  22667. attr: 'node.borderwidth'
  22668. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22669. var Node279_14 = new ht.Node();
  22670. var Node279_14textStart, Node279_14textWidth, Node279_14lineStart, Node279_14align = 'left', Node279_14fontSize = 10.66664*_ratio.ratioY,Node279_14width = 22*_ratio.ratioX, Node279_14height = 27*_ratio.ratioY;
  22671. (function () {
  22672. if (Node279_14align === 'left') {
  22673. Node279_14textStart = Node279_14fontSize * 0.2 > 2 ? Node279_14fontSize * 0.2 - 4 : Node279_14fontSize * 0.2 - 9;
  22674. Node279_14textWidth = Node279_14width;
  22675. Node279_14lineStart = 1;
  22676. } else if (Node279_14align === 'right') {
  22677. Node279_14textStart = 0;
  22678. Node279_14textWidth =Node279_14fontSize <= 8 ? Node279_14width + Node279_14fontSize * 0.2 + 6 : Node279_14width - Node279_14fontSize * 0.2;
  22679. Node279_14lineStart = (Node279_14width - (ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  22680. } else if (Node279_14align === 'center') {
  22681. Node279_14textStart = -3;
  22682. Node279_14textWidth = Node279_14width;
  22683. Node279_14lineStart = Node279_14width - ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width - 11;
  22684. }
  22685. })();
  22686. Node279_14.setImage(GD.getTextJSON(Node279_14width, Node279_14height, true, false, false, ' '+ Node279_14fontSize + 'px "Arial"'))
  22687. Node279_14.setPosition(201*ratio.ratioX, 917*ratio.ratioY);
  22688. Node279_14.setWidth(Node279_14width);
  22689. Node279_14.setHeight(Node279_14height);
  22690. Node279_14._nodeType = 'text';
  22691. Node279_14._disallowEvert = true;
  22692. Node279_14.setRotation(0*Math.PI/180);
  22693. Node279_14.a('node.width', Node279_14width);
  22694. Node279_14.a('node.height', Node279_14height);
  22695. Node279_14.a('node.rect', [0, 0, Node279_14width, Node279_14height]);
  22696. Node279_14.a('node.bordercolor','rgba(192,0,0,1)');
  22697. Node279_14.a('node.borderwidth', 0);
  22698. Node279_14.a('node.background','' || 'rgba(0,0,0,0)');
  22699. Node279_14.a('node.gradient','');
  22700. Node279_14.a('node.gradientcolor','');
  22701. Node279_14.a('node.text','-');
  22702. Node279_14.a('node.textalign','left');
  22703. Node279_14.a('node.textvAlign','middle');
  22704. Node279_14.a('node.textrect', [Node279_14textStart, 0, Node279_14textWidth, Node279_14height]);
  22705. Node279_14.a('node.color','rgba(192,0,0,1)');
  22706. Node279_14.a('node.font',' '+ Node279_14fontSize + 'px "Arial"');
  22707. Node279_14.a('node.textvisible',true);
  22708. Node279_14.a('node.linefeed',false);
  22709. if (false) {
  22710. Node279_14.a('node.textfunc',function(g) {
  22711. g.beginPath();
  22712. var str=Node279_14.a('node.text') || '-';
  22713. var color=Node279_14.a('node.color') || 'rgba(192,0,0,1)';
  22714. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_14width,Node279_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_14fontSize + 'px "Arial"', 0,g);
  22715. });
  22716. }
  22717. if (false) {
  22718. Node279_14.a('node.underlinepoints',[Node279_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width + 6, (Node279_14height - Node279_14fontSize) * 0.5*_ratio.ratioY + Node279_14fontSize + 2 ]);
  22719. Node279_14.a('node.underlinevisible',false);
  22720. Node279_14.a('node.underlineBorderWidth', 1);
  22721. }
  22722. dataModel.add(Node279_14);
  22723. zoomNodeList.push({
  22724. node: Node279_14,
  22725. borderWidth: 0,
  22726. attr: 'node.borderwidth'
  22727. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  22728. var Node279_15 = new ht.Node();
  22729. var Node279_15textStart, Node279_15textWidth, Node279_15lineStart, Node279_15align = 'left', Node279_15fontSize = 10.66664*_ratio.ratioY,Node279_15width = 43*_ratio.ratioX, Node279_15height = 27*_ratio.ratioY;
  22730. (function () {
  22731. if (Node279_15align === 'left') {
  22732. Node279_15textStart = Node279_15fontSize * 0.2 > 2 ? Node279_15fontSize * 0.2 - 4 : Node279_15fontSize * 0.2 - 9;
  22733. Node279_15textWidth = Node279_15width;
  22734. Node279_15lineStart = 1;
  22735. } else if (Node279_15align === 'right') {
  22736. Node279_15textStart = 0;
  22737. Node279_15textWidth =Node279_15fontSize <= 8 ? Node279_15width + Node279_15fontSize * 0.2 + 6 : Node279_15width - Node279_15fontSize * 0.2;
  22738. Node279_15lineStart = (Node279_15width - (ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  22739. } else if (Node279_15align === 'center') {
  22740. Node279_15textStart = -3;
  22741. Node279_15textWidth = Node279_15width;
  22742. Node279_15lineStart = Node279_15width - ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width - 11;
  22743. }
  22744. })();
  22745. Node279_15.setImage(GD.getTextJSON(Node279_15width, Node279_15height, true, false, false, ' '+ Node279_15fontSize + 'px "Arial"'))
  22746. Node279_15.setPosition(248*ratio.ratioX, 917*ratio.ratioY);
  22747. Node279_15.setWidth(Node279_15width);
  22748. Node279_15.setHeight(Node279_15height);
  22749. Node279_15._nodeType = 'text';
  22750. Node279_15._disallowEvert = true;
  22751. Node279_15.setRotation(0*Math.PI/180);
  22752. Node279_15.a('node.width', Node279_15width);
  22753. Node279_15.a('node.height', Node279_15height);
  22754. Node279_15.a('node.rect', [0, 0, Node279_15width, Node279_15height]);
  22755. Node279_15.a('node.bordercolor','rgba(0,0,0,1)');
  22756. Node279_15.a('node.borderwidth', 0);
  22757. Node279_15.a('node.background','' || 'rgba(0,0,0,0)');
  22758. Node279_15.a('node.gradient','');
  22759. Node279_15.a('node.gradientcolor','');
  22760. Node279_15.a('node.text','万kwh');
  22761. Node279_15.a('node.textalign','left');
  22762. Node279_15.a('node.textvAlign','middle');
  22763. Node279_15.a('node.textrect', [Node279_15textStart, 0, Node279_15textWidth, Node279_15height]);
  22764. Node279_15.a('node.color','rgba(0,0,0,1)');
  22765. Node279_15.a('node.font',' '+ Node279_15fontSize + 'px "Arial"');
  22766. Node279_15.a('node.textvisible',true);
  22767. Node279_15.a('node.linefeed',false);
  22768. if (false) {
  22769. Node279_15.a('node.textfunc',function(g) {
  22770. g.beginPath();
  22771. var str=Node279_15.a('node.text') || '万kwh';
  22772. var color=Node279_15.a('node.color') || 'rgba(0,0,0,1)';
  22773. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_15width,Node279_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_15fontSize + 'px "Arial"', 0,g);
  22774. });
  22775. }
  22776. if (false) {
  22777. Node279_15.a('node.underlinepoints',[Node279_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width + 6, (Node279_15height - Node279_15fontSize) * 0.5*_ratio.ratioY + Node279_15fontSize + 2 ]);
  22778. Node279_15.a('node.underlinevisible',false);
  22779. Node279_15.a('node.underlineBorderWidth', 1);
  22780. }
  22781. dataModel.add(Node279_15);
  22782. zoomNodeList.push({
  22783. node: Node279_15,
  22784. borderWidth: 0,
  22785. attr: 'node.borderwidth'
  22786. });
  22787. /*@GraphList@*/
  22788. var datas = dataModel.getDatas();
  22789. ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'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,'VIS':PageBackground_VIS,'VIS2':PageBackground_VIS2,'VIS3':PageBackground_VIS3,'VIS4':PageBackground_VIS4,'VIS5':PageBackground_VIS5,'VIS6':PageBackground_VIS6,'VIS7':PageBackground_VIS7,}});
  22790. if((0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}
  22791. setBorderOpacity(Node26,0,"Node26");
  22792. if(typeof(Node26.borderWidth)!="undefined"){setDashStyle(Node26,"Node26",'NoDash',Node26.borderWidth);}
  22793. if(typeof(Node29.borderWidth)!="undefined"){setDashStyle(Node29,"Node29",'NoDash',Node29.borderWidth);}
  22794. if(typeof(Node31.borderWidth)!="undefined"){setDashStyle(Node31,"Node31",'NoDash',Node31.borderWidth);}
  22795. if(typeof(Node156.borderWidth)!="undefined"){setDashStyle(Node156,"Node156",'NoDash',Node156.borderWidth);}
  22796. if(typeof(Node189.borderWidth)!="undefined"){setDashStyle(Node189,"Node189",'NoDash',Node189.borderWidth);}
  22797. if(typeof(Node191.borderWidth)!="undefined"){setDashStyle(Node191,"Node191",'NoDash',Node191.borderWidth);}
  22798. if(typeof(Node201.borderWidth)!="undefined"){setDashStyle(Node201,"Node201",'NoDash',Node201.borderWidth);}
  22799. if(typeof(Node202.borderWidth)!="undefined"){setDashStyle(Node202,"Node202",'NoDash',Node202.borderWidth);}
  22800. if((0 )){Node239.s('2d.visible',true);}else{Node239.s('2d.visible',false);}
  22801. if((0 )){Node241.s('2d.visible',true);}else{Node241.s('2d.visible',false);}
  22802. if((0 )){Node243.s('2d.visible',true);}else{Node243.s('2d.visible',false);}
  22803. if((0 )){Node245.s('2d.visible',true);}else{Node245.s('2d.visible',false);}
  22804. if((0 )){Node247.s('2d.visible',true);}else{Node247.s('2d.visible',false);}
  22805. if((0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);}
  22806. if((0 )){Node251.s('2d.visible',true);}else{Node251.s('2d.visible',false);}
  22807. /*@PageInit@*/
  22808. function DatarefreshTask(callback){
  22809. /*@DataVarText@*/
  22810. callback = callback || function () {};
  22811. if(varList.length <= 0){
  22812. return callback();
  22813. }
  22814. var ajaxdata = {};
  22815. var ajaxtype = 'GET';
  22816. var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
  22817. var para = "";
  22818. for(var i=0;i<varList.length;i++){
  22819. para = para + varList[i];
  22820. if(i!==varList.length-1)
  22821. para = para +',';
  22822. }
  22823. str = str + encodeURIComponent(para);
  22824. if (str.length > 2000) {
  22825. para = encodeURIComponent(para);
  22826. str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
  22827. ajaxdata = {'': para};
  22828. ajaxtype = 'POST';
  22829. }
  22830. $.ajax({
  22831. url: str ,
  22832. type: ajaxtype,
  22833. dataType: 'json',
  22834. data: ajaxdata,
  22835. cache: false,
  22836. success: function (data) {
  22837. if (data === null) return;
  22838. var snapshots = eval(data);
  22839. //判断快照是否为空
  22840. if (snapshots != null) {
  22841. for (var i = 0; i < snapshots.length; i++) {
  22842. var index = varList.indexOf (snapshots[i].TagName);
  22843. var tagName = snapshots[i].TagName.toLowerCase();
  22844. if(index >= 0 && index< varList.length){
  22845. if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
  22846. varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
  22847. VarSnapshotTime[tagName]=snapshots[i].Time;
  22848. }else{
  22849. varListObj[tagName] = VarValue[index] = snapshots[i].Value;
  22850. VarSnapshotTime[tagName]=snapshots[i].Time;
  22851. }
  22852. }
  22853. }
  22854. }
  22855. },
  22856. complete: function (XHR, TS) {
  22857. XHR = null;
  22858. callback();
  22859. }
  22860. }
  22861. );
  22862. }
  22863. ;(function () {
  22864. var i = 0;
  22865. function getdata() {
  22866. DatarefreshTask(function () {
  22867. i++;
  22868. Timer1sCmd();
  22869. Timer100msCmd();
  22870. Timer500msCmd();
  22871. if (i <= 4) {
  22872. setTimeout(getdata, 50);
  22873. }
  22874. });
  22875. }
  22876. setTimeout(getdata, 20);
  22877. })();
  22878. intervalTimers.push(setInterval(DatarefreshTask, 500));
  22879. /*@DataRefresh@*/
  22880. function GetTagsProperty(){
  22881. /*@DataVarText@*/
  22882. if(varList.length <= 0){
  22883. return;
  22884. }
  22885. var ajaxtype = 'GET';
  22886. var ajaxdata = {};
  22887. var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
  22888. var para = "";
  22889. for(var i=0;i<varList.length;i++){
  22890. para = para + varList[i];
  22891. if(i!==varList.length-1)
  22892. para = para +',';
  22893. }
  22894. str = str + encodeURIComponent(para);
  22895. if (str.length > 2000) {
  22896. para = encodeURIComponent(para);
  22897. str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
  22898. ajaxdata = {'': para};
  22899. ajaxtype = 'POST';
  22900. }
  22901. $.ajax({
  22902. url: str ,
  22903. type: ajaxtype,
  22904. dataType: 'json',
  22905. data: ajaxdata,
  22906. cache: false,
  22907. success: function (data) {
  22908. if (data === null) return;
  22909. for(var i=0;i<data.length;i++){
  22910. var basePointInfo=data[i].BasePointInfo;
  22911. tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
  22912. // console.log(tagInfoDic);
  22913. }
  22914. },
  22915. complete: function (XHR, TS) {
  22916. XHR = null;
  22917. }
  22918. }
  22919. );
  22920. }
  22921. GetTagsProperty();
  22922. window.GD && (GD.GetTagsProperty = GetTagsProperty);
  22923. /*@TagInfoDic@*/
  22924. var syscurrentTime="";
  22925. function getCurrentTime(timeformat){
  22926. syscurrentTime= moment().format(timeformat);
  22927. if(timeformat=="d"){
  22928. if(syscurrentTime==1){
  22929. syscurrentTime="星期一";
  22930. }
  22931. if(syscurrentTime==2){
  22932. syscurrentTime="星期二";
  22933. }
  22934. if(syscurrentTime==3){
  22935. syscurrentTime="星期三";
  22936. }
  22937. if(syscurrentTime==4){
  22938. syscurrentTime="星期四";
  22939. }
  22940. if(syscurrentTime==5){
  22941. syscurrentTime="星期五";
  22942. }
  22943. if(syscurrentTime==6){
  22944. syscurrentTime="星期六";
  22945. }
  22946. if(syscurrentTime==7){
  22947. syscurrentTime="星期日";
  22948. }
  22949. }
  22950. }
  22951. getCurrentTime();
  22952. /*@SysCurrentTime@*/
  22953. var Counter10ms = 0;
  22954. var Counter100ms = 0;
  22955. var Counter500ms = 0;
  22956. var Counter1s = 0;
  22957. var Counter5s = 0;
  22958. function Timer10msCmd() {
  22959. Counter10ms++;
  22960. /*@Timer10ms@*/
  22961. }
  22962. // intervalTimers.push(setInterval(Timer10msCmd, 10));
  22963. function Timer100msCmd() {
  22964. Counter100ms++;
  22965. Node21.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  22966. Node22.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22967. Node23.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22968. Node51.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  22969. Node52.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22970. Node53.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22971. Node73.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  22972. Node74.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22973. Node75.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22974. Node95.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  22975. Node96.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22976. Node97.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22977. Node117.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  22978. Node118.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22979. Node119.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22980. Node139.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  22981. Node140.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22982. Node141.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  22983. /*@Timer100ms@*/
  22984. // graphView.redraw();
  22985. }
  22986. intervalTimers.push(setInterval(Timer100msCmd, 100));
  22987. function Timer500msCmd() {
  22988. Counter500ms++;
  22989. if((1 )>0) {if(((sxxny==1)>0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}}
  22990. if((1 )>0) {if(((sxxny==0)>0 )){Node10.s('2d.visible',true);}else{Node10.s('2d.visible',false);}}
  22991. if((1 )>0) {if(((sy==1)>0 )){Node11.s('2d.visible',true);}else{Node11.s('2d.visible',false);}}
  22992. if((1 )>0) {if(((sy==0)>0 )){Node12.s('2d.visible',true);}else{Node12.s('2d.visible',false);}}
  22993. if((1 )>0) {if(((ldjsc==1)>0 )){Node221.s('2d.visible',true);}else{Node221.s('2d.visible',false);}}
  22994. if((1 )>0) {if(((ldjsc==0)>0 )){Node222.s('2d.visible',true);}else{Node222.s('2d.visible',false);}}
  22995. if((1 )>0) {if(((ztjs==1)>0 )){Node223.s('2d.visible',true);}else{Node223.s('2d.visible',false);}}
  22996. if((1 )>0) {if(((ztjs==0)>0 )){Node224.s('2d.visible',true);}else{Node224.s('2d.visible',false);}}
  22997. if((1 )>0) {if(((sbjz==1)>0 )){Node225.s('2d.visible',true);}else{Node225.s('2d.visible',false);}}
  22998. if((1 )>0) {if(((sbjz==0)>0 )){Node226.s('2d.visible',true);}else{Node226.s('2d.visible',false);}}
  22999. if((1 )>0) {if(((xnfx==1)>0 )){Node227.s('2d.visible',true);}else{Node227.s('2d.visible',false);}}
  23000. if((1 )>0) {if(((xnfx==0)>0 )){Node228.s('2d.visible',true);}else{Node228.s('2d.visible',false);}}
  23001. if((1 )>0) {if(((pjgl==1)>0 )){Node229.s('2d.visible',true);}else{Node229.s('2d.visible',false);}}
  23002. if((1 )>0) {if(((pjgl==0)>0 )){Node230.s('2d.visible',true);}else{Node230.s('2d.visible',false);}}
  23003. if((1 )>0) {if(((zbph==1)>0 )){Node231.s('2d.visible',true);}else{Node231.s('2d.visible',false);}}
  23004. if((1 )>0) {if(((zbph==0)>0 )){Node232.s('2d.visible',true);}else{Node232.s('2d.visible',false);}}
  23005. if((1 )>0) {if(((dbgl==1)>0 )){Node233.s('2d.visible',true);}else{Node233.s('2d.visible',false);}}
  23006. if((1 )>0) {if(((dbgl==0)>0 )){Node234.s('2d.visible',true);}else{Node234.s('2d.visible',false);}}
  23007. if((1 )>0) {if(((bjzx==1)>0 )){Node235.s('2d.visible',true);}else{Node235.s('2d.visible',false);}}
  23008. if((1 )>0) {if(((bjzx==0)>0 )){Node236.s('2d.visible',true);}else{Node236.s('2d.visible',false);}}
  23009. if((1 )>0) {if(((jrjs==1)>0 )){Node237.s('2d.visible',true);}else{Node237.s('2d.visible',false);}}
  23010. if((1 )>0) {if(((jrjs==0)>0 )){Node238.s('2d.visible',true);}else{Node238.s('2d.visible',false);}}
  23011. if((1 )>0) {if(((yygjb==1)>0 )){Node239.s('2d.visible',true);}else{Node239.s('2d.visible',false);}}
  23012. if((1 )>0) {if(((yygjb==0)>0 )){Node240.s('2d.visible',true);}else{Node240.s('2d.visible',false);}}
  23013. if((1 )>0) {if(((plhts==1)>0 )){Node241.s('2d.visible',true);}else{Node241.s('2d.visible',false);}}
  23014. if((1 )>0) {if(((plhts==0)>0 )){Node242.s('2d.visible',true);}else{Node242.s('2d.visible',false);}}
  23015. if((1 )>0) {if(((tqwns==1)>0 )){Node243.s('2d.visible',true);}else{Node243.s('2d.visible',false);}}
  23016. if((1 )>0) {if(((tqwns==0)>0 )){Node244.s('2d.visible',true);}else{Node244.s('2d.visible',false);}}
  23017. if((1 )>0) {if(((gljf==1)>0 )){Node245.s('2d.visible',true);}else{Node245.s('2d.visible',false);}}
  23018. if((1 )>0) {if(((gljf==0)>0 )){Node246.s('2d.visible',true);}else{Node246.s('2d.visible',false);}}
  23019. if((1 )>0) {if(((hyfy==1)>0 )){Node247.s('2d.visible',true);}else{Node247.s('2d.visible',false);}}
  23020. if((1 )>0) {if(((hyfy==0)>0 )){Node248.s('2d.visible',true);}else{Node248.s('2d.visible',false);}}
  23021. if((1 )>0) {if(((llbts==1)>0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);}}
  23022. if((1 )>0) {if(((llbts==0)>0 )){Node250.s('2d.visible',true);}else{Node250.s('2d.visible',false);}}
  23023. if((1 )>0) {if(((ygcls==1)>0 )){Node251.s('2d.visible',true);}else{Node251.s('2d.visible',false);}}
  23024. if((1 )>0) {if(((ygcls==0)>0 )){Node252.s('2d.visible',true);}else{Node252.s('2d.visible',false);}}
  23025. if((1 )>0) {if(((VIS==1)>0 )){Node259_0.s('2d.visible',true);}else{Node259_0.s('2d.visible',false);}}
  23026. if((1 )>0) {if(((VIS==1)>0 )){Node259_1.s('2d.visible',true);}else{Node259_1.s('2d.visible',false);}}
  23027. if((1 )>0) {if(((VIS==0)>0 )){Node260_0.s('2d.visible',true);}else{Node260_0.s('2d.visible',false);}}
  23028. if((1 )>0) {if(((VIS==0)>0 )){Node260_1.s('2d.visible',true);}else{Node260_1.s('2d.visible',false);}}
  23029. if((1 )>0) {if(((VIS2==1)>0 )){Node261_0.s('2d.visible',true);}else{Node261_0.s('2d.visible',false);}}
  23030. if((1 )>0) {if(((VIS2==1)>0 )){Node261_1.s('2d.visible',true);}else{Node261_1.s('2d.visible',false);}}
  23031. if((1 )>0) {if(((VIS2==0)>0 )){Node262_0.s('2d.visible',true);}else{Node262_0.s('2d.visible',false);}}
  23032. if((1 )>0) {if(((VIS2==0)>0 )){Node262_1.s('2d.visible',true);}else{Node262_1.s('2d.visible',false);}}
  23033. if((1 )>0) {if(((VIS3==1)>0 )){Node263_0.s('2d.visible',true);}else{Node263_0.s('2d.visible',false);}}
  23034. if((1 )>0) {if(((VIS3==1)>0 )){Node263_1.s('2d.visible',true);}else{Node263_1.s('2d.visible',false);}}
  23035. if((1 )>0) {if(((VIS3==0)>0 )){Node264_0.s('2d.visible',true);}else{Node264_0.s('2d.visible',false);}}
  23036. if((1 )>0) {if(((VIS3==0)>0 )){Node264_1.s('2d.visible',true);}else{Node264_1.s('2d.visible',false);}}
  23037. if((1 )>0) {if(((VIS5==1)>0 )){Node265_0.s('2d.visible',true);}else{Node265_0.s('2d.visible',false);}}
  23038. if((1 )>0) {if(((VIS5==1)>0 )){Node265_1.s('2d.visible',true);}else{Node265_1.s('2d.visible',false);}}
  23039. if((1 )>0) {if(((VIS5==0)>0 )){Node266_0.s('2d.visible',true);}else{Node266_0.s('2d.visible',false);}}
  23040. if((1 )>0) {if(((VIS5==0)>0 )){Node266_1.s('2d.visible',true);}else{Node266_1.s('2d.visible',false);}}
  23041. if((1 )>0) {if(((VIS4==1)>0 )){Node267_0.s('2d.visible',true);}else{Node267_0.s('2d.visible',false);}}
  23042. if((1 )>0) {if(((VIS4==1)>0 )){Node267_1.s('2d.visible',true);}else{Node267_1.s('2d.visible',false);}}
  23043. if((1 )>0) {if(((VIS4==0)>0 )){Node268_0.s('2d.visible',true);}else{Node268_0.s('2d.visible',false);}}
  23044. if((1 )>0) {if(((VIS4==0)>0 )){Node268_1.s('2d.visible',true);}else{Node268_1.s('2d.visible',false);}}
  23045. if((1 )>0) {if(((VIS6==1)>0 )){Node269_0.s('2d.visible',true);}else{Node269_0.s('2d.visible',false);}}
  23046. if((1 )>0) {if(((VIS6==1)>0 )){Node269_1.s('2d.visible',true);}else{Node269_1.s('2d.visible',false);}}
  23047. if((1 )>0) {if(((VIS6==0)>0 )){Node270_0.s('2d.visible',true);}else{Node270_0.s('2d.visible',false);}}
  23048. if((1 )>0) {if(((VIS6==0)>0 )){Node270_1.s('2d.visible',true);}else{Node270_1.s('2d.visible',false);}}
  23049. if((1 )>0) {if(((VIS7==1)>0 )){Node271_0.s('2d.visible',true);}else{Node271_0.s('2d.visible',false);}}
  23050. if((1 )>0) {if(((VIS7==1)>0 )){Node271_1.s('2d.visible',true);}else{Node271_1.s('2d.visible',false);}}
  23051. if((1 )>0) {if(((VIS7==0)>0 )){Node272_0.s('2d.visible',true);}else{Node272_0.s('2d.visible',false);}}
  23052. if((1 )>0) {if(((VIS7==0)>0 )){Node272_1.s('2d.visible',true);}else{Node272_1.s('2d.visible',false);}}
  23053. if((1 )>0) {if(((VIS==1)>0 )){Node273_0.s('2d.visible',true);}else{Node273_0.s('2d.visible',false);}}
  23054. if((1 )>0) {if(((VIS==1)>0 )){Node273_1.s('2d.visible',true);}else{Node273_1.s('2d.visible',false);}}
  23055. if((1 )>0) {if(((VIS==1)>0 )){Node273_2.s('2d.visible',true);}else{Node273_2.s('2d.visible',false);}}
  23056. if((1 )>0) {if(((VIS==1)>0 )){Node273_3.s('2d.visible',true);}else{Node273_3.s('2d.visible',false);}}
  23057. if((1 )>0) {if(((VIS==1)>0 )){Node273_4.s('2d.visible',true);}else{Node273_4.s('2d.visible',false);}}
  23058. if((1 )>0) {if(((VIS==1)>0 )){Node273_5.s('2d.visible',true);}else{Node273_5.s('2d.visible',false);}}
  23059. if((1 )>0) {if(((VIS==1)>0 )){Node273_6.s('2d.visible',true);}else{Node273_6.s('2d.visible',false);}}
  23060. if((1 )>0) {if(((VIS==1)>0 )){Node273_7.s('2d.visible',true);}else{Node273_7.s('2d.visible',false);}}
  23061. if((1 )>0) {if(((VIS==1)>0 )){Node273_8.s('2d.visible',true);}else{Node273_8.s('2d.visible',false);}}
  23062. if((1 )>0) {if(((VIS==1)>0 )){Node273_9.s('2d.visible',true);}else{Node273_9.s('2d.visible',false);}}
  23063. if((1 )>0) {if(((VIS==1)>0 )){Node273_10.s('2d.visible',true);}else{Node273_10.s('2d.visible',false);}}
  23064. if((1 )>0) {if(((VIS==1)>0 )){Node273_11.s('2d.visible',true);}else{Node273_11.s('2d.visible',false);}}
  23065. if((1 )>0) {if(((VIS==1)>0 )){Node273_12.s('2d.visible',true);}else{Node273_12.s('2d.visible',false);}}
  23066. if((1 )>0) {if(((VIS==1)>0 )){Node273_13.s('2d.visible',true);}else{Node273_13.s('2d.visible',false);}}
  23067. if((1 )>0) {if(((VIS==1)>0 )){Node273_14.s('2d.visible',true);}else{Node273_14.s('2d.visible',false);}}
  23068. if((1 )>0) {if(((VIS==1)>0 )){Node273_15.s('2d.visible',true);}else{Node273_15.s('2d.visible',false);}}
  23069. if((1 )>0) {if(((VIS3==1)>0 )){Node274_0.s('2d.visible',true);}else{Node274_0.s('2d.visible',false);}}
  23070. if((1 )>0) {if(((VIS3==1)>0 )){Node274_1.s('2d.visible',true);}else{Node274_1.s('2d.visible',false);}}
  23071. if((1 )>0) {if(((VIS3==1)>0 )){Node274_2.s('2d.visible',true);}else{Node274_2.s('2d.visible',false);}}
  23072. if((1 )>0) {if(((VIS3==1)>0 )){Node274_3.s('2d.visible',true);}else{Node274_3.s('2d.visible',false);}}
  23073. if((1 )>0) {if(((VIS3==1)>0 )){Node274_4.s('2d.visible',true);}else{Node274_4.s('2d.visible',false);}}
  23074. if((1 )>0) {if(((VIS3==1)>0 )){Node274_5.s('2d.visible',true);}else{Node274_5.s('2d.visible',false);}}
  23075. if((1 )>0) {if(((VIS3==1)>0 )){Node274_6.s('2d.visible',true);}else{Node274_6.s('2d.visible',false);}}
  23076. if((1 )>0) {if(((VIS3==1)>0 )){Node274_7.s('2d.visible',true);}else{Node274_7.s('2d.visible',false);}}
  23077. if((1 )>0) {if(((VIS3==1)>0 )){Node274_8.s('2d.visible',true);}else{Node274_8.s('2d.visible',false);}}
  23078. if((1 )>0) {if(((VIS3==1)>0 )){Node274_9.s('2d.visible',true);}else{Node274_9.s('2d.visible',false);}}
  23079. if((1 )>0) {if(((VIS3==1)>0 )){Node274_10.s('2d.visible',true);}else{Node274_10.s('2d.visible',false);}}
  23080. if((1 )>0) {if(((VIS3==1)>0 )){Node274_11.s('2d.visible',true);}else{Node274_11.s('2d.visible',false);}}
  23081. if((1 )>0) {if(((VIS3==1)>0 )){Node274_12.s('2d.visible',true);}else{Node274_12.s('2d.visible',false);}}
  23082. if((1 )>0) {if(((VIS3==1)>0 )){Node274_13.s('2d.visible',true);}else{Node274_13.s('2d.visible',false);}}
  23083. if((1 )>0) {if(((VIS3==1)>0 )){Node274_14.s('2d.visible',true);}else{Node274_14.s('2d.visible',false);}}
  23084. if((1 )>0) {if(((VIS3==1)>0 )){Node274_15.s('2d.visible',true);}else{Node274_15.s('2d.visible',false);}}
  23085. if((1 )>0) {if(((VIS2==1)>0 )){Node275_0.s('2d.visible',true);}else{Node275_0.s('2d.visible',false);}}
  23086. if((1 )>0) {if(((VIS2==1)>0 )){Node275_1.s('2d.visible',true);}else{Node275_1.s('2d.visible',false);}}
  23087. if((1 )>0) {if(((VIS2==1)>0 )){Node275_2.s('2d.visible',true);}else{Node275_2.s('2d.visible',false);}}
  23088. if((1 )>0) {if(((VIS2==1)>0 )){Node275_3.s('2d.visible',true);}else{Node275_3.s('2d.visible',false);}}
  23089. if((1 )>0) {if(((VIS2==1)>0 )){Node275_4.s('2d.visible',true);}else{Node275_4.s('2d.visible',false);}}
  23090. if((1 )>0) {if(((VIS2==1)>0 )){Node275_5.s('2d.visible',true);}else{Node275_5.s('2d.visible',false);}}
  23091. if((1 )>0) {if(((VIS2==1)>0 )){Node275_6.s('2d.visible',true);}else{Node275_6.s('2d.visible',false);}}
  23092. if((1 )>0) {if(((VIS2==1)>0 )){Node275_7.s('2d.visible',true);}else{Node275_7.s('2d.visible',false);}}
  23093. if((1 )>0) {if(((VIS2==1)>0 )){Node275_8.s('2d.visible',true);}else{Node275_8.s('2d.visible',false);}}
  23094. if((1 )>0) {if(((VIS2==1)>0 )){Node275_9.s('2d.visible',true);}else{Node275_9.s('2d.visible',false);}}
  23095. if((1 )>0) {if(((VIS2==1)>0 )){Node275_10.s('2d.visible',true);}else{Node275_10.s('2d.visible',false);}}
  23096. if((1 )>0) {if(((VIS2==1)>0 )){Node275_11.s('2d.visible',true);}else{Node275_11.s('2d.visible',false);}}
  23097. if((1 )>0) {if(((VIS2==1)>0 )){Node275_12.s('2d.visible',true);}else{Node275_12.s('2d.visible',false);}}
  23098. if((1 )>0) {if(((VIS2==1)>0 )){Node275_13.s('2d.visible',true);}else{Node275_13.s('2d.visible',false);}}
  23099. if((1 )>0) {if(((VIS2==1)>0 )){Node275_14.s('2d.visible',true);}else{Node275_14.s('2d.visible',false);}}
  23100. if((1 )>0) {if(((VIS2==1)>0 )){Node275_15.s('2d.visible',true);}else{Node275_15.s('2d.visible',false);}}
  23101. if((1 )>0) {if(((VIS4==1)>0 )){Node276_0.s('2d.visible',true);}else{Node276_0.s('2d.visible',false);}}
  23102. if((1 )>0) {if(((VIS4==1)>0 )){Node276_1.s('2d.visible',true);}else{Node276_1.s('2d.visible',false);}}
  23103. if((1 )>0) {if(((VIS4==1)>0 )){Node276_2.s('2d.visible',true);}else{Node276_2.s('2d.visible',false);}}
  23104. if((1 )>0) {if(((VIS4==1)>0 )){Node276_3.s('2d.visible',true);}else{Node276_3.s('2d.visible',false);}}
  23105. if((1 )>0) {if(((VIS4==1)>0 )){Node276_4.s('2d.visible',true);}else{Node276_4.s('2d.visible',false);}}
  23106. if((1 )>0) {if(((VIS4==1)>0 )){Node276_5.s('2d.visible',true);}else{Node276_5.s('2d.visible',false);}}
  23107. if((1 )>0) {if(((VIS4==1)>0 )){Node276_6.s('2d.visible',true);}else{Node276_6.s('2d.visible',false);}}
  23108. if((1 )>0) {if(((VIS4==1)>0 )){Node276_7.s('2d.visible',true);}else{Node276_7.s('2d.visible',false);}}
  23109. if((1 )>0) {if(((VIS4==1)>0 )){Node276_8.s('2d.visible',true);}else{Node276_8.s('2d.visible',false);}}
  23110. if((1 )>0) {if(((VIS4==1)>0 )){Node276_9.s('2d.visible',true);}else{Node276_9.s('2d.visible',false);}}
  23111. if((1 )>0) {if(((VIS4==1)>0 )){Node276_10.s('2d.visible',true);}else{Node276_10.s('2d.visible',false);}}
  23112. if((1 )>0) {if(((VIS4==1)>0 )){Node276_11.s('2d.visible',true);}else{Node276_11.s('2d.visible',false);}}
  23113. if((1 )>0) {if(((VIS4==1)>0 )){Node276_12.s('2d.visible',true);}else{Node276_12.s('2d.visible',false);}}
  23114. if((1 )>0) {if(((VIS4==1)>0 )){Node276_13.s('2d.visible',true);}else{Node276_13.s('2d.visible',false);}}
  23115. if((1 )>0) {if(((VIS4==1)>0 )){Node276_14.s('2d.visible',true);}else{Node276_14.s('2d.visible',false);}}
  23116. if((1 )>0) {if(((VIS4==1)>0 )){Node276_15.s('2d.visible',true);}else{Node276_15.s('2d.visible',false);}}
  23117. if((1 )>0) {if(((VIS5==1)>0 )){Node277_0.s('2d.visible',true);}else{Node277_0.s('2d.visible',false);}}
  23118. if((1 )>0) {if(((VIS5==1)>0 )){Node277_1.s('2d.visible',true);}else{Node277_1.s('2d.visible',false);}}
  23119. if((1 )>0) {if(((VIS5==1)>0 )){Node277_2.s('2d.visible',true);}else{Node277_2.s('2d.visible',false);}}
  23120. if((1 )>0) {if(((VIS5==1)>0 )){Node277_3.s('2d.visible',true);}else{Node277_3.s('2d.visible',false);}}
  23121. if((1 )>0) {if(((VIS5==1)>0 )){Node277_4.s('2d.visible',true);}else{Node277_4.s('2d.visible',false);}}
  23122. if((1 )>0) {if(((VIS5==1)>0 )){Node277_5.s('2d.visible',true);}else{Node277_5.s('2d.visible',false);}}
  23123. if((1 )>0) {if(((VIS5==1)>0 )){Node277_6.s('2d.visible',true);}else{Node277_6.s('2d.visible',false);}}
  23124. if((1 )>0) {if(((VIS5==1)>0 )){Node277_7.s('2d.visible',true);}else{Node277_7.s('2d.visible',false);}}
  23125. if((1 )>0) {if(((VIS5==1)>0 )){Node277_8.s('2d.visible',true);}else{Node277_8.s('2d.visible',false);}}
  23126. if((1 )>0) {if(((VIS5==1)>0 )){Node277_9.s('2d.visible',true);}else{Node277_9.s('2d.visible',false);}}
  23127. if((1 )>0) {if(((VIS5==1)>0 )){Node277_10.s('2d.visible',true);}else{Node277_10.s('2d.visible',false);}}
  23128. if((1 )>0) {if(((VIS5==1)>0 )){Node277_11.s('2d.visible',true);}else{Node277_11.s('2d.visible',false);}}
  23129. if((1 )>0) {if(((VIS5==1)>0 )){Node277_12.s('2d.visible',true);}else{Node277_12.s('2d.visible',false);}}
  23130. if((1 )>0) {if(((VIS5==1)>0 )){Node277_13.s('2d.visible',true);}else{Node277_13.s('2d.visible',false);}}
  23131. if((1 )>0) {if(((VIS5==1)>0 )){Node277_14.s('2d.visible',true);}else{Node277_14.s('2d.visible',false);}}
  23132. if((1 )>0) {if(((VIS5==1)>0 )){Node277_15.s('2d.visible',true);}else{Node277_15.s('2d.visible',false);}}
  23133. if((1 )>0) {if(((VIS6==1)>0 )){Node278_0.s('2d.visible',true);}else{Node278_0.s('2d.visible',false);}}
  23134. if((1 )>0) {if(((VIS6==1)>0 )){Node278_1.s('2d.visible',true);}else{Node278_1.s('2d.visible',false);}}
  23135. if((1 )>0) {if(((VIS6==1)>0 )){Node278_2.s('2d.visible',true);}else{Node278_2.s('2d.visible',false);}}
  23136. if((1 )>0) {if(((VIS6==1)>0 )){Node278_3.s('2d.visible',true);}else{Node278_3.s('2d.visible',false);}}
  23137. if((1 )>0) {if(((VIS6==1)>0 )){Node278_4.s('2d.visible',true);}else{Node278_4.s('2d.visible',false);}}
  23138. if((1 )>0) {if(((VIS6==1)>0 )){Node278_5.s('2d.visible',true);}else{Node278_5.s('2d.visible',false);}}
  23139. if((1 )>0) {if(((VIS6==1)>0 )){Node278_6.s('2d.visible',true);}else{Node278_6.s('2d.visible',false);}}
  23140. if((1 )>0) {if(((VIS6==1)>0 )){Node278_7.s('2d.visible',true);}else{Node278_7.s('2d.visible',false);}}
  23141. if((1 )>0) {if(((VIS6==1)>0 )){Node278_8.s('2d.visible',true);}else{Node278_8.s('2d.visible',false);}}
  23142. if((1 )>0) {if(((VIS6==1)>0 )){Node278_9.s('2d.visible',true);}else{Node278_9.s('2d.visible',false);}}
  23143. if((1 )>0) {if(((VIS6==1)>0 )){Node278_10.s('2d.visible',true);}else{Node278_10.s('2d.visible',false);}}
  23144. if((1 )>0) {if(((VIS6==1)>0 )){Node278_11.s('2d.visible',true);}else{Node278_11.s('2d.visible',false);}}
  23145. if((1 )>0) {if(((VIS6==1)>0 )){Node278_12.s('2d.visible',true);}else{Node278_12.s('2d.visible',false);}}
  23146. if((1 )>0) {if(((VIS6==1)>0 )){Node278_13.s('2d.visible',true);}else{Node278_13.s('2d.visible',false);}}
  23147. if((1 )>0) {if(((VIS6==1)>0 )){Node278_14.s('2d.visible',true);}else{Node278_14.s('2d.visible',false);}}
  23148. if((1 )>0) {if(((VIS6==1)>0 )){Node278_15.s('2d.visible',true);}else{Node278_15.s('2d.visible',false);}}
  23149. if((1 )>0) {if(((VIS7==1)>0 )){Node279_0.s('2d.visible',true);}else{Node279_0.s('2d.visible',false);}}
  23150. if((1 )>0) {if(((VIS7==1)>0 )){Node279_1.s('2d.visible',true);}else{Node279_1.s('2d.visible',false);}}
  23151. if((1 )>0) {if(((VIS7==1)>0 )){Node279_2.s('2d.visible',true);}else{Node279_2.s('2d.visible',false);}}
  23152. if((1 )>0) {if(((VIS7==1)>0 )){Node279_3.s('2d.visible',true);}else{Node279_3.s('2d.visible',false);}}
  23153. if((1 )>0) {if(((VIS7==1)>0 )){Node279_4.s('2d.visible',true);}else{Node279_4.s('2d.visible',false);}}
  23154. if((1 )>0) {if(((VIS7==1)>0 )){Node279_5.s('2d.visible',true);}else{Node279_5.s('2d.visible',false);}}
  23155. if((1 )>0) {if(((VIS7==1)>0 )){Node279_6.s('2d.visible',true);}else{Node279_6.s('2d.visible',false);}}
  23156. if((1 )>0) {if(((VIS7==1)>0 )){Node279_7.s('2d.visible',true);}else{Node279_7.s('2d.visible',false);}}
  23157. if((1 )>0) {if(((VIS7==1)>0 )){Node279_8.s('2d.visible',true);}else{Node279_8.s('2d.visible',false);}}
  23158. if((1 )>0) {if(((VIS7==1)>0 )){Node279_9.s('2d.visible',true);}else{Node279_9.s('2d.visible',false);}}
  23159. if((1 )>0) {if(((VIS7==1)>0 )){Node279_10.s('2d.visible',true);}else{Node279_10.s('2d.visible',false);}}
  23160. if((1 )>0) {if(((VIS7==1)>0 )){Node279_11.s('2d.visible',true);}else{Node279_11.s('2d.visible',false);}}
  23161. if((1 )>0) {if(((VIS7==1)>0 )){Node279_12.s('2d.visible',true);}else{Node279_12.s('2d.visible',false);}}
  23162. if((1 )>0) {if(((VIS7==1)>0 )){Node279_13.s('2d.visible',true);}else{Node279_13.s('2d.visible',false);}}
  23163. if((1 )>0) {if(((VIS7==1)>0 )){Node279_14.s('2d.visible',true);}else{Node279_14.s('2d.visible',false);}}
  23164. if((1 )>0) {if(((VIS7==1)>0 )){Node279_15.s('2d.visible',true);}else{Node279_15.s('2d.visible',false);}}
  23165. /*@Timer500ms@*/
  23166. // graphView.redraw();
  23167. }
  23168. intervalTimers.push(setInterval(Timer500msCmd, 500));
  23169. function Timer1sCmd() {
  23170. Counter1s++;
  23171. if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
  23172. Node3_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  23173. Node4_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  23174. Node192_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  23175. Node196_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  23176. /*@Timer1000ms@*/
  23177. // graphView.redraw();
  23178. }
  23179. Timer1sCmd();
  23180. intervalTimers.push(setInterval(Timer1sCmd, 1000));
  23181. function Timer5sCmd() {
  23182. Counter5s++;
  23183. /*@Timer5000ms@*/
  23184. // graphView.redraw();
  23185. }
  23186. // intervalTimers.push(setInterval(Timer5sCmd, 5000));
  23187. /*@EventTimer@*/
  23188. //graphView.setInteractors(null);
  23189. if (!!view) {
  23190. view.eventList = view.eventList || {};
  23191. }
  23192. function blockDataFilter (data) {
  23193. return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
  23194. }
  23195. var type ='mousedown';
  23196. function doMouseDown (e, origin) {
  23197. if(!ht.Default.isLeftButton(e)){return;}
  23198. mouseX=e.clientX;
  23199. mouseY=e.clientY;
  23200. origin = origin || graphView;
  23201. window.GD && GD.hideTagInfo();
  23202. var data = origin.getDataAt(e, blockDataFilter);
  23203. if (data && data.__parentLib) {
  23204. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
  23205. return;
  23206. }
  23207. if(data === Node239){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();}} }
  23208. /*@EvnentMouseDown@*/
  23209. }
  23210. view.eventList[type] = doMouseDown;
  23211. view['on'+type] = function(e){
  23212. doMouseDown(e);
  23213. e.preventDefault();
  23214. };
  23215. type ='mouseup';
  23216. function doMouseUp (e, origin) {
  23217. if(!ht.Default.isLeftButton(e)){return;}
  23218. origin = origin || graphView;
  23219. var data = origin.getDataAt(e, blockDataFilter);
  23220. if (data && data.__parentLib) {
  23221. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
  23222. return;
  23223. }
  23224. /*@EvnentMouseUp@*/
  23225. }
  23226. view.eventList[type] = doMouseUp;
  23227. view['on'+type] = function(e){
  23228. doMouseUp(e);
  23229. e.preventDefault();
  23230. };
  23231. type ='click';
  23232. function doClick (e, origin) {
  23233. if(!ht.Default.isLeftButton(e)){return;}
  23234. origin = origin || graphView;
  23235. var data = origin.getDataAt(e, blockDataFilter);
  23236. if (data && data.__parentLib) {
  23237. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
  23238. return;
  23239. }
  23240. /*@EvnentClicked@*/
  23241. }
  23242. view.eventList[type] = doClick;
  23243. view['on'+type] = function(e){
  23244. doClick(e);
  23245. e.preventDefault();
  23246. };
  23247. type ='mousemove';
  23248. var objMouseOn = null, _objMouseOn = null;
  23249. function doMouseMove (e, origin, offset) {
  23250. var positon, data, zoom, _data, libData;
  23251. origin = origin || graphView;
  23252. position=origin.getLogicalPoint(e);
  23253. zoom = graphView.getZoom();
  23254. if (origin === graphView) {
  23255. mouseX= position.x + origin.tx();
  23256. mouseY = position.y + origin.ty();
  23257. } else {
  23258. offset = offset || {x: 0, y: 0};
  23259. mouseX = position.x / zoom + offset.x + origin.tx();
  23260. mouseY = position.y / zoom + offset.y + origin.ty();
  23261. }
  23262. data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
  23263. if(data === objMouseOn || data === _objMouseOn) return;
  23264. // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
  23265. if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
  23266. _data = data;
  23267. data = libData = _libModel.getDataByKey(_data.__parentLib);
  23268. }
  23269. if(data !== Node9&& objMouseOn===Node9){sxxny=0; }
  23270. if(data !== Node11&& objMouseOn===Node11){sy=0; }
  23271. if(data !== Node221&& objMouseOn===Node221){ldjsc=0; }
  23272. if(data !== Node223&& objMouseOn===Node223){ztjs=0; }
  23273. if(data !== Node225&& objMouseOn===Node225){sbjz=0; }
  23274. if(data !== Node227&& objMouseOn===Node227){xnfx=0; }
  23275. if(data !== Node229&& objMouseOn===Node229){pjgl=0; }
  23276. if(data !== Node231&& objMouseOn===Node231){zbph=0; }
  23277. if(data !== Node233&& objMouseOn===Node233){dbgl=0; }
  23278. if(data !== Node235&& objMouseOn===Node235){bjzx=0; }
  23279. if(data !== Node237&& objMouseOn===Node237){jrjs=0; }
  23280. if(data !== Node239&& objMouseOn===Node239){yygjb=0; }
  23281. if(data !== Node241&& objMouseOn===Node241){plhts=0; }
  23282. if(data !== Node243&& objMouseOn===Node243){tqwns=0; }
  23283. if(data !== Node245&& objMouseOn===Node245){gljf=0; }
  23284. if(data !== Node247&& objMouseOn===Node247){hyfy=0; }
  23285. if(data !== Node249&& objMouseOn===Node249){llbts=0; }
  23286. if(data !== Node251&& objMouseOn===Node251){ygcls=0; }
  23287. if(data !== Node259_0&& objMouseOn===Node259_0){VIS=0; }
  23288. if(data !== Node259_1&& objMouseOn===Node259_1){VIS=0; }
  23289. if(data !== Node261_0&& objMouseOn===Node261_0){VIS2=0; }
  23290. if(data !== Node261_1&& objMouseOn===Node261_1){VIS2=0; }
  23291. if(data !== Node263_0&& objMouseOn===Node263_0){VIS3=0; }
  23292. if(data !== Node263_1&& objMouseOn===Node263_1){VIS3=0; }
  23293. if(data !== Node265_0&& objMouseOn===Node265_0){VIS5=0; }
  23294. if(data !== Node265_1&& objMouseOn===Node265_1){VIS5=0; }
  23295. if(data !== Node267_0&& objMouseOn===Node267_0){VIS4=0; }
  23296. if(data !== Node267_1&& objMouseOn===Node267_1){VIS4=0; }
  23297. if(data !== Node269_0&& objMouseOn===Node269_0){VIS6=0; }
  23298. if(data !== Node269_1&& objMouseOn===Node269_1){VIS6=0; }
  23299. if(data !== Node271_0&& objMouseOn===Node271_0){VIS7=0; }
  23300. if(data !== Node271_1&& objMouseOn===Node271_1){VIS7=0; }
  23301. /*@EvnentMouseLeave@*/
  23302. if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
  23303. objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
  23304. }
  23305. objMouseOn = data;
  23306. _objMouseOn = _data;
  23307. if(data === Node10){sxxny=1; }
  23308. if(data === Node12){sy=1; }
  23309. if(data === Node222){ldjsc=1; }
  23310. if(data === Node224){ztjs=1; }
  23311. if(data === Node226){sbjz=1; }
  23312. if(data === Node228){xnfx=1; }
  23313. if(data === Node230){pjgl=1; }
  23314. if(data === Node232){zbph=1; }
  23315. if(data === Node234){dbgl=1; }
  23316. if(data === Node236){bjzx=1; }
  23317. if(data === Node238){jrjs=1; }
  23318. if(data === Node240){yygjb=1; }
  23319. if(data === Node242){plhts=1; }
  23320. if(data === Node244){tqwns=1; }
  23321. if(data === Node246){gljf=1; }
  23322. if(data === Node248){hyfy=1; }
  23323. if(data === Node250){llbts=1; }
  23324. if(data === Node252){ygcls=1; }
  23325. if(data === Node260_0){VIS=1; }
  23326. if(data === Node260_1){VIS=1; }
  23327. if(data === Node262_0){VIS2=1; }
  23328. if(data === Node262_1){VIS2=1; }
  23329. if(data === Node264_0){VIS3=1; }
  23330. if(data === Node264_1){VIS3=1; }
  23331. if(data === Node266_0){VIS5=1; }
  23332. if(data === Node266_1){VIS5=1; }
  23333. if(data === Node268_0){VIS4=1; }
  23334. if(data === Node268_1){VIS4=1; }
  23335. if(data === Node270_0){VIS6=1; }
  23336. if(data === Node270_1){VIS6=1; }
  23337. if(data === Node272_0){VIS7=1; }
  23338. if(data === Node272_1){VIS7=1; }
  23339. /*@EvnentMouseOver@*/
  23340. if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
  23341. data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
  23342. }
  23343. }
  23344. view.eventList[type] = doMouseMove;
  23345. view['on'+type] = function(e){
  23346. doMouseMove(e);
  23347. e.preventDefault();
  23348. };
  23349. window.onkeydown = function doKeyDown(e) {
  23350. var keyID = e.keyCode ? e.keyCode :e.which;
  23351. //if(keyID === 87) { }
  23352. /*@EvnentKeyDown@*/
  23353. // if (keyID === 27 && graphView) {
  23354. // graphView.setZoom(1);
  23355. // graphView.tx(0);
  23356. // graphView.ty(0);
  23357. // }
  23358. return;
  23359. }
  23360. /*@Event@*/
  23361. /*@Declare@*/
  23362. var contextmenu = new ht.widget.ContextMenu();
  23363. contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
  23364. contextmenu.contextMenuBackground='rgb(255,255,255)';
  23365. contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
  23366. contextmenu.contextMenuLabelColor='rgb(48,48,48)';
  23367. contextmenu.beforeShow = function(e, gv) {
  23368. gv = gv || graphView;
  23369. if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
  23370. gv = graphView;
  23371. }
  23372. this.setItems(null);
  23373. window.GD && GD.hideTagInfo();
  23374. var data = gv.getDataAt(e) || graphView.getDataAt(e);
  23375. if (data && data.__parentLib) {
  23376. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
  23377. return;
  23378. }
  23379. //if(false);
  23380. /*@SetNodeContextMenu@*/
  23381. /*@SetPageContextMenu@*/
  23382. };
  23383. contextmenu.afterShow = function (e) {
  23384. var fontSize = 14,
  23385. screenWidth = window.screen.width,
  23386. screenHeight = window.screen.height,
  23387. rx = screenWidth / 1920,
  23388. ry = screenHeight / 1080,
  23389. itemHeight = 30 * ry,
  23390. fontFamily = '',
  23391. width = 150 * rx;
  23392. itemHeight = itemHeight > 30 ? itemHeight : 30;
  23393. var $contextMenu = $(this.getView());
  23394. $contextMenu.find('.contextmenu-item-icon').css({
  23395. width: 14,
  23396. height: 14,
  23397. marginRight: 10
  23398. });
  23399. $contextMenu.find('li.menu-item').css({
  23400. fontSize: fontSize,
  23401. fontWeight: 600,
  23402. height: itemHeight,
  23403. minHeight: 25,
  23404. lineHeight: itemHeight + 'px',
  23405. fontFamily: fontFamily,
  23406. padding: 0
  23407. });
  23408. $contextMenu.find('ul').css({
  23409. width: width,
  23410. minWidth: 100
  23411. });
  23412. contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
  23413. };
  23414. view.eventList && (view.eventList['contextMenu'] = contextmenu);
  23415. contextmenu.addTo(view);
  23416. contextMenuOnViewList.push(contextmenu);
  23417. /*@ControlContextMenu@*/
  23418. graphView.getSelectWidth = function() { return 0; };
  23419. (function () {
  23420. var $mainContainer,
  23421. mainContainerHeight,
  23422. mainContainerWidth,
  23423. originHeight,
  23424. originWidth,
  23425. ratioX,
  23426. ratioY,
  23427. isPageContainer = false;
  23428. graphView._pageBackgroundNode = PageBackground;
  23429. if (pageSizeRatioValue !== 'adaptBrowser') {
  23430. window.GD && GD.setPageToCenterOrLeftTop();
  23431. }
  23432. function throttle () {
  23433. var timer = null;
  23434. return function () {
  23435. timer && clearTimeout(timer);
  23436. timer = setTimeout(function () {
  23437. var value = GD.getParams('pageSizeRatioValue') || {};
  23438. value = value.value || PageAdaptMode.value;
  23439. GD.setPageSizeWithRatio(value, ratio, backSize);
  23440. }, 200)
  23441. }
  23442. }
  23443. try {
  23444. if (window.parent && window.parent.openDialog) {
  23445. autoAdaptive = false;
  23446. }
  23447. } catch (error) {}
  23448. try {
  23449. if (window.parent && window.parent.pageContainer) {
  23450. graphView.handleScroll = function (data) {
  23451. var t = graphView.ty() - data.deltaY;
  23452. var contentSize = graphView.getContentRect();
  23453. var min = contentSize.height - graphView.getHeight() + 50;
  23454. if (min <= 50)
  23455. return ;
  23456. graphView.setTranslate(0, t, true);
  23457. graphView.setScrollBarSize(8);
  23458. }
  23459. graphView.adjustTranslateY = function (value) {
  23460. var contentSize = graphView.getContentRect();
  23461. var min = graphView.getHeight() - contentSize.height - 50;
  23462. value = value > 0 ? 0 : value;
  23463. value = value < min ? min : value;
  23464. return value;
  23465. }
  23466. autoAdaptive = false;
  23467. isPageContainer = true;
  23468. }
  23469. } catch (error) {}
  23470. if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
  23471. graphView.setScrollBarVisible(false);
  23472. if (!graphView._pannable) {
  23473. graphView.adjustTranslateX = function () {return 0};
  23474. graphView.adjustTranslateY = function () {return 0};
  23475. }
  23476. $window.off('resize').on('resize', throttle());
  23477. // setTimeout(resizePage, 100);
  23478. showPage();
  23479. } else {
  23480. showPage();
  23481. graphView.fitContent(false,0,true);
  23482. $window.off('resize').on('resize', function (e) {
  23483. if (!!isPageContainer) {
  23484. window.parent.postMessage('getZoom', '*');
  23485. } else {
  23486. graphView.fitContent(false,0,true);
  23487. }
  23488. })
  23489. }
  23490. var graphViewTimer = null;
  23491. // 监听鼠标缩放页面事件
  23492. graphView.adjustZoom = function (value) {
  23493. graphViewTimer && clearTimeout(graphViewTimer);
  23494. graphViewTimer = setTimeout(function () {
  23495. $window.trigger('graphViewZoomEnded', [value]);
  23496. GD.resetNodeBorderWidth(zoomNodeList, 1/value);
  23497. }, 80)
  23498. return value;
  23499. }
  23500. $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
  23501. var data = e.args;
  23502. var value = GD.getParams('pageSizeRatioValue') || {};
  23503. value = value.value || PageAdaptMode.value;
  23504. GD.setPageSizeWithRatio(value, ratio, backSize);
  23505. graphView.setZoom(data.zoom);
  23506. graphView.tx(0);
  23507. graphView.ty(0);
  23508. });
  23509. $window.off('beforeunload').on("beforeunload", function( event ) {
  23510. try {
  23511. sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
  23512. } catch (error) {console.log(error.message);}
  23513. ;(function () {
  23514. var GD = window.GD;
  23515. if (!GD || typeof GD.removeParams !== 'function') return ;
  23516. GD.removeParams();
  23517. GD.removeParams('pageSizeRatioValue');
  23518. })();
  23519. });
  23520. graphView.setScrollBarColor('rgba(211,211,211,1)');
  23521. graphView.setAutoHideScrollBar(false);
  23522. GD.autoToggleScrollBar();
  23523. // ;(function () {
  23524. // var oriX=browserSize.width/backSize.width;
  23525. // var oriY=browserSize.height/backSize.height;
  23526. // var json = [
  23527. // {
  23528. // label: "25%",
  23529. // action: function(item, event) {
  23530. // GD.setPageSizeWithRatio(0.25);
  23531. // }
  23532. // },
  23533. // {
  23534. // label: "50%",
  23535. // action: function(item, event) {
  23536. // GD.setPageSizeWithRatio(0.5);
  23537. // }
  23538. // },
  23539. // {
  23540. // label: "100%",
  23541. // action: function(item, event) {
  23542. // GD.setPageSizeWithRatio(1);
  23543. // }
  23544. // },
  23545. // {
  23546. // label: "200%",
  23547. // action: function(item, event) {
  23548. // GD.setPageSizeWithRatio(2);
  23549. // }
  23550. // },
  23551. // {
  23552. // label: "400%",
  23553. // action: function(item, event) {
  23554. // GD.setPageSizeWithRatio(4);
  23555. // }
  23556. // },
  23557. // {
  23558. // label: "实际大小",
  23559. // action: function(item, event) {
  23560. // GD.setPageSizeWithRatio('originSize');
  23561. // }
  23562. // },
  23563. // {
  23564. // label: '适合屏幕',
  23565. // action: function (item, event) {
  23566. // GD.setPageSizeWithRatio('adaptBrowser');
  23567. // }
  23568. // },
  23569. // {
  23570. // label: "适合宽度",
  23571. // action: function(item, event) {
  23572. // GD.setPageSizeWithRatio('adaptWidth');
  23573. // }
  23574. // },
  23575. // {
  23576. // label: "适合高度",
  23577. // action: function(item, event) {
  23578. // GD.setPageSizeWithRatio('adaptHeight');
  23579. // }
  23580. // },
  23581. // ];
  23582. // var zoomMenu = new ht.widget.ContextMenu(json);
  23583. // zoomMenu.disableGlobalKey();
  23584. // zoomMenu.setLabelMaxWidth(100);
  23585. // zoomMenu.addTo($('.main')[0]);
  23586. // })();
  23587. (function () {
  23588. var btnstr="停止数据刷新";
  23589. var json = [], item1, item2;
  23590. item1 = {
  23591. label: btnstr,
  23592. action: function(item, event) {
  23593. if(btnstr=="停止数据刷新"){
  23594. clearInterval(intervalTimers[0]);
  23595. intervalTimers.shift(intervalTimers[0]);
  23596. btnstr="开启数据刷新";
  23597. json[0].label=btnstr;
  23598. }else{
  23599. intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
  23600. btnstr="停止数据刷新";
  23601. json[0].label=btnstr;
  23602. }
  23603. }
  23604. };
  23605. item2 = {
  23606. label: "下载本页所有测点",
  23607. action: function(item, event) {
  23608. var time = new Date();
  23609. var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
  23610. var str= "测点名\n";
  23611. for(var i=0;i<varList.length;i++){
  23612. str+=varList[i]+"\n"
  23613. }
  23614. str = encodeURIComponent(str);
  23615. var link = document.createElement("a");
  23616. link.download = t+"测点名称集合.csv";
  23617. link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
  23618. link.click();
  23619. }
  23620. };
  23621. item3 = {
  23622. label: "历史回放",
  23623. action: function(item, event) {
  23624. createHisBackDialog(DatarefreshTask);
  23625. }
  23626. };
  23627. item4 = {
  23628. label: "保存页面图片",
  23629. action: function(item, event) {
  23630. savehtmlToJpg();
  23631. }
  23632. };
  23633. if (false) {
  23634. json.push(item1);
  23635. }
  23636. if (false) {
  23637. json.push(item2);
  23638. }
  23639. if(false){
  23640. json.push(item3);
  23641. }
  23642. if(false){
  23643. json.push(item4);
  23644. }
  23645. function addContextMenu() {
  23646. var dataMenu = new ht.widget.ContextMenu();
  23647. dataMenu.enableGlobalKey();
  23648. dataMenu.setLabelMaxWidth(120);
  23649. dataMenu.addTo(view);
  23650. contextMenuOnViewList.push(dataMenu);
  23651. dataMenu.beforeShow=function(e){
  23652. if(e.originEvent.target.className=="main"){
  23653. if(typeof(graphView.getDataAt(e))=="undefined"){
  23654. this.setItems(json);
  23655. }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
  23656. this.setItems(json);
  23657. }else{
  23658. this.setItems(null);
  23659. }
  23660. }else{
  23661. this.setItems(null);
  23662. }
  23663. }
  23664. };
  23665. if (json.length > 0) {
  23666. addContextMenu();
  23667. }
  23668. })();
  23669. })();
  23670. }