ztjs2.js 757 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513
  1. /*@WebApiFunc@*/
  2. var varList = ['HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013','GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0077','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0132','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0026','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0186','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0185','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0126','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0128','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0127','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0183','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0184','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0089','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0085','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0116','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0093','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0100','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0144','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0140','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0168','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0148','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0152','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0038','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0034','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0065','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0061','GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0046','demo.DEMO_AI009'];
  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. '1234/ztjs2': ['lib/风场信息.js'],
  78. }
  79. })(window, window.GD);
  80. (function () {
  81. for (var i = 0, len = varList.length; i < len; i++) {
  82. var varStr = varList[i];
  83. varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
  84. varStr && (varListObj[varStr] = 0);
  85. }
  86. })();
  87. jQuery.support.cors = true;
  88. ht.Default.appendTimeStamp = function(url) { return url };
  89. function init() {
  90. initPage();
  91. // dataModel._libModel = _libModel;
  92. try {
  93. VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
  94. } catch (err) {}
  95. for(var i=0;i< 28 ;i++){VarValue[i] =0;}
  96. graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
  97. view.style.background = 'rgba(255,255,255,1)';
  98. sy=0;
  99. ldjsc=0;
  100. ztjs=0;
  101. sbjz=0;
  102. xnfx=0;
  103. pjgl=0;
  104. zbph=0;
  105. dbgl=0;
  106. bjzx=0;
  107. jrjs=0;
  108. sxxny=0;
  109. yygjb=0;
  110. plhts=0;
  111. tqwns=0;
  112. gljf=0;
  113. hyfy=0;
  114. llbts=0;
  115. ygcls=0;
  116. VIS=0;
  117. VIS2=0;
  118. VIS3=0;
  119. VIS4=0;
  120. VIS5=0;
  121. VIS6=0;
  122. VIS7=0;
  123. Node173_fengjitaishu="xx";
  124. Node173_zhuangjirongliang="xx";
  125. Node173_pingjunfengsu="xx";
  126. Node173_rifadianliang="xx";
  127. Node173_yougonggonglv="xx";
  128. Node174_fengjitaishu="xx";
  129. Node174_zhuangjirongliang="xx";
  130. Node174_pingjunfengsu="xx";
  131. Node174_rifadianliang="xx";
  132. Node174_yougonggonglv="xx";
  133. Node175_fengjitaishu="xx";
  134. Node175_zhuangjirongliang="xx";
  135. Node175_pingjunfengsu="xx";
  136. Node175_rifadianliang="xx";
  137. Node175_yougonggonglv="xx";
  138. Node176_fengjitaishu="xx";
  139. Node176_zhuangjirongliang="xx";
  140. Node176_pingjunfengsu="xx";
  141. Node176_rifadianliang="xx";
  142. Node176_yougonggonglv="xx";
  143. Node177_fengjitaishu="xx";
  144. Node177_zhuangjirongliang="xx";
  145. Node177_pingjunfengsu="xx";
  146. Node177_rifadianliang="xx";
  147. Node177_yougonggonglv="xx";
  148. Node178_fengjitaishu="xx";
  149. Node178_zhuangjirongliang="xx";
  150. Node178_pingjunfengsu="xx";
  151. Node178_rifadianliang="xx";
  152. Node178_yougonggonglv="xx";
  153. Node179_fengjitaishu="xx";
  154. Node179_zhuangjirongliang="xx";
  155. Node179_pingjunfengsu="xx";
  156. Node179_rifadianliang="xx";
  157. Node179_yougonggonglv="xx";
  158. Node180_41GroupVarName=[{'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'}];
  159. Node180_41GroupInVarName=[{'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'}];
  160. Node180_51GroupVarName=[{'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':''}];
  161. Node180_51GroupInVarName=[{'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'}];
  162. Node180_54RowVarName=[];
  163. /*@PageBeforeInit@*/
  164. ;(function () {
  165. var GD = window.GD;
  166. if (!GD || typeof GD.useParams !== 'function') return ;
  167. GD.useParams();
  168. })();
  169. var backSize = {width: 1899, height: 980};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  170. var PageBackgroundtype = 'rect';
  171. var PageBackground = new ht.Node(),
  172. PageBackgroundBorderWidth = 0*2;
  173. if (PageBackgroundtype === 'arc') {
  174. PageBackgroundBorderWidth *= 0;
  175. }
  176. PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 980*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
  177. PageBackground.setPosition(949*ratio.ratioX, 490*ratio.ratioY);
  178. PageBackground.setSize(1899*_ratio.ratioX, 980*_ratio.ratioY);
  179. PageBackground.s({
  180. 'pixelPerfect':true
  181. /*@AddPara@*/
  182. });
  183. PageBackground.a('node.width', 1899*_ratio.ratioX);
  184. PageBackground.a('node.height', 980*_ratio.ratioY);
  185. PageBackground.a('node.type', PageBackgroundtype);
  186. PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 980*_ratio.ratioY]);
  187. PageBackground.a('node.background', 'rgba(255,255,255,1)');
  188. PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
  189. PageBackground.a('node.gradient', '');
  190. PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
  191. PageBackground.a('node.color', 'rgba(0,0,0,1)');
  192. PageBackground.a('node.fillrect', [0,0,0,0]);
  193. PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  194. PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  195. PageBackground.a('node.fillgradient', '');
  196. if (PageBackgroundtype !== 'rect') {
  197. PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
  198. PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
  199. PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  200. }
  201. if (PageBackgroundtype === 'arc') {
  202. PageBackground.a('node.arcOval', true);
  203. }
  204. PageBackground.setRotation(0*Math.PI/180);
  205. PageBackground.borderWidth = PageBackgroundBorderWidth;
  206. PageBackground.borderFillwidth = PageBackgroundBorderWidth;
  207. dataModel.add(PageBackground);
  208. PageBackground._nodename = 'PageBackground'
  209. PageBackground._nodeType = 'rect';
  210. zoomNodeList.push({
  211. node: PageBackground,
  212. attr: 'node.borderwidth'
  213. });
  214. (function (node, _img) {
  215. var setWidth = node.setWidth,
  216. setHeight = node.setHeight;
  217. node.setWidth = function (width) {
  218. if (width === this.getWidth()) return ;
  219. var height = this.getHeight();
  220. this.a('node.width', width);
  221. this.a('node.rect', [0,0,width, height]);
  222. setWidth.apply(this, arguments);
  223. }
  224. node.setHeight = function (height) {
  225. if (height === this.getHeight()) return ;
  226. var width = this.getWidth();
  227. this.a('node.height', height);
  228. this.a('node.rect', [0,0,width, height]);
  229. setHeight.apply(this, arguments);
  230. }
  231. })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  232. var Node0type = 'rect';
  233. var Node0 = new ht.Node(),
  234. Node0BorderWidth = 1*2;
  235. if (Node0type === 'arc') {
  236. Node0BorderWidth *= 1;
  237. }
  238. Node0.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  239. Node0.setPosition(618*ratio.ratioX, 98*ratio.ratioY);
  240. Node0.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  241. Node0.s({
  242. 'pixelPerfect':true
  243. /*@AddPara@*/
  244. });
  245. Node0.a('node.width', 280.7278*_ratio.ratioX);
  246. Node0.a('node.height', 122*_ratio.ratioY);
  247. Node0.a('node.type', Node0type);
  248. Node0.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  249. Node0.a('node.background', 'rgba(255,255,255,0.003921569)');
  250. Node0.a('node.gradientcolor', '');
  251. Node0.a('node.gradient', '');
  252. Node0.a('node.borderwidth', Node0BorderWidth);
  253. Node0.a('node.color', 'rgba(220,220,220,1)');
  254. Node0.a('node.fillrect', [0,0,0,0]);
  255. Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  256. Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  257. Node0.a('node.fillgradient', '');
  258. if (Node0type !== 'rect') {
  259. Node0.a('node.arcFrom', parseFloat('@arcFrom@'));
  260. Node0.a('node.arcTo', parseFloat('@arcTo@'));
  261. Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  262. }
  263. if (Node0type === 'arc') {
  264. Node0.a('node.arcOval', true);
  265. }
  266. Node0.setRotation(0*Math.PI/180);
  267. Node0.borderWidth = Node0BorderWidth;
  268. Node0.borderFillwidth = Node0BorderWidth;
  269. dataModel.add(Node0);
  270. Node0._nodename = 'Node0'
  271. Node0._nodeType = 'rect';
  272. zoomNodeList.push({
  273. node: Node0,
  274. attr: 'node.borderwidth'
  275. });
  276. (function (node, _img) {
  277. var setWidth = node.setWidth,
  278. setHeight = node.setHeight;
  279. node.setWidth = function (width) {
  280. if (width === this.getWidth()) return ;
  281. var height = this.getHeight();
  282. this.a('node.width', width);
  283. this.a('node.rect', [0,0,width, height]);
  284. setWidth.apply(this, arguments);
  285. }
  286. node.setHeight = function (height) {
  287. if (height === this.getHeight()) return ;
  288. var width = this.getWidth();
  289. this.a('node.height', height);
  290. this.a('node.rect', [0,0,width, height]);
  291. setHeight.apply(this, arguments);
  292. }
  293. })(Node0, Node0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  294. var Node1type = 'rect';
  295. var Node1 = new ht.Node(),
  296. Node1BorderWidth = 1*2;
  297. if (Node1type === 'arc') {
  298. Node1BorderWidth *= 1;
  299. }
  300. Node1.setImage(GD.getRectJSON(1711.689*_ratio.ratioX, 122*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  301. Node1.setPosition(1050*ratio.ratioX, 98*ratio.ratioY);
  302. Node1.setSize(1711.689*_ratio.ratioX, 122*_ratio.ratioY);
  303. Node1.s({
  304. 'pixelPerfect':true
  305. /*@AddPara@*/
  306. });
  307. Node1.a('node.width', 1711.689*_ratio.ratioX);
  308. Node1.a('node.height', 122*_ratio.ratioY);
  309. Node1.a('node.type', Node1type);
  310. Node1.a('node.rect', [0, 0, 1711.689*_ratio.ratioX, 122*_ratio.ratioY]);
  311. Node1.a('node.background', 'rgba(255,255,255,0.003921569)');
  312. Node1.a('node.gradientcolor', '');
  313. Node1.a('node.gradient', '');
  314. Node1.a('node.borderwidth', Node1BorderWidth);
  315. Node1.a('node.color', 'rgba(220,220,220,1)');
  316. Node1.a('node.fillrect', [0,0,0,0]);
  317. Node1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  318. Node1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  319. Node1.a('node.fillgradient', '');
  320. if (Node1type !== 'rect') {
  321. Node1.a('node.arcFrom', parseFloat('@arcFrom@'));
  322. Node1.a('node.arcTo', parseFloat('@arcTo@'));
  323. Node1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  324. }
  325. if (Node1type === 'arc') {
  326. Node1.a('node.arcOval', true);
  327. }
  328. Node1.setRotation(0*Math.PI/180);
  329. Node1.borderWidth = Node1BorderWidth;
  330. Node1.borderFillwidth = Node1BorderWidth;
  331. dataModel.add(Node1);
  332. Node1._nodename = 'Node1'
  333. Node1._nodeType = 'rect';
  334. zoomNodeList.push({
  335. node: Node1,
  336. attr: 'node.borderwidth'
  337. });
  338. (function (node, _img) {
  339. var setWidth = node.setWidth,
  340. setHeight = node.setHeight;
  341. node.setWidth = function (width) {
  342. if (width === this.getWidth()) return ;
  343. var height = this.getHeight();
  344. this.a('node.width', width);
  345. this.a('node.rect', [0,0,width, height]);
  346. setWidth.apply(this, arguments);
  347. }
  348. node.setHeight = function (height) {
  349. if (height === this.getHeight()) return ;
  350. var width = this.getWidth();
  351. this.a('node.height', height);
  352. this.a('node.rect', [0,0,width, height]);
  353. setHeight.apply(this, arguments);
  354. }
  355. })(Node1, Node1.getImage());_ratio = GD.getRatioWithRotation(0, ratio);
  356. var Node2 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 68*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  357. var Node3 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 68*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  358. var Node4type = 'rect';
  359. var Node4 = new ht.Node(),
  360. Node4BorderWidth = 1*2;
  361. if (Node4type === 'arc') {
  362. Node4BorderWidth *= 1;
  363. }
  364. Node4.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  365. Node4.setPosition(255*ratio.ratioX, 98*ratio.ratioY);
  366. Node4.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  367. Node4.s({
  368. 'pixelPerfect':true
  369. /*@AddPara@*/
  370. });
  371. Node4.a('node.width', 120*_ratio.ratioX);
  372. Node4.a('node.height', 120*_ratio.ratioY);
  373. Node4.a('node.type', Node4type);
  374. Node4.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  375. Node4.a('node.background', 'rgba(245,245,245,1)');
  376. Node4.a('node.gradientcolor', 'rgba(245,245,245,1)');
  377. Node4.a('node.gradient', '');
  378. Node4.a('node.borderwidth', Node4BorderWidth);
  379. Node4.a('node.color', 'rgba(220,220,220,1)');
  380. Node4.a('node.fillrect', [0,0,0,0]);
  381. Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  382. Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  383. Node4.a('node.fillgradient', '');
  384. if (Node4type !== 'rect') {
  385. Node4.a('node.arcFrom', parseFloat('@arcFrom@'));
  386. Node4.a('node.arcTo', parseFloat('@arcTo@'));
  387. Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  388. }
  389. if (Node4type === 'arc') {
  390. Node4.a('node.arcOval', true);
  391. }
  392. Node4.setRotation(0*Math.PI/180);
  393. Node4.borderWidth = Node4BorderWidth;
  394. Node4.borderFillwidth = Node4BorderWidth;
  395. dataModel.add(Node4);
  396. Node4._nodename = 'Node4'
  397. Node4._nodeType = 'rect';
  398. zoomNodeList.push({
  399. node: Node4,
  400. attr: 'node.borderwidth'
  401. });
  402. (function (node, _img) {
  403. var setWidth = node.setWidth,
  404. setHeight = node.setHeight;
  405. node.setWidth = function (width) {
  406. if (width === this.getWidth()) return ;
  407. var height = this.getHeight();
  408. this.a('node.width', width);
  409. this.a('node.rect', [0,0,width, height]);
  410. setWidth.apply(this, arguments);
  411. }
  412. node.setHeight = function (height) {
  413. if (height === this.getHeight()) return ;
  414. var width = this.getWidth();
  415. this.a('node.height', height);
  416. this.a('node.rect', [0,0,width, height]);
  417. setHeight.apply(this, arguments);
  418. }
  419. })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  420. var Node5type = 'rect';
  421. var Node5 = new ht.Node(),
  422. Node5BorderWidth = 1*2;
  423. if (Node5type === 'arc') {
  424. Node5BorderWidth *= 1;
  425. }
  426. Node5.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  427. Node5.setPosition(334*ratio.ratioX, 98*ratio.ratioY);
  428. Node5.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  429. Node5.s({
  430. 'pixelPerfect':true
  431. /*@AddPara@*/
  432. });
  433. Node5.a('node.width', 280.7278*_ratio.ratioX);
  434. Node5.a('node.height', 122*_ratio.ratioY);
  435. Node5.a('node.type', Node5type);
  436. Node5.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  437. Node5.a('node.background', 'rgba(255,255,255,0.003921569)');
  438. Node5.a('node.gradientcolor', '');
  439. Node5.a('node.gradient', '');
  440. Node5.a('node.borderwidth', Node5BorderWidth);
  441. Node5.a('node.color', 'rgba(220,220,220,1)');
  442. Node5.a('node.fillrect', [0,0,0,0]);
  443. Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  444. Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  445. Node5.a('node.fillgradient', '');
  446. if (Node5type !== 'rect') {
  447. Node5.a('node.arcFrom', parseFloat('@arcFrom@'));
  448. Node5.a('node.arcTo', parseFloat('@arcTo@'));
  449. Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  450. }
  451. if (Node5type === 'arc') {
  452. Node5.a('node.arcOval', true);
  453. }
  454. Node5.setRotation(0*Math.PI/180);
  455. Node5.borderWidth = Node5BorderWidth;
  456. Node5.borderFillwidth = Node5BorderWidth;
  457. dataModel.add(Node5);
  458. Node5._nodename = 'Node5'
  459. Node5._nodeType = 'rect';
  460. zoomNodeList.push({
  461. node: Node5,
  462. attr: 'node.borderwidth'
  463. });
  464. (function (node, _img) {
  465. var setWidth = node.setWidth,
  466. setHeight = node.setHeight;
  467. node.setWidth = function (width) {
  468. if (width === this.getWidth()) return ;
  469. var height = this.getHeight();
  470. this.a('node.width', width);
  471. this.a('node.rect', [0,0,width, height]);
  472. setWidth.apply(this, arguments);
  473. }
  474. node.setHeight = function (height) {
  475. if (height === this.getHeight()) return ;
  476. var width = this.getWidth();
  477. this.a('node.height', height);
  478. this.a('node.rect', [0,0,width, height]);
  479. setHeight.apply(this, arguments);
  480. }
  481. })(Node5, Node5.getImage());var Node6points=[385, 38,385, 158],
  482. Node6rect=ht.Default.unionPoint([{x:385,y:38},{x:385,y:158}]),
  483. Node6compspts=[];
  484. _ratio = GD.getRatioWithRotation(0, ratio);
  485. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  486. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  487. for(var i=0;i<Node6points.length;i++){
  488. if(i%2==0){
  489. Node6compspts.push(Node6points[i]-Node6rect.x);
  490. }else{
  491. Node6compspts.push(Node6points[i]-Node6rect.y);
  492. }
  493. }
  494. var Node6ptslength=Node6compspts.length;
  495. if (Node6rect.height === 0) {
  496. Node6compspts[0] -= 0;
  497. Node6compspts[Node6ptslength-2] += 0;
  498. } else if (Node6rect.width === 0){
  499. Node6compspts[1] -= 0;
  500. Node6compspts[Node6ptslength-1] += 0;
  501. } else {
  502. Node6compspts[0] -= 0;
  503. Node6compspts[1] -= 0;
  504. Node6compspts[Node6ptslength-2] += 0;
  505. Node6compspts[Node6ptslength-1] += 0;
  506. }
  507. Node6 = new ht.Node();
  508. Node6.borderWidth = 1;
  509. Node6rect.width = Node6rect.width === 0 ? 0.0001 : Node6rect.width;
  510. Node6rect.height = Node6rect.height === 0 ? 0.0001 : Node6rect.height;
  511. var Node6endCompspts = [Node6compspts[Node6ptslength-2],Node6compspts[Node6ptslength-1],0,0];
  512. var Node6startCompspts = [Node6compspts[0],Node6compspts[1],0,0];
  513. Node6.setImage(GD.getPolyLineJSON());
  514. Node6.setPosition(Node6rect.x+Node6rect.width/2,Node6rect.y+Node6rect.height/2);
  515. Node6.setSize(Node6rect.width,Node6rect.height);
  516. Node6.setStyle("opacity",1);
  517. Node6.s({'pixelPerfect':true});
  518. Node6borderwidth=1;
  519. Node6.setRotation(0);
  520. dataModel.add(Node6);
  521. Node6.a('node.points',Node6compspts);
  522. Node6.a('node.segments',[1,2]);
  523. Node6.a('node.color','rgba(220,220,220,1)');
  524. Node6.a('node.borderPattern',getDashStyle("@borderPattern@"));
  525. Node6.a('node.borderColor','rgba(220,220,220,1)');
  526. Node6.a('node.background','rgba(220,220,220,1)');
  527. Node6.a('node.gradient','');
  528. Node6.a('node.gradientcolor','rgba(220,220,220,1)');
  529. Node6.a('node.endCompspts',Node6endCompspts);
  530. Node6.a('node.startCompspts',Node6startCompspts);
  531. (function (node, img, compspts, endCompspts, startCompspts) {
  532. var position = node.getPosition(),
  533. w = node.getWidth()*_ratio.ratioX,
  534. h = node.getHeight()*_ratio.ratioY;
  535. function resetPoints(rx, ry) {
  536. for (var i = 0, len = compspts.length; i < len; i++) {
  537. if (i%2 === 0) {
  538. compspts[i]*=rx;
  539. } else {
  540. compspts[i]*=ry;
  541. }
  542. }
  543. endCompspts[0] = compspts[compspts.length-2];
  544. endCompspts[1] = compspts[compspts.length-1];
  545. endCompspts[2] *= rx;
  546. endCompspts[3] *= ry;
  547. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  548. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  549. startCompspts[0] = compspts[0];
  550. startCompspts[1] = compspts[1];
  551. startCompspts[2] *= rx;
  552. startCompspts[3] *= ry;
  553. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  554. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  555. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  556. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  557. }
  558. node.setSize(w, h);
  559. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  560. node.a('node.width', w);
  561. node.a('node.height', h);
  562. resetPoints(_ratio.ratioX, _ratio.ratioY);
  563. node.borderWidth = 1;
  564. node.a('node.borderwidth',node.borderWidth);
  565. node._nodename = 'Node6';
  566. node._nodeType = 'line';
  567. zoomNodeList.push({
  568. node: node,
  569. attr: 'node.borderwidth'
  570. });
  571. var setWidth = node.setWidth,
  572. setHeight = node.setHeight,
  573. timer, rx = 1, ry = 1;
  574. node.setWidth = function (width) {
  575. var _width = this.getWidth();
  576. rx = width / _width;
  577. node.a('node.width', width);
  578. setWidth.apply(this, arguments);
  579. resetPoints(rx, 1);
  580. }
  581. node.setHeight = function (height) {
  582. var _height = this.getHeight();
  583. ry = height / _height;
  584. node.a('node.height', height);
  585. setHeight.apply(this, arguments);
  586. resetPoints(1, ry);
  587. }
  588. })(Node6, Node6.getImage(), Node6compspts, Node6endCompspts, Node6startCompspts);
  589. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  590. var Node7 = new ht.Node();
  591. var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'left', Node7fontSize = 13.3333*_ratio.ratioY,Node7width = 64*_ratio.ratioX, Node7height = 16*_ratio.ratioY;
  592. (function () {
  593. if (Node7align === 'left') {
  594. Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9;
  595. Node7textWidth = Node7width;
  596. Node7lineStart = 1;
  597. } else if (Node7align === 'right') {
  598. Node7textStart = 0;
  599. Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2;
  600. Node7lineStart = (Node7width - (ht.Default.getTextSize('装机容量', ' '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5;
  601. } else if (Node7align === 'center') {
  602. Node7textStart = -3;
  603. Node7textWidth = Node7width;
  604. Node7lineStart = Node7width - ht.Default.getTextSize('装机容量', ' '+ Node7fontSize + 'px "Arial"').width - 11;
  605. }
  606. })();
  607. Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, ' '+ Node7fontSize + 'px "Arial"'))
  608. Node7.setPosition(231*ratio.ratioX, 52*ratio.ratioY);
  609. Node7.setWidth(Node7width);
  610. Node7.setHeight(Node7height);
  611. Node7._nodeType = 'text';
  612. Node7._disallowEvert = true;
  613. Node7.setRotation(0*Math.PI/180);
  614. Node7.a('node.width', Node7width);
  615. Node7.a('node.height', Node7height);
  616. Node7.a('node.rect', [0, 0, Node7width, Node7height]);
  617. Node7.a('node.bordercolor','rgba(0,0,0,1)');
  618. Node7.a('node.borderwidth', 0);
  619. Node7.a('node.background','' || 'rgba(0,0,0,0)');
  620. Node7.a('node.gradient','');
  621. Node7.a('node.gradientcolor','');
  622. Node7.a('node.text','装机容量');
  623. Node7.a('node.textalign','left');
  624. Node7.a('node.textvAlign','middle');
  625. Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]);
  626. Node7.a('node.color','rgba(0,0,0,1)');
  627. Node7.a('node.font',' '+ Node7fontSize + 'px "Arial"');
  628. Node7.a('node.textvisible',true);
  629. Node7.a('node.linefeed',false);
  630. if (false) {
  631. Node7.a('node.textfunc',function(g) {
  632. g.beginPath();
  633. var str=Node7.a('node.text') || '装机容量';
  634. var color=Node7.a('node.color') || 'rgba(0,0,0,1)';
  635. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node7width,Node7height,13.3333*_ratio.ratioY,"left",color,' '+ Node7fontSize + 'px "Arial"', 0,g);
  636. });
  637. }
  638. if (false) {
  639. Node7.a('node.underlinepoints',[Node7lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]);
  640. Node7.a('node.underlinevisible',false);
  641. Node7.a('node.underlineBorderWidth', 1);
  642. }
  643. dataModel.add(Node7);
  644. zoomNodeList.push({
  645. node: Node7,
  646. borderWidth: 0,
  647. attr: 'node.borderwidth'
  648. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  649. var Node8 = new ht.Node();
  650. var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'left', Node8fontSize = 13.3333*_ratio.ratioY,Node8width = 79*_ratio.ratioX, Node8height = 16*_ratio.ratioY;
  651. (function () {
  652. if (Node8align === 'left') {
  653. Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9;
  654. Node8textWidth = Node8width;
  655. Node8lineStart = 1;
  656. } else if (Node8align === 'right') {
  657. Node8textStart = 0;
  658. Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2;
  659. Node8lineStart = (Node8width - (ht.Default.getTextSize('月利用小时', ' '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5;
  660. } else if (Node8align === 'center') {
  661. Node8textStart = -3;
  662. Node8textWidth = Node8width;
  663. Node8lineStart = Node8width - ht.Default.getTextSize('月利用小时', ' '+ Node8fontSize + 'px "Arial"').width - 11;
  664. }
  665. })();
  666. Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, ' '+ Node8fontSize + 'px "Arial"'))
  667. Node8.setPosition(238*ratio.ratioX, 74*ratio.ratioY);
  668. Node8.setWidth(Node8width);
  669. Node8.setHeight(Node8height);
  670. Node8._nodeType = 'text';
  671. Node8._disallowEvert = true;
  672. Node8.setRotation(0*Math.PI/180);
  673. Node8.a('node.width', Node8width);
  674. Node8.a('node.height', Node8height);
  675. Node8.a('node.rect', [0, 0, Node8width, Node8height]);
  676. Node8.a('node.bordercolor','rgba(0,0,0,1)');
  677. Node8.a('node.borderwidth', 0);
  678. Node8.a('node.background','' || 'rgba(0,0,0,0)');
  679. Node8.a('node.gradient','');
  680. Node8.a('node.gradientcolor','');
  681. Node8.a('node.text','月利用小时');
  682. Node8.a('node.textalign','left');
  683. Node8.a('node.textvAlign','middle');
  684. Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]);
  685. Node8.a('node.color','rgba(0,0,0,1)');
  686. Node8.a('node.font',' '+ Node8fontSize + 'px "Arial"');
  687. Node8.a('node.textvisible',true);
  688. Node8.a('node.linefeed',false);
  689. if (false) {
  690. Node8.a('node.textfunc',function(g) {
  691. g.beginPath();
  692. var str=Node8.a('node.text') || '月利用小时';
  693. var color=Node8.a('node.color') || 'rgba(0,0,0,1)';
  694. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node8width,Node8height,13.3333*_ratio.ratioY,"left",color,' '+ Node8fontSize + 'px "Arial"', 0,g);
  695. });
  696. }
  697. if (false) {
  698. Node8.a('node.underlinepoints',[Node8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('月利用小时', ' '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]);
  699. Node8.a('node.underlinevisible',false);
  700. Node8.a('node.underlineBorderWidth', 1);
  701. }
  702. dataModel.add(Node8);
  703. zoomNodeList.push({
  704. node: Node8,
  705. borderWidth: 0,
  706. attr: 'node.borderwidth'
  707. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  708. var Node9 = new ht.Node();
  709. var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 79*_ratio.ratioX, Node9height = 16*_ratio.ratioY;
  710. (function () {
  711. if (Node9align === 'left') {
  712. Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9;
  713. Node9textWidth = Node9width;
  714. Node9lineStart = 1;
  715. } else if (Node9align === 'right') {
  716. Node9textStart = 0;
  717. Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2;
  718. Node9lineStart = (Node9width - (ht.Default.getTextSize('年利用小时', ' '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
  719. } else if (Node9align === 'center') {
  720. Node9textStart = -3;
  721. Node9textWidth = Node9width;
  722. Node9lineStart = Node9width - ht.Default.getTextSize('年利用小时', ' '+ Node9fontSize + 'px "Arial"').width - 11;
  723. }
  724. })();
  725. Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, ' '+ Node9fontSize + 'px "Arial"'))
  726. Node9.setPosition(238*ratio.ratioX, 98*ratio.ratioY);
  727. Node9.setWidth(Node9width);
  728. Node9.setHeight(Node9height);
  729. Node9._nodeType = 'text';
  730. Node9._disallowEvert = true;
  731. Node9.setRotation(0*Math.PI/180);
  732. Node9.a('node.width', Node9width);
  733. Node9.a('node.height', Node9height);
  734. Node9.a('node.rect', [0, 0, Node9width, Node9height]);
  735. Node9.a('node.bordercolor','rgba(0,0,0,1)');
  736. Node9.a('node.borderwidth', 0);
  737. Node9.a('node.background','' || 'rgba(0,0,0,0)');
  738. Node9.a('node.gradient','');
  739. Node9.a('node.gradientcolor','');
  740. Node9.a('node.text','年利用小时');
  741. Node9.a('node.textalign','left');
  742. Node9.a('node.textvAlign','middle');
  743. Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
  744. Node9.a('node.color','rgba(0,0,0,1)');
  745. Node9.a('node.font',' '+ Node9fontSize + 'px "Arial"');
  746. Node9.a('node.textvisible',true);
  747. Node9.a('node.linefeed',false);
  748. if (false) {
  749. Node9.a('node.textfunc',function(g) {
  750. g.beginPath();
  751. var str=Node9.a('node.text') || '年利用小时';
  752. var color=Node9.a('node.color') || 'rgba(0,0,0,1)';
  753. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,' '+ Node9fontSize + 'px "Arial"', 0,g);
  754. });
  755. }
  756. if (false) {
  757. Node9.a('node.underlinepoints',[Node9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('年利用小时', ' '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]);
  758. Node9.a('node.underlinevisible',false);
  759. Node9.a('node.underlineBorderWidth', 1);
  760. }
  761. dataModel.add(Node9);
  762. zoomNodeList.push({
  763. node: Node9,
  764. borderWidth: 0,
  765. attr: 'node.borderwidth'
  766. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  767. var Node10 = new ht.Node();
  768. var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'left', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 110*_ratio.ratioX, Node10height = 16*_ratio.ratioY;
  769. (function () {
  770. if (Node10align === 'left') {
  771. Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
  772. Node10textWidth = Node10width;
  773. Node10lineStart = 1;
  774. } else if (Node10align === 'right') {
  775. Node10textStart = 0;
  776. Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
  777. Node10lineStart = (Node10width - (ht.Default.getTextSize('月设备可利用率', ' '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
  778. } else if (Node10align === 'center') {
  779. Node10textStart = -3;
  780. Node10textWidth = Node10width;
  781. Node10lineStart = Node10width - ht.Default.getTextSize('月设备可利用率', ' '+ Node10fontSize + 'px "Arial"').width - 11;
  782. }
  783. })();
  784. Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, ' '+ Node10fontSize + 'px "Arial"'))
  785. Node10.setPosition(254*ratio.ratioX, 124*ratio.ratioY);
  786. Node10.setWidth(Node10width);
  787. Node10.setHeight(Node10height);
  788. Node10._nodeType = 'text';
  789. Node10._disallowEvert = true;
  790. Node10.setRotation(0*Math.PI/180);
  791. Node10.a('node.width', Node10width);
  792. Node10.a('node.height', Node10height);
  793. Node10.a('node.rect', [0, 0, Node10width, Node10height]);
  794. Node10.a('node.bordercolor','rgba(0,0,0,1)');
  795. Node10.a('node.borderwidth', 0);
  796. Node10.a('node.background','' || 'rgba(0,0,0,0)');
  797. Node10.a('node.gradient','');
  798. Node10.a('node.gradientcolor','');
  799. Node10.a('node.text','月设备可利用率');
  800. Node10.a('node.textalign','left');
  801. Node10.a('node.textvAlign','middle');
  802. Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
  803. Node10.a('node.color','rgba(0,0,0,1)');
  804. Node10.a('node.font',' '+ Node10fontSize + 'px "Arial"');
  805. Node10.a('node.textvisible',true);
  806. Node10.a('node.linefeed',false);
  807. if (false) {
  808. Node10.a('node.textfunc',function(g) {
  809. g.beginPath();
  810. var str=Node10.a('node.text') || '月设备可利用率';
  811. var color=Node10.a('node.color') || 'rgba(0,0,0,1)';
  812. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"left",color,' '+ Node10fontSize + 'px "Arial"', 0,g);
  813. });
  814. }
  815. if (false) {
  816. Node10.a('node.underlinepoints',[Node10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('月设备可利用率', ' '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
  817. Node10.a('node.underlinevisible',false);
  818. Node10.a('node.underlineBorderWidth', 1);
  819. }
  820. dataModel.add(Node10);
  821. zoomNodeList.push({
  822. node: Node10,
  823. borderWidth: 0,
  824. attr: 'node.borderwidth'
  825. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  826. var Node11 = new ht.Node();
  827. var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 125*_ratio.ratioX, Node11height = 16*_ratio.ratioY;
  828. (function () {
  829. if (Node11align === 'left') {
  830. Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
  831. Node11textWidth = Node11width;
  832. Node11lineStart = 1;
  833. } else if (Node11align === 'right') {
  834. Node11textStart = 0;
  835. Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
  836. Node11lineStart = (Node11width - (ht.Default.getTextSize('月等效可利用系数', ' '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5;
  837. } else if (Node11align === 'center') {
  838. Node11textStart = -3;
  839. Node11textWidth = Node11width;
  840. Node11lineStart = Node11width - ht.Default.getTextSize('月等效可利用系数', ' '+ Node11fontSize + 'px "Arial"').width - 11;
  841. }
  842. })();
  843. Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, ' '+ Node11fontSize + 'px "Arial"'))
  844. Node11.setPosition(261*ratio.ratioX, 149*ratio.ratioY);
  845. Node11.setWidth(Node11width);
  846. Node11.setHeight(Node11height);
  847. Node11._nodeType = 'text';
  848. Node11._disallowEvert = true;
  849. Node11.setRotation(0*Math.PI/180);
  850. Node11.a('node.width', Node11width);
  851. Node11.a('node.height', Node11height);
  852. Node11.a('node.rect', [0, 0, Node11width, Node11height]);
  853. Node11.a('node.bordercolor','rgba(0,0,0,1)');
  854. Node11.a('node.borderwidth', 0);
  855. Node11.a('node.background','' || 'rgba(0,0,0,0)');
  856. Node11.a('node.gradient','');
  857. Node11.a('node.gradientcolor','');
  858. Node11.a('node.text','月等效可利用系数');
  859. Node11.a('node.textalign','left');
  860. Node11.a('node.textvAlign','middle');
  861. Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
  862. Node11.a('node.color','rgba(0,0,0,1)');
  863. Node11.a('node.font',' '+ Node11fontSize + 'px "Arial"');
  864. Node11.a('node.textvisible',true);
  865. Node11.a('node.linefeed',false);
  866. if (false) {
  867. Node11.a('node.textfunc',function(g) {
  868. g.beginPath();
  869. var str=Node11.a('node.text') || '月等效可利用系数';
  870. var color=Node11.a('node.color') || 'rgba(0,0,0,1)';
  871. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,' '+ Node11fontSize + 'px "Arial"', 0,g);
  872. });
  873. }
  874. if (false) {
  875. Node11.a('node.underlinepoints',[Node11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('月等效可利用系数', ' '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
  876. Node11.a('node.underlinevisible',false);
  877. Node11.a('node.underlineBorderWidth', 1);
  878. }
  879. dataModel.add(Node11);
  880. zoomNodeList.push({
  881. node: Node11,
  882. borderWidth: 0,
  883. attr: 'node.borderwidth'
  884. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  885. var Node12 = new ht.Node();
  886. var Node12textStart, Node12textWidth, Node12lineStart, Node12align = 'left', Node12fontSize = 13.3333*_ratio.ratioY,Node12width = 32*_ratio.ratioX, Node12height = 16*_ratio.ratioY;
  887. (function () {
  888. if (Node12align === 'left') {
  889. Node12textStart = Node12fontSize * 0.2 > 2 ? Node12fontSize * 0.2 - 4 : Node12fontSize * 0.2 - 9;
  890. Node12textWidth = Node12width;
  891. Node12lineStart = 1;
  892. } else if (Node12align === 'right') {
  893. Node12textStart = 0;
  894. Node12textWidth =Node12fontSize <= 8 ? Node12width + Node12fontSize * 0.2 + 6 : Node12width - Node12fontSize * 0.2;
  895. Node12lineStart = (Node12width - (ht.Default.getTextSize('0', 'bold '+ Node12fontSize + 'px "Arial"').width + 6)) * 0.5;
  896. } else if (Node12align === 'center') {
  897. Node12textStart = -3;
  898. Node12textWidth = Node12width;
  899. Node12lineStart = Node12width - ht.Default.getTextSize('0', 'bold '+ Node12fontSize + 'px "Arial"').width - 11;
  900. }
  901. })();
  902. Node12.setImage(GD.getTextJSON(Node12width, Node12height, true, false, false, 'bold '+ Node12fontSize + 'px "Arial"'))
  903. Node12.setPosition(342*ratio.ratioX, 50*ratio.ratioY);
  904. Node12.setWidth(Node12width);
  905. Node12.setHeight(Node12height);
  906. Node12._nodeType = 'text';
  907. Node12._disallowEvert = true;
  908. Node12.setRotation(0*Math.PI/180);
  909. Node12.a('node.width', Node12width);
  910. Node12.a('node.height', Node12height);
  911. Node12.a('node.rect', [0, 0, Node12width, Node12height]);
  912. Node12.a('node.bordercolor','rgba(0,0,0,1)');
  913. Node12.a('node.borderwidth', 0);
  914. Node12.a('node.background','' || 'rgba(0,0,0,0)');
  915. Node12.a('node.gradient','');
  916. Node12.a('node.gradientcolor','');
  917. Node12.a('node.text','0');
  918. Node12.a('node.textalign','left');
  919. Node12.a('node.textvAlign','middle');
  920. Node12.a('node.textrect', [Node12textStart, 0, Node12textWidth, Node12height]);
  921. Node12.a('node.color','rgba(0,0,0,1)');
  922. Node12.a('node.font','bold '+ Node12fontSize + 'px "Arial"');
  923. Node12.a('node.textvisible',true);
  924. Node12.a('node.linefeed',false);
  925. if (false) {
  926. Node12.a('node.textfunc',function(g) {
  927. g.beginPath();
  928. var str=Node12.a('node.text') || '0';
  929. var color=Node12.a('node.color') || 'rgba(0,0,0,1)';
  930. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node12width,Node12height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node12fontSize + 'px "Arial"', 0,g);
  931. });
  932. }
  933. if (false) {
  934. Node12.a('node.underlinepoints',[Node12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node12fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node12fontSize + 'px "Arial"').width + 6, (Node12height - Node12fontSize) * 0.5*_ratio.ratioY + Node12fontSize + 2 ]);
  935. Node12.a('node.underlinevisible',false);
  936. Node12.a('node.underlineBorderWidth', 1);
  937. }
  938. dataModel.add(Node12);
  939. zoomNodeList.push({
  940. node: Node12,
  941. borderWidth: 0,
  942. attr: 'node.borderwidth'
  943. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  944. var Node13 = new ht.Node();
  945. var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 13.3333*_ratio.ratioY,Node13width = 22*_ratio.ratioX, Node13height = 16*_ratio.ratioY;
  946. (function () {
  947. if (Node13align === 'left') {
  948. Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
  949. Node13textWidth = Node13width;
  950. Node13lineStart = 1;
  951. } else if (Node13align === 'right') {
  952. Node13textStart = 0;
  953. Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
  954. Node13lineStart = (Node13width - (ht.Default.getTextSize('0', 'bold '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5;
  955. } else if (Node13align === 'center') {
  956. Node13textStart = -3;
  957. Node13textWidth = Node13width;
  958. Node13lineStart = Node13width - ht.Default.getTextSize('0', 'bold '+ Node13fontSize + 'px "Arial"').width - 11;
  959. }
  960. })();
  961. Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, 'bold '+ Node13fontSize + 'px "Arial"'))
  962. Node13.setPosition(338*ratio.ratioX, 75*ratio.ratioY);
  963. Node13.setWidth(Node13width);
  964. Node13.setHeight(Node13height);
  965. Node13._nodeType = 'text';
  966. Node13._disallowEvert = true;
  967. Node13.setRotation(0*Math.PI/180);
  968. Node13.a('node.width', Node13width);
  969. Node13.a('node.height', Node13height);
  970. Node13.a('node.rect', [0, 0, Node13width, Node13height]);
  971. Node13.a('node.bordercolor','rgba(0,0,0,1)');
  972. Node13.a('node.borderwidth', 0);
  973. Node13.a('node.background','' || 'rgba(0,0,0,0)');
  974. Node13.a('node.gradient','');
  975. Node13.a('node.gradientcolor','');
  976. Node13.a('node.text','0');
  977. Node13.a('node.textalign','left');
  978. Node13.a('node.textvAlign','middle');
  979. Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
  980. Node13.a('node.color','rgba(0,0,0,1)');
  981. Node13.a('node.font','bold '+ Node13fontSize + 'px "Arial"');
  982. Node13.a('node.textvisible',true);
  983. Node13.a('node.linefeed',false);
  984. if (false) {
  985. Node13.a('node.textfunc',function(g) {
  986. g.beginPath();
  987. var str=Node13.a('node.text') || '0';
  988. var color=Node13.a('node.color') || 'rgba(0,0,0,1)';
  989. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node13width,Node13height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node13fontSize + 'px "Arial"', 0,g);
  990. });
  991. }
  992. if (false) {
  993. Node13.a('node.underlinepoints',[Node13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
  994. Node13.a('node.underlinevisible',false);
  995. Node13.a('node.underlineBorderWidth', 1);
  996. }
  997. dataModel.add(Node13);
  998. zoomNodeList.push({
  999. node: Node13,
  1000. borderWidth: 0,
  1001. attr: 'node.borderwidth'
  1002. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1003. var Node14 = new ht.Node();
  1004. var Node14textStart, Node14textWidth, Node14lineStart, Node14align = 'left', Node14fontSize = 13.3333*_ratio.ratioY,Node14width = 32*_ratio.ratioX, Node14height = 16*_ratio.ratioY;
  1005. (function () {
  1006. if (Node14align === 'left') {
  1007. Node14textStart = Node14fontSize * 0.2 > 2 ? Node14fontSize * 0.2 - 4 : Node14fontSize * 0.2 - 9;
  1008. Node14textWidth = Node14width;
  1009. Node14lineStart = 1;
  1010. } else if (Node14align === 'right') {
  1011. Node14textStart = 0;
  1012. Node14textWidth =Node14fontSize <= 8 ? Node14width + Node14fontSize * 0.2 + 6 : Node14width - Node14fontSize * 0.2;
  1013. Node14lineStart = (Node14width - (ht.Default.getTextSize('0', 'bold '+ Node14fontSize + 'px "Arial"').width + 6)) * 0.5;
  1014. } else if (Node14align === 'center') {
  1015. Node14textStart = -3;
  1016. Node14textWidth = Node14width;
  1017. Node14lineStart = Node14width - ht.Default.getTextSize('0', 'bold '+ Node14fontSize + 'px "Arial"').width - 11;
  1018. }
  1019. })();
  1020. Node14.setImage(GD.getTextJSON(Node14width, Node14height, true, false, false, 'bold '+ Node14fontSize + 'px "Arial"'))
  1021. Node14.setPosition(344*ratio.ratioX, 101*ratio.ratioY);
  1022. Node14.setWidth(Node14width);
  1023. Node14.setHeight(Node14height);
  1024. Node14._nodeType = 'text';
  1025. Node14._disallowEvert = true;
  1026. Node14.setRotation(0*Math.PI/180);
  1027. Node14.a('node.width', Node14width);
  1028. Node14.a('node.height', Node14height);
  1029. Node14.a('node.rect', [0, 0, Node14width, Node14height]);
  1030. Node14.a('node.bordercolor','rgba(0,0,0,1)');
  1031. Node14.a('node.borderwidth', 0);
  1032. Node14.a('node.background','' || 'rgba(0,0,0,0)');
  1033. Node14.a('node.gradient','');
  1034. Node14.a('node.gradientcolor','');
  1035. Node14.a('node.text','0');
  1036. Node14.a('node.textalign','left');
  1037. Node14.a('node.textvAlign','middle');
  1038. Node14.a('node.textrect', [Node14textStart, 0, Node14textWidth, Node14height]);
  1039. Node14.a('node.color','rgba(0,0,0,1)');
  1040. Node14.a('node.font','bold '+ Node14fontSize + 'px "Arial"');
  1041. Node14.a('node.textvisible',true);
  1042. Node14.a('node.linefeed',false);
  1043. if (false) {
  1044. Node14.a('node.textfunc',function(g) {
  1045. g.beginPath();
  1046. var str=Node14.a('node.text') || '0';
  1047. var color=Node14.a('node.color') || 'rgba(0,0,0,1)';
  1048. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node14width,Node14height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node14fontSize + 'px "Arial"', 0,g);
  1049. });
  1050. }
  1051. if (false) {
  1052. Node14.a('node.underlinepoints',[Node14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node14fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node14fontSize + 'px "Arial"').width + 6, (Node14height - Node14fontSize) * 0.5*_ratio.ratioY + Node14fontSize + 2 ]);
  1053. Node14.a('node.underlinevisible',false);
  1054. Node14.a('node.underlineBorderWidth', 1);
  1055. }
  1056. dataModel.add(Node14);
  1057. zoomNodeList.push({
  1058. node: Node14,
  1059. borderWidth: 0,
  1060. attr: 'node.borderwidth'
  1061. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1062. var Node15 = new ht.Node();
  1063. var Node15textStart, Node15textWidth, Node15lineStart, Node15align = 'left', Node15fontSize = 13.3333*_ratio.ratioY,Node15width = 9*_ratio.ratioX, Node15height = 16*_ratio.ratioY;
  1064. (function () {
  1065. if (Node15align === 'left') {
  1066. Node15textStart = Node15fontSize * 0.2 > 2 ? Node15fontSize * 0.2 - 4 : Node15fontSize * 0.2 - 9;
  1067. Node15textWidth = Node15width;
  1068. Node15lineStart = 1;
  1069. } else if (Node15align === 'right') {
  1070. Node15textStart = 0;
  1071. Node15textWidth =Node15fontSize <= 8 ? Node15width + Node15fontSize * 0.2 + 6 : Node15width - Node15fontSize * 0.2;
  1072. Node15lineStart = (Node15width - (ht.Default.getTextSize('-', 'bold '+ Node15fontSize + 'px "Arial"').width + 6)) * 0.5;
  1073. } else if (Node15align === 'center') {
  1074. Node15textStart = -3;
  1075. Node15textWidth = Node15width;
  1076. Node15lineStart = Node15width - ht.Default.getTextSize('-', 'bold '+ Node15fontSize + 'px "Arial"').width - 11;
  1077. }
  1078. })();
  1079. Node15.setImage(GD.getTextJSON(Node15width, Node15height, true, false, false, 'bold '+ Node15fontSize + 'px "Arial"'))
  1080. Node15.setPosition(336*ratio.ratioX, 121*ratio.ratioY);
  1081. Node15.setWidth(Node15width);
  1082. Node15.setHeight(Node15height);
  1083. Node15._nodeType = 'text';
  1084. Node15._disallowEvert = true;
  1085. Node15.setRotation(0*Math.PI/180);
  1086. Node15.a('node.width', Node15width);
  1087. Node15.a('node.height', Node15height);
  1088. Node15.a('node.rect', [0, 0, Node15width, Node15height]);
  1089. Node15.a('node.bordercolor','rgba(0,0,0,1)');
  1090. Node15.a('node.borderwidth', 0);
  1091. Node15.a('node.background','' || 'rgba(0,0,0,0)');
  1092. Node15.a('node.gradient','');
  1093. Node15.a('node.gradientcolor','');
  1094. Node15.a('node.text','-');
  1095. Node15.a('node.textalign','left');
  1096. Node15.a('node.textvAlign','middle');
  1097. Node15.a('node.textrect', [Node15textStart, 0, Node15textWidth, Node15height]);
  1098. Node15.a('node.color','rgba(0,0,0,1)');
  1099. Node15.a('node.font','bold '+ Node15fontSize + 'px "Arial"');
  1100. Node15.a('node.textvisible',true);
  1101. Node15.a('node.linefeed',false);
  1102. if (false) {
  1103. Node15.a('node.textfunc',function(g) {
  1104. g.beginPath();
  1105. var str=Node15.a('node.text') || '-';
  1106. var color=Node15.a('node.color') || 'rgba(0,0,0,1)';
  1107. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node15width,Node15height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node15fontSize + 'px "Arial"', 0,g);
  1108. });
  1109. }
  1110. if (false) {
  1111. Node15.a('node.underlinepoints',[Node15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node15fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node15fontSize + 'px "Arial"').width + 6, (Node15height - Node15fontSize) * 0.5*_ratio.ratioY + Node15fontSize + 2 ]);
  1112. Node15.a('node.underlinevisible',false);
  1113. Node15.a('node.underlineBorderWidth', 1);
  1114. }
  1115. dataModel.add(Node15);
  1116. zoomNodeList.push({
  1117. node: Node15,
  1118. borderWidth: 0,
  1119. attr: 'node.borderwidth'
  1120. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1121. var Node16 = new ht.Node();
  1122. var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 13.3333*_ratio.ratioY,Node16width = 39*_ratio.ratioX, Node16height = 16*_ratio.ratioY;
  1123. (function () {
  1124. if (Node16align === 'left') {
  1125. Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9;
  1126. Node16textWidth = Node16width;
  1127. Node16lineStart = 1;
  1128. } else if (Node16align === 'right') {
  1129. Node16textStart = 0;
  1130. Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2;
  1131. Node16lineStart = (Node16width - (ht.Default.getTextSize('万kW', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
  1132. } else if (Node16align === 'center') {
  1133. Node16textStart = -3;
  1134. Node16textWidth = Node16width;
  1135. Node16lineStart = Node16width - ht.Default.getTextSize('万kW', ' '+ Node16fontSize + 'px "Arial"').width - 11;
  1136. }
  1137. })();
  1138. Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
  1139. Node16.setPosition(414*ratio.ratioX, 47*ratio.ratioY);
  1140. Node16.setWidth(Node16width);
  1141. Node16.setHeight(Node16height);
  1142. Node16._nodeType = 'text';
  1143. Node16._disallowEvert = true;
  1144. Node16.setRotation(0*Math.PI/180);
  1145. Node16.a('node.width', Node16width);
  1146. Node16.a('node.height', Node16height);
  1147. Node16.a('node.rect', [0, 0, Node16width, Node16height]);
  1148. Node16.a('node.bordercolor','rgba(169,169,169,1)');
  1149. Node16.a('node.borderwidth', 0);
  1150. Node16.a('node.background','' || 'rgba(0,0,0,0)');
  1151. Node16.a('node.gradient','');
  1152. Node16.a('node.gradientcolor','');
  1153. Node16.a('node.text','万kW');
  1154. Node16.a('node.textalign','left');
  1155. Node16.a('node.textvAlign','middle');
  1156. Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]);
  1157. Node16.a('node.color','rgba(169,169,169,1)');
  1158. Node16.a('node.font',' '+ Node16fontSize + 'px "Arial"');
  1159. Node16.a('node.textvisible',true);
  1160. Node16.a('node.linefeed',false);
  1161. if (false) {
  1162. Node16.a('node.textfunc',function(g) {
  1163. g.beginPath();
  1164. var str=Node16.a('node.text') || '万kW';
  1165. var color=Node16.a('node.color') || 'rgba(169,169,169,1)';
  1166. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
  1167. });
  1168. }
  1169. if (false) {
  1170. Node16.a('node.underlinepoints',[Node16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
  1171. Node16.a('node.underlinevisible',false);
  1172. Node16.a('node.underlineBorderWidth', 1);
  1173. }
  1174. dataModel.add(Node16);
  1175. zoomNodeList.push({
  1176. node: Node16,
  1177. borderWidth: 0,
  1178. attr: 'node.borderwidth'
  1179. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1180. var Node17type = 'rect';
  1181. var Node17 = new ht.Node(),
  1182. Node17BorderWidth = 0*2;
  1183. if (Node17type === 'arc') {
  1184. Node17BorderWidth *= 0;
  1185. }
  1186. Node17.setImage(GD.getRectJSON(29*_ratio.ratioX, 122*_ratio.ratioY, Node17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1187. Node17.setPosition(25*ratio.ratioX, 98*ratio.ratioY);
  1188. Node17.setSize(29*_ratio.ratioX, 122*_ratio.ratioY);
  1189. Node17.s({
  1190. 'pixelPerfect':true
  1191. /*@AddPara@*/
  1192. });
  1193. Node17.a('node.width', 29*_ratio.ratioX);
  1194. Node17.a('node.height', 122*_ratio.ratioY);
  1195. Node17.a('node.type', Node17type);
  1196. Node17.a('node.rect', [0, 0, 29*_ratio.ratioX, 122*_ratio.ratioY]);
  1197. Node17.a('node.background', 'rgba(0,132,255,1)');
  1198. Node17.a('node.gradientcolor', 'rgba(0,132,255,1)');
  1199. Node17.a('node.gradient', '');
  1200. Node17.a('node.borderwidth', Node17BorderWidth);
  1201. Node17.a('node.color', 'rgba(0,0,0,0)');
  1202. Node17.a('node.fillrect', [0,0,0,0]);
  1203. Node17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1204. Node17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1205. Node17.a('node.fillgradient', '');
  1206. if (Node17type !== 'rect') {
  1207. Node17.a('node.arcFrom', parseFloat('@arcFrom@'));
  1208. Node17.a('node.arcTo', parseFloat('@arcTo@'));
  1209. Node17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1210. }
  1211. if (Node17type === 'arc') {
  1212. Node17.a('node.arcOval', true);
  1213. }
  1214. Node17.setRotation(0*Math.PI/180);
  1215. Node17.borderWidth = Node17BorderWidth;
  1216. Node17.borderFillwidth = Node17BorderWidth;
  1217. dataModel.add(Node17);
  1218. Node17._nodename = 'Node17'
  1219. Node17._nodeType = 'rect';
  1220. zoomNodeList.push({
  1221. node: Node17,
  1222. attr: 'node.borderwidth'
  1223. });
  1224. (function (node, _img) {
  1225. var setWidth = node.setWidth,
  1226. setHeight = node.setHeight;
  1227. node.setWidth = function (width) {
  1228. if (width === this.getWidth()) return ;
  1229. var height = this.getHeight();
  1230. this.a('node.width', width);
  1231. this.a('node.rect', [0,0,width, height]);
  1232. setWidth.apply(this, arguments);
  1233. }
  1234. node.setHeight = function (height) {
  1235. if (height === this.getHeight()) return ;
  1236. var width = this.getWidth();
  1237. this.a('node.height', height);
  1238. this.a('node.rect', [0,0,width, height]);
  1239. setHeight.apply(this, arguments);
  1240. }
  1241. })(Node17, Node17.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1242. var Node18 = new ht.Node();
  1243. var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'center', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 13*_ratio.ratioX, Node18height = 98*_ratio.ratioY;
  1244. (function () {
  1245. if (Node18align === 'left') {
  1246. Node18textStart = Node18fontSize * 0.2 > 2 ? Node18fontSize * 0.2 - 4 : Node18fontSize * 0.2 - 9;
  1247. Node18textWidth = Node18width;
  1248. Node18lineStart = 1;
  1249. } else if (Node18align === 'right') {
  1250. Node18textStart = 0;
  1251. Node18textWidth =Node18fontSize <= 8 ? Node18width + Node18fontSize * 0.2 + 6 : Node18width - Node18fontSize * 0.2;
  1252. Node18lineStart = (Node18width - (ht.Default.getTextSize('综合指标', 'bold '+ Node18fontSize + 'px "Arial"').width + 6)) * 0.5;
  1253. } else if (Node18align === 'center') {
  1254. Node18textStart = -3;
  1255. Node18textWidth = Node18width;
  1256. Node18lineStart = Node18width - ht.Default.getTextSize('综合指标', 'bold '+ Node18fontSize + 'px "Arial"').width - 11;
  1257. }
  1258. })();
  1259. Node18.setImage(GD.getTextJSON(Node18width, Node18height, false, true, false, 'bold '+ Node18fontSize + 'px "Arial"'))
  1260. Node18.setPosition(25*ratio.ratioX, 95*ratio.ratioY);
  1261. Node18.setWidth(Node18width);
  1262. Node18.setHeight(Node18height);
  1263. Node18._nodeType = 'text';
  1264. Node18._disallowEvert = true;
  1265. Node18.setRotation(0*Math.PI/180);
  1266. Node18.a('node.width', Node18width);
  1267. Node18.a('node.height', Node18height);
  1268. Node18.a('node.rect', [0, 0, Node18width, Node18height]);
  1269. Node18.a('node.bordercolor','rgba(255,255,255,1)');
  1270. Node18.a('node.borderwidth', 0);
  1271. Node18.a('node.background','' || 'rgba(0,0,0,0)');
  1272. Node18.a('node.gradient','');
  1273. Node18.a('node.gradientcolor','');
  1274. Node18.a('node.text','综合指标');
  1275. Node18.a('node.textalign','center');
  1276. Node18.a('node.textvAlign','middle');
  1277. Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
  1278. Node18.a('node.color','rgba(255,255,255,1)');
  1279. Node18.a('node.font','bold '+ Node18fontSize + 'px "Arial"');
  1280. Node18.a('node.textvisible',false);
  1281. Node18.a('node.linefeed',true);
  1282. if (true) {
  1283. Node18.a('node.textfunc',function(g) {
  1284. g.beginPath();
  1285. var str=Node18.a('node.text') || '综合指标';
  1286. var color=Node18.a('node.color') || 'rgba(255,255,255,1)';
  1287. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node18fontSize + 'px "Arial"', 0,g);
  1288. });
  1289. }
  1290. if (false) {
  1291. Node18.a('node.underlinepoints',[Node18lineStart, (98 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('综合指标', 'bold '+ Node18fontSize + 'px "Arial"').width + 6, (Node18height - Node18fontSize) * 0.5*_ratio.ratioY + Node18fontSize + 2 ]);
  1292. Node18.a('node.underlinevisible',false);
  1293. Node18.a('node.underlineBorderWidth', 1);
  1294. }
  1295. dataModel.add(Node18);
  1296. zoomNodeList.push({
  1297. node: Node18,
  1298. borderWidth: 0,
  1299. attr: 'node.borderwidth'
  1300. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1301. var Node19type = 'rect';
  1302. var Node19 = new ht.Node(),
  1303. Node19BorderWidth = 1*2;
  1304. if (Node19type === 'arc') {
  1305. Node19BorderWidth *= 1;
  1306. }
  1307. Node19.setImage(GD.getRectJSON(155*_ratio.ratioX, 122*_ratio.ratioY, Node19type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1308. Node19.setPosition(118*ratio.ratioX, 98*ratio.ratioY);
  1309. Node19.setSize(155*_ratio.ratioX, 122*_ratio.ratioY);
  1310. Node19.s({
  1311. 'pixelPerfect':true
  1312. /*@AddPara@*/
  1313. });
  1314. Node19.a('node.width', 155*_ratio.ratioX);
  1315. Node19.a('node.height', 122*_ratio.ratioY);
  1316. Node19.a('node.type', Node19type);
  1317. Node19.a('node.rect', [0, 0, 155*_ratio.ratioX, 122*_ratio.ratioY]);
  1318. Node19.a('node.background', 'rgba(255,255,255,0.003921569)');
  1319. Node19.a('node.gradientcolor', '');
  1320. Node19.a('node.gradient', '');
  1321. Node19.a('node.borderwidth', Node19BorderWidth);
  1322. Node19.a('node.color', 'rgba(220,220,220,1)');
  1323. Node19.a('node.fillrect', [0,0,0,0]);
  1324. Node19.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1325. Node19.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1326. Node19.a('node.fillgradient', '');
  1327. if (Node19type !== 'rect') {
  1328. Node19.a('node.arcFrom', parseFloat('@arcFrom@'));
  1329. Node19.a('node.arcTo', parseFloat('@arcTo@'));
  1330. Node19.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1331. }
  1332. if (Node19type === 'arc') {
  1333. Node19.a('node.arcOval', true);
  1334. }
  1335. Node19.setRotation(0*Math.PI/180);
  1336. Node19.borderWidth = Node19BorderWidth;
  1337. Node19.borderFillwidth = Node19BorderWidth;
  1338. dataModel.add(Node19);
  1339. Node19._nodename = 'Node19'
  1340. Node19._nodeType = 'rect';
  1341. zoomNodeList.push({
  1342. node: Node19,
  1343. attr: 'node.borderwidth'
  1344. });
  1345. (function (node, _img) {
  1346. var setWidth = node.setWidth,
  1347. setHeight = node.setHeight;
  1348. node.setWidth = function (width) {
  1349. if (width === this.getWidth()) return ;
  1350. var height = this.getHeight();
  1351. this.a('node.width', width);
  1352. this.a('node.rect', [0,0,width, height]);
  1353. setWidth.apply(this, arguments);
  1354. }
  1355. node.setHeight = function (height) {
  1356. if (height === this.getHeight()) return ;
  1357. var width = this.getWidth();
  1358. this.a('node.height', height);
  1359. this.a('node.rect', [0,0,width, height]);
  1360. setHeight.apply(this, arguments);
  1361. }
  1362. })(Node19, Node19.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1363. var Node20type = 'rect';
  1364. var Node20 = new ht.Node(),
  1365. Node20BorderWidth = 0*2;
  1366. if (Node20type === 'arc') {
  1367. Node20BorderWidth *= 0;
  1368. }
  1369. Node20.setImage(GD.getRectJSON(145*_ratio.ratioX, 24*_ratio.ratioY, Node20type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1370. Node20.setPosition(117*ratio.ratioX, 49*ratio.ratioY);
  1371. Node20.setSize(145*_ratio.ratioX, 24*_ratio.ratioY);
  1372. Node20.s({
  1373. 'pixelPerfect':true
  1374. /*@AddPara@*/
  1375. });
  1376. Node20.a('node.width', 145*_ratio.ratioX);
  1377. Node20.a('node.height', 24*_ratio.ratioY);
  1378. Node20.a('node.type', Node20type);
  1379. Node20.a('node.rect', [0, 0, 145*_ratio.ratioX, 24*_ratio.ratioY]);
  1380. Node20.a('node.background', 'rgba(211,211,211,1)');
  1381. Node20.a('node.gradientcolor', 'rgba(211,211,211,1)');
  1382. Node20.a('node.gradient', '');
  1383. Node20.a('node.borderwidth', Node20BorderWidth);
  1384. Node20.a('node.color', 'rgba(0,0,0,0)');
  1385. Node20.a('node.fillrect', [0,0,0,0]);
  1386. Node20.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1387. Node20.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1388. Node20.a('node.fillgradient', '');
  1389. if (Node20type !== 'rect') {
  1390. Node20.a('node.arcFrom', parseFloat('@arcFrom@'));
  1391. Node20.a('node.arcTo', parseFloat('@arcTo@'));
  1392. Node20.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1393. }
  1394. if (Node20type === 'arc') {
  1395. Node20.a('node.arcOval', true);
  1396. }
  1397. Node20.setRotation(0*Math.PI/180);
  1398. Node20.borderWidth = Node20BorderWidth;
  1399. Node20.borderFillwidth = Node20BorderWidth;
  1400. dataModel.add(Node20);
  1401. Node20._nodename = 'Node20'
  1402. Node20._nodeType = 'rect';
  1403. zoomNodeList.push({
  1404. node: Node20,
  1405. attr: 'node.borderwidth'
  1406. });
  1407. (function (node, _img) {
  1408. var setWidth = node.setWidth,
  1409. setHeight = node.setHeight;
  1410. node.setWidth = function (width) {
  1411. if (width === this.getWidth()) return ;
  1412. var height = this.getHeight();
  1413. this.a('node.width', width);
  1414. this.a('node.rect', [0,0,width, height]);
  1415. setWidth.apply(this, arguments);
  1416. }
  1417. node.setHeight = function (height) {
  1418. if (height === this.getHeight()) return ;
  1419. var width = this.getWidth();
  1420. this.a('node.height', height);
  1421. this.a('node.rect', [0,0,width, height]);
  1422. setHeight.apply(this, arguments);
  1423. }
  1424. })(Node20, Node20.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1425. var Node21 = new ht.Node();
  1426. var Node21textStart, Node21textWidth, Node21lineStart, Node21align = 'left', Node21fontSize = 15.99996*_ratio.ratioY,Node21width = 77*_ratio.ratioX, Node21height = 20*_ratio.ratioY;
  1427. (function () {
  1428. if (Node21align === 'left') {
  1429. Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9;
  1430. Node21textWidth = Node21width;
  1431. Node21lineStart = 1;
  1432. } else if (Node21align === 'right') {
  1433. Node21textStart = 0;
  1434. Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2;
  1435. Node21lineStart = (Node21width - (ht.Default.getTextSize('安全天数', ' '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
  1436. } else if (Node21align === 'center') {
  1437. Node21textStart = -3;
  1438. Node21textWidth = Node21width;
  1439. Node21lineStart = Node21width - ht.Default.getTextSize('安全天数', ' '+ Node21fontSize + 'px "Arial"').width - 11;
  1440. }
  1441. })();
  1442. Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, ' '+ Node21fontSize + 'px "Arial"'))
  1443. Node21.setPosition(102*ratio.ratioX, 49*ratio.ratioY);
  1444. Node21.setWidth(Node21width);
  1445. Node21.setHeight(Node21height);
  1446. Node21._nodeType = 'text';
  1447. Node21._disallowEvert = true;
  1448. Node21.setRotation(0*Math.PI/180);
  1449. Node21.a('node.width', Node21width);
  1450. Node21.a('node.height', Node21height);
  1451. Node21.a('node.rect', [0, 0, Node21width, Node21height]);
  1452. Node21.a('node.bordercolor','rgba(0,0,0,1)');
  1453. Node21.a('node.borderwidth', 0);
  1454. Node21.a('node.background','' || 'rgba(0,0,0,0)');
  1455. Node21.a('node.gradient','');
  1456. Node21.a('node.gradientcolor','');
  1457. Node21.a('node.text','安全天数');
  1458. Node21.a('node.textalign','left');
  1459. Node21.a('node.textvAlign','middle');
  1460. Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]);
  1461. Node21.a('node.color','rgba(0,0,0,1)');
  1462. Node21.a('node.font',' '+ Node21fontSize + 'px "Arial"');
  1463. Node21.a('node.textvisible',true);
  1464. Node21.a('node.linefeed',false);
  1465. if (false) {
  1466. Node21.a('node.textfunc',function(g) {
  1467. g.beginPath();
  1468. var str=Node21.a('node.text') || '安全天数';
  1469. var color=Node21.a('node.color') || 'rgba(0,0,0,1)';
  1470. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node21width,Node21height,15.99996*_ratio.ratioY,"left",color,' '+ Node21fontSize + 'px "Arial"', 0,g);
  1471. });
  1472. }
  1473. if (false) {
  1474. Node21.a('node.underlinepoints',[Node21lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('安全天数', ' '+ Node21fontSize + 'px "Arial"').width + 6, (Node21height - Node21fontSize) * 0.5*_ratio.ratioY + Node21fontSize + 2 ]);
  1475. Node21.a('node.underlinevisible',false);
  1476. Node21.a('node.underlineBorderWidth', 1);
  1477. }
  1478. dataModel.add(Node21);
  1479. zoomNodeList.push({
  1480. node: Node21,
  1481. borderWidth: 0,
  1482. attr: 'node.borderwidth'
  1483. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1484. var Node22type = 'rect';
  1485. var Node22 = new ht.Node(),
  1486. Node22BorderWidth = 0*2;
  1487. if (Node22type === 'arc') {
  1488. Node22BorderWidth *= 0;
  1489. }
  1490. Node22.setImage(GD.getRectJSON(32*_ratio.ratioX, 32*_ratio.ratioY, Node22type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  1491. Node22.setPosition(174*ratio.ratioX, 142*ratio.ratioY);
  1492. Node22.setSize(32*_ratio.ratioX, 32*_ratio.ratioY);
  1493. Node22.s({
  1494. 'pixelPerfect':true
  1495. /*@AddPara@*/
  1496. });
  1497. Node22.a('node.width', 32*_ratio.ratioX);
  1498. Node22.a('node.height', 32*_ratio.ratioY);
  1499. Node22.a('node.type', Node22type);
  1500. Node22.a('node.rect', [0, 0, 32*_ratio.ratioX, 32*_ratio.ratioY]);
  1501. Node22.a('node.background', 'rgba(255,128,0,1)');
  1502. Node22.a('node.gradientcolor', 'rgba(255,128,0,1)');
  1503. Node22.a('node.gradient', '');
  1504. Node22.a('node.borderwidth', Node22BorderWidth);
  1505. Node22.a('node.color', 'rgba(0,0,0,0)');
  1506. Node22.a('node.fillrect', [0,0,0,0]);
  1507. Node22.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  1508. Node22.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  1509. Node22.a('node.fillgradient', '');
  1510. if (Node22type !== 'rect') {
  1511. Node22.a('node.arcFrom', parseFloat('@arcFrom@'));
  1512. Node22.a('node.arcTo', parseFloat('@arcTo@'));
  1513. Node22.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  1514. }
  1515. if (Node22type === 'arc') {
  1516. Node22.a('node.arcOval', true);
  1517. }
  1518. Node22.setRotation(0*Math.PI/180);
  1519. Node22.borderWidth = Node22BorderWidth;
  1520. Node22.borderFillwidth = Node22BorderWidth;
  1521. dataModel.add(Node22);
  1522. Node22._nodename = 'Node22'
  1523. Node22._nodeType = 'rect';
  1524. zoomNodeList.push({
  1525. node: Node22,
  1526. attr: 'node.borderwidth'
  1527. });
  1528. (function (node, _img) {
  1529. var setWidth = node.setWidth,
  1530. setHeight = node.setHeight;
  1531. node.setWidth = function (width) {
  1532. if (width === this.getWidth()) return ;
  1533. var height = this.getHeight();
  1534. this.a('node.width', width);
  1535. this.a('node.rect', [0,0,width, height]);
  1536. setWidth.apply(this, arguments);
  1537. }
  1538. node.setHeight = function (height) {
  1539. if (height === this.getHeight()) return ;
  1540. var width = this.getWidth();
  1541. this.a('node.height', height);
  1542. this.a('node.rect', [0,0,width, height]);
  1543. setHeight.apply(this, arguments);
  1544. }
  1545. })(Node22, Node22.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1546. var Node23 = new ht.Node();
  1547. var Node23textStart, Node23textWidth, Node23lineStart, Node23align = 'left', Node23fontSize = 15.99996*_ratio.ratioY,Node23width = 23*_ratio.ratioX, Node23height = 20*_ratio.ratioY;
  1548. (function () {
  1549. if (Node23align === 'left') {
  1550. Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9;
  1551. Node23textWidth = Node23width;
  1552. Node23lineStart = 1;
  1553. } else if (Node23align === 'right') {
  1554. Node23textStart = 0;
  1555. Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2;
  1556. Node23lineStart = (Node23width - (ht.Default.getTextSize('天', ' '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
  1557. } else if (Node23align === 'center') {
  1558. Node23textStart = -3;
  1559. Node23textWidth = Node23width;
  1560. Node23lineStart = Node23width - ht.Default.getTextSize('天', ' '+ Node23fontSize + 'px "Arial"').width - 11;
  1561. }
  1562. })();
  1563. Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, ' '+ Node23fontSize + 'px "Arial"'))
  1564. Node23.setPosition(172*ratio.ratioX, 142*ratio.ratioY);
  1565. Node23.setWidth(Node23width);
  1566. Node23.setHeight(Node23height);
  1567. Node23._nodeType = 'text';
  1568. Node23._disallowEvert = true;
  1569. Node23.setRotation(0*Math.PI/180);
  1570. Node23.a('node.width', Node23width);
  1571. Node23.a('node.height', Node23height);
  1572. Node23.a('node.rect', [0, 0, Node23width, Node23height]);
  1573. Node23.a('node.bordercolor','rgba(255,255,255,1)');
  1574. Node23.a('node.borderwidth', 0);
  1575. Node23.a('node.background','' || 'rgba(0,0,0,0)');
  1576. Node23.a('node.gradient','');
  1577. Node23.a('node.gradientcolor','');
  1578. Node23.a('node.text','天');
  1579. Node23.a('node.textalign','left');
  1580. Node23.a('node.textvAlign','middle');
  1581. Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
  1582. Node23.a('node.color','rgba(255,255,255,1)');
  1583. Node23.a('node.font',' '+ Node23fontSize + 'px "Arial"');
  1584. Node23.a('node.textvisible',true);
  1585. Node23.a('node.linefeed',false);
  1586. if (false) {
  1587. Node23.a('node.textfunc',function(g) {
  1588. g.beginPath();
  1589. var str=Node23.a('node.text') || '天';
  1590. var color=Node23.a('node.color') || 'rgba(255,255,255,1)';
  1591. canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node23width,Node23height,15.99996*_ratio.ratioY,"left",color,' '+ Node23fontSize + 'px "Arial"', 0,g);
  1592. });
  1593. }
  1594. if (false) {
  1595. Node23.a('node.underlinepoints',[Node23lineStart, (20 - 15.99996) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('天', ' '+ Node23fontSize + 'px "Arial"').width + 6, (Node23height - Node23fontSize) * 0.5*_ratio.ratioY + Node23fontSize + 2 ]);
  1596. Node23.a('node.underlinevisible',false);
  1597. Node23.a('node.underlineBorderWidth', 1);
  1598. }
  1599. dataModel.add(Node23);
  1600. zoomNodeList.push({
  1601. node: Node23,
  1602. borderWidth: 0,
  1603. attr: 'node.borderwidth'
  1604. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1605. var Node24 = new ht.Node();
  1606. var Node24textStart, Node24textWidth, Node24lineStart, Node24align = 'left', Node24fontSize = 29.33326*_ratio.ratioY,Node24width = 65*_ratio.ratioX, Node24height = 36*_ratio.ratioY;
  1607. (function () {
  1608. if (Node24align === 'left') {
  1609. Node24textStart = Node24fontSize * 0.2 > 2 ? Node24fontSize * 0.2 - 4 : Node24fontSize * 0.2 - 9;
  1610. Node24textWidth = Node24width;
  1611. Node24lineStart = 1;
  1612. } else if (Node24align === 'right') {
  1613. Node24textStart = 0;
  1614. Node24textWidth =Node24fontSize <= 8 ? Node24width + Node24fontSize * 0.2 + 6 : Node24width - Node24fontSize * 0.2;
  1615. Node24lineStart = (Node24width - (ht.Default.getTextSize('2974', ' '+ Node24fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  1616. } else if (Node24align === 'center') {
  1617. Node24textStart = -3;
  1618. Node24textWidth = Node24width;
  1619. Node24lineStart = Node24width - ht.Default.getTextSize('2974', ' '+ Node24fontSize + 'px "UniDreamLED"').width - 11;
  1620. }
  1621. })();
  1622. Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, ' '+ Node24fontSize + 'px "UniDreamLED"'))
  1623. Node24.setPosition(96*ratio.ratioX, 101*ratio.ratioY);
  1624. Node24.setWidth(Node24width);
  1625. Node24.setHeight(Node24height);
  1626. Node24._nodeType = 'text';
  1627. Node24._disallowEvert = true;
  1628. Node24.setRotation(0*Math.PI/180);
  1629. Node24.a('node.width', Node24width);
  1630. Node24.a('node.height', Node24height);
  1631. Node24.a('node.rect', [0, 0, Node24width, Node24height]);
  1632. Node24.a('node.bordercolor','rgba(0,0,0,1)');
  1633. Node24.a('node.borderwidth', 0);
  1634. Node24.a('node.background','' || 'rgba(0,0,0,0)');
  1635. Node24.a('node.gradient','');
  1636. Node24.a('node.gradientcolor','');
  1637. Node24.a('node.text','2974');
  1638. Node24.a('node.textalign','left');
  1639. Node24.a('node.textvAlign','middle');
  1640. Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]);
  1641. Node24.a('node.color','rgba(0,0,0,1)');
  1642. Node24.a('node.font',' '+ Node24fontSize + 'px "UniDreamLED"');
  1643. Node24.a('node.textvisible',true);
  1644. Node24.a('node.linefeed',false);
  1645. if (false) {
  1646. Node24.a('node.textfunc',function(g) {
  1647. g.beginPath();
  1648. var str=Node24.a('node.text') || '2974';
  1649. var color=Node24.a('node.color') || 'rgba(0,0,0,1)';
  1650. canvasTextAutoLine(str,0,29.33326*0.5*_ratio.ratioY,Node24width,Node24height,29.33326*_ratio.ratioY,"left",color,' '+ Node24fontSize + 'px "UniDreamLED"', 0,g);
  1651. });
  1652. }
  1653. if (false) {
  1654. Node24.a('node.underlinepoints',[Node24lineStart, (36 - 29.33326) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('2974', ' '+ Node24fontSize + 'px "UniDreamLED"').width + 6, (Node24height - Node24fontSize) * 0.5*_ratio.ratioY + Node24fontSize + 2 ]);
  1655. Node24.a('node.underlinevisible',false);
  1656. Node24.a('node.underlineBorderWidth', 1);
  1657. }
  1658. dataModel.add(Node24);
  1659. zoomNodeList.push({
  1660. node: Node24,
  1661. borderWidth: 0,
  1662. attr: 'node.borderwidth'
  1663. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1664. var Node25 = new ht.Node();
  1665. var Node25textStart, Node25textWidth, Node25lineStart, Node25align = 'left', Node25fontSize = 13.3333*_ratio.ratioY,Node25width = 9*_ratio.ratioX, Node25height = 16*_ratio.ratioY;
  1666. (function () {
  1667. if (Node25align === 'left') {
  1668. Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9;
  1669. Node25textWidth = Node25width;
  1670. Node25lineStart = 1;
  1671. } else if (Node25align === 'right') {
  1672. Node25textStart = 0;
  1673. Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2;
  1674. Node25lineStart = (Node25width - (ht.Default.getTextSize('-', 'bold '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5;
  1675. } else if (Node25align === 'center') {
  1676. Node25textStart = -3;
  1677. Node25textWidth = Node25width;
  1678. Node25lineStart = Node25width - ht.Default.getTextSize('-', 'bold '+ Node25fontSize + 'px "Arial"').width - 11;
  1679. }
  1680. })();
  1681. Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, 'bold '+ Node25fontSize + 'px "Arial"'))
  1682. Node25.setPosition(336*ratio.ratioX, 146*ratio.ratioY);
  1683. Node25.setWidth(Node25width);
  1684. Node25.setHeight(Node25height);
  1685. Node25._nodeType = 'text';
  1686. Node25._disallowEvert = true;
  1687. Node25.setRotation(0*Math.PI/180);
  1688. Node25.a('node.width', Node25width);
  1689. Node25.a('node.height', Node25height);
  1690. Node25.a('node.rect', [0, 0, Node25width, Node25height]);
  1691. Node25.a('node.bordercolor','rgba(0,0,0,1)');
  1692. Node25.a('node.borderwidth', 0);
  1693. Node25.a('node.background','' || 'rgba(0,0,0,0)');
  1694. Node25.a('node.gradient','');
  1695. Node25.a('node.gradientcolor','');
  1696. Node25.a('node.text','-');
  1697. Node25.a('node.textalign','left');
  1698. Node25.a('node.textvAlign','middle');
  1699. Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]);
  1700. Node25.a('node.color','rgba(0,0,0,1)');
  1701. Node25.a('node.font','bold '+ Node25fontSize + 'px "Arial"');
  1702. Node25.a('node.textvisible',true);
  1703. Node25.a('node.linefeed',false);
  1704. if (false) {
  1705. Node25.a('node.textfunc',function(g) {
  1706. g.beginPath();
  1707. var str=Node25.a('node.text') || '-';
  1708. var color=Node25.a('node.color') || 'rgba(0,0,0,1)';
  1709. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node25width,Node25height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node25fontSize + 'px "Arial"', 0,g);
  1710. });
  1711. }
  1712. if (false) {
  1713. Node25.a('node.underlinepoints',[Node25lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node25fontSize + 'px "Arial"').width + 6, (Node25height - Node25fontSize) * 0.5*_ratio.ratioY + Node25fontSize + 2 ]);
  1714. Node25.a('node.underlinevisible',false);
  1715. Node25.a('node.underlineBorderWidth', 1);
  1716. }
  1717. dataModel.add(Node25);
  1718. zoomNodeList.push({
  1719. node: Node25,
  1720. borderWidth: 0,
  1721. attr: 'node.borderwidth'
  1722. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1723. var Node26 = new ht.Node();
  1724. var Node26textStart, Node26textWidth, Node26lineStart, Node26align = 'left', Node26fontSize = 13.3333*_ratio.ratioY,Node26width = 34*_ratio.ratioX, Node26height = 16*_ratio.ratioY;
  1725. (function () {
  1726. if (Node26align === 'left') {
  1727. Node26textStart = Node26fontSize * 0.2 > 2 ? Node26fontSize * 0.2 - 4 : Node26fontSize * 0.2 - 9;
  1728. Node26textWidth = Node26width;
  1729. Node26lineStart = 1;
  1730. } else if (Node26align === 'right') {
  1731. Node26textStart = 0;
  1732. Node26textWidth =Node26fontSize <= 8 ? Node26width + Node26fontSize * 0.2 + 6 : Node26width - Node26fontSize * 0.2;
  1733. Node26lineStart = (Node26width - (ht.Default.getTextSize('小时', ' '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
  1734. } else if (Node26align === 'center') {
  1735. Node26textStart = -3;
  1736. Node26textWidth = Node26width;
  1737. Node26lineStart = Node26width - ht.Default.getTextSize('小时', ' '+ Node26fontSize + 'px "Arial"').width - 11;
  1738. }
  1739. })();
  1740. Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, ' '+ Node26fontSize + 'px "Arial"'))
  1741. Node26.setPosition(412*ratio.ratioX, 73*ratio.ratioY);
  1742. Node26.setWidth(Node26width);
  1743. Node26.setHeight(Node26height);
  1744. Node26._nodeType = 'text';
  1745. Node26._disallowEvert = true;
  1746. Node26.setRotation(0*Math.PI/180);
  1747. Node26.a('node.width', Node26width);
  1748. Node26.a('node.height', Node26height);
  1749. Node26.a('node.rect', [0, 0, Node26width, Node26height]);
  1750. Node26.a('node.bordercolor','rgba(169,169,169,1)');
  1751. Node26.a('node.borderwidth', 0);
  1752. Node26.a('node.background','' || 'rgba(0,0,0,0)');
  1753. Node26.a('node.gradient','');
  1754. Node26.a('node.gradientcolor','');
  1755. Node26.a('node.text','小时');
  1756. Node26.a('node.textalign','left');
  1757. Node26.a('node.textvAlign','middle');
  1758. Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
  1759. Node26.a('node.color','rgba(169,169,169,1)');
  1760. Node26.a('node.font',' '+ Node26fontSize + 'px "Arial"');
  1761. Node26.a('node.textvisible',true);
  1762. Node26.a('node.linefeed',false);
  1763. if (false) {
  1764. Node26.a('node.textfunc',function(g) {
  1765. g.beginPath();
  1766. var str=Node26.a('node.text') || '小时';
  1767. var color=Node26.a('node.color') || 'rgba(169,169,169,1)';
  1768. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node26width,Node26height,13.3333*_ratio.ratioY,"left",color,' '+ Node26fontSize + 'px "Arial"', 0,g);
  1769. });
  1770. }
  1771. if (false) {
  1772. Node26.a('node.underlinepoints',[Node26lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node26fontSize + 'px "Arial"').width + 6, (Node26height - Node26fontSize) * 0.5*_ratio.ratioY + Node26fontSize + 2 ]);
  1773. Node26.a('node.underlinevisible',false);
  1774. Node26.a('node.underlineBorderWidth', 1);
  1775. }
  1776. dataModel.add(Node26);
  1777. zoomNodeList.push({
  1778. node: Node26,
  1779. borderWidth: 0,
  1780. attr: 'node.borderwidth'
  1781. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1782. var Node27 = new ht.Node();
  1783. var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'left', Node27fontSize = 13.3333*_ratio.ratioY,Node27width = 34*_ratio.ratioX, Node27height = 16*_ratio.ratioY;
  1784. (function () {
  1785. if (Node27align === 'left') {
  1786. Node27textStart = Node27fontSize * 0.2 > 2 ? Node27fontSize * 0.2 - 4 : Node27fontSize * 0.2 - 9;
  1787. Node27textWidth = Node27width;
  1788. Node27lineStart = 1;
  1789. } else if (Node27align === 'right') {
  1790. Node27textStart = 0;
  1791. Node27textWidth =Node27fontSize <= 8 ? Node27width + Node27fontSize * 0.2 + 6 : Node27width - Node27fontSize * 0.2;
  1792. Node27lineStart = (Node27width - (ht.Default.getTextSize('小时', ' '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5;
  1793. } else if (Node27align === 'center') {
  1794. Node27textStart = -3;
  1795. Node27textWidth = Node27width;
  1796. Node27lineStart = Node27width - ht.Default.getTextSize('小时', ' '+ Node27fontSize + 'px "Arial"').width - 11;
  1797. }
  1798. })();
  1799. Node27.setImage(GD.getTextJSON(Node27width, Node27height, true, false, false, ' '+ Node27fontSize + 'px "Arial"'))
  1800. Node27.setPosition(412*ratio.ratioX, 98*ratio.ratioY);
  1801. Node27.setWidth(Node27width);
  1802. Node27.setHeight(Node27height);
  1803. Node27._nodeType = 'text';
  1804. Node27._disallowEvert = true;
  1805. Node27.setRotation(0*Math.PI/180);
  1806. Node27.a('node.width', Node27width);
  1807. Node27.a('node.height', Node27height);
  1808. Node27.a('node.rect', [0, 0, Node27width, Node27height]);
  1809. Node27.a('node.bordercolor','rgba(169,169,169,1)');
  1810. Node27.a('node.borderwidth', 0);
  1811. Node27.a('node.background','' || 'rgba(0,0,0,0)');
  1812. Node27.a('node.gradient','');
  1813. Node27.a('node.gradientcolor','');
  1814. Node27.a('node.text','小时');
  1815. Node27.a('node.textalign','left');
  1816. Node27.a('node.textvAlign','middle');
  1817. Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]);
  1818. Node27.a('node.color','rgba(169,169,169,1)');
  1819. Node27.a('node.font',' '+ Node27fontSize + 'px "Arial"');
  1820. Node27.a('node.textvisible',true);
  1821. Node27.a('node.linefeed',false);
  1822. if (false) {
  1823. Node27.a('node.textfunc',function(g) {
  1824. g.beginPath();
  1825. var str=Node27.a('node.text') || '小时';
  1826. var color=Node27.a('node.color') || 'rgba(169,169,169,1)';
  1827. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27width,Node27height,13.3333*_ratio.ratioY,"left",color,' '+ Node27fontSize + 'px "Arial"', 0,g);
  1828. });
  1829. }
  1830. if (false) {
  1831. Node27.a('node.underlinepoints',[Node27lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node27fontSize + 'px "Arial"').width + 6, (Node27height - Node27fontSize) * 0.5*_ratio.ratioY + Node27fontSize + 2 ]);
  1832. Node27.a('node.underlinevisible',false);
  1833. Node27.a('node.underlineBorderWidth', 1);
  1834. }
  1835. dataModel.add(Node27);
  1836. zoomNodeList.push({
  1837. node: Node27,
  1838. borderWidth: 0,
  1839. attr: 'node.borderwidth'
  1840. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1841. var Node28 = new ht.Node();
  1842. var Node28textStart, Node28textWidth, Node28lineStart, Node28align = 'left', Node28fontSize = 13.3333*_ratio.ratioY,Node28width = 16*_ratio.ratioX, Node28height = 16*_ratio.ratioY;
  1843. (function () {
  1844. if (Node28align === 'left') {
  1845. Node28textStart = Node28fontSize * 0.2 > 2 ? Node28fontSize * 0.2 - 4 : Node28fontSize * 0.2 - 9;
  1846. Node28textWidth = Node28width;
  1847. Node28lineStart = 1;
  1848. } else if (Node28align === 'right') {
  1849. Node28textStart = 0;
  1850. Node28textWidth =Node28fontSize <= 8 ? Node28width + Node28fontSize * 0.2 + 6 : Node28width - Node28fontSize * 0.2;
  1851. Node28lineStart = (Node28width - (ht.Default.getTextSize('%', ' '+ Node28fontSize + 'px "Arial"').width + 6)) * 0.5;
  1852. } else if (Node28align === 'center') {
  1853. Node28textStart = -3;
  1854. Node28textWidth = Node28width;
  1855. Node28lineStart = Node28width - ht.Default.getTextSize('%', ' '+ Node28fontSize + 'px "Arial"').width - 11;
  1856. }
  1857. })();
  1858. Node28.setImage(GD.getTextJSON(Node28width, Node28height, true, false, false, ' '+ Node28fontSize + 'px "Arial"'))
  1859. Node28.setPosition(403*ratio.ratioX, 125*ratio.ratioY);
  1860. Node28.setWidth(Node28width);
  1861. Node28.setHeight(Node28height);
  1862. Node28._nodeType = 'text';
  1863. Node28._disallowEvert = true;
  1864. Node28.setRotation(0*Math.PI/180);
  1865. Node28.a('node.width', Node28width);
  1866. Node28.a('node.height', Node28height);
  1867. Node28.a('node.rect', [0, 0, Node28width, Node28height]);
  1868. Node28.a('node.bordercolor','rgba(169,169,169,1)');
  1869. Node28.a('node.borderwidth', 0);
  1870. Node28.a('node.background','' || 'rgba(0,0,0,0)');
  1871. Node28.a('node.gradient','');
  1872. Node28.a('node.gradientcolor','');
  1873. Node28.a('node.text','%');
  1874. Node28.a('node.textalign','left');
  1875. Node28.a('node.textvAlign','middle');
  1876. Node28.a('node.textrect', [Node28textStart, 0, Node28textWidth, Node28height]);
  1877. Node28.a('node.color','rgba(169,169,169,1)');
  1878. Node28.a('node.font',' '+ Node28fontSize + 'px "Arial"');
  1879. Node28.a('node.textvisible',true);
  1880. Node28.a('node.linefeed',false);
  1881. if (false) {
  1882. Node28.a('node.textfunc',function(g) {
  1883. g.beginPath();
  1884. var str=Node28.a('node.text') || '%';
  1885. var color=Node28.a('node.color') || 'rgba(169,169,169,1)';
  1886. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28width,Node28height,13.3333*_ratio.ratioY,"left",color,' '+ Node28fontSize + 'px "Arial"', 0,g);
  1887. });
  1888. }
  1889. if (false) {
  1890. Node28.a('node.underlinepoints',[Node28lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node28fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node28fontSize + 'px "Arial"').width + 6, (Node28height - Node28fontSize) * 0.5*_ratio.ratioY + Node28fontSize + 2 ]);
  1891. Node28.a('node.underlinevisible',false);
  1892. Node28.a('node.underlineBorderWidth', 1);
  1893. }
  1894. dataModel.add(Node28);
  1895. zoomNodeList.push({
  1896. node: Node28,
  1897. borderWidth: 0,
  1898. attr: 'node.borderwidth'
  1899. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  1900. var Node29 = new ht.Node();
  1901. var Node29textStart, Node29textWidth, Node29lineStart, Node29align = 'left', Node29fontSize = 13.3333*_ratio.ratioY,Node29width = 16*_ratio.ratioX, Node29height = 16*_ratio.ratioY;
  1902. (function () {
  1903. if (Node29align === 'left') {
  1904. Node29textStart = Node29fontSize * 0.2 > 2 ? Node29fontSize * 0.2 - 4 : Node29fontSize * 0.2 - 9;
  1905. Node29textWidth = Node29width;
  1906. Node29lineStart = 1;
  1907. } else if (Node29align === 'right') {
  1908. Node29textStart = 0;
  1909. Node29textWidth =Node29fontSize <= 8 ? Node29width + Node29fontSize * 0.2 + 6 : Node29width - Node29fontSize * 0.2;
  1910. Node29lineStart = (Node29width - (ht.Default.getTextSize('%', ' '+ Node29fontSize + 'px "Arial"').width + 6)) * 0.5;
  1911. } else if (Node29align === 'center') {
  1912. Node29textStart = -3;
  1913. Node29textWidth = Node29width;
  1914. Node29lineStart = Node29width - ht.Default.getTextSize('%', ' '+ Node29fontSize + 'px "Arial"').width - 11;
  1915. }
  1916. })();
  1917. Node29.setImage(GD.getTextJSON(Node29width, Node29height, true, false, false, ' '+ Node29fontSize + 'px "Arial"'))
  1918. Node29.setPosition(403*ratio.ratioX, 147*ratio.ratioY);
  1919. Node29.setWidth(Node29width);
  1920. Node29.setHeight(Node29height);
  1921. Node29._nodeType = 'text';
  1922. Node29._disallowEvert = true;
  1923. Node29.setRotation(0*Math.PI/180);
  1924. Node29.a('node.width', Node29width);
  1925. Node29.a('node.height', Node29height);
  1926. Node29.a('node.rect', [0, 0, Node29width, Node29height]);
  1927. Node29.a('node.bordercolor','rgba(169,169,169,1)');
  1928. Node29.a('node.borderwidth', 0);
  1929. Node29.a('node.background','' || 'rgba(0,0,0,0)');
  1930. Node29.a('node.gradient','');
  1931. Node29.a('node.gradientcolor','');
  1932. Node29.a('node.text','%');
  1933. Node29.a('node.textalign','left');
  1934. Node29.a('node.textvAlign','middle');
  1935. Node29.a('node.textrect', [Node29textStart, 0, Node29textWidth, Node29height]);
  1936. Node29.a('node.color','rgba(169,169,169,1)');
  1937. Node29.a('node.font',' '+ Node29fontSize + 'px "Arial"');
  1938. Node29.a('node.textvisible',true);
  1939. Node29.a('node.linefeed',false);
  1940. if (false) {
  1941. Node29.a('node.textfunc',function(g) {
  1942. g.beginPath();
  1943. var str=Node29.a('node.text') || '%';
  1944. var color=Node29.a('node.color') || 'rgba(169,169,169,1)';
  1945. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29width,Node29height,13.3333*_ratio.ratioY,"left",color,' '+ Node29fontSize + 'px "Arial"', 0,g);
  1946. });
  1947. }
  1948. if (false) {
  1949. Node29.a('node.underlinepoints',[Node29lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node29fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node29fontSize + 'px "Arial"').width + 6, (Node29height - Node29fontSize) * 0.5*_ratio.ratioY + Node29fontSize + 2 ]);
  1950. Node29.a('node.underlinevisible',false);
  1951. Node29.a('node.underlineBorderWidth', 1);
  1952. }
  1953. dataModel.add(Node29);
  1954. zoomNodeList.push({
  1955. node: Node29,
  1956. borderWidth: 0,
  1957. attr: 'node.borderwidth'
  1958. }); var Node30points=[197, 62,474, 62],
  1959. Node30rect=ht.Default.unionPoint([{x:197,y:62},{x:474,y:62}]),
  1960. Node30compspts=[];
  1961. _ratio = GD.getRatioWithRotation(0, ratio);
  1962. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  1963. _endratio = GD.getRatioWithRotation(0, ratio);
  1964. for(var i=0;i<Node30points.length;i++){
  1965. if(i%2==0){
  1966. Node30compspts.push(Node30points[i]-Node30rect.x);
  1967. }else{
  1968. Node30compspts.push(Node30points[i]-Node30rect.y);
  1969. }
  1970. }
  1971. var Node30ptslength=Node30compspts.length;
  1972. if (Node30rect.height === 0) {
  1973. Node30compspts[0] -= 0;
  1974. Node30compspts[Node30ptslength-2] += 0;
  1975. } else if (Node30rect.width === 0){
  1976. Node30compspts[1] -= 0;
  1977. Node30compspts[Node30ptslength-1] += 0;
  1978. } else {
  1979. Node30compspts[0] -= 0;
  1980. Node30compspts[1] -= 0;
  1981. Node30compspts[Node30ptslength-2] += 0;
  1982. Node30compspts[Node30ptslength-1] += 0;
  1983. }
  1984. Node30 = new ht.Node();
  1985. Node30.borderWidth = 1;
  1986. Node30rect.width = Node30rect.width === 0 ? 0.0001 : Node30rect.width;
  1987. Node30rect.height = Node30rect.height === 0 ? 0.0001 : Node30rect.height;
  1988. var Node30endCompspts = [Node30compspts[Node30ptslength-2],Node30compspts[Node30ptslength-1],0,0];
  1989. var Node30startCompspts = [Node30compspts[0],Node30compspts[1],0,0];
  1990. Node30.setImage(GD.getPolyLineJSON());
  1991. Node30.setPosition(Node30rect.x+Node30rect.width/2,Node30rect.y+Node30rect.height/2);
  1992. Node30.setSize(Node30rect.width,Node30rect.height);
  1993. Node30.setStyle("opacity",1);
  1994. Node30.s({'pixelPerfect':true});
  1995. Node30borderwidth=1;
  1996. Node30.setRotation(0);
  1997. dataModel.add(Node30);
  1998. Node30.a('node.points',Node30compspts);
  1999. Node30.a('node.segments',[1,2]);
  2000. Node30.a('node.color','rgba(220,220,220,1)');
  2001. Node30.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2002. Node30.a('node.borderColor','rgba(220,220,220,1)');
  2003. Node30.a('node.background','rgba(220,220,220,1)');
  2004. Node30.a('node.gradient','');
  2005. Node30.a('node.gradientcolor','rgba(220,220,220,1)');
  2006. Node30.a('node.endCompspts',Node30endCompspts);
  2007. Node30.a('node.startCompspts',Node30startCompspts);
  2008. (function (node, img, compspts, endCompspts, startCompspts) {
  2009. var position = node.getPosition(),
  2010. w = node.getWidth()*_ratio.ratioX,
  2011. h = node.getHeight()*_ratio.ratioY;
  2012. function resetPoints(rx, ry) {
  2013. for (var i = 0, len = compspts.length; i < len; i++) {
  2014. if (i%2 === 0) {
  2015. compspts[i]*=rx;
  2016. } else {
  2017. compspts[i]*=ry;
  2018. }
  2019. }
  2020. endCompspts[0] = compspts[compspts.length-2];
  2021. endCompspts[1] = compspts[compspts.length-1];
  2022. endCompspts[2] *= rx;
  2023. endCompspts[3] *= ry;
  2024. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2025. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2026. startCompspts[0] = compspts[0];
  2027. startCompspts[1] = compspts[1];
  2028. startCompspts[2] *= rx;
  2029. startCompspts[3] *= ry;
  2030. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2031. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2032. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2033. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2034. }
  2035. node.setSize(w, h);
  2036. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2037. node.a('node.width', w);
  2038. node.a('node.height', h);
  2039. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2040. node.borderWidth = 1;
  2041. node.a('node.borderwidth',node.borderWidth);
  2042. node._nodename = 'Node30';
  2043. node._nodeType = 'line';
  2044. zoomNodeList.push({
  2045. node: node,
  2046. attr: 'node.borderwidth'
  2047. });
  2048. var setWidth = node.setWidth,
  2049. setHeight = node.setHeight,
  2050. timer, rx = 1, ry = 1;
  2051. node.setWidth = function (width) {
  2052. var _width = this.getWidth();
  2053. rx = width / _width;
  2054. node.a('node.width', width);
  2055. setWidth.apply(this, arguments);
  2056. resetPoints(rx, 1);
  2057. }
  2058. node.setHeight = function (height) {
  2059. var _height = this.getHeight();
  2060. ry = height / _height;
  2061. node.a('node.height', height);
  2062. setHeight.apply(this, arguments);
  2063. resetPoints(1, ry);
  2064. }
  2065. })(Node30, Node30.getImage(), Node30compspts, Node30endCompspts, Node30startCompspts);
  2066. var Node31points=[195, 88,472, 88],
  2067. Node31rect=ht.Default.unionPoint([{x:195,y:88},{x:472,y:88}]),
  2068. Node31compspts=[];
  2069. _ratio = GD.getRatioWithRotation(0, ratio);
  2070. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2071. _endratio = GD.getRatioWithRotation(0, ratio);
  2072. for(var i=0;i<Node31points.length;i++){
  2073. if(i%2==0){
  2074. Node31compspts.push(Node31points[i]-Node31rect.x);
  2075. }else{
  2076. Node31compspts.push(Node31points[i]-Node31rect.y);
  2077. }
  2078. }
  2079. var Node31ptslength=Node31compspts.length;
  2080. if (Node31rect.height === 0) {
  2081. Node31compspts[0] -= 0;
  2082. Node31compspts[Node31ptslength-2] += 0;
  2083. } else if (Node31rect.width === 0){
  2084. Node31compspts[1] -= 0;
  2085. Node31compspts[Node31ptslength-1] += 0;
  2086. } else {
  2087. Node31compspts[0] -= 0;
  2088. Node31compspts[1] -= 0;
  2089. Node31compspts[Node31ptslength-2] += 0;
  2090. Node31compspts[Node31ptslength-1] += 0;
  2091. }
  2092. Node31 = new ht.Node();
  2093. Node31.borderWidth = 1;
  2094. Node31rect.width = Node31rect.width === 0 ? 0.0001 : Node31rect.width;
  2095. Node31rect.height = Node31rect.height === 0 ? 0.0001 : Node31rect.height;
  2096. var Node31endCompspts = [Node31compspts[Node31ptslength-2],Node31compspts[Node31ptslength-1],0,0];
  2097. var Node31startCompspts = [Node31compspts[0],Node31compspts[1],0,0];
  2098. Node31.setImage(GD.getPolyLineJSON());
  2099. Node31.setPosition(Node31rect.x+Node31rect.width/2,Node31rect.y+Node31rect.height/2);
  2100. Node31.setSize(Node31rect.width,Node31rect.height);
  2101. Node31.setStyle("opacity",1);
  2102. Node31.s({'pixelPerfect':true});
  2103. Node31borderwidth=1;
  2104. Node31.setRotation(0);
  2105. dataModel.add(Node31);
  2106. Node31.a('node.points',Node31compspts);
  2107. Node31.a('node.segments',[1,2]);
  2108. Node31.a('node.color','rgba(220,220,220,1)');
  2109. Node31.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2110. Node31.a('node.borderColor','rgba(220,220,220,1)');
  2111. Node31.a('node.background','rgba(220,220,220,1)');
  2112. Node31.a('node.gradient','');
  2113. Node31.a('node.gradientcolor','rgba(220,220,220,1)');
  2114. Node31.a('node.endCompspts',Node31endCompspts);
  2115. Node31.a('node.startCompspts',Node31startCompspts);
  2116. (function (node, img, compspts, endCompspts, startCompspts) {
  2117. var position = node.getPosition(),
  2118. w = node.getWidth()*_ratio.ratioX,
  2119. h = node.getHeight()*_ratio.ratioY;
  2120. function resetPoints(rx, ry) {
  2121. for (var i = 0, len = compspts.length; i < len; i++) {
  2122. if (i%2 === 0) {
  2123. compspts[i]*=rx;
  2124. } else {
  2125. compspts[i]*=ry;
  2126. }
  2127. }
  2128. endCompspts[0] = compspts[compspts.length-2];
  2129. endCompspts[1] = compspts[compspts.length-1];
  2130. endCompspts[2] *= rx;
  2131. endCompspts[3] *= ry;
  2132. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2133. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2134. startCompspts[0] = compspts[0];
  2135. startCompspts[1] = compspts[1];
  2136. startCompspts[2] *= rx;
  2137. startCompspts[3] *= ry;
  2138. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2139. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2140. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2141. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2142. }
  2143. node.setSize(w, h);
  2144. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2145. node.a('node.width', w);
  2146. node.a('node.height', h);
  2147. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2148. node.borderWidth = 1;
  2149. node.a('node.borderwidth',node.borderWidth);
  2150. node._nodename = 'Node31';
  2151. node._nodeType = 'line';
  2152. zoomNodeList.push({
  2153. node: node,
  2154. attr: 'node.borderwidth'
  2155. });
  2156. var setWidth = node.setWidth,
  2157. setHeight = node.setHeight,
  2158. timer, rx = 1, ry = 1;
  2159. node.setWidth = function (width) {
  2160. var _width = this.getWidth();
  2161. rx = width / _width;
  2162. node.a('node.width', width);
  2163. setWidth.apply(this, arguments);
  2164. resetPoints(rx, 1);
  2165. }
  2166. node.setHeight = function (height) {
  2167. var _height = this.getHeight();
  2168. ry = height / _height;
  2169. node.a('node.height', height);
  2170. setHeight.apply(this, arguments);
  2171. resetPoints(1, ry);
  2172. }
  2173. })(Node31, Node31.getImage(), Node31compspts, Node31endCompspts, Node31startCompspts);
  2174. var Node32points=[197, 112,474, 112],
  2175. Node32rect=ht.Default.unionPoint([{x:197,y:112},{x:474,y:112}]),
  2176. Node32compspts=[];
  2177. _ratio = GD.getRatioWithRotation(0, ratio);
  2178. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2179. _endratio = GD.getRatioWithRotation(0, ratio);
  2180. for(var i=0;i<Node32points.length;i++){
  2181. if(i%2==0){
  2182. Node32compspts.push(Node32points[i]-Node32rect.x);
  2183. }else{
  2184. Node32compspts.push(Node32points[i]-Node32rect.y);
  2185. }
  2186. }
  2187. var Node32ptslength=Node32compspts.length;
  2188. if (Node32rect.height === 0) {
  2189. Node32compspts[0] -= 0;
  2190. Node32compspts[Node32ptslength-2] += 0;
  2191. } else if (Node32rect.width === 0){
  2192. Node32compspts[1] -= 0;
  2193. Node32compspts[Node32ptslength-1] += 0;
  2194. } else {
  2195. Node32compspts[0] -= 0;
  2196. Node32compspts[1] -= 0;
  2197. Node32compspts[Node32ptslength-2] += 0;
  2198. Node32compspts[Node32ptslength-1] += 0;
  2199. }
  2200. Node32 = new ht.Node();
  2201. Node32.borderWidth = 1;
  2202. Node32rect.width = Node32rect.width === 0 ? 0.0001 : Node32rect.width;
  2203. Node32rect.height = Node32rect.height === 0 ? 0.0001 : Node32rect.height;
  2204. var Node32endCompspts = [Node32compspts[Node32ptslength-2],Node32compspts[Node32ptslength-1],0,0];
  2205. var Node32startCompspts = [Node32compspts[0],Node32compspts[1],0,0];
  2206. Node32.setImage(GD.getPolyLineJSON());
  2207. Node32.setPosition(Node32rect.x+Node32rect.width/2,Node32rect.y+Node32rect.height/2);
  2208. Node32.setSize(Node32rect.width,Node32rect.height);
  2209. Node32.setStyle("opacity",1);
  2210. Node32.s({'pixelPerfect':true});
  2211. Node32borderwidth=1;
  2212. Node32.setRotation(0);
  2213. dataModel.add(Node32);
  2214. Node32.a('node.points',Node32compspts);
  2215. Node32.a('node.segments',[1,2]);
  2216. Node32.a('node.color','rgba(220,220,220,1)');
  2217. Node32.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2218. Node32.a('node.borderColor','rgba(220,220,220,1)');
  2219. Node32.a('node.background','rgba(220,220,220,1)');
  2220. Node32.a('node.gradient','');
  2221. Node32.a('node.gradientcolor','rgba(220,220,220,1)');
  2222. Node32.a('node.endCompspts',Node32endCompspts);
  2223. Node32.a('node.startCompspts',Node32startCompspts);
  2224. (function (node, img, compspts, endCompspts, startCompspts) {
  2225. var position = node.getPosition(),
  2226. w = node.getWidth()*_ratio.ratioX,
  2227. h = node.getHeight()*_ratio.ratioY;
  2228. function resetPoints(rx, ry) {
  2229. for (var i = 0, len = compspts.length; i < len; i++) {
  2230. if (i%2 === 0) {
  2231. compspts[i]*=rx;
  2232. } else {
  2233. compspts[i]*=ry;
  2234. }
  2235. }
  2236. endCompspts[0] = compspts[compspts.length-2];
  2237. endCompspts[1] = compspts[compspts.length-1];
  2238. endCompspts[2] *= rx;
  2239. endCompspts[3] *= ry;
  2240. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2241. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2242. startCompspts[0] = compspts[0];
  2243. startCompspts[1] = compspts[1];
  2244. startCompspts[2] *= rx;
  2245. startCompspts[3] *= ry;
  2246. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2247. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2248. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2249. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2250. }
  2251. node.setSize(w, h);
  2252. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2253. node.a('node.width', w);
  2254. node.a('node.height', h);
  2255. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2256. node.borderWidth = 1;
  2257. node.a('node.borderwidth',node.borderWidth);
  2258. node._nodename = 'Node32';
  2259. node._nodeType = 'line';
  2260. zoomNodeList.push({
  2261. node: node,
  2262. attr: 'node.borderwidth'
  2263. });
  2264. var setWidth = node.setWidth,
  2265. setHeight = node.setHeight,
  2266. timer, rx = 1, ry = 1;
  2267. node.setWidth = function (width) {
  2268. var _width = this.getWidth();
  2269. rx = width / _width;
  2270. node.a('node.width', width);
  2271. setWidth.apply(this, arguments);
  2272. resetPoints(rx, 1);
  2273. }
  2274. node.setHeight = function (height) {
  2275. var _height = this.getHeight();
  2276. ry = height / _height;
  2277. node.a('node.height', height);
  2278. setHeight.apply(this, arguments);
  2279. resetPoints(1, ry);
  2280. }
  2281. })(Node32, Node32.getImage(), Node32compspts, Node32endCompspts, Node32startCompspts);
  2282. var Node33points=[197, 135,474, 135],
  2283. Node33rect=ht.Default.unionPoint([{x:197,y:135},{x:474,y:135}]),
  2284. Node33compspts=[];
  2285. _ratio = GD.getRatioWithRotation(0, ratio);
  2286. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  2287. _endratio = GD.getRatioWithRotation(0, ratio);
  2288. for(var i=0;i<Node33points.length;i++){
  2289. if(i%2==0){
  2290. Node33compspts.push(Node33points[i]-Node33rect.x);
  2291. }else{
  2292. Node33compspts.push(Node33points[i]-Node33rect.y);
  2293. }
  2294. }
  2295. var Node33ptslength=Node33compspts.length;
  2296. if (Node33rect.height === 0) {
  2297. Node33compspts[0] -= 0;
  2298. Node33compspts[Node33ptslength-2] += 0;
  2299. } else if (Node33rect.width === 0){
  2300. Node33compspts[1] -= 0;
  2301. Node33compspts[Node33ptslength-1] += 0;
  2302. } else {
  2303. Node33compspts[0] -= 0;
  2304. Node33compspts[1] -= 0;
  2305. Node33compspts[Node33ptslength-2] += 0;
  2306. Node33compspts[Node33ptslength-1] += 0;
  2307. }
  2308. Node33 = new ht.Node();
  2309. Node33.borderWidth = 1;
  2310. Node33rect.width = Node33rect.width === 0 ? 0.0001 : Node33rect.width;
  2311. Node33rect.height = Node33rect.height === 0 ? 0.0001 : Node33rect.height;
  2312. var Node33endCompspts = [Node33compspts[Node33ptslength-2],Node33compspts[Node33ptslength-1],0,0];
  2313. var Node33startCompspts = [Node33compspts[0],Node33compspts[1],0,0];
  2314. Node33.setImage(GD.getPolyLineJSON());
  2315. Node33.setPosition(Node33rect.x+Node33rect.width/2,Node33rect.y+Node33rect.height/2);
  2316. Node33.setSize(Node33rect.width,Node33rect.height);
  2317. Node33.setStyle("opacity",1);
  2318. Node33.s({'pixelPerfect':true});
  2319. Node33borderwidth=1;
  2320. Node33.setRotation(0);
  2321. dataModel.add(Node33);
  2322. Node33.a('node.points',Node33compspts);
  2323. Node33.a('node.segments',[1,2]);
  2324. Node33.a('node.color','rgba(220,220,220,1)');
  2325. Node33.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2326. Node33.a('node.borderColor','rgba(220,220,220,1)');
  2327. Node33.a('node.background','rgba(220,220,220,1)');
  2328. Node33.a('node.gradient','');
  2329. Node33.a('node.gradientcolor','rgba(220,220,220,1)');
  2330. Node33.a('node.endCompspts',Node33endCompspts);
  2331. Node33.a('node.startCompspts',Node33startCompspts);
  2332. (function (node, img, compspts, endCompspts, startCompspts) {
  2333. var position = node.getPosition(),
  2334. w = node.getWidth()*_ratio.ratioX,
  2335. h = node.getHeight()*_ratio.ratioY;
  2336. function resetPoints(rx, ry) {
  2337. for (var i = 0, len = compspts.length; i < len; i++) {
  2338. if (i%2 === 0) {
  2339. compspts[i]*=rx;
  2340. } else {
  2341. compspts[i]*=ry;
  2342. }
  2343. }
  2344. endCompspts[0] = compspts[compspts.length-2];
  2345. endCompspts[1] = compspts[compspts.length-1];
  2346. endCompspts[2] *= rx;
  2347. endCompspts[3] *= ry;
  2348. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2349. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2350. startCompspts[0] = compspts[0];
  2351. startCompspts[1] = compspts[1];
  2352. startCompspts[2] *= rx;
  2353. startCompspts[3] *= ry;
  2354. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2355. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2356. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2357. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2358. }
  2359. node.setSize(w, h);
  2360. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2361. node.a('node.width', w);
  2362. node.a('node.height', h);
  2363. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2364. node.borderWidth = 1;
  2365. node.a('node.borderwidth',node.borderWidth);
  2366. node._nodename = 'Node33';
  2367. node._nodeType = 'line';
  2368. zoomNodeList.push({
  2369. node: node,
  2370. attr: 'node.borderwidth'
  2371. });
  2372. var setWidth = node.setWidth,
  2373. setHeight = node.setHeight,
  2374. timer, rx = 1, ry = 1;
  2375. node.setWidth = function (width) {
  2376. var _width = this.getWidth();
  2377. rx = width / _width;
  2378. node.a('node.width', width);
  2379. setWidth.apply(this, arguments);
  2380. resetPoints(rx, 1);
  2381. }
  2382. node.setHeight = function (height) {
  2383. var _height = this.getHeight();
  2384. ry = height / _height;
  2385. node.a('node.height', height);
  2386. setHeight.apply(this, arguments);
  2387. resetPoints(1, ry);
  2388. }
  2389. })(Node33, Node33.getImage(), Node33compspts, Node33endCompspts, Node33startCompspts);
  2390. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2391. var Node34type = 'rect';
  2392. var Node34 = new ht.Node(),
  2393. Node34BorderWidth = 1*2;
  2394. if (Node34type === 'arc') {
  2395. Node34BorderWidth *= 1;
  2396. }
  2397. Node34.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node34type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  2398. Node34.setPosition(539*ratio.ratioX, 98*ratio.ratioY);
  2399. Node34.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  2400. Node34.s({
  2401. 'pixelPerfect':true
  2402. /*@AddPara@*/
  2403. });
  2404. Node34.a('node.width', 120*_ratio.ratioX);
  2405. Node34.a('node.height', 120*_ratio.ratioY);
  2406. Node34.a('node.type', Node34type);
  2407. Node34.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  2408. Node34.a('node.background', 'rgba(245,245,245,1)');
  2409. Node34.a('node.gradientcolor', 'rgba(245,245,245,1)');
  2410. Node34.a('node.gradient', '');
  2411. Node34.a('node.borderwidth', Node34BorderWidth);
  2412. Node34.a('node.color', 'rgba(220,220,220,1)');
  2413. Node34.a('node.fillrect', [0,0,0,0]);
  2414. Node34.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  2415. Node34.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  2416. Node34.a('node.fillgradient', '');
  2417. if (Node34type !== 'rect') {
  2418. Node34.a('node.arcFrom', parseFloat('@arcFrom@'));
  2419. Node34.a('node.arcTo', parseFloat('@arcTo@'));
  2420. Node34.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  2421. }
  2422. if (Node34type === 'arc') {
  2423. Node34.a('node.arcOval', true);
  2424. }
  2425. Node34.setRotation(0*Math.PI/180);
  2426. Node34.borderWidth = Node34BorderWidth;
  2427. Node34.borderFillwidth = Node34BorderWidth;
  2428. dataModel.add(Node34);
  2429. Node34._nodename = 'Node34'
  2430. Node34._nodeType = 'rect';
  2431. zoomNodeList.push({
  2432. node: Node34,
  2433. attr: 'node.borderwidth'
  2434. });
  2435. (function (node, _img) {
  2436. var setWidth = node.setWidth,
  2437. setHeight = node.setHeight;
  2438. node.setWidth = function (width) {
  2439. if (width === this.getWidth()) return ;
  2440. var height = this.getHeight();
  2441. this.a('node.width', width);
  2442. this.a('node.rect', [0,0,width, height]);
  2443. setWidth.apply(this, arguments);
  2444. }
  2445. node.setHeight = function (height) {
  2446. if (height === this.getHeight()) return ;
  2447. var width = this.getWidth();
  2448. this.a('node.height', height);
  2449. this.a('node.rect', [0,0,width, height]);
  2450. setHeight.apply(this, arguments);
  2451. }
  2452. })(Node34, Node34.getImage());var Node35points=[669, 38,669, 158],
  2453. Node35rect=ht.Default.unionPoint([{x:669,y:38},{x:669,y:158}]),
  2454. Node35compspts=[];
  2455. _ratio = GD.getRatioWithRotation(0, ratio);
  2456. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  2457. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  2458. for(var i=0;i<Node35points.length;i++){
  2459. if(i%2==0){
  2460. Node35compspts.push(Node35points[i]-Node35rect.x);
  2461. }else{
  2462. Node35compspts.push(Node35points[i]-Node35rect.y);
  2463. }
  2464. }
  2465. var Node35ptslength=Node35compspts.length;
  2466. if (Node35rect.height === 0) {
  2467. Node35compspts[0] -= 0;
  2468. Node35compspts[Node35ptslength-2] += 0;
  2469. } else if (Node35rect.width === 0){
  2470. Node35compspts[1] -= 0;
  2471. Node35compspts[Node35ptslength-1] += 0;
  2472. } else {
  2473. Node35compspts[0] -= 0;
  2474. Node35compspts[1] -= 0;
  2475. Node35compspts[Node35ptslength-2] += 0;
  2476. Node35compspts[Node35ptslength-1] += 0;
  2477. }
  2478. Node35 = new ht.Node();
  2479. Node35.borderWidth = 1;
  2480. Node35rect.width = Node35rect.width === 0 ? 0.0001 : Node35rect.width;
  2481. Node35rect.height = Node35rect.height === 0 ? 0.0001 : Node35rect.height;
  2482. var Node35endCompspts = [Node35compspts[Node35ptslength-2],Node35compspts[Node35ptslength-1],0,0];
  2483. var Node35startCompspts = [Node35compspts[0],Node35compspts[1],0,0];
  2484. Node35.setImage(GD.getPolyLineJSON());
  2485. Node35.setPosition(Node35rect.x+Node35rect.width/2,Node35rect.y+Node35rect.height/2);
  2486. Node35.setSize(Node35rect.width,Node35rect.height);
  2487. Node35.setStyle("opacity",1);
  2488. Node35.s({'pixelPerfect':true});
  2489. Node35borderwidth=1;
  2490. Node35.setRotation(0);
  2491. dataModel.add(Node35);
  2492. Node35.a('node.points',Node35compspts);
  2493. Node35.a('node.segments',[1,2]);
  2494. Node35.a('node.color','rgba(220,220,220,1)');
  2495. Node35.a('node.borderPattern',getDashStyle("@borderPattern@"));
  2496. Node35.a('node.borderColor','rgba(220,220,220,1)');
  2497. Node35.a('node.background','rgba(220,220,220,1)');
  2498. Node35.a('node.gradient','');
  2499. Node35.a('node.gradientcolor','rgba(220,220,220,1)');
  2500. Node35.a('node.endCompspts',Node35endCompspts);
  2501. Node35.a('node.startCompspts',Node35startCompspts);
  2502. (function (node, img, compspts, endCompspts, startCompspts) {
  2503. var position = node.getPosition(),
  2504. w = node.getWidth()*_ratio.ratioX,
  2505. h = node.getHeight()*_ratio.ratioY;
  2506. function resetPoints(rx, ry) {
  2507. for (var i = 0, len = compspts.length; i < len; i++) {
  2508. if (i%2 === 0) {
  2509. compspts[i]*=rx;
  2510. } else {
  2511. compspts[i]*=ry;
  2512. }
  2513. }
  2514. endCompspts[0] = compspts[compspts.length-2];
  2515. endCompspts[1] = compspts[compspts.length-1];
  2516. endCompspts[2] *= rx;
  2517. endCompspts[3] *= ry;
  2518. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  2519. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  2520. startCompspts[0] = compspts[0];
  2521. startCompspts[1] = compspts[1];
  2522. startCompspts[2] *= rx;
  2523. startCompspts[3] *= ry;
  2524. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  2525. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  2526. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  2527. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  2528. }
  2529. node.setSize(w, h);
  2530. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  2531. node.a('node.width', w);
  2532. node.a('node.height', h);
  2533. resetPoints(_ratio.ratioX, _ratio.ratioY);
  2534. node.borderWidth = 1;
  2535. node.a('node.borderwidth',node.borderWidth);
  2536. node._nodename = 'Node35';
  2537. node._nodeType = 'line';
  2538. zoomNodeList.push({
  2539. node: node,
  2540. attr: 'node.borderwidth'
  2541. });
  2542. var setWidth = node.setWidth,
  2543. setHeight = node.setHeight,
  2544. timer, rx = 1, ry = 1;
  2545. node.setWidth = function (width) {
  2546. var _width = this.getWidth();
  2547. rx = width / _width;
  2548. node.a('node.width', width);
  2549. setWidth.apply(this, arguments);
  2550. resetPoints(rx, 1);
  2551. }
  2552. node.setHeight = function (height) {
  2553. var _height = this.getHeight();
  2554. ry = height / _height;
  2555. node.a('node.height', height);
  2556. setHeight.apply(this, arguments);
  2557. resetPoints(1, ry);
  2558. }
  2559. })(Node35, Node35.getImage(), Node35compspts, Node35endCompspts, Node35startCompspts);
  2560. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2561. var Node36 = new ht.Node();
  2562. var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 64*_ratio.ratioX, Node36height = 16*_ratio.ratioY;
  2563. (function () {
  2564. if (Node36align === 'left') {
  2565. Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
  2566. Node36textWidth = Node36width;
  2567. Node36lineStart = 1;
  2568. } else if (Node36align === 'right') {
  2569. Node36textStart = 0;
  2570. Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
  2571. Node36lineStart = (Node36width - (ht.Default.getTextSize('日发电量', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
  2572. } else if (Node36align === 'center') {
  2573. Node36textStart = -3;
  2574. Node36textWidth = Node36width;
  2575. Node36lineStart = Node36width - ht.Default.getTextSize('日发电量', ' '+ Node36fontSize + 'px "Arial"').width - 11;
  2576. }
  2577. })();
  2578. Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"'))
  2579. Node36.setPosition(515*ratio.ratioX, 48*ratio.ratioY);
  2580. Node36.setWidth(Node36width);
  2581. Node36.setHeight(Node36height);
  2582. Node36._nodeType = 'text';
  2583. Node36._disallowEvert = true;
  2584. Node36.setRotation(0*Math.PI/180);
  2585. Node36.a('node.width', Node36width);
  2586. Node36.a('node.height', Node36height);
  2587. Node36.a('node.rect', [0, 0, Node36width, Node36height]);
  2588. Node36.a('node.bordercolor','rgba(0,0,0,1)');
  2589. Node36.a('node.borderwidth', 0);
  2590. Node36.a('node.background','' || 'rgba(0,0,0,0)');
  2591. Node36.a('node.gradient','');
  2592. Node36.a('node.gradientcolor','');
  2593. Node36.a('node.text','日发电量');
  2594. Node36.a('node.textalign','left');
  2595. Node36.a('node.textvAlign','middle');
  2596. Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
  2597. Node36.a('node.color','rgba(0,0,0,1)');
  2598. Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"');
  2599. Node36.a('node.textvisible',true);
  2600. Node36.a('node.linefeed',false);
  2601. if (false) {
  2602. Node36.a('node.textfunc',function(g) {
  2603. g.beginPath();
  2604. var str=Node36.a('node.text') || '日发电量';
  2605. var color=Node36.a('node.color') || 'rgba(0,0,0,1)';
  2606. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,' '+ Node36fontSize + 'px "Arial"', 0,g);
  2607. });
  2608. }
  2609. if (false) {
  2610. Node36.a('node.underlinepoints',[Node36lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
  2611. Node36.a('node.underlinevisible',false);
  2612. Node36.a('node.underlineBorderWidth', 1);
  2613. }
  2614. dataModel.add(Node36);
  2615. zoomNodeList.push({
  2616. node: Node36,
  2617. borderWidth: 0,
  2618. attr: 'node.borderwidth'
  2619. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2620. var Node37 = new ht.Node();
  2621. var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 64*_ratio.ratioX, Node37height = 16*_ratio.ratioY;
  2622. (function () {
  2623. if (Node37align === 'left') {
  2624. Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9;
  2625. Node37textWidth = Node37width;
  2626. Node37lineStart = 1;
  2627. } else if (Node37align === 'right') {
  2628. Node37textStart = 0;
  2629. Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2;
  2630. Node37lineStart = (Node37width - (ht.Default.getTextSize('月发电量', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5;
  2631. } else if (Node37align === 'center') {
  2632. Node37textStart = -3;
  2633. Node37textWidth = Node37width;
  2634. Node37lineStart = Node37width - ht.Default.getTextSize('月发电量', ' '+ Node37fontSize + 'px "Arial"').width - 11;
  2635. }
  2636. })();
  2637. Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"'))
  2638. Node37.setPosition(515*ratio.ratioX, 74*ratio.ratioY);
  2639. Node37.setWidth(Node37width);
  2640. Node37.setHeight(Node37height);
  2641. Node37._nodeType = 'text';
  2642. Node37._disallowEvert = true;
  2643. Node37.setRotation(0*Math.PI/180);
  2644. Node37.a('node.width', Node37width);
  2645. Node37.a('node.height', Node37height);
  2646. Node37.a('node.rect', [0, 0, Node37width, Node37height]);
  2647. Node37.a('node.bordercolor','rgba(0,0,0,1)');
  2648. Node37.a('node.borderwidth', 0);
  2649. Node37.a('node.background','' || 'rgba(0,0,0,0)');
  2650. Node37.a('node.gradient','');
  2651. Node37.a('node.gradientcolor','');
  2652. Node37.a('node.text','月发电量');
  2653. Node37.a('node.textalign','left');
  2654. Node37.a('node.textvAlign','middle');
  2655. Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]);
  2656. Node37.a('node.color','rgba(0,0,0,1)');
  2657. Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"');
  2658. Node37.a('node.textvisible',true);
  2659. Node37.a('node.linefeed',false);
  2660. if (false) {
  2661. Node37.a('node.textfunc',function(g) {
  2662. g.beginPath();
  2663. var str=Node37.a('node.text') || '月发电量';
  2664. var color=Node37.a('node.color') || 'rgba(0,0,0,1)';
  2665. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37width,Node37height,13.3333*_ratio.ratioY,"left",color,' '+ Node37fontSize + 'px "Arial"', 0,g);
  2666. });
  2667. }
  2668. if (false) {
  2669. Node37.a('node.underlinepoints',[Node37lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]);
  2670. Node37.a('node.underlinevisible',false);
  2671. Node37.a('node.underlineBorderWidth', 1);
  2672. }
  2673. dataModel.add(Node37);
  2674. zoomNodeList.push({
  2675. node: Node37,
  2676. borderWidth: 0,
  2677. attr: 'node.borderwidth'
  2678. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2679. var Node38 = new ht.Node();
  2680. var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 64*_ratio.ratioX, Node38height = 16*_ratio.ratioY;
  2681. (function () {
  2682. if (Node38align === 'left') {
  2683. Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
  2684. Node38textWidth = Node38width;
  2685. Node38lineStart = 1;
  2686. } else if (Node38align === 'right') {
  2687. Node38textStart = 0;
  2688. Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
  2689. Node38lineStart = (Node38width - (ht.Default.getTextSize('年发电量', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
  2690. } else if (Node38align === 'center') {
  2691. Node38textStart = -3;
  2692. Node38textWidth = Node38width;
  2693. Node38lineStart = Node38width - ht.Default.getTextSize('年发电量', ' '+ Node38fontSize + 'px "Arial"').width - 11;
  2694. }
  2695. })();
  2696. Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
  2697. Node38.setPosition(515*ratio.ratioX, 98*ratio.ratioY);
  2698. Node38.setWidth(Node38width);
  2699. Node38.setHeight(Node38height);
  2700. Node38._nodeType = 'text';
  2701. Node38._disallowEvert = true;
  2702. Node38.setRotation(0*Math.PI/180);
  2703. Node38.a('node.width', Node38width);
  2704. Node38.a('node.height', Node38height);
  2705. Node38.a('node.rect', [0, 0, Node38width, Node38height]);
  2706. Node38.a('node.bordercolor','rgba(0,0,0,1)');
  2707. Node38.a('node.borderwidth', 0);
  2708. Node38.a('node.background','' || 'rgba(0,0,0,0)');
  2709. Node38.a('node.gradient','');
  2710. Node38.a('node.gradientcolor','');
  2711. Node38.a('node.text','年发电量');
  2712. Node38.a('node.textalign','left');
  2713. Node38.a('node.textvAlign','middle');
  2714. Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
  2715. Node38.a('node.color','rgba(0,0,0,1)');
  2716. Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
  2717. Node38.a('node.textvisible',true);
  2718. Node38.a('node.linefeed',false);
  2719. if (false) {
  2720. Node38.a('node.textfunc',function(g) {
  2721. g.beginPath();
  2722. var str=Node38.a('node.text') || '年发电量';
  2723. var color=Node38.a('node.color') || 'rgba(0,0,0,1)';
  2724. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
  2725. });
  2726. }
  2727. if (false) {
  2728. Node38.a('node.underlinepoints',[Node38lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('年发电量', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
  2729. Node38.a('node.underlinevisible',false);
  2730. Node38.a('node.underlineBorderWidth', 1);
  2731. }
  2732. dataModel.add(Node38);
  2733. zoomNodeList.push({
  2734. node: Node38,
  2735. borderWidth: 0,
  2736. attr: 'node.borderwidth'
  2737. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2738. var Node39 = new ht.Node();
  2739. var Node39textStart, Node39textWidth, Node39lineStart, Node39align = 'left', Node39fontSize = 13.3333*_ratio.ratioY,Node39width = 95*_ratio.ratioX, Node39height = 16*_ratio.ratioY;
  2740. (function () {
  2741. if (Node39align === 'left') {
  2742. Node39textStart = Node39fontSize * 0.2 > 2 ? Node39fontSize * 0.2 - 4 : Node39fontSize * 0.2 - 9;
  2743. Node39textWidth = Node39width;
  2744. Node39lineStart = 1;
  2745. } else if (Node39align === 'right') {
  2746. Node39textStart = 0;
  2747. Node39textWidth =Node39fontSize <= 8 ? Node39width + Node39fontSize * 0.2 + 6 : Node39width - Node39fontSize * 0.2;
  2748. Node39lineStart = (Node39width - (ht.Default.getTextSize('减排二氧化碳', ' '+ Node39fontSize + 'px "Arial"').width + 6)) * 0.5;
  2749. } else if (Node39align === 'center') {
  2750. Node39textStart = -3;
  2751. Node39textWidth = Node39width;
  2752. Node39lineStart = Node39width - ht.Default.getTextSize('减排二氧化碳', ' '+ Node39fontSize + 'px "Arial"').width - 11;
  2753. }
  2754. })();
  2755. Node39.setImage(GD.getTextJSON(Node39width, Node39height, true, false, false, ' '+ Node39fontSize + 'px "Arial"'))
  2756. Node39.setPosition(530*ratio.ratioX, 124*ratio.ratioY);
  2757. Node39.setWidth(Node39width);
  2758. Node39.setHeight(Node39height);
  2759. Node39._nodeType = 'text';
  2760. Node39._disallowEvert = true;
  2761. Node39.setRotation(0*Math.PI/180);
  2762. Node39.a('node.width', Node39width);
  2763. Node39.a('node.height', Node39height);
  2764. Node39.a('node.rect', [0, 0, Node39width, Node39height]);
  2765. Node39.a('node.bordercolor','rgba(0,0,0,1)');
  2766. Node39.a('node.borderwidth', 0);
  2767. Node39.a('node.background','' || 'rgba(0,0,0,0)');
  2768. Node39.a('node.gradient','');
  2769. Node39.a('node.gradientcolor','');
  2770. Node39.a('node.text','减排二氧化碳');
  2771. Node39.a('node.textalign','left');
  2772. Node39.a('node.textvAlign','middle');
  2773. Node39.a('node.textrect', [Node39textStart, 0, Node39textWidth, Node39height]);
  2774. Node39.a('node.color','rgba(0,0,0,1)');
  2775. Node39.a('node.font',' '+ Node39fontSize + 'px "Arial"');
  2776. Node39.a('node.textvisible',true);
  2777. Node39.a('node.linefeed',false);
  2778. if (false) {
  2779. Node39.a('node.textfunc',function(g) {
  2780. g.beginPath();
  2781. var str=Node39.a('node.text') || '减排二氧化碳';
  2782. var color=Node39.a('node.color') || 'rgba(0,0,0,1)';
  2783. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39width,Node39height,13.3333*_ratio.ratioY,"left",color,' '+ Node39fontSize + 'px "Arial"', 0,g);
  2784. });
  2785. }
  2786. if (false) {
  2787. Node39.a('node.underlinepoints',[Node39lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node39fontSize + 2 , ht.Default.getTextSize('减排二氧化碳', ' '+ Node39fontSize + 'px "Arial"').width + 6, (Node39height - Node39fontSize) * 0.5*_ratio.ratioY + Node39fontSize + 2 ]);
  2788. Node39.a('node.underlinevisible',false);
  2789. Node39.a('node.underlineBorderWidth', 1);
  2790. }
  2791. dataModel.add(Node39);
  2792. zoomNodeList.push({
  2793. node: Node39,
  2794. borderWidth: 0,
  2795. attr: 'node.borderwidth'
  2796. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2797. var Node40 = new ht.Node();
  2798. var Node40textStart, Node40textWidth, Node40lineStart, Node40align = 'left', Node40fontSize = 13.3333*_ratio.ratioY,Node40width = 95*_ratio.ratioX, Node40height = 16*_ratio.ratioY;
  2799. (function () {
  2800. if (Node40align === 'left') {
  2801. Node40textStart = Node40fontSize * 0.2 > 2 ? Node40fontSize * 0.2 - 4 : Node40fontSize * 0.2 - 9;
  2802. Node40textWidth = Node40width;
  2803. Node40lineStart = 1;
  2804. } else if (Node40align === 'right') {
  2805. Node40textStart = 0;
  2806. Node40textWidth =Node40fontSize <= 8 ? Node40width + Node40fontSize * 0.2 + 6 : Node40width - Node40fontSize * 0.2;
  2807. Node40lineStart = (Node40width - (ht.Default.getTextSize('减排二氧化硫', ' '+ Node40fontSize + 'px "Arial"').width + 6)) * 0.5;
  2808. } else if (Node40align === 'center') {
  2809. Node40textStart = -3;
  2810. Node40textWidth = Node40width;
  2811. Node40lineStart = Node40width - ht.Default.getTextSize('减排二氧化硫', ' '+ Node40fontSize + 'px "Arial"').width - 11;
  2812. }
  2813. })();
  2814. Node40.setImage(GD.getTextJSON(Node40width, Node40height, true, false, false, ' '+ Node40fontSize + 'px "Arial"'))
  2815. Node40.setPosition(530*ratio.ratioX, 149*ratio.ratioY);
  2816. Node40.setWidth(Node40width);
  2817. Node40.setHeight(Node40height);
  2818. Node40._nodeType = 'text';
  2819. Node40._disallowEvert = true;
  2820. Node40.setRotation(0*Math.PI/180);
  2821. Node40.a('node.width', Node40width);
  2822. Node40.a('node.height', Node40height);
  2823. Node40.a('node.rect', [0, 0, Node40width, Node40height]);
  2824. Node40.a('node.bordercolor','rgba(0,0,0,1)');
  2825. Node40.a('node.borderwidth', 0);
  2826. Node40.a('node.background','' || 'rgba(0,0,0,0)');
  2827. Node40.a('node.gradient','');
  2828. Node40.a('node.gradientcolor','');
  2829. Node40.a('node.text','减排二氧化硫');
  2830. Node40.a('node.textalign','left');
  2831. Node40.a('node.textvAlign','middle');
  2832. Node40.a('node.textrect', [Node40textStart, 0, Node40textWidth, Node40height]);
  2833. Node40.a('node.color','rgba(0,0,0,1)');
  2834. Node40.a('node.font',' '+ Node40fontSize + 'px "Arial"');
  2835. Node40.a('node.textvisible',true);
  2836. Node40.a('node.linefeed',false);
  2837. if (false) {
  2838. Node40.a('node.textfunc',function(g) {
  2839. g.beginPath();
  2840. var str=Node40.a('node.text') || '减排二氧化硫';
  2841. var color=Node40.a('node.color') || 'rgba(0,0,0,1)';
  2842. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40width,Node40height,13.3333*_ratio.ratioY,"left",color,' '+ Node40fontSize + 'px "Arial"', 0,g);
  2843. });
  2844. }
  2845. if (false) {
  2846. Node40.a('node.underlinepoints',[Node40lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node40fontSize + 2 , ht.Default.getTextSize('减排二氧化硫', ' '+ Node40fontSize + 'px "Arial"').width + 6, (Node40height - Node40fontSize) * 0.5*_ratio.ratioY + Node40fontSize + 2 ]);
  2847. Node40.a('node.underlinevisible',false);
  2848. Node40.a('node.underlineBorderWidth', 1);
  2849. }
  2850. dataModel.add(Node40);
  2851. zoomNodeList.push({
  2852. node: Node40,
  2853. borderWidth: 0,
  2854. attr: 'node.borderwidth'
  2855. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2856. var Node41 = new ht.Node();
  2857. var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 13.3333*_ratio.ratioY,Node41width = 11*_ratio.ratioX, Node41height = 16*_ratio.ratioY;
  2858. (function () {
  2859. if (Node41align === 'left') {
  2860. Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9;
  2861. Node41textWidth = Node41width;
  2862. Node41lineStart = 1;
  2863. } else if (Node41align === 'right') {
  2864. Node41textStart = 0;
  2865. Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2;
  2866. Node41lineStart = (Node41width - (ht.Default.getTextSize('0', 'bold '+ Node41fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  2867. } else if (Node41align === 'center') {
  2868. Node41textStart = -3;
  2869. Node41textWidth = Node41width;
  2870. Node41lineStart = Node41width - ht.Default.getTextSize('0', 'bold '+ Node41fontSize + 'px "UniDreamLED"').width - 11;
  2871. }
  2872. })();
  2873. Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, 'bold '+ Node41fontSize + 'px "UniDreamLED"'))
  2874. Node41.setPosition(621*ratio.ratioX, 48*ratio.ratioY);
  2875. Node41.setWidth(Node41width);
  2876. Node41.setHeight(Node41height);
  2877. Node41._nodeType = 'text';
  2878. Node41._disallowEvert = true;
  2879. Node41.setRotation(0*Math.PI/180);
  2880. Node41.a('node.width', Node41width);
  2881. Node41.a('node.height', Node41height);
  2882. Node41.a('node.rect', [0, 0, Node41width, Node41height]);
  2883. Node41.a('node.bordercolor','rgba(0,0,0,1)');
  2884. Node41.a('node.borderwidth', 0);
  2885. Node41.a('node.background','' || 'rgba(0,0,0,0)');
  2886. Node41.a('node.gradient','');
  2887. Node41.a('node.gradientcolor','');
  2888. Node41.a('node.text','0');
  2889. Node41.a('node.textalign','left');
  2890. Node41.a('node.textvAlign','middle');
  2891. Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]);
  2892. Node41.a('node.color','rgba(0,0,0,1)');
  2893. Node41.a('node.font','bold '+ Node41fontSize + 'px "UniDreamLED"');
  2894. Node41.a('node.textvisible',true);
  2895. Node41.a('node.linefeed',false);
  2896. if (false) {
  2897. Node41.a('node.textfunc',function(g) {
  2898. g.beginPath();
  2899. var str=Node41.a('node.text') || '0';
  2900. var color=Node41.a('node.color') || 'rgba(0,0,0,1)';
  2901. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41width,Node41height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node41fontSize + 'px "UniDreamLED"', 0,g);
  2902. });
  2903. }
  2904. if (false) {
  2905. Node41.a('node.underlinepoints',[Node41lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node41fontSize + 'px "UniDreamLED"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]);
  2906. Node41.a('node.underlinevisible',false);
  2907. Node41.a('node.underlineBorderWidth', 1);
  2908. }
  2909. dataModel.add(Node41);
  2910. zoomNodeList.push({
  2911. node: Node41,
  2912. borderWidth: 0,
  2913. attr: 'node.borderwidth'
  2914. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2915. var Node42 = new ht.Node();
  2916. var Node42textStart, Node42textWidth, Node42lineStart, Node42align = 'left', Node42fontSize = 13.3333*_ratio.ratioY,Node42width = 11*_ratio.ratioX, Node42height = 16*_ratio.ratioY;
  2917. (function () {
  2918. if (Node42align === 'left') {
  2919. Node42textStart = Node42fontSize * 0.2 > 2 ? Node42fontSize * 0.2 - 4 : Node42fontSize * 0.2 - 9;
  2920. Node42textWidth = Node42width;
  2921. Node42lineStart = 1;
  2922. } else if (Node42align === 'right') {
  2923. Node42textStart = 0;
  2924. Node42textWidth =Node42fontSize <= 8 ? Node42width + Node42fontSize * 0.2 + 6 : Node42width - Node42fontSize * 0.2;
  2925. Node42lineStart = (Node42width - (ht.Default.getTextSize('0', 'bold '+ Node42fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  2926. } else if (Node42align === 'center') {
  2927. Node42textStart = -3;
  2928. Node42textWidth = Node42width;
  2929. Node42lineStart = Node42width - ht.Default.getTextSize('0', 'bold '+ Node42fontSize + 'px "UniDreamLED"').width - 11;
  2930. }
  2931. })();
  2932. Node42.setImage(GD.getTextJSON(Node42width, Node42height, true, false, false, 'bold '+ Node42fontSize + 'px "UniDreamLED"'))
  2933. Node42.setPosition(621*ratio.ratioX, 72*ratio.ratioY);
  2934. Node42.setWidth(Node42width);
  2935. Node42.setHeight(Node42height);
  2936. Node42._nodeType = 'text';
  2937. Node42._disallowEvert = true;
  2938. Node42.setRotation(0*Math.PI/180);
  2939. Node42.a('node.width', Node42width);
  2940. Node42.a('node.height', Node42height);
  2941. Node42.a('node.rect', [0, 0, Node42width, Node42height]);
  2942. Node42.a('node.bordercolor','rgba(0,0,0,1)');
  2943. Node42.a('node.borderwidth', 0);
  2944. Node42.a('node.background','' || 'rgba(0,0,0,0)');
  2945. Node42.a('node.gradient','');
  2946. Node42.a('node.gradientcolor','');
  2947. Node42.a('node.text','0');
  2948. Node42.a('node.textalign','left');
  2949. Node42.a('node.textvAlign','middle');
  2950. Node42.a('node.textrect', [Node42textStart, 0, Node42textWidth, Node42height]);
  2951. Node42.a('node.color','rgba(0,0,0,1)');
  2952. Node42.a('node.font','bold '+ Node42fontSize + 'px "UniDreamLED"');
  2953. Node42.a('node.textvisible',true);
  2954. Node42.a('node.linefeed',false);
  2955. if (false) {
  2956. Node42.a('node.textfunc',function(g) {
  2957. g.beginPath();
  2958. var str=Node42.a('node.text') || '0';
  2959. var color=Node42.a('node.color') || 'rgba(0,0,0,1)';
  2960. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42width,Node42height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node42fontSize + 'px "UniDreamLED"', 0,g);
  2961. });
  2962. }
  2963. if (false) {
  2964. Node42.a('node.underlinepoints',[Node42lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node42fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node42fontSize + 'px "UniDreamLED"').width + 6, (Node42height - Node42fontSize) * 0.5*_ratio.ratioY + Node42fontSize + 2 ]);
  2965. Node42.a('node.underlinevisible',false);
  2966. Node42.a('node.underlineBorderWidth', 1);
  2967. }
  2968. dataModel.add(Node42);
  2969. zoomNodeList.push({
  2970. node: Node42,
  2971. borderWidth: 0,
  2972. attr: 'node.borderwidth'
  2973. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  2974. var Node43 = new ht.Node();
  2975. var Node43textStart, Node43textWidth, Node43lineStart, Node43align = 'left', Node43fontSize = 13.3333*_ratio.ratioY,Node43width = 11*_ratio.ratioX, Node43height = 16*_ratio.ratioY;
  2976. (function () {
  2977. if (Node43align === 'left') {
  2978. Node43textStart = Node43fontSize * 0.2 > 2 ? Node43fontSize * 0.2 - 4 : Node43fontSize * 0.2 - 9;
  2979. Node43textWidth = Node43width;
  2980. Node43lineStart = 1;
  2981. } else if (Node43align === 'right') {
  2982. Node43textStart = 0;
  2983. Node43textWidth =Node43fontSize <= 8 ? Node43width + Node43fontSize * 0.2 + 6 : Node43width - Node43fontSize * 0.2;
  2984. Node43lineStart = (Node43width - (ht.Default.getTextSize('0', 'bold '+ Node43fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  2985. } else if (Node43align === 'center') {
  2986. Node43textStart = -3;
  2987. Node43textWidth = Node43width;
  2988. Node43lineStart = Node43width - ht.Default.getTextSize('0', 'bold '+ Node43fontSize + 'px "UniDreamLED"').width - 11;
  2989. }
  2990. })();
  2991. Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, 'bold '+ Node43fontSize + 'px "UniDreamLED"'))
  2992. Node43.setPosition(621*ratio.ratioX, 97*ratio.ratioY);
  2993. Node43.setWidth(Node43width);
  2994. Node43.setHeight(Node43height);
  2995. Node43._nodeType = 'text';
  2996. Node43._disallowEvert = true;
  2997. Node43.setRotation(0*Math.PI/180);
  2998. Node43.a('node.width', Node43width);
  2999. Node43.a('node.height', Node43height);
  3000. Node43.a('node.rect', [0, 0, Node43width, Node43height]);
  3001. Node43.a('node.bordercolor','rgba(0,0,0,1)');
  3002. Node43.a('node.borderwidth', 0);
  3003. Node43.a('node.background','' || 'rgba(0,0,0,0)');
  3004. Node43.a('node.gradient','');
  3005. Node43.a('node.gradientcolor','');
  3006. Node43.a('node.text','0');
  3007. Node43.a('node.textalign','left');
  3008. Node43.a('node.textvAlign','middle');
  3009. Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]);
  3010. Node43.a('node.color','rgba(0,0,0,1)');
  3011. Node43.a('node.font','bold '+ Node43fontSize + 'px "UniDreamLED"');
  3012. Node43.a('node.textvisible',true);
  3013. Node43.a('node.linefeed',false);
  3014. if (false) {
  3015. Node43.a('node.textfunc',function(g) {
  3016. g.beginPath();
  3017. var str=Node43.a('node.text') || '0';
  3018. var color=Node43.a('node.color') || 'rgba(0,0,0,1)';
  3019. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node43width,Node43height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node43fontSize + 'px "UniDreamLED"', 0,g);
  3020. });
  3021. }
  3022. if (false) {
  3023. Node43.a('node.underlinepoints',[Node43lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node43fontSize + 'px "UniDreamLED"').width + 6, (Node43height - Node43fontSize) * 0.5*_ratio.ratioY + Node43fontSize + 2 ]);
  3024. Node43.a('node.underlinevisible',false);
  3025. Node43.a('node.underlineBorderWidth', 1);
  3026. }
  3027. dataModel.add(Node43);
  3028. zoomNodeList.push({
  3029. node: Node43,
  3030. borderWidth: 0,
  3031. attr: 'node.borderwidth'
  3032. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3033. var Node44 = new ht.Node();
  3034. var Node44textStart, Node44textWidth, Node44lineStart, Node44align = 'left', Node44fontSize = 13.3333*_ratio.ratioY,Node44width = 9*_ratio.ratioX, Node44height = 16*_ratio.ratioY;
  3035. (function () {
  3036. if (Node44align === 'left') {
  3037. Node44textStart = Node44fontSize * 0.2 > 2 ? Node44fontSize * 0.2 - 4 : Node44fontSize * 0.2 - 9;
  3038. Node44textWidth = Node44width;
  3039. Node44lineStart = 1;
  3040. } else if (Node44align === 'right') {
  3041. Node44textStart = 0;
  3042. Node44textWidth =Node44fontSize <= 8 ? Node44width + Node44fontSize * 0.2 + 6 : Node44width - Node44fontSize * 0.2;
  3043. Node44lineStart = (Node44width - (ht.Default.getTextSize('-', 'bold '+ Node44fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  3044. } else if (Node44align === 'center') {
  3045. Node44textStart = -3;
  3046. Node44textWidth = Node44width;
  3047. Node44lineStart = Node44width - ht.Default.getTextSize('-', 'bold '+ Node44fontSize + 'px "UniDreamLED"').width - 11;
  3048. }
  3049. })();
  3050. Node44.setImage(GD.getTextJSON(Node44width, Node44height, true, false, false, 'bold '+ Node44fontSize + 'px "UniDreamLED"'))
  3051. Node44.setPosition(620*ratio.ratioX, 121*ratio.ratioY);
  3052. Node44.setWidth(Node44width);
  3053. Node44.setHeight(Node44height);
  3054. Node44._nodeType = 'text';
  3055. Node44._disallowEvert = true;
  3056. Node44.setRotation(0*Math.PI/180);
  3057. Node44.a('node.width', Node44width);
  3058. Node44.a('node.height', Node44height);
  3059. Node44.a('node.rect', [0, 0, Node44width, Node44height]);
  3060. Node44.a('node.bordercolor','rgba(0,0,0,1)');
  3061. Node44.a('node.borderwidth', 0);
  3062. Node44.a('node.background','' || 'rgba(0,0,0,0)');
  3063. Node44.a('node.gradient','');
  3064. Node44.a('node.gradientcolor','');
  3065. Node44.a('node.text','-');
  3066. Node44.a('node.textalign','left');
  3067. Node44.a('node.textvAlign','middle');
  3068. Node44.a('node.textrect', [Node44textStart, 0, Node44textWidth, Node44height]);
  3069. Node44.a('node.color','rgba(0,0,0,1)');
  3070. Node44.a('node.font','bold '+ Node44fontSize + 'px "UniDreamLED"');
  3071. Node44.a('node.textvisible',true);
  3072. Node44.a('node.linefeed',false);
  3073. if (false) {
  3074. Node44.a('node.textfunc',function(g) {
  3075. g.beginPath();
  3076. var str=Node44.a('node.text') || '-';
  3077. var color=Node44.a('node.color') || 'rgba(0,0,0,1)';
  3078. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44width,Node44height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node44fontSize + 'px "UniDreamLED"', 0,g);
  3079. });
  3080. }
  3081. if (false) {
  3082. Node44.a('node.underlinepoints',[Node44lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node44fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node44fontSize + 'px "UniDreamLED"').width + 6, (Node44height - Node44fontSize) * 0.5*_ratio.ratioY + Node44fontSize + 2 ]);
  3083. Node44.a('node.underlinevisible',false);
  3084. Node44.a('node.underlineBorderWidth', 1);
  3085. }
  3086. dataModel.add(Node44);
  3087. zoomNodeList.push({
  3088. node: Node44,
  3089. borderWidth: 0,
  3090. attr: 'node.borderwidth'
  3091. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3092. var Node45 = new ht.Node();
  3093. var Node45textStart, Node45textWidth, Node45lineStart, Node45align = 'left', Node45fontSize = 13.3333*_ratio.ratioY,Node45width = 39*_ratio.ratioX, Node45height = 16*_ratio.ratioY;
  3094. (function () {
  3095. if (Node45align === 'left') {
  3096. Node45textStart = Node45fontSize * 0.2 > 2 ? Node45fontSize * 0.2 - 4 : Node45fontSize * 0.2 - 9;
  3097. Node45textWidth = Node45width;
  3098. Node45lineStart = 1;
  3099. } else if (Node45align === 'right') {
  3100. Node45textStart = 0;
  3101. Node45textWidth =Node45fontSize <= 8 ? Node45width + Node45fontSize * 0.2 + 6 : Node45width - Node45fontSize * 0.2;
  3102. Node45lineStart = (Node45width - (ht.Default.getTextSize('万kW', ' '+ Node45fontSize + 'px "Arial"').width + 6)) * 0.5;
  3103. } else if (Node45align === 'center') {
  3104. Node45textStart = -3;
  3105. Node45textWidth = Node45width;
  3106. Node45lineStart = Node45width - ht.Default.getTextSize('万kW', ' '+ Node45fontSize + 'px "Arial"').width - 11;
  3107. }
  3108. })();
  3109. Node45.setImage(GD.getTextJSON(Node45width, Node45height, true, false, false, ' '+ Node45fontSize + 'px "Arial"'))
  3110. Node45.setPosition(698*ratio.ratioX, 47*ratio.ratioY);
  3111. Node45.setWidth(Node45width);
  3112. Node45.setHeight(Node45height);
  3113. Node45._nodeType = 'text';
  3114. Node45._disallowEvert = true;
  3115. Node45.setRotation(0*Math.PI/180);
  3116. Node45.a('node.width', Node45width);
  3117. Node45.a('node.height', Node45height);
  3118. Node45.a('node.rect', [0, 0, Node45width, Node45height]);
  3119. Node45.a('node.bordercolor','rgba(169,169,169,1)');
  3120. Node45.a('node.borderwidth', 0);
  3121. Node45.a('node.background','' || 'rgba(0,0,0,0)');
  3122. Node45.a('node.gradient','');
  3123. Node45.a('node.gradientcolor','');
  3124. Node45.a('node.text','万kW');
  3125. Node45.a('node.textalign','left');
  3126. Node45.a('node.textvAlign','middle');
  3127. Node45.a('node.textrect', [Node45textStart, 0, Node45textWidth, Node45height]);
  3128. Node45.a('node.color','rgba(169,169,169,1)');
  3129. Node45.a('node.font',' '+ Node45fontSize + 'px "Arial"');
  3130. Node45.a('node.textvisible',true);
  3131. Node45.a('node.linefeed',false);
  3132. if (false) {
  3133. Node45.a('node.textfunc',function(g) {
  3134. g.beginPath();
  3135. var str=Node45.a('node.text') || '万kW';
  3136. var color=Node45.a('node.color') || 'rgba(169,169,169,1)';
  3137. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node45width,Node45height,13.3333*_ratio.ratioY,"left",color,' '+ Node45fontSize + 'px "Arial"', 0,g);
  3138. });
  3139. }
  3140. if (false) {
  3141. Node45.a('node.underlinepoints',[Node45lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node45fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node45fontSize + 'px "Arial"').width + 6, (Node45height - Node45fontSize) * 0.5*_ratio.ratioY + Node45fontSize + 2 ]);
  3142. Node45.a('node.underlinevisible',false);
  3143. Node45.a('node.underlineBorderWidth', 1);
  3144. }
  3145. dataModel.add(Node45);
  3146. zoomNodeList.push({
  3147. node: Node45,
  3148. borderWidth: 0,
  3149. attr: 'node.borderwidth'
  3150. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3151. var Node46 = new ht.Node();
  3152. var Node46textStart, Node46textWidth, Node46lineStart, Node46align = 'left', Node46fontSize = 13.3333*_ratio.ratioY,Node46width = 9*_ratio.ratioX, Node46height = 16*_ratio.ratioY;
  3153. (function () {
  3154. if (Node46align === 'left') {
  3155. Node46textStart = Node46fontSize * 0.2 > 2 ? Node46fontSize * 0.2 - 4 : Node46fontSize * 0.2 - 9;
  3156. Node46textWidth = Node46width;
  3157. Node46lineStart = 1;
  3158. } else if (Node46align === 'right') {
  3159. Node46textStart = 0;
  3160. Node46textWidth =Node46fontSize <= 8 ? Node46width + Node46fontSize * 0.2 + 6 : Node46width - Node46fontSize * 0.2;
  3161. Node46lineStart = (Node46width - (ht.Default.getTextSize('-', 'bold '+ Node46fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  3162. } else if (Node46align === 'center') {
  3163. Node46textStart = -3;
  3164. Node46textWidth = Node46width;
  3165. Node46lineStart = Node46width - ht.Default.getTextSize('-', 'bold '+ Node46fontSize + 'px "UniDreamLED"').width - 11;
  3166. }
  3167. })();
  3168. Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, 'bold '+ Node46fontSize + 'px "UniDreamLED"'))
  3169. Node46.setPosition(620*ratio.ratioX, 146*ratio.ratioY);
  3170. Node46.setWidth(Node46width);
  3171. Node46.setHeight(Node46height);
  3172. Node46._nodeType = 'text';
  3173. Node46._disallowEvert = true;
  3174. Node46.setRotation(0*Math.PI/180);
  3175. Node46.a('node.width', Node46width);
  3176. Node46.a('node.height', Node46height);
  3177. Node46.a('node.rect', [0, 0, Node46width, Node46height]);
  3178. Node46.a('node.bordercolor','rgba(0,0,0,1)');
  3179. Node46.a('node.borderwidth', 0);
  3180. Node46.a('node.background','' || 'rgba(0,0,0,0)');
  3181. Node46.a('node.gradient','');
  3182. Node46.a('node.gradientcolor','');
  3183. Node46.a('node.text','-');
  3184. Node46.a('node.textalign','left');
  3185. Node46.a('node.textvAlign','middle');
  3186. Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]);
  3187. Node46.a('node.color','rgba(0,0,0,1)');
  3188. Node46.a('node.font','bold '+ Node46fontSize + 'px "UniDreamLED"');
  3189. Node46.a('node.textvisible',true);
  3190. Node46.a('node.linefeed',false);
  3191. if (false) {
  3192. Node46.a('node.textfunc',function(g) {
  3193. g.beginPath();
  3194. var str=Node46.a('node.text') || '-';
  3195. var color=Node46.a('node.color') || 'rgba(0,0,0,1)';
  3196. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46width,Node46height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node46fontSize + 'px "UniDreamLED"', 0,g);
  3197. });
  3198. }
  3199. if (false) {
  3200. Node46.a('node.underlinepoints',[Node46lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node46fontSize + 'px "UniDreamLED"').width + 6, (Node46height - Node46fontSize) * 0.5*_ratio.ratioY + Node46fontSize + 2 ]);
  3201. Node46.a('node.underlinevisible',false);
  3202. Node46.a('node.underlineBorderWidth', 1);
  3203. }
  3204. dataModel.add(Node46);
  3205. zoomNodeList.push({
  3206. node: Node46,
  3207. borderWidth: 0,
  3208. attr: 'node.borderwidth'
  3209. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3210. var Node47 = new ht.Node();
  3211. var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 39*_ratio.ratioX, Node47height = 16*_ratio.ratioY;
  3212. (function () {
  3213. if (Node47align === 'left') {
  3214. Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
  3215. Node47textWidth = Node47width;
  3216. Node47lineStart = 1;
  3217. } else if (Node47align === 'right') {
  3218. Node47textStart = 0;
  3219. Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
  3220. Node47lineStart = (Node47width - (ht.Default.getTextSize('万kW', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5;
  3221. } else if (Node47align === 'center') {
  3222. Node47textStart = -3;
  3223. Node47textWidth = Node47width;
  3224. Node47lineStart = Node47width - ht.Default.getTextSize('万kW', ' '+ Node47fontSize + 'px "Arial"').width - 11;
  3225. }
  3226. })();
  3227. Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"'))
  3228. Node47.setPosition(698*ratio.ratioX, 73*ratio.ratioY);
  3229. Node47.setWidth(Node47width);
  3230. Node47.setHeight(Node47height);
  3231. Node47._nodeType = 'text';
  3232. Node47._disallowEvert = true;
  3233. Node47.setRotation(0*Math.PI/180);
  3234. Node47.a('node.width', Node47width);
  3235. Node47.a('node.height', Node47height);
  3236. Node47.a('node.rect', [0, 0, Node47width, Node47height]);
  3237. Node47.a('node.bordercolor','rgba(169,169,169,1)');
  3238. Node47.a('node.borderwidth', 0);
  3239. Node47.a('node.background','' || 'rgba(0,0,0,0)');
  3240. Node47.a('node.gradient','');
  3241. Node47.a('node.gradientcolor','');
  3242. Node47.a('node.text','万kW');
  3243. Node47.a('node.textalign','left');
  3244. Node47.a('node.textvAlign','middle');
  3245. Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
  3246. Node47.a('node.color','rgba(169,169,169,1)');
  3247. Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"');
  3248. Node47.a('node.textvisible',true);
  3249. Node47.a('node.linefeed',false);
  3250. if (false) {
  3251. Node47.a('node.textfunc',function(g) {
  3252. g.beginPath();
  3253. var str=Node47.a('node.text') || '万kW';
  3254. var color=Node47.a('node.color') || 'rgba(169,169,169,1)';
  3255. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "Arial"', 0,g);
  3256. });
  3257. }
  3258. if (false) {
  3259. Node47.a('node.underlinepoints',[Node47lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
  3260. Node47.a('node.underlinevisible',false);
  3261. Node47.a('node.underlineBorderWidth', 1);
  3262. }
  3263. dataModel.add(Node47);
  3264. zoomNodeList.push({
  3265. node: Node47,
  3266. borderWidth: 0,
  3267. attr: 'node.borderwidth'
  3268. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3269. var Node48 = new ht.Node();
  3270. var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'left', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 39*_ratio.ratioX, Node48height = 16*_ratio.ratioY;
  3271. (function () {
  3272. if (Node48align === 'left') {
  3273. Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9;
  3274. Node48textWidth = Node48width;
  3275. Node48lineStart = 1;
  3276. } else if (Node48align === 'right') {
  3277. Node48textStart = 0;
  3278. Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2;
  3279. Node48lineStart = (Node48width - (ht.Default.getTextSize('万kW', ' '+ Node48fontSize + 'px "Arial"').width + 6)) * 0.5;
  3280. } else if (Node48align === 'center') {
  3281. Node48textStart = -3;
  3282. Node48textWidth = Node48width;
  3283. Node48lineStart = Node48width - ht.Default.getTextSize('万kW', ' '+ Node48fontSize + 'px "Arial"').width - 11;
  3284. }
  3285. })();
  3286. Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "Arial"'))
  3287. Node48.setPosition(698*ratio.ratioX, 98*ratio.ratioY);
  3288. Node48.setWidth(Node48width);
  3289. Node48.setHeight(Node48height);
  3290. Node48._nodeType = 'text';
  3291. Node48._disallowEvert = true;
  3292. Node48.setRotation(0*Math.PI/180);
  3293. Node48.a('node.width', Node48width);
  3294. Node48.a('node.height', Node48height);
  3295. Node48.a('node.rect', [0, 0, Node48width, Node48height]);
  3296. Node48.a('node.bordercolor','rgba(169,169,169,1)');
  3297. Node48.a('node.borderwidth', 0);
  3298. Node48.a('node.background','' || 'rgba(0,0,0,0)');
  3299. Node48.a('node.gradient','');
  3300. Node48.a('node.gradientcolor','');
  3301. Node48.a('node.text','万kW');
  3302. Node48.a('node.textalign','left');
  3303. Node48.a('node.textvAlign','middle');
  3304. Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]);
  3305. Node48.a('node.color','rgba(169,169,169,1)');
  3306. Node48.a('node.font',' '+ Node48fontSize + 'px "Arial"');
  3307. Node48.a('node.textvisible',true);
  3308. Node48.a('node.linefeed',false);
  3309. if (false) {
  3310. Node48.a('node.textfunc',function(g) {
  3311. g.beginPath();
  3312. var str=Node48.a('node.text') || '万kW';
  3313. var color=Node48.a('node.color') || 'rgba(169,169,169,1)';
  3314. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"left",color,' '+ Node48fontSize + 'px "Arial"', 0,g);
  3315. });
  3316. }
  3317. if (false) {
  3318. Node48.a('node.underlinepoints',[Node48lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node48fontSize + 'px "Arial"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]);
  3319. Node48.a('node.underlinevisible',false);
  3320. Node48.a('node.underlineBorderWidth', 1);
  3321. }
  3322. dataModel.add(Node48);
  3323. zoomNodeList.push({
  3324. node: Node48,
  3325. borderWidth: 0,
  3326. attr: 'node.borderwidth'
  3327. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3328. var Node49 = new ht.Node();
  3329. var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 19*_ratio.ratioX, Node49height = 16*_ratio.ratioY;
  3330. (function () {
  3331. if (Node49align === 'left') {
  3332. Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
  3333. Node49textWidth = Node49width;
  3334. Node49lineStart = 1;
  3335. } else if (Node49align === 'right') {
  3336. Node49textStart = 0;
  3337. Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
  3338. Node49lineStart = (Node49width - (ht.Default.getTextSize('吨', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5;
  3339. } else if (Node49align === 'center') {
  3340. Node49textStart = -3;
  3341. Node49textWidth = Node49width;
  3342. Node49lineStart = Node49width - ht.Default.getTextSize('吨', ' '+ Node49fontSize + 'px "Arial"').width - 11;
  3343. }
  3344. })();
  3345. Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
  3346. Node49.setPosition(688*ratio.ratioX, 125*ratio.ratioY);
  3347. Node49.setWidth(Node49width);
  3348. Node49.setHeight(Node49height);
  3349. Node49._nodeType = 'text';
  3350. Node49._disallowEvert = true;
  3351. Node49.setRotation(0*Math.PI/180);
  3352. Node49.a('node.width', Node49width);
  3353. Node49.a('node.height', Node49height);
  3354. Node49.a('node.rect', [0, 0, Node49width, Node49height]);
  3355. Node49.a('node.bordercolor','rgba(169,169,169,1)');
  3356. Node49.a('node.borderwidth', 0);
  3357. Node49.a('node.background','' || 'rgba(0,0,0,0)');
  3358. Node49.a('node.gradient','');
  3359. Node49.a('node.gradientcolor','');
  3360. Node49.a('node.text','吨');
  3361. Node49.a('node.textalign','left');
  3362. Node49.a('node.textvAlign','middle');
  3363. Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
  3364. Node49.a('node.color','rgba(169,169,169,1)');
  3365. Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"');
  3366. Node49.a('node.textvisible',true);
  3367. Node49.a('node.linefeed',false);
  3368. if (false) {
  3369. Node49.a('node.textfunc',function(g) {
  3370. g.beginPath();
  3371. var str=Node49.a('node.text') || '吨';
  3372. var color=Node49.a('node.color') || 'rgba(169,169,169,1)';
  3373. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
  3374. });
  3375. }
  3376. if (false) {
  3377. Node49.a('node.underlinepoints',[Node49lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
  3378. Node49.a('node.underlinevisible',false);
  3379. Node49.a('node.underlineBorderWidth', 1);
  3380. }
  3381. dataModel.add(Node49);
  3382. zoomNodeList.push({
  3383. node: Node49,
  3384. borderWidth: 0,
  3385. attr: 'node.borderwidth'
  3386. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3387. var Node50 = new ht.Node();
  3388. var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 19*_ratio.ratioX, Node50height = 16*_ratio.ratioY;
  3389. (function () {
  3390. if (Node50align === 'left') {
  3391. Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
  3392. Node50textWidth = Node50width;
  3393. Node50lineStart = 1;
  3394. } else if (Node50align === 'right') {
  3395. Node50textStart = 0;
  3396. Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
  3397. Node50lineStart = (Node50width - (ht.Default.getTextSize('吨', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
  3398. } else if (Node50align === 'center') {
  3399. Node50textStart = -3;
  3400. Node50textWidth = Node50width;
  3401. Node50lineStart = Node50width - ht.Default.getTextSize('吨', ' '+ Node50fontSize + 'px "Arial"').width - 11;
  3402. }
  3403. })();
  3404. Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
  3405. Node50.setPosition(688*ratio.ratioX, 147*ratio.ratioY);
  3406. Node50.setWidth(Node50width);
  3407. Node50.setHeight(Node50height);
  3408. Node50._nodeType = 'text';
  3409. Node50._disallowEvert = true;
  3410. Node50.setRotation(0*Math.PI/180);
  3411. Node50.a('node.width', Node50width);
  3412. Node50.a('node.height', Node50height);
  3413. Node50.a('node.rect', [0, 0, Node50width, Node50height]);
  3414. Node50.a('node.bordercolor','rgba(169,169,169,1)');
  3415. Node50.a('node.borderwidth', 0);
  3416. Node50.a('node.background','' || 'rgba(0,0,0,0)');
  3417. Node50.a('node.gradient','');
  3418. Node50.a('node.gradientcolor','');
  3419. Node50.a('node.text','吨');
  3420. Node50.a('node.textalign','left');
  3421. Node50.a('node.textvAlign','middle');
  3422. Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
  3423. Node50.a('node.color','rgba(169,169,169,1)');
  3424. Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
  3425. Node50.a('node.textvisible',true);
  3426. Node50.a('node.linefeed',false);
  3427. if (false) {
  3428. Node50.a('node.textfunc',function(g) {
  3429. g.beginPath();
  3430. var str=Node50.a('node.text') || '吨';
  3431. var color=Node50.a('node.color') || 'rgba(169,169,169,1)';
  3432. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
  3433. });
  3434. }
  3435. if (false) {
  3436. Node50.a('node.underlinepoints',[Node50lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
  3437. Node50.a('node.underlinevisible',false);
  3438. Node50.a('node.underlineBorderWidth', 1);
  3439. }
  3440. dataModel.add(Node50);
  3441. zoomNodeList.push({
  3442. node: Node50,
  3443. borderWidth: 0,
  3444. attr: 'node.borderwidth'
  3445. }); var Node51points=[481, 62,758, 62],
  3446. Node51rect=ht.Default.unionPoint([{x:481,y:62},{x:758,y:62}]),
  3447. Node51compspts=[];
  3448. _ratio = GD.getRatioWithRotation(0, ratio);
  3449. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  3450. _endratio = GD.getRatioWithRotation(0, ratio);
  3451. for(var i=0;i<Node51points.length;i++){
  3452. if(i%2==0){
  3453. Node51compspts.push(Node51points[i]-Node51rect.x);
  3454. }else{
  3455. Node51compspts.push(Node51points[i]-Node51rect.y);
  3456. }
  3457. }
  3458. var Node51ptslength=Node51compspts.length;
  3459. if (Node51rect.height === 0) {
  3460. Node51compspts[0] -= 0;
  3461. Node51compspts[Node51ptslength-2] += 0;
  3462. } else if (Node51rect.width === 0){
  3463. Node51compspts[1] -= 0;
  3464. Node51compspts[Node51ptslength-1] += 0;
  3465. } else {
  3466. Node51compspts[0] -= 0;
  3467. Node51compspts[1] -= 0;
  3468. Node51compspts[Node51ptslength-2] += 0;
  3469. Node51compspts[Node51ptslength-1] += 0;
  3470. }
  3471. Node51 = new ht.Node();
  3472. Node51.borderWidth = 1;
  3473. Node51rect.width = Node51rect.width === 0 ? 0.0001 : Node51rect.width;
  3474. Node51rect.height = Node51rect.height === 0 ? 0.0001 : Node51rect.height;
  3475. var Node51endCompspts = [Node51compspts[Node51ptslength-2],Node51compspts[Node51ptslength-1],0,0];
  3476. var Node51startCompspts = [Node51compspts[0],Node51compspts[1],0,0];
  3477. Node51.setImage(GD.getPolyLineJSON());
  3478. Node51.setPosition(Node51rect.x+Node51rect.width/2,Node51rect.y+Node51rect.height/2);
  3479. Node51.setSize(Node51rect.width,Node51rect.height);
  3480. Node51.setStyle("opacity",1);
  3481. Node51.s({'pixelPerfect':true});
  3482. Node51borderwidth=1;
  3483. Node51.setRotation(0);
  3484. dataModel.add(Node51);
  3485. Node51.a('node.points',Node51compspts);
  3486. Node51.a('node.segments',[1,2]);
  3487. Node51.a('node.color','rgba(220,220,220,1)');
  3488. Node51.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3489. Node51.a('node.borderColor','rgba(220,220,220,1)');
  3490. Node51.a('node.background','rgba(220,220,220,1)');
  3491. Node51.a('node.gradient','');
  3492. Node51.a('node.gradientcolor','rgba(220,220,220,1)');
  3493. Node51.a('node.endCompspts',Node51endCompspts);
  3494. Node51.a('node.startCompspts',Node51startCompspts);
  3495. (function (node, img, compspts, endCompspts, startCompspts) {
  3496. var position = node.getPosition(),
  3497. w = node.getWidth()*_ratio.ratioX,
  3498. h = node.getHeight()*_ratio.ratioY;
  3499. function resetPoints(rx, ry) {
  3500. for (var i = 0, len = compspts.length; i < len; i++) {
  3501. if (i%2 === 0) {
  3502. compspts[i]*=rx;
  3503. } else {
  3504. compspts[i]*=ry;
  3505. }
  3506. }
  3507. endCompspts[0] = compspts[compspts.length-2];
  3508. endCompspts[1] = compspts[compspts.length-1];
  3509. endCompspts[2] *= rx;
  3510. endCompspts[3] *= ry;
  3511. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3512. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3513. startCompspts[0] = compspts[0];
  3514. startCompspts[1] = compspts[1];
  3515. startCompspts[2] *= rx;
  3516. startCompspts[3] *= ry;
  3517. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3518. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3519. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3520. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3521. }
  3522. node.setSize(w, h);
  3523. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3524. node.a('node.width', w);
  3525. node.a('node.height', h);
  3526. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3527. node.borderWidth = 1;
  3528. node.a('node.borderwidth',node.borderWidth);
  3529. node._nodename = 'Node51';
  3530. node._nodeType = 'line';
  3531. zoomNodeList.push({
  3532. node: node,
  3533. attr: 'node.borderwidth'
  3534. });
  3535. var setWidth = node.setWidth,
  3536. setHeight = node.setHeight,
  3537. timer, rx = 1, ry = 1;
  3538. node.setWidth = function (width) {
  3539. var _width = this.getWidth();
  3540. rx = width / _width;
  3541. node.a('node.width', width);
  3542. setWidth.apply(this, arguments);
  3543. resetPoints(rx, 1);
  3544. }
  3545. node.setHeight = function (height) {
  3546. var _height = this.getHeight();
  3547. ry = height / _height;
  3548. node.a('node.height', height);
  3549. setHeight.apply(this, arguments);
  3550. resetPoints(1, ry);
  3551. }
  3552. })(Node51, Node51.getImage(), Node51compspts, Node51endCompspts, Node51startCompspts);
  3553. var Node52points=[479, 88,756, 88],
  3554. Node52rect=ht.Default.unionPoint([{x:479,y:88},{x:756,y:88}]),
  3555. Node52compspts=[];
  3556. _ratio = GD.getRatioWithRotation(0, ratio);
  3557. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  3558. _endratio = GD.getRatioWithRotation(0, ratio);
  3559. for(var i=0;i<Node52points.length;i++){
  3560. if(i%2==0){
  3561. Node52compspts.push(Node52points[i]-Node52rect.x);
  3562. }else{
  3563. Node52compspts.push(Node52points[i]-Node52rect.y);
  3564. }
  3565. }
  3566. var Node52ptslength=Node52compspts.length;
  3567. if (Node52rect.height === 0) {
  3568. Node52compspts[0] -= 0;
  3569. Node52compspts[Node52ptslength-2] += 0;
  3570. } else if (Node52rect.width === 0){
  3571. Node52compspts[1] -= 0;
  3572. Node52compspts[Node52ptslength-1] += 0;
  3573. } else {
  3574. Node52compspts[0] -= 0;
  3575. Node52compspts[1] -= 0;
  3576. Node52compspts[Node52ptslength-2] += 0;
  3577. Node52compspts[Node52ptslength-1] += 0;
  3578. }
  3579. Node52 = new ht.Node();
  3580. Node52.borderWidth = 1;
  3581. Node52rect.width = Node52rect.width === 0 ? 0.0001 : Node52rect.width;
  3582. Node52rect.height = Node52rect.height === 0 ? 0.0001 : Node52rect.height;
  3583. var Node52endCompspts = [Node52compspts[Node52ptslength-2],Node52compspts[Node52ptslength-1],0,0];
  3584. var Node52startCompspts = [Node52compspts[0],Node52compspts[1],0,0];
  3585. Node52.setImage(GD.getPolyLineJSON());
  3586. Node52.setPosition(Node52rect.x+Node52rect.width/2,Node52rect.y+Node52rect.height/2);
  3587. Node52.setSize(Node52rect.width,Node52rect.height);
  3588. Node52.setStyle("opacity",1);
  3589. Node52.s({'pixelPerfect':true});
  3590. Node52borderwidth=1;
  3591. Node52.setRotation(0);
  3592. dataModel.add(Node52);
  3593. Node52.a('node.points',Node52compspts);
  3594. Node52.a('node.segments',[1,2]);
  3595. Node52.a('node.color','rgba(220,220,220,1)');
  3596. Node52.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3597. Node52.a('node.borderColor','rgba(220,220,220,1)');
  3598. Node52.a('node.background','rgba(220,220,220,1)');
  3599. Node52.a('node.gradient','');
  3600. Node52.a('node.gradientcolor','rgba(220,220,220,1)');
  3601. Node52.a('node.endCompspts',Node52endCompspts);
  3602. Node52.a('node.startCompspts',Node52startCompspts);
  3603. (function (node, img, compspts, endCompspts, startCompspts) {
  3604. var position = node.getPosition(),
  3605. w = node.getWidth()*_ratio.ratioX,
  3606. h = node.getHeight()*_ratio.ratioY;
  3607. function resetPoints(rx, ry) {
  3608. for (var i = 0, len = compspts.length; i < len; i++) {
  3609. if (i%2 === 0) {
  3610. compspts[i]*=rx;
  3611. } else {
  3612. compspts[i]*=ry;
  3613. }
  3614. }
  3615. endCompspts[0] = compspts[compspts.length-2];
  3616. endCompspts[1] = compspts[compspts.length-1];
  3617. endCompspts[2] *= rx;
  3618. endCompspts[3] *= ry;
  3619. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3620. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3621. startCompspts[0] = compspts[0];
  3622. startCompspts[1] = compspts[1];
  3623. startCompspts[2] *= rx;
  3624. startCompspts[3] *= ry;
  3625. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3626. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3627. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3628. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3629. }
  3630. node.setSize(w, h);
  3631. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3632. node.a('node.width', w);
  3633. node.a('node.height', h);
  3634. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3635. node.borderWidth = 1;
  3636. node.a('node.borderwidth',node.borderWidth);
  3637. node._nodename = 'Node52';
  3638. node._nodeType = 'line';
  3639. zoomNodeList.push({
  3640. node: node,
  3641. attr: 'node.borderwidth'
  3642. });
  3643. var setWidth = node.setWidth,
  3644. setHeight = node.setHeight,
  3645. timer, rx = 1, ry = 1;
  3646. node.setWidth = function (width) {
  3647. var _width = this.getWidth();
  3648. rx = width / _width;
  3649. node.a('node.width', width);
  3650. setWidth.apply(this, arguments);
  3651. resetPoints(rx, 1);
  3652. }
  3653. node.setHeight = function (height) {
  3654. var _height = this.getHeight();
  3655. ry = height / _height;
  3656. node.a('node.height', height);
  3657. setHeight.apply(this, arguments);
  3658. resetPoints(1, ry);
  3659. }
  3660. })(Node52, Node52.getImage(), Node52compspts, Node52endCompspts, Node52startCompspts);
  3661. var Node53points=[481, 112,758, 112],
  3662. Node53rect=ht.Default.unionPoint([{x:481,y:112},{x:758,y:112}]),
  3663. Node53compspts=[];
  3664. _ratio = GD.getRatioWithRotation(0, ratio);
  3665. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  3666. _endratio = GD.getRatioWithRotation(0, ratio);
  3667. for(var i=0;i<Node53points.length;i++){
  3668. if(i%2==0){
  3669. Node53compspts.push(Node53points[i]-Node53rect.x);
  3670. }else{
  3671. Node53compspts.push(Node53points[i]-Node53rect.y);
  3672. }
  3673. }
  3674. var Node53ptslength=Node53compspts.length;
  3675. if (Node53rect.height === 0) {
  3676. Node53compspts[0] -= 0;
  3677. Node53compspts[Node53ptslength-2] += 0;
  3678. } else if (Node53rect.width === 0){
  3679. Node53compspts[1] -= 0;
  3680. Node53compspts[Node53ptslength-1] += 0;
  3681. } else {
  3682. Node53compspts[0] -= 0;
  3683. Node53compspts[1] -= 0;
  3684. Node53compspts[Node53ptslength-2] += 0;
  3685. Node53compspts[Node53ptslength-1] += 0;
  3686. }
  3687. Node53 = new ht.Node();
  3688. Node53.borderWidth = 1;
  3689. Node53rect.width = Node53rect.width === 0 ? 0.0001 : Node53rect.width;
  3690. Node53rect.height = Node53rect.height === 0 ? 0.0001 : Node53rect.height;
  3691. var Node53endCompspts = [Node53compspts[Node53ptslength-2],Node53compspts[Node53ptslength-1],0,0];
  3692. var Node53startCompspts = [Node53compspts[0],Node53compspts[1],0,0];
  3693. Node53.setImage(GD.getPolyLineJSON());
  3694. Node53.setPosition(Node53rect.x+Node53rect.width/2,Node53rect.y+Node53rect.height/2);
  3695. Node53.setSize(Node53rect.width,Node53rect.height);
  3696. Node53.setStyle("opacity",1);
  3697. Node53.s({'pixelPerfect':true});
  3698. Node53borderwidth=1;
  3699. Node53.setRotation(0);
  3700. dataModel.add(Node53);
  3701. Node53.a('node.points',Node53compspts);
  3702. Node53.a('node.segments',[1,2]);
  3703. Node53.a('node.color','rgba(220,220,220,1)');
  3704. Node53.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3705. Node53.a('node.borderColor','rgba(220,220,220,1)');
  3706. Node53.a('node.background','rgba(220,220,220,1)');
  3707. Node53.a('node.gradient','');
  3708. Node53.a('node.gradientcolor','rgba(220,220,220,1)');
  3709. Node53.a('node.endCompspts',Node53endCompspts);
  3710. Node53.a('node.startCompspts',Node53startCompspts);
  3711. (function (node, img, compspts, endCompspts, startCompspts) {
  3712. var position = node.getPosition(),
  3713. w = node.getWidth()*_ratio.ratioX,
  3714. h = node.getHeight()*_ratio.ratioY;
  3715. function resetPoints(rx, ry) {
  3716. for (var i = 0, len = compspts.length; i < len; i++) {
  3717. if (i%2 === 0) {
  3718. compspts[i]*=rx;
  3719. } else {
  3720. compspts[i]*=ry;
  3721. }
  3722. }
  3723. endCompspts[0] = compspts[compspts.length-2];
  3724. endCompspts[1] = compspts[compspts.length-1];
  3725. endCompspts[2] *= rx;
  3726. endCompspts[3] *= ry;
  3727. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3728. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3729. startCompspts[0] = compspts[0];
  3730. startCompspts[1] = compspts[1];
  3731. startCompspts[2] *= rx;
  3732. startCompspts[3] *= ry;
  3733. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3734. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3735. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3736. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3737. }
  3738. node.setSize(w, h);
  3739. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3740. node.a('node.width', w);
  3741. node.a('node.height', h);
  3742. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3743. node.borderWidth = 1;
  3744. node.a('node.borderwidth',node.borderWidth);
  3745. node._nodename = 'Node53';
  3746. node._nodeType = 'line';
  3747. zoomNodeList.push({
  3748. node: node,
  3749. attr: 'node.borderwidth'
  3750. });
  3751. var setWidth = node.setWidth,
  3752. setHeight = node.setHeight,
  3753. timer, rx = 1, ry = 1;
  3754. node.setWidth = function (width) {
  3755. var _width = this.getWidth();
  3756. rx = width / _width;
  3757. node.a('node.width', width);
  3758. setWidth.apply(this, arguments);
  3759. resetPoints(rx, 1);
  3760. }
  3761. node.setHeight = function (height) {
  3762. var _height = this.getHeight();
  3763. ry = height / _height;
  3764. node.a('node.height', height);
  3765. setHeight.apply(this, arguments);
  3766. resetPoints(1, ry);
  3767. }
  3768. })(Node53, Node53.getImage(), Node53compspts, Node53endCompspts, Node53startCompspts);
  3769. var Node54points=[481, 135,758, 135],
  3770. Node54rect=ht.Default.unionPoint([{x:481,y:135},{x:758,y:135}]),
  3771. Node54compspts=[];
  3772. _ratio = GD.getRatioWithRotation(0, ratio);
  3773. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  3774. _endratio = GD.getRatioWithRotation(0, ratio);
  3775. for(var i=0;i<Node54points.length;i++){
  3776. if(i%2==0){
  3777. Node54compspts.push(Node54points[i]-Node54rect.x);
  3778. }else{
  3779. Node54compspts.push(Node54points[i]-Node54rect.y);
  3780. }
  3781. }
  3782. var Node54ptslength=Node54compspts.length;
  3783. if (Node54rect.height === 0) {
  3784. Node54compspts[0] -= 0;
  3785. Node54compspts[Node54ptslength-2] += 0;
  3786. } else if (Node54rect.width === 0){
  3787. Node54compspts[1] -= 0;
  3788. Node54compspts[Node54ptslength-1] += 0;
  3789. } else {
  3790. Node54compspts[0] -= 0;
  3791. Node54compspts[1] -= 0;
  3792. Node54compspts[Node54ptslength-2] += 0;
  3793. Node54compspts[Node54ptslength-1] += 0;
  3794. }
  3795. Node54 = new ht.Node();
  3796. Node54.borderWidth = 1;
  3797. Node54rect.width = Node54rect.width === 0 ? 0.0001 : Node54rect.width;
  3798. Node54rect.height = Node54rect.height === 0 ? 0.0001 : Node54rect.height;
  3799. var Node54endCompspts = [Node54compspts[Node54ptslength-2],Node54compspts[Node54ptslength-1],0,0];
  3800. var Node54startCompspts = [Node54compspts[0],Node54compspts[1],0,0];
  3801. Node54.setImage(GD.getPolyLineJSON());
  3802. Node54.setPosition(Node54rect.x+Node54rect.width/2,Node54rect.y+Node54rect.height/2);
  3803. Node54.setSize(Node54rect.width,Node54rect.height);
  3804. Node54.setStyle("opacity",1);
  3805. Node54.s({'pixelPerfect':true});
  3806. Node54borderwidth=1;
  3807. Node54.setRotation(0);
  3808. dataModel.add(Node54);
  3809. Node54.a('node.points',Node54compspts);
  3810. Node54.a('node.segments',[1,2]);
  3811. Node54.a('node.color','rgba(220,220,220,1)');
  3812. Node54.a('node.borderPattern',getDashStyle("@borderPattern@"));
  3813. Node54.a('node.borderColor','rgba(220,220,220,1)');
  3814. Node54.a('node.background','rgba(220,220,220,1)');
  3815. Node54.a('node.gradient','');
  3816. Node54.a('node.gradientcolor','rgba(220,220,220,1)');
  3817. Node54.a('node.endCompspts',Node54endCompspts);
  3818. Node54.a('node.startCompspts',Node54startCompspts);
  3819. (function (node, img, compspts, endCompspts, startCompspts) {
  3820. var position = node.getPosition(),
  3821. w = node.getWidth()*_ratio.ratioX,
  3822. h = node.getHeight()*_ratio.ratioY;
  3823. function resetPoints(rx, ry) {
  3824. for (var i = 0, len = compspts.length; i < len; i++) {
  3825. if (i%2 === 0) {
  3826. compspts[i]*=rx;
  3827. } else {
  3828. compspts[i]*=ry;
  3829. }
  3830. }
  3831. endCompspts[0] = compspts[compspts.length-2];
  3832. endCompspts[1] = compspts[compspts.length-1];
  3833. endCompspts[2] *= rx;
  3834. endCompspts[3] *= ry;
  3835. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  3836. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  3837. startCompspts[0] = compspts[0];
  3838. startCompspts[1] = compspts[1];
  3839. startCompspts[2] *= rx;
  3840. startCompspts[3] *= ry;
  3841. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  3842. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  3843. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  3844. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  3845. }
  3846. node.setSize(w, h);
  3847. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  3848. node.a('node.width', w);
  3849. node.a('node.height', h);
  3850. resetPoints(_ratio.ratioX, _ratio.ratioY);
  3851. node.borderWidth = 1;
  3852. node.a('node.borderwidth',node.borderWidth);
  3853. node._nodename = 'Node54';
  3854. node._nodeType = 'line';
  3855. zoomNodeList.push({
  3856. node: node,
  3857. attr: 'node.borderwidth'
  3858. });
  3859. var setWidth = node.setWidth,
  3860. setHeight = node.setHeight,
  3861. timer, rx = 1, ry = 1;
  3862. node.setWidth = function (width) {
  3863. var _width = this.getWidth();
  3864. rx = width / _width;
  3865. node.a('node.width', width);
  3866. setWidth.apply(this, arguments);
  3867. resetPoints(rx, 1);
  3868. }
  3869. node.setHeight = function (height) {
  3870. var _height = this.getHeight();
  3871. ry = height / _height;
  3872. node.a('node.height', height);
  3873. setHeight.apply(this, arguments);
  3874. resetPoints(1, ry);
  3875. }
  3876. })(Node54, Node54.getImage(), Node54compspts, Node54endCompspts, Node54startCompspts);
  3877. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3878. var Node55type = 'rect';
  3879. var Node55 = new ht.Node(),
  3880. Node55BorderWidth = 1*2;
  3881. if (Node55type === 'arc') {
  3882. Node55BorderWidth *= 1;
  3883. }
  3884. Node55.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node55type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  3885. Node55.setPosition(824*ratio.ratioX, 98*ratio.ratioY);
  3886. Node55.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  3887. Node55.s({
  3888. 'pixelPerfect':true
  3889. /*@AddPara@*/
  3890. });
  3891. Node55.a('node.width', 120*_ratio.ratioX);
  3892. Node55.a('node.height', 120*_ratio.ratioY);
  3893. Node55.a('node.type', Node55type);
  3894. Node55.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  3895. Node55.a('node.background', 'rgba(245,245,245,1)');
  3896. Node55.a('node.gradientcolor', 'rgba(245,245,245,1)');
  3897. Node55.a('node.gradient', '');
  3898. Node55.a('node.borderwidth', Node55BorderWidth);
  3899. Node55.a('node.color', 'rgba(220,220,220,1)');
  3900. Node55.a('node.fillrect', [0,0,0,0]);
  3901. Node55.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  3902. Node55.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  3903. Node55.a('node.fillgradient', '');
  3904. if (Node55type !== 'rect') {
  3905. Node55.a('node.arcFrom', parseFloat('@arcFrom@'));
  3906. Node55.a('node.arcTo', parseFloat('@arcTo@'));
  3907. Node55.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  3908. }
  3909. if (Node55type === 'arc') {
  3910. Node55.a('node.arcOval', true);
  3911. }
  3912. Node55.setRotation(0*Math.PI/180);
  3913. Node55.borderWidth = Node55BorderWidth;
  3914. Node55.borderFillwidth = Node55BorderWidth;
  3915. dataModel.add(Node55);
  3916. Node55._nodename = 'Node55'
  3917. Node55._nodeType = 'rect';
  3918. zoomNodeList.push({
  3919. node: Node55,
  3920. attr: 'node.borderwidth'
  3921. });
  3922. (function (node, _img) {
  3923. var setWidth = node.setWidth,
  3924. setHeight = node.setHeight;
  3925. node.setWidth = function (width) {
  3926. if (width === this.getWidth()) return ;
  3927. var height = this.getHeight();
  3928. this.a('node.width', width);
  3929. this.a('node.rect', [0,0,width, height]);
  3930. setWidth.apply(this, arguments);
  3931. }
  3932. node.setHeight = function (height) {
  3933. if (height === this.getHeight()) return ;
  3934. var width = this.getWidth();
  3935. this.a('node.height', height);
  3936. this.a('node.rect', [0,0,width, height]);
  3937. setHeight.apply(this, arguments);
  3938. }
  3939. })(Node55, Node55.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  3940. var Node56type = 'rect';
  3941. var Node56 = new ht.Node(),
  3942. Node56BorderWidth = 1*2;
  3943. if (Node56type === 'arc') {
  3944. Node56BorderWidth *= 1;
  3945. }
  3946. Node56.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node56type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  3947. Node56.setPosition(904*ratio.ratioX, 98*ratio.ratioY);
  3948. Node56.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  3949. Node56.s({
  3950. 'pixelPerfect':true
  3951. /*@AddPara@*/
  3952. });
  3953. Node56.a('node.width', 280.7278*_ratio.ratioX);
  3954. Node56.a('node.height', 122*_ratio.ratioY);
  3955. Node56.a('node.type', Node56type);
  3956. Node56.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  3957. Node56.a('node.background', 'rgba(255,255,255,0.003921569)');
  3958. Node56.a('node.gradientcolor', '');
  3959. Node56.a('node.gradient', '');
  3960. Node56.a('node.borderwidth', Node56BorderWidth);
  3961. Node56.a('node.color', 'rgba(220,220,220,1)');
  3962. Node56.a('node.fillrect', [0,0,0,0]);
  3963. Node56.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  3964. Node56.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  3965. Node56.a('node.fillgradient', '');
  3966. if (Node56type !== 'rect') {
  3967. Node56.a('node.arcFrom', parseFloat('@arcFrom@'));
  3968. Node56.a('node.arcTo', parseFloat('@arcTo@'));
  3969. Node56.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  3970. }
  3971. if (Node56type === 'arc') {
  3972. Node56.a('node.arcOval', true);
  3973. }
  3974. Node56.setRotation(0*Math.PI/180);
  3975. Node56.borderWidth = Node56BorderWidth;
  3976. Node56.borderFillwidth = Node56BorderWidth;
  3977. dataModel.add(Node56);
  3978. Node56._nodename = 'Node56'
  3979. Node56._nodeType = 'rect';
  3980. zoomNodeList.push({
  3981. node: Node56,
  3982. attr: 'node.borderwidth'
  3983. });
  3984. (function (node, _img) {
  3985. var setWidth = node.setWidth,
  3986. setHeight = node.setHeight;
  3987. node.setWidth = function (width) {
  3988. if (width === this.getWidth()) return ;
  3989. var height = this.getHeight();
  3990. this.a('node.width', width);
  3991. this.a('node.rect', [0,0,width, height]);
  3992. setWidth.apply(this, arguments);
  3993. }
  3994. node.setHeight = function (height) {
  3995. if (height === this.getHeight()) return ;
  3996. var width = this.getWidth();
  3997. this.a('node.height', height);
  3998. this.a('node.rect', [0,0,width, height]);
  3999. setHeight.apply(this, arguments);
  4000. }
  4001. })(Node56, Node56.getImage());var Node57points=[954, 38,954, 158],
  4002. Node57rect=ht.Default.unionPoint([{x:954,y:38},{x:954,y:158}]),
  4003. Node57compspts=[];
  4004. _ratio = GD.getRatioWithRotation(0, ratio);
  4005. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  4006. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  4007. for(var i=0;i<Node57points.length;i++){
  4008. if(i%2==0){
  4009. Node57compspts.push(Node57points[i]-Node57rect.x);
  4010. }else{
  4011. Node57compspts.push(Node57points[i]-Node57rect.y);
  4012. }
  4013. }
  4014. var Node57ptslength=Node57compspts.length;
  4015. if (Node57rect.height === 0) {
  4016. Node57compspts[0] -= 0;
  4017. Node57compspts[Node57ptslength-2] += 0;
  4018. } else if (Node57rect.width === 0){
  4019. Node57compspts[1] -= 0;
  4020. Node57compspts[Node57ptslength-1] += 0;
  4021. } else {
  4022. Node57compspts[0] -= 0;
  4023. Node57compspts[1] -= 0;
  4024. Node57compspts[Node57ptslength-2] += 0;
  4025. Node57compspts[Node57ptslength-1] += 0;
  4026. }
  4027. Node57 = new ht.Node();
  4028. Node57.borderWidth = 1;
  4029. Node57rect.width = Node57rect.width === 0 ? 0.0001 : Node57rect.width;
  4030. Node57rect.height = Node57rect.height === 0 ? 0.0001 : Node57rect.height;
  4031. var Node57endCompspts = [Node57compspts[Node57ptslength-2],Node57compspts[Node57ptslength-1],0,0];
  4032. var Node57startCompspts = [Node57compspts[0],Node57compspts[1],0,0];
  4033. Node57.setImage(GD.getPolyLineJSON());
  4034. Node57.setPosition(Node57rect.x+Node57rect.width/2,Node57rect.y+Node57rect.height/2);
  4035. Node57.setSize(Node57rect.width,Node57rect.height);
  4036. Node57.setStyle("opacity",1);
  4037. Node57.s({'pixelPerfect':true});
  4038. Node57borderwidth=1;
  4039. Node57.setRotation(0);
  4040. dataModel.add(Node57);
  4041. Node57.a('node.points',Node57compspts);
  4042. Node57.a('node.segments',[1,2]);
  4043. Node57.a('node.color','rgba(220,220,220,1)');
  4044. Node57.a('node.borderPattern',getDashStyle("@borderPattern@"));
  4045. Node57.a('node.borderColor','rgba(220,220,220,1)');
  4046. Node57.a('node.background','rgba(220,220,220,1)');
  4047. Node57.a('node.gradient','');
  4048. Node57.a('node.gradientcolor','rgba(220,220,220,1)');
  4049. Node57.a('node.endCompspts',Node57endCompspts);
  4050. Node57.a('node.startCompspts',Node57startCompspts);
  4051. (function (node, img, compspts, endCompspts, startCompspts) {
  4052. var position = node.getPosition(),
  4053. w = node.getWidth()*_ratio.ratioX,
  4054. h = node.getHeight()*_ratio.ratioY;
  4055. function resetPoints(rx, ry) {
  4056. for (var i = 0, len = compspts.length; i < len; i++) {
  4057. if (i%2 === 0) {
  4058. compspts[i]*=rx;
  4059. } else {
  4060. compspts[i]*=ry;
  4061. }
  4062. }
  4063. endCompspts[0] = compspts[compspts.length-2];
  4064. endCompspts[1] = compspts[compspts.length-1];
  4065. endCompspts[2] *= rx;
  4066. endCompspts[3] *= ry;
  4067. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  4068. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  4069. startCompspts[0] = compspts[0];
  4070. startCompspts[1] = compspts[1];
  4071. startCompspts[2] *= rx;
  4072. startCompspts[3] *= ry;
  4073. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  4074. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  4075. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  4076. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  4077. }
  4078. node.setSize(w, h);
  4079. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  4080. node.a('node.width', w);
  4081. node.a('node.height', h);
  4082. resetPoints(_ratio.ratioX, _ratio.ratioY);
  4083. node.borderWidth = 1;
  4084. node.a('node.borderwidth',node.borderWidth);
  4085. node._nodename = 'Node57';
  4086. node._nodeType = 'line';
  4087. zoomNodeList.push({
  4088. node: node,
  4089. attr: 'node.borderwidth'
  4090. });
  4091. var setWidth = node.setWidth,
  4092. setHeight = node.setHeight,
  4093. timer, rx = 1, ry = 1;
  4094. node.setWidth = function (width) {
  4095. var _width = this.getWidth();
  4096. rx = width / _width;
  4097. node.a('node.width', width);
  4098. setWidth.apply(this, arguments);
  4099. resetPoints(rx, 1);
  4100. }
  4101. node.setHeight = function (height) {
  4102. var _height = this.getHeight();
  4103. ry = height / _height;
  4104. node.a('node.height', height);
  4105. setHeight.apply(this, arguments);
  4106. resetPoints(1, ry);
  4107. }
  4108. })(Node57, Node57.getImage(), Node57compspts, Node57endCompspts, Node57startCompspts);
  4109. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4110. var Node58 = new ht.Node();
  4111. var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 79*_ratio.ratioX, Node58height = 16*_ratio.ratioY;
  4112. (function () {
  4113. if (Node58align === 'left') {
  4114. Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9;
  4115. Node58textWidth = Node58width;
  4116. Node58lineStart = 1;
  4117. } else if (Node58align === 'right') {
  4118. Node58textStart = 0;
  4119. Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2;
  4120. Node58lineStart = (Node58width - (ht.Default.getTextSize('日上网电量', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
  4121. } else if (Node58align === 'center') {
  4122. Node58textStart = -3;
  4123. Node58textWidth = Node58width;
  4124. Node58lineStart = Node58width - ht.Default.getTextSize('日上网电量', ' '+ Node58fontSize + 'px "Arial"').width - 11;
  4125. }
  4126. })();
  4127. Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
  4128. Node58.setPosition(808*ratio.ratioX, 49*ratio.ratioY);
  4129. Node58.setWidth(Node58width);
  4130. Node58.setHeight(Node58height);
  4131. Node58._nodeType = 'text';
  4132. Node58._disallowEvert = true;
  4133. Node58.setRotation(0*Math.PI/180);
  4134. Node58.a('node.width', Node58width);
  4135. Node58.a('node.height', Node58height);
  4136. Node58.a('node.rect', [0, 0, Node58width, Node58height]);
  4137. Node58.a('node.bordercolor','rgba(0,0,0,1)');
  4138. Node58.a('node.borderwidth', 0);
  4139. Node58.a('node.background','' || 'rgba(0,0,0,0)');
  4140. Node58.a('node.gradient','');
  4141. Node58.a('node.gradientcolor','');
  4142. Node58.a('node.text','日上网电量');
  4143. Node58.a('node.textalign','left');
  4144. Node58.a('node.textvAlign','middle');
  4145. Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
  4146. Node58.a('node.color','rgba(0,0,0,1)');
  4147. Node58.a('node.font',' '+ Node58fontSize + 'px "Arial"');
  4148. Node58.a('node.textvisible',true);
  4149. Node58.a('node.linefeed',false);
  4150. if (false) {
  4151. Node58.a('node.textfunc',function(g) {
  4152. g.beginPath();
  4153. var str=Node58.a('node.text') || '日上网电量';
  4154. var color=Node58.a('node.color') || 'rgba(0,0,0,1)';
  4155. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
  4156. });
  4157. }
  4158. if (false) {
  4159. Node58.a('node.underlinepoints',[Node58lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('日上网电量', ' '+ Node58fontSize + 'px "Arial"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
  4160. Node58.a('node.underlinevisible',false);
  4161. Node58.a('node.underlineBorderWidth', 1);
  4162. }
  4163. dataModel.add(Node58);
  4164. zoomNodeList.push({
  4165. node: Node58,
  4166. borderWidth: 0,
  4167. attr: 'node.borderwidth'
  4168. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4169. var Node59 = new ht.Node();
  4170. var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 79*_ratio.ratioX, Node59height = 16*_ratio.ratioY;
  4171. (function () {
  4172. if (Node59align === 'left') {
  4173. Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
  4174. Node59textWidth = Node59width;
  4175. Node59lineStart = 1;
  4176. } else if (Node59align === 'right') {
  4177. Node59textStart = 0;
  4178. Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
  4179. Node59lineStart = (Node59width - (ht.Default.getTextSize('月上网电量', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
  4180. } else if (Node59align === 'center') {
  4181. Node59textStart = -3;
  4182. Node59textWidth = Node59width;
  4183. Node59lineStart = Node59width - ht.Default.getTextSize('月上网电量', ' '+ Node59fontSize + 'px "Arial"').width - 11;
  4184. }
  4185. })();
  4186. Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"'))
  4187. Node59.setPosition(808*ratio.ratioX, 75*ratio.ratioY);
  4188. Node59.setWidth(Node59width);
  4189. Node59.setHeight(Node59height);
  4190. Node59._nodeType = 'text';
  4191. Node59._disallowEvert = true;
  4192. Node59.setRotation(0*Math.PI/180);
  4193. Node59.a('node.width', Node59width);
  4194. Node59.a('node.height', Node59height);
  4195. Node59.a('node.rect', [0, 0, Node59width, Node59height]);
  4196. Node59.a('node.bordercolor','rgba(0,0,0,1)');
  4197. Node59.a('node.borderwidth', 0);
  4198. Node59.a('node.background','' || 'rgba(0,0,0,0)');
  4199. Node59.a('node.gradient','');
  4200. Node59.a('node.gradientcolor','');
  4201. Node59.a('node.text','月上网电量');
  4202. Node59.a('node.textalign','left');
  4203. Node59.a('node.textvAlign','middle');
  4204. Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
  4205. Node59.a('node.color','rgba(0,0,0,1)');
  4206. Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"');
  4207. Node59.a('node.textvisible',true);
  4208. Node59.a('node.linefeed',false);
  4209. if (false) {
  4210. Node59.a('node.textfunc',function(g) {
  4211. g.beginPath();
  4212. var str=Node59.a('node.text') || '月上网电量';
  4213. var color=Node59.a('node.color') || 'rgba(0,0,0,1)';
  4214. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "Arial"', 0,g);
  4215. });
  4216. }
  4217. if (false) {
  4218. Node59.a('node.underlinepoints',[Node59lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('月上网电量', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
  4219. Node59.a('node.underlinevisible',false);
  4220. Node59.a('node.underlineBorderWidth', 1);
  4221. }
  4222. dataModel.add(Node59);
  4223. zoomNodeList.push({
  4224. node: Node59,
  4225. borderWidth: 0,
  4226. attr: 'node.borderwidth'
  4227. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4228. var Node60 = new ht.Node();
  4229. var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 79*_ratio.ratioX, Node60height = 16*_ratio.ratioY;
  4230. (function () {
  4231. if (Node60align === 'left') {
  4232. Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
  4233. Node60textWidth = Node60width;
  4234. Node60lineStart = 1;
  4235. } else if (Node60align === 'right') {
  4236. Node60textStart = 0;
  4237. Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
  4238. Node60lineStart = (Node60width - (ht.Default.getTextSize('年上网电量', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
  4239. } else if (Node60align === 'center') {
  4240. Node60textStart = -3;
  4241. Node60textWidth = Node60width;
  4242. Node60lineStart = Node60width - ht.Default.getTextSize('年上网电量', ' '+ Node60fontSize + 'px "Arial"').width - 11;
  4243. }
  4244. })();
  4245. Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
  4246. Node60.setPosition(808*ratio.ratioX, 99*ratio.ratioY);
  4247. Node60.setWidth(Node60width);
  4248. Node60.setHeight(Node60height);
  4249. Node60._nodeType = 'text';
  4250. Node60._disallowEvert = true;
  4251. Node60.setRotation(0*Math.PI/180);
  4252. Node60.a('node.width', Node60width);
  4253. Node60.a('node.height', Node60height);
  4254. Node60.a('node.rect', [0, 0, Node60width, Node60height]);
  4255. Node60.a('node.bordercolor','rgba(0,0,0,1)');
  4256. Node60.a('node.borderwidth', 0);
  4257. Node60.a('node.background','' || 'rgba(0,0,0,0)');
  4258. Node60.a('node.gradient','');
  4259. Node60.a('node.gradientcolor','');
  4260. Node60.a('node.text','年上网电量');
  4261. Node60.a('node.textalign','left');
  4262. Node60.a('node.textvAlign','middle');
  4263. Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
  4264. Node60.a('node.color','rgba(0,0,0,1)');
  4265. Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
  4266. Node60.a('node.textvisible',true);
  4267. Node60.a('node.linefeed',false);
  4268. if (false) {
  4269. Node60.a('node.textfunc',function(g) {
  4270. g.beginPath();
  4271. var str=Node60.a('node.text') || '年上网电量';
  4272. var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
  4273. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
  4274. });
  4275. }
  4276. if (false) {
  4277. Node60.a('node.underlinepoints',[Node60lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('年上网电量', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
  4278. Node60.a('node.underlinevisible',false);
  4279. Node60.a('node.underlineBorderWidth', 1);
  4280. }
  4281. dataModel.add(Node60);
  4282. zoomNodeList.push({
  4283. node: Node60,
  4284. borderWidth: 0,
  4285. attr: 'node.borderwidth'
  4286. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4287. var Node61 = new ht.Node();
  4288. var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'left', Node61fontSize = 13.3333*_ratio.ratioY,Node61width = 64*_ratio.ratioX, Node61height = 16*_ratio.ratioY;
  4289. (function () {
  4290. if (Node61align === 'left') {
  4291. Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9;
  4292. Node61textWidth = Node61width;
  4293. Node61lineStart = 1;
  4294. } else if (Node61align === 'right') {
  4295. Node61textStart = 0;
  4296. Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2;
  4297. Node61lineStart = (Node61width - (ht.Default.getTextSize('节约标煤', ' '+ Node61fontSize + 'px "Arial"').width + 6)) * 0.5;
  4298. } else if (Node61align === 'center') {
  4299. Node61textStart = -3;
  4300. Node61textWidth = Node61width;
  4301. Node61lineStart = Node61width - ht.Default.getTextSize('节约标煤', ' '+ Node61fontSize + 'px "Arial"').width - 11;
  4302. }
  4303. })();
  4304. Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "Arial"'))
  4305. Node61.setPosition(801*ratio.ratioX, 122*ratio.ratioY);
  4306. Node61.setWidth(Node61width);
  4307. Node61.setHeight(Node61height);
  4308. Node61._nodeType = 'text';
  4309. Node61._disallowEvert = true;
  4310. Node61.setRotation(0*Math.PI/180);
  4311. Node61.a('node.width', Node61width);
  4312. Node61.a('node.height', Node61height);
  4313. Node61.a('node.rect', [0, 0, Node61width, Node61height]);
  4314. Node61.a('node.bordercolor','rgba(0,0,0,1)');
  4315. Node61.a('node.borderwidth', 0);
  4316. Node61.a('node.background','' || 'rgba(0,0,0,0)');
  4317. Node61.a('node.gradient','');
  4318. Node61.a('node.gradientcolor','');
  4319. Node61.a('node.text','节约标煤');
  4320. Node61.a('node.textalign','left');
  4321. Node61.a('node.textvAlign','middle');
  4322. Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
  4323. Node61.a('node.color','rgba(0,0,0,1)');
  4324. Node61.a('node.font',' '+ Node61fontSize + 'px "Arial"');
  4325. Node61.a('node.textvisible',true);
  4326. Node61.a('node.linefeed',false);
  4327. if (false) {
  4328. Node61.a('node.textfunc',function(g) {
  4329. g.beginPath();
  4330. var str=Node61.a('node.text') || '节约标煤';
  4331. var color=Node61.a('node.color') || 'rgba(0,0,0,1)';
  4332. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node61width,Node61height,13.3333*_ratio.ratioY,"left",color,' '+ Node61fontSize + 'px "Arial"', 0,g);
  4333. });
  4334. }
  4335. if (false) {
  4336. Node61.a('node.underlinepoints',[Node61lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('节约标煤', ' '+ Node61fontSize + 'px "Arial"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]);
  4337. Node61.a('node.underlinevisible',false);
  4338. Node61.a('node.underlineBorderWidth', 1);
  4339. }
  4340. dataModel.add(Node61);
  4341. zoomNodeList.push({
  4342. node: Node61,
  4343. borderWidth: 0,
  4344. attr: 'node.borderwidth'
  4345. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4346. var Node62 = new ht.Node();
  4347. var Node62textStart, Node62textWidth, Node62lineStart, Node62align = 'left', Node62fontSize = 13.3333*_ratio.ratioY,Node62width = 64*_ratio.ratioX, Node62height = 16*_ratio.ratioY;
  4348. (function () {
  4349. if (Node62align === 'left') {
  4350. Node62textStart = Node62fontSize * 0.2 > 2 ? Node62fontSize * 0.2 - 4 : Node62fontSize * 0.2 - 9;
  4351. Node62textWidth = Node62width;
  4352. Node62lineStart = 1;
  4353. } else if (Node62align === 'right') {
  4354. Node62textStart = 0;
  4355. Node62textWidth =Node62fontSize <= 8 ? Node62width + Node62fontSize * 0.2 + 6 : Node62width - Node62fontSize * 0.2;
  4356. Node62lineStart = (Node62width - (ht.Default.getTextSize('节约用水', ' '+ Node62fontSize + 'px "Arial"').width + 6)) * 0.5;
  4357. } else if (Node62align === 'center') {
  4358. Node62textStart = -3;
  4359. Node62textWidth = Node62width;
  4360. Node62lineStart = Node62width - ht.Default.getTextSize('节约用水', ' '+ Node62fontSize + 'px "Arial"').width - 11;
  4361. }
  4362. })();
  4363. Node62.setImage(GD.getTextJSON(Node62width, Node62height, true, false, false, ' '+ Node62fontSize + 'px "Arial"'))
  4364. Node62.setPosition(801*ratio.ratioX, 146*ratio.ratioY);
  4365. Node62.setWidth(Node62width);
  4366. Node62.setHeight(Node62height);
  4367. Node62._nodeType = 'text';
  4368. Node62._disallowEvert = true;
  4369. Node62.setRotation(0*Math.PI/180);
  4370. Node62.a('node.width', Node62width);
  4371. Node62.a('node.height', Node62height);
  4372. Node62.a('node.rect', [0, 0, Node62width, Node62height]);
  4373. Node62.a('node.bordercolor','rgba(0,0,0,1)');
  4374. Node62.a('node.borderwidth', 0);
  4375. Node62.a('node.background','' || 'rgba(0,0,0,0)');
  4376. Node62.a('node.gradient','');
  4377. Node62.a('node.gradientcolor','');
  4378. Node62.a('node.text','节约用水');
  4379. Node62.a('node.textalign','left');
  4380. Node62.a('node.textvAlign','middle');
  4381. Node62.a('node.textrect', [Node62textStart, 0, Node62textWidth, Node62height]);
  4382. Node62.a('node.color','rgba(0,0,0,1)');
  4383. Node62.a('node.font',' '+ Node62fontSize + 'px "Arial"');
  4384. Node62.a('node.textvisible',true);
  4385. Node62.a('node.linefeed',false);
  4386. if (false) {
  4387. Node62.a('node.textfunc',function(g) {
  4388. g.beginPath();
  4389. var str=Node62.a('node.text') || '节约用水';
  4390. var color=Node62.a('node.color') || 'rgba(0,0,0,1)';
  4391. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node62width,Node62height,13.3333*_ratio.ratioY,"left",color,' '+ Node62fontSize + 'px "Arial"', 0,g);
  4392. });
  4393. }
  4394. if (false) {
  4395. Node62.a('node.underlinepoints',[Node62lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node62fontSize + 2 , ht.Default.getTextSize('节约用水', ' '+ Node62fontSize + 'px "Arial"').width + 6, (Node62height - Node62fontSize) * 0.5*_ratio.ratioY + Node62fontSize + 2 ]);
  4396. Node62.a('node.underlinevisible',false);
  4397. Node62.a('node.underlineBorderWidth', 1);
  4398. }
  4399. dataModel.add(Node62);
  4400. zoomNodeList.push({
  4401. node: Node62,
  4402. borderWidth: 0,
  4403. attr: 'node.borderwidth'
  4404. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4405. var Node63 = new ht.Node();
  4406. var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 11*_ratio.ratioX, Node63height = 16*_ratio.ratioY;
  4407. (function () {
  4408. if (Node63align === 'left') {
  4409. Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9;
  4410. Node63textWidth = Node63width;
  4411. Node63lineStart = 1;
  4412. } else if (Node63align === 'right') {
  4413. Node63textStart = 0;
  4414. Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2;
  4415. Node63lineStart = (Node63width - (ht.Default.getTextSize('0', 'bold '+ Node63fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  4416. } else if (Node63align === 'center') {
  4417. Node63textStart = -3;
  4418. Node63textWidth = Node63width;
  4419. Node63lineStart = Node63width - ht.Default.getTextSize('0', 'bold '+ Node63fontSize + 'px "UniDreamLED"').width - 11;
  4420. }
  4421. })();
  4422. Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, 'bold '+ Node63fontSize + 'px "UniDreamLED"'))
  4423. Node63.setPosition(907*ratio.ratioX, 48*ratio.ratioY);
  4424. Node63.setWidth(Node63width);
  4425. Node63.setHeight(Node63height);
  4426. Node63._nodeType = 'text';
  4427. Node63._disallowEvert = true;
  4428. Node63.setRotation(0*Math.PI/180);
  4429. Node63.a('node.width', Node63width);
  4430. Node63.a('node.height', Node63height);
  4431. Node63.a('node.rect', [0, 0, Node63width, Node63height]);
  4432. Node63.a('node.bordercolor','rgba(0,0,0,1)');
  4433. Node63.a('node.borderwidth', 0);
  4434. Node63.a('node.background','' || 'rgba(0,0,0,0)');
  4435. Node63.a('node.gradient','');
  4436. Node63.a('node.gradientcolor','');
  4437. Node63.a('node.text','0');
  4438. Node63.a('node.textalign','left');
  4439. Node63.a('node.textvAlign','middle');
  4440. Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]);
  4441. Node63.a('node.color','rgba(0,0,0,1)');
  4442. Node63.a('node.font','bold '+ Node63fontSize + 'px "UniDreamLED"');
  4443. Node63.a('node.textvisible',true);
  4444. Node63.a('node.linefeed',false);
  4445. if (false) {
  4446. Node63.a('node.textfunc',function(g) {
  4447. g.beginPath();
  4448. var str=Node63.a('node.text') || '0';
  4449. var color=Node63.a('node.color') || 'rgba(0,0,0,1)';
  4450. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node63fontSize + 'px "UniDreamLED"', 0,g);
  4451. });
  4452. }
  4453. if (false) {
  4454. Node63.a('node.underlinepoints',[Node63lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node63fontSize + 'px "UniDreamLED"').width + 6, (Node63height - Node63fontSize) * 0.5*_ratio.ratioY + Node63fontSize + 2 ]);
  4455. Node63.a('node.underlinevisible',false);
  4456. Node63.a('node.underlineBorderWidth', 1);
  4457. }
  4458. dataModel.add(Node63);
  4459. zoomNodeList.push({
  4460. node: Node63,
  4461. borderWidth: 0,
  4462. attr: 'node.borderwidth'
  4463. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4464. var Node64 = new ht.Node();
  4465. var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 11*_ratio.ratioX, Node64height = 16*_ratio.ratioY;
  4466. (function () {
  4467. if (Node64align === 'left') {
  4468. Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
  4469. Node64textWidth = Node64width;
  4470. Node64lineStart = 1;
  4471. } else if (Node64align === 'right') {
  4472. Node64textStart = 0;
  4473. Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
  4474. Node64lineStart = (Node64width - (ht.Default.getTextSize('0', 'bold '+ Node64fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  4475. } else if (Node64align === 'center') {
  4476. Node64textStart = -3;
  4477. Node64textWidth = Node64width;
  4478. Node64lineStart = Node64width - ht.Default.getTextSize('0', 'bold '+ Node64fontSize + 'px "UniDreamLED"').width - 11;
  4479. }
  4480. })();
  4481. Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, 'bold '+ Node64fontSize + 'px "UniDreamLED"'))
  4482. Node64.setPosition(907*ratio.ratioX, 72*ratio.ratioY);
  4483. Node64.setWidth(Node64width);
  4484. Node64.setHeight(Node64height);
  4485. Node64._nodeType = 'text';
  4486. Node64._disallowEvert = true;
  4487. Node64.setRotation(0*Math.PI/180);
  4488. Node64.a('node.width', Node64width);
  4489. Node64.a('node.height', Node64height);
  4490. Node64.a('node.rect', [0, 0, Node64width, Node64height]);
  4491. Node64.a('node.bordercolor','rgba(0,0,0,1)');
  4492. Node64.a('node.borderwidth', 0);
  4493. Node64.a('node.background','' || 'rgba(0,0,0,0)');
  4494. Node64.a('node.gradient','');
  4495. Node64.a('node.gradientcolor','');
  4496. Node64.a('node.text','0');
  4497. Node64.a('node.textalign','left');
  4498. Node64.a('node.textvAlign','middle');
  4499. Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
  4500. Node64.a('node.color','rgba(0,0,0,1)');
  4501. Node64.a('node.font','bold '+ Node64fontSize + 'px "UniDreamLED"');
  4502. Node64.a('node.textvisible',true);
  4503. Node64.a('node.linefeed',false);
  4504. if (false) {
  4505. Node64.a('node.textfunc',function(g) {
  4506. g.beginPath();
  4507. var str=Node64.a('node.text') || '0';
  4508. var color=Node64.a('node.color') || 'rgba(0,0,0,1)';
  4509. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node64fontSize + 'px "UniDreamLED"', 0,g);
  4510. });
  4511. }
  4512. if (false) {
  4513. Node64.a('node.underlinepoints',[Node64lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node64fontSize + 'px "UniDreamLED"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
  4514. Node64.a('node.underlinevisible',false);
  4515. Node64.a('node.underlineBorderWidth', 1);
  4516. }
  4517. dataModel.add(Node64);
  4518. zoomNodeList.push({
  4519. node: Node64,
  4520. borderWidth: 0,
  4521. attr: 'node.borderwidth'
  4522. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4523. var Node65 = new ht.Node();
  4524. var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 11*_ratio.ratioX, Node65height = 16*_ratio.ratioY;
  4525. (function () {
  4526. if (Node65align === 'left') {
  4527. Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
  4528. Node65textWidth = Node65width;
  4529. Node65lineStart = 1;
  4530. } else if (Node65align === 'right') {
  4531. Node65textStart = 0;
  4532. Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
  4533. Node65lineStart = (Node65width - (ht.Default.getTextSize('0', 'bold '+ Node65fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  4534. } else if (Node65align === 'center') {
  4535. Node65textStart = -3;
  4536. Node65textWidth = Node65width;
  4537. Node65lineStart = Node65width - ht.Default.getTextSize('0', 'bold '+ Node65fontSize + 'px "UniDreamLED"').width - 11;
  4538. }
  4539. })();
  4540. Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, 'bold '+ Node65fontSize + 'px "UniDreamLED"'))
  4541. Node65.setPosition(907*ratio.ratioX, 97*ratio.ratioY);
  4542. Node65.setWidth(Node65width);
  4543. Node65.setHeight(Node65height);
  4544. Node65._nodeType = 'text';
  4545. Node65._disallowEvert = true;
  4546. Node65.setRotation(0*Math.PI/180);
  4547. Node65.a('node.width', Node65width);
  4548. Node65.a('node.height', Node65height);
  4549. Node65.a('node.rect', [0, 0, Node65width, Node65height]);
  4550. Node65.a('node.bordercolor','rgba(0,0,0,1)');
  4551. Node65.a('node.borderwidth', 0);
  4552. Node65.a('node.background','' || 'rgba(0,0,0,0)');
  4553. Node65.a('node.gradient','');
  4554. Node65.a('node.gradientcolor','');
  4555. Node65.a('node.text','0');
  4556. Node65.a('node.textalign','left');
  4557. Node65.a('node.textvAlign','middle');
  4558. Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]);
  4559. Node65.a('node.color','rgba(0,0,0,1)');
  4560. Node65.a('node.font','bold '+ Node65fontSize + 'px "UniDreamLED"');
  4561. Node65.a('node.textvisible',true);
  4562. Node65.a('node.linefeed',false);
  4563. if (false) {
  4564. Node65.a('node.textfunc',function(g) {
  4565. g.beginPath();
  4566. var str=Node65.a('node.text') || '0';
  4567. var color=Node65.a('node.color') || 'rgba(0,0,0,1)';
  4568. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node65width,Node65height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node65fontSize + 'px "UniDreamLED"', 0,g);
  4569. });
  4570. }
  4571. if (false) {
  4572. Node65.a('node.underlinepoints',[Node65lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node65fontSize + 'px "UniDreamLED"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]);
  4573. Node65.a('node.underlinevisible',false);
  4574. Node65.a('node.underlineBorderWidth', 1);
  4575. }
  4576. dataModel.add(Node65);
  4577. zoomNodeList.push({
  4578. node: Node65,
  4579. borderWidth: 0,
  4580. attr: 'node.borderwidth'
  4581. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4582. var Node66 = new ht.Node();
  4583. var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'left', Node66fontSize = 13.3333*_ratio.ratioY,Node66width = 9*_ratio.ratioX, Node66height = 16*_ratio.ratioY;
  4584. (function () {
  4585. if (Node66align === 'left') {
  4586. Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9;
  4587. Node66textWidth = Node66width;
  4588. Node66lineStart = 1;
  4589. } else if (Node66align === 'right') {
  4590. Node66textStart = 0;
  4591. Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2;
  4592. Node66lineStart = (Node66width - (ht.Default.getTextSize('-', 'bold '+ Node66fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  4593. } else if (Node66align === 'center') {
  4594. Node66textStart = -3;
  4595. Node66textWidth = Node66width;
  4596. Node66lineStart = Node66width - ht.Default.getTextSize('-', 'bold '+ Node66fontSize + 'px "UniDreamLED"').width - 11;
  4597. }
  4598. })();
  4599. Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, 'bold '+ Node66fontSize + 'px "UniDreamLED"'))
  4600. Node66.setPosition(906*ratio.ratioX, 121*ratio.ratioY);
  4601. Node66.setWidth(Node66width);
  4602. Node66.setHeight(Node66height);
  4603. Node66._nodeType = 'text';
  4604. Node66._disallowEvert = true;
  4605. Node66.setRotation(0*Math.PI/180);
  4606. Node66.a('node.width', Node66width);
  4607. Node66.a('node.height', Node66height);
  4608. Node66.a('node.rect', [0, 0, Node66width, Node66height]);
  4609. Node66.a('node.bordercolor','rgba(0,0,0,1)');
  4610. Node66.a('node.borderwidth', 0);
  4611. Node66.a('node.background','' || 'rgba(0,0,0,0)');
  4612. Node66.a('node.gradient','');
  4613. Node66.a('node.gradientcolor','');
  4614. Node66.a('node.text','-');
  4615. Node66.a('node.textalign','left');
  4616. Node66.a('node.textvAlign','middle');
  4617. Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]);
  4618. Node66.a('node.color','rgba(0,0,0,1)');
  4619. Node66.a('node.font','bold '+ Node66fontSize + 'px "UniDreamLED"');
  4620. Node66.a('node.textvisible',true);
  4621. Node66.a('node.linefeed',false);
  4622. if (false) {
  4623. Node66.a('node.textfunc',function(g) {
  4624. g.beginPath();
  4625. var str=Node66.a('node.text') || '-';
  4626. var color=Node66.a('node.color') || 'rgba(0,0,0,1)';
  4627. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node66fontSize + 'px "UniDreamLED"', 0,g);
  4628. });
  4629. }
  4630. if (false) {
  4631. Node66.a('node.underlinepoints',[Node66lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node66fontSize + 'px "UniDreamLED"').width + 6, (Node66height - Node66fontSize) * 0.5*_ratio.ratioY + Node66fontSize + 2 ]);
  4632. Node66.a('node.underlinevisible',false);
  4633. Node66.a('node.underlineBorderWidth', 1);
  4634. }
  4635. dataModel.add(Node66);
  4636. zoomNodeList.push({
  4637. node: Node66,
  4638. borderWidth: 0,
  4639. attr: 'node.borderwidth'
  4640. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4641. var Node67 = new ht.Node();
  4642. var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'left', Node67fontSize = 13.3333*_ratio.ratioY,Node67width = 39*_ratio.ratioX, Node67height = 16*_ratio.ratioY;
  4643. (function () {
  4644. if (Node67align === 'left') {
  4645. Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9;
  4646. Node67textWidth = Node67width;
  4647. Node67lineStart = 1;
  4648. } else if (Node67align === 'right') {
  4649. Node67textStart = 0;
  4650. Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2;
  4651. Node67lineStart = (Node67width - (ht.Default.getTextSize('万kW', ' '+ Node67fontSize + 'px "Arial"').width + 6)) * 0.5;
  4652. } else if (Node67align === 'center') {
  4653. Node67textStart = -3;
  4654. Node67textWidth = Node67width;
  4655. Node67lineStart = Node67width - ht.Default.getTextSize('万kW', ' '+ Node67fontSize + 'px "Arial"').width - 11;
  4656. }
  4657. })();
  4658. Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "Arial"'))
  4659. Node67.setPosition(984*ratio.ratioX, 47*ratio.ratioY);
  4660. Node67.setWidth(Node67width);
  4661. Node67.setHeight(Node67height);
  4662. Node67._nodeType = 'text';
  4663. Node67._disallowEvert = true;
  4664. Node67.setRotation(0*Math.PI/180);
  4665. Node67.a('node.width', Node67width);
  4666. Node67.a('node.height', Node67height);
  4667. Node67.a('node.rect', [0, 0, Node67width, Node67height]);
  4668. Node67.a('node.bordercolor','rgba(169,169,169,1)');
  4669. Node67.a('node.borderwidth', 0);
  4670. Node67.a('node.background','' || 'rgba(0,0,0,0)');
  4671. Node67.a('node.gradient','');
  4672. Node67.a('node.gradientcolor','');
  4673. Node67.a('node.text','万kW');
  4674. Node67.a('node.textalign','left');
  4675. Node67.a('node.textvAlign','middle');
  4676. Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]);
  4677. Node67.a('node.color','rgba(169,169,169,1)');
  4678. Node67.a('node.font',' '+ Node67fontSize + 'px "Arial"');
  4679. Node67.a('node.textvisible',true);
  4680. Node67.a('node.linefeed',false);
  4681. if (false) {
  4682. Node67.a('node.textfunc',function(g) {
  4683. g.beginPath();
  4684. var str=Node67.a('node.text') || '万kW';
  4685. var color=Node67.a('node.color') || 'rgba(169,169,169,1)';
  4686. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node67width,Node67height,13.3333*_ratio.ratioY,"left",color,' '+ Node67fontSize + 'px "Arial"', 0,g);
  4687. });
  4688. }
  4689. if (false) {
  4690. Node67.a('node.underlinepoints',[Node67lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node67fontSize + 'px "Arial"').width + 6, (Node67height - Node67fontSize) * 0.5*_ratio.ratioY + Node67fontSize + 2 ]);
  4691. Node67.a('node.underlinevisible',false);
  4692. Node67.a('node.underlineBorderWidth', 1);
  4693. }
  4694. dataModel.add(Node67);
  4695. zoomNodeList.push({
  4696. node: Node67,
  4697. borderWidth: 0,
  4698. attr: 'node.borderwidth'
  4699. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4700. var Node68 = new ht.Node();
  4701. var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'left', Node68fontSize = 13.3333*_ratio.ratioY,Node68width = 9*_ratio.ratioX, Node68height = 16*_ratio.ratioY;
  4702. (function () {
  4703. if (Node68align === 'left') {
  4704. Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9;
  4705. Node68textWidth = Node68width;
  4706. Node68lineStart = 1;
  4707. } else if (Node68align === 'right') {
  4708. Node68textStart = 0;
  4709. Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2;
  4710. Node68lineStart = (Node68width - (ht.Default.getTextSize('-', 'bold '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
  4711. } else if (Node68align === 'center') {
  4712. Node68textStart = -3;
  4713. Node68textWidth = Node68width;
  4714. Node68lineStart = Node68width - ht.Default.getTextSize('-', 'bold '+ Node68fontSize + 'px "Arial"').width - 11;
  4715. }
  4716. })();
  4717. Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, 'bold '+ Node68fontSize + 'px "Arial"'))
  4718. Node68.setPosition(906*ratio.ratioX, 146*ratio.ratioY);
  4719. Node68.setWidth(Node68width);
  4720. Node68.setHeight(Node68height);
  4721. Node68._nodeType = 'text';
  4722. Node68._disallowEvert = true;
  4723. Node68.setRotation(0*Math.PI/180);
  4724. Node68.a('node.width', Node68width);
  4725. Node68.a('node.height', Node68height);
  4726. Node68.a('node.rect', [0, 0, Node68width, Node68height]);
  4727. Node68.a('node.bordercolor','rgba(0,0,0,1)');
  4728. Node68.a('node.borderwidth', 0);
  4729. Node68.a('node.background','' || 'rgba(0,0,0,0)');
  4730. Node68.a('node.gradient','');
  4731. Node68.a('node.gradientcolor','');
  4732. Node68.a('node.text','-');
  4733. Node68.a('node.textalign','left');
  4734. Node68.a('node.textvAlign','middle');
  4735. Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]);
  4736. Node68.a('node.color','rgba(0,0,0,1)');
  4737. Node68.a('node.font','bold '+ Node68fontSize + 'px "Arial"');
  4738. Node68.a('node.textvisible',true);
  4739. Node68.a('node.linefeed',false);
  4740. if (false) {
  4741. Node68.a('node.textfunc',function(g) {
  4742. g.beginPath();
  4743. var str=Node68.a('node.text') || '-';
  4744. var color=Node68.a('node.color') || 'rgba(0,0,0,1)';
  4745. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node68width,Node68height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node68fontSize + 'px "Arial"', 0,g);
  4746. });
  4747. }
  4748. if (false) {
  4749. Node68.a('node.underlinepoints',[Node68lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
  4750. Node68.a('node.underlinevisible',false);
  4751. Node68.a('node.underlineBorderWidth', 1);
  4752. }
  4753. dataModel.add(Node68);
  4754. zoomNodeList.push({
  4755. node: Node68,
  4756. borderWidth: 0,
  4757. attr: 'node.borderwidth'
  4758. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4759. var Node69 = new ht.Node();
  4760. var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 39*_ratio.ratioX, Node69height = 16*_ratio.ratioY;
  4761. (function () {
  4762. if (Node69align === 'left') {
  4763. Node69textStart = Node69fontSize * 0.2 > 2 ? Node69fontSize * 0.2 - 4 : Node69fontSize * 0.2 - 9;
  4764. Node69textWidth = Node69width;
  4765. Node69lineStart = 1;
  4766. } else if (Node69align === 'right') {
  4767. Node69textStart = 0;
  4768. Node69textWidth =Node69fontSize <= 8 ? Node69width + Node69fontSize * 0.2 + 6 : Node69width - Node69fontSize * 0.2;
  4769. Node69lineStart = (Node69width - (ht.Default.getTextSize('万kW', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
  4770. } else if (Node69align === 'center') {
  4771. Node69textStart = -3;
  4772. Node69textWidth = Node69width;
  4773. Node69lineStart = Node69width - ht.Default.getTextSize('万kW', ' '+ Node69fontSize + 'px "Arial"').width - 11;
  4774. }
  4775. })();
  4776. Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
  4777. Node69.setPosition(984*ratio.ratioX, 73*ratio.ratioY);
  4778. Node69.setWidth(Node69width);
  4779. Node69.setHeight(Node69height);
  4780. Node69._nodeType = 'text';
  4781. Node69._disallowEvert = true;
  4782. Node69.setRotation(0*Math.PI/180);
  4783. Node69.a('node.width', Node69width);
  4784. Node69.a('node.height', Node69height);
  4785. Node69.a('node.rect', [0, 0, Node69width, Node69height]);
  4786. Node69.a('node.bordercolor','rgba(169,169,169,1)');
  4787. Node69.a('node.borderwidth', 0);
  4788. Node69.a('node.background','' || 'rgba(0,0,0,0)');
  4789. Node69.a('node.gradient','');
  4790. Node69.a('node.gradientcolor','');
  4791. Node69.a('node.text','万kW');
  4792. Node69.a('node.textalign','left');
  4793. Node69.a('node.textvAlign','middle');
  4794. Node69.a('node.textrect', [Node69textStart, 0, Node69textWidth, Node69height]);
  4795. Node69.a('node.color','rgba(169,169,169,1)');
  4796. Node69.a('node.font',' '+ Node69fontSize + 'px "Arial"');
  4797. Node69.a('node.textvisible',true);
  4798. Node69.a('node.linefeed',false);
  4799. if (false) {
  4800. Node69.a('node.textfunc',function(g) {
  4801. g.beginPath();
  4802. var str=Node69.a('node.text') || '万kW';
  4803. var color=Node69.a('node.color') || 'rgba(169,169,169,1)';
  4804. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
  4805. });
  4806. }
  4807. if (false) {
  4808. Node69.a('node.underlinepoints',[Node69lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node69fontSize + 'px "Arial"').width + 6, (Node69height - Node69fontSize) * 0.5*_ratio.ratioY + Node69fontSize + 2 ]);
  4809. Node69.a('node.underlinevisible',false);
  4810. Node69.a('node.underlineBorderWidth', 1);
  4811. }
  4812. dataModel.add(Node69);
  4813. zoomNodeList.push({
  4814. node: Node69,
  4815. borderWidth: 0,
  4816. attr: 'node.borderwidth'
  4817. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4818. var Node70 = new ht.Node();
  4819. var Node70textStart, Node70textWidth, Node70lineStart, Node70align = 'left', Node70fontSize = 13.3333*_ratio.ratioY,Node70width = 39*_ratio.ratioX, Node70height = 16*_ratio.ratioY;
  4820. (function () {
  4821. if (Node70align === 'left') {
  4822. Node70textStart = Node70fontSize * 0.2 > 2 ? Node70fontSize * 0.2 - 4 : Node70fontSize * 0.2 - 9;
  4823. Node70textWidth = Node70width;
  4824. Node70lineStart = 1;
  4825. } else if (Node70align === 'right') {
  4826. Node70textStart = 0;
  4827. Node70textWidth =Node70fontSize <= 8 ? Node70width + Node70fontSize * 0.2 + 6 : Node70width - Node70fontSize * 0.2;
  4828. Node70lineStart = (Node70width - (ht.Default.getTextSize('万kW', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
  4829. } else if (Node70align === 'center') {
  4830. Node70textStart = -3;
  4831. Node70textWidth = Node70width;
  4832. Node70lineStart = Node70width - ht.Default.getTextSize('万kW', ' '+ Node70fontSize + 'px "Arial"').width - 11;
  4833. }
  4834. })();
  4835. Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"'))
  4836. Node70.setPosition(984*ratio.ratioX, 98*ratio.ratioY);
  4837. Node70.setWidth(Node70width);
  4838. Node70.setHeight(Node70height);
  4839. Node70._nodeType = 'text';
  4840. Node70._disallowEvert = true;
  4841. Node70.setRotation(0*Math.PI/180);
  4842. Node70.a('node.width', Node70width);
  4843. Node70.a('node.height', Node70height);
  4844. Node70.a('node.rect', [0, 0, Node70width, Node70height]);
  4845. Node70.a('node.bordercolor','rgba(169,169,169,1)');
  4846. Node70.a('node.borderwidth', 0);
  4847. Node70.a('node.background','' || 'rgba(0,0,0,0)');
  4848. Node70.a('node.gradient','');
  4849. Node70.a('node.gradientcolor','');
  4850. Node70.a('node.text','万kW');
  4851. Node70.a('node.textalign','left');
  4852. Node70.a('node.textvAlign','middle');
  4853. Node70.a('node.textrect', [Node70textStart, 0, Node70textWidth, Node70height]);
  4854. Node70.a('node.color','rgba(169,169,169,1)');
  4855. Node70.a('node.font',' '+ Node70fontSize + 'px "Arial"');
  4856. Node70.a('node.textvisible',true);
  4857. Node70.a('node.linefeed',false);
  4858. if (false) {
  4859. Node70.a('node.textfunc',function(g) {
  4860. g.beginPath();
  4861. var str=Node70.a('node.text') || '万kW';
  4862. var color=Node70.a('node.color') || 'rgba(169,169,169,1)';
  4863. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node70width,Node70height,13.3333*_ratio.ratioY,"left",color,' '+ Node70fontSize + 'px "Arial"', 0,g);
  4864. });
  4865. }
  4866. if (false) {
  4867. Node70.a('node.underlinepoints',[Node70lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
  4868. Node70.a('node.underlinevisible',false);
  4869. Node70.a('node.underlineBorderWidth', 1);
  4870. }
  4871. dataModel.add(Node70);
  4872. zoomNodeList.push({
  4873. node: Node70,
  4874. borderWidth: 0,
  4875. attr: 'node.borderwidth'
  4876. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4877. var Node71 = new ht.Node();
  4878. var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 19*_ratio.ratioX, Node71height = 16*_ratio.ratioY;
  4879. (function () {
  4880. if (Node71align === 'left') {
  4881. Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
  4882. Node71textWidth = Node71width;
  4883. Node71lineStart = 1;
  4884. } else if (Node71align === 'right') {
  4885. Node71textStart = 0;
  4886. Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
  4887. Node71lineStart = (Node71width - (ht.Default.getTextSize('吨', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
  4888. } else if (Node71align === 'center') {
  4889. Node71textStart = -3;
  4890. Node71textWidth = Node71width;
  4891. Node71lineStart = Node71width - ht.Default.getTextSize('吨', ' '+ Node71fontSize + 'px "Arial"').width - 11;
  4892. }
  4893. })();
  4894. Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
  4895. Node71.setPosition(974*ratio.ratioX, 125*ratio.ratioY);
  4896. Node71.setWidth(Node71width);
  4897. Node71.setHeight(Node71height);
  4898. Node71._nodeType = 'text';
  4899. Node71._disallowEvert = true;
  4900. Node71.setRotation(0*Math.PI/180);
  4901. Node71.a('node.width', Node71width);
  4902. Node71.a('node.height', Node71height);
  4903. Node71.a('node.rect', [0, 0, Node71width, Node71height]);
  4904. Node71.a('node.bordercolor','rgba(169,169,169,1)');
  4905. Node71.a('node.borderwidth', 0);
  4906. Node71.a('node.background','' || 'rgba(0,0,0,0)');
  4907. Node71.a('node.gradient','');
  4908. Node71.a('node.gradientcolor','');
  4909. Node71.a('node.text','吨');
  4910. Node71.a('node.textalign','left');
  4911. Node71.a('node.textvAlign','middle');
  4912. Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
  4913. Node71.a('node.color','rgba(169,169,169,1)');
  4914. Node71.a('node.font',' '+ Node71fontSize + 'px "Arial"');
  4915. Node71.a('node.textvisible',true);
  4916. Node71.a('node.linefeed',false);
  4917. if (false) {
  4918. Node71.a('node.textfunc',function(g) {
  4919. g.beginPath();
  4920. var str=Node71.a('node.text') || '吨';
  4921. var color=Node71.a('node.color') || 'rgba(169,169,169,1)';
  4922. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
  4923. });
  4924. }
  4925. if (false) {
  4926. Node71.a('node.underlinepoints',[Node71lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
  4927. Node71.a('node.underlinevisible',false);
  4928. Node71.a('node.underlineBorderWidth', 1);
  4929. }
  4930. dataModel.add(Node71);
  4931. zoomNodeList.push({
  4932. node: Node71,
  4933. borderWidth: 0,
  4934. attr: 'node.borderwidth'
  4935. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  4936. var Node72 = new ht.Node();
  4937. var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 19*_ratio.ratioX, Node72height = 16*_ratio.ratioY;
  4938. (function () {
  4939. if (Node72align === 'left') {
  4940. Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9;
  4941. Node72textWidth = Node72width;
  4942. Node72lineStart = 1;
  4943. } else if (Node72align === 'right') {
  4944. Node72textStart = 0;
  4945. Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2;
  4946. Node72lineStart = (Node72width - (ht.Default.getTextSize('吨', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
  4947. } else if (Node72align === 'center') {
  4948. Node72textStart = -3;
  4949. Node72textWidth = Node72width;
  4950. Node72lineStart = Node72width - ht.Default.getTextSize('吨', ' '+ Node72fontSize + 'px "Arial"').width - 11;
  4951. }
  4952. })();
  4953. Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
  4954. Node72.setPosition(974*ratio.ratioX, 147*ratio.ratioY);
  4955. Node72.setWidth(Node72width);
  4956. Node72.setHeight(Node72height);
  4957. Node72._nodeType = 'text';
  4958. Node72._disallowEvert = true;
  4959. Node72.setRotation(0*Math.PI/180);
  4960. Node72.a('node.width', Node72width);
  4961. Node72.a('node.height', Node72height);
  4962. Node72.a('node.rect', [0, 0, Node72width, Node72height]);
  4963. Node72.a('node.bordercolor','rgba(169,169,169,1)');
  4964. Node72.a('node.borderwidth', 0);
  4965. Node72.a('node.background','' || 'rgba(0,0,0,0)');
  4966. Node72.a('node.gradient','');
  4967. Node72.a('node.gradientcolor','');
  4968. Node72.a('node.text','吨');
  4969. Node72.a('node.textalign','left');
  4970. Node72.a('node.textvAlign','middle');
  4971. Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
  4972. Node72.a('node.color','rgba(169,169,169,1)');
  4973. Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"');
  4974. Node72.a('node.textvisible',true);
  4975. Node72.a('node.linefeed',false);
  4976. if (false) {
  4977. Node72.a('node.textfunc',function(g) {
  4978. g.beginPath();
  4979. var str=Node72.a('node.text') || '吨';
  4980. var color=Node72.a('node.color') || 'rgba(169,169,169,1)';
  4981. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
  4982. });
  4983. }
  4984. if (false) {
  4985. Node72.a('node.underlinepoints',[Node72lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
  4986. Node72.a('node.underlinevisible',false);
  4987. Node72.a('node.underlineBorderWidth', 1);
  4988. }
  4989. dataModel.add(Node72);
  4990. zoomNodeList.push({
  4991. node: Node72,
  4992. borderWidth: 0,
  4993. attr: 'node.borderwidth'
  4994. }); var Node73points=[766, 62,1043, 62],
  4995. Node73rect=ht.Default.unionPoint([{x:766,y:62},{x:1043,y:62}]),
  4996. Node73compspts=[];
  4997. _ratio = GD.getRatioWithRotation(0, ratio);
  4998. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  4999. _endratio = GD.getRatioWithRotation(0, ratio);
  5000. for(var i=0;i<Node73points.length;i++){
  5001. if(i%2==0){
  5002. Node73compspts.push(Node73points[i]-Node73rect.x);
  5003. }else{
  5004. Node73compspts.push(Node73points[i]-Node73rect.y);
  5005. }
  5006. }
  5007. var Node73ptslength=Node73compspts.length;
  5008. if (Node73rect.height === 0) {
  5009. Node73compspts[0] -= 0;
  5010. Node73compspts[Node73ptslength-2] += 0;
  5011. } else if (Node73rect.width === 0){
  5012. Node73compspts[1] -= 0;
  5013. Node73compspts[Node73ptslength-1] += 0;
  5014. } else {
  5015. Node73compspts[0] -= 0;
  5016. Node73compspts[1] -= 0;
  5017. Node73compspts[Node73ptslength-2] += 0;
  5018. Node73compspts[Node73ptslength-1] += 0;
  5019. }
  5020. Node73 = new ht.Node();
  5021. Node73.borderWidth = 1;
  5022. Node73rect.width = Node73rect.width === 0 ? 0.0001 : Node73rect.width;
  5023. Node73rect.height = Node73rect.height === 0 ? 0.0001 : Node73rect.height;
  5024. var Node73endCompspts = [Node73compspts[Node73ptslength-2],Node73compspts[Node73ptslength-1],0,0];
  5025. var Node73startCompspts = [Node73compspts[0],Node73compspts[1],0,0];
  5026. Node73.setImage(GD.getPolyLineJSON());
  5027. Node73.setPosition(Node73rect.x+Node73rect.width/2,Node73rect.y+Node73rect.height/2);
  5028. Node73.setSize(Node73rect.width,Node73rect.height);
  5029. Node73.setStyle("opacity",1);
  5030. Node73.s({'pixelPerfect':true});
  5031. Node73borderwidth=1;
  5032. Node73.setRotation(0);
  5033. dataModel.add(Node73);
  5034. Node73.a('node.points',Node73compspts);
  5035. Node73.a('node.segments',[1,2]);
  5036. Node73.a('node.color','rgba(220,220,220,1)');
  5037. Node73.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5038. Node73.a('node.borderColor','rgba(220,220,220,1)');
  5039. Node73.a('node.background','rgba(220,220,220,1)');
  5040. Node73.a('node.gradient','');
  5041. Node73.a('node.gradientcolor','rgba(220,220,220,1)');
  5042. Node73.a('node.endCompspts',Node73endCompspts);
  5043. Node73.a('node.startCompspts',Node73startCompspts);
  5044. (function (node, img, compspts, endCompspts, startCompspts) {
  5045. var position = node.getPosition(),
  5046. w = node.getWidth()*_ratio.ratioX,
  5047. h = node.getHeight()*_ratio.ratioY;
  5048. function resetPoints(rx, ry) {
  5049. for (var i = 0, len = compspts.length; i < len; i++) {
  5050. if (i%2 === 0) {
  5051. compspts[i]*=rx;
  5052. } else {
  5053. compspts[i]*=ry;
  5054. }
  5055. }
  5056. endCompspts[0] = compspts[compspts.length-2];
  5057. endCompspts[1] = compspts[compspts.length-1];
  5058. endCompspts[2] *= rx;
  5059. endCompspts[3] *= ry;
  5060. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5061. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5062. startCompspts[0] = compspts[0];
  5063. startCompspts[1] = compspts[1];
  5064. startCompspts[2] *= rx;
  5065. startCompspts[3] *= ry;
  5066. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5067. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5068. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5069. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5070. }
  5071. node.setSize(w, h);
  5072. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5073. node.a('node.width', w);
  5074. node.a('node.height', h);
  5075. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5076. node.borderWidth = 1;
  5077. node.a('node.borderwidth',node.borderWidth);
  5078. node._nodename = 'Node73';
  5079. node._nodeType = 'line';
  5080. zoomNodeList.push({
  5081. node: node,
  5082. attr: 'node.borderwidth'
  5083. });
  5084. var setWidth = node.setWidth,
  5085. setHeight = node.setHeight,
  5086. timer, rx = 1, ry = 1;
  5087. node.setWidth = function (width) {
  5088. var _width = this.getWidth();
  5089. rx = width / _width;
  5090. node.a('node.width', width);
  5091. setWidth.apply(this, arguments);
  5092. resetPoints(rx, 1);
  5093. }
  5094. node.setHeight = function (height) {
  5095. var _height = this.getHeight();
  5096. ry = height / _height;
  5097. node.a('node.height', height);
  5098. setHeight.apply(this, arguments);
  5099. resetPoints(1, ry);
  5100. }
  5101. })(Node73, Node73.getImage(), Node73compspts, Node73endCompspts, Node73startCompspts);
  5102. var Node74points=[764, 88,1041, 88],
  5103. Node74rect=ht.Default.unionPoint([{x:764,y:88},{x:1041,y:88}]),
  5104. Node74compspts=[];
  5105. _ratio = GD.getRatioWithRotation(0, ratio);
  5106. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5107. _endratio = GD.getRatioWithRotation(0, ratio);
  5108. for(var i=0;i<Node74points.length;i++){
  5109. if(i%2==0){
  5110. Node74compspts.push(Node74points[i]-Node74rect.x);
  5111. }else{
  5112. Node74compspts.push(Node74points[i]-Node74rect.y);
  5113. }
  5114. }
  5115. var Node74ptslength=Node74compspts.length;
  5116. if (Node74rect.height === 0) {
  5117. Node74compspts[0] -= 0;
  5118. Node74compspts[Node74ptslength-2] += 0;
  5119. } else if (Node74rect.width === 0){
  5120. Node74compspts[1] -= 0;
  5121. Node74compspts[Node74ptslength-1] += 0;
  5122. } else {
  5123. Node74compspts[0] -= 0;
  5124. Node74compspts[1] -= 0;
  5125. Node74compspts[Node74ptslength-2] += 0;
  5126. Node74compspts[Node74ptslength-1] += 0;
  5127. }
  5128. Node74 = new ht.Node();
  5129. Node74.borderWidth = 1;
  5130. Node74rect.width = Node74rect.width === 0 ? 0.0001 : Node74rect.width;
  5131. Node74rect.height = Node74rect.height === 0 ? 0.0001 : Node74rect.height;
  5132. var Node74endCompspts = [Node74compspts[Node74ptslength-2],Node74compspts[Node74ptslength-1],0,0];
  5133. var Node74startCompspts = [Node74compspts[0],Node74compspts[1],0,0];
  5134. Node74.setImage(GD.getPolyLineJSON());
  5135. Node74.setPosition(Node74rect.x+Node74rect.width/2,Node74rect.y+Node74rect.height/2);
  5136. Node74.setSize(Node74rect.width,Node74rect.height);
  5137. Node74.setStyle("opacity",1);
  5138. Node74.s({'pixelPerfect':true});
  5139. Node74borderwidth=1;
  5140. Node74.setRotation(0);
  5141. dataModel.add(Node74);
  5142. Node74.a('node.points',Node74compspts);
  5143. Node74.a('node.segments',[1,2]);
  5144. Node74.a('node.color','rgba(220,220,220,1)');
  5145. Node74.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5146. Node74.a('node.borderColor','rgba(220,220,220,1)');
  5147. Node74.a('node.background','rgba(220,220,220,1)');
  5148. Node74.a('node.gradient','');
  5149. Node74.a('node.gradientcolor','rgba(220,220,220,1)');
  5150. Node74.a('node.endCompspts',Node74endCompspts);
  5151. Node74.a('node.startCompspts',Node74startCompspts);
  5152. (function (node, img, compspts, endCompspts, startCompspts) {
  5153. var position = node.getPosition(),
  5154. w = node.getWidth()*_ratio.ratioX,
  5155. h = node.getHeight()*_ratio.ratioY;
  5156. function resetPoints(rx, ry) {
  5157. for (var i = 0, len = compspts.length; i < len; i++) {
  5158. if (i%2 === 0) {
  5159. compspts[i]*=rx;
  5160. } else {
  5161. compspts[i]*=ry;
  5162. }
  5163. }
  5164. endCompspts[0] = compspts[compspts.length-2];
  5165. endCompspts[1] = compspts[compspts.length-1];
  5166. endCompspts[2] *= rx;
  5167. endCompspts[3] *= ry;
  5168. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5169. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5170. startCompspts[0] = compspts[0];
  5171. startCompspts[1] = compspts[1];
  5172. startCompspts[2] *= rx;
  5173. startCompspts[3] *= ry;
  5174. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5175. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5176. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5177. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5178. }
  5179. node.setSize(w, h);
  5180. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5181. node.a('node.width', w);
  5182. node.a('node.height', h);
  5183. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5184. node.borderWidth = 1;
  5185. node.a('node.borderwidth',node.borderWidth);
  5186. node._nodename = 'Node74';
  5187. node._nodeType = 'line';
  5188. zoomNodeList.push({
  5189. node: node,
  5190. attr: 'node.borderwidth'
  5191. });
  5192. var setWidth = node.setWidth,
  5193. setHeight = node.setHeight,
  5194. timer, rx = 1, ry = 1;
  5195. node.setWidth = function (width) {
  5196. var _width = this.getWidth();
  5197. rx = width / _width;
  5198. node.a('node.width', width);
  5199. setWidth.apply(this, arguments);
  5200. resetPoints(rx, 1);
  5201. }
  5202. node.setHeight = function (height) {
  5203. var _height = this.getHeight();
  5204. ry = height / _height;
  5205. node.a('node.height', height);
  5206. setHeight.apply(this, arguments);
  5207. resetPoints(1, ry);
  5208. }
  5209. })(Node74, Node74.getImage(), Node74compspts, Node74endCompspts, Node74startCompspts);
  5210. var Node75points=[766, 108,1043, 108],
  5211. Node75rect=ht.Default.unionPoint([{x:766,y:108},{x:1043,y:108}]),
  5212. Node75compspts=[];
  5213. _ratio = GD.getRatioWithRotation(0, ratio);
  5214. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5215. _endratio = GD.getRatioWithRotation(0, ratio);
  5216. for(var i=0;i<Node75points.length;i++){
  5217. if(i%2==0){
  5218. Node75compspts.push(Node75points[i]-Node75rect.x);
  5219. }else{
  5220. Node75compspts.push(Node75points[i]-Node75rect.y);
  5221. }
  5222. }
  5223. var Node75ptslength=Node75compspts.length;
  5224. if (Node75rect.height === 0) {
  5225. Node75compspts[0] -= 0;
  5226. Node75compspts[Node75ptslength-2] += 0;
  5227. } else if (Node75rect.width === 0){
  5228. Node75compspts[1] -= 0;
  5229. Node75compspts[Node75ptslength-1] += 0;
  5230. } else {
  5231. Node75compspts[0] -= 0;
  5232. Node75compspts[1] -= 0;
  5233. Node75compspts[Node75ptslength-2] += 0;
  5234. Node75compspts[Node75ptslength-1] += 0;
  5235. }
  5236. Node75 = new ht.Node();
  5237. Node75.borderWidth = 1;
  5238. Node75rect.width = Node75rect.width === 0 ? 0.0001 : Node75rect.width;
  5239. Node75rect.height = Node75rect.height === 0 ? 0.0001 : Node75rect.height;
  5240. var Node75endCompspts = [Node75compspts[Node75ptslength-2],Node75compspts[Node75ptslength-1],0,0];
  5241. var Node75startCompspts = [Node75compspts[0],Node75compspts[1],0,0];
  5242. Node75.setImage(GD.getPolyLineJSON());
  5243. Node75.setPosition(Node75rect.x+Node75rect.width/2,Node75rect.y+Node75rect.height/2);
  5244. Node75.setSize(Node75rect.width,Node75rect.height);
  5245. Node75.setStyle("opacity",1);
  5246. Node75.s({'pixelPerfect':true});
  5247. Node75borderwidth=1;
  5248. Node75.setRotation(0);
  5249. dataModel.add(Node75);
  5250. Node75.a('node.points',Node75compspts);
  5251. Node75.a('node.segments',[1,2]);
  5252. Node75.a('node.color','rgba(220,220,220,1)');
  5253. Node75.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5254. Node75.a('node.borderColor','rgba(220,220,220,1)');
  5255. Node75.a('node.background','rgba(220,220,220,1)');
  5256. Node75.a('node.gradient','');
  5257. Node75.a('node.gradientcolor','rgba(220,220,220,1)');
  5258. Node75.a('node.endCompspts',Node75endCompspts);
  5259. Node75.a('node.startCompspts',Node75startCompspts);
  5260. (function (node, img, compspts, endCompspts, startCompspts) {
  5261. var position = node.getPosition(),
  5262. w = node.getWidth()*_ratio.ratioX,
  5263. h = node.getHeight()*_ratio.ratioY;
  5264. function resetPoints(rx, ry) {
  5265. for (var i = 0, len = compspts.length; i < len; i++) {
  5266. if (i%2 === 0) {
  5267. compspts[i]*=rx;
  5268. } else {
  5269. compspts[i]*=ry;
  5270. }
  5271. }
  5272. endCompspts[0] = compspts[compspts.length-2];
  5273. endCompspts[1] = compspts[compspts.length-1];
  5274. endCompspts[2] *= rx;
  5275. endCompspts[3] *= ry;
  5276. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5277. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5278. startCompspts[0] = compspts[0];
  5279. startCompspts[1] = compspts[1];
  5280. startCompspts[2] *= rx;
  5281. startCompspts[3] *= ry;
  5282. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5283. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5284. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5285. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5286. }
  5287. node.setSize(w, h);
  5288. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5289. node.a('node.width', w);
  5290. node.a('node.height', h);
  5291. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5292. node.borderWidth = 1;
  5293. node.a('node.borderwidth',node.borderWidth);
  5294. node._nodename = 'Node75';
  5295. node._nodeType = 'line';
  5296. zoomNodeList.push({
  5297. node: node,
  5298. attr: 'node.borderwidth'
  5299. });
  5300. var setWidth = node.setWidth,
  5301. setHeight = node.setHeight,
  5302. timer, rx = 1, ry = 1;
  5303. node.setWidth = function (width) {
  5304. var _width = this.getWidth();
  5305. rx = width / _width;
  5306. node.a('node.width', width);
  5307. setWidth.apply(this, arguments);
  5308. resetPoints(rx, 1);
  5309. }
  5310. node.setHeight = function (height) {
  5311. var _height = this.getHeight();
  5312. ry = height / _height;
  5313. node.a('node.height', height);
  5314. setHeight.apply(this, arguments);
  5315. resetPoints(1, ry);
  5316. }
  5317. })(Node75, Node75.getImage(), Node75compspts, Node75endCompspts, Node75startCompspts);
  5318. var Node76points=[766, 135,1043, 135],
  5319. Node76rect=ht.Default.unionPoint([{x:766,y:135},{x:1043,y:135}]),
  5320. Node76compspts=[];
  5321. _ratio = GD.getRatioWithRotation(0, ratio);
  5322. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  5323. _endratio = GD.getRatioWithRotation(0, ratio);
  5324. for(var i=0;i<Node76points.length;i++){
  5325. if(i%2==0){
  5326. Node76compspts.push(Node76points[i]-Node76rect.x);
  5327. }else{
  5328. Node76compspts.push(Node76points[i]-Node76rect.y);
  5329. }
  5330. }
  5331. var Node76ptslength=Node76compspts.length;
  5332. if (Node76rect.height === 0) {
  5333. Node76compspts[0] -= 0;
  5334. Node76compspts[Node76ptslength-2] += 0;
  5335. } else if (Node76rect.width === 0){
  5336. Node76compspts[1] -= 0;
  5337. Node76compspts[Node76ptslength-1] += 0;
  5338. } else {
  5339. Node76compspts[0] -= 0;
  5340. Node76compspts[1] -= 0;
  5341. Node76compspts[Node76ptslength-2] += 0;
  5342. Node76compspts[Node76ptslength-1] += 0;
  5343. }
  5344. Node76 = new ht.Node();
  5345. Node76.borderWidth = 1;
  5346. Node76rect.width = Node76rect.width === 0 ? 0.0001 : Node76rect.width;
  5347. Node76rect.height = Node76rect.height === 0 ? 0.0001 : Node76rect.height;
  5348. var Node76endCompspts = [Node76compspts[Node76ptslength-2],Node76compspts[Node76ptslength-1],0,0];
  5349. var Node76startCompspts = [Node76compspts[0],Node76compspts[1],0,0];
  5350. Node76.setImage(GD.getPolyLineJSON());
  5351. Node76.setPosition(Node76rect.x+Node76rect.width/2,Node76rect.y+Node76rect.height/2);
  5352. Node76.setSize(Node76rect.width,Node76rect.height);
  5353. Node76.setStyle("opacity",1);
  5354. Node76.s({'pixelPerfect':true});
  5355. Node76borderwidth=1;
  5356. Node76.setRotation(0);
  5357. dataModel.add(Node76);
  5358. Node76.a('node.points',Node76compspts);
  5359. Node76.a('node.segments',[1,2]);
  5360. Node76.a('node.color','rgba(220,220,220,1)');
  5361. Node76.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5362. Node76.a('node.borderColor','rgba(220,220,220,1)');
  5363. Node76.a('node.background','rgba(220,220,220,1)');
  5364. Node76.a('node.gradient','');
  5365. Node76.a('node.gradientcolor','rgba(220,220,220,1)');
  5366. Node76.a('node.endCompspts',Node76endCompspts);
  5367. Node76.a('node.startCompspts',Node76startCompspts);
  5368. (function (node, img, compspts, endCompspts, startCompspts) {
  5369. var position = node.getPosition(),
  5370. w = node.getWidth()*_ratio.ratioX,
  5371. h = node.getHeight()*_ratio.ratioY;
  5372. function resetPoints(rx, ry) {
  5373. for (var i = 0, len = compspts.length; i < len; i++) {
  5374. if (i%2 === 0) {
  5375. compspts[i]*=rx;
  5376. } else {
  5377. compspts[i]*=ry;
  5378. }
  5379. }
  5380. endCompspts[0] = compspts[compspts.length-2];
  5381. endCompspts[1] = compspts[compspts.length-1];
  5382. endCompspts[2] *= rx;
  5383. endCompspts[3] *= ry;
  5384. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5385. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5386. startCompspts[0] = compspts[0];
  5387. startCompspts[1] = compspts[1];
  5388. startCompspts[2] *= rx;
  5389. startCompspts[3] *= ry;
  5390. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5391. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5392. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5393. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5394. }
  5395. node.setSize(w, h);
  5396. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5397. node.a('node.width', w);
  5398. node.a('node.height', h);
  5399. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5400. node.borderWidth = 1;
  5401. node.a('node.borderwidth',node.borderWidth);
  5402. node._nodename = 'Node76';
  5403. node._nodeType = 'line';
  5404. zoomNodeList.push({
  5405. node: node,
  5406. attr: 'node.borderwidth'
  5407. });
  5408. var setWidth = node.setWidth,
  5409. setHeight = node.setHeight,
  5410. timer, rx = 1, ry = 1;
  5411. node.setWidth = function (width) {
  5412. var _width = this.getWidth();
  5413. rx = width / _width;
  5414. node.a('node.width', width);
  5415. setWidth.apply(this, arguments);
  5416. resetPoints(rx, 1);
  5417. }
  5418. node.setHeight = function (height) {
  5419. var _height = this.getHeight();
  5420. ry = height / _height;
  5421. node.a('node.height', height);
  5422. setHeight.apply(this, arguments);
  5423. resetPoints(1, ry);
  5424. }
  5425. })(Node76, Node76.getImage(), Node76compspts, Node76endCompspts, Node76startCompspts);
  5426. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5427. var Node77type = 'rect';
  5428. var Node77 = new ht.Node(),
  5429. Node77BorderWidth = 1*2;
  5430. if (Node77type === 'arc') {
  5431. Node77BorderWidth *= 1;
  5432. }
  5433. Node77.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node77type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  5434. Node77.setPosition(1111*ratio.ratioX, 98*ratio.ratioY);
  5435. Node77.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  5436. Node77.s({
  5437. 'pixelPerfect':true
  5438. /*@AddPara@*/
  5439. });
  5440. Node77.a('node.width', 120*_ratio.ratioX);
  5441. Node77.a('node.height', 120*_ratio.ratioY);
  5442. Node77.a('node.type', Node77type);
  5443. Node77.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  5444. Node77.a('node.background', 'rgba(245,245,245,1)');
  5445. Node77.a('node.gradientcolor', 'rgba(245,245,245,1)');
  5446. Node77.a('node.gradient', '');
  5447. Node77.a('node.borderwidth', Node77BorderWidth);
  5448. Node77.a('node.color', 'rgba(220,220,220,1)');
  5449. Node77.a('node.fillrect', [0,0,0,0]);
  5450. Node77.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  5451. Node77.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  5452. Node77.a('node.fillgradient', '');
  5453. if (Node77type !== 'rect') {
  5454. Node77.a('node.arcFrom', parseFloat('@arcFrom@'));
  5455. Node77.a('node.arcTo', parseFloat('@arcTo@'));
  5456. Node77.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  5457. }
  5458. if (Node77type === 'arc') {
  5459. Node77.a('node.arcOval', true);
  5460. }
  5461. Node77.setRotation(0*Math.PI/180);
  5462. Node77.borderWidth = Node77BorderWidth;
  5463. Node77.borderFillwidth = Node77BorderWidth;
  5464. dataModel.add(Node77);
  5465. Node77._nodename = 'Node77'
  5466. Node77._nodeType = 'rect';
  5467. zoomNodeList.push({
  5468. node: Node77,
  5469. attr: 'node.borderwidth'
  5470. });
  5471. (function (node, _img) {
  5472. var setWidth = node.setWidth,
  5473. setHeight = node.setHeight;
  5474. node.setWidth = function (width) {
  5475. if (width === this.getWidth()) return ;
  5476. var height = this.getHeight();
  5477. this.a('node.width', width);
  5478. this.a('node.rect', [0,0,width, height]);
  5479. setWidth.apply(this, arguments);
  5480. }
  5481. node.setHeight = function (height) {
  5482. if (height === this.getHeight()) return ;
  5483. var width = this.getWidth();
  5484. this.a('node.height', height);
  5485. this.a('node.rect', [0,0,width, height]);
  5486. setHeight.apply(this, arguments);
  5487. }
  5488. })(Node77, Node77.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5489. var Node78type = 'rect';
  5490. var Node78 = new ht.Node(),
  5491. Node78BorderWidth = 1*2;
  5492. if (Node78type === 'arc') {
  5493. Node78BorderWidth *= 1;
  5494. }
  5495. Node78.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  5496. Node78.setPosition(1190*ratio.ratioX, 98*ratio.ratioY);
  5497. Node78.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  5498. Node78.s({
  5499. 'pixelPerfect':true
  5500. /*@AddPara@*/
  5501. });
  5502. Node78.a('node.width', 280.7278*_ratio.ratioX);
  5503. Node78.a('node.height', 122*_ratio.ratioY);
  5504. Node78.a('node.type', Node78type);
  5505. Node78.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  5506. Node78.a('node.background', 'rgba(255,255,255,0.003921569)');
  5507. Node78.a('node.gradientcolor', '');
  5508. Node78.a('node.gradient', '');
  5509. Node78.a('node.borderwidth', Node78BorderWidth);
  5510. Node78.a('node.color', 'rgba(220,220,220,1)');
  5511. Node78.a('node.fillrect', [0,0,0,0]);
  5512. Node78.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  5513. Node78.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  5514. Node78.a('node.fillgradient', '');
  5515. if (Node78type !== 'rect') {
  5516. Node78.a('node.arcFrom', parseFloat('@arcFrom@'));
  5517. Node78.a('node.arcTo', parseFloat('@arcTo@'));
  5518. Node78.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  5519. }
  5520. if (Node78type === 'arc') {
  5521. Node78.a('node.arcOval', true);
  5522. }
  5523. Node78.setRotation(0*Math.PI/180);
  5524. Node78.borderWidth = Node78BorderWidth;
  5525. Node78.borderFillwidth = Node78BorderWidth;
  5526. dataModel.add(Node78);
  5527. Node78._nodename = 'Node78'
  5528. Node78._nodeType = 'rect';
  5529. zoomNodeList.push({
  5530. node: Node78,
  5531. attr: 'node.borderwidth'
  5532. });
  5533. (function (node, _img) {
  5534. var setWidth = node.setWidth,
  5535. setHeight = node.setHeight;
  5536. node.setWidth = function (width) {
  5537. if (width === this.getWidth()) return ;
  5538. var height = this.getHeight();
  5539. this.a('node.width', width);
  5540. this.a('node.rect', [0,0,width, height]);
  5541. setWidth.apply(this, arguments);
  5542. }
  5543. node.setHeight = function (height) {
  5544. if (height === this.getHeight()) return ;
  5545. var width = this.getWidth();
  5546. this.a('node.height', height);
  5547. this.a('node.rect', [0,0,width, height]);
  5548. setHeight.apply(this, arguments);
  5549. }
  5550. })(Node78, Node78.getImage());var Node79points=[1241, 38,1241, 158],
  5551. Node79rect=ht.Default.unionPoint([{x:1241,y:38},{x:1241,y:158}]),
  5552. Node79compspts=[];
  5553. _ratio = GD.getRatioWithRotation(0, ratio);
  5554. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  5555. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  5556. for(var i=0;i<Node79points.length;i++){
  5557. if(i%2==0){
  5558. Node79compspts.push(Node79points[i]-Node79rect.x);
  5559. }else{
  5560. Node79compspts.push(Node79points[i]-Node79rect.y);
  5561. }
  5562. }
  5563. var Node79ptslength=Node79compspts.length;
  5564. if (Node79rect.height === 0) {
  5565. Node79compspts[0] -= 0;
  5566. Node79compspts[Node79ptslength-2] += 0;
  5567. } else if (Node79rect.width === 0){
  5568. Node79compspts[1] -= 0;
  5569. Node79compspts[Node79ptslength-1] += 0;
  5570. } else {
  5571. Node79compspts[0] -= 0;
  5572. Node79compspts[1] -= 0;
  5573. Node79compspts[Node79ptslength-2] += 0;
  5574. Node79compspts[Node79ptslength-1] += 0;
  5575. }
  5576. Node79 = new ht.Node();
  5577. Node79.borderWidth = 1;
  5578. Node79rect.width = Node79rect.width === 0 ? 0.0001 : Node79rect.width;
  5579. Node79rect.height = Node79rect.height === 0 ? 0.0001 : Node79rect.height;
  5580. var Node79endCompspts = [Node79compspts[Node79ptslength-2],Node79compspts[Node79ptslength-1],0,0];
  5581. var Node79startCompspts = [Node79compspts[0],Node79compspts[1],0,0];
  5582. Node79.setImage(GD.getPolyLineJSON());
  5583. Node79.setPosition(Node79rect.x+Node79rect.width/2,Node79rect.y+Node79rect.height/2);
  5584. Node79.setSize(Node79rect.width,Node79rect.height);
  5585. Node79.setStyle("opacity",1);
  5586. Node79.s({'pixelPerfect':true});
  5587. Node79borderwidth=1;
  5588. Node79.setRotation(0);
  5589. dataModel.add(Node79);
  5590. Node79.a('node.points',Node79compspts);
  5591. Node79.a('node.segments',[1,2]);
  5592. Node79.a('node.color','rgba(220,220,220,1)');
  5593. Node79.a('node.borderPattern',getDashStyle("@borderPattern@"));
  5594. Node79.a('node.borderColor','rgba(220,220,220,1)');
  5595. Node79.a('node.background','rgba(220,220,220,1)');
  5596. Node79.a('node.gradient','');
  5597. Node79.a('node.gradientcolor','rgba(220,220,220,1)');
  5598. Node79.a('node.endCompspts',Node79endCompspts);
  5599. Node79.a('node.startCompspts',Node79startCompspts);
  5600. (function (node, img, compspts, endCompspts, startCompspts) {
  5601. var position = node.getPosition(),
  5602. w = node.getWidth()*_ratio.ratioX,
  5603. h = node.getHeight()*_ratio.ratioY;
  5604. function resetPoints(rx, ry) {
  5605. for (var i = 0, len = compspts.length; i < len; i++) {
  5606. if (i%2 === 0) {
  5607. compspts[i]*=rx;
  5608. } else {
  5609. compspts[i]*=ry;
  5610. }
  5611. }
  5612. endCompspts[0] = compspts[compspts.length-2];
  5613. endCompspts[1] = compspts[compspts.length-1];
  5614. endCompspts[2] *= rx;
  5615. endCompspts[3] *= ry;
  5616. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  5617. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  5618. startCompspts[0] = compspts[0];
  5619. startCompspts[1] = compspts[1];
  5620. startCompspts[2] *= rx;
  5621. startCompspts[3] *= ry;
  5622. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  5623. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  5624. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  5625. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  5626. }
  5627. node.setSize(w, h);
  5628. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  5629. node.a('node.width', w);
  5630. node.a('node.height', h);
  5631. resetPoints(_ratio.ratioX, _ratio.ratioY);
  5632. node.borderWidth = 1;
  5633. node.a('node.borderwidth',node.borderWidth);
  5634. node._nodename = 'Node79';
  5635. node._nodeType = 'line';
  5636. zoomNodeList.push({
  5637. node: node,
  5638. attr: 'node.borderwidth'
  5639. });
  5640. var setWidth = node.setWidth,
  5641. setHeight = node.setHeight,
  5642. timer, rx = 1, ry = 1;
  5643. node.setWidth = function (width) {
  5644. var _width = this.getWidth();
  5645. rx = width / _width;
  5646. node.a('node.width', width);
  5647. setWidth.apply(this, arguments);
  5648. resetPoints(rx, 1);
  5649. }
  5650. node.setHeight = function (height) {
  5651. var _height = this.getHeight();
  5652. ry = height / _height;
  5653. node.a('node.height', height);
  5654. setHeight.apply(this, arguments);
  5655. resetPoints(1, ry);
  5656. }
  5657. })(Node79, Node79.getImage(), Node79compspts, Node79endCompspts, Node79startCompspts);
  5658. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5659. var Node80 = new ht.Node();
  5660. var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 110*_ratio.ratioX, Node80height = 16*_ratio.ratioY;
  5661. (function () {
  5662. if (Node80align === 'left') {
  5663. Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
  5664. Node80textWidth = Node80width;
  5665. Node80lineStart = 1;
  5666. } else if (Node80align === 'right') {
  5667. Node80textStart = 0;
  5668. Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
  5669. Node80lineStart = (Node80width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
  5670. } else if (Node80align === 'center') {
  5671. Node80textStart = -3;
  5672. Node80textWidth = Node80width;
  5673. Node80lineStart = Node80width - ht.Default.getTextSize('日维护损失电量', ' '+ Node80fontSize + 'px "Arial"').width - 11;
  5674. }
  5675. })();
  5676. Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
  5677. Node80.setPosition(1110*ratio.ratioX, 49*ratio.ratioY);
  5678. Node80.setWidth(Node80width);
  5679. Node80.setHeight(Node80height);
  5680. Node80._nodeType = 'text';
  5681. Node80._disallowEvert = true;
  5682. Node80.setRotation(0*Math.PI/180);
  5683. Node80.a('node.width', Node80width);
  5684. Node80.a('node.height', Node80height);
  5685. Node80.a('node.rect', [0, 0, Node80width, Node80height]);
  5686. Node80.a('node.bordercolor','rgba(0,0,0,1)');
  5687. Node80.a('node.borderwidth', 0);
  5688. Node80.a('node.background','' || 'rgba(0,0,0,0)');
  5689. Node80.a('node.gradient','');
  5690. Node80.a('node.gradientcolor','');
  5691. Node80.a('node.text','日维护损失电量');
  5692. Node80.a('node.textalign','left');
  5693. Node80.a('node.textvAlign','middle');
  5694. Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
  5695. Node80.a('node.color','rgba(0,0,0,1)');
  5696. Node80.a('node.font',' '+ Node80fontSize + 'px "Arial"');
  5697. Node80.a('node.textvisible',true);
  5698. Node80.a('node.linefeed',false);
  5699. if (false) {
  5700. Node80.a('node.textfunc',function(g) {
  5701. g.beginPath();
  5702. var str=Node80.a('node.text') || '日维护损失电量';
  5703. var color=Node80.a('node.color') || 'rgba(0,0,0,1)';
  5704. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
  5705. });
  5706. }
  5707. if (false) {
  5708. Node80.a('node.underlinepoints',[Node80lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
  5709. Node80.a('node.underlinevisible',false);
  5710. Node80.a('node.underlineBorderWidth', 1);
  5711. }
  5712. dataModel.add(Node80);
  5713. zoomNodeList.push({
  5714. node: Node80,
  5715. borderWidth: 0,
  5716. attr: 'node.borderwidth'
  5717. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5718. var Node81 = new ht.Node();
  5719. var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'left', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 110*_ratio.ratioX, Node81height = 16*_ratio.ratioY;
  5720. (function () {
  5721. if (Node81align === 'left') {
  5722. Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
  5723. Node81textWidth = Node81width;
  5724. Node81lineStart = 1;
  5725. } else if (Node81align === 'right') {
  5726. Node81textStart = 0;
  5727. Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
  5728. Node81lineStart = (Node81width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5;
  5729. } else if (Node81align === 'center') {
  5730. Node81textStart = -3;
  5731. Node81textWidth = Node81width;
  5732. Node81lineStart = Node81width - ht.Default.getTextSize('日故障损失电量', ' '+ Node81fontSize + 'px "Arial"').width - 11;
  5733. }
  5734. })();
  5735. Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"'))
  5736. Node81.setPosition(1110*ratio.ratioX, 75*ratio.ratioY);
  5737. Node81.setWidth(Node81width);
  5738. Node81.setHeight(Node81height);
  5739. Node81._nodeType = 'text';
  5740. Node81._disallowEvert = true;
  5741. Node81.setRotation(0*Math.PI/180);
  5742. Node81.a('node.width', Node81width);
  5743. Node81.a('node.height', Node81height);
  5744. Node81.a('node.rect', [0, 0, Node81width, Node81height]);
  5745. Node81.a('node.bordercolor','rgba(0,0,0,1)');
  5746. Node81.a('node.borderwidth', 0);
  5747. Node81.a('node.background','' || 'rgba(0,0,0,0)');
  5748. Node81.a('node.gradient','');
  5749. Node81.a('node.gradientcolor','');
  5750. Node81.a('node.text','日故障损失电量');
  5751. Node81.a('node.textalign','left');
  5752. Node81.a('node.textvAlign','middle');
  5753. Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
  5754. Node81.a('node.color','rgba(0,0,0,1)');
  5755. Node81.a('node.font',' '+ Node81fontSize + 'px "Arial"');
  5756. Node81.a('node.textvisible',true);
  5757. Node81.a('node.linefeed',false);
  5758. if (false) {
  5759. Node81.a('node.textfunc',function(g) {
  5760. g.beginPath();
  5761. var str=Node81.a('node.text') || '日故障损失电量';
  5762. var color=Node81.a('node.color') || 'rgba(0,0,0,1)';
  5763. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"left",color,' '+ Node81fontSize + 'px "Arial"', 0,g);
  5764. });
  5765. }
  5766. if (false) {
  5767. Node81.a('node.underlinepoints',[Node81lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node81fontSize + 'px "Arial"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]);
  5768. Node81.a('node.underlinevisible',false);
  5769. Node81.a('node.underlineBorderWidth', 1);
  5770. }
  5771. dataModel.add(Node81);
  5772. zoomNodeList.push({
  5773. node: Node81,
  5774. borderWidth: 0,
  5775. attr: 'node.borderwidth'
  5776. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5777. var Node82 = new ht.Node();
  5778. var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'left', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 110*_ratio.ratioX, Node82height = 16*_ratio.ratioY;
  5779. (function () {
  5780. if (Node82align === 'left') {
  5781. Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
  5782. Node82textWidth = Node82width;
  5783. Node82lineStart = 1;
  5784. } else if (Node82align === 'right') {
  5785. Node82textStart = 0;
  5786. Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
  5787. Node82lineStart = (Node82width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node82fontSize + 'px "Arial"').width + 6)) * 0.5;
  5788. } else if (Node82align === 'center') {
  5789. Node82textStart = -3;
  5790. Node82textWidth = Node82width;
  5791. Node82lineStart = Node82width - ht.Default.getTextSize('日限电损失电量', ' '+ Node82fontSize + 'px "Arial"').width - 11;
  5792. }
  5793. })();
  5794. Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "Arial"'))
  5795. Node82.setPosition(1110*ratio.ratioX, 99*ratio.ratioY);
  5796. Node82.setWidth(Node82width);
  5797. Node82.setHeight(Node82height);
  5798. Node82._nodeType = 'text';
  5799. Node82._disallowEvert = true;
  5800. Node82.setRotation(0*Math.PI/180);
  5801. Node82.a('node.width', Node82width);
  5802. Node82.a('node.height', Node82height);
  5803. Node82.a('node.rect', [0, 0, Node82width, Node82height]);
  5804. Node82.a('node.bordercolor','rgba(0,0,0,1)');
  5805. Node82.a('node.borderwidth', 0);
  5806. Node82.a('node.background','' || 'rgba(0,0,0,0)');
  5807. Node82.a('node.gradient','');
  5808. Node82.a('node.gradientcolor','');
  5809. Node82.a('node.text','日限电损失电量');
  5810. Node82.a('node.textalign','left');
  5811. Node82.a('node.textvAlign','middle');
  5812. Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
  5813. Node82.a('node.color','rgba(0,0,0,1)');
  5814. Node82.a('node.font',' '+ Node82fontSize + 'px "Arial"');
  5815. Node82.a('node.textvisible',true);
  5816. Node82.a('node.linefeed',false);
  5817. if (false) {
  5818. Node82.a('node.textfunc',function(g) {
  5819. g.beginPath();
  5820. var str=Node82.a('node.text') || '日限电损失电量';
  5821. var color=Node82.a('node.color') || 'rgba(0,0,0,1)';
  5822. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"left",color,' '+ Node82fontSize + 'px "Arial"', 0,g);
  5823. });
  5824. }
  5825. if (false) {
  5826. Node82.a('node.underlinepoints',[Node82lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node82fontSize + 'px "Arial"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
  5827. Node82.a('node.underlinevisible',false);
  5828. Node82.a('node.underlineBorderWidth', 1);
  5829. }
  5830. dataModel.add(Node82);
  5831. zoomNodeList.push({
  5832. node: Node82,
  5833. borderWidth: 0,
  5834. attr: 'node.borderwidth'
  5835. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5836. var Node83 = new ht.Node();
  5837. var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'left', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 110*_ratio.ratioX, Node83height = 16*_ratio.ratioY;
  5838. (function () {
  5839. if (Node83align === 'left') {
  5840. Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9;
  5841. Node83textWidth = Node83width;
  5842. Node83lineStart = 1;
  5843. } else if (Node83align === 'right') {
  5844. Node83textStart = 0;
  5845. Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2;
  5846. Node83lineStart = (Node83width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node83fontSize + 'px "Arial"').width + 6)) * 0.5;
  5847. } else if (Node83align === 'center') {
  5848. Node83textStart = -3;
  5849. Node83textWidth = Node83width;
  5850. Node83lineStart = Node83width - ht.Default.getTextSize('日受累损失电量', ' '+ Node83fontSize + 'px "Arial"').width - 11;
  5851. }
  5852. })();
  5853. Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "Arial"'))
  5854. Node83.setPosition(1110*ratio.ratioX, 122*ratio.ratioY);
  5855. Node83.setWidth(Node83width);
  5856. Node83.setHeight(Node83height);
  5857. Node83._nodeType = 'text';
  5858. Node83._disallowEvert = true;
  5859. Node83.setRotation(0*Math.PI/180);
  5860. Node83.a('node.width', Node83width);
  5861. Node83.a('node.height', Node83height);
  5862. Node83.a('node.rect', [0, 0, Node83width, Node83height]);
  5863. Node83.a('node.bordercolor','rgba(0,0,0,1)');
  5864. Node83.a('node.borderwidth', 0);
  5865. Node83.a('node.background','' || 'rgba(0,0,0,0)');
  5866. Node83.a('node.gradient','');
  5867. Node83.a('node.gradientcolor','');
  5868. Node83.a('node.text','日受累损失电量');
  5869. Node83.a('node.textalign','left');
  5870. Node83.a('node.textvAlign','middle');
  5871. Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]);
  5872. Node83.a('node.color','rgba(0,0,0,1)');
  5873. Node83.a('node.font',' '+ Node83fontSize + 'px "Arial"');
  5874. Node83.a('node.textvisible',true);
  5875. Node83.a('node.linefeed',false);
  5876. if (false) {
  5877. Node83.a('node.textfunc',function(g) {
  5878. g.beginPath();
  5879. var str=Node83.a('node.text') || '日受累损失电量';
  5880. var color=Node83.a('node.color') || 'rgba(0,0,0,1)';
  5881. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"left",color,' '+ Node83fontSize + 'px "Arial"', 0,g);
  5882. });
  5883. }
  5884. if (false) {
  5885. Node83.a('node.underlinepoints',[Node83lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node83fontSize + 'px "Arial"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
  5886. Node83.a('node.underlinevisible',false);
  5887. Node83.a('node.underlineBorderWidth', 1);
  5888. }
  5889. dataModel.add(Node83);
  5890. zoomNodeList.push({
  5891. node: Node83,
  5892. borderWidth: 0,
  5893. attr: 'node.borderwidth'
  5894. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5895. var Node84 = new ht.Node();
  5896. var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'left', Node84fontSize = 13.3333*_ratio.ratioY,Node84width = 110*_ratio.ratioX, Node84height = 16*_ratio.ratioY;
  5897. (function () {
  5898. if (Node84align === 'left') {
  5899. Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9;
  5900. Node84textWidth = Node84width;
  5901. Node84lineStart = 1;
  5902. } else if (Node84align === 'right') {
  5903. Node84textStart = 0;
  5904. Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2;
  5905. Node84lineStart = (Node84width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node84fontSize + 'px "Arial"').width + 6)) * 0.5;
  5906. } else if (Node84align === 'center') {
  5907. Node84textStart = -3;
  5908. Node84textWidth = Node84width;
  5909. Node84lineStart = Node84width - ht.Default.getTextSize('日性能损失电量', ' '+ Node84fontSize + 'px "Arial"').width - 11;
  5910. }
  5911. })();
  5912. Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "Arial"'))
  5913. Node84.setPosition(1110*ratio.ratioX, 147*ratio.ratioY);
  5914. Node84.setWidth(Node84width);
  5915. Node84.setHeight(Node84height);
  5916. Node84._nodeType = 'text';
  5917. Node84._disallowEvert = true;
  5918. Node84.setRotation(0*Math.PI/180);
  5919. Node84.a('node.width', Node84width);
  5920. Node84.a('node.height', Node84height);
  5921. Node84.a('node.rect', [0, 0, Node84width, Node84height]);
  5922. Node84.a('node.bordercolor','rgba(0,0,0,1)');
  5923. Node84.a('node.borderwidth', 0);
  5924. Node84.a('node.background','' || 'rgba(0,0,0,0)');
  5925. Node84.a('node.gradient','');
  5926. Node84.a('node.gradientcolor','');
  5927. Node84.a('node.text','日性能损失电量');
  5928. Node84.a('node.textalign','left');
  5929. Node84.a('node.textvAlign','middle');
  5930. Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
  5931. Node84.a('node.color','rgba(0,0,0,1)');
  5932. Node84.a('node.font',' '+ Node84fontSize + 'px "Arial"');
  5933. Node84.a('node.textvisible',true);
  5934. Node84.a('node.linefeed',false);
  5935. if (false) {
  5936. Node84.a('node.textfunc',function(g) {
  5937. g.beginPath();
  5938. var str=Node84.a('node.text') || '日性能损失电量';
  5939. var color=Node84.a('node.color') || 'rgba(0,0,0,1)';
  5940. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"left",color,' '+ Node84fontSize + 'px "Arial"', 0,g);
  5941. });
  5942. }
  5943. if (false) {
  5944. Node84.a('node.underlinepoints',[Node84lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node84fontSize + 'px "Arial"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]);
  5945. Node84.a('node.underlinevisible',false);
  5946. Node84.a('node.underlineBorderWidth', 1);
  5947. }
  5948. dataModel.add(Node84);
  5949. zoomNodeList.push({
  5950. node: Node84,
  5951. borderWidth: 0,
  5952. attr: 'node.borderwidth'
  5953. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  5954. var Node85 = new ht.Node();
  5955. var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'left', Node85fontSize = 13.3333*_ratio.ratioY,Node85width = 11*_ratio.ratioX, Node85height = 16*_ratio.ratioY;
  5956. (function () {
  5957. if (Node85align === 'left') {
  5958. Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9;
  5959. Node85textWidth = Node85width;
  5960. Node85lineStart = 1;
  5961. } else if (Node85align === 'right') {
  5962. Node85textStart = 0;
  5963. Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2;
  5964. Node85lineStart = (Node85width - (ht.Default.getTextSize('0', 'bold '+ Node85fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  5965. } else if (Node85align === 'center') {
  5966. Node85textStart = -3;
  5967. Node85textWidth = Node85width;
  5968. Node85lineStart = Node85width - ht.Default.getTextSize('0', 'bold '+ Node85fontSize + 'px "UniDreamLED"').width - 11;
  5969. }
  5970. })();
  5971. Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, 'bold '+ Node85fontSize + 'px "UniDreamLED"'))
  5972. Node85.setPosition(1193*ratio.ratioX, 48*ratio.ratioY);
  5973. Node85.setWidth(Node85width);
  5974. Node85.setHeight(Node85height);
  5975. Node85._nodeType = 'text';
  5976. Node85._disallowEvert = true;
  5977. Node85.setRotation(0*Math.PI/180);
  5978. Node85.a('node.width', Node85width);
  5979. Node85.a('node.height', Node85height);
  5980. Node85.a('node.rect', [0, 0, Node85width, Node85height]);
  5981. Node85.a('node.bordercolor','rgba(0,0,0,1)');
  5982. Node85.a('node.borderwidth', 0);
  5983. Node85.a('node.background','' || 'rgba(0,0,0,0)');
  5984. Node85.a('node.gradient','');
  5985. Node85.a('node.gradientcolor','');
  5986. Node85.a('node.text','0');
  5987. Node85.a('node.textalign','left');
  5988. Node85.a('node.textvAlign','middle');
  5989. Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
  5990. Node85.a('node.color','rgba(0,0,0,1)');
  5991. Node85.a('node.font','bold '+ Node85fontSize + 'px "UniDreamLED"');
  5992. Node85.a('node.textvisible',true);
  5993. Node85.a('node.linefeed',false);
  5994. if (false) {
  5995. Node85.a('node.textfunc',function(g) {
  5996. g.beginPath();
  5997. var str=Node85.a('node.text') || '0';
  5998. var color=Node85.a('node.color') || 'rgba(0,0,0,1)';
  5999. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node85fontSize + 'px "UniDreamLED"', 0,g);
  6000. });
  6001. }
  6002. if (false) {
  6003. Node85.a('node.underlinepoints',[Node85lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node85fontSize + 'px "UniDreamLED"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]);
  6004. Node85.a('node.underlinevisible',false);
  6005. Node85.a('node.underlineBorderWidth', 1);
  6006. }
  6007. dataModel.add(Node85);
  6008. zoomNodeList.push({
  6009. node: Node85,
  6010. borderWidth: 0,
  6011. attr: 'node.borderwidth'
  6012. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6013. var Node86 = new ht.Node();
  6014. var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 11*_ratio.ratioX, Node86height = 16*_ratio.ratioY;
  6015. (function () {
  6016. if (Node86align === 'left') {
  6017. Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
  6018. Node86textWidth = Node86width;
  6019. Node86lineStart = 1;
  6020. } else if (Node86align === 'right') {
  6021. Node86textStart = 0;
  6022. Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
  6023. Node86lineStart = (Node86width - (ht.Default.getTextSize('0', 'bold '+ Node86fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  6024. } else if (Node86align === 'center') {
  6025. Node86textStart = -3;
  6026. Node86textWidth = Node86width;
  6027. Node86lineStart = Node86width - ht.Default.getTextSize('0', 'bold '+ Node86fontSize + 'px "UniDreamLED"').width - 11;
  6028. }
  6029. })();
  6030. Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, 'bold '+ Node86fontSize + 'px "UniDreamLED"'))
  6031. Node86.setPosition(1193*ratio.ratioX, 72*ratio.ratioY);
  6032. Node86.setWidth(Node86width);
  6033. Node86.setHeight(Node86height);
  6034. Node86._nodeType = 'text';
  6035. Node86._disallowEvert = true;
  6036. Node86.setRotation(0*Math.PI/180);
  6037. Node86.a('node.width', Node86width);
  6038. Node86.a('node.height', Node86height);
  6039. Node86.a('node.rect', [0, 0, Node86width, Node86height]);
  6040. Node86.a('node.bordercolor','rgba(0,0,0,1)');
  6041. Node86.a('node.borderwidth', 0);
  6042. Node86.a('node.background','' || 'rgba(0,0,0,0)');
  6043. Node86.a('node.gradient','');
  6044. Node86.a('node.gradientcolor','');
  6045. Node86.a('node.text','0');
  6046. Node86.a('node.textalign','left');
  6047. Node86.a('node.textvAlign','middle');
  6048. Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
  6049. Node86.a('node.color','rgba(0,0,0,1)');
  6050. Node86.a('node.font','bold '+ Node86fontSize + 'px "UniDreamLED"');
  6051. Node86.a('node.textvisible',true);
  6052. Node86.a('node.linefeed',false);
  6053. if (false) {
  6054. Node86.a('node.textfunc',function(g) {
  6055. g.beginPath();
  6056. var str=Node86.a('node.text') || '0';
  6057. var color=Node86.a('node.color') || 'rgba(0,0,0,1)';
  6058. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node86fontSize + 'px "UniDreamLED"', 0,g);
  6059. });
  6060. }
  6061. if (false) {
  6062. Node86.a('node.underlinepoints',[Node86lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node86fontSize + 'px "UniDreamLED"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
  6063. Node86.a('node.underlinevisible',false);
  6064. Node86.a('node.underlineBorderWidth', 1);
  6065. }
  6066. dataModel.add(Node86);
  6067. zoomNodeList.push({
  6068. node: Node86,
  6069. borderWidth: 0,
  6070. attr: 'node.borderwidth'
  6071. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6072. var Node87 = new ht.Node();
  6073. var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'left', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 11*_ratio.ratioX, Node87height = 16*_ratio.ratioY;
  6074. (function () {
  6075. if (Node87align === 'left') {
  6076. Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
  6077. Node87textWidth = Node87width;
  6078. Node87lineStart = 1;
  6079. } else if (Node87align === 'right') {
  6080. Node87textStart = 0;
  6081. Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
  6082. Node87lineStart = (Node87width - (ht.Default.getTextSize('0', 'bold '+ Node87fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  6083. } else if (Node87align === 'center') {
  6084. Node87textStart = -3;
  6085. Node87textWidth = Node87width;
  6086. Node87lineStart = Node87width - ht.Default.getTextSize('0', 'bold '+ Node87fontSize + 'px "UniDreamLED"').width - 11;
  6087. }
  6088. })();
  6089. Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, 'bold '+ Node87fontSize + 'px "UniDreamLED"'))
  6090. Node87.setPosition(1193*ratio.ratioX, 97*ratio.ratioY);
  6091. Node87.setWidth(Node87width);
  6092. Node87.setHeight(Node87height);
  6093. Node87._nodeType = 'text';
  6094. Node87._disallowEvert = true;
  6095. Node87.setRotation(0*Math.PI/180);
  6096. Node87.a('node.width', Node87width);
  6097. Node87.a('node.height', Node87height);
  6098. Node87.a('node.rect', [0, 0, Node87width, Node87height]);
  6099. Node87.a('node.bordercolor','rgba(0,0,0,1)');
  6100. Node87.a('node.borderwidth', 0);
  6101. Node87.a('node.background','' || 'rgba(0,0,0,0)');
  6102. Node87.a('node.gradient','');
  6103. Node87.a('node.gradientcolor','');
  6104. Node87.a('node.text','0');
  6105. Node87.a('node.textalign','left');
  6106. Node87.a('node.textvAlign','middle');
  6107. Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
  6108. Node87.a('node.color','rgba(0,0,0,1)');
  6109. Node87.a('node.font','bold '+ Node87fontSize + 'px "UniDreamLED"');
  6110. Node87.a('node.textvisible',true);
  6111. Node87.a('node.linefeed',false);
  6112. if (false) {
  6113. Node87.a('node.textfunc',function(g) {
  6114. g.beginPath();
  6115. var str=Node87.a('node.text') || '0';
  6116. var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
  6117. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node87fontSize + 'px "UniDreamLED"', 0,g);
  6118. });
  6119. }
  6120. if (false) {
  6121. Node87.a('node.underlinepoints',[Node87lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node87fontSize + 'px "UniDreamLED"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
  6122. Node87.a('node.underlinevisible',false);
  6123. Node87.a('node.underlineBorderWidth', 1);
  6124. }
  6125. dataModel.add(Node87);
  6126. zoomNodeList.push({
  6127. node: Node87,
  6128. borderWidth: 0,
  6129. attr: 'node.borderwidth'
  6130. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6131. var Node88 = new ht.Node();
  6132. var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'left', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 9*_ratio.ratioX, Node88height = 16*_ratio.ratioY;
  6133. (function () {
  6134. if (Node88align === 'left') {
  6135. Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
  6136. Node88textWidth = Node88width;
  6137. Node88lineStart = 1;
  6138. } else if (Node88align === 'right') {
  6139. Node88textStart = 0;
  6140. Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
  6141. Node88lineStart = (Node88width - (ht.Default.getTextSize('-', 'bold '+ Node88fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  6142. } else if (Node88align === 'center') {
  6143. Node88textStart = -3;
  6144. Node88textWidth = Node88width;
  6145. Node88lineStart = Node88width - ht.Default.getTextSize('-', 'bold '+ Node88fontSize + 'px "UniDreamLED"').width - 11;
  6146. }
  6147. })();
  6148. Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, 'bold '+ Node88fontSize + 'px "UniDreamLED"'))
  6149. Node88.setPosition(1192*ratio.ratioX, 121*ratio.ratioY);
  6150. Node88.setWidth(Node88width);
  6151. Node88.setHeight(Node88height);
  6152. Node88._nodeType = 'text';
  6153. Node88._disallowEvert = true;
  6154. Node88.setRotation(0*Math.PI/180);
  6155. Node88.a('node.width', Node88width);
  6156. Node88.a('node.height', Node88height);
  6157. Node88.a('node.rect', [0, 0, Node88width, Node88height]);
  6158. Node88.a('node.bordercolor','rgba(0,0,0,1)');
  6159. Node88.a('node.borderwidth', 0);
  6160. Node88.a('node.background','' || 'rgba(0,0,0,0)');
  6161. Node88.a('node.gradient','');
  6162. Node88.a('node.gradientcolor','');
  6163. Node88.a('node.text','-');
  6164. Node88.a('node.textalign','left');
  6165. Node88.a('node.textvAlign','middle');
  6166. Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
  6167. Node88.a('node.color','rgba(0,0,0,1)');
  6168. Node88.a('node.font','bold '+ Node88fontSize + 'px "UniDreamLED"');
  6169. Node88.a('node.textvisible',true);
  6170. Node88.a('node.linefeed',false);
  6171. if (false) {
  6172. Node88.a('node.textfunc',function(g) {
  6173. g.beginPath();
  6174. var str=Node88.a('node.text') || '-';
  6175. var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
  6176. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node88fontSize + 'px "UniDreamLED"', 0,g);
  6177. });
  6178. }
  6179. if (false) {
  6180. Node88.a('node.underlinepoints',[Node88lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node88fontSize + 'px "UniDreamLED"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
  6181. Node88.a('node.underlinevisible',false);
  6182. Node88.a('node.underlineBorderWidth', 1);
  6183. }
  6184. dataModel.add(Node88);
  6185. zoomNodeList.push({
  6186. node: Node88,
  6187. borderWidth: 0,
  6188. attr: 'node.borderwidth'
  6189. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6190. var Node89 = new ht.Node();
  6191. var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'left', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 39*_ratio.ratioX, Node89height = 16*_ratio.ratioY;
  6192. (function () {
  6193. if (Node89align === 'left') {
  6194. Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
  6195. Node89textWidth = Node89width;
  6196. Node89lineStart = 1;
  6197. } else if (Node89align === 'right') {
  6198. Node89textStart = 0;
  6199. Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
  6200. Node89lineStart = (Node89width - (ht.Default.getTextSize('万kW', ' '+ Node89fontSize + 'px "Arial"').width + 6)) * 0.5;
  6201. } else if (Node89align === 'center') {
  6202. Node89textStart = -3;
  6203. Node89textWidth = Node89width;
  6204. Node89lineStart = Node89width - ht.Default.getTextSize('万kW', ' '+ Node89fontSize + 'px "Arial"').width - 11;
  6205. }
  6206. })();
  6207. Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "Arial"'))
  6208. Node89.setPosition(1270*ratio.ratioX, 48*ratio.ratioY);
  6209. Node89.setWidth(Node89width);
  6210. Node89.setHeight(Node89height);
  6211. Node89._nodeType = 'text';
  6212. Node89._disallowEvert = true;
  6213. Node89.setRotation(0*Math.PI/180);
  6214. Node89.a('node.width', Node89width);
  6215. Node89.a('node.height', Node89height);
  6216. Node89.a('node.rect', [0, 0, Node89width, Node89height]);
  6217. Node89.a('node.bordercolor','rgba(169,169,169,1)');
  6218. Node89.a('node.borderwidth', 0);
  6219. Node89.a('node.background','' || 'rgba(0,0,0,0)');
  6220. Node89.a('node.gradient','');
  6221. Node89.a('node.gradientcolor','');
  6222. Node89.a('node.text','万kW');
  6223. Node89.a('node.textalign','left');
  6224. Node89.a('node.textvAlign','middle');
  6225. Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
  6226. Node89.a('node.color','rgba(169,169,169,1)');
  6227. Node89.a('node.font',' '+ Node89fontSize + 'px "Arial"');
  6228. Node89.a('node.textvisible',true);
  6229. Node89.a('node.linefeed',false);
  6230. if (false) {
  6231. Node89.a('node.textfunc',function(g) {
  6232. g.beginPath();
  6233. var str=Node89.a('node.text') || '万kW';
  6234. var color=Node89.a('node.color') || 'rgba(169,169,169,1)';
  6235. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"left",color,' '+ Node89fontSize + 'px "Arial"', 0,g);
  6236. });
  6237. }
  6238. if (false) {
  6239. Node89.a('node.underlinepoints',[Node89lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node89fontSize + 'px "Arial"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
  6240. Node89.a('node.underlinevisible',false);
  6241. Node89.a('node.underlineBorderWidth', 1);
  6242. }
  6243. dataModel.add(Node89);
  6244. zoomNodeList.push({
  6245. node: Node89,
  6246. borderWidth: 0,
  6247. attr: 'node.borderwidth'
  6248. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6249. var Node90 = new ht.Node();
  6250. var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 9*_ratio.ratioX, Node90height = 16*_ratio.ratioY;
  6251. (function () {
  6252. if (Node90align === 'left') {
  6253. Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
  6254. Node90textWidth = Node90width;
  6255. Node90lineStart = 1;
  6256. } else if (Node90align === 'right') {
  6257. Node90textStart = 0;
  6258. Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
  6259. Node90lineStart = (Node90width - (ht.Default.getTextSize('-', 'bold '+ Node90fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  6260. } else if (Node90align === 'center') {
  6261. Node90textStart = -3;
  6262. Node90textWidth = Node90width;
  6263. Node90lineStart = Node90width - ht.Default.getTextSize('-', 'bold '+ Node90fontSize + 'px "UniDreamLED"').width - 11;
  6264. }
  6265. })();
  6266. Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, 'bold '+ Node90fontSize + 'px "UniDreamLED"'))
  6267. Node90.setPosition(1192*ratio.ratioX, 146*ratio.ratioY);
  6268. Node90.setWidth(Node90width);
  6269. Node90.setHeight(Node90height);
  6270. Node90._nodeType = 'text';
  6271. Node90._disallowEvert = true;
  6272. Node90.setRotation(0*Math.PI/180);
  6273. Node90.a('node.width', Node90width);
  6274. Node90.a('node.height', Node90height);
  6275. Node90.a('node.rect', [0, 0, Node90width, Node90height]);
  6276. Node90.a('node.bordercolor','rgba(0,0,0,1)');
  6277. Node90.a('node.borderwidth', 0);
  6278. Node90.a('node.background','' || 'rgba(0,0,0,0)');
  6279. Node90.a('node.gradient','');
  6280. Node90.a('node.gradientcolor','');
  6281. Node90.a('node.text','-');
  6282. Node90.a('node.textalign','left');
  6283. Node90.a('node.textvAlign','middle');
  6284. Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
  6285. Node90.a('node.color','rgba(0,0,0,1)');
  6286. Node90.a('node.font','bold '+ Node90fontSize + 'px "UniDreamLED"');
  6287. Node90.a('node.textvisible',true);
  6288. Node90.a('node.linefeed',false);
  6289. if (false) {
  6290. Node90.a('node.textfunc',function(g) {
  6291. g.beginPath();
  6292. var str=Node90.a('node.text') || '-';
  6293. var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
  6294. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node90fontSize + 'px "UniDreamLED"', 0,g);
  6295. });
  6296. }
  6297. if (false) {
  6298. Node90.a('node.underlinepoints',[Node90lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node90fontSize + 'px "UniDreamLED"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
  6299. Node90.a('node.underlinevisible',false);
  6300. Node90.a('node.underlineBorderWidth', 1);
  6301. }
  6302. dataModel.add(Node90);
  6303. zoomNodeList.push({
  6304. node: Node90,
  6305. borderWidth: 0,
  6306. attr: 'node.borderwidth'
  6307. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6308. var Node91 = new ht.Node();
  6309. var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 39*_ratio.ratioX, Node91height = 16*_ratio.ratioY;
  6310. (function () {
  6311. if (Node91align === 'left') {
  6312. Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
  6313. Node91textWidth = Node91width;
  6314. Node91lineStart = 1;
  6315. } else if (Node91align === 'right') {
  6316. Node91textStart = 0;
  6317. Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
  6318. Node91lineStart = (Node91width - (ht.Default.getTextSize('万kW', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5;
  6319. } else if (Node91align === 'center') {
  6320. Node91textStart = -3;
  6321. Node91textWidth = Node91width;
  6322. Node91lineStart = Node91width - ht.Default.getTextSize('万kW', ' '+ Node91fontSize + 'px "Arial"').width - 11;
  6323. }
  6324. })();
  6325. Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
  6326. Node91.setPosition(1270*ratio.ratioX, 74*ratio.ratioY);
  6327. Node91.setWidth(Node91width);
  6328. Node91.setHeight(Node91height);
  6329. Node91._nodeType = 'text';
  6330. Node91._disallowEvert = true;
  6331. Node91.setRotation(0*Math.PI/180);
  6332. Node91.a('node.width', Node91width);
  6333. Node91.a('node.height', Node91height);
  6334. Node91.a('node.rect', [0, 0, Node91width, Node91height]);
  6335. Node91.a('node.bordercolor','rgba(169,169,169,1)');
  6336. Node91.a('node.borderwidth', 0);
  6337. Node91.a('node.background','' || 'rgba(0,0,0,0)');
  6338. Node91.a('node.gradient','');
  6339. Node91.a('node.gradientcolor','');
  6340. Node91.a('node.text','万kW');
  6341. Node91.a('node.textalign','left');
  6342. Node91.a('node.textvAlign','middle');
  6343. Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
  6344. Node91.a('node.color','rgba(169,169,169,1)');
  6345. Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"');
  6346. Node91.a('node.textvisible',true);
  6347. Node91.a('node.linefeed',false);
  6348. if (false) {
  6349. Node91.a('node.textfunc',function(g) {
  6350. g.beginPath();
  6351. var str=Node91.a('node.text') || '万kW';
  6352. var color=Node91.a('node.color') || 'rgba(169,169,169,1)';
  6353. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
  6354. });
  6355. }
  6356. if (false) {
  6357. Node91.a('node.underlinepoints',[Node91lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
  6358. Node91.a('node.underlinevisible',false);
  6359. Node91.a('node.underlineBorderWidth', 1);
  6360. }
  6361. dataModel.add(Node91);
  6362. zoomNodeList.push({
  6363. node: Node91,
  6364. borderWidth: 0,
  6365. attr: 'node.borderwidth'
  6366. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6367. var Node92 = new ht.Node();
  6368. var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 39*_ratio.ratioX, Node92height = 16*_ratio.ratioY;
  6369. (function () {
  6370. if (Node92align === 'left') {
  6371. Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
  6372. Node92textWidth = Node92width;
  6373. Node92lineStart = 1;
  6374. } else if (Node92align === 'right') {
  6375. Node92textStart = 0;
  6376. Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
  6377. Node92lineStart = (Node92width - (ht.Default.getTextSize('万kW', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
  6378. } else if (Node92align === 'center') {
  6379. Node92textStart = -3;
  6380. Node92textWidth = Node92width;
  6381. Node92lineStart = Node92width - ht.Default.getTextSize('万kW', ' '+ Node92fontSize + 'px "Arial"').width - 11;
  6382. }
  6383. })();
  6384. Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
  6385. Node92.setPosition(1270*ratio.ratioX, 99*ratio.ratioY);
  6386. Node92.setWidth(Node92width);
  6387. Node92.setHeight(Node92height);
  6388. Node92._nodeType = 'text';
  6389. Node92._disallowEvert = true;
  6390. Node92.setRotation(0*Math.PI/180);
  6391. Node92.a('node.width', Node92width);
  6392. Node92.a('node.height', Node92height);
  6393. Node92.a('node.rect', [0, 0, Node92width, Node92height]);
  6394. Node92.a('node.bordercolor','rgba(169,169,169,1)');
  6395. Node92.a('node.borderwidth', 0);
  6396. Node92.a('node.background','' || 'rgba(0,0,0,0)');
  6397. Node92.a('node.gradient','');
  6398. Node92.a('node.gradientcolor','');
  6399. Node92.a('node.text','万kW');
  6400. Node92.a('node.textalign','left');
  6401. Node92.a('node.textvAlign','middle');
  6402. Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
  6403. Node92.a('node.color','rgba(169,169,169,1)');
  6404. Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"');
  6405. Node92.a('node.textvisible',true);
  6406. Node92.a('node.linefeed',false);
  6407. if (false) {
  6408. Node92.a('node.textfunc',function(g) {
  6409. g.beginPath();
  6410. var str=Node92.a('node.text') || '万kW';
  6411. var color=Node92.a('node.color') || 'rgba(169,169,169,1)';
  6412. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g);
  6413. });
  6414. }
  6415. if (false) {
  6416. Node92.a('node.underlinepoints',[Node92lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
  6417. Node92.a('node.underlinevisible',false);
  6418. Node92.a('node.underlineBorderWidth', 1);
  6419. }
  6420. dataModel.add(Node92);
  6421. zoomNodeList.push({
  6422. node: Node92,
  6423. borderWidth: 0,
  6424. attr: 'node.borderwidth'
  6425. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6426. var Node93 = new ht.Node();
  6427. var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 39*_ratio.ratioX, Node93height = 16*_ratio.ratioY;
  6428. (function () {
  6429. if (Node93align === 'left') {
  6430. Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
  6431. Node93textWidth = Node93width;
  6432. Node93lineStart = 1;
  6433. } else if (Node93align === 'right') {
  6434. Node93textStart = 0;
  6435. Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
  6436. Node93lineStart = (Node93width - (ht.Default.getTextSize('万kW', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
  6437. } else if (Node93align === 'center') {
  6438. Node93textStart = -3;
  6439. Node93textWidth = Node93width;
  6440. Node93lineStart = Node93width - ht.Default.getTextSize('万kW', ' '+ Node93fontSize + 'px "Arial"').width - 11;
  6441. }
  6442. })();
  6443. Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
  6444. Node93.setPosition(1270*ratio.ratioX, 126*ratio.ratioY);
  6445. Node93.setWidth(Node93width);
  6446. Node93.setHeight(Node93height);
  6447. Node93._nodeType = 'text';
  6448. Node93._disallowEvert = true;
  6449. Node93.setRotation(0*Math.PI/180);
  6450. Node93.a('node.width', Node93width);
  6451. Node93.a('node.height', Node93height);
  6452. Node93.a('node.rect', [0, 0, Node93width, Node93height]);
  6453. Node93.a('node.bordercolor','rgba(169,169,169,1)');
  6454. Node93.a('node.borderwidth', 0);
  6455. Node93.a('node.background','' || 'rgba(0,0,0,0)');
  6456. Node93.a('node.gradient','');
  6457. Node93.a('node.gradientcolor','');
  6458. Node93.a('node.text','万kW');
  6459. Node93.a('node.textalign','left');
  6460. Node93.a('node.textvAlign','middle');
  6461. Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
  6462. Node93.a('node.color','rgba(169,169,169,1)');
  6463. Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"');
  6464. Node93.a('node.textvisible',true);
  6465. Node93.a('node.linefeed',false);
  6466. if (false) {
  6467. Node93.a('node.textfunc',function(g) {
  6468. g.beginPath();
  6469. var str=Node93.a('node.text') || '万kW';
  6470. var color=Node93.a('node.color') || 'rgba(169,169,169,1)';
  6471. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
  6472. });
  6473. }
  6474. if (false) {
  6475. Node93.a('node.underlinepoints',[Node93lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
  6476. Node93.a('node.underlinevisible',false);
  6477. Node93.a('node.underlineBorderWidth', 1);
  6478. }
  6479. dataModel.add(Node93);
  6480. zoomNodeList.push({
  6481. node: Node93,
  6482. borderWidth: 0,
  6483. attr: 'node.borderwidth'
  6484. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6485. var Node94 = new ht.Node();
  6486. var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'left', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 39*_ratio.ratioX, Node94height = 16*_ratio.ratioY;
  6487. (function () {
  6488. if (Node94align === 'left') {
  6489. Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9;
  6490. Node94textWidth = Node94width;
  6491. Node94lineStart = 1;
  6492. } else if (Node94align === 'right') {
  6493. Node94textStart = 0;
  6494. Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2;
  6495. Node94lineStart = (Node94width - (ht.Default.getTextSize('万kW', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5;
  6496. } else if (Node94align === 'center') {
  6497. Node94textStart = -3;
  6498. Node94textWidth = Node94width;
  6499. Node94lineStart = Node94width - ht.Default.getTextSize('万kW', ' '+ Node94fontSize + 'px "Arial"').width - 11;
  6500. }
  6501. })();
  6502. Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"'))
  6503. Node94.setPosition(1269*ratio.ratioX, 148*ratio.ratioY);
  6504. Node94.setWidth(Node94width);
  6505. Node94.setHeight(Node94height);
  6506. Node94._nodeType = 'text';
  6507. Node94._disallowEvert = true;
  6508. Node94.setRotation(0*Math.PI/180);
  6509. Node94.a('node.width', Node94width);
  6510. Node94.a('node.height', Node94height);
  6511. Node94.a('node.rect', [0, 0, Node94width, Node94height]);
  6512. Node94.a('node.bordercolor','rgba(169,169,169,1)');
  6513. Node94.a('node.borderwidth', 0);
  6514. Node94.a('node.background','' || 'rgba(0,0,0,0)');
  6515. Node94.a('node.gradient','');
  6516. Node94.a('node.gradientcolor','');
  6517. Node94.a('node.text','万kW');
  6518. Node94.a('node.textalign','left');
  6519. Node94.a('node.textvAlign','middle');
  6520. Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
  6521. Node94.a('node.color','rgba(169,169,169,1)');
  6522. Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"');
  6523. Node94.a('node.textvisible',true);
  6524. Node94.a('node.linefeed',false);
  6525. if (false) {
  6526. Node94.a('node.textfunc',function(g) {
  6527. g.beginPath();
  6528. var str=Node94.a('node.text') || '万kW';
  6529. var color=Node94.a('node.color') || 'rgba(169,169,169,1)';
  6530. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
  6531. });
  6532. }
  6533. if (false) {
  6534. Node94.a('node.underlinepoints',[Node94lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
  6535. Node94.a('node.underlinevisible',false);
  6536. Node94.a('node.underlineBorderWidth', 1);
  6537. }
  6538. dataModel.add(Node94);
  6539. zoomNodeList.push({
  6540. node: Node94,
  6541. borderWidth: 0,
  6542. attr: 'node.borderwidth'
  6543. }); var Node95points=[1053, 62,1330, 62],
  6544. Node95rect=ht.Default.unionPoint([{x:1053,y:62},{x:1330,y:62}]),
  6545. Node95compspts=[];
  6546. _ratio = GD.getRatioWithRotation(0, ratio);
  6547. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  6548. _endratio = GD.getRatioWithRotation(0, ratio);
  6549. for(var i=0;i<Node95points.length;i++){
  6550. if(i%2==0){
  6551. Node95compspts.push(Node95points[i]-Node95rect.x);
  6552. }else{
  6553. Node95compspts.push(Node95points[i]-Node95rect.y);
  6554. }
  6555. }
  6556. var Node95ptslength=Node95compspts.length;
  6557. if (Node95rect.height === 0) {
  6558. Node95compspts[0] -= 0;
  6559. Node95compspts[Node95ptslength-2] += 0;
  6560. } else if (Node95rect.width === 0){
  6561. Node95compspts[1] -= 0;
  6562. Node95compspts[Node95ptslength-1] += 0;
  6563. } else {
  6564. Node95compspts[0] -= 0;
  6565. Node95compspts[1] -= 0;
  6566. Node95compspts[Node95ptslength-2] += 0;
  6567. Node95compspts[Node95ptslength-1] += 0;
  6568. }
  6569. Node95 = new ht.Node();
  6570. Node95.borderWidth = 1;
  6571. Node95rect.width = Node95rect.width === 0 ? 0.0001 : Node95rect.width;
  6572. Node95rect.height = Node95rect.height === 0 ? 0.0001 : Node95rect.height;
  6573. var Node95endCompspts = [Node95compspts[Node95ptslength-2],Node95compspts[Node95ptslength-1],0,0];
  6574. var Node95startCompspts = [Node95compspts[0],Node95compspts[1],0,0];
  6575. Node95.setImage(GD.getPolyLineJSON());
  6576. Node95.setPosition(Node95rect.x+Node95rect.width/2,Node95rect.y+Node95rect.height/2);
  6577. Node95.setSize(Node95rect.width,Node95rect.height);
  6578. Node95.setStyle("opacity",1);
  6579. Node95.s({'pixelPerfect':true});
  6580. Node95borderwidth=1;
  6581. Node95.setRotation(0);
  6582. dataModel.add(Node95);
  6583. Node95.a('node.points',Node95compspts);
  6584. Node95.a('node.segments',[1,2]);
  6585. Node95.a('node.color','rgba(220,220,220,1)');
  6586. Node95.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6587. Node95.a('node.borderColor','rgba(220,220,220,1)');
  6588. Node95.a('node.background','rgba(220,220,220,1)');
  6589. Node95.a('node.gradient','');
  6590. Node95.a('node.gradientcolor','rgba(220,220,220,1)');
  6591. Node95.a('node.endCompspts',Node95endCompspts);
  6592. Node95.a('node.startCompspts',Node95startCompspts);
  6593. (function (node, img, compspts, endCompspts, startCompspts) {
  6594. var position = node.getPosition(),
  6595. w = node.getWidth()*_ratio.ratioX,
  6596. h = node.getHeight()*_ratio.ratioY;
  6597. function resetPoints(rx, ry) {
  6598. for (var i = 0, len = compspts.length; i < len; i++) {
  6599. if (i%2 === 0) {
  6600. compspts[i]*=rx;
  6601. } else {
  6602. compspts[i]*=ry;
  6603. }
  6604. }
  6605. endCompspts[0] = compspts[compspts.length-2];
  6606. endCompspts[1] = compspts[compspts.length-1];
  6607. endCompspts[2] *= rx;
  6608. endCompspts[3] *= ry;
  6609. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6610. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6611. startCompspts[0] = compspts[0];
  6612. startCompspts[1] = compspts[1];
  6613. startCompspts[2] *= rx;
  6614. startCompspts[3] *= ry;
  6615. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6616. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6617. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6618. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6619. }
  6620. node.setSize(w, h);
  6621. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6622. node.a('node.width', w);
  6623. node.a('node.height', h);
  6624. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6625. node.borderWidth = 1;
  6626. node.a('node.borderwidth',node.borderWidth);
  6627. node._nodename = 'Node95';
  6628. node._nodeType = 'line';
  6629. zoomNodeList.push({
  6630. node: node,
  6631. attr: 'node.borderwidth'
  6632. });
  6633. var setWidth = node.setWidth,
  6634. setHeight = node.setHeight,
  6635. timer, rx = 1, ry = 1;
  6636. node.setWidth = function (width) {
  6637. var _width = this.getWidth();
  6638. rx = width / _width;
  6639. node.a('node.width', width);
  6640. setWidth.apply(this, arguments);
  6641. resetPoints(rx, 1);
  6642. }
  6643. node.setHeight = function (height) {
  6644. var _height = this.getHeight();
  6645. ry = height / _height;
  6646. node.a('node.height', height);
  6647. setHeight.apply(this, arguments);
  6648. resetPoints(1, ry);
  6649. }
  6650. })(Node95, Node95.getImage(), Node95compspts, Node95endCompspts, Node95startCompspts);
  6651. var Node96points=[1051, 88,1328, 88],
  6652. Node96rect=ht.Default.unionPoint([{x:1051,y:88},{x:1328,y:88}]),
  6653. Node96compspts=[];
  6654. _ratio = GD.getRatioWithRotation(0, ratio);
  6655. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  6656. _endratio = GD.getRatioWithRotation(0, ratio);
  6657. for(var i=0;i<Node96points.length;i++){
  6658. if(i%2==0){
  6659. Node96compspts.push(Node96points[i]-Node96rect.x);
  6660. }else{
  6661. Node96compspts.push(Node96points[i]-Node96rect.y);
  6662. }
  6663. }
  6664. var Node96ptslength=Node96compspts.length;
  6665. if (Node96rect.height === 0) {
  6666. Node96compspts[0] -= 0;
  6667. Node96compspts[Node96ptslength-2] += 0;
  6668. } else if (Node96rect.width === 0){
  6669. Node96compspts[1] -= 0;
  6670. Node96compspts[Node96ptslength-1] += 0;
  6671. } else {
  6672. Node96compspts[0] -= 0;
  6673. Node96compspts[1] -= 0;
  6674. Node96compspts[Node96ptslength-2] += 0;
  6675. Node96compspts[Node96ptslength-1] += 0;
  6676. }
  6677. Node96 = new ht.Node();
  6678. Node96.borderWidth = 1;
  6679. Node96rect.width = Node96rect.width === 0 ? 0.0001 : Node96rect.width;
  6680. Node96rect.height = Node96rect.height === 0 ? 0.0001 : Node96rect.height;
  6681. var Node96endCompspts = [Node96compspts[Node96ptslength-2],Node96compspts[Node96ptslength-1],0,0];
  6682. var Node96startCompspts = [Node96compspts[0],Node96compspts[1],0,0];
  6683. Node96.setImage(GD.getPolyLineJSON());
  6684. Node96.setPosition(Node96rect.x+Node96rect.width/2,Node96rect.y+Node96rect.height/2);
  6685. Node96.setSize(Node96rect.width,Node96rect.height);
  6686. Node96.setStyle("opacity",1);
  6687. Node96.s({'pixelPerfect':true});
  6688. Node96borderwidth=1;
  6689. Node96.setRotation(0);
  6690. dataModel.add(Node96);
  6691. Node96.a('node.points',Node96compspts);
  6692. Node96.a('node.segments',[1,2]);
  6693. Node96.a('node.color','rgba(220,220,220,1)');
  6694. Node96.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6695. Node96.a('node.borderColor','rgba(220,220,220,1)');
  6696. Node96.a('node.background','rgba(220,220,220,1)');
  6697. Node96.a('node.gradient','');
  6698. Node96.a('node.gradientcolor','rgba(220,220,220,1)');
  6699. Node96.a('node.endCompspts',Node96endCompspts);
  6700. Node96.a('node.startCompspts',Node96startCompspts);
  6701. (function (node, img, compspts, endCompspts, startCompspts) {
  6702. var position = node.getPosition(),
  6703. w = node.getWidth()*_ratio.ratioX,
  6704. h = node.getHeight()*_ratio.ratioY;
  6705. function resetPoints(rx, ry) {
  6706. for (var i = 0, len = compspts.length; i < len; i++) {
  6707. if (i%2 === 0) {
  6708. compspts[i]*=rx;
  6709. } else {
  6710. compspts[i]*=ry;
  6711. }
  6712. }
  6713. endCompspts[0] = compspts[compspts.length-2];
  6714. endCompspts[1] = compspts[compspts.length-1];
  6715. endCompspts[2] *= rx;
  6716. endCompspts[3] *= ry;
  6717. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6718. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6719. startCompspts[0] = compspts[0];
  6720. startCompspts[1] = compspts[1];
  6721. startCompspts[2] *= rx;
  6722. startCompspts[3] *= ry;
  6723. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6724. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6725. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6726. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6727. }
  6728. node.setSize(w, h);
  6729. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6730. node.a('node.width', w);
  6731. node.a('node.height', h);
  6732. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6733. node.borderWidth = 1;
  6734. node.a('node.borderwidth',node.borderWidth);
  6735. node._nodename = 'Node96';
  6736. node._nodeType = 'line';
  6737. zoomNodeList.push({
  6738. node: node,
  6739. attr: 'node.borderwidth'
  6740. });
  6741. var setWidth = node.setWidth,
  6742. setHeight = node.setHeight,
  6743. timer, rx = 1, ry = 1;
  6744. node.setWidth = function (width) {
  6745. var _width = this.getWidth();
  6746. rx = width / _width;
  6747. node.a('node.width', width);
  6748. setWidth.apply(this, arguments);
  6749. resetPoints(rx, 1);
  6750. }
  6751. node.setHeight = function (height) {
  6752. var _height = this.getHeight();
  6753. ry = height / _height;
  6754. node.a('node.height', height);
  6755. setHeight.apply(this, arguments);
  6756. resetPoints(1, ry);
  6757. }
  6758. })(Node96, Node96.getImage(), Node96compspts, Node96endCompspts, Node96startCompspts);
  6759. var Node97points=[1053, 108,1330, 108],
  6760. Node97rect=ht.Default.unionPoint([{x:1053,y:108},{x:1330,y:108}]),
  6761. Node97compspts=[];
  6762. _ratio = GD.getRatioWithRotation(0, ratio);
  6763. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  6764. _endratio = GD.getRatioWithRotation(0, ratio);
  6765. for(var i=0;i<Node97points.length;i++){
  6766. if(i%2==0){
  6767. Node97compspts.push(Node97points[i]-Node97rect.x);
  6768. }else{
  6769. Node97compspts.push(Node97points[i]-Node97rect.y);
  6770. }
  6771. }
  6772. var Node97ptslength=Node97compspts.length;
  6773. if (Node97rect.height === 0) {
  6774. Node97compspts[0] -= 0;
  6775. Node97compspts[Node97ptslength-2] += 0;
  6776. } else if (Node97rect.width === 0){
  6777. Node97compspts[1] -= 0;
  6778. Node97compspts[Node97ptslength-1] += 0;
  6779. } else {
  6780. Node97compspts[0] -= 0;
  6781. Node97compspts[1] -= 0;
  6782. Node97compspts[Node97ptslength-2] += 0;
  6783. Node97compspts[Node97ptslength-1] += 0;
  6784. }
  6785. Node97 = new ht.Node();
  6786. Node97.borderWidth = 1;
  6787. Node97rect.width = Node97rect.width === 0 ? 0.0001 : Node97rect.width;
  6788. Node97rect.height = Node97rect.height === 0 ? 0.0001 : Node97rect.height;
  6789. var Node97endCompspts = [Node97compspts[Node97ptslength-2],Node97compspts[Node97ptslength-1],0,0];
  6790. var Node97startCompspts = [Node97compspts[0],Node97compspts[1],0,0];
  6791. Node97.setImage(GD.getPolyLineJSON());
  6792. Node97.setPosition(Node97rect.x+Node97rect.width/2,Node97rect.y+Node97rect.height/2);
  6793. Node97.setSize(Node97rect.width,Node97rect.height);
  6794. Node97.setStyle("opacity",1);
  6795. Node97.s({'pixelPerfect':true});
  6796. Node97borderwidth=1;
  6797. Node97.setRotation(0);
  6798. dataModel.add(Node97);
  6799. Node97.a('node.points',Node97compspts);
  6800. Node97.a('node.segments',[1,2]);
  6801. Node97.a('node.color','rgba(220,220,220,1)');
  6802. Node97.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6803. Node97.a('node.borderColor','rgba(220,220,220,1)');
  6804. Node97.a('node.background','rgba(220,220,220,1)');
  6805. Node97.a('node.gradient','');
  6806. Node97.a('node.gradientcolor','rgba(220,220,220,1)');
  6807. Node97.a('node.endCompspts',Node97endCompspts);
  6808. Node97.a('node.startCompspts',Node97startCompspts);
  6809. (function (node, img, compspts, endCompspts, startCompspts) {
  6810. var position = node.getPosition(),
  6811. w = node.getWidth()*_ratio.ratioX,
  6812. h = node.getHeight()*_ratio.ratioY;
  6813. function resetPoints(rx, ry) {
  6814. for (var i = 0, len = compspts.length; i < len; i++) {
  6815. if (i%2 === 0) {
  6816. compspts[i]*=rx;
  6817. } else {
  6818. compspts[i]*=ry;
  6819. }
  6820. }
  6821. endCompspts[0] = compspts[compspts.length-2];
  6822. endCompspts[1] = compspts[compspts.length-1];
  6823. endCompspts[2] *= rx;
  6824. endCompspts[3] *= ry;
  6825. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6826. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6827. startCompspts[0] = compspts[0];
  6828. startCompspts[1] = compspts[1];
  6829. startCompspts[2] *= rx;
  6830. startCompspts[3] *= ry;
  6831. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6832. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6833. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6834. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6835. }
  6836. node.setSize(w, h);
  6837. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6838. node.a('node.width', w);
  6839. node.a('node.height', h);
  6840. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6841. node.borderWidth = 1;
  6842. node.a('node.borderwidth',node.borderWidth);
  6843. node._nodename = 'Node97';
  6844. node._nodeType = 'line';
  6845. zoomNodeList.push({
  6846. node: node,
  6847. attr: 'node.borderwidth'
  6848. });
  6849. var setWidth = node.setWidth,
  6850. setHeight = node.setHeight,
  6851. timer, rx = 1, ry = 1;
  6852. node.setWidth = function (width) {
  6853. var _width = this.getWidth();
  6854. rx = width / _width;
  6855. node.a('node.width', width);
  6856. setWidth.apply(this, arguments);
  6857. resetPoints(rx, 1);
  6858. }
  6859. node.setHeight = function (height) {
  6860. var _height = this.getHeight();
  6861. ry = height / _height;
  6862. node.a('node.height', height);
  6863. setHeight.apply(this, arguments);
  6864. resetPoints(1, ry);
  6865. }
  6866. })(Node97, Node97.getImage(), Node97compspts, Node97endCompspts, Node97startCompspts);
  6867. var Node98points=[1053, 135,1330, 135],
  6868. Node98rect=ht.Default.unionPoint([{x:1053,y:135},{x:1330,y:135}]),
  6869. Node98compspts=[];
  6870. _ratio = GD.getRatioWithRotation(0, ratio);
  6871. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  6872. _endratio = GD.getRatioWithRotation(0, ratio);
  6873. for(var i=0;i<Node98points.length;i++){
  6874. if(i%2==0){
  6875. Node98compspts.push(Node98points[i]-Node98rect.x);
  6876. }else{
  6877. Node98compspts.push(Node98points[i]-Node98rect.y);
  6878. }
  6879. }
  6880. var Node98ptslength=Node98compspts.length;
  6881. if (Node98rect.height === 0) {
  6882. Node98compspts[0] -= 0;
  6883. Node98compspts[Node98ptslength-2] += 0;
  6884. } else if (Node98rect.width === 0){
  6885. Node98compspts[1] -= 0;
  6886. Node98compspts[Node98ptslength-1] += 0;
  6887. } else {
  6888. Node98compspts[0] -= 0;
  6889. Node98compspts[1] -= 0;
  6890. Node98compspts[Node98ptslength-2] += 0;
  6891. Node98compspts[Node98ptslength-1] += 0;
  6892. }
  6893. Node98 = new ht.Node();
  6894. Node98.borderWidth = 1;
  6895. Node98rect.width = Node98rect.width === 0 ? 0.0001 : Node98rect.width;
  6896. Node98rect.height = Node98rect.height === 0 ? 0.0001 : Node98rect.height;
  6897. var Node98endCompspts = [Node98compspts[Node98ptslength-2],Node98compspts[Node98ptslength-1],0,0];
  6898. var Node98startCompspts = [Node98compspts[0],Node98compspts[1],0,0];
  6899. Node98.setImage(GD.getPolyLineJSON());
  6900. Node98.setPosition(Node98rect.x+Node98rect.width/2,Node98rect.y+Node98rect.height/2);
  6901. Node98.setSize(Node98rect.width,Node98rect.height);
  6902. Node98.setStyle("opacity",1);
  6903. Node98.s({'pixelPerfect':true});
  6904. Node98borderwidth=1;
  6905. Node98.setRotation(0);
  6906. dataModel.add(Node98);
  6907. Node98.a('node.points',Node98compspts);
  6908. Node98.a('node.segments',[1,2]);
  6909. Node98.a('node.color','rgba(220,220,220,1)');
  6910. Node98.a('node.borderPattern',getDashStyle("@borderPattern@"));
  6911. Node98.a('node.borderColor','rgba(220,220,220,1)');
  6912. Node98.a('node.background','rgba(220,220,220,1)');
  6913. Node98.a('node.gradient','');
  6914. Node98.a('node.gradientcolor','rgba(220,220,220,1)');
  6915. Node98.a('node.endCompspts',Node98endCompspts);
  6916. Node98.a('node.startCompspts',Node98startCompspts);
  6917. (function (node, img, compspts, endCompspts, startCompspts) {
  6918. var position = node.getPosition(),
  6919. w = node.getWidth()*_ratio.ratioX,
  6920. h = node.getHeight()*_ratio.ratioY;
  6921. function resetPoints(rx, ry) {
  6922. for (var i = 0, len = compspts.length; i < len; i++) {
  6923. if (i%2 === 0) {
  6924. compspts[i]*=rx;
  6925. } else {
  6926. compspts[i]*=ry;
  6927. }
  6928. }
  6929. endCompspts[0] = compspts[compspts.length-2];
  6930. endCompspts[1] = compspts[compspts.length-1];
  6931. endCompspts[2] *= rx;
  6932. endCompspts[3] *= ry;
  6933. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  6934. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  6935. startCompspts[0] = compspts[0];
  6936. startCompspts[1] = compspts[1];
  6937. startCompspts[2] *= rx;
  6938. startCompspts[3] *= ry;
  6939. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  6940. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  6941. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  6942. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  6943. }
  6944. node.setSize(w, h);
  6945. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  6946. node.a('node.width', w);
  6947. node.a('node.height', h);
  6948. resetPoints(_ratio.ratioX, _ratio.ratioY);
  6949. node.borderWidth = 1;
  6950. node.a('node.borderwidth',node.borderWidth);
  6951. node._nodename = 'Node98';
  6952. node._nodeType = 'line';
  6953. zoomNodeList.push({
  6954. node: node,
  6955. attr: 'node.borderwidth'
  6956. });
  6957. var setWidth = node.setWidth,
  6958. setHeight = node.setHeight,
  6959. timer, rx = 1, ry = 1;
  6960. node.setWidth = function (width) {
  6961. var _width = this.getWidth();
  6962. rx = width / _width;
  6963. node.a('node.width', width);
  6964. setWidth.apply(this, arguments);
  6965. resetPoints(rx, 1);
  6966. }
  6967. node.setHeight = function (height) {
  6968. var _height = this.getHeight();
  6969. ry = height / _height;
  6970. node.a('node.height', height);
  6971. setHeight.apply(this, arguments);
  6972. resetPoints(1, ry);
  6973. }
  6974. })(Node98, Node98.getImage(), Node98compspts, Node98endCompspts, Node98startCompspts);
  6975. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  6976. var Node99type = 'rect';
  6977. var Node99 = new ht.Node(),
  6978. Node99BorderWidth = 1*2;
  6979. if (Node99type === 'arc') {
  6980. Node99BorderWidth *= 1;
  6981. }
  6982. Node99.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  6983. Node99.setPosition(1398*ratio.ratioX, 98*ratio.ratioY);
  6984. Node99.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  6985. Node99.s({
  6986. 'pixelPerfect':true
  6987. /*@AddPara@*/
  6988. });
  6989. Node99.a('node.width', 120*_ratio.ratioX);
  6990. Node99.a('node.height', 120*_ratio.ratioY);
  6991. Node99.a('node.type', Node99type);
  6992. Node99.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  6993. Node99.a('node.background', 'rgba(245,245,245,1)');
  6994. Node99.a('node.gradientcolor', 'rgba(245,245,245,1)');
  6995. Node99.a('node.gradient', '');
  6996. Node99.a('node.borderwidth', Node99BorderWidth);
  6997. Node99.a('node.color', 'rgba(220,220,220,1)');
  6998. Node99.a('node.fillrect', [0,0,0,0]);
  6999. Node99.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  7000. Node99.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  7001. Node99.a('node.fillgradient', '');
  7002. if (Node99type !== 'rect') {
  7003. Node99.a('node.arcFrom', parseFloat('@arcFrom@'));
  7004. Node99.a('node.arcTo', parseFloat('@arcTo@'));
  7005. Node99.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  7006. }
  7007. if (Node99type === 'arc') {
  7008. Node99.a('node.arcOval', true);
  7009. }
  7010. Node99.setRotation(0*Math.PI/180);
  7011. Node99.borderWidth = Node99BorderWidth;
  7012. Node99.borderFillwidth = Node99BorderWidth;
  7013. dataModel.add(Node99);
  7014. Node99._nodename = 'Node99'
  7015. Node99._nodeType = 'rect';
  7016. zoomNodeList.push({
  7017. node: Node99,
  7018. attr: 'node.borderwidth'
  7019. });
  7020. (function (node, _img) {
  7021. var setWidth = node.setWidth,
  7022. setHeight = node.setHeight;
  7023. node.setWidth = function (width) {
  7024. if (width === this.getWidth()) return ;
  7025. var height = this.getHeight();
  7026. this.a('node.width', width);
  7027. this.a('node.rect', [0,0,width, height]);
  7028. setWidth.apply(this, arguments);
  7029. }
  7030. node.setHeight = function (height) {
  7031. if (height === this.getHeight()) return ;
  7032. var width = this.getWidth();
  7033. this.a('node.height', height);
  7034. this.a('node.rect', [0,0,width, height]);
  7035. setHeight.apply(this, arguments);
  7036. }
  7037. })(Node99, Node99.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7038. var Node100type = 'rect';
  7039. var Node100 = new ht.Node(),
  7040. Node100BorderWidth = 1*2;
  7041. if (Node100type === 'arc') {
  7042. Node100BorderWidth *= 1;
  7043. }
  7044. Node100.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node100type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  7045. Node100.setPosition(1478*ratio.ratioX, 98*ratio.ratioY);
  7046. Node100.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  7047. Node100.s({
  7048. 'pixelPerfect':true
  7049. /*@AddPara@*/
  7050. });
  7051. Node100.a('node.width', 280.7278*_ratio.ratioX);
  7052. Node100.a('node.height', 122*_ratio.ratioY);
  7053. Node100.a('node.type', Node100type);
  7054. Node100.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  7055. Node100.a('node.background', 'rgba(255,255,255,0.003921569)');
  7056. Node100.a('node.gradientcolor', '');
  7057. Node100.a('node.gradient', '');
  7058. Node100.a('node.borderwidth', Node100BorderWidth);
  7059. Node100.a('node.color', 'rgba(220,220,220,1)');
  7060. Node100.a('node.fillrect', [0,0,0,0]);
  7061. Node100.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  7062. Node100.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  7063. Node100.a('node.fillgradient', '');
  7064. if (Node100type !== 'rect') {
  7065. Node100.a('node.arcFrom', parseFloat('@arcFrom@'));
  7066. Node100.a('node.arcTo', parseFloat('@arcTo@'));
  7067. Node100.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  7068. }
  7069. if (Node100type === 'arc') {
  7070. Node100.a('node.arcOval', true);
  7071. }
  7072. Node100.setRotation(0*Math.PI/180);
  7073. Node100.borderWidth = Node100BorderWidth;
  7074. Node100.borderFillwidth = Node100BorderWidth;
  7075. dataModel.add(Node100);
  7076. Node100._nodename = 'Node100'
  7077. Node100._nodeType = 'rect';
  7078. zoomNodeList.push({
  7079. node: Node100,
  7080. attr: 'node.borderwidth'
  7081. });
  7082. (function (node, _img) {
  7083. var setWidth = node.setWidth,
  7084. setHeight = node.setHeight;
  7085. node.setWidth = function (width) {
  7086. if (width === this.getWidth()) return ;
  7087. var height = this.getHeight();
  7088. this.a('node.width', width);
  7089. this.a('node.rect', [0,0,width, height]);
  7090. setWidth.apply(this, arguments);
  7091. }
  7092. node.setHeight = function (height) {
  7093. if (height === this.getHeight()) return ;
  7094. var width = this.getWidth();
  7095. this.a('node.height', height);
  7096. this.a('node.rect', [0,0,width, height]);
  7097. setHeight.apply(this, arguments);
  7098. }
  7099. })(Node100, Node100.getImage());var Node101points=[1528, 38,1528, 158],
  7100. Node101rect=ht.Default.unionPoint([{x:1528,y:38},{x:1528,y:158}]),
  7101. Node101compspts=[];
  7102. _ratio = GD.getRatioWithRotation(0, ratio);
  7103. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  7104. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  7105. for(var i=0;i<Node101points.length;i++){
  7106. if(i%2==0){
  7107. Node101compspts.push(Node101points[i]-Node101rect.x);
  7108. }else{
  7109. Node101compspts.push(Node101points[i]-Node101rect.y);
  7110. }
  7111. }
  7112. var Node101ptslength=Node101compspts.length;
  7113. if (Node101rect.height === 0) {
  7114. Node101compspts[0] -= 0;
  7115. Node101compspts[Node101ptslength-2] += 0;
  7116. } else if (Node101rect.width === 0){
  7117. Node101compspts[1] -= 0;
  7118. Node101compspts[Node101ptslength-1] += 0;
  7119. } else {
  7120. Node101compspts[0] -= 0;
  7121. Node101compspts[1] -= 0;
  7122. Node101compspts[Node101ptslength-2] += 0;
  7123. Node101compspts[Node101ptslength-1] += 0;
  7124. }
  7125. Node101 = new ht.Node();
  7126. Node101.borderWidth = 1;
  7127. Node101rect.width = Node101rect.width === 0 ? 0.0001 : Node101rect.width;
  7128. Node101rect.height = Node101rect.height === 0 ? 0.0001 : Node101rect.height;
  7129. var Node101endCompspts = [Node101compspts[Node101ptslength-2],Node101compspts[Node101ptslength-1],0,0];
  7130. var Node101startCompspts = [Node101compspts[0],Node101compspts[1],0,0];
  7131. Node101.setImage(GD.getPolyLineJSON());
  7132. Node101.setPosition(Node101rect.x+Node101rect.width/2,Node101rect.y+Node101rect.height/2);
  7133. Node101.setSize(Node101rect.width,Node101rect.height);
  7134. Node101.setStyle("opacity",1);
  7135. Node101.s({'pixelPerfect':true});
  7136. Node101borderwidth=1;
  7137. Node101.setRotation(0);
  7138. dataModel.add(Node101);
  7139. Node101.a('node.points',Node101compspts);
  7140. Node101.a('node.segments',[1,2]);
  7141. Node101.a('node.color','rgba(220,220,220,1)');
  7142. Node101.a('node.borderPattern',getDashStyle("@borderPattern@"));
  7143. Node101.a('node.borderColor','rgba(220,220,220,1)');
  7144. Node101.a('node.background','rgba(220,220,220,1)');
  7145. Node101.a('node.gradient','');
  7146. Node101.a('node.gradientcolor','rgba(220,220,220,1)');
  7147. Node101.a('node.endCompspts',Node101endCompspts);
  7148. Node101.a('node.startCompspts',Node101startCompspts);
  7149. (function (node, img, compspts, endCompspts, startCompspts) {
  7150. var position = node.getPosition(),
  7151. w = node.getWidth()*_ratio.ratioX,
  7152. h = node.getHeight()*_ratio.ratioY;
  7153. function resetPoints(rx, ry) {
  7154. for (var i = 0, len = compspts.length; i < len; i++) {
  7155. if (i%2 === 0) {
  7156. compspts[i]*=rx;
  7157. } else {
  7158. compspts[i]*=ry;
  7159. }
  7160. }
  7161. endCompspts[0] = compspts[compspts.length-2];
  7162. endCompspts[1] = compspts[compspts.length-1];
  7163. endCompspts[2] *= rx;
  7164. endCompspts[3] *= ry;
  7165. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  7166. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  7167. startCompspts[0] = compspts[0];
  7168. startCompspts[1] = compspts[1];
  7169. startCompspts[2] *= rx;
  7170. startCompspts[3] *= ry;
  7171. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  7172. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  7173. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  7174. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  7175. }
  7176. node.setSize(w, h);
  7177. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  7178. node.a('node.width', w);
  7179. node.a('node.height', h);
  7180. resetPoints(_ratio.ratioX, _ratio.ratioY);
  7181. node.borderWidth = 1;
  7182. node.a('node.borderwidth',node.borderWidth);
  7183. node._nodename = 'Node101';
  7184. node._nodeType = 'line';
  7185. zoomNodeList.push({
  7186. node: node,
  7187. attr: 'node.borderwidth'
  7188. });
  7189. var setWidth = node.setWidth,
  7190. setHeight = node.setHeight,
  7191. timer, rx = 1, ry = 1;
  7192. node.setWidth = function (width) {
  7193. var _width = this.getWidth();
  7194. rx = width / _width;
  7195. node.a('node.width', width);
  7196. setWidth.apply(this, arguments);
  7197. resetPoints(rx, 1);
  7198. }
  7199. node.setHeight = function (height) {
  7200. var _height = this.getHeight();
  7201. ry = height / _height;
  7202. node.a('node.height', height);
  7203. setHeight.apply(this, arguments);
  7204. resetPoints(1, ry);
  7205. }
  7206. })(Node101, Node101.getImage(), Node101compspts, Node101endCompspts, Node101startCompspts);
  7207. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7208. var Node102 = new ht.Node();
  7209. var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 13.3333*_ratio.ratioY,Node102width = 110*_ratio.ratioX, Node102height = 16*_ratio.ratioY;
  7210. (function () {
  7211. if (Node102align === 'left') {
  7212. Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
  7213. Node102textWidth = Node102width;
  7214. Node102lineStart = 1;
  7215. } else if (Node102align === 'right') {
  7216. Node102textStart = 0;
  7217. Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
  7218. Node102lineStart = (Node102width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
  7219. } else if (Node102align === 'center') {
  7220. Node102textStart = -3;
  7221. Node102textWidth = Node102width;
  7222. Node102lineStart = Node102width - ht.Default.getTextSize('月维护损失电量', ' '+ Node102fontSize + 'px "Arial"').width - 11;
  7223. }
  7224. })();
  7225. Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
  7226. Node102.setPosition(1397*ratio.ratioX, 49*ratio.ratioY);
  7227. Node102.setWidth(Node102width);
  7228. Node102.setHeight(Node102height);
  7229. Node102._nodeType = 'text';
  7230. Node102._disallowEvert = true;
  7231. Node102.setRotation(0*Math.PI/180);
  7232. Node102.a('node.width', Node102width);
  7233. Node102.a('node.height', Node102height);
  7234. Node102.a('node.rect', [0, 0, Node102width, Node102height]);
  7235. Node102.a('node.bordercolor','rgba(0,0,0,1)');
  7236. Node102.a('node.borderwidth', 0);
  7237. Node102.a('node.background','' || 'rgba(0,0,0,0)');
  7238. Node102.a('node.gradient','');
  7239. Node102.a('node.gradientcolor','');
  7240. Node102.a('node.text','月维护损失电量');
  7241. Node102.a('node.textalign','left');
  7242. Node102.a('node.textvAlign','middle');
  7243. Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
  7244. Node102.a('node.color','rgba(0,0,0,1)');
  7245. Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
  7246. Node102.a('node.textvisible',true);
  7247. Node102.a('node.linefeed',false);
  7248. if (false) {
  7249. Node102.a('node.textfunc',function(g) {
  7250. g.beginPath();
  7251. var str=Node102.a('node.text') || '月维护损失电量';
  7252. var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
  7253. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
  7254. });
  7255. }
  7256. if (false) {
  7257. Node102.a('node.underlinepoints',[Node102lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
  7258. Node102.a('node.underlinevisible',false);
  7259. Node102.a('node.underlineBorderWidth', 1);
  7260. }
  7261. dataModel.add(Node102);
  7262. zoomNodeList.push({
  7263. node: Node102,
  7264. borderWidth: 0,
  7265. attr: 'node.borderwidth'
  7266. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7267. var Node103 = new ht.Node();
  7268. var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 110*_ratio.ratioX, Node103height = 16*_ratio.ratioY;
  7269. (function () {
  7270. if (Node103align === 'left') {
  7271. Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
  7272. Node103textWidth = Node103width;
  7273. Node103lineStart = 1;
  7274. } else if (Node103align === 'right') {
  7275. Node103textStart = 0;
  7276. Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
  7277. Node103lineStart = (Node103width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
  7278. } else if (Node103align === 'center') {
  7279. Node103textStart = -3;
  7280. Node103textWidth = Node103width;
  7281. Node103lineStart = Node103width - ht.Default.getTextSize('月故障损失电量', ' '+ Node103fontSize + 'px "Arial"').width - 11;
  7282. }
  7283. })();
  7284. Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
  7285. Node103.setPosition(1397*ratio.ratioX, 75*ratio.ratioY);
  7286. Node103.setWidth(Node103width);
  7287. Node103.setHeight(Node103height);
  7288. Node103._nodeType = 'text';
  7289. Node103._disallowEvert = true;
  7290. Node103.setRotation(0*Math.PI/180);
  7291. Node103.a('node.width', Node103width);
  7292. Node103.a('node.height', Node103height);
  7293. Node103.a('node.rect', [0, 0, Node103width, Node103height]);
  7294. Node103.a('node.bordercolor','rgba(0,0,0,1)');
  7295. Node103.a('node.borderwidth', 0);
  7296. Node103.a('node.background','' || 'rgba(0,0,0,0)');
  7297. Node103.a('node.gradient','');
  7298. Node103.a('node.gradientcolor','');
  7299. Node103.a('node.text','月故障损失电量');
  7300. Node103.a('node.textalign','left');
  7301. Node103.a('node.textvAlign','middle');
  7302. Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
  7303. Node103.a('node.color','rgba(0,0,0,1)');
  7304. Node103.a('node.font',' '+ Node103fontSize + 'px "Arial"');
  7305. Node103.a('node.textvisible',true);
  7306. Node103.a('node.linefeed',false);
  7307. if (false) {
  7308. Node103.a('node.textfunc',function(g) {
  7309. g.beginPath();
  7310. var str=Node103.a('node.text') || '月故障损失电量';
  7311. var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
  7312. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
  7313. });
  7314. }
  7315. if (false) {
  7316. Node103.a('node.underlinepoints',[Node103lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node103fontSize + 'px "Arial"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
  7317. Node103.a('node.underlinevisible',false);
  7318. Node103.a('node.underlineBorderWidth', 1);
  7319. }
  7320. dataModel.add(Node103);
  7321. zoomNodeList.push({
  7322. node: Node103,
  7323. borderWidth: 0,
  7324. attr: 'node.borderwidth'
  7325. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7326. var Node104 = new ht.Node();
  7327. var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'left', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 110*_ratio.ratioX, Node104height = 16*_ratio.ratioY;
  7328. (function () {
  7329. if (Node104align === 'left') {
  7330. Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
  7331. Node104textWidth = Node104width;
  7332. Node104lineStart = 1;
  7333. } else if (Node104align === 'right') {
  7334. Node104textStart = 0;
  7335. Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
  7336. Node104lineStart = (Node104width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
  7337. } else if (Node104align === 'center') {
  7338. Node104textStart = -3;
  7339. Node104textWidth = Node104width;
  7340. Node104lineStart = Node104width - ht.Default.getTextSize('月限电损失电量', ' '+ Node104fontSize + 'px "Arial"').width - 11;
  7341. }
  7342. })();
  7343. Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
  7344. Node104.setPosition(1397*ratio.ratioX, 99*ratio.ratioY);
  7345. Node104.setWidth(Node104width);
  7346. Node104.setHeight(Node104height);
  7347. Node104._nodeType = 'text';
  7348. Node104._disallowEvert = true;
  7349. Node104.setRotation(0*Math.PI/180);
  7350. Node104.a('node.width', Node104width);
  7351. Node104.a('node.height', Node104height);
  7352. Node104.a('node.rect', [0, 0, Node104width, Node104height]);
  7353. Node104.a('node.bordercolor','rgba(0,0,0,1)');
  7354. Node104.a('node.borderwidth', 0);
  7355. Node104.a('node.background','' || 'rgba(0,0,0,0)');
  7356. Node104.a('node.gradient','');
  7357. Node104.a('node.gradientcolor','');
  7358. Node104.a('node.text','月限电损失电量');
  7359. Node104.a('node.textalign','left');
  7360. Node104.a('node.textvAlign','middle');
  7361. Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
  7362. Node104.a('node.color','rgba(0,0,0,1)');
  7363. Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"');
  7364. Node104.a('node.textvisible',true);
  7365. Node104.a('node.linefeed',false);
  7366. if (false) {
  7367. Node104.a('node.textfunc',function(g) {
  7368. g.beginPath();
  7369. var str=Node104.a('node.text') || '月限电损失电量';
  7370. var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
  7371. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
  7372. });
  7373. }
  7374. if (false) {
  7375. Node104.a('node.underlinepoints',[Node104lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
  7376. Node104.a('node.underlinevisible',false);
  7377. Node104.a('node.underlineBorderWidth', 1);
  7378. }
  7379. dataModel.add(Node104);
  7380. zoomNodeList.push({
  7381. node: Node104,
  7382. borderWidth: 0,
  7383. attr: 'node.borderwidth'
  7384. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7385. var Node105 = new ht.Node();
  7386. var Node105textStart, Node105textWidth, Node105lineStart, Node105align = 'left', Node105fontSize = 13.3333*_ratio.ratioY,Node105width = 110*_ratio.ratioX, Node105height = 16*_ratio.ratioY;
  7387. (function () {
  7388. if (Node105align === 'left') {
  7389. Node105textStart = Node105fontSize * 0.2 > 2 ? Node105fontSize * 0.2 - 4 : Node105fontSize * 0.2 - 9;
  7390. Node105textWidth = Node105width;
  7391. Node105lineStart = 1;
  7392. } else if (Node105align === 'right') {
  7393. Node105textStart = 0;
  7394. Node105textWidth =Node105fontSize <= 8 ? Node105width + Node105fontSize * 0.2 + 6 : Node105width - Node105fontSize * 0.2;
  7395. Node105lineStart = (Node105width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node105fontSize + 'px "Arial"').width + 6)) * 0.5;
  7396. } else if (Node105align === 'center') {
  7397. Node105textStart = -3;
  7398. Node105textWidth = Node105width;
  7399. Node105lineStart = Node105width - ht.Default.getTextSize('月受累损失电量', ' '+ Node105fontSize + 'px "Arial"').width - 11;
  7400. }
  7401. })();
  7402. Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, ' '+ Node105fontSize + 'px "Arial"'))
  7403. Node105.setPosition(1399*ratio.ratioX, 122*ratio.ratioY);
  7404. Node105.setWidth(Node105width);
  7405. Node105.setHeight(Node105height);
  7406. Node105._nodeType = 'text';
  7407. Node105._disallowEvert = true;
  7408. Node105.setRotation(0*Math.PI/180);
  7409. Node105.a('node.width', Node105width);
  7410. Node105.a('node.height', Node105height);
  7411. Node105.a('node.rect', [0, 0, Node105width, Node105height]);
  7412. Node105.a('node.bordercolor','rgba(0,0,0,1)');
  7413. Node105.a('node.borderwidth', 0);
  7414. Node105.a('node.background','' || 'rgba(0,0,0,0)');
  7415. Node105.a('node.gradient','');
  7416. Node105.a('node.gradientcolor','');
  7417. Node105.a('node.text','月受累损失电量');
  7418. Node105.a('node.textalign','left');
  7419. Node105.a('node.textvAlign','middle');
  7420. Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]);
  7421. Node105.a('node.color','rgba(0,0,0,1)');
  7422. Node105.a('node.font',' '+ Node105fontSize + 'px "Arial"');
  7423. Node105.a('node.textvisible',true);
  7424. Node105.a('node.linefeed',false);
  7425. if (false) {
  7426. Node105.a('node.textfunc',function(g) {
  7427. g.beginPath();
  7428. var str=Node105.a('node.text') || '月受累损失电量';
  7429. var color=Node105.a('node.color') || 'rgba(0,0,0,1)';
  7430. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node105width,Node105height,13.3333*_ratio.ratioY,"left",color,' '+ Node105fontSize + 'px "Arial"', 0,g);
  7431. });
  7432. }
  7433. if (false) {
  7434. Node105.a('node.underlinepoints',[Node105lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node105fontSize + 'px "Arial"').width + 6, (Node105height - Node105fontSize) * 0.5*_ratio.ratioY + Node105fontSize + 2 ]);
  7435. Node105.a('node.underlinevisible',false);
  7436. Node105.a('node.underlineBorderWidth', 1);
  7437. }
  7438. dataModel.add(Node105);
  7439. zoomNodeList.push({
  7440. node: Node105,
  7441. borderWidth: 0,
  7442. attr: 'node.borderwidth'
  7443. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7444. var Node106 = new ht.Node();
  7445. var Node106textStart, Node106textWidth, Node106lineStart, Node106align = 'left', Node106fontSize = 13.3333*_ratio.ratioY,Node106width = 110*_ratio.ratioX, Node106height = 16*_ratio.ratioY;
  7446. (function () {
  7447. if (Node106align === 'left') {
  7448. Node106textStart = Node106fontSize * 0.2 > 2 ? Node106fontSize * 0.2 - 4 : Node106fontSize * 0.2 - 9;
  7449. Node106textWidth = Node106width;
  7450. Node106lineStart = 1;
  7451. } else if (Node106align === 'right') {
  7452. Node106textStart = 0;
  7453. Node106textWidth =Node106fontSize <= 8 ? Node106width + Node106fontSize * 0.2 + 6 : Node106width - Node106fontSize * 0.2;
  7454. Node106lineStart = (Node106width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node106fontSize + 'px "Arial"').width + 6)) * 0.5;
  7455. } else if (Node106align === 'center') {
  7456. Node106textStart = -3;
  7457. Node106textWidth = Node106width;
  7458. Node106lineStart = Node106width - ht.Default.getTextSize('月性能损失电量', ' '+ Node106fontSize + 'px "Arial"').width - 11;
  7459. }
  7460. })();
  7461. Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, ' '+ Node106fontSize + 'px "Arial"'))
  7462. Node106.setPosition(1396*ratio.ratioX, 147*ratio.ratioY);
  7463. Node106.setWidth(Node106width);
  7464. Node106.setHeight(Node106height);
  7465. Node106._nodeType = 'text';
  7466. Node106._disallowEvert = true;
  7467. Node106.setRotation(0*Math.PI/180);
  7468. Node106.a('node.width', Node106width);
  7469. Node106.a('node.height', Node106height);
  7470. Node106.a('node.rect', [0, 0, Node106width, Node106height]);
  7471. Node106.a('node.bordercolor','rgba(0,0,0,1)');
  7472. Node106.a('node.borderwidth', 0);
  7473. Node106.a('node.background','' || 'rgba(0,0,0,0)');
  7474. Node106.a('node.gradient','');
  7475. Node106.a('node.gradientcolor','');
  7476. Node106.a('node.text','月性能损失电量');
  7477. Node106.a('node.textalign','left');
  7478. Node106.a('node.textvAlign','middle');
  7479. Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]);
  7480. Node106.a('node.color','rgba(0,0,0,1)');
  7481. Node106.a('node.font',' '+ Node106fontSize + 'px "Arial"');
  7482. Node106.a('node.textvisible',true);
  7483. Node106.a('node.linefeed',false);
  7484. if (false) {
  7485. Node106.a('node.textfunc',function(g) {
  7486. g.beginPath();
  7487. var str=Node106.a('node.text') || '月性能损失电量';
  7488. var color=Node106.a('node.color') || 'rgba(0,0,0,1)';
  7489. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node106width,Node106height,13.3333*_ratio.ratioY,"left",color,' '+ Node106fontSize + 'px "Arial"', 0,g);
  7490. });
  7491. }
  7492. if (false) {
  7493. Node106.a('node.underlinepoints',[Node106lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node106fontSize + 'px "Arial"').width + 6, (Node106height - Node106fontSize) * 0.5*_ratio.ratioY + Node106fontSize + 2 ]);
  7494. Node106.a('node.underlinevisible',false);
  7495. Node106.a('node.underlineBorderWidth', 1);
  7496. }
  7497. dataModel.add(Node106);
  7498. zoomNodeList.push({
  7499. node: Node106,
  7500. borderWidth: 0,
  7501. attr: 'node.borderwidth'
  7502. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7503. var Node107 = new ht.Node();
  7504. var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'left', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 11*_ratio.ratioX, Node107height = 16*_ratio.ratioY;
  7505. (function () {
  7506. if (Node107align === 'left') {
  7507. Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9;
  7508. Node107textWidth = Node107width;
  7509. Node107lineStart = 1;
  7510. } else if (Node107align === 'right') {
  7511. Node107textStart = 0;
  7512. Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2;
  7513. Node107lineStart = (Node107width - (ht.Default.getTextSize('0', 'bold '+ Node107fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  7514. } else if (Node107align === 'center') {
  7515. Node107textStart = -3;
  7516. Node107textWidth = Node107width;
  7517. Node107lineStart = Node107width - ht.Default.getTextSize('0', 'bold '+ Node107fontSize + 'px "UniDreamLED"').width - 11;
  7518. }
  7519. })();
  7520. Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, 'bold '+ Node107fontSize + 'px "UniDreamLED"'))
  7521. Node107.setPosition(1481*ratio.ratioX, 48*ratio.ratioY);
  7522. Node107.setWidth(Node107width);
  7523. Node107.setHeight(Node107height);
  7524. Node107._nodeType = 'text';
  7525. Node107._disallowEvert = true;
  7526. Node107.setRotation(0*Math.PI/180);
  7527. Node107.a('node.width', Node107width);
  7528. Node107.a('node.height', Node107height);
  7529. Node107.a('node.rect', [0, 0, Node107width, Node107height]);
  7530. Node107.a('node.bordercolor','rgba(0,0,0,1)');
  7531. Node107.a('node.borderwidth', 0);
  7532. Node107.a('node.background','' || 'rgba(0,0,0,0)');
  7533. Node107.a('node.gradient','');
  7534. Node107.a('node.gradientcolor','');
  7535. Node107.a('node.text','0');
  7536. Node107.a('node.textalign','left');
  7537. Node107.a('node.textvAlign','middle');
  7538. Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]);
  7539. Node107.a('node.color','rgba(0,0,0,1)');
  7540. Node107.a('node.font','bold '+ Node107fontSize + 'px "UniDreamLED"');
  7541. Node107.a('node.textvisible',true);
  7542. Node107.a('node.linefeed',false);
  7543. if (false) {
  7544. Node107.a('node.textfunc',function(g) {
  7545. g.beginPath();
  7546. var str=Node107.a('node.text') || '0';
  7547. var color=Node107.a('node.color') || 'rgba(0,0,0,1)';
  7548. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node107fontSize + 'px "UniDreamLED"', 0,g);
  7549. });
  7550. }
  7551. if (false) {
  7552. Node107.a('node.underlinepoints',[Node107lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node107fontSize + 'px "UniDreamLED"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
  7553. Node107.a('node.underlinevisible',false);
  7554. Node107.a('node.underlineBorderWidth', 1);
  7555. }
  7556. dataModel.add(Node107);
  7557. zoomNodeList.push({
  7558. node: Node107,
  7559. borderWidth: 0,
  7560. attr: 'node.borderwidth'
  7561. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7562. var Node108 = new ht.Node();
  7563. var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'left', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 11*_ratio.ratioX, Node108height = 16*_ratio.ratioY;
  7564. (function () {
  7565. if (Node108align === 'left') {
  7566. Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9;
  7567. Node108textWidth = Node108width;
  7568. Node108lineStart = 1;
  7569. } else if (Node108align === 'right') {
  7570. Node108textStart = 0;
  7571. Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2;
  7572. Node108lineStart = (Node108width - (ht.Default.getTextSize('0', 'bold '+ Node108fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  7573. } else if (Node108align === 'center') {
  7574. Node108textStart = -3;
  7575. Node108textWidth = Node108width;
  7576. Node108lineStart = Node108width - ht.Default.getTextSize('0', 'bold '+ Node108fontSize + 'px "UniDreamLED"').width - 11;
  7577. }
  7578. })();
  7579. Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, 'bold '+ Node108fontSize + 'px "UniDreamLED"'))
  7580. Node108.setPosition(1481*ratio.ratioX, 73*ratio.ratioY);
  7581. Node108.setWidth(Node108width);
  7582. Node108.setHeight(Node108height);
  7583. Node108._nodeType = 'text';
  7584. Node108._disallowEvert = true;
  7585. Node108.setRotation(0*Math.PI/180);
  7586. Node108.a('node.width', Node108width);
  7587. Node108.a('node.height', Node108height);
  7588. Node108.a('node.rect', [0, 0, Node108width, Node108height]);
  7589. Node108.a('node.bordercolor','rgba(0,0,0,1)');
  7590. Node108.a('node.borderwidth', 0);
  7591. Node108.a('node.background','' || 'rgba(0,0,0,0)');
  7592. Node108.a('node.gradient','');
  7593. Node108.a('node.gradientcolor','');
  7594. Node108.a('node.text','0');
  7595. Node108.a('node.textalign','left');
  7596. Node108.a('node.textvAlign','middle');
  7597. Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]);
  7598. Node108.a('node.color','rgba(0,0,0,1)');
  7599. Node108.a('node.font','bold '+ Node108fontSize + 'px "UniDreamLED"');
  7600. Node108.a('node.textvisible',true);
  7601. Node108.a('node.linefeed',false);
  7602. if (false) {
  7603. Node108.a('node.textfunc',function(g) {
  7604. g.beginPath();
  7605. var str=Node108.a('node.text') || '0';
  7606. var color=Node108.a('node.color') || 'rgba(0,0,0,1)';
  7607. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node108fontSize + 'px "UniDreamLED"', 0,g);
  7608. });
  7609. }
  7610. if (false) {
  7611. Node108.a('node.underlinepoints',[Node108lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node108fontSize + 'px "UniDreamLED"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]);
  7612. Node108.a('node.underlinevisible',false);
  7613. Node108.a('node.underlineBorderWidth', 1);
  7614. }
  7615. dataModel.add(Node108);
  7616. zoomNodeList.push({
  7617. node: Node108,
  7618. borderWidth: 0,
  7619. attr: 'node.borderwidth'
  7620. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7621. var Node109 = new ht.Node();
  7622. var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'left', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 11*_ratio.ratioX, Node109height = 16*_ratio.ratioY;
  7623. (function () {
  7624. if (Node109align === 'left') {
  7625. Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
  7626. Node109textWidth = Node109width;
  7627. Node109lineStart = 1;
  7628. } else if (Node109align === 'right') {
  7629. Node109textStart = 0;
  7630. Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
  7631. Node109lineStart = (Node109width - (ht.Default.getTextSize('0', 'bold '+ Node109fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  7632. } else if (Node109align === 'center') {
  7633. Node109textStart = -3;
  7634. Node109textWidth = Node109width;
  7635. Node109lineStart = Node109width - ht.Default.getTextSize('0', 'bold '+ Node109fontSize + 'px "UniDreamLED"').width - 11;
  7636. }
  7637. })();
  7638. Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, 'bold '+ Node109fontSize + 'px "UniDreamLED"'))
  7639. Node109.setPosition(1481*ratio.ratioX, 98*ratio.ratioY);
  7640. Node109.setWidth(Node109width);
  7641. Node109.setHeight(Node109height);
  7642. Node109._nodeType = 'text';
  7643. Node109._disallowEvert = true;
  7644. Node109.setRotation(0*Math.PI/180);
  7645. Node109.a('node.width', Node109width);
  7646. Node109.a('node.height', Node109height);
  7647. Node109.a('node.rect', [0, 0, Node109width, Node109height]);
  7648. Node109.a('node.bordercolor','rgba(0,0,0,1)');
  7649. Node109.a('node.borderwidth', 0);
  7650. Node109.a('node.background','' || 'rgba(0,0,0,0)');
  7651. Node109.a('node.gradient','');
  7652. Node109.a('node.gradientcolor','');
  7653. Node109.a('node.text','0');
  7654. Node109.a('node.textalign','left');
  7655. Node109.a('node.textvAlign','middle');
  7656. Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
  7657. Node109.a('node.color','rgba(0,0,0,1)');
  7658. Node109.a('node.font','bold '+ Node109fontSize + 'px "UniDreamLED"');
  7659. Node109.a('node.textvisible',true);
  7660. Node109.a('node.linefeed',false);
  7661. if (false) {
  7662. Node109.a('node.textfunc',function(g) {
  7663. g.beginPath();
  7664. var str=Node109.a('node.text') || '0';
  7665. var color=Node109.a('node.color') || 'rgba(0,0,0,1)';
  7666. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node109fontSize + 'px "UniDreamLED"', 0,g);
  7667. });
  7668. }
  7669. if (false) {
  7670. Node109.a('node.underlinepoints',[Node109lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node109fontSize + 'px "UniDreamLED"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
  7671. Node109.a('node.underlinevisible',false);
  7672. Node109.a('node.underlineBorderWidth', 1);
  7673. }
  7674. dataModel.add(Node109);
  7675. zoomNodeList.push({
  7676. node: Node109,
  7677. borderWidth: 0,
  7678. attr: 'node.borderwidth'
  7679. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7680. var Node110 = new ht.Node();
  7681. var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 9*_ratio.ratioX, Node110height = 16*_ratio.ratioY;
  7682. (function () {
  7683. if (Node110align === 'left') {
  7684. Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
  7685. Node110textWidth = Node110width;
  7686. Node110lineStart = 1;
  7687. } else if (Node110align === 'right') {
  7688. Node110textStart = 0;
  7689. Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
  7690. Node110lineStart = (Node110width - (ht.Default.getTextSize('-', 'bold '+ Node110fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  7691. } else if (Node110align === 'center') {
  7692. Node110textStart = -3;
  7693. Node110textWidth = Node110width;
  7694. Node110lineStart = Node110width - ht.Default.getTextSize('-', 'bold '+ Node110fontSize + 'px "UniDreamLED"').width - 11;
  7695. }
  7696. })();
  7697. Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, 'bold '+ Node110fontSize + 'px "UniDreamLED"'))
  7698. Node110.setPosition(1480*ratio.ratioX, 122*ratio.ratioY);
  7699. Node110.setWidth(Node110width);
  7700. Node110.setHeight(Node110height);
  7701. Node110._nodeType = 'text';
  7702. Node110._disallowEvert = true;
  7703. Node110.setRotation(0*Math.PI/180);
  7704. Node110.a('node.width', Node110width);
  7705. Node110.a('node.height', Node110height);
  7706. Node110.a('node.rect', [0, 0, Node110width, Node110height]);
  7707. Node110.a('node.bordercolor','rgba(0,0,0,1)');
  7708. Node110.a('node.borderwidth', 0);
  7709. Node110.a('node.background','' || 'rgba(0,0,0,0)');
  7710. Node110.a('node.gradient','');
  7711. Node110.a('node.gradientcolor','');
  7712. Node110.a('node.text','-');
  7713. Node110.a('node.textalign','left');
  7714. Node110.a('node.textvAlign','middle');
  7715. Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
  7716. Node110.a('node.color','rgba(0,0,0,1)');
  7717. Node110.a('node.font','bold '+ Node110fontSize + 'px "UniDreamLED"');
  7718. Node110.a('node.textvisible',true);
  7719. Node110.a('node.linefeed',false);
  7720. if (false) {
  7721. Node110.a('node.textfunc',function(g) {
  7722. g.beginPath();
  7723. var str=Node110.a('node.text') || '-';
  7724. var color=Node110.a('node.color') || 'rgba(0,0,0,1)';
  7725. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node110fontSize + 'px "UniDreamLED"', 0,g);
  7726. });
  7727. }
  7728. if (false) {
  7729. Node110.a('node.underlinepoints',[Node110lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node110fontSize + 'px "UniDreamLED"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
  7730. Node110.a('node.underlinevisible',false);
  7731. Node110.a('node.underlineBorderWidth', 1);
  7732. }
  7733. dataModel.add(Node110);
  7734. zoomNodeList.push({
  7735. node: Node110,
  7736. borderWidth: 0,
  7737. attr: 'node.borderwidth'
  7738. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7739. var Node111 = new ht.Node();
  7740. var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'left', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 39*_ratio.ratioX, Node111height = 16*_ratio.ratioY;
  7741. (function () {
  7742. if (Node111align === 'left') {
  7743. Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
  7744. Node111textWidth = Node111width;
  7745. Node111lineStart = 1;
  7746. } else if (Node111align === 'right') {
  7747. Node111textStart = 0;
  7748. Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
  7749. Node111lineStart = (Node111width - (ht.Default.getTextSize('万kW', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
  7750. } else if (Node111align === 'center') {
  7751. Node111textStart = -3;
  7752. Node111textWidth = Node111width;
  7753. Node111lineStart = Node111width - ht.Default.getTextSize('万kW', ' '+ Node111fontSize + 'px "Arial"').width - 11;
  7754. }
  7755. })();
  7756. Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
  7757. Node111.setPosition(1558*ratio.ratioX, 48*ratio.ratioY);
  7758. Node111.setWidth(Node111width);
  7759. Node111.setHeight(Node111height);
  7760. Node111._nodeType = 'text';
  7761. Node111._disallowEvert = true;
  7762. Node111.setRotation(0*Math.PI/180);
  7763. Node111.a('node.width', Node111width);
  7764. Node111.a('node.height', Node111height);
  7765. Node111.a('node.rect', [0, 0, Node111width, Node111height]);
  7766. Node111.a('node.bordercolor','rgba(169,169,169,1)');
  7767. Node111.a('node.borderwidth', 0);
  7768. Node111.a('node.background','' || 'rgba(0,0,0,0)');
  7769. Node111.a('node.gradient','');
  7770. Node111.a('node.gradientcolor','');
  7771. Node111.a('node.text','万kW');
  7772. Node111.a('node.textalign','left');
  7773. Node111.a('node.textvAlign','middle');
  7774. Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
  7775. Node111.a('node.color','rgba(169,169,169,1)');
  7776. Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
  7777. Node111.a('node.textvisible',true);
  7778. Node111.a('node.linefeed',false);
  7779. if (false) {
  7780. Node111.a('node.textfunc',function(g) {
  7781. g.beginPath();
  7782. var str=Node111.a('node.text') || '万kW';
  7783. var color=Node111.a('node.color') || 'rgba(169,169,169,1)';
  7784. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"left",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
  7785. });
  7786. }
  7787. if (false) {
  7788. Node111.a('node.underlinepoints',[Node111lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
  7789. Node111.a('node.underlinevisible',false);
  7790. Node111.a('node.underlineBorderWidth', 1);
  7791. }
  7792. dataModel.add(Node111);
  7793. zoomNodeList.push({
  7794. node: Node111,
  7795. borderWidth: 0,
  7796. attr: 'node.borderwidth'
  7797. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7798. var Node112 = new ht.Node();
  7799. var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'left', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 9*_ratio.ratioX, Node112height = 16*_ratio.ratioY;
  7800. (function () {
  7801. if (Node112align === 'left') {
  7802. Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
  7803. Node112textWidth = Node112width;
  7804. Node112lineStart = 1;
  7805. } else if (Node112align === 'right') {
  7806. Node112textStart = 0;
  7807. Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
  7808. Node112lineStart = (Node112width - (ht.Default.getTextSize('-', 'bold '+ Node112fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  7809. } else if (Node112align === 'center') {
  7810. Node112textStart = -3;
  7811. Node112textWidth = Node112width;
  7812. Node112lineStart = Node112width - ht.Default.getTextSize('-', 'bold '+ Node112fontSize + 'px "UniDreamLED"').width - 11;
  7813. }
  7814. })();
  7815. Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, 'bold '+ Node112fontSize + 'px "UniDreamLED"'))
  7816. Node112.setPosition(1480*ratio.ratioX, 147*ratio.ratioY);
  7817. Node112.setWidth(Node112width);
  7818. Node112.setHeight(Node112height);
  7819. Node112._nodeType = 'text';
  7820. Node112._disallowEvert = true;
  7821. Node112.setRotation(0*Math.PI/180);
  7822. Node112.a('node.width', Node112width);
  7823. Node112.a('node.height', Node112height);
  7824. Node112.a('node.rect', [0, 0, Node112width, Node112height]);
  7825. Node112.a('node.bordercolor','rgba(0,0,0,1)');
  7826. Node112.a('node.borderwidth', 0);
  7827. Node112.a('node.background','' || 'rgba(0,0,0,0)');
  7828. Node112.a('node.gradient','');
  7829. Node112.a('node.gradientcolor','');
  7830. Node112.a('node.text','-');
  7831. Node112.a('node.textalign','left');
  7832. Node112.a('node.textvAlign','middle');
  7833. Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
  7834. Node112.a('node.color','rgba(0,0,0,1)');
  7835. Node112.a('node.font','bold '+ Node112fontSize + 'px "UniDreamLED"');
  7836. Node112.a('node.textvisible',true);
  7837. Node112.a('node.linefeed',false);
  7838. if (false) {
  7839. Node112.a('node.textfunc',function(g) {
  7840. g.beginPath();
  7841. var str=Node112.a('node.text') || '-';
  7842. var color=Node112.a('node.color') || 'rgba(0,0,0,1)';
  7843. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node112fontSize + 'px "UniDreamLED"', 0,g);
  7844. });
  7845. }
  7846. if (false) {
  7847. Node112.a('node.underlinepoints',[Node112lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node112fontSize + 'px "UniDreamLED"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]);
  7848. Node112.a('node.underlinevisible',false);
  7849. Node112.a('node.underlineBorderWidth', 1);
  7850. }
  7851. dataModel.add(Node112);
  7852. zoomNodeList.push({
  7853. node: Node112,
  7854. borderWidth: 0,
  7855. attr: 'node.borderwidth'
  7856. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7857. var Node113 = new ht.Node();
  7858. var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 39*_ratio.ratioX, Node113height = 16*_ratio.ratioY;
  7859. (function () {
  7860. if (Node113align === 'left') {
  7861. Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
  7862. Node113textWidth = Node113width;
  7863. Node113lineStart = 1;
  7864. } else if (Node113align === 'right') {
  7865. Node113textStart = 0;
  7866. Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
  7867. Node113lineStart = (Node113width - (ht.Default.getTextSize('万kW', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
  7868. } else if (Node113align === 'center') {
  7869. Node113textStart = -3;
  7870. Node113textWidth = Node113width;
  7871. Node113lineStart = Node113width - ht.Default.getTextSize('万kW', ' '+ Node113fontSize + 'px "Arial"').width - 11;
  7872. }
  7873. })();
  7874. Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
  7875. Node113.setPosition(1558*ratio.ratioX, 74*ratio.ratioY);
  7876. Node113.setWidth(Node113width);
  7877. Node113.setHeight(Node113height);
  7878. Node113._nodeType = 'text';
  7879. Node113._disallowEvert = true;
  7880. Node113.setRotation(0*Math.PI/180);
  7881. Node113.a('node.width', Node113width);
  7882. Node113.a('node.height', Node113height);
  7883. Node113.a('node.rect', [0, 0, Node113width, Node113height]);
  7884. Node113.a('node.bordercolor','rgba(169,169,169,1)');
  7885. Node113.a('node.borderwidth', 0);
  7886. Node113.a('node.background','' || 'rgba(0,0,0,0)');
  7887. Node113.a('node.gradient','');
  7888. Node113.a('node.gradientcolor','');
  7889. Node113.a('node.text','万kW');
  7890. Node113.a('node.textalign','left');
  7891. Node113.a('node.textvAlign','middle');
  7892. Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
  7893. Node113.a('node.color','rgba(169,169,169,1)');
  7894. Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
  7895. Node113.a('node.textvisible',true);
  7896. Node113.a('node.linefeed',false);
  7897. if (false) {
  7898. Node113.a('node.textfunc',function(g) {
  7899. g.beginPath();
  7900. var str=Node113.a('node.text') || '万kW';
  7901. var color=Node113.a('node.color') || 'rgba(169,169,169,1)';
  7902. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
  7903. });
  7904. }
  7905. if (false) {
  7906. Node113.a('node.underlinepoints',[Node113lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
  7907. Node113.a('node.underlinevisible',false);
  7908. Node113.a('node.underlineBorderWidth', 1);
  7909. }
  7910. dataModel.add(Node113);
  7911. zoomNodeList.push({
  7912. node: Node113,
  7913. borderWidth: 0,
  7914. attr: 'node.borderwidth'
  7915. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7916. var Node114 = new ht.Node();
  7917. var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'left', Node114fontSize = 13.3333*_ratio.ratioY,Node114width = 39*_ratio.ratioX, Node114height = 16*_ratio.ratioY;
  7918. (function () {
  7919. if (Node114align === 'left') {
  7920. Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9;
  7921. Node114textWidth = Node114width;
  7922. Node114lineStart = 1;
  7923. } else if (Node114align === 'right') {
  7924. Node114textStart = 0;
  7925. Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2;
  7926. Node114lineStart = (Node114width - (ht.Default.getTextSize('万kW', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
  7927. } else if (Node114align === 'center') {
  7928. Node114textStart = -3;
  7929. Node114textWidth = Node114width;
  7930. Node114lineStart = Node114width - ht.Default.getTextSize('万kW', ' '+ Node114fontSize + 'px "Arial"').width - 11;
  7931. }
  7932. })();
  7933. Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
  7934. Node114.setPosition(1558*ratio.ratioX, 99*ratio.ratioY);
  7935. Node114.setWidth(Node114width);
  7936. Node114.setHeight(Node114height);
  7937. Node114._nodeType = 'text';
  7938. Node114._disallowEvert = true;
  7939. Node114.setRotation(0*Math.PI/180);
  7940. Node114.a('node.width', Node114width);
  7941. Node114.a('node.height', Node114height);
  7942. Node114.a('node.rect', [0, 0, Node114width, Node114height]);
  7943. Node114.a('node.bordercolor','rgba(169,169,169,1)');
  7944. Node114.a('node.borderwidth', 0);
  7945. Node114.a('node.background','' || 'rgba(0,0,0,0)');
  7946. Node114.a('node.gradient','');
  7947. Node114.a('node.gradientcolor','');
  7948. Node114.a('node.text','万kW');
  7949. Node114.a('node.textalign','left');
  7950. Node114.a('node.textvAlign','middle');
  7951. Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]);
  7952. Node114.a('node.color','rgba(169,169,169,1)');
  7953. Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"');
  7954. Node114.a('node.textvisible',true);
  7955. Node114.a('node.linefeed',false);
  7956. if (false) {
  7957. Node114.a('node.textfunc',function(g) {
  7958. g.beginPath();
  7959. var str=Node114.a('node.text') || '万kW';
  7960. var color=Node114.a('node.color') || 'rgba(169,169,169,1)';
  7961. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node114width,Node114height,13.3333*_ratio.ratioY,"left",color,' '+ Node114fontSize + 'px "Arial"', 0,g);
  7962. });
  7963. }
  7964. if (false) {
  7965. Node114.a('node.underlinepoints',[Node114lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]);
  7966. Node114.a('node.underlinevisible',false);
  7967. Node114.a('node.underlineBorderWidth', 1);
  7968. }
  7969. dataModel.add(Node114);
  7970. zoomNodeList.push({
  7971. node: Node114,
  7972. borderWidth: 0,
  7973. attr: 'node.borderwidth'
  7974. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  7975. var Node115 = new ht.Node();
  7976. var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'left', Node115fontSize = 13.3333*_ratio.ratioY,Node115width = 39*_ratio.ratioX, Node115height = 16*_ratio.ratioY;
  7977. (function () {
  7978. if (Node115align === 'left') {
  7979. Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9;
  7980. Node115textWidth = Node115width;
  7981. Node115lineStart = 1;
  7982. } else if (Node115align === 'right') {
  7983. Node115textStart = 0;
  7984. Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2;
  7985. Node115lineStart = (Node115width - (ht.Default.getTextSize('万kW', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5;
  7986. } else if (Node115align === 'center') {
  7987. Node115textStart = -3;
  7988. Node115textWidth = Node115width;
  7989. Node115lineStart = Node115width - ht.Default.getTextSize('万kW', ' '+ Node115fontSize + 'px "Arial"').width - 11;
  7990. }
  7991. })();
  7992. Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"'))
  7993. Node115.setPosition(1558*ratio.ratioX, 126*ratio.ratioY);
  7994. Node115.setWidth(Node115width);
  7995. Node115.setHeight(Node115height);
  7996. Node115._nodeType = 'text';
  7997. Node115._disallowEvert = true;
  7998. Node115.setRotation(0*Math.PI/180);
  7999. Node115.a('node.width', Node115width);
  8000. Node115.a('node.height', Node115height);
  8001. Node115.a('node.rect', [0, 0, Node115width, Node115height]);
  8002. Node115.a('node.bordercolor','rgba(169,169,169,1)');
  8003. Node115.a('node.borderwidth', 0);
  8004. Node115.a('node.background','' || 'rgba(0,0,0,0)');
  8005. Node115.a('node.gradient','');
  8006. Node115.a('node.gradientcolor','');
  8007. Node115.a('node.text','万kW');
  8008. Node115.a('node.textalign','left');
  8009. Node115.a('node.textvAlign','middle');
  8010. Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
  8011. Node115.a('node.color','rgba(169,169,169,1)');
  8012. Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"');
  8013. Node115.a('node.textvisible',true);
  8014. Node115.a('node.linefeed',false);
  8015. if (false) {
  8016. Node115.a('node.textfunc',function(g) {
  8017. g.beginPath();
  8018. var str=Node115.a('node.text') || '万kW';
  8019. var color=Node115.a('node.color') || 'rgba(169,169,169,1)';
  8020. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115width,Node115height,13.3333*_ratio.ratioY,"left",color,' '+ Node115fontSize + 'px "Arial"', 0,g);
  8021. });
  8022. }
  8023. if (false) {
  8024. Node115.a('node.underlinepoints',[Node115lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]);
  8025. Node115.a('node.underlinevisible',false);
  8026. Node115.a('node.underlineBorderWidth', 1);
  8027. }
  8028. dataModel.add(Node115);
  8029. zoomNodeList.push({
  8030. node: Node115,
  8031. borderWidth: 0,
  8032. attr: 'node.borderwidth'
  8033. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8034. var Node116 = new ht.Node();
  8035. var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'left', Node116fontSize = 13.3333*_ratio.ratioY,Node116width = 39*_ratio.ratioX, Node116height = 16*_ratio.ratioY;
  8036. (function () {
  8037. if (Node116align === 'left') {
  8038. Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9;
  8039. Node116textWidth = Node116width;
  8040. Node116lineStart = 1;
  8041. } else if (Node116align === 'right') {
  8042. Node116textStart = 0;
  8043. Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2;
  8044. Node116lineStart = (Node116width - (ht.Default.getTextSize('万kW', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5;
  8045. } else if (Node116align === 'center') {
  8046. Node116textStart = -3;
  8047. Node116textWidth = Node116width;
  8048. Node116lineStart = Node116width - ht.Default.getTextSize('万kW', ' '+ Node116fontSize + 'px "Arial"').width - 11;
  8049. }
  8050. })();
  8051. Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"'))
  8052. Node116.setPosition(1557*ratio.ratioX, 148*ratio.ratioY);
  8053. Node116.setWidth(Node116width);
  8054. Node116.setHeight(Node116height);
  8055. Node116._nodeType = 'text';
  8056. Node116._disallowEvert = true;
  8057. Node116.setRotation(0*Math.PI/180);
  8058. Node116.a('node.width', Node116width);
  8059. Node116.a('node.height', Node116height);
  8060. Node116.a('node.rect', [0, 0, Node116width, Node116height]);
  8061. Node116.a('node.bordercolor','rgba(169,169,169,1)');
  8062. Node116.a('node.borderwidth', 0);
  8063. Node116.a('node.background','' || 'rgba(0,0,0,0)');
  8064. Node116.a('node.gradient','');
  8065. Node116.a('node.gradientcolor','');
  8066. Node116.a('node.text','万kW');
  8067. Node116.a('node.textalign','left');
  8068. Node116.a('node.textvAlign','middle');
  8069. Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]);
  8070. Node116.a('node.color','rgba(169,169,169,1)');
  8071. Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"');
  8072. Node116.a('node.textvisible',true);
  8073. Node116.a('node.linefeed',false);
  8074. if (false) {
  8075. Node116.a('node.textfunc',function(g) {
  8076. g.beginPath();
  8077. var str=Node116.a('node.text') || '万kW';
  8078. var color=Node116.a('node.color') || 'rgba(169,169,169,1)';
  8079. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node116width,Node116height,13.3333*_ratio.ratioY,"left",color,' '+ Node116fontSize + 'px "Arial"', 0,g);
  8080. });
  8081. }
  8082. if (false) {
  8083. Node116.a('node.underlinepoints',[Node116lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]);
  8084. Node116.a('node.underlinevisible',false);
  8085. Node116.a('node.underlineBorderWidth', 1);
  8086. }
  8087. dataModel.add(Node116);
  8088. zoomNodeList.push({
  8089. node: Node116,
  8090. borderWidth: 0,
  8091. attr: 'node.borderwidth'
  8092. }); var Node117points=[1340, 62,1617, 62],
  8093. Node117rect=ht.Default.unionPoint([{x:1340,y:62},{x:1617,y:62}]),
  8094. Node117compspts=[];
  8095. _ratio = GD.getRatioWithRotation(0, ratio);
  8096. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8097. _endratio = GD.getRatioWithRotation(0, ratio);
  8098. for(var i=0;i<Node117points.length;i++){
  8099. if(i%2==0){
  8100. Node117compspts.push(Node117points[i]-Node117rect.x);
  8101. }else{
  8102. Node117compspts.push(Node117points[i]-Node117rect.y);
  8103. }
  8104. }
  8105. var Node117ptslength=Node117compspts.length;
  8106. if (Node117rect.height === 0) {
  8107. Node117compspts[0] -= 0;
  8108. Node117compspts[Node117ptslength-2] += 0;
  8109. } else if (Node117rect.width === 0){
  8110. Node117compspts[1] -= 0;
  8111. Node117compspts[Node117ptslength-1] += 0;
  8112. } else {
  8113. Node117compspts[0] -= 0;
  8114. Node117compspts[1] -= 0;
  8115. Node117compspts[Node117ptslength-2] += 0;
  8116. Node117compspts[Node117ptslength-1] += 0;
  8117. }
  8118. Node117 = new ht.Node();
  8119. Node117.borderWidth = 1;
  8120. Node117rect.width = Node117rect.width === 0 ? 0.0001 : Node117rect.width;
  8121. Node117rect.height = Node117rect.height === 0 ? 0.0001 : Node117rect.height;
  8122. var Node117endCompspts = [Node117compspts[Node117ptslength-2],Node117compspts[Node117ptslength-1],0,0];
  8123. var Node117startCompspts = [Node117compspts[0],Node117compspts[1],0,0];
  8124. Node117.setImage(GD.getPolyLineJSON());
  8125. Node117.setPosition(Node117rect.x+Node117rect.width/2,Node117rect.y+Node117rect.height/2);
  8126. Node117.setSize(Node117rect.width,Node117rect.height);
  8127. Node117.setStyle("opacity",1);
  8128. Node117.s({'pixelPerfect':true});
  8129. Node117borderwidth=1;
  8130. Node117.setRotation(0);
  8131. dataModel.add(Node117);
  8132. Node117.a('node.points',Node117compspts);
  8133. Node117.a('node.segments',[1,2]);
  8134. Node117.a('node.color','rgba(220,220,220,1)');
  8135. Node117.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8136. Node117.a('node.borderColor','rgba(220,220,220,1)');
  8137. Node117.a('node.background','rgba(220,220,220,1)');
  8138. Node117.a('node.gradient','');
  8139. Node117.a('node.gradientcolor','rgba(220,220,220,1)');
  8140. Node117.a('node.endCompspts',Node117endCompspts);
  8141. Node117.a('node.startCompspts',Node117startCompspts);
  8142. (function (node, img, compspts, endCompspts, startCompspts) {
  8143. var position = node.getPosition(),
  8144. w = node.getWidth()*_ratio.ratioX,
  8145. h = node.getHeight()*_ratio.ratioY;
  8146. function resetPoints(rx, ry) {
  8147. for (var i = 0, len = compspts.length; i < len; i++) {
  8148. if (i%2 === 0) {
  8149. compspts[i]*=rx;
  8150. } else {
  8151. compspts[i]*=ry;
  8152. }
  8153. }
  8154. endCompspts[0] = compspts[compspts.length-2];
  8155. endCompspts[1] = compspts[compspts.length-1];
  8156. endCompspts[2] *= rx;
  8157. endCompspts[3] *= ry;
  8158. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8159. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8160. startCompspts[0] = compspts[0];
  8161. startCompspts[1] = compspts[1];
  8162. startCompspts[2] *= rx;
  8163. startCompspts[3] *= ry;
  8164. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8165. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8166. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8167. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8168. }
  8169. node.setSize(w, h);
  8170. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8171. node.a('node.width', w);
  8172. node.a('node.height', h);
  8173. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8174. node.borderWidth = 1;
  8175. node.a('node.borderwidth',node.borderWidth);
  8176. node._nodename = 'Node117';
  8177. node._nodeType = 'line';
  8178. zoomNodeList.push({
  8179. node: node,
  8180. attr: 'node.borderwidth'
  8181. });
  8182. var setWidth = node.setWidth,
  8183. setHeight = node.setHeight,
  8184. timer, rx = 1, ry = 1;
  8185. node.setWidth = function (width) {
  8186. var _width = this.getWidth();
  8187. rx = width / _width;
  8188. node.a('node.width', width);
  8189. setWidth.apply(this, arguments);
  8190. resetPoints(rx, 1);
  8191. }
  8192. node.setHeight = function (height) {
  8193. var _height = this.getHeight();
  8194. ry = height / _height;
  8195. node.a('node.height', height);
  8196. setHeight.apply(this, arguments);
  8197. resetPoints(1, ry);
  8198. }
  8199. })(Node117, Node117.getImage(), Node117compspts, Node117endCompspts, Node117startCompspts);
  8200. var Node118points=[1338, 88,1615, 88],
  8201. Node118rect=ht.Default.unionPoint([{x:1338,y:88},{x:1615,y:88}]),
  8202. Node118compspts=[];
  8203. _ratio = GD.getRatioWithRotation(0, ratio);
  8204. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8205. _endratio = GD.getRatioWithRotation(0, ratio);
  8206. for(var i=0;i<Node118points.length;i++){
  8207. if(i%2==0){
  8208. Node118compspts.push(Node118points[i]-Node118rect.x);
  8209. }else{
  8210. Node118compspts.push(Node118points[i]-Node118rect.y);
  8211. }
  8212. }
  8213. var Node118ptslength=Node118compspts.length;
  8214. if (Node118rect.height === 0) {
  8215. Node118compspts[0] -= 0;
  8216. Node118compspts[Node118ptslength-2] += 0;
  8217. } else if (Node118rect.width === 0){
  8218. Node118compspts[1] -= 0;
  8219. Node118compspts[Node118ptslength-1] += 0;
  8220. } else {
  8221. Node118compspts[0] -= 0;
  8222. Node118compspts[1] -= 0;
  8223. Node118compspts[Node118ptslength-2] += 0;
  8224. Node118compspts[Node118ptslength-1] += 0;
  8225. }
  8226. Node118 = new ht.Node();
  8227. Node118.borderWidth = 1;
  8228. Node118rect.width = Node118rect.width === 0 ? 0.0001 : Node118rect.width;
  8229. Node118rect.height = Node118rect.height === 0 ? 0.0001 : Node118rect.height;
  8230. var Node118endCompspts = [Node118compspts[Node118ptslength-2],Node118compspts[Node118ptslength-1],0,0];
  8231. var Node118startCompspts = [Node118compspts[0],Node118compspts[1],0,0];
  8232. Node118.setImage(GD.getPolyLineJSON());
  8233. Node118.setPosition(Node118rect.x+Node118rect.width/2,Node118rect.y+Node118rect.height/2);
  8234. Node118.setSize(Node118rect.width,Node118rect.height);
  8235. Node118.setStyle("opacity",1);
  8236. Node118.s({'pixelPerfect':true});
  8237. Node118borderwidth=1;
  8238. Node118.setRotation(0);
  8239. dataModel.add(Node118);
  8240. Node118.a('node.points',Node118compspts);
  8241. Node118.a('node.segments',[1,2]);
  8242. Node118.a('node.color','rgba(220,220,220,1)');
  8243. Node118.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8244. Node118.a('node.borderColor','rgba(220,220,220,1)');
  8245. Node118.a('node.background','rgba(220,220,220,1)');
  8246. Node118.a('node.gradient','');
  8247. Node118.a('node.gradientcolor','rgba(220,220,220,1)');
  8248. Node118.a('node.endCompspts',Node118endCompspts);
  8249. Node118.a('node.startCompspts',Node118startCompspts);
  8250. (function (node, img, compspts, endCompspts, startCompspts) {
  8251. var position = node.getPosition(),
  8252. w = node.getWidth()*_ratio.ratioX,
  8253. h = node.getHeight()*_ratio.ratioY;
  8254. function resetPoints(rx, ry) {
  8255. for (var i = 0, len = compspts.length; i < len; i++) {
  8256. if (i%2 === 0) {
  8257. compspts[i]*=rx;
  8258. } else {
  8259. compspts[i]*=ry;
  8260. }
  8261. }
  8262. endCompspts[0] = compspts[compspts.length-2];
  8263. endCompspts[1] = compspts[compspts.length-1];
  8264. endCompspts[2] *= rx;
  8265. endCompspts[3] *= ry;
  8266. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8267. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8268. startCompspts[0] = compspts[0];
  8269. startCompspts[1] = compspts[1];
  8270. startCompspts[2] *= rx;
  8271. startCompspts[3] *= ry;
  8272. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8273. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8274. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8275. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8276. }
  8277. node.setSize(w, h);
  8278. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8279. node.a('node.width', w);
  8280. node.a('node.height', h);
  8281. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8282. node.borderWidth = 1;
  8283. node.a('node.borderwidth',node.borderWidth);
  8284. node._nodename = 'Node118';
  8285. node._nodeType = 'line';
  8286. zoomNodeList.push({
  8287. node: node,
  8288. attr: 'node.borderwidth'
  8289. });
  8290. var setWidth = node.setWidth,
  8291. setHeight = node.setHeight,
  8292. timer, rx = 1, ry = 1;
  8293. node.setWidth = function (width) {
  8294. var _width = this.getWidth();
  8295. rx = width / _width;
  8296. node.a('node.width', width);
  8297. setWidth.apply(this, arguments);
  8298. resetPoints(rx, 1);
  8299. }
  8300. node.setHeight = function (height) {
  8301. var _height = this.getHeight();
  8302. ry = height / _height;
  8303. node.a('node.height', height);
  8304. setHeight.apply(this, arguments);
  8305. resetPoints(1, ry);
  8306. }
  8307. })(Node118, Node118.getImage(), Node118compspts, Node118endCompspts, Node118startCompspts);
  8308. var Node119points=[1340, 112,1617, 112],
  8309. Node119rect=ht.Default.unionPoint([{x:1340,y:112},{x:1617,y:112}]),
  8310. Node119compspts=[];
  8311. _ratio = GD.getRatioWithRotation(0, ratio);
  8312. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8313. _endratio = GD.getRatioWithRotation(0, ratio);
  8314. for(var i=0;i<Node119points.length;i++){
  8315. if(i%2==0){
  8316. Node119compspts.push(Node119points[i]-Node119rect.x);
  8317. }else{
  8318. Node119compspts.push(Node119points[i]-Node119rect.y);
  8319. }
  8320. }
  8321. var Node119ptslength=Node119compspts.length;
  8322. if (Node119rect.height === 0) {
  8323. Node119compspts[0] -= 0;
  8324. Node119compspts[Node119ptslength-2] += 0;
  8325. } else if (Node119rect.width === 0){
  8326. Node119compspts[1] -= 0;
  8327. Node119compspts[Node119ptslength-1] += 0;
  8328. } else {
  8329. Node119compspts[0] -= 0;
  8330. Node119compspts[1] -= 0;
  8331. Node119compspts[Node119ptslength-2] += 0;
  8332. Node119compspts[Node119ptslength-1] += 0;
  8333. }
  8334. Node119 = new ht.Node();
  8335. Node119.borderWidth = 1;
  8336. Node119rect.width = Node119rect.width === 0 ? 0.0001 : Node119rect.width;
  8337. Node119rect.height = Node119rect.height === 0 ? 0.0001 : Node119rect.height;
  8338. var Node119endCompspts = [Node119compspts[Node119ptslength-2],Node119compspts[Node119ptslength-1],0,0];
  8339. var Node119startCompspts = [Node119compspts[0],Node119compspts[1],0,0];
  8340. Node119.setImage(GD.getPolyLineJSON());
  8341. Node119.setPosition(Node119rect.x+Node119rect.width/2,Node119rect.y+Node119rect.height/2);
  8342. Node119.setSize(Node119rect.width,Node119rect.height);
  8343. Node119.setStyle("opacity",1);
  8344. Node119.s({'pixelPerfect':true});
  8345. Node119borderwidth=1;
  8346. Node119.setRotation(0);
  8347. dataModel.add(Node119);
  8348. Node119.a('node.points',Node119compspts);
  8349. Node119.a('node.segments',[1,2]);
  8350. Node119.a('node.color','rgba(220,220,220,1)');
  8351. Node119.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8352. Node119.a('node.borderColor','rgba(220,220,220,1)');
  8353. Node119.a('node.background','rgba(220,220,220,1)');
  8354. Node119.a('node.gradient','');
  8355. Node119.a('node.gradientcolor','rgba(220,220,220,1)');
  8356. Node119.a('node.endCompspts',Node119endCompspts);
  8357. Node119.a('node.startCompspts',Node119startCompspts);
  8358. (function (node, img, compspts, endCompspts, startCompspts) {
  8359. var position = node.getPosition(),
  8360. w = node.getWidth()*_ratio.ratioX,
  8361. h = node.getHeight()*_ratio.ratioY;
  8362. function resetPoints(rx, ry) {
  8363. for (var i = 0, len = compspts.length; i < len; i++) {
  8364. if (i%2 === 0) {
  8365. compspts[i]*=rx;
  8366. } else {
  8367. compspts[i]*=ry;
  8368. }
  8369. }
  8370. endCompspts[0] = compspts[compspts.length-2];
  8371. endCompspts[1] = compspts[compspts.length-1];
  8372. endCompspts[2] *= rx;
  8373. endCompspts[3] *= ry;
  8374. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8375. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8376. startCompspts[0] = compspts[0];
  8377. startCompspts[1] = compspts[1];
  8378. startCompspts[2] *= rx;
  8379. startCompspts[3] *= ry;
  8380. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8381. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8382. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8383. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8384. }
  8385. node.setSize(w, h);
  8386. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8387. node.a('node.width', w);
  8388. node.a('node.height', h);
  8389. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8390. node.borderWidth = 1;
  8391. node.a('node.borderwidth',node.borderWidth);
  8392. node._nodename = 'Node119';
  8393. node._nodeType = 'line';
  8394. zoomNodeList.push({
  8395. node: node,
  8396. attr: 'node.borderwidth'
  8397. });
  8398. var setWidth = node.setWidth,
  8399. setHeight = node.setHeight,
  8400. timer, rx = 1, ry = 1;
  8401. node.setWidth = function (width) {
  8402. var _width = this.getWidth();
  8403. rx = width / _width;
  8404. node.a('node.width', width);
  8405. setWidth.apply(this, arguments);
  8406. resetPoints(rx, 1);
  8407. }
  8408. node.setHeight = function (height) {
  8409. var _height = this.getHeight();
  8410. ry = height / _height;
  8411. node.a('node.height', height);
  8412. setHeight.apply(this, arguments);
  8413. resetPoints(1, ry);
  8414. }
  8415. })(Node119, Node119.getImage(), Node119compspts, Node119endCompspts, Node119startCompspts);
  8416. var Node120points=[1339, 135,1616, 135],
  8417. Node120rect=ht.Default.unionPoint([{x:1339,y:135},{x:1616,y:135}]),
  8418. Node120compspts=[];
  8419. _ratio = GD.getRatioWithRotation(0, ratio);
  8420. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  8421. _endratio = GD.getRatioWithRotation(0, ratio);
  8422. for(var i=0;i<Node120points.length;i++){
  8423. if(i%2==0){
  8424. Node120compspts.push(Node120points[i]-Node120rect.x);
  8425. }else{
  8426. Node120compspts.push(Node120points[i]-Node120rect.y);
  8427. }
  8428. }
  8429. var Node120ptslength=Node120compspts.length;
  8430. if (Node120rect.height === 0) {
  8431. Node120compspts[0] -= 0;
  8432. Node120compspts[Node120ptslength-2] += 0;
  8433. } else if (Node120rect.width === 0){
  8434. Node120compspts[1] -= 0;
  8435. Node120compspts[Node120ptslength-1] += 0;
  8436. } else {
  8437. Node120compspts[0] -= 0;
  8438. Node120compspts[1] -= 0;
  8439. Node120compspts[Node120ptslength-2] += 0;
  8440. Node120compspts[Node120ptslength-1] += 0;
  8441. }
  8442. Node120 = new ht.Node();
  8443. Node120.borderWidth = 1;
  8444. Node120rect.width = Node120rect.width === 0 ? 0.0001 : Node120rect.width;
  8445. Node120rect.height = Node120rect.height === 0 ? 0.0001 : Node120rect.height;
  8446. var Node120endCompspts = [Node120compspts[Node120ptslength-2],Node120compspts[Node120ptslength-1],0,0];
  8447. var Node120startCompspts = [Node120compspts[0],Node120compspts[1],0,0];
  8448. Node120.setImage(GD.getPolyLineJSON());
  8449. Node120.setPosition(Node120rect.x+Node120rect.width/2,Node120rect.y+Node120rect.height/2);
  8450. Node120.setSize(Node120rect.width,Node120rect.height);
  8451. Node120.setStyle("opacity",1);
  8452. Node120.s({'pixelPerfect':true});
  8453. Node120borderwidth=1;
  8454. Node120.setRotation(0);
  8455. dataModel.add(Node120);
  8456. Node120.a('node.points',Node120compspts);
  8457. Node120.a('node.segments',[1,2]);
  8458. Node120.a('node.color','rgba(220,220,220,1)');
  8459. Node120.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8460. Node120.a('node.borderColor','rgba(220,220,220,1)');
  8461. Node120.a('node.background','rgba(220,220,220,1)');
  8462. Node120.a('node.gradient','');
  8463. Node120.a('node.gradientcolor','rgba(220,220,220,1)');
  8464. Node120.a('node.endCompspts',Node120endCompspts);
  8465. Node120.a('node.startCompspts',Node120startCompspts);
  8466. (function (node, img, compspts, endCompspts, startCompspts) {
  8467. var position = node.getPosition(),
  8468. w = node.getWidth()*_ratio.ratioX,
  8469. h = node.getHeight()*_ratio.ratioY;
  8470. function resetPoints(rx, ry) {
  8471. for (var i = 0, len = compspts.length; i < len; i++) {
  8472. if (i%2 === 0) {
  8473. compspts[i]*=rx;
  8474. } else {
  8475. compspts[i]*=ry;
  8476. }
  8477. }
  8478. endCompspts[0] = compspts[compspts.length-2];
  8479. endCompspts[1] = compspts[compspts.length-1];
  8480. endCompspts[2] *= rx;
  8481. endCompspts[3] *= ry;
  8482. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8483. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8484. startCompspts[0] = compspts[0];
  8485. startCompspts[1] = compspts[1];
  8486. startCompspts[2] *= rx;
  8487. startCompspts[3] *= ry;
  8488. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8489. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8490. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8491. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8492. }
  8493. node.setSize(w, h);
  8494. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8495. node.a('node.width', w);
  8496. node.a('node.height', h);
  8497. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8498. node.borderWidth = 1;
  8499. node.a('node.borderwidth',node.borderWidth);
  8500. node._nodename = 'Node120';
  8501. node._nodeType = 'line';
  8502. zoomNodeList.push({
  8503. node: node,
  8504. attr: 'node.borderwidth'
  8505. });
  8506. var setWidth = node.setWidth,
  8507. setHeight = node.setHeight,
  8508. timer, rx = 1, ry = 1;
  8509. node.setWidth = function (width) {
  8510. var _width = this.getWidth();
  8511. rx = width / _width;
  8512. node.a('node.width', width);
  8513. setWidth.apply(this, arguments);
  8514. resetPoints(rx, 1);
  8515. }
  8516. node.setHeight = function (height) {
  8517. var _height = this.getHeight();
  8518. ry = height / _height;
  8519. node.a('node.height', height);
  8520. setHeight.apply(this, arguments);
  8521. resetPoints(1, ry);
  8522. }
  8523. })(Node120, Node120.getImage(), Node120compspts, Node120endCompspts, Node120startCompspts);
  8524. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8525. var Node121type = 'rect';
  8526. var Node121 = new ht.Node(),
  8527. Node121BorderWidth = 1*2;
  8528. if (Node121type === 'arc') {
  8529. Node121BorderWidth *= 1;
  8530. }
  8531. Node121.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  8532. Node121.setPosition(1685*ratio.ratioX, 98*ratio.ratioY);
  8533. Node121.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
  8534. Node121.s({
  8535. 'pixelPerfect':true
  8536. /*@AddPara@*/
  8537. });
  8538. Node121.a('node.width', 120*_ratio.ratioX);
  8539. Node121.a('node.height', 120*_ratio.ratioY);
  8540. Node121.a('node.type', Node121type);
  8541. Node121.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
  8542. Node121.a('node.background', 'rgba(245,245,245,1)');
  8543. Node121.a('node.gradientcolor', 'rgba(245,245,245,1)');
  8544. Node121.a('node.gradient', '');
  8545. Node121.a('node.borderwidth', Node121BorderWidth);
  8546. Node121.a('node.color', 'rgba(220,220,220,1)');
  8547. Node121.a('node.fillrect', [0,0,0,0]);
  8548. Node121.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  8549. Node121.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  8550. Node121.a('node.fillgradient', '');
  8551. if (Node121type !== 'rect') {
  8552. Node121.a('node.arcFrom', parseFloat('@arcFrom@'));
  8553. Node121.a('node.arcTo', parseFloat('@arcTo@'));
  8554. Node121.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  8555. }
  8556. if (Node121type === 'arc') {
  8557. Node121.a('node.arcOval', true);
  8558. }
  8559. Node121.setRotation(0*Math.PI/180);
  8560. Node121.borderWidth = Node121BorderWidth;
  8561. Node121.borderFillwidth = Node121BorderWidth;
  8562. dataModel.add(Node121);
  8563. Node121._nodename = 'Node121'
  8564. Node121._nodeType = 'rect';
  8565. zoomNodeList.push({
  8566. node: Node121,
  8567. attr: 'node.borderwidth'
  8568. });
  8569. (function (node, _img) {
  8570. var setWidth = node.setWidth,
  8571. setHeight = node.setHeight;
  8572. node.setWidth = function (width) {
  8573. if (width === this.getWidth()) return ;
  8574. var height = this.getHeight();
  8575. this.a('node.width', width);
  8576. this.a('node.rect', [0,0,width, height]);
  8577. setWidth.apply(this, arguments);
  8578. }
  8579. node.setHeight = function (height) {
  8580. if (height === this.getHeight()) return ;
  8581. var width = this.getWidth();
  8582. this.a('node.height', height);
  8583. this.a('node.rect', [0,0,width, height]);
  8584. setHeight.apply(this, arguments);
  8585. }
  8586. })(Node121, Node121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8587. var Node122type = 'rect';
  8588. var Node122 = new ht.Node(),
  8589. Node122BorderWidth = 1*2;
  8590. if (Node122type === 'arc') {
  8591. Node122BorderWidth *= 1;
  8592. }
  8593. Node122.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node122type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  8594. Node122.setPosition(1764*ratio.ratioX, 98*ratio.ratioY);
  8595. Node122.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
  8596. Node122.s({
  8597. 'pixelPerfect':true
  8598. /*@AddPara@*/
  8599. });
  8600. Node122.a('node.width', 280.7278*_ratio.ratioX);
  8601. Node122.a('node.height', 122*_ratio.ratioY);
  8602. Node122.a('node.type', Node122type);
  8603. Node122.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
  8604. Node122.a('node.background', 'rgba(255,255,255,0.003921569)');
  8605. Node122.a('node.gradientcolor', '');
  8606. Node122.a('node.gradient', '');
  8607. Node122.a('node.borderwidth', Node122BorderWidth);
  8608. Node122.a('node.color', 'rgba(220,220,220,1)');
  8609. Node122.a('node.fillrect', [0,0,0,0]);
  8610. Node122.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  8611. Node122.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  8612. Node122.a('node.fillgradient', '');
  8613. if (Node122type !== 'rect') {
  8614. Node122.a('node.arcFrom', parseFloat('@arcFrom@'));
  8615. Node122.a('node.arcTo', parseFloat('@arcTo@'));
  8616. Node122.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  8617. }
  8618. if (Node122type === 'arc') {
  8619. Node122.a('node.arcOval', true);
  8620. }
  8621. Node122.setRotation(0*Math.PI/180);
  8622. Node122.borderWidth = Node122BorderWidth;
  8623. Node122.borderFillwidth = Node122BorderWidth;
  8624. dataModel.add(Node122);
  8625. Node122._nodename = 'Node122'
  8626. Node122._nodeType = 'rect';
  8627. zoomNodeList.push({
  8628. node: Node122,
  8629. attr: 'node.borderwidth'
  8630. });
  8631. (function (node, _img) {
  8632. var setWidth = node.setWidth,
  8633. setHeight = node.setHeight;
  8634. node.setWidth = function (width) {
  8635. if (width === this.getWidth()) return ;
  8636. var height = this.getHeight();
  8637. this.a('node.width', width);
  8638. this.a('node.rect', [0,0,width, height]);
  8639. setWidth.apply(this, arguments);
  8640. }
  8641. node.setHeight = function (height) {
  8642. if (height === this.getHeight()) return ;
  8643. var width = this.getWidth();
  8644. this.a('node.height', height);
  8645. this.a('node.rect', [0,0,width, height]);
  8646. setHeight.apply(this, arguments);
  8647. }
  8648. })(Node122, Node122.getImage());var Node123points=[1815, 38,1815, 158],
  8649. Node123rect=ht.Default.unionPoint([{x:1815,y:38},{x:1815,y:158}]),
  8650. Node123compspts=[];
  8651. _ratio = GD.getRatioWithRotation(0, ratio);
  8652. var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
  8653. _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
  8654. for(var i=0;i<Node123points.length;i++){
  8655. if(i%2==0){
  8656. Node123compspts.push(Node123points[i]-Node123rect.x);
  8657. }else{
  8658. Node123compspts.push(Node123points[i]-Node123rect.y);
  8659. }
  8660. }
  8661. var Node123ptslength=Node123compspts.length;
  8662. if (Node123rect.height === 0) {
  8663. Node123compspts[0] -= 0;
  8664. Node123compspts[Node123ptslength-2] += 0;
  8665. } else if (Node123rect.width === 0){
  8666. Node123compspts[1] -= 0;
  8667. Node123compspts[Node123ptslength-1] += 0;
  8668. } else {
  8669. Node123compspts[0] -= 0;
  8670. Node123compspts[1] -= 0;
  8671. Node123compspts[Node123ptslength-2] += 0;
  8672. Node123compspts[Node123ptslength-1] += 0;
  8673. }
  8674. Node123 = new ht.Node();
  8675. Node123.borderWidth = 1;
  8676. Node123rect.width = Node123rect.width === 0 ? 0.0001 : Node123rect.width;
  8677. Node123rect.height = Node123rect.height === 0 ? 0.0001 : Node123rect.height;
  8678. var Node123endCompspts = [Node123compspts[Node123ptslength-2],Node123compspts[Node123ptslength-1],0,0];
  8679. var Node123startCompspts = [Node123compspts[0],Node123compspts[1],0,0];
  8680. Node123.setImage(GD.getPolyLineJSON());
  8681. Node123.setPosition(Node123rect.x+Node123rect.width/2,Node123rect.y+Node123rect.height/2);
  8682. Node123.setSize(Node123rect.width,Node123rect.height);
  8683. Node123.setStyle("opacity",1);
  8684. Node123.s({'pixelPerfect':true});
  8685. Node123borderwidth=1;
  8686. Node123.setRotation(0);
  8687. dataModel.add(Node123);
  8688. Node123.a('node.points',Node123compspts);
  8689. Node123.a('node.segments',[1,2]);
  8690. Node123.a('node.color','rgba(220,220,220,1)');
  8691. Node123.a('node.borderPattern',getDashStyle("@borderPattern@"));
  8692. Node123.a('node.borderColor','rgba(220,220,220,1)');
  8693. Node123.a('node.background','rgba(220,220,220,1)');
  8694. Node123.a('node.gradient','');
  8695. Node123.a('node.gradientcolor','rgba(220,220,220,1)');
  8696. Node123.a('node.endCompspts',Node123endCompspts);
  8697. Node123.a('node.startCompspts',Node123startCompspts);
  8698. (function (node, img, compspts, endCompspts, startCompspts) {
  8699. var position = node.getPosition(),
  8700. w = node.getWidth()*_ratio.ratioX,
  8701. h = node.getHeight()*_ratio.ratioY;
  8702. function resetPoints(rx, ry) {
  8703. for (var i = 0, len = compspts.length; i < len; i++) {
  8704. if (i%2 === 0) {
  8705. compspts[i]*=rx;
  8706. } else {
  8707. compspts[i]*=ry;
  8708. }
  8709. }
  8710. endCompspts[0] = compspts[compspts.length-2];
  8711. endCompspts[1] = compspts[compspts.length-1];
  8712. endCompspts[2] *= rx;
  8713. endCompspts[3] *= ry;
  8714. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  8715. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  8716. startCompspts[0] = compspts[0];
  8717. startCompspts[1] = compspts[1];
  8718. startCompspts[2] *= rx;
  8719. startCompspts[3] *= ry;
  8720. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  8721. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  8722. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  8723. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  8724. }
  8725. node.setSize(w, h);
  8726. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  8727. node.a('node.width', w);
  8728. node.a('node.height', h);
  8729. resetPoints(_ratio.ratioX, _ratio.ratioY);
  8730. node.borderWidth = 1;
  8731. node.a('node.borderwidth',node.borderWidth);
  8732. node._nodename = 'Node123';
  8733. node._nodeType = 'line';
  8734. zoomNodeList.push({
  8735. node: node,
  8736. attr: 'node.borderwidth'
  8737. });
  8738. var setWidth = node.setWidth,
  8739. setHeight = node.setHeight,
  8740. timer, rx = 1, ry = 1;
  8741. node.setWidth = function (width) {
  8742. var _width = this.getWidth();
  8743. rx = width / _width;
  8744. node.a('node.width', width);
  8745. setWidth.apply(this, arguments);
  8746. resetPoints(rx, 1);
  8747. }
  8748. node.setHeight = function (height) {
  8749. var _height = this.getHeight();
  8750. ry = height / _height;
  8751. node.a('node.height', height);
  8752. setHeight.apply(this, arguments);
  8753. resetPoints(1, ry);
  8754. }
  8755. })(Node123, Node123.getImage(), Node123compspts, Node123endCompspts, Node123startCompspts);
  8756. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8757. var Node124 = new ht.Node();
  8758. var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 110*_ratio.ratioX, Node124height = 16*_ratio.ratioY;
  8759. (function () {
  8760. if (Node124align === 'left') {
  8761. Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
  8762. Node124textWidth = Node124width;
  8763. Node124lineStart = 1;
  8764. } else if (Node124align === 'right') {
  8765. Node124textStart = 0;
  8766. Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
  8767. Node124lineStart = (Node124width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
  8768. } else if (Node124align === 'center') {
  8769. Node124textStart = -3;
  8770. Node124textWidth = Node124width;
  8771. Node124lineStart = Node124width - ht.Default.getTextSize('年维护损失电量', ' '+ Node124fontSize + 'px "Arial"').width - 11;
  8772. }
  8773. })();
  8774. Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
  8775. Node124.setPosition(1684*ratio.ratioX, 49*ratio.ratioY);
  8776. Node124.setWidth(Node124width);
  8777. Node124.setHeight(Node124height);
  8778. Node124._nodeType = 'text';
  8779. Node124._disallowEvert = true;
  8780. Node124.setRotation(0*Math.PI/180);
  8781. Node124.a('node.width', Node124width);
  8782. Node124.a('node.height', Node124height);
  8783. Node124.a('node.rect', [0, 0, Node124width, Node124height]);
  8784. Node124.a('node.bordercolor','rgba(0,0,0,1)');
  8785. Node124.a('node.borderwidth', 0);
  8786. Node124.a('node.background','' || 'rgba(0,0,0,0)');
  8787. Node124.a('node.gradient','');
  8788. Node124.a('node.gradientcolor','');
  8789. Node124.a('node.text','年维护损失电量');
  8790. Node124.a('node.textalign','left');
  8791. Node124.a('node.textvAlign','middle');
  8792. Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
  8793. Node124.a('node.color','rgba(0,0,0,1)');
  8794. Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
  8795. Node124.a('node.textvisible',true);
  8796. Node124.a('node.linefeed',false);
  8797. if (false) {
  8798. Node124.a('node.textfunc',function(g) {
  8799. g.beginPath();
  8800. var str=Node124.a('node.text') || '年维护损失电量';
  8801. var color=Node124.a('node.color') || 'rgba(0,0,0,1)';
  8802. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
  8803. });
  8804. }
  8805. if (false) {
  8806. Node124.a('node.underlinepoints',[Node124lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
  8807. Node124.a('node.underlinevisible',false);
  8808. Node124.a('node.underlineBorderWidth', 1);
  8809. }
  8810. dataModel.add(Node124);
  8811. zoomNodeList.push({
  8812. node: Node124,
  8813. borderWidth: 0,
  8814. attr: 'node.borderwidth'
  8815. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8816. var Node125 = new ht.Node();
  8817. var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 110*_ratio.ratioX, Node125height = 16*_ratio.ratioY;
  8818. (function () {
  8819. if (Node125align === 'left') {
  8820. Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
  8821. Node125textWidth = Node125width;
  8822. Node125lineStart = 1;
  8823. } else if (Node125align === 'right') {
  8824. Node125textStart = 0;
  8825. Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
  8826. Node125lineStart = (Node125width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
  8827. } else if (Node125align === 'center') {
  8828. Node125textStart = -3;
  8829. Node125textWidth = Node125width;
  8830. Node125lineStart = Node125width - ht.Default.getTextSize('年故障损失电量', ' '+ Node125fontSize + 'px "Arial"').width - 11;
  8831. }
  8832. })();
  8833. Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
  8834. Node125.setPosition(1684*ratio.ratioX, 75*ratio.ratioY);
  8835. Node125.setWidth(Node125width);
  8836. Node125.setHeight(Node125height);
  8837. Node125._nodeType = 'text';
  8838. Node125._disallowEvert = true;
  8839. Node125.setRotation(0*Math.PI/180);
  8840. Node125.a('node.width', Node125width);
  8841. Node125.a('node.height', Node125height);
  8842. Node125.a('node.rect', [0, 0, Node125width, Node125height]);
  8843. Node125.a('node.bordercolor','rgba(0,0,0,1)');
  8844. Node125.a('node.borderwidth', 0);
  8845. Node125.a('node.background','' || 'rgba(0,0,0,0)');
  8846. Node125.a('node.gradient','');
  8847. Node125.a('node.gradientcolor','');
  8848. Node125.a('node.text','年故障损失电量');
  8849. Node125.a('node.textalign','left');
  8850. Node125.a('node.textvAlign','middle');
  8851. Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
  8852. Node125.a('node.color','rgba(0,0,0,1)');
  8853. Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
  8854. Node125.a('node.textvisible',true);
  8855. Node125.a('node.linefeed',false);
  8856. if (false) {
  8857. Node125.a('node.textfunc',function(g) {
  8858. g.beginPath();
  8859. var str=Node125.a('node.text') || '年故障损失电量';
  8860. var color=Node125.a('node.color') || 'rgba(0,0,0,1)';
  8861. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
  8862. });
  8863. }
  8864. if (false) {
  8865. Node125.a('node.underlinepoints',[Node125lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
  8866. Node125.a('node.underlinevisible',false);
  8867. Node125.a('node.underlineBorderWidth', 1);
  8868. }
  8869. dataModel.add(Node125);
  8870. zoomNodeList.push({
  8871. node: Node125,
  8872. borderWidth: 0,
  8873. attr: 'node.borderwidth'
  8874. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8875. var Node126 = new ht.Node();
  8876. var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 110*_ratio.ratioX, Node126height = 16*_ratio.ratioY;
  8877. (function () {
  8878. if (Node126align === 'left') {
  8879. Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
  8880. Node126textWidth = Node126width;
  8881. Node126lineStart = 1;
  8882. } else if (Node126align === 'right') {
  8883. Node126textStart = 0;
  8884. Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
  8885. Node126lineStart = (Node126width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
  8886. } else if (Node126align === 'center') {
  8887. Node126textStart = -3;
  8888. Node126textWidth = Node126width;
  8889. Node126lineStart = Node126width - ht.Default.getTextSize('年限电损失电量', ' '+ Node126fontSize + 'px "Arial"').width - 11;
  8890. }
  8891. })();
  8892. Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
  8893. Node126.setPosition(1684*ratio.ratioX, 99*ratio.ratioY);
  8894. Node126.setWidth(Node126width);
  8895. Node126.setHeight(Node126height);
  8896. Node126._nodeType = 'text';
  8897. Node126._disallowEvert = true;
  8898. Node126.setRotation(0*Math.PI/180);
  8899. Node126.a('node.width', Node126width);
  8900. Node126.a('node.height', Node126height);
  8901. Node126.a('node.rect', [0, 0, Node126width, Node126height]);
  8902. Node126.a('node.bordercolor','rgba(0,0,0,1)');
  8903. Node126.a('node.borderwidth', 0);
  8904. Node126.a('node.background','' || 'rgba(0,0,0,0)');
  8905. Node126.a('node.gradient','');
  8906. Node126.a('node.gradientcolor','');
  8907. Node126.a('node.text','年限电损失电量');
  8908. Node126.a('node.textalign','left');
  8909. Node126.a('node.textvAlign','middle');
  8910. Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
  8911. Node126.a('node.color','rgba(0,0,0,1)');
  8912. Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
  8913. Node126.a('node.textvisible',true);
  8914. Node126.a('node.linefeed',false);
  8915. if (false) {
  8916. Node126.a('node.textfunc',function(g) {
  8917. g.beginPath();
  8918. var str=Node126.a('node.text') || '年限电损失电量';
  8919. var color=Node126.a('node.color') || 'rgba(0,0,0,1)';
  8920. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
  8921. });
  8922. }
  8923. if (false) {
  8924. Node126.a('node.underlinepoints',[Node126lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
  8925. Node126.a('node.underlinevisible',false);
  8926. Node126.a('node.underlineBorderWidth', 1);
  8927. }
  8928. dataModel.add(Node126);
  8929. zoomNodeList.push({
  8930. node: Node126,
  8931. borderWidth: 0,
  8932. attr: 'node.borderwidth'
  8933. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8934. var Node127 = new ht.Node();
  8935. var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'left', Node127fontSize = 13.3333*_ratio.ratioY,Node127width = 110*_ratio.ratioX, Node127height = 16*_ratio.ratioY;
  8936. (function () {
  8937. if (Node127align === 'left') {
  8938. Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
  8939. Node127textWidth = Node127width;
  8940. Node127lineStart = 1;
  8941. } else if (Node127align === 'right') {
  8942. Node127textStart = 0;
  8943. Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
  8944. Node127lineStart = (Node127width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5;
  8945. } else if (Node127align === 'center') {
  8946. Node127textStart = -3;
  8947. Node127textWidth = Node127width;
  8948. Node127lineStart = Node127width - ht.Default.getTextSize('年受累损失电量', ' '+ Node127fontSize + 'px "Arial"').width - 11;
  8949. }
  8950. })();
  8951. Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"'))
  8952. Node127.setPosition(1685*ratio.ratioX, 122*ratio.ratioY);
  8953. Node127.setWidth(Node127width);
  8954. Node127.setHeight(Node127height);
  8955. Node127._nodeType = 'text';
  8956. Node127._disallowEvert = true;
  8957. Node127.setRotation(0*Math.PI/180);
  8958. Node127.a('node.width', Node127width);
  8959. Node127.a('node.height', Node127height);
  8960. Node127.a('node.rect', [0, 0, Node127width, Node127height]);
  8961. Node127.a('node.bordercolor','rgba(0,0,0,1)');
  8962. Node127.a('node.borderwidth', 0);
  8963. Node127.a('node.background','' || 'rgba(0,0,0,0)');
  8964. Node127.a('node.gradient','');
  8965. Node127.a('node.gradientcolor','');
  8966. Node127.a('node.text','年受累损失电量');
  8967. Node127.a('node.textalign','left');
  8968. Node127.a('node.textvAlign','middle');
  8969. Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
  8970. Node127.a('node.color','rgba(0,0,0,1)');
  8971. Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"');
  8972. Node127.a('node.textvisible',true);
  8973. Node127.a('node.linefeed',false);
  8974. if (false) {
  8975. Node127.a('node.textfunc',function(g) {
  8976. g.beginPath();
  8977. var str=Node127.a('node.text') || '年受累损失电量';
  8978. var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
  8979. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "Arial"', 0,g);
  8980. });
  8981. }
  8982. if (false) {
  8983. Node127.a('node.underlinepoints',[Node127lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
  8984. Node127.a('node.underlinevisible',false);
  8985. Node127.a('node.underlineBorderWidth', 1);
  8986. }
  8987. dataModel.add(Node127);
  8988. zoomNodeList.push({
  8989. node: Node127,
  8990. borderWidth: 0,
  8991. attr: 'node.borderwidth'
  8992. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  8993. var Node128 = new ht.Node();
  8994. var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'left', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 110*_ratio.ratioX, Node128height = 16*_ratio.ratioY;
  8995. (function () {
  8996. if (Node128align === 'left') {
  8997. Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
  8998. Node128textWidth = Node128width;
  8999. Node128lineStart = 1;
  9000. } else if (Node128align === 'right') {
  9001. Node128textStart = 0;
  9002. Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
  9003. Node128lineStart = (Node128width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5;
  9004. } else if (Node128align === 'center') {
  9005. Node128textStart = -3;
  9006. Node128textWidth = Node128width;
  9007. Node128lineStart = Node128width - ht.Default.getTextSize('年性能损失电量', ' '+ Node128fontSize + 'px "Arial"').width - 11;
  9008. }
  9009. })();
  9010. Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
  9011. Node128.setPosition(1683*ratio.ratioX, 147*ratio.ratioY);
  9012. Node128.setWidth(Node128width);
  9013. Node128.setHeight(Node128height);
  9014. Node128._nodeType = 'text';
  9015. Node128._disallowEvert = true;
  9016. Node128.setRotation(0*Math.PI/180);
  9017. Node128.a('node.width', Node128width);
  9018. Node128.a('node.height', Node128height);
  9019. Node128.a('node.rect', [0, 0, Node128width, Node128height]);
  9020. Node128.a('node.bordercolor','rgba(0,0,0,1)');
  9021. Node128.a('node.borderwidth', 0);
  9022. Node128.a('node.background','' || 'rgba(0,0,0,0)');
  9023. Node128.a('node.gradient','');
  9024. Node128.a('node.gradientcolor','');
  9025. Node128.a('node.text','年性能损失电量');
  9026. Node128.a('node.textalign','left');
  9027. Node128.a('node.textvAlign','middle');
  9028. Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
  9029. Node128.a('node.color','rgba(0,0,0,1)');
  9030. Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
  9031. Node128.a('node.textvisible',true);
  9032. Node128.a('node.linefeed',false);
  9033. if (false) {
  9034. Node128.a('node.textfunc',function(g) {
  9035. g.beginPath();
  9036. var str=Node128.a('node.text') || '年性能损失电量';
  9037. var color=Node128.a('node.color') || 'rgba(0,0,0,1)';
  9038. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"left",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
  9039. });
  9040. }
  9041. if (false) {
  9042. Node128.a('node.underlinepoints',[Node128lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
  9043. Node128.a('node.underlinevisible',false);
  9044. Node128.a('node.underlineBorderWidth', 1);
  9045. }
  9046. dataModel.add(Node128);
  9047. zoomNodeList.push({
  9048. node: Node128,
  9049. borderWidth: 0,
  9050. attr: 'node.borderwidth'
  9051. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9052. var Node129 = new ht.Node();
  9053. var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'left', Node129fontSize = 13.3333*_ratio.ratioY,Node129width = 11*_ratio.ratioX, Node129height = 16*_ratio.ratioY;
  9054. (function () {
  9055. if (Node129align === 'left') {
  9056. Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
  9057. Node129textWidth = Node129width;
  9058. Node129lineStart = 1;
  9059. } else if (Node129align === 'right') {
  9060. Node129textStart = 0;
  9061. Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
  9062. Node129lineStart = (Node129width - (ht.Default.getTextSize('0', 'bold '+ Node129fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  9063. } else if (Node129align === 'center') {
  9064. Node129textStart = -3;
  9065. Node129textWidth = Node129width;
  9066. Node129lineStart = Node129width - ht.Default.getTextSize('0', 'bold '+ Node129fontSize + 'px "UniDreamLED"').width - 11;
  9067. }
  9068. })();
  9069. Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, 'bold '+ Node129fontSize + 'px "UniDreamLED"'))
  9070. Node129.setPosition(1767*ratio.ratioX, 49*ratio.ratioY);
  9071. Node129.setWidth(Node129width);
  9072. Node129.setHeight(Node129height);
  9073. Node129._nodeType = 'text';
  9074. Node129._disallowEvert = true;
  9075. Node129.setRotation(0*Math.PI/180);
  9076. Node129.a('node.width', Node129width);
  9077. Node129.a('node.height', Node129height);
  9078. Node129.a('node.rect', [0, 0, Node129width, Node129height]);
  9079. Node129.a('node.bordercolor','rgba(0,0,0,1)');
  9080. Node129.a('node.borderwidth', 0);
  9081. Node129.a('node.background','' || 'rgba(0,0,0,0)');
  9082. Node129.a('node.gradient','');
  9083. Node129.a('node.gradientcolor','');
  9084. Node129.a('node.text','0');
  9085. Node129.a('node.textalign','left');
  9086. Node129.a('node.textvAlign','middle');
  9087. Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
  9088. Node129.a('node.color','rgba(0,0,0,1)');
  9089. Node129.a('node.font','bold '+ Node129fontSize + 'px "UniDreamLED"');
  9090. Node129.a('node.textvisible',true);
  9091. Node129.a('node.linefeed',false);
  9092. if (false) {
  9093. Node129.a('node.textfunc',function(g) {
  9094. g.beginPath();
  9095. var str=Node129.a('node.text') || '0';
  9096. var color=Node129.a('node.color') || 'rgba(0,0,0,1)';
  9097. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node129width,Node129height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node129fontSize + 'px "UniDreamLED"', 0,g);
  9098. });
  9099. }
  9100. if (false) {
  9101. Node129.a('node.underlinepoints',[Node129lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node129fontSize + 'px "UniDreamLED"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
  9102. Node129.a('node.underlinevisible',false);
  9103. Node129.a('node.underlineBorderWidth', 1);
  9104. }
  9105. dataModel.add(Node129);
  9106. zoomNodeList.push({
  9107. node: Node129,
  9108. borderWidth: 0,
  9109. attr: 'node.borderwidth'
  9110. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9111. var Node130 = new ht.Node();
  9112. var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 11*_ratio.ratioX, Node130height = 16*_ratio.ratioY;
  9113. (function () {
  9114. if (Node130align === 'left') {
  9115. Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
  9116. Node130textWidth = Node130width;
  9117. Node130lineStart = 1;
  9118. } else if (Node130align === 'right') {
  9119. Node130textStart = 0;
  9120. Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
  9121. Node130lineStart = (Node130width - (ht.Default.getTextSize('0', 'bold '+ Node130fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  9122. } else if (Node130align === 'center') {
  9123. Node130textStart = -3;
  9124. Node130textWidth = Node130width;
  9125. Node130lineStart = Node130width - ht.Default.getTextSize('0', 'bold '+ Node130fontSize + 'px "UniDreamLED"').width - 11;
  9126. }
  9127. })();
  9128. Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, 'bold '+ Node130fontSize + 'px "UniDreamLED"'))
  9129. Node130.setPosition(1767*ratio.ratioX, 73*ratio.ratioY);
  9130. Node130.setWidth(Node130width);
  9131. Node130.setHeight(Node130height);
  9132. Node130._nodeType = 'text';
  9133. Node130._disallowEvert = true;
  9134. Node130.setRotation(0*Math.PI/180);
  9135. Node130.a('node.width', Node130width);
  9136. Node130.a('node.height', Node130height);
  9137. Node130.a('node.rect', [0, 0, Node130width, Node130height]);
  9138. Node130.a('node.bordercolor','rgba(0,0,0,1)');
  9139. Node130.a('node.borderwidth', 0);
  9140. Node130.a('node.background','' || 'rgba(0,0,0,0)');
  9141. Node130.a('node.gradient','');
  9142. Node130.a('node.gradientcolor','');
  9143. Node130.a('node.text','0');
  9144. Node130.a('node.textalign','left');
  9145. Node130.a('node.textvAlign','middle');
  9146. Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
  9147. Node130.a('node.color','rgba(0,0,0,1)');
  9148. Node130.a('node.font','bold '+ Node130fontSize + 'px "UniDreamLED"');
  9149. Node130.a('node.textvisible',true);
  9150. Node130.a('node.linefeed',false);
  9151. if (false) {
  9152. Node130.a('node.textfunc',function(g) {
  9153. g.beginPath();
  9154. var str=Node130.a('node.text') || '0';
  9155. var color=Node130.a('node.color') || 'rgba(0,0,0,1)';
  9156. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node130fontSize + 'px "UniDreamLED"', 0,g);
  9157. });
  9158. }
  9159. if (false) {
  9160. Node130.a('node.underlinepoints',[Node130lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node130fontSize + 'px "UniDreamLED"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
  9161. Node130.a('node.underlinevisible',false);
  9162. Node130.a('node.underlineBorderWidth', 1);
  9163. }
  9164. dataModel.add(Node130);
  9165. zoomNodeList.push({
  9166. node: Node130,
  9167. borderWidth: 0,
  9168. attr: 'node.borderwidth'
  9169. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9170. var Node131 = new ht.Node();
  9171. var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'left', Node131fontSize = 13.3333*_ratio.ratioY,Node131width = 11*_ratio.ratioX, Node131height = 16*_ratio.ratioY;
  9172. (function () {
  9173. if (Node131align === 'left') {
  9174. Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
  9175. Node131textWidth = Node131width;
  9176. Node131lineStart = 1;
  9177. } else if (Node131align === 'right') {
  9178. Node131textStart = 0;
  9179. Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
  9180. Node131lineStart = (Node131width - (ht.Default.getTextSize('0', 'bold '+ Node131fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  9181. } else if (Node131align === 'center') {
  9182. Node131textStart = -3;
  9183. Node131textWidth = Node131width;
  9184. Node131lineStart = Node131width - ht.Default.getTextSize('0', 'bold '+ Node131fontSize + 'px "UniDreamLED"').width - 11;
  9185. }
  9186. })();
  9187. Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, 'bold '+ Node131fontSize + 'px "UniDreamLED"'))
  9188. Node131.setPosition(1767*ratio.ratioX, 98*ratio.ratioY);
  9189. Node131.setWidth(Node131width);
  9190. Node131.setHeight(Node131height);
  9191. Node131._nodeType = 'text';
  9192. Node131._disallowEvert = true;
  9193. Node131.setRotation(0*Math.PI/180);
  9194. Node131.a('node.width', Node131width);
  9195. Node131.a('node.height', Node131height);
  9196. Node131.a('node.rect', [0, 0, Node131width, Node131height]);
  9197. Node131.a('node.bordercolor','rgba(0,0,0,1)');
  9198. Node131.a('node.borderwidth', 0);
  9199. Node131.a('node.background','' || 'rgba(0,0,0,0)');
  9200. Node131.a('node.gradient','');
  9201. Node131.a('node.gradientcolor','');
  9202. Node131.a('node.text','0');
  9203. Node131.a('node.textalign','left');
  9204. Node131.a('node.textvAlign','middle');
  9205. Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
  9206. Node131.a('node.color','rgba(0,0,0,1)');
  9207. Node131.a('node.font','bold '+ Node131fontSize + 'px "UniDreamLED"');
  9208. Node131.a('node.textvisible',true);
  9209. Node131.a('node.linefeed',false);
  9210. if (false) {
  9211. Node131.a('node.textfunc',function(g) {
  9212. g.beginPath();
  9213. var str=Node131.a('node.text') || '0';
  9214. var color=Node131.a('node.color') || 'rgba(0,0,0,1)';
  9215. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131width,Node131height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node131fontSize + 'px "UniDreamLED"', 0,g);
  9216. });
  9217. }
  9218. if (false) {
  9219. Node131.a('node.underlinepoints',[Node131lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node131fontSize + 'px "UniDreamLED"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
  9220. Node131.a('node.underlinevisible',false);
  9221. Node131.a('node.underlineBorderWidth', 1);
  9222. }
  9223. dataModel.add(Node131);
  9224. zoomNodeList.push({
  9225. node: Node131,
  9226. borderWidth: 0,
  9227. attr: 'node.borderwidth'
  9228. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9229. var Node132 = new ht.Node();
  9230. var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'left', Node132fontSize = 13.3333*_ratio.ratioY,Node132width = 9*_ratio.ratioX, Node132height = 16*_ratio.ratioY;
  9231. (function () {
  9232. if (Node132align === 'left') {
  9233. Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9;
  9234. Node132textWidth = Node132width;
  9235. Node132lineStart = 1;
  9236. } else if (Node132align === 'right') {
  9237. Node132textStart = 0;
  9238. Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2;
  9239. Node132lineStart = (Node132width - (ht.Default.getTextSize('-', 'bold '+ Node132fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  9240. } else if (Node132align === 'center') {
  9241. Node132textStart = -3;
  9242. Node132textWidth = Node132width;
  9243. Node132lineStart = Node132width - ht.Default.getTextSize('-', 'bold '+ Node132fontSize + 'px "UniDreamLED"').width - 11;
  9244. }
  9245. })();
  9246. Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, 'bold '+ Node132fontSize + 'px "UniDreamLED"'))
  9247. Node132.setPosition(1766*ratio.ratioX, 122*ratio.ratioY);
  9248. Node132.setWidth(Node132width);
  9249. Node132.setHeight(Node132height);
  9250. Node132._nodeType = 'text';
  9251. Node132._disallowEvert = true;
  9252. Node132.setRotation(0*Math.PI/180);
  9253. Node132.a('node.width', Node132width);
  9254. Node132.a('node.height', Node132height);
  9255. Node132.a('node.rect', [0, 0, Node132width, Node132height]);
  9256. Node132.a('node.bordercolor','rgba(0,0,0,1)');
  9257. Node132.a('node.borderwidth', 0);
  9258. Node132.a('node.background','' || 'rgba(0,0,0,0)');
  9259. Node132.a('node.gradient','');
  9260. Node132.a('node.gradientcolor','');
  9261. Node132.a('node.text','-');
  9262. Node132.a('node.textalign','left');
  9263. Node132.a('node.textvAlign','middle');
  9264. Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]);
  9265. Node132.a('node.color','rgba(0,0,0,1)');
  9266. Node132.a('node.font','bold '+ Node132fontSize + 'px "UniDreamLED"');
  9267. Node132.a('node.textvisible',true);
  9268. Node132.a('node.linefeed',false);
  9269. if (false) {
  9270. Node132.a('node.textfunc',function(g) {
  9271. g.beginPath();
  9272. var str=Node132.a('node.text') || '-';
  9273. var color=Node132.a('node.color') || 'rgba(0,0,0,1)';
  9274. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132width,Node132height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node132fontSize + 'px "UniDreamLED"', 0,g);
  9275. });
  9276. }
  9277. if (false) {
  9278. Node132.a('node.underlinepoints',[Node132lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node132fontSize + 'px "UniDreamLED"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]);
  9279. Node132.a('node.underlinevisible',false);
  9280. Node132.a('node.underlineBorderWidth', 1);
  9281. }
  9282. dataModel.add(Node132);
  9283. zoomNodeList.push({
  9284. node: Node132,
  9285. borderWidth: 0,
  9286. attr: 'node.borderwidth'
  9287. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9288. var Node133 = new ht.Node();
  9289. var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'left', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 39*_ratio.ratioX, Node133height = 16*_ratio.ratioY;
  9290. (function () {
  9291. if (Node133align === 'left') {
  9292. Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9;
  9293. Node133textWidth = Node133width;
  9294. Node133lineStart = 1;
  9295. } else if (Node133align === 'right') {
  9296. Node133textStart = 0;
  9297. Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2;
  9298. Node133lineStart = (Node133width - (ht.Default.getTextSize('万kW', ' '+ Node133fontSize + 'px "Arial"').width + 6)) * 0.5;
  9299. } else if (Node133align === 'center') {
  9300. Node133textStart = -3;
  9301. Node133textWidth = Node133width;
  9302. Node133lineStart = Node133width - ht.Default.getTextSize('万kW', ' '+ Node133fontSize + 'px "Arial"').width - 11;
  9303. }
  9304. })();
  9305. Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"'))
  9306. Node133.setPosition(1844*ratio.ratioX, 48*ratio.ratioY);
  9307. Node133.setWidth(Node133width);
  9308. Node133.setHeight(Node133height);
  9309. Node133._nodeType = 'text';
  9310. Node133._disallowEvert = true;
  9311. Node133.setRotation(0*Math.PI/180);
  9312. Node133.a('node.width', Node133width);
  9313. Node133.a('node.height', Node133height);
  9314. Node133.a('node.rect', [0, 0, Node133width, Node133height]);
  9315. Node133.a('node.bordercolor','rgba(169,169,169,1)');
  9316. Node133.a('node.borderwidth', 0);
  9317. Node133.a('node.background','' || 'rgba(0,0,0,0)');
  9318. Node133.a('node.gradient','');
  9319. Node133.a('node.gradientcolor','');
  9320. Node133.a('node.text','万kW');
  9321. Node133.a('node.textalign','left');
  9322. Node133.a('node.textvAlign','middle');
  9323. Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]);
  9324. Node133.a('node.color','rgba(169,169,169,1)');
  9325. Node133.a('node.font',' '+ Node133fontSize + 'px "Arial"');
  9326. Node133.a('node.textvisible',true);
  9327. Node133.a('node.linefeed',false);
  9328. if (false) {
  9329. Node133.a('node.textfunc',function(g) {
  9330. g.beginPath();
  9331. var str=Node133.a('node.text') || '万kW';
  9332. var color=Node133.a('node.color') || 'rgba(169,169,169,1)';
  9333. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"left",color,' '+ Node133fontSize + 'px "Arial"', 0,g);
  9334. });
  9335. }
  9336. if (false) {
  9337. Node133.a('node.underlinepoints',[Node133lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node133fontSize + 'px "Arial"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
  9338. Node133.a('node.underlinevisible',false);
  9339. Node133.a('node.underlineBorderWidth', 1);
  9340. }
  9341. dataModel.add(Node133);
  9342. zoomNodeList.push({
  9343. node: Node133,
  9344. borderWidth: 0,
  9345. attr: 'node.borderwidth'
  9346. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9347. var Node134 = new ht.Node();
  9348. var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 9*_ratio.ratioX, Node134height = 16*_ratio.ratioY;
  9349. (function () {
  9350. if (Node134align === 'left') {
  9351. Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
  9352. Node134textWidth = Node134width;
  9353. Node134lineStart = 1;
  9354. } else if (Node134align === 'right') {
  9355. Node134textStart = 0;
  9356. Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
  9357. Node134lineStart = (Node134width - (ht.Default.getTextSize('-', 'bold '+ Node134fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
  9358. } else if (Node134align === 'center') {
  9359. Node134textStart = -3;
  9360. Node134textWidth = Node134width;
  9361. Node134lineStart = Node134width - ht.Default.getTextSize('-', 'bold '+ Node134fontSize + 'px "UniDreamLED"').width - 11;
  9362. }
  9363. })();
  9364. Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, 'bold '+ Node134fontSize + 'px "UniDreamLED"'))
  9365. Node134.setPosition(1766*ratio.ratioX, 147*ratio.ratioY);
  9366. Node134.setWidth(Node134width);
  9367. Node134.setHeight(Node134height);
  9368. Node134._nodeType = 'text';
  9369. Node134._disallowEvert = true;
  9370. Node134.setRotation(0*Math.PI/180);
  9371. Node134.a('node.width', Node134width);
  9372. Node134.a('node.height', Node134height);
  9373. Node134.a('node.rect', [0, 0, Node134width, Node134height]);
  9374. Node134.a('node.bordercolor','rgba(0,0,0,1)');
  9375. Node134.a('node.borderwidth', 0);
  9376. Node134.a('node.background','' || 'rgba(0,0,0,0)');
  9377. Node134.a('node.gradient','');
  9378. Node134.a('node.gradientcolor','');
  9379. Node134.a('node.text','-');
  9380. Node134.a('node.textalign','left');
  9381. Node134.a('node.textvAlign','middle');
  9382. Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
  9383. Node134.a('node.color','rgba(0,0,0,1)');
  9384. Node134.a('node.font','bold '+ Node134fontSize + 'px "UniDreamLED"');
  9385. Node134.a('node.textvisible',true);
  9386. Node134.a('node.linefeed',false);
  9387. if (false) {
  9388. Node134.a('node.textfunc',function(g) {
  9389. g.beginPath();
  9390. var str=Node134.a('node.text') || '-';
  9391. var color=Node134.a('node.color') || 'rgba(0,0,0,1)';
  9392. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node134fontSize + 'px "UniDreamLED"', 0,g);
  9393. });
  9394. }
  9395. if (false) {
  9396. Node134.a('node.underlinepoints',[Node134lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node134fontSize + 'px "UniDreamLED"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
  9397. Node134.a('node.underlinevisible',false);
  9398. Node134.a('node.underlineBorderWidth', 1);
  9399. }
  9400. dataModel.add(Node134);
  9401. zoomNodeList.push({
  9402. node: Node134,
  9403. borderWidth: 0,
  9404. attr: 'node.borderwidth'
  9405. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9406. var Node135 = new ht.Node();
  9407. var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'left', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 39*_ratio.ratioX, Node135height = 16*_ratio.ratioY;
  9408. (function () {
  9409. if (Node135align === 'left') {
  9410. Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
  9411. Node135textWidth = Node135width;
  9412. Node135lineStart = 1;
  9413. } else if (Node135align === 'right') {
  9414. Node135textStart = 0;
  9415. Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
  9416. Node135lineStart = (Node135width - (ht.Default.getTextSize('万kW', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
  9417. } else if (Node135align === 'center') {
  9418. Node135textStart = -3;
  9419. Node135textWidth = Node135width;
  9420. Node135lineStart = Node135width - ht.Default.getTextSize('万kW', ' '+ Node135fontSize + 'px "Arial"').width - 11;
  9421. }
  9422. })();
  9423. Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
  9424. Node135.setPosition(1844*ratio.ratioX, 74*ratio.ratioY);
  9425. Node135.setWidth(Node135width);
  9426. Node135.setHeight(Node135height);
  9427. Node135._nodeType = 'text';
  9428. Node135._disallowEvert = true;
  9429. Node135.setRotation(0*Math.PI/180);
  9430. Node135.a('node.width', Node135width);
  9431. Node135.a('node.height', Node135height);
  9432. Node135.a('node.rect', [0, 0, Node135width, Node135height]);
  9433. Node135.a('node.bordercolor','rgba(169,169,169,1)');
  9434. Node135.a('node.borderwidth', 0);
  9435. Node135.a('node.background','' || 'rgba(0,0,0,0)');
  9436. Node135.a('node.gradient','');
  9437. Node135.a('node.gradientcolor','');
  9438. Node135.a('node.text','万kW');
  9439. Node135.a('node.textalign','left');
  9440. Node135.a('node.textvAlign','middle');
  9441. Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
  9442. Node135.a('node.color','rgba(169,169,169,1)');
  9443. Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
  9444. Node135.a('node.textvisible',true);
  9445. Node135.a('node.linefeed',false);
  9446. if (false) {
  9447. Node135.a('node.textfunc',function(g) {
  9448. g.beginPath();
  9449. var str=Node135.a('node.text') || '万kW';
  9450. var color=Node135.a('node.color') || 'rgba(169,169,169,1)';
  9451. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
  9452. });
  9453. }
  9454. if (false) {
  9455. Node135.a('node.underlinepoints',[Node135lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
  9456. Node135.a('node.underlinevisible',false);
  9457. Node135.a('node.underlineBorderWidth', 1);
  9458. }
  9459. dataModel.add(Node135);
  9460. zoomNodeList.push({
  9461. node: Node135,
  9462. borderWidth: 0,
  9463. attr: 'node.borderwidth'
  9464. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9465. var Node136 = new ht.Node();
  9466. var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'left', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 39*_ratio.ratioX, Node136height = 16*_ratio.ratioY;
  9467. (function () {
  9468. if (Node136align === 'left') {
  9469. Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
  9470. Node136textWidth = Node136width;
  9471. Node136lineStart = 1;
  9472. } else if (Node136align === 'right') {
  9473. Node136textStart = 0;
  9474. Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
  9475. Node136lineStart = (Node136width - (ht.Default.getTextSize('万kW', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
  9476. } else if (Node136align === 'center') {
  9477. Node136textStart = -3;
  9478. Node136textWidth = Node136width;
  9479. Node136lineStart = Node136width - ht.Default.getTextSize('万kW', ' '+ Node136fontSize + 'px "Arial"').width - 11;
  9480. }
  9481. })();
  9482. Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
  9483. Node136.setPosition(1844*ratio.ratioX, 99*ratio.ratioY);
  9484. Node136.setWidth(Node136width);
  9485. Node136.setHeight(Node136height);
  9486. Node136._nodeType = 'text';
  9487. Node136._disallowEvert = true;
  9488. Node136.setRotation(0*Math.PI/180);
  9489. Node136.a('node.width', Node136width);
  9490. Node136.a('node.height', Node136height);
  9491. Node136.a('node.rect', [0, 0, Node136width, Node136height]);
  9492. Node136.a('node.bordercolor','rgba(169,169,169,1)');
  9493. Node136.a('node.borderwidth', 0);
  9494. Node136.a('node.background','' || 'rgba(0,0,0,0)');
  9495. Node136.a('node.gradient','');
  9496. Node136.a('node.gradientcolor','');
  9497. Node136.a('node.text','万kW');
  9498. Node136.a('node.textalign','left');
  9499. Node136.a('node.textvAlign','middle');
  9500. Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
  9501. Node136.a('node.color','rgba(169,169,169,1)');
  9502. Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
  9503. Node136.a('node.textvisible',true);
  9504. Node136.a('node.linefeed',false);
  9505. if (false) {
  9506. Node136.a('node.textfunc',function(g) {
  9507. g.beginPath();
  9508. var str=Node136.a('node.text') || '万kW';
  9509. var color=Node136.a('node.color') || 'rgba(169,169,169,1)';
  9510. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
  9511. });
  9512. }
  9513. if (false) {
  9514. Node136.a('node.underlinepoints',[Node136lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
  9515. Node136.a('node.underlinevisible',false);
  9516. Node136.a('node.underlineBorderWidth', 1);
  9517. }
  9518. dataModel.add(Node136);
  9519. zoomNodeList.push({
  9520. node: Node136,
  9521. borderWidth: 0,
  9522. attr: 'node.borderwidth'
  9523. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9524. var Node137 = new ht.Node();
  9525. var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 39*_ratio.ratioX, Node137height = 16*_ratio.ratioY;
  9526. (function () {
  9527. if (Node137align === 'left') {
  9528. Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
  9529. Node137textWidth = Node137width;
  9530. Node137lineStart = 1;
  9531. } else if (Node137align === 'right') {
  9532. Node137textStart = 0;
  9533. Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
  9534. Node137lineStart = (Node137width - (ht.Default.getTextSize('万kW', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
  9535. } else if (Node137align === 'center') {
  9536. Node137textStart = -3;
  9537. Node137textWidth = Node137width;
  9538. Node137lineStart = Node137width - ht.Default.getTextSize('万kW', ' '+ Node137fontSize + 'px "Arial"').width - 11;
  9539. }
  9540. })();
  9541. Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
  9542. Node137.setPosition(1844*ratio.ratioX, 126*ratio.ratioY);
  9543. Node137.setWidth(Node137width);
  9544. Node137.setHeight(Node137height);
  9545. Node137._nodeType = 'text';
  9546. Node137._disallowEvert = true;
  9547. Node137.setRotation(0*Math.PI/180);
  9548. Node137.a('node.width', Node137width);
  9549. Node137.a('node.height', Node137height);
  9550. Node137.a('node.rect', [0, 0, Node137width, Node137height]);
  9551. Node137.a('node.bordercolor','rgba(169,169,169,1)');
  9552. Node137.a('node.borderwidth', 0);
  9553. Node137.a('node.background','' || 'rgba(0,0,0,0)');
  9554. Node137.a('node.gradient','');
  9555. Node137.a('node.gradientcolor','');
  9556. Node137.a('node.text','万kW');
  9557. Node137.a('node.textalign','left');
  9558. Node137.a('node.textvAlign','middle');
  9559. Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
  9560. Node137.a('node.color','rgba(169,169,169,1)');
  9561. Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
  9562. Node137.a('node.textvisible',true);
  9563. Node137.a('node.linefeed',false);
  9564. if (false) {
  9565. Node137.a('node.textfunc',function(g) {
  9566. g.beginPath();
  9567. var str=Node137.a('node.text') || '万kW';
  9568. var color=Node137.a('node.color') || 'rgba(169,169,169,1)';
  9569. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
  9570. });
  9571. }
  9572. if (false) {
  9573. Node137.a('node.underlinepoints',[Node137lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
  9574. Node137.a('node.underlinevisible',false);
  9575. Node137.a('node.underlineBorderWidth', 1);
  9576. }
  9577. dataModel.add(Node137);
  9578. zoomNodeList.push({
  9579. node: Node137,
  9580. borderWidth: 0,
  9581. attr: 'node.borderwidth'
  9582. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  9583. var Node138 = new ht.Node();
  9584. var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 39*_ratio.ratioX, Node138height = 16*_ratio.ratioY;
  9585. (function () {
  9586. if (Node138align === 'left') {
  9587. Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
  9588. Node138textWidth = Node138width;
  9589. Node138lineStart = 1;
  9590. } else if (Node138align === 'right') {
  9591. Node138textStart = 0;
  9592. Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
  9593. Node138lineStart = (Node138width - (ht.Default.getTextSize('万kW', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
  9594. } else if (Node138align === 'center') {
  9595. Node138textStart = -3;
  9596. Node138textWidth = Node138width;
  9597. Node138lineStart = Node138width - ht.Default.getTextSize('万kW', ' '+ Node138fontSize + 'px "Arial"').width - 11;
  9598. }
  9599. })();
  9600. Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
  9601. Node138.setPosition(1843*ratio.ratioX, 148*ratio.ratioY);
  9602. Node138.setWidth(Node138width);
  9603. Node138.setHeight(Node138height);
  9604. Node138._nodeType = 'text';
  9605. Node138._disallowEvert = true;
  9606. Node138.setRotation(0*Math.PI/180);
  9607. Node138.a('node.width', Node138width);
  9608. Node138.a('node.height', Node138height);
  9609. Node138.a('node.rect', [0, 0, Node138width, Node138height]);
  9610. Node138.a('node.bordercolor','rgba(169,169,169,1)');
  9611. Node138.a('node.borderwidth', 0);
  9612. Node138.a('node.background','' || 'rgba(0,0,0,0)');
  9613. Node138.a('node.gradient','');
  9614. Node138.a('node.gradientcolor','');
  9615. Node138.a('node.text','万kW');
  9616. Node138.a('node.textalign','left');
  9617. Node138.a('node.textvAlign','middle');
  9618. Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
  9619. Node138.a('node.color','rgba(169,169,169,1)');
  9620. Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
  9621. Node138.a('node.textvisible',true);
  9622. Node138.a('node.linefeed',false);
  9623. if (false) {
  9624. Node138.a('node.textfunc',function(g) {
  9625. g.beginPath();
  9626. var str=Node138.a('node.text') || '万kW';
  9627. var color=Node138.a('node.color') || 'rgba(169,169,169,1)';
  9628. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
  9629. });
  9630. }
  9631. if (false) {
  9632. Node138.a('node.underlinepoints',[Node138lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
  9633. Node138.a('node.underlinevisible',false);
  9634. Node138.a('node.underlineBorderWidth', 1);
  9635. }
  9636. dataModel.add(Node138);
  9637. zoomNodeList.push({
  9638. node: Node138,
  9639. borderWidth: 0,
  9640. attr: 'node.borderwidth'
  9641. }); var Node139points=[1627, 62,1904, 62],
  9642. Node139rect=ht.Default.unionPoint([{x:1627,y:62},{x:1904,y:62}]),
  9643. Node139compspts=[];
  9644. _ratio = GD.getRatioWithRotation(0, ratio);
  9645. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  9646. _endratio = GD.getRatioWithRotation(0, ratio);
  9647. for(var i=0;i<Node139points.length;i++){
  9648. if(i%2==0){
  9649. Node139compspts.push(Node139points[i]-Node139rect.x);
  9650. }else{
  9651. Node139compspts.push(Node139points[i]-Node139rect.y);
  9652. }
  9653. }
  9654. var Node139ptslength=Node139compspts.length;
  9655. if (Node139rect.height === 0) {
  9656. Node139compspts[0] -= 0;
  9657. Node139compspts[Node139ptslength-2] += 0;
  9658. } else if (Node139rect.width === 0){
  9659. Node139compspts[1] -= 0;
  9660. Node139compspts[Node139ptslength-1] += 0;
  9661. } else {
  9662. Node139compspts[0] -= 0;
  9663. Node139compspts[1] -= 0;
  9664. Node139compspts[Node139ptslength-2] += 0;
  9665. Node139compspts[Node139ptslength-1] += 0;
  9666. }
  9667. Node139 = new ht.Node();
  9668. Node139.borderWidth = 1;
  9669. Node139rect.width = Node139rect.width === 0 ? 0.0001 : Node139rect.width;
  9670. Node139rect.height = Node139rect.height === 0 ? 0.0001 : Node139rect.height;
  9671. var Node139endCompspts = [Node139compspts[Node139ptslength-2],Node139compspts[Node139ptslength-1],0,0];
  9672. var Node139startCompspts = [Node139compspts[0],Node139compspts[1],0,0];
  9673. Node139.setImage(GD.getPolyLineJSON());
  9674. Node139.setPosition(Node139rect.x+Node139rect.width/2,Node139rect.y+Node139rect.height/2);
  9675. Node139.setSize(Node139rect.width,Node139rect.height);
  9676. Node139.setStyle("opacity",1);
  9677. Node139.s({'pixelPerfect':true});
  9678. Node139borderwidth=1;
  9679. Node139.setRotation(0);
  9680. dataModel.add(Node139);
  9681. Node139.a('node.points',Node139compspts);
  9682. Node139.a('node.segments',[1,2]);
  9683. Node139.a('node.color','rgba(220,220,220,1)');
  9684. Node139.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9685. Node139.a('node.borderColor','rgba(220,220,220,1)');
  9686. Node139.a('node.background','rgba(220,220,220,1)');
  9687. Node139.a('node.gradient','');
  9688. Node139.a('node.gradientcolor','rgba(220,220,220,1)');
  9689. Node139.a('node.endCompspts',Node139endCompspts);
  9690. Node139.a('node.startCompspts',Node139startCompspts);
  9691. (function (node, img, compspts, endCompspts, startCompspts) {
  9692. var position = node.getPosition(),
  9693. w = node.getWidth()*_ratio.ratioX,
  9694. h = node.getHeight()*_ratio.ratioY;
  9695. function resetPoints(rx, ry) {
  9696. for (var i = 0, len = compspts.length; i < len; i++) {
  9697. if (i%2 === 0) {
  9698. compspts[i]*=rx;
  9699. } else {
  9700. compspts[i]*=ry;
  9701. }
  9702. }
  9703. endCompspts[0] = compspts[compspts.length-2];
  9704. endCompspts[1] = compspts[compspts.length-1];
  9705. endCompspts[2] *= rx;
  9706. endCompspts[3] *= ry;
  9707. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9708. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9709. startCompspts[0] = compspts[0];
  9710. startCompspts[1] = compspts[1];
  9711. startCompspts[2] *= rx;
  9712. startCompspts[3] *= ry;
  9713. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9714. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9715. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9716. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9717. }
  9718. node.setSize(w, h);
  9719. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9720. node.a('node.width', w);
  9721. node.a('node.height', h);
  9722. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9723. node.borderWidth = 1;
  9724. node.a('node.borderwidth',node.borderWidth);
  9725. node._nodename = 'Node139';
  9726. node._nodeType = 'line';
  9727. zoomNodeList.push({
  9728. node: node,
  9729. attr: 'node.borderwidth'
  9730. });
  9731. var setWidth = node.setWidth,
  9732. setHeight = node.setHeight,
  9733. timer, rx = 1, ry = 1;
  9734. node.setWidth = function (width) {
  9735. var _width = this.getWidth();
  9736. rx = width / _width;
  9737. node.a('node.width', width);
  9738. setWidth.apply(this, arguments);
  9739. resetPoints(rx, 1);
  9740. }
  9741. node.setHeight = function (height) {
  9742. var _height = this.getHeight();
  9743. ry = height / _height;
  9744. node.a('node.height', height);
  9745. setHeight.apply(this, arguments);
  9746. resetPoints(1, ry);
  9747. }
  9748. })(Node139, Node139.getImage(), Node139compspts, Node139endCompspts, Node139startCompspts);
  9749. var Node140points=[1625, 88,1902, 88],
  9750. Node140rect=ht.Default.unionPoint([{x:1625,y:88},{x:1902,y:88}]),
  9751. Node140compspts=[];
  9752. _ratio = GD.getRatioWithRotation(0, ratio);
  9753. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  9754. _endratio = GD.getRatioWithRotation(0, ratio);
  9755. for(var i=0;i<Node140points.length;i++){
  9756. if(i%2==0){
  9757. Node140compspts.push(Node140points[i]-Node140rect.x);
  9758. }else{
  9759. Node140compspts.push(Node140points[i]-Node140rect.y);
  9760. }
  9761. }
  9762. var Node140ptslength=Node140compspts.length;
  9763. if (Node140rect.height === 0) {
  9764. Node140compspts[0] -= 0;
  9765. Node140compspts[Node140ptslength-2] += 0;
  9766. } else if (Node140rect.width === 0){
  9767. Node140compspts[1] -= 0;
  9768. Node140compspts[Node140ptslength-1] += 0;
  9769. } else {
  9770. Node140compspts[0] -= 0;
  9771. Node140compspts[1] -= 0;
  9772. Node140compspts[Node140ptslength-2] += 0;
  9773. Node140compspts[Node140ptslength-1] += 0;
  9774. }
  9775. Node140 = new ht.Node();
  9776. Node140.borderWidth = 1;
  9777. Node140rect.width = Node140rect.width === 0 ? 0.0001 : Node140rect.width;
  9778. Node140rect.height = Node140rect.height === 0 ? 0.0001 : Node140rect.height;
  9779. var Node140endCompspts = [Node140compspts[Node140ptslength-2],Node140compspts[Node140ptslength-1],0,0];
  9780. var Node140startCompspts = [Node140compspts[0],Node140compspts[1],0,0];
  9781. Node140.setImage(GD.getPolyLineJSON());
  9782. Node140.setPosition(Node140rect.x+Node140rect.width/2,Node140rect.y+Node140rect.height/2);
  9783. Node140.setSize(Node140rect.width,Node140rect.height);
  9784. Node140.setStyle("opacity",1);
  9785. Node140.s({'pixelPerfect':true});
  9786. Node140borderwidth=1;
  9787. Node140.setRotation(0);
  9788. dataModel.add(Node140);
  9789. Node140.a('node.points',Node140compspts);
  9790. Node140.a('node.segments',[1,2]);
  9791. Node140.a('node.color','rgba(220,220,220,1)');
  9792. Node140.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9793. Node140.a('node.borderColor','rgba(220,220,220,1)');
  9794. Node140.a('node.background','rgba(220,220,220,1)');
  9795. Node140.a('node.gradient','');
  9796. Node140.a('node.gradientcolor','rgba(220,220,220,1)');
  9797. Node140.a('node.endCompspts',Node140endCompspts);
  9798. Node140.a('node.startCompspts',Node140startCompspts);
  9799. (function (node, img, compspts, endCompspts, startCompspts) {
  9800. var position = node.getPosition(),
  9801. w = node.getWidth()*_ratio.ratioX,
  9802. h = node.getHeight()*_ratio.ratioY;
  9803. function resetPoints(rx, ry) {
  9804. for (var i = 0, len = compspts.length; i < len; i++) {
  9805. if (i%2 === 0) {
  9806. compspts[i]*=rx;
  9807. } else {
  9808. compspts[i]*=ry;
  9809. }
  9810. }
  9811. endCompspts[0] = compspts[compspts.length-2];
  9812. endCompspts[1] = compspts[compspts.length-1];
  9813. endCompspts[2] *= rx;
  9814. endCompspts[3] *= ry;
  9815. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9816. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9817. startCompspts[0] = compspts[0];
  9818. startCompspts[1] = compspts[1];
  9819. startCompspts[2] *= rx;
  9820. startCompspts[3] *= ry;
  9821. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9822. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9823. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9824. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9825. }
  9826. node.setSize(w, h);
  9827. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9828. node.a('node.width', w);
  9829. node.a('node.height', h);
  9830. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9831. node.borderWidth = 1;
  9832. node.a('node.borderwidth',node.borderWidth);
  9833. node._nodename = 'Node140';
  9834. node._nodeType = 'line';
  9835. zoomNodeList.push({
  9836. node: node,
  9837. attr: 'node.borderwidth'
  9838. });
  9839. var setWidth = node.setWidth,
  9840. setHeight = node.setHeight,
  9841. timer, rx = 1, ry = 1;
  9842. node.setWidth = function (width) {
  9843. var _width = this.getWidth();
  9844. rx = width / _width;
  9845. node.a('node.width', width);
  9846. setWidth.apply(this, arguments);
  9847. resetPoints(rx, 1);
  9848. }
  9849. node.setHeight = function (height) {
  9850. var _height = this.getHeight();
  9851. ry = height / _height;
  9852. node.a('node.height', height);
  9853. setHeight.apply(this, arguments);
  9854. resetPoints(1, ry);
  9855. }
  9856. })(Node140, Node140.getImage(), Node140compspts, Node140endCompspts, Node140startCompspts);
  9857. var Node141points=[1627, 112,1904, 112],
  9858. Node141rect=ht.Default.unionPoint([{x:1627,y:112},{x:1904,y:112}]),
  9859. Node141compspts=[];
  9860. _ratio = GD.getRatioWithRotation(0, ratio);
  9861. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  9862. _endratio = GD.getRatioWithRotation(0, ratio);
  9863. for(var i=0;i<Node141points.length;i++){
  9864. if(i%2==0){
  9865. Node141compspts.push(Node141points[i]-Node141rect.x);
  9866. }else{
  9867. Node141compspts.push(Node141points[i]-Node141rect.y);
  9868. }
  9869. }
  9870. var Node141ptslength=Node141compspts.length;
  9871. if (Node141rect.height === 0) {
  9872. Node141compspts[0] -= 0;
  9873. Node141compspts[Node141ptslength-2] += 0;
  9874. } else if (Node141rect.width === 0){
  9875. Node141compspts[1] -= 0;
  9876. Node141compspts[Node141ptslength-1] += 0;
  9877. } else {
  9878. Node141compspts[0] -= 0;
  9879. Node141compspts[1] -= 0;
  9880. Node141compspts[Node141ptslength-2] += 0;
  9881. Node141compspts[Node141ptslength-1] += 0;
  9882. }
  9883. Node141 = new ht.Node();
  9884. Node141.borderWidth = 1;
  9885. Node141rect.width = Node141rect.width === 0 ? 0.0001 : Node141rect.width;
  9886. Node141rect.height = Node141rect.height === 0 ? 0.0001 : Node141rect.height;
  9887. var Node141endCompspts = [Node141compspts[Node141ptslength-2],Node141compspts[Node141ptslength-1],0,0];
  9888. var Node141startCompspts = [Node141compspts[0],Node141compspts[1],0,0];
  9889. Node141.setImage(GD.getPolyLineJSON());
  9890. Node141.setPosition(Node141rect.x+Node141rect.width/2,Node141rect.y+Node141rect.height/2);
  9891. Node141.setSize(Node141rect.width,Node141rect.height);
  9892. Node141.setStyle("opacity",1);
  9893. Node141.s({'pixelPerfect':true});
  9894. Node141borderwidth=1;
  9895. Node141.setRotation(0);
  9896. dataModel.add(Node141);
  9897. Node141.a('node.points',Node141compspts);
  9898. Node141.a('node.segments',[1,2]);
  9899. Node141.a('node.color','rgba(220,220,220,1)');
  9900. Node141.a('node.borderPattern',getDashStyle("@borderPattern@"));
  9901. Node141.a('node.borderColor','rgba(220,220,220,1)');
  9902. Node141.a('node.background','rgba(220,220,220,1)');
  9903. Node141.a('node.gradient','');
  9904. Node141.a('node.gradientcolor','rgba(220,220,220,1)');
  9905. Node141.a('node.endCompspts',Node141endCompspts);
  9906. Node141.a('node.startCompspts',Node141startCompspts);
  9907. (function (node, img, compspts, endCompspts, startCompspts) {
  9908. var position = node.getPosition(),
  9909. w = node.getWidth()*_ratio.ratioX,
  9910. h = node.getHeight()*_ratio.ratioY;
  9911. function resetPoints(rx, ry) {
  9912. for (var i = 0, len = compspts.length; i < len; i++) {
  9913. if (i%2 === 0) {
  9914. compspts[i]*=rx;
  9915. } else {
  9916. compspts[i]*=ry;
  9917. }
  9918. }
  9919. endCompspts[0] = compspts[compspts.length-2];
  9920. endCompspts[1] = compspts[compspts.length-1];
  9921. endCompspts[2] *= rx;
  9922. endCompspts[3] *= ry;
  9923. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  9924. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  9925. startCompspts[0] = compspts[0];
  9926. startCompspts[1] = compspts[1];
  9927. startCompspts[2] *= rx;
  9928. startCompspts[3] *= ry;
  9929. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  9930. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  9931. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  9932. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  9933. }
  9934. node.setSize(w, h);
  9935. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  9936. node.a('node.width', w);
  9937. node.a('node.height', h);
  9938. resetPoints(_ratio.ratioX, _ratio.ratioY);
  9939. node.borderWidth = 1;
  9940. node.a('node.borderwidth',node.borderWidth);
  9941. node._nodename = 'Node141';
  9942. node._nodeType = 'line';
  9943. zoomNodeList.push({
  9944. node: node,
  9945. attr: 'node.borderwidth'
  9946. });
  9947. var setWidth = node.setWidth,
  9948. setHeight = node.setHeight,
  9949. timer, rx = 1, ry = 1;
  9950. node.setWidth = function (width) {
  9951. var _width = this.getWidth();
  9952. rx = width / _width;
  9953. node.a('node.width', width);
  9954. setWidth.apply(this, arguments);
  9955. resetPoints(rx, 1);
  9956. }
  9957. node.setHeight = function (height) {
  9958. var _height = this.getHeight();
  9959. ry = height / _height;
  9960. node.a('node.height', height);
  9961. setHeight.apply(this, arguments);
  9962. resetPoints(1, ry);
  9963. }
  9964. })(Node141, Node141.getImage(), Node141compspts, Node141endCompspts, Node141startCompspts);
  9965. var Node142points=[1626, 135,1903, 135],
  9966. Node142rect=ht.Default.unionPoint([{x:1626,y:135},{x:1903,y:135}]),
  9967. Node142compspts=[];
  9968. _ratio = GD.getRatioWithRotation(0, ratio);
  9969. var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
  9970. _endratio = GD.getRatioWithRotation(0, ratio);
  9971. for(var i=0;i<Node142points.length;i++){
  9972. if(i%2==0){
  9973. Node142compspts.push(Node142points[i]-Node142rect.x);
  9974. }else{
  9975. Node142compspts.push(Node142points[i]-Node142rect.y);
  9976. }
  9977. }
  9978. var Node142ptslength=Node142compspts.length;
  9979. if (Node142rect.height === 0) {
  9980. Node142compspts[0] -= 0;
  9981. Node142compspts[Node142ptslength-2] += 0;
  9982. } else if (Node142rect.width === 0){
  9983. Node142compspts[1] -= 0;
  9984. Node142compspts[Node142ptslength-1] += 0;
  9985. } else {
  9986. Node142compspts[0] -= 0;
  9987. Node142compspts[1] -= 0;
  9988. Node142compspts[Node142ptslength-2] += 0;
  9989. Node142compspts[Node142ptslength-1] += 0;
  9990. }
  9991. Node142 = new ht.Node();
  9992. Node142.borderWidth = 1;
  9993. Node142rect.width = Node142rect.width === 0 ? 0.0001 : Node142rect.width;
  9994. Node142rect.height = Node142rect.height === 0 ? 0.0001 : Node142rect.height;
  9995. var Node142endCompspts = [Node142compspts[Node142ptslength-2],Node142compspts[Node142ptslength-1],0,0];
  9996. var Node142startCompspts = [Node142compspts[0],Node142compspts[1],0,0];
  9997. Node142.setImage(GD.getPolyLineJSON());
  9998. Node142.setPosition(Node142rect.x+Node142rect.width/2,Node142rect.y+Node142rect.height/2);
  9999. Node142.setSize(Node142rect.width,Node142rect.height);
  10000. Node142.setStyle("opacity",1);
  10001. Node142.s({'pixelPerfect':true});
  10002. Node142borderwidth=1;
  10003. Node142.setRotation(0);
  10004. dataModel.add(Node142);
  10005. Node142.a('node.points',Node142compspts);
  10006. Node142.a('node.segments',[1,2]);
  10007. Node142.a('node.color','rgba(220,220,220,1)');
  10008. Node142.a('node.borderPattern',getDashStyle("@borderPattern@"));
  10009. Node142.a('node.borderColor','rgba(220,220,220,1)');
  10010. Node142.a('node.background','rgba(220,220,220,1)');
  10011. Node142.a('node.gradient','');
  10012. Node142.a('node.gradientcolor','rgba(220,220,220,1)');
  10013. Node142.a('node.endCompspts',Node142endCompspts);
  10014. Node142.a('node.startCompspts',Node142startCompspts);
  10015. (function (node, img, compspts, endCompspts, startCompspts) {
  10016. var position = node.getPosition(),
  10017. w = node.getWidth()*_ratio.ratioX,
  10018. h = node.getHeight()*_ratio.ratioY;
  10019. function resetPoints(rx, ry) {
  10020. for (var i = 0, len = compspts.length; i < len; i++) {
  10021. if (i%2 === 0) {
  10022. compspts[i]*=rx;
  10023. } else {
  10024. compspts[i]*=ry;
  10025. }
  10026. }
  10027. endCompspts[0] = compspts[compspts.length-2];
  10028. endCompspts[1] = compspts[compspts.length-1];
  10029. endCompspts[2] *= rx;
  10030. endCompspts[3] *= ry;
  10031. node.a('node.offsetEndY', -(endCompspts[3]*0.5));
  10032. node.a('node.offsetEndX', -(endCompspts[2]*0.5));
  10033. startCompspts[0] = compspts[0];
  10034. startCompspts[1] = compspts[1];
  10035. startCompspts[2] *= rx;
  10036. startCompspts[3] *= ry;
  10037. node.a('node.offsetStartY', -(startCompspts[3]*0.5));
  10038. node.a('node.offsetStartX', -(startCompspts[2]*0.5));
  10039. node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
  10040. node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
  10041. }
  10042. node.setSize(w, h);
  10043. node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
  10044. node.a('node.width', w);
  10045. node.a('node.height', h);
  10046. resetPoints(_ratio.ratioX, _ratio.ratioY);
  10047. node.borderWidth = 1;
  10048. node.a('node.borderwidth',node.borderWidth);
  10049. node._nodename = 'Node142';
  10050. node._nodeType = 'line';
  10051. zoomNodeList.push({
  10052. node: node,
  10053. attr: 'node.borderwidth'
  10054. });
  10055. var setWidth = node.setWidth,
  10056. setHeight = node.setHeight,
  10057. timer, rx = 1, ry = 1;
  10058. node.setWidth = function (width) {
  10059. var _width = this.getWidth();
  10060. rx = width / _width;
  10061. node.a('node.width', width);
  10062. setWidth.apply(this, arguments);
  10063. resetPoints(rx, 1);
  10064. }
  10065. node.setHeight = function (height) {
  10066. var _height = this.getHeight();
  10067. ry = height / _height;
  10068. node.a('node.height', height);
  10069. setHeight.apply(this, arguments);
  10070. resetPoints(1, ry);
  10071. }
  10072. })(Node142, Node142.getImage(), Node142compspts, Node142endCompspts, Node142startCompspts);
  10073. var Node143;
  10074. (function () {
  10075. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10076. var ratioX, ratioY;
  10077. if ('Default' === 'False') {
  10078. ratioX = 1;
  10079. ratioY = 1;
  10080. } else if ('Default' === 'X') {
  10081. ratioX = ratioY = _ratio.ratioX;
  10082. } else if ('Default' === 'Y') {
  10083. ratioX = ratioY = _ratio.ratioY;
  10084. } else {
  10085. ratioX = _ratio.ratioX;
  10086. ratioY = _ratio.ratioY;
  10087. }
  10088. ht.Default.setImage('imgimage//img//map_shanxi.jpg', PAGEROOTDIR + 'image//img//map_shanxi.jpg');
  10089. Node143 = new ht.Node();
  10090. Node143.setPosition(377*ratio.ratioX, 515*ratio.ratioY);
  10091. Node143.setSize(755*ratioX, 708*ratioY);
  10092. Node143.setImage('imgimage//img//map_shanxi.jpg');
  10093. Node143.setRotation(0*Math.PI/180);
  10094. Node143._zoomBy = 'Default';
  10095. Node143._nodeType = 'image';
  10096. Node143._disallowEvert = true;
  10097. dataModel.add(Node143);
  10098. })();
  10099. var Node150_0;
  10100. (function () {
  10101. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10102. var ratioX, ratioY;
  10103. if ('Default' === 'False') {
  10104. ratioX = 1;
  10105. ratioY = 1;
  10106. } else if ('Default' === 'X') {
  10107. ratioX = ratioY = _ratio.ratioX;
  10108. } else if ('Default' === 'Y') {
  10109. ratioX = ratioY = _ratio.ratioY;
  10110. } else {
  10111. ratioX = _ratio.ratioX;
  10112. ratioY = _ratio.ratioY;
  10113. }
  10114. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  10115. Node150_0 = new ht.Node();
  10116. Node150_0.setPosition(510*ratio.ratioX, 353*ratio.ratioY);
  10117. Node150_0.setSize(117*ratioX, 26*ratioY);
  10118. Node150_0.setImage('imgimage//img//index_map_bot.png');
  10119. Node150_0.setRotation(0*Math.PI/180);
  10120. Node150_0._zoomBy = 'Default';
  10121. Node150_0._nodeType = 'image';
  10122. Node150_0._disallowEvert = true;
  10123. dataModel.add(Node150_0);
  10124. })();
  10125. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10126. var Node150_1 = new ht.Node();
  10127. var Node150_1textStart, Node150_1textWidth, Node150_1lineStart, Node150_1align = 'left', Node150_1fontSize = 13.3333*_ratio.ratioY,Node150_1width = 100*_ratio.ratioX, Node150_1height = 16*_ratio.ratioY;
  10128. (function () {
  10129. if (Node150_1align === 'left') {
  10130. Node150_1textStart = Node150_1fontSize * 0.2 > 2 ? Node150_1fontSize * 0.2 - 4 : Node150_1fontSize * 0.2 - 9;
  10131. Node150_1textWidth = Node150_1width;
  10132. Node150_1lineStart = 1;
  10133. } else if (Node150_1align === 'right') {
  10134. Node150_1textStart = 0;
  10135. Node150_1textWidth =Node150_1fontSize <= 8 ? Node150_1width + Node150_1fontSize * 0.2 + 6 : Node150_1width - Node150_1fontSize * 0.2;
  10136. Node150_1lineStart = (Node150_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node150_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10137. } else if (Node150_1align === 'center') {
  10138. Node150_1textStart = -3;
  10139. Node150_1textWidth = Node150_1width;
  10140. Node150_1lineStart = Node150_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node150_1fontSize + 'px "宋体"').width - 11;
  10141. }
  10142. })();
  10143. Node150_1.setImage(GD.getTextJSON(Node150_1width, Node150_1height, true, false, false, ' '+ Node150_1fontSize + 'px "宋体"'))
  10144. Node150_1.setPosition(508*ratio.ratioX, 353*ratio.ratioY);
  10145. Node150_1.setWidth(Node150_1width);
  10146. Node150_1.setHeight(Node150_1height);
  10147. Node150_1._nodeType = 'text';
  10148. Node150_1._disallowEvert = true;
  10149. Node150_1.setRotation(0*Math.PI/180);
  10150. Node150_1.a('node.width', Node150_1width);
  10151. Node150_1.a('node.height', Node150_1height);
  10152. Node150_1.a('node.rect', [0, 0, Node150_1width, Node150_1height]);
  10153. Node150_1.a('node.bordercolor','rgba(255,255,192,1)');
  10154. Node150_1.a('node.borderwidth', 0);
  10155. Node150_1.a('node.background','' || 'rgba(0,0,0,0)');
  10156. Node150_1.a('node.gradient','');
  10157. Node150_1.a('node.gradientcolor','');
  10158. Node150_1.a('node.text','阳高采凉山风场');
  10159. Node150_1.a('node.textalign','left');
  10160. Node150_1.a('node.textvAlign','middle');
  10161. Node150_1.a('node.textrect', [Node150_1textStart, 0, Node150_1textWidth, Node150_1height]);
  10162. Node150_1.a('node.color','rgba(255,255,192,1)');
  10163. Node150_1.a('node.font',' '+ Node150_1fontSize + 'px "宋体"');
  10164. Node150_1.a('node.textvisible',true);
  10165. Node150_1.a('node.linefeed',false);
  10166. if (false) {
  10167. Node150_1.a('node.textfunc',function(g) {
  10168. g.beginPath();
  10169. var str=Node150_1.a('node.text') || '阳高采凉山风场';
  10170. var color=Node150_1.a('node.color') || 'rgba(255,255,192,1)';
  10171. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node150_1width,Node150_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node150_1fontSize + 'px "宋体"', 0,g);
  10172. });
  10173. }
  10174. if (false) {
  10175. Node150_1.a('node.underlinepoints',[Node150_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node150_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node150_1fontSize + 'px "宋体"').width + 6, (Node150_1height - Node150_1fontSize) * 0.5*_ratio.ratioY + Node150_1fontSize + 2 ]);
  10176. Node150_1.a('node.underlinevisible',false);
  10177. Node150_1.a('node.underlineBorderWidth', 1);
  10178. }
  10179. dataModel.add(Node150_1);
  10180. zoomNodeList.push({
  10181. node: Node150_1,
  10182. borderWidth: 0,
  10183. attr: 'node.borderwidth'
  10184. }); var Node151_0;
  10185. (function () {
  10186. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10187. var ratioX, ratioY;
  10188. if ('Default' === 'False') {
  10189. ratioX = 1;
  10190. ratioY = 1;
  10191. } else if ('Default' === 'X') {
  10192. ratioX = ratioY = _ratio.ratioX;
  10193. } else if ('Default' === 'Y') {
  10194. ratioX = ratioY = _ratio.ratioY;
  10195. } else {
  10196. ratioX = _ratio.ratioX;
  10197. ratioY = _ratio.ratioY;
  10198. }
  10199. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  10200. Node151_0 = new ht.Node();
  10201. Node151_0.setPosition(413*ratio.ratioX, 443*ratio.ratioY);
  10202. Node151_0.setSize(117*ratioX, 26*ratioY);
  10203. Node151_0.setImage('imgimage//img//index_map_bot.png');
  10204. Node151_0.setRotation(0*Math.PI/180);
  10205. Node151_0._zoomBy = 'Default';
  10206. Node151_0._nodeType = 'image';
  10207. Node151_0._disallowEvert = true;
  10208. dataModel.add(Node151_0);
  10209. })();
  10210. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10211. var Node151_1 = new ht.Node();
  10212. var Node151_1textStart, Node151_1textWidth, Node151_1lineStart, Node151_1align = 'left', Node151_1fontSize = 13.3333*_ratio.ratioY,Node151_1width = 86*_ratio.ratioX, Node151_1height = 16*_ratio.ratioY;
  10213. (function () {
  10214. if (Node151_1align === 'left') {
  10215. Node151_1textStart = Node151_1fontSize * 0.2 > 2 ? Node151_1fontSize * 0.2 - 4 : Node151_1fontSize * 0.2 - 9;
  10216. Node151_1textWidth = Node151_1width;
  10217. Node151_1lineStart = 1;
  10218. } else if (Node151_1align === 'right') {
  10219. Node151_1textStart = 0;
  10220. Node151_1textWidth =Node151_1fontSize <= 8 ? Node151_1width + Node151_1fontSize * 0.2 + 6 : Node151_1width - Node151_1fontSize * 0.2;
  10221. Node151_1lineStart = (Node151_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node151_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10222. } else if (Node151_1align === 'center') {
  10223. Node151_1textStart = -3;
  10224. Node151_1textWidth = Node151_1width;
  10225. Node151_1lineStart = Node151_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node151_1fontSize + 'px "宋体"').width - 11;
  10226. }
  10227. })();
  10228. Node151_1.setImage(GD.getTextJSON(Node151_1width, Node151_1height, true, false, false, ' '+ Node151_1fontSize + 'px "宋体"'))
  10229. Node151_1.setPosition(412*ratio.ratioX, 443*ratio.ratioY);
  10230. Node151_1.setWidth(Node151_1width);
  10231. Node151_1.setHeight(Node151_1height);
  10232. Node151_1._nodeType = 'text';
  10233. Node151_1._disallowEvert = true;
  10234. Node151_1.setRotation(0*Math.PI/180);
  10235. Node151_1.a('node.width', Node151_1width);
  10236. Node151_1.a('node.height', Node151_1height);
  10237. Node151_1.a('node.rect', [0, 0, Node151_1width, Node151_1height]);
  10238. Node151_1.a('node.bordercolor','rgba(255,255,192,1)');
  10239. Node151_1.a('node.borderwidth', 0);
  10240. Node151_1.a('node.background','' || 'rgba(0,0,0,0)');
  10241. Node151_1.a('node.gradient','');
  10242. Node151_1.a('node.gradientcolor','');
  10243. Node151_1.a('node.text','浑源峰岳风场');
  10244. Node151_1.a('node.textalign','left');
  10245. Node151_1.a('node.textvAlign','middle');
  10246. Node151_1.a('node.textrect', [Node151_1textStart, 0, Node151_1textWidth, Node151_1height]);
  10247. Node151_1.a('node.color','rgba(255,255,192,1)');
  10248. Node151_1.a('node.font',' '+ Node151_1fontSize + 'px "宋体"');
  10249. Node151_1.a('node.textvisible',true);
  10250. Node151_1.a('node.linefeed',false);
  10251. if (false) {
  10252. Node151_1.a('node.textfunc',function(g) {
  10253. g.beginPath();
  10254. var str=Node151_1.a('node.text') || '浑源峰岳风场';
  10255. var color=Node151_1.a('node.color') || 'rgba(255,255,192,1)';
  10256. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151_1width,Node151_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node151_1fontSize + 'px "宋体"', 0,g);
  10257. });
  10258. }
  10259. if (false) {
  10260. Node151_1.a('node.underlinepoints',[Node151_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node151_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node151_1fontSize + 'px "宋体"').width + 6, (Node151_1height - Node151_1fontSize) * 0.5*_ratio.ratioY + Node151_1fontSize + 2 ]);
  10261. Node151_1.a('node.underlinevisible',false);
  10262. Node151_1.a('node.underlineBorderWidth', 1);
  10263. }
  10264. dataModel.add(Node151_1);
  10265. zoomNodeList.push({
  10266. node: Node151_1,
  10267. borderWidth: 0,
  10268. attr: 'node.borderwidth'
  10269. }); var Node152_0;
  10270. (function () {
  10271. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10272. var ratioX, ratioY;
  10273. if ('Default' === 'False') {
  10274. ratioX = 1;
  10275. ratioY = 1;
  10276. } else if ('Default' === 'X') {
  10277. ratioX = ratioY = _ratio.ratioX;
  10278. } else if ('Default' === 'Y') {
  10279. ratioX = ratioY = _ratio.ratioY;
  10280. } else {
  10281. ratioX = _ratio.ratioX;
  10282. ratioY = _ratio.ratioY;
  10283. }
  10284. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  10285. Node152_0 = new ht.Node();
  10286. Node152_0.setPosition(306*ratio.ratioX, 413*ratio.ratioY);
  10287. Node152_0.setSize(117*ratioX, 26*ratioY);
  10288. Node152_0.setImage('imgimage//img//index_map_bot.png');
  10289. Node152_0.setRotation(0*Math.PI/180);
  10290. Node152_0._zoomBy = 'Default';
  10291. Node152_0._nodeType = 'image';
  10292. Node152_0._disallowEvert = true;
  10293. dataModel.add(Node152_0);
  10294. })();
  10295. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10296. var Node152_1 = new ht.Node();
  10297. var Node152_1textStart, Node152_1textWidth, Node152_1lineStart, Node152_1align = 'left', Node152_1fontSize = 13.3333*_ratio.ratioY,Node152_1width = 100*_ratio.ratioX, Node152_1height = 16*_ratio.ratioY;
  10298. (function () {
  10299. if (Node152_1align === 'left') {
  10300. Node152_1textStart = Node152_1fontSize * 0.2 > 2 ? Node152_1fontSize * 0.2 - 4 : Node152_1fontSize * 0.2 - 9;
  10301. Node152_1textWidth = Node152_1width;
  10302. Node152_1lineStart = 1;
  10303. } else if (Node152_1align === 'right') {
  10304. Node152_1textStart = 0;
  10305. Node152_1textWidth =Node152_1fontSize <= 8 ? Node152_1width + Node152_1fontSize * 0.2 + 6 : Node152_1width - Node152_1fontSize * 0.2;
  10306. Node152_1lineStart = (Node152_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node152_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10307. } else if (Node152_1align === 'center') {
  10308. Node152_1textStart = -3;
  10309. Node152_1textWidth = Node152_1width;
  10310. Node152_1lineStart = Node152_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node152_1fontSize + 'px "宋体"').width - 11;
  10311. }
  10312. })();
  10313. Node152_1.setImage(GD.getTextJSON(Node152_1width, Node152_1height, true, false, false, ' '+ Node152_1fontSize + 'px "宋体"'))
  10314. Node152_1.setPosition(303*ratio.ratioX, 414*ratio.ratioY);
  10315. Node152_1.setWidth(Node152_1width);
  10316. Node152_1.setHeight(Node152_1height);
  10317. Node152_1._nodeType = 'text';
  10318. Node152_1._disallowEvert = true;
  10319. Node152_1.setRotation(0*Math.PI/180);
  10320. Node152_1.a('node.width', Node152_1width);
  10321. Node152_1.a('node.height', Node152_1height);
  10322. Node152_1.a('node.rect', [0, 0, Node152_1width, Node152_1height]);
  10323. Node152_1.a('node.bordercolor','rgba(255,255,192,1)');
  10324. Node152_1.a('node.borderwidth', 0);
  10325. Node152_1.a('node.background','' || 'rgba(0,0,0,0)');
  10326. Node152_1.a('node.gradient','');
  10327. Node152_1.a('node.gradientcolor','');
  10328. Node152_1.a('node.text','右玉高家堡风场');
  10329. Node152_1.a('node.textalign','left');
  10330. Node152_1.a('node.textvAlign','middle');
  10331. Node152_1.a('node.textrect', [Node152_1textStart, 0, Node152_1textWidth, Node152_1height]);
  10332. Node152_1.a('node.color','rgba(255,255,192,1)');
  10333. Node152_1.a('node.font',' '+ Node152_1fontSize + 'px "宋体"');
  10334. Node152_1.a('node.textvisible',true);
  10335. Node152_1.a('node.linefeed',false);
  10336. if (false) {
  10337. Node152_1.a('node.textfunc',function(g) {
  10338. g.beginPath();
  10339. var str=Node152_1.a('node.text') || '右玉高家堡风场';
  10340. var color=Node152_1.a('node.color') || 'rgba(255,255,192,1)';
  10341. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node152_1width,Node152_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node152_1fontSize + 'px "宋体"', 0,g);
  10342. });
  10343. }
  10344. if (false) {
  10345. Node152_1.a('node.underlinepoints',[Node152_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node152_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node152_1fontSize + 'px "宋体"').width + 6, (Node152_1height - Node152_1fontSize) * 0.5*_ratio.ratioY + Node152_1fontSize + 2 ]);
  10346. Node152_1.a('node.underlinevisible',false);
  10347. Node152_1.a('node.underlineBorderWidth', 1);
  10348. }
  10349. dataModel.add(Node152_1);
  10350. zoomNodeList.push({
  10351. node: Node152_1,
  10352. borderWidth: 0,
  10353. attr: 'node.borderwidth'
  10354. }); var Node153_0;
  10355. (function () {
  10356. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10357. var ratioX, ratioY;
  10358. if ('Default' === 'False') {
  10359. ratioX = 1;
  10360. ratioY = 1;
  10361. } else if ('Default' === 'X') {
  10362. ratioX = ratioY = _ratio.ratioX;
  10363. } else if ('Default' === 'Y') {
  10364. ratioX = ratioY = _ratio.ratioY;
  10365. } else {
  10366. ratioX = _ratio.ratioX;
  10367. ratioY = _ratio.ratioY;
  10368. }
  10369. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  10370. Node153_0 = new ht.Node();
  10371. Node153_0.setPosition(536*ratio.ratioX, 423*ratio.ratioY);
  10372. Node153_0.setSize(117*ratioX, 26*ratioY);
  10373. Node153_0.setImage('imgimage//img//index_map_bot.png');
  10374. Node153_0.setRotation(0*Math.PI/180);
  10375. Node153_0._zoomBy = 'Default';
  10376. Node153_0._nodeType = 'image';
  10377. Node153_0._disallowEvert = true;
  10378. dataModel.add(Node153_0);
  10379. })();
  10380. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10381. var Node153_1 = new ht.Node();
  10382. var Node153_1textStart, Node153_1textWidth, Node153_1lineStart, Node153_1align = 'left', Node153_1fontSize = 13.3333*_ratio.ratioY,Node153_1width = 86*_ratio.ratioX, Node153_1height = 16*_ratio.ratioY;
  10383. (function () {
  10384. if (Node153_1align === 'left') {
  10385. Node153_1textStart = Node153_1fontSize * 0.2 > 2 ? Node153_1fontSize * 0.2 - 4 : Node153_1fontSize * 0.2 - 9;
  10386. Node153_1textWidth = Node153_1width;
  10387. Node153_1lineStart = 1;
  10388. } else if (Node153_1align === 'right') {
  10389. Node153_1textStart = 0;
  10390. Node153_1textWidth =Node153_1fontSize <= 8 ? Node153_1width + Node153_1fontSize * 0.2 + 6 : Node153_1width - Node153_1fontSize * 0.2;
  10391. Node153_1lineStart = (Node153_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node153_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10392. } else if (Node153_1align === 'center') {
  10393. Node153_1textStart = -3;
  10394. Node153_1textWidth = Node153_1width;
  10395. Node153_1lineStart = Node153_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node153_1fontSize + 'px "宋体"').width - 11;
  10396. }
  10397. })();
  10398. Node153_1.setImage(GD.getTextJSON(Node153_1width, Node153_1height, true, false, false, ' '+ Node153_1fontSize + 'px "宋体"'))
  10399. Node153_1.setPosition(537*ratio.ratioX, 424*ratio.ratioY);
  10400. Node153_1.setWidth(Node153_1width);
  10401. Node153_1.setHeight(Node153_1height);
  10402. Node153_1._nodeType = 'text';
  10403. Node153_1._disallowEvert = true;
  10404. Node153_1.setRotation(0*Math.PI/180);
  10405. Node153_1.a('node.width', Node153_1width);
  10406. Node153_1.a('node.height', Node153_1height);
  10407. Node153_1.a('node.rect', [0, 0, Node153_1width, Node153_1height]);
  10408. Node153_1.a('node.bordercolor','rgba(255,255,192,1)');
  10409. Node153_1.a('node.borderwidth', 0);
  10410. Node153_1.a('node.background','' || 'rgba(0,0,0,0)');
  10411. Node153_1.a('node.gradient','');
  10412. Node153_1.a('node.gradientcolor','');
  10413. Node153_1.a('node.text','广灵劲风风场');
  10414. Node153_1.a('node.textalign','left');
  10415. Node153_1.a('node.textvAlign','middle');
  10416. Node153_1.a('node.textrect', [Node153_1textStart, 0, Node153_1textWidth, Node153_1height]);
  10417. Node153_1.a('node.color','rgba(255,255,192,1)');
  10418. Node153_1.a('node.font',' '+ Node153_1fontSize + 'px "宋体"');
  10419. Node153_1.a('node.textvisible',true);
  10420. Node153_1.a('node.linefeed',false);
  10421. if (false) {
  10422. Node153_1.a('node.textfunc',function(g) {
  10423. g.beginPath();
  10424. var str=Node153_1.a('node.text') || '广灵劲风风场';
  10425. var color=Node153_1.a('node.color') || 'rgba(255,255,192,1)';
  10426. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node153_1width,Node153_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node153_1fontSize + 'px "宋体"', 0,g);
  10427. });
  10428. }
  10429. if (false) {
  10430. Node153_1.a('node.underlinepoints',[Node153_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node153_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node153_1fontSize + 'px "宋体"').width + 6, (Node153_1height - Node153_1fontSize) * 0.5*_ratio.ratioY + Node153_1fontSize + 2 ]);
  10431. Node153_1.a('node.underlinevisible',false);
  10432. Node153_1.a('node.underlineBorderWidth', 1);
  10433. }
  10434. dataModel.add(Node153_1);
  10435. zoomNodeList.push({
  10436. node: Node153_1,
  10437. borderWidth: 0,
  10438. attr: 'node.borderwidth'
  10439. }); var Node154_0;
  10440. (function () {
  10441. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10442. var ratioX, ratioY;
  10443. if ('Default' === 'False') {
  10444. ratioX = 1;
  10445. ratioY = 1;
  10446. } else if ('Default' === 'X') {
  10447. ratioX = ratioY = _ratio.ratioX;
  10448. } else if ('Default' === 'Y') {
  10449. ratioX = ratioY = _ratio.ratioY;
  10450. } else {
  10451. ratioX = _ratio.ratioX;
  10452. ratioY = _ratio.ratioY;
  10453. }
  10454. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  10455. Node154_0 = new ht.Node();
  10456. Node154_0.setPosition(316*ratio.ratioX, 513*ratio.ratioY);
  10457. Node154_0.setSize(117*ratioX, 26*ratioY);
  10458. Node154_0.setImage('imgimage//img//index_map_bot.png');
  10459. Node154_0.setRotation(0*Math.PI/180);
  10460. Node154_0._zoomBy = 'Default';
  10461. Node154_0._nodeType = 'image';
  10462. Node154_0._disallowEvert = true;
  10463. dataModel.add(Node154_0);
  10464. })();
  10465. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10466. var Node154_1 = new ht.Node();
  10467. var Node154_1textStart, Node154_1textWidth, Node154_1lineStart, Node154_1align = 'left', Node154_1fontSize = 13.3333*_ratio.ratioY,Node154_1width = 100*_ratio.ratioX, Node154_1height = 16*_ratio.ratioY;
  10468. (function () {
  10469. if (Node154_1align === 'left') {
  10470. Node154_1textStart = Node154_1fontSize * 0.2 > 2 ? Node154_1fontSize * 0.2 - 4 : Node154_1fontSize * 0.2 - 9;
  10471. Node154_1textWidth = Node154_1width;
  10472. Node154_1lineStart = 1;
  10473. } else if (Node154_1align === 'right') {
  10474. Node154_1textStart = 0;
  10475. Node154_1textWidth =Node154_1fontSize <= 8 ? Node154_1width + Node154_1fontSize * 0.2 + 6 : Node154_1width - Node154_1fontSize * 0.2;
  10476. Node154_1lineStart = (Node154_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node154_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10477. } else if (Node154_1align === 'center') {
  10478. Node154_1textStart = -3;
  10479. Node154_1textWidth = Node154_1width;
  10480. Node154_1lineStart = Node154_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node154_1fontSize + 'px "宋体"').width - 11;
  10481. }
  10482. })();
  10483. Node154_1.setImage(GD.getTextJSON(Node154_1width, Node154_1height, true, false, false, ' '+ Node154_1fontSize + 'px "宋体"'))
  10484. Node154_1.setPosition(315*ratio.ratioX, 513*ratio.ratioY);
  10485. Node154_1.setWidth(Node154_1width);
  10486. Node154_1.setHeight(Node154_1height);
  10487. Node154_1._nodeType = 'text';
  10488. Node154_1._disallowEvert = true;
  10489. Node154_1.setRotation(0*Math.PI/180);
  10490. Node154_1.a('node.width', Node154_1width);
  10491. Node154_1.a('node.height', Node154_1height);
  10492. Node154_1.a('node.rect', [0, 0, Node154_1width, Node154_1height]);
  10493. Node154_1.a('node.bordercolor','rgba(255,255,192,1)');
  10494. Node154_1.a('node.borderwidth', 0);
  10495. Node154_1.a('node.background','' || 'rgba(0,0,0,0)');
  10496. Node154_1.a('node.gradient','');
  10497. Node154_1.a('node.gradientcolor','');
  10498. Node154_1.a('node.text','平鲁虎头山风场');
  10499. Node154_1.a('node.textalign','left');
  10500. Node154_1.a('node.textvAlign','middle');
  10501. Node154_1.a('node.textrect', [Node154_1textStart, 0, Node154_1textWidth, Node154_1height]);
  10502. Node154_1.a('node.color','rgba(255,255,192,1)');
  10503. Node154_1.a('node.font',' '+ Node154_1fontSize + 'px "宋体"');
  10504. Node154_1.a('node.textvisible',true);
  10505. Node154_1.a('node.linefeed',false);
  10506. if (false) {
  10507. Node154_1.a('node.textfunc',function(g) {
  10508. g.beginPath();
  10509. var str=Node154_1.a('node.text') || '平鲁虎头山风场';
  10510. var color=Node154_1.a('node.color') || 'rgba(255,255,192,1)';
  10511. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node154_1width,Node154_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node154_1fontSize + 'px "宋体"', 0,g);
  10512. });
  10513. }
  10514. if (false) {
  10515. Node154_1.a('node.underlinepoints',[Node154_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node154_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node154_1fontSize + 'px "宋体"').width + 6, (Node154_1height - Node154_1fontSize) * 0.5*_ratio.ratioY + Node154_1fontSize + 2 ]);
  10516. Node154_1.a('node.underlinevisible',false);
  10517. Node154_1.a('node.underlineBorderWidth', 1);
  10518. }
  10519. dataModel.add(Node154_1);
  10520. zoomNodeList.push({
  10521. node: Node154_1,
  10522. borderWidth: 0,
  10523. attr: 'node.borderwidth'
  10524. }); var Node155_0;
  10525. (function () {
  10526. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10527. var ratioX, ratioY;
  10528. if ('Default' === 'False') {
  10529. ratioX = 1;
  10530. ratioY = 1;
  10531. } else if ('Default' === 'X') {
  10532. ratioX = ratioY = _ratio.ratioX;
  10533. } else if ('Default' === 'Y') {
  10534. ratioX = ratioY = _ratio.ratioY;
  10535. } else {
  10536. ratioX = _ratio.ratioX;
  10537. ratioY = _ratio.ratioY;
  10538. }
  10539. ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
  10540. Node155_0 = new ht.Node();
  10541. Node155_0.setPosition(246*ratio.ratioX, 623*ratio.ratioY);
  10542. Node155_0.setSize(117*ratioX, 26*ratioY);
  10543. Node155_0.setImage('imgimage//img//index_map_bot.png');
  10544. Node155_0.setRotation(0*Math.PI/180);
  10545. Node155_0._zoomBy = 'Default';
  10546. Node155_0._nodeType = 'image';
  10547. Node155_0._disallowEvert = true;
  10548. dataModel.add(Node155_0);
  10549. })();
  10550. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10551. var Node155_1 = new ht.Node();
  10552. var Node155_1textStart, Node155_1textWidth, Node155_1lineStart, Node155_1align = 'left', Node155_1fontSize = 13.3333*_ratio.ratioY,Node155_1width = 100*_ratio.ratioX, Node155_1height = 16*_ratio.ratioY;
  10553. (function () {
  10554. if (Node155_1align === 'left') {
  10555. Node155_1textStart = Node155_1fontSize * 0.2 > 2 ? Node155_1fontSize * 0.2 - 4 : Node155_1fontSize * 0.2 - 9;
  10556. Node155_1textWidth = Node155_1width;
  10557. Node155_1lineStart = 1;
  10558. } else if (Node155_1align === 'right') {
  10559. Node155_1textStart = 0;
  10560. Node155_1textWidth =Node155_1fontSize <= 8 ? Node155_1width + Node155_1fontSize * 0.2 + 6 : Node155_1width - Node155_1fontSize * 0.2;
  10561. Node155_1lineStart = (Node155_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node155_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10562. } else if (Node155_1align === 'center') {
  10563. Node155_1textStart = -3;
  10564. Node155_1textWidth = Node155_1width;
  10565. Node155_1lineStart = Node155_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node155_1fontSize + 'px "宋体"').width - 11;
  10566. }
  10567. })();
  10568. Node155_1.setImage(GD.getTextJSON(Node155_1width, Node155_1height, true, false, false, ' '+ Node155_1fontSize + 'px "宋体"'))
  10569. Node155_1.setPosition(245*ratio.ratioX, 624*ratio.ratioY);
  10570. Node155_1.setWidth(Node155_1width);
  10571. Node155_1.setHeight(Node155_1height);
  10572. Node155_1._nodeType = 'text';
  10573. Node155_1._disallowEvert = true;
  10574. Node155_1.setRotation(0*Math.PI/180);
  10575. Node155_1.a('node.width', Node155_1width);
  10576. Node155_1.a('node.height', Node155_1height);
  10577. Node155_1.a('node.rect', [0, 0, Node155_1width, Node155_1height]);
  10578. Node155_1.a('node.bordercolor','rgba(255,255,192,1)');
  10579. Node155_1.a('node.borderwidth', 0);
  10580. Node155_1.a('node.background','' || 'rgba(0,0,0,0)');
  10581. Node155_1.a('node.gradient','');
  10582. Node155_1.a('node.gradientcolor','');
  10583. Node155_1.a('node.text','吕梁宝塔山风场');
  10584. Node155_1.a('node.textalign','left');
  10585. Node155_1.a('node.textvAlign','middle');
  10586. Node155_1.a('node.textrect', [Node155_1textStart, 0, Node155_1textWidth, Node155_1height]);
  10587. Node155_1.a('node.color','rgba(255,255,192,1)');
  10588. Node155_1.a('node.font',' '+ Node155_1fontSize + 'px "宋体"');
  10589. Node155_1.a('node.textvisible',true);
  10590. Node155_1.a('node.linefeed',false);
  10591. if (false) {
  10592. Node155_1.a('node.textfunc',function(g) {
  10593. g.beginPath();
  10594. var str=Node155_1.a('node.text') || '吕梁宝塔山风场';
  10595. var color=Node155_1.a('node.color') || 'rgba(255,255,192,1)';
  10596. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node155_1width,Node155_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node155_1fontSize + 'px "宋体"', 0,g);
  10597. });
  10598. }
  10599. if (false) {
  10600. Node155_1.a('node.underlinepoints',[Node155_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node155_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node155_1fontSize + 'px "宋体"').width + 6, (Node155_1height - Node155_1fontSize) * 0.5*_ratio.ratioY + Node155_1fontSize + 2 ]);
  10601. Node155_1.a('node.underlinevisible',false);
  10602. Node155_1.a('node.underlineBorderWidth', 1);
  10603. }
  10604. dataModel.add(Node155_1);
  10605. zoomNodeList.push({
  10606. node: Node155_1,
  10607. borderWidth: 0,
  10608. attr: 'node.borderwidth'
  10609. }); _ratio = GD.getRatioWithRotation(0, ratio);
  10610. var Node156 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 188*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10611. var Node157 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 188*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10612. var Node158 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 308*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10613. var Node159 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 308*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10614. var Node160 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 428*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10615. var Node161 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 428*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10616. var Node162 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 548*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10617. var Node163 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 548*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10618. var Node164 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 668*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10619. var Node165 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 668*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10620. var Node166 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 788*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10621. var Node167 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 788*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10622. var Node168 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 918*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
  10623. var Node169 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 918*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});var Node170_0;
  10624. (function () {
  10625. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10626. var ratioX, ratioY;
  10627. if ('Default' === 'False') {
  10628. ratioX = 1;
  10629. ratioY = 1;
  10630. } else if ('Default' === 'X') {
  10631. ratioX = ratioY = _ratio.ratioX;
  10632. } else if ('Default' === 'Y') {
  10633. ratioX = ratioY = _ratio.ratioY;
  10634. } else {
  10635. ratioX = _ratio.ratioX;
  10636. ratioY = _ratio.ratioY;
  10637. }
  10638. ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png');
  10639. Node170_0 = new ht.Node();
  10640. Node170_0.setPosition(528*ratio.ratioX, 236*ratio.ratioY);
  10641. Node170_0.setSize(117*ratioX, 26*ratioY);
  10642. Node170_0.setImage('imgimage//img//index_map_sx_bot1.png');
  10643. Node170_0.setRotation(0*Math.PI/180);
  10644. Node170_0._zoomBy = 'Default';
  10645. Node170_0._nodeType = 'image';
  10646. Node170_0._disallowEvert = true;
  10647. dataModel.add(Node170_0);
  10648. })();
  10649. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10650. var Node170_1 = new ht.Node();
  10651. var Node170_1textStart, Node170_1textWidth, Node170_1lineStart, Node170_1align = 'left', Node170_1fontSize = 13.3333*_ratio.ratioY,Node170_1width = 100*_ratio.ratioX, Node170_1height = 16*_ratio.ratioY;
  10652. (function () {
  10653. if (Node170_1align === 'left') {
  10654. Node170_1textStart = Node170_1fontSize * 0.2 > 2 ? Node170_1fontSize * 0.2 - 4 : Node170_1fontSize * 0.2 - 9;
  10655. Node170_1textWidth = Node170_1width;
  10656. Node170_1lineStart = 1;
  10657. } else if (Node170_1align === 'right') {
  10658. Node170_1textStart = 0;
  10659. Node170_1textWidth =Node170_1fontSize <= 8 ? Node170_1width + Node170_1fontSize * 0.2 + 6 : Node170_1width - Node170_1fontSize * 0.2;
  10660. Node170_1lineStart = (Node170_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node170_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10661. } else if (Node170_1align === 'center') {
  10662. Node170_1textStart = -3;
  10663. Node170_1textWidth = Node170_1width;
  10664. Node170_1lineStart = Node170_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node170_1fontSize + 'px "宋体"').width - 11;
  10665. }
  10666. })();
  10667. Node170_1.setImage(GD.getTextJSON(Node170_1width, Node170_1height, true, false, false, ' '+ Node170_1fontSize + 'px "宋体"'))
  10668. Node170_1.setPosition(524*ratio.ratioX, 237*ratio.ratioY);
  10669. Node170_1.setWidth(Node170_1width);
  10670. Node170_1.setHeight(Node170_1height);
  10671. Node170_1._nodeType = 'text';
  10672. Node170_1._disallowEvert = true;
  10673. Node170_1.setRotation(0*Math.PI/180);
  10674. Node170_1.a('node.width', Node170_1width);
  10675. Node170_1.a('node.height', Node170_1height);
  10676. Node170_1.a('node.rect', [0, 0, Node170_1width, Node170_1height]);
  10677. Node170_1.a('node.bordercolor','rgba(255,255,128,1)');
  10678. Node170_1.a('node.borderwidth', 0);
  10679. Node170_1.a('node.background','' || 'rgba(0,0,0,0)');
  10680. Node170_1.a('node.gradient','');
  10681. Node170_1.a('node.gradientcolor','');
  10682. Node170_1.a('node.text','太旗卧牛山风场');
  10683. Node170_1.a('node.textalign','left');
  10684. Node170_1.a('node.textvAlign','middle');
  10685. Node170_1.a('node.textrect', [Node170_1textStart, 0, Node170_1textWidth, Node170_1height]);
  10686. Node170_1.a('node.color','rgba(255,255,128,1)');
  10687. Node170_1.a('node.font',' '+ Node170_1fontSize + 'px "宋体"');
  10688. Node170_1.a('node.textvisible',true);
  10689. Node170_1.a('node.linefeed',false);
  10690. if (false) {
  10691. Node170_1.a('node.textfunc',function(g) {
  10692. g.beginPath();
  10693. var str=Node170_1.a('node.text') || '太旗卧牛山风场';
  10694. var color=Node170_1.a('node.color') || 'rgba(255,255,128,1)';
  10695. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170_1width,Node170_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node170_1fontSize + 'px "宋体"', 0,g);
  10696. });
  10697. }
  10698. if (false) {
  10699. Node170_1.a('node.underlinepoints',[Node170_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node170_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node170_1fontSize + 'px "宋体"').width + 6, (Node170_1height - Node170_1fontSize) * 0.5*_ratio.ratioY + Node170_1fontSize + 2 ]);
  10700. Node170_1.a('node.underlinevisible',false);
  10701. Node170_1.a('node.underlineBorderWidth', 1);
  10702. }
  10703. dataModel.add(Node170_1);
  10704. zoomNodeList.push({
  10705. node: Node170_1,
  10706. borderWidth: 0,
  10707. attr: 'node.borderwidth'
  10708. }); var Node171_0;
  10709. (function () {
  10710. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10711. var ratioX, ratioY;
  10712. if ('Default' === 'False') {
  10713. ratioX = 1;
  10714. ratioY = 1;
  10715. } else if ('Default' === 'X') {
  10716. ratioX = ratioY = _ratio.ratioX;
  10717. } else if ('Default' === 'Y') {
  10718. ratioX = ratioY = _ratio.ratioY;
  10719. } else {
  10720. ratioX = _ratio.ratioX;
  10721. ratioY = _ratio.ratioY;
  10722. }
  10723. ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png');
  10724. Node171_0 = new ht.Node();
  10725. Node171_0.setPosition(528*ratio.ratioX, 236*ratio.ratioY);
  10726. Node171_0.setSize(117*ratioX, 26*ratioY);
  10727. Node171_0.setImage('imgimage//img//index_map_sx_bot1.png');
  10728. Node171_0.setRotation(0*Math.PI/180);
  10729. Node171_0._zoomBy = 'Default';
  10730. Node171_0._nodeType = 'image';
  10731. Node171_0._disallowEvert = true;
  10732. dataModel.add(Node171_0);
  10733. })();
  10734. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10735. var Node171_1 = new ht.Node();
  10736. var Node171_1textStart, Node171_1textWidth, Node171_1lineStart, Node171_1align = 'left', Node171_1fontSize = 13.3333*_ratio.ratioY,Node171_1width = 100*_ratio.ratioX, Node171_1height = 16*_ratio.ratioY;
  10737. (function () {
  10738. if (Node171_1align === 'left') {
  10739. Node171_1textStart = Node171_1fontSize * 0.2 > 2 ? Node171_1fontSize * 0.2 - 4 : Node171_1fontSize * 0.2 - 9;
  10740. Node171_1textWidth = Node171_1width;
  10741. Node171_1lineStart = 1;
  10742. } else if (Node171_1align === 'right') {
  10743. Node171_1textStart = 0;
  10744. Node171_1textWidth =Node171_1fontSize <= 8 ? Node171_1width + Node171_1fontSize * 0.2 + 6 : Node171_1width - Node171_1fontSize * 0.2;
  10745. Node171_1lineStart = (Node171_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node171_1fontSize + 'px "宋体"').width + 6)) * 0.5;
  10746. } else if (Node171_1align === 'center') {
  10747. Node171_1textStart = -3;
  10748. Node171_1textWidth = Node171_1width;
  10749. Node171_1lineStart = Node171_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node171_1fontSize + 'px "宋体"').width - 11;
  10750. }
  10751. })();
  10752. Node171_1.setImage(GD.getTextJSON(Node171_1width, Node171_1height, true, false, false, ' '+ Node171_1fontSize + 'px "宋体"'))
  10753. Node171_1.setPosition(524*ratio.ratioX, 237*ratio.ratioY);
  10754. Node171_1.setWidth(Node171_1width);
  10755. Node171_1.setHeight(Node171_1height);
  10756. Node171_1._nodeType = 'text';
  10757. Node171_1._disallowEvert = true;
  10758. Node171_1.setRotation(0*Math.PI/180);
  10759. Node171_1.a('node.width', Node171_1width);
  10760. Node171_1.a('node.height', Node171_1height);
  10761. Node171_1.a('node.rect', [0, 0, Node171_1width, Node171_1height]);
  10762. Node171_1.a('node.bordercolor','rgba(255,255,255,1)');
  10763. Node171_1.a('node.borderwidth', 0);
  10764. Node171_1.a('node.background','' || 'rgba(0,0,0,0)');
  10765. Node171_1.a('node.gradient','');
  10766. Node171_1.a('node.gradientcolor','');
  10767. Node171_1.a('node.text','太旗卧牛山风场');
  10768. Node171_1.a('node.textalign','left');
  10769. Node171_1.a('node.textvAlign','middle');
  10770. Node171_1.a('node.textrect', [Node171_1textStart, 0, Node171_1textWidth, Node171_1height]);
  10771. Node171_1.a('node.color','rgba(255,255,255,1)');
  10772. Node171_1.a('node.font',' '+ Node171_1fontSize + 'px "宋体"');
  10773. Node171_1.a('node.textvisible',true);
  10774. Node171_1.a('node.linefeed',false);
  10775. if (false) {
  10776. Node171_1.a('node.textfunc',function(g) {
  10777. g.beginPath();
  10778. var str=Node171_1.a('node.text') || '太旗卧牛山风场';
  10779. var color=Node171_1.a('node.color') || 'rgba(255,255,255,1)';
  10780. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171_1width,Node171_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node171_1fontSize + 'px "宋体"', 0,g);
  10781. });
  10782. }
  10783. if (false) {
  10784. Node171_1.a('node.underlinepoints',[Node171_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node171_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node171_1fontSize + 'px "宋体"').width + 6, (Node171_1height - Node171_1fontSize) * 0.5*_ratio.ratioY + Node171_1fontSize + 2 ]);
  10785. Node171_1.a('node.underlinevisible',false);
  10786. Node171_1.a('node.underlineBorderWidth', 1);
  10787. }
  10788. dataModel.add(Node171_1);
  10789. zoomNodeList.push({
  10790. node: Node171_1,
  10791. borderWidth: 0,
  10792. attr: 'node.borderwidth'
  10793. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10794. var Node173 = new ht.lib['风场信息'](662*ratio.ratioX, 289*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node173');
  10795. _libModel.add("Node173", Node173);
  10796. Node173.setRotation(0*Math.PI/180);
  10797. ;
  10798. ;
  10799. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10800. var Node174 = new ht.lib['风场信息'](653*ratio.ratioX, 409*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node174');
  10801. _libModel.add("Node174", Node174);
  10802. Node174.setRotation(0*Math.PI/180);
  10803. ;
  10804. ;
  10805. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10806. var Node175 = new ht.lib['风场信息'](572*ratio.ratioX, 519*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node175');
  10807. _libModel.add("Node175", Node175);
  10808. Node175.setRotation(0*Math.PI/180);
  10809. ;
  10810. ;
  10811. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10812. var Node176 = new ht.lib['风场信息'](486*ratio.ratioX, 534*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node176');
  10813. _libModel.add("Node176", Node176);
  10814. Node176.setRotation(0*Math.PI/180);
  10815. ;
  10816. ;
  10817. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10818. var Node177 = new ht.lib['风场信息'](227*ratio.ratioX, 498*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node177');
  10819. _libModel.add("Node177", Node177);
  10820. Node177.setRotation(0*Math.PI/180);
  10821. ;
  10822. ;
  10823. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10824. var Node178 = new ht.lib['风场信息'](393*ratio.ratioX, 605*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node178');
  10825. _libModel.add("Node178", Node178);
  10826. Node178.setRotation(0*Math.PI/180);
  10827. ;
  10828. ;
  10829. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10830. var Node179 = new ht.lib['风场信息'](232*ratio.ratioX, 712*ratio.ratioY, 146*_ratio.ratioX, 141*_ratio.ratioY, 0*Math.PI/180, {fengjitaishu:'xx',zhuangjirongliang:'xx',pingjunfengsu:'xx',rifadianliang:'xx',yougonggonglv:'xx',}, function (){return {}}, 'Node179');
  10831. _libModel.add("Node179", Node179);
  10832. Node179.setRotation(0*Math.PI/180);
  10833. ;
  10834. ;
  10835. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10836. var Node180_0type = 'rect';
  10837. var Node180_0 = new ht.Node(),
  10838. Node180_0BorderWidth = 1*2;
  10839. if (Node180_0type === 'arc') {
  10840. Node180_0BorderWidth *= 1;
  10841. }
  10842. Node180_0.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node180_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10843. Node180_0.setPosition(1341*ratio.ratioX, 777*ratio.ratioY);
  10844. Node180_0.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY);
  10845. Node180_0.s({
  10846. 'pixelPerfect':true
  10847. /*@AddPara@*/
  10848. });
  10849. Node180_0.a('node.width', 1114*_ratio.ratioX);
  10850. Node180_0.a('node.height', 208*_ratio.ratioY);
  10851. Node180_0.a('node.type', Node180_0type);
  10852. Node180_0.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]);
  10853. Node180_0.a('node.background', 'rgba(255,255,255,0.003921569)');
  10854. Node180_0.a('node.gradientcolor', '');
  10855. Node180_0.a('node.gradient', '');
  10856. Node180_0.a('node.borderwidth', Node180_0BorderWidth);
  10857. Node180_0.a('node.color', 'rgba(192,192,192,1)');
  10858. Node180_0.a('node.fillrect', [0,0,0,0]);
  10859. Node180_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10860. Node180_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10861. Node180_0.a('node.fillgradient', '');
  10862. if (Node180_0type !== 'rect') {
  10863. Node180_0.a('node.arcFrom', parseFloat('@arcFrom@'));
  10864. Node180_0.a('node.arcTo', parseFloat('@arcTo@'));
  10865. Node180_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10866. }
  10867. if (Node180_0type === 'arc') {
  10868. Node180_0.a('node.arcOval', true);
  10869. }
  10870. Node180_0.setRotation(0*Math.PI/180);
  10871. Node180_0.borderWidth = Node180_0BorderWidth;
  10872. Node180_0.borderFillwidth = Node180_0BorderWidth;
  10873. dataModel.add(Node180_0);
  10874. Node180_0._nodename = 'Node180_0'
  10875. Node180_0._nodeType = 'rect';
  10876. zoomNodeList.push({
  10877. node: Node180_0,
  10878. attr: 'node.borderwidth'
  10879. });
  10880. (function (node, _img) {
  10881. var setWidth = node.setWidth,
  10882. setHeight = node.setHeight;
  10883. node.setWidth = function (width) {
  10884. if (width === this.getWidth()) return ;
  10885. var height = this.getHeight();
  10886. this.a('node.width', width);
  10887. this.a('node.rect', [0,0,width, height]);
  10888. setWidth.apply(this, arguments);
  10889. }
  10890. node.setHeight = function (height) {
  10891. if (height === this.getHeight()) return ;
  10892. var width = this.getWidth();
  10893. this.a('node.height', height);
  10894. this.a('node.rect', [0,0,width, height]);
  10895. setHeight.apply(this, arguments);
  10896. }
  10897. })(Node180_0, Node180_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10898. var Node180_1type = 'rect';
  10899. var Node180_1 = new ht.Node(),
  10900. Node180_1BorderWidth = 1*2;
  10901. if (Node180_1type === 'arc') {
  10902. Node180_1BorderWidth *= 1;
  10903. }
  10904. Node180_1.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node180_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10905. Node180_1.setPosition(1341*ratio.ratioX, 567*ratio.ratioY);
  10906. Node180_1.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY);
  10907. Node180_1.s({
  10908. 'pixelPerfect':true
  10909. /*@AddPara@*/
  10910. });
  10911. Node180_1.a('node.width', 1114*_ratio.ratioX);
  10912. Node180_1.a('node.height', 208*_ratio.ratioY);
  10913. Node180_1.a('node.type', Node180_1type);
  10914. Node180_1.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]);
  10915. Node180_1.a('node.background', 'rgba(255,255,255,0.003921569)');
  10916. Node180_1.a('node.gradientcolor', '');
  10917. Node180_1.a('node.gradient', '');
  10918. Node180_1.a('node.borderwidth', Node180_1BorderWidth);
  10919. Node180_1.a('node.color', 'rgba(192,192,192,1)');
  10920. Node180_1.a('node.fillrect', [0,0,0,0]);
  10921. Node180_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10922. Node180_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10923. Node180_1.a('node.fillgradient', '');
  10924. if (Node180_1type !== 'rect') {
  10925. Node180_1.a('node.arcFrom', parseFloat('@arcFrom@'));
  10926. Node180_1.a('node.arcTo', parseFloat('@arcTo@'));
  10927. Node180_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10928. }
  10929. if (Node180_1type === 'arc') {
  10930. Node180_1.a('node.arcOval', true);
  10931. }
  10932. Node180_1.setRotation(0*Math.PI/180);
  10933. Node180_1.borderWidth = Node180_1BorderWidth;
  10934. Node180_1.borderFillwidth = Node180_1BorderWidth;
  10935. dataModel.add(Node180_1);
  10936. Node180_1._nodename = 'Node180_1'
  10937. Node180_1._nodeType = 'rect';
  10938. zoomNodeList.push({
  10939. node: Node180_1,
  10940. attr: 'node.borderwidth'
  10941. });
  10942. (function (node, _img) {
  10943. var setWidth = node.setWidth,
  10944. setHeight = node.setHeight;
  10945. node.setWidth = function (width) {
  10946. if (width === this.getWidth()) return ;
  10947. var height = this.getHeight();
  10948. this.a('node.width', width);
  10949. this.a('node.rect', [0,0,width, height]);
  10950. setWidth.apply(this, arguments);
  10951. }
  10952. node.setHeight = function (height) {
  10953. if (height === this.getHeight()) return ;
  10954. var width = this.getWidth();
  10955. this.a('node.height', height);
  10956. this.a('node.rect', [0,0,width, height]);
  10957. setHeight.apply(this, arguments);
  10958. }
  10959. })(Node180_1, Node180_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  10960. var Node180_2type = 'rect';
  10961. var Node180_2 = new ht.Node(),
  10962. Node180_2BorderWidth = 1*2;
  10963. if (Node180_2type === 'arc') {
  10964. Node180_2BorderWidth *= 1;
  10965. }
  10966. Node180_2.setImage(GD.getRectJSON(510*_ratio.ratioX, 208*_ratio.ratioY, Node180_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  10967. Node180_2.setPosition(1636*ratio.ratioX, 357*ratio.ratioY);
  10968. Node180_2.setSize(510*_ratio.ratioX, 208*_ratio.ratioY);
  10969. Node180_2.s({
  10970. 'pixelPerfect':true
  10971. /*@AddPara@*/
  10972. });
  10973. Node180_2.a('node.width', 510*_ratio.ratioX);
  10974. Node180_2.a('node.height', 208*_ratio.ratioY);
  10975. Node180_2.a('node.type', Node180_2type);
  10976. Node180_2.a('node.rect', [0, 0, 510*_ratio.ratioX, 208*_ratio.ratioY]);
  10977. Node180_2.a('node.background', 'rgba(255,255,255,0.003921569)');
  10978. Node180_2.a('node.gradientcolor', '');
  10979. Node180_2.a('node.gradient', '');
  10980. Node180_2.a('node.borderwidth', Node180_2BorderWidth);
  10981. Node180_2.a('node.color', 'rgba(192,192,192,1)');
  10982. Node180_2.a('node.fillrect', [0,0,0,0]);
  10983. Node180_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  10984. Node180_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  10985. Node180_2.a('node.fillgradient', '');
  10986. if (Node180_2type !== 'rect') {
  10987. Node180_2.a('node.arcFrom', parseFloat('@arcFrom@'));
  10988. Node180_2.a('node.arcTo', parseFloat('@arcTo@'));
  10989. Node180_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  10990. }
  10991. if (Node180_2type === 'arc') {
  10992. Node180_2.a('node.arcOval', true);
  10993. }
  10994. Node180_2.setRotation(0*Math.PI/180);
  10995. Node180_2.borderWidth = Node180_2BorderWidth;
  10996. Node180_2.borderFillwidth = Node180_2BorderWidth;
  10997. dataModel.add(Node180_2);
  10998. Node180_2._nodename = 'Node180_2'
  10999. Node180_2._nodeType = 'rect';
  11000. zoomNodeList.push({
  11001. node: Node180_2,
  11002. attr: 'node.borderwidth'
  11003. });
  11004. (function (node, _img) {
  11005. var setWidth = node.setWidth,
  11006. setHeight = node.setHeight;
  11007. node.setWidth = function (width) {
  11008. if (width === this.getWidth()) return ;
  11009. var height = this.getHeight();
  11010. this.a('node.width', width);
  11011. this.a('node.rect', [0,0,width, height]);
  11012. setWidth.apply(this, arguments);
  11013. }
  11014. node.setHeight = function (height) {
  11015. if (height === this.getHeight()) return ;
  11016. var width = this.getWidth();
  11017. this.a('node.height', height);
  11018. this.a('node.rect', [0,0,width, height]);
  11019. setHeight.apply(this, arguments);
  11020. }
  11021. })(Node180_2, Node180_2.getImage());option = {
  11022. tooltip : {
  11023. formatter: "{a} <br/>{c} {b}"
  11024. },
  11025. toolbox: {
  11026. show:false,
  11027. feature: {
  11028. //restore: {},
  11029. saveAsImage: {}
  11030. }
  11031. },
  11032. series: [
  11033. {
  11034. radius: '100%',
  11035. name: '',
  11036. type: 'gauge',
  11037. splitNumber:2,
  11038. min: 0,
  11039. max: 1250,
  11040. startAngle:180,
  11041. endAngle:0,
  11042. axisTick:{
  11043. length:5,
  11044. lineStyle: {
  11045. color:'rgba(255,255,255,1)'
  11046. }
  11047. },
  11048. axisLabel: { // 坐标轴小标记
  11049. textStyle: { // 属性lineStyle控制线条样式
  11050. color: 'rgba(64,64,64,1)'
  11051. },
  11052. formatter: function (value, index) {
  11053. return value.toFixed(0);
  11054. }
  11055. },
  11056. axisLine: {
  11057. lineStyle: {
  11058. color: [[0.388888888888889, 'rgba(192,255,255,1)'],[1, 'rgba(192,192,192,1)']],
  11059. width: 10
  11060. }
  11061. },
  11062. splitLine:{
  11063. length:10,
  11064. lineStyle: {
  11065. color: 'rgba(255,255,255,1)'
  11066. }
  11067. },
  11068. pointer:{
  11069. length:'80%',
  11070. width:7
  11071. },
  11072. itemStyle: {
  11073. normal: {
  11074. opacity: 0
  11075. }
  11076. },
  11077. detail: {formatter:'{value}',show:false},
  11078. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  11079. }
  11080. ]
  11081. };
  11082. _ratio = GD.getRatioWithRotation(0, ratio);
  11083. var Node180_3 = new ht.HtmlNode();
  11084. Node180_3.setPosition({'x':1742*ratio.ratioX,'y':422*ratio.ratioY});
  11085. Node180_3.setWidth(270*_ratio.ratioX);
  11086. Node180_3.setHeight(140*_ratio.ratioY);
  11087. Node180_3.setScalable(false);
  11088. Node180_3.setRotation(0);
  11089. Node180_3.s({
  11090. '2d.selectable': false,
  11091. '2d.movable': false
  11092. });
  11093. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  11094. Node180_3.setHtml(chart);
  11095. var Node180_3_chart = chart._chart;
  11096. dataModel.add(Node180_3);option = {
  11097. tooltip : {
  11098. formatter: "{a} <br/>{c} {b}"
  11099. },
  11100. toolbox: {
  11101. show:false,
  11102. feature: {
  11103. //restore: {},
  11104. saveAsImage: {}
  11105. }
  11106. },
  11107. series: [
  11108. {
  11109. radius: '100%',
  11110. name: '',
  11111. type: 'gauge',
  11112. splitNumber:2,
  11113. min: 0,
  11114. max: 1250,
  11115. startAngle:180,
  11116. endAngle:0,
  11117. axisTick:{
  11118. length:5,
  11119. lineStyle: {
  11120. color:'rgba(255,255,255,1)'
  11121. }
  11122. },
  11123. axisLabel: { // 坐标轴小标记
  11124. textStyle: { // 属性lineStyle控制线条样式
  11125. color: 'rgba(64,64,64,1)'
  11126. },
  11127. formatter: function (value, index) {
  11128. return value.toFixed(0);
  11129. }
  11130. },
  11131. axisLine: {
  11132. lineStyle: {
  11133. color: [[0.511111111111111, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']],
  11134. width: 10
  11135. }
  11136. },
  11137. splitLine:{
  11138. length:10,
  11139. lineStyle: {
  11140. color: 'rgba(255,255,255,1)'
  11141. }
  11142. },
  11143. pointer:{
  11144. length:'80%',
  11145. width:7
  11146. },
  11147. itemStyle: {
  11148. normal: {
  11149. opacity: 0
  11150. }
  11151. },
  11152. detail: {formatter:'{value}',show:false},
  11153. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  11154. }
  11155. ]
  11156. };
  11157. _ratio = GD.getRatioWithRotation(0, ratio);
  11158. var Node180_4 = new ht.HtmlNode();
  11159. Node180_4.setPosition({'x':1519*ratio.ratioX,'y':424*ratio.ratioY});
  11160. Node180_4.setWidth(270*_ratio.ratioX);
  11161. Node180_4.setHeight(140*_ratio.ratioY);
  11162. Node180_4.setScalable(false);
  11163. Node180_4.setRotation(0);
  11164. Node180_4.s({
  11165. '2d.selectable': false,
  11166. '2d.movable': false
  11167. });
  11168. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  11169. Node180_4.setHtml(chart);
  11170. var Node180_4_chart = chart._chart;
  11171. dataModel.add(Node180_4);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11172. var Node180_5type = 'rect';
  11173. var Node180_5 = new ht.Node(),
  11174. Node180_5BorderWidth = 1*2;
  11175. if (Node180_5type === 'arc') {
  11176. Node180_5BorderWidth *= 1;
  11177. }
  11178. Node180_5.setImage(GD.getRectJSON(1103*_ratio.ratioX, 78*_ratio.ratioY, Node180_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11179. Node180_5.setPosition(1334*ratio.ratioX, 211*ratio.ratioY);
  11180. Node180_5.setSize(1103*_ratio.ratioX, 78*_ratio.ratioY);
  11181. Node180_5.s({
  11182. 'pixelPerfect':true
  11183. /*@AddPara@*/
  11184. });
  11185. Node180_5.a('node.width', 1103*_ratio.ratioX);
  11186. Node180_5.a('node.height', 78*_ratio.ratioY);
  11187. Node180_5.a('node.type', Node180_5type);
  11188. Node180_5.a('node.rect', [0, 0, 1103*_ratio.ratioX, 78*_ratio.ratioY]);
  11189. Node180_5.a('node.background', 'rgba(255,255,255,0.003921569)');
  11190. Node180_5.a('node.gradientcolor', '');
  11191. Node180_5.a('node.gradient', '');
  11192. Node180_5.a('node.borderwidth', Node180_5BorderWidth);
  11193. Node180_5.a('node.color', 'rgba(192,192,192,1)');
  11194. Node180_5.a('node.fillrect', [0,0,0,0]);
  11195. Node180_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11196. Node180_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11197. Node180_5.a('node.fillgradient', '');
  11198. if (Node180_5type !== 'rect') {
  11199. Node180_5.a('node.arcFrom', parseFloat('@arcFrom@'));
  11200. Node180_5.a('node.arcTo', parseFloat('@arcTo@'));
  11201. Node180_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11202. }
  11203. if (Node180_5type === 'arc') {
  11204. Node180_5.a('node.arcOval', true);
  11205. }
  11206. Node180_5.setRotation(0*Math.PI/180);
  11207. Node180_5.borderWidth = Node180_5BorderWidth;
  11208. Node180_5.borderFillwidth = Node180_5BorderWidth;
  11209. dataModel.add(Node180_5);
  11210. Node180_5._nodename = 'Node180_5'
  11211. Node180_5._nodeType = 'rect';
  11212. zoomNodeList.push({
  11213. node: Node180_5,
  11214. attr: 'node.borderwidth'
  11215. });
  11216. (function (node, _img) {
  11217. var setWidth = node.setWidth,
  11218. setHeight = node.setHeight;
  11219. node.setWidth = function (width) {
  11220. if (width === this.getWidth()) return ;
  11221. var height = this.getHeight();
  11222. this.a('node.width', width);
  11223. this.a('node.rect', [0,0,width, height]);
  11224. setWidth.apply(this, arguments);
  11225. }
  11226. node.setHeight = function (height) {
  11227. if (height === this.getHeight()) return ;
  11228. var width = this.getWidth();
  11229. this.a('node.height', height);
  11230. this.a('node.rect', [0,0,width, height]);
  11231. setHeight.apply(this, arguments);
  11232. }
  11233. })(Node180_5, Node180_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11234. var Node180_6type = 'rect';
  11235. var Node180_6 = new ht.Node(),
  11236. Node180_6BorderWidth = 1*2;
  11237. if (Node180_6type === 'arc') {
  11238. Node180_6BorderWidth *= 1;
  11239. }
  11240. Node180_6.setImage(GD.getRectJSON(570*_ratio.ratioX, 210*_ratio.ratioY, Node180_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11241. Node180_6.setPosition(1069*ratio.ratioX, 357*ratio.ratioY);
  11242. Node180_6.setSize(570*_ratio.ratioX, 210*_ratio.ratioY);
  11243. Node180_6.s({
  11244. 'pixelPerfect':true
  11245. /*@AddPara@*/
  11246. });
  11247. Node180_6.a('node.width', 570*_ratio.ratioX);
  11248. Node180_6.a('node.height', 210*_ratio.ratioY);
  11249. Node180_6.a('node.type', Node180_6type);
  11250. Node180_6.a('node.rect', [0, 0, 570*_ratio.ratioX, 210*_ratio.ratioY]);
  11251. Node180_6.a('node.background', 'rgba(255,255,255,0.003921569)');
  11252. Node180_6.a('node.gradientcolor', '');
  11253. Node180_6.a('node.gradient', '');
  11254. Node180_6.a('node.borderwidth', Node180_6BorderWidth);
  11255. Node180_6.a('node.color', 'rgba(224,224,224,1)');
  11256. Node180_6.a('node.fillrect', [0,0,0,0]);
  11257. Node180_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11258. Node180_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11259. Node180_6.a('node.fillgradient', '');
  11260. if (Node180_6type !== 'rect') {
  11261. Node180_6.a('node.arcFrom', parseFloat('@arcFrom@'));
  11262. Node180_6.a('node.arcTo', parseFloat('@arcTo@'));
  11263. Node180_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11264. }
  11265. if (Node180_6type === 'arc') {
  11266. Node180_6.a('node.arcOval', true);
  11267. }
  11268. Node180_6.setRotation(0*Math.PI/180);
  11269. Node180_6.borderWidth = Node180_6BorderWidth;
  11270. Node180_6.borderFillwidth = Node180_6BorderWidth;
  11271. dataModel.add(Node180_6);
  11272. Node180_6._nodename = 'Node180_6'
  11273. Node180_6._nodeType = 'rect';
  11274. zoomNodeList.push({
  11275. node: Node180_6,
  11276. attr: 'node.borderwidth'
  11277. });
  11278. (function (node, _img) {
  11279. var setWidth = node.setWidth,
  11280. setHeight = node.setHeight;
  11281. node.setWidth = function (width) {
  11282. if (width === this.getWidth()) return ;
  11283. var height = this.getHeight();
  11284. this.a('node.width', width);
  11285. this.a('node.rect', [0,0,width, height]);
  11286. setWidth.apply(this, arguments);
  11287. }
  11288. node.setHeight = function (height) {
  11289. if (height === this.getHeight()) return ;
  11290. var width = this.getWidth();
  11291. this.a('node.height', height);
  11292. this.a('node.rect', [0,0,width, height]);
  11293. setHeight.apply(this, arguments);
  11294. }
  11295. })(Node180_6, Node180_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11296. var Node180_7type = 'rect';
  11297. var Node180_7 = new ht.Node(),
  11298. Node180_7BorderWidth = 0*2;
  11299. if (Node180_7type === 'arc') {
  11300. Node180_7BorderWidth *= 0;
  11301. }
  11302. Node180_7.setImage(GD.getRectJSON(26*_ratio.ratioX, 78*_ratio.ratioY, Node180_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11303. Node180_7.setPosition(770*ratio.ratioX, 214*ratio.ratioY);
  11304. Node180_7.setSize(26*_ratio.ratioX, 78*_ratio.ratioY);
  11305. Node180_7.s({
  11306. 'pixelPerfect':true
  11307. /*@AddPara@*/
  11308. });
  11309. Node180_7.a('node.width', 26*_ratio.ratioX);
  11310. Node180_7.a('node.height', 78*_ratio.ratioY);
  11311. Node180_7.a('node.type', Node180_7type);
  11312. Node180_7.a('node.rect', [0, 0, 26*_ratio.ratioX, 78*_ratio.ratioY]);
  11313. Node180_7.a('node.background', 'rgba(73,73,73,1)');
  11314. Node180_7.a('node.gradientcolor', 'rgba(73,73,73,1)');
  11315. Node180_7.a('node.gradient', '');
  11316. Node180_7.a('node.borderwidth', Node180_7BorderWidth);
  11317. Node180_7.a('node.color', 'rgba(0,0,0,0)');
  11318. Node180_7.a('node.fillrect', [0,0,0,0]);
  11319. Node180_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11320. Node180_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11321. Node180_7.a('node.fillgradient', '');
  11322. if (Node180_7type !== 'rect') {
  11323. Node180_7.a('node.arcFrom', parseFloat('@arcFrom@'));
  11324. Node180_7.a('node.arcTo', parseFloat('@arcTo@'));
  11325. Node180_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11326. }
  11327. if (Node180_7type === 'arc') {
  11328. Node180_7.a('node.arcOval', true);
  11329. }
  11330. Node180_7.setRotation(0*Math.PI/180);
  11331. Node180_7.borderWidth = Node180_7BorderWidth;
  11332. Node180_7.borderFillwidth = Node180_7BorderWidth;
  11333. dataModel.add(Node180_7);
  11334. Node180_7._nodename = 'Node180_7'
  11335. Node180_7._nodeType = 'rect';
  11336. zoomNodeList.push({
  11337. node: Node180_7,
  11338. attr: 'node.borderwidth'
  11339. });
  11340. (function (node, _img) {
  11341. var setWidth = node.setWidth,
  11342. setHeight = node.setHeight;
  11343. node.setWidth = function (width) {
  11344. if (width === this.getWidth()) return ;
  11345. var height = this.getHeight();
  11346. this.a('node.width', width);
  11347. this.a('node.rect', [0,0,width, height]);
  11348. setWidth.apply(this, arguments);
  11349. }
  11350. node.setHeight = function (height) {
  11351. if (height === this.getHeight()) return ;
  11352. var width = this.getWidth();
  11353. this.a('node.height', height);
  11354. this.a('node.rect', [0,0,width, height]);
  11355. setHeight.apply(this, arguments);
  11356. }
  11357. })(Node180_7, Node180_7.getImage());var Node180_8;
  11358. (function () {
  11359. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11360. var ratioX, ratioY;
  11361. if ('Default' === 'False') {
  11362. ratioX = 1;
  11363. ratioY = 1;
  11364. } else if ('Default' === 'X') {
  11365. ratioX = ratioY = _ratio.ratioX;
  11366. } else if ('Default' === 'Y') {
  11367. ratioX = ratioY = _ratio.ratioY;
  11368. } else {
  11369. ratioX = _ratio.ratioX;
  11370. ratioY = _ratio.ratioY;
  11371. }
  11372. ht.Default.setImage('imgimage//img//index_right_top_right_left_blue.png', PAGEROOTDIR + 'image//img//index_right_top_right_left_blue.png');
  11373. Node180_8 = new ht.Node();
  11374. Node180_8.setPosition(982*ratio.ratioX, 211*ratio.ratioY);
  11375. Node180_8.setSize(52*ratioX, 78*ratioY);
  11376. Node180_8.setImage('imgimage//img//index_right_top_right_left_blue.png');
  11377. Node180_8.setRotation(0*Math.PI/180);
  11378. Node180_8._zoomBy = 'Default';
  11379. Node180_8._nodeType = 'image';
  11380. Node180_8._disallowEvert = true;
  11381. dataModel.add(Node180_8);
  11382. })();
  11383. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11384. var Node180_9 = new ht.Node();
  11385. var Node180_9textStart, Node180_9textWidth, Node180_9lineStart, Node180_9align = 'left', Node180_9fontSize = 13.3333*_ratio.ratioY,Node180_9width = 34*_ratio.ratioX, Node180_9height = 16*_ratio.ratioY;
  11386. (function () {
  11387. if (Node180_9align === 'left') {
  11388. Node180_9textStart = Node180_9fontSize * 0.2 > 2 ? Node180_9fontSize * 0.2 - 4 : Node180_9fontSize * 0.2 - 9;
  11389. Node180_9textWidth = Node180_9width;
  11390. Node180_9lineStart = 1;
  11391. } else if (Node180_9align === 'right') {
  11392. Node180_9textStart = 0;
  11393. Node180_9textWidth =Node180_9fontSize <= 8 ? Node180_9width + Node180_9fontSize * 0.2 + 6 : Node180_9width - Node180_9fontSize * 0.2;
  11394. Node180_9lineStart = (Node180_9width - (ht.Default.getTextSize('投产', ' '+ Node180_9fontSize + 'px "Arial"').width + 6)) * 0.5;
  11395. } else if (Node180_9align === 'center') {
  11396. Node180_9textStart = -3;
  11397. Node180_9textWidth = Node180_9width;
  11398. Node180_9lineStart = Node180_9width - ht.Default.getTextSize('投产', ' '+ Node180_9fontSize + 'px "Arial"').width - 11;
  11399. }
  11400. })();
  11401. Node180_9.setImage(GD.getTextJSON(Node180_9width, Node180_9height, true, false, false, ' '+ Node180_9fontSize + 'px "Arial"'))
  11402. Node180_9.setPosition(804*ratio.ratioX, 184*ratio.ratioY);
  11403. Node180_9.setWidth(Node180_9width);
  11404. Node180_9.setHeight(Node180_9height);
  11405. Node180_9._nodeType = 'text';
  11406. Node180_9._disallowEvert = true;
  11407. Node180_9.setRotation(0*Math.PI/180);
  11408. Node180_9.a('node.width', Node180_9width);
  11409. Node180_9.a('node.height', Node180_9height);
  11410. Node180_9.a('node.rect', [0, 0, Node180_9width, Node180_9height]);
  11411. Node180_9.a('node.bordercolor','rgba(0,0,0,1)');
  11412. Node180_9.a('node.borderwidth', 0);
  11413. Node180_9.a('node.background','' || 'rgba(0,0,0,0)');
  11414. Node180_9.a('node.gradient','');
  11415. Node180_9.a('node.gradientcolor','');
  11416. Node180_9.a('node.text','投产');
  11417. Node180_9.a('node.textalign','left');
  11418. Node180_9.a('node.textvAlign','middle');
  11419. Node180_9.a('node.textrect', [Node180_9textStart, 0, Node180_9textWidth, Node180_9height]);
  11420. Node180_9.a('node.color','rgba(0,0,0,1)');
  11421. Node180_9.a('node.font',' '+ Node180_9fontSize + 'px "Arial"');
  11422. Node180_9.a('node.textvisible',true);
  11423. Node180_9.a('node.linefeed',false);
  11424. if (false) {
  11425. Node180_9.a('node.textfunc',function(g) {
  11426. g.beginPath();
  11427. var str=Node180_9.a('node.text') || '投产';
  11428. var color=Node180_9.a('node.color') || 'rgba(0,0,0,1)';
  11429. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_9width,Node180_9height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_9fontSize + 'px "Arial"', 0,g);
  11430. });
  11431. }
  11432. if (false) {
  11433. Node180_9.a('node.underlinepoints',[Node180_9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_9fontSize + 2 , ht.Default.getTextSize('投产', ' '+ Node180_9fontSize + 'px "Arial"').width + 6, (Node180_9height - Node180_9fontSize) * 0.5*_ratio.ratioY + Node180_9fontSize + 2 ]);
  11434. Node180_9.a('node.underlinevisible',false);
  11435. Node180_9.a('node.underlineBorderWidth', 1);
  11436. }
  11437. dataModel.add(Node180_9);
  11438. zoomNodeList.push({
  11439. node: Node180_9,
  11440. borderWidth: 0,
  11441. attr: 'node.borderwidth'
  11442. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11443. var Node180_10 = new ht.Node();
  11444. var Node180_10textStart, Node180_10textWidth, Node180_10lineStart, Node180_10align = 'left', Node180_10fontSize = 13.3333*_ratio.ratioY,Node180_10width = 27*_ratio.ratioX, Node180_10height = 16*_ratio.ratioY;
  11445. (function () {
  11446. if (Node180_10align === 'left') {
  11447. Node180_10textStart = Node180_10fontSize * 0.2 > 2 ? Node180_10fontSize * 0.2 - 4 : Node180_10fontSize * 0.2 - 9;
  11448. Node180_10textWidth = Node180_10width;
  11449. Node180_10lineStart = 1;
  11450. } else if (Node180_10align === 'right') {
  11451. Node180_10textStart = 0;
  11452. Node180_10textWidth =Node180_10fontSize <= 8 ? Node180_10width + Node180_10fontSize * 0.2 + 6 : Node180_10width - Node180_10fontSize * 0.2;
  11453. Node180_10lineStart = (Node180_10width - (ht.Default.getTextSize('463', ' '+ Node180_10fontSize + 'px "Arial"').width + 6)) * 0.5;
  11454. } else if (Node180_10align === 'center') {
  11455. Node180_10textStart = -3;
  11456. Node180_10textWidth = Node180_10width;
  11457. Node180_10lineStart = Node180_10width - ht.Default.getTextSize('463', ' '+ Node180_10fontSize + 'px "Arial"').width - 11;
  11458. }
  11459. })();
  11460. Node180_10.setImage(GD.getTextJSON(Node180_10width, Node180_10height, true, false, false, ' '+ Node180_10fontSize + 'px "Arial"'))
  11461. Node180_10.setPosition(865*ratio.ratioX, 204*ratio.ratioY);
  11462. Node180_10.setWidth(Node180_10width);
  11463. Node180_10.setHeight(Node180_10height);
  11464. Node180_10._nodeType = 'text';
  11465. Node180_10._disallowEvert = true;
  11466. Node180_10.setRotation(0*Math.PI/180);
  11467. Node180_10.a('node.width', Node180_10width);
  11468. Node180_10.a('node.height', Node180_10height);
  11469. Node180_10.a('node.rect', [0, 0, Node180_10width, Node180_10height]);
  11470. Node180_10.a('node.bordercolor','rgba(0,0,0,1)');
  11471. Node180_10.a('node.borderwidth', 0);
  11472. Node180_10.a('node.background','' || 'rgba(0,0,0,0)');
  11473. Node180_10.a('node.gradient','');
  11474. Node180_10.a('node.gradientcolor','');
  11475. Node180_10.a('node.text','463');
  11476. Node180_10.a('node.textalign','left');
  11477. Node180_10.a('node.textvAlign','middle');
  11478. Node180_10.a('node.textrect', [Node180_10textStart, 0, Node180_10textWidth, Node180_10height]);
  11479. Node180_10.a('node.color','rgba(0,0,0,1)');
  11480. Node180_10.a('node.font',' '+ Node180_10fontSize + 'px "Arial"');
  11481. Node180_10.a('node.textvisible',true);
  11482. Node180_10.a('node.linefeed',false);
  11483. if (false) {
  11484. Node180_10.a('node.textfunc',function(g) {
  11485. g.beginPath();
  11486. var str=Node180_10.a('node.text') || '463';
  11487. var color=Node180_10.a('node.color') || 'rgba(0,0,0,1)';
  11488. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_10width,Node180_10height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_10fontSize + 'px "Arial"', 0,g);
  11489. });
  11490. }
  11491. if (false) {
  11492. Node180_10.a('node.underlinepoints',[Node180_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_10fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node180_10fontSize + 'px "Arial"').width + 6, (Node180_10height - Node180_10fontSize) * 0.5*_ratio.ratioY + Node180_10fontSize + 2 ]);
  11493. Node180_10.a('node.underlinevisible',false);
  11494. Node180_10.a('node.underlineBorderWidth', 1);
  11495. }
  11496. dataModel.add(Node180_10);
  11497. zoomNodeList.push({
  11498. node: Node180_10,
  11499. borderWidth: 0,
  11500. attr: 'node.borderwidth'
  11501. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11502. var Node180_11 = new ht.Node();
  11503. var Node180_11textStart, Node180_11textWidth, Node180_11lineStart, Node180_11align = 'left', Node180_11fontSize = 13.3333*_ratio.ratioY,Node180_11width = 19*_ratio.ratioX, Node180_11height = 16*_ratio.ratioY;
  11504. (function () {
  11505. if (Node180_11align === 'left') {
  11506. Node180_11textStart = Node180_11fontSize * 0.2 > 2 ? Node180_11fontSize * 0.2 - 4 : Node180_11fontSize * 0.2 - 9;
  11507. Node180_11textWidth = Node180_11width;
  11508. Node180_11lineStart = 1;
  11509. } else if (Node180_11align === 'right') {
  11510. Node180_11textStart = 0;
  11511. Node180_11textWidth =Node180_11fontSize <= 8 ? Node180_11width + Node180_11fontSize * 0.2 + 6 : Node180_11width - Node180_11fontSize * 0.2;
  11512. Node180_11lineStart = (Node180_11width - (ht.Default.getTextSize('台', ' '+ Node180_11fontSize + 'px "Arial"').width + 6)) * 0.5;
  11513. } else if (Node180_11align === 'center') {
  11514. Node180_11textStart = -3;
  11515. Node180_11textWidth = Node180_11width;
  11516. Node180_11lineStart = Node180_11width - ht.Default.getTextSize('台', ' '+ Node180_11fontSize + 'px "Arial"').width - 11;
  11517. }
  11518. })();
  11519. Node180_11.setImage(GD.getTextJSON(Node180_11width, Node180_11height, true, false, false, ' '+ Node180_11fontSize + 'px "Arial"'))
  11520. Node180_11.setPosition(928*ratio.ratioX, 230*ratio.ratioY);
  11521. Node180_11.setWidth(Node180_11width);
  11522. Node180_11.setHeight(Node180_11height);
  11523. Node180_11._nodeType = 'text';
  11524. Node180_11._disallowEvert = true;
  11525. Node180_11.setRotation(0*Math.PI/180);
  11526. Node180_11.a('node.width', Node180_11width);
  11527. Node180_11.a('node.height', Node180_11height);
  11528. Node180_11.a('node.rect', [0, 0, Node180_11width, Node180_11height]);
  11529. Node180_11.a('node.bordercolor','rgba(0,0,0,1)');
  11530. Node180_11.a('node.borderwidth', 0);
  11531. Node180_11.a('node.background','' || 'rgba(0,0,0,0)');
  11532. Node180_11.a('node.gradient','');
  11533. Node180_11.a('node.gradientcolor','');
  11534. Node180_11.a('node.text','台');
  11535. Node180_11.a('node.textalign','left');
  11536. Node180_11.a('node.textvAlign','middle');
  11537. Node180_11.a('node.textrect', [Node180_11textStart, 0, Node180_11textWidth, Node180_11height]);
  11538. Node180_11.a('node.color','rgba(0,0,0,1)');
  11539. Node180_11.a('node.font',' '+ Node180_11fontSize + 'px "Arial"');
  11540. Node180_11.a('node.textvisible',true);
  11541. Node180_11.a('node.linefeed',false);
  11542. if (false) {
  11543. Node180_11.a('node.textfunc',function(g) {
  11544. g.beginPath();
  11545. var str=Node180_11.a('node.text') || '台';
  11546. var color=Node180_11.a('node.color') || 'rgba(0,0,0,1)';
  11547. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_11width,Node180_11height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_11fontSize + 'px "Arial"', 0,g);
  11548. });
  11549. }
  11550. if (false) {
  11551. Node180_11.a('node.underlinepoints',[Node180_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_11fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_11fontSize + 'px "Arial"').width + 6, (Node180_11height - Node180_11fontSize) * 0.5*_ratio.ratioY + Node180_11fontSize + 2 ]);
  11552. Node180_11.a('node.underlinevisible',false);
  11553. Node180_11.a('node.underlineBorderWidth', 1);
  11554. }
  11555. dataModel.add(Node180_11);
  11556. zoomNodeList.push({
  11557. node: Node180_11,
  11558. borderWidth: 0,
  11559. attr: 'node.borderwidth'
  11560. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11561. var Node180_12type = 'rect';
  11562. var Node180_12 = new ht.Node(),
  11563. Node180_12BorderWidth = 1*2;
  11564. if (Node180_12type === 'arc') {
  11565. Node180_12BorderWidth *= 1;
  11566. }
  11567. Node180_12.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node180_12type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11568. Node180_12.setPosition(1061*ratio.ratioX, 211*ratio.ratioY);
  11569. Node180_12.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  11570. Node180_12.s({
  11571. 'pixelPerfect':true
  11572. /*@AddPara@*/
  11573. });
  11574. Node180_12.a('node.width', 105*_ratio.ratioX);
  11575. Node180_12.a('node.height', 78*_ratio.ratioY);
  11576. Node180_12.a('node.type', Node180_12type);
  11577. Node180_12.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  11578. Node180_12.a('node.background', 'rgba(255,255,255,0.003921569)');
  11579. Node180_12.a('node.gradientcolor', '');
  11580. Node180_12.a('node.gradient', '');
  11581. Node180_12.a('node.borderwidth', Node180_12BorderWidth);
  11582. Node180_12.a('node.color', 'rgba(192,192,192,1)');
  11583. Node180_12.a('node.fillrect', [0,0,0,0]);
  11584. Node180_12.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11585. Node180_12.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11586. Node180_12.a('node.fillgradient', '');
  11587. if (Node180_12type !== 'rect') {
  11588. Node180_12.a('node.arcFrom', parseFloat('@arcFrom@'));
  11589. Node180_12.a('node.arcTo', parseFloat('@arcTo@'));
  11590. Node180_12.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11591. }
  11592. if (Node180_12type === 'arc') {
  11593. Node180_12.a('node.arcOval', true);
  11594. }
  11595. Node180_12.setRotation(0*Math.PI/180);
  11596. Node180_12.borderWidth = Node180_12BorderWidth;
  11597. Node180_12.borderFillwidth = Node180_12BorderWidth;
  11598. dataModel.add(Node180_12);
  11599. Node180_12._nodename = 'Node180_12'
  11600. Node180_12._nodeType = 'rect';
  11601. zoomNodeList.push({
  11602. node: Node180_12,
  11603. attr: 'node.borderwidth'
  11604. });
  11605. (function (node, _img) {
  11606. var setWidth = node.setWidth,
  11607. setHeight = node.setHeight;
  11608. node.setWidth = function (width) {
  11609. if (width === this.getWidth()) return ;
  11610. var height = this.getHeight();
  11611. this.a('node.width', width);
  11612. this.a('node.rect', [0,0,width, height]);
  11613. setWidth.apply(this, arguments);
  11614. }
  11615. node.setHeight = function (height) {
  11616. if (height === this.getHeight()) return ;
  11617. var width = this.getWidth();
  11618. this.a('node.height', height);
  11619. this.a('node.rect', [0,0,width, height]);
  11620. setHeight.apply(this, arguments);
  11621. }
  11622. })(Node180_12, Node180_12.getImage());var Node180_13;
  11623. (function () {
  11624. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11625. var ratioX, ratioY;
  11626. if ('Default' === 'False') {
  11627. ratioX = 1;
  11628. ratioY = 1;
  11629. } else if ('Default' === 'X') {
  11630. ratioX = ratioY = _ratio.ratioX;
  11631. } else if ('Default' === 'Y') {
  11632. ratioX = ratioY = _ratio.ratioY;
  11633. } else {
  11634. ratioX = _ratio.ratioX;
  11635. ratioY = _ratio.ratioY;
  11636. }
  11637. ht.Default.setImage('imgimage//img//index_right_top_right_left_green.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_green.jpg');
  11638. Node180_13 = new ht.Node();
  11639. Node180_13.setPosition(1140*ratio.ratioX, 211*ratio.ratioY);
  11640. Node180_13.setSize(52*ratioX, 78*ratioY);
  11641. Node180_13.setImage('imgimage//img//index_right_top_right_left_green.jpg');
  11642. Node180_13.setRotation(0*Math.PI/180);
  11643. Node180_13._zoomBy = 'Default';
  11644. Node180_13._nodeType = 'image';
  11645. Node180_13._disallowEvert = true;
  11646. dataModel.add(Node180_13);
  11647. })();
  11648. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11649. var Node180_14 = new ht.Node();
  11650. var Node180_14textStart, Node180_14textWidth, Node180_14lineStart, Node180_14align = 'left', Node180_14fontSize = 13.3333*_ratio.ratioY,Node180_14width = 34*_ratio.ratioX, Node180_14height = 16*_ratio.ratioY;
  11651. (function () {
  11652. if (Node180_14align === 'left') {
  11653. Node180_14textStart = Node180_14fontSize * 0.2 > 2 ? Node180_14fontSize * 0.2 - 4 : Node180_14fontSize * 0.2 - 9;
  11654. Node180_14textWidth = Node180_14width;
  11655. Node180_14lineStart = 1;
  11656. } else if (Node180_14align === 'right') {
  11657. Node180_14textStart = 0;
  11658. Node180_14textWidth =Node180_14fontSize <= 8 ? Node180_14width + Node180_14fontSize * 0.2 + 6 : Node180_14width - Node180_14fontSize * 0.2;
  11659. Node180_14lineStart = (Node180_14width - (ht.Default.getTextSize('并网', ' '+ Node180_14fontSize + 'px "Arial"').width + 6)) * 0.5;
  11660. } else if (Node180_14align === 'center') {
  11661. Node180_14textStart = -3;
  11662. Node180_14textWidth = Node180_14width;
  11663. Node180_14lineStart = Node180_14width - ht.Default.getTextSize('并网', ' '+ Node180_14fontSize + 'px "Arial"').width - 11;
  11664. }
  11665. })();
  11666. Node180_14.setImage(GD.getTextJSON(Node180_14width, Node180_14height, true, false, false, ' '+ Node180_14fontSize + 'px "Arial"'))
  11667. Node180_14.setPosition(1032*ratio.ratioX, 184*ratio.ratioY);
  11668. Node180_14.setWidth(Node180_14width);
  11669. Node180_14.setHeight(Node180_14height);
  11670. Node180_14._nodeType = 'text';
  11671. Node180_14._disallowEvert = true;
  11672. Node180_14.setRotation(0*Math.PI/180);
  11673. Node180_14.a('node.width', Node180_14width);
  11674. Node180_14.a('node.height', Node180_14height);
  11675. Node180_14.a('node.rect', [0, 0, Node180_14width, Node180_14height]);
  11676. Node180_14.a('node.bordercolor','rgba(0,0,0,1)');
  11677. Node180_14.a('node.borderwidth', 0);
  11678. Node180_14.a('node.background','' || 'rgba(0,0,0,0)');
  11679. Node180_14.a('node.gradient','');
  11680. Node180_14.a('node.gradientcolor','');
  11681. Node180_14.a('node.text','并网');
  11682. Node180_14.a('node.textalign','left');
  11683. Node180_14.a('node.textvAlign','middle');
  11684. Node180_14.a('node.textrect', [Node180_14textStart, 0, Node180_14textWidth, Node180_14height]);
  11685. Node180_14.a('node.color','rgba(0,0,0,1)');
  11686. Node180_14.a('node.font',' '+ Node180_14fontSize + 'px "Arial"');
  11687. Node180_14.a('node.textvisible',true);
  11688. Node180_14.a('node.linefeed',false);
  11689. if (false) {
  11690. Node180_14.a('node.textfunc',function(g) {
  11691. g.beginPath();
  11692. var str=Node180_14.a('node.text') || '并网';
  11693. var color=Node180_14.a('node.color') || 'rgba(0,0,0,1)';
  11694. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_14width,Node180_14height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_14fontSize + 'px "Arial"', 0,g);
  11695. });
  11696. }
  11697. if (false) {
  11698. Node180_14.a('node.underlinepoints',[Node180_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_14fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node180_14fontSize + 'px "Arial"').width + 6, (Node180_14height - Node180_14fontSize) * 0.5*_ratio.ratioY + Node180_14fontSize + 2 ]);
  11699. Node180_14.a('node.underlinevisible',false);
  11700. Node180_14.a('node.underlineBorderWidth', 1);
  11701. }
  11702. dataModel.add(Node180_14);
  11703. zoomNodeList.push({
  11704. node: Node180_14,
  11705. borderWidth: 0,
  11706. attr: 'node.borderwidth'
  11707. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11708. var Node180_15 = new ht.Node();
  11709. var Node180_15textStart, Node180_15textWidth, Node180_15lineStart, Node180_15align = 'left', Node180_15fontSize = 13.3333*_ratio.ratioY,Node180_15width = 27*_ratio.ratioX, Node180_15height = 16*_ratio.ratioY;
  11710. (function () {
  11711. if (Node180_15align === 'left') {
  11712. Node180_15textStart = Node180_15fontSize * 0.2 > 2 ? Node180_15fontSize * 0.2 - 4 : Node180_15fontSize * 0.2 - 9;
  11713. Node180_15textWidth = Node180_15width;
  11714. Node180_15lineStart = 1;
  11715. } else if (Node180_15align === 'right') {
  11716. Node180_15textStart = 0;
  11717. Node180_15textWidth =Node180_15fontSize <= 8 ? Node180_15width + Node180_15fontSize * 0.2 + 6 : Node180_15width - Node180_15fontSize * 0.2;
  11718. Node180_15lineStart = (Node180_15width - (ht.Default.getTextSize('463', ' '+ Node180_15fontSize + 'px "Arial"').width + 6)) * 0.5;
  11719. } else if (Node180_15align === 'center') {
  11720. Node180_15textStart = -3;
  11721. Node180_15textWidth = Node180_15width;
  11722. Node180_15lineStart = Node180_15width - ht.Default.getTextSize('463', ' '+ Node180_15fontSize + 'px "Arial"').width - 11;
  11723. }
  11724. })();
  11725. Node180_15.setImage(GD.getTextJSON(Node180_15width, Node180_15height, true, false, false, ' '+ Node180_15fontSize + 'px "Arial"'))
  11726. Node180_15.setPosition(1053*ratio.ratioX, 204*ratio.ratioY);
  11727. Node180_15.setWidth(Node180_15width);
  11728. Node180_15.setHeight(Node180_15height);
  11729. Node180_15._nodeType = 'text';
  11730. Node180_15._disallowEvert = true;
  11731. Node180_15.setRotation(0*Math.PI/180);
  11732. Node180_15.a('node.width', Node180_15width);
  11733. Node180_15.a('node.height', Node180_15height);
  11734. Node180_15.a('node.rect', [0, 0, Node180_15width, Node180_15height]);
  11735. Node180_15.a('node.bordercolor','rgba(0,0,0,1)');
  11736. Node180_15.a('node.borderwidth', 0);
  11737. Node180_15.a('node.background','' || 'rgba(0,0,0,0)');
  11738. Node180_15.a('node.gradient','');
  11739. Node180_15.a('node.gradientcolor','');
  11740. Node180_15.a('node.text','463');
  11741. Node180_15.a('node.textalign','left');
  11742. Node180_15.a('node.textvAlign','middle');
  11743. Node180_15.a('node.textrect', [Node180_15textStart, 0, Node180_15textWidth, Node180_15height]);
  11744. Node180_15.a('node.color','rgba(0,0,0,1)');
  11745. Node180_15.a('node.font',' '+ Node180_15fontSize + 'px "Arial"');
  11746. Node180_15.a('node.textvisible',true);
  11747. Node180_15.a('node.linefeed',false);
  11748. if (false) {
  11749. Node180_15.a('node.textfunc',function(g) {
  11750. g.beginPath();
  11751. var str=Node180_15.a('node.text') || '463';
  11752. var color=Node180_15.a('node.color') || 'rgba(0,0,0,1)';
  11753. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_15width,Node180_15height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_15fontSize + 'px "Arial"', 0,g);
  11754. });
  11755. }
  11756. if (false) {
  11757. Node180_15.a('node.underlinepoints',[Node180_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_15fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node180_15fontSize + 'px "Arial"').width + 6, (Node180_15height - Node180_15fontSize) * 0.5*_ratio.ratioY + Node180_15fontSize + 2 ]);
  11758. Node180_15.a('node.underlinevisible',false);
  11759. Node180_15.a('node.underlineBorderWidth', 1);
  11760. }
  11761. dataModel.add(Node180_15);
  11762. zoomNodeList.push({
  11763. node: Node180_15,
  11764. borderWidth: 0,
  11765. attr: 'node.borderwidth'
  11766. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11767. var Node180_16 = new ht.Node();
  11768. var Node180_16textStart, Node180_16textWidth, Node180_16lineStart, Node180_16align = 'left', Node180_16fontSize = 13.3333*_ratio.ratioY,Node180_16width = 19*_ratio.ratioX, Node180_16height = 16*_ratio.ratioY;
  11769. (function () {
  11770. if (Node180_16align === 'left') {
  11771. Node180_16textStart = Node180_16fontSize * 0.2 > 2 ? Node180_16fontSize * 0.2 - 4 : Node180_16fontSize * 0.2 - 9;
  11772. Node180_16textWidth = Node180_16width;
  11773. Node180_16lineStart = 1;
  11774. } else if (Node180_16align === 'right') {
  11775. Node180_16textStart = 0;
  11776. Node180_16textWidth =Node180_16fontSize <= 8 ? Node180_16width + Node180_16fontSize * 0.2 + 6 : Node180_16width - Node180_16fontSize * 0.2;
  11777. Node180_16lineStart = (Node180_16width - (ht.Default.getTextSize('台', ' '+ Node180_16fontSize + 'px "Arial"').width + 6)) * 0.5;
  11778. } else if (Node180_16align === 'center') {
  11779. Node180_16textStart = -3;
  11780. Node180_16textWidth = Node180_16width;
  11781. Node180_16lineStart = Node180_16width - ht.Default.getTextSize('台', ' '+ Node180_16fontSize + 'px "Arial"').width - 11;
  11782. }
  11783. })();
  11784. Node180_16.setImage(GD.getTextJSON(Node180_16width, Node180_16height, true, false, false, ' '+ Node180_16fontSize + 'px "Arial"'))
  11785. Node180_16.setPosition(1091*ratio.ratioX, 230*ratio.ratioY);
  11786. Node180_16.setWidth(Node180_16width);
  11787. Node180_16.setHeight(Node180_16height);
  11788. Node180_16._nodeType = 'text';
  11789. Node180_16._disallowEvert = true;
  11790. Node180_16.setRotation(0*Math.PI/180);
  11791. Node180_16.a('node.width', Node180_16width);
  11792. Node180_16.a('node.height', Node180_16height);
  11793. Node180_16.a('node.rect', [0, 0, Node180_16width, Node180_16height]);
  11794. Node180_16.a('node.bordercolor','rgba(0,0,0,1)');
  11795. Node180_16.a('node.borderwidth', 0);
  11796. Node180_16.a('node.background','' || 'rgba(0,0,0,0)');
  11797. Node180_16.a('node.gradient','');
  11798. Node180_16.a('node.gradientcolor','');
  11799. Node180_16.a('node.text','台');
  11800. Node180_16.a('node.textalign','left');
  11801. Node180_16.a('node.textvAlign','middle');
  11802. Node180_16.a('node.textrect', [Node180_16textStart, 0, Node180_16textWidth, Node180_16height]);
  11803. Node180_16.a('node.color','rgba(0,0,0,1)');
  11804. Node180_16.a('node.font',' '+ Node180_16fontSize + 'px "Arial"');
  11805. Node180_16.a('node.textvisible',true);
  11806. Node180_16.a('node.linefeed',false);
  11807. if (false) {
  11808. Node180_16.a('node.textfunc',function(g) {
  11809. g.beginPath();
  11810. var str=Node180_16.a('node.text') || '台';
  11811. var color=Node180_16.a('node.color') || 'rgba(0,0,0,1)';
  11812. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_16width,Node180_16height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_16fontSize + 'px "Arial"', 0,g);
  11813. });
  11814. }
  11815. if (false) {
  11816. Node180_16.a('node.underlinepoints',[Node180_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_16fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_16fontSize + 'px "Arial"').width + 6, (Node180_16height - Node180_16fontSize) * 0.5*_ratio.ratioY + Node180_16fontSize + 2 ]);
  11817. Node180_16.a('node.underlinevisible',false);
  11818. Node180_16.a('node.underlineBorderWidth', 1);
  11819. }
  11820. dataModel.add(Node180_16);
  11821. zoomNodeList.push({
  11822. node: Node180_16,
  11823. borderWidth: 0,
  11824. attr: 'node.borderwidth'
  11825. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11826. var Node180_17type = 'rect';
  11827. var Node180_17 = new ht.Node(),
  11828. Node180_17BorderWidth = 1*2;
  11829. if (Node180_17type === 'arc') {
  11830. Node180_17BorderWidth *= 1;
  11831. }
  11832. Node180_17.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node180_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  11833. Node180_17.setPosition(1218*ratio.ratioX, 211*ratio.ratioY);
  11834. Node180_17.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  11835. Node180_17.s({
  11836. 'pixelPerfect':true
  11837. /*@AddPara@*/
  11838. });
  11839. Node180_17.a('node.width', 105*_ratio.ratioX);
  11840. Node180_17.a('node.height', 78*_ratio.ratioY);
  11841. Node180_17.a('node.type', Node180_17type);
  11842. Node180_17.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  11843. Node180_17.a('node.background', 'rgba(255,255,255,0.003921569)');
  11844. Node180_17.a('node.gradientcolor', '');
  11845. Node180_17.a('node.gradient', '');
  11846. Node180_17.a('node.borderwidth', Node180_17BorderWidth);
  11847. Node180_17.a('node.color', 'rgba(192,192,192,1)');
  11848. Node180_17.a('node.fillrect', [0,0,0,0]);
  11849. Node180_17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  11850. Node180_17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  11851. Node180_17.a('node.fillgradient', '');
  11852. if (Node180_17type !== 'rect') {
  11853. Node180_17.a('node.arcFrom', parseFloat('@arcFrom@'));
  11854. Node180_17.a('node.arcTo', parseFloat('@arcTo@'));
  11855. Node180_17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  11856. }
  11857. if (Node180_17type === 'arc') {
  11858. Node180_17.a('node.arcOval', true);
  11859. }
  11860. Node180_17.setRotation(0*Math.PI/180);
  11861. Node180_17.borderWidth = Node180_17BorderWidth;
  11862. Node180_17.borderFillwidth = Node180_17BorderWidth;
  11863. dataModel.add(Node180_17);
  11864. Node180_17._nodename = 'Node180_17'
  11865. Node180_17._nodeType = 'rect';
  11866. zoomNodeList.push({
  11867. node: Node180_17,
  11868. attr: 'node.borderwidth'
  11869. });
  11870. (function (node, _img) {
  11871. var setWidth = node.setWidth,
  11872. setHeight = node.setHeight;
  11873. node.setWidth = function (width) {
  11874. if (width === this.getWidth()) return ;
  11875. var height = this.getHeight();
  11876. this.a('node.width', width);
  11877. this.a('node.rect', [0,0,width, height]);
  11878. setWidth.apply(this, arguments);
  11879. }
  11880. node.setHeight = function (height) {
  11881. if (height === this.getHeight()) return ;
  11882. var width = this.getWidth();
  11883. this.a('node.height', height);
  11884. this.a('node.rect', [0,0,width, height]);
  11885. setHeight.apply(this, arguments);
  11886. }
  11887. })(Node180_17, Node180_17.getImage());var Node180_18;
  11888. (function () {
  11889. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11890. var ratioX, ratioY;
  11891. if ('Default' === 'False') {
  11892. ratioX = 1;
  11893. ratioY = 1;
  11894. } else if ('Default' === 'X') {
  11895. ratioX = ratioY = _ratio.ratioX;
  11896. } else if ('Default' === 'Y') {
  11897. ratioX = ratioY = _ratio.ratioY;
  11898. } else {
  11899. ratioX = _ratio.ratioX;
  11900. ratioY = _ratio.ratioY;
  11901. }
  11902. ht.Default.setImage('imgimage//img//index_right_top_right_left_orange.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_orange.jpg');
  11903. Node180_18 = new ht.Node();
  11904. Node180_18.setPosition(1297*ratio.ratioX, 211*ratio.ratioY);
  11905. Node180_18.setSize(52*ratioX, 78*ratioY);
  11906. Node180_18.setImage('imgimage//img//index_right_top_right_left_orange.jpg');
  11907. Node180_18.setRotation(0*Math.PI/180);
  11908. Node180_18._zoomBy = 'Default';
  11909. Node180_18._nodeType = 'image';
  11910. Node180_18._disallowEvert = true;
  11911. dataModel.add(Node180_18);
  11912. })();
  11913. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11914. var Node180_19 = new ht.Node();
  11915. var Node180_19textStart, Node180_19textWidth, Node180_19lineStart, Node180_19align = 'left', Node180_19fontSize = 13.3333*_ratio.ratioY,Node180_19width = 34*_ratio.ratioX, Node180_19height = 16*_ratio.ratioY;
  11916. (function () {
  11917. if (Node180_19align === 'left') {
  11918. Node180_19textStart = Node180_19fontSize * 0.2 > 2 ? Node180_19fontSize * 0.2 - 4 : Node180_19fontSize * 0.2 - 9;
  11919. Node180_19textWidth = Node180_19width;
  11920. Node180_19lineStart = 1;
  11921. } else if (Node180_19align === 'right') {
  11922. Node180_19textStart = 0;
  11923. Node180_19textWidth =Node180_19fontSize <= 8 ? Node180_19width + Node180_19fontSize * 0.2 + 6 : Node180_19width - Node180_19fontSize * 0.2;
  11924. Node180_19lineStart = (Node180_19width - (ht.Default.getTextSize('待机', ' '+ Node180_19fontSize + 'px "Arial"').width + 6)) * 0.5;
  11925. } else if (Node180_19align === 'center') {
  11926. Node180_19textStart = -3;
  11927. Node180_19textWidth = Node180_19width;
  11928. Node180_19lineStart = Node180_19width - ht.Default.getTextSize('待机', ' '+ Node180_19fontSize + 'px "Arial"').width - 11;
  11929. }
  11930. })();
  11931. Node180_19.setImage(GD.getTextJSON(Node180_19width, Node180_19height, true, false, false, ' '+ Node180_19fontSize + 'px "Arial"'))
  11932. Node180_19.setPosition(1189*ratio.ratioX, 184*ratio.ratioY);
  11933. Node180_19.setWidth(Node180_19width);
  11934. Node180_19.setHeight(Node180_19height);
  11935. Node180_19._nodeType = 'text';
  11936. Node180_19._disallowEvert = true;
  11937. Node180_19.setRotation(0*Math.PI/180);
  11938. Node180_19.a('node.width', Node180_19width);
  11939. Node180_19.a('node.height', Node180_19height);
  11940. Node180_19.a('node.rect', [0, 0, Node180_19width, Node180_19height]);
  11941. Node180_19.a('node.bordercolor','rgba(0,0,0,1)');
  11942. Node180_19.a('node.borderwidth', 0);
  11943. Node180_19.a('node.background','' || 'rgba(0,0,0,0)');
  11944. Node180_19.a('node.gradient','');
  11945. Node180_19.a('node.gradientcolor','');
  11946. Node180_19.a('node.text','待机');
  11947. Node180_19.a('node.textalign','left');
  11948. Node180_19.a('node.textvAlign','middle');
  11949. Node180_19.a('node.textrect', [Node180_19textStart, 0, Node180_19textWidth, Node180_19height]);
  11950. Node180_19.a('node.color','rgba(0,0,0,1)');
  11951. Node180_19.a('node.font',' '+ Node180_19fontSize + 'px "Arial"');
  11952. Node180_19.a('node.textvisible',true);
  11953. Node180_19.a('node.linefeed',false);
  11954. if (false) {
  11955. Node180_19.a('node.textfunc',function(g) {
  11956. g.beginPath();
  11957. var str=Node180_19.a('node.text') || '待机';
  11958. var color=Node180_19.a('node.color') || 'rgba(0,0,0,1)';
  11959. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_19width,Node180_19height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_19fontSize + 'px "Arial"', 0,g);
  11960. });
  11961. }
  11962. if (false) {
  11963. Node180_19.a('node.underlinepoints',[Node180_19lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_19fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node180_19fontSize + 'px "Arial"').width + 6, (Node180_19height - Node180_19fontSize) * 0.5*_ratio.ratioY + Node180_19fontSize + 2 ]);
  11964. Node180_19.a('node.underlinevisible',false);
  11965. Node180_19.a('node.underlineBorderWidth', 1);
  11966. }
  11967. dataModel.add(Node180_19);
  11968. zoomNodeList.push({
  11969. node: Node180_19,
  11970. borderWidth: 0,
  11971. attr: 'node.borderwidth'
  11972. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  11973. var Node180_20 = new ht.Node();
  11974. var Node180_20textStart, Node180_20textWidth, Node180_20lineStart, Node180_20align = 'left', Node180_20fontSize = 13.3333*_ratio.ratioY,Node180_20width = 12*_ratio.ratioX, Node180_20height = 16*_ratio.ratioY;
  11975. (function () {
  11976. if (Node180_20align === 'left') {
  11977. Node180_20textStart = Node180_20fontSize * 0.2 > 2 ? Node180_20fontSize * 0.2 - 4 : Node180_20fontSize * 0.2 - 9;
  11978. Node180_20textWidth = Node180_20width;
  11979. Node180_20lineStart = 1;
  11980. } else if (Node180_20align === 'right') {
  11981. Node180_20textStart = 0;
  11982. Node180_20textWidth =Node180_20fontSize <= 8 ? Node180_20width + Node180_20fontSize * 0.2 + 6 : Node180_20width - Node180_20fontSize * 0.2;
  11983. Node180_20lineStart = (Node180_20width - (ht.Default.getTextSize('0', ' '+ Node180_20fontSize + 'px "Arial"').width + 6)) * 0.5;
  11984. } else if (Node180_20align === 'center') {
  11985. Node180_20textStart = -3;
  11986. Node180_20textWidth = Node180_20width;
  11987. Node180_20lineStart = Node180_20width - ht.Default.getTextSize('0', ' '+ Node180_20fontSize + 'px "Arial"').width - 11;
  11988. }
  11989. })();
  11990. Node180_20.setImage(GD.getTextJSON(Node180_20width, Node180_20height, true, false, false, ' '+ Node180_20fontSize + 'px "Arial"'))
  11991. Node180_20.setPosition(1203*ratio.ratioX, 204*ratio.ratioY);
  11992. Node180_20.setWidth(Node180_20width);
  11993. Node180_20.setHeight(Node180_20height);
  11994. Node180_20._nodeType = 'text';
  11995. Node180_20._disallowEvert = true;
  11996. Node180_20.setRotation(0*Math.PI/180);
  11997. Node180_20.a('node.width', Node180_20width);
  11998. Node180_20.a('node.height', Node180_20height);
  11999. Node180_20.a('node.rect', [0, 0, Node180_20width, Node180_20height]);
  12000. Node180_20.a('node.bordercolor','rgba(0,0,0,1)');
  12001. Node180_20.a('node.borderwidth', 0);
  12002. Node180_20.a('node.background','' || 'rgba(0,0,0,0)');
  12003. Node180_20.a('node.gradient','');
  12004. Node180_20.a('node.gradientcolor','');
  12005. Node180_20.a('node.text','0');
  12006. Node180_20.a('node.textalign','left');
  12007. Node180_20.a('node.textvAlign','middle');
  12008. Node180_20.a('node.textrect', [Node180_20textStart, 0, Node180_20textWidth, Node180_20height]);
  12009. Node180_20.a('node.color','rgba(0,0,0,1)');
  12010. Node180_20.a('node.font',' '+ Node180_20fontSize + 'px "Arial"');
  12011. Node180_20.a('node.textvisible',true);
  12012. Node180_20.a('node.linefeed',false);
  12013. if (false) {
  12014. Node180_20.a('node.textfunc',function(g) {
  12015. g.beginPath();
  12016. var str=Node180_20.a('node.text') || '0';
  12017. var color=Node180_20.a('node.color') || 'rgba(0,0,0,1)';
  12018. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_20width,Node180_20height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_20fontSize + 'px "Arial"', 0,g);
  12019. });
  12020. }
  12021. if (false) {
  12022. Node180_20.a('node.underlinepoints',[Node180_20lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_20fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180_20fontSize + 'px "Arial"').width + 6, (Node180_20height - Node180_20fontSize) * 0.5*_ratio.ratioY + Node180_20fontSize + 2 ]);
  12023. Node180_20.a('node.underlinevisible',false);
  12024. Node180_20.a('node.underlineBorderWidth', 1);
  12025. }
  12026. dataModel.add(Node180_20);
  12027. zoomNodeList.push({
  12028. node: Node180_20,
  12029. borderWidth: 0,
  12030. attr: 'node.borderwidth'
  12031. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12032. var Node180_21 = new ht.Node();
  12033. var Node180_21textStart, Node180_21textWidth, Node180_21lineStart, Node180_21align = 'left', Node180_21fontSize = 13.3333*_ratio.ratioY,Node180_21width = 19*_ratio.ratioX, Node180_21height = 16*_ratio.ratioY;
  12034. (function () {
  12035. if (Node180_21align === 'left') {
  12036. Node180_21textStart = Node180_21fontSize * 0.2 > 2 ? Node180_21fontSize * 0.2 - 4 : Node180_21fontSize * 0.2 - 9;
  12037. Node180_21textWidth = Node180_21width;
  12038. Node180_21lineStart = 1;
  12039. } else if (Node180_21align === 'right') {
  12040. Node180_21textStart = 0;
  12041. Node180_21textWidth =Node180_21fontSize <= 8 ? Node180_21width + Node180_21fontSize * 0.2 + 6 : Node180_21width - Node180_21fontSize * 0.2;
  12042. Node180_21lineStart = (Node180_21width - (ht.Default.getTextSize('台', ' '+ Node180_21fontSize + 'px "Arial"').width + 6)) * 0.5;
  12043. } else if (Node180_21align === 'center') {
  12044. Node180_21textStart = -3;
  12045. Node180_21textWidth = Node180_21width;
  12046. Node180_21lineStart = Node180_21width - ht.Default.getTextSize('台', ' '+ Node180_21fontSize + 'px "Arial"').width - 11;
  12047. }
  12048. })();
  12049. Node180_21.setImage(GD.getTextJSON(Node180_21width, Node180_21height, true, false, false, ' '+ Node180_21fontSize + 'px "Arial"'))
  12050. Node180_21.setPosition(1248*ratio.ratioX, 230*ratio.ratioY);
  12051. Node180_21.setWidth(Node180_21width);
  12052. Node180_21.setHeight(Node180_21height);
  12053. Node180_21._nodeType = 'text';
  12054. Node180_21._disallowEvert = true;
  12055. Node180_21.setRotation(0*Math.PI/180);
  12056. Node180_21.a('node.width', Node180_21width);
  12057. Node180_21.a('node.height', Node180_21height);
  12058. Node180_21.a('node.rect', [0, 0, Node180_21width, Node180_21height]);
  12059. Node180_21.a('node.bordercolor','rgba(0,0,0,1)');
  12060. Node180_21.a('node.borderwidth', 0);
  12061. Node180_21.a('node.background','' || 'rgba(0,0,0,0)');
  12062. Node180_21.a('node.gradient','');
  12063. Node180_21.a('node.gradientcolor','');
  12064. Node180_21.a('node.text','台');
  12065. Node180_21.a('node.textalign','left');
  12066. Node180_21.a('node.textvAlign','middle');
  12067. Node180_21.a('node.textrect', [Node180_21textStart, 0, Node180_21textWidth, Node180_21height]);
  12068. Node180_21.a('node.color','rgba(0,0,0,1)');
  12069. Node180_21.a('node.font',' '+ Node180_21fontSize + 'px "Arial"');
  12070. Node180_21.a('node.textvisible',true);
  12071. Node180_21.a('node.linefeed',false);
  12072. if (false) {
  12073. Node180_21.a('node.textfunc',function(g) {
  12074. g.beginPath();
  12075. var str=Node180_21.a('node.text') || '台';
  12076. var color=Node180_21.a('node.color') || 'rgba(0,0,0,1)';
  12077. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_21width,Node180_21height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_21fontSize + 'px "Arial"', 0,g);
  12078. });
  12079. }
  12080. if (false) {
  12081. Node180_21.a('node.underlinepoints',[Node180_21lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_21fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_21fontSize + 'px "Arial"').width + 6, (Node180_21height - Node180_21fontSize) * 0.5*_ratio.ratioY + Node180_21fontSize + 2 ]);
  12082. Node180_21.a('node.underlinevisible',false);
  12083. Node180_21.a('node.underlineBorderWidth', 1);
  12084. }
  12085. dataModel.add(Node180_21);
  12086. zoomNodeList.push({
  12087. node: Node180_21,
  12088. borderWidth: 0,
  12089. attr: 'node.borderwidth'
  12090. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12091. var Node180_22type = 'rect';
  12092. var Node180_22 = new ht.Node(),
  12093. Node180_22BorderWidth = 1*2;
  12094. if (Node180_22type === 'arc') {
  12095. Node180_22BorderWidth *= 1;
  12096. }
  12097. Node180_22.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node180_22type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12098. Node180_22.setPosition(1375*ratio.ratioX, 211*ratio.ratioY);
  12099. Node180_22.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  12100. Node180_22.s({
  12101. 'pixelPerfect':true
  12102. /*@AddPara@*/
  12103. });
  12104. Node180_22.a('node.width', 105*_ratio.ratioX);
  12105. Node180_22.a('node.height', 78*_ratio.ratioY);
  12106. Node180_22.a('node.type', Node180_22type);
  12107. Node180_22.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  12108. Node180_22.a('node.background', 'rgba(255,255,255,0.003921569)');
  12109. Node180_22.a('node.gradientcolor', '');
  12110. Node180_22.a('node.gradient', '');
  12111. Node180_22.a('node.borderwidth', Node180_22BorderWidth);
  12112. Node180_22.a('node.color', 'rgba(192,192,192,1)');
  12113. Node180_22.a('node.fillrect', [0,0,0,0]);
  12114. Node180_22.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12115. Node180_22.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12116. Node180_22.a('node.fillgradient', '');
  12117. if (Node180_22type !== 'rect') {
  12118. Node180_22.a('node.arcFrom', parseFloat('@arcFrom@'));
  12119. Node180_22.a('node.arcTo', parseFloat('@arcTo@'));
  12120. Node180_22.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12121. }
  12122. if (Node180_22type === 'arc') {
  12123. Node180_22.a('node.arcOval', true);
  12124. }
  12125. Node180_22.setRotation(0*Math.PI/180);
  12126. Node180_22.borderWidth = Node180_22BorderWidth;
  12127. Node180_22.borderFillwidth = Node180_22BorderWidth;
  12128. dataModel.add(Node180_22);
  12129. Node180_22._nodename = 'Node180_22'
  12130. Node180_22._nodeType = 'rect';
  12131. zoomNodeList.push({
  12132. node: Node180_22,
  12133. attr: 'node.borderwidth'
  12134. });
  12135. (function (node, _img) {
  12136. var setWidth = node.setWidth,
  12137. setHeight = node.setHeight;
  12138. node.setWidth = function (width) {
  12139. if (width === this.getWidth()) return ;
  12140. var height = this.getHeight();
  12141. this.a('node.width', width);
  12142. this.a('node.rect', [0,0,width, height]);
  12143. setWidth.apply(this, arguments);
  12144. }
  12145. node.setHeight = function (height) {
  12146. if (height === this.getHeight()) return ;
  12147. var width = this.getWidth();
  12148. this.a('node.height', height);
  12149. this.a('node.rect', [0,0,width, height]);
  12150. setHeight.apply(this, arguments);
  12151. }
  12152. })(Node180_22, Node180_22.getImage());var Node180_23;
  12153. (function () {
  12154. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12155. var ratioX, ratioY;
  12156. if ('Default' === 'False') {
  12157. ratioX = 1;
  12158. ratioY = 1;
  12159. } else if ('Default' === 'X') {
  12160. ratioX = ratioY = _ratio.ratioX;
  12161. } else if ('Default' === 'Y') {
  12162. ratioX = ratioY = _ratio.ratioY;
  12163. } else {
  12164. ratioX = _ratio.ratioX;
  12165. ratioY = _ratio.ratioY;
  12166. }
  12167. ht.Default.setImage('imgimage//img//index_right_top_right_left_red.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_red.jpg');
  12168. Node180_23 = new ht.Node();
  12169. Node180_23.setPosition(1454*ratio.ratioX, 211*ratio.ratioY);
  12170. Node180_23.setSize(52*ratioX, 78*ratioY);
  12171. Node180_23.setImage('imgimage//img//index_right_top_right_left_red.jpg');
  12172. Node180_23.setRotation(0*Math.PI/180);
  12173. Node180_23._zoomBy = 'Default';
  12174. Node180_23._nodeType = 'image';
  12175. Node180_23._disallowEvert = true;
  12176. dataModel.add(Node180_23);
  12177. })();
  12178. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12179. var Node180_24 = new ht.Node();
  12180. var Node180_24textStart, Node180_24textWidth, Node180_24lineStart, Node180_24align = 'left', Node180_24fontSize = 13.3333*_ratio.ratioY,Node180_24width = 34*_ratio.ratioX, Node180_24height = 16*_ratio.ratioY;
  12181. (function () {
  12182. if (Node180_24align === 'left') {
  12183. Node180_24textStart = Node180_24fontSize * 0.2 > 2 ? Node180_24fontSize * 0.2 - 4 : Node180_24fontSize * 0.2 - 9;
  12184. Node180_24textWidth = Node180_24width;
  12185. Node180_24lineStart = 1;
  12186. } else if (Node180_24align === 'right') {
  12187. Node180_24textStart = 0;
  12188. Node180_24textWidth =Node180_24fontSize <= 8 ? Node180_24width + Node180_24fontSize * 0.2 + 6 : Node180_24width - Node180_24fontSize * 0.2;
  12189. Node180_24lineStart = (Node180_24width - (ht.Default.getTextSize('维护', ' '+ Node180_24fontSize + 'px "Arial"').width + 6)) * 0.5;
  12190. } else if (Node180_24align === 'center') {
  12191. Node180_24textStart = -3;
  12192. Node180_24textWidth = Node180_24width;
  12193. Node180_24lineStart = Node180_24width - ht.Default.getTextSize('维护', ' '+ Node180_24fontSize + 'px "Arial"').width - 11;
  12194. }
  12195. })();
  12196. Node180_24.setImage(GD.getTextJSON(Node180_24width, Node180_24height, true, false, false, ' '+ Node180_24fontSize + 'px "Arial"'))
  12197. Node180_24.setPosition(1346*ratio.ratioX, 184*ratio.ratioY);
  12198. Node180_24.setWidth(Node180_24width);
  12199. Node180_24.setHeight(Node180_24height);
  12200. Node180_24._nodeType = 'text';
  12201. Node180_24._disallowEvert = true;
  12202. Node180_24.setRotation(0*Math.PI/180);
  12203. Node180_24.a('node.width', Node180_24width);
  12204. Node180_24.a('node.height', Node180_24height);
  12205. Node180_24.a('node.rect', [0, 0, Node180_24width, Node180_24height]);
  12206. Node180_24.a('node.bordercolor','rgba(0,0,0,1)');
  12207. Node180_24.a('node.borderwidth', 0);
  12208. Node180_24.a('node.background','' || 'rgba(0,0,0,0)');
  12209. Node180_24.a('node.gradient','');
  12210. Node180_24.a('node.gradientcolor','');
  12211. Node180_24.a('node.text','维护');
  12212. Node180_24.a('node.textalign','left');
  12213. Node180_24.a('node.textvAlign','middle');
  12214. Node180_24.a('node.textrect', [Node180_24textStart, 0, Node180_24textWidth, Node180_24height]);
  12215. Node180_24.a('node.color','rgba(0,0,0,1)');
  12216. Node180_24.a('node.font',' '+ Node180_24fontSize + 'px "Arial"');
  12217. Node180_24.a('node.textvisible',true);
  12218. Node180_24.a('node.linefeed',false);
  12219. if (false) {
  12220. Node180_24.a('node.textfunc',function(g) {
  12221. g.beginPath();
  12222. var str=Node180_24.a('node.text') || '维护';
  12223. var color=Node180_24.a('node.color') || 'rgba(0,0,0,1)';
  12224. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_24width,Node180_24height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_24fontSize + 'px "Arial"', 0,g);
  12225. });
  12226. }
  12227. if (false) {
  12228. Node180_24.a('node.underlinepoints',[Node180_24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_24fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node180_24fontSize + 'px "Arial"').width + 6, (Node180_24height - Node180_24fontSize) * 0.5*_ratio.ratioY + Node180_24fontSize + 2 ]);
  12229. Node180_24.a('node.underlinevisible',false);
  12230. Node180_24.a('node.underlineBorderWidth', 1);
  12231. }
  12232. dataModel.add(Node180_24);
  12233. zoomNodeList.push({
  12234. node: Node180_24,
  12235. borderWidth: 0,
  12236. attr: 'node.borderwidth'
  12237. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12238. var Node180_25 = new ht.Node();
  12239. var Node180_25textStart, Node180_25textWidth, Node180_25lineStart, Node180_25align = 'left', Node180_25fontSize = 13.3333*_ratio.ratioY,Node180_25width = 12*_ratio.ratioX, Node180_25height = 16*_ratio.ratioY;
  12240. (function () {
  12241. if (Node180_25align === 'left') {
  12242. Node180_25textStart = Node180_25fontSize * 0.2 > 2 ? Node180_25fontSize * 0.2 - 4 : Node180_25fontSize * 0.2 - 9;
  12243. Node180_25textWidth = Node180_25width;
  12244. Node180_25lineStart = 1;
  12245. } else if (Node180_25align === 'right') {
  12246. Node180_25textStart = 0;
  12247. Node180_25textWidth =Node180_25fontSize <= 8 ? Node180_25width + Node180_25fontSize * 0.2 + 6 : Node180_25width - Node180_25fontSize * 0.2;
  12248. Node180_25lineStart = (Node180_25width - (ht.Default.getTextSize('0', ' '+ Node180_25fontSize + 'px "Arial"').width + 6)) * 0.5;
  12249. } else if (Node180_25align === 'center') {
  12250. Node180_25textStart = -3;
  12251. Node180_25textWidth = Node180_25width;
  12252. Node180_25lineStart = Node180_25width - ht.Default.getTextSize('0', ' '+ Node180_25fontSize + 'px "Arial"').width - 11;
  12253. }
  12254. })();
  12255. Node180_25.setImage(GD.getTextJSON(Node180_25width, Node180_25height, true, false, false, ' '+ Node180_25fontSize + 'px "Arial"'))
  12256. Node180_25.setPosition(1360*ratio.ratioX, 204*ratio.ratioY);
  12257. Node180_25.setWidth(Node180_25width);
  12258. Node180_25.setHeight(Node180_25height);
  12259. Node180_25._nodeType = 'text';
  12260. Node180_25._disallowEvert = true;
  12261. Node180_25.setRotation(0*Math.PI/180);
  12262. Node180_25.a('node.width', Node180_25width);
  12263. Node180_25.a('node.height', Node180_25height);
  12264. Node180_25.a('node.rect', [0, 0, Node180_25width, Node180_25height]);
  12265. Node180_25.a('node.bordercolor','rgba(0,0,0,1)');
  12266. Node180_25.a('node.borderwidth', 0);
  12267. Node180_25.a('node.background','' || 'rgba(0,0,0,0)');
  12268. Node180_25.a('node.gradient','');
  12269. Node180_25.a('node.gradientcolor','');
  12270. Node180_25.a('node.text','0');
  12271. Node180_25.a('node.textalign','left');
  12272. Node180_25.a('node.textvAlign','middle');
  12273. Node180_25.a('node.textrect', [Node180_25textStart, 0, Node180_25textWidth, Node180_25height]);
  12274. Node180_25.a('node.color','rgba(0,0,0,1)');
  12275. Node180_25.a('node.font',' '+ Node180_25fontSize + 'px "Arial"');
  12276. Node180_25.a('node.textvisible',true);
  12277. Node180_25.a('node.linefeed',false);
  12278. if (false) {
  12279. Node180_25.a('node.textfunc',function(g) {
  12280. g.beginPath();
  12281. var str=Node180_25.a('node.text') || '0';
  12282. var color=Node180_25.a('node.color') || 'rgba(0,0,0,1)';
  12283. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_25width,Node180_25height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_25fontSize + 'px "Arial"', 0,g);
  12284. });
  12285. }
  12286. if (false) {
  12287. Node180_25.a('node.underlinepoints',[Node180_25lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_25fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180_25fontSize + 'px "Arial"').width + 6, (Node180_25height - Node180_25fontSize) * 0.5*_ratio.ratioY + Node180_25fontSize + 2 ]);
  12288. Node180_25.a('node.underlinevisible',false);
  12289. Node180_25.a('node.underlineBorderWidth', 1);
  12290. }
  12291. dataModel.add(Node180_25);
  12292. zoomNodeList.push({
  12293. node: Node180_25,
  12294. borderWidth: 0,
  12295. attr: 'node.borderwidth'
  12296. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12297. var Node180_26 = new ht.Node();
  12298. var Node180_26textStart, Node180_26textWidth, Node180_26lineStart, Node180_26align = 'left', Node180_26fontSize = 13.3333*_ratio.ratioY,Node180_26width = 19*_ratio.ratioX, Node180_26height = 16*_ratio.ratioY;
  12299. (function () {
  12300. if (Node180_26align === 'left') {
  12301. Node180_26textStart = Node180_26fontSize * 0.2 > 2 ? Node180_26fontSize * 0.2 - 4 : Node180_26fontSize * 0.2 - 9;
  12302. Node180_26textWidth = Node180_26width;
  12303. Node180_26lineStart = 1;
  12304. } else if (Node180_26align === 'right') {
  12305. Node180_26textStart = 0;
  12306. Node180_26textWidth =Node180_26fontSize <= 8 ? Node180_26width + Node180_26fontSize * 0.2 + 6 : Node180_26width - Node180_26fontSize * 0.2;
  12307. Node180_26lineStart = (Node180_26width - (ht.Default.getTextSize('台', ' '+ Node180_26fontSize + 'px "Arial"').width + 6)) * 0.5;
  12308. } else if (Node180_26align === 'center') {
  12309. Node180_26textStart = -3;
  12310. Node180_26textWidth = Node180_26width;
  12311. Node180_26lineStart = Node180_26width - ht.Default.getTextSize('台', ' '+ Node180_26fontSize + 'px "Arial"').width - 11;
  12312. }
  12313. })();
  12314. Node180_26.setImage(GD.getTextJSON(Node180_26width, Node180_26height, true, false, false, ' '+ Node180_26fontSize + 'px "Arial"'))
  12315. Node180_26.setPosition(1405*ratio.ratioX, 230*ratio.ratioY);
  12316. Node180_26.setWidth(Node180_26width);
  12317. Node180_26.setHeight(Node180_26height);
  12318. Node180_26._nodeType = 'text';
  12319. Node180_26._disallowEvert = true;
  12320. Node180_26.setRotation(0*Math.PI/180);
  12321. Node180_26.a('node.width', Node180_26width);
  12322. Node180_26.a('node.height', Node180_26height);
  12323. Node180_26.a('node.rect', [0, 0, Node180_26width, Node180_26height]);
  12324. Node180_26.a('node.bordercolor','rgba(0,0,0,1)');
  12325. Node180_26.a('node.borderwidth', 0);
  12326. Node180_26.a('node.background','' || 'rgba(0,0,0,0)');
  12327. Node180_26.a('node.gradient','');
  12328. Node180_26.a('node.gradientcolor','');
  12329. Node180_26.a('node.text','台');
  12330. Node180_26.a('node.textalign','left');
  12331. Node180_26.a('node.textvAlign','middle');
  12332. Node180_26.a('node.textrect', [Node180_26textStart, 0, Node180_26textWidth, Node180_26height]);
  12333. Node180_26.a('node.color','rgba(0,0,0,1)');
  12334. Node180_26.a('node.font',' '+ Node180_26fontSize + 'px "Arial"');
  12335. Node180_26.a('node.textvisible',true);
  12336. Node180_26.a('node.linefeed',false);
  12337. if (false) {
  12338. Node180_26.a('node.textfunc',function(g) {
  12339. g.beginPath();
  12340. var str=Node180_26.a('node.text') || '台';
  12341. var color=Node180_26.a('node.color') || 'rgba(0,0,0,1)';
  12342. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_26width,Node180_26height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_26fontSize + 'px "Arial"', 0,g);
  12343. });
  12344. }
  12345. if (false) {
  12346. Node180_26.a('node.underlinepoints',[Node180_26lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_26fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_26fontSize + 'px "Arial"').width + 6, (Node180_26height - Node180_26fontSize) * 0.5*_ratio.ratioY + Node180_26fontSize + 2 ]);
  12347. Node180_26.a('node.underlinevisible',false);
  12348. Node180_26.a('node.underlineBorderWidth', 1);
  12349. }
  12350. dataModel.add(Node180_26);
  12351. zoomNodeList.push({
  12352. node: Node180_26,
  12353. borderWidth: 0,
  12354. attr: 'node.borderwidth'
  12355. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12356. var Node180_27type = 'rect';
  12357. var Node180_27 = new ht.Node(),
  12358. Node180_27BorderWidth = 1*2;
  12359. if (Node180_27type === 'arc') {
  12360. Node180_27BorderWidth *= 1;
  12361. }
  12362. Node180_27.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node180_27type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12363. Node180_27.setPosition(1532*ratio.ratioX, 211*ratio.ratioY);
  12364. Node180_27.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  12365. Node180_27.s({
  12366. 'pixelPerfect':true
  12367. /*@AddPara@*/
  12368. });
  12369. Node180_27.a('node.width', 105*_ratio.ratioX);
  12370. Node180_27.a('node.height', 78*_ratio.ratioY);
  12371. Node180_27.a('node.type', Node180_27type);
  12372. Node180_27.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  12373. Node180_27.a('node.background', 'rgba(255,255,255,0.003921569)');
  12374. Node180_27.a('node.gradientcolor', '');
  12375. Node180_27.a('node.gradient', '');
  12376. Node180_27.a('node.borderwidth', Node180_27BorderWidth);
  12377. Node180_27.a('node.color', 'rgba(192,192,192,1)');
  12378. Node180_27.a('node.fillrect', [0,0,0,0]);
  12379. Node180_27.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12380. Node180_27.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12381. Node180_27.a('node.fillgradient', '');
  12382. if (Node180_27type !== 'rect') {
  12383. Node180_27.a('node.arcFrom', parseFloat('@arcFrom@'));
  12384. Node180_27.a('node.arcTo', parseFloat('@arcTo@'));
  12385. Node180_27.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12386. }
  12387. if (Node180_27type === 'arc') {
  12388. Node180_27.a('node.arcOval', true);
  12389. }
  12390. Node180_27.setRotation(0*Math.PI/180);
  12391. Node180_27.borderWidth = Node180_27BorderWidth;
  12392. Node180_27.borderFillwidth = Node180_27BorderWidth;
  12393. dataModel.add(Node180_27);
  12394. Node180_27._nodename = 'Node180_27'
  12395. Node180_27._nodeType = 'rect';
  12396. zoomNodeList.push({
  12397. node: Node180_27,
  12398. attr: 'node.borderwidth'
  12399. });
  12400. (function (node, _img) {
  12401. var setWidth = node.setWidth,
  12402. setHeight = node.setHeight;
  12403. node.setWidth = function (width) {
  12404. if (width === this.getWidth()) return ;
  12405. var height = this.getHeight();
  12406. this.a('node.width', width);
  12407. this.a('node.rect', [0,0,width, height]);
  12408. setWidth.apply(this, arguments);
  12409. }
  12410. node.setHeight = function (height) {
  12411. if (height === this.getHeight()) return ;
  12412. var width = this.getWidth();
  12413. this.a('node.height', height);
  12414. this.a('node.rect', [0,0,width, height]);
  12415. setHeight.apply(this, arguments);
  12416. }
  12417. })(Node180_27, Node180_27.getImage());var Node180_28;
  12418. (function () {
  12419. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12420. var ratioX, ratioY;
  12421. if ('Default' === 'False') {
  12422. ratioX = 1;
  12423. ratioY = 1;
  12424. } else if ('Default' === 'X') {
  12425. ratioX = ratioY = _ratio.ratioX;
  12426. } else if ('Default' === 'Y') {
  12427. ratioX = ratioY = _ratio.ratioY;
  12428. } else {
  12429. ratioX = _ratio.ratioX;
  12430. ratioY = _ratio.ratioY;
  12431. }
  12432. ht.Default.setImage('imgimage//img//index_right_top_right_left_pink.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_pink.jpg');
  12433. Node180_28 = new ht.Node();
  12434. Node180_28.setPosition(1611*ratio.ratioX, 211*ratio.ratioY);
  12435. Node180_28.setSize(52*ratioX, 78*ratioY);
  12436. Node180_28.setImage('imgimage//img//index_right_top_right_left_pink.jpg');
  12437. Node180_28.setRotation(0*Math.PI/180);
  12438. Node180_28._zoomBy = 'Default';
  12439. Node180_28._nodeType = 'image';
  12440. Node180_28._disallowEvert = true;
  12441. dataModel.add(Node180_28);
  12442. })();
  12443. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12444. var Node180_29 = new ht.Node();
  12445. var Node180_29textStart, Node180_29textWidth, Node180_29lineStart, Node180_29align = 'left', Node180_29fontSize = 13.3333*_ratio.ratioY,Node180_29width = 34*_ratio.ratioX, Node180_29height = 16*_ratio.ratioY;
  12446. (function () {
  12447. if (Node180_29align === 'left') {
  12448. Node180_29textStart = Node180_29fontSize * 0.2 > 2 ? Node180_29fontSize * 0.2 - 4 : Node180_29fontSize * 0.2 - 9;
  12449. Node180_29textWidth = Node180_29width;
  12450. Node180_29lineStart = 1;
  12451. } else if (Node180_29align === 'right') {
  12452. Node180_29textStart = 0;
  12453. Node180_29textWidth =Node180_29fontSize <= 8 ? Node180_29width + Node180_29fontSize * 0.2 + 6 : Node180_29width - Node180_29fontSize * 0.2;
  12454. Node180_29lineStart = (Node180_29width - (ht.Default.getTextSize('故障', ' '+ Node180_29fontSize + 'px "Arial"').width + 6)) * 0.5;
  12455. } else if (Node180_29align === 'center') {
  12456. Node180_29textStart = -3;
  12457. Node180_29textWidth = Node180_29width;
  12458. Node180_29lineStart = Node180_29width - ht.Default.getTextSize('故障', ' '+ Node180_29fontSize + 'px "Arial"').width - 11;
  12459. }
  12460. })();
  12461. Node180_29.setImage(GD.getTextJSON(Node180_29width, Node180_29height, true, false, false, ' '+ Node180_29fontSize + 'px "Arial"'))
  12462. Node180_29.setPosition(1503*ratio.ratioX, 184*ratio.ratioY);
  12463. Node180_29.setWidth(Node180_29width);
  12464. Node180_29.setHeight(Node180_29height);
  12465. Node180_29._nodeType = 'text';
  12466. Node180_29._disallowEvert = true;
  12467. Node180_29.setRotation(0*Math.PI/180);
  12468. Node180_29.a('node.width', Node180_29width);
  12469. Node180_29.a('node.height', Node180_29height);
  12470. Node180_29.a('node.rect', [0, 0, Node180_29width, Node180_29height]);
  12471. Node180_29.a('node.bordercolor','rgba(0,0,0,1)');
  12472. Node180_29.a('node.borderwidth', 0);
  12473. Node180_29.a('node.background','' || 'rgba(0,0,0,0)');
  12474. Node180_29.a('node.gradient','');
  12475. Node180_29.a('node.gradientcolor','');
  12476. Node180_29.a('node.text','故障');
  12477. Node180_29.a('node.textalign','left');
  12478. Node180_29.a('node.textvAlign','middle');
  12479. Node180_29.a('node.textrect', [Node180_29textStart, 0, Node180_29textWidth, Node180_29height]);
  12480. Node180_29.a('node.color','rgba(0,0,0,1)');
  12481. Node180_29.a('node.font',' '+ Node180_29fontSize + 'px "Arial"');
  12482. Node180_29.a('node.textvisible',true);
  12483. Node180_29.a('node.linefeed',false);
  12484. if (false) {
  12485. Node180_29.a('node.textfunc',function(g) {
  12486. g.beginPath();
  12487. var str=Node180_29.a('node.text') || '故障';
  12488. var color=Node180_29.a('node.color') || 'rgba(0,0,0,1)';
  12489. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_29width,Node180_29height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_29fontSize + 'px "Arial"', 0,g);
  12490. });
  12491. }
  12492. if (false) {
  12493. Node180_29.a('node.underlinepoints',[Node180_29lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_29fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node180_29fontSize + 'px "Arial"').width + 6, (Node180_29height - Node180_29fontSize) * 0.5*_ratio.ratioY + Node180_29fontSize + 2 ]);
  12494. Node180_29.a('node.underlinevisible',false);
  12495. Node180_29.a('node.underlineBorderWidth', 1);
  12496. }
  12497. dataModel.add(Node180_29);
  12498. zoomNodeList.push({
  12499. node: Node180_29,
  12500. borderWidth: 0,
  12501. attr: 'node.borderwidth'
  12502. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12503. var Node180_30 = new ht.Node();
  12504. var Node180_30textStart, Node180_30textWidth, Node180_30lineStart, Node180_30align = 'left', Node180_30fontSize = 13.3333*_ratio.ratioY,Node180_30width = 12*_ratio.ratioX, Node180_30height = 16*_ratio.ratioY;
  12505. (function () {
  12506. if (Node180_30align === 'left') {
  12507. Node180_30textStart = Node180_30fontSize * 0.2 > 2 ? Node180_30fontSize * 0.2 - 4 : Node180_30fontSize * 0.2 - 9;
  12508. Node180_30textWidth = Node180_30width;
  12509. Node180_30lineStart = 1;
  12510. } else if (Node180_30align === 'right') {
  12511. Node180_30textStart = 0;
  12512. Node180_30textWidth =Node180_30fontSize <= 8 ? Node180_30width + Node180_30fontSize * 0.2 + 6 : Node180_30width - Node180_30fontSize * 0.2;
  12513. Node180_30lineStart = (Node180_30width - (ht.Default.getTextSize('0', ' '+ Node180_30fontSize + 'px "Arial"').width + 6)) * 0.5;
  12514. } else if (Node180_30align === 'center') {
  12515. Node180_30textStart = -3;
  12516. Node180_30textWidth = Node180_30width;
  12517. Node180_30lineStart = Node180_30width - ht.Default.getTextSize('0', ' '+ Node180_30fontSize + 'px "Arial"').width - 11;
  12518. }
  12519. })();
  12520. Node180_30.setImage(GD.getTextJSON(Node180_30width, Node180_30height, true, false, false, ' '+ Node180_30fontSize + 'px "Arial"'))
  12521. Node180_30.setPosition(1517*ratio.ratioX, 204*ratio.ratioY);
  12522. Node180_30.setWidth(Node180_30width);
  12523. Node180_30.setHeight(Node180_30height);
  12524. Node180_30._nodeType = 'text';
  12525. Node180_30._disallowEvert = true;
  12526. Node180_30.setRotation(0*Math.PI/180);
  12527. Node180_30.a('node.width', Node180_30width);
  12528. Node180_30.a('node.height', Node180_30height);
  12529. Node180_30.a('node.rect', [0, 0, Node180_30width, Node180_30height]);
  12530. Node180_30.a('node.bordercolor','rgba(0,0,0,1)');
  12531. Node180_30.a('node.borderwidth', 0);
  12532. Node180_30.a('node.background','' || 'rgba(0,0,0,0)');
  12533. Node180_30.a('node.gradient','');
  12534. Node180_30.a('node.gradientcolor','');
  12535. Node180_30.a('node.text','0');
  12536. Node180_30.a('node.textalign','left');
  12537. Node180_30.a('node.textvAlign','middle');
  12538. Node180_30.a('node.textrect', [Node180_30textStart, 0, Node180_30textWidth, Node180_30height]);
  12539. Node180_30.a('node.color','rgba(0,0,0,1)');
  12540. Node180_30.a('node.font',' '+ Node180_30fontSize + 'px "Arial"');
  12541. Node180_30.a('node.textvisible',true);
  12542. Node180_30.a('node.linefeed',false);
  12543. if (false) {
  12544. Node180_30.a('node.textfunc',function(g) {
  12545. g.beginPath();
  12546. var str=Node180_30.a('node.text') || '0';
  12547. var color=Node180_30.a('node.color') || 'rgba(0,0,0,1)';
  12548. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_30width,Node180_30height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_30fontSize + 'px "Arial"', 0,g);
  12549. });
  12550. }
  12551. if (false) {
  12552. Node180_30.a('node.underlinepoints',[Node180_30lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_30fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180_30fontSize + 'px "Arial"').width + 6, (Node180_30height - Node180_30fontSize) * 0.5*_ratio.ratioY + Node180_30fontSize + 2 ]);
  12553. Node180_30.a('node.underlinevisible',false);
  12554. Node180_30.a('node.underlineBorderWidth', 1);
  12555. }
  12556. dataModel.add(Node180_30);
  12557. zoomNodeList.push({
  12558. node: Node180_30,
  12559. borderWidth: 0,
  12560. attr: 'node.borderwidth'
  12561. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12562. var Node180_31 = new ht.Node();
  12563. var Node180_31textStart, Node180_31textWidth, Node180_31lineStart, Node180_31align = 'left', Node180_31fontSize = 13.3333*_ratio.ratioY,Node180_31width = 19*_ratio.ratioX, Node180_31height = 16*_ratio.ratioY;
  12564. (function () {
  12565. if (Node180_31align === 'left') {
  12566. Node180_31textStart = Node180_31fontSize * 0.2 > 2 ? Node180_31fontSize * 0.2 - 4 : Node180_31fontSize * 0.2 - 9;
  12567. Node180_31textWidth = Node180_31width;
  12568. Node180_31lineStart = 1;
  12569. } else if (Node180_31align === 'right') {
  12570. Node180_31textStart = 0;
  12571. Node180_31textWidth =Node180_31fontSize <= 8 ? Node180_31width + Node180_31fontSize * 0.2 + 6 : Node180_31width - Node180_31fontSize * 0.2;
  12572. Node180_31lineStart = (Node180_31width - (ht.Default.getTextSize('台', ' '+ Node180_31fontSize + 'px "Arial"').width + 6)) * 0.5;
  12573. } else if (Node180_31align === 'center') {
  12574. Node180_31textStart = -3;
  12575. Node180_31textWidth = Node180_31width;
  12576. Node180_31lineStart = Node180_31width - ht.Default.getTextSize('台', ' '+ Node180_31fontSize + 'px "Arial"').width - 11;
  12577. }
  12578. })();
  12579. Node180_31.setImage(GD.getTextJSON(Node180_31width, Node180_31height, true, false, false, ' '+ Node180_31fontSize + 'px "Arial"'))
  12580. Node180_31.setPosition(1562*ratio.ratioX, 230*ratio.ratioY);
  12581. Node180_31.setWidth(Node180_31width);
  12582. Node180_31.setHeight(Node180_31height);
  12583. Node180_31._nodeType = 'text';
  12584. Node180_31._disallowEvert = true;
  12585. Node180_31.setRotation(0*Math.PI/180);
  12586. Node180_31.a('node.width', Node180_31width);
  12587. Node180_31.a('node.height', Node180_31height);
  12588. Node180_31.a('node.rect', [0, 0, Node180_31width, Node180_31height]);
  12589. Node180_31.a('node.bordercolor','rgba(0,0,0,1)');
  12590. Node180_31.a('node.borderwidth', 0);
  12591. Node180_31.a('node.background','' || 'rgba(0,0,0,0)');
  12592. Node180_31.a('node.gradient','');
  12593. Node180_31.a('node.gradientcolor','');
  12594. Node180_31.a('node.text','台');
  12595. Node180_31.a('node.textalign','left');
  12596. Node180_31.a('node.textvAlign','middle');
  12597. Node180_31.a('node.textrect', [Node180_31textStart, 0, Node180_31textWidth, Node180_31height]);
  12598. Node180_31.a('node.color','rgba(0,0,0,1)');
  12599. Node180_31.a('node.font',' '+ Node180_31fontSize + 'px "Arial"');
  12600. Node180_31.a('node.textvisible',true);
  12601. Node180_31.a('node.linefeed',false);
  12602. if (false) {
  12603. Node180_31.a('node.textfunc',function(g) {
  12604. g.beginPath();
  12605. var str=Node180_31.a('node.text') || '台';
  12606. var color=Node180_31.a('node.color') || 'rgba(0,0,0,1)';
  12607. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_31width,Node180_31height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_31fontSize + 'px "Arial"', 0,g);
  12608. });
  12609. }
  12610. if (false) {
  12611. Node180_31.a('node.underlinepoints',[Node180_31lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_31fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_31fontSize + 'px "Arial"').width + 6, (Node180_31height - Node180_31fontSize) * 0.5*_ratio.ratioY + Node180_31fontSize + 2 ]);
  12612. Node180_31.a('node.underlinevisible',false);
  12613. Node180_31.a('node.underlineBorderWidth', 1);
  12614. }
  12615. dataModel.add(Node180_31);
  12616. zoomNodeList.push({
  12617. node: Node180_31,
  12618. borderWidth: 0,
  12619. attr: 'node.borderwidth'
  12620. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12621. var Node180_32type = 'rect';
  12622. var Node180_32 = new ht.Node(),
  12623. Node180_32BorderWidth = 1*2;
  12624. if (Node180_32type === 'arc') {
  12625. Node180_32BorderWidth *= 1;
  12626. }
  12627. Node180_32.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node180_32type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12628. Node180_32.setPosition(1690*ratio.ratioX, 211*ratio.ratioY);
  12629. Node180_32.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
  12630. Node180_32.s({
  12631. 'pixelPerfect':true
  12632. /*@AddPara@*/
  12633. });
  12634. Node180_32.a('node.width', 105*_ratio.ratioX);
  12635. Node180_32.a('node.height', 78*_ratio.ratioY);
  12636. Node180_32.a('node.type', Node180_32type);
  12637. Node180_32.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
  12638. Node180_32.a('node.background', 'rgba(255,255,255,0.003921569)');
  12639. Node180_32.a('node.gradientcolor', '');
  12640. Node180_32.a('node.gradient', '');
  12641. Node180_32.a('node.borderwidth', Node180_32BorderWidth);
  12642. Node180_32.a('node.color', 'rgba(192,192,192,1)');
  12643. Node180_32.a('node.fillrect', [0,0,0,0]);
  12644. Node180_32.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12645. Node180_32.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12646. Node180_32.a('node.fillgradient', '');
  12647. if (Node180_32type !== 'rect') {
  12648. Node180_32.a('node.arcFrom', parseFloat('@arcFrom@'));
  12649. Node180_32.a('node.arcTo', parseFloat('@arcTo@'));
  12650. Node180_32.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12651. }
  12652. if (Node180_32type === 'arc') {
  12653. Node180_32.a('node.arcOval', true);
  12654. }
  12655. Node180_32.setRotation(0*Math.PI/180);
  12656. Node180_32.borderWidth = Node180_32BorderWidth;
  12657. Node180_32.borderFillwidth = Node180_32BorderWidth;
  12658. dataModel.add(Node180_32);
  12659. Node180_32._nodename = 'Node180_32'
  12660. Node180_32._nodeType = 'rect';
  12661. zoomNodeList.push({
  12662. node: Node180_32,
  12663. attr: 'node.borderwidth'
  12664. });
  12665. (function (node, _img) {
  12666. var setWidth = node.setWidth,
  12667. setHeight = node.setHeight;
  12668. node.setWidth = function (width) {
  12669. if (width === this.getWidth()) return ;
  12670. var height = this.getHeight();
  12671. this.a('node.width', width);
  12672. this.a('node.rect', [0,0,width, height]);
  12673. setWidth.apply(this, arguments);
  12674. }
  12675. node.setHeight = function (height) {
  12676. if (height === this.getHeight()) return ;
  12677. var width = this.getWidth();
  12678. this.a('node.height', height);
  12679. this.a('node.rect', [0,0,width, height]);
  12680. setHeight.apply(this, arguments);
  12681. }
  12682. })(Node180_32, Node180_32.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12683. var Node180_33 = new ht.Node();
  12684. var Node180_33textStart, Node180_33textWidth, Node180_33lineStart, Node180_33align = 'left', Node180_33fontSize = 13.3333*_ratio.ratioY,Node180_33width = 34*_ratio.ratioX, Node180_33height = 16*_ratio.ratioY;
  12685. (function () {
  12686. if (Node180_33align === 'left') {
  12687. Node180_33textStart = Node180_33fontSize * 0.2 > 2 ? Node180_33fontSize * 0.2 - 4 : Node180_33fontSize * 0.2 - 9;
  12688. Node180_33textWidth = Node180_33width;
  12689. Node180_33lineStart = 1;
  12690. } else if (Node180_33align === 'right') {
  12691. Node180_33textStart = 0;
  12692. Node180_33textWidth =Node180_33fontSize <= 8 ? Node180_33width + Node180_33fontSize * 0.2 + 6 : Node180_33width - Node180_33fontSize * 0.2;
  12693. Node180_33lineStart = (Node180_33width - (ht.Default.getTextSize('限电', ' '+ Node180_33fontSize + 'px "Arial"').width + 6)) * 0.5;
  12694. } else if (Node180_33align === 'center') {
  12695. Node180_33textStart = -3;
  12696. Node180_33textWidth = Node180_33width;
  12697. Node180_33lineStart = Node180_33width - ht.Default.getTextSize('限电', ' '+ Node180_33fontSize + 'px "Arial"').width - 11;
  12698. }
  12699. })();
  12700. Node180_33.setImage(GD.getTextJSON(Node180_33width, Node180_33height, true, false, false, ' '+ Node180_33fontSize + 'px "Arial"'))
  12701. Node180_33.setPosition(1661*ratio.ratioX, 184*ratio.ratioY);
  12702. Node180_33.setWidth(Node180_33width);
  12703. Node180_33.setHeight(Node180_33height);
  12704. Node180_33._nodeType = 'text';
  12705. Node180_33._disallowEvert = true;
  12706. Node180_33.setRotation(0*Math.PI/180);
  12707. Node180_33.a('node.width', Node180_33width);
  12708. Node180_33.a('node.height', Node180_33height);
  12709. Node180_33.a('node.rect', [0, 0, Node180_33width, Node180_33height]);
  12710. Node180_33.a('node.bordercolor','rgba(0,0,0,1)');
  12711. Node180_33.a('node.borderwidth', 0);
  12712. Node180_33.a('node.background','' || 'rgba(0,0,0,0)');
  12713. Node180_33.a('node.gradient','');
  12714. Node180_33.a('node.gradientcolor','');
  12715. Node180_33.a('node.text','限电');
  12716. Node180_33.a('node.textalign','left');
  12717. Node180_33.a('node.textvAlign','middle');
  12718. Node180_33.a('node.textrect', [Node180_33textStart, 0, Node180_33textWidth, Node180_33height]);
  12719. Node180_33.a('node.color','rgba(0,0,0,1)');
  12720. Node180_33.a('node.font',' '+ Node180_33fontSize + 'px "Arial"');
  12721. Node180_33.a('node.textvisible',true);
  12722. Node180_33.a('node.linefeed',false);
  12723. if (false) {
  12724. Node180_33.a('node.textfunc',function(g) {
  12725. g.beginPath();
  12726. var str=Node180_33.a('node.text') || '限电';
  12727. var color=Node180_33.a('node.color') || 'rgba(0,0,0,1)';
  12728. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_33width,Node180_33height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_33fontSize + 'px "Arial"', 0,g);
  12729. });
  12730. }
  12731. if (false) {
  12732. Node180_33.a('node.underlinepoints',[Node180_33lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_33fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node180_33fontSize + 'px "Arial"').width + 6, (Node180_33height - Node180_33fontSize) * 0.5*_ratio.ratioY + Node180_33fontSize + 2 ]);
  12733. Node180_33.a('node.underlinevisible',false);
  12734. Node180_33.a('node.underlineBorderWidth', 1);
  12735. }
  12736. dataModel.add(Node180_33);
  12737. zoomNodeList.push({
  12738. node: Node180_33,
  12739. borderWidth: 0,
  12740. attr: 'node.borderwidth'
  12741. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12742. var Node180_34 = new ht.Node();
  12743. var Node180_34textStart, Node180_34textWidth, Node180_34lineStart, Node180_34align = 'left', Node180_34fontSize = 13.3333*_ratio.ratioY,Node180_34width = 12*_ratio.ratioX, Node180_34height = 16*_ratio.ratioY;
  12744. (function () {
  12745. if (Node180_34align === 'left') {
  12746. Node180_34textStart = Node180_34fontSize * 0.2 > 2 ? Node180_34fontSize * 0.2 - 4 : Node180_34fontSize * 0.2 - 9;
  12747. Node180_34textWidth = Node180_34width;
  12748. Node180_34lineStart = 1;
  12749. } else if (Node180_34align === 'right') {
  12750. Node180_34textStart = 0;
  12751. Node180_34textWidth =Node180_34fontSize <= 8 ? Node180_34width + Node180_34fontSize * 0.2 + 6 : Node180_34width - Node180_34fontSize * 0.2;
  12752. Node180_34lineStart = (Node180_34width - (ht.Default.getTextSize('0', ' '+ Node180_34fontSize + 'px "Arial"').width + 6)) * 0.5;
  12753. } else if (Node180_34align === 'center') {
  12754. Node180_34textStart = -3;
  12755. Node180_34textWidth = Node180_34width;
  12756. Node180_34lineStart = Node180_34width - ht.Default.getTextSize('0', ' '+ Node180_34fontSize + 'px "Arial"').width - 11;
  12757. }
  12758. })();
  12759. Node180_34.setImage(GD.getTextJSON(Node180_34width, Node180_34height, true, false, false, ' '+ Node180_34fontSize + 'px "Arial"'))
  12760. Node180_34.setPosition(1675*ratio.ratioX, 204*ratio.ratioY);
  12761. Node180_34.setWidth(Node180_34width);
  12762. Node180_34.setHeight(Node180_34height);
  12763. Node180_34._nodeType = 'text';
  12764. Node180_34._disallowEvert = true;
  12765. Node180_34.setRotation(0*Math.PI/180);
  12766. Node180_34.a('node.width', Node180_34width);
  12767. Node180_34.a('node.height', Node180_34height);
  12768. Node180_34.a('node.rect', [0, 0, Node180_34width, Node180_34height]);
  12769. Node180_34.a('node.bordercolor','rgba(0,0,0,1)');
  12770. Node180_34.a('node.borderwidth', 0);
  12771. Node180_34.a('node.background','' || 'rgba(0,0,0,0)');
  12772. Node180_34.a('node.gradient','');
  12773. Node180_34.a('node.gradientcolor','');
  12774. Node180_34.a('node.text','0');
  12775. Node180_34.a('node.textalign','left');
  12776. Node180_34.a('node.textvAlign','middle');
  12777. Node180_34.a('node.textrect', [Node180_34textStart, 0, Node180_34textWidth, Node180_34height]);
  12778. Node180_34.a('node.color','rgba(0,0,0,1)');
  12779. Node180_34.a('node.font',' '+ Node180_34fontSize + 'px "Arial"');
  12780. Node180_34.a('node.textvisible',true);
  12781. Node180_34.a('node.linefeed',false);
  12782. if (false) {
  12783. Node180_34.a('node.textfunc',function(g) {
  12784. g.beginPath();
  12785. var str=Node180_34.a('node.text') || '0';
  12786. var color=Node180_34.a('node.color') || 'rgba(0,0,0,1)';
  12787. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_34width,Node180_34height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_34fontSize + 'px "Arial"', 0,g);
  12788. });
  12789. }
  12790. if (false) {
  12791. Node180_34.a('node.underlinepoints',[Node180_34lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_34fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180_34fontSize + 'px "Arial"').width + 6, (Node180_34height - Node180_34fontSize) * 0.5*_ratio.ratioY + Node180_34fontSize + 2 ]);
  12792. Node180_34.a('node.underlinevisible',false);
  12793. Node180_34.a('node.underlineBorderWidth', 1);
  12794. }
  12795. dataModel.add(Node180_34);
  12796. zoomNodeList.push({
  12797. node: Node180_34,
  12798. borderWidth: 0,
  12799. attr: 'node.borderwidth'
  12800. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12801. var Node180_35 = new ht.Node();
  12802. var Node180_35textStart, Node180_35textWidth, Node180_35lineStart, Node180_35align = 'left', Node180_35fontSize = 13.3333*_ratio.ratioY,Node180_35width = 19*_ratio.ratioX, Node180_35height = 16*_ratio.ratioY;
  12803. (function () {
  12804. if (Node180_35align === 'left') {
  12805. Node180_35textStart = Node180_35fontSize * 0.2 > 2 ? Node180_35fontSize * 0.2 - 4 : Node180_35fontSize * 0.2 - 9;
  12806. Node180_35textWidth = Node180_35width;
  12807. Node180_35lineStart = 1;
  12808. } else if (Node180_35align === 'right') {
  12809. Node180_35textStart = 0;
  12810. Node180_35textWidth =Node180_35fontSize <= 8 ? Node180_35width + Node180_35fontSize * 0.2 + 6 : Node180_35width - Node180_35fontSize * 0.2;
  12811. Node180_35lineStart = (Node180_35width - (ht.Default.getTextSize('台', ' '+ Node180_35fontSize + 'px "Arial"').width + 6)) * 0.5;
  12812. } else if (Node180_35align === 'center') {
  12813. Node180_35textStart = -3;
  12814. Node180_35textWidth = Node180_35width;
  12815. Node180_35lineStart = Node180_35width - ht.Default.getTextSize('台', ' '+ Node180_35fontSize + 'px "Arial"').width - 11;
  12816. }
  12817. })();
  12818. Node180_35.setImage(GD.getTextJSON(Node180_35width, Node180_35height, true, false, false, ' '+ Node180_35fontSize + 'px "Arial"'))
  12819. Node180_35.setPosition(1719*ratio.ratioX, 230*ratio.ratioY);
  12820. Node180_35.setWidth(Node180_35width);
  12821. Node180_35.setHeight(Node180_35height);
  12822. Node180_35._nodeType = 'text';
  12823. Node180_35._disallowEvert = true;
  12824. Node180_35.setRotation(0*Math.PI/180);
  12825. Node180_35.a('node.width', Node180_35width);
  12826. Node180_35.a('node.height', Node180_35height);
  12827. Node180_35.a('node.rect', [0, 0, Node180_35width, Node180_35height]);
  12828. Node180_35.a('node.bordercolor','rgba(0,0,0,1)');
  12829. Node180_35.a('node.borderwidth', 0);
  12830. Node180_35.a('node.background','' || 'rgba(0,0,0,0)');
  12831. Node180_35.a('node.gradient','');
  12832. Node180_35.a('node.gradientcolor','');
  12833. Node180_35.a('node.text','台');
  12834. Node180_35.a('node.textalign','left');
  12835. Node180_35.a('node.textvAlign','middle');
  12836. Node180_35.a('node.textrect', [Node180_35textStart, 0, Node180_35textWidth, Node180_35height]);
  12837. Node180_35.a('node.color','rgba(0,0,0,1)');
  12838. Node180_35.a('node.font',' '+ Node180_35fontSize + 'px "Arial"');
  12839. Node180_35.a('node.textvisible',true);
  12840. Node180_35.a('node.linefeed',false);
  12841. if (false) {
  12842. Node180_35.a('node.textfunc',function(g) {
  12843. g.beginPath();
  12844. var str=Node180_35.a('node.text') || '台';
  12845. var color=Node180_35.a('node.color') || 'rgba(0,0,0,1)';
  12846. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_35width,Node180_35height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_35fontSize + 'px "Arial"', 0,g);
  12847. });
  12848. }
  12849. if (false) {
  12850. Node180_35.a('node.underlinepoints',[Node180_35lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_35fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_35fontSize + 'px "Arial"').width + 6, (Node180_35height - Node180_35fontSize) * 0.5*_ratio.ratioY + Node180_35fontSize + 2 ]);
  12851. Node180_35.a('node.underlinevisible',false);
  12852. Node180_35.a('node.underlineBorderWidth', 1);
  12853. }
  12854. dataModel.add(Node180_35);
  12855. zoomNodeList.push({
  12856. node: Node180_35,
  12857. borderWidth: 0,
  12858. attr: 'node.borderwidth'
  12859. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12860. var Node180_36type = 'rect';
  12861. var Node180_36 = new ht.Node(),
  12862. Node180_36BorderWidth = 1*2;
  12863. if (Node180_36type === 'arc') {
  12864. Node180_36BorderWidth *= 1;
  12865. }
  12866. Node180_36.setImage(GD.getRectJSON(92*_ratio.ratioX, 78*_ratio.ratioY, Node180_36type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  12867. Node180_36.setPosition(1841*ratio.ratioX, 211*ratio.ratioY);
  12868. Node180_36.setSize(92*_ratio.ratioX, 78*_ratio.ratioY);
  12869. Node180_36.s({
  12870. 'pixelPerfect':true
  12871. /*@AddPara@*/
  12872. });
  12873. Node180_36.a('node.width', 92*_ratio.ratioX);
  12874. Node180_36.a('node.height', 78*_ratio.ratioY);
  12875. Node180_36.a('node.type', Node180_36type);
  12876. Node180_36.a('node.rect', [0, 0, 92*_ratio.ratioX, 78*_ratio.ratioY]);
  12877. Node180_36.a('node.background', 'rgba(255,255,255,0.003921569)');
  12878. Node180_36.a('node.gradientcolor', '');
  12879. Node180_36.a('node.gradient', '');
  12880. Node180_36.a('node.borderwidth', Node180_36BorderWidth);
  12881. Node180_36.a('node.color', 'rgba(192,192,192,1)');
  12882. Node180_36.a('node.fillrect', [0,0,0,0]);
  12883. Node180_36.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  12884. Node180_36.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  12885. Node180_36.a('node.fillgradient', '');
  12886. if (Node180_36type !== 'rect') {
  12887. Node180_36.a('node.arcFrom', parseFloat('@arcFrom@'));
  12888. Node180_36.a('node.arcTo', parseFloat('@arcTo@'));
  12889. Node180_36.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  12890. }
  12891. if (Node180_36type === 'arc') {
  12892. Node180_36.a('node.arcOval', true);
  12893. }
  12894. Node180_36.setRotation(0*Math.PI/180);
  12895. Node180_36.borderWidth = Node180_36BorderWidth;
  12896. Node180_36.borderFillwidth = Node180_36BorderWidth;
  12897. dataModel.add(Node180_36);
  12898. Node180_36._nodename = 'Node180_36'
  12899. Node180_36._nodeType = 'rect';
  12900. zoomNodeList.push({
  12901. node: Node180_36,
  12902. attr: 'node.borderwidth'
  12903. });
  12904. (function (node, _img) {
  12905. var setWidth = node.setWidth,
  12906. setHeight = node.setHeight;
  12907. node.setWidth = function (width) {
  12908. if (width === this.getWidth()) return ;
  12909. var height = this.getHeight();
  12910. this.a('node.width', width);
  12911. this.a('node.rect', [0,0,width, height]);
  12912. setWidth.apply(this, arguments);
  12913. }
  12914. node.setHeight = function (height) {
  12915. if (height === this.getHeight()) return ;
  12916. var width = this.getWidth();
  12917. this.a('node.height', height);
  12918. this.a('node.rect', [0,0,width, height]);
  12919. setHeight.apply(this, arguments);
  12920. }
  12921. })(Node180_36, Node180_36.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12922. var Node180_37 = new ht.Node();
  12923. var Node180_37textStart, Node180_37textWidth, Node180_37lineStart, Node180_37align = 'left', Node180_37fontSize = 13.3333*_ratio.ratioY,Node180_37width = 34*_ratio.ratioX, Node180_37height = 16*_ratio.ratioY;
  12924. (function () {
  12925. if (Node180_37align === 'left') {
  12926. Node180_37textStart = Node180_37fontSize * 0.2 > 2 ? Node180_37fontSize * 0.2 - 4 : Node180_37fontSize * 0.2 - 9;
  12927. Node180_37textWidth = Node180_37width;
  12928. Node180_37lineStart = 1;
  12929. } else if (Node180_37align === 'right') {
  12930. Node180_37textStart = 0;
  12931. Node180_37textWidth =Node180_37fontSize <= 8 ? Node180_37width + Node180_37fontSize * 0.2 + 6 : Node180_37width - Node180_37fontSize * 0.2;
  12932. Node180_37lineStart = (Node180_37width - (ht.Default.getTextSize('离线', ' '+ Node180_37fontSize + 'px "Arial"').width + 6)) * 0.5;
  12933. } else if (Node180_37align === 'center') {
  12934. Node180_37textStart = -3;
  12935. Node180_37textWidth = Node180_37width;
  12936. Node180_37lineStart = Node180_37width - ht.Default.getTextSize('离线', ' '+ Node180_37fontSize + 'px "Arial"').width - 11;
  12937. }
  12938. })();
  12939. Node180_37.setImage(GD.getTextJSON(Node180_37width, Node180_37height, true, false, false, ' '+ Node180_37fontSize + 'px "Arial"'))
  12940. Node180_37.setPosition(1818*ratio.ratioX, 184*ratio.ratioY);
  12941. Node180_37.setWidth(Node180_37width);
  12942. Node180_37.setHeight(Node180_37height);
  12943. Node180_37._nodeType = 'text';
  12944. Node180_37._disallowEvert = true;
  12945. Node180_37.setRotation(0*Math.PI/180);
  12946. Node180_37.a('node.width', Node180_37width);
  12947. Node180_37.a('node.height', Node180_37height);
  12948. Node180_37.a('node.rect', [0, 0, Node180_37width, Node180_37height]);
  12949. Node180_37.a('node.bordercolor','rgba(0,0,0,1)');
  12950. Node180_37.a('node.borderwidth', 0);
  12951. Node180_37.a('node.background','' || 'rgba(0,0,0,0)');
  12952. Node180_37.a('node.gradient','');
  12953. Node180_37.a('node.gradientcolor','');
  12954. Node180_37.a('node.text','离线');
  12955. Node180_37.a('node.textalign','left');
  12956. Node180_37.a('node.textvAlign','middle');
  12957. Node180_37.a('node.textrect', [Node180_37textStart, 0, Node180_37textWidth, Node180_37height]);
  12958. Node180_37.a('node.color','rgba(0,0,0,1)');
  12959. Node180_37.a('node.font',' '+ Node180_37fontSize + 'px "Arial"');
  12960. Node180_37.a('node.textvisible',true);
  12961. Node180_37.a('node.linefeed',false);
  12962. if (false) {
  12963. Node180_37.a('node.textfunc',function(g) {
  12964. g.beginPath();
  12965. var str=Node180_37.a('node.text') || '离线';
  12966. var color=Node180_37.a('node.color') || 'rgba(0,0,0,1)';
  12967. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_37width,Node180_37height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_37fontSize + 'px "Arial"', 0,g);
  12968. });
  12969. }
  12970. if (false) {
  12971. Node180_37.a('node.underlinepoints',[Node180_37lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_37fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node180_37fontSize + 'px "Arial"').width + 6, (Node180_37height - Node180_37fontSize) * 0.5*_ratio.ratioY + Node180_37fontSize + 2 ]);
  12972. Node180_37.a('node.underlinevisible',false);
  12973. Node180_37.a('node.underlineBorderWidth', 1);
  12974. }
  12975. dataModel.add(Node180_37);
  12976. zoomNodeList.push({
  12977. node: Node180_37,
  12978. borderWidth: 0,
  12979. attr: 'node.borderwidth'
  12980. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  12981. var Node180_38 = new ht.Node();
  12982. var Node180_38textStart, Node180_38textWidth, Node180_38lineStart, Node180_38align = 'left', Node180_38fontSize = 13.3333*_ratio.ratioY,Node180_38width = 12*_ratio.ratioX, Node180_38height = 16*_ratio.ratioY;
  12983. (function () {
  12984. if (Node180_38align === 'left') {
  12985. Node180_38textStart = Node180_38fontSize * 0.2 > 2 ? Node180_38fontSize * 0.2 - 4 : Node180_38fontSize * 0.2 - 9;
  12986. Node180_38textWidth = Node180_38width;
  12987. Node180_38lineStart = 1;
  12988. } else if (Node180_38align === 'right') {
  12989. Node180_38textStart = 0;
  12990. Node180_38textWidth =Node180_38fontSize <= 8 ? Node180_38width + Node180_38fontSize * 0.2 + 6 : Node180_38width - Node180_38fontSize * 0.2;
  12991. Node180_38lineStart = (Node180_38width - (ht.Default.getTextSize('0', ' '+ Node180_38fontSize + 'px "Arial"').width + 6)) * 0.5;
  12992. } else if (Node180_38align === 'center') {
  12993. Node180_38textStart = -3;
  12994. Node180_38textWidth = Node180_38width;
  12995. Node180_38lineStart = Node180_38width - ht.Default.getTextSize('0', ' '+ Node180_38fontSize + 'px "Arial"').width - 11;
  12996. }
  12997. })();
  12998. Node180_38.setImage(GD.getTextJSON(Node180_38width, Node180_38height, true, false, false, ' '+ Node180_38fontSize + 'px "Arial"'))
  12999. Node180_38.setPosition(1832*ratio.ratioX, 204*ratio.ratioY);
  13000. Node180_38.setWidth(Node180_38width);
  13001. Node180_38.setHeight(Node180_38height);
  13002. Node180_38._nodeType = 'text';
  13003. Node180_38._disallowEvert = true;
  13004. Node180_38.setRotation(0*Math.PI/180);
  13005. Node180_38.a('node.width', Node180_38width);
  13006. Node180_38.a('node.height', Node180_38height);
  13007. Node180_38.a('node.rect', [0, 0, Node180_38width, Node180_38height]);
  13008. Node180_38.a('node.bordercolor','rgba(0,0,0,1)');
  13009. Node180_38.a('node.borderwidth', 0);
  13010. Node180_38.a('node.background','' || 'rgba(0,0,0,0)');
  13011. Node180_38.a('node.gradient','');
  13012. Node180_38.a('node.gradientcolor','');
  13013. Node180_38.a('node.text','0');
  13014. Node180_38.a('node.textalign','left');
  13015. Node180_38.a('node.textvAlign','middle');
  13016. Node180_38.a('node.textrect', [Node180_38textStart, 0, Node180_38textWidth, Node180_38height]);
  13017. Node180_38.a('node.color','rgba(0,0,0,1)');
  13018. Node180_38.a('node.font',' '+ Node180_38fontSize + 'px "Arial"');
  13019. Node180_38.a('node.textvisible',true);
  13020. Node180_38.a('node.linefeed',false);
  13021. if (false) {
  13022. Node180_38.a('node.textfunc',function(g) {
  13023. g.beginPath();
  13024. var str=Node180_38.a('node.text') || '0';
  13025. var color=Node180_38.a('node.color') || 'rgba(0,0,0,1)';
  13026. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_38width,Node180_38height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_38fontSize + 'px "Arial"', 0,g);
  13027. });
  13028. }
  13029. if (false) {
  13030. Node180_38.a('node.underlinepoints',[Node180_38lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_38fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180_38fontSize + 'px "Arial"').width + 6, (Node180_38height - Node180_38fontSize) * 0.5*_ratio.ratioY + Node180_38fontSize + 2 ]);
  13031. Node180_38.a('node.underlinevisible',false);
  13032. Node180_38.a('node.underlineBorderWidth', 1);
  13033. }
  13034. dataModel.add(Node180_38);
  13035. zoomNodeList.push({
  13036. node: Node180_38,
  13037. borderWidth: 0,
  13038. attr: 'node.borderwidth'
  13039. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13040. var Node180_39 = new ht.Node();
  13041. var Node180_39textStart, Node180_39textWidth, Node180_39lineStart, Node180_39align = 'left', Node180_39fontSize = 13.3333*_ratio.ratioY,Node180_39width = 19*_ratio.ratioX, Node180_39height = 16*_ratio.ratioY;
  13042. (function () {
  13043. if (Node180_39align === 'left') {
  13044. Node180_39textStart = Node180_39fontSize * 0.2 > 2 ? Node180_39fontSize * 0.2 - 4 : Node180_39fontSize * 0.2 - 9;
  13045. Node180_39textWidth = Node180_39width;
  13046. Node180_39lineStart = 1;
  13047. } else if (Node180_39align === 'right') {
  13048. Node180_39textStart = 0;
  13049. Node180_39textWidth =Node180_39fontSize <= 8 ? Node180_39width + Node180_39fontSize * 0.2 + 6 : Node180_39width - Node180_39fontSize * 0.2;
  13050. Node180_39lineStart = (Node180_39width - (ht.Default.getTextSize('台', ' '+ Node180_39fontSize + 'px "Arial"').width + 6)) * 0.5;
  13051. } else if (Node180_39align === 'center') {
  13052. Node180_39textStart = -3;
  13053. Node180_39textWidth = Node180_39width;
  13054. Node180_39lineStart = Node180_39width - ht.Default.getTextSize('台', ' '+ Node180_39fontSize + 'px "Arial"').width - 11;
  13055. }
  13056. })();
  13057. Node180_39.setImage(GD.getTextJSON(Node180_39width, Node180_39height, true, false, false, ' '+ Node180_39fontSize + 'px "Arial"'))
  13058. Node180_39.setPosition(1877*ratio.ratioX, 230*ratio.ratioY);
  13059. Node180_39.setWidth(Node180_39width);
  13060. Node180_39.setHeight(Node180_39height);
  13061. Node180_39._nodeType = 'text';
  13062. Node180_39._disallowEvert = true;
  13063. Node180_39.setRotation(0*Math.PI/180);
  13064. Node180_39.a('node.width', Node180_39width);
  13065. Node180_39.a('node.height', Node180_39height);
  13066. Node180_39.a('node.rect', [0, 0, Node180_39width, Node180_39height]);
  13067. Node180_39.a('node.bordercolor','rgba(0,0,0,1)');
  13068. Node180_39.a('node.borderwidth', 0);
  13069. Node180_39.a('node.background','' || 'rgba(0,0,0,0)');
  13070. Node180_39.a('node.gradient','');
  13071. Node180_39.a('node.gradientcolor','');
  13072. Node180_39.a('node.text','台');
  13073. Node180_39.a('node.textalign','left');
  13074. Node180_39.a('node.textvAlign','middle');
  13075. Node180_39.a('node.textrect', [Node180_39textStart, 0, Node180_39textWidth, Node180_39height]);
  13076. Node180_39.a('node.color','rgba(0,0,0,1)');
  13077. Node180_39.a('node.font',' '+ Node180_39fontSize + 'px "Arial"');
  13078. Node180_39.a('node.textvisible',true);
  13079. Node180_39.a('node.linefeed',false);
  13080. if (false) {
  13081. Node180_39.a('node.textfunc',function(g) {
  13082. g.beginPath();
  13083. var str=Node180_39.a('node.text') || '台';
  13084. var color=Node180_39.a('node.color') || 'rgba(0,0,0,1)';
  13085. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_39width,Node180_39height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_39fontSize + 'px "Arial"', 0,g);
  13086. });
  13087. }
  13088. if (false) {
  13089. Node180_39.a('node.underlinepoints',[Node180_39lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node180_39fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180_39fontSize + 'px "Arial"').width + 6, (Node180_39height - Node180_39fontSize) * 0.5*_ratio.ratioY + Node180_39fontSize + 2 ]);
  13090. Node180_39.a('node.underlinevisible',false);
  13091. Node180_39.a('node.underlineBorderWidth', 1);
  13092. }
  13093. dataModel.add(Node180_39);
  13094. zoomNodeList.push({
  13095. node: Node180_39,
  13096. borderWidth: 0,
  13097. attr: 'node.borderwidth'
  13098. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13099. var Node180_40type = 'rect';
  13100. var Node180_40 = new ht.Node(),
  13101. Node180_40BorderWidth = 0*2;
  13102. if (Node180_40type === 'arc') {
  13103. Node180_40BorderWidth *= 0;
  13104. }
  13105. Node180_40.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node180_40type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  13106. Node180_40.setPosition(770*ratio.ratioX, 356*ratio.ratioY);
  13107. Node180_40.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  13108. Node180_40.s({
  13109. 'pixelPerfect':true
  13110. /*@AddPara@*/
  13111. });
  13112. Node180_40.a('node.width', 27*_ratio.ratioX);
  13113. Node180_40.a('node.height', 208*_ratio.ratioY);
  13114. Node180_40.a('node.type', Node180_40type);
  13115. Node180_40.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  13116. Node180_40.a('node.background', 'rgba(32,191,135,1)');
  13117. Node180_40.a('node.gradientcolor', 'rgba(32,191,135,1)');
  13118. Node180_40.a('node.gradient', '');
  13119. Node180_40.a('node.borderwidth', Node180_40BorderWidth);
  13120. Node180_40.a('node.color', 'rgba(0,0,0,0)');
  13121. Node180_40.a('node.fillrect', [0,0,0,0]);
  13122. Node180_40.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  13123. Node180_40.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  13124. Node180_40.a('node.fillgradient', '');
  13125. if (Node180_40type !== 'rect') {
  13126. Node180_40.a('node.arcFrom', parseFloat('@arcFrom@'));
  13127. Node180_40.a('node.arcTo', parseFloat('@arcTo@'));
  13128. Node180_40.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  13129. }
  13130. if (Node180_40type === 'arc') {
  13131. Node180_40.a('node.arcOval', true);
  13132. }
  13133. Node180_40.setRotation(0*Math.PI/180);
  13134. Node180_40.borderWidth = Node180_40BorderWidth;
  13135. Node180_40.borderFillwidth = Node180_40BorderWidth;
  13136. dataModel.add(Node180_40);
  13137. Node180_40._nodename = 'Node180_40'
  13138. Node180_40._nodeType = 'rect';
  13139. zoomNodeList.push({
  13140. node: Node180_40,
  13141. attr: 'node.borderwidth'
  13142. });
  13143. (function (node, _img) {
  13144. var setWidth = node.setWidth,
  13145. setHeight = node.setHeight;
  13146. node.setWidth = function (width) {
  13147. if (width === this.getWidth()) return ;
  13148. var height = this.getHeight();
  13149. this.a('node.width', width);
  13150. this.a('node.rect', [0,0,width, height]);
  13151. setWidth.apply(this, arguments);
  13152. }
  13153. node.setHeight = function (height) {
  13154. if (height === this.getHeight()) return ;
  13155. var width = this.getWidth();
  13156. this.a('node.height', height);
  13157. this.a('node.rect', [0,0,width, height]);
  13158. setHeight.apply(this, arguments);
  13159. }
  13160. })(Node180_40, Node180_40.getImage());
  13161. var Node180_41style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
  13162. var Node180_41obj=getIndicatorAndSheBeiArr(Node180_41GroupVarName,Node180_41GroupInVarName);
  13163. var Node180_41series=getIndicatorOrShebeiInfo(Node180_41GroupVarName,Node180_41GroupInVarName,Node180_41style);
  13164. Node180_41series && Node180_41series[0] && (Node180_41series[0].barGap = 0);
  13165. var Node180_41option = {
  13166. tooltip : {
  13167. trigger: 'axis',
  13168. axisPointer : {
  13169. type : 'shadow',
  13170. shadowStyle: {
  13171. color: {
  13172. type: 'linear',
  13173. x: 0,
  13174. y: 0,
  13175. x2: 0,
  13176. y2: 1,
  13177. colorStops: [{
  13178. offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
  13179. }, {
  13180. offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
  13181. }],
  13182. globalCoord: false // 缺省为 false
  13183. },
  13184. opacity: 0.2
  13185. }
  13186. },
  13187. // formatter:function (params, ticket, callback) {
  13188. // console.log(params, ticket);
  13189. // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
  13190. // var result ;
  13191. // for (var i = 0, len = params.length; i < len; i++) {
  13192. // }
  13193. // }
  13194. },
  13195. grid: {
  13196. left: '0%',
  13197. right: '0%',
  13198. bottom: '3%',
  13199. top:'5%',
  13200. containLabel: true
  13201. },
  13202. legend:{
  13203. show:false,
  13204. data:Node180_41obj["indicatorArr"]
  13205. },
  13206. xAxis : [
  13207. {
  13208. type : 'category',
  13209. splitNumber:0,
  13210. data :Node180_41obj["shebeiArr"],
  13211. axisLine:{
  13212. lineStyle:{
  13213. color:'rgba(128,128,128,1)'
  13214. }
  13215. },
  13216. axisLabel:{
  13217. inside:false,
  13218. interval: 0,
  13219. textStyle:{
  13220. fontSize:"13.3333"
  13221. }
  13222. },
  13223. z: 10,
  13224. splitLine:{
  13225. show:false,
  13226. lineStyle:{
  13227. color:'rgba(211,211,211,1)'
  13228. }
  13229. }
  13230. }
  13231. ],
  13232. yAxis : [
  13233. {
  13234. type : 'value',
  13235. min:0,
  13236. max:1000,
  13237. axisTick:{
  13238. lineStyle:{
  13239. color:'rgba(128,128,128,1)'
  13240. }
  13241. },
  13242. precision:2,
  13243. axisLine:{
  13244. lineStyle:{
  13245. color:'rgba(128,128,128,1)'
  13246. }
  13247. },
  13248. axisLabel:{
  13249. textStyle:{
  13250. fontSize:"13.3333"
  13251. }
  13252. },
  13253. splitLine:{
  13254. show:true,
  13255. lineStyle:{
  13256. color:'rgba(211,211,211,1)'
  13257. }
  13258. }
  13259. }],
  13260. color: Node180_41obj.colorArr,
  13261. series : Node180_41series
  13262. };
  13263. var Node180_41 = new ht.HtmlNode();
  13264. var Node180_41BeginTime = "";
  13265. var Node180_41endTime = "";
  13266. var Node180_41yRange = 'fixed';
  13267. Node180_41.setPosition({'x':1064*ratio.ratioX,'y':361*ratio.ratioY});
  13268. Node180_41.setWidth(542*ratio.ratioX);
  13269. Node180_41.setHeight(208*ratio.ratioY);
  13270. Node180_41.setScalable(false);
  13271. Node180_41.s({
  13272. '2d.selectable': false,
  13273. '2d.movable': false
  13274. });
  13275. var Node180_41chart = new ht.Chart(Node180_41option, 542*ratio.ratioX, 208*ratio.ratioY);
  13276. Node180_41.setHtml( Node180_41chart);
  13277. var Node180_41_chart = Node180_41chart._chart;
  13278. dataModel.add(Node180_41);
  13279. function Node180_41Refresh(){
  13280. var option = Node180_41chart.getOption(),
  13281. _option = Node180_41_chart.getOption(),
  13282. ses = _option.series;
  13283. option.series = getIndicatorOrShebeiInfo(Node180_41GroupVarName,Node180_41GroupInVarName,Node180_41style);
  13284. if (Node180_41yRange === 'real') {
  13285. var maxAndMin = GD.getMaxAndMinFromSeries(ses);
  13286. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  13287. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  13288. }
  13289. Node180_41_chart.setOption(option, true);
  13290. }
  13291. function Node180_41Search() {
  13292. var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
  13293. // var tagsInfo = encodeURIComponent(Node180_41obj.tagArr.join(','));
  13294. var beginTime = "",
  13295. endTime = "",
  13296. type = 'static'; // 时间段:当日,当月,当年 。固定时间
  13297. var groupbarType = 'snap';
  13298. var beginTimeType = 'begin',
  13299. endTimeType = 'end';
  13300. var difTagsInfo = '',
  13301. staTagsInfo = '',
  13302. staTagArr = [],
  13303. difTagArr = [];
  13304. (function () {
  13305. var tagsType = Node180_41obj.statisticsTypeObj,
  13306. k, v;
  13307. for (var key in tagsType) {
  13308. if (tagsType.hasOwnProperty(key)) {
  13309. k = key;
  13310. v = tagsType[k];
  13311. if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
  13312. difTagArr.push(k);
  13313. } else {
  13314. staTagArr.push(k);
  13315. }
  13316. }
  13317. }
  13318. difTagsInfo = encodeURIComponent(difTagArr.join(','));
  13319. staTagsInfo = encodeURIComponent(staTagArr.join(','));
  13320. })();
  13321. if (groupbarType === 'snap') {
  13322. Node180_41Refresh()
  13323. return;
  13324. }
  13325. if (type === 'relday') {
  13326. if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
  13327. endTimeType = '';
  13328. }
  13329. } else if (type === 'relmonth') {
  13330. if (endTime === '0m') {
  13331. endTimeType = ''
  13332. }
  13333. } else if (type === 'relyear') {
  13334. if (endTime === '0y') {
  13335. endTimeType = ''
  13336. }
  13337. } else if (type === 'static') {
  13338. beginTimeType = '';
  13339. endTimeType = '';
  13340. } else {
  13341. beginTimeType = 'begin';
  13342. endTimeType = '';
  13343. }
  13344. beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
  13345. endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
  13346. var flag = 0,
  13347. staData,
  13348. difData;
  13349. if (!GD.testSearchTime(beginTime, endTime)) {
  13350. return false;
  13351. }
  13352. if (difTagsInfo) {
  13353. $.ajax({
  13354. url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
  13355. type: 'GET',
  13356. cache: false,
  13357. dataType: 'json',
  13358. success: function (datas) {
  13359. if (!datas) {
  13360. difData = {};
  13361. return ;
  13362. }
  13363. difData = datas;
  13364. },
  13365. complete: function (xhr) {
  13366. xhr = null;
  13367. flag ++;
  13368. }
  13369. });
  13370. } else {
  13371. flag ++;
  13372. difData = {};
  13373. complete();
  13374. }
  13375. if (staTagsInfo) {
  13376. $.ajax({
  13377. url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
  13378. type: 'GET',
  13379. cache: false,
  13380. dataType: 'json',
  13381. success: function (datas) {
  13382. if (!datas) {
  13383. staData = {};
  13384. return ;
  13385. }
  13386. staData = datas;
  13387. },
  13388. complete: function (xhr) {
  13389. xhr = null;
  13390. flag ++;
  13391. complete()
  13392. }
  13393. });
  13394. } else {
  13395. flag ++;
  13396. staData = {};
  13397. complete();
  13398. }
  13399. function complete() {
  13400. if (flag < 2) {
  13401. return ;
  13402. }
  13403. var datas = staData;
  13404. for (var key in difData) {
  13405. if (difData.hasOwnProperty(key)) {
  13406. if (!datas[key]) {
  13407. datas[key] = difData[key];
  13408. }
  13409. else {
  13410. for (var k in difData[key]) {
  13411. datas[key][k] = difData[key][k];
  13412. }
  13413. }
  13414. }
  13415. }
  13416. var option = Node180_41chart.getOption(),
  13417. _option = Node180_41_chart.getOption(),
  13418. ses = _option.series;
  13419. var series = [];
  13420. for (var i = 0, len = Node180_41GroupInVarName.length; i < len; i++) {
  13421. var indiacatorData = Node180_41GroupInVarName[i];
  13422. var data = {};
  13423. data.name = indiacatorData.displayName || indiacatorData.Desc;
  13424. data.type = 'bar';
  13425. data.data = [];
  13426. for (var j = 0, leng = Node180_41GroupVarName.length; j < leng; j++) {
  13427. var itemStyle={normal:{color:indiacatorData.color}};
  13428. data.itemStyle=itemStyle;
  13429. var deviceData = Node180_41GroupVarName[j];
  13430. var value = 0;
  13431. var tagName = '' + deviceData.Name + indiacatorData.Name;
  13432. var statisticsType = Node180_41obj.statisticsTypeObj && Node180_41obj.statisticsTypeObj[tagName];
  13433. value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
  13434. data.data.push(value);
  13435. }
  13436. series.push(data);
  13437. }
  13438. series && series[0] && (series[0].barGap = 0);
  13439. option.series = series;
  13440. if (Node180_41yRange === 'real') {
  13441. var maxAndMin = GD.getMaxAndMinFromSeries(series);
  13442. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  13443. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  13444. } else {
  13445. option.yAxis[0].min = 0;
  13446. option.yAxis[0].max = 1000;
  13447. }
  13448. Node180_41_chart.setOption(option, true);
  13449. }
  13450. }
  13451. if(true){
  13452. Node180_41Refresh();
  13453. intervalTimers.push(setInterval(function(){
  13454. Node180_41Refresh();
  13455. },1000));
  13456. } else {
  13457. // Node180_41Search();
  13458. }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13459. var Node180_42type = 'rect';
  13460. var Node180_42 = new ht.Node(),
  13461. Node180_42BorderWidth = 0*2;
  13462. if (Node180_42type === 'arc') {
  13463. Node180_42BorderWidth *= 0;
  13464. }
  13465. Node180_42.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node180_42type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  13466. Node180_42.setPosition(1370*ratio.ratioX, 357*ratio.ratioY);
  13467. Node180_42.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  13468. Node180_42.s({
  13469. 'pixelPerfect':true
  13470. /*@AddPara@*/
  13471. });
  13472. Node180_42.a('node.width', 27*_ratio.ratioX);
  13473. Node180_42.a('node.height', 208*_ratio.ratioY);
  13474. Node180_42.a('node.type', Node180_42type);
  13475. Node180_42.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  13476. Node180_42.a('node.background', 'rgba(32,191,135,1)');
  13477. Node180_42.a('node.gradientcolor', 'rgba(32,191,135,1)');
  13478. Node180_42.a('node.gradient', '');
  13479. Node180_42.a('node.borderwidth', Node180_42BorderWidth);
  13480. Node180_42.a('node.color', 'rgba(0,0,0,0)');
  13481. Node180_42.a('node.fillrect', [0,0,0,0]);
  13482. Node180_42.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  13483. Node180_42.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  13484. Node180_42.a('node.fillgradient', '');
  13485. if (Node180_42type !== 'rect') {
  13486. Node180_42.a('node.arcFrom', parseFloat('@arcFrom@'));
  13487. Node180_42.a('node.arcTo', parseFloat('@arcTo@'));
  13488. Node180_42.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  13489. }
  13490. if (Node180_42type === 'arc') {
  13491. Node180_42.a('node.arcOval', true);
  13492. }
  13493. Node180_42.setRotation(0*Math.PI/180);
  13494. Node180_42.borderWidth = Node180_42BorderWidth;
  13495. Node180_42.borderFillwidth = Node180_42BorderWidth;
  13496. dataModel.add(Node180_42);
  13497. Node180_42._nodename = 'Node180_42'
  13498. Node180_42._nodeType = 'rect';
  13499. zoomNodeList.push({
  13500. node: Node180_42,
  13501. attr: 'node.borderwidth'
  13502. });
  13503. (function (node, _img) {
  13504. var setWidth = node.setWidth,
  13505. setHeight = node.setHeight;
  13506. node.setWidth = function (width) {
  13507. if (width === this.getWidth()) return ;
  13508. var height = this.getHeight();
  13509. this.a('node.width', width);
  13510. this.a('node.rect', [0,0,width, height]);
  13511. setWidth.apply(this, arguments);
  13512. }
  13513. node.setHeight = function (height) {
  13514. if (height === this.getHeight()) return ;
  13515. var width = this.getWidth();
  13516. this.a('node.height', height);
  13517. this.a('node.rect', [0,0,width, height]);
  13518. setHeight.apply(this, arguments);
  13519. }
  13520. })(Node180_42, Node180_42.getImage());option = {
  13521. tooltip : {
  13522. formatter: "{a} <br/>{c} {b}"
  13523. },
  13524. toolbox: {
  13525. show:false,
  13526. feature: {
  13527. //restore: {},
  13528. saveAsImage: {}
  13529. }
  13530. },
  13531. series: [
  13532. {
  13533. radius: '100%',
  13534. name: '',
  13535. type: 'gauge',
  13536. splitNumber:2,
  13537. min: 0,
  13538. max: 50,
  13539. startAngle:180,
  13540. endAngle:0,
  13541. axisTick:{
  13542. length:5,
  13543. lineStyle: {
  13544. color:'rgba(255,255,255,1)'
  13545. }
  13546. },
  13547. axisLabel: { // 坐标轴小标记
  13548. textStyle: { // 属性lineStyle控制线条样式
  13549. color: 'rgba(64,64,64,1)'
  13550. },
  13551. formatter: function (value, index) {
  13552. return value.toFixed(0);
  13553. }
  13554. },
  13555. axisLine: {
  13556. lineStyle: {
  13557. color: [[0.2, 'rgba(0,128,0,1)'],[1, 'rgba(192,192,192,1)']],
  13558. width: 10
  13559. }
  13560. },
  13561. splitLine:{
  13562. length:10,
  13563. lineStyle: {
  13564. color: 'rgba(255,255,255,1)'
  13565. }
  13566. },
  13567. pointer:{
  13568. length:'80%',
  13569. width:7
  13570. },
  13571. itemStyle: {
  13572. normal: {
  13573. opacity: 0
  13574. }
  13575. },
  13576. detail: {formatter:'{value}',show:false},
  13577. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  13578. }
  13579. ]
  13580. };
  13581. _ratio = GD.getRatioWithRotation(0, ratio);
  13582. var Node180_43 = new ht.HtmlNode();
  13583. Node180_43.setPosition({'x':1515*ratio.ratioX,'y':325*ratio.ratioY});
  13584. Node180_43.setWidth(270*_ratio.ratioX);
  13585. Node180_43.setHeight(140*_ratio.ratioY);
  13586. Node180_43.setScalable(false);
  13587. Node180_43.setRotation(0);
  13588. Node180_43.s({
  13589. '2d.selectable': false,
  13590. '2d.movable': false
  13591. });
  13592. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  13593. Node180_43.setHtml(chart);
  13594. var Node180_43_chart = chart._chart;
  13595. dataModel.add(Node180_43);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13596. var Node180_44 = new ht.Node();
  13597. var Node180_44textStart, Node180_44textWidth, Node180_44lineStart, Node180_44align = 'center', Node180_44fontSize = 18.66662*_ratio.ratioY,Node180_44width = 43*_ratio.ratioX, Node180_44height = 23*_ratio.ratioY;
  13598. (function () {
  13599. if (Node180_44align === 'left') {
  13600. Node180_44textStart = Node180_44fontSize * 0.2 > 2 ? Node180_44fontSize * 0.2 - 4 : Node180_44fontSize * 0.2 - 9;
  13601. Node180_44textWidth = Node180_44width;
  13602. Node180_44lineStart = 1;
  13603. } else if (Node180_44align === 'right') {
  13604. Node180_44textStart = 0;
  13605. Node180_44textWidth =Node180_44fontSize <= 8 ? Node180_44width + Node180_44fontSize * 0.2 + 6 : Node180_44width - Node180_44fontSize * 0.2;
  13606. Node180_44lineStart = (Node180_44width - (ht.Default.getTextSize('9.14', 'bold '+ Node180_44fontSize + 'px "Arial"').width + 6)) * 0.5;
  13607. } else if (Node180_44align === 'center') {
  13608. Node180_44textStart = -3;
  13609. Node180_44textWidth = Node180_44width;
  13610. Node180_44lineStart = Node180_44width - ht.Default.getTextSize('9.14', 'bold '+ Node180_44fontSize + 'px "Arial"').width - 11;
  13611. }
  13612. })();
  13613. Node180_44.setImage(GD.getTextJSON(Node180_44width, Node180_44height, true, false, false, 'bold '+ Node180_44fontSize + 'px "Arial"'))
  13614. Node180_44.setPosition(1509*ratio.ratioX, 306*ratio.ratioY);
  13615. Node180_44.setWidth(Node180_44width);
  13616. Node180_44.setHeight(Node180_44height);
  13617. Node180_44._nodeType = 'text';
  13618. Node180_44._disallowEvert = true;
  13619. Node180_44.setRotation(0*Math.PI/180);
  13620. Node180_44.a('node.width', Node180_44width);
  13621. Node180_44.a('node.height', Node180_44height);
  13622. Node180_44.a('node.rect', [0, 0, Node180_44width, Node180_44height]);
  13623. Node180_44.a('node.bordercolor','rgba(0,0,0,1)');
  13624. Node180_44.a('node.borderwidth', 0);
  13625. Node180_44.a('node.background','' || 'rgba(0,0,0,0)');
  13626. Node180_44.a('node.gradient','');
  13627. Node180_44.a('node.gradientcolor','');
  13628. Node180_44.a('node.text','9.14');
  13629. Node180_44.a('node.textalign','center');
  13630. Node180_44.a('node.textvAlign','middle');
  13631. Node180_44.a('node.textrect', [Node180_44textStart, 0, Node180_44textWidth, Node180_44height]);
  13632. Node180_44.a('node.color','rgba(0,0,0,1)');
  13633. Node180_44.a('node.font','bold '+ Node180_44fontSize + 'px "Arial"');
  13634. Node180_44.a('node.textvisible',true);
  13635. Node180_44.a('node.linefeed',false);
  13636. if (false) {
  13637. Node180_44.a('node.textfunc',function(g) {
  13638. g.beginPath();
  13639. var str=Node180_44.a('node.text') || '9.14';
  13640. var color=Node180_44.a('node.color') || 'rgba(0,0,0,1)';
  13641. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node180_44width,Node180_44height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node180_44fontSize + 'px "Arial"', 0,g);
  13642. });
  13643. }
  13644. if (false) {
  13645. Node180_44.a('node.underlinepoints',[Node180_44lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node180_44fontSize + 2 , ht.Default.getTextSize('9.14', 'bold '+ Node180_44fontSize + 'px "Arial"').width + 6, (Node180_44height - Node180_44fontSize) * 0.5*_ratio.ratioY + Node180_44fontSize + 2 ]);
  13646. Node180_44.a('node.underlinevisible',false);
  13647. Node180_44.a('node.underlineBorderWidth', 1);
  13648. }
  13649. dataModel.add(Node180_44);
  13650. zoomNodeList.push({
  13651. node: Node180_44,
  13652. borderWidth: 0,
  13653. attr: 'node.borderwidth'
  13654. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13655. var Node180_45 = new ht.Node();
  13656. var Node180_45textStart, Node180_45textWidth, Node180_45lineStart, Node180_45align = 'left', Node180_45fontSize = 10.66664*_ratio.ratioY,Node180_45width = 69*_ratio.ratioX, Node180_45height = 13*_ratio.ratioY;
  13657. (function () {
  13658. if (Node180_45align === 'left') {
  13659. Node180_45textStart = Node180_45fontSize * 0.2 > 2 ? Node180_45fontSize * 0.2 - 4 : Node180_45fontSize * 0.2 - 9;
  13660. Node180_45textWidth = Node180_45width;
  13661. Node180_45lineStart = 1;
  13662. } else if (Node180_45align === 'right') {
  13663. Node180_45textStart = 0;
  13664. Node180_45textWidth =Node180_45fontSize <= 8 ? Node180_45width + Node180_45fontSize * 0.2 + 6 : Node180_45width - Node180_45fontSize * 0.2;
  13665. Node180_45lineStart = (Node180_45width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node180_45fontSize + 'px "Arial"').width + 6)) * 0.5;
  13666. } else if (Node180_45align === 'center') {
  13667. Node180_45textStart = -3;
  13668. Node180_45textWidth = Node180_45width;
  13669. Node180_45lineStart = Node180_45width - ht.Default.getTextSize('风速(m/s)', ' '+ Node180_45fontSize + 'px "Arial"').width - 11;
  13670. }
  13671. })();
  13672. Node180_45.setImage(GD.getTextJSON(Node180_45width, Node180_45height, true, false, false, ' '+ Node180_45fontSize + 'px "Arial"'))
  13673. Node180_45.setPosition(1522*ratio.ratioX, 334*ratio.ratioY);
  13674. Node180_45.setWidth(Node180_45width);
  13675. Node180_45.setHeight(Node180_45height);
  13676. Node180_45._nodeType = 'text';
  13677. Node180_45._disallowEvert = true;
  13678. Node180_45.setRotation(0*Math.PI/180);
  13679. Node180_45.a('node.width', Node180_45width);
  13680. Node180_45.a('node.height', Node180_45height);
  13681. Node180_45.a('node.rect', [0, 0, Node180_45width, Node180_45height]);
  13682. Node180_45.a('node.bordercolor','rgba(0,0,0,1)');
  13683. Node180_45.a('node.borderwidth', 0);
  13684. Node180_45.a('node.background','' || 'rgba(0,0,0,0)');
  13685. Node180_45.a('node.gradient','');
  13686. Node180_45.a('node.gradientcolor','');
  13687. Node180_45.a('node.text','风速(m/s)');
  13688. Node180_45.a('node.textalign','left');
  13689. Node180_45.a('node.textvAlign','middle');
  13690. Node180_45.a('node.textrect', [Node180_45textStart, 0, Node180_45textWidth, Node180_45height]);
  13691. Node180_45.a('node.color','rgba(0,0,0,1)');
  13692. Node180_45.a('node.font',' '+ Node180_45fontSize + 'px "Arial"');
  13693. Node180_45.a('node.textvisible',true);
  13694. Node180_45.a('node.linefeed',false);
  13695. if (false) {
  13696. Node180_45.a('node.textfunc',function(g) {
  13697. g.beginPath();
  13698. var str=Node180_45.a('node.text') || '风速(m/s)';
  13699. var color=Node180_45.a('node.color') || 'rgba(0,0,0,1)';
  13700. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_45width,Node180_45height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_45fontSize + 'px "Arial"', 0,g);
  13701. });
  13702. }
  13703. if (false) {
  13704. Node180_45.a('node.underlinepoints',[Node180_45lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_45fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node180_45fontSize + 'px "Arial"').width + 6, (Node180_45height - Node180_45fontSize) * 0.5*_ratio.ratioY + Node180_45fontSize + 2 ]);
  13705. Node180_45.a('node.underlinevisible',false);
  13706. Node180_45.a('node.underlineBorderWidth', 1);
  13707. }
  13708. dataModel.add(Node180_45);
  13709. zoomNodeList.push({
  13710. node: Node180_45,
  13711. borderWidth: 0,
  13712. attr: 'node.borderwidth'
  13713. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13714. var Node180_46 = new ht.Node();
  13715. var Node180_46textStart, Node180_46textWidth, Node180_46lineStart, Node180_46align = 'center', Node180_46fontSize = 18.66662*_ratio.ratioY,Node180_46width = 16*_ratio.ratioX, Node180_46height = 23*_ratio.ratioY;
  13716. (function () {
  13717. if (Node180_46align === 'left') {
  13718. Node180_46textStart = Node180_46fontSize * 0.2 > 2 ? Node180_46fontSize * 0.2 - 4 : Node180_46fontSize * 0.2 - 9;
  13719. Node180_46textWidth = Node180_46width;
  13720. Node180_46lineStart = 1;
  13721. } else if (Node180_46align === 'right') {
  13722. Node180_46textStart = 0;
  13723. Node180_46textWidth =Node180_46fontSize <= 8 ? Node180_46width + Node180_46fontSize * 0.2 + 6 : Node180_46width - Node180_46fontSize * 0.2;
  13724. Node180_46lineStart = (Node180_46width - (ht.Default.getTextSize('8', 'bold '+ Node180_46fontSize + 'px "Arial"').width + 6)) * 0.5;
  13725. } else if (Node180_46align === 'center') {
  13726. Node180_46textStart = -3;
  13727. Node180_46textWidth = Node180_46width;
  13728. Node180_46lineStart = Node180_46width - ht.Default.getTextSize('8', 'bold '+ Node180_46fontSize + 'px "Arial"').width - 11;
  13729. }
  13730. })();
  13731. Node180_46.setImage(GD.getTextJSON(Node180_46width, Node180_46height, true, false, false, 'bold '+ Node180_46fontSize + 'px "Arial"'))
  13732. Node180_46.setPosition(1516*ratio.ratioX, 405*ratio.ratioY);
  13733. Node180_46.setWidth(Node180_46width);
  13734. Node180_46.setHeight(Node180_46height);
  13735. Node180_46._nodeType = 'text';
  13736. Node180_46._disallowEvert = true;
  13737. Node180_46.setRotation(0*Math.PI/180);
  13738. Node180_46.a('node.width', Node180_46width);
  13739. Node180_46.a('node.height', Node180_46height);
  13740. Node180_46.a('node.rect', [0, 0, Node180_46width, Node180_46height]);
  13741. Node180_46.a('node.bordercolor','rgba(0,0,0,1)');
  13742. Node180_46.a('node.borderwidth', 0);
  13743. Node180_46.a('node.background','' || 'rgba(0,0,0,0)');
  13744. Node180_46.a('node.gradient','');
  13745. Node180_46.a('node.gradientcolor','');
  13746. Node180_46.a('node.text','8');
  13747. Node180_46.a('node.textalign','center');
  13748. Node180_46.a('node.textvAlign','middle');
  13749. Node180_46.a('node.textrect', [Node180_46textStart, 0, Node180_46textWidth, Node180_46height]);
  13750. Node180_46.a('node.color','rgba(0,0,0,1)');
  13751. Node180_46.a('node.font','bold '+ Node180_46fontSize + 'px "Arial"');
  13752. Node180_46.a('node.textvisible',true);
  13753. Node180_46.a('node.linefeed',false);
  13754. if (false) {
  13755. Node180_46.a('node.textfunc',function(g) {
  13756. g.beginPath();
  13757. var str=Node180_46.a('node.text') || '8';
  13758. var color=Node180_46.a('node.color') || 'rgba(0,0,0,1)';
  13759. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node180_46width,Node180_46height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node180_46fontSize + 'px "Arial"', 0,g);
  13760. });
  13761. }
  13762. if (false) {
  13763. Node180_46.a('node.underlinepoints',[Node180_46lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node180_46fontSize + 2 , ht.Default.getTextSize('8', 'bold '+ Node180_46fontSize + 'px "Arial"').width + 6, (Node180_46height - Node180_46fontSize) * 0.5*_ratio.ratioY + Node180_46fontSize + 2 ]);
  13764. Node180_46.a('node.underlinevisible',false);
  13765. Node180_46.a('node.underlineBorderWidth', 1);
  13766. }
  13767. dataModel.add(Node180_46);
  13768. zoomNodeList.push({
  13769. node: Node180_46,
  13770. borderWidth: 0,
  13771. attr: 'node.borderwidth'
  13772. }); option = {
  13773. tooltip : {
  13774. formatter: "{a} <br/>{c} {b}"
  13775. },
  13776. toolbox: {
  13777. show:false,
  13778. feature: {
  13779. //restore: {},
  13780. saveAsImage: {}
  13781. }
  13782. },
  13783. series: [
  13784. {
  13785. radius: '100%',
  13786. name: '',
  13787. type: 'gauge',
  13788. splitNumber:2,
  13789. min: 0,
  13790. max: 1250,
  13791. startAngle:180,
  13792. endAngle:0,
  13793. axisTick:{
  13794. length:5,
  13795. lineStyle: {
  13796. color:'rgba(255,255,255,1)'
  13797. }
  13798. },
  13799. axisLabel: { // 坐标轴小标记
  13800. textStyle: { // 属性lineStyle控制线条样式
  13801. color: 'rgba(64,64,64,1)'
  13802. },
  13803. formatter: function (value, index) {
  13804. return value.toFixed(0);
  13805. }
  13806. },
  13807. axisLine: {
  13808. lineStyle: {
  13809. color: [[0.488888888888889, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']],
  13810. width: 10
  13811. }
  13812. },
  13813. splitLine:{
  13814. length:10,
  13815. lineStyle: {
  13816. color: 'rgba(255,255,255,1)'
  13817. }
  13818. },
  13819. pointer:{
  13820. length:'80%',
  13821. width:7
  13822. },
  13823. itemStyle: {
  13824. normal: {
  13825. opacity: 0
  13826. }
  13827. },
  13828. detail: {formatter:'{value}',show:false},
  13829. data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
  13830. }
  13831. ]
  13832. };
  13833. _ratio = GD.getRatioWithRotation(0, ratio);
  13834. var Node180_47 = new ht.HtmlNode();
  13835. Node180_47.setPosition({'x':1744*ratio.ratioX,'y':327*ratio.ratioY});
  13836. Node180_47.setWidth(270*_ratio.ratioX);
  13837. Node180_47.setHeight(140*_ratio.ratioY);
  13838. Node180_47.setScalable(false);
  13839. Node180_47.setRotation(0);
  13840. Node180_47.s({
  13841. '2d.selectable': false,
  13842. '2d.movable': false
  13843. });
  13844. chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
  13845. Node180_47.setHtml(chart);
  13846. var Node180_47_chart = chart._chart;
  13847. dataModel.add(Node180_47);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13848. var Node180_48 = new ht.Node();
  13849. var Node180_48textStart, Node180_48textWidth, Node180_48lineStart, Node180_48align = 'center', Node180_48fontSize = 18.66662*_ratio.ratioY,Node180_48width = 43*_ratio.ratioX, Node180_48height = 23*_ratio.ratioY;
  13850. (function () {
  13851. if (Node180_48align === 'left') {
  13852. Node180_48textStart = Node180_48fontSize * 0.2 > 2 ? Node180_48fontSize * 0.2 - 4 : Node180_48fontSize * 0.2 - 9;
  13853. Node180_48textWidth = Node180_48width;
  13854. Node180_48lineStart = 1;
  13855. } else if (Node180_48align === 'right') {
  13856. Node180_48textStart = 0;
  13857. Node180_48textWidth =Node180_48fontSize <= 8 ? Node180_48width + Node180_48fontSize * 0.2 + 6 : Node180_48width - Node180_48fontSize * 0.2;
  13858. Node180_48lineStart = (Node180_48width - (ht.Default.getTextSize('10.1', 'bold '+ Node180_48fontSize + 'px "Arial"').width + 6)) * 0.5;
  13859. } else if (Node180_48align === 'center') {
  13860. Node180_48textStart = -3;
  13861. Node180_48textWidth = Node180_48width;
  13862. Node180_48lineStart = Node180_48width - ht.Default.getTextSize('10.1', 'bold '+ Node180_48fontSize + 'px "Arial"').width - 11;
  13863. }
  13864. })();
  13865. Node180_48.setImage(GD.getTextJSON(Node180_48width, Node180_48height, true, false, false, 'bold '+ Node180_48fontSize + 'px "Arial"'))
  13866. Node180_48.setPosition(1752*ratio.ratioX, 311*ratio.ratioY);
  13867. Node180_48.setWidth(Node180_48width);
  13868. Node180_48.setHeight(Node180_48height);
  13869. Node180_48._nodeType = 'text';
  13870. Node180_48._disallowEvert = true;
  13871. Node180_48.setRotation(0*Math.PI/180);
  13872. Node180_48.a('node.width', Node180_48width);
  13873. Node180_48.a('node.height', Node180_48height);
  13874. Node180_48.a('node.rect', [0, 0, Node180_48width, Node180_48height]);
  13875. Node180_48.a('node.bordercolor','rgba(0,0,0,1)');
  13876. Node180_48.a('node.borderwidth', 0);
  13877. Node180_48.a('node.background','' || 'rgba(0,0,0,0)');
  13878. Node180_48.a('node.gradient','');
  13879. Node180_48.a('node.gradientcolor','');
  13880. Node180_48.a('node.text','10.1');
  13881. Node180_48.a('node.textalign','center');
  13882. Node180_48.a('node.textvAlign','middle');
  13883. Node180_48.a('node.textrect', [Node180_48textStart, 0, Node180_48textWidth, Node180_48height]);
  13884. Node180_48.a('node.color','rgba(0,0,0,1)');
  13885. Node180_48.a('node.font','bold '+ Node180_48fontSize + 'px "Arial"');
  13886. Node180_48.a('node.textvisible',true);
  13887. Node180_48.a('node.linefeed',false);
  13888. if (false) {
  13889. Node180_48.a('node.textfunc',function(g) {
  13890. g.beginPath();
  13891. var str=Node180_48.a('node.text') || '10.1';
  13892. var color=Node180_48.a('node.color') || 'rgba(0,0,0,1)';
  13893. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node180_48width,Node180_48height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node180_48fontSize + 'px "Arial"', 0,g);
  13894. });
  13895. }
  13896. if (false) {
  13897. Node180_48.a('node.underlinepoints',[Node180_48lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node180_48fontSize + 2 , ht.Default.getTextSize('10.1', 'bold '+ Node180_48fontSize + 'px "Arial"').width + 6, (Node180_48height - Node180_48fontSize) * 0.5*_ratio.ratioY + Node180_48fontSize + 2 ]);
  13898. Node180_48.a('node.underlinevisible',false);
  13899. Node180_48.a('node.underlineBorderWidth', 1);
  13900. }
  13901. dataModel.add(Node180_48);
  13902. zoomNodeList.push({
  13903. node: Node180_48,
  13904. borderWidth: 0,
  13905. attr: 'node.borderwidth'
  13906. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13907. var Node180_49 = new ht.Node();
  13908. var Node180_49textStart, Node180_49textWidth, Node180_49lineStart, Node180_49align = 'left', Node180_49fontSize = 10.66664*_ratio.ratioY,Node180_49width = 78*_ratio.ratioX, Node180_49height = 13*_ratio.ratioY;
  13909. (function () {
  13910. if (Node180_49align === 'left') {
  13911. Node180_49textStart = Node180_49fontSize * 0.2 > 2 ? Node180_49fontSize * 0.2 - 4 : Node180_49fontSize * 0.2 - 9;
  13912. Node180_49textWidth = Node180_49width;
  13913. Node180_49lineStart = 1;
  13914. } else if (Node180_49align === 'right') {
  13915. Node180_49textStart = 0;
  13916. Node180_49textWidth =Node180_49fontSize <= 8 ? Node180_49width + Node180_49fontSize * 0.2 + 6 : Node180_49width - Node180_49fontSize * 0.2;
  13917. Node180_49lineStart = (Node180_49width - (ht.Default.getTextSize('实发功率(MW)', ' '+ Node180_49fontSize + 'px "Arial"').width + 6)) * 0.5;
  13918. } else if (Node180_49align === 'center') {
  13919. Node180_49textStart = -3;
  13920. Node180_49textWidth = Node180_49width;
  13921. Node180_49lineStart = Node180_49width - ht.Default.getTextSize('实发功率(MW)', ' '+ Node180_49fontSize + 'px "Arial"').width - 11;
  13922. }
  13923. })();
  13924. Node180_49.setImage(GD.getTextJSON(Node180_49width, Node180_49height, true, false, false, ' '+ Node180_49fontSize + 'px "Arial"'))
  13925. Node180_49.setPosition(1748*ratio.ratioX, 340*ratio.ratioY);
  13926. Node180_49.setWidth(Node180_49width);
  13927. Node180_49.setHeight(Node180_49height);
  13928. Node180_49._nodeType = 'text';
  13929. Node180_49._disallowEvert = true;
  13930. Node180_49.setRotation(0*Math.PI/180);
  13931. Node180_49.a('node.width', Node180_49width);
  13932. Node180_49.a('node.height', Node180_49height);
  13933. Node180_49.a('node.rect', [0, 0, Node180_49width, Node180_49height]);
  13934. Node180_49.a('node.bordercolor','rgba(0,0,0,1)');
  13935. Node180_49.a('node.borderwidth', 0);
  13936. Node180_49.a('node.background','' || 'rgba(0,0,0,0)');
  13937. Node180_49.a('node.gradient','');
  13938. Node180_49.a('node.gradientcolor','');
  13939. Node180_49.a('node.text','实发功率(MW)');
  13940. Node180_49.a('node.textalign','left');
  13941. Node180_49.a('node.textvAlign','middle');
  13942. Node180_49.a('node.textrect', [Node180_49textStart, 0, Node180_49textWidth, Node180_49height]);
  13943. Node180_49.a('node.color','rgba(0,0,0,1)');
  13944. Node180_49.a('node.font',' '+ Node180_49fontSize + 'px "Arial"');
  13945. Node180_49.a('node.textvisible',true);
  13946. Node180_49.a('node.linefeed',false);
  13947. if (false) {
  13948. Node180_49.a('node.textfunc',function(g) {
  13949. g.beginPath();
  13950. var str=Node180_49.a('node.text') || '实发功率(MW)';
  13951. var color=Node180_49.a('node.color') || 'rgba(0,0,0,1)';
  13952. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_49width,Node180_49height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_49fontSize + 'px "Arial"', 0,g);
  13953. });
  13954. }
  13955. if (false) {
  13956. Node180_49.a('node.underlinepoints',[Node180_49lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_49fontSize + 2 , ht.Default.getTextSize('实发功率(MW)', ' '+ Node180_49fontSize + 'px "Arial"').width + 6, (Node180_49height - Node180_49fontSize) * 0.5*_ratio.ratioY + Node180_49fontSize + 2 ]);
  13957. Node180_49.a('node.underlinevisible',false);
  13958. Node180_49.a('node.underlineBorderWidth', 1);
  13959. }
  13960. dataModel.add(Node180_49);
  13961. zoomNodeList.push({
  13962. node: Node180_49,
  13963. borderWidth: 0,
  13964. attr: 'node.borderwidth'
  13965. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  13966. var Node180_50 = new ht.Node();
  13967. var Node180_50textStart, Node180_50textWidth, Node180_50lineStart, Node180_50align = 'center', Node180_50fontSize = 18.66662*_ratio.ratioY,Node180_50width = 27*_ratio.ratioX, Node180_50height = 23*_ratio.ratioY;
  13968. (function () {
  13969. if (Node180_50align === 'left') {
  13970. Node180_50textStart = Node180_50fontSize * 0.2 > 2 ? Node180_50fontSize * 0.2 - 4 : Node180_50fontSize * 0.2 - 9;
  13971. Node180_50textWidth = Node180_50width;
  13972. Node180_50lineStart = 1;
  13973. } else if (Node180_50align === 'right') {
  13974. Node180_50textStart = 0;
  13975. Node180_50textWidth =Node180_50fontSize <= 8 ? Node180_50width + Node180_50fontSize * 0.2 + 6 : Node180_50width - Node180_50fontSize * 0.2;
  13976. Node180_50lineStart = (Node180_50width - (ht.Default.getTextSize('12', 'bold '+ Node180_50fontSize + 'px "Arial"').width + 6)) * 0.5;
  13977. } else if (Node180_50align === 'center') {
  13978. Node180_50textStart = -3;
  13979. Node180_50textWidth = Node180_50width;
  13980. Node180_50lineStart = Node180_50width - ht.Default.getTextSize('12', 'bold '+ Node180_50fontSize + 'px "Arial"').width - 11;
  13981. }
  13982. })();
  13983. Node180_50.setImage(GD.getTextJSON(Node180_50width, Node180_50height, true, false, false, 'bold '+ Node180_50fontSize + 'px "Arial"'))
  13984. Node180_50.setPosition(1747*ratio.ratioX, 408*ratio.ratioY);
  13985. Node180_50.setWidth(Node180_50width);
  13986. Node180_50.setHeight(Node180_50height);
  13987. Node180_50._nodeType = 'text';
  13988. Node180_50._disallowEvert = true;
  13989. Node180_50.setRotation(0*Math.PI/180);
  13990. Node180_50.a('node.width', Node180_50width);
  13991. Node180_50.a('node.height', Node180_50height);
  13992. Node180_50.a('node.rect', [0, 0, Node180_50width, Node180_50height]);
  13993. Node180_50.a('node.bordercolor','rgba(0,0,0,1)');
  13994. Node180_50.a('node.borderwidth', 0);
  13995. Node180_50.a('node.background','' || 'rgba(0,0,0,0)');
  13996. Node180_50.a('node.gradient','');
  13997. Node180_50.a('node.gradientcolor','');
  13998. Node180_50.a('node.text','12');
  13999. Node180_50.a('node.textalign','center');
  14000. Node180_50.a('node.textvAlign','middle');
  14001. Node180_50.a('node.textrect', [Node180_50textStart, 0, Node180_50textWidth, Node180_50height]);
  14002. Node180_50.a('node.color','rgba(0,0,0,1)');
  14003. Node180_50.a('node.font','bold '+ Node180_50fontSize + 'px "Arial"');
  14004. Node180_50.a('node.textvisible',true);
  14005. Node180_50.a('node.linefeed',false);
  14006. if (false) {
  14007. Node180_50.a('node.textfunc',function(g) {
  14008. g.beginPath();
  14009. var str=Node180_50.a('node.text') || '12';
  14010. var color=Node180_50.a('node.color') || 'rgba(0,0,0,1)';
  14011. canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node180_50width,Node180_50height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node180_50fontSize + 'px "Arial"', 0,g);
  14012. });
  14013. }
  14014. if (false) {
  14015. Node180_50.a('node.underlinepoints',[Node180_50lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node180_50fontSize + 2 , ht.Default.getTextSize('12', 'bold '+ Node180_50fontSize + 'px "Arial"').width + 6, (Node180_50height - Node180_50fontSize) * 0.5*_ratio.ratioY + Node180_50fontSize + 2 ]);
  14016. Node180_50.a('node.underlinevisible',false);
  14017. Node180_50.a('node.underlineBorderWidth', 1);
  14018. }
  14019. dataModel.add(Node180_50);
  14020. zoomNodeList.push({
  14021. node: Node180_50,
  14022. borderWidth: 0,
  14023. attr: 'node.borderwidth'
  14024. });
  14025. var Node180_51style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
  14026. var Node180_51obj=getIndicatorAndSheBeiArr(Node180_51GroupVarName,Node180_51GroupInVarName);
  14027. var Node180_51series=getIndicatorOrShebeiInfo(Node180_51GroupVarName,Node180_51GroupInVarName,Node180_51style);
  14028. Node180_51series && Node180_51series[0] && (Node180_51series[0].barGap = 0);
  14029. var Node180_51option = {
  14030. tooltip : {
  14031. trigger: 'axis',
  14032. axisPointer : {
  14033. type : 'shadow',
  14034. shadowStyle: {
  14035. color: {
  14036. type: 'linear',
  14037. x: 0,
  14038. y: 0,
  14039. x2: 0,
  14040. y2: 1,
  14041. colorStops: [{
  14042. offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
  14043. }, {
  14044. offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
  14045. }],
  14046. globalCoord: false // 缺省为 false
  14047. },
  14048. opacity: 0.2
  14049. }
  14050. },
  14051. // formatter:function (params, ticket, callback) {
  14052. // console.log(params, ticket);
  14053. // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
  14054. // var result ;
  14055. // for (var i = 0, len = params.length; i < len; i++) {
  14056. // }
  14057. // }
  14058. },
  14059. grid: {
  14060. left: '0%',
  14061. right: '0%',
  14062. bottom: '3%',
  14063. top:'5%',
  14064. containLabel: true
  14065. },
  14066. legend:{
  14067. show:false,
  14068. data:Node180_51obj["indicatorArr"]
  14069. },
  14070. xAxis : [
  14071. {
  14072. type : 'category',
  14073. splitNumber:0,
  14074. data :Node180_51obj["shebeiArr"],
  14075. axisLine:{
  14076. lineStyle:{
  14077. color:'rgba(128,128,128,1)'
  14078. }
  14079. },
  14080. axisLabel:{
  14081. inside:false,
  14082. interval: 0,
  14083. textStyle:{
  14084. fontSize:"13.3333"
  14085. }
  14086. },
  14087. z: 10,
  14088. splitLine:{
  14089. show:false,
  14090. lineStyle:{
  14091. color:'rgba(211,211,211,1)'
  14092. }
  14093. }
  14094. }
  14095. ],
  14096. yAxis : [
  14097. {
  14098. type : 'value',
  14099. min:0,
  14100. max:1000,
  14101. axisTick:{
  14102. lineStyle:{
  14103. color:'rgba(128,128,128,1)'
  14104. }
  14105. },
  14106. precision:2,
  14107. axisLine:{
  14108. lineStyle:{
  14109. color:'rgba(128,128,128,1)'
  14110. }
  14111. },
  14112. axisLabel:{
  14113. textStyle:{
  14114. fontSize:"13.3333"
  14115. }
  14116. },
  14117. splitLine:{
  14118. show:true,
  14119. lineStyle:{
  14120. color:'rgba(211,211,211,1)'
  14121. }
  14122. }
  14123. }],
  14124. color: Node180_51obj.colorArr,
  14125. series : Node180_51series
  14126. };
  14127. var Node180_51 = new ht.HtmlNode();
  14128. var Node180_51BeginTime = "";
  14129. var Node180_51endTime = "";
  14130. var Node180_51yRange = 'fixed';
  14131. Node180_51.setPosition({'x':1352*ratio.ratioX,'y':575*ratio.ratioY});
  14132. Node180_51.setWidth(1110*ratio.ratioX);
  14133. Node180_51.setHeight(208*ratio.ratioY);
  14134. Node180_51.setScalable(false);
  14135. Node180_51.s({
  14136. '2d.selectable': false,
  14137. '2d.movable': false
  14138. });
  14139. var Node180_51chart = new ht.Chart(Node180_51option, 1110*ratio.ratioX, 208*ratio.ratioY);
  14140. Node180_51.setHtml( Node180_51chart);
  14141. var Node180_51_chart = Node180_51chart._chart;
  14142. dataModel.add(Node180_51);
  14143. function Node180_51Refresh(){
  14144. var option = Node180_51chart.getOption(),
  14145. _option = Node180_51_chart.getOption(),
  14146. ses = _option.series;
  14147. option.series = getIndicatorOrShebeiInfo(Node180_51GroupVarName,Node180_51GroupInVarName,Node180_51style);
  14148. if (Node180_51yRange === 'real') {
  14149. var maxAndMin = GD.getMaxAndMinFromSeries(ses);
  14150. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  14151. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  14152. }
  14153. Node180_51_chart.setOption(option, true);
  14154. }
  14155. function Node180_51Search() {
  14156. var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
  14157. // var tagsInfo = encodeURIComponent(Node180_51obj.tagArr.join(','));
  14158. var beginTime = "",
  14159. endTime = "",
  14160. type = 'static'; // 时间段:当日,当月,当年 。固定时间
  14161. var groupbarType = 'snap';
  14162. var beginTimeType = 'begin',
  14163. endTimeType = 'end';
  14164. var difTagsInfo = '',
  14165. staTagsInfo = '',
  14166. staTagArr = [],
  14167. difTagArr = [];
  14168. (function () {
  14169. var tagsType = Node180_51obj.statisticsTypeObj,
  14170. k, v;
  14171. for (var key in tagsType) {
  14172. if (tagsType.hasOwnProperty(key)) {
  14173. k = key;
  14174. v = tagsType[k];
  14175. if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
  14176. difTagArr.push(k);
  14177. } else {
  14178. staTagArr.push(k);
  14179. }
  14180. }
  14181. }
  14182. difTagsInfo = encodeURIComponent(difTagArr.join(','));
  14183. staTagsInfo = encodeURIComponent(staTagArr.join(','));
  14184. })();
  14185. if (groupbarType === 'snap') {
  14186. Node180_51Refresh()
  14187. return;
  14188. }
  14189. if (type === 'relday') {
  14190. if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
  14191. endTimeType = '';
  14192. }
  14193. } else if (type === 'relmonth') {
  14194. if (endTime === '0m') {
  14195. endTimeType = ''
  14196. }
  14197. } else if (type === 'relyear') {
  14198. if (endTime === '0y') {
  14199. endTimeType = ''
  14200. }
  14201. } else if (type === 'static') {
  14202. beginTimeType = '';
  14203. endTimeType = '';
  14204. } else {
  14205. beginTimeType = 'begin';
  14206. endTimeType = '';
  14207. }
  14208. beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
  14209. endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
  14210. var flag = 0,
  14211. staData,
  14212. difData;
  14213. if (!GD.testSearchTime(beginTime, endTime)) {
  14214. return false;
  14215. }
  14216. if (difTagsInfo) {
  14217. $.ajax({
  14218. url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
  14219. type: 'GET',
  14220. cache: false,
  14221. dataType: 'json',
  14222. success: function (datas) {
  14223. if (!datas) {
  14224. difData = {};
  14225. return ;
  14226. }
  14227. difData = datas;
  14228. },
  14229. complete: function (xhr) {
  14230. xhr = null;
  14231. flag ++;
  14232. }
  14233. });
  14234. } else {
  14235. flag ++;
  14236. difData = {};
  14237. complete();
  14238. }
  14239. if (staTagsInfo) {
  14240. $.ajax({
  14241. url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
  14242. type: 'GET',
  14243. cache: false,
  14244. dataType: 'json',
  14245. success: function (datas) {
  14246. if (!datas) {
  14247. staData = {};
  14248. return ;
  14249. }
  14250. staData = datas;
  14251. },
  14252. complete: function (xhr) {
  14253. xhr = null;
  14254. flag ++;
  14255. complete()
  14256. }
  14257. });
  14258. } else {
  14259. flag ++;
  14260. staData = {};
  14261. complete();
  14262. }
  14263. function complete() {
  14264. if (flag < 2) {
  14265. return ;
  14266. }
  14267. var datas = staData;
  14268. for (var key in difData) {
  14269. if (difData.hasOwnProperty(key)) {
  14270. if (!datas[key]) {
  14271. datas[key] = difData[key];
  14272. }
  14273. else {
  14274. for (var k in difData[key]) {
  14275. datas[key][k] = difData[key][k];
  14276. }
  14277. }
  14278. }
  14279. }
  14280. var option = Node180_51chart.getOption(),
  14281. _option = Node180_51_chart.getOption(),
  14282. ses = _option.series;
  14283. var series = [];
  14284. for (var i = 0, len = Node180_51GroupInVarName.length; i < len; i++) {
  14285. var indiacatorData = Node180_51GroupInVarName[i];
  14286. var data = {};
  14287. data.name = indiacatorData.displayName || indiacatorData.Desc;
  14288. data.type = 'bar';
  14289. data.data = [];
  14290. for (var j = 0, leng = Node180_51GroupVarName.length; j < leng; j++) {
  14291. var itemStyle={normal:{color:indiacatorData.color}};
  14292. data.itemStyle=itemStyle;
  14293. var deviceData = Node180_51GroupVarName[j];
  14294. var value = 0;
  14295. var tagName = '' + deviceData.Name + indiacatorData.Name;
  14296. var statisticsType = Node180_51obj.statisticsTypeObj && Node180_51obj.statisticsTypeObj[tagName];
  14297. value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
  14298. data.data.push(value);
  14299. }
  14300. series.push(data);
  14301. }
  14302. series && series[0] && (series[0].barGap = 0);
  14303. option.series = series;
  14304. if (Node180_51yRange === 'real') {
  14305. var maxAndMin = GD.getMaxAndMinFromSeries(series);
  14306. option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
  14307. option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
  14308. } else {
  14309. option.yAxis[0].min = 0;
  14310. option.yAxis[0].max = 1000;
  14311. }
  14312. Node180_51_chart.setOption(option, true);
  14313. }
  14314. }
  14315. if(true){
  14316. Node180_51Refresh();
  14317. intervalTimers.push(setInterval(function(){
  14318. Node180_51Refresh();
  14319. },1000));
  14320. } else {
  14321. // Node180_51Search();
  14322. }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14323. var Node180_52type = 'rect';
  14324. var Node180_52 = new ht.Node(),
  14325. Node180_52BorderWidth = 0*2;
  14326. if (Node180_52type === 'arc') {
  14327. Node180_52BorderWidth *= 0;
  14328. }
  14329. Node180_52.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node180_52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14330. Node180_52.setPosition(770*ratio.ratioX, 566*ratio.ratioY);
  14331. Node180_52.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  14332. Node180_52.s({
  14333. 'pixelPerfect':true
  14334. /*@AddPara@*/
  14335. });
  14336. Node180_52.a('node.width', 27*_ratio.ratioX);
  14337. Node180_52.a('node.height', 208*_ratio.ratioY);
  14338. Node180_52.a('node.type', Node180_52type);
  14339. Node180_52.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  14340. Node180_52.a('node.background', 'rgba(32,191,135,1)');
  14341. Node180_52.a('node.gradientcolor', 'rgba(32,191,135,1)');
  14342. Node180_52.a('node.gradient', '');
  14343. Node180_52.a('node.borderwidth', Node180_52BorderWidth);
  14344. Node180_52.a('node.color', 'rgba(0,0,0,0)');
  14345. Node180_52.a('node.fillrect', [0,0,0,0]);
  14346. Node180_52.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14347. Node180_52.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14348. Node180_52.a('node.fillgradient', '');
  14349. if (Node180_52type !== 'rect') {
  14350. Node180_52.a('node.arcFrom', parseFloat('@arcFrom@'));
  14351. Node180_52.a('node.arcTo', parseFloat('@arcTo@'));
  14352. Node180_52.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14353. }
  14354. if (Node180_52type === 'arc') {
  14355. Node180_52.a('node.arcOval', true);
  14356. }
  14357. Node180_52.setRotation(0*Math.PI/180);
  14358. Node180_52.borderWidth = Node180_52BorderWidth;
  14359. Node180_52.borderFillwidth = Node180_52BorderWidth;
  14360. dataModel.add(Node180_52);
  14361. Node180_52._nodename = 'Node180_52'
  14362. Node180_52._nodeType = 'rect';
  14363. zoomNodeList.push({
  14364. node: Node180_52,
  14365. attr: 'node.borderwidth'
  14366. });
  14367. (function (node, _img) {
  14368. var setWidth = node.setWidth,
  14369. setHeight = node.setHeight;
  14370. node.setWidth = function (width) {
  14371. if (width === this.getWidth()) return ;
  14372. var height = this.getHeight();
  14373. this.a('node.width', width);
  14374. this.a('node.rect', [0,0,width, height]);
  14375. setWidth.apply(this, arguments);
  14376. }
  14377. node.setHeight = function (height) {
  14378. if (height === this.getHeight()) return ;
  14379. var width = this.getWidth();
  14380. this.a('node.height', height);
  14381. this.a('node.rect', [0,0,width, height]);
  14382. setHeight.apply(this, arguments);
  14383. }
  14384. })(Node180_52, Node180_52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14385. var Node180_53type = 'rect';
  14386. var Node180_53 = new ht.Node(),
  14387. Node180_53BorderWidth = 0*2;
  14388. if (Node180_53type === 'arc') {
  14389. Node180_53BorderWidth *= 0;
  14390. }
  14391. Node180_53.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node180_53type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  14392. Node180_53.setPosition(771*ratio.ratioX, 777*ratio.ratioY);
  14393. Node180_53.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
  14394. Node180_53.s({
  14395. 'pixelPerfect':true
  14396. /*@AddPara@*/
  14397. });
  14398. Node180_53.a('node.width', 27*_ratio.ratioX);
  14399. Node180_53.a('node.height', 208*_ratio.ratioY);
  14400. Node180_53.a('node.type', Node180_53type);
  14401. Node180_53.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
  14402. Node180_53.a('node.background', 'rgba(32,191,135,1)');
  14403. Node180_53.a('node.gradientcolor', 'rgba(32,191,135,1)');
  14404. Node180_53.a('node.gradient', '');
  14405. Node180_53.a('node.borderwidth', Node180_53BorderWidth);
  14406. Node180_53.a('node.color', 'rgba(0,0,0,0)');
  14407. Node180_53.a('node.fillrect', [0,0,0,0]);
  14408. Node180_53.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  14409. Node180_53.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  14410. Node180_53.a('node.fillgradient', '');
  14411. if (Node180_53type !== 'rect') {
  14412. Node180_53.a('node.arcFrom', parseFloat('@arcFrom@'));
  14413. Node180_53.a('node.arcTo', parseFloat('@arcTo@'));
  14414. Node180_53.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  14415. }
  14416. if (Node180_53type === 'arc') {
  14417. Node180_53.a('node.arcOval', true);
  14418. }
  14419. Node180_53.setRotation(0*Math.PI/180);
  14420. Node180_53.borderWidth = Node180_53BorderWidth;
  14421. Node180_53.borderFillwidth = Node180_53BorderWidth;
  14422. dataModel.add(Node180_53);
  14423. Node180_53._nodename = 'Node180_53'
  14424. Node180_53._nodeType = 'rect';
  14425. zoomNodeList.push({
  14426. node: Node180_53,
  14427. attr: 'node.borderwidth'
  14428. });
  14429. (function (node, _img) {
  14430. var setWidth = node.setWidth,
  14431. setHeight = node.setHeight;
  14432. node.setWidth = function (width) {
  14433. if (width === this.getWidth()) return ;
  14434. var height = this.getHeight();
  14435. this.a('node.width', width);
  14436. this.a('node.rect', [0,0,width, height]);
  14437. setWidth.apply(this, arguments);
  14438. }
  14439. node.setHeight = function (height) {
  14440. if (height === this.getHeight()) return ;
  14441. var width = this.getWidth();
  14442. this.a('node.height', height);
  14443. this.a('node.rect', [0,0,width, height]);
  14444. setHeight.apply(this, arguments);
  14445. }
  14446. })(Node180_53, Node180_53.getImage());var Node180_54;
  14447. var Node180_54_chart;
  14448. var Node180_54dictags='';
  14449. var Node180_54tags='';
  14450. var Node180_54YAxisArr = [];
  14451. var Node180_54TagsObjArr = [{"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}];
  14452. var Node180_54TagsArr = [];
  14453. var Node180_54TagDataArr = [],
  14454. Node180_54UnitDicObj = {};
  14455. var Node180_54isMultiYaxis = false,
  14456. Node180_54isFreeRange = false;
  14457. var Node180_54IntervalTimer;
  14458. var Node180_54RefreshCount = 0;
  14459. var Node180_54interval, Node180_54count, Node180_54pointInterval, Node180_54contextmenu;
  14460. function Node180_54createYAxis (min, max, yAxiColor, gridlinewidth, show) {
  14461. return {
  14462. show: show,
  14463. splitNumber:2,
  14464. type: 'value',
  14465. min:min,
  14466. max:max,
  14467. interval: parseInt((max - min) / 2) || 20,
  14468. axisLine:{
  14469. lineStyle:{
  14470. color:yAxiColor
  14471. }
  14472. },
  14473. splitLine:{
  14474. show: true,
  14475. lineStyle:{
  14476. color:'rgba(192,192,192,1)' ,
  14477. width:gridlinewidth,
  14478. type:'solid'
  14479. }
  14480. },
  14481. axisTick:{
  14482. show:true,
  14483. lineStyle:{
  14484. color:yAxiColor
  14485. }
  14486. },
  14487. axisLabel:{
  14488. textStyle:{
  14489. color:yAxiColor,
  14490. fontSize:13.3333
  14491. },
  14492. formatter: function (value) {
  14493. return value.toFixed(1);
  14494. }
  14495. }
  14496. }
  14497. }
  14498. function Node180_54loadYAxis(tagsArr) {
  14499. if (!tagsArr) return ;
  14500. Node180_54dictags = {};
  14501. Node180_54TagDataArr = [];
  14502. Node180_54UnitDicObj = {};
  14503. Node180_54YAxisArr.length = 0;
  14504. var tag, yAxis, tempArr = [], leftCount = 0, rightCount = 0, hideCount = 0, hideWidth = 0, tagData, tagName;
  14505. Node180_54Option.legend.data.length = 0;
  14506. for (var i = 0, len = tagsArr.length; i < len; i++) {
  14507. tag = tagsArr[i];
  14508. tagData = {};
  14509. if(Node180_54isMultiYaxis||Node180_54isFreeRange){
  14510. yAxis = Node180_54createYAxis(tag.Low, tag.High, 'rgb('+ tag.Col +')', tag.LineWid, true);
  14511. }else{
  14512. yAxis = Node180_54createYAxis(0, 1000, 'rgba(105,105,105,1)', tag.LineWid, true);
  14513. }
  14514. if (tag.ShowScaleType === 0 ) {
  14515. yAxis.show = false;
  14516. yAxis.position = 'left';
  14517. yAxis.offset = 0;
  14518. hideCount ++;
  14519. hideWidth += GD.measureCanvasText(yAxis.max, 13.3333+'px') + 10;
  14520. } else if (tag.ShowScaleType === 1) {
  14521. yAxis.position = 'left';
  14522. yAxis.offset = leftCount * 60;
  14523. leftCount++;
  14524. } else if (tag.ShowScaleType === 2) {
  14525. yAxis.position = 'right';
  14526. yAxis.offset = rightCount * 60;
  14527. rightCount ++;
  14528. }
  14529. if (Node180_54isFreeRange) {
  14530. yAxis.max = function (value) {
  14531. var t = Math.abs((value.max - value.min) * 0.2);
  14532. t = t == 0 ? 10 : t;
  14533. return Math.ceil(value.max + t);
  14534. };
  14535. yAxis.min = function (value) {
  14536. var t = Math.abs((value.max - value.min) * 0.2);
  14537. t = t == 0 ? 10 : t;
  14538. return Math.floor(value.min - t);
  14539. };
  14540. hideCount = 0;
  14541. }
  14542. if (!Node180_54isMultiYaxis) {
  14543. if (i === 0) {
  14544. Node180_54YAxisArr.push(yAxis);
  14545. hideCount = 0;
  14546. }
  14547. } else {
  14548. Node180_54YAxisArr.push(yAxis);
  14549. }
  14550. if (tag.name) {
  14551. tagName = tag.name;
  14552. if (tagName.indexOf('+') !== -1) {
  14553. tagName = GD.eval(tagName);
  14554. }
  14555. getVarValue(tagName);
  14556. tempArr.push(tagName);
  14557. tagData.name = tagName;
  14558. tagData.displayName = tag.displayName;
  14559. // Node180_54Option.legend.data[i] = tagData.displayName;
  14560. Node180_54UnitDicObj[tagData.displayName] = tagData.Unit;
  14561. Node180_54dictags[tagName] = tag.displayName;
  14562. Node180_54dictags[tagName + 'index'] = i;
  14563. }
  14564. Node180_54TagDataArr.push(tagData);
  14565. }
  14566. Node180_54tags = tempArr.join(',');
  14567. Node180_54TagsArr = tempArr;
  14568. if (hideCount > 0 && Node180_54isMultiYaxis) {
  14569. Node180_54Option.grid.left = (-1) * hideWidth;
  14570. }
  14571. }
  14572. function Node180_54GetHistoryData(callback) {
  14573. var Node180_54Now = Date.now();
  14574. var Node180_54CmdStr = Node180_54tags + '&beginTime='+ moment(Node180_54Now-Node180_54interval*1000).format('YYYY-MM-DD HH:mm:ss') +'&endTime='+ moment(Node180_54Now).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node180_54pointInterval +'&count='+Node180_54count;
  14575. GD.getHisTrendData(Node180_54CmdStr, function (data) {
  14576. Node180_54SetupHistoryData(data);
  14577. callback();
  14578. });
  14579. }
  14580. function Node180_54SetupHistoryData(data) {
  14581. var hisValues = data || {};
  14582. var k = 0;
  14583. var date = [];
  14584. var test_data = {};
  14585. var dictagdesc = Node180_54dictags,
  14586. areaStyleShow = false;
  14587. var option = Node180_54Option;
  14588. option.legend && option.legend.data && (option.legend.data.length = 0);
  14589. for (tag in hisValues) {
  14590. test_data[tag] = [];
  14591. option.series[k] = {};
  14592. option.series[k].name = dictagdesc[tag];
  14593. option.series[k].type = 'line';
  14594. option.series[k].showSymbol = false;
  14595. option.series[k].sampling = 'average';
  14596. option.series[k].symbol = "none";
  14597. option.series[k].animation = false;
  14598. if (option.yAxis && option.yAxis.length > 1) {
  14599. dictagdesc[tag + 'index'] && (option.series[k].yAxisIndex = dictagdesc[tag + 'index']);
  14600. }
  14601. if (areaStyleShow) {
  14602. option.series[k].areaStyle = {
  14603. normal: {}
  14604. };
  14605. }
  14606. option.legend && option.legend.data && option.legend.data.push(dictagdesc[tag]);
  14607. for (var i = 0; i < hisValues[tag].length; i++) {
  14608. var time = hisValues[tag][i].Time;
  14609. var timepts = time.split(' ');
  14610. var timepars = timepts[0].split('/');
  14611. if (timepars[1] < 10) {
  14612. time = time.replace("/" + timepars[1] + "/",
  14613. "/0" + timepars[1] + "/");
  14614. }
  14615. if (timepars[2] < 10) {
  14616. time = time.replace("/" + timepars[2] + " ",
  14617. "/0" + timepars[2] + " ");
  14618. }
  14619. //2017-04-01 15:34:28.000
  14620. time = time.replace("/", "-");
  14621. time = time.replace("/", "-");
  14622. time = time.replace(" ", "T");
  14623. var tagTime = moment(time).format();
  14624. var tagValue = parseFloat(hisValues[tag][i].Value).toFixed(2);
  14625. test_data[tag][i] = {
  14626. name: tagTime,
  14627. value: [
  14628. tagTime,
  14629. tagValue
  14630. ]
  14631. };
  14632. }
  14633. option.series[k].data = test_data[tag];
  14634. k++;
  14635. }
  14636. Node180_54BindOption(option)
  14637. }
  14638. function Node180_54BindOption(option) {
  14639. if (option.xAxis) {
  14640. option.xAxis.interval = 600*1000 / 5;
  14641. option.xAxis.max = Date.now() + (600 * (1-(0.666 || 1)) * 1000);
  14642. }
  14643. Node180_54_chart.setOption(option, true);
  14644. }
  14645. function Node180_54DisposeChart() {
  14646. Node180_54contextmenu && Node180_54contextmenu.dispose();
  14647. Node180_54_chart.dispose();
  14648. }
  14649. function Node180_54GetRealData() {
  14650. var data, tag, newDate, series, currentdata, oldData;
  14651. series = Node180_54Option.series;
  14652. newDate = Date.now();
  14653. for (var i = 0, l = Node180_54TagDataArr.length; i < l; i++) {
  14654. data = Node180_54TagDataArr[i];
  14655. if (!series[i]) continue;
  14656. currentdata = series[i].data;
  14657. oldData = currentdata.shift();
  14658. oldData = oldData || {};
  14659. oldData.name = moment(newDate).format('YYYY-MM-DD HH:mm:ss');
  14660. if (oldData.value) {
  14661. oldData.value[0] = newDate;
  14662. oldData.value[1] = (getVarValue(data.name) - 0).toFixed(2);
  14663. } else {
  14664. oldData.value = [newDate, (getVarValue(data.name) - 0).toFixed(2)];
  14665. }
  14666. currentdata.push(oldData);
  14667. if(series[i].data.length > 20000)
  14668. {
  14669. series[i].data.splice(0,series[i].data.length-20000);
  14670. }
  14671. }
  14672. if (++ Node180_54RefreshCount > 900) {
  14673. // 刷新超过半小时就重置一次
  14674. Node180_54RefreshCount = 0;
  14675. Node180_54DisposeChart();
  14676. Node180_54InitChart();
  14677. }
  14678. Node180_54BindOption(Node180_54Option)
  14679. }
  14680. function Node180_54AutoRefresh() {
  14681. Node180_54IntervalTimer && clearInterval(Node180_54IntervalTimer);
  14682. // Node180_54IntervalTimer = setInterval(Node180_54GetRealData, 1000);
  14683. Node180_54IntervalTimer = setInterval(Node180_54GetRealData, 1000);
  14684. intervalTimers.push(Node180_54IntervalTimer);
  14685. }
  14686. function Node180_54InitChart () {
  14687. Node180_54chart = new ht.Chart(Node180_54Option, 1114*ratio.ratioX, 178*ratio.ratioY);
  14688. Node180_54.setHtml(Node180_54chart);
  14689. Node180_54_chart = Node180_54chart._chart;
  14690. window.Node180_54_chart = Node180_54_chart;
  14691. Node180_54chart._chart.getZr().on('mousewheel', function () {
  14692. Node180_54IntervalTimer && clearInterval(Node180_54IntervalTimer);
  14693. });
  14694. setTimeout(function () {
  14695. var contextmenu = new ht.widget.ContextMenu(),
  14696. items = [
  14697. {
  14698. label: '重置',
  14699. action: function (e) {
  14700. Node180_54GetHistoryData(Node180_54AutoRefresh);
  14701. }
  14702. }
  14703. ]
  14704. contextmenu.beforeShow = function (e) {
  14705. this.setItems(items);
  14706. }
  14707. contextmenu.addTo(Node180_54chart.getView());
  14708. Node180_54contextmenu = contextmenu;
  14709. }, 500)
  14710. }
  14711. function Node180_54Init() {
  14712. Node180_54loadYAxis(Node180_54TagsObjArr);
  14713. Node180_54 = new ht.HtmlNode();
  14714. Node180_54.setPosition({'x':1355*ratio.ratioX,'y':775*ratio.ratioY});
  14715. Node180_54.setWidth(1114*ratio.ratioX);
  14716. Node180_54.setHeight(178*ratio.ratioY);
  14717. Node180_54.setScalable(false);
  14718. Node180_54.s({
  14719. '2d.selectable': false,
  14720. '2d.movable': false
  14721. });
  14722. Node180_54InitChart();
  14723. dataModel.add(Node180_54);
  14724. Node180_54interval=600;
  14725. if(Node180_54interval>3000){
  14726. Node180_54count=3000;
  14727. Node180_54pointInterval = Math.ceil(Node180_54interval / 3000);
  14728. } else {
  14729. Node180_54count = Node180_54interval;
  14730. Node180_54pointInterval = 1;
  14731. }
  14732. Node180_54GetHistoryData(Node180_54AutoRefresh);
  14733. }
  14734. var Node180_54Option = {
  14735. color:['rgba(255,0,0,1)','rgba(0,192,0,1)'],
  14736. tooltip: {
  14737. trigger: 'axis',
  14738. position: function (pt) {
  14739. return [pt[0], '10%'];
  14740. },
  14741. // backgroundColor:"@toolticpback@",
  14742. backgroundColor: 'rgba(32,178,170,1)',
  14743. borderWidth: 1,
  14744. borderColor: 'rgba(32,178,170,1)',
  14745. textStyle: {
  14746. color: 'rgba(211,211,211,1)',
  14747. fontFamily: 'Arail',
  14748. fontSize: 13
  14749. },
  14750. formatter: function (params) {
  14751. var result = '', p, unit;
  14752. if (params && params.length <= 0) {
  14753. return ;
  14754. }
  14755. result = '<span>'+ moment(params[0].axisValue).format('YYYY-MM-DD hh:mm:ss') +'</span><br>'
  14756. for (var i = 0, len = params.length; i < len; i++) {
  14757. p = params[i] || {};
  14758. p.value = p.value || [];
  14759. unit = Node180_54UnitDicObj[p.seriesName];
  14760. unit = unit ? ' ('+ unit +')' : '';
  14761. result += p.marker + '<span style="color:'+ p.color +';">' + p.seriesName + ' : ' + p.value[1] + unit + '</span><br>'
  14762. }
  14763. return result;
  14764. }
  14765. },
  14766. legend: {
  14767. show:true,
  14768. top:'top',
  14769. left:'center',
  14770. data:[],
  14771. textStyle:{
  14772. fontSize:10.66664,
  14773. color: 'rgba(105,105,105,1)',
  14774. fontWeight: 'bold',
  14775. fontFamily :'Arial'
  14776. },
  14777. inactiveColor: 'rgba(102,121,161,1)',
  14778. icon: 'roundRect',
  14779. itemWidth: 16,
  14780. itemHeight: 16
  14781. },
  14782. grid: {
  14783. left: '2%',
  14784. right: '3%',
  14785. bottom:'2%',
  14786. top:true ? '25px' : '5%',
  14787. show:false,
  14788. containLabel: true,
  14789. backgroundColor:'rgba(211,211,211,1)'
  14790. },
  14791. xAxis: {
  14792. splitNumber:5,
  14793. type : 'time',
  14794. boundaryGap : false,
  14795. axisLine:{
  14796. lineStyle:{
  14797. color:'rgba(211,211,211,1)'
  14798. }
  14799. },
  14800. splitLine: {
  14801. show: true,
  14802. lineStyle: {
  14803. color: 'rgba(192,192,192,1)',
  14804. width:1,
  14805. type:'solid'
  14806. },
  14807. },
  14808. axisTick:{
  14809. show:true,
  14810. lineStyle:{
  14811. color:'rgba(211,211,211,1)'
  14812. }
  14813. },
  14814. axisLabel:{
  14815. show:true,
  14816. textStyle:{
  14817. color:"rgba(211,211,211,1)",
  14818. fontSize:"13.3333"
  14819. },
  14820. formatter:function(value){return moment(value).format('HH:mm:ss');}
  14821. }
  14822. },
  14823. yAxis: Node180_54YAxisArr,
  14824. dataZoom: [
  14825. {
  14826. show: false,
  14827. realtime: true,
  14828. start: 0,
  14829. end: 100
  14830. },
  14831. {
  14832. type: 'inside',
  14833. realtime: true,
  14834. start: 0,
  14835. end: 100
  14836. }
  14837. ],
  14838. series: []
  14839. };
  14840. function Node180_54StartGetRealData() {
  14841. Node180_54IntervalTimer && clearInterval(Node180_54IntervalTimer);
  14842. // Node180_54IntervalTimer = setInterval(Node180_54GetRealData, 1000);
  14843. Node180_54IntervalTimer = setInterval(Node180_54RefreshData, 1000);
  14844. intervalTimers.push(Node180_54IntervalTimer);
  14845. };
  14846. Node180_54Init();
  14847. function Node180_54SetOption (varList,beginTime){
  14848. var dateNow = Date.now();
  14849. beginTime = beginTime || moment(dateNow-Node180_54interval*1000).format('YYYY-MM-DD HH:mm:ss');
  14850. Node180_54CmdStr = varList + '&beginTime='+ beginTime +'&endTime='+ moment(dateNow).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node180_54pointInterval +'&count='+Node180_54count;
  14851. getHisTrendData(Node180_54CmdStr,
  14852. function(data){
  14853. Node180_54SetupHistoryData(data);
  14854. Node180_54AutoRefresh();
  14855. }
  14856. );
  14857. };
  14858. function Node180_54EquipSure() {
  14859. Node180_54loadYAxis(Node180_54TagsObjArr);
  14860. Node180_54GetHistoryData(Node180_54AutoRefresh);
  14861. };_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14862. var Node180_55 = new ht.Node();
  14863. var Node180_55textStart, Node180_55textWidth, Node180_55lineStart, Node180_55align = 'center', Node180_55fontSize = 13.3333*_ratio.ratioY,Node180_55width = 9*_ratio.ratioX, Node180_55height = 94*_ratio.ratioY;
  14864. (function () {
  14865. if (Node180_55align === 'left') {
  14866. Node180_55textStart = Node180_55fontSize * 0.2 > 2 ? Node180_55fontSize * 0.2 - 4 : Node180_55fontSize * 0.2 - 9;
  14867. Node180_55textWidth = Node180_55width;
  14868. Node180_55lineStart = 1;
  14869. } else if (Node180_55align === 'right') {
  14870. Node180_55textStart = 0;
  14871. Node180_55textWidth =Node180_55fontSize <= 8 ? Node180_55width + Node180_55fontSize * 0.2 + 6 : Node180_55width - Node180_55fontSize * 0.2;
  14872. Node180_55lineStart = (Node180_55width - (ht.Default.getTextSize('风机状态', ' '+ Node180_55fontSize + 'px "Arial"').width + 6)) * 0.5;
  14873. } else if (Node180_55align === 'center') {
  14874. Node180_55textStart = -3;
  14875. Node180_55textWidth = Node180_55width;
  14876. Node180_55lineStart = Node180_55width - ht.Default.getTextSize('风机状态', ' '+ Node180_55fontSize + 'px "Arial"').width - 11;
  14877. }
  14878. })();
  14879. Node180_55.setImage(GD.getTextJSON(Node180_55width, Node180_55height, false, true, false, ' '+ Node180_55fontSize + 'px "Arial"'))
  14880. Node180_55.setPosition(769*ratio.ratioX, 232*ratio.ratioY);
  14881. Node180_55.setWidth(Node180_55width);
  14882. Node180_55.setHeight(Node180_55height);
  14883. Node180_55._nodeType = 'text';
  14884. Node180_55._disallowEvert = true;
  14885. Node180_55.setRotation(0*Math.PI/180);
  14886. Node180_55.a('node.width', Node180_55width);
  14887. Node180_55.a('node.height', Node180_55height);
  14888. Node180_55.a('node.rect', [0, 0, Node180_55width, Node180_55height]);
  14889. Node180_55.a('node.bordercolor','rgba(255,255,255,1)');
  14890. Node180_55.a('node.borderwidth', 0);
  14891. Node180_55.a('node.background','' || 'rgba(0,0,0,0)');
  14892. Node180_55.a('node.gradient','');
  14893. Node180_55.a('node.gradientcolor','');
  14894. Node180_55.a('node.text','风机状态');
  14895. Node180_55.a('node.textalign','center');
  14896. Node180_55.a('node.textvAlign','middle');
  14897. Node180_55.a('node.textrect', [Node180_55textStart, 0, Node180_55textWidth, Node180_55height]);
  14898. Node180_55.a('node.color','rgba(255,255,255,1)');
  14899. Node180_55.a('node.font',' '+ Node180_55fontSize + 'px "Arial"');
  14900. Node180_55.a('node.textvisible',false);
  14901. Node180_55.a('node.linefeed',true);
  14902. if (true) {
  14903. Node180_55.a('node.textfunc',function(g) {
  14904. g.beginPath();
  14905. var str=Node180_55.a('node.text') || '风机状态';
  14906. var color=Node180_55.a('node.color') || 'rgba(255,255,255,1)';
  14907. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_55width,Node180_55height,13.3333*_ratio.ratioY,"center",color,' '+ Node180_55fontSize + 'px "Arial"', 0,g);
  14908. });
  14909. }
  14910. if (false) {
  14911. Node180_55.a('node.underlinepoints',[Node180_55lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node180_55fontSize + 2 , ht.Default.getTextSize('风机状态', ' '+ Node180_55fontSize + 'px "Arial"').width + 6, (Node180_55height - Node180_55fontSize) * 0.5*_ratio.ratioY + Node180_55fontSize + 2 ]);
  14912. Node180_55.a('node.underlinevisible',false);
  14913. Node180_55.a('node.underlineBorderWidth', 1);
  14914. }
  14915. dataModel.add(Node180_55);
  14916. zoomNodeList.push({
  14917. node: Node180_55,
  14918. borderWidth: 0,
  14919. attr: 'node.borderwidth'
  14920. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14921. var Node180_56 = new ht.Node();
  14922. var Node180_56textStart, Node180_56textWidth, Node180_56lineStart, Node180_56align = 'center', Node180_56fontSize = 13.3333*_ratio.ratioY,Node180_56width = 9*_ratio.ratioX, Node180_56height = 94*_ratio.ratioY;
  14923. (function () {
  14924. if (Node180_56align === 'left') {
  14925. Node180_56textStart = Node180_56fontSize * 0.2 > 2 ? Node180_56fontSize * 0.2 - 4 : Node180_56fontSize * 0.2 - 9;
  14926. Node180_56textWidth = Node180_56width;
  14927. Node180_56lineStart = 1;
  14928. } else if (Node180_56align === 'right') {
  14929. Node180_56textStart = 0;
  14930. Node180_56textWidth =Node180_56fontSize <= 8 ? Node180_56width + Node180_56fontSize * 0.2 + 6 : Node180_56width - Node180_56fontSize * 0.2;
  14931. Node180_56lineStart = (Node180_56width - (ht.Default.getTextSize('日发电量', ' '+ Node180_56fontSize + 'px "Arial"').width + 6)) * 0.5;
  14932. } else if (Node180_56align === 'center') {
  14933. Node180_56textStart = -3;
  14934. Node180_56textWidth = Node180_56width;
  14935. Node180_56lineStart = Node180_56width - ht.Default.getTextSize('日发电量', ' '+ Node180_56fontSize + 'px "Arial"').width - 11;
  14936. }
  14937. })();
  14938. Node180_56.setImage(GD.getTextJSON(Node180_56width, Node180_56height, false, true, false, ' '+ Node180_56fontSize + 'px "Arial"'))
  14939. Node180_56.setPosition(769*ratio.ratioX, 339*ratio.ratioY);
  14940. Node180_56.setWidth(Node180_56width);
  14941. Node180_56.setHeight(Node180_56height);
  14942. Node180_56._nodeType = 'text';
  14943. Node180_56._disallowEvert = true;
  14944. Node180_56.setRotation(0*Math.PI/180);
  14945. Node180_56.a('node.width', Node180_56width);
  14946. Node180_56.a('node.height', Node180_56height);
  14947. Node180_56.a('node.rect', [0, 0, Node180_56width, Node180_56height]);
  14948. Node180_56.a('node.bordercolor','rgba(255,255,255,1)');
  14949. Node180_56.a('node.borderwidth', 0);
  14950. Node180_56.a('node.background','' || 'rgba(0,0,0,0)');
  14951. Node180_56.a('node.gradient','');
  14952. Node180_56.a('node.gradientcolor','');
  14953. Node180_56.a('node.text','日发电量');
  14954. Node180_56.a('node.textalign','center');
  14955. Node180_56.a('node.textvAlign','middle');
  14956. Node180_56.a('node.textrect', [Node180_56textStart, 0, Node180_56textWidth, Node180_56height]);
  14957. Node180_56.a('node.color','rgba(255,255,255,1)');
  14958. Node180_56.a('node.font',' '+ Node180_56fontSize + 'px "Arial"');
  14959. Node180_56.a('node.textvisible',false);
  14960. Node180_56.a('node.linefeed',true);
  14961. if (true) {
  14962. Node180_56.a('node.textfunc',function(g) {
  14963. g.beginPath();
  14964. var str=Node180_56.a('node.text') || '日发电量';
  14965. var color=Node180_56.a('node.color') || 'rgba(255,255,255,1)';
  14966. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_56width,Node180_56height,13.3333*_ratio.ratioY,"center",color,' '+ Node180_56fontSize + 'px "Arial"', 0,g);
  14967. });
  14968. }
  14969. if (false) {
  14970. Node180_56.a('node.underlinepoints',[Node180_56lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node180_56fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node180_56fontSize + 'px "Arial"').width + 6, (Node180_56height - Node180_56fontSize) * 0.5*_ratio.ratioY + Node180_56fontSize + 2 ]);
  14971. Node180_56.a('node.underlinevisible',false);
  14972. Node180_56.a('node.underlineBorderWidth', 1);
  14973. }
  14974. dataModel.add(Node180_56);
  14975. zoomNodeList.push({
  14976. node: Node180_56,
  14977. borderWidth: 0,
  14978. attr: 'node.borderwidth'
  14979. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  14980. var Node180_57 = new ht.Node();
  14981. var Node180_57textStart, Node180_57textWidth, Node180_57lineStart, Node180_57align = 'center', Node180_57fontSize = 13.3333*_ratio.ratioY,Node180_57width = 9*_ratio.ratioX, Node180_57height = 94*_ratio.ratioY;
  14982. (function () {
  14983. if (Node180_57align === 'left') {
  14984. Node180_57textStart = Node180_57fontSize * 0.2 > 2 ? Node180_57fontSize * 0.2 - 4 : Node180_57fontSize * 0.2 - 9;
  14985. Node180_57textWidth = Node180_57width;
  14986. Node180_57lineStart = 1;
  14987. } else if (Node180_57align === 'right') {
  14988. Node180_57textStart = 0;
  14989. Node180_57textWidth =Node180_57fontSize <= 8 ? Node180_57width + Node180_57fontSize * 0.2 + 6 : Node180_57width - Node180_57fontSize * 0.2;
  14990. Node180_57lineStart = (Node180_57width - (ht.Default.getTextSize('风机负荷', ' '+ Node180_57fontSize + 'px "Arial"').width + 6)) * 0.5;
  14991. } else if (Node180_57align === 'center') {
  14992. Node180_57textStart = -3;
  14993. Node180_57textWidth = Node180_57width;
  14994. Node180_57lineStart = Node180_57width - ht.Default.getTextSize('风机负荷', ' '+ Node180_57fontSize + 'px "Arial"').width - 11;
  14995. }
  14996. })();
  14997. Node180_57.setImage(GD.getTextJSON(Node180_57width, Node180_57height, false, true, false, ' '+ Node180_57fontSize + 'px "Arial"'))
  14998. Node180_57.setPosition(1369*ratio.ratioX, 329*ratio.ratioY);
  14999. Node180_57.setWidth(Node180_57width);
  15000. Node180_57.setHeight(Node180_57height);
  15001. Node180_57._nodeType = 'text';
  15002. Node180_57._disallowEvert = true;
  15003. Node180_57.setRotation(0*Math.PI/180);
  15004. Node180_57.a('node.width', Node180_57width);
  15005. Node180_57.a('node.height', Node180_57height);
  15006. Node180_57.a('node.rect', [0, 0, Node180_57width, Node180_57height]);
  15007. Node180_57.a('node.bordercolor','rgba(255,255,255,1)');
  15008. Node180_57.a('node.borderwidth', 0);
  15009. Node180_57.a('node.background','' || 'rgba(0,0,0,0)');
  15010. Node180_57.a('node.gradient','');
  15011. Node180_57.a('node.gradientcolor','');
  15012. Node180_57.a('node.text','风机负荷');
  15013. Node180_57.a('node.textalign','center');
  15014. Node180_57.a('node.textvAlign','middle');
  15015. Node180_57.a('node.textrect', [Node180_57textStart, 0, Node180_57textWidth, Node180_57height]);
  15016. Node180_57.a('node.color','rgba(255,255,255,1)');
  15017. Node180_57.a('node.font',' '+ Node180_57fontSize + 'px "Arial"');
  15018. Node180_57.a('node.textvisible',false);
  15019. Node180_57.a('node.linefeed',true);
  15020. if (true) {
  15021. Node180_57.a('node.textfunc',function(g) {
  15022. g.beginPath();
  15023. var str=Node180_57.a('node.text') || '风机负荷';
  15024. var color=Node180_57.a('node.color') || 'rgba(255,255,255,1)';
  15025. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_57width,Node180_57height,13.3333*_ratio.ratioY,"center",color,' '+ Node180_57fontSize + 'px "Arial"', 0,g);
  15026. });
  15027. }
  15028. if (false) {
  15029. Node180_57.a('node.underlinepoints',[Node180_57lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node180_57fontSize + 2 , ht.Default.getTextSize('风机负荷', ' '+ Node180_57fontSize + 'px "Arial"').width + 6, (Node180_57height - Node180_57fontSize) * 0.5*_ratio.ratioY + Node180_57fontSize + 2 ]);
  15030. Node180_57.a('node.underlinevisible',false);
  15031. Node180_57.a('node.underlineBorderWidth', 1);
  15032. }
  15033. dataModel.add(Node180_57);
  15034. zoomNodeList.push({
  15035. node: Node180_57,
  15036. borderWidth: 0,
  15037. attr: 'node.borderwidth'
  15038. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15039. var Node180_58 = new ht.Node();
  15040. var Node180_58textStart, Node180_58textWidth, Node180_58lineStart, Node180_58align = 'center', Node180_58fontSize = 13.3333*_ratio.ratioY,Node180_58width = 9*_ratio.ratioX, Node180_58height = 94*_ratio.ratioY;
  15041. (function () {
  15042. if (Node180_58align === 'left') {
  15043. Node180_58textStart = Node180_58fontSize * 0.2 > 2 ? Node180_58fontSize * 0.2 - 4 : Node180_58fontSize * 0.2 - 9;
  15044. Node180_58textWidth = Node180_58width;
  15045. Node180_58lineStart = 1;
  15046. } else if (Node180_58align === 'right') {
  15047. Node180_58textStart = 0;
  15048. Node180_58textWidth =Node180_58fontSize <= 8 ? Node180_58width + Node180_58fontSize * 0.2 + 6 : Node180_58width - Node180_58fontSize * 0.2;
  15049. Node180_58lineStart = (Node180_58width - (ht.Default.getTextSize('月发电量', ' '+ Node180_58fontSize + 'px "Arial"').width + 6)) * 0.5;
  15050. } else if (Node180_58align === 'center') {
  15051. Node180_58textStart = -3;
  15052. Node180_58textWidth = Node180_58width;
  15053. Node180_58lineStart = Node180_58width - ht.Default.getTextSize('月发电量', ' '+ Node180_58fontSize + 'px "Arial"').width - 11;
  15054. }
  15055. })();
  15056. Node180_58.setImage(GD.getTextJSON(Node180_58width, Node180_58height, false, true, false, ' '+ Node180_58fontSize + 'px "Arial"'))
  15057. Node180_58.setPosition(769*ratio.ratioX, 549*ratio.ratioY);
  15058. Node180_58.setWidth(Node180_58width);
  15059. Node180_58.setHeight(Node180_58height);
  15060. Node180_58._nodeType = 'text';
  15061. Node180_58._disallowEvert = true;
  15062. Node180_58.setRotation(0*Math.PI/180);
  15063. Node180_58.a('node.width', Node180_58width);
  15064. Node180_58.a('node.height', Node180_58height);
  15065. Node180_58.a('node.rect', [0, 0, Node180_58width, Node180_58height]);
  15066. Node180_58.a('node.bordercolor','rgba(255,255,255,1)');
  15067. Node180_58.a('node.borderwidth', 0);
  15068. Node180_58.a('node.background','' || 'rgba(0,0,0,0)');
  15069. Node180_58.a('node.gradient','');
  15070. Node180_58.a('node.gradientcolor','');
  15071. Node180_58.a('node.text','月发电量');
  15072. Node180_58.a('node.textalign','center');
  15073. Node180_58.a('node.textvAlign','middle');
  15074. Node180_58.a('node.textrect', [Node180_58textStart, 0, Node180_58textWidth, Node180_58height]);
  15075. Node180_58.a('node.color','rgba(255,255,255,1)');
  15076. Node180_58.a('node.font',' '+ Node180_58fontSize + 'px "Arial"');
  15077. Node180_58.a('node.textvisible',false);
  15078. Node180_58.a('node.linefeed',true);
  15079. if (true) {
  15080. Node180_58.a('node.textfunc',function(g) {
  15081. g.beginPath();
  15082. var str=Node180_58.a('node.text') || '月发电量';
  15083. var color=Node180_58.a('node.color') || 'rgba(255,255,255,1)';
  15084. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_58width,Node180_58height,13.3333*_ratio.ratioY,"center",color,' '+ Node180_58fontSize + 'px "Arial"', 0,g);
  15085. });
  15086. }
  15087. if (false) {
  15088. Node180_58.a('node.underlinepoints',[Node180_58lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node180_58fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node180_58fontSize + 'px "Arial"').width + 6, (Node180_58height - Node180_58fontSize) * 0.5*_ratio.ratioY + Node180_58fontSize + 2 ]);
  15089. Node180_58.a('node.underlinevisible',false);
  15090. Node180_58.a('node.underlineBorderWidth', 1);
  15091. }
  15092. dataModel.add(Node180_58);
  15093. zoomNodeList.push({
  15094. node: Node180_58,
  15095. borderWidth: 0,
  15096. attr: 'node.borderwidth'
  15097. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15098. var Node180_59 = new ht.Node();
  15099. var Node180_59textStart, Node180_59textWidth, Node180_59lineStart, Node180_59align = 'center', Node180_59fontSize = 13.3333*_ratio.ratioY,Node180_59width = 9*_ratio.ratioX, Node180_59height = 94*_ratio.ratioY;
  15100. (function () {
  15101. if (Node180_59align === 'left') {
  15102. Node180_59textStart = Node180_59fontSize * 0.2 > 2 ? Node180_59fontSize * 0.2 - 4 : Node180_59fontSize * 0.2 - 9;
  15103. Node180_59textWidth = Node180_59width;
  15104. Node180_59lineStart = 1;
  15105. } else if (Node180_59align === 'right') {
  15106. Node180_59textStart = 0;
  15107. Node180_59textWidth =Node180_59fontSize <= 8 ? Node180_59width + Node180_59fontSize * 0.2 + 6 : Node180_59width - Node180_59fontSize * 0.2;
  15108. Node180_59lineStart = (Node180_59width - (ht.Default.getTextSize('功率曲线', ' '+ Node180_59fontSize + 'px "Arial"').width + 6)) * 0.5;
  15109. } else if (Node180_59align === 'center') {
  15110. Node180_59textStart = -3;
  15111. Node180_59textWidth = Node180_59width;
  15112. Node180_59lineStart = Node180_59width - ht.Default.getTextSize('功率曲线', ' '+ Node180_59fontSize + 'px "Arial"').width - 11;
  15113. }
  15114. })();
  15115. Node180_59.setImage(GD.getTextJSON(Node180_59width, Node180_59height, false, true, false, ' '+ Node180_59fontSize + 'px "Arial"'))
  15116. Node180_59.setPosition(769*ratio.ratioX, 769*ratio.ratioY);
  15117. Node180_59.setWidth(Node180_59width);
  15118. Node180_59.setHeight(Node180_59height);
  15119. Node180_59._nodeType = 'text';
  15120. Node180_59._disallowEvert = true;
  15121. Node180_59.setRotation(0*Math.PI/180);
  15122. Node180_59.a('node.width', Node180_59width);
  15123. Node180_59.a('node.height', Node180_59height);
  15124. Node180_59.a('node.rect', [0, 0, Node180_59width, Node180_59height]);
  15125. Node180_59.a('node.bordercolor','rgba(255,255,255,1)');
  15126. Node180_59.a('node.borderwidth', 0);
  15127. Node180_59.a('node.background','' || 'rgba(0,0,0,0)');
  15128. Node180_59.a('node.gradient','');
  15129. Node180_59.a('node.gradientcolor','');
  15130. Node180_59.a('node.text','功率曲线');
  15131. Node180_59.a('node.textalign','center');
  15132. Node180_59.a('node.textvAlign','middle');
  15133. Node180_59.a('node.textrect', [Node180_59textStart, 0, Node180_59textWidth, Node180_59height]);
  15134. Node180_59.a('node.color','rgba(255,255,255,1)');
  15135. Node180_59.a('node.font',' '+ Node180_59fontSize + 'px "Arial"');
  15136. Node180_59.a('node.textvisible',false);
  15137. Node180_59.a('node.linefeed',true);
  15138. if (true) {
  15139. Node180_59.a('node.textfunc',function(g) {
  15140. g.beginPath();
  15141. var str=Node180_59.a('node.text') || '功率曲线';
  15142. var color=Node180_59.a('node.color') || 'rgba(255,255,255,1)';
  15143. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_59width,Node180_59height,13.3333*_ratio.ratioY,"center",color,' '+ Node180_59fontSize + 'px "Arial"', 0,g);
  15144. });
  15145. }
  15146. if (false) {
  15147. Node180_59.a('node.underlinepoints',[Node180_59lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node180_59fontSize + 2 , ht.Default.getTextSize('功率曲线', ' '+ Node180_59fontSize + 'px "Arial"').width + 6, (Node180_59height - Node180_59fontSize) * 0.5*_ratio.ratioY + Node180_59fontSize + 2 ]);
  15148. Node180_59.a('node.underlinevisible',false);
  15149. Node180_59.a('node.underlineBorderWidth', 1);
  15150. }
  15151. dataModel.add(Node180_59);
  15152. zoomNodeList.push({
  15153. node: Node180_59,
  15154. borderWidth: 0,
  15155. attr: 'node.borderwidth'
  15156. }); _ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio);
  15157. var Node180_60 = new ht.Node();
  15158. var Node180_60textStart, Node180_60textWidth, Node180_60lineStart, Node180_60align = 'left', Node180_60fontSize = 13.3333*_ratio.ratioY,Node180_60width = 89*_ratio.ratioX, Node180_60height = 25*_ratio.ratioY;
  15159. (function () {
  15160. if (Node180_60align === 'left') {
  15161. Node180_60textStart = Node180_60fontSize * 0.2 > 2 ? Node180_60fontSize * 0.2 - 4 : Node180_60fontSize * 0.2 - 9;
  15162. Node180_60textWidth = Node180_60width;
  15163. Node180_60lineStart = 1;
  15164. } else if (Node180_60align === 'right') {
  15165. Node180_60textStart = 0;
  15166. Node180_60textWidth =Node180_60fontSize <= 8 ? Node180_60width + Node180_60fontSize * 0.2 + 6 : Node180_60width - Node180_60fontSize * 0.2;
  15167. Node180_60lineStart = (Node180_60width - (ht.Default.getTextSize('电量(万kwh)', ' '+ Node180_60fontSize + 'px "Arial"').width + 6)) * 0.5;
  15168. } else if (Node180_60align === 'center') {
  15169. Node180_60textStart = -3;
  15170. Node180_60textWidth = Node180_60width;
  15171. Node180_60lineStart = Node180_60width - ht.Default.getTextSize('电量(万kwh)', ' '+ Node180_60fontSize + 'px "Arial"').width - 11;
  15172. }
  15173. })();
  15174. Node180_60.setImage(GD.getTextJSON(Node180_60width, Node180_60height, false, true, false, ' '+ Node180_60fontSize + 'px "Arial"'))
  15175. Node180_60.setPosition(794*ratio.ratioX, 342*ratio.ratioY);
  15176. Node180_60.setWidth(Node180_60width);
  15177. Node180_60.setHeight(Node180_60height);
  15178. Node180_60._nodeType = 'text';
  15179. Node180_60._disallowEvert = true;
  15180. Node180_60.setRotation(-89.47369*Math.PI/180);
  15181. Node180_60.a('node.width', Node180_60width);
  15182. Node180_60.a('node.height', Node180_60height);
  15183. Node180_60.a('node.rect', [0, 0, Node180_60width, Node180_60height]);
  15184. Node180_60.a('node.bordercolor','rgba(0,0,0,1)');
  15185. Node180_60.a('node.borderwidth', 0);
  15186. Node180_60.a('node.background','' || 'rgba(0,0,0,0)');
  15187. Node180_60.a('node.gradient','');
  15188. Node180_60.a('node.gradientcolor','');
  15189. Node180_60.a('node.text','电量(万kwh)');
  15190. Node180_60.a('node.textalign','left');
  15191. Node180_60.a('node.textvAlign','middle');
  15192. Node180_60.a('node.textrect', [Node180_60textStart, 0, Node180_60textWidth, Node180_60height]);
  15193. Node180_60.a('node.color','rgba(0,0,0,1)');
  15194. Node180_60.a('node.font',' '+ Node180_60fontSize + 'px "Arial"');
  15195. Node180_60.a('node.textvisible',false);
  15196. Node180_60.a('node.linefeed',true);
  15197. if (true) {
  15198. Node180_60.a('node.textfunc',function(g) {
  15199. g.beginPath();
  15200. var str=Node180_60.a('node.text') || '电量(万kwh)';
  15201. var color=Node180_60.a('node.color') || 'rgba(0,0,0,1)';
  15202. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_60width,Node180_60height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_60fontSize + 'px "Arial"', 0,g);
  15203. });
  15204. }
  15205. if (false) {
  15206. Node180_60.a('node.underlinepoints',[Node180_60lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node180_60fontSize + 2 , ht.Default.getTextSize('电量(万kwh)', ' '+ Node180_60fontSize + 'px "Arial"').width + 6, (Node180_60height - Node180_60fontSize) * 0.5*_ratio.ratioY + Node180_60fontSize + 2 ]);
  15207. Node180_60.a('node.underlinevisible',false);
  15208. Node180_60.a('node.underlineBorderWidth', 1);
  15209. }
  15210. dataModel.add(Node180_60);
  15211. zoomNodeList.push({
  15212. node: Node180_60,
  15213. borderWidth: 0,
  15214. attr: 'node.borderwidth'
  15215. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15216. var Node180_61type = 'rect';
  15217. var Node180_61 = new ht.Node(),
  15218. Node180_61BorderWidth = 1*2;
  15219. if (Node180_61type === 'arc') {
  15220. Node180_61BorderWidth *= 1;
  15221. }
  15222. Node180_61.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node180_61type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  15223. Node180_61.setPosition(794*ratio.ratioX, 412*ratio.ratioY);
  15224. Node180_61.setSize(20*_ratio.ratioX, 20*_ratio.ratioY);
  15225. Node180_61.s({
  15226. 'pixelPerfect':true
  15227. /*@AddPara@*/
  15228. });
  15229. Node180_61.a('node.width', 20*_ratio.ratioX);
  15230. Node180_61.a('node.height', 20*_ratio.ratioY);
  15231. Node180_61.a('node.type', Node180_61type);
  15232. Node180_61.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]);
  15233. Node180_61.a('node.background', 'rgba(118,184,244,1)');
  15234. Node180_61.a('node.gradientcolor', 'rgba(118,184,244,1)');
  15235. Node180_61.a('node.gradient', '');
  15236. Node180_61.a('node.borderwidth', Node180_61BorderWidth);
  15237. Node180_61.a('node.color', 'rgba(0,0,0,1)');
  15238. Node180_61.a('node.fillrect', [0,0,0,0]);
  15239. Node180_61.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  15240. Node180_61.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  15241. Node180_61.a('node.fillgradient', '');
  15242. if (Node180_61type !== 'rect') {
  15243. Node180_61.a('node.arcFrom', parseFloat('@arcFrom@'));
  15244. Node180_61.a('node.arcTo', parseFloat('@arcTo@'));
  15245. Node180_61.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  15246. }
  15247. if (Node180_61type === 'arc') {
  15248. Node180_61.a('node.arcOval', true);
  15249. }
  15250. Node180_61.setRotation(0*Math.PI/180);
  15251. Node180_61.borderWidth = Node180_61BorderWidth;
  15252. Node180_61.borderFillwidth = Node180_61BorderWidth;
  15253. dataModel.add(Node180_61);
  15254. Node180_61._nodename = 'Node180_61'
  15255. Node180_61._nodeType = 'rect';
  15256. zoomNodeList.push({
  15257. node: Node180_61,
  15258. attr: 'node.borderwidth'
  15259. });
  15260. (function (node, _img) {
  15261. var setWidth = node.setWidth,
  15262. setHeight = node.setHeight;
  15263. node.setWidth = function (width) {
  15264. if (width === this.getWidth()) return ;
  15265. var height = this.getHeight();
  15266. this.a('node.width', width);
  15267. this.a('node.rect', [0,0,width, height]);
  15268. setWidth.apply(this, arguments);
  15269. }
  15270. node.setHeight = function (height) {
  15271. if (height === this.getHeight()) return ;
  15272. var width = this.getWidth();
  15273. this.a('node.height', height);
  15274. this.a('node.rect', [0,0,width, height]);
  15275. setHeight.apply(this, arguments);
  15276. }
  15277. })(Node180_61, Node180_61.getImage());_ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio);
  15278. var Node180_62_0 = new ht.Node();
  15279. var Node180_62_0textStart, Node180_62_0textWidth, Node180_62_0lineStart, Node180_62_0align = 'left', Node180_62_0fontSize = 13.3333*_ratio.ratioY,Node180_62_0width = 79*_ratio.ratioX, Node180_62_0height = 25*_ratio.ratioY;
  15280. (function () {
  15281. if (Node180_62_0align === 'left') {
  15282. Node180_62_0textStart = Node180_62_0fontSize * 0.2 > 2 ? Node180_62_0fontSize * 0.2 - 4 : Node180_62_0fontSize * 0.2 - 9;
  15283. Node180_62_0textWidth = Node180_62_0width;
  15284. Node180_62_0lineStart = 1;
  15285. } else if (Node180_62_0align === 'right') {
  15286. Node180_62_0textStart = 0;
  15287. Node180_62_0textWidth =Node180_62_0fontSize <= 8 ? Node180_62_0width + Node180_62_0fontSize * 0.2 + 6 : Node180_62_0width - Node180_62_0fontSize * 0.2;
  15288. Node180_62_0lineStart = (Node180_62_0width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node180_62_0fontSize + 'px "Arial"').width + 6)) * 0.5;
  15289. } else if (Node180_62_0align === 'center') {
  15290. Node180_62_0textStart = -3;
  15291. Node180_62_0textWidth = Node180_62_0width;
  15292. Node180_62_0lineStart = Node180_62_0width - ht.Default.getTextSize('风速(m/s)', ' '+ Node180_62_0fontSize + 'px "Arial"').width - 11;
  15293. }
  15294. })();
  15295. Node180_62_0.setImage(GD.getTextJSON(Node180_62_0width, Node180_62_0height, false, true, false, ' '+ Node180_62_0fontSize + 'px "Arial"'))
  15296. Node180_62_0.setPosition(1342*ratio.ratioX, 337*ratio.ratioY);
  15297. Node180_62_0.setWidth(Node180_62_0width);
  15298. Node180_62_0.setHeight(Node180_62_0height);
  15299. Node180_62_0._nodeType = 'text';
  15300. Node180_62_0._disallowEvert = true;
  15301. Node180_62_0.setRotation(-89.47369*Math.PI/180);
  15302. Node180_62_0.a('node.width', Node180_62_0width);
  15303. Node180_62_0.a('node.height', Node180_62_0height);
  15304. Node180_62_0.a('node.rect', [0, 0, Node180_62_0width, Node180_62_0height]);
  15305. Node180_62_0.a('node.bordercolor','rgba(0,0,0,1)');
  15306. Node180_62_0.a('node.borderwidth', 0);
  15307. Node180_62_0.a('node.background','' || 'rgba(0,0,0,0)');
  15308. Node180_62_0.a('node.gradient','');
  15309. Node180_62_0.a('node.gradientcolor','');
  15310. Node180_62_0.a('node.text','风速(m/s)');
  15311. Node180_62_0.a('node.textalign','left');
  15312. Node180_62_0.a('node.textvAlign','middle');
  15313. Node180_62_0.a('node.textrect', [Node180_62_0textStart, 0, Node180_62_0textWidth, Node180_62_0height]);
  15314. Node180_62_0.a('node.color','rgba(0,0,0,1)');
  15315. Node180_62_0.a('node.font',' '+ Node180_62_0fontSize + 'px "Arial"');
  15316. Node180_62_0.a('node.textvisible',false);
  15317. Node180_62_0.a('node.linefeed',true);
  15318. if (true) {
  15319. Node180_62_0.a('node.textfunc',function(g) {
  15320. g.beginPath();
  15321. var str=Node180_62_0.a('node.text') || '风速(m/s)';
  15322. var color=Node180_62_0.a('node.color') || 'rgba(0,0,0,1)';
  15323. canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180_62_0width,Node180_62_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node180_62_0fontSize + 'px "Arial"', 0,g);
  15324. });
  15325. }
  15326. if (false) {
  15327. Node180_62_0.a('node.underlinepoints',[Node180_62_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node180_62_0fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node180_62_0fontSize + 'px "Arial"').width + 6, (Node180_62_0height - Node180_62_0fontSize) * 0.5*_ratio.ratioY + Node180_62_0fontSize + 2 ]);
  15328. Node180_62_0.a('node.underlinevisible',false);
  15329. Node180_62_0.a('node.underlineBorderWidth', 1);
  15330. }
  15331. dataModel.add(Node180_62_0);
  15332. zoomNodeList.push({
  15333. node: Node180_62_0,
  15334. borderWidth: 0,
  15335. attr: 'node.borderwidth'
  15336. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15337. var Node180_62_1type = 'rect';
  15338. var Node180_62_1 = new ht.Node(),
  15339. Node180_62_1BorderWidth = 1*2;
  15340. if (Node180_62_1type === 'arc') {
  15341. Node180_62_1BorderWidth *= 1;
  15342. }
  15343. Node180_62_1.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node180_62_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  15344. Node180_62_1.setPosition(1342*ratio.ratioX, 388*ratio.ratioY);
  15345. Node180_62_1.setSize(20*_ratio.ratioX, 20*_ratio.ratioY);
  15346. Node180_62_1.s({
  15347. 'pixelPerfect':true
  15348. /*@AddPara@*/
  15349. });
  15350. Node180_62_1.a('node.width', 20*_ratio.ratioX);
  15351. Node180_62_1.a('node.height', 20*_ratio.ratioY);
  15352. Node180_62_1.a('node.type', Node180_62_1type);
  15353. Node180_62_1.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]);
  15354. Node180_62_1.a('node.background', 'rgba(249,126,95,1)');
  15355. Node180_62_1.a('node.gradientcolor', 'rgba(249,126,95,1)');
  15356. Node180_62_1.a('node.gradient', '');
  15357. Node180_62_1.a('node.borderwidth', Node180_62_1BorderWidth);
  15358. Node180_62_1.a('node.color', 'rgba(0,0,0,1)');
  15359. Node180_62_1.a('node.fillrect', [0,0,0,0]);
  15360. Node180_62_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  15361. Node180_62_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  15362. Node180_62_1.a('node.fillgradient', '');
  15363. if (Node180_62_1type !== 'rect') {
  15364. Node180_62_1.a('node.arcFrom', parseFloat('@arcFrom@'));
  15365. Node180_62_1.a('node.arcTo', parseFloat('@arcTo@'));
  15366. Node180_62_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  15367. }
  15368. if (Node180_62_1type === 'arc') {
  15369. Node180_62_1.a('node.arcOval', true);
  15370. }
  15371. Node180_62_1.setRotation(0*Math.PI/180);
  15372. Node180_62_1.borderWidth = Node180_62_1BorderWidth;
  15373. Node180_62_1.borderFillwidth = Node180_62_1BorderWidth;
  15374. dataModel.add(Node180_62_1);
  15375. Node180_62_1._nodename = 'Node180_62_1'
  15376. Node180_62_1._nodeType = 'rect';
  15377. zoomNodeList.push({
  15378. node: Node180_62_1,
  15379. attr: 'node.borderwidth'
  15380. });
  15381. (function (node, _img) {
  15382. var setWidth = node.setWidth,
  15383. setHeight = node.setHeight;
  15384. node.setWidth = function (width) {
  15385. if (width === this.getWidth()) return ;
  15386. var height = this.getHeight();
  15387. this.a('node.width', width);
  15388. this.a('node.rect', [0,0,width, height]);
  15389. setWidth.apply(this, arguments);
  15390. }
  15391. node.setHeight = function (height) {
  15392. if (height === this.getHeight()) return ;
  15393. var width = this.getWidth();
  15394. this.a('node.height', height);
  15395. this.a('node.rect', [0,0,width, height]);
  15396. setHeight.apply(this, arguments);
  15397. }
  15398. })(Node180_62_1, Node180_62_1.getImage());var Node180_63;
  15399. (function () {
  15400. var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15401. var ratioX, ratioY;
  15402. if ('Default' === 'False') {
  15403. ratioX = 1;
  15404. ratioY = 1;
  15405. } else if ('Default' === 'X') {
  15406. ratioX = ratioY = _ratio.ratioX;
  15407. } else if ('Default' === 'Y') {
  15408. ratioX = ratioY = _ratio.ratioY;
  15409. } else {
  15410. ratioX = _ratio.ratioX;
  15411. ratioY = _ratio.ratioY;
  15412. }
  15413. ht.Default.setImage('imgimage//img//indexblack.png', PAGEROOTDIR + 'image//img//indexblack.png');
  15414. Node180_63 = new ht.Node();
  15415. Node180_63.setPosition(1769*ratio.ratioX, 211*ratio.ratioY);
  15416. Node180_63.setSize(52*ratioX, 78*ratioY);
  15417. Node180_63.setImage('imgimage//img//indexblack.png');
  15418. Node180_63.setRotation(0*Math.PI/180);
  15419. Node180_63._zoomBy = 'Default';
  15420. Node180_63._nodeType = 'image';
  15421. Node180_63._disallowEvert = true;
  15422. dataModel.add(Node180_63);
  15423. })();
  15424. _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15425. var Node180_64type = 'rect';
  15426. var Node180_64 = new ht.Node(),
  15427. Node180_64BorderWidth = 1*2;
  15428. if (Node180_64type === 'arc') {
  15429. Node180_64BorderWidth *= 1;
  15430. }
  15431. Node180_64.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node180_64type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  15432. Node180_64.setPosition(1822*ratio.ratioX, 489*ratio.ratioY);
  15433. Node180_64.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
  15434. Node180_64.s({
  15435. 'pixelPerfect':true
  15436. /*@AddPara@*/
  15437. });
  15438. Node180_64.a('node.width', 15*_ratio.ratioX);
  15439. Node180_64.a('node.height', 15*_ratio.ratioY);
  15440. Node180_64.a('node.type', Node180_64type);
  15441. Node180_64.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
  15442. Node180_64.a('node.background', 'rgba(0,255,255,1)');
  15443. Node180_64.a('node.gradientcolor', 'rgba(0,255,255,1)');
  15444. Node180_64.a('node.gradient', '');
  15445. Node180_64.a('node.borderwidth', Node180_64BorderWidth);
  15446. Node180_64.a('node.color', 'rgba(0,0,0,1)');
  15447. Node180_64.a('node.fillrect', [0,0,0,0]);
  15448. Node180_64.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  15449. Node180_64.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  15450. Node180_64.a('node.fillgradient', '');
  15451. if (Node180_64type !== 'rect') {
  15452. Node180_64.a('node.arcFrom', parseFloat('@arcFrom@'));
  15453. Node180_64.a('node.arcTo', parseFloat('@arcTo@'));
  15454. Node180_64.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  15455. }
  15456. if (Node180_64type === 'arc') {
  15457. Node180_64.a('node.arcOval', true);
  15458. }
  15459. Node180_64.setRotation(0*Math.PI/180);
  15460. Node180_64.borderWidth = Node180_64BorderWidth;
  15461. Node180_64.borderFillwidth = Node180_64BorderWidth;
  15462. dataModel.add(Node180_64);
  15463. Node180_64._nodename = 'Node180_64'
  15464. Node180_64._nodeType = 'rect';
  15465. zoomNodeList.push({
  15466. node: Node180_64,
  15467. attr: 'node.borderwidth'
  15468. });
  15469. (function (node, _img) {
  15470. var setWidth = node.setWidth,
  15471. setHeight = node.setHeight;
  15472. node.setWidth = function (width) {
  15473. if (width === this.getWidth()) return ;
  15474. var height = this.getHeight();
  15475. this.a('node.width', width);
  15476. this.a('node.rect', [0,0,width, height]);
  15477. setWidth.apply(this, arguments);
  15478. }
  15479. node.setHeight = function (height) {
  15480. if (height === this.getHeight()) return ;
  15481. var width = this.getWidth();
  15482. this.a('node.height', height);
  15483. this.a('node.rect', [0,0,width, height]);
  15484. setHeight.apply(this, arguments);
  15485. }
  15486. })(Node180_64, Node180_64.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15487. var Node180_65 = new ht.Node();
  15488. var Node180_65textStart, Node180_65textWidth, Node180_65lineStart, Node180_65align = 'left', Node180_65fontSize = 10.66664*_ratio.ratioY,Node180_65width = 40*_ratio.ratioX, Node180_65height = 13*_ratio.ratioY;
  15489. (function () {
  15490. if (Node180_65align === 'left') {
  15491. Node180_65textStart = Node180_65fontSize * 0.2 > 2 ? Node180_65fontSize * 0.2 - 4 : Node180_65fontSize * 0.2 - 9;
  15492. Node180_65textWidth = Node180_65width;
  15493. Node180_65lineStart = 1;
  15494. } else if (Node180_65align === 'right') {
  15495. Node180_65textStart = 0;
  15496. Node180_65textWidth =Node180_65fontSize <= 8 ? Node180_65width + Node180_65fontSize * 0.2 + 6 : Node180_65width - Node180_65fontSize * 0.2;
  15497. Node180_65lineStart = (Node180_65width - (ht.Default.getTextSize('2016年', ' '+ Node180_65fontSize + 'px "Arial"').width + 6)) * 0.5;
  15498. } else if (Node180_65align === 'center') {
  15499. Node180_65textStart = -3;
  15500. Node180_65textWidth = Node180_65width;
  15501. Node180_65lineStart = Node180_65width - ht.Default.getTextSize('2016年', ' '+ Node180_65fontSize + 'px "Arial"').width - 11;
  15502. }
  15503. })();
  15504. Node180_65.setImage(GD.getTextJSON(Node180_65width, Node180_65height, true, false, false, ' '+ Node180_65fontSize + 'px "Arial"'))
  15505. Node180_65.setPosition(1855*ratio.ratioX, 489*ratio.ratioY);
  15506. Node180_65.setWidth(Node180_65width);
  15507. Node180_65.setHeight(Node180_65height);
  15508. Node180_65._nodeType = 'text';
  15509. Node180_65._disallowEvert = true;
  15510. Node180_65.setRotation(0*Math.PI/180);
  15511. Node180_65.a('node.width', Node180_65width);
  15512. Node180_65.a('node.height', Node180_65height);
  15513. Node180_65.a('node.rect', [0, 0, Node180_65width, Node180_65height]);
  15514. Node180_65.a('node.bordercolor','rgba(0,0,0,1)');
  15515. Node180_65.a('node.borderwidth', 0);
  15516. Node180_65.a('node.background','' || 'rgba(0,0,0,0)');
  15517. Node180_65.a('node.gradient','');
  15518. Node180_65.a('node.gradientcolor','');
  15519. Node180_65.a('node.text','2016年');
  15520. Node180_65.a('node.textalign','left');
  15521. Node180_65.a('node.textvAlign','middle');
  15522. Node180_65.a('node.textrect', [Node180_65textStart, 0, Node180_65textWidth, Node180_65height]);
  15523. Node180_65.a('node.color','rgba(0,0,0,1)');
  15524. Node180_65.a('node.font',' '+ Node180_65fontSize + 'px "Arial"');
  15525. Node180_65.a('node.textvisible',true);
  15526. Node180_65.a('node.linefeed',false);
  15527. if (false) {
  15528. Node180_65.a('node.textfunc',function(g) {
  15529. g.beginPath();
  15530. var str=Node180_65.a('node.text') || '2016年';
  15531. var color=Node180_65.a('node.color') || 'rgba(0,0,0,1)';
  15532. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_65width,Node180_65height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_65fontSize + 'px "Arial"', 0,g);
  15533. });
  15534. }
  15535. if (false) {
  15536. Node180_65.a('node.underlinepoints',[Node180_65lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_65fontSize + 2 , ht.Default.getTextSize('2016年', ' '+ Node180_65fontSize + 'px "Arial"').width + 6, (Node180_65height - Node180_65fontSize) * 0.5*_ratio.ratioY + Node180_65fontSize + 2 ]);
  15537. Node180_65.a('node.underlinevisible',false);
  15538. Node180_65.a('node.underlineBorderWidth', 1);
  15539. }
  15540. dataModel.add(Node180_65);
  15541. zoomNodeList.push({
  15542. node: Node180_65,
  15543. borderWidth: 0,
  15544. attr: 'node.borderwidth'
  15545. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15546. var Node180_66type = 'rect';
  15547. var Node180_66 = new ht.Node(),
  15548. Node180_66BorderWidth = 1*2;
  15549. if (Node180_66type === 'arc') {
  15550. Node180_66BorderWidth *= 1;
  15551. }
  15552. Node180_66.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node180_66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  15553. Node180_66.setPosition(1822*ratio.ratioX, 509*ratio.ratioY);
  15554. Node180_66.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
  15555. Node180_66.s({
  15556. 'pixelPerfect':true
  15557. /*@AddPara@*/
  15558. });
  15559. Node180_66.a('node.width', 15*_ratio.ratioX);
  15560. Node180_66.a('node.height', 15*_ratio.ratioY);
  15561. Node180_66.a('node.type', Node180_66type);
  15562. Node180_66.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
  15563. Node180_66.a('node.background', 'rgba(255,255,128,1)');
  15564. Node180_66.a('node.gradientcolor', 'rgba(255,255,128,1)');
  15565. Node180_66.a('node.gradient', '');
  15566. Node180_66.a('node.borderwidth', Node180_66BorderWidth);
  15567. Node180_66.a('node.color', 'rgba(0,0,0,1)');
  15568. Node180_66.a('node.fillrect', [0,0,0,0]);
  15569. Node180_66.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  15570. Node180_66.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  15571. Node180_66.a('node.fillgradient', '');
  15572. if (Node180_66type !== 'rect') {
  15573. Node180_66.a('node.arcFrom', parseFloat('@arcFrom@'));
  15574. Node180_66.a('node.arcTo', parseFloat('@arcTo@'));
  15575. Node180_66.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  15576. }
  15577. if (Node180_66type === 'arc') {
  15578. Node180_66.a('node.arcOval', true);
  15579. }
  15580. Node180_66.setRotation(0*Math.PI/180);
  15581. Node180_66.borderWidth = Node180_66BorderWidth;
  15582. Node180_66.borderFillwidth = Node180_66BorderWidth;
  15583. dataModel.add(Node180_66);
  15584. Node180_66._nodename = 'Node180_66'
  15585. Node180_66._nodeType = 'rect';
  15586. zoomNodeList.push({
  15587. node: Node180_66,
  15588. attr: 'node.borderwidth'
  15589. });
  15590. (function (node, _img) {
  15591. var setWidth = node.setWidth,
  15592. setHeight = node.setHeight;
  15593. node.setWidth = function (width) {
  15594. if (width === this.getWidth()) return ;
  15595. var height = this.getHeight();
  15596. this.a('node.width', width);
  15597. this.a('node.rect', [0,0,width, height]);
  15598. setWidth.apply(this, arguments);
  15599. }
  15600. node.setHeight = function (height) {
  15601. if (height === this.getHeight()) return ;
  15602. var width = this.getWidth();
  15603. this.a('node.height', height);
  15604. this.a('node.rect', [0,0,width, height]);
  15605. setHeight.apply(this, arguments);
  15606. }
  15607. })(Node180_66, Node180_66.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15608. var Node180_67 = new ht.Node();
  15609. var Node180_67textStart, Node180_67textWidth, Node180_67lineStart, Node180_67align = 'left', Node180_67fontSize = 10.66664*_ratio.ratioY,Node180_67width = 40*_ratio.ratioX, Node180_67height = 13*_ratio.ratioY;
  15610. (function () {
  15611. if (Node180_67align === 'left') {
  15612. Node180_67textStart = Node180_67fontSize * 0.2 > 2 ? Node180_67fontSize * 0.2 - 4 : Node180_67fontSize * 0.2 - 9;
  15613. Node180_67textWidth = Node180_67width;
  15614. Node180_67lineStart = 1;
  15615. } else if (Node180_67align === 'right') {
  15616. Node180_67textStart = 0;
  15617. Node180_67textWidth =Node180_67fontSize <= 8 ? Node180_67width + Node180_67fontSize * 0.2 + 6 : Node180_67width - Node180_67fontSize * 0.2;
  15618. Node180_67lineStart = (Node180_67width - (ht.Default.getTextSize('2017年', ' '+ Node180_67fontSize + 'px "Arial"').width + 6)) * 0.5;
  15619. } else if (Node180_67align === 'center') {
  15620. Node180_67textStart = -3;
  15621. Node180_67textWidth = Node180_67width;
  15622. Node180_67lineStart = Node180_67width - ht.Default.getTextSize('2017年', ' '+ Node180_67fontSize + 'px "Arial"').width - 11;
  15623. }
  15624. })();
  15625. Node180_67.setImage(GD.getTextJSON(Node180_67width, Node180_67height, true, false, false, ' '+ Node180_67fontSize + 'px "Arial"'))
  15626. Node180_67.setPosition(1855*ratio.ratioX, 509*ratio.ratioY);
  15627. Node180_67.setWidth(Node180_67width);
  15628. Node180_67.setHeight(Node180_67height);
  15629. Node180_67._nodeType = 'text';
  15630. Node180_67._disallowEvert = true;
  15631. Node180_67.setRotation(0*Math.PI/180);
  15632. Node180_67.a('node.width', Node180_67width);
  15633. Node180_67.a('node.height', Node180_67height);
  15634. Node180_67.a('node.rect', [0, 0, Node180_67width, Node180_67height]);
  15635. Node180_67.a('node.bordercolor','rgba(0,0,0,1)');
  15636. Node180_67.a('node.borderwidth', 0);
  15637. Node180_67.a('node.background','' || 'rgba(0,0,0,0)');
  15638. Node180_67.a('node.gradient','');
  15639. Node180_67.a('node.gradientcolor','');
  15640. Node180_67.a('node.text','2017年');
  15641. Node180_67.a('node.textalign','left');
  15642. Node180_67.a('node.textvAlign','middle');
  15643. Node180_67.a('node.textrect', [Node180_67textStart, 0, Node180_67textWidth, Node180_67height]);
  15644. Node180_67.a('node.color','rgba(0,0,0,1)');
  15645. Node180_67.a('node.font',' '+ Node180_67fontSize + 'px "Arial"');
  15646. Node180_67.a('node.textvisible',true);
  15647. Node180_67.a('node.linefeed',false);
  15648. if (false) {
  15649. Node180_67.a('node.textfunc',function(g) {
  15650. g.beginPath();
  15651. var str=Node180_67.a('node.text') || '2017年';
  15652. var color=Node180_67.a('node.color') || 'rgba(0,0,0,1)';
  15653. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_67width,Node180_67height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_67fontSize + 'px "Arial"', 0,g);
  15654. });
  15655. }
  15656. if (false) {
  15657. Node180_67.a('node.underlinepoints',[Node180_67lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_67fontSize + 2 , ht.Default.getTextSize('2017年', ' '+ Node180_67fontSize + 'px "Arial"').width + 6, (Node180_67height - Node180_67fontSize) * 0.5*_ratio.ratioY + Node180_67fontSize + 2 ]);
  15658. Node180_67.a('node.underlinevisible',false);
  15659. Node180_67.a('node.underlineBorderWidth', 1);
  15660. }
  15661. dataModel.add(Node180_67);
  15662. zoomNodeList.push({
  15663. node: Node180_67,
  15664. borderWidth: 0,
  15665. attr: 'node.borderwidth'
  15666. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15667. var Node180_68type = 'rect';
  15668. var Node180_68 = new ht.Node(),
  15669. Node180_68BorderWidth = 1*2;
  15670. if (Node180_68type === 'arc') {
  15671. Node180_68BorderWidth *= 1;
  15672. }
  15673. Node180_68.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node180_68type, '@arcFrom@', '@arcTo@', '@arcClose@'));
  15674. Node180_68.setPosition(1822*ratio.ratioX, 529*ratio.ratioY);
  15675. Node180_68.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
  15676. Node180_68.s({
  15677. 'pixelPerfect':true
  15678. /*@AddPara@*/
  15679. });
  15680. Node180_68.a('node.width', 15*_ratio.ratioX);
  15681. Node180_68.a('node.height', 15*_ratio.ratioY);
  15682. Node180_68.a('node.type', Node180_68type);
  15683. Node180_68.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
  15684. Node180_68.a('node.background', 'rgba(128,255,128,1)');
  15685. Node180_68.a('node.gradientcolor', 'rgba(128,255,128,1)');
  15686. Node180_68.a('node.gradient', '');
  15687. Node180_68.a('node.borderwidth', Node180_68BorderWidth);
  15688. Node180_68.a('node.color', 'rgba(0,0,0,1)');
  15689. Node180_68.a('node.fillrect', [0,0,0,0]);
  15690. Node180_68.a('node.fillbackcolor', 'rgba(0,0,0,0)');
  15691. Node180_68.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
  15692. Node180_68.a('node.fillgradient', '');
  15693. if (Node180_68type !== 'rect') {
  15694. Node180_68.a('node.arcFrom', parseFloat('@arcFrom@'));
  15695. Node180_68.a('node.arcTo', parseFloat('@arcTo@'));
  15696. Node180_68.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
  15697. }
  15698. if (Node180_68type === 'arc') {
  15699. Node180_68.a('node.arcOval', true);
  15700. }
  15701. Node180_68.setRotation(0*Math.PI/180);
  15702. Node180_68.borderWidth = Node180_68BorderWidth;
  15703. Node180_68.borderFillwidth = Node180_68BorderWidth;
  15704. dataModel.add(Node180_68);
  15705. Node180_68._nodename = 'Node180_68'
  15706. Node180_68._nodeType = 'rect';
  15707. zoomNodeList.push({
  15708. node: Node180_68,
  15709. attr: 'node.borderwidth'
  15710. });
  15711. (function (node, _img) {
  15712. var setWidth = node.setWidth,
  15713. setHeight = node.setHeight;
  15714. node.setWidth = function (width) {
  15715. if (width === this.getWidth()) return ;
  15716. var height = this.getHeight();
  15717. this.a('node.width', width);
  15718. this.a('node.rect', [0,0,width, height]);
  15719. setWidth.apply(this, arguments);
  15720. }
  15721. node.setHeight = function (height) {
  15722. if (height === this.getHeight()) return ;
  15723. var width = this.getWidth();
  15724. this.a('node.height', height);
  15725. this.a('node.rect', [0,0,width, height]);
  15726. setHeight.apply(this, arguments);
  15727. }
  15728. })(Node180_68, Node180_68.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15729. var Node180_69 = new ht.Node();
  15730. var Node180_69textStart, Node180_69textWidth, Node180_69lineStart, Node180_69align = 'left', Node180_69fontSize = 10.66664*_ratio.ratioY,Node180_69width = 40*_ratio.ratioX, Node180_69height = 13*_ratio.ratioY;
  15731. (function () {
  15732. if (Node180_69align === 'left') {
  15733. Node180_69textStart = Node180_69fontSize * 0.2 > 2 ? Node180_69fontSize * 0.2 - 4 : Node180_69fontSize * 0.2 - 9;
  15734. Node180_69textWidth = Node180_69width;
  15735. Node180_69lineStart = 1;
  15736. } else if (Node180_69align === 'right') {
  15737. Node180_69textStart = 0;
  15738. Node180_69textWidth =Node180_69fontSize <= 8 ? Node180_69width + Node180_69fontSize * 0.2 + 6 : Node180_69width - Node180_69fontSize * 0.2;
  15739. Node180_69lineStart = (Node180_69width - (ht.Default.getTextSize('2018年', ' '+ Node180_69fontSize + 'px "Arial"').width + 6)) * 0.5;
  15740. } else if (Node180_69align === 'center') {
  15741. Node180_69textStart = -3;
  15742. Node180_69textWidth = Node180_69width;
  15743. Node180_69lineStart = Node180_69width - ht.Default.getTextSize('2018年', ' '+ Node180_69fontSize + 'px "Arial"').width - 11;
  15744. }
  15745. })();
  15746. Node180_69.setImage(GD.getTextJSON(Node180_69width, Node180_69height, true, false, false, ' '+ Node180_69fontSize + 'px "Arial"'))
  15747. Node180_69.setPosition(1855*ratio.ratioX, 529*ratio.ratioY);
  15748. Node180_69.setWidth(Node180_69width);
  15749. Node180_69.setHeight(Node180_69height);
  15750. Node180_69._nodeType = 'text';
  15751. Node180_69._disallowEvert = true;
  15752. Node180_69.setRotation(0*Math.PI/180);
  15753. Node180_69.a('node.width', Node180_69width);
  15754. Node180_69.a('node.height', Node180_69height);
  15755. Node180_69.a('node.rect', [0, 0, Node180_69width, Node180_69height]);
  15756. Node180_69.a('node.bordercolor','rgba(0,0,0,1)');
  15757. Node180_69.a('node.borderwidth', 0);
  15758. Node180_69.a('node.background','' || 'rgba(0,0,0,0)');
  15759. Node180_69.a('node.gradient','');
  15760. Node180_69.a('node.gradientcolor','');
  15761. Node180_69.a('node.text','2018年');
  15762. Node180_69.a('node.textalign','left');
  15763. Node180_69.a('node.textvAlign','middle');
  15764. Node180_69.a('node.textrect', [Node180_69textStart, 0, Node180_69textWidth, Node180_69height]);
  15765. Node180_69.a('node.color','rgba(0,0,0,1)');
  15766. Node180_69.a('node.font',' '+ Node180_69fontSize + 'px "Arial"');
  15767. Node180_69.a('node.textvisible',true);
  15768. Node180_69.a('node.linefeed',false);
  15769. if (false) {
  15770. Node180_69.a('node.textfunc',function(g) {
  15771. g.beginPath();
  15772. var str=Node180_69.a('node.text') || '2018年';
  15773. var color=Node180_69.a('node.color') || 'rgba(0,0,0,1)';
  15774. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_69width,Node180_69height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_69fontSize + 'px "Arial"', 0,g);
  15775. });
  15776. }
  15777. if (false) {
  15778. Node180_69.a('node.underlinepoints',[Node180_69lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_69fontSize + 2 , ht.Default.getTextSize('2018年', ' '+ Node180_69fontSize + 'px "Arial"').width + 6, (Node180_69height - Node180_69fontSize) * 0.5*_ratio.ratioY + Node180_69fontSize + 2 ]);
  15779. Node180_69.a('node.underlinevisible',false);
  15780. Node180_69.a('node.underlineBorderWidth', 1);
  15781. }
  15782. dataModel.add(Node180_69);
  15783. zoomNodeList.push({
  15784. node: Node180_69,
  15785. borderWidth: 0,
  15786. attr: 'node.borderwidth'
  15787. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15788. var Node180_70 = new ht.Node();
  15789. var Node180_70textStart, Node180_70textWidth, Node180_70lineStart, Node180_70align = 'left', Node180_70fontSize = 10.66664*_ratio.ratioY,Node180_70width = 78*_ratio.ratioX, Node180_70height = 13*_ratio.ratioY;
  15790. (function () {
  15791. if (Node180_70align === 'left') {
  15792. Node180_70textStart = Node180_70fontSize * 0.2 > 2 ? Node180_70fontSize * 0.2 - 4 : Node180_70fontSize * 0.2 - 9;
  15793. Node180_70textWidth = Node180_70width;
  15794. Node180_70lineStart = 1;
  15795. } else if (Node180_70align === 'right') {
  15796. Node180_70textStart = 0;
  15797. Node180_70textWidth =Node180_70fontSize <= 8 ? Node180_70width + Node180_70fontSize * 0.2 + 6 : Node180_70width - Node180_70fontSize * 0.2;
  15798. Node180_70lineStart = (Node180_70width - (ht.Default.getTextSize('应发功率(MW)', ' '+ Node180_70fontSize + 'px "Arial"').width + 6)) * 0.5;
  15799. } else if (Node180_70align === 'center') {
  15800. Node180_70textStart = -3;
  15801. Node180_70textWidth = Node180_70width;
  15802. Node180_70lineStart = Node180_70width - ht.Default.getTextSize('应发功率(MW)', ' '+ Node180_70fontSize + 'px "Arial"').width - 11;
  15803. }
  15804. })();
  15805. Node180_70.setImage(GD.getTextJSON(Node180_70width, Node180_70height, true, false, false, ' '+ Node180_70fontSize + 'px "Arial"'))
  15806. Node180_70.setPosition(1518*ratio.ratioX, 434*ratio.ratioY);
  15807. Node180_70.setWidth(Node180_70width);
  15808. Node180_70.setHeight(Node180_70height);
  15809. Node180_70._nodeType = 'text';
  15810. Node180_70._disallowEvert = true;
  15811. Node180_70.setRotation(0*Math.PI/180);
  15812. Node180_70.a('node.width', Node180_70width);
  15813. Node180_70.a('node.height', Node180_70height);
  15814. Node180_70.a('node.rect', [0, 0, Node180_70width, Node180_70height]);
  15815. Node180_70.a('node.bordercolor','rgba(0,0,0,1)');
  15816. Node180_70.a('node.borderwidth', 0);
  15817. Node180_70.a('node.background','' || 'rgba(0,0,0,0)');
  15818. Node180_70.a('node.gradient','');
  15819. Node180_70.a('node.gradientcolor','');
  15820. Node180_70.a('node.text','应发功率(MW)');
  15821. Node180_70.a('node.textalign','left');
  15822. Node180_70.a('node.textvAlign','middle');
  15823. Node180_70.a('node.textrect', [Node180_70textStart, 0, Node180_70textWidth, Node180_70height]);
  15824. Node180_70.a('node.color','rgba(0,0,0,1)');
  15825. Node180_70.a('node.font',' '+ Node180_70fontSize + 'px "Arial"');
  15826. Node180_70.a('node.textvisible',true);
  15827. Node180_70.a('node.linefeed',false);
  15828. if (false) {
  15829. Node180_70.a('node.textfunc',function(g) {
  15830. g.beginPath();
  15831. var str=Node180_70.a('node.text') || '应发功率(MW)';
  15832. var color=Node180_70.a('node.color') || 'rgba(0,0,0,1)';
  15833. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_70width,Node180_70height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_70fontSize + 'px "Arial"', 0,g);
  15834. });
  15835. }
  15836. if (false) {
  15837. Node180_70.a('node.underlinepoints',[Node180_70lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_70fontSize + 2 , ht.Default.getTextSize('应发功率(MW)', ' '+ Node180_70fontSize + 'px "Arial"').width + 6, (Node180_70height - Node180_70fontSize) * 0.5*_ratio.ratioY + Node180_70fontSize + 2 ]);
  15838. Node180_70.a('node.underlinevisible',false);
  15839. Node180_70.a('node.underlineBorderWidth', 1);
  15840. }
  15841. dataModel.add(Node180_70);
  15842. zoomNodeList.push({
  15843. node: Node180_70,
  15844. borderWidth: 0,
  15845. attr: 'node.borderwidth'
  15846. }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
  15847. var Node180_71 = new ht.Node();
  15848. var Node180_71textStart, Node180_71textWidth, Node180_71lineStart, Node180_71align = 'left', Node180_71fontSize = 10.66664*_ratio.ratioY,Node180_71width = 78*_ratio.ratioX, Node180_71height = 13*_ratio.ratioY;
  15849. (function () {
  15850. if (Node180_71align === 'left') {
  15851. Node180_71textStart = Node180_71fontSize * 0.2 > 2 ? Node180_71fontSize * 0.2 - 4 : Node180_71fontSize * 0.2 - 9;
  15852. Node180_71textWidth = Node180_71width;
  15853. Node180_71lineStart = 1;
  15854. } else if (Node180_71align === 'right') {
  15855. Node180_71textStart = 0;
  15856. Node180_71textWidth =Node180_71fontSize <= 8 ? Node180_71width + Node180_71fontSize * 0.2 + 6 : Node180_71width - Node180_71fontSize * 0.2;
  15857. Node180_71lineStart = (Node180_71width - (ht.Default.getTextSize('保证功率(MW)', ' '+ Node180_71fontSize + 'px "Arial"').width + 6)) * 0.5;
  15858. } else if (Node180_71align === 'center') {
  15859. Node180_71textStart = -3;
  15860. Node180_71textWidth = Node180_71width;
  15861. Node180_71lineStart = Node180_71width - ht.Default.getTextSize('保证功率(MW)', ' '+ Node180_71fontSize + 'px "Arial"').width - 11;
  15862. }
  15863. })();
  15864. Node180_71.setImage(GD.getTextJSON(Node180_71width, Node180_71height, true, false, false, ' '+ Node180_71fontSize + 'px "Arial"'))
  15865. Node180_71.setPosition(1746*ratio.ratioX, 439*ratio.ratioY);
  15866. Node180_71.setWidth(Node180_71width);
  15867. Node180_71.setHeight(Node180_71height);
  15868. Node180_71._nodeType = 'text';
  15869. Node180_71._disallowEvert = true;
  15870. Node180_71.setRotation(0*Math.PI/180);
  15871. Node180_71.a('node.width', Node180_71width);
  15872. Node180_71.a('node.height', Node180_71height);
  15873. Node180_71.a('node.rect', [0, 0, Node180_71width, Node180_71height]);
  15874. Node180_71.a('node.bordercolor','rgba(0,0,0,1)');
  15875. Node180_71.a('node.borderwidth', 0);
  15876. Node180_71.a('node.background','' || 'rgba(0,0,0,0)');
  15877. Node180_71.a('node.gradient','');
  15878. Node180_71.a('node.gradientcolor','');
  15879. Node180_71.a('node.text','保证功率(MW)');
  15880. Node180_71.a('node.textalign','left');
  15881. Node180_71.a('node.textvAlign','middle');
  15882. Node180_71.a('node.textrect', [Node180_71textStart, 0, Node180_71textWidth, Node180_71height]);
  15883. Node180_71.a('node.color','rgba(0,0,0,1)');
  15884. Node180_71.a('node.font',' '+ Node180_71fontSize + 'px "Arial"');
  15885. Node180_71.a('node.textvisible',true);
  15886. Node180_71.a('node.linefeed',false);
  15887. if (false) {
  15888. Node180_71.a('node.textfunc',function(g) {
  15889. g.beginPath();
  15890. var str=Node180_71.a('node.text') || '保证功率(MW)';
  15891. var color=Node180_71.a('node.color') || 'rgba(0,0,0,1)';
  15892. canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node180_71width,Node180_71height,10.66664*_ratio.ratioY,"left",color,' '+ Node180_71fontSize + 'px "Arial"', 0,g);
  15893. });
  15894. }
  15895. if (false) {
  15896. Node180_71.a('node.underlinepoints',[Node180_71lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node180_71fontSize + 2 , ht.Default.getTextSize('保证功率(MW)', ' '+ Node180_71fontSize + 'px "Arial"').width + 6, (Node180_71height - Node180_71fontSize) * 0.5*_ratio.ratioY + Node180_71fontSize + 2 ]);
  15897. Node180_71.a('node.underlinevisible',false);
  15898. Node180_71.a('node.underlineBorderWidth', 1);
  15899. }
  15900. dataModel.add(Node180_71);
  15901. zoomNodeList.push({
  15902. node: Node180_71,
  15903. borderWidth: 0,
  15904. attr: 'node.borderwidth'
  15905. });
  15906. /*@GraphList@*/
  15907. var datas = dataModel.getDatas();
  15908. ;(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,}});
  15909. if((0 )){Node2.s('2d.visible',true);}else{Node2.s('2d.visible',false);}
  15910. setBorderOpacity(Node17,0,"Node17");
  15911. if(typeof(Node17.borderWidth)!="undefined"){setDashStyle(Node17,"Node17",'NoDash',Node17.borderWidth);}
  15912. if(typeof(Node20.borderWidth)!="undefined"){setDashStyle(Node20,"Node20",'NoDash',Node20.borderWidth);}
  15913. if(typeof(Node22.borderWidth)!="undefined"){setDashStyle(Node22,"Node22",'NoDash',Node22.borderWidth);}
  15914. if((0 )){Node156.s('2d.visible',true);}else{Node156.s('2d.visible',false);}
  15915. if((0 )){Node158.s('2d.visible',true);}else{Node158.s('2d.visible',false);}
  15916. if((0 )){Node160.s('2d.visible',true);}else{Node160.s('2d.visible',false);}
  15917. if((0 )){Node162.s('2d.visible',true);}else{Node162.s('2d.visible',false);}
  15918. if((0 )){Node164.s('2d.visible',true);}else{Node164.s('2d.visible',false);}
  15919. if((0 )){Node166.s('2d.visible',true);}else{Node166.s('2d.visible',false);}
  15920. if((0 )){Node168.s('2d.visible',true);}else{Node168.s('2d.visible',false);}
  15921. ;(typeof Node173 != "undefined") && (Node173.localDynamicVar = function ( ) {return {'fengjitaishu':Node173_fengjitaishu,'zhuangjirongliang':Node173_zhuangjirongliang,'pingjunfengsu':Node173_pingjunfengsu,'rifadianliang':Node173_rifadianliang,'yougonggonglv':Node173_yougonggonglv,}});
  15922. if((0 )){Node173.s('2d.visible',true);}else{Node173.s('2d.visible',false);}
  15923. ;(typeof Node174 != "undefined") && (Node174.localDynamicVar = function ( ) {return {'fengjitaishu':Node174_fengjitaishu,'zhuangjirongliang':Node174_zhuangjirongliang,'pingjunfengsu':Node174_pingjunfengsu,'rifadianliang':Node174_rifadianliang,'yougonggonglv':Node174_yougonggonglv,}});
  15924. if((0 )){Node174.s('2d.visible',true);}else{Node174.s('2d.visible',false);}
  15925. ;(typeof Node175 != "undefined") && (Node175.localDynamicVar = function ( ) {return {'fengjitaishu':Node175_fengjitaishu,'zhuangjirongliang':Node175_zhuangjirongliang,'pingjunfengsu':Node175_pingjunfengsu,'rifadianliang':Node175_rifadianliang,'yougonggonglv':Node175_yougonggonglv,}});
  15926. if((0 )){Node175.s('2d.visible',true);}else{Node175.s('2d.visible',false);}
  15927. ;(typeof Node176 != "undefined") && (Node176.localDynamicVar = function ( ) {return {'fengjitaishu':Node176_fengjitaishu,'zhuangjirongliang':Node176_zhuangjirongliang,'pingjunfengsu':Node176_pingjunfengsu,'rifadianliang':Node176_rifadianliang,'yougonggonglv':Node176_yougonggonglv,}});
  15928. if((0 )){Node176.s('2d.visible',true);}else{Node176.s('2d.visible',false);}
  15929. ;(typeof Node177 != "undefined") && (Node177.localDynamicVar = function ( ) {return {'fengjitaishu':Node177_fengjitaishu,'zhuangjirongliang':Node177_zhuangjirongliang,'pingjunfengsu':Node177_pingjunfengsu,'rifadianliang':Node177_rifadianliang,'yougonggonglv':Node177_yougonggonglv,}});
  15930. if((0 )){Node177.s('2d.visible',true);}else{Node177.s('2d.visible',false);}
  15931. ;(typeof Node178 != "undefined") && (Node178.localDynamicVar = function ( ) {return {'fengjitaishu':Node178_fengjitaishu,'zhuangjirongliang':Node178_zhuangjirongliang,'pingjunfengsu':Node178_pingjunfengsu,'rifadianliang':Node178_rifadianliang,'yougonggonglv':Node178_yougonggonglv,}});
  15932. if((0 )){Node178.s('2d.visible',true);}else{Node178.s('2d.visible',false);}
  15933. ;(typeof Node179 != "undefined") && (Node179.localDynamicVar = function ( ) {return {'fengjitaishu':Node179_fengjitaishu,'zhuangjirongliang':Node179_zhuangjirongliang,'pingjunfengsu':Node179_pingjunfengsu,'rifadianliang':Node179_rifadianliang,'yougonggonglv':Node179_yougonggonglv,}});
  15934. if((0 )){Node179.s('2d.visible',true);}else{Node179.s('2d.visible',false);}
  15935. if(typeof(Node180_7.borderWidth)!="undefined"){setDashStyle(Node180_7,"Node180_7",'NoDash',Node180_7.borderWidth);}
  15936. if(typeof(Node180_40.borderWidth)!="undefined"){setDashStyle(Node180_40,"Node180_40",'NoDash',Node180_40.borderWidth);}
  15937. if(typeof(Node180_42.borderWidth)!="undefined"){setDashStyle(Node180_42,"Node180_42",'NoDash',Node180_42.borderWidth);}
  15938. if(typeof(Node180_52.borderWidth)!="undefined"){setDashStyle(Node180_52,"Node180_52",'NoDash',Node180_52.borderWidth);}
  15939. if(typeof(Node180_53.borderWidth)!="undefined"){setDashStyle(Node180_53,"Node180_53",'NoDash',Node180_53.borderWidth);}
  15940. /*@PageInit@*/
  15941. function DatarefreshTask(callback){
  15942. /*@DataVarText@*/
  15943. callback = callback || function () {};
  15944. if(varList.length <= 0){
  15945. return callback();
  15946. }
  15947. var ajaxdata = {};
  15948. var ajaxtype = 'GET';
  15949. var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
  15950. var para = "";
  15951. for(var i=0;i<varList.length;i++){
  15952. para = para + varList[i];
  15953. if(i!==varList.length-1)
  15954. para = para +',';
  15955. }
  15956. str = str + encodeURIComponent(para);
  15957. if (str.length > 2000) {
  15958. para = encodeURIComponent(para);
  15959. str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
  15960. ajaxdata = {'': para};
  15961. ajaxtype = 'POST';
  15962. }
  15963. $.ajax({
  15964. url: str ,
  15965. type: ajaxtype,
  15966. dataType: 'json',
  15967. data: ajaxdata,
  15968. cache: false,
  15969. success: function (data) {
  15970. if (data === null) return;
  15971. var snapshots = eval(data);
  15972. //判断快照是否为空
  15973. if (snapshots != null) {
  15974. for (var i = 0; i < snapshots.length; i++) {
  15975. var index = varList.indexOf (snapshots[i].TagName);
  15976. var tagName = snapshots[i].TagName.toLowerCase();
  15977. if(index >= 0 && index< varList.length){
  15978. if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
  15979. varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
  15980. VarSnapshotTime[tagName]=snapshots[i].Time;
  15981. }else{
  15982. varListObj[tagName] = VarValue[index] = snapshots[i].Value;
  15983. VarSnapshotTime[tagName]=snapshots[i].Time;
  15984. }
  15985. }
  15986. }
  15987. }
  15988. },
  15989. complete: function (XHR, TS) {
  15990. XHR = null;
  15991. callback();
  15992. }
  15993. }
  15994. );
  15995. }
  15996. ;(function () {
  15997. var i = 0;
  15998. function getdata() {
  15999. DatarefreshTask(function () {
  16000. i++;
  16001. Timer1sCmd();
  16002. Timer100msCmd();
  16003. Timer500msCmd();
  16004. if (i <= 4) {
  16005. setTimeout(getdata, 50);
  16006. }
  16007. });
  16008. }
  16009. setTimeout(getdata, 20);
  16010. })();
  16011. intervalTimers.push(setInterval(DatarefreshTask, 500));
  16012. /*@DataRefresh@*/
  16013. function GetTagsProperty(){
  16014. /*@DataVarText@*/
  16015. if(varList.length <= 0){
  16016. return;
  16017. }
  16018. var ajaxtype = 'GET';
  16019. var ajaxdata = {};
  16020. var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
  16021. var para = "";
  16022. for(var i=0;i<varList.length;i++){
  16023. para = para + varList[i];
  16024. if(i!==varList.length-1)
  16025. para = para +',';
  16026. }
  16027. str = str + encodeURIComponent(para);
  16028. if (str.length > 2000) {
  16029. para = encodeURIComponent(para);
  16030. str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
  16031. ajaxdata = {'': para};
  16032. ajaxtype = 'POST';
  16033. }
  16034. $.ajax({
  16035. url: str ,
  16036. type: ajaxtype,
  16037. dataType: 'json',
  16038. data: ajaxdata,
  16039. cache: false,
  16040. success: function (data) {
  16041. if (data === null) return;
  16042. for(var i=0;i<data.length;i++){
  16043. var basePointInfo=data[i].BasePointInfo;
  16044. tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
  16045. // console.log(tagInfoDic);
  16046. }
  16047. },
  16048. complete: function (XHR, TS) {
  16049. XHR = null;
  16050. }
  16051. }
  16052. );
  16053. }
  16054. GetTagsProperty();
  16055. window.GD && (GD.GetTagsProperty = GetTagsProperty);
  16056. /*@TagInfoDic@*/
  16057. var syscurrentTime="";
  16058. function getCurrentTime(timeformat){
  16059. syscurrentTime= moment().format(timeformat);
  16060. if(timeformat=="d"){
  16061. if(syscurrentTime==1){
  16062. syscurrentTime="星期一";
  16063. }
  16064. if(syscurrentTime==2){
  16065. syscurrentTime="星期二";
  16066. }
  16067. if(syscurrentTime==3){
  16068. syscurrentTime="星期三";
  16069. }
  16070. if(syscurrentTime==4){
  16071. syscurrentTime="星期四";
  16072. }
  16073. if(syscurrentTime==5){
  16074. syscurrentTime="星期五";
  16075. }
  16076. if(syscurrentTime==6){
  16077. syscurrentTime="星期六";
  16078. }
  16079. if(syscurrentTime==7){
  16080. syscurrentTime="星期日";
  16081. }
  16082. }
  16083. }
  16084. getCurrentTime();
  16085. /*@SysCurrentTime@*/
  16086. var Counter10ms = 0;
  16087. var Counter100ms = 0;
  16088. var Counter500ms = 0;
  16089. var Counter1s = 0;
  16090. var Counter5s = 0;
  16091. function Timer10msCmd() {
  16092. Counter10ms++;
  16093. Node173.refresh10ms();
  16094. Node174.refresh10ms();
  16095. Node175.refresh10ms();
  16096. Node176.refresh10ms();
  16097. Node177.refresh10ms();
  16098. Node178.refresh10ms();
  16099. Node179.refresh10ms();
  16100. /*@Timer10ms@*/
  16101. }
  16102. // intervalTimers.push(setInterval(Timer10msCmd, 10));
  16103. function Timer100msCmd() {
  16104. Counter100ms++;
  16105. Node12.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
  16106. Node13.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  16107. Node14.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
  16108. Node41.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0077') ),-1));
  16109. Node42.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0132') ),-1));
  16110. Node43.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0026') ),-1));
  16111. Node44.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0186') ),-1));
  16112. Node46.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0185') ),-1));
  16113. Node63.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0126') ),-1));
  16114. Node64.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0128') ),-1));
  16115. Node65.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0127') ),-1));
  16116. Node66.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0183') ),-1));
  16117. Node68.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0184') ),-1));
  16118. Node85.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0089') ),-1));
  16119. Node86.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0085') ),-1));
  16120. Node87.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0116') ),-1));
  16121. Node88.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0093') ),-1));
  16122. Node90.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0100') ),-1));
  16123. Node107.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0144') ),-1));
  16124. Node108.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0140') ),-1));
  16125. Node109.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0168') ),-1));
  16126. Node110.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0148') ),-1));
  16127. Node112.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0152') ),-1));
  16128. Node129.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0038') ),-1));
  16129. Node130.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0034') ),-1));
  16130. Node131.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0065') ),-1));
  16131. Node132.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0061') ),-1));
  16132. Node134.a('node.text',GetDital((getVarValue('GS_JSD.LN_GD_QYG_JS_XX_XX_XXX_CI0046') ),-1));
  16133. Node173.refresh100ms();
  16134. Node174.refresh100ms();
  16135. Node175.refresh100ms();
  16136. Node176.refresh100ms();
  16137. Node177.refresh100ms();
  16138. Node178.refresh100ms();
  16139. Node179.refresh100ms();
  16140. /*@Timer100ms@*/
  16141. // graphView.redraw();
  16142. }
  16143. intervalTimers.push(setInterval(Timer100msCmd, 100));
  16144. function Timer500msCmd() {
  16145. Counter500ms++;
  16146. Node173.refresh500ms();
  16147. Node174.refresh500ms();
  16148. Node175.refresh500ms();
  16149. Node176.refresh500ms();
  16150. Node177.refresh500ms();
  16151. Node178.refresh500ms();
  16152. Node179.refresh500ms();
  16153. /*@Timer500ms@*/
  16154. // graphView.redraw();
  16155. }
  16156. intervalTimers.push(setInterval(Timer500msCmd, 500));
  16157. function Timer1sCmd() {
  16158. Counter1s++;
  16159. if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
  16160. Node180_3_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  16161. Node180_4_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  16162. Node180_43_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  16163. Node180_47_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
  16164. Node173.refresh1s(Counter1s);
  16165. Node174.refresh1s(Counter1s);
  16166. Node175.refresh1s(Counter1s);
  16167. Node176.refresh1s(Counter1s);
  16168. Node177.refresh1s(Counter1s);
  16169. Node178.refresh1s(Counter1s);
  16170. Node179.refresh1s(Counter1s);
  16171. /*@Timer1000ms@*/
  16172. // graphView.redraw();
  16173. }
  16174. Timer1sCmd();
  16175. intervalTimers.push(setInterval(Timer1sCmd, 1000));
  16176. function Timer5sCmd() {
  16177. Counter5s++;
  16178. Node173.refresh5s();
  16179. Node174.refresh5s();
  16180. Node175.refresh5s();
  16181. Node176.refresh5s();
  16182. Node177.refresh5s();
  16183. Node178.refresh5s();
  16184. Node179.refresh5s();
  16185. /*@Timer5000ms@*/
  16186. // graphView.redraw();
  16187. }
  16188. // intervalTimers.push(setInterval(Timer5sCmd, 5000));
  16189. /*@EventTimer@*/
  16190. //graphView.setInteractors(null);
  16191. if (!!view) {
  16192. view.eventList = view.eventList || {};
  16193. }
  16194. function blockDataFilter (data) {
  16195. return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
  16196. }
  16197. var type ='mousedown';
  16198. function doMouseDown (e, origin) {
  16199. if(!ht.Default.isLeftButton(e)){return;}
  16200. mouseX=e.clientX;
  16201. mouseY=e.clientY;
  16202. origin = origin || graphView;
  16203. window.GD && GD.hideTagInfo();
  16204. var data = origin.getDataAt(e, blockDataFilter);
  16205. if (data && data.__parentLib) {
  16206. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
  16207. return;
  16208. }
  16209. if(data === PageBackground){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/ldjsc'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16210. if(data === Node2){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/ztjs2'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16211. if(data === Node151_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16212. if(data === Node151_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16213. if(data === Node152_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16214. if(data === Node152_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16215. if(data === Node153_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16216. if(data === Node153_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16217. if(data === Node154_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16218. if(data === Node154_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16219. if(data === Node156){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();}} }
  16220. if(data === Node158){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16221. if(data === Node160){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16222. if(data === Node162){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16223. if(data === Node164){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16224. if(data === Node170_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16225. if(data === Node170_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16226. if(data === Node171_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16227. if(data === Node171_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
  16228. /*@EvnentMouseDown@*/
  16229. }
  16230. view.eventList[type] = doMouseDown;
  16231. view['on'+type] = function(e){
  16232. doMouseDown(e);
  16233. e.preventDefault();
  16234. };
  16235. type ='mouseup';
  16236. function doMouseUp (e, origin) {
  16237. if(!ht.Default.isLeftButton(e)){return;}
  16238. origin = origin || graphView;
  16239. var data = origin.getDataAt(e, blockDataFilter);
  16240. if (data && data.__parentLib) {
  16241. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
  16242. return;
  16243. }
  16244. /*@EvnentMouseUp@*/
  16245. }
  16246. view.eventList[type] = doMouseUp;
  16247. view['on'+type] = function(e){
  16248. doMouseUp(e);
  16249. e.preventDefault();
  16250. };
  16251. type ='click';
  16252. function doClick (e, origin) {
  16253. if(!ht.Default.isLeftButton(e)){return;}
  16254. origin = origin || graphView;
  16255. var data = origin.getDataAt(e, blockDataFilter);
  16256. if (data && data.__parentLib) {
  16257. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
  16258. return;
  16259. }
  16260. /*@EvnentClicked@*/
  16261. }
  16262. view.eventList[type] = doClick;
  16263. view['on'+type] = function(e){
  16264. doClick(e);
  16265. e.preventDefault();
  16266. };
  16267. type ='mousemove';
  16268. var objMouseOn = null, _objMouseOn = null;
  16269. function doMouseMove (e, origin, offset) {
  16270. var positon, data, zoom, _data, libData;
  16271. origin = origin || graphView;
  16272. position=origin.getLogicalPoint(e);
  16273. zoom = graphView.getZoom();
  16274. if (origin === graphView) {
  16275. mouseX= position.x + origin.tx();
  16276. mouseY = position.y + origin.ty();
  16277. } else {
  16278. offset = offset || {x: 0, y: 0};
  16279. mouseX = position.x / zoom + offset.x + origin.tx();
  16280. mouseY = position.y / zoom + offset.y + origin.ty();
  16281. }
  16282. data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
  16283. if(data === objMouseOn || data === _objMouseOn) return;
  16284. // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
  16285. if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
  16286. _data = data;
  16287. data = libData = _libModel.getDataByKey(_data.__parentLib);
  16288. }
  16289. if(data !== Node2&& objMouseOn===Node2){Node3.s('2d.visible',true); }
  16290. if(data !== Node2&& objMouseOn===Node2){Node2.s('2d.visible',false); }
  16291. if(data !== Node150_0&& objMouseOn===Node150_0){Node174.s('2d.visible',false); }
  16292. if(data !== Node150_1&& objMouseOn===Node150_1){Node174.s('2d.visible',false); }
  16293. if(data !== Node151_0&& objMouseOn===Node151_0){Node176.s('2d.visible',false); }
  16294. if(data !== Node151_1&& objMouseOn===Node151_1){Node176.s('2d.visible',false); }
  16295. if(data !== Node152_0&& objMouseOn===Node152_0){Node177.s('2d.visible',false); }
  16296. if(data !== Node152_1&& objMouseOn===Node152_1){Node177.s('2d.visible',false); }
  16297. if(data !== Node153_0&& objMouseOn===Node153_0){Node175.s('2d.visible',false); }
  16298. if(data !== Node153_1&& objMouseOn===Node153_1){Node175.s('2d.visible',false); }
  16299. if(data !== Node154_0&& objMouseOn===Node154_0){Node178.s('2d.visible',false); }
  16300. if(data !== Node154_1&& objMouseOn===Node154_1){Node178.s('2d.visible',false); }
  16301. if(data !== Node155_0&& objMouseOn===Node155_0){Node179.s('2d.visible',false); }
  16302. if(data !== Node155_1&& objMouseOn===Node155_1){Node179.s('2d.visible',false); }
  16303. if(data !== Node156&& objMouseOn===Node156){Node157.s('2d.visible',true); }
  16304. if(data !== Node156&& objMouseOn===Node156){Node156.s('2d.visible',false); }
  16305. if(data !== Node158&& objMouseOn===Node158){Node159.s('2d.visible',true); }
  16306. if(data !== Node158&& objMouseOn===Node158){Node158.s('2d.visible',false); }
  16307. if(data !== Node160&& objMouseOn===Node160){Node161.s('2d.visible',true); }
  16308. if(data !== Node160&& objMouseOn===Node160){Node160.s('2d.visible',false); }
  16309. if(data !== Node162&& objMouseOn===Node162){Node163.s('2d.visible',true); }
  16310. if(data !== Node162&& objMouseOn===Node162){Node162.s('2d.visible',false); }
  16311. if(data !== Node164&& objMouseOn===Node164){Node165.s('2d.visible',true); }
  16312. if(data !== Node164&& objMouseOn===Node164){Node164.s('2d.visible',false); }
  16313. if(data !== Node166&& objMouseOn===Node166){Node167.s('2d.visible',true); }
  16314. if(data !== Node166&& objMouseOn===Node166){Node166.s('2d.visible',false); }
  16315. if(data !== Node168&& objMouseOn===Node168){Node169.s('2d.visible',true); }
  16316. if(data !== Node168&& objMouseOn===Node168){Node168.s('2d.visible',false); }
  16317. if(data !== Node170_0&& objMouseOn===Node170_0){Node170_0.s('2d.visible',false);Node170_1.s('2d.visible',false); }
  16318. if(data !== Node170_0&& objMouseOn===Node170_0){Node171_0.s('2d.visible',true);Node171_1.s('2d.visible',true); }
  16319. if(data !== Node170_0&& objMouseOn===Node170_0){Node173.s('2d.visible',false); }
  16320. if(data !== Node170_1&& objMouseOn===Node170_1){Node170_0.s('2d.visible',false);Node170_1.s('2d.visible',false); }
  16321. if(data !== Node170_1&& objMouseOn===Node170_1){Node171_0.s('2d.visible',true);Node171_1.s('2d.visible',true); }
  16322. if(data !== Node170_1&& objMouseOn===Node170_1){Node173.s('2d.visible',false); }
  16323. /*@EvnentMouseLeave@*/
  16324. if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
  16325. objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
  16326. }
  16327. objMouseOn = data;
  16328. _objMouseOn = _data;
  16329. if(data === Node3){Node3.s('2d.visible',false); }
  16330. if(data === Node3){Node2.s('2d.visible',true); }
  16331. if(data === Node150_0){Node174.s('2d.visible',true); }
  16332. if(data === Node150_1){Node174.s('2d.visible',true); }
  16333. if(data === Node151_0){Node176.s('2d.visible',true); }
  16334. if(data === Node151_1){Node176.s('2d.visible',true); }
  16335. if(data === Node152_0){Node177.s('2d.visible',true); }
  16336. if(data === Node152_1){Node177.s('2d.visible',true); }
  16337. if(data === Node153_0){Node175.s('2d.visible',true); }
  16338. if(data === Node153_1){Node175.s('2d.visible',true); }
  16339. if(data === Node154_0){Node178.s('2d.visible',true); }
  16340. if(data === Node154_1){Node178.s('2d.visible',true); }
  16341. if(data === Node155_0){Node179.s('2d.visible',true); }
  16342. if(data === Node155_1){Node179.s('2d.visible',true); }
  16343. if(data === Node157){Node157.s('2d.visible',false); }
  16344. if(data === Node157){Node156.s('2d.visible',true); }
  16345. if(data === Node159){Node159.s('2d.visible',false); }
  16346. if(data === Node159){Node158.s('2d.visible',true); }
  16347. if(data === Node161){Node161.s('2d.visible',false); }
  16348. if(data === Node161){Node160.s('2d.visible',true); }
  16349. if(data === Node163){Node163.s('2d.visible',false); }
  16350. if(data === Node163){Node162.s('2d.visible',true); }
  16351. if(data === Node165){Node165.s('2d.visible',false); }
  16352. if(data === Node165){Node164.s('2d.visible',true); }
  16353. if(data === Node167){Node167.s('2d.visible',false); }
  16354. if(data === Node167){Node166.s('2d.visible',true); }
  16355. if(data === Node169){Node169.s('2d.visible',false); }
  16356. if(data === Node169){Node168.s('2d.visible',true); }
  16357. if(data === Node171_0){Node171_0.s('2d.visible',false);Node171_1.s('2d.visible',false); }
  16358. if(data === Node171_0){Node170_0.s('2d.visible',true);Node170_1.s('2d.visible',true); }
  16359. if(data === Node171_0){Node173.s('2d.visible',true); }
  16360. if(data === Node171_1){Node171_0.s('2d.visible',false);Node171_1.s('2d.visible',false); }
  16361. if(data === Node171_1){Node170_0.s('2d.visible',true);Node170_1.s('2d.visible',true); }
  16362. if(data === Node171_1){Node173.s('2d.visible',true); }
  16363. /*@EvnentMouseOver@*/
  16364. if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
  16365. data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
  16366. }
  16367. }
  16368. view.eventList[type] = doMouseMove;
  16369. view['on'+type] = function(e){
  16370. doMouseMove(e);
  16371. e.preventDefault();
  16372. };
  16373. window.onkeydown = function doKeyDown(e) {
  16374. var keyID = e.keyCode ? e.keyCode :e.which;
  16375. //if(keyID === 87) { }
  16376. /*@EvnentKeyDown@*/
  16377. // if (keyID === 27 && graphView) {
  16378. // graphView.setZoom(1);
  16379. // graphView.tx(0);
  16380. // graphView.ty(0);
  16381. // }
  16382. return;
  16383. }
  16384. /*@Event@*/
  16385. /*@Declare@*/
  16386. var contextmenu = new ht.widget.ContextMenu();
  16387. contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
  16388. contextmenu.contextMenuBackground='rgb(255,255,255)';
  16389. contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
  16390. contextmenu.contextMenuLabelColor='rgb(48,48,48)';
  16391. contextmenu.beforeShow = function(e, gv) {
  16392. gv = gv || graphView;
  16393. if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
  16394. gv = graphView;
  16395. }
  16396. this.setItems(null);
  16397. window.GD && GD.hideTagInfo();
  16398. var data = gv.getDataAt(e) || graphView.getDataAt(e);
  16399. if (data && data.__parentLib) {
  16400. _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
  16401. return;
  16402. }
  16403. //if(false);
  16404. /*@SetNodeContextMenu@*/
  16405. /*@SetPageContextMenu@*/
  16406. };
  16407. contextmenu.afterShow = function (e) {
  16408. var fontSize = 14,
  16409. screenWidth = window.screen.width,
  16410. screenHeight = window.screen.height,
  16411. rx = screenWidth / 1920,
  16412. ry = screenHeight / 1080,
  16413. itemHeight = 30 * ry,
  16414. fontFamily = '',
  16415. width = 150 * rx;
  16416. itemHeight = itemHeight > 30 ? itemHeight : 30;
  16417. var $contextMenu = $(this.getView());
  16418. $contextMenu.find('.contextmenu-item-icon').css({
  16419. width: 14,
  16420. height: 14,
  16421. marginRight: 10
  16422. });
  16423. $contextMenu.find('li.menu-item').css({
  16424. fontSize: fontSize,
  16425. fontWeight: 600,
  16426. height: itemHeight,
  16427. minHeight: 25,
  16428. lineHeight: itemHeight + 'px',
  16429. fontFamily: fontFamily,
  16430. padding: 0
  16431. });
  16432. $contextMenu.find('ul').css({
  16433. width: width,
  16434. minWidth: 100
  16435. });
  16436. contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
  16437. };
  16438. view.eventList && (view.eventList['contextMenu'] = contextmenu);
  16439. contextmenu.addTo(view);
  16440. contextMenuOnViewList.push(contextmenu);
  16441. /*@ControlContextMenu@*/
  16442. graphView.getSelectWidth = function() { return 0; };
  16443. (function () {
  16444. var $mainContainer,
  16445. mainContainerHeight,
  16446. mainContainerWidth,
  16447. originHeight,
  16448. originWidth,
  16449. ratioX,
  16450. ratioY,
  16451. isPageContainer = false;
  16452. graphView._pageBackgroundNode = PageBackground;
  16453. if (pageSizeRatioValue !== 'adaptBrowser') {
  16454. window.GD && GD.setPageToCenterOrLeftTop();
  16455. }
  16456. function throttle () {
  16457. var timer = null;
  16458. return function () {
  16459. timer && clearTimeout(timer);
  16460. timer = setTimeout(function () {
  16461. var value = GD.getParams('pageSizeRatioValue') || {};
  16462. value = value.value || PageAdaptMode.value;
  16463. GD.setPageSizeWithRatio(value, ratio, backSize);
  16464. }, 200)
  16465. }
  16466. }
  16467. try {
  16468. if (window.parent && window.parent.openDialog) {
  16469. autoAdaptive = false;
  16470. }
  16471. } catch (error) {}
  16472. try {
  16473. if (window.parent && window.parent.pageContainer) {
  16474. graphView.handleScroll = function (data) {
  16475. var t = graphView.ty() - data.deltaY;
  16476. var contentSize = graphView.getContentRect();
  16477. var min = contentSize.height - graphView.getHeight() + 50;
  16478. if (min <= 50)
  16479. return ;
  16480. graphView.setTranslate(0, t, true);
  16481. graphView.setScrollBarSize(8);
  16482. }
  16483. graphView.adjustTranslateY = function (value) {
  16484. var contentSize = graphView.getContentRect();
  16485. var min = graphView.getHeight() - contentSize.height - 50;
  16486. value = value > 0 ? 0 : value;
  16487. value = value < min ? min : value;
  16488. return value;
  16489. }
  16490. autoAdaptive = false;
  16491. isPageContainer = true;
  16492. }
  16493. } catch (error) {}
  16494. if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
  16495. graphView.setScrollBarVisible(false);
  16496. if (!graphView._pannable) {
  16497. graphView.adjustTranslateX = function () {return 0};
  16498. graphView.adjustTranslateY = function () {return 0};
  16499. }
  16500. $window.off('resize').on('resize', throttle());
  16501. // setTimeout(resizePage, 100);
  16502. showPage();
  16503. } else {
  16504. showPage();
  16505. graphView.fitContent(false,0,true);
  16506. $window.off('resize').on('resize', function (e) {
  16507. if (!!isPageContainer) {
  16508. window.parent.postMessage('getZoom', '*');
  16509. } else {
  16510. graphView.fitContent(false,0,true);
  16511. }
  16512. })
  16513. }
  16514. var graphViewTimer = null;
  16515. // 监听鼠标缩放页面事件
  16516. graphView.adjustZoom = function (value) {
  16517. graphViewTimer && clearTimeout(graphViewTimer);
  16518. graphViewTimer = setTimeout(function () {
  16519. $window.trigger('graphViewZoomEnded', [value]);
  16520. GD.resetNodeBorderWidth(zoomNodeList, 1/value);
  16521. }, 80)
  16522. return value;
  16523. }
  16524. $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
  16525. var data = e.args;
  16526. var value = GD.getParams('pageSizeRatioValue') || {};
  16527. value = value.value || PageAdaptMode.value;
  16528. GD.setPageSizeWithRatio(value, ratio, backSize);
  16529. graphView.setZoom(data.zoom);
  16530. graphView.tx(0);
  16531. graphView.ty(0);
  16532. });
  16533. $window.off('beforeunload').on("beforeunload", function( event ) {
  16534. try {
  16535. sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
  16536. } catch (error) {console.log(error.message);}
  16537. ;(function () {
  16538. var GD = window.GD;
  16539. if (!GD || typeof GD.removeParams !== 'function') return ;
  16540. GD.removeParams();
  16541. GD.removeParams('pageSizeRatioValue');
  16542. })();
  16543. });
  16544. graphView.setScrollBarColor('rgba(211,211,211,1)');
  16545. graphView.setAutoHideScrollBar(false);
  16546. GD.autoToggleScrollBar();
  16547. // ;(function () {
  16548. // var oriX=browserSize.width/backSize.width;
  16549. // var oriY=browserSize.height/backSize.height;
  16550. // var json = [
  16551. // {
  16552. // label: "25%",
  16553. // action: function(item, event) {
  16554. // GD.setPageSizeWithRatio(0.25);
  16555. // }
  16556. // },
  16557. // {
  16558. // label: "50%",
  16559. // action: function(item, event) {
  16560. // GD.setPageSizeWithRatio(0.5);
  16561. // }
  16562. // },
  16563. // {
  16564. // label: "100%",
  16565. // action: function(item, event) {
  16566. // GD.setPageSizeWithRatio(1);
  16567. // }
  16568. // },
  16569. // {
  16570. // label: "200%",
  16571. // action: function(item, event) {
  16572. // GD.setPageSizeWithRatio(2);
  16573. // }
  16574. // },
  16575. // {
  16576. // label: "400%",
  16577. // action: function(item, event) {
  16578. // GD.setPageSizeWithRatio(4);
  16579. // }
  16580. // },
  16581. // {
  16582. // label: "实际大小",
  16583. // action: function(item, event) {
  16584. // GD.setPageSizeWithRatio('originSize');
  16585. // }
  16586. // },
  16587. // {
  16588. // label: '适合屏幕',
  16589. // action: function (item, event) {
  16590. // GD.setPageSizeWithRatio('adaptBrowser');
  16591. // }
  16592. // },
  16593. // {
  16594. // label: "适合宽度",
  16595. // action: function(item, event) {
  16596. // GD.setPageSizeWithRatio('adaptWidth');
  16597. // }
  16598. // },
  16599. // {
  16600. // label: "适合高度",
  16601. // action: function(item, event) {
  16602. // GD.setPageSizeWithRatio('adaptHeight');
  16603. // }
  16604. // },
  16605. // ];
  16606. // var zoomMenu = new ht.widget.ContextMenu(json);
  16607. // zoomMenu.disableGlobalKey();
  16608. // zoomMenu.setLabelMaxWidth(100);
  16609. // zoomMenu.addTo($('.main')[0]);
  16610. // })();
  16611. (function () {
  16612. var btnstr="停止数据刷新";
  16613. var json = [], item1, item2;
  16614. item1 = {
  16615. label: btnstr,
  16616. action: function(item, event) {
  16617. if(btnstr=="停止数据刷新"){
  16618. clearInterval(intervalTimers[0]);
  16619. intervalTimers.shift(intervalTimers[0]);
  16620. btnstr="开启数据刷新";
  16621. json[0].label=btnstr;
  16622. }else{
  16623. intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
  16624. btnstr="停止数据刷新";
  16625. json[0].label=btnstr;
  16626. }
  16627. }
  16628. };
  16629. item2 = {
  16630. label: "下载本页所有测点",
  16631. action: function(item, event) {
  16632. var time = new Date();
  16633. var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
  16634. var str= "测点名\n";
  16635. for(var i=0;i<varList.length;i++){
  16636. str+=varList[i]+"\n"
  16637. }
  16638. str = encodeURIComponent(str);
  16639. var link = document.createElement("a");
  16640. link.download = t+"测点名称集合.csv";
  16641. link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
  16642. link.click();
  16643. }
  16644. };
  16645. item3 = {
  16646. label: "历史回放",
  16647. action: function(item, event) {
  16648. createHisBackDialog(DatarefreshTask);
  16649. }
  16650. };
  16651. item4 = {
  16652. label: "保存页面图片",
  16653. action: function(item, event) {
  16654. savehtmlToJpg();
  16655. }
  16656. };
  16657. if (false) {
  16658. json.push(item1);
  16659. }
  16660. if (false) {
  16661. json.push(item2);
  16662. }
  16663. if(false){
  16664. json.push(item3);
  16665. }
  16666. if(false){
  16667. json.push(item4);
  16668. }
  16669. function addContextMenu() {
  16670. var dataMenu = new ht.widget.ContextMenu();
  16671. dataMenu.enableGlobalKey();
  16672. dataMenu.setLabelMaxWidth(120);
  16673. dataMenu.addTo(view);
  16674. contextMenuOnViewList.push(dataMenu);
  16675. dataMenu.beforeShow=function(e){
  16676. if(e.originEvent.target.className=="main"){
  16677. if(typeof(graphView.getDataAt(e))=="undefined"){
  16678. this.setItems(json);
  16679. }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
  16680. this.setItems(json);
  16681. }else{
  16682. this.setItems(null);
  16683. }
  16684. }else{
  16685. this.setItems(null);
  16686. }
  16687. }
  16688. };
  16689. if (json.length > 0) {
  16690. addContextMenu();
  16691. }
  16692. })();
  16693. })();
  16694. }