12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573 |
- /*@WebApiFunc@*/
- var varList = ['GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188','GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
- '1234/pbt_gl': ['lib/排布图图元.js'],
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 29 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- anniu=0;
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- hyfy=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- Node17_1_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166";
- Node17_1_bianhao="A02";
- Node17_1_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006";
- Node17_1_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002";
- Node17_2_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166";
- Node17_2_bianhao="A03";
- Node17_2_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006";
- Node17_2_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002";
- Node17_3_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166";
- Node17_3_bianhao="A04";
- Node17_3_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006";
- Node17_3_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002";
- Node17_4_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166";
- Node17_4_bianhao="A05";
- Node17_4_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006";
- Node17_4_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002";
- Node17_5_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166";
- Node17_5_bianhao="A06";
- Node17_5_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006";
- Node17_5_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002";
- Node17_6_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166";
- Node17_6_bianhao="A07";
- Node17_6_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006";
- Node17_6_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002";
- Node17_7_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166";
- Node17_7_bianhao="A08";
- Node17_7_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006";
- Node17_7_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002";
- Node17_8_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166";
- Node17_8_bianhao="A09";
- Node17_8_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006";
- Node17_8_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002";
- Node17_9_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166";
- Node17_9_bianhao="A10";
- Node17_9_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006";
- Node17_9_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002";
- Node17_10_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166";
- Node17_10_bianhao="A11";
- Node17_10_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006";
- Node17_10_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002";
- Node17_11_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166";
- Node17_11_bianhao="A12";
- Node17_11_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006";
- Node17_11_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002";
- Node17_12_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166";
- Node17_12_bianhao="B13";
- Node17_12_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006";
- Node17_12_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002";
- Node17_13_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166";
- Node17_13_bianhao="B14";
- Node17_13_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006";
- Node17_13_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002";
- Node17_14_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166";
- Node17_14_bianhao="B15";
- Node17_14_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006";
- Node17_14_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002";
- Node17_15_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166";
- Node17_15_bianhao="B16";
- Node17_15_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006";
- Node17_15_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002";
- Node17_16_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166";
- Node17_16_bianhao="B17";
- Node17_16_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006";
- Node17_16_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002";
- Node17_17_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166";
- Node17_17_bianhao="B18";
- Node17_17_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006";
- Node17_17_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002";
- Node17_18_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166";
- Node17_18_bianhao="B19";
- Node17_18_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006";
- Node17_18_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002";
- Node17_19_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166";
- Node17_19_bianhao="B20";
- Node17_19_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006";
- Node17_19_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002";
- Node17_20_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166";
- Node17_20_bianhao="B21";
- Node17_20_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006";
- Node17_20_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002";
- Node17_21_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166";
- Node17_21_bianhao="B22";
- Node17_21_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006";
- Node17_21_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002";
- Node17_22_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166";
- Node17_22_bianhao="B23";
- Node17_22_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006";
- Node17_22_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002";
- Node17_23_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166";
- Node17_23_bianhao="B24";
- Node17_23_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006";
- Node17_23_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002";
- Node17_24_zhuangtai="0";
- Node17_24_bianhao="xx";
- Node17_24_fengsu="xx";
- Node17_24_gonglv="xx";
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 944*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0 = new ht.Node();
- var Node0textStart, Node0textWidth, Node0lineStart, Node0align = 'left', Node0fontSize = 13.3333*_ratio.ratioY,Node0width = 10*_ratio.ratioX, Node0height = 120*_ratio.ratioY;
- (function () {
- if (Node0align === 'left') {
- Node0textStart = Node0fontSize * 0.2 > 2 ? Node0fontSize * 0.2 - 4 : Node0fontSize * 0.2 - 9;
- Node0textWidth = Node0width;
- Node0lineStart = 1;
- } else if (Node0align === 'right') {
- Node0textStart = 0;
- Node0textWidth =Node0fontSize <= 8 ? Node0width + Node0fontSize * 0.2 + 6 : Node0width - Node0fontSize * 0.2;
- Node0lineStart = (Node0width - (ht.Default.getTextSize('综 合 指 标', 'bold '+ Node0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0align === 'center') {
- Node0textStart = -3;
- Node0textWidth = Node0width;
- Node0lineStart = Node0width - ht.Default.getTextSize('综 合 指 标', 'bold '+ Node0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0.setImage(GD.getTextJSON(Node0width, Node0height, false, true, false, 'bold '+ Node0fontSize + 'px "Arial"'))
- Node0.setPosition(10*ratio.ratioX, 107*ratio.ratioY);
- Node0.setWidth(Node0width);
- Node0.setHeight(Node0height);
- Node0._nodeType = 'text';
- Node0._disallowEvert = true;
- Node0.setRotation(0*Math.PI/180);
- Node0.a('node.width', Node0width);
- Node0.a('node.height', Node0height);
- Node0.a('node.rect', [0, 0, Node0width, Node0height]);
- Node0.a('node.bordercolor','rgba(255,255,255,1)');
- Node0.a('node.borderwidth', 0);
- Node0.a('node.background','' || 'rgba(0,0,0,0)');
- Node0.a('node.gradient','');
- Node0.a('node.gradientcolor','');
- Node0.a('node.text','综 合 指 标');
- Node0.a('node.textalign','left');
- Node0.a('node.textvAlign','middle');
- Node0.a('node.textrect', [Node0textStart, 0, Node0textWidth, Node0height]);
- Node0.a('node.color','rgba(255,255,255,1)');
- Node0.a('node.font','bold '+ Node0fontSize + 'px "Arial"');
- Node0.a('node.textvisible',false);
- Node0.a('node.linefeed',true);
- if (true) {
- Node0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0.a('node.text') || '综 合 指 标';
- var color=Node0.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node0width,Node0height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0.a('node.underlinepoints',[Node0lineStart, (120 - 13.3333) * 0.5 * _ratio.ratioY + Node0fontSize + 2 , ht.Default.getTextSize('综 合 指 标', 'bold '+ Node0fontSize + 'px "Arial"').width + 6, (Node0height - Node0fontSize) * 0.5*_ratio.ratioY + Node0fontSize + 2 ]);
- Node0.a('node.underlinevisible',false);
- Node0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0);
- zoomNodeList.push({
- node: Node0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1type = 'rect';
- var Node1 = new ht.Node(),
- Node1BorderWidth = 0*2;
- if (Node1type === 'arc') {
- Node1BorderWidth *= 0;
- }
- Node1.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node1.setPosition(82*ratio.ratioX, 138*ratio.ratioY);
- Node1.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node1.a('node.width', 105*_ratio.ratioX);
- Node1.a('node.height', 48*_ratio.ratioY);
- Node1.a('node.type', Node1type);
- Node1.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node1.a('node.gradientcolor', '');
- Node1.a('node.gradient', '');
- Node1.a('node.borderwidth', Node1BorderWidth);
- Node1.a('node.color', 'rgba(0,0,0,0)');
- Node1.a('node.fillrect', [0,0,0,0]);
- Node1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node1.a('node.fillgradient', '');
- if (Node1type !== 'rect') {
- Node1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node1.a('node.arcTo', parseFloat('@arcTo@'));
- Node1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node1type === 'arc') {
- Node1.a('node.arcOval', true);
- }
- Node1.setRotation(0*Math.PI/180);
- Node1.borderWidth = Node1BorderWidth;
- Node1.borderFillwidth = Node1BorderWidth;
- dataModel.add(Node1);
- Node1._nodename = 'Node1'
- Node1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node1, Node1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2 = new ht.Node();
- var Node2textStart, Node2textWidth, Node2lineStart, Node2align = 'center', Node2fontSize = 14.66663*_ratio.ratioY,Node2width = 67*_ratio.ratioX, Node2height = 26*_ratio.ratioY;
- (function () {
- if (Node2align === 'left') {
- Node2textStart = Node2fontSize * 0.2 > 2 ? Node2fontSize * 0.2 - 4 : Node2fontSize * 0.2 - 9;
- Node2textWidth = Node2width;
- Node2lineStart = 1;
- } else if (Node2align === 'right') {
- Node2textStart = 0;
- Node2textWidth =Node2fontSize <= 8 ? Node2width + Node2fontSize * 0.2 + 6 : Node2width - Node2fontSize * 0.2;
- Node2lineStart = (Node2width - (ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node2align === 'center') {
- Node2textStart = -3;
- Node2textWidth = Node2width;
- Node2lineStart = Node2width - ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node2.setImage(GD.getTextJSON(Node2width, Node2height, true, false, false, ' '+ Node2fontSize + 'px "Arial"'))
- Node2.setPosition(1860*ratio.ratioX, 84*ratio.ratioY);
- Node2.setWidth(Node2width);
- Node2.setHeight(Node2height);
- Node2._nodeType = 'text';
- Node2._disallowEvert = true;
- Node2.setRotation(0*Math.PI/180);
- Node2.a('node.width', Node2width);
- Node2.a('node.height', Node2height);
- Node2.a('node.rect', [0, 0, Node2width, Node2height]);
- Node2.a('node.bordercolor','rgba(105,105,105,1)');
- Node2.a('node.borderwidth', 0);
- Node2.a('node.background','' || 'rgba(0,0,0,0)');
- Node2.a('node.gradient','');
- Node2.a('node.gradientcolor','');
- Node2.a('node.text','台');
- Node2.a('node.textalign','center');
- Node2.a('node.textvAlign','middle');
- Node2.a('node.textrect', [Node2textStart, 0, Node2textWidth, Node2height]);
- Node2.a('node.color','rgba(105,105,105,1)');
- Node2.a('node.font',' '+ Node2fontSize + 'px "Arial"');
- Node2.a('node.textvisible',true);
- Node2.a('node.linefeed',false);
- if (false) {
- Node2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node2.a('node.text') || '台';
- var color=Node2.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node2width,Node2height,14.66663*_ratio.ratioY,"center",color,' '+ Node2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node2.a('node.underlinepoints',[Node2lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node2fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6, (Node2height - Node2fontSize) * 0.5*_ratio.ratioY + Node2fontSize + 2 ]);
- Node2.a('node.underlinevisible',false);
- Node2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node2);
- zoomNodeList.push({
- node: Node2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3 = new ht.Node();
- var Node3textStart, Node3textWidth, Node3lineStart, Node3align = 'center', Node3fontSize = 14.66663*_ratio.ratioY,Node3width = 67*_ratio.ratioX, Node3height = 26*_ratio.ratioY;
- (function () {
- if (Node3align === 'left') {
- Node3textStart = Node3fontSize * 0.2 > 2 ? Node3fontSize * 0.2 - 4 : Node3fontSize * 0.2 - 9;
- Node3textWidth = Node3width;
- Node3lineStart = 1;
- } else if (Node3align === 'right') {
- Node3textStart = 0;
- Node3textWidth =Node3fontSize <= 8 ? Node3width + Node3fontSize * 0.2 + 6 : Node3width - Node3fontSize * 0.2;
- Node3lineStart = (Node3width - (ht.Default.getTextSize('台', ' '+ Node3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node3align === 'center') {
- Node3textStart = -3;
- Node3textWidth = Node3width;
- Node3lineStart = Node3width - ht.Default.getTextSize('台', ' '+ Node3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node3.setImage(GD.getTextJSON(Node3width, Node3height, true, false, false, ' '+ Node3fontSize + 'px "Arial"'))
- Node3.setPosition(1860*ratio.ratioX, 145*ratio.ratioY);
- Node3.setWidth(Node3width);
- Node3.setHeight(Node3height);
- Node3._nodeType = 'text';
- Node3._disallowEvert = true;
- Node3.setRotation(0*Math.PI/180);
- Node3.a('node.width', Node3width);
- Node3.a('node.height', Node3height);
- Node3.a('node.rect', [0, 0, Node3width, Node3height]);
- Node3.a('node.bordercolor','rgba(105,105,105,1)');
- Node3.a('node.borderwidth', 0);
- Node3.a('node.background','' || 'rgba(0,0,0,0)');
- Node3.a('node.gradient','');
- Node3.a('node.gradientcolor','');
- Node3.a('node.text','台');
- Node3.a('node.textalign','center');
- Node3.a('node.textvAlign','middle');
- Node3.a('node.textrect', [Node3textStart, 0, Node3textWidth, Node3height]);
- Node3.a('node.color','rgba(105,105,105,1)');
- Node3.a('node.font',' '+ Node3fontSize + 'px "Arial"');
- Node3.a('node.textvisible',true);
- Node3.a('node.linefeed',false);
- if (false) {
- Node3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node3.a('node.text') || '台';
- var color=Node3.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node3width,Node3height,14.66663*_ratio.ratioY,"center",color,' '+ Node3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node3.a('node.underlinepoints',[Node3lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node3fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node3fontSize + 'px "Arial"').width + 6, (Node3height - Node3fontSize) * 0.5*_ratio.ratioY + Node3fontSize + 2 ]);
- Node3.a('node.underlinevisible',false);
- Node3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node3);
- zoomNodeList.push({
- node: Node3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4type = 'rect';
- var Node4 = new ht.Node(),
- Node4BorderWidth = 0*2;
- if (Node4type === 'arc') {
- Node4BorderWidth *= 0;
- }
- Node4.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node4.setPosition(13*ratio.ratioX, 98*ratio.ratioY);
- Node4.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node4.a('node.width', 27*_ratio.ratioX);
- Node4.a('node.height', 121*_ratio.ratioY);
- Node4.a('node.type', Node4type);
- Node4.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node4.a('node.background', 'rgba(0,132,216,1)');
- Node4.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node4.a('node.gradient', '');
- Node4.a('node.borderwidth', Node4BorderWidth);
- Node4.a('node.color', 'rgba(0,0,255,0)');
- Node4.a('node.fillrect', [0,0,0,0]);
- Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradient', '');
- if (Node4type !== 'rect') {
- Node4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node4.a('node.arcTo', parseFloat('@arcTo@'));
- Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node4type === 'arc') {
- Node4.a('node.arcOval', true);
- }
- Node4.setRotation(0*Math.PI/180);
- Node4.borderWidth = Node4BorderWidth;
- Node4.borderFillwidth = Node4BorderWidth;
- dataModel.add(Node4);
- Node4._nodename = 'Node4'
- Node4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5 = new ht.Node();
- var Node5textStart, Node5textWidth, Node5lineStart, Node5align = 'left', Node5fontSize = 13.3333*_ratio.ratioY,Node5width = 53*_ratio.ratioX, Node5height = 30*_ratio.ratioY;
- (function () {
- if (Node5align === 'left') {
- Node5textStart = Node5fontSize * 0.2 > 2 ? Node5fontSize * 0.2 - 4 : Node5fontSize * 0.2 - 9;
- Node5textWidth = Node5width;
- Node5lineStart = 1;
- } else if (Node5align === 'right') {
- Node5textStart = 0;
- Node5textWidth =Node5fontSize <= 8 ? Node5width + Node5fontSize * 0.2 + 6 : Node5width - Node5fontSize * 0.2;
- Node5lineStart = (Node5width - (ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node5align === 'center') {
- Node5textStart = -3;
- Node5textWidth = Node5width;
- Node5lineStart = Node5width - ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node5.setImage(GD.getTextJSON(Node5width, Node5height, true, false, false, 'bold '+ Node5fontSize + 'px "Arial"'))
- Node5.setPosition(29*ratio.ratioX, 55*ratio.ratioY);
- Node5.setWidth(Node5width);
- Node5.setHeight(Node5height);
- Node5._nodeType = 'text';
- Node5._disallowEvert = true;
- Node5.setRotation(0*Math.PI/180);
- Node5.a('node.width', Node5width);
- Node5.a('node.height', Node5height);
- Node5.a('node.rect', [0, 0, Node5width, Node5height]);
- Node5.a('node.bordercolor','rgba(255,255,255,1)');
- Node5.a('node.borderwidth', 0);
- Node5.a('node.background','' || 'rgba(0,0,0,0)');
- Node5.a('node.gradient','');
- Node5.a('node.gradientcolor','');
- Node5.a('node.text','综');
- Node5.a('node.textalign','left');
- Node5.a('node.textvAlign','middle');
- Node5.a('node.textrect', [Node5textStart, 0, Node5textWidth, Node5height]);
- Node5.a('node.color','rgba(255,255,255,1)');
- Node5.a('node.font','bold '+ Node5fontSize + 'px "Arial"');
- Node5.a('node.textvisible',true);
- Node5.a('node.linefeed',false);
- if (false) {
- Node5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node5.a('node.text') || '综';
- var color=Node5.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node5width,Node5height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node5.a('node.underlinepoints',[Node5lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node5fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width + 6, (Node5height - Node5fontSize) * 0.5*_ratio.ratioY + Node5fontSize + 2 ]);
- Node5.a('node.underlinevisible',false);
- Node5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node5);
- zoomNodeList.push({
- node: Node5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6type = 'rect';
- var Node6 = new ht.Node(),
- Node6BorderWidth = 0*2;
- if (Node6type === 'arc') {
- Node6BorderWidth *= 0;
- }
- Node6.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node6.setPosition(106*ratio.ratioX, 101*ratio.ratioY);
- Node6.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node6.a('node.width', 156*_ratio.ratioX);
- Node6.a('node.height', 30*_ratio.ratioY);
- Node6.a('node.type', Node6type);
- Node6.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node6.a('node.background', 'rgba(73,192,209,1)');
- Node6.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node6.a('node.gradient', '');
- Node6.a('node.borderwidth', Node6BorderWidth);
- Node6.a('node.color', 'rgba(0,0,0,0)');
- Node6.a('node.fillrect', [0,0,0,0]);
- Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradient', '');
- if (Node6type !== 'rect') {
- Node6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node6.a('node.arcTo', parseFloat('@arcTo@'));
- Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node6type === 'arc') {
- Node6.a('node.arcOval', true);
- }
- Node6.setRotation(0*Math.PI/180);
- Node6.borderWidth = Node6BorderWidth;
- Node6.borderFillwidth = Node6BorderWidth;
- dataModel.add(Node6);
- Node6._nodename = 'Node6'
- Node6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node6, Node6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7 = new ht.Node();
- var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'left', Node7fontSize = 14.66663*_ratio.ratioY,Node7width = 157*_ratio.ratioX, Node7height = 24*_ratio.ratioY;
- (function () {
- if (Node7align === 'left') {
- Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9;
- Node7textWidth = Node7width;
- Node7lineStart = 1;
- } else if (Node7align === 'right') {
- Node7textStart = 0;
- Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2;
- Node7lineStart = (Node7width - (ht.Default.getTextSize('安全天数', 'bold '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node7align === 'center') {
- Node7textStart = -3;
- Node7textWidth = Node7width;
- Node7lineStart = Node7width - ht.Default.getTextSize('安全天数', 'bold '+ Node7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, 'bold '+ Node7fontSize + 'px "Arial"'))
- Node7.setPosition(146*ratio.ratioX, 101*ratio.ratioY);
- Node7.setWidth(Node7width);
- Node7.setHeight(Node7height);
- Node7._nodeType = 'text';
- Node7._disallowEvert = true;
- Node7.setRotation(0*Math.PI/180);
- Node7.a('node.width', Node7width);
- Node7.a('node.height', Node7height);
- Node7.a('node.rect', [0, 0, Node7width, Node7height]);
- Node7.a('node.bordercolor','rgba(255,255,255,1)');
- Node7.a('node.borderwidth', 0);
- Node7.a('node.background','' || 'rgba(0,0,0,0)');
- Node7.a('node.gradient','');
- Node7.a('node.gradientcolor','');
- Node7.a('node.text','安全天数');
- Node7.a('node.textalign','left');
- Node7.a('node.textvAlign','middle');
- Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]);
- Node7.a('node.color','rgba(255,255,255,1)');
- Node7.a('node.font','bold '+ Node7fontSize + 'px "Arial"');
- Node7.a('node.textvisible',true);
- Node7.a('node.linefeed',false);
- if (false) {
- Node7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node7.a('node.text') || '安全天数';
- var color=Node7.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node7width,Node7height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node7.a('node.underlinepoints',[Node7lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]);
- Node7.a('node.underlinevisible',false);
- Node7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node7);
- zoomNodeList.push({
- node: Node7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8type = 'rect';
- var Node8 = new ht.Node(),
- Node8BorderWidth = 0*2;
- if (Node8type === 'arc') {
- Node8BorderWidth *= 0;
- }
- Node8.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node8.setPosition(82*ratio.ratioX, 138*ratio.ratioY);
- Node8.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node8.a('node.width', 105*_ratio.ratioX);
- Node8.a('node.height', 48*_ratio.ratioY);
- Node8.a('node.type', Node8type);
- Node8.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node8.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node8.a('node.gradientcolor', '');
- Node8.a('node.gradient', '');
- Node8.a('node.borderwidth', Node8BorderWidth);
- Node8.a('node.color', 'rgba(0,0,0,0)');
- Node8.a('node.fillrect', [0,0,0,0]);
- Node8.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node8.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node8.a('node.fillgradient', '');
- if (Node8type !== 'rect') {
- Node8.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node8.a('node.arcTo', parseFloat('@arcTo@'));
- Node8.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node8type === 'arc') {
- Node8.a('node.arcOval', true);
- }
- Node8.setRotation(0*Math.PI/180);
- Node8.borderWidth = Node8BorderWidth;
- Node8.borderFillwidth = Node8BorderWidth;
- dataModel.add(Node8);
- Node8._nodename = 'Node8'
- Node8._nodeType = 'rect';
- zoomNodeList.push({
- node: Node8,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node8, Node8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'right', Node9fontSize = 19.99995*_ratio.ratioY,Node9width = 59*_ratio.ratioX, Node9height = 24*_ratio.ratioY;
- (function () {
- if (Node9align === 'left') {
- Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9;
- Node9textWidth = Node9width;
- Node9lineStart = 1;
- } else if (Node9align === 'right') {
- Node9textStart = 0;
- Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2;
- Node9lineStart = (Node9width - (ht.Default.getTextSize('0', ' '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9align === 'center') {
- Node9textStart = -3;
- Node9textWidth = Node9width;
- Node9lineStart = Node9width - ht.Default.getTextSize('0', ' '+ Node9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, ' '+ Node9fontSize + 'px "Arial"'))
- Node9.setPosition(77*ratio.ratioX, 146*ratio.ratioY);
- Node9.setWidth(Node9width);
- Node9.setHeight(Node9height);
- Node9._nodeType = 'text';
- Node9._disallowEvert = true;
- Node9.setRotation(0*Math.PI/180);
- Node9.a('node.width', Node9width);
- Node9.a('node.height', Node9height);
- Node9.a('node.rect', [0, 0, Node9width, Node9height]);
- Node9.a('node.bordercolor','rgba(0,0,0,1)');
- Node9.a('node.borderwidth', 0);
- Node9.a('node.background','' || 'rgba(0,0,0,0)');
- Node9.a('node.gradient','');
- Node9.a('node.gradientcolor','');
- Node9.a('node.text','0');
- Node9.a('node.textalign','right');
- Node9.a('node.textvAlign','middle');
- Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
- Node9.a('node.color','rgba(0,0,0,1)');
- Node9.a('node.font',' '+ Node9fontSize + 'px "Arial"');
- Node9.a('node.textvisible',true);
- Node9.a('node.linefeed',false);
- if (false) {
- Node9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node9.a('node.text') || '0';
- var color=Node9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node9width,Node9height,19.99995*_ratio.ratioY,"right",color,' '+ Node9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9.a('node.underlinepoints',[Node9lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]);
- Node9.a('node.underlinevisible',false);
- Node9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node9);
- zoomNodeList.push({
- node: Node9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node10type = 'rect';
- var Node10 = new ht.Node(),
- Node10BorderWidth = 0*2;
- if (Node10type === 'arc') {
- Node10BorderWidth *= 0;
- }
- Node10.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node10type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node10.setPosition(165*ratio.ratioX, 143*ratio.ratioY);
- Node10.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node10.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node10.a('node.width', 31*_ratio.ratioX);
- Node10.a('node.height', 31*_ratio.ratioY);
- Node10.a('node.type', Node10type);
- Node10.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node10.a('node.background', 'rgba(225,102,38,1)');
- Node10.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node10.a('node.gradient', '');
- Node10.a('node.borderwidth', Node10BorderWidth);
- Node10.a('node.color', 'rgba(0,0,0,0)');
- Node10.a('node.fillrect', [0,0,0,0]);
- Node10.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node10.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node10.a('node.fillgradient', '');
- if (Node10type !== 'rect') {
- Node10.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node10.a('node.arcTo', parseFloat('@arcTo@'));
- Node10.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node10type === 'arc') {
- Node10.a('node.arcOval', true);
- }
- Node10.setRotation(0*Math.PI/180);
- Node10.borderWidth = Node10BorderWidth;
- Node10.borderFillwidth = Node10BorderWidth;
- dataModel.add(Node10);
- Node10._nodename = 'Node10'
- Node10._nodeType = 'rect';
- zoomNodeList.push({
- node: Node10,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node10, Node10.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11 = new ht.Node();
- var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 27*_ratio.ratioX, Node11height = 16*_ratio.ratioY;
- (function () {
- if (Node11align === 'left') {
- Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
- Node11textWidth = Node11width;
- Node11lineStart = 1;
- } else if (Node11align === 'right') {
- Node11textStart = 0;
- Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
- Node11lineStart = (Node11width - (ht.Default.getTextSize('天', 'bold '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node11align === 'center') {
- Node11textStart = -3;
- Node11textWidth = Node11width;
- Node11lineStart = Node11width - ht.Default.getTextSize('天', 'bold '+ Node11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, 'bold '+ Node11fontSize + 'px "Arial"'))
- Node11.setPosition(169*ratio.ratioX, 145*ratio.ratioY);
- Node11.setWidth(Node11width);
- Node11.setHeight(Node11height);
- Node11._nodeType = 'text';
- Node11._disallowEvert = true;
- Node11.setRotation(0*Math.PI/180);
- Node11.a('node.width', Node11width);
- Node11.a('node.height', Node11height);
- Node11.a('node.rect', [0, 0, Node11width, Node11height]);
- Node11.a('node.bordercolor','rgba(255,255,255,1)');
- Node11.a('node.borderwidth', 0);
- Node11.a('node.background','' || 'rgba(0,0,0,0)');
- Node11.a('node.gradient','');
- Node11.a('node.gradientcolor','');
- Node11.a('node.text','天');
- Node11.a('node.textalign','left');
- Node11.a('node.textvAlign','middle');
- Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
- Node11.a('node.color','rgba(255,255,255,1)');
- Node11.a('node.font','bold '+ Node11fontSize + 'px "Arial"');
- Node11.a('node.textvisible',true);
- Node11.a('node.linefeed',false);
- if (false) {
- Node11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node11.a('node.text') || '天';
- var color=Node11.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node11.a('node.underlinepoints',[Node11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
- Node11.a('node.underlinevisible',false);
- Node11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11);
- zoomNodeList.push({
- node: Node11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12 = new ht.Node();
- var Node12textStart, Node12textWidth, Node12lineStart, Node12align = 'left', Node12fontSize = 13.3333*_ratio.ratioY,Node12width = 53*_ratio.ratioX, Node12height = 30*_ratio.ratioY;
- (function () {
- if (Node12align === 'left') {
- Node12textStart = Node12fontSize * 0.2 > 2 ? Node12fontSize * 0.2 - 4 : Node12fontSize * 0.2 - 9;
- Node12textWidth = Node12width;
- Node12lineStart = 1;
- } else if (Node12align === 'right') {
- Node12textStart = 0;
- Node12textWidth =Node12fontSize <= 8 ? Node12width + Node12fontSize * 0.2 + 6 : Node12width - Node12fontSize * 0.2;
- Node12lineStart = (Node12width - (ht.Default.getTextSize('合', 'bold '+ Node12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node12align === 'center') {
- Node12textStart = -3;
- Node12textWidth = Node12width;
- Node12lineStart = Node12width - ht.Default.getTextSize('合', 'bold '+ Node12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node12.setImage(GD.getTextJSON(Node12width, Node12height, true, false, false, 'bold '+ Node12fontSize + 'px "Arial"'))
- Node12.setPosition(30*ratio.ratioX, 83*ratio.ratioY);
- Node12.setWidth(Node12width);
- Node12.setHeight(Node12height);
- Node12._nodeType = 'text';
- Node12._disallowEvert = true;
- Node12.setRotation(0*Math.PI/180);
- Node12.a('node.width', Node12width);
- Node12.a('node.height', Node12height);
- Node12.a('node.rect', [0, 0, Node12width, Node12height]);
- Node12.a('node.bordercolor','rgba(255,255,255,1)');
- Node12.a('node.borderwidth', 0);
- Node12.a('node.background','' || 'rgba(0,0,0,0)');
- Node12.a('node.gradient','');
- Node12.a('node.gradientcolor','');
- Node12.a('node.text','合');
- Node12.a('node.textalign','left');
- Node12.a('node.textvAlign','middle');
- Node12.a('node.textrect', [Node12textStart, 0, Node12textWidth, Node12height]);
- Node12.a('node.color','rgba(255,255,255,1)');
- Node12.a('node.font','bold '+ Node12fontSize + 'px "Arial"');
- Node12.a('node.textvisible',true);
- Node12.a('node.linefeed',false);
- if (false) {
- Node12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node12.a('node.text') || '合';
- var color=Node12.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node12width,Node12height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node12.a('node.underlinepoints',[Node12lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node12fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node12fontSize + 'px "Arial"').width + 6, (Node12height - Node12fontSize) * 0.5*_ratio.ratioY + Node12fontSize + 2 ]);
- Node12.a('node.underlinevisible',false);
- Node12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node12);
- zoomNodeList.push({
- node: Node12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13 = new ht.Node();
- var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 13.3333*_ratio.ratioY,Node13width = 53*_ratio.ratioX, Node13height = 30*_ratio.ratioY;
- (function () {
- if (Node13align === 'left') {
- Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
- Node13textWidth = Node13width;
- Node13lineStart = 1;
- } else if (Node13align === 'right') {
- Node13textStart = 0;
- Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
- Node13lineStart = (Node13width - (ht.Default.getTextSize('指', 'bold '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node13align === 'center') {
- Node13textStart = -3;
- Node13textWidth = Node13width;
- Node13lineStart = Node13width - ht.Default.getTextSize('指', 'bold '+ Node13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, 'bold '+ Node13fontSize + 'px "Arial"'))
- Node13.setPosition(30*ratio.ratioX, 110*ratio.ratioY);
- Node13.setWidth(Node13width);
- Node13.setHeight(Node13height);
- Node13._nodeType = 'text';
- Node13._disallowEvert = true;
- Node13.setRotation(0*Math.PI/180);
- Node13.a('node.width', Node13width);
- Node13.a('node.height', Node13height);
- Node13.a('node.rect', [0, 0, Node13width, Node13height]);
- Node13.a('node.bordercolor','rgba(255,255,255,1)');
- Node13.a('node.borderwidth', 0);
- Node13.a('node.background','' || 'rgba(0,0,0,0)');
- Node13.a('node.gradient','');
- Node13.a('node.gradientcolor','');
- Node13.a('node.text','指');
- Node13.a('node.textalign','left');
- Node13.a('node.textvAlign','middle');
- Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
- Node13.a('node.color','rgba(255,255,255,1)');
- Node13.a('node.font','bold '+ Node13fontSize + 'px "Arial"');
- Node13.a('node.textvisible',true);
- Node13.a('node.linefeed',false);
- if (false) {
- Node13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node13.a('node.text') || '指';
- var color=Node13.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node13width,Node13height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node13.a('node.underlinepoints',[Node13lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
- Node13.a('node.underlinevisible',false);
- Node13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node13);
- zoomNodeList.push({
- node: Node13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14 = new ht.Node();
- var Node14textStart, Node14textWidth, Node14lineStart, Node14align = 'left', Node14fontSize = 13.3333*_ratio.ratioY,Node14width = 53*_ratio.ratioX, Node14height = 30*_ratio.ratioY;
- (function () {
- if (Node14align === 'left') {
- Node14textStart = Node14fontSize * 0.2 > 2 ? Node14fontSize * 0.2 - 4 : Node14fontSize * 0.2 - 9;
- Node14textWidth = Node14width;
- Node14lineStart = 1;
- } else if (Node14align === 'right') {
- Node14textStart = 0;
- Node14textWidth =Node14fontSize <= 8 ? Node14width + Node14fontSize * 0.2 + 6 : Node14width - Node14fontSize * 0.2;
- Node14lineStart = (Node14width - (ht.Default.getTextSize('标', 'bold '+ Node14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node14align === 'center') {
- Node14textStart = -3;
- Node14textWidth = Node14width;
- Node14lineStart = Node14width - ht.Default.getTextSize('标', 'bold '+ Node14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node14.setImage(GD.getTextJSON(Node14width, Node14height, true, false, false, 'bold '+ Node14fontSize + 'px "Arial"'))
- Node14.setPosition(30*ratio.ratioX, 140*ratio.ratioY);
- Node14.setWidth(Node14width);
- Node14.setHeight(Node14height);
- Node14._nodeType = 'text';
- Node14._disallowEvert = true;
- Node14.setRotation(0*Math.PI/180);
- Node14.a('node.width', Node14width);
- Node14.a('node.height', Node14height);
- Node14.a('node.rect', [0, 0, Node14width, Node14height]);
- Node14.a('node.bordercolor','rgba(255,255,255,1)');
- Node14.a('node.borderwidth', 0);
- Node14.a('node.background','' || 'rgba(0,0,0,0)');
- Node14.a('node.gradient','');
- Node14.a('node.gradientcolor','');
- Node14.a('node.text','标');
- Node14.a('node.textalign','left');
- Node14.a('node.textvAlign','middle');
- Node14.a('node.textrect', [Node14textStart, 0, Node14textWidth, Node14height]);
- Node14.a('node.color','rgba(255,255,255,1)');
- Node14.a('node.font','bold '+ Node14fontSize + 'px "Arial"');
- Node14.a('node.textvisible',true);
- Node14.a('node.linefeed',false);
- if (false) {
- Node14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node14.a('node.text') || '标';
- var color=Node14.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node14width,Node14height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node14.a('node.underlinepoints',[Node14lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node14fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node14fontSize + 'px "Arial"').width + 6, (Node14height - Node14fontSize) * 0.5*_ratio.ratioY + Node14fontSize + 2 ]);
- Node14.a('node.underlinevisible',false);
- Node14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node14);
- zoomNodeList.push({
- node: Node14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node15;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node15 = new ht.Node();
- Node15.setPosition(106*ratio.ratioX, 61*ratio.ratioY);
- Node15.setSize(155*ratioX, 45*ratioY);
- Node15.setImage('imgimage//喜欢的蓝色.png');
- Node15.setRotation(0*Math.PI/180);
- Node15._zoomBy = 'Default';
- Node15._nodeType = 'image';
- Node15._disallowEvert = true;
- dataModel.add(Node15);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16 = new ht.Node();
- var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 17.33329*_ratio.ratioY,Node16width = 143*_ratio.ratioX, Node16height = 49*_ratio.ratioY;
- (function () {
- if (Node16align === 'left') {
- Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9;
- Node16textWidth = Node16width;
- Node16lineStart = 1;
- } else if (Node16align === 'right') {
- Node16textStart = 0;
- Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2;
- Node16lineStart = (Node16width - (ht.Default.getTextSize('广灵劲风电场', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16align === 'center') {
- Node16textStart = -3;
- Node16textWidth = Node16width;
- Node16lineStart = Node16width - ht.Default.getTextSize('广灵劲风电场', ' '+ Node16fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
- Node16.setPosition(115*ratio.ratioX, 63*ratio.ratioY);
- Node16.setWidth(Node16width);
- Node16.setHeight(Node16height);
- Node16._nodeType = 'text';
- Node16._disallowEvert = true;
- Node16.setRotation(0*Math.PI/180);
- Node16.a('node.width', Node16width);
- Node16.a('node.height', Node16height);
- Node16.a('node.rect', [0, 0, Node16width, Node16height]);
- Node16.a('node.bordercolor','rgba(255,255,255,1)');
- Node16.a('node.borderwidth', 0);
- Node16.a('node.background','' || 'rgba(0,0,0,0)');
- Node16.a('node.gradient','');
- Node16.a('node.gradientcolor','');
- Node16.a('node.text','广灵劲风电场');
- Node16.a('node.textalign','left');
- Node16.a('node.textvAlign','middle');
- Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]);
- Node16.a('node.color','rgba(255,255,255,1)');
- Node16.a('node.font',' '+ Node16fontSize + 'px "Arial"');
- Node16.a('node.textvisible',true);
- Node16.a('node.linefeed',false);
- if (false) {
- Node16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node16.a('node.text') || '广灵劲风电场';
- var color=Node16.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node16width,Node16height,17.33329*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16.a('node.underlinepoints',[Node16lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('广灵劲风电场', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
- Node16.a('node.underlinevisible',false);
- Node16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node16);
- zoomNodeList.push({
- node: Node16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node17_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//劲风排布//jinfeng_bg_n.jpg', PAGEROOTDIR + 'image//劲风排布//jinfeng_bg_n.jpg');
- Node17_0 = new ht.Node();
- Node17_0.setPosition(940*ratio.ratioX, 509*ratio.ratioY);
- Node17_0.setSize(1880*ratioX, 680*ratioY);
- Node17_0.setImage('imgimage//劲风排布//jinfeng_bg_n.jpg');
- Node17_0.setRotation(0*Math.PI/180);
- Node17_0._zoomBy = 'Default';
- Node17_0._nodeType = 'image';
- Node17_0._disallowEvert = true;
- dataModel.add(Node17_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_1 = new ht.lib['排布图图元'](1254*ratio.ratioX, 398*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166',bianhao:'A02',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002',}, function (){return {}}, 'Node17_1');
- _libModel.add("Node17_1", Node17_1);
- Node17_1.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_2 = new ht.lib['排布图图元'](1581*ratio.ratioX, 461*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166',bianhao:'A03',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002',}, function (){return {}}, 'Node17_2');
- _libModel.add("Node17_2", Node17_2);
- Node17_2.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_3 = new ht.lib['排布图图元'](1601*ratio.ratioX, 517*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166',bianhao:'A04',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002',}, function (){return {}}, 'Node17_3');
- _libModel.add("Node17_3", Node17_3);
- Node17_3.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_4 = new ht.lib['排布图图元'](1644*ratio.ratioX, 548*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166',bianhao:'A05',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002',}, function (){return {}}, 'Node17_4');
- _libModel.add("Node17_4", Node17_4);
- Node17_4.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_5 = new ht.lib['排布图图元'](1681*ratio.ratioX, 589*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166',bianhao:'A06',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002',}, function (){return {}}, 'Node17_5');
- _libModel.add("Node17_5", Node17_5);
- Node17_5.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_6 = new ht.lib['排布图图元'](1647*ratio.ratioX, 644*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166',bianhao:'A07',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002',}, function (){return {}}, 'Node17_6');
- _libModel.add("Node17_6", Node17_6);
- Node17_6.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_7 = new ht.lib['排布图图元'](1692*ratio.ratioX, 707*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166',bianhao:'A08',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002',}, function (){return {}}, 'Node17_7');
- _libModel.add("Node17_7", Node17_7);
- Node17_7.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_8 = new ht.lib['排布图图元'](1543*ratio.ratioX, 423*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166',bianhao:'A09',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002',}, function (){return {}}, 'Node17_8');
- _libModel.add("Node17_8", Node17_8);
- Node17_8.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_9 = new ht.lib['排布图图元'](1510*ratio.ratioX, 378*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166',bianhao:'A10',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002',}, function (){return {}}, 'Node17_9');
- _libModel.add("Node17_9", Node17_9);
- Node17_9.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_10 = new ht.lib['排布图图元'](1478*ratio.ratioX, 338*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166',bianhao:'A11',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002',}, function (){return {}}, 'Node17_10');
- _libModel.add("Node17_10", Node17_10);
- Node17_10.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_11 = new ht.lib['排布图图元'](1426*ratio.ratioX, 291*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166',bianhao:'A12',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002',}, function (){return {}}, 'Node17_11');
- _libModel.add("Node17_11", Node17_11);
- Node17_11.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_12 = new ht.lib['排布图图元'](1471*ratio.ratioX, 267*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166',bianhao:'B13',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002',}, function (){return {}}, 'Node17_12');
- _libModel.add("Node17_12", Node17_12);
- Node17_12.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_13 = new ht.lib['排布图图元'](1076*ratio.ratioX, 382*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166',bianhao:'B14',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002',}, function (){return {}}, 'Node17_13');
- _libModel.add("Node17_13", Node17_13);
- Node17_13.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_14 = new ht.lib['排布图图元'](1034*ratio.ratioX, 487*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166',bianhao:'B15',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002',}, function (){return {}}, 'Node17_14');
- _libModel.add("Node17_14", Node17_14);
- Node17_14.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_15 = new ht.lib['排布图图元'](729*ratio.ratioX, 451*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166',bianhao:'B16',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002',}, function (){return {}}, 'Node17_15');
- _libModel.add("Node17_15", Node17_15);
- Node17_15.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_16 = new ht.lib['排布图图元'](891*ratio.ratioX, 522*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166',bianhao:'B17',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002',}, function (){return {}}, 'Node17_16');
- _libModel.add("Node17_16", Node17_16);
- Node17_16.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_17 = new ht.lib['排布图图元'](939*ratio.ratioX, 571*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166',bianhao:'B18',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002',}, function (){return {}}, 'Node17_17');
- _libModel.add("Node17_17", Node17_17);
- Node17_17.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_18 = new ht.lib['排布图图元'](868*ratio.ratioX, 624*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166',bianhao:'B19',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002',}, function (){return {}}, 'Node17_18');
- _libModel.add("Node17_18", Node17_18);
- Node17_18.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_19 = new ht.lib['排布图图元'](870*ratio.ratioX, 567*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166',bianhao:'B20',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002',}, function (){return {}}, 'Node17_19');
- _libModel.add("Node17_19", Node17_19);
- Node17_19.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_20 = new ht.lib['排布图图元'](781*ratio.ratioX, 577*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166',bianhao:'B21',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002',}, function (){return {}}, 'Node17_20');
- _libModel.add("Node17_20", Node17_20);
- Node17_20.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_21 = new ht.lib['排布图图元'](490*ratio.ratioX, 492*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166',bianhao:'B22',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002',}, function (){return {}}, 'Node17_21');
- _libModel.add("Node17_21", Node17_21);
- Node17_21.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_22 = new ht.lib['排布图图元'](354*ratio.ratioX, 583*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166',bianhao:'B23',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002',}, function (){return {}}, 'Node17_22');
- _libModel.add("Node17_22", Node17_22);
- Node17_22.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_23 = new ht.lib['排布图图元'](274*ratio.ratioX, 531*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166',bianhao:'B24',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002',}, function (){return {}}, 'Node17_23');
- _libModel.add("Node17_23", Node17_23);
- Node17_23.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_24 = new ht.lib['排布图图元'](143*ratio.ratioX, 596*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node17_24');
- _libModel.add("Node17_24", Node17_24);
- Node17_24.setRotation(0*Math.PI/180);
- ;
- ;
- var Node18_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node18_0 = new ht.Node();
- Node18_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node18_0.setSize(27*ratioX, 101*ratioY);
- Node18_0.setImage('imgimage//left_menu_out0.png');
- Node18_0.setRotation(0*Math.PI/180);
- Node18_0._zoomBy = 'Default';
- Node18_0._nodeType = 'image';
- Node18_0._disallowEvert = true;
- dataModel.add(Node18_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18_1 = new ht.Node();
- var Node18_1textStart, Node18_1textWidth, Node18_1lineStart, Node18_1align = 'left', Node18_1fontSize = 19.99995*_ratio.ratioY,Node18_1width = 23*_ratio.ratioX, Node18_1height = 76*_ratio.ratioY;
- (function () {
- if (Node18_1align === 'left') {
- Node18_1textStart = Node18_1fontSize * 0.2 > 2 ? Node18_1fontSize * 0.2 - 4 : Node18_1fontSize * 0.2 - 9;
- Node18_1textWidth = Node18_1width;
- Node18_1lineStart = 1;
- } else if (Node18_1align === 'right') {
- Node18_1textStart = 0;
- Node18_1textWidth =Node18_1fontSize <= 8 ? Node18_1width + Node18_1fontSize * 0.2 + 6 : Node18_1width - Node18_1fontSize * 0.2;
- Node18_1lineStart = (Node18_1width - (ht.Default.getTextSize('排布图', ' '+ Node18_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node18_1align === 'center') {
- Node18_1textStart = -3;
- Node18_1textWidth = Node18_1width;
- Node18_1lineStart = Node18_1width - ht.Default.getTextSize('排布图', ' '+ Node18_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node18_1.setImage(GD.getTextJSON(Node18_1width, Node18_1height, false, true, false, ' '+ Node18_1fontSize + 'px "Arial"'))
- Node18_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
- Node18_1.setWidth(Node18_1width);
- Node18_1.setHeight(Node18_1height);
- Node18_1._nodeType = 'text';
- Node18_1._disallowEvert = true;
- Node18_1.setRotation(0*Math.PI/180);
- Node18_1.a('node.width', Node18_1width);
- Node18_1.a('node.height', Node18_1height);
- Node18_1.a('node.rect', [0, 0, Node18_1width, Node18_1height]);
- Node18_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node18_1.a('node.borderwidth', 0);
- Node18_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node18_1.a('node.gradient','');
- Node18_1.a('node.gradientcolor','');
- Node18_1.a('node.text','排布图');
- Node18_1.a('node.textalign','left');
- Node18_1.a('node.textvAlign','middle');
- Node18_1.a('node.textrect', [Node18_1textStart, 0, Node18_1textWidth, Node18_1height]);
- Node18_1.a('node.color','rgba(0,0,0,1)');
- Node18_1.a('node.font',' '+ Node18_1fontSize + 'px "Arial"');
- Node18_1.a('node.textvisible',false);
- Node18_1.a('node.linefeed',true);
- if (true) {
- Node18_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node18_1.a('node.text') || '排布图';
- var color=Node18_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node18_1width,Node18_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node18_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18_1.a('node.underlinepoints',[Node18_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node18_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node18_1fontSize + 'px "Arial"').width + 6, (Node18_1height - Node18_1fontSize) * 0.5*_ratio.ratioY + Node18_1fontSize + 2 ]);
- Node18_1.a('node.underlinevisible',false);
- Node18_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node18_1);
- zoomNodeList.push({
- node: Node18_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node19_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node19_0 = new ht.Node();
- Node19_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node19_0.setSize(27*ratioX, 101*ratioY);
- Node19_0.setImage('imgimage//left_menu_out0.png');
- Node19_0.setRotation(0*Math.PI/180);
- Node19_0._zoomBy = 'Default';
- Node19_0._nodeType = 'image';
- Node19_0._disallowEvert = true;
- dataModel.add(Node19_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node19_1 = new ht.Node();
- var Node19_1textStart, Node19_1textWidth, Node19_1lineStart, Node19_1align = 'left', Node19_1fontSize = 18.66662*_ratio.ratioY,Node19_1width = 23*_ratio.ratioX, Node19_1height = 76*_ratio.ratioY;
- (function () {
- if (Node19_1align === 'left') {
- Node19_1textStart = Node19_1fontSize * 0.2 > 2 ? Node19_1fontSize * 0.2 - 4 : Node19_1fontSize * 0.2 - 9;
- Node19_1textWidth = Node19_1width;
- Node19_1lineStart = 1;
- } else if (Node19_1align === 'right') {
- Node19_1textStart = 0;
- Node19_1textWidth =Node19_1fontSize <= 8 ? Node19_1width + Node19_1fontSize * 0.2 + 6 : Node19_1width - Node19_1fontSize * 0.2;
- Node19_1lineStart = (Node19_1width - (ht.Default.getTextSize('总貌图', ' '+ Node19_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node19_1align === 'center') {
- Node19_1textStart = -3;
- Node19_1textWidth = Node19_1width;
- Node19_1lineStart = Node19_1width - ht.Default.getTextSize('总貌图', ' '+ Node19_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node19_1.setImage(GD.getTextJSON(Node19_1width, Node19_1height, false, true, false, ' '+ Node19_1fontSize + 'px "Arial"'))
- Node19_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node19_1.setWidth(Node19_1width);
- Node19_1.setHeight(Node19_1height);
- Node19_1._nodeType = 'text';
- Node19_1._disallowEvert = true;
- Node19_1.setRotation(0*Math.PI/180);
- Node19_1.a('node.width', Node19_1width);
- Node19_1.a('node.height', Node19_1height);
- Node19_1.a('node.rect', [0, 0, Node19_1width, Node19_1height]);
- Node19_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node19_1.a('node.borderwidth', 0);
- Node19_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node19_1.a('node.gradient','');
- Node19_1.a('node.gradientcolor','');
- Node19_1.a('node.text','总貌图');
- Node19_1.a('node.textalign','left');
- Node19_1.a('node.textvAlign','middle');
- Node19_1.a('node.textrect', [Node19_1textStart, 0, Node19_1textWidth, Node19_1height]);
- Node19_1.a('node.color','rgba(0,0,0,1)');
- Node19_1.a('node.font',' '+ Node19_1fontSize + 'px "Arial"');
- Node19_1.a('node.textvisible',false);
- Node19_1.a('node.linefeed',true);
- if (true) {
- Node19_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node19_1.a('node.text') || '总貌图';
- var color=Node19_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node19_1width,Node19_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node19_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19_1.a('node.underlinepoints',[Node19_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node19_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node19_1fontSize + 'px "Arial"').width + 6, (Node19_1height - Node19_1fontSize) * 0.5*_ratio.ratioY + Node19_1fontSize + 2 ]);
- Node19_1.a('node.underlinevisible',false);
- Node19_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node19_1);
- zoomNodeList.push({
- node: Node19_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node20_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node20_0 = new ht.Node();
- Node20_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node20_0.setSize(27*ratioX, 101*ratioY);
- Node20_0.setImage('imgimage//left_menu_out0.png');
- Node20_0.setRotation(0*Math.PI/180);
- Node20_0._zoomBy = 'Default';
- Node20_0._nodeType = 'image';
- Node20_0._disallowEvert = true;
- dataModel.add(Node20_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20_1 = new ht.Node();
- var Node20_1textStart, Node20_1textWidth, Node20_1lineStart, Node20_1align = 'left', Node20_1fontSize = 18.66662*_ratio.ratioY,Node20_1width = 23*_ratio.ratioX, Node20_1height = 76*_ratio.ratioY;
- (function () {
- if (Node20_1align === 'left') {
- Node20_1textStart = Node20_1fontSize * 0.2 > 2 ? Node20_1fontSize * 0.2 - 4 : Node20_1fontSize * 0.2 - 9;
- Node20_1textWidth = Node20_1width;
- Node20_1lineStart = 1;
- } else if (Node20_1align === 'right') {
- Node20_1textStart = 0;
- Node20_1textWidth =Node20_1fontSize <= 8 ? Node20_1width + Node20_1fontSize * 0.2 + 6 : Node20_1width - Node20_1fontSize * 0.2;
- Node20_1lineStart = (Node20_1width - (ht.Default.getTextSize('升压站', ' '+ Node20_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node20_1align === 'center') {
- Node20_1textStart = -3;
- Node20_1textWidth = Node20_1width;
- Node20_1lineStart = Node20_1width - ht.Default.getTextSize('升压站', ' '+ Node20_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node20_1.setImage(GD.getTextJSON(Node20_1width, Node20_1height, false, true, false, ' '+ Node20_1fontSize + 'px "Arial"'))
- Node20_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node20_1.setWidth(Node20_1width);
- Node20_1.setHeight(Node20_1height);
- Node20_1._nodeType = 'text';
- Node20_1._disallowEvert = true;
- Node20_1.setRotation(0*Math.PI/180);
- Node20_1.a('node.width', Node20_1width);
- Node20_1.a('node.height', Node20_1height);
- Node20_1.a('node.rect', [0, 0, Node20_1width, Node20_1height]);
- Node20_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node20_1.a('node.borderwidth', 0);
- Node20_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node20_1.a('node.gradient','');
- Node20_1.a('node.gradientcolor','');
- Node20_1.a('node.text','升压站');
- Node20_1.a('node.textalign','left');
- Node20_1.a('node.textvAlign','middle');
- Node20_1.a('node.textrect', [Node20_1textStart, 0, Node20_1textWidth, Node20_1height]);
- Node20_1.a('node.color','rgba(0,0,0,1)');
- Node20_1.a('node.font',' '+ Node20_1fontSize + 'px "Arial"');
- Node20_1.a('node.textvisible',false);
- Node20_1.a('node.linefeed',true);
- if (true) {
- Node20_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node20_1.a('node.text') || '升压站';
- var color=Node20_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node20_1width,Node20_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node20_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20_1.a('node.underlinepoints',[Node20_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node20_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node20_1fontSize + 'px "Arial"').width + 6, (Node20_1height - Node20_1fontSize) * 0.5*_ratio.ratioY + Node20_1fontSize + 2 ]);
- Node20_1.a('node.underlinevisible',false);
- Node20_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node20_1);
- zoomNodeList.push({
- node: Node20_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node21_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node21_0 = new ht.Node();
- Node21_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node21_0.setSize(27*ratioX, 101*ratioY);
- Node21_0.setImage('imgimage//left_menu_out0.png');
- Node21_0.setRotation(0*Math.PI/180);
- Node21_0._zoomBy = 'Default';
- Node21_0._nodeType = 'image';
- Node21_0._disallowEvert = true;
- dataModel.add(Node21_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node21_1 = new ht.Node();
- var Node21_1textStart, Node21_1textWidth, Node21_1lineStart, Node21_1align = 'left', Node21_1fontSize = 18.66662*_ratio.ratioY,Node21_1width = 23*_ratio.ratioX, Node21_1height = 76*_ratio.ratioY;
- (function () {
- if (Node21_1align === 'left') {
- Node21_1textStart = Node21_1fontSize * 0.2 > 2 ? Node21_1fontSize * 0.2 - 4 : Node21_1fontSize * 0.2 - 9;
- Node21_1textWidth = Node21_1width;
- Node21_1lineStart = 1;
- } else if (Node21_1align === 'right') {
- Node21_1textStart = 0;
- Node21_1textWidth =Node21_1fontSize <= 8 ? Node21_1width + Node21_1fontSize * 0.2 + 6 : Node21_1width - Node21_1fontSize * 0.2;
- Node21_1lineStart = (Node21_1width - (ht.Default.getTextSize('风机信息', ' '+ Node21_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21_1align === 'center') {
- Node21_1textStart = -3;
- Node21_1textWidth = Node21_1width;
- Node21_1lineStart = Node21_1width - ht.Default.getTextSize('风机信息', ' '+ Node21_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21_1.setImage(GD.getTextJSON(Node21_1width, Node21_1height, false, true, false, ' '+ Node21_1fontSize + 'px "Arial"'))
- Node21_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node21_1.setWidth(Node21_1width);
- Node21_1.setHeight(Node21_1height);
- Node21_1._nodeType = 'text';
- Node21_1._disallowEvert = true;
- Node21_1.setRotation(0*Math.PI/180);
- Node21_1.a('node.width', Node21_1width);
- Node21_1.a('node.height', Node21_1height);
- Node21_1.a('node.rect', [0, 0, Node21_1width, Node21_1height]);
- Node21_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node21_1.a('node.borderwidth', 0);
- Node21_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node21_1.a('node.gradient','');
- Node21_1.a('node.gradientcolor','');
- Node21_1.a('node.text','风机信息');
- Node21_1.a('node.textalign','left');
- Node21_1.a('node.textvAlign','middle');
- Node21_1.a('node.textrect', [Node21_1textStart, 0, Node21_1textWidth, Node21_1height]);
- Node21_1.a('node.color','rgba(0,0,0,1)');
- Node21_1.a('node.font',' '+ Node21_1fontSize + 'px "Arial"');
- Node21_1.a('node.textvisible',false);
- Node21_1.a('node.linefeed',true);
- if (true) {
- Node21_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node21_1.a('node.text') || '风机信息';
- var color=Node21_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node21_1width,Node21_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node21_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21_1.a('node.underlinepoints',[Node21_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node21_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node21_1fontSize + 'px "Arial"').width + 6, (Node21_1height - Node21_1fontSize) * 0.5*_ratio.ratioY + Node21_1fontSize + 2 ]);
- Node21_1.a('node.underlinevisible',false);
- Node21_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node21_1);
- zoomNodeList.push({
- node: Node21_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node22_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node22_0 = new ht.Node();
- Node22_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node22_0.setSize(27*ratioX, 101*ratioY);
- Node22_0.setImage('imgimage//left_menu_out0.png');
- Node22_0.setRotation(0*Math.PI/180);
- Node22_0._zoomBy = 'Default';
- Node22_0._nodeType = 'image';
- Node22_0._disallowEvert = true;
- dataModel.add(Node22_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node22_1 = new ht.Node();
- var Node22_1textStart, Node22_1textWidth, Node22_1lineStart, Node22_1align = 'left', Node22_1fontSize = 18.66662*_ratio.ratioY,Node22_1width = 23*_ratio.ratioX, Node22_1height = 76*_ratio.ratioY;
- (function () {
- if (Node22_1align === 'left') {
- Node22_1textStart = Node22_1fontSize * 0.2 > 2 ? Node22_1fontSize * 0.2 - 4 : Node22_1fontSize * 0.2 - 9;
- Node22_1textWidth = Node22_1width;
- Node22_1lineStart = 1;
- } else if (Node22_1align === 'right') {
- Node22_1textStart = 0;
- Node22_1textWidth =Node22_1fontSize <= 8 ? Node22_1width + Node22_1fontSize * 0.2 + 6 : Node22_1width - Node22_1fontSize * 0.2;
- Node22_1lineStart = (Node22_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node22_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22_1align === 'center') {
- Node22_1textStart = -3;
- Node22_1textWidth = Node22_1width;
- Node22_1lineStart = Node22_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node22_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22_1.setImage(GD.getTextJSON(Node22_1width, Node22_1height, false, true, false, ' '+ Node22_1fontSize + 'px "Arial"'))
- Node22_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node22_1.setWidth(Node22_1width);
- Node22_1.setHeight(Node22_1height);
- Node22_1._nodeType = 'text';
- Node22_1._disallowEvert = true;
- Node22_1.setRotation(0*Math.PI/180);
- Node22_1.a('node.width', Node22_1width);
- Node22_1.a('node.height', Node22_1height);
- Node22_1.a('node.rect', [0, 0, Node22_1width, Node22_1height]);
- Node22_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node22_1.a('node.borderwidth', 0);
- Node22_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node22_1.a('node.gradient','');
- Node22_1.a('node.gradientcolor','');
- Node22_1.a('node.text','风机矩阵');
- Node22_1.a('node.textalign','left');
- Node22_1.a('node.textvAlign','middle');
- Node22_1.a('node.textrect', [Node22_1textStart, 0, Node22_1textWidth, Node22_1height]);
- Node22_1.a('node.color','rgba(0,0,0,1)');
- Node22_1.a('node.font',' '+ Node22_1fontSize + 'px "Arial"');
- Node22_1.a('node.textvisible',false);
- Node22_1.a('node.linefeed',true);
- if (true) {
- Node22_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node22_1.a('node.text') || '风机矩阵';
- var color=Node22_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node22_1width,Node22_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node22_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22_1.a('node.underlinepoints',[Node22_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node22_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node22_1fontSize + 'px "Arial"').width + 6, (Node22_1height - Node22_1fontSize) * 0.5*_ratio.ratioY + Node22_1fontSize + 2 ]);
- Node22_1.a('node.underlinevisible',false);
- Node22_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node22_1);
- zoomNodeList.push({
- node: Node22_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node23_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node23_0 = new ht.Node();
- Node23_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node23_0.setSize(27*ratioX, 101*ratioY);
- Node23_0.setImage('imgimage//left_menu_out0.png');
- Node23_0.setRotation(0*Math.PI/180);
- Node23_0._zoomBy = 'Default';
- Node23_0._nodeType = 'image';
- Node23_0._disallowEvert = true;
- dataModel.add(Node23_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node23_1 = new ht.Node();
- var Node23_1textStart, Node23_1textWidth, Node23_1lineStart, Node23_1align = 'left', Node23_1fontSize = 18.66662*_ratio.ratioY,Node23_1width = 23*_ratio.ratioX, Node23_1height = 76*_ratio.ratioY;
- (function () {
- if (Node23_1align === 'left') {
- Node23_1textStart = Node23_1fontSize * 0.2 > 2 ? Node23_1fontSize * 0.2 - 4 : Node23_1fontSize * 0.2 - 9;
- Node23_1textWidth = Node23_1width;
- Node23_1lineStart = 1;
- } else if (Node23_1align === 'right') {
- Node23_1textStart = 0;
- Node23_1textWidth =Node23_1fontSize <= 8 ? Node23_1width + Node23_1fontSize * 0.2 + 6 : Node23_1width - Node23_1fontSize * 0.2;
- Node23_1lineStart = (Node23_1width - (ht.Default.getTextSize('测风塔', ' '+ Node23_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23_1align === 'center') {
- Node23_1textStart = -3;
- Node23_1textWidth = Node23_1width;
- Node23_1lineStart = Node23_1width - ht.Default.getTextSize('测风塔', ' '+ Node23_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23_1.setImage(GD.getTextJSON(Node23_1width, Node23_1height, false, true, false, ' '+ Node23_1fontSize + 'px "Arial"'))
- Node23_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node23_1.setWidth(Node23_1width);
- Node23_1.setHeight(Node23_1height);
- Node23_1._nodeType = 'text';
- Node23_1._disallowEvert = true;
- Node23_1.setRotation(0*Math.PI/180);
- Node23_1.a('node.width', Node23_1width);
- Node23_1.a('node.height', Node23_1height);
- Node23_1.a('node.rect', [0, 0, Node23_1width, Node23_1height]);
- Node23_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node23_1.a('node.borderwidth', 0);
- Node23_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node23_1.a('node.gradient','');
- Node23_1.a('node.gradientcolor','');
- Node23_1.a('node.text','测风塔');
- Node23_1.a('node.textalign','left');
- Node23_1.a('node.textvAlign','middle');
- Node23_1.a('node.textrect', [Node23_1textStart, 0, Node23_1textWidth, Node23_1height]);
- Node23_1.a('node.color','rgba(0,0,0,1)');
- Node23_1.a('node.font',' '+ Node23_1fontSize + 'px "Arial"');
- Node23_1.a('node.textvisible',false);
- Node23_1.a('node.linefeed',true);
- if (true) {
- Node23_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node23_1.a('node.text') || '测风塔';
- var color=Node23_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node23_1width,Node23_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node23_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23_1.a('node.underlinepoints',[Node23_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node23_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node23_1fontSize + 'px "Arial"').width + 6, (Node23_1height - Node23_1fontSize) * 0.5*_ratio.ratioY + Node23_1fontSize + 2 ]);
- Node23_1.a('node.underlinevisible',false);
- Node23_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node23_1);
- zoomNodeList.push({
- node: Node23_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node24_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node24_0 = new ht.Node();
- Node24_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node24_0.setSize(27*ratioX, 101*ratioY);
- Node24_0.setImage('imgimage//left_menu_over0.png');
- Node24_0.setRotation(0*Math.PI/180);
- Node24_0._zoomBy = 'Default';
- Node24_0._nodeType = 'image';
- Node24_0._disallowEvert = true;
- dataModel.add(Node24_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node24_1 = new ht.Node();
- var Node24_1textStart, Node24_1textWidth, Node24_1lineStart, Node24_1align = 'left', Node24_1fontSize = 19.99995*_ratio.ratioY,Node24_1width = 23*_ratio.ratioX, Node24_1height = 76*_ratio.ratioY;
- (function () {
- if (Node24_1align === 'left') {
- Node24_1textStart = Node24_1fontSize * 0.2 > 2 ? Node24_1fontSize * 0.2 - 4 : Node24_1fontSize * 0.2 - 9;
- Node24_1textWidth = Node24_1width;
- Node24_1lineStart = 1;
- } else if (Node24_1align === 'right') {
- Node24_1textStart = 0;
- Node24_1textWidth =Node24_1fontSize <= 8 ? Node24_1width + Node24_1fontSize * 0.2 + 6 : Node24_1width - Node24_1fontSize * 0.2;
- Node24_1lineStart = (Node24_1width - (ht.Default.getTextSize('排布图', ' '+ Node24_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24_1align === 'center') {
- Node24_1textStart = -3;
- Node24_1textWidth = Node24_1width;
- Node24_1lineStart = Node24_1width - ht.Default.getTextSize('排布图', ' '+ Node24_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24_1.setImage(GD.getTextJSON(Node24_1width, Node24_1height, false, true, false, ' '+ Node24_1fontSize + 'px "Arial"'))
- Node24_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
- Node24_1.setWidth(Node24_1width);
- Node24_1.setHeight(Node24_1height);
- Node24_1._nodeType = 'text';
- Node24_1._disallowEvert = true;
- Node24_1.setRotation(0*Math.PI/180);
- Node24_1.a('node.width', Node24_1width);
- Node24_1.a('node.height', Node24_1height);
- Node24_1.a('node.rect', [0, 0, Node24_1width, Node24_1height]);
- Node24_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node24_1.a('node.borderwidth', 0);
- Node24_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node24_1.a('node.gradient','');
- Node24_1.a('node.gradientcolor','');
- Node24_1.a('node.text','排布图');
- Node24_1.a('node.textalign','left');
- Node24_1.a('node.textvAlign','middle');
- Node24_1.a('node.textrect', [Node24_1textStart, 0, Node24_1textWidth, Node24_1height]);
- Node24_1.a('node.color','rgba(0,0,0,1)');
- Node24_1.a('node.font',' '+ Node24_1fontSize + 'px "Arial"');
- Node24_1.a('node.textvisible',false);
- Node24_1.a('node.linefeed',true);
- if (true) {
- Node24_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node24_1.a('node.text') || '排布图';
- var color=Node24_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node24_1width,Node24_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node24_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24_1.a('node.underlinepoints',[Node24_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node24_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node24_1fontSize + 'px "Arial"').width + 6, (Node24_1height - Node24_1fontSize) * 0.5*_ratio.ratioY + Node24_1fontSize + 2 ]);
- Node24_1.a('node.underlinevisible',false);
- Node24_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node24_1);
- zoomNodeList.push({
- node: Node24_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node25_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node25_0 = new ht.Node();
- Node25_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node25_0.setSize(27*ratioX, 101*ratioY);
- Node25_0.setImage('imgimage//left_menu_over0.png');
- Node25_0.setRotation(0*Math.PI/180);
- Node25_0._zoomBy = 'Default';
- Node25_0._nodeType = 'image';
- Node25_0._disallowEvert = true;
- dataModel.add(Node25_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25_1 = new ht.Node();
- var Node25_1textStart, Node25_1textWidth, Node25_1lineStart, Node25_1align = 'left', Node25_1fontSize = 18.66662*_ratio.ratioY,Node25_1width = 23*_ratio.ratioX, Node25_1height = 76*_ratio.ratioY;
- (function () {
- if (Node25_1align === 'left') {
- Node25_1textStart = Node25_1fontSize * 0.2 > 2 ? Node25_1fontSize * 0.2 - 4 : Node25_1fontSize * 0.2 - 9;
- Node25_1textWidth = Node25_1width;
- Node25_1lineStart = 1;
- } else if (Node25_1align === 'right') {
- Node25_1textStart = 0;
- Node25_1textWidth =Node25_1fontSize <= 8 ? Node25_1width + Node25_1fontSize * 0.2 + 6 : Node25_1width - Node25_1fontSize * 0.2;
- Node25_1lineStart = (Node25_1width - (ht.Default.getTextSize('总貌图', ' '+ Node25_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node25_1align === 'center') {
- Node25_1textStart = -3;
- Node25_1textWidth = Node25_1width;
- Node25_1lineStart = Node25_1width - ht.Default.getTextSize('总貌图', ' '+ Node25_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node25_1.setImage(GD.getTextJSON(Node25_1width, Node25_1height, false, true, false, ' '+ Node25_1fontSize + 'px "Arial"'))
- Node25_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node25_1.setWidth(Node25_1width);
- Node25_1.setHeight(Node25_1height);
- Node25_1._nodeType = 'text';
- Node25_1._disallowEvert = true;
- Node25_1.setRotation(0*Math.PI/180);
- Node25_1.a('node.width', Node25_1width);
- Node25_1.a('node.height', Node25_1height);
- Node25_1.a('node.rect', [0, 0, Node25_1width, Node25_1height]);
- Node25_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node25_1.a('node.borderwidth', 0);
- Node25_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node25_1.a('node.gradient','');
- Node25_1.a('node.gradientcolor','');
- Node25_1.a('node.text','总貌图');
- Node25_1.a('node.textalign','left');
- Node25_1.a('node.textvAlign','middle');
- Node25_1.a('node.textrect', [Node25_1textStart, 0, Node25_1textWidth, Node25_1height]);
- Node25_1.a('node.color','rgba(0,0,0,1)');
- Node25_1.a('node.font',' '+ Node25_1fontSize + 'px "Arial"');
- Node25_1.a('node.textvisible',false);
- Node25_1.a('node.linefeed',true);
- if (true) {
- Node25_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node25_1.a('node.text') || '总貌图';
- var color=Node25_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node25_1width,Node25_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node25_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node25_1.a('node.underlinepoints',[Node25_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node25_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node25_1fontSize + 'px "Arial"').width + 6, (Node25_1height - Node25_1fontSize) * 0.5*_ratio.ratioY + Node25_1fontSize + 2 ]);
- Node25_1.a('node.underlinevisible',false);
- Node25_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node25_1);
- zoomNodeList.push({
- node: Node25_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node26_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node26_0 = new ht.Node();
- Node26_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node26_0.setSize(27*ratioX, 101*ratioY);
- Node26_0.setImage('imgimage//left_menu_over0.png');
- Node26_0.setRotation(0*Math.PI/180);
- Node26_0._zoomBy = 'Default';
- Node26_0._nodeType = 'image';
- Node26_0._disallowEvert = true;
- dataModel.add(Node26_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26_1 = new ht.Node();
- var Node26_1textStart, Node26_1textWidth, Node26_1lineStart, Node26_1align = 'left', Node26_1fontSize = 18.66662*_ratio.ratioY,Node26_1width = 23*_ratio.ratioX, Node26_1height = 76*_ratio.ratioY;
- (function () {
- if (Node26_1align === 'left') {
- Node26_1textStart = Node26_1fontSize * 0.2 > 2 ? Node26_1fontSize * 0.2 - 4 : Node26_1fontSize * 0.2 - 9;
- Node26_1textWidth = Node26_1width;
- Node26_1lineStart = 1;
- } else if (Node26_1align === 'right') {
- Node26_1textStart = 0;
- Node26_1textWidth =Node26_1fontSize <= 8 ? Node26_1width + Node26_1fontSize * 0.2 + 6 : Node26_1width - Node26_1fontSize * 0.2;
- Node26_1lineStart = (Node26_1width - (ht.Default.getTextSize('升压站', ' '+ Node26_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26_1align === 'center') {
- Node26_1textStart = -3;
- Node26_1textWidth = Node26_1width;
- Node26_1lineStart = Node26_1width - ht.Default.getTextSize('升压站', ' '+ Node26_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26_1.setImage(GD.getTextJSON(Node26_1width, Node26_1height, false, true, false, ' '+ Node26_1fontSize + 'px "Arial"'))
- Node26_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node26_1.setWidth(Node26_1width);
- Node26_1.setHeight(Node26_1height);
- Node26_1._nodeType = 'text';
- Node26_1._disallowEvert = true;
- Node26_1.setRotation(0*Math.PI/180);
- Node26_1.a('node.width', Node26_1width);
- Node26_1.a('node.height', Node26_1height);
- Node26_1.a('node.rect', [0, 0, Node26_1width, Node26_1height]);
- Node26_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node26_1.a('node.borderwidth', 0);
- Node26_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node26_1.a('node.gradient','');
- Node26_1.a('node.gradientcolor','');
- Node26_1.a('node.text','升压站');
- Node26_1.a('node.textalign','left');
- Node26_1.a('node.textvAlign','middle');
- Node26_1.a('node.textrect', [Node26_1textStart, 0, Node26_1textWidth, Node26_1height]);
- Node26_1.a('node.color','rgba(0,0,0,1)');
- Node26_1.a('node.font',' '+ Node26_1fontSize + 'px "Arial"');
- Node26_1.a('node.textvisible',false);
- Node26_1.a('node.linefeed',true);
- if (true) {
- Node26_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node26_1.a('node.text') || '升压站';
- var color=Node26_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node26_1width,Node26_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node26_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26_1.a('node.underlinepoints',[Node26_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node26_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node26_1fontSize + 'px "Arial"').width + 6, (Node26_1height - Node26_1fontSize) * 0.5*_ratio.ratioY + Node26_1fontSize + 2 ]);
- Node26_1.a('node.underlinevisible',false);
- Node26_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node26_1);
- zoomNodeList.push({
- node: Node26_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node27_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node27_0 = new ht.Node();
- Node27_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node27_0.setSize(27*ratioX, 101*ratioY);
- Node27_0.setImage('imgimage//left_menu_over0.png');
- Node27_0.setRotation(0*Math.PI/180);
- Node27_0._zoomBy = 'Default';
- Node27_0._nodeType = 'image';
- Node27_0._disallowEvert = true;
- dataModel.add(Node27_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_1 = new ht.Node();
- var Node27_1textStart, Node27_1textWidth, Node27_1lineStart, Node27_1align = 'left', Node27_1fontSize = 18.66662*_ratio.ratioY,Node27_1width = 23*_ratio.ratioX, Node27_1height = 76*_ratio.ratioY;
- (function () {
- if (Node27_1align === 'left') {
- Node27_1textStart = Node27_1fontSize * 0.2 > 2 ? Node27_1fontSize * 0.2 - 4 : Node27_1fontSize * 0.2 - 9;
- Node27_1textWidth = Node27_1width;
- Node27_1lineStart = 1;
- } else if (Node27_1align === 'right') {
- Node27_1textStart = 0;
- Node27_1textWidth =Node27_1fontSize <= 8 ? Node27_1width + Node27_1fontSize * 0.2 + 6 : Node27_1width - Node27_1fontSize * 0.2;
- Node27_1lineStart = (Node27_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node27_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27_1align === 'center') {
- Node27_1textStart = -3;
- Node27_1textWidth = Node27_1width;
- Node27_1lineStart = Node27_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node27_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27_1.setImage(GD.getTextJSON(Node27_1width, Node27_1height, false, true, false, ' '+ Node27_1fontSize + 'px "Arial"'))
- Node27_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node27_1.setWidth(Node27_1width);
- Node27_1.setHeight(Node27_1height);
- Node27_1._nodeType = 'text';
- Node27_1._disallowEvert = true;
- Node27_1.setRotation(0*Math.PI/180);
- Node27_1.a('node.width', Node27_1width);
- Node27_1.a('node.height', Node27_1height);
- Node27_1.a('node.rect', [0, 0, Node27_1width, Node27_1height]);
- Node27_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node27_1.a('node.borderwidth', 0);
- Node27_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_1.a('node.gradient','');
- Node27_1.a('node.gradientcolor','');
- Node27_1.a('node.text','风机矩阵');
- Node27_1.a('node.textalign','left');
- Node27_1.a('node.textvAlign','middle');
- Node27_1.a('node.textrect', [Node27_1textStart, 0, Node27_1textWidth, Node27_1height]);
- Node27_1.a('node.color','rgba(0,0,0,1)');
- Node27_1.a('node.font',' '+ Node27_1fontSize + 'px "Arial"');
- Node27_1.a('node.textvisible',false);
- Node27_1.a('node.linefeed',true);
- if (true) {
- Node27_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_1.a('node.text') || '风机矩阵';
- var color=Node27_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node27_1width,Node27_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node27_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27_1.a('node.underlinepoints',[Node27_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node27_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node27_1fontSize + 'px "Arial"').width + 6, (Node27_1height - Node27_1fontSize) * 0.5*_ratio.ratioY + Node27_1fontSize + 2 ]);
- Node27_1.a('node.underlinevisible',false);
- Node27_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_1);
- zoomNodeList.push({
- node: Node27_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node28_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node28_0 = new ht.Node();
- Node28_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node28_0.setSize(27*ratioX, 101*ratioY);
- Node28_0.setImage('imgimage//left_menu_over0.png');
- Node28_0.setRotation(0*Math.PI/180);
- Node28_0._zoomBy = 'Default';
- Node28_0._nodeType = 'image';
- Node28_0._disallowEvert = true;
- dataModel.add(Node28_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_1 = new ht.Node();
- var Node28_1textStart, Node28_1textWidth, Node28_1lineStart, Node28_1align = 'left', Node28_1fontSize = 18.66662*_ratio.ratioY,Node28_1width = 23*_ratio.ratioX, Node28_1height = 76*_ratio.ratioY;
- (function () {
- if (Node28_1align === 'left') {
- Node28_1textStart = Node28_1fontSize * 0.2 > 2 ? Node28_1fontSize * 0.2 - 4 : Node28_1fontSize * 0.2 - 9;
- Node28_1textWidth = Node28_1width;
- Node28_1lineStart = 1;
- } else if (Node28_1align === 'right') {
- Node28_1textStart = 0;
- Node28_1textWidth =Node28_1fontSize <= 8 ? Node28_1width + Node28_1fontSize * 0.2 + 6 : Node28_1width - Node28_1fontSize * 0.2;
- Node28_1lineStart = (Node28_1width - (ht.Default.getTextSize('风机信息', ' '+ Node28_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28_1align === 'center') {
- Node28_1textStart = -3;
- Node28_1textWidth = Node28_1width;
- Node28_1lineStart = Node28_1width - ht.Default.getTextSize('风机信息', ' '+ Node28_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28_1.setImage(GD.getTextJSON(Node28_1width, Node28_1height, false, true, false, ' '+ Node28_1fontSize + 'px "Arial"'))
- Node28_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node28_1.setWidth(Node28_1width);
- Node28_1.setHeight(Node28_1height);
- Node28_1._nodeType = 'text';
- Node28_1._disallowEvert = true;
- Node28_1.setRotation(0*Math.PI/180);
- Node28_1.a('node.width', Node28_1width);
- Node28_1.a('node.height', Node28_1height);
- Node28_1.a('node.rect', [0, 0, Node28_1width, Node28_1height]);
- Node28_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_1.a('node.borderwidth', 0);
- Node28_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_1.a('node.gradient','');
- Node28_1.a('node.gradientcolor','');
- Node28_1.a('node.text','风机信息');
- Node28_1.a('node.textalign','left');
- Node28_1.a('node.textvAlign','middle');
- Node28_1.a('node.textrect', [Node28_1textStart, 0, Node28_1textWidth, Node28_1height]);
- Node28_1.a('node.color','rgba(0,0,0,1)');
- Node28_1.a('node.font',' '+ Node28_1fontSize + 'px "Arial"');
- Node28_1.a('node.textvisible',false);
- Node28_1.a('node.linefeed',true);
- if (true) {
- Node28_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_1.a('node.text') || '风机信息';
- var color=Node28_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node28_1width,Node28_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node28_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node28_1.a('node.underlinepoints',[Node28_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node28_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node28_1fontSize + 'px "Arial"').width + 6, (Node28_1height - Node28_1fontSize) * 0.5*_ratio.ratioY + Node28_1fontSize + 2 ]);
- Node28_1.a('node.underlinevisible',false);
- Node28_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_1);
- zoomNodeList.push({
- node: Node28_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node29_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node29_0 = new ht.Node();
- Node29_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node29_0.setSize(27*ratioX, 101*ratioY);
- Node29_0.setImage('imgimage//left_menu_over0.png');
- Node29_0.setRotation(0*Math.PI/180);
- Node29_0._zoomBy = 'Default';
- Node29_0._nodeType = 'image';
- Node29_0._disallowEvert = true;
- dataModel.add(Node29_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_1 = new ht.Node();
- var Node29_1textStart, Node29_1textWidth, Node29_1lineStart, Node29_1align = 'left', Node29_1fontSize = 18.66662*_ratio.ratioY,Node29_1width = 23*_ratio.ratioX, Node29_1height = 76*_ratio.ratioY;
- (function () {
- if (Node29_1align === 'left') {
- Node29_1textStart = Node29_1fontSize * 0.2 > 2 ? Node29_1fontSize * 0.2 - 4 : Node29_1fontSize * 0.2 - 9;
- Node29_1textWidth = Node29_1width;
- Node29_1lineStart = 1;
- } else if (Node29_1align === 'right') {
- Node29_1textStart = 0;
- Node29_1textWidth =Node29_1fontSize <= 8 ? Node29_1width + Node29_1fontSize * 0.2 + 6 : Node29_1width - Node29_1fontSize * 0.2;
- Node29_1lineStart = (Node29_1width - (ht.Default.getTextSize('测风塔', ' '+ Node29_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node29_1align === 'center') {
- Node29_1textStart = -3;
- Node29_1textWidth = Node29_1width;
- Node29_1lineStart = Node29_1width - ht.Default.getTextSize('测风塔', ' '+ Node29_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node29_1.setImage(GD.getTextJSON(Node29_1width, Node29_1height, false, true, false, ' '+ Node29_1fontSize + 'px "Arial"'))
- Node29_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node29_1.setWidth(Node29_1width);
- Node29_1.setHeight(Node29_1height);
- Node29_1._nodeType = 'text';
- Node29_1._disallowEvert = true;
- Node29_1.setRotation(0*Math.PI/180);
- Node29_1.a('node.width', Node29_1width);
- Node29_1.a('node.height', Node29_1height);
- Node29_1.a('node.rect', [0, 0, Node29_1width, Node29_1height]);
- Node29_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_1.a('node.borderwidth', 0);
- Node29_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_1.a('node.gradient','');
- Node29_1.a('node.gradientcolor','');
- Node29_1.a('node.text','测风塔');
- Node29_1.a('node.textalign','left');
- Node29_1.a('node.textvAlign','middle');
- Node29_1.a('node.textrect', [Node29_1textStart, 0, Node29_1textWidth, Node29_1height]);
- Node29_1.a('node.color','rgba(0,0,0,1)');
- Node29_1.a('node.font',' '+ Node29_1fontSize + 'px "Arial"');
- Node29_1.a('node.textvisible',false);
- Node29_1.a('node.linefeed',true);
- if (true) {
- Node29_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_1.a('node.text') || '测风塔';
- var color=Node29_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node29_1width,Node29_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node29_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node29_1.a('node.underlinepoints',[Node29_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node29_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node29_1fontSize + 'px "Arial"').width + 6, (Node29_1height - Node29_1fontSize) * 0.5*_ratio.ratioY + Node29_1fontSize + 2 ]);
- Node29_1.a('node.underlinevisible',false);
- Node29_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_1);
- zoomNodeList.push({
- node: Node29_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30type = 'rect';
- var Node30 = new ht.Node(),
- Node30BorderWidth = 1*2;
- if (Node30type === 'arc') {
- Node30BorderWidth *= 1;
- }
- Node30.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node30type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30.setPosition(1822*ratio.ratioX, 70*ratio.ratioY);
- Node30.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node30.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30.a('node.width', 127*_ratio.ratioX);
- Node30.a('node.height', 60.81538*_ratio.ratioY);
- Node30.a('node.type', Node30type);
- Node30.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node30.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node30.a('node.gradientcolor', '');
- Node30.a('node.gradient', '');
- Node30.a('node.borderwidth', Node30BorderWidth);
- Node30.a('node.color', 'rgba(128,128,128,1)');
- Node30.a('node.fillrect', [0,0,0,0]);
- Node30.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30.a('node.fillgradient', '');
- if (Node30type !== 'rect') {
- Node30.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30.a('node.arcTo', parseFloat('@arcTo@'));
- Node30.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30type === 'arc') {
- Node30.a('node.arcOval', true);
- }
- Node30.setRotation(0*Math.PI/180);
- Node30.borderWidth = Node30BorderWidth;
- Node30.borderFillwidth = Node30BorderWidth;
- dataModel.add(Node30);
- Node30._nodename = 'Node30'
- Node30._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30, Node30.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31type = 'rect';
- var Node31 = new ht.Node(),
- Node31BorderWidth = 1*2;
- if (Node31type === 'arc') {
- Node31BorderWidth *= 1;
- }
- Node31.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node31type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node31.setPosition(1822*ratio.ratioX, 131*ratio.ratioY);
- Node31.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node31.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node31.a('node.width', 127*_ratio.ratioX);
- Node31.a('node.height', 60.81538*_ratio.ratioY);
- Node31.a('node.type', Node31type);
- Node31.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node31.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node31.a('node.gradientcolor', '');
- Node31.a('node.gradient', '');
- Node31.a('node.borderwidth', Node31BorderWidth);
- Node31.a('node.color', 'rgba(128,128,128,1)');
- Node31.a('node.fillrect', [0,0,0,0]);
- Node31.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node31.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node31.a('node.fillgradient', '');
- if (Node31type !== 'rect') {
- Node31.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node31.a('node.arcTo', parseFloat('@arcTo@'));
- Node31.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node31type === 'arc') {
- Node31.a('node.arcOval', true);
- }
- Node31.setRotation(0*Math.PI/180);
- Node31.borderWidth = Node31BorderWidth;
- Node31.borderFillwidth = Node31BorderWidth;
- dataModel.add(Node31);
- Node31._nodename = 'Node31'
- Node31._nodeType = 'rect';
- zoomNodeList.push({
- node: Node31,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node31, Node31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32type = 'rect';
- var Node32 = new ht.Node(),
- Node32BorderWidth = 1*2;
- if (Node32type === 'arc') {
- Node32BorderWidth *= 1;
- }
- Node32.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node32type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node32.setPosition(1328*ratio.ratioX, 100*ratio.ratioY);
- Node32.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node32.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node32.a('node.width', 27*_ratio.ratioX);
- Node32.a('node.height', 121*_ratio.ratioY);
- Node32.a('node.type', Node32type);
- Node32.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node32.a('node.background', 'rgba(0,0,0,1)');
- Node32.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node32.a('node.gradient', '');
- Node32.a('node.borderwidth', Node32BorderWidth);
- Node32.a('node.color', 'rgba(0,0,255,1)');
- Node32.a('node.fillrect', [0,0,0,0]);
- Node32.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node32.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node32.a('node.fillgradient', '');
- if (Node32type !== 'rect') {
- Node32.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node32.a('node.arcTo', parseFloat('@arcTo@'));
- Node32.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node32type === 'arc') {
- Node32.a('node.arcOval', true);
- }
- Node32.setRotation(0*Math.PI/180);
- Node32.borderWidth = Node32BorderWidth;
- Node32.borderFillwidth = Node32BorderWidth;
- dataModel.add(Node32);
- Node32._nodename = 'Node32'
- Node32._nodeType = 'rect';
- zoomNodeList.push({
- node: Node32,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node32, Node32.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33 = new ht.Node();
- var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 11.99997*_ratio.ratioY,Node33width = 53*_ratio.ratioX, Node33height = 20*_ratio.ratioY;
- (function () {
- if (Node33align === 'left') {
- Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9;
- Node33textWidth = Node33width;
- Node33lineStart = 1;
- } else if (Node33align === 'right') {
- Node33textStart = 0;
- Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2;
- Node33lineStart = (Node33width - (ht.Default.getTextSize('风', 'bold '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33align === 'center') {
- Node33textStart = -3;
- Node33textWidth = Node33width;
- Node33lineStart = Node33width - ht.Default.getTextSize('风', 'bold '+ Node33fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, 'bold '+ Node33fontSize + 'px "Arial"'))
- Node33.setPosition(1345*ratio.ratioX, 66*ratio.ratioY);
- Node33.setWidth(Node33width);
- Node33.setHeight(Node33height);
- Node33._nodeType = 'text';
- Node33._disallowEvert = true;
- Node33.setRotation(0*Math.PI/180);
- Node33.a('node.width', Node33width);
- Node33.a('node.height', Node33height);
- Node33.a('node.rect', [0, 0, Node33width, Node33height]);
- Node33.a('node.bordercolor','rgba(255,255,255,1)');
- Node33.a('node.borderwidth', 0);
- Node33.a('node.background','' || 'rgba(0,0,0,0)');
- Node33.a('node.gradient','');
- Node33.a('node.gradientcolor','');
- Node33.a('node.text','风');
- Node33.a('node.textalign','left');
- Node33.a('node.textvAlign','middle');
- Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
- Node33.a('node.color','rgba(255,255,255,1)');
- Node33.a('node.font','bold '+ Node33fontSize + 'px "Arial"');
- Node33.a('node.textvisible',true);
- Node33.a('node.linefeed',false);
- if (false) {
- Node33.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33.a('node.text') || '风';
- var color=Node33.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node33width,Node33height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node33fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33.a('node.underlinepoints',[Node33lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]);
- Node33.a('node.underlinevisible',false);
- Node33.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33);
- zoomNodeList.push({
- node: Node33,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34type = 'rect';
- var Node34 = new ht.Node(),
- Node34BorderWidth = 1*2;
- if (Node34type === 'arc') {
- Node34BorderWidth *= 1;
- }
- Node34.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node34type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34.setPosition(1407*ratio.ratioX, 100*ratio.ratioY);
- Node34.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node34.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34.a('node.width', 130*_ratio.ratioX);
- Node34.a('node.height', 121*_ratio.ratioY);
- Node34.a('node.type', Node34type);
- Node34.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node34.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node34.a('node.gradientcolor', '');
- Node34.a('node.gradient', '');
- Node34.a('node.borderwidth', Node34BorderWidth);
- Node34.a('node.color', 'rgba(128,128,128,1)');
- Node34.a('node.fillrect', [0,0,0,0]);
- Node34.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34.a('node.fillgradient', '');
- if (Node34type !== 'rect') {
- Node34.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34.a('node.arcTo', parseFloat('@arcTo@'));
- Node34.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34type === 'arc') {
- Node34.a('node.arcOval', true);
- }
- Node34.setRotation(0*Math.PI/180);
- Node34.borderWidth = Node34BorderWidth;
- Node34.borderFillwidth = Node34BorderWidth;
- dataModel.add(Node34);
- Node34._nodename = 'Node34'
- Node34._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node34, Node34.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35 = new ht.Node();
- var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'left', Node35fontSize = 13.3333*_ratio.ratioY,Node35width = 59*_ratio.ratioX, Node35height = 25*_ratio.ratioY;
- (function () {
- if (Node35align === 'left') {
- Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9;
- Node35textWidth = Node35width;
- Node35lineStart = 1;
- } else if (Node35align === 'right') {
- Node35textStart = 0;
- Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2;
- Node35lineStart = (Node35width - (ht.Default.getTextSize('接入', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35align === 'center') {
- Node35textStart = -3;
- Node35textWidth = Node35width;
- Node35lineStart = Node35width - ht.Default.getTextSize('接入', ' '+ Node35fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"'))
- Node35.setPosition(1376*ratio.ratioX, 54*ratio.ratioY);
- Node35.setWidth(Node35width);
- Node35.setHeight(Node35height);
- Node35._nodeType = 'text';
- Node35._disallowEvert = true;
- Node35.setRotation(0*Math.PI/180);
- Node35.a('node.width', Node35width);
- Node35.a('node.height', Node35height);
- Node35.a('node.rect', [0, 0, Node35width, Node35height]);
- Node35.a('node.bordercolor','rgba(105,105,105,1)');
- Node35.a('node.borderwidth', 0);
- Node35.a('node.background','' || 'rgba(0,0,0,0)');
- Node35.a('node.gradient','');
- Node35.a('node.gradientcolor','');
- Node35.a('node.text','接入');
- Node35.a('node.textalign','left');
- Node35.a('node.textvAlign','middle');
- Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]);
- Node35.a('node.color','rgba(105,105,105,1)');
- Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"');
- Node35.a('node.textvisible',true);
- Node35.a('node.linefeed',false);
- if (false) {
- Node35.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node35.a('node.text') || '接入';
- var color=Node35.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35width,Node35height,13.3333*_ratio.ratioY,"left",color,' '+ Node35fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35.a('node.underlinepoints',[Node35lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]);
- Node35.a('node.underlinevisible',false);
- Node35.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node35);
- zoomNodeList.push({
- node: Node35,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36 = new ht.Node();
- var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'center', Node36fontSize = 26.6666*_ratio.ratioY,Node36width = 87*_ratio.ratioX, Node36height = 36*_ratio.ratioY;
- (function () {
- if (Node36align === 'left') {
- Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
- Node36textWidth = Node36width;
- Node36lineStart = 1;
- } else if (Node36align === 'right') {
- Node36textStart = 0;
- Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
- Node36lineStart = (Node36width - (ht.Default.getTextSize('0', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36align === 'center') {
- Node36textStart = -3;
- Node36textWidth = Node36width;
- Node36lineStart = Node36width - ht.Default.getTextSize('0', ' '+ Node36fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"'))
- Node36.setPosition(1408*ratio.ratioX, 99*ratio.ratioY);
- Node36.setWidth(Node36width);
- Node36.setHeight(Node36height);
- Node36._nodeType = 'text';
- Node36._disallowEvert = true;
- Node36.setRotation(0*Math.PI/180);
- Node36.a('node.width', Node36width);
- Node36.a('node.height', Node36height);
- Node36.a('node.rect', [0, 0, Node36width, Node36height]);
- Node36.a('node.bordercolor','rgba(0,0,0,1)');
- Node36.a('node.borderwidth', 0);
- Node36.a('node.background','' || 'rgba(0,0,0,0)');
- Node36.a('node.gradient','');
- Node36.a('node.gradientcolor','');
- Node36.a('node.text','0');
- Node36.a('node.textalign','center');
- Node36.a('node.textvAlign','middle');
- Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
- Node36.a('node.color','rgba(0,0,0,1)');
- Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"');
- Node36.a('node.textvisible',true);
- Node36.a('node.linefeed',false);
- if (false) {
- Node36.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36.a('node.text') || '0';
- var color=Node36.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node36width,Node36height,26.6666*_ratio.ratioY,"center",color,' '+ Node36fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36.a('node.underlinepoints',[Node36lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
- Node36.a('node.underlinevisible',false);
- Node36.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36);
- zoomNodeList.push({
- node: Node36,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37 = new ht.Node();
- var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'center', Node37fontSize = 14.66663*_ratio.ratioY,Node37width = 87*_ratio.ratioX, Node37height = 26*_ratio.ratioY;
- (function () {
- if (Node37align === 'left') {
- Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9;
- Node37textWidth = Node37width;
- Node37lineStart = 1;
- } else if (Node37align === 'right') {
- Node37textStart = 0;
- Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2;
- Node37lineStart = (Node37width - (ht.Default.getTextSize('台', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node37align === 'center') {
- Node37textStart = -3;
- Node37textWidth = Node37width;
- Node37lineStart = Node37width - ht.Default.getTextSize('台', ' '+ Node37fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"'))
- Node37.setPosition(1455*ratio.ratioX, 148*ratio.ratioY);
- Node37.setWidth(Node37width);
- Node37.setHeight(Node37height);
- Node37._nodeType = 'text';
- Node37._disallowEvert = true;
- Node37.setRotation(0*Math.PI/180);
- Node37.a('node.width', Node37width);
- Node37.a('node.height', Node37height);
- Node37.a('node.rect', [0, 0, Node37width, Node37height]);
- Node37.a('node.bordercolor','rgba(105,105,105,1)');
- Node37.a('node.borderwidth', 0);
- Node37.a('node.background','' || 'rgba(0,0,0,0)');
- Node37.a('node.gradient','');
- Node37.a('node.gradientcolor','');
- Node37.a('node.text','台');
- Node37.a('node.textalign','center');
- Node37.a('node.textvAlign','middle');
- Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]);
- Node37.a('node.color','rgba(105,105,105,1)');
- Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"');
- Node37.a('node.textvisible',true);
- Node37.a('node.linefeed',false);
- if (false) {
- Node37.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node37.a('node.text') || '台';
- var color=Node37.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node37width,Node37height,14.66663*_ratio.ratioY,"center",color,' '+ Node37fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node37.a('node.underlinepoints',[Node37lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]);
- Node37.a('node.underlinevisible',false);
- Node37.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node37);
- zoomNodeList.push({
- node: Node37,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.Node();
- var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'center', Node38fontSize = 14.66663*_ratio.ratioY,Node38width = 67*_ratio.ratioX, Node38height = 26*_ratio.ratioY;
- (function () {
- if (Node38align === 'left') {
- Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
- Node38textWidth = Node38width;
- Node38lineStart = 1;
- } else if (Node38align === 'right') {
- Node38textStart = 0;
- Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
- Node38lineStart = (Node38width - (ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38align === 'center') {
- Node38textStart = -3;
- Node38textWidth = Node38width;
- Node38lineStart = Node38width - ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
- Node38.setPosition(1588*ratio.ratioX, 146*ratio.ratioY);
- Node38.setWidth(Node38width);
- Node38.setHeight(Node38height);
- Node38._nodeType = 'text';
- Node38._disallowEvert = true;
- Node38.setRotation(0*Math.PI/180);
- Node38.a('node.width', Node38width);
- Node38.a('node.height', Node38height);
- Node38.a('node.rect', [0, 0, Node38width, Node38height]);
- Node38.a('node.bordercolor','rgba(105,105,105,1)');
- Node38.a('node.borderwidth', 0);
- Node38.a('node.background','' || 'rgba(0,0,0,0)');
- Node38.a('node.gradient','');
- Node38.a('node.gradientcolor','');
- Node38.a('node.text','台');
- Node38.a('node.textalign','center');
- Node38.a('node.textvAlign','middle');
- Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
- Node38.a('node.color','rgba(105,105,105,1)');
- Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
- Node38.a('node.textvisible',true);
- Node38.a('node.linefeed',false);
- if (false) {
- Node38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38.a('node.text') || '台';
- var color=Node38.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node38width,Node38height,14.66663*_ratio.ratioY,"center",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38.a('node.underlinepoints',[Node38lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
- Node38.a('node.underlinevisible',false);
- Node38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38);
- zoomNodeList.push({
- node: Node38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node39;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node39 = new ht.Node();
- Node39.setPosition(1477*ratio.ratioX, 130*ratio.ratioY);
- Node39.setSize(9*ratioX, 60*ratioY);
- Node39.setImage('imgimage//page_list_box_left_orange.jpg');
- Node39.setRotation(0*Math.PI/180);
- Node39._zoomBy = 'Default';
- Node39._nodeType = 'image';
- Node39._disallowEvert = true;
- dataModel.add(Node39);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40type = 'rect';
- var Node40 = new ht.Node(),
- Node40BorderWidth = 1*2;
- if (Node40type === 'arc') {
- Node40BorderWidth *= 1;
- }
- Node40.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node40type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40.setPosition(1546*ratio.ratioX, 131*ratio.ratioY);
- Node40.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node40.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40.a('node.width', 127*_ratio.ratioX);
- Node40.a('node.height', 60.81538*_ratio.ratioY);
- Node40.a('node.type', Node40type);
- Node40.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node40.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40.a('node.gradientcolor', '');
- Node40.a('node.gradient', '');
- Node40.a('node.borderwidth', Node40BorderWidth);
- Node40.a('node.color', 'rgba(128,128,128,1)');
- Node40.a('node.fillrect', [0,0,0,0]);
- Node40.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradient', '');
- if (Node40type !== 'rect') {
- Node40.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40.a('node.arcTo', parseFloat('@arcTo@'));
- Node40.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40type === 'arc') {
- Node40.a('node.arcOval', true);
- }
- Node40.setRotation(0*Math.PI/180);
- Node40.borderWidth = Node40BorderWidth;
- Node40.borderFillwidth = Node40BorderWidth;
- dataModel.add(Node40);
- Node40._nodename = 'Node40'
- Node40._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node40, Node40.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.Node();
- var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 13.3333*_ratio.ratioY,Node41width = 47*_ratio.ratioX, Node41height = 38*_ratio.ratioY;
- (function () {
- if (Node41align === 'left') {
- Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9;
- Node41textWidth = Node41width;
- Node41lineStart = 1;
- } else if (Node41align === 'right') {
- Node41textStart = 0;
- Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2;
- Node41lineStart = (Node41width - (ht.Default.getTextSize('维护', 'bold '+ Node41fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node41align === 'center') {
- Node41textStart = -3;
- Node41textWidth = Node41width;
- Node41lineStart = Node41width - ht.Default.getTextSize('维护', 'bold '+ Node41fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, 'bold '+ Node41fontSize + 'px "Arial"'))
- Node41.setPosition(1508*ratio.ratioX, 113*ratio.ratioY);
- Node41.setWidth(Node41width);
- Node41.setHeight(Node41height);
- Node41._nodeType = 'text';
- Node41._disallowEvert = true;
- Node41.setRotation(0*Math.PI/180);
- Node41.a('node.width', Node41width);
- Node41.a('node.height', Node41height);
- Node41.a('node.rect', [0, 0, Node41width, Node41height]);
- Node41.a('node.bordercolor','rgba(0,0,0,1)');
- Node41.a('node.borderwidth', 0);
- Node41.a('node.background','' || 'rgba(0,0,0,0)');
- Node41.a('node.gradient','');
- Node41.a('node.gradientcolor','');
- Node41.a('node.text','维护');
- Node41.a('node.textalign','left');
- Node41.a('node.textvAlign','middle');
- Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]);
- Node41.a('node.color','rgba(0,0,0,1)');
- Node41.a('node.font','bold '+ Node41fontSize + 'px "Arial"');
- Node41.a('node.textvisible',true);
- Node41.a('node.linefeed',false);
- if (false) {
- Node41.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41.a('node.text') || '维护';
- var color=Node41.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41width,Node41height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node41fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node41.a('node.underlinepoints',[Node41lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node41fontSize + 'px "Arial"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]);
- Node41.a('node.underlinevisible',false);
- Node41.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41);
- zoomNodeList.push({
- node: Node41,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42 = new ht.Node();
- var Node42textStart, Node42textWidth, Node42lineStart, Node42align = 'left', Node42fontSize = 15.99996*_ratio.ratioY,Node42width = 29*_ratio.ratioX, Node42height = 25*_ratio.ratioY;
- (function () {
- if (Node42align === 'left') {
- Node42textStart = Node42fontSize * 0.2 > 2 ? Node42fontSize * 0.2 - 4 : Node42fontSize * 0.2 - 9;
- Node42textWidth = Node42width;
- Node42lineStart = 1;
- } else if (Node42align === 'right') {
- Node42textStart = 0;
- Node42textWidth =Node42fontSize <= 8 ? Node42width + Node42fontSize * 0.2 + 6 : Node42width - Node42fontSize * 0.2;
- Node42lineStart = (Node42width - (ht.Default.getTextSize('0', ' '+ Node42fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node42align === 'center') {
- Node42textStart = -3;
- Node42textWidth = Node42width;
- Node42lineStart = Node42width - ht.Default.getTextSize('0', ' '+ Node42fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node42.setImage(GD.getTextJSON(Node42width, Node42height, true, false, false, ' '+ Node42fontSize + 'px "Arial"'))
- Node42.setPosition(1509*ratio.ratioX, 145*ratio.ratioY);
- Node42.setWidth(Node42width);
- Node42.setHeight(Node42height);
- Node42._nodeType = 'text';
- Node42._disallowEvert = true;
- Node42.setRotation(0*Math.PI/180);
- Node42.a('node.width', Node42width);
- Node42.a('node.height', Node42height);
- Node42.a('node.rect', [0, 0, Node42width, Node42height]);
- Node42.a('node.bordercolor','rgba(0,0,0,1)');
- Node42.a('node.borderwidth', 0);
- Node42.a('node.background','' || 'rgba(0,0,0,0)');
- Node42.a('node.gradient','');
- Node42.a('node.gradientcolor','');
- Node42.a('node.text','0');
- Node42.a('node.textalign','left');
- Node42.a('node.textvAlign','middle');
- Node42.a('node.textrect', [Node42textStart, 0, Node42textWidth, Node42height]);
- Node42.a('node.color','rgba(0,0,0,1)');
- Node42.a('node.font',' '+ Node42fontSize + 'px "Arial"');
- Node42.a('node.textvisible',true);
- Node42.a('node.linefeed',false);
- if (false) {
- Node42.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42.a('node.text') || '0';
- var color=Node42.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node42width,Node42height,15.99996*_ratio.ratioY,"left",color,' '+ Node42fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node42.a('node.underlinepoints',[Node42lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node42fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node42fontSize + 'px "Arial"').width + 6, (Node42height - Node42fontSize) * 0.5*_ratio.ratioY + Node42fontSize + 2 ]);
- Node42.a('node.underlinevisible',false);
- Node42.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42);
- zoomNodeList.push({
- node: Node42,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43 = new ht.Node();
- var Node43textStart, Node43textWidth, Node43lineStart, Node43align = 'center', Node43fontSize = 14.66663*_ratio.ratioY,Node43width = 67*_ratio.ratioX, Node43height = 26*_ratio.ratioY;
- (function () {
- if (Node43align === 'left') {
- Node43textStart = Node43fontSize * 0.2 > 2 ? Node43fontSize * 0.2 - 4 : Node43fontSize * 0.2 - 9;
- Node43textWidth = Node43width;
- Node43lineStart = 1;
- } else if (Node43align === 'right') {
- Node43textStart = 0;
- Node43textWidth =Node43fontSize <= 8 ? Node43width + Node43fontSize * 0.2 + 6 : Node43width - Node43fontSize * 0.2;
- Node43lineStart = (Node43width - (ht.Default.getTextSize('台', ' '+ Node43fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node43align === 'center') {
- Node43textStart = -3;
- Node43textWidth = Node43width;
- Node43lineStart = Node43width - ht.Default.getTextSize('台', ' '+ Node43fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, ' '+ Node43fontSize + 'px "Arial"'))
- Node43.setPosition(1726*ratio.ratioX, 86*ratio.ratioY);
- Node43.setWidth(Node43width);
- Node43.setHeight(Node43height);
- Node43._nodeType = 'text';
- Node43._disallowEvert = true;
- Node43.setRotation(0*Math.PI/180);
- Node43.a('node.width', Node43width);
- Node43.a('node.height', Node43height);
- Node43.a('node.rect', [0, 0, Node43width, Node43height]);
- Node43.a('node.bordercolor','rgba(105,105,105,1)');
- Node43.a('node.borderwidth', 0);
- Node43.a('node.background','' || 'rgba(0,0,0,0)');
- Node43.a('node.gradient','');
- Node43.a('node.gradientcolor','');
- Node43.a('node.text','台');
- Node43.a('node.textalign','center');
- Node43.a('node.textvAlign','middle');
- Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]);
- Node43.a('node.color','rgba(105,105,105,1)');
- Node43.a('node.font',' '+ Node43fontSize + 'px "Arial"');
- Node43.a('node.textvisible',true);
- Node43.a('node.linefeed',false);
- if (false) {
- Node43.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node43.a('node.text') || '台';
- var color=Node43.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node43width,Node43height,14.66663*_ratio.ratioY,"center",color,' '+ Node43fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node43.a('node.underlinepoints',[Node43lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node43fontSize + 'px "Arial"').width + 6, (Node43height - Node43fontSize) * 0.5*_ratio.ratioY + Node43fontSize + 2 ]);
- Node43.a('node.underlinevisible',false);
- Node43.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node43);
- zoomNodeList.push({
- node: Node43,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node44;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg');
- Node44 = new ht.Node();
- Node44.setPosition(1615*ratio.ratioX, 70*ratio.ratioY);
- Node44.setSize(9*ratioX, 60*ratioY);
- Node44.setImage('imgimage//page_list_box_left_green.jpg');
- Node44.setRotation(0*Math.PI/180);
- Node44._zoomBy = 'Default';
- Node44._nodeType = 'image';
- Node44._disallowEvert = true;
- dataModel.add(Node44);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45type = 'rect';
- var Node45 = new ht.Node(),
- Node45BorderWidth = 1*2;
- if (Node45type === 'arc') {
- Node45BorderWidth *= 1;
- }
- Node45.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node45.setPosition(1684*ratio.ratioX, 70*ratio.ratioY);
- Node45.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node45.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node45.a('node.width', 127*_ratio.ratioX);
- Node45.a('node.height', 60.81538*_ratio.ratioY);
- Node45.a('node.type', Node45type);
- Node45.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node45.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node45.a('node.gradientcolor', '');
- Node45.a('node.gradient', '');
- Node45.a('node.borderwidth', Node45BorderWidth);
- Node45.a('node.color', 'rgba(128,128,128,1)');
- Node45.a('node.fillrect', [0,0,0,0]);
- Node45.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradient', '');
- if (Node45type !== 'rect') {
- Node45.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node45.a('node.arcTo', parseFloat('@arcTo@'));
- Node45.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node45type === 'arc') {
- Node45.a('node.arcOval', true);
- }
- Node45.setRotation(0*Math.PI/180);
- Node45.borderWidth = Node45BorderWidth;
- Node45.borderFillwidth = Node45BorderWidth;
- dataModel.add(Node45);
- Node45._nodename = 'Node45'
- Node45._nodeType = 'rect';
- zoomNodeList.push({
- node: Node45,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node45, Node45.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46 = new ht.Node();
- var Node46textStart, Node46textWidth, Node46lineStart, Node46align = 'left', Node46fontSize = 15.99996*_ratio.ratioY,Node46width = 29*_ratio.ratioX, Node46height = 25*_ratio.ratioY;
- (function () {
- if (Node46align === 'left') {
- Node46textStart = Node46fontSize * 0.2 > 2 ? Node46fontSize * 0.2 - 4 : Node46fontSize * 0.2 - 9;
- Node46textWidth = Node46width;
- Node46lineStart = 1;
- } else if (Node46align === 'right') {
- Node46textStart = 0;
- Node46textWidth =Node46fontSize <= 8 ? Node46width + Node46fontSize * 0.2 + 6 : Node46width - Node46fontSize * 0.2;
- Node46lineStart = (Node46width - (ht.Default.getTextSize('0', ' '+ Node46fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node46align === 'center') {
- Node46textStart = -3;
- Node46textWidth = Node46width;
- Node46lineStart = Node46width - ht.Default.getTextSize('0', ' '+ Node46fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, ' '+ Node46fontSize + 'px "Arial"'))
- Node46.setPosition(1647*ratio.ratioX, 85*ratio.ratioY);
- Node46.setWidth(Node46width);
- Node46.setHeight(Node46height);
- Node46._nodeType = 'text';
- Node46._disallowEvert = true;
- Node46.setRotation(0*Math.PI/180);
- Node46.a('node.width', Node46width);
- Node46.a('node.height', Node46height);
- Node46.a('node.rect', [0, 0, Node46width, Node46height]);
- Node46.a('node.bordercolor','rgba(0,0,0,1)');
- Node46.a('node.borderwidth', 0);
- Node46.a('node.background','' || 'rgba(0,0,0,0)');
- Node46.a('node.gradient','');
- Node46.a('node.gradientcolor','');
- Node46.a('node.text','0');
- Node46.a('node.textalign','left');
- Node46.a('node.textvAlign','middle');
- Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]);
- Node46.a('node.color','rgba(0,0,0,1)');
- Node46.a('node.font',' '+ Node46fontSize + 'px "Arial"');
- Node46.a('node.textvisible',true);
- Node46.a('node.linefeed',false);
- if (false) {
- Node46.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46.a('node.text') || '0';
- var color=Node46.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node46width,Node46height,15.99996*_ratio.ratioY,"left",color,' '+ Node46fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node46.a('node.underlinepoints',[Node46lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node46fontSize + 'px "Arial"').width + 6, (Node46height - Node46fontSize) * 0.5*_ratio.ratioY + Node46fontSize + 2 ]);
- Node46.a('node.underlinevisible',false);
- Node46.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46);
- zoomNodeList.push({
- node: Node46,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.Node();
- var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'center', Node47fontSize = 14.66663*_ratio.ratioY,Node47width = 67*_ratio.ratioX, Node47height = 26*_ratio.ratioY;
- (function () {
- if (Node47align === 'left') {
- Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
- Node47textWidth = Node47width;
- Node47lineStart = 1;
- } else if (Node47align === 'right') {
- Node47textStart = 0;
- Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
- Node47lineStart = (Node47width - (ht.Default.getTextSize('台', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('台', ' '+ Node47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"'))
- Node47.setPosition(1726*ratio.ratioX, 147*ratio.ratioY);
- Node47.setWidth(Node47width);
- Node47.setHeight(Node47height);
- Node47._nodeType = 'text';
- Node47._disallowEvert = true;
- Node47.setRotation(0*Math.PI/180);
- Node47.a('node.width', Node47width);
- Node47.a('node.height', Node47height);
- Node47.a('node.rect', [0, 0, Node47width, Node47height]);
- Node47.a('node.bordercolor','rgba(105,105,105,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','');
- Node47.a('node.text','台');
- Node47.a('node.textalign','center');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(105,105,105,1)');
- Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"');
- Node47.a('node.textvisible',true);
- Node47.a('node.linefeed',false);
- if (false) {
- Node47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47.a('node.text') || '台';
- var color=Node47.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node47width,Node47height,14.66663*_ratio.ratioY,"center",color,' '+ Node47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
- Node47.a('node.underlinevisible',false);
- Node47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47);
- zoomNodeList.push({
- node: Node47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node48;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node48 = new ht.Node();
- Node48.setPosition(1615*ratio.ratioX, 131*ratio.ratioY);
- Node48.setSize(9*ratioX, 60*ratioY);
- Node48.setImage('imgimage//page_list_box_left_pink.jpg');
- Node48.setRotation(0*Math.PI/180);
- Node48._zoomBy = 'Default';
- Node48._nodeType = 'image';
- Node48._disallowEvert = true;
- dataModel.add(Node48);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49type = 'rect';
- var Node49 = new ht.Node(),
- Node49BorderWidth = 1*2;
- if (Node49type === 'arc') {
- Node49BorderWidth *= 1;
- }
- Node49.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node49type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node49.setPosition(1684*ratio.ratioX, 131*ratio.ratioY);
- Node49.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node49.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node49.a('node.width', 127*_ratio.ratioX);
- Node49.a('node.height', 60.81538*_ratio.ratioY);
- Node49.a('node.type', Node49type);
- Node49.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node49.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node49.a('node.gradientcolor', '');
- Node49.a('node.gradient', '');
- Node49.a('node.borderwidth', Node49BorderWidth);
- Node49.a('node.color', 'rgba(128,128,128,1)');
- Node49.a('node.fillrect', [0,0,0,0]);
- Node49.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node49.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node49.a('node.fillgradient', '');
- if (Node49type !== 'rect') {
- Node49.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node49.a('node.arcTo', parseFloat('@arcTo@'));
- Node49.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node49type === 'arc') {
- Node49.a('node.arcOval', true);
- }
- Node49.setRotation(0*Math.PI/180);
- Node49.borderWidth = Node49BorderWidth;
- Node49.borderFillwidth = Node49BorderWidth;
- dataModel.add(Node49);
- Node49._nodename = 'Node49'
- Node49._nodeType = 'rect';
- zoomNodeList.push({
- node: Node49,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node49, Node49.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 47*_ratio.ratioX, Node50height = 38*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('限电', 'bold '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('限电', 'bold '+ Node50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, 'bold '+ Node50fontSize + 'px "Arial"'))
- Node50.setPosition(1646*ratio.ratioX, 114*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(0,0,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','限电');
- Node50.a('node.textalign','left');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(0,0,0,1)');
- Node50.a('node.font','bold '+ Node50fontSize + 'px "Arial"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '限电';
- var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.Node();
- var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 15.99996*_ratio.ratioY,Node51width = 29*_ratio.ratioX, Node51height = 25*_ratio.ratioY;
- (function () {
- if (Node51align === 'left') {
- Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
- Node51textWidth = Node51width;
- Node51lineStart = 1;
- } else if (Node51align === 'right') {
- Node51textStart = 0;
- Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
- Node51lineStart = (Node51width - (ht.Default.getTextSize('0', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node51align === 'center') {
- Node51textStart = -3;
- Node51textWidth = Node51width;
- Node51lineStart = Node51width - ht.Default.getTextSize('0', ' '+ Node51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"'))
- Node51.setPosition(1647*ratio.ratioX, 146*ratio.ratioY);
- Node51.setWidth(Node51width);
- Node51.setHeight(Node51height);
- Node51._nodeType = 'text';
- Node51._disallowEvert = true;
- Node51.setRotation(0*Math.PI/180);
- Node51.a('node.width', Node51width);
- Node51.a('node.height', Node51height);
- Node51.a('node.rect', [0, 0, Node51width, Node51height]);
- Node51.a('node.bordercolor','rgba(0,0,0,1)');
- Node51.a('node.borderwidth', 0);
- Node51.a('node.background','' || 'rgba(0,0,0,0)');
- Node51.a('node.gradient','');
- Node51.a('node.gradientcolor','');
- Node51.a('node.text','0');
- Node51.a('node.textalign','left');
- Node51.a('node.textvAlign','middle');
- Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
- Node51.a('node.color','rgba(0,0,0,1)');
- Node51.a('node.font',' '+ Node51fontSize + 'px "Arial"');
- Node51.a('node.textvisible',true);
- Node51.a('node.linefeed',false);
- if (false) {
- Node51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node51.a('node.text') || '0';
- var color=Node51.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node51width,Node51height,15.99996*_ratio.ratioY,"left",color,' '+ Node51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node51.a('node.underlinepoints',[Node51lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
- Node51.a('node.underlinevisible',false);
- Node51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node51);
- zoomNodeList.push({
- node: Node51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52type = 'rect';
- var Node52 = new ht.Node(),
- Node52BorderWidth = 1*2;
- if (Node52type === 'arc') {
- Node52BorderWidth *= 1;
- }
- Node52.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52.setPosition(248*ratio.ratioX, 100*ratio.ratioY);
- Node52.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node52.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node52.a('node.width', 121*_ratio.ratioX);
- Node52.a('node.height', 24.33138*_ratio.ratioY);
- Node52.a('node.type', Node52type);
- Node52.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node52.a('node.background', 'rgba(240,240,240,1)');
- Node52.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node52.a('node.gradient', '');
- Node52.a('node.borderwidth', Node52BorderWidth);
- Node52.a('node.color', 'rgba(224,224,224,1)');
- Node52.a('node.fillrect', [0,0,0,0]);
- Node52.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node52.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node52.a('node.fillgradient', '');
- if (Node52type !== 'rect') {
- Node52.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node52.a('node.arcTo', parseFloat('@arcTo@'));
- Node52.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node52type === 'arc') {
- Node52.a('node.arcOval', true);
- }
- Node52.setRotation(0*Math.PI/180);
- Node52.borderWidth = Node52BorderWidth;
- Node52.borderFillwidth = Node52BorderWidth;
- dataModel.add(Node52);
- Node52._nodename = 'Node52'
- Node52._nodeType = 'rect';
- zoomNodeList.push({
- node: Node52,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node52, Node52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53type = 'rect';
- var Node53 = new ht.Node(),
- Node53BorderWidth = 1*2;
- if (Node53type === 'arc') {
- Node53BorderWidth *= 1;
- }
- Node53.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node53type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node53.setPosition(248*ratio.ratioX, 76*ratio.ratioY);
- Node53.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node53.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node53.a('node.width', 121*_ratio.ratioX);
- Node53.a('node.height', 24.33138*_ratio.ratioY);
- Node53.a('node.type', Node53type);
- Node53.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node53.a('node.background', 'rgba(240,240,240,1)');
- Node53.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node53.a('node.gradient', '');
- Node53.a('node.borderwidth', Node53BorderWidth);
- Node53.a('node.color', 'rgba(224,224,224,1)');
- Node53.a('node.fillrect', [0,0,0,0]);
- Node53.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node53.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node53.a('node.fillgradient', '');
- if (Node53type !== 'rect') {
- Node53.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node53.a('node.arcTo', parseFloat('@arcTo@'));
- Node53.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node53type === 'arc') {
- Node53.a('node.arcOval', true);
- }
- Node53.setRotation(0*Math.PI/180);
- Node53.borderWidth = Node53BorderWidth;
- Node53.borderFillwidth = Node53BorderWidth;
- dataModel.add(Node53);
- Node53._nodename = 'Node53'
- Node53._nodeType = 'rect';
- zoomNodeList.push({
- node: Node53,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node53, Node53.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54type = 'rect';
- var Node54 = new ht.Node(),
- Node54BorderWidth = 1*2;
- if (Node54type === 'arc') {
- Node54BorderWidth *= 1;
- }
- Node54.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node54.setPosition(248*ratio.ratioX, 125*ratio.ratioY);
- Node54.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node54.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node54.a('node.width', 121*_ratio.ratioX);
- Node54.a('node.height', 24.33136*_ratio.ratioY);
- Node54.a('node.type', Node54type);
- Node54.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node54.a('node.background', 'rgba(240,240,240,1)');
- Node54.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node54.a('node.gradient', '');
- Node54.a('node.borderwidth', Node54BorderWidth);
- Node54.a('node.color', 'rgba(224,224,224,1)');
- Node54.a('node.fillrect', [0,0,0,0]);
- Node54.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradient', '');
- if (Node54type !== 'rect') {
- Node54.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node54.a('node.arcTo', parseFloat('@arcTo@'));
- Node54.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node54type === 'arc') {
- Node54.a('node.arcOval', true);
- }
- Node54.setRotation(0*Math.PI/180);
- Node54.borderWidth = Node54BorderWidth;
- Node54.borderFillwidth = Node54BorderWidth;
- dataModel.add(Node54);
- Node54._nodename = 'Node54'
- Node54._nodeType = 'rect';
- zoomNodeList.push({
- node: Node54,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node54, Node54.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55type = 'rect';
- var Node55 = new ht.Node(),
- Node55BorderWidth = 1*2;
- if (Node55type === 'arc') {
- Node55BorderWidth *= 1;
- }
- Node55.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node55type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node55.setPosition(248*ratio.ratioX, 52*ratio.ratioY);
- Node55.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node55.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node55.a('node.width', 121*_ratio.ratioX);
- Node55.a('node.height', 24.33136*_ratio.ratioY);
- Node55.a('node.type', Node55type);
- Node55.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node55.a('node.background', 'rgba(240,240,240,1)');
- Node55.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node55.a('node.gradient', '');
- Node55.a('node.borderwidth', Node55BorderWidth);
- Node55.a('node.color', 'rgba(224,224,224,1)');
- Node55.a('node.fillrect', [0,0,0,0]);
- Node55.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node55.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node55.a('node.fillgradient', '');
- if (Node55type !== 'rect') {
- Node55.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node55.a('node.arcTo', parseFloat('@arcTo@'));
- Node55.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node55type === 'arc') {
- Node55.a('node.arcOval', true);
- }
- Node55.setRotation(0*Math.PI/180);
- Node55.borderWidth = Node55BorderWidth;
- Node55.borderFillwidth = Node55BorderWidth;
- dataModel.add(Node55);
- Node55._nodename = 'Node55'
- Node55._nodeType = 'rect';
- zoomNodeList.push({
- node: Node55,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node55, Node55.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56type = 'rect';
- var Node56 = new ht.Node(),
- Node56BorderWidth = 1*2;
- if (Node56type === 'arc') {
- Node56BorderWidth *= 1;
- }
- Node56.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node56type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node56.setPosition(248*ratio.ratioX, 149*ratio.ratioY);
- Node56.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node56.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node56.a('node.width', 121*_ratio.ratioX);
- Node56.a('node.height', 24.33138*_ratio.ratioY);
- Node56.a('node.type', Node56type);
- Node56.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node56.a('node.background', 'rgba(240,240,240,1)');
- Node56.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node56.a('node.gradient', '');
- Node56.a('node.borderwidth', Node56BorderWidth);
- Node56.a('node.color', 'rgba(224,224,224,1)');
- Node56.a('node.fillrect', [0,0,0,0]);
- Node56.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node56.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node56.a('node.fillgradient', '');
- if (Node56type !== 'rect') {
- Node56.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node56.a('node.arcTo', parseFloat('@arcTo@'));
- Node56.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node56type === 'arc') {
- Node56.a('node.arcOval', true);
- }
- Node56.setRotation(0*Math.PI/180);
- Node56.borderWidth = Node56BorderWidth;
- Node56.borderFillwidth = Node56BorderWidth;
- dataModel.add(Node56);
- Node56._nodename = 'Node56'
- Node56._nodeType = 'rect';
- zoomNodeList.push({
- node: Node56,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node56, Node56.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'left', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 61*_ratio.ratioX, Node57height = 26*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('功率', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('功率', ' '+ Node57fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "微软雅黑"'))
- Node57.setPosition(222*ratio.ratioX, 78*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(0,0,0,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','');
- Node57.a('node.text','功率');
- Node57.a('node.textalign','left');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(0,0,0,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "微软雅黑"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '功率';
- var color=Node57.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 61*_ratio.ratioX, Node58height = 26*_ratio.ratioY;
- (function () {
- if (Node58align === 'left') {
- Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9;
- Node58textWidth = Node58width;
- Node58lineStart = 1;
- } else if (Node58align === 'right') {
- Node58textStart = 0;
- Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2;
- Node58lineStart = (Node58width - (ht.Default.getTextSize('风速', ' '+ Node58fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('风速', ' '+ Node58fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "微软雅黑"'))
- Node58.setPosition(222*ratio.ratioX, 102*ratio.ratioY);
- Node58.setWidth(Node58width);
- Node58.setHeight(Node58height);
- Node58._nodeType = 'text';
- Node58._disallowEvert = true;
- Node58.setRotation(0*Math.PI/180);
- Node58.a('node.width', Node58width);
- Node58.a('node.height', Node58height);
- Node58.a('node.rect', [0, 0, Node58width, Node58height]);
- Node58.a('node.bordercolor','rgba(0,0,0,1)');
- Node58.a('node.borderwidth', 0);
- Node58.a('node.background','' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','');
- Node58.a('node.text','风速');
- Node58.a('node.textalign','left');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(0,0,0,1)');
- Node58.a('node.font',' '+ Node58fontSize + 'px "微软雅黑"');
- Node58.a('node.textvisible',true);
- Node58.a('node.linefeed',false);
- if (false) {
- Node58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node58.a('node.text') || '风速';
- var color=Node58.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node58fontSize + 'px "微软雅黑"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
- Node58.a('node.underlinevisible',false);
- Node58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node58);
- zoomNodeList.push({
- node: Node58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59 = new ht.Node();
- var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 77*_ratio.ratioX, Node59height = 26*_ratio.ratioY;
- (function () {
- if (Node59align === 'left') {
- Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
- Node59textWidth = Node59width;
- Node59lineStart = 1;
- } else if (Node59align === 'right') {
- Node59textStart = 0;
- Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
- Node59lineStart = (Node59width - (ht.Default.getTextSize('发电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('发电量', ' '+ Node59fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "微软雅黑"'))
- Node59.setPosition(228*ratio.ratioX, 127*ratio.ratioY);
- Node59.setWidth(Node59width);
- Node59.setHeight(Node59height);
- Node59._nodeType = 'text';
- Node59._disallowEvert = true;
- Node59.setRotation(0*Math.PI/180);
- Node59.a('node.width', Node59width);
- Node59.a('node.height', Node59height);
- Node59.a('node.rect', [0, 0, Node59width, Node59height]);
- Node59.a('node.bordercolor','rgba(0,0,0,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','发电量');
- Node59.a('node.textalign','left');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(0,0,0,1)');
- Node59.a('node.font',' '+ Node59fontSize + 'px "微软雅黑"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '发电量';
- var color=Node59.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60type = 'rect';
- var Node60 = new ht.Node(),
- Node60BorderWidth = 1*2;
- if (Node60type === 'arc') {
- Node60BorderWidth *= 1;
- }
- Node60.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node60type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node60.setPosition(532*ratio.ratioX, 100*ratio.ratioY);
- Node60.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node60.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node60.a('node.width', 121*_ratio.ratioX);
- Node60.a('node.height', 24.33138*_ratio.ratioY);
- Node60.a('node.type', Node60type);
- Node60.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node60.a('node.background', 'rgba(240,240,240,1)');
- Node60.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node60.a('node.gradient', '');
- Node60.a('node.borderwidth', Node60BorderWidth);
- Node60.a('node.color', 'rgba(224,224,224,1)');
- Node60.a('node.fillrect', [0,0,0,0]);
- Node60.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node60.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node60.a('node.fillgradient', '');
- if (Node60type !== 'rect') {
- Node60.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node60.a('node.arcTo', parseFloat('@arcTo@'));
- Node60.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node60type === 'arc') {
- Node60.a('node.arcOval', true);
- }
- Node60.setRotation(0*Math.PI/180);
- Node60.borderWidth = Node60BorderWidth;
- Node60.borderFillwidth = Node60BorderWidth;
- dataModel.add(Node60);
- Node60._nodename = 'Node60'
- Node60._nodeType = 'rect';
- zoomNodeList.push({
- node: Node60,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node60, Node60.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61type = 'rect';
- var Node61 = new ht.Node(),
- Node61BorderWidth = 1*2;
- if (Node61type === 'arc') {
- Node61BorderWidth *= 1;
- }
- Node61.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node61type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node61.setPosition(532*ratio.ratioX, 76*ratio.ratioY);
- Node61.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node61.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node61.a('node.width', 121*_ratio.ratioX);
- Node61.a('node.height', 24.33138*_ratio.ratioY);
- Node61.a('node.type', Node61type);
- Node61.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node61.a('node.background', 'rgba(240,240,240,1)');
- Node61.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node61.a('node.gradient', '');
- Node61.a('node.borderwidth', Node61BorderWidth);
- Node61.a('node.color', 'rgba(224,224,224,1)');
- Node61.a('node.fillrect', [0,0,0,0]);
- Node61.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node61.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node61.a('node.fillgradient', '');
- if (Node61type !== 'rect') {
- Node61.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node61.a('node.arcTo', parseFloat('@arcTo@'));
- Node61.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node61type === 'arc') {
- Node61.a('node.arcOval', true);
- }
- Node61.setRotation(0*Math.PI/180);
- Node61.borderWidth = Node61BorderWidth;
- Node61.borderFillwidth = Node61BorderWidth;
- dataModel.add(Node61);
- Node61._nodename = 'Node61'
- Node61._nodeType = 'rect';
- zoomNodeList.push({
- node: Node61,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node61, Node61.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62type = 'rect';
- var Node62 = new ht.Node(),
- Node62BorderWidth = 1*2;
- if (Node62type === 'arc') {
- Node62BorderWidth *= 1;
- }
- Node62.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node62type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node62.setPosition(532*ratio.ratioX, 125*ratio.ratioY);
- Node62.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node62.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node62.a('node.width', 121*_ratio.ratioX);
- Node62.a('node.height', 24.33136*_ratio.ratioY);
- Node62.a('node.type', Node62type);
- Node62.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node62.a('node.background', 'rgba(240,240,240,1)');
- Node62.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node62.a('node.gradient', '');
- Node62.a('node.borderwidth', Node62BorderWidth);
- Node62.a('node.color', 'rgba(224,224,224,1)');
- Node62.a('node.fillrect', [0,0,0,0]);
- Node62.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node62.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node62.a('node.fillgradient', '');
- if (Node62type !== 'rect') {
- Node62.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node62.a('node.arcTo', parseFloat('@arcTo@'));
- Node62.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node62type === 'arc') {
- Node62.a('node.arcOval', true);
- }
- Node62.setRotation(0*Math.PI/180);
- Node62.borderWidth = Node62BorderWidth;
- Node62.borderFillwidth = Node62BorderWidth;
- dataModel.add(Node62);
- Node62._nodename = 'Node62'
- Node62._nodeType = 'rect';
- zoomNodeList.push({
- node: Node62,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node62, Node62.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63type = 'rect';
- var Node63 = new ht.Node(),
- Node63BorderWidth = 1*2;
- if (Node63type === 'arc') {
- Node63BorderWidth *= 1;
- }
- Node63.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node63.setPosition(532*ratio.ratioX, 52*ratio.ratioY);
- Node63.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node63.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node63.a('node.width', 121*_ratio.ratioX);
- Node63.a('node.height', 24.33136*_ratio.ratioY);
- Node63.a('node.type', Node63type);
- Node63.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node63.a('node.background', 'rgba(240,240,240,1)');
- Node63.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node63.a('node.gradient', '');
- Node63.a('node.borderwidth', Node63BorderWidth);
- Node63.a('node.color', 'rgba(224,224,224,1)');
- Node63.a('node.fillrect', [0,0,0,0]);
- Node63.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradient', '');
- if (Node63type !== 'rect') {
- Node63.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node63.a('node.arcTo', parseFloat('@arcTo@'));
- Node63.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node63type === 'arc') {
- Node63.a('node.arcOval', true);
- }
- Node63.setRotation(0*Math.PI/180);
- Node63.borderWidth = Node63BorderWidth;
- Node63.borderFillwidth = Node63BorderWidth;
- dataModel.add(Node63);
- Node63._nodename = 'Node63'
- Node63._nodeType = 'rect';
- zoomNodeList.push({
- node: Node63,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node63, Node63.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64type = 'rect';
- var Node64 = new ht.Node(),
- Node64BorderWidth = 1*2;
- if (Node64type === 'arc') {
- Node64BorderWidth *= 1;
- }
- Node64.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node64type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node64.setPosition(532*ratio.ratioX, 149*ratio.ratioY);
- Node64.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node64.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node64.a('node.width', 121*_ratio.ratioX);
- Node64.a('node.height', 24.33138*_ratio.ratioY);
- Node64.a('node.type', Node64type);
- Node64.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node64.a('node.background', 'rgba(240,240,240,1)');
- Node64.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node64.a('node.gradient', '');
- Node64.a('node.borderwidth', Node64BorderWidth);
- Node64.a('node.color', 'rgba(224,224,224,1)');
- Node64.a('node.fillrect', [0,0,0,0]);
- Node64.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradient', '');
- if (Node64type !== 'rect') {
- Node64.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node64.a('node.arcTo', parseFloat('@arcTo@'));
- Node64.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node64type === 'arc') {
- Node64.a('node.arcOval', true);
- }
- Node64.setRotation(0*Math.PI/180);
- Node64.borderWidth = Node64BorderWidth;
- Node64.borderFillwidth = Node64BorderWidth;
- dataModel.add(Node64);
- Node64._nodename = 'Node64'
- Node64._nodeType = 'rect';
- zoomNodeList.push({
- node: Node64,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node64, Node64.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'center', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 113*_ratio.ratioX, Node65height = 26*_ratio.ratioY;
- (function () {
- if (Node65align === 'left') {
- Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
- Node65textWidth = Node65width;
- Node65lineStart = 1;
- } else if (Node65align === 'right') {
- Node65textStart = 0;
- Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
- Node65lineStart = (Node65width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node65fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node65align === 'center') {
- Node65textStart = -3;
- Node65textWidth = Node65width;
- Node65lineStart = Node65width - ht.Default.getTextSize('日维护损失电量', ' '+ Node65fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "微软雅黑"'))
- Node65.setPosition(532*ratio.ratioX, 54*ratio.ratioY);
- Node65.setWidth(Node65width);
- Node65.setHeight(Node65height);
- Node65._nodeType = 'text';
- Node65._disallowEvert = true;
- Node65.setRotation(0*Math.PI/180);
- Node65.a('node.width', Node65width);
- Node65.a('node.height', Node65height);
- Node65.a('node.rect', [0, 0, Node65width, Node65height]);
- Node65.a('node.bordercolor','rgba(0,0,0,1)');
- Node65.a('node.borderwidth', 0);
- Node65.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','rgba(255,255,255,0)');
- Node65.a('node.text','日维护损失电量');
- Node65.a('node.textalign','center');
- Node65.a('node.textvAlign','middle');
- Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]);
- Node65.a('node.color','rgba(0,0,0,1)');
- Node65.a('node.font',' '+ Node65fontSize + 'px "微软雅黑"');
- Node65.a('node.textvisible',true);
- Node65.a('node.linefeed',false);
- if (false) {
- Node65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node65.a('node.text') || '日维护损失电量';
- var color=Node65.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node65width,Node65height,13.3333*_ratio.ratioY,"center",color,' '+ Node65fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node65.a('node.underlinepoints',[Node65lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node65fontSize + 'px "微软雅黑"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]);
- Node65.a('node.underlinevisible',false);
- Node65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node65);
- zoomNodeList.push({
- node: Node65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66 = new ht.Node();
- var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'center', Node66fontSize = 13.3333*_ratio.ratioY,Node66width = 113*_ratio.ratioX, Node66height = 26*_ratio.ratioY;
- (function () {
- if (Node66align === 'left') {
- Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9;
- Node66textWidth = Node66width;
- Node66lineStart = 1;
- } else if (Node66align === 'right') {
- Node66textStart = 0;
- Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2;
- Node66lineStart = (Node66width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node66fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node66align === 'center') {
- Node66textStart = -3;
- Node66textWidth = Node66width;
- Node66lineStart = Node66width - ht.Default.getTextSize('日故障损失电量', ' '+ Node66fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "微软雅黑"'))
- Node66.setPosition(533*ratio.ratioX, 78*ratio.ratioY);
- Node66.setWidth(Node66width);
- Node66.setHeight(Node66height);
- Node66._nodeType = 'text';
- Node66._disallowEvert = true;
- Node66.setRotation(0*Math.PI/180);
- Node66.a('node.width', Node66width);
- Node66.a('node.height', Node66height);
- Node66.a('node.rect', [0, 0, Node66width, Node66height]);
- Node66.a('node.bordercolor','rgba(0,0,0,1)');
- Node66.a('node.borderwidth', 0);
- Node66.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node66.a('node.gradient','');
- Node66.a('node.gradientcolor','rgba(255,255,255,0)');
- Node66.a('node.text','日故障损失电量');
- Node66.a('node.textalign','center');
- Node66.a('node.textvAlign','middle');
- Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]);
- Node66.a('node.color','rgba(0,0,0,1)');
- Node66.a('node.font',' '+ Node66fontSize + 'px "微软雅黑"');
- Node66.a('node.textvisible',true);
- Node66.a('node.linefeed',false);
- if (false) {
- Node66.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node66.a('node.text') || '日故障损失电量';
- var color=Node66.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"center",color,' '+ Node66fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node66.a('node.underlinepoints',[Node66lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node66fontSize + 'px "微软雅黑"').width + 6, (Node66height - Node66fontSize) * 0.5*_ratio.ratioY + Node66fontSize + 2 ]);
- Node66.a('node.underlinevisible',false);
- Node66.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node66);
- zoomNodeList.push({
- node: Node66,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67 = new ht.Node();
- var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'center', Node67fontSize = 13.3333*_ratio.ratioY,Node67width = 113*_ratio.ratioX, Node67height = 26*_ratio.ratioY;
- (function () {
- if (Node67align === 'left') {
- Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9;
- Node67textWidth = Node67width;
- Node67lineStart = 1;
- } else if (Node67align === 'right') {
- Node67textStart = 0;
- Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2;
- Node67lineStart = (Node67width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node67fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node67align === 'center') {
- Node67textStart = -3;
- Node67textWidth = Node67width;
- Node67lineStart = Node67width - ht.Default.getTextSize('日限电损失电量', ' '+ Node67fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "微软雅黑"'))
- Node67.setPosition(533*ratio.ratioX, 103*ratio.ratioY);
- Node67.setWidth(Node67width);
- Node67.setHeight(Node67height);
- Node67._nodeType = 'text';
- Node67._disallowEvert = true;
- Node67.setRotation(0*Math.PI/180);
- Node67.a('node.width', Node67width);
- Node67.a('node.height', Node67height);
- Node67.a('node.rect', [0, 0, Node67width, Node67height]);
- Node67.a('node.bordercolor','rgba(0,0,0,1)');
- Node67.a('node.borderwidth', 0);
- Node67.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node67.a('node.gradient','');
- Node67.a('node.gradientcolor','rgba(255,255,255,0)');
- Node67.a('node.text','日限电损失电量');
- Node67.a('node.textalign','center');
- Node67.a('node.textvAlign','middle');
- Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]);
- Node67.a('node.color','rgba(0,0,0,1)');
- Node67.a('node.font',' '+ Node67fontSize + 'px "微软雅黑"');
- Node67.a('node.textvisible',true);
- Node67.a('node.linefeed',false);
- if (false) {
- Node67.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node67.a('node.text') || '日限电损失电量';
- var color=Node67.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node67width,Node67height,13.3333*_ratio.ratioY,"center",color,' '+ Node67fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node67.a('node.underlinepoints',[Node67lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node67fontSize + 'px "微软雅黑"').width + 6, (Node67height - Node67fontSize) * 0.5*_ratio.ratioY + Node67fontSize + 2 ]);
- Node67.a('node.underlinevisible',false);
- Node67.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node67);
- zoomNodeList.push({
- node: Node67,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68 = new ht.Node();
- var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'center', Node68fontSize = 13.3333*_ratio.ratioY,Node68width = 113*_ratio.ratioX, Node68height = 26*_ratio.ratioY;
- (function () {
- if (Node68align === 'left') {
- Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9;
- Node68textWidth = Node68width;
- Node68lineStart = 1;
- } else if (Node68align === 'right') {
- Node68textStart = 0;
- Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2;
- Node68lineStart = (Node68width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node68fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node68align === 'center') {
- Node68textStart = -3;
- Node68textWidth = Node68width;
- Node68lineStart = Node68width - ht.Default.getTextSize('日受累损失电量', ' '+ Node68fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "微软雅黑"'))
- Node68.setPosition(533*ratio.ratioX, 127*ratio.ratioY);
- Node68.setWidth(Node68width);
- Node68.setHeight(Node68height);
- Node68._nodeType = 'text';
- Node68._disallowEvert = true;
- Node68.setRotation(0*Math.PI/180);
- Node68.a('node.width', Node68width);
- Node68.a('node.height', Node68height);
- Node68.a('node.rect', [0, 0, Node68width, Node68height]);
- Node68.a('node.bordercolor','rgba(0,0,0,1)');
- Node68.a('node.borderwidth', 0);
- Node68.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node68.a('node.gradient','');
- Node68.a('node.gradientcolor','rgba(255,255,255,0)');
- Node68.a('node.text','日受累损失电量');
- Node68.a('node.textalign','center');
- Node68.a('node.textvAlign','middle');
- Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]);
- Node68.a('node.color','rgba(0,0,0,1)');
- Node68.a('node.font',' '+ Node68fontSize + 'px "微软雅黑"');
- Node68.a('node.textvisible',true);
- Node68.a('node.linefeed',false);
- if (false) {
- Node68.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node68.a('node.text') || '日受累损失电量';
- var color=Node68.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node68width,Node68height,13.3333*_ratio.ratioY,"center",color,' '+ Node68fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node68.a('node.underlinepoints',[Node68lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node68fontSize + 'px "微软雅黑"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
- Node68.a('node.underlinevisible',false);
- Node68.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node68);
- zoomNodeList.push({
- node: Node68,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69type = 'rect';
- var Node69 = new ht.Node(),
- Node69BorderWidth = 1*2;
- if (Node69type === 'arc') {
- Node69BorderWidth *= 1;
- }
- Node69.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node69.setPosition(813*ratio.ratioX, 100*ratio.ratioY);
- Node69.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node69.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node69.a('node.width', 117*_ratio.ratioX);
- Node69.a('node.height', 24.33138*_ratio.ratioY);
- Node69.a('node.type', Node69type);
- Node69.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node69.a('node.background', 'rgba(240,240,240,1)');
- Node69.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node69.a('node.gradient', '');
- Node69.a('node.borderwidth', Node69BorderWidth);
- Node69.a('node.color', 'rgba(224,224,224,1)');
- Node69.a('node.fillrect', [0,0,0,0]);
- Node69.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradient', '');
- if (Node69type !== 'rect') {
- Node69.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node69.a('node.arcTo', parseFloat('@arcTo@'));
- Node69.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node69type === 'arc') {
- Node69.a('node.arcOval', true);
- }
- Node69.setRotation(0*Math.PI/180);
- Node69.borderWidth = Node69BorderWidth;
- Node69.borderFillwidth = Node69BorderWidth;
- dataModel.add(Node69);
- Node69._nodename = 'Node69'
- Node69._nodeType = 'rect';
- zoomNodeList.push({
- node: Node69,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node69, Node69.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70type = 'rect';
- var Node70 = new ht.Node(),
- Node70BorderWidth = 1*2;
- if (Node70type === 'arc') {
- Node70BorderWidth *= 1;
- }
- Node70.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node70.setPosition(813*ratio.ratioX, 76*ratio.ratioY);
- Node70.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node70.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node70.a('node.width', 117*_ratio.ratioX);
- Node70.a('node.height', 24.33138*_ratio.ratioY);
- Node70.a('node.type', Node70type);
- Node70.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node70.a('node.background', 'rgba(240,240,240,1)');
- Node70.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node70.a('node.gradient', '');
- Node70.a('node.borderwidth', Node70BorderWidth);
- Node70.a('node.color', 'rgba(224,224,224,1)');
- Node70.a('node.fillrect', [0,0,0,0]);
- Node70.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradient', '');
- if (Node70type !== 'rect') {
- Node70.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node70.a('node.arcTo', parseFloat('@arcTo@'));
- Node70.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node70type === 'arc') {
- Node70.a('node.arcOval', true);
- }
- Node70.setRotation(0*Math.PI/180);
- Node70.borderWidth = Node70BorderWidth;
- Node70.borderFillwidth = Node70BorderWidth;
- dataModel.add(Node70);
- Node70._nodename = 'Node70'
- Node70._nodeType = 'rect';
- zoomNodeList.push({
- node: Node70,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node70, Node70.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71type = 'rect';
- var Node71 = new ht.Node(),
- Node71BorderWidth = 1*2;
- if (Node71type === 'arc') {
- Node71BorderWidth *= 1;
- }
- Node71.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node71type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node71.setPosition(813*ratio.ratioX, 125*ratio.ratioY);
- Node71.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node71.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node71.a('node.width', 117*_ratio.ratioX);
- Node71.a('node.height', 24.33136*_ratio.ratioY);
- Node71.a('node.type', Node71type);
- Node71.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node71.a('node.background', 'rgba(240,240,240,1)');
- Node71.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node71.a('node.gradient', '');
- Node71.a('node.borderwidth', Node71BorderWidth);
- Node71.a('node.color', 'rgba(224,224,224,1)');
- Node71.a('node.fillrect', [0,0,0,0]);
- Node71.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node71.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node71.a('node.fillgradient', '');
- if (Node71type !== 'rect') {
- Node71.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node71.a('node.arcTo', parseFloat('@arcTo@'));
- Node71.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node71type === 'arc') {
- Node71.a('node.arcOval', true);
- }
- Node71.setRotation(0*Math.PI/180);
- Node71.borderWidth = Node71BorderWidth;
- Node71.borderFillwidth = Node71BorderWidth;
- dataModel.add(Node71);
- Node71._nodename = 'Node71'
- Node71._nodeType = 'rect';
- zoomNodeList.push({
- node: Node71,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node71, Node71.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72type = 'rect';
- var Node72 = new ht.Node(),
- Node72BorderWidth = 1*2;
- if (Node72type === 'arc') {
- Node72BorderWidth *= 1;
- }
- Node72.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node72type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node72.setPosition(813*ratio.ratioX, 52*ratio.ratioY);
- Node72.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node72.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node72.a('node.width', 117*_ratio.ratioX);
- Node72.a('node.height', 24.33136*_ratio.ratioY);
- Node72.a('node.type', Node72type);
- Node72.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node72.a('node.background', 'rgba(240,240,240,1)');
- Node72.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node72.a('node.gradient', '');
- Node72.a('node.borderwidth', Node72BorderWidth);
- Node72.a('node.color', 'rgba(224,224,224,1)');
- Node72.a('node.fillrect', [0,0,0,0]);
- Node72.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node72.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node72.a('node.fillgradient', '');
- if (Node72type !== 'rect') {
- Node72.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node72.a('node.arcTo', parseFloat('@arcTo@'));
- Node72.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node72type === 'arc') {
- Node72.a('node.arcOval', true);
- }
- Node72.setRotation(0*Math.PI/180);
- Node72.borderWidth = Node72BorderWidth;
- Node72.borderFillwidth = Node72BorderWidth;
- dataModel.add(Node72);
- Node72._nodename = 'Node72'
- Node72._nodeType = 'rect';
- zoomNodeList.push({
- node: Node72,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node72, Node72.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73type = 'rect';
- var Node73 = new ht.Node(),
- Node73BorderWidth = 1*2;
- if (Node73type === 'arc') {
- Node73BorderWidth *= 1;
- }
- Node73.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node73type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node73.setPosition(813*ratio.ratioX, 149*ratio.ratioY);
- Node73.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node73.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node73.a('node.width', 117*_ratio.ratioX);
- Node73.a('node.height', 24.33138*_ratio.ratioY);
- Node73.a('node.type', Node73type);
- Node73.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node73.a('node.background', 'rgba(240,240,240,1)');
- Node73.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node73.a('node.gradient', '');
- Node73.a('node.borderwidth', Node73BorderWidth);
- Node73.a('node.color', 'rgba(224,224,224,1)');
- Node73.a('node.fillrect', [0,0,0,0]);
- Node73.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node73.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node73.a('node.fillgradient', '');
- if (Node73type !== 'rect') {
- Node73.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node73.a('node.arcTo', parseFloat('@arcTo@'));
- Node73.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node73type === 'arc') {
- Node73.a('node.arcOval', true);
- }
- Node73.setRotation(0*Math.PI/180);
- Node73.borderWidth = Node73BorderWidth;
- Node73.borderFillwidth = Node73BorderWidth;
- dataModel.add(Node73);
- Node73._nodename = 'Node73'
- Node73._nodeType = 'rect';
- zoomNodeList.push({
- node: Node73,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node73, Node73.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.Node();
- var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'center', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 110*_ratio.ratioX, Node74height = 26*_ratio.ratioY;
- (function () {
- if (Node74align === 'left') {
- Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
- Node74textWidth = Node74width;
- Node74lineStart = 1;
- } else if (Node74align === 'right') {
- Node74textStart = 0;
- Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
- Node74lineStart = (Node74width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node74fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('月维护损失电量', ' '+ Node74fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, ' '+ Node74fontSize + 'px "微软雅黑"'))
- Node74.setPosition(813*ratio.ratioX, 54*ratio.ratioY);
- Node74.setWidth(Node74width);
- Node74.setHeight(Node74height);
- Node74._nodeType = 'text';
- Node74._disallowEvert = true;
- Node74.setRotation(0*Math.PI/180);
- Node74.a('node.width', Node74width);
- Node74.a('node.height', Node74height);
- Node74.a('node.rect', [0, 0, Node74width, Node74height]);
- Node74.a('node.bordercolor','rgba(0,0,0,1)');
- Node74.a('node.borderwidth', 0);
- Node74.a('node.background','' || 'rgba(0,0,0,0)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','');
- Node74.a('node.text','月维护损失电量');
- Node74.a('node.textalign','center');
- Node74.a('node.textvAlign','middle');
- Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
- Node74.a('node.color','rgba(0,0,0,1)');
- Node74.a('node.font',' '+ Node74fontSize + 'px "微软雅黑"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '月维护损失电量';
- var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"center",color,' '+ Node74fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node74fontSize + 'px "微软雅黑"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75 = new ht.Node();
- var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'center', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 110*_ratio.ratioX, Node75height = 26*_ratio.ratioY;
- (function () {
- if (Node75align === 'left') {
- Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9;
- Node75textWidth = Node75width;
- Node75lineStart = 1;
- } else if (Node75align === 'right') {
- Node75textStart = 0;
- Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2;
- Node75lineStart = (Node75width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node75fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node75align === 'center') {
- Node75textStart = -3;
- Node75textWidth = Node75width;
- Node75lineStart = Node75width - ht.Default.getTextSize('月故障损失电量', ' '+ Node75fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, ' '+ Node75fontSize + 'px "微软雅黑"'))
- Node75.setPosition(813*ratio.ratioX, 78*ratio.ratioY);
- Node75.setWidth(Node75width);
- Node75.setHeight(Node75height);
- Node75._nodeType = 'text';
- Node75._disallowEvert = true;
- Node75.setRotation(0*Math.PI/180);
- Node75.a('node.width', Node75width);
- Node75.a('node.height', Node75height);
- Node75.a('node.rect', [0, 0, Node75width, Node75height]);
- Node75.a('node.bordercolor','rgba(0,0,0,1)');
- Node75.a('node.borderwidth', 0);
- Node75.a('node.background','' || 'rgba(0,0,0,0)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','');
- Node75.a('node.text','月故障损失电量');
- Node75.a('node.textalign','center');
- Node75.a('node.textvAlign','middle');
- Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]);
- Node75.a('node.color','rgba(0,0,0,1)');
- Node75.a('node.font',' '+ Node75fontSize + 'px "微软雅黑"');
- Node75.a('node.textvisible',true);
- Node75.a('node.linefeed',false);
- if (false) {
- Node75.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node75.a('node.text') || '月故障损失电量';
- var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"center",color,' '+ Node75fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node75.a('node.underlinepoints',[Node75lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node75fontSize + 'px "微软雅黑"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]);
- Node75.a('node.underlinevisible',false);
- Node75.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node75);
- zoomNodeList.push({
- node: Node75,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76 = new ht.Node();
- var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'center', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 110*_ratio.ratioX, Node76height = 26*_ratio.ratioY;
- (function () {
- if (Node76align === 'left') {
- Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9;
- Node76textWidth = Node76width;
- Node76lineStart = 1;
- } else if (Node76align === 'right') {
- Node76textStart = 0;
- Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2;
- Node76lineStart = (Node76width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node76fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node76align === 'center') {
- Node76textStart = -3;
- Node76textWidth = Node76width;
- Node76lineStart = Node76width - ht.Default.getTextSize('月限电损失电量', ' '+ Node76fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "微软雅黑"'))
- Node76.setPosition(813*ratio.ratioX, 103*ratio.ratioY);
- Node76.setWidth(Node76width);
- Node76.setHeight(Node76height);
- Node76._nodeType = 'text';
- Node76._disallowEvert = true;
- Node76.setRotation(0*Math.PI/180);
- Node76.a('node.width', Node76width);
- Node76.a('node.height', Node76height);
- Node76.a('node.rect', [0, 0, Node76width, Node76height]);
- Node76.a('node.bordercolor','rgba(0,0,0,1)');
- Node76.a('node.borderwidth', 0);
- Node76.a('node.background','' || 'rgba(0,0,0,0)');
- Node76.a('node.gradient','');
- Node76.a('node.gradientcolor','');
- Node76.a('node.text','月限电损失电量');
- Node76.a('node.textalign','center');
- Node76.a('node.textvAlign','middle');
- Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
- Node76.a('node.color','rgba(0,0,0,1)');
- Node76.a('node.font',' '+ Node76fontSize + 'px "微软雅黑"');
- Node76.a('node.textvisible',true);
- Node76.a('node.linefeed',false);
- if (false) {
- Node76.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node76.a('node.text') || '月限电损失电量';
- var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"center",color,' '+ Node76fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node76fontSize + 'px "微软雅黑"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]);
- Node76.a('node.underlinevisible',false);
- Node76.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node76);
- zoomNodeList.push({
- node: Node76,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.Node();
- var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'center', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 110*_ratio.ratioX, Node77height = 26*_ratio.ratioY;
- (function () {
- if (Node77align === 'left') {
- Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
- Node77textWidth = Node77width;
- Node77lineStart = 1;
- } else if (Node77align === 'right') {
- Node77textStart = 0;
- Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
- Node77lineStart = (Node77width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('月受累损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "微软雅黑"'))
- Node77.setPosition(813*ratio.ratioX, 127*ratio.ratioY);
- Node77.setWidth(Node77width);
- Node77.setHeight(Node77height);
- Node77._nodeType = 'text';
- Node77._disallowEvert = true;
- Node77.setRotation(0*Math.PI/180);
- Node77.a('node.width', Node77width);
- Node77.a('node.height', Node77height);
- Node77.a('node.rect', [0, 0, Node77width, Node77height]);
- Node77.a('node.bordercolor','rgba(0,0,0,1)');
- Node77.a('node.borderwidth', 0);
- Node77.a('node.background','' || 'rgba(0,0,0,0)');
- Node77.a('node.gradient','');
- Node77.a('node.gradientcolor','');
- Node77.a('node.text','月受累损失电量');
- Node77.a('node.textalign','center');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(0,0,0,1)');
- Node77.a('node.font',' '+ Node77fontSize + 'px "微软雅黑"');
- Node77.a('node.textvisible',true);
- Node77.a('node.linefeed',false);
- if (false) {
- Node77.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node77.a('node.text') || '月受累损失电量';
- var color=Node77.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"center",color,' '+ Node77fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
- Node77.a('node.underlinevisible',false);
- Node77.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node77);
- zoomNodeList.push({
- node: Node77,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node78type = 'rect';
- var Node78 = new ht.Node(),
- Node78BorderWidth = 1*2;
- if (Node78type === 'arc') {
- Node78BorderWidth *= 1;
- }
- Node78.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node78.setPosition(919*ratio.ratioX, 52*ratio.ratioY);
- Node78.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node78.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node78.a('node.width', 95*_ratio.ratioX);
- Node78.a('node.height', 24.33136*_ratio.ratioY);
- Node78.a('node.type', Node78type);
- Node78.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node78.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node78.a('node.gradientcolor', '');
- Node78.a('node.gradient', '');
- Node78.a('node.borderwidth', Node78BorderWidth);
- Node78.a('node.color', 'rgba(224,224,224,1)');
- Node78.a('node.fillrect', [0,0,0,0]);
- Node78.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node78.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node78.a('node.fillgradient', '');
- if (Node78type !== 'rect') {
- Node78.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node78.a('node.arcTo', parseFloat('@arcTo@'));
- Node78.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node78type === 'arc') {
- Node78.a('node.arcOval', true);
- }
- Node78.setRotation(0*Math.PI/180);
- Node78.borderWidth = Node78BorderWidth;
- Node78.borderFillwidth = Node78BorderWidth;
- dataModel.add(Node78);
- Node78._nodename = 'Node78'
- Node78._nodeType = 'rect';
- zoomNodeList.push({
- node: Node78,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node78, Node78.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79type = 'rect';
- var Node79 = new ht.Node(),
- Node79BorderWidth = 1*2;
- if (Node79type === 'arc') {
- Node79BorderWidth *= 1;
- }
- Node79.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node79type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node79.setPosition(919*ratio.ratioX, 76*ratio.ratioY);
- Node79.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node79.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node79.a('node.width', 95*_ratio.ratioX);
- Node79.a('node.height', 24.33138*_ratio.ratioY);
- Node79.a('node.type', Node79type);
- Node79.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node79.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node79.a('node.gradientcolor', '');
- Node79.a('node.gradient', '');
- Node79.a('node.borderwidth', Node79BorderWidth);
- Node79.a('node.color', 'rgba(224,224,224,1)');
- Node79.a('node.fillrect', [0,0,0,0]);
- Node79.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradient', '');
- if (Node79type !== 'rect') {
- Node79.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node79.a('node.arcTo', parseFloat('@arcTo@'));
- Node79.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node79type === 'arc') {
- Node79.a('node.arcOval', true);
- }
- Node79.setRotation(0*Math.PI/180);
- Node79.borderWidth = Node79BorderWidth;
- Node79.borderFillwidth = Node79BorderWidth;
- dataModel.add(Node79);
- Node79._nodename = 'Node79'
- Node79._nodeType = 'rect';
- zoomNodeList.push({
- node: Node79,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node79, Node79.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80type = 'rect';
- var Node80 = new ht.Node(),
- Node80BorderWidth = 1*2;
- if (Node80type === 'arc') {
- Node80BorderWidth *= 1;
- }
- Node80.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node80type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node80.setPosition(919*ratio.ratioX, 100*ratio.ratioY);
- Node80.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node80.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node80.a('node.width', 95*_ratio.ratioX);
- Node80.a('node.height', 24.33138*_ratio.ratioY);
- Node80.a('node.type', Node80type);
- Node80.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node80.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node80.a('node.gradientcolor', '');
- Node80.a('node.gradient', '');
- Node80.a('node.borderwidth', Node80BorderWidth);
- Node80.a('node.color', 'rgba(224,224,224,1)');
- Node80.a('node.fillrect', [0,0,0,0]);
- Node80.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node80.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node80.a('node.fillgradient', '');
- if (Node80type !== 'rect') {
- Node80.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node80.a('node.arcTo', parseFloat('@arcTo@'));
- Node80.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node80type === 'arc') {
- Node80.a('node.arcOval', true);
- }
- Node80.setRotation(0*Math.PI/180);
- Node80.borderWidth = Node80BorderWidth;
- Node80.borderFillwidth = Node80BorderWidth;
- dataModel.add(Node80);
- Node80._nodename = 'Node80'
- Node80._nodeType = 'rect';
- zoomNodeList.push({
- node: Node80,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node80, Node80.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81type = 'rect';
- var Node81 = new ht.Node(),
- Node81BorderWidth = 1*2;
- if (Node81type === 'arc') {
- Node81BorderWidth *= 1;
- }
- Node81.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node81type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node81.setPosition(919*ratio.ratioX, 125*ratio.ratioY);
- Node81.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node81.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node81.a('node.width', 95*_ratio.ratioX);
- Node81.a('node.height', 24.33136*_ratio.ratioY);
- Node81.a('node.type', Node81type);
- Node81.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node81.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node81.a('node.gradientcolor', '');
- Node81.a('node.gradient', '');
- Node81.a('node.borderwidth', Node81BorderWidth);
- Node81.a('node.color', 'rgba(224,224,224,1)');
- Node81.a('node.fillrect', [0,0,0,0]);
- Node81.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node81.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node81.a('node.fillgradient', '');
- if (Node81type !== 'rect') {
- Node81.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node81.a('node.arcTo', parseFloat('@arcTo@'));
- Node81.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node81type === 'arc') {
- Node81.a('node.arcOval', true);
- }
- Node81.setRotation(0*Math.PI/180);
- Node81.borderWidth = Node81BorderWidth;
- Node81.borderFillwidth = Node81BorderWidth;
- dataModel.add(Node81);
- Node81._nodename = 'Node81'
- Node81._nodeType = 'rect';
- zoomNodeList.push({
- node: Node81,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node81, Node81.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82type = 'rect';
- var Node82 = new ht.Node(),
- Node82BorderWidth = 1*2;
- if (Node82type === 'arc') {
- Node82BorderWidth *= 1;
- }
- Node82.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node82type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node82.setPosition(919*ratio.ratioX, 149*ratio.ratioY);
- Node82.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node82.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node82.a('node.width', 95*_ratio.ratioX);
- Node82.a('node.height', 24.33138*_ratio.ratioY);
- Node82.a('node.type', Node82type);
- Node82.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node82.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node82.a('node.gradientcolor', '');
- Node82.a('node.gradient', '');
- Node82.a('node.borderwidth', Node82BorderWidth);
- Node82.a('node.color', 'rgba(224,224,224,1)');
- Node82.a('node.fillrect', [0,0,0,0]);
- Node82.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradient', '');
- if (Node82type !== 'rect') {
- Node82.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node82.a('node.arcTo', parseFloat('@arcTo@'));
- Node82.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node82type === 'arc') {
- Node82.a('node.arcOval', true);
- }
- Node82.setRotation(0*Math.PI/180);
- Node82.borderWidth = Node82BorderWidth;
- Node82.borderFillwidth = Node82BorderWidth;
- dataModel.add(Node82);
- Node82._nodename = 'Node82'
- Node82._nodeType = 'rect';
- zoomNodeList.push({
- node: Node82,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node82, Node82.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83type = 'rect';
- var Node83 = new ht.Node(),
- Node83BorderWidth = 1*2;
- if (Node83type === 'arc') {
- Node83BorderWidth *= 1;
- }
- Node83.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node83.setPosition(999*ratio.ratioX, 52*ratio.ratioY);
- Node83.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node83.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node83.a('node.width', 65*_ratio.ratioX);
- Node83.a('node.height', 24.33136*_ratio.ratioY);
- Node83.a('node.type', Node83type);
- Node83.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node83.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node83.a('node.gradientcolor', '');
- Node83.a('node.gradient', '');
- Node83.a('node.borderwidth', Node83BorderWidth);
- Node83.a('node.color', 'rgba(224,224,224,1)');
- Node83.a('node.fillrect', [0,0,0,0]);
- Node83.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradient', '');
- if (Node83type !== 'rect') {
- Node83.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node83.a('node.arcTo', parseFloat('@arcTo@'));
- Node83.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node83type === 'arc') {
- Node83.a('node.arcOval', true);
- }
- Node83.setRotation(0*Math.PI/180);
- Node83.borderWidth = Node83BorderWidth;
- Node83.borderFillwidth = Node83BorderWidth;
- dataModel.add(Node83);
- Node83._nodename = 'Node83'
- Node83._nodeType = 'rect';
- zoomNodeList.push({
- node: Node83,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node83, Node83.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84 = new ht.Node();
- var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'center', Node84fontSize = 14.66663*_ratio.ratioY,Node84width = 59*_ratio.ratioX, Node84height = 26*_ratio.ratioY;
- (function () {
- if (Node84align === 'left') {
- Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9;
- Node84textWidth = Node84width;
- Node84lineStart = 1;
- } else if (Node84align === 'right') {
- Node84textStart = 0;
- Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2;
- Node84lineStart = (Node84width - (ht.Default.getTextSize('0', ' '+ Node84fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node84align === 'center') {
- Node84textStart = -3;
- Node84textWidth = Node84width;
- Node84lineStart = Node84width - ht.Default.getTextSize('0', ' '+ Node84fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "Arial"'))
- Node84.setPosition(919*ratio.ratioX, 54*ratio.ratioY);
- Node84.setWidth(Node84width);
- Node84.setHeight(Node84height);
- Node84._nodeType = 'text';
- Node84._disallowEvert = true;
- Node84.setRotation(0*Math.PI/180);
- Node84.a('node.width', Node84width);
- Node84.a('node.height', Node84height);
- Node84.a('node.rect', [0, 0, Node84width, Node84height]);
- Node84.a('node.bordercolor','rgba(0,0,0,1)');
- Node84.a('node.borderwidth', 0);
- Node84.a('node.background','' || 'rgba(0,0,0,0)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','');
- Node84.a('node.text','0');
- Node84.a('node.textalign','center');
- Node84.a('node.textvAlign','middle');
- Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
- Node84.a('node.color','rgba(0,0,0,1)');
- Node84.a('node.font',' '+ Node84fontSize + 'px "Arial"');
- Node84.a('node.textvisible',true);
- Node84.a('node.linefeed',false);
- if (false) {
- Node84.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node84.a('node.text') || '0';
- var color=Node84.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node84width,Node84height,14.66663*_ratio.ratioY,"center",color,' '+ Node84fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node84.a('node.underlinepoints',[Node84lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node84fontSize + 'px "Arial"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]);
- Node84.a('node.underlinevisible',false);
- Node84.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node84);
- zoomNodeList.push({
- node: Node84,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85 = new ht.Node();
- var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'center', Node85fontSize = 14.66663*_ratio.ratioY,Node85width = 59*_ratio.ratioX, Node85height = 26*_ratio.ratioY;
- (function () {
- if (Node85align === 'left') {
- Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9;
- Node85textWidth = Node85width;
- Node85lineStart = 1;
- } else if (Node85align === 'right') {
- Node85textStart = 0;
- Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2;
- Node85lineStart = (Node85width - (ht.Default.getTextSize('0', ' '+ Node85fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node85align === 'center') {
- Node85textStart = -3;
- Node85textWidth = Node85width;
- Node85lineStart = Node85width - ht.Default.getTextSize('0', ' '+ Node85fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "Arial"'))
- Node85.setPosition(919*ratio.ratioX, 78*ratio.ratioY);
- Node85.setWidth(Node85width);
- Node85.setHeight(Node85height);
- Node85._nodeType = 'text';
- Node85._disallowEvert = true;
- Node85.setRotation(0*Math.PI/180);
- Node85.a('node.width', Node85width);
- Node85.a('node.height', Node85height);
- Node85.a('node.rect', [0, 0, Node85width, Node85height]);
- Node85.a('node.bordercolor','rgba(0,0,0,1)');
- Node85.a('node.borderwidth', 0);
- Node85.a('node.background','' || 'rgba(0,0,0,0)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','');
- Node85.a('node.text','0');
- Node85.a('node.textalign','center');
- Node85.a('node.textvAlign','middle');
- Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
- Node85.a('node.color','rgba(0,0,0,1)');
- Node85.a('node.font',' '+ Node85fontSize + 'px "Arial"');
- Node85.a('node.textvisible',true);
- Node85.a('node.linefeed',false);
- if (false) {
- Node85.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node85.a('node.text') || '0';
- var color=Node85.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node85width,Node85height,14.66663*_ratio.ratioY,"center",color,' '+ Node85fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node85.a('node.underlinepoints',[Node85lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node85fontSize + 'px "Arial"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]);
- Node85.a('node.underlinevisible',false);
- Node85.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node85);
- zoomNodeList.push({
- node: Node85,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'center', Node86fontSize = 14.66663*_ratio.ratioY,Node86width = 59*_ratio.ratioX, Node86height = 26*_ratio.ratioY;
- (function () {
- if (Node86align === 'left') {
- Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
- Node86textWidth = Node86width;
- Node86lineStart = 1;
- } else if (Node86align === 'right') {
- Node86textStart = 0;
- Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
- Node86lineStart = (Node86width - (ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "Arial"'))
- Node86.setPosition(919*ratio.ratioX, 103*ratio.ratioY);
- Node86.setWidth(Node86width);
- Node86.setHeight(Node86height);
- Node86._nodeType = 'text';
- Node86._disallowEvert = true;
- Node86.setRotation(0*Math.PI/180);
- Node86.a('node.width', Node86width);
- Node86.a('node.height', Node86height);
- Node86.a('node.rect', [0, 0, Node86width, Node86height]);
- Node86.a('node.bordercolor','rgba(0,0,0,1)');
- Node86.a('node.borderwidth', 0);
- Node86.a('node.background','' || 'rgba(0,0,0,0)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','');
- Node86.a('node.text','0');
- Node86.a('node.textalign','center');
- Node86.a('node.textvAlign','middle');
- Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
- Node86.a('node.color','rgba(0,0,0,1)');
- Node86.a('node.font',' '+ Node86fontSize + 'px "Arial"');
- Node86.a('node.textvisible',true);
- Node86.a('node.linefeed',false);
- if (false) {
- Node86.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node86.a('node.text') || '0';
- var color=Node86.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node86width,Node86height,14.66663*_ratio.ratioY,"center",color,' '+ Node86fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "Arial"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
- Node86.a('node.underlinevisible',false);
- Node86.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node86);
- zoomNodeList.push({
- node: Node86,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.Node();
- var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'center', Node87fontSize = 14.66663*_ratio.ratioY,Node87width = 59*_ratio.ratioX, Node87height = 26*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "Arial"'))
- Node87.setPosition(919*ratio.ratioX, 126*ratio.ratioY);
- Node87.setWidth(Node87width);
- Node87.setHeight(Node87height);
- Node87._nodeType = 'text';
- Node87._disallowEvert = true;
- Node87.setRotation(0*Math.PI/180);
- Node87.a('node.width', Node87width);
- Node87.a('node.height', Node87height);
- Node87.a('node.rect', [0, 0, Node87width, Node87height]);
- Node87.a('node.bordercolor','rgba(0,0,0,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','0');
- Node87.a('node.textalign','center');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(0,0,0,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "Arial"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || '0';
- var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node87width,Node87height,14.66663*_ratio.ratioY,"center",color,' '+ Node87fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "Arial"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
- Node87.a('node.underlinevisible',false);
- Node87.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node87);
- zoomNodeList.push({
- node: Node87,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'center', Node88fontSize = 14.66663*_ratio.ratioY,Node88width = 59*_ratio.ratioX, Node88height = 26*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "Arial"'))
- Node88.setPosition(919*ratio.ratioX, 150*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(0,0,0,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','0');
- Node88.a('node.textalign','center');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(0,0,0,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "Arial"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || '0';
- var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node88width,Node88height,14.66663*_ratio.ratioY,"center",color,' '+ Node88fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "Arial"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89type = 'rect';
- var Node89 = new ht.Node(),
- Node89BorderWidth = 1*2;
- if (Node89type === 'arc') {
- Node89BorderWidth *= 1;
- }
- Node89.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node89type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node89.setPosition(999*ratio.ratioX, 76*ratio.ratioY);
- Node89.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node89.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node89.a('node.width', 65*_ratio.ratioX);
- Node89.a('node.height', 24.33138*_ratio.ratioY);
- Node89.a('node.type', Node89type);
- Node89.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node89.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node89.a('node.gradientcolor', '');
- Node89.a('node.gradient', '');
- Node89.a('node.borderwidth', Node89BorderWidth);
- Node89.a('node.color', 'rgba(224,224,224,1)');
- Node89.a('node.fillrect', [0,0,0,0]);
- Node89.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node89.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node89.a('node.fillgradient', '');
- if (Node89type !== 'rect') {
- Node89.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node89.a('node.arcTo', parseFloat('@arcTo@'));
- Node89.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node89type === 'arc') {
- Node89.a('node.arcOval', true);
- }
- Node89.setRotation(0*Math.PI/180);
- Node89.borderWidth = Node89BorderWidth;
- Node89.borderFillwidth = Node89BorderWidth;
- dataModel.add(Node89);
- Node89._nodename = 'Node89'
- Node89._nodeType = 'rect';
- zoomNodeList.push({
- node: Node89,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node89, Node89.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90type = 'rect';
- var Node90 = new ht.Node(),
- Node90BorderWidth = 1*2;
- if (Node90type === 'arc') {
- Node90BorderWidth *= 1;
- }
- Node90.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node90type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node90.setPosition(999*ratio.ratioX, 100*ratio.ratioY);
- Node90.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node90.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node90.a('node.width', 65*_ratio.ratioX);
- Node90.a('node.height', 24.33138*_ratio.ratioY);
- Node90.a('node.type', Node90type);
- Node90.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node90.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node90.a('node.gradientcolor', '');
- Node90.a('node.gradient', '');
- Node90.a('node.borderwidth', Node90BorderWidth);
- Node90.a('node.color', 'rgba(224,224,224,1)');
- Node90.a('node.fillrect', [0,0,0,0]);
- Node90.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node90.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node90.a('node.fillgradient', '');
- if (Node90type !== 'rect') {
- Node90.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node90.a('node.arcTo', parseFloat('@arcTo@'));
- Node90.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node90type === 'arc') {
- Node90.a('node.arcOval', true);
- }
- Node90.setRotation(0*Math.PI/180);
- Node90.borderWidth = Node90BorderWidth;
- Node90.borderFillwidth = Node90BorderWidth;
- dataModel.add(Node90);
- Node90._nodename = 'Node90'
- Node90._nodeType = 'rect';
- zoomNodeList.push({
- node: Node90,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node90, Node90.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91type = 'rect';
- var Node91 = new ht.Node(),
- Node91BorderWidth = 1*2;
- if (Node91type === 'arc') {
- Node91BorderWidth *= 1;
- }
- Node91.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node91type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node91.setPosition(999*ratio.ratioX, 125*ratio.ratioY);
- Node91.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node91.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node91.a('node.width', 65*_ratio.ratioX);
- Node91.a('node.height', 24.33136*_ratio.ratioY);
- Node91.a('node.type', Node91type);
- Node91.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node91.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node91.a('node.gradientcolor', '');
- Node91.a('node.gradient', '');
- Node91.a('node.borderwidth', Node91BorderWidth);
- Node91.a('node.color', 'rgba(224,224,224,1)');
- Node91.a('node.fillrect', [0,0,0,0]);
- Node91.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node91.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node91.a('node.fillgradient', '');
- if (Node91type !== 'rect') {
- Node91.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node91.a('node.arcTo', parseFloat('@arcTo@'));
- Node91.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node91type === 'arc') {
- Node91.a('node.arcOval', true);
- }
- Node91.setRotation(0*Math.PI/180);
- Node91.borderWidth = Node91BorderWidth;
- Node91.borderFillwidth = Node91BorderWidth;
- dataModel.add(Node91);
- Node91._nodename = 'Node91'
- Node91._nodeType = 'rect';
- zoomNodeList.push({
- node: Node91,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node91, Node91.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92type = 'rect';
- var Node92 = new ht.Node(),
- Node92BorderWidth = 1*2;
- if (Node92type === 'arc') {
- Node92BorderWidth *= 1;
- }
- Node92.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node92.setPosition(999*ratio.ratioX, 149*ratio.ratioY);
- Node92.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node92.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node92.a('node.width', 65*_ratio.ratioX);
- Node92.a('node.height', 24.33138*_ratio.ratioY);
- Node92.a('node.type', Node92type);
- Node92.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node92.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node92.a('node.gradientcolor', '');
- Node92.a('node.gradient', '');
- Node92.a('node.borderwidth', Node92BorderWidth);
- Node92.a('node.color', 'rgba(224,224,224,1)');
- Node92.a('node.fillrect', [0,0,0,0]);
- Node92.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradient', '');
- if (Node92type !== 'rect') {
- Node92.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node92.a('node.arcTo', parseFloat('@arcTo@'));
- Node92.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node92type === 'arc') {
- Node92.a('node.arcOval', true);
- }
- Node92.setRotation(0*Math.PI/180);
- Node92.borderWidth = Node92BorderWidth;
- Node92.borderFillwidth = Node92BorderWidth;
- dataModel.add(Node92);
- Node92._nodename = 'Node92'
- Node92._nodeType = 'rect';
- zoomNodeList.push({
- node: Node92,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node92, Node92.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'center', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 59*_ratio.ratioX, Node93height = 26*_ratio.ratioY;
- (function () {
- if (Node93align === 'left') {
- Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
- Node93textWidth = Node93width;
- Node93lineStart = 1;
- } else if (Node93align === 'right') {
- Node93textStart = 0;
- Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
- Node93lineStart = (Node93width - (ht.Default.getTextSize('万kWh', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('万kWh', ' '+ Node93fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
- Node93.setPosition(1000*ratio.ratioX, 54*ratio.ratioY);
- Node93.setWidth(Node93width);
- Node93.setHeight(Node93height);
- Node93._nodeType = 'text';
- Node93._disallowEvert = true;
- Node93.setRotation(0*Math.PI/180);
- Node93.a('node.width', Node93width);
- Node93.a('node.height', Node93height);
- Node93.a('node.rect', [0, 0, Node93width, Node93height]);
- Node93.a('node.bordercolor','rgba(128,128,128,1)');
- Node93.a('node.borderwidth', 0);
- Node93.a('node.background','' || 'rgba(0,0,0,0)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','');
- Node93.a('node.text','万kWh');
- Node93.a('node.textalign','center');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(128,128,128,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"');
- Node93.a('node.textvisible',true);
- Node93.a('node.linefeed',false);
- if (false) {
- Node93.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node93.a('node.text') || '万kWh';
- var color=Node93.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"center",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
- Node93.a('node.underlinevisible',false);
- Node93.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node93);
- zoomNodeList.push({
- node: Node93,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94 = new ht.Node();
- var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'center', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 59*_ratio.ratioX, Node94height = 26*_ratio.ratioY;
- (function () {
- if (Node94align === 'left') {
- Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9;
- Node94textWidth = Node94width;
- Node94lineStart = 1;
- } else if (Node94align === 'right') {
- Node94textStart = 0;
- Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2;
- Node94lineStart = (Node94width - (ht.Default.getTextSize('万kWh', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node94align === 'center') {
- Node94textStart = -3;
- Node94textWidth = Node94width;
- Node94lineStart = Node94width - ht.Default.getTextSize('万kWh', ' '+ Node94fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"'))
- Node94.setPosition(1000*ratio.ratioX, 78*ratio.ratioY);
- Node94.setWidth(Node94width);
- Node94.setHeight(Node94height);
- Node94._nodeType = 'text';
- Node94._disallowEvert = true;
- Node94.setRotation(0*Math.PI/180);
- Node94.a('node.width', Node94width);
- Node94.a('node.height', Node94height);
- Node94.a('node.rect', [0, 0, Node94width, Node94height]);
- Node94.a('node.bordercolor','rgba(128,128,128,1)');
- Node94.a('node.borderwidth', 0);
- Node94.a('node.background','' || 'rgba(0,0,0,0)');
- Node94.a('node.gradient','');
- Node94.a('node.gradientcolor','');
- Node94.a('node.text','万kWh');
- Node94.a('node.textalign','center');
- Node94.a('node.textvAlign','middle');
- Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
- Node94.a('node.color','rgba(128,128,128,1)');
- Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"');
- Node94.a('node.textvisible',true);
- Node94.a('node.linefeed',false);
- if (false) {
- Node94.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node94.a('node.text') || '万kWh';
- var color=Node94.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"center",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
- Node94.a('node.underlinevisible',false);
- Node94.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node94);
- zoomNodeList.push({
- node: Node94,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95 = new ht.Node();
- var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'center', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 59*_ratio.ratioX, Node95height = 26*_ratio.ratioY;
- (function () {
- if (Node95align === 'left') {
- Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
- Node95textWidth = Node95width;
- Node95lineStart = 1;
- } else if (Node95align === 'right') {
- Node95textStart = 0;
- Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
- Node95lineStart = (Node95width - (ht.Default.getTextSize('万kWh', ' '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node95align === 'center') {
- Node95textStart = -3;
- Node95textWidth = Node95width;
- Node95lineStart = Node95width - ht.Default.getTextSize('万kWh', ' '+ Node95fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, ' '+ Node95fontSize + 'px "Arial"'))
- Node95.setPosition(1000*ratio.ratioX, 101*ratio.ratioY);
- Node95.setWidth(Node95width);
- Node95.setHeight(Node95height);
- Node95._nodeType = 'text';
- Node95._disallowEvert = true;
- Node95.setRotation(0*Math.PI/180);
- Node95.a('node.width', Node95width);
- Node95.a('node.height', Node95height);
- Node95.a('node.rect', [0, 0, Node95width, Node95height]);
- Node95.a('node.bordercolor','rgba(128,128,128,1)');
- Node95.a('node.borderwidth', 0);
- Node95.a('node.background','' || 'rgba(0,0,0,0)');
- Node95.a('node.gradient','');
- Node95.a('node.gradientcolor','');
- Node95.a('node.text','万kWh');
- Node95.a('node.textalign','center');
- Node95.a('node.textvAlign','middle');
- Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]);
- Node95.a('node.color','rgba(128,128,128,1)');
- Node95.a('node.font',' '+ Node95fontSize + 'px "Arial"');
- Node95.a('node.textvisible',true);
- Node95.a('node.linefeed',false);
- if (false) {
- Node95.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node95.a('node.text') || '万kWh';
- var color=Node95.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"center",color,' '+ Node95fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node95.a('node.underlinepoints',[Node95lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]);
- Node95.a('node.underlinevisible',false);
- Node95.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node95);
- zoomNodeList.push({
- node: Node95,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96 = new ht.Node();
- var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'center', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 59*_ratio.ratioX, Node96height = 26*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('万kWh', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('万kWh', ' '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(1000*ratio.ratioX, 127*ratio.ratioY);
- Node96.setWidth(Node96width);
- Node96.setHeight(Node96height);
- Node96._nodeType = 'text';
- Node96._disallowEvert = true;
- Node96.setRotation(0*Math.PI/180);
- Node96.a('node.width', Node96width);
- Node96.a('node.height', Node96height);
- Node96.a('node.rect', [0, 0, Node96width, Node96height]);
- Node96.a('node.bordercolor','rgba(128,128,128,1)');
- Node96.a('node.borderwidth', 0);
- Node96.a('node.background','' || 'rgba(0,0,0,0)');
- Node96.a('node.gradient','');
- Node96.a('node.gradientcolor','');
- Node96.a('node.text','万kWh');
- Node96.a('node.textalign','center');
- Node96.a('node.textvAlign','middle');
- Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
- Node96.a('node.color','rgba(128,128,128,1)');
- Node96.a('node.font',' '+ Node96fontSize + 'px "Arial"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '万kWh';
- var color=Node96.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"center",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'center', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 59*_ratio.ratioX, Node97height = 26*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('万kWh', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('万kWh', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(1000*ratio.ratioX, 151*ratio.ratioY);
- Node97.setWidth(Node97width);
- Node97.setHeight(Node97height);
- Node97._nodeType = 'text';
- Node97._disallowEvert = true;
- Node97.setRotation(0*Math.PI/180);
- Node97.a('node.width', Node97width);
- Node97.a('node.height', Node97height);
- Node97.a('node.rect', [0, 0, Node97width, Node97height]);
- Node97.a('node.bordercolor','rgba(128,128,128,1)');
- Node97.a('node.borderwidth', 0);
- Node97.a('node.background','' || 'rgba(0,0,0,0)');
- Node97.a('node.gradient','');
- Node97.a('node.gradientcolor','');
- Node97.a('node.text','万kWh');
- Node97.a('node.textalign','center');
- Node97.a('node.textvAlign','middle');
- Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]);
- Node97.a('node.color','rgba(128,128,128,1)');
- Node97.a('node.font',' '+ Node97fontSize + 'px "Arial"');
- Node97.a('node.textvisible',true);
- Node97.a('node.linefeed',false);
- if (false) {
- Node97.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node97.a('node.text') || '万kWh';
- var color=Node97.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"center",color,' '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98type = 'rect';
- var Node98 = new ht.Node(),
- Node98BorderWidth = 1*2;
- if (Node98type === 'arc') {
- Node98BorderWidth *= 1;
- }
- Node98.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node98.setPosition(1093*ratio.ratioX, 100*ratio.ratioY);
- Node98.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node98.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node98.a('node.width', 117*_ratio.ratioX);
- Node98.a('node.height', 24.33138*_ratio.ratioY);
- Node98.a('node.type', Node98type);
- Node98.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node98.a('node.background', 'rgba(240,240,240,1)');
- Node98.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node98.a('node.gradient', '');
- Node98.a('node.borderwidth', Node98BorderWidth);
- Node98.a('node.color', 'rgba(224,224,224,1)');
- Node98.a('node.fillrect', [0,0,0,0]);
- Node98.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradient', '');
- if (Node98type !== 'rect') {
- Node98.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node98.a('node.arcTo', parseFloat('@arcTo@'));
- Node98.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node98type === 'arc') {
- Node98.a('node.arcOval', true);
- }
- Node98.setRotation(0*Math.PI/180);
- Node98.borderWidth = Node98BorderWidth;
- Node98.borderFillwidth = Node98BorderWidth;
- dataModel.add(Node98);
- Node98._nodename = 'Node98'
- Node98._nodeType = 'rect';
- zoomNodeList.push({
- node: Node98,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node98, Node98.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99type = 'rect';
- var Node99 = new ht.Node(),
- Node99BorderWidth = 1*2;
- if (Node99type === 'arc') {
- Node99BorderWidth *= 1;
- }
- Node99.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node99.setPosition(1093*ratio.ratioX, 76*ratio.ratioY);
- Node99.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node99.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node99.a('node.width', 117*_ratio.ratioX);
- Node99.a('node.height', 24.33138*_ratio.ratioY);
- Node99.a('node.type', Node99type);
- Node99.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node99.a('node.background', 'rgba(240,240,240,1)');
- Node99.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node99.a('node.gradient', '');
- Node99.a('node.borderwidth', Node99BorderWidth);
- Node99.a('node.color', 'rgba(224,224,224,1)');
- Node99.a('node.fillrect', [0,0,0,0]);
- Node99.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradient', '');
- if (Node99type !== 'rect') {
- Node99.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node99.a('node.arcTo', parseFloat('@arcTo@'));
- Node99.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node99type === 'arc') {
- Node99.a('node.arcOval', true);
- }
- Node99.setRotation(0*Math.PI/180);
- Node99.borderWidth = Node99BorderWidth;
- Node99.borderFillwidth = Node99BorderWidth;
- dataModel.add(Node99);
- Node99._nodename = 'Node99'
- Node99._nodeType = 'rect';
- zoomNodeList.push({
- node: Node99,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node99, Node99.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100type = 'rect';
- var Node100 = new ht.Node(),
- Node100BorderWidth = 1*2;
- if (Node100type === 'arc') {
- Node100BorderWidth *= 1;
- }
- Node100.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node100type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node100.setPosition(1093*ratio.ratioX, 125*ratio.ratioY);
- Node100.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node100.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node100.a('node.width', 117*_ratio.ratioX);
- Node100.a('node.height', 24.33136*_ratio.ratioY);
- Node100.a('node.type', Node100type);
- Node100.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node100.a('node.background', 'rgba(240,240,240,1)');
- Node100.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node100.a('node.gradient', '');
- Node100.a('node.borderwidth', Node100BorderWidth);
- Node100.a('node.color', 'rgba(224,224,224,1)');
- Node100.a('node.fillrect', [0,0,0,0]);
- Node100.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node100.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node100.a('node.fillgradient', '');
- if (Node100type !== 'rect') {
- Node100.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node100.a('node.arcTo', parseFloat('@arcTo@'));
- Node100.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node100type === 'arc') {
- Node100.a('node.arcOval', true);
- }
- Node100.setRotation(0*Math.PI/180);
- Node100.borderWidth = Node100BorderWidth;
- Node100.borderFillwidth = Node100BorderWidth;
- dataModel.add(Node100);
- Node100._nodename = 'Node100'
- Node100._nodeType = 'rect';
- zoomNodeList.push({
- node: Node100,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node100, Node100.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101type = 'rect';
- var Node101 = new ht.Node(),
- Node101BorderWidth = 1*2;
- if (Node101type === 'arc') {
- Node101BorderWidth *= 1;
- }
- Node101.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node101type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node101.setPosition(1093*ratio.ratioX, 52*ratio.ratioY);
- Node101.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node101.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node101.a('node.width', 117*_ratio.ratioX);
- Node101.a('node.height', 24.33136*_ratio.ratioY);
- Node101.a('node.type', Node101type);
- Node101.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node101.a('node.background', 'rgba(240,240,240,1)');
- Node101.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node101.a('node.gradient', '');
- Node101.a('node.borderwidth', Node101BorderWidth);
- Node101.a('node.color', 'rgba(224,224,224,1)');
- Node101.a('node.fillrect', [0,0,0,0]);
- Node101.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node101.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node101.a('node.fillgradient', '');
- if (Node101type !== 'rect') {
- Node101.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node101.a('node.arcTo', parseFloat('@arcTo@'));
- Node101.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node101type === 'arc') {
- Node101.a('node.arcOval', true);
- }
- Node101.setRotation(0*Math.PI/180);
- Node101.borderWidth = Node101BorderWidth;
- Node101.borderFillwidth = Node101BorderWidth;
- dataModel.add(Node101);
- Node101._nodename = 'Node101'
- Node101._nodeType = 'rect';
- zoomNodeList.push({
- node: Node101,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node101, Node101.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102type = 'rect';
- var Node102 = new ht.Node(),
- Node102BorderWidth = 1*2;
- if (Node102type === 'arc') {
- Node102BorderWidth *= 1;
- }
- Node102.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node102type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node102.setPosition(1093*ratio.ratioX, 149*ratio.ratioY);
- Node102.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node102.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node102.a('node.width', 117*_ratio.ratioX);
- Node102.a('node.height', 24.33138*_ratio.ratioY);
- Node102.a('node.type', Node102type);
- Node102.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node102.a('node.background', 'rgba(240,240,240,1)');
- Node102.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node102.a('node.gradient', '');
- Node102.a('node.borderwidth', Node102BorderWidth);
- Node102.a('node.color', 'rgba(224,224,224,1)');
- Node102.a('node.fillrect', [0,0,0,0]);
- Node102.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node102.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node102.a('node.fillgradient', '');
- if (Node102type !== 'rect') {
- Node102.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node102.a('node.arcTo', parseFloat('@arcTo@'));
- Node102.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node102type === 'arc') {
- Node102.a('node.arcOval', true);
- }
- Node102.setRotation(0*Math.PI/180);
- Node102.borderWidth = Node102BorderWidth;
- Node102.borderFillwidth = Node102BorderWidth;
- dataModel.add(Node102);
- Node102._nodename = 'Node102'
- Node102._nodeType = 'rect';
- zoomNodeList.push({
- node: Node102,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node102, Node102.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'center', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 110*_ratio.ratioX, Node103height = 26*_ratio.ratioY;
- (function () {
- if (Node103align === 'left') {
- Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
- Node103textWidth = Node103width;
- Node103lineStart = 1;
- } else if (Node103align === 'right') {
- Node103textStart = 0;
- Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
- Node103lineStart = (Node103width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('年维护损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "微软雅黑"'))
- Node103.setPosition(1093*ratio.ratioX, 54*ratio.ratioY);
- Node103.setWidth(Node103width);
- Node103.setHeight(Node103height);
- Node103._nodeType = 'text';
- Node103._disallowEvert = true;
- Node103.setRotation(0*Math.PI/180);
- Node103.a('node.width', Node103width);
- Node103.a('node.height', Node103height);
- Node103.a('node.rect', [0, 0, Node103width, Node103height]);
- Node103.a('node.bordercolor','rgba(0,0,0,1)');
- Node103.a('node.borderwidth', 0);
- Node103.a('node.background','' || 'rgba(0,0,0,0)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','');
- Node103.a('node.text','年维护损失电量');
- Node103.a('node.textalign','center');
- Node103.a('node.textvAlign','middle');
- Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
- Node103.a('node.color','rgba(0,0,0,1)');
- Node103.a('node.font',' '+ Node103fontSize + 'px "微软雅黑"');
- Node103.a('node.textvisible',true);
- Node103.a('node.linefeed',false);
- if (false) {
- Node103.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node103.a('node.text') || '年维护损失电量';
- var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"center",color,' '+ Node103fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
- Node103.a('node.underlinevisible',false);
- Node103.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node103);
- zoomNodeList.push({
- node: Node103,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104 = new ht.Node();
- var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'center', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 110*_ratio.ratioX, Node104height = 26*_ratio.ratioY;
- (function () {
- if (Node104align === 'left') {
- Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
- Node104textWidth = Node104width;
- Node104lineStart = 1;
- } else if (Node104align === 'right') {
- Node104textStart = 0;
- Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
- Node104lineStart = (Node104width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('年故障损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "微软雅黑"'))
- Node104.setPosition(1093*ratio.ratioX, 77*ratio.ratioY);
- Node104.setWidth(Node104width);
- Node104.setHeight(Node104height);
- Node104._nodeType = 'text';
- Node104._disallowEvert = true;
- Node104.setRotation(0*Math.PI/180);
- Node104.a('node.width', Node104width);
- Node104.a('node.height', Node104height);
- Node104.a('node.rect', [0, 0, Node104width, Node104height]);
- Node104.a('node.bordercolor','rgba(0,0,0,1)');
- Node104.a('node.borderwidth', 0);
- Node104.a('node.background','' || 'rgba(0,0,0,0)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','');
- Node104.a('node.text','年故障损失电量');
- Node104.a('node.textalign','center');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(0,0,0,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "微软雅黑"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || '年故障损失电量';
- var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"center",color,' '+ Node104fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
- Node104.a('node.underlinevisible',false);
- Node104.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node104);
- zoomNodeList.push({
- node: Node104,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105 = new ht.Node();
- var Node105textStart, Node105textWidth, Node105lineStart, Node105align = 'center', Node105fontSize = 13.3333*_ratio.ratioY,Node105width = 110*_ratio.ratioX, Node105height = 26*_ratio.ratioY;
- (function () {
- if (Node105align === 'left') {
- Node105textStart = Node105fontSize * 0.2 > 2 ? Node105fontSize * 0.2 - 4 : Node105fontSize * 0.2 - 9;
- Node105textWidth = Node105width;
- Node105lineStart = 1;
- } else if (Node105align === 'right') {
- Node105textStart = 0;
- Node105textWidth =Node105fontSize <= 8 ? Node105width + Node105fontSize * 0.2 + 6 : Node105width - Node105fontSize * 0.2;
- Node105lineStart = (Node105width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node105fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node105align === 'center') {
- Node105textStart = -3;
- Node105textWidth = Node105width;
- Node105lineStart = Node105width - ht.Default.getTextSize('年限电损失电量', ' '+ Node105fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, ' '+ Node105fontSize + 'px "微软雅黑"'))
- Node105.setPosition(1093*ratio.ratioX, 102*ratio.ratioY);
- Node105.setWidth(Node105width);
- Node105.setHeight(Node105height);
- Node105._nodeType = 'text';
- Node105._disallowEvert = true;
- Node105.setRotation(0*Math.PI/180);
- Node105.a('node.width', Node105width);
- Node105.a('node.height', Node105height);
- Node105.a('node.rect', [0, 0, Node105width, Node105height]);
- Node105.a('node.bordercolor','rgba(0,0,0,1)');
- Node105.a('node.borderwidth', 0);
- Node105.a('node.background','' || 'rgba(0,0,0,0)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','');
- Node105.a('node.text','年限电损失电量');
- Node105.a('node.textalign','center');
- Node105.a('node.textvAlign','middle');
- Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]);
- Node105.a('node.color','rgba(0,0,0,1)');
- Node105.a('node.font',' '+ Node105fontSize + 'px "微软雅黑"');
- Node105.a('node.textvisible',true);
- Node105.a('node.linefeed',false);
- if (false) {
- Node105.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node105.a('node.text') || '年限电损失电量';
- var color=Node105.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node105width,Node105height,13.3333*_ratio.ratioY,"center",color,' '+ Node105fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node105.a('node.underlinepoints',[Node105lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node105fontSize + 'px "微软雅黑"').width + 6, (Node105height - Node105fontSize) * 0.5*_ratio.ratioY + Node105fontSize + 2 ]);
- Node105.a('node.underlinevisible',false);
- Node105.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node105);
- zoomNodeList.push({
- node: Node105,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106 = new ht.Node();
- var Node106textStart, Node106textWidth, Node106lineStart, Node106align = 'center', Node106fontSize = 13.3333*_ratio.ratioY,Node106width = 110*_ratio.ratioX, Node106height = 26*_ratio.ratioY;
- (function () {
- if (Node106align === 'left') {
- Node106textStart = Node106fontSize * 0.2 > 2 ? Node106fontSize * 0.2 - 4 : Node106fontSize * 0.2 - 9;
- Node106textWidth = Node106width;
- Node106lineStart = 1;
- } else if (Node106align === 'right') {
- Node106textStart = 0;
- Node106textWidth =Node106fontSize <= 8 ? Node106width + Node106fontSize * 0.2 + 6 : Node106width - Node106fontSize * 0.2;
- Node106lineStart = (Node106width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node106fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node106align === 'center') {
- Node106textStart = -3;
- Node106textWidth = Node106width;
- Node106lineStart = Node106width - ht.Default.getTextSize('年受累损失电量', ' '+ Node106fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, ' '+ Node106fontSize + 'px "微软雅黑"'))
- Node106.setPosition(1093*ratio.ratioX, 127*ratio.ratioY);
- Node106.setWidth(Node106width);
- Node106.setHeight(Node106height);
- Node106._nodeType = 'text';
- Node106._disallowEvert = true;
- Node106.setRotation(0*Math.PI/180);
- Node106.a('node.width', Node106width);
- Node106.a('node.height', Node106height);
- Node106.a('node.rect', [0, 0, Node106width, Node106height]);
- Node106.a('node.bordercolor','rgba(0,0,0,1)');
- Node106.a('node.borderwidth', 0);
- Node106.a('node.background','' || 'rgba(0,0,0,0)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','');
- Node106.a('node.text','年受累损失电量');
- Node106.a('node.textalign','center');
- Node106.a('node.textvAlign','middle');
- Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]);
- Node106.a('node.color','rgba(0,0,0,1)');
- Node106.a('node.font',' '+ Node106fontSize + 'px "微软雅黑"');
- Node106.a('node.textvisible',true);
- Node106.a('node.linefeed',false);
- if (false) {
- Node106.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node106.a('node.text') || '年受累损失电量';
- var color=Node106.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node106width,Node106height,13.3333*_ratio.ratioY,"center",color,' '+ Node106fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node106.a('node.underlinepoints',[Node106lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node106fontSize + 'px "微软雅黑"').width + 6, (Node106height - Node106fontSize) * 0.5*_ratio.ratioY + Node106fontSize + 2 ]);
- Node106.a('node.underlinevisible',false);
- Node106.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node106);
- zoomNodeList.push({
- node: Node106,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107type = 'rect';
- var Node107 = new ht.Node(),
- Node107BorderWidth = 1*2;
- if (Node107type === 'arc') {
- Node107BorderWidth *= 1;
- }
- Node107.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node107type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node107.setPosition(1199*ratio.ratioX, 52*ratio.ratioY);
- Node107.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node107.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node107.a('node.width', 95*_ratio.ratioX);
- Node107.a('node.height', 24.33136*_ratio.ratioY);
- Node107.a('node.type', Node107type);
- Node107.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node107.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node107.a('node.gradientcolor', '');
- Node107.a('node.gradient', '');
- Node107.a('node.borderwidth', Node107BorderWidth);
- Node107.a('node.color', 'rgba(224,224,224,1)');
- Node107.a('node.fillrect', [0,0,0,0]);
- Node107.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node107.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node107.a('node.fillgradient', '');
- if (Node107type !== 'rect') {
- Node107.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node107.a('node.arcTo', parseFloat('@arcTo@'));
- Node107.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node107type === 'arc') {
- Node107.a('node.arcOval', true);
- }
- Node107.setRotation(0*Math.PI/180);
- Node107.borderWidth = Node107BorderWidth;
- Node107.borderFillwidth = Node107BorderWidth;
- dataModel.add(Node107);
- Node107._nodename = 'Node107'
- Node107._nodeType = 'rect';
- zoomNodeList.push({
- node: Node107,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node107, Node107.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108type = 'rect';
- var Node108 = new ht.Node(),
- Node108BorderWidth = 1*2;
- if (Node108type === 'arc') {
- Node108BorderWidth *= 1;
- }
- Node108.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node108type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node108.setPosition(1199*ratio.ratioX, 76*ratio.ratioY);
- Node108.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node108.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node108.a('node.width', 95*_ratio.ratioX);
- Node108.a('node.height', 24.33138*_ratio.ratioY);
- Node108.a('node.type', Node108type);
- Node108.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node108.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node108.a('node.gradientcolor', '');
- Node108.a('node.gradient', '');
- Node108.a('node.borderwidth', Node108BorderWidth);
- Node108.a('node.color', 'rgba(224,224,224,1)');
- Node108.a('node.fillrect', [0,0,0,0]);
- Node108.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node108.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node108.a('node.fillgradient', '');
- if (Node108type !== 'rect') {
- Node108.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node108.a('node.arcTo', parseFloat('@arcTo@'));
- Node108.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node108type === 'arc') {
- Node108.a('node.arcOval', true);
- }
- Node108.setRotation(0*Math.PI/180);
- Node108.borderWidth = Node108BorderWidth;
- Node108.borderFillwidth = Node108BorderWidth;
- dataModel.add(Node108);
- Node108._nodename = 'Node108'
- Node108._nodeType = 'rect';
- zoomNodeList.push({
- node: Node108,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node108, Node108.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109type = 'rect';
- var Node109 = new ht.Node(),
- Node109BorderWidth = 1*2;
- if (Node109type === 'arc') {
- Node109BorderWidth *= 1;
- }
- Node109.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node109type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node109.setPosition(1199*ratio.ratioX, 100*ratio.ratioY);
- Node109.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node109.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node109.a('node.width', 95*_ratio.ratioX);
- Node109.a('node.height', 24.33138*_ratio.ratioY);
- Node109.a('node.type', Node109type);
- Node109.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node109.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node109.a('node.gradientcolor', '');
- Node109.a('node.gradient', '');
- Node109.a('node.borderwidth', Node109BorderWidth);
- Node109.a('node.color', 'rgba(224,224,224,1)');
- Node109.a('node.fillrect', [0,0,0,0]);
- Node109.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node109.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node109.a('node.fillgradient', '');
- if (Node109type !== 'rect') {
- Node109.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node109.a('node.arcTo', parseFloat('@arcTo@'));
- Node109.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node109type === 'arc') {
- Node109.a('node.arcOval', true);
- }
- Node109.setRotation(0*Math.PI/180);
- Node109.borderWidth = Node109BorderWidth;
- Node109.borderFillwidth = Node109BorderWidth;
- dataModel.add(Node109);
- Node109._nodename = 'Node109'
- Node109._nodeType = 'rect';
- zoomNodeList.push({
- node: Node109,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node109, Node109.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110type = 'rect';
- var Node110 = new ht.Node(),
- Node110BorderWidth = 1*2;
- if (Node110type === 'arc') {
- Node110BorderWidth *= 1;
- }
- Node110.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node110type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node110.setPosition(1199*ratio.ratioX, 125*ratio.ratioY);
- Node110.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node110.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node110.a('node.width', 95*_ratio.ratioX);
- Node110.a('node.height', 24.33136*_ratio.ratioY);
- Node110.a('node.type', Node110type);
- Node110.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node110.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node110.a('node.gradientcolor', '');
- Node110.a('node.gradient', '');
- Node110.a('node.borderwidth', Node110BorderWidth);
- Node110.a('node.color', 'rgba(224,224,224,1)');
- Node110.a('node.fillrect', [0,0,0,0]);
- Node110.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node110.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node110.a('node.fillgradient', '');
- if (Node110type !== 'rect') {
- Node110.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node110.a('node.arcTo', parseFloat('@arcTo@'));
- Node110.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node110type === 'arc') {
- Node110.a('node.arcOval', true);
- }
- Node110.setRotation(0*Math.PI/180);
- Node110.borderWidth = Node110BorderWidth;
- Node110.borderFillwidth = Node110BorderWidth;
- dataModel.add(Node110);
- Node110._nodename = 'Node110'
- Node110._nodeType = 'rect';
- zoomNodeList.push({
- node: Node110,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node110, Node110.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111type = 'rect';
- var Node111 = new ht.Node(),
- Node111BorderWidth = 1*2;
- if (Node111type === 'arc') {
- Node111BorderWidth *= 1;
- }
- Node111.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node111type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node111.setPosition(1199*ratio.ratioX, 149*ratio.ratioY);
- Node111.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node111.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node111.a('node.width', 95*_ratio.ratioX);
- Node111.a('node.height', 24.33138*_ratio.ratioY);
- Node111.a('node.type', Node111type);
- Node111.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node111.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node111.a('node.gradientcolor', '');
- Node111.a('node.gradient', '');
- Node111.a('node.borderwidth', Node111BorderWidth);
- Node111.a('node.color', 'rgba(224,224,224,1)');
- Node111.a('node.fillrect', [0,0,0,0]);
- Node111.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node111.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node111.a('node.fillgradient', '');
- if (Node111type !== 'rect') {
- Node111.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node111.a('node.arcTo', parseFloat('@arcTo@'));
- Node111.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node111type === 'arc') {
- Node111.a('node.arcOval', true);
- }
- Node111.setRotation(0*Math.PI/180);
- Node111.borderWidth = Node111BorderWidth;
- Node111.borderFillwidth = Node111BorderWidth;
- dataModel.add(Node111);
- Node111._nodename = 'Node111'
- Node111._nodeType = 'rect';
- zoomNodeList.push({
- node: Node111,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node111, Node111.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112type = 'rect';
- var Node112 = new ht.Node(),
- Node112BorderWidth = 1*2;
- if (Node112type === 'arc') {
- Node112BorderWidth *= 1;
- }
- Node112.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node112type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node112.setPosition(1279*ratio.ratioX, 52*ratio.ratioY);
- Node112.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node112.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node112.a('node.width', 65*_ratio.ratioX);
- Node112.a('node.height', 24.33136*_ratio.ratioY);
- Node112.a('node.type', Node112type);
- Node112.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node112.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node112.a('node.gradientcolor', '');
- Node112.a('node.gradient', '');
- Node112.a('node.borderwidth', Node112BorderWidth);
- Node112.a('node.color', 'rgba(224,224,224,1)');
- Node112.a('node.fillrect', [0,0,0,0]);
- Node112.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node112.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node112.a('node.fillgradient', '');
- if (Node112type !== 'rect') {
- Node112.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node112.a('node.arcTo', parseFloat('@arcTo@'));
- Node112.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node112type === 'arc') {
- Node112.a('node.arcOval', true);
- }
- Node112.setRotation(0*Math.PI/180);
- Node112.borderWidth = Node112BorderWidth;
- Node112.borderFillwidth = Node112BorderWidth;
- dataModel.add(Node112);
- Node112._nodename = 'Node112'
- Node112._nodeType = 'rect';
- zoomNodeList.push({
- node: Node112,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node112, Node112.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.Node();
- var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'center', Node113fontSize = 14.66663*_ratio.ratioY,Node113width = 59*_ratio.ratioX, Node113height = 26*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(1199*ratio.ratioX, 54*ratio.ratioY);
- Node113.setWidth(Node113width);
- Node113.setHeight(Node113height);
- Node113._nodeType = 'text';
- Node113._disallowEvert = true;
- Node113.setRotation(0*Math.PI/180);
- Node113.a('node.width', Node113width);
- Node113.a('node.height', Node113height);
- Node113.a('node.rect', [0, 0, Node113width, Node113height]);
- Node113.a('node.bordercolor','rgba(0,0,0,1)');
- Node113.a('node.borderwidth', 0);
- Node113.a('node.background','' || 'rgba(0,0,0,0)');
- Node113.a('node.gradient','');
- Node113.a('node.gradientcolor','');
- Node113.a('node.text','0');
- Node113.a('node.textalign','center');
- Node113.a('node.textvAlign','middle');
- Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
- Node113.a('node.color','rgba(0,0,0,1)');
- Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
- Node113.a('node.textvisible',true);
- Node113.a('node.linefeed',false);
- if (false) {
- Node113.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node113.a('node.text') || '0';
- var color=Node113.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node113width,Node113height,14.66663*_ratio.ratioY,"center",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
- Node113.a('node.underlinevisible',false);
- Node113.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node113);
- zoomNodeList.push({
- node: Node113,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114 = new ht.Node();
- var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'center', Node114fontSize = 14.66663*_ratio.ratioY,Node114width = 59*_ratio.ratioX, Node114height = 26*_ratio.ratioY;
- (function () {
- if (Node114align === 'left') {
- Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9;
- Node114textWidth = Node114width;
- Node114lineStart = 1;
- } else if (Node114align === 'right') {
- Node114textStart = 0;
- Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2;
- Node114lineStart = (Node114width - (ht.Default.getTextSize('0', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node114align === 'center') {
- Node114textStart = -3;
- Node114textWidth = Node114width;
- Node114lineStart = Node114width - ht.Default.getTextSize('0', ' '+ Node114fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
- Node114.setPosition(1199*ratio.ratioX, 78*ratio.ratioY);
- Node114.setWidth(Node114width);
- Node114.setHeight(Node114height);
- Node114._nodeType = 'text';
- Node114._disallowEvert = true;
- Node114.setRotation(0*Math.PI/180);
- Node114.a('node.width', Node114width);
- Node114.a('node.height', Node114height);
- Node114.a('node.rect', [0, 0, Node114width, Node114height]);
- Node114.a('node.bordercolor','rgba(0,0,0,1)');
- Node114.a('node.borderwidth', 0);
- Node114.a('node.background','' || 'rgba(0,0,0,0)');
- Node114.a('node.gradient','');
- Node114.a('node.gradientcolor','');
- Node114.a('node.text','0');
- Node114.a('node.textalign','center');
- Node114.a('node.textvAlign','middle');
- Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]);
- Node114.a('node.color','rgba(0,0,0,1)');
- Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"');
- Node114.a('node.textvisible',true);
- Node114.a('node.linefeed',false);
- if (false) {
- Node114.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node114.a('node.text') || '0';
- var color=Node114.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node114width,Node114height,14.66663*_ratio.ratioY,"center",color,' '+ Node114fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node114.a('node.underlinepoints',[Node114lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]);
- Node114.a('node.underlinevisible',false);
- Node114.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node114);
- zoomNodeList.push({
- node: Node114,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115 = new ht.Node();
- var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'center', Node115fontSize = 14.66663*_ratio.ratioY,Node115width = 59*_ratio.ratioX, Node115height = 26*_ratio.ratioY;
- (function () {
- if (Node115align === 'left') {
- Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9;
- Node115textWidth = Node115width;
- Node115lineStart = 1;
- } else if (Node115align === 'right') {
- Node115textStart = 0;
- Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2;
- Node115lineStart = (Node115width - (ht.Default.getTextSize('0', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115align === 'center') {
- Node115textStart = -3;
- Node115textWidth = Node115width;
- Node115lineStart = Node115width - ht.Default.getTextSize('0', ' '+ Node115fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"'))
- Node115.setPosition(1199*ratio.ratioX, 103*ratio.ratioY);
- Node115.setWidth(Node115width);
- Node115.setHeight(Node115height);
- Node115._nodeType = 'text';
- Node115._disallowEvert = true;
- Node115.setRotation(0*Math.PI/180);
- Node115.a('node.width', Node115width);
- Node115.a('node.height', Node115height);
- Node115.a('node.rect', [0, 0, Node115width, Node115height]);
- Node115.a('node.bordercolor','rgba(0,0,0,1)');
- Node115.a('node.borderwidth', 0);
- Node115.a('node.background','' || 'rgba(0,0,0,0)');
- Node115.a('node.gradient','');
- Node115.a('node.gradientcolor','');
- Node115.a('node.text','0');
- Node115.a('node.textalign','center');
- Node115.a('node.textvAlign','middle');
- Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
- Node115.a('node.color','rgba(0,0,0,1)');
- Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"');
- Node115.a('node.textvisible',true);
- Node115.a('node.linefeed',false);
- if (false) {
- Node115.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115.a('node.text') || '0';
- var color=Node115.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node115width,Node115height,14.66663*_ratio.ratioY,"center",color,' '+ Node115fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115.a('node.underlinepoints',[Node115lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]);
- Node115.a('node.underlinevisible',false);
- Node115.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115);
- zoomNodeList.push({
- node: Node115,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116 = new ht.Node();
- var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'center', Node116fontSize = 14.66663*_ratio.ratioY,Node116width = 59*_ratio.ratioX, Node116height = 26*_ratio.ratioY;
- (function () {
- if (Node116align === 'left') {
- Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9;
- Node116textWidth = Node116width;
- Node116lineStart = 1;
- } else if (Node116align === 'right') {
- Node116textStart = 0;
- Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2;
- Node116lineStart = (Node116width - (ht.Default.getTextSize('0', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node116align === 'center') {
- Node116textStart = -3;
- Node116textWidth = Node116width;
- Node116lineStart = Node116width - ht.Default.getTextSize('0', ' '+ Node116fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"'))
- Node116.setPosition(1199*ratio.ratioX, 126*ratio.ratioY);
- Node116.setWidth(Node116width);
- Node116.setHeight(Node116height);
- Node116._nodeType = 'text';
- Node116._disallowEvert = true;
- Node116.setRotation(0*Math.PI/180);
- Node116.a('node.width', Node116width);
- Node116.a('node.height', Node116height);
- Node116.a('node.rect', [0, 0, Node116width, Node116height]);
- Node116.a('node.bordercolor','rgba(0,0,0,1)');
- Node116.a('node.borderwidth', 0);
- Node116.a('node.background','' || 'rgba(0,0,0,0)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','');
- Node116.a('node.text','0');
- Node116.a('node.textalign','center');
- Node116.a('node.textvAlign','middle');
- Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]);
- Node116.a('node.color','rgba(0,0,0,1)');
- Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"');
- Node116.a('node.textvisible',true);
- Node116.a('node.linefeed',false);
- if (false) {
- Node116.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node116.a('node.text') || '0';
- var color=Node116.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node116width,Node116height,14.66663*_ratio.ratioY,"center",color,' '+ Node116fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node116.a('node.underlinepoints',[Node116lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]);
- Node116.a('node.underlinevisible',false);
- Node116.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node116);
- zoomNodeList.push({
- node: Node116,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117 = new ht.Node();
- var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'center', Node117fontSize = 14.66663*_ratio.ratioY,Node117width = 59*_ratio.ratioX, Node117height = 26*_ratio.ratioY;
- (function () {
- if (Node117align === 'left') {
- Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
- Node117textWidth = Node117width;
- Node117lineStart = 1;
- } else if (Node117align === 'right') {
- Node117textStart = 0;
- Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
- Node117lineStart = (Node117width - (ht.Default.getTextSize('0', ' '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node117align === 'center') {
- Node117textStart = -3;
- Node117textWidth = Node117width;
- Node117lineStart = Node117width - ht.Default.getTextSize('0', ' '+ Node117fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "Arial"'))
- Node117.setPosition(1199*ratio.ratioX, 150*ratio.ratioY);
- Node117.setWidth(Node117width);
- Node117.setHeight(Node117height);
- Node117._nodeType = 'text';
- Node117._disallowEvert = true;
- Node117.setRotation(0*Math.PI/180);
- Node117.a('node.width', Node117width);
- Node117.a('node.height', Node117height);
- Node117.a('node.rect', [0, 0, Node117width, Node117height]);
- Node117.a('node.bordercolor','rgba(0,0,0,1)');
- Node117.a('node.borderwidth', 0);
- Node117.a('node.background','' || 'rgba(0,0,0,0)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','');
- Node117.a('node.text','0');
- Node117.a('node.textalign','center');
- Node117.a('node.textvAlign','middle');
- Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
- Node117.a('node.color','rgba(0,0,0,1)');
- Node117.a('node.font',' '+ Node117fontSize + 'px "Arial"');
- Node117.a('node.textvisible',true);
- Node117.a('node.linefeed',false);
- if (false) {
- Node117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node117.a('node.text') || '0';
- var color=Node117.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node117width,Node117height,14.66663*_ratio.ratioY,"center",color,' '+ Node117fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node117.a('node.underlinepoints',[Node117lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
- Node117.a('node.underlinevisible',false);
- Node117.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node117);
- zoomNodeList.push({
- node: Node117,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118type = 'rect';
- var Node118 = new ht.Node(),
- Node118BorderWidth = 1*2;
- if (Node118type === 'arc') {
- Node118BorderWidth *= 1;
- }
- Node118.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node118type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node118.setPosition(1279*ratio.ratioX, 76*ratio.ratioY);
- Node118.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node118.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node118.a('node.width', 65*_ratio.ratioX);
- Node118.a('node.height', 24.33138*_ratio.ratioY);
- Node118.a('node.type', Node118type);
- Node118.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node118.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node118.a('node.gradientcolor', '');
- Node118.a('node.gradient', '');
- Node118.a('node.borderwidth', Node118BorderWidth);
- Node118.a('node.color', 'rgba(224,224,224,1)');
- Node118.a('node.fillrect', [0,0,0,0]);
- Node118.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node118.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node118.a('node.fillgradient', '');
- if (Node118type !== 'rect') {
- Node118.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node118.a('node.arcTo', parseFloat('@arcTo@'));
- Node118.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node118type === 'arc') {
- Node118.a('node.arcOval', true);
- }
- Node118.setRotation(0*Math.PI/180);
- Node118.borderWidth = Node118BorderWidth;
- Node118.borderFillwidth = Node118BorderWidth;
- dataModel.add(Node118);
- Node118._nodename = 'Node118'
- Node118._nodeType = 'rect';
- zoomNodeList.push({
- node: Node118,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node118, Node118.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119type = 'rect';
- var Node119 = new ht.Node(),
- Node119BorderWidth = 1*2;
- if (Node119type === 'arc') {
- Node119BorderWidth *= 1;
- }
- Node119.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node119type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node119.setPosition(1279*ratio.ratioX, 100*ratio.ratioY);
- Node119.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node119.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node119.a('node.width', 65*_ratio.ratioX);
- Node119.a('node.height', 24.33138*_ratio.ratioY);
- Node119.a('node.type', Node119type);
- Node119.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node119.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node119.a('node.gradientcolor', '');
- Node119.a('node.gradient', '');
- Node119.a('node.borderwidth', Node119BorderWidth);
- Node119.a('node.color', 'rgba(224,224,224,1)');
- Node119.a('node.fillrect', [0,0,0,0]);
- Node119.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node119.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node119.a('node.fillgradient', '');
- if (Node119type !== 'rect') {
- Node119.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node119.a('node.arcTo', parseFloat('@arcTo@'));
- Node119.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node119type === 'arc') {
- Node119.a('node.arcOval', true);
- }
- Node119.setRotation(0*Math.PI/180);
- Node119.borderWidth = Node119BorderWidth;
- Node119.borderFillwidth = Node119BorderWidth;
- dataModel.add(Node119);
- Node119._nodename = 'Node119'
- Node119._nodeType = 'rect';
- zoomNodeList.push({
- node: Node119,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node119, Node119.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120type = 'rect';
- var Node120 = new ht.Node(),
- Node120BorderWidth = 1*2;
- if (Node120type === 'arc') {
- Node120BorderWidth *= 1;
- }
- Node120.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node120type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node120.setPosition(1279*ratio.ratioX, 125*ratio.ratioY);
- Node120.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node120.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node120.a('node.width', 65*_ratio.ratioX);
- Node120.a('node.height', 24.33136*_ratio.ratioY);
- Node120.a('node.type', Node120type);
- Node120.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node120.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node120.a('node.gradientcolor', '');
- Node120.a('node.gradient', '');
- Node120.a('node.borderwidth', Node120BorderWidth);
- Node120.a('node.color', 'rgba(224,224,224,1)');
- Node120.a('node.fillrect', [0,0,0,0]);
- Node120.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node120.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node120.a('node.fillgradient', '');
- if (Node120type !== 'rect') {
- Node120.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node120.a('node.arcTo', parseFloat('@arcTo@'));
- Node120.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node120type === 'arc') {
- Node120.a('node.arcOval', true);
- }
- Node120.setRotation(0*Math.PI/180);
- Node120.borderWidth = Node120BorderWidth;
- Node120.borderFillwidth = Node120BorderWidth;
- dataModel.add(Node120);
- Node120._nodename = 'Node120'
- Node120._nodeType = 'rect';
- zoomNodeList.push({
- node: Node120,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node120, Node120.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121type = 'rect';
- var Node121 = new ht.Node(),
- Node121BorderWidth = 1*2;
- if (Node121type === 'arc') {
- Node121BorderWidth *= 1;
- }
- Node121.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node121.setPosition(1279*ratio.ratioX, 149*ratio.ratioY);
- Node121.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node121.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node121.a('node.width', 65*_ratio.ratioX);
- Node121.a('node.height', 24.33138*_ratio.ratioY);
- Node121.a('node.type', Node121type);
- Node121.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node121.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node121.a('node.gradientcolor', '');
- Node121.a('node.gradient', '');
- Node121.a('node.borderwidth', Node121BorderWidth);
- Node121.a('node.color', 'rgba(224,224,224,1)');
- Node121.a('node.fillrect', [0,0,0,0]);
- Node121.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradient', '');
- if (Node121type !== 'rect') {
- Node121.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node121.a('node.arcTo', parseFloat('@arcTo@'));
- Node121.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node121type === 'arc') {
- Node121.a('node.arcOval', true);
- }
- Node121.setRotation(0*Math.PI/180);
- Node121.borderWidth = Node121BorderWidth;
- Node121.borderFillwidth = Node121BorderWidth;
- dataModel.add(Node121);
- Node121._nodename = 'Node121'
- Node121._nodeType = 'rect';
- zoomNodeList.push({
- node: Node121,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node121, Node121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node122 = new ht.Node();
- var Node122textStart, Node122textWidth, Node122lineStart, Node122align = 'center', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 59*_ratio.ratioX, Node122height = 26*_ratio.ratioY;
- (function () {
- if (Node122align === 'left') {
- Node122textStart = Node122fontSize * 0.2 > 2 ? Node122fontSize * 0.2 - 4 : Node122fontSize * 0.2 - 9;
- Node122textWidth = Node122width;
- Node122lineStart = 1;
- } else if (Node122align === 'right') {
- Node122textStart = 0;
- Node122textWidth =Node122fontSize <= 8 ? Node122width + Node122fontSize * 0.2 + 6 : Node122width - Node122fontSize * 0.2;
- Node122lineStart = (Node122width - (ht.Default.getTextSize('万kWh', ' '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node122align === 'center') {
- Node122textStart = -3;
- Node122textWidth = Node122width;
- Node122lineStart = Node122width - ht.Default.getTextSize('万kWh', ' '+ Node122fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, ' '+ Node122fontSize + 'px "Arial"'))
- Node122.setPosition(1280*ratio.ratioX, 54*ratio.ratioY);
- Node122.setWidth(Node122width);
- Node122.setHeight(Node122height);
- Node122._nodeType = 'text';
- Node122._disallowEvert = true;
- Node122.setRotation(0*Math.PI/180);
- Node122.a('node.width', Node122width);
- Node122.a('node.height', Node122height);
- Node122.a('node.rect', [0, 0, Node122width, Node122height]);
- Node122.a('node.bordercolor','rgba(128,128,128,1)');
- Node122.a('node.borderwidth', 0);
- Node122.a('node.background','' || 'rgba(0,0,0,0)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','');
- Node122.a('node.text','万kWh');
- Node122.a('node.textalign','center');
- Node122.a('node.textvAlign','middle');
- Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]);
- Node122.a('node.color','rgba(128,128,128,1)');
- Node122.a('node.font',' '+ Node122fontSize + 'px "Arial"');
- Node122.a('node.textvisible',true);
- Node122.a('node.linefeed',false);
- if (false) {
- Node122.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node122.a('node.text') || '万kWh';
- var color=Node122.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"center",color,' '+ Node122fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node122.a('node.underlinepoints',[Node122lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node122fontSize + 'px "Arial"').width + 6, (Node122height - Node122fontSize) * 0.5*_ratio.ratioY + Node122fontSize + 2 ]);
- Node122.a('node.underlinevisible',false);
- Node122.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node122);
- zoomNodeList.push({
- node: Node122,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123 = new ht.Node();
- var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'center', Node123fontSize = 13.3333*_ratio.ratioY,Node123width = 59*_ratio.ratioX, Node123height = 26*_ratio.ratioY;
- (function () {
- if (Node123align === 'left') {
- Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9;
- Node123textWidth = Node123width;
- Node123lineStart = 1;
- } else if (Node123align === 'right') {
- Node123textStart = 0;
- Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2;
- Node123lineStart = (Node123width - (ht.Default.getTextSize('万kWh', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node123align === 'center') {
- Node123textStart = -3;
- Node123textWidth = Node123width;
- Node123lineStart = Node123width - ht.Default.getTextSize('万kWh', ' '+ Node123fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"'))
- Node123.setPosition(1280*ratio.ratioX, 78*ratio.ratioY);
- Node123.setWidth(Node123width);
- Node123.setHeight(Node123height);
- Node123._nodeType = 'text';
- Node123._disallowEvert = true;
- Node123.setRotation(0*Math.PI/180);
- Node123.a('node.width', Node123width);
- Node123.a('node.height', Node123height);
- Node123.a('node.rect', [0, 0, Node123width, Node123height]);
- Node123.a('node.bordercolor','rgba(128,128,128,1)');
- Node123.a('node.borderwidth', 0);
- Node123.a('node.background','' || 'rgba(0,0,0,0)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','');
- Node123.a('node.text','万kWh');
- Node123.a('node.textalign','center');
- Node123.a('node.textvAlign','middle');
- Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]);
- Node123.a('node.color','rgba(128,128,128,1)');
- Node123.a('node.font',' '+ Node123fontSize + 'px "Arial"');
- Node123.a('node.textvisible',true);
- Node123.a('node.linefeed',false);
- if (false) {
- Node123.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node123.a('node.text') || '万kWh';
- var color=Node123.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node123width,Node123height,13.3333*_ratio.ratioY,"center",color,' '+ Node123fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node123.a('node.underlinepoints',[Node123lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node123fontSize + 'px "Arial"').width + 6, (Node123height - Node123fontSize) * 0.5*_ratio.ratioY + Node123fontSize + 2 ]);
- Node123.a('node.underlinevisible',false);
- Node123.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node123);
- zoomNodeList.push({
- node: Node123,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124 = new ht.Node();
- var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'center', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 59*_ratio.ratioX, Node124height = 26*_ratio.ratioY;
- (function () {
- if (Node124align === 'left') {
- Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
- Node124textWidth = Node124width;
- Node124lineStart = 1;
- } else if (Node124align === 'right') {
- Node124textStart = 0;
- Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
- Node124lineStart = (Node124width - (ht.Default.getTextSize('万kWh', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node124align === 'center') {
- Node124textStart = -3;
- Node124textWidth = Node124width;
- Node124lineStart = Node124width - ht.Default.getTextSize('万kWh', ' '+ Node124fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
- Node124.setPosition(1280*ratio.ratioX, 101*ratio.ratioY);
- Node124.setWidth(Node124width);
- Node124.setHeight(Node124height);
- Node124._nodeType = 'text';
- Node124._disallowEvert = true;
- Node124.setRotation(0*Math.PI/180);
- Node124.a('node.width', Node124width);
- Node124.a('node.height', Node124height);
- Node124.a('node.rect', [0, 0, Node124width, Node124height]);
- Node124.a('node.bordercolor','rgba(128,128,128,1)');
- Node124.a('node.borderwidth', 0);
- Node124.a('node.background','' || 'rgba(0,0,0,0)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','');
- Node124.a('node.text','万kWh');
- Node124.a('node.textalign','center');
- Node124.a('node.textvAlign','middle');
- Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
- Node124.a('node.color','rgba(128,128,128,1)');
- Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
- Node124.a('node.textvisible',true);
- Node124.a('node.linefeed',false);
- if (false) {
- Node124.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node124.a('node.text') || '万kWh';
- var color=Node124.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"center",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node124.a('node.underlinepoints',[Node124lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
- Node124.a('node.underlinevisible',false);
- Node124.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node124);
- zoomNodeList.push({
- node: Node124,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'center', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 59*_ratio.ratioX, Node125height = 26*_ratio.ratioY;
- (function () {
- if (Node125align === 'left') {
- Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
- Node125textWidth = Node125width;
- Node125lineStart = 1;
- } else if (Node125align === 'right') {
- Node125textStart = 0;
- Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
- Node125lineStart = (Node125width - (ht.Default.getTextSize('万kWh', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('万kWh', ' '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(1280*ratio.ratioX, 127*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(128,128,128,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','万kWh');
- Node125.a('node.textalign','center');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(128,128,128,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
- Node125.a('node.textvisible',true);
- Node125.a('node.linefeed',false);
- if (false) {
- Node125.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node125.a('node.text') || '万kWh';
- var color=Node125.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"center",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
- Node125.a('node.underlinevisible',false);
- Node125.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node125);
- zoomNodeList.push({
- node: Node125,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'center', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 59*_ratio.ratioX, Node126height = 26*_ratio.ratioY;
- (function () {
- if (Node126align === 'left') {
- Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
- Node126textWidth = Node126width;
- Node126lineStart = 1;
- } else if (Node126align === 'right') {
- Node126textStart = 0;
- Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
- Node126lineStart = (Node126width - (ht.Default.getTextSize('万kWh', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('万kWh', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(1280*ratio.ratioX, 151*ratio.ratioY);
- Node126.setWidth(Node126width);
- Node126.setHeight(Node126height);
- Node126._nodeType = 'text';
- Node126._disallowEvert = true;
- Node126.setRotation(0*Math.PI/180);
- Node126.a('node.width', Node126width);
- Node126.a('node.height', Node126height);
- Node126.a('node.rect', [0, 0, Node126width, Node126height]);
- Node126.a('node.bordercolor','rgba(128,128,128,1)');
- Node126.a('node.borderwidth', 0);
- Node126.a('node.background','' || 'rgba(0,0,0,0)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','');
- Node126.a('node.text','万kWh');
- Node126.a('node.textalign','center');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(128,128,128,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
- Node126.a('node.textvisible',true);
- Node126.a('node.linefeed',false);
- if (false) {
- Node126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node126.a('node.text') || '万kWh';
- var color=Node126.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"center",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'left', Node127fontSize = 13.3333*_ratio.ratioY,Node127width = 67*_ratio.ratioX, Node127height = 26*_ratio.ratioY;
- (function () {
- if (Node127align === 'left') {
- Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
- Node127textWidth = Node127width;
- Node127lineStart = 1;
- } else if (Node127align === 'right') {
- Node127textStart = 0;
- Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
- Node127lineStart = (Node127width - (ht.Default.getTextSize('装机容量', ' '+ Node127fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('装机容量', ' '+ Node127fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "微软雅黑"'))
- Node127.setPosition(225*ratio.ratioX, 53*ratio.ratioY);
- Node127.setWidth(Node127width);
- Node127.setHeight(Node127height);
- Node127._nodeType = 'text';
- Node127._disallowEvert = true;
- Node127.setRotation(0*Math.PI/180);
- Node127.a('node.width', Node127width);
- Node127.a('node.height', Node127height);
- Node127.a('node.rect', [0, 0, Node127width, Node127height]);
- Node127.a('node.bordercolor','rgba(0,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','装机容量');
- Node127.a('node.textalign','left');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(0,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "微软雅黑"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || '装机容量';
- var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node127fontSize + 'px "微软雅黑"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128type = 'rect';
- var Node128 = new ht.Node(),
- Node128BorderWidth = 1*2;
- if (Node128type === 'arc') {
- Node128BorderWidth *= 1;
- }
- Node128.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node128type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node128.setPosition(356*ratio.ratioX, 52*ratio.ratioY);
- Node128.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node128.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node128.a('node.width', 94*_ratio.ratioX);
- Node128.a('node.height', 24.33136*_ratio.ratioY);
- Node128.a('node.type', Node128type);
- Node128.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node128.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node128.a('node.gradientcolor', '');
- Node128.a('node.gradient', '');
- Node128.a('node.borderwidth', Node128BorderWidth);
- Node128.a('node.color', 'rgba(224,224,224,1)');
- Node128.a('node.fillrect', [0,0,0,0]);
- Node128.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node128.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node128.a('node.fillgradient', '');
- if (Node128type !== 'rect') {
- Node128.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node128.a('node.arcTo', parseFloat('@arcTo@'));
- Node128.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node128type === 'arc') {
- Node128.a('node.arcOval', true);
- }
- Node128.setRotation(0*Math.PI/180);
- Node128.borderWidth = Node128BorderWidth;
- Node128.borderFillwidth = Node128BorderWidth;
- dataModel.add(Node128);
- Node128._nodename = 'Node128'
- Node128._nodeType = 'rect';
- zoomNodeList.push({
- node: Node128,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node128, Node128.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129type = 'rect';
- var Node129 = new ht.Node(),
- Node129BorderWidth = 1*2;
- if (Node129type === 'arc') {
- Node129BorderWidth *= 1;
- }
- Node129.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node129type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node129.setPosition(356*ratio.ratioX, 76*ratio.ratioY);
- Node129.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node129.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node129.a('node.width', 94*_ratio.ratioX);
- Node129.a('node.height', 24.33138*_ratio.ratioY);
- Node129.a('node.type', Node129type);
- Node129.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node129.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node129.a('node.gradientcolor', '');
- Node129.a('node.gradient', '');
- Node129.a('node.borderwidth', Node129BorderWidth);
- Node129.a('node.color', 'rgba(224,224,224,1)');
- Node129.a('node.fillrect', [0,0,0,0]);
- Node129.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node129.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node129.a('node.fillgradient', '');
- if (Node129type !== 'rect') {
- Node129.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node129.a('node.arcTo', parseFloat('@arcTo@'));
- Node129.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node129type === 'arc') {
- Node129.a('node.arcOval', true);
- }
- Node129.setRotation(0*Math.PI/180);
- Node129.borderWidth = Node129BorderWidth;
- Node129.borderFillwidth = Node129BorderWidth;
- dataModel.add(Node129);
- Node129._nodename = 'Node129'
- Node129._nodeType = 'rect';
- zoomNodeList.push({
- node: Node129,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node129, Node129.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130type = 'rect';
- var Node130 = new ht.Node(),
- Node130BorderWidth = 1*2;
- if (Node130type === 'arc') {
- Node130BorderWidth *= 1;
- }
- Node130.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node130type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node130.setPosition(356*ratio.ratioX, 100*ratio.ratioY);
- Node130.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node130.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node130.a('node.width', 94*_ratio.ratioX);
- Node130.a('node.height', 24.33138*_ratio.ratioY);
- Node130.a('node.type', Node130type);
- Node130.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node130.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node130.a('node.gradientcolor', '');
- Node130.a('node.gradient', '');
- Node130.a('node.borderwidth', Node130BorderWidth);
- Node130.a('node.color', 'rgba(224,224,224,1)');
- Node130.a('node.fillrect', [0,0,0,0]);
- Node130.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node130.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node130.a('node.fillgradient', '');
- if (Node130type !== 'rect') {
- Node130.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node130.a('node.arcTo', parseFloat('@arcTo@'));
- Node130.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node130type === 'arc') {
- Node130.a('node.arcOval', true);
- }
- Node130.setRotation(0*Math.PI/180);
- Node130.borderWidth = Node130BorderWidth;
- Node130.borderFillwidth = Node130BorderWidth;
- dataModel.add(Node130);
- Node130._nodename = 'Node130'
- Node130._nodeType = 'rect';
- zoomNodeList.push({
- node: Node130,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node130, Node130.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131type = 'rect';
- var Node131 = new ht.Node(),
- Node131BorderWidth = 1*2;
- if (Node131type === 'arc') {
- Node131BorderWidth *= 1;
- }
- Node131.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node131type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node131.setPosition(356*ratio.ratioX, 125*ratio.ratioY);
- Node131.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node131.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node131.a('node.width', 94*_ratio.ratioX);
- Node131.a('node.height', 24.33136*_ratio.ratioY);
- Node131.a('node.type', Node131type);
- Node131.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node131.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node131.a('node.gradientcolor', '');
- Node131.a('node.gradient', '');
- Node131.a('node.borderwidth', Node131BorderWidth);
- Node131.a('node.color', 'rgba(224,224,224,1)');
- Node131.a('node.fillrect', [0,0,0,0]);
- Node131.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradient', '');
- if (Node131type !== 'rect') {
- Node131.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node131.a('node.arcTo', parseFloat('@arcTo@'));
- Node131.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node131type === 'arc') {
- Node131.a('node.arcOval', true);
- }
- Node131.setRotation(0*Math.PI/180);
- Node131.borderWidth = Node131BorderWidth;
- Node131.borderFillwidth = Node131BorderWidth;
- dataModel.add(Node131);
- Node131._nodename = 'Node131'
- Node131._nodeType = 'rect';
- zoomNodeList.push({
- node: Node131,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node131, Node131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132type = 'rect';
- var Node132 = new ht.Node(),
- Node132BorderWidth = 1*2;
- if (Node132type === 'arc') {
- Node132BorderWidth *= 1;
- }
- Node132.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node132.setPosition(356*ratio.ratioX, 149*ratio.ratioY);
- Node132.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node132.a('node.width', 94*_ratio.ratioX);
- Node132.a('node.height', 24.33138*_ratio.ratioY);
- Node132.a('node.type', Node132type);
- Node132.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node132.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node132.a('node.gradientcolor', '');
- Node132.a('node.gradient', '');
- Node132.a('node.borderwidth', Node132BorderWidth);
- Node132.a('node.color', 'rgba(224,224,224,1)');
- Node132.a('node.fillrect', [0,0,0,0]);
- Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradient', '');
- if (Node132type !== 'rect') {
- Node132.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node132.a('node.arcTo', parseFloat('@arcTo@'));
- Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node132type === 'arc') {
- Node132.a('node.arcOval', true);
- }
- Node132.setRotation(0*Math.PI/180);
- Node132.borderWidth = Node132BorderWidth;
- Node132.borderFillwidth = Node132BorderWidth;
- dataModel.add(Node132);
- Node132._nodename = 'Node132'
- Node132._nodeType = 'rect';
- zoomNodeList.push({
- node: Node132,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node132, Node132.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133 = new ht.Node();
- var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'center', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 58*_ratio.ratioX, Node133height = 26*_ratio.ratioY;
- (function () {
- if (Node133align === 'left') {
- Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9;
- Node133textWidth = Node133width;
- Node133lineStart = 1;
- } else if (Node133align === 'right') {
- Node133textStart = 0;
- Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2;
- Node133lineStart = (Node133width - (ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node133align === 'center') {
- Node133textStart = -3;
- Node133textWidth = Node133width;
- Node133lineStart = Node133width - ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"'))
- Node133.setPosition(356*ratio.ratioX, 54*ratio.ratioY);
- Node133.setWidth(Node133width);
- Node133.setHeight(Node133height);
- Node133._nodeType = 'text';
- Node133._disallowEvert = true;
- Node133.setRotation(0*Math.PI/180);
- Node133.a('node.width', Node133width);
- Node133.a('node.height', Node133height);
- Node133.a('node.rect', [0, 0, Node133width, Node133height]);
- Node133.a('node.bordercolor','rgba(0,0,0,1)');
- Node133.a('node.borderwidth', 0);
- Node133.a('node.background','' || 'rgba(0,0,0,0)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','');
- Node133.a('node.text','0');
- Node133.a('node.textalign','center');
- Node133.a('node.textvAlign','middle');
- Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]);
- Node133.a('node.color','rgba(0,0,0,1)');
- Node133.a('node.font',' '+ Node133fontSize + 'px "Arial"');
- Node133.a('node.textvisible',true);
- Node133.a('node.linefeed',false);
- if (false) {
- Node133.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node133.a('node.text') || '0';
- var color=Node133.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"center",color,' '+ Node133fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node133.a('node.underlinepoints',[Node133lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
- Node133.a('node.underlinevisible',false);
- Node133.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node133);
- zoomNodeList.push({
- node: Node133,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'center', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 58*_ratio.ratioX, Node134height = 26*_ratio.ratioY;
- (function () {
- if (Node134align === 'left') {
- Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
- Node134textWidth = Node134width;
- Node134lineStart = 1;
- } else if (Node134align === 'right') {
- Node134textStart = 0;
- Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
- Node134lineStart = (Node134width - (ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node134align === 'center') {
- Node134textStart = -3;
- Node134textWidth = Node134width;
- Node134lineStart = Node134width - ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"'))
- Node134.setPosition(356*ratio.ratioX, 78*ratio.ratioY);
- Node134.setWidth(Node134width);
- Node134.setHeight(Node134height);
- Node134._nodeType = 'text';
- Node134._disallowEvert = true;
- Node134.setRotation(0*Math.PI/180);
- Node134.a('node.width', Node134width);
- Node134.a('node.height', Node134height);
- Node134.a('node.rect', [0, 0, Node134width, Node134height]);
- Node134.a('node.bordercolor','rgba(0,0,0,1)');
- Node134.a('node.borderwidth', 0);
- Node134.a('node.background','' || 'rgba(0,0,0,0)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','');
- Node134.a('node.text','0');
- Node134.a('node.textalign','center');
- Node134.a('node.textvAlign','middle');
- Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
- Node134.a('node.color','rgba(0,0,0,1)');
- Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"');
- Node134.a('node.textvisible',true);
- Node134.a('node.linefeed',false);
- if (false) {
- Node134.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node134.a('node.text') || '0';
- var color=Node134.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"center",color,' '+ Node134fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node134.a('node.underlinepoints',[Node134lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
- Node134.a('node.underlinevisible',false);
- Node134.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node134);
- zoomNodeList.push({
- node: Node134,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135 = new ht.Node();
- var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'center', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 58*_ratio.ratioX, Node135height = 26*_ratio.ratioY;
- (function () {
- if (Node135align === 'left') {
- Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
- Node135textWidth = Node135width;
- Node135lineStart = 1;
- } else if (Node135align === 'right') {
- Node135textStart = 0;
- Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
- Node135lineStart = (Node135width - (ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node135align === 'center') {
- Node135textStart = -3;
- Node135textWidth = Node135width;
- Node135lineStart = Node135width - ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
- Node135.setPosition(356*ratio.ratioX, 103*ratio.ratioY);
- Node135.setWidth(Node135width);
- Node135.setHeight(Node135height);
- Node135._nodeType = 'text';
- Node135._disallowEvert = true;
- Node135.setRotation(0*Math.PI/180);
- Node135.a('node.width', Node135width);
- Node135.a('node.height', Node135height);
- Node135.a('node.rect', [0, 0, Node135width, Node135height]);
- Node135.a('node.bordercolor','rgba(0,0,0,1)');
- Node135.a('node.borderwidth', 0);
- Node135.a('node.background','' || 'rgba(0,0,0,0)');
- Node135.a('node.gradient','');
- Node135.a('node.gradientcolor','');
- Node135.a('node.text','0');
- Node135.a('node.textalign','center');
- Node135.a('node.textvAlign','middle');
- Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
- Node135.a('node.color','rgba(0,0,0,1)');
- Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
- Node135.a('node.textvisible',true);
- Node135.a('node.linefeed',false);
- if (false) {
- Node135.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node135.a('node.text') || '0';
- var color=Node135.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"center",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node135.a('node.underlinepoints',[Node135lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
- Node135.a('node.underlinevisible',false);
- Node135.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node135);
- zoomNodeList.push({
- node: Node135,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136 = new ht.Node();
- var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'center', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 58*_ratio.ratioX, Node136height = 26*_ratio.ratioY;
- (function () {
- if (Node136align === 'left') {
- Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
- Node136textWidth = Node136width;
- Node136lineStart = 1;
- } else if (Node136align === 'right') {
- Node136textStart = 0;
- Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
- Node136lineStart = (Node136width - (ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(356*ratio.ratioX, 126*ratio.ratioY);
- Node136.setWidth(Node136width);
- Node136.setHeight(Node136height);
- Node136._nodeType = 'text';
- Node136._disallowEvert = true;
- Node136.setRotation(0*Math.PI/180);
- Node136.a('node.width', Node136width);
- Node136.a('node.height', Node136height);
- Node136.a('node.rect', [0, 0, Node136width, Node136height]);
- Node136.a('node.bordercolor','rgba(0,0,0,1)');
- Node136.a('node.borderwidth', 0);
- Node136.a('node.background','' || 'rgba(0,0,0,0)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','');
- Node136.a('node.text','0');
- Node136.a('node.textalign','center');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(0,0,0,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
- Node136.a('node.textvisible',true);
- Node136.a('node.linefeed',false);
- if (false) {
- Node136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node136.a('node.text') || '0';
- var color=Node136.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"center",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'center', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 58*_ratio.ratioX, Node137height = 26*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(356*ratio.ratioX, 150*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(0,0,0,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','0');
- Node137.a('node.textalign','center');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(0,0,0,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '0';
- var color=Node137.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"center",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138type = 'rect';
- var Node138 = new ht.Node(),
- Node138BorderWidth = 1*2;
- if (Node138type === 'arc') {
- Node138BorderWidth *= 1;
- }
- Node138.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node138type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node138.setPosition(435*ratio.ratioX, 52*ratio.ratioY);
- Node138.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node138.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node138.a('node.width', 65*_ratio.ratioX);
- Node138.a('node.height', 24.33136*_ratio.ratioY);
- Node138.a('node.type', Node138type);
- Node138.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node138.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node138.a('node.gradientcolor', '');
- Node138.a('node.gradient', '');
- Node138.a('node.borderwidth', Node138BorderWidth);
- Node138.a('node.color', 'rgba(224,224,224,1)');
- Node138.a('node.fillrect', [0,0,0,0]);
- Node138.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node138.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node138.a('node.fillgradient', '');
- if (Node138type !== 'rect') {
- Node138.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node138.a('node.arcTo', parseFloat('@arcTo@'));
- Node138.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node138type === 'arc') {
- Node138.a('node.arcOval', true);
- }
- Node138.setRotation(0*Math.PI/180);
- Node138.borderWidth = Node138BorderWidth;
- Node138.borderFillwidth = Node138BorderWidth;
- dataModel.add(Node138);
- Node138._nodename = 'Node138'
- Node138._nodeType = 'rect';
- zoomNodeList.push({
- node: Node138,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node138, Node138.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139type = 'rect';
- var Node139 = new ht.Node(),
- Node139BorderWidth = 1*2;
- if (Node139type === 'arc') {
- Node139BorderWidth *= 1;
- }
- Node139.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node139type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node139.setPosition(435*ratio.ratioX, 76*ratio.ratioY);
- Node139.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node139.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node139.a('node.width', 65*_ratio.ratioX);
- Node139.a('node.height', 24.33138*_ratio.ratioY);
- Node139.a('node.type', Node139type);
- Node139.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node139.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node139.a('node.gradientcolor', '');
- Node139.a('node.gradient', '');
- Node139.a('node.borderwidth', Node139BorderWidth);
- Node139.a('node.color', 'rgba(224,224,224,1)');
- Node139.a('node.fillrect', [0,0,0,0]);
- Node139.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node139.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node139.a('node.fillgradient', '');
- if (Node139type !== 'rect') {
- Node139.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node139.a('node.arcTo', parseFloat('@arcTo@'));
- Node139.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node139type === 'arc') {
- Node139.a('node.arcOval', true);
- }
- Node139.setRotation(0*Math.PI/180);
- Node139.borderWidth = Node139BorderWidth;
- Node139.borderFillwidth = Node139BorderWidth;
- dataModel.add(Node139);
- Node139._nodename = 'Node139'
- Node139._nodeType = 'rect';
- zoomNodeList.push({
- node: Node139,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node139, Node139.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140type = 'rect';
- var Node140 = new ht.Node(),
- Node140BorderWidth = 1*2;
- if (Node140type === 'arc') {
- Node140BorderWidth *= 1;
- }
- Node140.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node140type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node140.setPosition(435*ratio.ratioX, 100*ratio.ratioY);
- Node140.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node140.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node140.a('node.width', 65*_ratio.ratioX);
- Node140.a('node.height', 24.33138*_ratio.ratioY);
- Node140.a('node.type', Node140type);
- Node140.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node140.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node140.a('node.gradientcolor', '');
- Node140.a('node.gradient', '');
- Node140.a('node.borderwidth', Node140BorderWidth);
- Node140.a('node.color', 'rgba(224,224,224,1)');
- Node140.a('node.fillrect', [0,0,0,0]);
- Node140.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node140.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node140.a('node.fillgradient', '');
- if (Node140type !== 'rect') {
- Node140.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node140.a('node.arcTo', parseFloat('@arcTo@'));
- Node140.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node140type === 'arc') {
- Node140.a('node.arcOval', true);
- }
- Node140.setRotation(0*Math.PI/180);
- Node140.borderWidth = Node140BorderWidth;
- Node140.borderFillwidth = Node140BorderWidth;
- dataModel.add(Node140);
- Node140._nodename = 'Node140'
- Node140._nodeType = 'rect';
- zoomNodeList.push({
- node: Node140,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node140, Node140.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141type = 'rect';
- var Node141 = new ht.Node(),
- Node141BorderWidth = 1*2;
- if (Node141type === 'arc') {
- Node141BorderWidth *= 1;
- }
- Node141.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node141type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node141.setPosition(435*ratio.ratioX, 125*ratio.ratioY);
- Node141.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node141.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node141.a('node.width', 65*_ratio.ratioX);
- Node141.a('node.height', 24.33136*_ratio.ratioY);
- Node141.a('node.type', Node141type);
- Node141.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node141.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node141.a('node.gradientcolor', '');
- Node141.a('node.gradient', '');
- Node141.a('node.borderwidth', Node141BorderWidth);
- Node141.a('node.color', 'rgba(224,224,224,1)');
- Node141.a('node.fillrect', [0,0,0,0]);
- Node141.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node141.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node141.a('node.fillgradient', '');
- if (Node141type !== 'rect') {
- Node141.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node141.a('node.arcTo', parseFloat('@arcTo@'));
- Node141.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node141type === 'arc') {
- Node141.a('node.arcOval', true);
- }
- Node141.setRotation(0*Math.PI/180);
- Node141.borderWidth = Node141BorderWidth;
- Node141.borderFillwidth = Node141BorderWidth;
- dataModel.add(Node141);
- Node141._nodename = 'Node141'
- Node141._nodeType = 'rect';
- zoomNodeList.push({
- node: Node141,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node141, Node141.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node142type = 'rect';
- var Node142 = new ht.Node(),
- Node142BorderWidth = 1*2;
- if (Node142type === 'arc') {
- Node142BorderWidth *= 1;
- }
- Node142.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node142.setPosition(435*ratio.ratioX, 149*ratio.ratioY);
- Node142.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node142.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node142.a('node.width', 65*_ratio.ratioX);
- Node142.a('node.height', 24.33138*_ratio.ratioY);
- Node142.a('node.type', Node142type);
- Node142.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node142.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node142.a('node.gradientcolor', '');
- Node142.a('node.gradient', '');
- Node142.a('node.borderwidth', Node142BorderWidth);
- Node142.a('node.color', 'rgba(224,224,224,1)');
- Node142.a('node.fillrect', [0,0,0,0]);
- Node142.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node142.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node142.a('node.fillgradient', '');
- if (Node142type !== 'rect') {
- Node142.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node142.a('node.arcTo', parseFloat('@arcTo@'));
- Node142.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node142type === 'arc') {
- Node142.a('node.arcOval', true);
- }
- Node142.setRotation(0*Math.PI/180);
- Node142.borderWidth = Node142BorderWidth;
- Node142.borderFillwidth = Node142BorderWidth;
- dataModel.add(Node142);
- Node142._nodename = 'Node142'
- Node142._nodeType = 'rect';
- zoomNodeList.push({
- node: Node142,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node142, Node142.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143 = new ht.Node();
- var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'center', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 59*_ratio.ratioX, Node143height = 26*_ratio.ratioY;
- (function () {
- if (Node143align === 'left') {
- Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
- Node143textWidth = Node143width;
- Node143lineStart = 1;
- } else if (Node143align === 'right') {
- Node143textStart = 0;
- Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
- Node143lineStart = (Node143width - (ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node143align === 'center') {
- Node143textStart = -3;
- Node143textWidth = Node143width;
- Node143lineStart = Node143width - ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"'))
- Node143.setPosition(436*ratio.ratioX, 54*ratio.ratioY);
- Node143.setWidth(Node143width);
- Node143.setHeight(Node143height);
- Node143._nodeType = 'text';
- Node143._disallowEvert = true;
- Node143.setRotation(0*Math.PI/180);
- Node143.a('node.width', Node143width);
- Node143.a('node.height', Node143height);
- Node143.a('node.rect', [0, 0, Node143width, Node143height]);
- Node143.a('node.bordercolor','rgba(128,128,128,1)');
- Node143.a('node.borderwidth', 0);
- Node143.a('node.background','' || 'rgba(0,0,0,0)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','');
- Node143.a('node.text','万kW');
- Node143.a('node.textalign','center');
- Node143.a('node.textvAlign','middle');
- Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
- Node143.a('node.color','rgba(128,128,128,1)');
- Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"');
- Node143.a('node.textvisible',true);
- Node143.a('node.linefeed',false);
- if (false) {
- Node143.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node143.a('node.text') || '万kW';
- var color=Node143.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"center",color,' '+ Node143fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node143.a('node.underlinepoints',[Node143lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
- Node143.a('node.underlinevisible',false);
- Node143.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node143);
- zoomNodeList.push({
- node: Node143,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144 = new ht.Node();
- var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'center', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 59*_ratio.ratioX, Node144height = 26*_ratio.ratioY;
- (function () {
- if (Node144align === 'left') {
- Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9;
- Node144textWidth = Node144width;
- Node144lineStart = 1;
- } else if (Node144align === 'right') {
- Node144textStart = 0;
- Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2;
- Node144lineStart = (Node144width - (ht.Default.getTextSize('MW', ' '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node144align === 'center') {
- Node144textStart = -3;
- Node144textWidth = Node144width;
- Node144lineStart = Node144width - ht.Default.getTextSize('MW', ' '+ Node144fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, ' '+ Node144fontSize + 'px "Arial"'))
- Node144.setPosition(436*ratio.ratioX, 78*ratio.ratioY);
- Node144.setWidth(Node144width);
- Node144.setHeight(Node144height);
- Node144._nodeType = 'text';
- Node144._disallowEvert = true;
- Node144.setRotation(0*Math.PI/180);
- Node144.a('node.width', Node144width);
- Node144.a('node.height', Node144height);
- Node144.a('node.rect', [0, 0, Node144width, Node144height]);
- Node144.a('node.bordercolor','rgba(128,128,128,1)');
- Node144.a('node.borderwidth', 0);
- Node144.a('node.background','' || 'rgba(0,0,0,0)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','');
- Node144.a('node.text','MW');
- Node144.a('node.textalign','center');
- Node144.a('node.textvAlign','middle');
- Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]);
- Node144.a('node.color','rgba(128,128,128,1)');
- Node144.a('node.font',' '+ Node144fontSize + 'px "Arial"');
- Node144.a('node.textvisible',true);
- Node144.a('node.linefeed',false);
- if (false) {
- Node144.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node144.a('node.text') || 'MW';
- var color=Node144.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"center",color,' '+ Node144fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node144.a('node.underlinepoints',[Node144lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]);
- Node144.a('node.underlinevisible',false);
- Node144.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node144);
- zoomNodeList.push({
- node: Node144,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.Node();
- var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'center', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 59*_ratio.ratioX, Node145height = 26*_ratio.ratioY;
- (function () {
- if (Node145align === 'left') {
- Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
- Node145textWidth = Node145width;
- Node145lineStart = 1;
- } else if (Node145align === 'right') {
- Node145textStart = 0;
- Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
- Node145lineStart = (Node145width - (ht.Default.getTextSize('m/s', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node145align === 'center') {
- Node145textStart = -3;
- Node145textWidth = Node145width;
- Node145lineStart = Node145width - ht.Default.getTextSize('m/s', ' '+ Node145fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"'))
- Node145.setPosition(436*ratio.ratioX, 101*ratio.ratioY);
- Node145.setWidth(Node145width);
- Node145.setHeight(Node145height);
- Node145._nodeType = 'text';
- Node145._disallowEvert = true;
- Node145.setRotation(0*Math.PI/180);
- Node145.a('node.width', Node145width);
- Node145.a('node.height', Node145height);
- Node145.a('node.rect', [0, 0, Node145width, Node145height]);
- Node145.a('node.bordercolor','rgba(128,128,128,1)');
- Node145.a('node.borderwidth', 0);
- Node145.a('node.background','' || 'rgba(0,0,0,0)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','');
- Node145.a('node.text','m/s');
- Node145.a('node.textalign','center');
- Node145.a('node.textvAlign','middle');
- Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
- Node145.a('node.color','rgba(128,128,128,1)');
- Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"');
- Node145.a('node.textvisible',true);
- Node145.a('node.linefeed',false);
- if (false) {
- Node145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node145.a('node.text') || 'm/s';
- var color=Node145.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"center",color,' '+ Node145fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node145.a('node.underlinepoints',[Node145lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
- Node145.a('node.underlinevisible',false);
- Node145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node145);
- zoomNodeList.push({
- node: Node145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146 = new ht.Node();
- var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'center', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 59*_ratio.ratioX, Node146height = 26*_ratio.ratioY;
- (function () {
- if (Node146align === 'left') {
- Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9;
- Node146textWidth = Node146width;
- Node146lineStart = 1;
- } else if (Node146align === 'right') {
- Node146textStart = 0;
- Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2;
- Node146lineStart = (Node146width - (ht.Default.getTextSize('万kWh', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node146align === 'center') {
- Node146textStart = -3;
- Node146textWidth = Node146width;
- Node146lineStart = Node146width - ht.Default.getTextSize('万kWh', ' '+ Node146fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"'))
- Node146.setPosition(436*ratio.ratioX, 127*ratio.ratioY);
- Node146.setWidth(Node146width);
- Node146.setHeight(Node146height);
- Node146._nodeType = 'text';
- Node146._disallowEvert = true;
- Node146.setRotation(0*Math.PI/180);
- Node146.a('node.width', Node146width);
- Node146.a('node.height', Node146height);
- Node146.a('node.rect', [0, 0, Node146width, Node146height]);
- Node146.a('node.bordercolor','rgba(128,128,128,1)');
- Node146.a('node.borderwidth', 0);
- Node146.a('node.background','' || 'rgba(0,0,0,0)');
- Node146.a('node.gradient','');
- Node146.a('node.gradientcolor','');
- Node146.a('node.text','万kWh');
- Node146.a('node.textalign','center');
- Node146.a('node.textvAlign','middle');
- Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]);
- Node146.a('node.color','rgba(128,128,128,1)');
- Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"');
- Node146.a('node.textvisible',true);
- Node146.a('node.linefeed',false);
- if (false) {
- Node146.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node146.a('node.text') || '万kWh';
- var color=Node146.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"center",color,' '+ Node146fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node146.a('node.underlinepoints',[Node146lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]);
- Node146.a('node.underlinevisible',false);
- Node146.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node146);
- zoomNodeList.push({
- node: Node146,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147 = new ht.Node();
- var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'center', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 59*_ratio.ratioX, Node147height = 26*_ratio.ratioY;
- (function () {
- if (Node147align === 'left') {
- Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
- Node147textWidth = Node147width;
- Node147lineStart = 1;
- } else if (Node147align === 'right') {
- Node147textStart = 0;
- Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
- Node147lineStart = (Node147width - (ht.Default.getTextSize('万kWh', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node147align === 'center') {
- Node147textStart = -3;
- Node147textWidth = Node147width;
- Node147lineStart = Node147width - ht.Default.getTextSize('万kWh', ' '+ Node147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
- Node147.setPosition(436*ratio.ratioX, 151*ratio.ratioY);
- Node147.setWidth(Node147width);
- Node147.setHeight(Node147height);
- Node147._nodeType = 'text';
- Node147._disallowEvert = true;
- Node147.setRotation(0*Math.PI/180);
- Node147.a('node.width', Node147width);
- Node147.a('node.height', Node147height);
- Node147.a('node.rect', [0, 0, Node147width, Node147height]);
- Node147.a('node.bordercolor','rgba(128,128,128,1)');
- Node147.a('node.borderwidth', 0);
- Node147.a('node.background','' || 'rgba(0,0,0,0)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','');
- Node147.a('node.text','万kWh');
- Node147.a('node.textalign','center');
- Node147.a('node.textvAlign','middle');
- Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
- Node147.a('node.color','rgba(128,128,128,1)');
- Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
- Node147.a('node.textvisible',true);
- Node147.a('node.linefeed',false);
- if (false) {
- Node147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node147.a('node.text') || '万kWh';
- var color=Node147.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"center",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node147.a('node.underlinepoints',[Node147lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
- Node147.a('node.underlinevisible',false);
- Node147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node147);
- zoomNodeList.push({
- node: Node147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148type = 'rect';
- var Node148 = new ht.Node(),
- Node148BorderWidth = 1*2;
- if (Node148type === 'arc') {
- Node148BorderWidth *= 1;
- }
- Node148.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node148type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node148.setPosition(640*ratio.ratioX, 52*ratio.ratioY);
- Node148.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node148.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node148.a('node.width', 94*_ratio.ratioX);
- Node148.a('node.height', 24.33136*_ratio.ratioY);
- Node148.a('node.type', Node148type);
- Node148.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node148.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node148.a('node.gradientcolor', '');
- Node148.a('node.gradient', '');
- Node148.a('node.borderwidth', Node148BorderWidth);
- Node148.a('node.color', 'rgba(224,224,224,1)');
- Node148.a('node.fillrect', [0,0,0,0]);
- Node148.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node148.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node148.a('node.fillgradient', '');
- if (Node148type !== 'rect') {
- Node148.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node148.a('node.arcTo', parseFloat('@arcTo@'));
- Node148.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node148type === 'arc') {
- Node148.a('node.arcOval', true);
- }
- Node148.setRotation(0*Math.PI/180);
- Node148.borderWidth = Node148BorderWidth;
- Node148.borderFillwidth = Node148BorderWidth;
- dataModel.add(Node148);
- Node148._nodename = 'Node148'
- Node148._nodeType = 'rect';
- zoomNodeList.push({
- node: Node148,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node148, Node148.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149type = 'rect';
- var Node149 = new ht.Node(),
- Node149BorderWidth = 1*2;
- if (Node149type === 'arc') {
- Node149BorderWidth *= 1;
- }
- Node149.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node149type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node149.setPosition(640*ratio.ratioX, 76*ratio.ratioY);
- Node149.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node149.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node149.a('node.width', 94*_ratio.ratioX);
- Node149.a('node.height', 24.33138*_ratio.ratioY);
- Node149.a('node.type', Node149type);
- Node149.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node149.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node149.a('node.gradientcolor', '');
- Node149.a('node.gradient', '');
- Node149.a('node.borderwidth', Node149BorderWidth);
- Node149.a('node.color', 'rgba(224,224,224,1)');
- Node149.a('node.fillrect', [0,0,0,0]);
- Node149.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node149.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node149.a('node.fillgradient', '');
- if (Node149type !== 'rect') {
- Node149.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node149.a('node.arcTo', parseFloat('@arcTo@'));
- Node149.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node149type === 'arc') {
- Node149.a('node.arcOval', true);
- }
- Node149.setRotation(0*Math.PI/180);
- Node149.borderWidth = Node149BorderWidth;
- Node149.borderFillwidth = Node149BorderWidth;
- dataModel.add(Node149);
- Node149._nodename = 'Node149'
- Node149._nodeType = 'rect';
- zoomNodeList.push({
- node: Node149,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node149, Node149.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150type = 'rect';
- var Node150 = new ht.Node(),
- Node150BorderWidth = 1*2;
- if (Node150type === 'arc') {
- Node150BorderWidth *= 1;
- }
- Node150.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node150type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node150.setPosition(640*ratio.ratioX, 100*ratio.ratioY);
- Node150.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node150.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node150.a('node.width', 94*_ratio.ratioX);
- Node150.a('node.height', 24.33138*_ratio.ratioY);
- Node150.a('node.type', Node150type);
- Node150.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node150.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node150.a('node.gradientcolor', '');
- Node150.a('node.gradient', '');
- Node150.a('node.borderwidth', Node150BorderWidth);
- Node150.a('node.color', 'rgba(224,224,224,1)');
- Node150.a('node.fillrect', [0,0,0,0]);
- Node150.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node150.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node150.a('node.fillgradient', '');
- if (Node150type !== 'rect') {
- Node150.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node150.a('node.arcTo', parseFloat('@arcTo@'));
- Node150.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node150type === 'arc') {
- Node150.a('node.arcOval', true);
- }
- Node150.setRotation(0*Math.PI/180);
- Node150.borderWidth = Node150BorderWidth;
- Node150.borderFillwidth = Node150BorderWidth;
- dataModel.add(Node150);
- Node150._nodename = 'Node150'
- Node150._nodeType = 'rect';
- zoomNodeList.push({
- node: Node150,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node150, Node150.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151type = 'rect';
- var Node151 = new ht.Node(),
- Node151BorderWidth = 1*2;
- if (Node151type === 'arc') {
- Node151BorderWidth *= 1;
- }
- Node151.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node151type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node151.setPosition(640*ratio.ratioX, 125*ratio.ratioY);
- Node151.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node151.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node151.a('node.width', 94*_ratio.ratioX);
- Node151.a('node.height', 24.33136*_ratio.ratioY);
- Node151.a('node.type', Node151type);
- Node151.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node151.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node151.a('node.gradientcolor', '');
- Node151.a('node.gradient', '');
- Node151.a('node.borderwidth', Node151BorderWidth);
- Node151.a('node.color', 'rgba(224,224,224,1)');
- Node151.a('node.fillrect', [0,0,0,0]);
- Node151.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node151.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node151.a('node.fillgradient', '');
- if (Node151type !== 'rect') {
- Node151.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node151.a('node.arcTo', parseFloat('@arcTo@'));
- Node151.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node151type === 'arc') {
- Node151.a('node.arcOval', true);
- }
- Node151.setRotation(0*Math.PI/180);
- Node151.borderWidth = Node151BorderWidth;
- Node151.borderFillwidth = Node151BorderWidth;
- dataModel.add(Node151);
- Node151._nodename = 'Node151'
- Node151._nodeType = 'rect';
- zoomNodeList.push({
- node: Node151,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node151, Node151.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152type = 'rect';
- var Node152 = new ht.Node(),
- Node152BorderWidth = 1*2;
- if (Node152type === 'arc') {
- Node152BorderWidth *= 1;
- }
- Node152.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node152type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node152.setPosition(640*ratio.ratioX, 149*ratio.ratioY);
- Node152.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node152.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node152.a('node.width', 94*_ratio.ratioX);
- Node152.a('node.height', 24.33138*_ratio.ratioY);
- Node152.a('node.type', Node152type);
- Node152.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node152.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node152.a('node.gradientcolor', '');
- Node152.a('node.gradient', '');
- Node152.a('node.borderwidth', Node152BorderWidth);
- Node152.a('node.color', 'rgba(224,224,224,1)');
- Node152.a('node.fillrect', [0,0,0,0]);
- Node152.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradient', '');
- if (Node152type !== 'rect') {
- Node152.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node152.a('node.arcTo', parseFloat('@arcTo@'));
- Node152.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node152type === 'arc') {
- Node152.a('node.arcOval', true);
- }
- Node152.setRotation(0*Math.PI/180);
- Node152.borderWidth = Node152BorderWidth;
- Node152.borderFillwidth = Node152BorderWidth;
- dataModel.add(Node152);
- Node152._nodename = 'Node152'
- Node152._nodeType = 'rect';
- zoomNodeList.push({
- node: Node152,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node152, Node152.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.Node();
- var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'center', Node153fontSize = 13.3333*_ratio.ratioY,Node153width = 58*_ratio.ratioX, Node153height = 26*_ratio.ratioY;
- (function () {
- if (Node153align === 'left') {
- Node153textStart = Node153fontSize * 0.2 > 2 ? Node153fontSize * 0.2 - 4 : Node153fontSize * 0.2 - 9;
- Node153textWidth = Node153width;
- Node153lineStart = 1;
- } else if (Node153align === 'right') {
- Node153textStart = 0;
- Node153textWidth =Node153fontSize <= 8 ? Node153width + Node153fontSize * 0.2 + 6 : Node153width - Node153fontSize * 0.2;
- Node153lineStart = (Node153width - (ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node153align === 'center') {
- Node153textStart = -3;
- Node153textWidth = Node153width;
- Node153lineStart = Node153width - ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, ' '+ Node153fontSize + 'px "Arial"'))
- Node153.setPosition(640*ratio.ratioX, 54*ratio.ratioY);
- Node153.setWidth(Node153width);
- Node153.setHeight(Node153height);
- Node153._nodeType = 'text';
- Node153._disallowEvert = true;
- Node153.setRotation(0*Math.PI/180);
- Node153.a('node.width', Node153width);
- Node153.a('node.height', Node153height);
- Node153.a('node.rect', [0, 0, Node153width, Node153height]);
- Node153.a('node.bordercolor','rgba(0,0,0,1)');
- Node153.a('node.borderwidth', 0);
- Node153.a('node.background','' || 'rgba(0,0,0,0)');
- Node153.a('node.gradient','');
- Node153.a('node.gradientcolor','');
- Node153.a('node.text','0');
- Node153.a('node.textalign','center');
- Node153.a('node.textvAlign','middle');
- Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]);
- Node153.a('node.color','rgba(0,0,0,1)');
- Node153.a('node.font',' '+ Node153fontSize + 'px "Arial"');
- Node153.a('node.textvisible',true);
- Node153.a('node.linefeed',false);
- if (false) {
- Node153.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node153.a('node.text') || '0';
- var color=Node153.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node153width,Node153height,13.3333*_ratio.ratioY,"center",color,' '+ Node153fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node153.a('node.underlinepoints',[Node153lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width + 6, (Node153height - Node153fontSize) * 0.5*_ratio.ratioY + Node153fontSize + 2 ]);
- Node153.a('node.underlinevisible',false);
- Node153.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node153);
- zoomNodeList.push({
- node: Node153,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154 = new ht.Node();
- var Node154textStart, Node154textWidth, Node154lineStart, Node154align = 'center', Node154fontSize = 13.3333*_ratio.ratioY,Node154width = 58*_ratio.ratioX, Node154height = 26*_ratio.ratioY;
- (function () {
- if (Node154align === 'left') {
- Node154textStart = Node154fontSize * 0.2 > 2 ? Node154fontSize * 0.2 - 4 : Node154fontSize * 0.2 - 9;
- Node154textWidth = Node154width;
- Node154lineStart = 1;
- } else if (Node154align === 'right') {
- Node154textStart = 0;
- Node154textWidth =Node154fontSize <= 8 ? Node154width + Node154fontSize * 0.2 + 6 : Node154width - Node154fontSize * 0.2;
- Node154lineStart = (Node154width - (ht.Default.getTextSize('0', ' '+ Node154fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node154align === 'center') {
- Node154textStart = -3;
- Node154textWidth = Node154width;
- Node154lineStart = Node154width - ht.Default.getTextSize('0', ' '+ Node154fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node154.setImage(GD.getTextJSON(Node154width, Node154height, true, false, false, ' '+ Node154fontSize + 'px "Arial"'))
- Node154.setPosition(640*ratio.ratioX, 78*ratio.ratioY);
- Node154.setWidth(Node154width);
- Node154.setHeight(Node154height);
- Node154._nodeType = 'text';
- Node154._disallowEvert = true;
- Node154.setRotation(0*Math.PI/180);
- Node154.a('node.width', Node154width);
- Node154.a('node.height', Node154height);
- Node154.a('node.rect', [0, 0, Node154width, Node154height]);
- Node154.a('node.bordercolor','rgba(0,0,0,1)');
- Node154.a('node.borderwidth', 0);
- Node154.a('node.background','' || 'rgba(0,0,0,0)');
- Node154.a('node.gradient','');
- Node154.a('node.gradientcolor','');
- Node154.a('node.text','0');
- Node154.a('node.textalign','center');
- Node154.a('node.textvAlign','middle');
- Node154.a('node.textrect', [Node154textStart, 0, Node154textWidth, Node154height]);
- Node154.a('node.color','rgba(0,0,0,1)');
- Node154.a('node.font',' '+ Node154fontSize + 'px "Arial"');
- Node154.a('node.textvisible',true);
- Node154.a('node.linefeed',false);
- if (false) {
- Node154.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node154.a('node.text') || '0';
- var color=Node154.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node154width,Node154height,13.3333*_ratio.ratioY,"center",color,' '+ Node154fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node154.a('node.underlinepoints',[Node154lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node154fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node154fontSize + 'px "Arial"').width + 6, (Node154height - Node154fontSize) * 0.5*_ratio.ratioY + Node154fontSize + 2 ]);
- Node154.a('node.underlinevisible',false);
- Node154.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node154);
- zoomNodeList.push({
- node: Node154,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node155 = new ht.Node();
- var Node155textStart, Node155textWidth, Node155lineStart, Node155align = 'center', Node155fontSize = 13.3333*_ratio.ratioY,Node155width = 58*_ratio.ratioX, Node155height = 26*_ratio.ratioY;
- (function () {
- if (Node155align === 'left') {
- Node155textStart = Node155fontSize * 0.2 > 2 ? Node155fontSize * 0.2 - 4 : Node155fontSize * 0.2 - 9;
- Node155textWidth = Node155width;
- Node155lineStart = 1;
- } else if (Node155align === 'right') {
- Node155textStart = 0;
- Node155textWidth =Node155fontSize <= 8 ? Node155width + Node155fontSize * 0.2 + 6 : Node155width - Node155fontSize * 0.2;
- Node155lineStart = (Node155width - (ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node155align === 'center') {
- Node155textStart = -3;
- Node155textWidth = Node155width;
- Node155lineStart = Node155width - ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node155.setImage(GD.getTextJSON(Node155width, Node155height, true, false, false, ' '+ Node155fontSize + 'px "Arial"'))
- Node155.setPosition(640*ratio.ratioX, 103*ratio.ratioY);
- Node155.setWidth(Node155width);
- Node155.setHeight(Node155height);
- Node155._nodeType = 'text';
- Node155._disallowEvert = true;
- Node155.setRotation(0*Math.PI/180);
- Node155.a('node.width', Node155width);
- Node155.a('node.height', Node155height);
- Node155.a('node.rect', [0, 0, Node155width, Node155height]);
- Node155.a('node.bordercolor','rgba(0,0,0,1)');
- Node155.a('node.borderwidth', 0);
- Node155.a('node.background','' || 'rgba(0,0,0,0)');
- Node155.a('node.gradient','');
- Node155.a('node.gradientcolor','');
- Node155.a('node.text','0');
- Node155.a('node.textalign','center');
- Node155.a('node.textvAlign','middle');
- Node155.a('node.textrect', [Node155textStart, 0, Node155textWidth, Node155height]);
- Node155.a('node.color','rgba(0,0,0,1)');
- Node155.a('node.font',' '+ Node155fontSize + 'px "Arial"');
- Node155.a('node.textvisible',true);
- Node155.a('node.linefeed',false);
- if (false) {
- Node155.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node155.a('node.text') || '0';
- var color=Node155.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node155width,Node155height,13.3333*_ratio.ratioY,"center",color,' '+ Node155fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node155.a('node.underlinepoints',[Node155lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node155fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "Arial"').width + 6, (Node155height - Node155fontSize) * 0.5*_ratio.ratioY + Node155fontSize + 2 ]);
- Node155.a('node.underlinevisible',false);
- Node155.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node155);
- zoomNodeList.push({
- node: Node155,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.Node();
- var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'center', Node156fontSize = 13.3333*_ratio.ratioY,Node156width = 58*_ratio.ratioX, Node156height = 26*_ratio.ratioY;
- (function () {
- if (Node156align === 'left') {
- Node156textStart = Node156fontSize * 0.2 > 2 ? Node156fontSize * 0.2 - 4 : Node156fontSize * 0.2 - 9;
- Node156textWidth = Node156width;
- Node156lineStart = 1;
- } else if (Node156align === 'right') {
- Node156textStart = 0;
- Node156textWidth =Node156fontSize <= 8 ? Node156width + Node156fontSize * 0.2 + 6 : Node156width - Node156fontSize * 0.2;
- Node156lineStart = (Node156width - (ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node156align === 'center') {
- Node156textStart = -3;
- Node156textWidth = Node156width;
- Node156lineStart = Node156width - ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, ' '+ Node156fontSize + 'px "Arial"'))
- Node156.setPosition(640*ratio.ratioX, 126*ratio.ratioY);
- Node156.setWidth(Node156width);
- Node156.setHeight(Node156height);
- Node156._nodeType = 'text';
- Node156._disallowEvert = true;
- Node156.setRotation(0*Math.PI/180);
- Node156.a('node.width', Node156width);
- Node156.a('node.height', Node156height);
- Node156.a('node.rect', [0, 0, Node156width, Node156height]);
- Node156.a('node.bordercolor','rgba(0,0,0,1)');
- Node156.a('node.borderwidth', 0);
- Node156.a('node.background','' || 'rgba(0,0,0,0)');
- Node156.a('node.gradient','');
- Node156.a('node.gradientcolor','');
- Node156.a('node.text','0');
- Node156.a('node.textalign','center');
- Node156.a('node.textvAlign','middle');
- Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]);
- Node156.a('node.color','rgba(0,0,0,1)');
- Node156.a('node.font',' '+ Node156fontSize + 'px "Arial"');
- Node156.a('node.textvisible',true);
- Node156.a('node.linefeed',false);
- if (false) {
- Node156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node156.a('node.text') || '0';
- var color=Node156.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node156width,Node156height,13.3333*_ratio.ratioY,"center",color,' '+ Node156fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node156.a('node.underlinepoints',[Node156lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "Arial"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]);
- Node156.a('node.underlinevisible',false);
- Node156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node156);
- zoomNodeList.push({
- node: Node156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'center', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 58*_ratio.ratioX, Node157height = 26*_ratio.ratioY;
- (function () {
- if (Node157align === 'left') {
- Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9;
- Node157textWidth = Node157width;
- Node157lineStart = 1;
- } else if (Node157align === 'right') {
- Node157textStart = 0;
- Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2;
- Node157lineStart = (Node157width - (ht.Default.getTextSize('0', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('0', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(640*ratio.ratioX, 150*ratio.ratioY);
- Node157.setWidth(Node157width);
- Node157.setHeight(Node157height);
- Node157._nodeType = 'text';
- Node157._disallowEvert = true;
- Node157.setRotation(0*Math.PI/180);
- Node157.a('node.width', Node157width);
- Node157.a('node.height', Node157height);
- Node157.a('node.rect', [0, 0, Node157width, Node157height]);
- Node157.a('node.bordercolor','rgba(0,0,0,1)');
- Node157.a('node.borderwidth', 0);
- Node157.a('node.background','' || 'rgba(0,0,0,0)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','');
- Node157.a('node.text','0');
- Node157.a('node.textalign','center');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(0,0,0,1)');
- Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || '0';
- var color=Node157.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"center",color,' '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158type = 'rect';
- var Node158 = new ht.Node(),
- Node158BorderWidth = 1*2;
- if (Node158type === 'arc') {
- Node158BorderWidth *= 1;
- }
- Node158.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node158type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node158.setPosition(719*ratio.ratioX, 52*ratio.ratioY);
- Node158.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node158.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node158.a('node.width', 65*_ratio.ratioX);
- Node158.a('node.height', 24.33136*_ratio.ratioY);
- Node158.a('node.type', Node158type);
- Node158.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node158.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node158.a('node.gradientcolor', '');
- Node158.a('node.gradient', '');
- Node158.a('node.borderwidth', Node158BorderWidth);
- Node158.a('node.color', 'rgba(224,224,224,1)');
- Node158.a('node.fillrect', [0,0,0,0]);
- Node158.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node158.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node158.a('node.fillgradient', '');
- if (Node158type !== 'rect') {
- Node158.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node158.a('node.arcTo', parseFloat('@arcTo@'));
- Node158.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node158type === 'arc') {
- Node158.a('node.arcOval', true);
- }
- Node158.setRotation(0*Math.PI/180);
- Node158.borderWidth = Node158BorderWidth;
- Node158.borderFillwidth = Node158BorderWidth;
- dataModel.add(Node158);
- Node158._nodename = 'Node158'
- Node158._nodeType = 'rect';
- zoomNodeList.push({
- node: Node158,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node158, Node158.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159type = 'rect';
- var Node159 = new ht.Node(),
- Node159BorderWidth = 1*2;
- if (Node159type === 'arc') {
- Node159BorderWidth *= 1;
- }
- Node159.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node159type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node159.setPosition(719*ratio.ratioX, 76*ratio.ratioY);
- Node159.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node159.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node159.a('node.width', 65*_ratio.ratioX);
- Node159.a('node.height', 24.33138*_ratio.ratioY);
- Node159.a('node.type', Node159type);
- Node159.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node159.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node159.a('node.gradientcolor', '');
- Node159.a('node.gradient', '');
- Node159.a('node.borderwidth', Node159BorderWidth);
- Node159.a('node.color', 'rgba(224,224,224,1)');
- Node159.a('node.fillrect', [0,0,0,0]);
- Node159.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node159.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node159.a('node.fillgradient', '');
- if (Node159type !== 'rect') {
- Node159.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node159.a('node.arcTo', parseFloat('@arcTo@'));
- Node159.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node159type === 'arc') {
- Node159.a('node.arcOval', true);
- }
- Node159.setRotation(0*Math.PI/180);
- Node159.borderWidth = Node159BorderWidth;
- Node159.borderFillwidth = Node159BorderWidth;
- dataModel.add(Node159);
- Node159._nodename = 'Node159'
- Node159._nodeType = 'rect';
- zoomNodeList.push({
- node: Node159,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node159, Node159.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160type = 'rect';
- var Node160 = new ht.Node(),
- Node160BorderWidth = 1*2;
- if (Node160type === 'arc') {
- Node160BorderWidth *= 1;
- }
- Node160.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node160type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node160.setPosition(719*ratio.ratioX, 100*ratio.ratioY);
- Node160.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node160.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node160.a('node.width', 65*_ratio.ratioX);
- Node160.a('node.height', 24.33138*_ratio.ratioY);
- Node160.a('node.type', Node160type);
- Node160.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node160.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node160.a('node.gradientcolor', '');
- Node160.a('node.gradient', '');
- Node160.a('node.borderwidth', Node160BorderWidth);
- Node160.a('node.color', 'rgba(224,224,224,1)');
- Node160.a('node.fillrect', [0,0,0,0]);
- Node160.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node160.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node160.a('node.fillgradient', '');
- if (Node160type !== 'rect') {
- Node160.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node160.a('node.arcTo', parseFloat('@arcTo@'));
- Node160.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node160type === 'arc') {
- Node160.a('node.arcOval', true);
- }
- Node160.setRotation(0*Math.PI/180);
- Node160.borderWidth = Node160BorderWidth;
- Node160.borderFillwidth = Node160BorderWidth;
- dataModel.add(Node160);
- Node160._nodename = 'Node160'
- Node160._nodeType = 'rect';
- zoomNodeList.push({
- node: Node160,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node160, Node160.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161type = 'rect';
- var Node161 = new ht.Node(),
- Node161BorderWidth = 1*2;
- if (Node161type === 'arc') {
- Node161BorderWidth *= 1;
- }
- Node161.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node161.setPosition(719*ratio.ratioX, 125*ratio.ratioY);
- Node161.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node161.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node161.a('node.width', 65*_ratio.ratioX);
- Node161.a('node.height', 24.33136*_ratio.ratioY);
- Node161.a('node.type', Node161type);
- Node161.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node161.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node161.a('node.gradientcolor', '');
- Node161.a('node.gradient', '');
- Node161.a('node.borderwidth', Node161BorderWidth);
- Node161.a('node.color', 'rgba(224,224,224,1)');
- Node161.a('node.fillrect', [0,0,0,0]);
- Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradient', '');
- if (Node161type !== 'rect') {
- Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node161.a('node.arcTo', parseFloat('@arcTo@'));
- Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node161type === 'arc') {
- Node161.a('node.arcOval', true);
- }
- Node161.setRotation(0*Math.PI/180);
- Node161.borderWidth = Node161BorderWidth;
- Node161.borderFillwidth = Node161BorderWidth;
- dataModel.add(Node161);
- Node161._nodename = 'Node161'
- Node161._nodeType = 'rect';
- zoomNodeList.push({
- node: Node161,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node161, Node161.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162type = 'rect';
- var Node162 = new ht.Node(),
- Node162BorderWidth = 1*2;
- if (Node162type === 'arc') {
- Node162BorderWidth *= 1;
- }
- Node162.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node162.setPosition(719*ratio.ratioX, 149*ratio.ratioY);
- Node162.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node162.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node162.a('node.width', 65*_ratio.ratioX);
- Node162.a('node.height', 24.33138*_ratio.ratioY);
- Node162.a('node.type', Node162type);
- Node162.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node162.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node162.a('node.gradientcolor', '');
- Node162.a('node.gradient', '');
- Node162.a('node.borderwidth', Node162BorderWidth);
- Node162.a('node.color', 'rgba(224,224,224,1)');
- Node162.a('node.fillrect', [0,0,0,0]);
- Node162.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradient', '');
- if (Node162type !== 'rect') {
- Node162.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node162.a('node.arcTo', parseFloat('@arcTo@'));
- Node162.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node162type === 'arc') {
- Node162.a('node.arcOval', true);
- }
- Node162.setRotation(0*Math.PI/180);
- Node162.borderWidth = Node162BorderWidth;
- Node162.borderFillwidth = Node162BorderWidth;
- dataModel.add(Node162);
- Node162._nodename = 'Node162'
- Node162._nodeType = 'rect';
- zoomNodeList.push({
- node: Node162,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node162, Node162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163 = new ht.Node();
- var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'center', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 59*_ratio.ratioX, Node163height = 26*_ratio.ratioY;
- (function () {
- if (Node163align === 'left') {
- Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9;
- Node163textWidth = Node163width;
- Node163lineStart = 1;
- } else if (Node163align === 'right') {
- Node163textStart = 0;
- Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2;
- Node163lineStart = (Node163width - (ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
- Node163.setPosition(720*ratio.ratioX, 54*ratio.ratioY);
- Node163.setWidth(Node163width);
- Node163.setHeight(Node163height);
- Node163._nodeType = 'text';
- Node163._disallowEvert = true;
- Node163.setRotation(0*Math.PI/180);
- Node163.a('node.width', Node163width);
- Node163.a('node.height', Node163height);
- Node163.a('node.rect', [0, 0, Node163width, Node163height]);
- Node163.a('node.bordercolor','rgba(128,128,128,1)');
- Node163.a('node.borderwidth', 0);
- Node163.a('node.background','' || 'rgba(0,0,0,0)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','');
- Node163.a('node.text','万kWh');
- Node163.a('node.textalign','center');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(128,128,128,1)');
- Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"');
- Node163.a('node.textvisible',true);
- Node163.a('node.linefeed',false);
- if (false) {
- Node163.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node163.a('node.text') || '万kWh';
- var color=Node163.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"center",color,' '+ Node163fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node163.a('node.underlinepoints',[Node163lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]);
- Node163.a('node.underlinevisible',false);
- Node163.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node163);
- zoomNodeList.push({
- node: Node163,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164 = new ht.Node();
- var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'center', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 59*_ratio.ratioX, Node164height = 26*_ratio.ratioY;
- (function () {
- if (Node164align === 'left') {
- Node164textStart = Node164fontSize * 0.2 > 2 ? Node164fontSize * 0.2 - 4 : Node164fontSize * 0.2 - 9;
- Node164textWidth = Node164width;
- Node164lineStart = 1;
- } else if (Node164align === 'right') {
- Node164textStart = 0;
- Node164textWidth =Node164fontSize <= 8 ? Node164width + Node164fontSize * 0.2 + 6 : Node164width - Node164fontSize * 0.2;
- Node164lineStart = (Node164width - (ht.Default.getTextSize('万kWh', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('万kWh', ' '+ Node164fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
- Node164.setPosition(720*ratio.ratioX, 78*ratio.ratioY);
- Node164.setWidth(Node164width);
- Node164.setHeight(Node164height);
- Node164._nodeType = 'text';
- Node164._disallowEvert = true;
- Node164.setRotation(0*Math.PI/180);
- Node164.a('node.width', Node164width);
- Node164.a('node.height', Node164height);
- Node164.a('node.rect', [0, 0, Node164width, Node164height]);
- Node164.a('node.bordercolor','rgba(128,128,128,1)');
- Node164.a('node.borderwidth', 0);
- Node164.a('node.background','' || 'rgba(0,0,0,0)');
- Node164.a('node.gradient','');
- Node164.a('node.gradientcolor','');
- Node164.a('node.text','万kWh');
- Node164.a('node.textalign','center');
- Node164.a('node.textvAlign','middle');
- Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
- Node164.a('node.color','rgba(128,128,128,1)');
- Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"');
- Node164.a('node.textvisible',true);
- Node164.a('node.linefeed',false);
- if (false) {
- Node164.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node164.a('node.text') || '万kWh';
- var color=Node164.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"center",color,' '+ Node164fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node164.a('node.underlinepoints',[Node164lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node164fontSize + 'px "Arial"').width + 6, (Node164height - Node164fontSize) * 0.5*_ratio.ratioY + Node164fontSize + 2 ]);
- Node164.a('node.underlinevisible',false);
- Node164.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node164);
- zoomNodeList.push({
- node: Node164,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165 = new ht.Node();
- var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'center', Node165fontSize = 13.3333*_ratio.ratioY,Node165width = 59*_ratio.ratioX, Node165height = 26*_ratio.ratioY;
- (function () {
- if (Node165align === 'left') {
- Node165textStart = Node165fontSize * 0.2 > 2 ? Node165fontSize * 0.2 - 4 : Node165fontSize * 0.2 - 9;
- Node165textWidth = Node165width;
- Node165lineStart = 1;
- } else if (Node165align === 'right') {
- Node165textStart = 0;
- Node165textWidth =Node165fontSize <= 8 ? Node165width + Node165fontSize * 0.2 + 6 : Node165width - Node165fontSize * 0.2;
- Node165lineStart = (Node165width - (ht.Default.getTextSize('万kWh', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node165align === 'center') {
- Node165textStart = -3;
- Node165textWidth = Node165width;
- Node165lineStart = Node165width - ht.Default.getTextSize('万kWh', ' '+ Node165fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"'))
- Node165.setPosition(720*ratio.ratioX, 101*ratio.ratioY);
- Node165.setWidth(Node165width);
- Node165.setHeight(Node165height);
- Node165._nodeType = 'text';
- Node165._disallowEvert = true;
- Node165.setRotation(0*Math.PI/180);
- Node165.a('node.width', Node165width);
- Node165.a('node.height', Node165height);
- Node165.a('node.rect', [0, 0, Node165width, Node165height]);
- Node165.a('node.bordercolor','rgba(128,128,128,1)');
- Node165.a('node.borderwidth', 0);
- Node165.a('node.background','' || 'rgba(0,0,0,0)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','');
- Node165.a('node.text','万kWh');
- Node165.a('node.textalign','center');
- Node165.a('node.textvAlign','middle');
- Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]);
- Node165.a('node.color','rgba(128,128,128,1)');
- Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"');
- Node165.a('node.textvisible',true);
- Node165.a('node.linefeed',false);
- if (false) {
- Node165.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node165.a('node.text') || '万kWh';
- var color=Node165.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node165width,Node165height,13.3333*_ratio.ratioY,"center",color,' '+ Node165fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node165.a('node.underlinepoints',[Node165lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]);
- Node165.a('node.underlinevisible',false);
- Node165.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node165);
- zoomNodeList.push({
- node: Node165,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166 = new ht.Node();
- var Node166textStart, Node166textWidth, Node166lineStart, Node166align = 'center', Node166fontSize = 13.3333*_ratio.ratioY,Node166width = 59*_ratio.ratioX, Node166height = 26*_ratio.ratioY;
- (function () {
- if (Node166align === 'left') {
- Node166textStart = Node166fontSize * 0.2 > 2 ? Node166fontSize * 0.2 - 4 : Node166fontSize * 0.2 - 9;
- Node166textWidth = Node166width;
- Node166lineStart = 1;
- } else if (Node166align === 'right') {
- Node166textStart = 0;
- Node166textWidth =Node166fontSize <= 8 ? Node166width + Node166fontSize * 0.2 + 6 : Node166width - Node166fontSize * 0.2;
- Node166lineStart = (Node166width - (ht.Default.getTextSize('万kWh', ' '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('万kWh', ' '+ Node166fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "Arial"'))
- Node166.setPosition(720*ratio.ratioX, 127*ratio.ratioY);
- Node166.setWidth(Node166width);
- Node166.setHeight(Node166height);
- Node166._nodeType = 'text';
- Node166._disallowEvert = true;
- Node166.setRotation(0*Math.PI/180);
- Node166.a('node.width', Node166width);
- Node166.a('node.height', Node166height);
- Node166.a('node.rect', [0, 0, Node166width, Node166height]);
- Node166.a('node.bordercolor','rgba(128,128,128,1)');
- Node166.a('node.borderwidth', 0);
- Node166.a('node.background','' || 'rgba(0,0,0,0)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','');
- Node166.a('node.text','万kWh');
- Node166.a('node.textalign','center');
- Node166.a('node.textvAlign','middle');
- Node166.a('node.textrect', [Node166textStart, 0, Node166textWidth, Node166height]);
- Node166.a('node.color','rgba(128,128,128,1)');
- Node166.a('node.font',' '+ Node166fontSize + 'px "Arial"');
- Node166.a('node.textvisible',true);
- Node166.a('node.linefeed',false);
- if (false) {
- Node166.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node166.a('node.text') || '万kWh';
- var color=Node166.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node166width,Node166height,13.3333*_ratio.ratioY,"center",color,' '+ Node166fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node166fontSize + 'px "Arial"').width + 6, (Node166height - Node166fontSize) * 0.5*_ratio.ratioY + Node166fontSize + 2 ]);
- Node166.a('node.underlinevisible',false);
- Node166.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node166);
- zoomNodeList.push({
- node: Node166,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'center', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 59*_ratio.ratioX, Node167height = 26*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('万kWh', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('万kWh', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(720*ratio.ratioX, 151*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(128,128,128,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','万kWh');
- Node167.a('node.textalign','center');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(128,128,128,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '万kWh';
- var color=Node167.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"center",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 11.99997*_ratio.ratioY,Node168width = 53*_ratio.ratioX, Node168height = 20*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('机', 'bold '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('机', 'bold '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, 'bold '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(1345*ratio.ratioX, 88*ratio.ratioY);
- Node168.setWidth(Node168width);
- Node168.setHeight(Node168height);
- Node168._nodeType = 'text';
- Node168._disallowEvert = true;
- Node168.setRotation(0*Math.PI/180);
- Node168.a('node.width', Node168width);
- Node168.a('node.height', Node168height);
- Node168.a('node.rect', [0, 0, Node168width, Node168height]);
- Node168.a('node.bordercolor','rgba(255,255,255,1)');
- Node168.a('node.borderwidth', 0);
- Node168.a('node.background','' || 'rgba(0,0,0,0)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','');
- Node168.a('node.text','机');
- Node168.a('node.textalign','left');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(255,255,255,1)');
- Node168.a('node.font','bold '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '机';
- var color=Node168.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node168width,Node168height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 11.99997*_ratio.ratioY,Node169width = 53*_ratio.ratioX, Node169height = 20*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('状', 'bold '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('状', 'bold '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, 'bold '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(1345*ratio.ratioX, 111*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(255,255,255,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','状');
- Node169.a('node.textalign','left');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(255,255,255,1)');
- Node169.a('node.font','bold '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '状';
- var color=Node169.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node169width,Node169height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 11.99997*_ratio.ratioY,Node170width = 53*_ratio.ratioX, Node170height = 20*_ratio.ratioY;
- (function () {
- if (Node170align === 'left') {
- Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
- Node170textWidth = Node170width;
- Node170lineStart = 1;
- } else if (Node170align === 'right') {
- Node170textStart = 0;
- Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
- Node170lineStart = (Node170width - (ht.Default.getTextSize('态', 'bold '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('态', 'bold '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, 'bold '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(1345*ratio.ratioX, 133*ratio.ratioY);
- Node170.setWidth(Node170width);
- Node170.setHeight(Node170height);
- Node170._nodeType = 'text';
- Node170._disallowEvert = true;
- Node170.setRotation(0*Math.PI/180);
- Node170.a('node.width', Node170width);
- Node170.a('node.height', Node170height);
- Node170.a('node.rect', [0, 0, Node170width, Node170height]);
- Node170.a('node.bordercolor','rgba(255,255,255,1)');
- Node170.a('node.borderwidth', 0);
- Node170.a('node.background','' || 'rgba(0,0,0,0)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','');
- Node170.a('node.text','态');
- Node170.a('node.textalign','left');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(255,255,255,1)');
- Node170.a('node.font','bold '+ Node170fontSize + 'px "Arial"');
- Node170.a('node.textvisible',true);
- Node170.a('node.linefeed',false);
- if (false) {
- Node170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node170.a('node.text') || '态';
- var color=Node170.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node170width,Node170height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.Node();
- var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'center', Node171fontSize = 14.66663*_ratio.ratioY,Node171width = 67*_ratio.ratioX, Node171height = 26*_ratio.ratioY;
- (function () {
- if (Node171align === 'left') {
- Node171textStart = Node171fontSize * 0.2 > 2 ? Node171fontSize * 0.2 - 4 : Node171fontSize * 0.2 - 9;
- Node171textWidth = Node171width;
- Node171lineStart = 1;
- } else if (Node171align === 'right') {
- Node171textStart = 0;
- Node171textWidth =Node171fontSize <= 8 ? Node171width + Node171fontSize * 0.2 + 6 : Node171width - Node171fontSize * 0.2;
- Node171lineStart = (Node171width - (ht.Default.getTextSize('台', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('台', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(1588*ratio.ratioX, 86*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(105,105,105,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','台');
- Node171.a('node.textalign','center');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(105,105,105,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"');
- Node171.a('node.textvisible',true);
- Node171.a('node.linefeed',false);
- if (false) {
- Node171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node171.a('node.text') || '台';
- var color=Node171.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node171width,Node171height,14.66663*_ratio.ratioY,"center",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]);
- Node171.a('node.underlinevisible',false);
- Node171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node171);
- zoomNodeList.push({
- node: Node171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node172;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg');
- Node172 = new ht.Node();
- Node172.setPosition(1477*ratio.ratioX, 70*ratio.ratioY);
- Node172.setSize(9*ratioX, 60*ratioY);
- Node172.setImage('imgimage//page_list_box_left_blue.jpg');
- Node172.setRotation(0*Math.PI/180);
- Node172._zoomBy = 'Default';
- Node172._nodeType = 'image';
- Node172._disallowEvert = true;
- dataModel.add(Node172);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173type = 'rect';
- var Node173 = new ht.Node(),
- Node173BorderWidth = 1*2;
- if (Node173type === 'arc') {
- Node173BorderWidth *= 1;
- }
- Node173.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node173type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node173.setPosition(1546*ratio.ratioX, 70*ratio.ratioY);
- Node173.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node173.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node173.a('node.width', 127*_ratio.ratioX);
- Node173.a('node.height', 60.81538*_ratio.ratioY);
- Node173.a('node.type', Node173type);
- Node173.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node173.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node173.a('node.gradientcolor', '');
- Node173.a('node.gradient', '');
- Node173.a('node.borderwidth', Node173BorderWidth);
- Node173.a('node.color', 'rgba(128,128,128,1)');
- Node173.a('node.fillrect', [0,0,0,0]);
- Node173.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradient', '');
- if (Node173type !== 'rect') {
- Node173.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node173.a('node.arcTo', parseFloat('@arcTo@'));
- Node173.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node173type === 'arc') {
- Node173.a('node.arcOval', true);
- }
- Node173.setRotation(0*Math.PI/180);
- Node173.borderWidth = Node173BorderWidth;
- Node173.borderFillwidth = Node173BorderWidth;
- dataModel.add(Node173);
- Node173._nodename = 'Node173'
- Node173._nodeType = 'rect';
- zoomNodeList.push({
- node: Node173,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node173, Node173.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 15.99996*_ratio.ratioY,Node174width = 29*_ratio.ratioX, Node174height = 25*_ratio.ratioY;
- (function () {
- if (Node174align === 'left') {
- Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9;
- Node174textWidth = Node174width;
- Node174lineStart = 1;
- } else if (Node174align === 'right') {
- Node174textStart = 0;
- Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2;
- Node174lineStart = (Node174width - (ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(1509*ratio.ratioX, 85*ratio.ratioY);
- Node174.setWidth(Node174width);
- Node174.setHeight(Node174height);
- Node174._nodeType = 'text';
- Node174._disallowEvert = true;
- Node174.setRotation(0*Math.PI/180);
- Node174.a('node.width', Node174width);
- Node174.a('node.height', Node174height);
- Node174.a('node.rect', [0, 0, Node174width, Node174height]);
- Node174.a('node.bordercolor','rgba(0,0,0,1)');
- Node174.a('node.borderwidth', 0);
- Node174.a('node.background','' || 'rgba(0,0,0,0)');
- Node174.a('node.gradient','');
- Node174.a('node.gradientcolor','');
- Node174.a('node.text','0');
- Node174.a('node.textalign','left');
- Node174.a('node.textvAlign','middle');
- Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]);
- Node174.a('node.color','rgba(0,0,0,1)');
- Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"');
- Node174.a('node.textvisible',true);
- Node174.a('node.linefeed',false);
- if (false) {
- Node174.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node174.a('node.text') || '0';
- var color=Node174.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node174width,Node174height,15.99996*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node174.a('node.underlinepoints',[Node174lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]);
- Node174.a('node.underlinevisible',false);
- Node174.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node174);
- zoomNodeList.push({
- node: Node174,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node175;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg');
- Node175 = new ht.Node();
- Node175.setPosition(1753*ratio.ratioX, 70*ratio.ratioY);
- Node175.setSize(9*ratioX, 60*ratioY);
- Node175.setImage('imgimage//page_list_box_left_red.jpg');
- Node175.setRotation(0*Math.PI/180);
- Node175._zoomBy = 'Default';
- Node175._nodeType = 'image';
- Node175._disallowEvert = true;
- dataModel.add(Node175);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176 = new ht.Node();
- var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'left', Node176fontSize = 15.99996*_ratio.ratioY,Node176width = 29*_ratio.ratioX, Node176height = 25*_ratio.ratioY;
- (function () {
- if (Node176align === 'left') {
- Node176textStart = Node176fontSize * 0.2 > 2 ? Node176fontSize * 0.2 - 4 : Node176fontSize * 0.2 - 9;
- Node176textWidth = Node176width;
- Node176lineStart = 1;
- } else if (Node176align === 'right') {
- Node176textStart = 0;
- Node176textWidth =Node176fontSize <= 8 ? Node176width + Node176fontSize * 0.2 + 6 : Node176width - Node176fontSize * 0.2;
- Node176lineStart = (Node176width - (ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "Arial"'))
- Node176.setPosition(1785*ratio.ratioX, 85*ratio.ratioY);
- Node176.setWidth(Node176width);
- Node176.setHeight(Node176height);
- Node176._nodeType = 'text';
- Node176._disallowEvert = true;
- Node176.setRotation(0*Math.PI/180);
- Node176.a('node.width', Node176width);
- Node176.a('node.height', Node176height);
- Node176.a('node.rect', [0, 0, Node176width, Node176height]);
- Node176.a('node.bordercolor','rgba(0,0,0,1)');
- Node176.a('node.borderwidth', 0);
- Node176.a('node.background','' || 'rgba(0,0,0,0)');
- Node176.a('node.gradient','');
- Node176.a('node.gradientcolor','');
- Node176.a('node.text','0');
- Node176.a('node.textalign','left');
- Node176.a('node.textvAlign','middle');
- Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]);
- Node176.a('node.color','rgba(0,0,0,1)');
- Node176.a('node.font',' '+ Node176fontSize + 'px "Arial"');
- Node176.a('node.textvisible',true);
- Node176.a('node.linefeed',false);
- if (false) {
- Node176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176.a('node.text') || '0';
- var color=Node176.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node176width,Node176height,15.99996*_ratio.ratioY,"left",color,' '+ Node176fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "Arial"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]);
- Node176.a('node.underlinevisible',false);
- Node176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176);
- zoomNodeList.push({
- node: Node176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node177;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
- Node177 = new ht.Node();
- Node177.setPosition(1753*ratio.ratioX, 131*ratio.ratioY);
- Node177.setSize(9*ratioX, 60*ratioY);
- Node177.setImage('imgimage//page_list_box_left_black.jpg');
- Node177.setRotation(0*Math.PI/180);
- Node177._zoomBy = 'Default';
- Node177._nodeType = 'image';
- Node177._disallowEvert = true;
- dataModel.add(Node177);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 47*_ratio.ratioX, Node178height = 38*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('离线', 'bold '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('离线', 'bold '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, 'bold '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(1784*ratio.ratioX, 114*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(0,0,0,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','离线');
- Node178.a('node.textalign','left');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(0,0,0,1)');
- Node178.a('node.font','bold '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '离线';
- var color=Node178.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 15.99996*_ratio.ratioY,Node179width = 29*_ratio.ratioX, Node179height = 25*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(1785*ratio.ratioX, 146*ratio.ratioY);
- Node179.setWidth(Node179width);
- Node179.setHeight(Node179height);
- Node179._nodeType = 'text';
- Node179._disallowEvert = true;
- Node179.setRotation(0*Math.PI/180);
- Node179.a('node.width', Node179width);
- Node179.a('node.height', Node179height);
- Node179.a('node.rect', [0, 0, Node179width, Node179height]);
- Node179.a('node.bordercolor','rgba(0,0,0,1)');
- Node179.a('node.borderwidth', 0);
- Node179.a('node.background','' || 'rgba(0,0,0,0)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','');
- Node179.a('node.text','0');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(0,0,0,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
- Node179.a('node.textvisible',true);
- Node179.a('node.linefeed',false);
- if (false) {
- Node179.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node179.a('node.text') || '0';
- var color=Node179.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node179width,Node179height,15.99996*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 77*_ratio.ratioX, Node180height = 26*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('上网电量', ' '+ Node180fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('上网电量', ' '+ Node180fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "微软雅黑"'))
- Node180.setPosition(228*ratio.ratioX, 149*ratio.ratioY);
- Node180.setWidth(Node180width);
- Node180.setHeight(Node180height);
- Node180._nodeType = 'text';
- Node180._disallowEvert = true;
- Node180.setRotation(0*Math.PI/180);
- Node180.a('node.width', Node180width);
- Node180.a('node.height', Node180height);
- Node180.a('node.rect', [0, 0, Node180width, Node180height]);
- Node180.a('node.bordercolor','rgba(0,0,0,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','上网电量');
- Node180.a('node.textalign','left');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(0,0,0,1)');
- Node180.a('node.font',' '+ Node180fontSize + 'px "微软雅黑"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '上网电量';
- var color=Node180.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node180fontSize + 'px "微软雅黑"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'center', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 113*_ratio.ratioX, Node181height = 26*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node181fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('日性能损失电量', ' '+ Node181fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "微软雅黑"'))
- Node181.setPosition(533*ratio.ratioX, 150*ratio.ratioY);
- Node181.setWidth(Node181width);
- Node181.setHeight(Node181height);
- Node181._nodeType = 'text';
- Node181._disallowEvert = true;
- Node181.setRotation(0*Math.PI/180);
- Node181.a('node.width', Node181width);
- Node181.a('node.height', Node181height);
- Node181.a('node.rect', [0, 0, Node181width, Node181height]);
- Node181.a('node.bordercolor','rgba(0,0,0,1)');
- Node181.a('node.borderwidth', 0);
- Node181.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','rgba(255,255,255,0)');
- Node181.a('node.text','日性能损失电量');
- Node181.a('node.textalign','center');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(0,0,0,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "微软雅黑"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || '日性能损失电量';
- var color=Node181.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node181fontSize + 'px "微软雅黑"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.Node();
- var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'center', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 110*_ratio.ratioX, Node182height = 26*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node182fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('月性能损失电量', ' '+ Node182fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "微软雅黑"'))
- Node182.setPosition(814*ratio.ratioX, 150*ratio.ratioY);
- Node182.setWidth(Node182width);
- Node182.setHeight(Node182height);
- Node182._nodeType = 'text';
- Node182._disallowEvert = true;
- Node182.setRotation(0*Math.PI/180);
- Node182.a('node.width', Node182width);
- Node182.a('node.height', Node182height);
- Node182.a('node.rect', [0, 0, Node182width, Node182height]);
- Node182.a('node.bordercolor','rgba(0,0,0,1)');
- Node182.a('node.borderwidth', 0);
- Node182.a('node.background','' || 'rgba(0,0,0,0)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','');
- Node182.a('node.text','月性能损失电量');
- Node182.a('node.textalign','center');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(0,0,0,1)');
- Node182.a('node.font',' '+ Node182fontSize + 'px "微软雅黑"');
- Node182.a('node.textvisible',true);
- Node182.a('node.linefeed',false);
- if (false) {
- Node182.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182.a('node.text') || '月性能损失电量';
- var color=Node182.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"center",color,' '+ Node182fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node182fontSize + 'px "微软雅黑"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
- Node182.a('node.underlinevisible',false);
- Node182.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182);
- zoomNodeList.push({
- node: Node182,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.Node();
- var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'center', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 110*_ratio.ratioX, Node183height = 26*_ratio.ratioY;
- (function () {
- if (Node183align === 'left') {
- Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
- Node183textWidth = Node183width;
- Node183lineStart = 1;
- } else if (Node183align === 'right') {
- Node183textStart = 0;
- Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
- Node183lineStart = (Node183width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node183fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('年性能损失电量', ' '+ Node183fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "微软雅黑"'))
- Node183.setPosition(1094*ratio.ratioX, 149*ratio.ratioY);
- Node183.setWidth(Node183width);
- Node183.setHeight(Node183height);
- Node183._nodeType = 'text';
- Node183._disallowEvert = true;
- Node183.setRotation(0*Math.PI/180);
- Node183.a('node.width', Node183width);
- Node183.a('node.height', Node183height);
- Node183.a('node.rect', [0, 0, Node183width, Node183height]);
- Node183.a('node.bordercolor','rgba(0,0,0,1)');
- Node183.a('node.borderwidth', 0);
- Node183.a('node.background','' || 'rgba(0,0,0,0)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','');
- Node183.a('node.text','年性能损失电量');
- Node183.a('node.textalign','center');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(0,0,0,1)');
- Node183.a('node.font',' '+ Node183fontSize + 'px "微软雅黑"');
- Node183.a('node.textvisible',true);
- Node183.a('node.linefeed',false);
- if (false) {
- Node183.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node183.a('node.text') || '年性能损失电量';
- var color=Node183.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"center",color,' '+ Node183fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node183fontSize + 'px "微软雅黑"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
- Node183.a('node.underlinevisible',false);
- Node183.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node183);
- zoomNodeList.push({
- node: Node183,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 47*_ratio.ratioX, Node184height = 38*_ratio.ratioY;
- (function () {
- if (Node184align === 'left') {
- Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
- Node184textWidth = Node184width;
- Node184lineStart = 1;
- } else if (Node184align === 'right') {
- Node184textStart = 0;
- Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
- Node184lineStart = (Node184width - (ht.Default.getTextSize('运行', 'bold '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('运行', 'bold '+ Node184fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, 'bold '+ Node184fontSize + 'px "Arial"'))
- Node184.setPosition(1508*ratio.ratioX, 52*ratio.ratioY);
- Node184.setWidth(Node184width);
- Node184.setHeight(Node184height);
- Node184._nodeType = 'text';
- Node184._disallowEvert = true;
- Node184.setRotation(0*Math.PI/180);
- Node184.a('node.width', Node184width);
- Node184.a('node.height', Node184height);
- Node184.a('node.rect', [0, 0, Node184width, Node184height]);
- Node184.a('node.bordercolor','rgba(0,0,0,1)');
- Node184.a('node.borderwidth', 0);
- Node184.a('node.background','' || 'rgba(0,0,0,0)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','');
- Node184.a('node.text','运行');
- Node184.a('node.textalign','left');
- Node184.a('node.textvAlign','middle');
- Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
- Node184.a('node.color','rgba(0,0,0,1)');
- Node184.a('node.font','bold '+ Node184fontSize + 'px "Arial"');
- Node184.a('node.textvisible',true);
- Node184.a('node.linefeed',false);
- if (false) {
- Node184.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node184.a('node.text') || '运行';
- var color=Node184.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node184fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
- Node184.a('node.underlinevisible',false);
- Node184.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node184);
- zoomNodeList.push({
- node: Node184,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.Node();
- var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 13.3333*_ratio.ratioY,Node185width = 47*_ratio.ratioX, Node185height = 38*_ratio.ratioY;
- (function () {
- if (Node185align === 'left') {
- Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9;
- Node185textWidth = Node185width;
- Node185lineStart = 1;
- } else if (Node185align === 'right') {
- Node185textStart = 0;
- Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2;
- Node185lineStart = (Node185width - (ht.Default.getTextSize('待机', 'bold '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node185align === 'center') {
- Node185textStart = -3;
- Node185textWidth = Node185width;
- Node185lineStart = Node185width - ht.Default.getTextSize('待机', 'bold '+ Node185fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, 'bold '+ Node185fontSize + 'px "Arial"'))
- Node185.setPosition(1646*ratio.ratioX, 52*ratio.ratioY);
- Node185.setWidth(Node185width);
- Node185.setHeight(Node185height);
- Node185._nodeType = 'text';
- Node185._disallowEvert = true;
- Node185.setRotation(0*Math.PI/180);
- Node185.a('node.width', Node185width);
- Node185.a('node.height', Node185height);
- Node185.a('node.rect', [0, 0, Node185width, Node185height]);
- Node185.a('node.bordercolor','rgba(0,0,0,1)');
- Node185.a('node.borderwidth', 0);
- Node185.a('node.background','' || 'rgba(0,0,0,0)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','');
- Node185.a('node.text','待机');
- Node185.a('node.textalign','left');
- Node185.a('node.textvAlign','middle');
- Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]);
- Node185.a('node.color','rgba(0,0,0,1)');
- Node185.a('node.font','bold '+ Node185fontSize + 'px "Arial"');
- Node185.a('node.textvisible',true);
- Node185.a('node.linefeed',false);
- if (false) {
- Node185.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node185.a('node.text') || '待机';
- var color=Node185.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node185width,Node185height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node185fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node185.a('node.underlinepoints',[Node185lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node185fontSize + 'px "Arial"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]);
- Node185.a('node.underlinevisible',false);
- Node185.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node185);
- zoomNodeList.push({
- node: Node185,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 47*_ratio.ratioX, Node186height = 38*_ratio.ratioY;
- (function () {
- if (Node186align === 'left') {
- Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
- Node186textWidth = Node186width;
- Node186lineStart = 1;
- } else if (Node186align === 'right') {
- Node186textStart = 0;
- Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
- Node186lineStart = (Node186width - (ht.Default.getTextSize('故障', 'bold '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('故障', 'bold '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, 'bold '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(1784*ratio.ratioX, 52*ratio.ratioY);
- Node186.setWidth(Node186width);
- Node186.setHeight(Node186height);
- Node186._nodeType = 'text';
- Node186._disallowEvert = true;
- Node186.setRotation(0*Math.PI/180);
- Node186.a('node.width', Node186width);
- Node186.a('node.height', Node186height);
- Node186.a('node.rect', [0, 0, Node186width, Node186height]);
- Node186.a('node.bordercolor','rgba(0,0,0,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','故障');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(0,0,0,1)');
- Node186.a('node.font','bold '+ Node186fontSize + 'px "Arial"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '故障';
- var color=Node186.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node186fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
- Node186.a('node.underlinevisible',false);
- Node186.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node186);
- zoomNodeList.push({
- node: Node186,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node187 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node188 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node189 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node190 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node191 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node192 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node193 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node194 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node195 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node196 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node197 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node198 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node199 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node200 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node201 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node202 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*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'});
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'hyfy':PageBackground_hyfy,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- if(typeof(Node1.borderWidth)!="undefined"){setDashStyle(Node1,"Node1",'NoDash',Node1.borderWidth);}
- if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);}
- if(typeof(Node6.borderWidth)!="undefined"){setDashStyle(Node6,"Node6",'NoDash',Node6.borderWidth);}
- if(typeof(Node8.borderWidth)!="undefined"){setDashStyle(Node8,"Node8",'NoDash',Node8.borderWidth);}
- if(typeof(Node10.borderWidth)!="undefined"){setDashStyle(Node10,"Node10",'NoDash',Node10.borderWidth);}
- ;(typeof Node17_1 != "undefined") && (Node17_1.localDynamicVar = function ( ) {return {'zhuangtai':Node17_1_zhuangtai,'bianhao':Node17_1_bianhao,'fengsu':Node17_1_fengsu,'gonglv':Node17_1_gonglv,}});
- ;(typeof Node17_2 != "undefined") && (Node17_2.localDynamicVar = function ( ) {return {'zhuangtai':Node17_2_zhuangtai,'bianhao':Node17_2_bianhao,'fengsu':Node17_2_fengsu,'gonglv':Node17_2_gonglv,}});
- ;(typeof Node17_3 != "undefined") && (Node17_3.localDynamicVar = function ( ) {return {'zhuangtai':Node17_3_zhuangtai,'bianhao':Node17_3_bianhao,'fengsu':Node17_3_fengsu,'gonglv':Node17_3_gonglv,}});
- ;(typeof Node17_4 != "undefined") && (Node17_4.localDynamicVar = function ( ) {return {'zhuangtai':Node17_4_zhuangtai,'bianhao':Node17_4_bianhao,'fengsu':Node17_4_fengsu,'gonglv':Node17_4_gonglv,}});
- ;(typeof Node17_5 != "undefined") && (Node17_5.localDynamicVar = function ( ) {return {'zhuangtai':Node17_5_zhuangtai,'bianhao':Node17_5_bianhao,'fengsu':Node17_5_fengsu,'gonglv':Node17_5_gonglv,}});
- ;(typeof Node17_6 != "undefined") && (Node17_6.localDynamicVar = function ( ) {return {'zhuangtai':Node17_6_zhuangtai,'bianhao':Node17_6_bianhao,'fengsu':Node17_6_fengsu,'gonglv':Node17_6_gonglv,}});
- ;(typeof Node17_7 != "undefined") && (Node17_7.localDynamicVar = function ( ) {return {'zhuangtai':Node17_7_zhuangtai,'bianhao':Node17_7_bianhao,'fengsu':Node17_7_fengsu,'gonglv':Node17_7_gonglv,}});
- ;(typeof Node17_8 != "undefined") && (Node17_8.localDynamicVar = function ( ) {return {'zhuangtai':Node17_8_zhuangtai,'bianhao':Node17_8_bianhao,'fengsu':Node17_8_fengsu,'gonglv':Node17_8_gonglv,}});
- ;(typeof Node17_9 != "undefined") && (Node17_9.localDynamicVar = function ( ) {return {'zhuangtai':Node17_9_zhuangtai,'bianhao':Node17_9_bianhao,'fengsu':Node17_9_fengsu,'gonglv':Node17_9_gonglv,}});
- ;(typeof Node17_10 != "undefined") && (Node17_10.localDynamicVar = function ( ) {return {'zhuangtai':Node17_10_zhuangtai,'bianhao':Node17_10_bianhao,'fengsu':Node17_10_fengsu,'gonglv':Node17_10_gonglv,}});
- ;(typeof Node17_11 != "undefined") && (Node17_11.localDynamicVar = function ( ) {return {'zhuangtai':Node17_11_zhuangtai,'bianhao':Node17_11_bianhao,'fengsu':Node17_11_fengsu,'gonglv':Node17_11_gonglv,}});
- ;(typeof Node17_12 != "undefined") && (Node17_12.localDynamicVar = function ( ) {return {'zhuangtai':Node17_12_zhuangtai,'bianhao':Node17_12_bianhao,'fengsu':Node17_12_fengsu,'gonglv':Node17_12_gonglv,}});
- ;(typeof Node17_13 != "undefined") && (Node17_13.localDynamicVar = function ( ) {return {'zhuangtai':Node17_13_zhuangtai,'bianhao':Node17_13_bianhao,'fengsu':Node17_13_fengsu,'gonglv':Node17_13_gonglv,}});
- ;(typeof Node17_14 != "undefined") && (Node17_14.localDynamicVar = function ( ) {return {'zhuangtai':Node17_14_zhuangtai,'bianhao':Node17_14_bianhao,'fengsu':Node17_14_fengsu,'gonglv':Node17_14_gonglv,}});
- ;(typeof Node17_15 != "undefined") && (Node17_15.localDynamicVar = function ( ) {return {'zhuangtai':Node17_15_zhuangtai,'bianhao':Node17_15_bianhao,'fengsu':Node17_15_fengsu,'gonglv':Node17_15_gonglv,}});
- ;(typeof Node17_16 != "undefined") && (Node17_16.localDynamicVar = function ( ) {return {'zhuangtai':Node17_16_zhuangtai,'bianhao':Node17_16_bianhao,'fengsu':Node17_16_fengsu,'gonglv':Node17_16_gonglv,}});
- ;(typeof Node17_17 != "undefined") && (Node17_17.localDynamicVar = function ( ) {return {'zhuangtai':Node17_17_zhuangtai,'bianhao':Node17_17_bianhao,'fengsu':Node17_17_fengsu,'gonglv':Node17_17_gonglv,}});
- ;(typeof Node17_18 != "undefined") && (Node17_18.localDynamicVar = function ( ) {return {'zhuangtai':Node17_18_zhuangtai,'bianhao':Node17_18_bianhao,'fengsu':Node17_18_fengsu,'gonglv':Node17_18_gonglv,}});
- ;(typeof Node17_19 != "undefined") && (Node17_19.localDynamicVar = function ( ) {return {'zhuangtai':Node17_19_zhuangtai,'bianhao':Node17_19_bianhao,'fengsu':Node17_19_fengsu,'gonglv':Node17_19_gonglv,}});
- ;(typeof Node17_20 != "undefined") && (Node17_20.localDynamicVar = function ( ) {return {'zhuangtai':Node17_20_zhuangtai,'bianhao':Node17_20_bianhao,'fengsu':Node17_20_fengsu,'gonglv':Node17_20_gonglv,}});
- ;(typeof Node17_21 != "undefined") && (Node17_21.localDynamicVar = function ( ) {return {'zhuangtai':Node17_21_zhuangtai,'bianhao':Node17_21_bianhao,'fengsu':Node17_21_fengsu,'gonglv':Node17_21_gonglv,}});
- ;(typeof Node17_22 != "undefined") && (Node17_22.localDynamicVar = function ( ) {return {'zhuangtai':Node17_22_zhuangtai,'bianhao':Node17_22_bianhao,'fengsu':Node17_22_fengsu,'gonglv':Node17_22_gonglv,}});
- ;(typeof Node17_23 != "undefined") && (Node17_23.localDynamicVar = function ( ) {return {'zhuangtai':Node17_23_zhuangtai,'bianhao':Node17_23_bianhao,'fengsu':Node17_23_fengsu,'gonglv':Node17_23_gonglv,}});
- ;(typeof Node17_24 != "undefined") && (Node17_24.localDynamicVar = function ( ) {return {'zhuangtai':Node17_24_zhuangtai,'bianhao':Node17_24_bianhao,'fengsu':Node17_24_fengsu,'gonglv':Node17_24_gonglv,}});
- if((0 )){Node187.s('2d.visible',true);}else{Node187.s('2d.visible',false);}
- if((0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);}
- if((0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}
- if((0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}
- if((0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}
- if((0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}
- if((0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}
- if((0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- Node17_1.refresh10ms();
- Node17_2.refresh10ms();
- Node17_3.refresh10ms();
- Node17_4.refresh10ms();
- Node17_5.refresh10ms();
- Node17_6.refresh10ms();
- Node17_7.refresh10ms();
- Node17_8.refresh10ms();
- Node17_9.refresh10ms();
- Node17_10.refresh10ms();
- Node17_11.refresh10ms();
- Node17_12.refresh10ms();
- Node17_13.refresh10ms();
- Node17_14.refresh10ms();
- Node17_15.refresh10ms();
- Node17_16.refresh10ms();
- Node17_17.refresh10ms();
- Node17_18.refresh10ms();
- Node17_19.refresh10ms();
- Node17_20.refresh10ms();
- Node17_21.refresh10ms();
- Node17_22.refresh10ms();
- Node17_23.refresh10ms();
- Node17_24.refresh10ms();
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node17_1.refresh100ms();
- Node17_2.refresh100ms();
- Node17_3.refresh100ms();
- Node17_4.refresh100ms();
- Node17_5.refresh100ms();
- Node17_6.refresh100ms();
- Node17_7.refresh100ms();
- Node17_8.refresh100ms();
- Node17_9.refresh100ms();
- Node17_10.refresh100ms();
- Node17_11.refresh100ms();
- Node17_12.refresh100ms();
- Node17_13.refresh100ms();
- Node17_14.refresh100ms();
- Node17_15.refresh100ms();
- Node17_16.refresh100ms();
- Node17_17.refresh100ms();
- Node17_18.refresh100ms();
- Node17_19.refresh100ms();
- Node17_20.refresh100ms();
- Node17_21.refresh100ms();
- Node17_22.refresh100ms();
- Node17_23.refresh100ms();
- Node17_24.refresh100ms();
- Node36.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node42.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') ),-1));
- Node46.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') ),-1));
- Node51.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') ),-1));
- Node84.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144') ),-1));
- Node85.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140') ),-1));
- Node86.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168') ),-1));
- Node87.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164') ),-1));
- Node88.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196') ),-1));
- Node113.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038') ),-1));
- Node114.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034') ),-1));
- Node115.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065') ),-1));
- Node116.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061') ),-1));
- Node117.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188') ),-1));
- Node133.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005') ),-1));
- Node134.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125') ),-1));
- Node135.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124') ),-1));
- Node136.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077') ),-1));
- Node137.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126') ),-1));
- Node153.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089') ),-1));
- Node154.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085') ),-1));
- Node155.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116') ),-1));
- Node156.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112') ),-1));
- Node157.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192') ),-1));
- Node174.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node176.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') ),-1));
- Node179.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- Node17_1.refresh500ms();
- Node17_2.refresh500ms();
- Node17_3.refresh500ms();
- Node17_4.refresh500ms();
- Node17_5.refresh500ms();
- Node17_6.refresh500ms();
- Node17_7.refresh500ms();
- Node17_8.refresh500ms();
- Node17_9.refresh500ms();
- Node17_10.refresh500ms();
- Node17_11.refresh500ms();
- Node17_12.refresh500ms();
- Node17_13.refresh500ms();
- Node17_14.refresh500ms();
- Node17_15.refresh500ms();
- Node17_16.refresh500ms();
- Node17_17.refresh500ms();
- Node17_18.refresh500ms();
- Node17_19.refresh500ms();
- Node17_20.refresh500ms();
- Node17_21.refresh500ms();
- Node17_22.refresh500ms();
- Node17_23.refresh500ms();
- Node17_24.refresh500ms();
- if((1 )>0) {if(((A==0)>0 )){Node18_0.s('2d.visible',true);}else{Node18_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node18_1.s('2d.visible',true);}else{Node18_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node19_0.s('2d.visible',true);}else{Node19_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node19_1.s('2d.visible',true);}else{Node19_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node20_0.s('2d.visible',true);}else{Node20_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node20_1.s('2d.visible',true);}else{Node20_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node21_0.s('2d.visible',true);}else{Node21_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node21_1.s('2d.visible',true);}else{Node21_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node22_0.s('2d.visible',true);}else{Node22_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node22_1.s('2d.visible',true);}else{Node22_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node23_0.s('2d.visible',true);}else{Node23_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node23_1.s('2d.visible',true);}else{Node23_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node24_0.s('2d.visible',true);}else{Node24_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node24_1.s('2d.visible',true);}else{Node24_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node25_0.s('2d.visible',true);}else{Node25_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node25_1.s('2d.visible',true);}else{Node25_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node26_0.s('2d.visible',true);}else{Node26_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node26_1.s('2d.visible',true);}else{Node26_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node27_0.s('2d.visible',true);}else{Node27_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node27_1.s('2d.visible',true);}else{Node27_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node28_0.s('2d.visible',true);}else{Node28_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node28_1.s('2d.visible',true);}else{Node28_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node29_0.s('2d.visible',true);}else{Node29_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node29_1.s('2d.visible',true);}else{Node29_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==1)>0 )){Node187.s('2d.visible',true);}else{Node187.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node188.s('2d.visible',true);}else{Node188.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node190.s('2d.visible',true);}else{Node190.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node192.s('2d.visible',true);}else{Node192.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node194.s('2d.visible',true);}else{Node194.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node196.s('2d.visible',true);}else{Node196.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node198.s('2d.visible',true);}else{Node198.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node200.s('2d.visible',true);}else{Node200.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node202.s('2d.visible',true);}else{Node202.s('2d.visible',false);}}
- /*@Timer500ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer500msCmd, 500));
- function Timer1sCmd() {
- Counter1s++;
- if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
- Node17_1.refresh1s(Counter1s);
- Node17_2.refresh1s(Counter1s);
- Node17_3.refresh1s(Counter1s);
- Node17_4.refresh1s(Counter1s);
- Node17_5.refresh1s(Counter1s);
- Node17_6.refresh1s(Counter1s);
- Node17_7.refresh1s(Counter1s);
- Node17_8.refresh1s(Counter1s);
- Node17_9.refresh1s(Counter1s);
- Node17_10.refresh1s(Counter1s);
- Node17_11.refresh1s(Counter1s);
- Node17_12.refresh1s(Counter1s);
- Node17_13.refresh1s(Counter1s);
- Node17_14.refresh1s(Counter1s);
- Node17_15.refresh1s(Counter1s);
- Node17_16.refresh1s(Counter1s);
- Node17_17.refresh1s(Counter1s);
- Node17_18.refresh1s(Counter1s);
- Node17_19.refresh1s(Counter1s);
- Node17_20.refresh1s(Counter1s);
- Node17_21.refresh1s(Counter1s);
- Node17_22.refresh1s(Counter1s);
- Node17_23.refresh1s(Counter1s);
- Node17_24.refresh1s(Counter1s);
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- Node17_1.refresh5s();
- Node17_2.refresh5s();
- Node17_3.refresh5s();
- Node17_4.refresh5s();
- Node17_5.refresh5s();
- Node17_6.refresh5s();
- Node17_7.refresh5s();
- Node17_8.refresh5s();
- Node17_9.refresh5s();
- Node17_10.refresh5s();
- Node17_11.refresh5s();
- Node17_12.refresh5s();
- Node17_13.refresh5s();
- Node17_14.refresh5s();
- Node17_15.refresh5s();
- Node17_16.refresh5s();
- Node17_17.refresh5s();
- Node17_18.refresh5s();
- Node17_19.refresh5s();
- Node17_20.refresh5s();
- Node17_21.refresh5s();
- Node17_22.refresh5s();
- Node17_23.refresh5s();
- Node17_24.refresh5s();
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === Node24_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node24_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node25_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node25_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node26_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node26_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node27_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node27_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node28_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node28_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node29_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node29_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node189){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node191){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node193){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node195){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node197){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();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node24_0&& objMouseOn===Node24_0){A=0; }
- if(data !== Node24_1&& objMouseOn===Node24_1){A=0; }
- if(data !== Node25_0&& objMouseOn===Node25_0){B=0; }
- if(data !== Node25_1&& objMouseOn===Node25_1){B=0; }
- if(data !== Node26_0&& objMouseOn===Node26_0){C=0; }
- if(data !== Node26_1&& objMouseOn===Node26_1){C=0; }
- if(data !== Node27_0&& objMouseOn===Node27_0){F=0; }
- if(data !== Node27_1&& objMouseOn===Node27_1){F=0; }
- if(data !== Node28_0&& objMouseOn===Node28_0){E=0; }
- if(data !== Node28_1&& objMouseOn===Node28_1){E=0; }
- if(data !== Node29_0&& objMouseOn===Node29_0){D=0; }
- if(data !== Node29_1&& objMouseOn===Node29_1){D=0; }
- if(data !== Node187&& objMouseOn===Node187){sxxny=0; }
- if(data !== Node189&& objMouseOn===Node189){yygjb=0; }
- if(data !== Node191&& objMouseOn===Node191){plhts=0; }
- if(data !== Node193&& objMouseOn===Node193){tqwns=0; }
- if(data !== Node195&& objMouseOn===Node195){gljf=0; }
- if(data !== Node197&& objMouseOn===Node197){hyfy=0; }
- if(data !== Node199&& objMouseOn===Node199){llbts=0; }
- if(data !== Node201&& objMouseOn===Node201){ygcls=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node18_0){A=1; }
- if(data === Node18_1){A=1; }
- if(data === Node19_0){B=1; }
- if(data === Node19_1){B=1; }
- if(data === Node20_0){C=1; }
- if(data === Node20_1){C=1; }
- if(data === Node21_0){E=1; }
- if(data === Node21_1){E=1; }
- if(data === Node22_0){F=1; }
- if(data === Node22_1){F=1; }
- if(data === Node23_0){D=1; }
- if(data === Node23_1){D=1; }
- if(data === Node188){sxxny=1; }
- if(data === Node190){yygjb=1; }
- if(data === Node192){plhts=1; }
- if(data === Node194){tqwns=1; }
- if(data === Node196){gljf=1; }
- if(data === Node198){hyfy=1; }
- if(data === Node200){llbts=1; }
- if(data === Node202){ygcls=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|